From baf7cbe3d6eaefda347648fe1931cfc50b3886a7 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Thu, 7 Nov 2024 14:56:05 +0100 Subject: [PATCH 01/19] Updated dependencies wrt dashi --- environment.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/environment.yml b/environment.yml index 6b5113c6d..cce9f48ef 100644 --- a/environment.yml +++ b/environment.yml @@ -42,6 +42,11 @@ dependencies: - urllib3 >=1.26 - xarray >=2022.6 - zarr >=2.11 + # Dashi + - altair + - pip + - pip: + - dashipy >=0.0.9 # Testing - flake8 >=3.7 - kerchunk From 5b7cd652872f21e0a7b98b839feb58da19f74f62 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Thu, 7 Nov 2024 19:32:48 +0100 Subject: [PATCH 02/19] Started impl of "viewer/ext" endpoints --- test/webapi/viewer/test_config.py | 4 + test/webapi/viewer/test_routes.py | 18 ++++ xcube/webapi/viewer/config.py | 13 +++ xcube/webapi/viewer/context.py | 17 ++++ xcube/webapi/viewer/routes.py | 138 ++++++++++++++++++++++-------- 5 files changed, 156 insertions(+), 34 deletions(-) diff --git a/test/webapi/viewer/test_config.py b/test/webapi/viewer/test_config.py index d64691752..29f245117 100644 --- a/test/webapi/viewer/test_config.py +++ b/test/webapi/viewer/test_config.py @@ -27,6 +27,10 @@ def test_validate_instance_ok(self): { "Viewer": { "Configuration": {"Path": "s3://xcube-viewer-app/bc/dev/viewer/"}, + "Extensions": [ + {"Path": "my_ext_1"}, + {"Path": "my_ext_2"}, + ], } } ) diff --git a/test/webapi/viewer/test_routes.py b/test/webapi/viewer/test_routes.py index 821133c1a..1604ca5dd 100644 --- a/test/webapi/viewer/test_routes.py +++ b/test/webapi/viewer/test_routes.py @@ -27,3 +27,21 @@ class ViewerConfigRoutesTest(RoutesTestCase): def test_viewer_config(self): response = self.fetch("/viewer/config/config.json") self.assertResponseOK(response) + + +class ViewerExtRoutesTest(RoutesTestCase): + def test_viewer_ext_root(self): + response = self.fetch("/viewer/ext") + self.assertResponseOK(response) + + def test_viewer_ext_contributions(self): + response = self.fetch("/viewer/ext/contributions") + self.assertResponseOK(response) + + def test_viewer_ext_layout(self): + response = self.fetch("/viewer/ext/layout") + self.assertResponseOK(response) + + def test_viewer_ext_callback(self): + response = self.fetch("/viewer/ext/layout") + self.assertResponseOK(response) diff --git a/xcube/webapi/viewer/config.py b/xcube/webapi/viewer/config.py index d252dd45f..3a5beb68c 100644 --- a/xcube/webapi/viewer/config.py +++ b/xcube/webapi/viewer/config.py @@ -2,6 +2,7 @@ # Permissions are hereby granted under the terms of the MIT License: # https://opensource.org/licenses/MIT. +from xcube.util.jsonschema import JsonArraySchema from xcube.util.jsonschema import JsonObjectSchema from xcube.webapi.common.schemas import STRING_SCHEMA @@ -12,9 +13,21 @@ additional_properties=False, ) +EXTENSION_SCHEMA = JsonObjectSchema( + properties=dict( + Path=STRING_SCHEMA, + ), + additional_properties=False, +) + +EXTENSIONS_SCHEMA = JsonArraySchema( + items=EXTENSION_SCHEMA, +) + VIEWER_SCHEMA = JsonObjectSchema( properties=dict( Configuration=CONFIGURATION_SCHEMA, + Extensions=EXTENSIONS_SCHEMA, ), additional_properties=False, ) diff --git a/xcube/webapi/viewer/context.py b/xcube/webapi/viewer/context.py index 6a8e787f5..c90e3ef81 100644 --- a/xcube/webapi/viewer/context.py +++ b/xcube/webapi/viewer/context.py @@ -6,14 +6,31 @@ from typing import Optional from collections.abc import Mapping +from dashipy import ExtensionContext import fsspec +from xcube.server.api import Context from xcube.webapi.common.context import ResourcesContext class ViewerContext(ResourcesContext): """Context for xcube Viewer API.""" + def __init__(self, server_ctx: Context): + super().__init__(server_ctx) + self.ext_ctx: ExtensionContext | None = None + + def on_update(self, prev_context: Optional[Context]): + super().on_update(prev_context) + if "Viewer" not in self.config: + return None + extension_infos: list[dict] = self.config["Viewer"].get("Extensions") + if extension_infos: + extension_modules = [e["Path"] for e in extension_infos if "Path" in e] + print("----------------------->", extension_modules) + extensions = ExtensionContext.load_extensions(extension_modules) + self.ext_ctx = ExtensionContext(self.server_ctx, extensions) + @cached_property def config_items(self) -> Optional[Mapping[str, bytes]]: if self.config_path is None: diff --git a/xcube/webapi/viewer/routes.py b/xcube/webapi/viewer/routes.py index ae1c02545..dbb78f686 100644 --- a/xcube/webapi/viewer/routes.py +++ b/xcube/webapi/viewer/routes.py @@ -7,14 +7,61 @@ import pathlib from typing import Union, Optional +from dashipy import __version__ as dashi_version +from dashipy.controllers import get_callback_results +from dashipy.controllers import get_contributions +from dashipy.controllers import get_layout + from xcube.constants import LOG from xcube.server.api import ApiError from xcube.server.api import ApiHandler from .api import api from .context import ViewerContext + ENV_VAR_XCUBE_VIEWER_PATH = "XCUBE_VIEWER_PATH" +_viewer_module = "xcube.webapi.viewer" +_data_dir = "dist" +_default_filename = "index.html" + +_responses = { + 200: { + "description": "OK", + "content": { + "text/html": { + "schema": {"type": "string"}, + }, + }, + } +} + + +@api.static_route( + "/viewer", + default_filename=_default_filename, + summary="Brings up the xcube Viewer webpage", + responses=_responses, +) +def get_local_viewer_path() -> Union[None, str, pathlib.Path]: + local_viewer_path = os.environ.get(ENV_VAR_XCUBE_VIEWER_PATH) + if local_viewer_path: + return local_viewer_path + try: + with importlib.resources.files(_viewer_module) as path: + local_viewer_path = path / _data_dir + if (local_viewer_path / _default_filename).is_file(): + return local_viewer_path + except ImportError: + pass + LOG.warning( + f"Cannot find {_data_dir}/{_default_filename}" + f" in {_viewer_module}, consider setting environment variable" + f" {ENV_VAR_XCUBE_VIEWER_PATH}", + exc_info=True, + ) + return None + @api.route("/viewer/config/{*path}") class ViewerConfigHandler(ApiHandler[ViewerContext]): @@ -54,43 +101,66 @@ def get_content_type(path: str) -> Optional[str]: return None -_responses = { - 200: { - "description": "OK", - "content": { - "text/html": { +@api.route("/viewer/ext") +class ViewerExtRootHandler(ApiHandler[ViewerContext]): + # GET / + def get(self): + self.response.set_header("Content-Type", "text/plain") + self.response.write(f"dashi-server {dashi_version}") + + +@api.route("/viewer/ext/contributions") +class ViewerExtContributionsHandler(ApiHandler[ViewerContext]): + + # GET /dashi/contributions + @api.operation( + operationId="getViewerExtContributions", + summary="Get viewer extensions and all their contributions.", + ) + def get(self): + self.response.write(get_contributions(self.ctx)) + + +# noinspection PyPep8Naming +@api.route("/viewer/ext/layout/{contribPoint}/{contribIndex}") +class ViewerExtLayoutHandler(ApiHandler[ViewerContext]): + # GET /dashi/layout/{contrib_point_name}/{contrib_index} + def get(self, contribPoint: str, contribIndex: str): + self.response.write(get_layout(self.ctx, contribPoint, int(contribIndex), {})) + + # POST /dashi/layout/{contrib_point_name}/{contrib_index} + @api.operation( + operationId="getViewerExtLayout", + summary="Get the initial layout for the given viewer contribution.", + parameters=[ + { + "name": "contribPoint", + "in": "path", + "description": 'Contribution point name, e.g., "panels"', "schema": {"type": "string"}, }, - }, - } -} + { + "name": "contribIndex", + "in": "path", + "description": "Contribution index", + "schema": {"type": "integer"}, + }, + ], + ) + def post(self, contribPoint: str, contribIndex: str): + self.response.write( + get_layout(self.ctx, contribPoint, int(contribIndex), self.request.json) + ) -_viewer_module = "xcube.webapi.viewer" -_data_dir = "dist" -_default_filename = "index.html" +@api.route("/viewer/ext/callback") +class ViewerExtCallbackHandler(ApiHandler[ViewerContext]): -@api.static_route( - "/viewer", - default_filename=_default_filename, - summary="Brings up the xcube Viewer webpage", - responses=_responses, -) -def get_local_viewer_path() -> Union[None, str, pathlib.Path]: - local_viewer_path = os.environ.get(ENV_VAR_XCUBE_VIEWER_PATH) - if local_viewer_path: - return local_viewer_path - try: - with importlib.resources.files(_viewer_module) as path: - local_viewer_path = path / _data_dir - if (local_viewer_path / _default_filename).is_file(): - return local_viewer_path - except ImportError: - pass - LOG.warning( - f"Cannot find {_data_dir}/{_default_filename}" - f" in {_viewer_module}, consider setting environment variable" - f" {ENV_VAR_XCUBE_VIEWER_PATH}", - exc_info=True, + # POST /dashi/callback + @api.operation( + operationId="invokeViewerCallbacks", + summary="Process the viewer contribution callback requests" + " and return state change requests.", ) - return None + def post(self): + self.response.write(get_callback_results(self.ctx, self.request.json)) From d5003d6dc0da204ff82d73903e6ec14f374cab64 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Thu, 7 Nov 2024 19:33:16 +0100 Subject: [PATCH 03/19] Initial demo code for viewer extensions --- examples/serve/demo3/compute_indexes.py | 64 +++++++++++++ examples/serve/demo3/config.yaml | 96 +++++++++++++++++++ .../serve/demo3/my_viewer_ext/__init__.py | 5 + .../serve/demo3/my_viewer_ext/my_panel_1.py | 77 +++++++++++++++ 4 files changed, 242 insertions(+) create mode 100644 examples/serve/demo3/compute_indexes.py create mode 100644 examples/serve/demo3/config.yaml create mode 100644 examples/serve/demo3/my_viewer_ext/__init__.py create mode 100644 examples/serve/demo3/my_viewer_ext/my_panel_1.py diff --git a/examples/serve/demo3/compute_indexes.py b/examples/serve/demo3/compute_indexes.py new file mode 100644 index 000000000..04459c321 --- /dev/null +++ b/examples/serve/demo3/compute_indexes.py @@ -0,0 +1,64 @@ +import xarray as xr + + +def compute_indexes(dataset): + b04 = dataset.B04 + b05 = dataset.B05 + b06 = dataset.B06 + b08 = dataset.B08 + b11 = dataset.B11 + scl = dataset.SCL + + # See https://gisgeography.com/sentinel-2-bands-combinations/ + + # moisture_index + # + moisture_index = (b08 - b11) / (b08 + b11) + moisture_index.attrs.update( + color_value_min=0.0, + color_value_max=0.5, + color_bar_name="Blues", + units="-", + description="Simple moisture index: (B08-B11) / (B08+B11)", + ) + # where valid and not cloud + moisture_index = moisture_index.where((scl >= 2) & (scl <= 7)) + + # vegetation_index + # + vegetation_index = (b08 - b04) / (b08 + b04) + vegetation_index.attrs.update( + color_value_min=0.0, + color_value_max=0.25, + color_bar_name="Greens", + units="-", + description="Simple vegetation index or NDVI: (B08-B04) / (B08+B04)", + ) + # where water + vegetation_index = vegetation_index.where(scl == 6) + + # chlorophyll_index + # + b_from, b_peek, b_to = b04, b05, b06 + wlen_from = b04.attrs["wavelength"] + wlen_peek = b05.attrs["wavelength"] + wlen_to = b06.attrs["wavelength"] + f = (wlen_peek - wlen_from) / (wlen_to - wlen_from) + chlorophyll_index = (b_peek - b_from) - f * (b_to - b_from) + chlorophyll_index.attrs.update( + color_value_min=0.0, + color_value_max=0.025, + color_bar_name="viridis", + units="-", + description="Maximum chlorophyll index: (B05-B04) - f * (B06-B04)", + ) + # where water + chlorophyll_index = chlorophyll_index.where(scl == 6) + + return xr.Dataset( + dict( + moisture_index=moisture_index, + vegetation_index=vegetation_index, + chlorophyll_index=chlorophyll_index, + ) + ) diff --git a/examples/serve/demo3/config.yaml b/examples/serve/demo3/config.yaml new file mode 100644 index 000000000..c5aedef9e --- /dev/null +++ b/examples/serve/demo3/config.yaml @@ -0,0 +1,96 @@ +DatasetAttribution: + - "© by Brockmann Consult GmbH 2024, contains modified Copernicus Data 2019, processed by ESA" + +DatasetChunkCacheSize: 100M + +DataStores: + - Identifier: opensr-test + StoreId: s3 + StoreParams: + root: opensr-test + Datasets: + - Path: openSR_musselbeds_use_case_waddensea_S2L2A_2018-2022.levels + Identifier: waddensea + Title: Wadden Sea + Style: S2L2A + Augmentation: + Path: compute_indexes.py + Function: compute_indexes + +Styles: + - Identifier: S2L2A + ColorMappings: + B01: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B02: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B03: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B04: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B05: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B06: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B07: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B08: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B8A: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B09: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B10: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B11: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + B12: + ColorBar: "Greys_r" + ValueRange: [0., 0.25] + SCL: + ColorBar: "Accent" + ValueRange: [ 0, 255 ] + rgb: + Red: + Variable: B04 + ValueRange: [0., 0.25] + Green: + Variable: B03 + ValueRange: [0., 0.25] + Blue: + Variable: B02 + ValueRange: [0., 0.25] + +Viewer: + Extensions: + - Path: my_viewer_ext.ext + +ServiceProvider: + ProviderName: "Brockmann Consult GmbH" + ProviderSite: "https://www.brockmann-consult.de" + ServiceContact: + IndividualName: "Norman Fomferra" + PositionName: "Senior Software Engineer" + ContactInfo: + Phone: + Voice: "+49 4152 889 303" + Facsimile: "+49 4152 889 330" + Address: + DeliveryPoint: "HZG / GITZ" + City: "Geesthacht" + AdministrativeArea: "Herzogtum Lauenburg" + PostalCode: "21502" + Country: "Germany" + ElectronicMailAddress: "norman.fomferra@brockmann-consult.de" diff --git a/examples/serve/demo3/my_viewer_ext/__init__.py b/examples/serve/demo3/my_viewer_ext/__init__.py new file mode 100644 index 000000000..50342ed25 --- /dev/null +++ b/examples/serve/demo3/my_viewer_ext/__init__.py @@ -0,0 +1,5 @@ +from dashipy import Extension +from .my_panel_1 import panel as my_panel_1 + +ext = Extension(__name__) +ext.add(my_panel_1) diff --git a/examples/serve/demo3/my_viewer_ext/my_panel_1.py b/examples/serve/demo3/my_viewer_ext/my_panel_1.py new file mode 100644 index 000000000..90c45ee59 --- /dev/null +++ b/examples/serve/demo3/my_viewer_ext/my_panel_1.py @@ -0,0 +1,77 @@ +from dashipy import Component, Input, State, Output +from dashipy.components import Box, Dropdown, Checkbox, Typography +from dashipy.demo.contribs import Panel +from dashipy.demo.context import Context + + +panel = Panel(__name__, title="Panel B") + + +COLORS = [("red", 0), ("green", 1), ("blue", 2), ("yellow", 3)] + + +@panel.layout( + Input(source="app", property="control.selectedDatasetId"), +) +def render_panel( + ctx: Context, + dataset_id: str = "", +) -> Component: + + opaque = False + color = 0 + + opaque_checkbox = Checkbox( + id="opaque", + value=opaque, + label="Opaque", + ) + + color_dropdown = Dropdown( + id="color", + value=color, + label="Color", + options=COLORS, + style={"flexGrow": 0, "minWidth": 80}, + ) + + info_text = Typography( + id="info_text", text=update_info_text(ctx, dataset_id, opaque, color) + ) + + return Box( + style={ + "display": "flex", + "flexDirection": "column", + "width": "100%", + "height": "100%", + "gap": "6px", + }, + children=[opaque_checkbox, color_dropdown, info_text], + ) + + +# noinspection PyUnusedLocal +@panel.callback( + Input(source="app", property="control.selectedDatasetId"), + Input("opaque"), + Input("color"), + State("info_text", "text"), + Output("info_text", "text"), +) +def update_info_text( + ctx: Context, + dataset_id: str = "", + opaque: bool = False, + color: int = 0, + info_text: str = "", +) -> str: + opaque = opaque or False + color = color if color is not None else 0 + return ( + f"The dataset is {dataset_id}," + f" the color is {COLORS[color][0]} and" + f" it {'is' if opaque else 'is not'} opaque." + f" The length of the last info text" + f" was {len(info_text or "")}." + ) From c505e1cd55d03fedfc198080ca4ad7a234f3fc84 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 8 Nov 2024 09:29:23 +0100 Subject: [PATCH 04/19] enhanced config, added viewer contrib Panel --- examples/serve/demo3/config.yaml | 10 ++-- .../serve/demo3/my_viewer_ext/my_panel_1.py | 10 +++- test/webapi/viewer/test_config.py | 46 +++++++++++++++++-- xcube/webapi/viewer/config.py | 15 +++--- xcube/webapi/viewer/context.py | 45 ++++++++++++++---- xcube/webapi/viewer/contrib/__init__.py | 3 ++ xcube/webapi/viewer/contrib/helpers.py | 6 +++ xcube/webapi/viewer/contrib/panel.py | 8 ++++ 8 files changed, 117 insertions(+), 26 deletions(-) create mode 100644 xcube/webapi/viewer/contrib/__init__.py create mode 100644 xcube/webapi/viewer/contrib/helpers.py create mode 100644 xcube/webapi/viewer/contrib/panel.py diff --git a/examples/serve/demo3/config.yaml b/examples/serve/demo3/config.yaml index c5aedef9e..1371e43b7 100644 --- a/examples/serve/demo3/config.yaml +++ b/examples/serve/demo3/config.yaml @@ -17,6 +17,12 @@ DataStores: Path: compute_indexes.py Function: compute_indexes +Viewer: + Augmentation: + Path: "" + Extensions: + - my_viewer_ext.ext + Styles: - Identifier: S2L2A ColorMappings: @@ -73,10 +79,6 @@ Styles: Variable: B02 ValueRange: [0., 0.25] -Viewer: - Extensions: - - Path: my_viewer_ext.ext - ServiceProvider: ProviderName: "Brockmann Consult GmbH" ProviderSite: "https://www.brockmann-consult.de" diff --git a/examples/serve/demo3/my_viewer_ext/my_panel_1.py b/examples/serve/demo3/my_viewer_ext/my_panel_1.py index 90c45ee59..6352bcc31 100644 --- a/examples/serve/demo3/my_viewer_ext/my_panel_1.py +++ b/examples/serve/demo3/my_viewer_ext/my_panel_1.py @@ -1,7 +1,9 @@ from dashipy import Component, Input, State, Output from dashipy.components import Box, Dropdown, Checkbox, Typography -from dashipy.demo.contribs import Panel -from dashipy.demo.context import Context + +from xcube.webapi.viewer.contrib import Panel +from xcube.webapi.viewer.contrib import get_datasets_ctx +from xcube.server.api import Context panel = Panel(__name__, title="Panel B") @@ -66,6 +68,9 @@ def update_info_text( color: int = 0, info_text: str = "", ) -> str: + ds_ctx = get_datasets_ctx(ctx) + ds_configs = ds_ctx.get_dataset_configs() + opaque = opaque or False color = color if color is not None else 0 return ( @@ -74,4 +79,5 @@ def update_info_text( f" it {'is' if opaque else 'is not'} opaque." f" The length of the last info text" f" was {len(info_text or "")}." + f" The number of datasets is {len(ds_configs)}." ) diff --git a/test/webapi/viewer/test_config.py b/test/webapi/viewer/test_config.py index 29f245117..f5dbb3ad1 100644 --- a/test/webapi/viewer/test_config.py +++ b/test/webapi/viewer/test_config.py @@ -11,7 +11,7 @@ from xcube.webapi.viewer.config import CONFIG_SCHEMA -class ViewerConfigTest(unittest.TestCase): +class ViewerConfigurationTest(unittest.TestCase): # noinspection PyMethodMayBeStatic def test_validate_instance_ok(self): CONFIG_SCHEMA.validate_instance({}) @@ -27,10 +27,6 @@ def test_validate_instance_ok(self): { "Viewer": { "Configuration": {"Path": "s3://xcube-viewer-app/bc/dev/viewer/"}, - "Extensions": [ - {"Path": "my_ext_1"}, - {"Path": "my_ext_2"}, - ], } } ) @@ -41,6 +37,7 @@ def test_validate_instance_fails(self): CONFIG_SCHEMA.validate_instance( { "Viewer": { + # Missing required "Path" "Config": {}, } } @@ -50,6 +47,7 @@ def test_validate_instance_fails(self): CONFIG_SCHEMA.validate_instance( { "Viewer": { + # Forbidden "Title" "Configuration": { "Path": "s3://xcube-viewer-app/bc/dev/viewer/", "Title": "Test!", @@ -57,3 +55,41 @@ def test_validate_instance_fails(self): } } ) + + +class ViewerAugmentationTest(unittest.TestCase): + # noinspection PyMethodMayBeStatic + def test_validate_instance_ok(self): + CONFIG_SCHEMA.validate_instance({}) + CONFIG_SCHEMA.validate_instance({"Viewer": {}}) + CONFIG_SCHEMA.validate_instance( + { + "Viewer": { + "Augmentation": { + "Extensions": ["my_feature_1.ext", "my_feature_2.ext"] + }, + } + } + ) + CONFIG_SCHEMA.validate_instance( + { + "Viewer": { + "Augmentation": { + "Path": "home/ext", + "Extensions": ["my_feature_1.ext", "my_feature_2.ext"], + }, + } + } + ) + + # noinspection PyMethodMayBeStatic + def test_validate_instance_fails(self): + with pytest.raises(jsonschema.exceptions.ValidationError): + CONFIG_SCHEMA.validate_instance( + { + "Viewer": { + # Missing required "Extensions" + "Augmentation": {}, + } + } + ) diff --git a/xcube/webapi/viewer/config.py b/xcube/webapi/viewer/config.py index 3a5beb68c..7a0b230b0 100644 --- a/xcube/webapi/viewer/config.py +++ b/xcube/webapi/viewer/config.py @@ -13,21 +13,24 @@ additional_properties=False, ) -EXTENSION_SCHEMA = JsonObjectSchema( +EXTENSIONS_SCHEMA = JsonArraySchema( + items=STRING_SCHEMA, + min_items=1, +) + +AUGMENTATION_SCHEMA = JsonObjectSchema( properties=dict( Path=STRING_SCHEMA, + Extensions=EXTENSIONS_SCHEMA, ), + required=["Extensions"], additional_properties=False, ) -EXTENSIONS_SCHEMA = JsonArraySchema( - items=EXTENSION_SCHEMA, -) - VIEWER_SCHEMA = JsonObjectSchema( properties=dict( Configuration=CONFIGURATION_SCHEMA, - Extensions=EXTENSIONS_SCHEMA, + Augmentation=AUGMENTATION_SCHEMA, ), additional_properties=False, ) diff --git a/xcube/webapi/viewer/context.py b/xcube/webapi/viewer/context.py index c90e3ef81..61f1c7379 100644 --- a/xcube/webapi/viewer/context.py +++ b/xcube/webapi/viewer/context.py @@ -1,16 +1,23 @@ # Copyright (c) 2018-2024 by xcube team and contributors # Permissions are hereby granted under the terms of the MIT License: # https://opensource.org/licenses/MIT. - +from contextlib import contextmanager from functools import cached_property +from pathlib import Path from typing import Optional from collections.abc import Mapping +import sys +from dashipy import Extension from dashipy import ExtensionContext import fsspec +from xcube.constants import LOG from xcube.server.api import Context from xcube.webapi.common.context import ResourcesContext +from xcube.webapi.viewer.contrib import Panel + +Extension.add_contrib_point("panels", Panel) class ViewerContext(ResourcesContext): @@ -22,14 +29,20 @@ def __init__(self, server_ctx: Context): def on_update(self, prev_context: Optional[Context]): super().on_update(prev_context) - if "Viewer" not in self.config: - return None - extension_infos: list[dict] = self.config["Viewer"].get("Extensions") - if extension_infos: - extension_modules = [e["Path"] for e in extension_infos if "Path" in e] - print("----------------------->", extension_modules) - extensions = ExtensionContext.load_extensions(extension_modules) - self.ext_ctx = ExtensionContext(self.server_ctx, extensions) + viewer_config: dict = self.config.get("Viewer") + if viewer_config: + augmentation: dict | None = viewer_config.get("Augmentation") + if augmentation: + extension_refs: list[str] = augmentation["Extensions"] + path: Path | None = None + if "Path" in augmentation: + path = Path(augmentation["Path"]) + if not path.is_absolute(): + path = Path(self.base_dir) / path + with prepend_sys_path(path): + self.ext_ctx = ExtensionContext.load( + self.server_ctx, extension_refs + ) @cached_property def config_items(self) -> Optional[Mapping[str, bytes]]: @@ -45,3 +58,17 @@ def config_path(self) -> Optional[str]: self.config["Viewer"].get("Configuration", {}), "'Configuration' item of 'Viewer'", ) + + +@contextmanager +def prepend_sys_path(path: Path | str | None): + prev_sys_path = None + if path is not None: + LOG.warning(f"temporarily prepending '{path}' to sys.path") + prev_sys_path = sys.path + sys.path = [str(path)] + sys.path + try: + yield path is not None + finally: + if prev_sys_path: + sys.path = prev_sys_path diff --git a/xcube/webapi/viewer/contrib/__init__.py b/xcube/webapi/viewer/contrib/__init__.py new file mode 100644 index 000000000..2cff08958 --- /dev/null +++ b/xcube/webapi/viewer/contrib/__init__.py @@ -0,0 +1,3 @@ +from .helpers import get_datasets_ctx + +from .panel import Panel diff --git a/xcube/webapi/viewer/contrib/helpers.py b/xcube/webapi/viewer/contrib/helpers.py new file mode 100644 index 000000000..9d02e63c1 --- /dev/null +++ b/xcube/webapi/viewer/contrib/helpers.py @@ -0,0 +1,6 @@ +from xcube.webapi.datasets.context import DatasetsContext +from xcube.server.api import Context + + +def get_datasets_ctx(ctx: Context) -> DatasetsContext: + return ctx.get_api_ctx("datasets") diff --git a/xcube/webapi/viewer/contrib/panel.py b/xcube/webapi/viewer/contrib/panel.py new file mode 100644 index 000000000..45f75def1 --- /dev/null +++ b/xcube/webapi/viewer/contrib/panel.py @@ -0,0 +1,8 @@ +from dashipy import Contribution + + +class Panel(Contribution): + """Panel contribution""" + + def __init__(self, name: str, title: str | None = None): + super().__init__(name, visible=False, title=title) From f03ecc09e864289be8250a6182cff6273de77424 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 8 Nov 2024 17:16:00 +0100 Subject: [PATCH 05/19] fixed app state prop --- examples/serve/demo3/my_viewer_ext/my_panel_1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/serve/demo3/my_viewer_ext/my_panel_1.py b/examples/serve/demo3/my_viewer_ext/my_panel_1.py index 6352bcc31..f674dd2fc 100644 --- a/examples/serve/demo3/my_viewer_ext/my_panel_1.py +++ b/examples/serve/demo3/my_viewer_ext/my_panel_1.py @@ -13,7 +13,7 @@ @panel.layout( - Input(source="app", property="control.selectedDatasetId"), + Input(source="app", property="controlState.selectedDatasetId"), ) def render_panel( ctx: Context, @@ -55,7 +55,7 @@ def render_panel( # noinspection PyUnusedLocal @panel.callback( - Input(source="app", property="control.selectedDatasetId"), + Input(source="app", property="controlState.selectedDatasetId"), Input("opaque"), Input("color"), State("info_text", "text"), From 7521b1556b10ae91b25d05f1c1b5ab2cf0e3e862 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 8 Nov 2024 17:16:08 +0100 Subject: [PATCH 06/19] added 2nd dataset --- examples/serve/demo3/config.yaml | 33 ++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/examples/serve/demo3/config.yaml b/examples/serve/demo3/config.yaml index 1371e43b7..70e3da920 100644 --- a/examples/serve/demo3/config.yaml +++ b/examples/serve/demo3/config.yaml @@ -12,10 +12,14 @@ DataStores: - Path: openSR_musselbeds_use_case_waddensea_S2L2A_2018-2022.levels Identifier: waddensea Title: Wadden Sea - Style: S2L2A + Style: waddensea Augmentation: Path: compute_indexes.py Function: compute_indexes + - Path: S2_louisville_time.levels + Identifier: louisville + Title: Lousiville S2 + Style: louisville Viewer: Augmentation: @@ -24,7 +28,7 @@ Viewer: - my_viewer_ext.ext Styles: - - Identifier: S2L2A + - Identifier: waddensea ColorMappings: B01: ColorBar: "Greys_r" @@ -79,6 +83,31 @@ Styles: Variable: B02 ValueRange: [0., 0.25] + - Identifier: louisville + ColorMappings: + band_1: + ColorBar: "gray" + ValueRange: [0, 5000] + band_2: + ColorBar: "gray" + ValueRange: [0, 5000] + band_3: + ColorBar: "gray" + ValueRange: [0, 5000] + band_4: + ColorBar: "bone" + ValueRange: [0, 10000] + rgb: + Red: + Variable: band_1 + ValueRange: [0., 5000] + Green: + Variable: band_2 + ValueRange: [0., 5000] + Blue: + Variable: band_3 + ValueRange: [0., 5000] + ServiceProvider: ProviderName: "Brockmann Consult GmbH" ProviderSite: "https://www.brockmann-consult.de" From 1b95df7bbc52b82cb5cae8b284c5cb142e4c8872 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 8 Nov 2024 17:16:44 +0100 Subject: [PATCH 07/19] more logging --- xcube/webapi/viewer/context.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xcube/webapi/viewer/context.py b/xcube/webapi/viewer/context.py index 61f1c7379..e87b000bc 100644 --- a/xcube/webapi/viewer/context.py +++ b/xcube/webapi/viewer/context.py @@ -1,6 +1,7 @@ # Copyright (c) 2018-2024 by xcube team and contributors # Permissions are hereby granted under the terms of the MIT License: # https://opensource.org/licenses/MIT. + from contextlib import contextmanager from functools import cached_property from pathlib import Path @@ -40,6 +41,7 @@ def on_update(self, prev_context: Optional[Context]): if not path.is_absolute(): path = Path(self.base_dir) / path with prepend_sys_path(path): + LOG.info(f"Loading viewer extension(s) {','.join(extension_refs)}") self.ext_ctx = ExtensionContext.load( self.server_ctx, extension_refs ) @@ -64,7 +66,7 @@ def config_path(self) -> Optional[str]: def prepend_sys_path(path: Path | str | None): prev_sys_path = None if path is not None: - LOG.warning(f"temporarily prepending '{path}' to sys.path") + LOG.warning(f"Temporarily prepending '{path}' to sys.path") prev_sys_path = sys.path sys.path = [str(path)] + sys.path try: @@ -72,3 +74,4 @@ def prepend_sys_path(path: Path | str | None): finally: if prev_sys_path: sys.path = prev_sys_path + LOG.info(f"Restored sys.path") From ce6591d812ead5fd9597376bc92dd33e5bc9411a Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Fri, 8 Nov 2024 17:18:09 +0100 Subject: [PATCH 08/19] correctly passing ExtensionContext to controllers --- xcube/webapi/viewer/routes.py | 60 +++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 20 deletions(-) diff --git a/xcube/webapi/viewer/routes.py b/xcube/webapi/viewer/routes.py index dbb78f686..970127ad4 100644 --- a/xcube/webapi/viewer/routes.py +++ b/xcube/webapi/viewer/routes.py @@ -3,11 +3,12 @@ # https://opensource.org/licenses/MIT. import importlib.resources +import json import os import pathlib from typing import Union, Optional -from dashipy import __version__ as dashi_version +from dashipy import Response as ExtResponse from dashipy.controllers import get_callback_results from dashipy.controllers import get_contributions from dashipy.controllers import get_layout @@ -15,10 +16,10 @@ from xcube.constants import LOG from xcube.server.api import ApiError from xcube.server.api import ApiHandler +from xcube.util.jsonencoder import NumpyJSONEncoder from .api import api from .context import ViewerContext - ENV_VAR_XCUBE_VIEWER_PATH = "XCUBE_VIEWER_PATH" _viewer_module = "xcube.webapi.viewer" @@ -101,36 +102,57 @@ def get_content_type(path: str) -> Optional[str]: return None -@api.route("/viewer/ext") -class ViewerExtRootHandler(ApiHandler[ViewerContext]): - # GET / - def get(self): - self.response.set_header("Content-Type", "text/plain") - self.response.write(f"dashi-server {dashi_version}") +class ViewerExtHandler(ApiHandler[ViewerContext]): + def do_get_contributions(self): + self._write_response(get_contributions(self.ctx.ext_ctx)) + + def do_get_layout(self, contrib_point: str, contrib_index: str): + self._write_response( + get_layout( + self.ctx.ext_ctx, contrib_point, int(contrib_index), self.request.json + ) + ) + + def do_get_callback_results(self): + self._write_response( + get_callback_results(self.ctx.ext_ctx, self.request.json) + ) + + def _write_response(self, response: ExtResponse): + self.response.set_header("Content-Type", "text/json") + if response.ok: + self.response.write( + json.dumps({"result": response.data}, cls=NumpyJSONEncoder) + ) + else: + self.response.set_status(response.status, response.reason) + self.response.write( + {"error": {"status": response.status, "message": response.reason}} + ) @api.route("/viewer/ext/contributions") -class ViewerExtContributionsHandler(ApiHandler[ViewerContext]): +class ViewerExtContributionsHandler(ViewerExtHandler): # GET /dashi/contributions @api.operation( - operationId="getViewerExtContributions", + operationId="getViewerContributions", summary="Get viewer extensions and all their contributions.", ) def get(self): - self.response.write(get_contributions(self.ctx)) + self.do_get_contributions() # noinspection PyPep8Naming @api.route("/viewer/ext/layout/{contribPoint}/{contribIndex}") -class ViewerExtLayoutHandler(ApiHandler[ViewerContext]): +class ViewerExtLayoutHandler(ViewerExtHandler): # GET /dashi/layout/{contrib_point_name}/{contrib_index} def get(self, contribPoint: str, contribIndex: str): - self.response.write(get_layout(self.ctx, contribPoint, int(contribIndex), {})) + self.do_get_layout(contribPoint, contribIndex) # POST /dashi/layout/{contrib_point_name}/{contrib_index} @api.operation( - operationId="getViewerExtLayout", + operationId="getViewerContributionLayout", summary="Get the initial layout for the given viewer contribution.", parameters=[ { @@ -148,19 +170,17 @@ def get(self, contribPoint: str, contribIndex: str): ], ) def post(self, contribPoint: str, contribIndex: str): - self.response.write( - get_layout(self.ctx, contribPoint, int(contribIndex), self.request.json) - ) + self.do_get_layout(contribPoint, contribIndex) @api.route("/viewer/ext/callback") -class ViewerExtCallbackHandler(ApiHandler[ViewerContext]): +class ViewerExtCallbackHandler(ViewerExtHandler): # POST /dashi/callback @api.operation( - operationId="invokeViewerCallbacks", + operationId="getViewerContributionCallbackResults", summary="Process the viewer contribution callback requests" " and return state change requests.", ) def post(self): - self.response.write(get_callback_results(self.ctx, self.request.json)) + self.do_get_callback_results() From 9e64f9df83269b2e320fd8e39a77f19b49a188d9 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Mon, 11 Nov 2024 16:59:18 +0100 Subject: [PATCH 09/19] fixed dashipy dep --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index cce9f48ef..d97593cdd 100644 --- a/environment.yml +++ b/environment.yml @@ -46,7 +46,7 @@ dependencies: - altair - pip - pip: - - dashipy >=0.0.9 + - git+https://github.com/bcdev/dashi.git#subdirectory=dashipy # Testing - flake8 >=3.7 - kerchunk From d6de7ba28672c1229079aad32f81ce40a1f61acb Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Mon, 11 Nov 2024 17:22:22 +0100 Subject: [PATCH 10/19] fixed tests --- test/webapi/viewer/test_routes.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/test/webapi/viewer/test_routes.py b/test/webapi/viewer/test_routes.py index 1604ca5dd..dfd92c1e5 100644 --- a/test/webapi/viewer/test_routes.py +++ b/test/webapi/viewer/test_routes.py @@ -30,18 +30,14 @@ def test_viewer_config(self): class ViewerExtRoutesTest(RoutesTestCase): - def test_viewer_ext_root(self): - response = self.fetch("/viewer/ext") - self.assertResponseOK(response) - def test_viewer_ext_contributions(self): response = self.fetch("/viewer/ext/contributions") - self.assertResponseOK(response) + self.assertResourceNotFoundResponse(response) def test_viewer_ext_layout(self): response = self.fetch("/viewer/ext/layout") - self.assertResponseOK(response) + self.assertResourceNotFoundResponse(response) def test_viewer_ext_callback(self): response = self.fetch("/viewer/ext/layout") - self.assertResponseOK(response) + self.assertResourceNotFoundResponse(response) From df51eb4efd1559cc92a39084ec6b8150e1e43641 Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Tue, 12 Nov 2024 09:55:17 +0100 Subject: [PATCH 11/19] improved typing --- xcube/server/testing.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/xcube/server/testing.py b/xcube/server/testing.py index da8223784..7046e2ade 100644 --- a/xcube/server/testing.py +++ b/xcube/server/testing.py @@ -10,7 +10,7 @@ import unittest from abc import ABC from contextlib import closing -from typing import Dict, Optional, Any, Union, Tuple +from typing import Any, IO, Iterable import urllib3 from urllib3.exceptions import MaxRetryError @@ -20,6 +20,10 @@ from xcube.util.extension import ExtensionRegistry +Body = dict | str | bytes | IO[Any] | Iterable[bytes] +JsonData = None | bool | int | float | str | list | dict + + # taken from https://stackoverflow.com/a/45690594 def find_free_port(): with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s: @@ -83,8 +87,8 @@ def fetch( self, path: str, method: str = "GET", - headers: Optional[dict[str, str]] = None, - body: Optional[Any] = None, + headers: dict[str, str] | None = None, + body: Body | None = None, ) -> urllib3.response.HTTPResponse: """Fetches the response for given request. @@ -108,9 +112,9 @@ def fetch_json( self, path: str, method: str = "GET", - headers: Optional[dict[str, str]] = None, - body: Optional[Any] = None, - ) -> tuple[Union[type(None), bool, int, float, str, list, dict], int]: + headers: dict[str, str] | None = None, + body: Body | None = None, + ) -> tuple[JsonData, int]: """Fetches the response's JSON value for given request. Args: @@ -166,8 +170,8 @@ def assertBadRequestResponse( def assertResponse( self, response: urllib3.response.HTTPResponse, - expected_status: Optional[int] = None, - expected_message: Optional[str] = None, + expected_status: int | None = None, + expected_message: str | None = None, ): """Assert that response has the given status code *expected_status*, if given, and @@ -193,7 +197,7 @@ def assertResponse( @classmethod def parse_error_message( cls, response: urllib3.response.HTTPResponse - ) -> Optional[str]: + ) -> str | None: """Parse an error message from the given response object.""" # noinspection PyBroadException try: From a160a1261d719084e24e5ea4bec9bd1570a5ab5a Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Tue, 12 Nov 2024 11:21:23 +0100 Subject: [PATCH 12/19] added server-side panels test --- test/webapi/res/config-panels.yml | 33 +++ test/webapi/res/viewer_panels/__init__.py | 7 + test/webapi/res/viewer_panels/my_panel_a.py | 83 +++++++ test/webapi/res/viewer_panels/my_panel_b.py | 83 +++++++ test/webapi/viewer/test_context.py | 14 ++ test/webapi/viewer/test_routes.py | 244 +++++++++++++++++++- 6 files changed, 459 insertions(+), 5 deletions(-) create mode 100644 test/webapi/res/config-panels.yml create mode 100644 test/webapi/res/viewer_panels/__init__.py create mode 100644 test/webapi/res/viewer_panels/my_panel_a.py create mode 100644 test/webapi/res/viewer_panels/my_panel_b.py diff --git a/test/webapi/res/config-panels.yml b/test/webapi/res/config-panels.yml new file mode 100644 index 000000000..cecbb11c5 --- /dev/null +++ b/test/webapi/res/config-panels.yml @@ -0,0 +1,33 @@ +Viewer: + Augmentation: + Path: "" + Extensions: + - viewer_panels.ext + +DataStores: + - Identifier: test + StoreId: file + StoreParams: + root: examples/serve/demo + Datasets: + - Path: "cube-1-250-250.zarr" + TimeSeriesDataset: "cube-5-100-200.zarr" + +ServiceProvider: + ProviderName: "Brockmann Consult GmbH" + ProviderSite: "https://www.brockmann-consult.de" + ServiceContact: + IndividualName: "Norman Fomferra" + PositionName: "Senior Software Engineer" + ContactInfo: + Phone: + Voice: "+49 4152 889 303" + Facsimile: "+49 4152 889 330" + Address: + DeliveryPoint: "HZG / GITZ" + City: "Geesthacht" + AdministrativeArea: "Herzogtum Lauenburg" + PostalCode: "21502" + Country: "Germany" + ElectronicMailAddress: "norman.fomferra@brockmann-consult.de" + diff --git a/test/webapi/res/viewer_panels/__init__.py b/test/webapi/res/viewer_panels/__init__.py new file mode 100644 index 000000000..c03696002 --- /dev/null +++ b/test/webapi/res/viewer_panels/__init__.py @@ -0,0 +1,7 @@ +from dashipy import Extension +from .my_panel_a import panel as my_panel_a +from .my_panel_b import panel as my_panel_b + +ext = Extension(__name__) +ext.add(my_panel_a) +ext.add(my_panel_b) diff --git a/test/webapi/res/viewer_panels/my_panel_a.py b/test/webapi/res/viewer_panels/my_panel_a.py new file mode 100644 index 000000000..7635cc8a8 --- /dev/null +++ b/test/webapi/res/viewer_panels/my_panel_a.py @@ -0,0 +1,83 @@ +from dashipy import Component, Input, State, Output +from dashipy.components import Box, Dropdown, Checkbox, Typography + +from xcube.webapi.viewer.contrib import Panel +from xcube.webapi.viewer.contrib import get_datasets_ctx +from xcube.server.api import Context + + +panel = Panel(__name__, title="Panel A") + + +COLORS = [("red", 0), ("green", 1), ("blue", 2), ("yellow", 3)] + + +@panel.layout( + Input(source="app", property="controlState.selectedDatasetId"), +) +def render_panel( + ctx: Context, + dataset_id: str = "", +) -> Component: + + opaque = False + color = 0 + + opaque_checkbox = Checkbox( + id="opaque", + value=opaque, + label="Opaque", + ) + + color_dropdown = Dropdown( + id="color", + value=color, + label="Color", + options=COLORS, + style={"flexGrow": 0, "minWidth": 80}, + ) + + info_text = Typography( + id="info_text", text=update_info_text(ctx, dataset_id, opaque, color) + ) + + return Box( + style={ + "display": "flex", + "flexDirection": "column", + "width": "100%", + "height": "100%", + "gap": "6px", + }, + children=[opaque_checkbox, color_dropdown, info_text], + ) + + +# noinspection PyUnusedLocal +@panel.callback( + Input(source="app", property="controlState.selectedDatasetId"), + Input("opaque"), + Input("color"), + State("info_text", "text"), + Output("info_text", "text"), +) +def update_info_text( + ctx: Context, + dataset_id: str = "", + opaque: bool = False, + color: int = 0, + info_text: str = "", +) -> str: + ds_ctx = get_datasets_ctx(ctx) + ds_configs = ds_ctx.get_dataset_configs() + + opaque = opaque or False + color = color if color is not None else 0 + return ( + f"The dataset is {dataset_id}," + f" the color is {COLORS[color][0]} and" + f" it {'is' if opaque else 'is not'} opaque." + f" The length of the last info text" + f" was {len(info_text or "")}." + f" The number of datasets is {len(ds_configs)}." + ) diff --git a/test/webapi/res/viewer_panels/my_panel_b.py b/test/webapi/res/viewer_panels/my_panel_b.py new file mode 100644 index 000000000..f674dd2fc --- /dev/null +++ b/test/webapi/res/viewer_panels/my_panel_b.py @@ -0,0 +1,83 @@ +from dashipy import Component, Input, State, Output +from dashipy.components import Box, Dropdown, Checkbox, Typography + +from xcube.webapi.viewer.contrib import Panel +from xcube.webapi.viewer.contrib import get_datasets_ctx +from xcube.server.api import Context + + +panel = Panel(__name__, title="Panel B") + + +COLORS = [("red", 0), ("green", 1), ("blue", 2), ("yellow", 3)] + + +@panel.layout( + Input(source="app", property="controlState.selectedDatasetId"), +) +def render_panel( + ctx: Context, + dataset_id: str = "", +) -> Component: + + opaque = False + color = 0 + + opaque_checkbox = Checkbox( + id="opaque", + value=opaque, + label="Opaque", + ) + + color_dropdown = Dropdown( + id="color", + value=color, + label="Color", + options=COLORS, + style={"flexGrow": 0, "minWidth": 80}, + ) + + info_text = Typography( + id="info_text", text=update_info_text(ctx, dataset_id, opaque, color) + ) + + return Box( + style={ + "display": "flex", + "flexDirection": "column", + "width": "100%", + "height": "100%", + "gap": "6px", + }, + children=[opaque_checkbox, color_dropdown, info_text], + ) + + +# noinspection PyUnusedLocal +@panel.callback( + Input(source="app", property="controlState.selectedDatasetId"), + Input("opaque"), + Input("color"), + State("info_text", "text"), + Output("info_text", "text"), +) +def update_info_text( + ctx: Context, + dataset_id: str = "", + opaque: bool = False, + color: int = 0, + info_text: str = "", +) -> str: + ds_ctx = get_datasets_ctx(ctx) + ds_configs = ds_ctx.get_dataset_configs() + + opaque = opaque or False + color = color if color is not None else 0 + return ( + f"The dataset is {dataset_id}," + f" the color is {COLORS[color][0]} and" + f" it {'is' if opaque else 'is not'} opaque." + f" The length of the last info text" + f" was {len(info_text or "")}." + f" The number of datasets is {len(ds_configs)}." + ) diff --git a/test/webapi/viewer/test_context.py b/test/webapi/viewer/test_context.py index 4592c52ff..4807794bd 100644 --- a/test/webapi/viewer/test_context.py +++ b/test/webapi/viewer/test_context.py @@ -9,6 +9,7 @@ from test.webapi.helpers import get_api_ctx from xcube.webapi.viewer.context import ViewerContext +from xcube.webapi.viewer.contrib import Panel def get_viewer_ctx( @@ -44,3 +45,16 @@ def test_config_path_ok(self): config.update(dict(Viewer=dict(Configuration=dict(Path=config_path)))) ctx2 = get_viewer_ctx(server_config=config) self.assertEqual(config_path, ctx2.config_path) + + def test_panels(self): + ctx = get_viewer_ctx("config-panels.yml") + self.assertIsNotNone(ctx.ext_ctx) + self.assertIsInstance(ctx.ext_ctx.extensions, list) + self.assertEqual(1, len(ctx.ext_ctx.extensions)) + self.assertIsInstance(ctx.ext_ctx.contributions, dict) + self.assertEqual(1, len(ctx.ext_ctx.contributions)) + self.assertIn("panels", ctx.ext_ctx.contributions) + self.assertIsInstance(ctx.ext_ctx.contributions["panels"], list) + self.assertEqual(2, len(ctx.ext_ctx.contributions["panels"])) + self.assertIsInstance(ctx.ext_ctx.contributions["panels"][0], Panel) + self.assertIsInstance(ctx.ext_ctx.contributions["panels"][1], Panel) diff --git a/test/webapi/viewer/test_routes.py b/test/webapi/viewer/test_routes.py index dfd92c1e5..25c57531d 100644 --- a/test/webapi/viewer/test_routes.py +++ b/test/webapi/viewer/test_routes.py @@ -30,14 +30,248 @@ def test_viewer_config(self): class ViewerExtRoutesTest(RoutesTestCase): + def get_config_filename(self) -> str: + return "config-panels.yml" + def test_viewer_ext_contributions(self): response = self.fetch("/viewer/ext/contributions") - self.assertResourceNotFoundResponse(response) + self.assertResponseOK(response) + result = response.json() + self.assertEqual({"result": expected_contributions_result}, result) def test_viewer_ext_layout(self): - response = self.fetch("/viewer/ext/layout") - self.assertResourceNotFoundResponse(response) + response = self.fetch( + "/viewer/ext/layout/panels/0", + method="POST", + body={ + "inputValues": [ + "", # dataset_id + ] + }, + ) + self.assertResponseOK(response) + result = response.json() + self.assertEqual({"result": expected_layout_result}, result) def test_viewer_ext_callback(self): - response = self.fetch("/viewer/ext/layout") - self.assertResourceNotFoundResponse(response) + response = self.fetch( + "/viewer/ext/callback", + method="POST", + body={ + "callbackRequests": [ + { + "contribPoint": "panels", + "contribIndex": 0, + "callbackIndex": 0, + "inputValues": [ + "", # dataset_id + True, # opaque + 1, # color + "", # info_text + ], + } + ] + }, + ) + self.assertResponseOK(response) + result = response.json() + self.assertEqual({"result": expected_callback_result}, result) + + +expected_callback_result = [ + { + "contribIndex": 0, + "contribPoint": "panels", + "stateChanges": [ + { + "id": "info_text", + "link": "component", + "property": "text", + "value": ( + "The dataset is , the color is green " + "and it is opaque. The length of the " + "last info text was 0. The number of " + "datasets is 1." + ), + } + ], + } +] + +expected_layout_result = { + "components": [ + {"id": "opaque", "label": "Opaque", "type": "Checkbox", "value": False}, + { + "id": "color", + "label": "Color", + "options": [["red", 0], ["green", 1], ["blue", 2], ["yellow", 3]], + "style": {"flexGrow": 0, "minWidth": 80}, + "type": "Dropdown", + "value": 0, + }, + { + "id": "info_text", + "text": ( + "The dataset is , the color is red and it " + "is not opaque. The length of the last " + "info text was 0. The number of datasets " + "is 1." + ), + "type": "Typography", + }, + ], + "style": { + "display": "flex", + "flexDirection": "column", + "gap": "6px", + "height": "100%", + "width": "100%", + }, + "type": "Box", +} + +expected_contributions_result = { + "contributions": { + "panels": [ + { + "callbacks": [ + { + "function": { + "name": "update_info_text", + "parameters": [ + { + "default": "", + "name": "dataset_id", + "type": {"type": "string"}, + }, + { + "default": False, + "name": "opaque", + "type": {"type": "boolean"}, + }, + { + "default": 0, + "name": "color", + "type": {"type": "integer"}, + }, + { + "default": "", + "name": "info_text", + "type": {"type": "string"}, + }, + ], + "returnType": {"type": "string"}, + }, + "inputs": [ + { + "link": "app", + "property": "controlState.selectedDatasetId", + }, + {"id": "opaque", "link": "component", "property": "value"}, + {"id": "color", "link": "component", "property": "value"}, + { + "id": "info_text", + "link": "component", + "noTrigger": True, + "property": "text", + }, + ], + "outputs": [ + {"id": "info_text", "link": "component", "property": "text"} + ], + } + ], + "extension": "viewer_panels", + "initialState": {"title": "Panel A", "visible": False}, + "layout": { + "function": { + "name": "render_panel", + "parameters": [ + { + "default": "", + "name": "dataset_id", + "type": {"type": "string"}, + } + ], + "returnType": {"class": "Component", "type": "object"}, + }, + "inputs": [ + {"link": "app", "property": "controlState.selectedDatasetId"} + ], + }, + "name": "viewer_panels.my_panel_a", + }, + { + "callbacks": [ + { + "function": { + "name": "update_info_text", + "parameters": [ + { + "default": "", + "name": "dataset_id", + "type": {"type": "string"}, + }, + { + "default": False, + "name": "opaque", + "type": {"type": "boolean"}, + }, + { + "default": 0, + "name": "color", + "type": {"type": "integer"}, + }, + { + "default": "", + "name": "info_text", + "type": {"type": "string"}, + }, + ], + "returnType": {"type": "string"}, + }, + "inputs": [ + { + "link": "app", + "property": "controlState.selectedDatasetId", + }, + {"id": "opaque", "link": "component", "property": "value"}, + {"id": "color", "link": "component", "property": "value"}, + { + "id": "info_text", + "link": "component", + "noTrigger": True, + "property": "text", + }, + ], + "outputs": [ + {"id": "info_text", "link": "component", "property": "text"} + ], + } + ], + "extension": "viewer_panels", + "initialState": {"title": "Panel B", "visible": False}, + "layout": { + "function": { + "name": "render_panel", + "parameters": [ + { + "default": "", + "name": "dataset_id", + "type": {"type": "string"}, + } + ], + "returnType": {"class": "Component", "type": "object"}, + }, + "inputs": [ + {"link": "app", "property": "controlState.selectedDatasetId"} + ], + }, + "name": "viewer_panels.my_panel_b", + }, + ] + }, + "extensions": [ + {"contributes": ["panels"], "name": "viewer_panels", "version": "0.0.0"} + ], +} From efc7c6ecd3abe718c9d43b67481255809bc25b6a Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Tue, 12 Nov 2024 13:08:09 +0100 Subject: [PATCH 13/19] added some more docu --- CHANGES.md | 13 +++++++++++++ .../serve/{demo3 => panels-demo}/compute_indexes.py | 0 examples/serve/{demo3 => panels-demo}/config.yaml | 13 +++++-------- .../my_viewer_ext/__init__.py | 0 .../my_viewer_ext/my_panel_1.py | 0 xcube/webapi/viewer/contrib/panel.py | 12 +++++++++++- xcube/webapi/viewer/routes.py | 13 ++++++------- 7 files changed, 35 insertions(+), 16 deletions(-) rename examples/serve/{demo3 => panels-demo}/compute_indexes.py (100%) rename examples/serve/{demo3 => panels-demo}/config.yaml (96%) rename examples/serve/{demo3 => panels-demo}/my_viewer_ext/__init__.py (100%) rename examples/serve/{demo3 => panels-demo}/my_viewer_ext/my_panel_1.py (100%) diff --git a/CHANGES.md b/CHANGES.md index d9b6a76eb..e457802b5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,19 @@ lazily and therefore supports chunk-wise, parallel processing. (#1 +### Other changes + +* Added experimental feature that allows for extending the xcube Viewer + user interface by _server-side panels_. For this to work, users can now + configure xcube Server to load one or more Python modules that provide + `xcube.webapi.viewer.contrib.Panel` UI-contributions. + Panel instances provide two decorators `layout()` and `callback()` + which are used to implement the UI and the interaction behaviour, + respectively. The functionality is provided by the + `https://github.com/bcdev/dashi/dashipy` Python library. + A working example can be found in `examples/serve/panels-demo`. + + ## Changes in 1.7.1 ### Enhancements diff --git a/examples/serve/demo3/compute_indexes.py b/examples/serve/panels-demo/compute_indexes.py similarity index 100% rename from examples/serve/demo3/compute_indexes.py rename to examples/serve/panels-demo/compute_indexes.py diff --git a/examples/serve/demo3/config.yaml b/examples/serve/panels-demo/config.yaml similarity index 96% rename from examples/serve/demo3/config.yaml rename to examples/serve/panels-demo/config.yaml index 70e3da920..4febaff91 100644 --- a/examples/serve/demo3/config.yaml +++ b/examples/serve/panels-demo/config.yaml @@ -1,5 +1,8 @@ -DatasetAttribution: - - "© by Brockmann Consult GmbH 2024, contains modified Copernicus Data 2019, processed by ESA" +Viewer: + Augmentation: + Path: "" + Extensions: + - my_viewer_ext.ext DatasetChunkCacheSize: 100M @@ -21,12 +24,6 @@ DataStores: Title: Lousiville S2 Style: louisville -Viewer: - Augmentation: - Path: "" - Extensions: - - my_viewer_ext.ext - Styles: - Identifier: waddensea ColorMappings: diff --git a/examples/serve/demo3/my_viewer_ext/__init__.py b/examples/serve/panels-demo/my_viewer_ext/__init__.py similarity index 100% rename from examples/serve/demo3/my_viewer_ext/__init__.py rename to examples/serve/panels-demo/my_viewer_ext/__init__.py diff --git a/examples/serve/demo3/my_viewer_ext/my_panel_1.py b/examples/serve/panels-demo/my_viewer_ext/my_panel_1.py similarity index 100% rename from examples/serve/demo3/my_viewer_ext/my_panel_1.py rename to examples/serve/panels-demo/my_viewer_ext/my_panel_1.py diff --git a/xcube/webapi/viewer/contrib/panel.py b/xcube/webapi/viewer/contrib/panel.py index 45f75def1..e78e4cb43 100644 --- a/xcube/webapi/viewer/contrib/panel.py +++ b/xcube/webapi/viewer/contrib/panel.py @@ -2,7 +2,17 @@ class Panel(Contribution): - """Panel contribution""" + """Panel contribution. + + A panel is a UI-contribution to xcube Viewer. + To become effective, instances of this class must be added + to a ``dashipy.Extension`` instance exported from your extension + module. + + Args: + name: A name that is unique within the extension. + title: An initial title for the panel. + """ def __init__(self, name: str, title: str | None = None): super().__init__(name, visible=False, title=title) diff --git a/xcube/webapi/viewer/routes.py b/xcube/webapi/viewer/routes.py index 970127ad4..aa10053f6 100644 --- a/xcube/webapi/viewer/routes.py +++ b/xcube/webapi/viewer/routes.py @@ -114,9 +114,7 @@ def do_get_layout(self, contrib_point: str, contrib_index: str): ) def do_get_callback_results(self): - self._write_response( - get_callback_results(self.ctx.ext_ctx, self.request.json) - ) + self._write_response(get_callback_results(self.ctx.ext_ctx, self.request.json)) def _write_response(self, response: ExtResponse): self.response.set_header("Content-Type", "text/json") @@ -146,8 +144,8 @@ def get(self): # noinspection PyPep8Naming @api.route("/viewer/ext/layout/{contribPoint}/{contribIndex}") class ViewerExtLayoutHandler(ViewerExtHandler): - # GET /dashi/layout/{contrib_point_name}/{contrib_index} def get(self, contribPoint: str, contribIndex: str): + """This endpoint is for testing only.""" self.do_get_layout(contribPoint, contribIndex) # POST /dashi/layout/{contrib_point_name}/{contrib_index} @@ -176,11 +174,12 @@ def post(self, contribPoint: str, contribIndex: str): @api.route("/viewer/ext/callback") class ViewerExtCallbackHandler(ViewerExtHandler): - # POST /dashi/callback @api.operation( operationId="getViewerContributionCallbackResults", - summary="Process the viewer contribution callback requests" - " and return state change requests.", + summary=( + "Process the viewer contribution callback requests" + " and return state change requests." + ), ) def post(self): self.do_get_callback_results() From ddad4913faa8a0b0d9d5430a684e9e3f0a5250cc Mon Sep 17 00:00:00 2001 From: Norman Fomferra Date: Tue, 12 Nov 2024 14:11:58 +0100 Subject: [PATCH 14/19] added viewer --- .../viewer/dist/assets/index-0Y0zLKBA.css | 1 - .../viewer/dist/assets/index-CHdlbXuI.js | 3735 ---------------- .../viewer/dist/assets/index-DJNsTand.css | 1 + .../viewer/dist/assets/index-Kl4OfcTq.js | 3980 +++++++++++++++++ .../roboto-cyrillic-300-normal-D6mjswgs.woff2 | Bin 9576 -> 0 bytes .../roboto-cyrillic-300-normal-DJfICpyc.woff2 | Bin 0 -> 9684 bytes .../roboto-cyrillic-300-normal-Dg7J0kAT.woff | Bin 0 -> 8620 bytes .../roboto-cyrillic-300-normal-UX5PCucy.woff | Bin 8428 -> 0 bytes .../roboto-cyrillic-400-normal-BiRJyiea.woff2 | Bin 0 -> 9852 bytes .../roboto-cyrillic-400-normal-DCQqOlfN.woff | Bin 8392 -> 0 bytes .../roboto-cyrillic-400-normal-DVDTZtmW.woff2 | Bin 9628 -> 0 bytes .../roboto-cyrillic-400-normal-JN0iKxGs.woff | Bin 0 -> 8572 bytes .../roboto-cyrillic-500-normal-DAkZhMOh.woff2 | Bin 9840 -> 0 bytes .../roboto-cyrillic-500-normal-QpWeYsca.woff | Bin 8700 -> 0 bytes .../roboto-cyrillic-500-normal-YnJLGrUm.woff | Bin 0 -> 8864 bytes .../roboto-cyrillic-500-normal-_hamcpv8.woff2 | Bin 0 -> 9964 bytes .../roboto-cyrillic-700-normal-B5ZBKWCH.woff2 | Bin 9644 -> 0 bytes .../roboto-cyrillic-700-normal-BJaAVvFw.woff | Bin 0 -> 8844 bytes .../roboto-cyrillic-700-normal-DAIxw5xX.woff | Bin 8660 -> 0 bytes .../roboto-cyrillic-700-normal-jruQITdB.woff2 | Bin 0 -> 9780 bytes ...boto-cyrillic-ext-300-normal-BLLmCegk.woff | Bin 0 -> 13572 bytes ...boto-cyrillic-ext-300-normal-C7AGhuC_.woff | Bin 13548 -> 0 bytes ...oto-cyrillic-ext-300-normal-Chhwl1Jq.woff2 | Bin 0 -> 15028 bytes ...oto-cyrillic-ext-300-normal-TzZWIuiO.woff2 | Bin 15000 -> 0 bytes ...boto-cyrillic-ext-400-normal--KougVX-.woff | Bin 13468 -> 0 bytes ...oto-cyrillic-ext-400-normal-D76n7Daw.woff2 | Bin 0 -> 15336 bytes ...oto-cyrillic-ext-400-normal-DORK9bGA.woff2 | Bin 15344 -> 0 bytes ...boto-cyrillic-ext-400-normal-b0JluIOJ.woff | Bin 0 -> 13488 bytes ...boto-cyrillic-ext-500-normal-37WQE4S0.woff | Bin 0 -> 13464 bytes ...oto-cyrillic-ext-500-normal-BJvL3D7h.woff2 | Bin 0 -> 14988 bytes ...oto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 | Bin 14968 -> 0 bytes ...boto-cyrillic-ext-500-normal-sraxM_lR.woff | Bin 13448 -> 0 bytes ...oto-cyrillic-ext-700-normal-CsrCEJIc.woff2 | Bin 14684 -> 0 bytes ...oto-cyrillic-ext-700-normal-CyZgh00P.woff2 | Bin 0 -> 14740 bytes ...boto-cyrillic-ext-700-normal-DXzexxfu.woff | Bin 0 -> 13456 bytes ...boto-cyrillic-ext-700-normal-dDOtDc5i.woff | Bin 13432 -> 0 bytes .../roboto-greek-300-normal-Bx8edVml.woff2 | Bin 0 -> 7180 bytes .../roboto-greek-300-normal-D3gN5oZ1.woff | Bin 0 -> 6444 bytes .../roboto-greek-300-normal-Dgbe-dnN.woff | Bin 6444 -> 0 bytes .../roboto-greek-300-normal-ndiuWqED.woff2 | Bin 7120 -> 0 bytes .../roboto-greek-400-normal-BRWHCUYo.woff2 | Bin 7112 -> 0 bytes .../roboto-greek-400-normal-BnGNaKeW.woff | Bin 6348 -> 0 bytes .../roboto-greek-400-normal-IIc_WWwF.woff | Bin 0 -> 6344 bytes .../roboto-greek-400-normal-LPh2sqOm.woff2 | Bin 0 -> 7096 bytes .../roboto-greek-500-normal-Bg8BLohm.woff2 | Bin 0 -> 7028 bytes .../roboto-greek-500-normal-CVjdsdX9.woff | Bin 6324 -> 0 bytes .../roboto-greek-500-normal-CdRewbqV.woff | Bin 0 -> 6320 bytes .../roboto-greek-500-normal-CpESfwfG.woff2 | Bin 7016 -> 0 bytes .../roboto-greek-700-normal-1IZ-NEfb.woff | Bin 0 -> 6308 bytes .../roboto-greek-700-normal-Bs05n1ZH.woff2 | Bin 0 -> 6904 bytes .../roboto-greek-700-normal-Cc2Tq8FV.woff2 | Bin 6936 -> 0 bytes .../roboto-greek-700-normal-CjuTpGfE.woff | Bin 6300 -> 0 bytes .../roboto-latin-300-normal-BZ6gvbSO.woff | Bin 0 -> 17564 bytes .../roboto-latin-300-normal-BizgZZ3y.woff2 | Bin 0 -> 18492 bytes .../roboto-latin-300-normal-ThHrQhYb.woff2 | Bin 15740 -> 0 bytes .../roboto-latin-300-normal-lq7MgJXa.woff | Bin 14588 -> 0 bytes .../roboto-latin-400-normal-BU1SoK4h.woff | Bin 14384 -> 0 bytes .../roboto-latin-400-normal-BVyCgWwA.woff | Bin 0 -> 17304 bytes .../roboto-latin-400-normal-DXyFPIdK.woff2 | Bin 0 -> 18536 bytes .../roboto-latin-400-normal-mTIRXP6Y.woff2 | Bin 15744 -> 0 bytes .../roboto-latin-500-normal-C6iW8rdg.woff2 | Bin 0 -> 18588 bytes .../roboto-latin-500-normal-Dcm-rhWF.woff | Bin 14424 -> 0 bytes .../roboto-latin-500-normal-Dxdx3aXO.woff2 | Bin 15920 -> 0 bytes .../roboto-latin-500-normal-rpP1_v3s.woff | Bin 0 -> 17320 bytes .../roboto-latin-700-normal-BWcFiwQV.woff | Bin 0 -> 17372 bytes .../roboto-latin-700-normal-Bh431LEL.woff | Bin 14420 -> 0 bytes .../roboto-latin-700-normal-CbYYDfWS.woff2 | Bin 0 -> 18596 bytes .../roboto-latin-700-normal-CeM5gOv8.woff2 | Bin 15860 -> 0 bytes ...roboto-latin-ext-300-normal-BzRVPTS2.woff2 | Bin 0 -> 12324 bytes .../roboto-latin-ext-300-normal-CaUuWeqj.woff | Bin 10360 -> 0 bytes ...roboto-latin-ext-300-normal-DEsNdRC-.woff2 | Bin 11796 -> 0 bytes .../roboto-latin-ext-300-normal-Djx841zm.woff | Bin 0 -> 10888 bytes ...roboto-latin-ext-400-normal-4bLplyDh.woff2 | Bin 11872 -> 0 bytes .../roboto-latin-ext-400-normal-BSFkPfbf.woff | Bin 0 -> 10724 bytes ...roboto-latin-ext-400-normal-DgXbz5gU.woff2 | Bin 0 -> 12456 bytes .../roboto-latin-ext-400-normal-DloBNwoc.woff | Bin 10208 -> 0 bytes .../roboto-latin-ext-500-normal-B9pAx_JH.woff | Bin 10184 -> 0 bytes ...roboto-latin-ext-500-normal-BWKy6SgX.woff2 | Bin 11800 -> 0 bytes .../roboto-latin-ext-500-normal-DvHxAkTn.woff | Bin 0 -> 10696 bytes ...roboto-latin-ext-500-normal-OQJhyaXd.woff2 | Bin 0 -> 12280 bytes ...roboto-latin-ext-700-normal-BYGCo3Go.woff2 | Bin 11824 -> 0 bytes .../roboto-latin-ext-700-normal-Ba-CAIIA.woff | Bin 0 -> 10688 bytes ...roboto-latin-ext-700-normal-DchBbzVz.woff2 | Bin 0 -> 12304 bytes .../roboto-latin-ext-700-normal-DwUXTeTv.woff | Bin 10168 -> 0 bytes ...roboto-vietnamese-300-normal-CAomnZLO.woff | Bin 0 -> 5024 bytes ...oboto-vietnamese-300-normal-CnPrVvBs.woff2 | Bin 5468 -> 0 bytes ...roboto-vietnamese-300-normal-DOxDZ6bW.woff | Bin 4768 -> 0 bytes ...oboto-vietnamese-300-normal-PZa9KE_J.woff2 | Bin 0 -> 5688 bytes ...roboto-vietnamese-400-normal-BkEBOAV9.woff | Bin 4752 -> 0 bytes ...roboto-vietnamese-400-normal-D5pJwT9g.woff | Bin 0 -> 5000 bytes ...oboto-vietnamese-400-normal-DhTUfTw_.woff2 | Bin 0 -> 5796 bytes ...oboto-vietnamese-400-normal-kCRe3VZk.woff2 | Bin 5560 -> 0 bytes ...roboto-vietnamese-500-normal-Bwg8Dbh6.woff | Bin 4728 -> 0 bytes ...oboto-vietnamese-500-normal-CcijQRVW.woff2 | Bin 5604 -> 0 bytes ...roboto-vietnamese-500-normal-LvuCHq7y.woff | Bin 0 -> 4980 bytes ...oboto-vietnamese-500-normal-p0V0BAAE.woff2 | Bin 0 -> 5864 bytes ...roboto-vietnamese-700-normal-B4Nagvlm.woff | Bin 0 -> 4972 bytes ...oboto-vietnamese-700-normal-CBbheh0s.woff2 | Bin 0 -> 5708 bytes ...roboto-vietnamese-700-normal-Mc0c6qif.woff | Bin 4728 -> 0 bytes ...oboto-vietnamese-700-normal-SekShQfT.woff2 | Bin 5548 -> 0 bytes xcube/webapi/viewer/dist/index.html | 4 +- 101 files changed, 3983 insertions(+), 3738 deletions(-) delete mode 100644 xcube/webapi/viewer/dist/assets/index-0Y0zLKBA.css delete mode 100644 xcube/webapi/viewer/dist/assets/index-CHdlbXuI.js create mode 100644 xcube/webapi/viewer/dist/assets/index-DJNsTand.css create mode 100644 xcube/webapi/viewer/dist/assets/index-Kl4OfcTq.js delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-UX5PCucy.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-BiRJyiea.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-DCQqOlfN.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-JN0iKxGs.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-DAkZhMOh.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-QpWeYsca.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-YnJLGrUm.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-B5ZBKWCH.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-DAIxw5xX.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-BLLmCegk.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-C7AGhuC_.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal--KougVX-.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-b0JluIOJ.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-37WQE4S0.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-CyZgh00P.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-DXzexxfu.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-dDOtDc5i.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-Bx8edVml.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-D3gN5oZ1.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-Dgbe-dnN.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-ndiuWqED.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BRWHCUYo.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BnGNaKeW.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-IIc_WWwF.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-LPh2sqOm.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-Bg8BLohm.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-CVjdsdX9.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-CdRewbqV.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-CpESfwfG.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-1IZ-NEfb.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-Cc2Tq8FV.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-CjuTpGfE.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BZ6gvbSO.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BizgZZ3y.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-ThHrQhYb.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-lq7MgJXa.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-BU1SoK4h.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-BVyCgWwA.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-DXyFPIdK.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-mTIRXP6Y.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-C6iW8rdg.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dcm-rhWF.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-rpP1_v3s.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-BWcFiwQV.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-Bh431LEL.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-CbYYDfWS.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-CeM5gOv8.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-Djx841zm.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-4bLplyDh.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-BSFkPfbf.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DloBNwoc.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-500-normal-B9pAx_JH.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-500-normal-BWKy6SgX.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-500-normal-DvHxAkTn.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-500-normal-OQJhyaXd.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-BYGCo3Go.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-CAomnZLO.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-CnPrVvBs.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-DhTUfTw_.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-Bwg8Dbh6.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-LvuCHq7y.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-p0V0BAAE.woff2 create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-700-normal-B4Nagvlm.woff create mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-700-normal-CBbheh0s.woff2 delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-700-normal-Mc0c6qif.woff delete mode 100644 xcube/webapi/viewer/dist/assets/roboto-vietnamese-700-normal-SekShQfT.woff2 diff --git a/xcube/webapi/viewer/dist/assets/index-0Y0zLKBA.css b/xcube/webapi/viewer/dist/assets/index-0Y0zLKBA.css deleted file mode 100644 index 3e5d15b01..000000000 --- a/xcube/webapi/viewer/dist/assets/index-0Y0zLKBA.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2) format("woff2"),url(./roboto-cyrillic-ext-300-normal-C7AGhuC_.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-300-normal-D6mjswgs.woff2) format("woff2"),url(./roboto-cyrillic-300-normal-UX5PCucy.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXIABIAAAAACfAAAAVrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhYCYM8EQwKg3yDWwsQABIUATYCJAMcBCAFgnwHIAyCOhuKCFFUkNIAfhzkZNGn0qdP43KKULZY+sdzG0Q8m/mz8ICIX02oaFIVOdFc1ZzS76IBcWPjIIKlGKNV/3O6DmGQY/0cOocGnZS5fphLIQxybKVfXZEOY7haU7u7F7IfFUso/CdW3X0AsQAwPhW2Tv1UAStAFdXxNaLOVQhbV3MjxjWbYEg6T29vAH0LBI0IAFAOwUQQBA0IASEEECBAgjJIz94DRxICQAF43hlrbeqi1KrNWDS7iJq5s7MLu6lo2twSDwB8MeX1ukpLCgOMw0YLkOr9kP4yOQFmBnaVs6/PDelD1x3k7zLJIKcPa9jICQDV3nCwsdHToL5UBh0xSWGjAuGt7HnRX/rR3QgADckz3lSjnWSwElt5isGm6u0xoExmKmW0I8S8LOHMARJ6DYKqPWXUNmKGQxmzAmXNh4hpE0hYCsN8GxMgAKTK8A9lX+RjAvHOUAnfr08nEpIi0nsFmSqhpSANhYSeIg96Ha/FaUMP+9Fv9bA92s1XUHVeYvNR68e4DIERvCcwkgW6mthy89qYnIRKxVT+MQ4VOiRhB1Fc/hJGqqyu121wk7FSxdBV2XohSOOhBgkPxcWXl5x5TxG3T/vwjcHKmw1L2pcl3vZ41zJm3GMz008LrPS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dGptbv/UMdxIxEo6/IGvd52EzHGHBsa57kooHcxzu1Tik1NAK6CJca47hNK0g26QB9VDKpqH8wQK0WrSeBqCUlbJHwHVm3PdKUY76EXyEl3OSm4TO5EGt2Z9mQMAAA==) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATkAA4AAAAABWQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAAB8AAAAmAEYABkdQT1MAAAFkAAAAIAAAACBEcExrR1NVQgAAAYQAAAA2AAAANpMNggRPUy8yAAABvAAAAE0AAABgku/g4WNtYXAAAAIMAAAAKQAAADQAER+gZ2FzcAAAAjgAAAAMAAAADAAIABNnbHlmAAACRAAAAREAAAEUGjc/4GhlYWQAAANYAAAANgAAADb8WdJpaGhlYQAAA5AAAAAfAAAAJAqpBZBobXR4AAADsAAAABwAAAAcE07/w2xvY2EAAAPMAAAAEAAAABAA0AE8bWF4cAAAA9wAAAAgAAAAIAI3A1xuYW1lAAAD/AAAANEAAAF8Gwg553Bvc3QAAATQAAAAEwAAACD/bQBkeNpjYGRgYuBjgAAxII8NiEGQCcjnAWEgmwEABhIATQAAAQAAAAoAEgAUAAFERkxUAAwAAAAAAAQAAAAA//8AAAABAAAACgAkACYABERGTFQAHmN5cmwAImdyZWsAImxhdG4AIgAAAAAACAAAAAAAAAAA//8AAAAAeNpjYGbJZ9RhYGVgYJ3FaszAwCgPoZkvMqQxMTAwADEUODCgAnd/f3cGB3lfeV82hn8MDGnss5gYFBgY54PkWKxYNzAoACEzAMRwCjwAAAB42mNgYGACYmYgFgGSjGCahUEBSLMAIZAv7/v/P4R8sBMszwAAVmAGzQAAAAABAAIACAAC//8AD3jaDcwBRANRGAfw//e99zppau/qGohum5kC7dpAAlQKRgC1pABCoFIjSkoFIQHIQsAABKEpGbUhAkAgZ4pAue8aAH4/GKwDKm/qUOhBLxIYAHzf+soSWVI+FclX+WiKGyXpyB0lPliJEEeRqf/WjBNVeevP8nZU4coxVwBGNQ51aBrdaQSgIdaZNGxx0s2OajflJDmTZusl3aDgWh2eitzG8nhOTGWiM7XbeW1+f720P/nkWVo12qDS5RMFN9fy/pAkh8bkTX6uJJI2jVMfGCt6h9dMCwb9AA0GnsqowBtOOblckZaP9u9nZZOXJhYW9QVNe9Kk+dW9uUL2sBzHchCHptC1OegZwIGRLPAPx7pVLQAAAAABAAAAAiMS7qbXil8PPPUAGQgAAAAAAMTwES4AAAAA1QFS4/og/dUJGghzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwGn+S+GfK6cUUAQVsAMAbCsERwADjABkAAAAAAAAAAAB8gAABWoAfQK2AF8FsP6DAAAAKQApACkAKQBgAH4AigABAAAABwCPABYAWQAFAAEAAAAAAA4AAAIAAnIABgABeNpNjrkKwkAURY8r2lhbTmVn3ApBKxERQSxULAWXGIWQCYkL9n6Nn+GXeYshhMsdzrwdqHGhRKFcB/bguECTveMiDZ6OS7l4OccVWnwcVxX/Om6w5ccUS8ybhBsBV+4Y+nTpSYY5VgoI8TEsiDjhiSaEkmGddaXoh08qJzz1nvEUsRzlu2xYZtWqFD0IOZCwQz2kyloitB+PHgOGjHHXiPOz2rlZshQzoiO9kPA4EMsnZX39LAmBsiE3xXwidKfcYcmCKTNWbPS20W66fypGNRAAAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-greek-300-normal-ndiuWqED.woff2) format("woff2"),url(./roboto-greek-300-normal-Dgbe-dnN.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-vietnamese-300-normal-CnPrVvBs.woff2) format("woff2"),url(./roboto-vietnamese-300-normal-DOxDZ6bW.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-ext-300-normal-DEsNdRC-.woff2) format("woff2"),url(./roboto-latin-ext-300-normal-CaUuWeqj.woff) format("woff");unicode-range:U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-300-normal-ThHrQhYb.woff2) format("woff2"),url(./roboto-latin-300-normal-lq7MgJXa.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-ext-400-normal-DORK9bGA.woff2) format("woff2"),url(./roboto-cyrillic-ext-400-normal--KougVX-.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-400-normal-DVDTZtmW.woff2) format("woff2"),url(./roboto-cyrillic-400-normal-DCQqOlfN.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXMABIAAAAACeAAAAVwAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhUCYM8EQwKg2iDSgsQABIUATYCJAMcBCAFgnQHIAyCSRt8CAieB2WbnmbLuYAwwpK8+iIe4P3r89wHDZaakNWCmB8R66SEWr+ILh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tMf5Jsd0x/khXnr8UKJMhyoZUqSpc849t9xJzjFQkqTIk1BlokiMa2Vf5CXnuKdXtWGVoCar0pSPc61OiaisLtOUFA3yRKjiH+7VyFCiOMS85o4HXviYMnhZuL9a+iBUSZl3biStoVxrUpbFNE2oKlElpWmejHoJitRIyG6wYuKHP+x45K+G+Ld9LnwzhgAAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-greek-400-normal-BRWHCUYo.woff2) format("woff2"),url(./roboto-greek-400-normal-BnGNaKeW.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-vietnamese-400-normal-kCRe3VZk.woff2) format("woff2"),url(./roboto-vietnamese-400-normal-BkEBOAV9.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-ext-400-normal-4bLplyDh.woff2) format("woff2"),url(./roboto-latin-ext-400-normal-DloBNwoc.woff) format("woff");unicode-range:U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-400-normal-mTIRXP6Y.woff2) format("woff2"),url(./roboto-latin-400-normal-BU1SoK4h.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-ext-500-normal-G9W8hgzQ.woff2) format("woff2"),url(./roboto-cyrillic-ext-500-normal-sraxM_lR.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-500-normal-DAkZhMOh.woff2) format("woff2"),url(./roboto-cyrillic-500-normal-QpWeYsca.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAACgQAAAWAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGiYbIBw2BmAANAhcCYM8EQwKg3CDUwsQABIUATYCJAMcBCAFgwAHIAyCUxujCACOlC5DNsHD//+2fp8bhJS6mMR5XowEcaqZN2A2Ro6RTES+6DzyOr4qW4h/b/eZ2YQqiFF9MYvJ1Zra3Q07UJHAOxPhwaq7T9LeXwlxfCpsnCqiKkuSQEZUWFndRCS169iOrLNRew/wX4FAwQkATEdgQiAQKIAdsCMAASSQjBsRKqpowA6ABhCPx4QyyELb7KS+HRvHSBvc2D+qvrGezRMMAEtp5umqdpH4DR30S/T5IFJ1lfoyAw14W8BgKsuKb3UxwVM5HmViCgbmJQoG4koAbZkuMTBQt5HCcaMi8GgYqIEQd308bv23Hz2AACCP5zibKzib79goxh5NulTpLo1beBpwT3XjVi4lMb4Ux9SFJKtebNoy3NrpJOoSt2km00yPk6i0kWzW0E0fIAAkvnJprWmZFOKMyP0ifkSG5kxa1a5OvxQ+wwgPh6To9kvFJ0We1y9Vn1Ek1cyiupb0iHGKcUrpulOMImOoZ53UMpt0Xqv/lEjAkNRn2JA0xCuDEc8zuz8SWeaX2lYWrfqUCBqMkU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nCHCAmnk/GOu7tL/3D6h7s785btv5wDFEoBOC2dAA5swA4cwQVAJnOTcW6IbsjJ0IQyTiuGkh0ze2BL6HhGOMaQiCKd+OmhgthEan7dSK2YT/KbST4AgXLLHQ2mO+AKwQDoSXiFXEk0JqO7Usq7+whGopATwcvT3aB3N9HgNnY/PcluO7ETPbAUPTpQnB/oWSTLfQOzZOqYrY6OYuRe+hFGjw6z9SP6goRZbjOf2A/Ch/Wtgq8kx/TEauIEgB4GL06BBi9vH0Ftwtaqg4s8djjJJaZO8F0Y4cU2MbOgITo2e81iYYFWzlJrUw18NIAAVJwF+AfCKlcxAAEAAAACIxJVwNXKXw889QAZCAAAAAAAxPARLgAAAADVAVLs+iT91QlcCHMAAAAJAAIAAAAAAAB42mNgZGBgz/nHw8DAmf1L5Z8jZwxQBBWwAwB2LQS9AAOMAGQAAAAAAAAAAAH+AAAFhgBmAywAZwXM/hwAAAApACkAKQApAGAAfQCJAAEAAAAHAI8AFgBOAAUAAQAAAAAADgAAAgACMAAGAAF42mJgYOBgSGNgZmBk4QSy44AYwmZkkALyIGwmBj6GCiibGUmcBYnNyqDG0AZlswHF10DYQJ0hDMcAVc5DdkQBFATQu5S/gNiYxLbGUdvu3n1qEp16ZjnU0TXTV1NRNVRYsWQ5KJzqBBVNJYVzbR8WFPY1g8LDz9ZAMiWDaN849tNCKh3v0WG0cC1VNSMtmVVJ1PSm70UpdqCmoy0MLFi2atPuD5/Nf9fm/10Lg6Brx2IwEVjwphv9SLeUrKOvkm5TLbWStnCNLrpy7tCxG4+x8/Ld0hcoDzX0AAAAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-greek-500-normal-CpESfwfG.woff2) format("woff2"),url(./roboto-greek-500-normal-CVjdsdX9.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-vietnamese-500-normal-CcijQRVW.woff2) format("woff2"),url(./roboto-vietnamese-500-normal-Bwg8Dbh6.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-ext-500-normal-BWKy6SgX.woff2) format("woff2"),url(./roboto-latin-ext-500-normal-B9pAx_JH.woff) format("woff");unicode-range:U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-500-normal-Dxdx3aXO.woff2) format("woff2"),url(./roboto-latin-500-normal-Dcm-rhWF.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2) format("woff2"),url(./roboto-cyrillic-ext-700-normal-dDOtDc5i.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-700-normal-B5ZBKWCH.woff2) format("woff2"),url(./roboto-cyrillic-700-normal-DAIxw5xX.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url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AAABwCPABYATgAFAAEAAAAAAA4AAAIAAjIABgABeNpNjoEGwmAUhb+qUiRAAAYCalWIApUkEioBomqtZbbZpvQGPU1P0YN18Js5zvXdw3EvUONGiUK5DhzBcIEGR8NFajwMl2gRGy7nuEKbj+Gq8q/hJnt+zAmJeBPj4XInxWJAj75ksSSUXHwcbSsCLnRFU3zJYpu1ErThkMgxT80rXSUhZzmVZ7KvNJ9ZWXpAPbU97QH6Qe0+Q0ZMMB+J891O1tV9KWKMLb2Q1D4RyRfuONpCYlxsfDxlDgH6VLZZs2LOgg07zQ66TO8Pnw41VHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-greek-700-normal-Cc2Tq8FV.woff2) format("woff2"),url(./roboto-greek-700-normal-CjuTpGfE.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-vietnamese-700-normal-SekShQfT.woff2) format("woff2"),url(./roboto-vietnamese-700-normal-Mc0c6qif.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-ext-700-normal-BYGCo3Go.woff2) format("woff2"),url(./roboto-latin-ext-700-normal-DwUXTeTv.woff) format("woff");unicode-range:U+0100-02AF,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-700-normal-CeM5gOv8.woff2) format("woff2"),url(./roboto-latin-700-normal-Bh431LEL.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{margin:0;padding:0;width:100vw;height:100vh;overflow:hidden;font-family:Roboto,Segoe UI,"sans-serif"}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid rgb(179,197,219);background-color:#fff6}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:#003c884d;border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-singlebar-even{background-color:#000}.ol-scale-singlebar-odd{background-color:#fff}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-index:11;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid black}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:#fff6;border-radius:4px;padding:2px}.ol-control:hover{background-color:#fff9}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:#003c8880;border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;background-color:#003c88b3}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:#003c88b3;text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:#000;text-shadow:0 0 2px #fff;font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:#fffc}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:2px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:#fffc}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.map{height:100%}@keyframes hint{0%,to{opacity:20%}10%{opacity:100%}90%{opacity:100%}}.hint_wrap{animation:hint 4s linear none;opacity:20%;transition:all .3s ease-in-out;color:orange;position:absolute;bottom:8px;right:16px;z-index:10}.hint_wrap:hover{opacity:100%}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)} diff --git a/xcube/webapi/viewer/dist/assets/index-CHdlbXuI.js b/xcube/webapi/viewer/dist/assets/index-CHdlbXuI.js deleted file mode 100644 index d39a86957..000000000 --- a/xcube/webapi/viewer/dist/assets/index-CHdlbXuI.js +++ /dev/null @@ -1,3735 +0,0 @@ -var O0e=Object.defineProperty;var C0e=(t,e,n)=>e in t?O0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Yt=(t,e,n)=>C0e(t,typeof e!="symbol"?e+"":e,n);function T0e(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ea(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var qJ={exports:{}},a1={};/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var X6=Object.getOwnPropertySymbols,E0e=Object.prototype.hasOwnProperty,P0e=Object.prototype.propertyIsEnumerable;function M0e(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function k0e(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(e).map(function(o){return e[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var XJ=k0e()?Object.assign:function(t,e){for(var n,r=M0e(t),i,o=1;o"u"||typeof MessageChannel!="function"){var l=null,c=null,u=function(){if(l!==null)try{var N=t.unstable_now();l(!0,N),l=null}catch(D){throw setTimeout(u,0),D}};e=function(N){l!==null?setTimeout(e,0,N):(l=N,setTimeout(u,0))},n=function(N,D){c=setTimeout(N,D)},r=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if(typeof console<"u"){var h=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof h!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var p=!1,m=null,g=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=function(){},t.unstable_forceFrameRate=function(N){0>N||125>>1,Y=N[q];if(Y!==void 0&&0C(se,A))J!==void 0&&0>C(J,se)?(N[q]=J,N[te]=A,q=te):(N[q]=se,N[K]=A,q=K);else if(J!==void 0&&0>C(J,A))N[q]=J,N[te]=A,q=te;else break e}}return D}return null}function C(N,D){var A=N.sortIndex-D.sortIndex;return A!==0?A:N.id-D.id}var E=[],k=[],I=1,P=null,R=3,T=!1,L=!1,z=!1;function B(N){for(var D=S(k);D!==null;){if(D.callback===null)O(k);else if(D.startTime<=N)O(k),D.sortIndex=D.expirationTime,_(E,D);else break;D=S(k)}}function U(N){if(z=!1,B(N),!L)if(S(E)!==null)L=!0,e(W);else{var D=S(k);D!==null&&n(U,D.startTime-N)}}function W(N,D){L=!1,z&&(z=!1,r()),T=!0;var A=R;try{for(B(D),P=S(E);P!==null&&(!(P.expirationTime>D)||N&&!t.unstable_shouldYield());){var q=P.callback;if(typeof q=="function"){P.callback=null,R=P.priorityLevel;var Y=q(P.expirationTime<=D);D=t.unstable_now(),typeof Y=="function"?P.callback=Y:P===S(E)&&O(E),B(D)}else O(E);P=S(E)}if(P!==null)var K=!0;else{var se=S(k);se!==null&&n(U,se.startTime-D),K=!1}return K}finally{P=null,R=A,T=!1}}var $=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(N){N.callback=null},t.unstable_continueExecution=function(){L||T||(L=!0,e(W))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(E)},t.unstable_next=function(N){switch(R){case 1:case 2:case 3:var D=3;break;default:D=R}var A=R;R=D;try{return N()}finally{R=A}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=$,t.unstable_runWithPriority=function(N,D){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var A=R;R=N;try{return D()}finally{R=A}},t.unstable_scheduleCallback=function(N,D,A){var q=t.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0q?(N.sortIndex=A,_(k,N),S(E)===null&&N===S(k)&&(z?r():z=!0,n(U,A-q))):(N.sortIndex=Y,_(E,N),L||T||(L=!0,e(W))),N},t.unstable_wrapCallback=function(N){var D=R;return function(){var A=R;R=D;try{return N.apply(this,arguments)}finally{R=A}}}})(hee);dee.exports=hee;var B0e=dee.exports;/** @license React v17.0.2 - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var jP=M,hr=XJ,ui=B0e;function Xe(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),z0e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Z6=Object.prototype.hasOwnProperty,J6={},eW={};function U0e(t){return Z6.call(eW,t)?!0:Z6.call(J6,t)?!1:z0e.test(t)?eW[t]=!0:(J6[t]=!0,!1)}function W0e(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function V0e(t,e,n,r){if(e===null||typeof e>"u"||W0e(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function go(t,e,n,r,i,o,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=a}var Di={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Di[t]=new go(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Di[e]=new go(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Di[t]=new go(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Di[t]=new go(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){Di[t]=new go(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Di[t]=new go(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Di[t]=new go(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Di[t]=new go(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Di[t]=new go(t,5,!1,t.toLowerCase(),null,!1,!1)});var BF=/[\-:]([a-z])/g;function zF(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(BF,zF);Di[e]=new go(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(BF,zF);Di[e]=new go(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(BF,zF);Di[e]=new go(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Di[t]=new go(t,1,!1,t.toLowerCase(),null,!1,!1)});Di.xlinkHref=new go("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Di[t]=new go(t,1,!1,t.toLowerCase(),null,!0,!0)});function UF(t,e,n,r){var i=Di.hasOwnProperty(e)?Di[e]:null,o=i!==null?i.type===0:r?!1:!(!(2s||i[a]!==o[s])return` -`+i[a].replace(" at new "," at ");while(1<=a&&0<=s);break}}}finally{Yk=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?nx(t):""}function G0e(t){switch(t.tag){case 5:return nx(t.type);case 16:return nx("Lazy");case 13:return nx("Suspense");case 19:return nx("SuspenseList");case 0:case 2:case 15:return t=Uw(t.type,!1),t;case 11:return t=Uw(t.type.render,!1),t;case 22:return t=Uw(t.type._render,!1),t;case 1:return t=Uw(t.type,!0),t;default:return""}}function dg(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case df:return"Fragment";case hh:return"Portal";case Sx:return"Profiler";case WF:return"StrictMode";case Ox:return"Suspense";case ZC:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case GF:return(t.displayName||"Context")+".Consumer";case VF:return(t._context.displayName||"Context")+".Provider";case BP:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case zP:return dg(t.type);case qF:return dg(t._render);case HF:e=t._payload,t=t._init;try{return dg(t(e))}catch{}}return null}function qf(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function gee(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function H0e(t){var e=gee(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ww(t){t._valueTracker||(t._valueTracker=H0e(t))}function vee(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=gee(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function JC(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function UD(t,e){var n=e.checked;return hr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function nW(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=qf(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function yee(t,e){e=e.checked,e!=null&&UF(t,"checked",e,!1)}function WD(t,e){yee(t,e);var n=qf(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?VD(t,e.type,n):e.hasOwnProperty("defaultValue")&&VD(t,e.type,qf(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function rW(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function VD(t,e,n){(e!=="number"||JC(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function q0e(t){var e="";return jP.Children.forEach(t,function(n){n!=null&&(e+=n)}),e}function GD(t,e){return t=hr({children:void 0},e),(e=q0e(e.children))&&(t.children=e),t}function hg(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i=n.length))throw Error(Xe(93));n=n[0]}e=n}e==null&&(e=""),n=e}t._wrapperState={initialValue:qf(n)}}function xee(t,e){var n=qf(e.value),r=qf(e.defaultValue);n!=null&&(n=""+n,n!==t.value&&(t.value=n),e.defaultValue==null&&t.defaultValue!==n&&(t.defaultValue=n)),r!=null&&(t.defaultValue=""+r)}function oW(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}var qD={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function bee(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function XD(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?bee(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Vw,_ee=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t}(function(t,e){if(t.namespaceURI!==qD.svg||"innerHTML"in t)t.innerHTML=e;else{for(Vw=Vw||document.createElement("div"),Vw.innerHTML=""+e.valueOf().toString()+"",e=Vw.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function hb(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Cx={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},X0e=["Webkit","ms","Moz","O"];Object.keys(Cx).forEach(function(t){X0e.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Cx[e]=Cx[t]})});function wee(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Cx.hasOwnProperty(t)&&Cx[t]?(""+e).trim():e+"px"}function See(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wee(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var Q0e=hr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function QD(t,e){if(e){if(Q0e[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Xe(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Xe(60));if(!(typeof e.dangerouslySetInnerHTML=="object"&&"__html"in e.dangerouslySetInnerHTML))throw Error(Xe(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Xe(62))}}function YD(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function YF(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var KD=null,pg=null,mg=null;function aW(t){if(t=c1(t)){if(typeof KD!="function")throw Error(Xe(280));var e=t.stateNode;e&&(e=qP(e),KD(t.stateNode,t.type,e))}}function Oee(t){pg?mg?mg.push(t):mg=[t]:pg=t}function Cee(){if(pg){var t=pg,e=mg;if(mg=pg=null,aW(t),e)for(t=0;tr?0:1<n;n++)e.push(t);return e}function WP(t,e,n){t.pendingLanes|=e;var r=e-1;t.suspendedLanes&=r,t.pingedLanes&=r,t=t.eventTimes,e=31-Xf(e),t[e]=n}var Xf=Math.clz32?Math.clz32:fxe,cxe=Math.log,uxe=Math.LN2;function fxe(t){return t===0?32:31-(cxe(t)/uxe|0)|0}var dxe=ui.unstable_UserBlockingPriority,hxe=ui.unstable_runWithPriority,hC=!0;function pxe(t,e,n,r){ph||ZF();var i=rj,o=ph;ph=!0;try{Tee(i,t,e,n,r)}finally{(ph=o)||JF()}}function mxe(t,e,n,r){hxe(dxe,rj.bind(null,t,e,n,r))}function rj(t,e,n,r){if(hC){var i;if((i=(e&4)===0)&&0=Ex),gW=" ",vW=!1;function Wee(t,e){switch(t){case"keyup":return Fxe.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vee(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var qm=!1;function Bxe(t,e){switch(t){case"compositionend":return Vee(e);case"keypress":return e.which!==32?null:(vW=!0,gW);case"textInput":return t=e.data,t===gW&&vW?null:t;default:return null}}function zxe(t,e){if(qm)return t==="compositionend"||!lj&&Wee(t,e)?(t=zee(),pC=oj=vf=null,qm=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=_W(n)}}function Xee(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Xee(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function SW(){for(var t=window,e=JC();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=JC(t.document)}return e}function nL(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Kxe=cu&&"documentMode"in document&&11>=document.documentMode,Xm=null,rL=null,Mx=null,iL=!1;function OW(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;iL||Xm==null||Xm!==JC(r)||(r=Xm,"selectionStart"in r&&nL(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Mx&&xb(Mx,r)||(Mx=r,r=rT(rL,"onSelect"),0Ym||(t.current=aL[Ym],aL[Ym]=null,Ym--)}function br(t,e){Ym++,aL[Ym]=t.current,t.current=e}var Qf={},Ji=fd(Qf),Do=fd(!1),Xh=Qf;function Vg(t,e){var n=t.type.contextTypes;if(!n)return Qf;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Lo(t){return t=t.childContextTypes,t!=null}function aT(){er(Do),er(Ji)}function IW(t,e,n){if(Ji.current!==Qf)throw Error(Xe(168));br(Ji,e),br(Do,n)}function tte(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Xe(108,dg(e)||"Unknown",i));return hr({},n,r)}function gC(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Qf,Xh=Ji.current,br(Ji,t),br(Do,Do.current),!0}function DW(t,e,n){var r=t.stateNode;if(!r)throw Error(Xe(169));n?(t=tte(t,e,Xh),r.__reactInternalMemoizedMergedChildContext=t,er(Do),er(Ji),br(Ji,t)):er(Do),br(Do,n)}var uj=null,Ih=null,tbe=ui.unstable_runWithPriority,fj=ui.unstable_scheduleCallback,sL=ui.unstable_cancelCallback,nbe=ui.unstable_shouldYield,LW=ui.unstable_requestPaint,lL=ui.unstable_now,rbe=ui.unstable_getCurrentPriorityLevel,XP=ui.unstable_ImmediatePriority,nte=ui.unstable_UserBlockingPriority,rte=ui.unstable_NormalPriority,ite=ui.unstable_LowPriority,ote=ui.unstable_IdlePriority,cA={},ibe=LW!==void 0?LW:function(){},Dc=null,vC=null,uA=!1,NW=lL(),Ki=1e4>NW?lL:function(){return lL()-NW};function Gg(){switch(rbe()){case XP:return 99;case nte:return 98;case rte:return 97;case ite:return 96;case ote:return 95;default:throw Error(Xe(332))}}function ate(t){switch(t){case 99:return XP;case 98:return nte;case 97:return rte;case 96:return ite;case 95:return ote;default:throw Error(Xe(332))}}function Qh(t,e){return t=ate(t),tbe(t,e)}function _b(t,e,n){return t=ate(t),fj(t,e,n)}function ic(){if(vC!==null){var t=vC;vC=null,sL(t)}ste()}function ste(){if(!uA&&Dc!==null){uA=!0;var t=0;try{var e=Dc;Qh(99,function(){for(;tO?(C=S,S=null):C=S.sibling;var E=d(g,S,y[O],x);if(E===null){S===null&&(S=C);break}t&&S&&E.alternate===null&&e(g,S),v=o(E,v,O),_===null?b=E:_.sibling=E,_=E,S=C}if(O===y.length)return n(g,S),b;if(S===null){for(;OO?(C=S,S=null):C=S.sibling;var k=d(g,S,E.value,x);if(k===null){S===null&&(S=C);break}t&&S&&k.alternate===null&&e(g,S),v=o(k,v,O),_===null?b=k:_.sibling=k,_=k,S=C}if(E.done)return n(g,S),b;if(S===null){for(;!E.done;O++,E=y.next())E=f(g,E.value,x),E!==null&&(v=o(E,v,O),_===null?b=E:_.sibling=E,_=E);return b}for(S=r(g,S);!E.done;O++,E=y.next())E=h(S,g,O,E.value,x),E!==null&&(t&&E.alternate!==null&&S.delete(E.key===null?O:E.key),v=o(E,v,O),_===null?b=E:_.sibling=E,_=E);return t&&S.forEach(function(I){return e(g,I)}),b}return function(g,v,y,x){var b=typeof y=="object"&&y!==null&&y.type===df&&y.key===null;b&&(y=y.props.children);var _=typeof y=="object"&&y!==null;if(_)switch(y.$$typeof){case tx:e:{for(_=y.key,b=v;b!==null;){if(b.key===_){switch(b.tag){case 7:if(y.type===df){n(g,b.sibling),v=i(b,y.props.children),v.return=g,g=v;break e}break;default:if(b.elementType===y.type){n(g,b.sibling),v=i(b,y.props),v.ref=i0(g,b,y),v.return=g,g=v;break e}}n(g,b);break}else e(g,b);b=b.sibling}y.type===df?(v=_g(y.props.children,g.mode,x,y.key),v.return=g,g=v):(x=_C(y.type,y.key,y.props,null,g.mode,x),x.ref=i0(g,v,y),x.return=g,g=x)}return a(g);case hh:e:{for(b=y.key;v!==null;){if(v.key===b)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(g,v.sibling),v=i(v,y.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else e(g,v);v=v.sibling}v=gA(y,g.mode,x),v.return=g,g=v}return a(g)}if(typeof y=="string"||typeof y=="number")return y=""+y,v!==null&&v.tag===6?(n(g,v.sibling),v=i(v,y),v.return=g,g=v):(n(g,v),v=mA(y,g.mode,x),v.return=g,g=v),a(g);if(qw(y))return p(g,v,y,x);if(Zy(y))return m(g,v,y,x);if(_&&Xw(g,y),typeof y>"u"&&!b)switch(g.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Xe(152,dg(g.type)||"Component"))}return n(g,v)}}var fT=dte(!0),hte=dte(!1),u1={},zl=fd(u1),Sb=fd(u1),Ob=fd(u1);function gh(t){if(t===u1)throw Error(Xe(174));return t}function uL(t,e){switch(br(Ob,e),br(Sb,t),br(zl,u1),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:XD(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=XD(e,t)}er(zl),br(zl,e)}function Hg(){er(zl),er(Sb),er(Ob)}function zW(t){gh(Ob.current);var e=gh(zl.current),n=XD(e,t.type);e!==n&&(br(Sb,t),br(zl,n))}function mj(t){Sb.current===t&&(er(zl),er(Sb))}var xr=fd(0);function dT(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&64)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Vc=null,xf=null,Ul=!1;function pte(t,e){var n=Va(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.flags=8,t.lastEffect!==null?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function UW(t,e){switch(t.tag){case 5:var n=t.type;return e=e.nodeType!==1||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,!0):!1;case 13:return!1;default:return!1}}function fL(t){if(Ul){var e=xf;if(e){var n=e;if(!UW(t,e)){if(e=gg(n.nextSibling),!e||!UW(t,e)){t.flags=t.flags&-1025|2,Ul=!1,Vc=t;return}pte(Vc,n)}Vc=t,xf=gg(e.firstChild)}else t.flags=t.flags&-1025|2,Ul=!1,Vc=t}}function WW(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Vc=t}function Qw(t){if(t!==Vc)return!1;if(!Ul)return WW(t),Ul=!0,!1;var e=t.type;if(t.tag!==5||e!=="head"&&e!=="body"&&!oL(e,t.memoizedProps))for(e=xf;e;)pte(t,e),e=gg(e.nextSibling);if(WW(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(Xe(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"){if(e===0){xf=gg(t.nextSibling);break e}e--}else n!=="$"&&n!=="$!"&&n!=="$?"||e++}t=t.nextSibling}xf=null}}else xf=Vc?gg(t.stateNode.nextSibling):null;return!0}function fA(){xf=Vc=null,Ul=!1}var yg=[];function gj(){for(var t=0;to))throw Error(Xe(301));o+=1,wi=Gi=null,e.updateQueue=null,kx.current=cbe,t=n(r,i)}while(Ax)}if(kx.current=vT,e=Gi!==null&&Gi.next!==null,Cb=0,wi=Gi=Mr=null,hT=!1,e)throw Error(Xe(300));return t}function vh(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wi===null?Mr.memoizedState=wi=t:wi=wi.next=t,wi}function Cp(){if(Gi===null){var t=Mr.alternate;t=t!==null?t.memoizedState:null}else t=Gi.next;var e=wi===null?Mr.memoizedState:wi.next;if(e!==null)wi=e,Gi=t;else{if(t===null)throw Error(Xe(310));Gi=t,t={memoizedState:Gi.memoizedState,baseState:Gi.baseState,baseQueue:Gi.baseQueue,queue:Gi.queue,next:null},wi===null?Mr.memoizedState=wi=t:wi=wi.next=t}return wi}function Ml(t,e){return typeof e=="function"?e(t):e}function o0(t){var e=Cp(),n=e.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=t;var r=Gi,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){i=i.next,r=r.baseState;var s=a=o=null,l=i;do{var c=l.lane;if((Cb&c)===c)s!==null&&(s=s.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===t?l.eagerState:t(r,l.action);else{var u={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};s===null?(a=s=u,o=r):s=s.next=u,Mr.lanes|=c,f1|=c}l=l.next}while(l!==null&&l!==i);s===null?o=r:s.next=a,Wa(r,e.memoizedState)||(Gs=!0),e.memoizedState=r,e.baseState=o,e.baseQueue=s,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function a0(t){var e=Cp(),n=e.queue;if(n===null)throw Error(Xe(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=t(o,a.action),a=a.next;while(a!==i);Wa(o,e.memoizedState)||(Gs=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function VW(t,e,n){var r=e._getVersion;r=r(e._source);var i=e._workInProgressVersionPrimary;if(i!==null?t=i===r:(t=t.mutableReadLanes,(t=(Cb&t)===t)&&(e._workInProgressVersionPrimary=r,yg.push(e))),t)return n(e._source);throw yg.push(e),Error(Xe(350))}function mte(t,e,n,r){var i=co;if(i===null)throw Error(Xe(349));var o=e._getVersion,a=o(e._source),s=kx.current,l=s.useState(function(){return VW(i,e,n)}),c=l[1],u=l[0];l=wi;var f=t.memoizedState,d=f.refs,h=d.getSnapshot,p=f.source;f=f.subscribe;var m=Mr;return t.memoizedState={refs:d,source:e,subscribe:r},s.useEffect(function(){d.getSnapshot=n,d.setSnapshot=c;var g=o(e._source);if(!Wa(a,g)){g=n(e._source),Wa(u,g)||(c(g),g=Nf(m),i.mutableReadLanes|=g&i.pendingLanes),g=i.mutableReadLanes,i.entangledLanes|=g;for(var v=i.entanglements,y=g;0n?98:n,function(){t(!0)}),Qh(97<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=a.createElement(n,{is:r.is}):(t=a.createElement(n),n==="select"&&(a=t,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):t=a.createElementNS(t,n),t[yf]=e,t[oT]=r,Ote(t,e,!1,!1),e.stateNode=t,a=YD(n,r),n){case"dialog":qn("cancel",t),qn("close",t),i=r;break;case"iframe":case"object":case"embed":qn("load",t),i=r;break;case"video":case"audio":for(i=0;i_L&&(e.flags|=64,o=!0,l0(r,!1),e.lanes=33554432)}else{if(!o)if(t=dT(a),t!==null){if(e.flags|=64,o=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),l0(r,!0),r.tail===null&&r.tailMode==="hidden"&&!a.alternate&&!Ul)return e=e.lastEffect=r.lastEffect,e!==null&&(e.nextEffect=null),null}else 2*Ki()-r.renderingStartTime>_L&&n!==1073741824&&(e.flags|=64,o=!0,l0(r,!1),e.lanes=33554432);r.isBackwards?(a.sibling=e.child,e.child=a):(n=r.last,n!==null?n.sibling=a:e.child=a,r.last=a)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=Ki(),n.sibling=null,e=xr.current,br(xr,o?e&1|2:e&1),n):null;case 23:case 24:return Tj(),t!==null&&t.memoizedState!==null!=(e.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(e.flags|=4),null}throw Error(Xe(156,e.tag))}function dbe(t){switch(t.tag){case 1:Lo(t.type)&&aT();var e=t.flags;return e&4096?(t.flags=e&-4097|64,t):null;case 3:if(Hg(),er(Do),er(Ji),gj(),e=t.flags,e&64)throw Error(Xe(285));return t.flags=e&-4097|64,t;case 5:return mj(t),null;case 13:return er(xr),e=t.flags,e&4096?(t.flags=e&-4097|64,t):null;case 19:return er(xr),null;case 4:return Hg(),null;case 10:return hj(t),null;case 23:case 24:return Tj(),null;default:return null}}function wj(t,e){try{var n="",r=e;do n+=G0e(r),r=r.return;while(r);var i=n}catch(o){i=` -Error generating stack: `+o.message+` -`+o.stack}return{value:t,source:e,stack:i}}function gL(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var hbe=typeof WeakMap=="function"?WeakMap:Map;function Ete(t,e,n){n=Df(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){xT||(xT=!0,wL=r),gL(t,e)},n}function Pte(t,e,n){n=Df(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return gL(t,e),r(i)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(kl===null?kl=new Set([this]):kl.add(this),gL(t,e));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),n}var pbe=typeof WeakSet=="function"?WeakSet:Set;function rV(t){var e=t.ref;if(e!==null)if(typeof e=="function")try{e(null)}catch(n){Ff(t,n)}else e.current=null}function mbe(t,e){switch(e.tag){case 0:case 11:case 15:case 22:return;case 1:if(e.flags&256&&t!==null){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e=t.getSnapshotBeforeUpdate(e.elementType===e.type?n:Fs(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:e.flags&256&&cj(e.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Xe(163))}function gbe(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:if(e=n.updateQueue,e=e!==null?e.lastEffect:null,e!==null){t=e=e.next;do{if((t.tag&3)===3){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}if(e=n.updateQueue,e=e!==null?e.lastEffect:null,e!==null){t=e=e.next;do{var i=t;r=i.next,i=i.tag,i&4&&i&1&&($te(n,t),Obe(n,t)),t=r}while(t!==e)}return;case 1:t=n.stateNode,n.flags&4&&(e===null?t.componentDidMount():(r=n.elementType===n.type?e.memoizedProps:Fs(n.type,e.memoizedProps),t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),e=n.updateQueue,e!==null&&FW(n,e,t);return;case 3:if(e=n.updateQueue,e!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}FW(n,e,t)}return;case 5:t=n.stateNode,e===null&&n.flags&4&&Jee(n.type,n.memoizedProps)&&t.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&Iee(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Xe(163))}function iV(t,e){for(var n=t;;){if(n.tag===5){var r=n.stateNode;if(e)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var i=n.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,r.style.display=wee("display",i)}}else if(n.tag===6)n.stateNode.nodeValue=e?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===t)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function oV(t,e){if(Ih&&typeof Ih.onCommitFiberUnmount=="function")try{Ih.onCommitFiberUnmount(uj,e)}catch{}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(t=e.updateQueue,t!==null&&(t=t.lastEffect,t!==null)){var n=t=t.next;do{var r=n,i=r.destroy;if(r=r.tag,i!==void 0)if(r&4)$te(e,n);else{r=e;try{i()}catch(o){Ff(r,o)}}n=n.next}while(n!==t)}break;case 1:if(rV(e),t=e.stateNode,typeof t.componentWillUnmount=="function")try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(o){Ff(e,o)}break;case 5:rV(e);break;case 4:Mte(t,e)}}function aV(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function sV(t){return t.tag===5||t.tag===3||t.tag===4}function lV(t){e:{for(var e=t.return;e!==null;){if(sV(e))break e;e=e.return}throw Error(Xe(160))}var n=e;switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:e=e.containerInfo,r=!0;break;case 4:e=e.containerInfo,r=!0;break;default:throw Error(Xe(161))}n.flags&16&&(hb(e,""),n.flags&=-17);e:t:for(n=t;;){for(;n.sibling===null;){if(n.return===null||sV(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?vL(t,n,e):yL(t,n,e)}function vL(t,e,n){var r=t.tag,i=r===5||r===6;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=iT));else if(r!==4&&(t=t.child,t!==null))for(vL(t,e,n),t=t.sibling;t!==null;)vL(t,e,n),t=t.sibling}function yL(t,e,n){var r=t.tag,i=r===5||r===6;if(i)t=i?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(yL(t,e,n),t=t.sibling;t!==null;)yL(t,e,n),t=t.sibling}function Mte(t,e){for(var n=e,r=!1,i,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(Xe(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var a=t,s=n,l=s;;)if(oV(a,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(a=i,s=n.stateNode,a.nodeType===8?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(oV(t,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function pA(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)===3&&(t=r.destroy,r.destroy=void 0,t!==void 0&&t()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=e.stateNode,n!=null){r=e.memoizedProps;var i=t!==null?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,o!==null){for(n[oT]=r,t==="input"&&r.type==="radio"&&r.name!=null&&yee(n,r),YD(t,i),e=YD(t,r),i=0;ii&&(i=a),n&=~o}if(n=i,n=Ki()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ybe(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Oi!==5&&(Oi=2),l=wj(l,s),d=a;do{switch(d.tag){case 3:o=l,d.flags|=4096,e&=-e,d.lanes|=e;var _=Ete(d,o,e);$W(d,_);break e;case 1:o=l;var S=d.type,O=d.stateNode;if(!(d.flags&64)&&(typeof S.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(kl===null||!kl.has(O)))){d.flags|=4096,e&=-e,d.lanes|=e;var C=Pte(d,o,e);$W(d,C);break e}}d=d.return}while(d!==null)}Nte(n)}catch(E){e=E,ei===n&&n!==null&&(ei=n=n.return);continue}break}while(!0)}function Dte(){var t=yT.current;return yT.current=vT,t===null?vT:t}function ox(t,e){var n=Et;Et|=16;var r=Dte();co===t&&Zi===e||bg(t,e);do try{bbe();break}catch(i){Ite(t,i)}while(!0);if(dj(),Et=n,yT.current=r,ei!==null)throw Error(Xe(261));return co=null,Zi=0,Oi}function bbe(){for(;ei!==null;)Lte(ei)}function _be(){for(;ei!==null&&!nbe();)Lte(ei)}function Lte(t){var e=Fte(t.alternate,t,Yh);t.memoizedProps=t.pendingProps,e===null?Nte(t):ei=e,Sj.current=null}function Nte(t){var e=t;do{var n=e.alternate;if(t=e.return,e.flags&2048){if(n=dbe(e),n!==null){n.flags&=2047,ei=n;return}t!==null&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}else{if(n=fbe(n,e,Yh),n!==null){ei=n;return}if(n=e,n.tag!==24&&n.tag!==23||n.memoizedState===null||Yh&1073741824||!(n.mode&4)){for(var r=0,i=n.child;i!==null;)r|=i.lanes|i.childLanes,i=i.sibling;n.childLanes=r}t!==null&&!(t.flags&2048)&&(t.firstEffect===null&&(t.firstEffect=e.firstEffect),e.lastEffect!==null&&(t.lastEffect!==null&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1a&&(s=a,a=_,_=s),s=wW(y,_),o=wW(y,a),s&&o&&(b.rangeCount!==1||b.anchorNode!==s.node||b.anchorOffset!==s.offset||b.focusNode!==o.node||b.focusOffset!==o.offset)&&(x=x.createRange(),x.setStart(s.node,s.offset),b.removeAllRanges(),_>a?(b.addRange(x),b.extend(o.node,o.offset)):(x.setEnd(o.node,o.offset),b.addRange(x)))))),x=[],b=y;b=b.parentNode;)b.nodeType===1&&x.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;yKi()-Cj?bg(t,0):Oj|=n),ls(t,e)}function Ebe(t,e){var n=t.stateNode;n!==null&&n.delete(e),e=0,e===0&&(e=t.mode,e&2?e&4?(jc===0&&(jc=Vv),e=Dm(62914560&~jc),e===0&&(e=4194304)):e=Gg()===99?1:2:e=1),n=ya(),t=KP(t,e),t!==null&&(WP(t,e,n),ls(t,n))}var Fte;Fte=function(t,e,n){var r=e.lanes;if(t!==null)if(t.memoizedProps!==e.pendingProps||Do.current)Gs=!0;else if(n&r)Gs=!!(t.flags&16384);else{switch(Gs=!1,e.tag){case 3:YW(e),fA();break;case 5:zW(e);break;case 1:Lo(e.type)&&gC(e);break;case 4:uL(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value;var i=e.type._context;br(sT,i._currentValue),i._currentValue=r;break;case 13:if(e.memoizedState!==null)return n&e.child.childLanes?KW(t,e,n):(br(xr,xr.current&1),e=Gc(t,e,n),e!==null?e.sibling:null);br(xr,xr.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&64){if(r)return nV(t,e,n);e.flags|=64}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),br(xr,xr.current),r)break;return null;case 23:case 24:return e.lanes=0,dA(t,e,n)}return Gc(t,e,n)}else Gs=!1;switch(e.lanes=0,e.tag){case 2:if(r=e.type,t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,i=Vg(e,Ji.current),vg(e,n),i=yj(null,e,r,t,i,n),e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,Lo(r)){var o=!0;gC(e)}else o=!1;e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,pj(e);var a=r.getDerivedStateFromProps;typeof a=="function"&&uT(e,r,a,t),i.updater=QP,e.stateNode=i,i._reactInternals=e,cL(e,r,t,n),e=pL(null,e,r,!0,o,n)}else e.tag=0,wo(null,e,i,n),e=e.child;return e;case 16:i=e.elementType;e:{switch(t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,o=i._init,i=o(i._payload),e.type=i,o=e.tag=Mbe(i),t=Fs(i,t),o){case 0:e=hL(null,e,i,t,n);break e;case 1:e=QW(null,e,i,t,n);break e;case 11:e=qW(null,e,i,t,n);break e;case 14:e=XW(null,e,i,Fs(i.type,t),r,n);break e}throw Error(Xe(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Fs(r,i),hL(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Fs(r,i),QW(t,e,r,i,n);case 3:if(YW(e),r=e.updateQueue,t===null||r===null)throw Error(Xe(282));if(r=e.pendingProps,i=e.memoizedState,i=i!==null?i.element:null,cte(t,e),wb(e,r,null,n),r=e.memoizedState.element,r===i)fA(),e=Gc(t,e,n);else{if(i=e.stateNode,(o=i.hydrate)&&(xf=gg(e.stateNode.containerInfo.firstChild),Vc=e,o=Ul=!0),o){if(t=i.mutableSourceEagerHydrationData,t!=null)for(i=0;i"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bte)}catch(t){console.error(t)}}Bte(),fee.exports=vs;var qv=fee.exports;const Jw=$t(qv);var zte={exports:{}},Nbe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$be=Nbe,Fbe=$be;function Ute(){}function Wte(){}Wte.resetWarningCache=Ute;var jbe=function(){function t(r,i,o,a,s,l){if(l!==Fbe){var c=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 c.name="Invariant Violation",c}}t.isRequired=t;function e(){return t}var n={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:Wte,resetWarningCache:Ute};return n.PropTypes=n,n};zte.exports=jbe();var h1=zte.exports;const Qe=$t(h1);var Vte=ue.createContext(null);function Bbe(t){t()}var Gte=Bbe,zbe=function(e){return Gte=e},Ube=function(){return Gte};function Wbe(){var t=Ube(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t(function(){for(var i=e;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=e;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,a=n={callback:i,next:null,prev:n};return a.prev?a.prev.next=a:e=a,function(){!o||e===null||(o=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:e=a.next)}}}}var dV={notify:function(){},get:function(){return[]}};function Hte(t,e){var n,r=dV;function i(f){return l(),r.subscribe(f)}function o(){r.notify()}function a(){u.onStateChange&&u.onStateChange()}function s(){return!!n}function l(){n||(n=e?e.addNestedSub(a):t.subscribe(a),r=Wbe())}function c(){n&&(n(),n=void 0,r.clear(),r=dV)}var u={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:function(){return r}};return u}var qte=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?M.useLayoutEffect:M.useEffect;function Vbe(t){var e=t.store,n=t.context,r=t.children,i=M.useMemo(function(){var s=Hte(e);return{store:e,subscription:s}},[e]),o=M.useMemo(function(){return e.getState()},[e]);qte(function(){var s=i.subscription;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),function(){s.tryUnsubscribe(),s.onStateChange=null}},[i,o]);var a=n||Vte;return ue.createElement(a.Provider,{value:i},r)}function j(){return j=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;r--){var i=e[r](t);if(i)return i}return function(o,a){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+a.wrappedComponentName+".")}}function V_e(t,e){return t===e}function G_e(t){var e={},n=e.connectHOC,r=n===void 0?C_e:n,i=e.mapStateToPropsFactories,o=i===void 0?I_e:i,a=e.mapDispatchToPropsFactories,s=a===void 0?k_e:a,l=e.mergePropsFactories,c=l===void 0?F_e:l,u=e.selectorFactory,f=u===void 0?U_e:u;return function(h,p,m,g){g===void 0&&(g={});var v=g,y=v.pure,x=y===void 0?!0:y,b=v.areStatesEqual,_=b===void 0?V_e:b,S=v.areOwnPropsEqual,O=S===void 0?yA:S,C=v.areStatePropsEqual,E=C===void 0?yA:C,k=v.areMergedPropsEqual,I=k===void 0?yA:k,P=Ae(v,W_e),R=xA(h,o,"mapStateToProps"),T=xA(p,s,"mapDispatchToProps"),L=xA(m,c,"mergeProps");return r(f,j({methodName:"connect",getDisplayName:function(B){return"Connect("+B+")"},shouldHandleStateChanges:!!h,initMapStateToProps:R,initMapDispatchToProps:T,initMergeProps:L,pure:x,areStatesEqual:_,areOwnPropsEqual:O,areStatePropsEqual:E,areMergedPropsEqual:I},P))}}const Jt=G_e();zbe(qv.unstable_batchedUpdates);function uu(t){"@babel/helpers - typeof";return uu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uu(t)}function H_e(t,e){if(uu(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(uu(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function one(t){var e=H_e(t,"string");return uu(e)=="symbol"?e:e+""}function it(t,e,n){return(e=one(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function bV(t){for(var e=1;e"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(na(1));return n(ane)(t,e)}if(typeof t!="function")throw new Error(na(2));var i=t,o=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(na(3));return o}function f(m){if(typeof m!="function")throw new Error(na(4));if(l)throw new Error(na(5));var g=!0;return c(),s.push(m),function(){if(g){if(l)throw new Error(na(6));g=!1,c();var y=s.indexOf(m);s.splice(y,1),a=null}}}function d(m){if(!q_e(m))throw new Error(na(7));if(typeof m.type>"u")throw new Error(na(8));if(l)throw new Error(na(9));try{l=!0,o=i(o,m)}finally{l=!1}for(var g=a=s,v=0;v"u"?"undefined":L(N);return D!=="object"?D:N===Math?"math":N===null?"null":Array.isArray(N)?"array":Object.prototype.toString.call(N)==="[object Date]"?"date":typeof N.toString=="function"&&/^\/.*\//.test(N.toString())?"regexp":"object"}function f(N,D,A,q,Y,K,se){Y=Y||[],se=se||[];var te=Y.slice(0);if(typeof K<"u"){if(q){if(typeof q=="function"&&q(te,K))return;if((typeof q>"u"?"undefined":L(q))==="object"){if(q.prefilter&&q.prefilter(te,K))return;if(q.normalize){var J=q.normalize(te,K,N,D);J&&(N=J[0],D=J[1])}}}te.push(K)}u(N)==="regexp"&&u(D)==="regexp"&&(N=N.toString(),D=D.toString());var pe=typeof N>"u"?"undefined":L(N),be=typeof D>"u"?"undefined":L(D),re=pe!=="undefined"||se&&se[se.length-1].lhs&&se[se.length-1].lhs.hasOwnProperty(K),ve=be!=="undefined"||se&&se[se.length-1].rhs&&se[se.length-1].rhs.hasOwnProperty(K);if(!re&&ve)A(new a(te,D));else if(!ve&&re)A(new s(te,N));else if(u(N)!==u(D))A(new o(te,N,D));else if(u(N)==="date"&&N-D!==0)A(new o(te,N,D));else if(pe==="object"&&N!==null&&D!==null)if(se.filter(function(Q){return Q.lhs===N}).length)N!==D&&A(new o(te,N,D));else{if(se.push({lhs:N,rhs:D}),Array.isArray(N)){var F;for(N.length,F=0;F=D.length?A(new l(te,F,new s(void 0,N[F]))):f(N[F],D[F],A,q,te,F,se);for(;F=0?(f(N[Q],D[Q],A,q,te,Q,se),le=c(le,ee)):f(N[Q],void 0,A,q,te,Q,se)}),le.forEach(function(Q){f(void 0,D[Q],A,q,te,Q,se)})}se.length=se.length-1}else N!==D&&(pe==="number"&&isNaN(N)&&isNaN(D)||A(new o(te,N,D)))}function d(N,D,A,q){return q=q||[],f(N,D,function(Y){Y&&q.push(Y)},A),q.length?q:void 0}function h(N,D,A){if(A.path&&A.path.length){var q,Y=N[D],K=A.path.length-1;for(q=0;q"u"&&(q[A.path[Y]]=typeof A.path[Y]=="number"?[]:{}),q=q[A.path[Y]];switch(A.kind){case"A":h(A.path?q[A.path[Y]]:q,A.index,A.item);break;case"D":delete q[A.path[Y]];break;case"E":case"N":q[A.path[Y]]=A.rhs}}}function m(N,D,A){if(A.path&&A.path.length){var q,Y=N[D],K=A.path.length-1;for(q=0;q"u"&&(K[A.path[q]]={}),K=K[A.path[q]];switch(A.kind){case"A":m(K[A.path[q]],A.index,A.item);break;case"D":K[A.path[q]]=A.lhs;break;case"E":K[A.path[q]]=A.lhs;break;case"N":delete K[A.path[q]]}}}function v(N,D,A){if(N&&D){var q=function(Y){A&&!A(N,D,Y)||p(N,D,Y)};f(N,D,q)}}function y(N){return"color: "+U[N].color+"; font-weight: bold"}function x(N){var D=N.kind,A=N.path,q=N.lhs,Y=N.rhs,K=N.index,se=N.item;switch(D){case"E":return[A.join("."),q,"→",Y];case"N":return[A.join("."),Y];case"D":return[A.join(".")];case"A":return[A.join(".")+"["+K+"]",se];default:return[]}}function b(N,D,A,q){var Y=d(N,D);try{q?A.groupCollapsed("diff"):A.group("diff")}catch{A.log("diff")}Y?Y.forEach(function(K){var se=K.kind,te=x(K);A.log.apply(A,["%c "+U[se].text,y(se)].concat(z(te)))}):A.log("—— no diff ——");try{A.groupEnd()}catch{A.log("—— diff end —— ")}}function _(N,D,A,q){switch(typeof N>"u"?"undefined":L(N)){case"object":return typeof N[q]=="function"?N[q].apply(N,z(A)):N[q];case"function":return N(D);default:return N}}function S(N){var D=N.timestamp,A=N.duration;return function(q,Y,K){var se=["action"];return se.push("%c"+String(q.type)),D&&se.push("%c@ "+Y),A&&se.push("%c(in "+K.toFixed(2)+" ms)"),se.join(" ")}}function O(N,D){var A=D.logger,q=D.actionTransformer,Y=D.titleFormatter,K=Y===void 0?S(D):Y,se=D.collapsed,te=D.colors,J=D.level,pe=D.diff,be=typeof D.titleFormatter>"u";N.forEach(function(re,ve){var F=re.started,ce=re.startedTime,le=re.action,Q=re.prevState,X=re.error,ee=re.took,ge=re.nextState,ye=N[ve+1];ye&&(ge=ye.prevState,ee=ye.started-F);var H=q(le),G=typeof se=="function"?se(function(){return ge},le,re):se,ie=R(ce),he=te.title?"color: "+te.title(H)+";":"",_e=["color: gray; font-weight: lighter;"];_e.push(he),D.timestamp&&_e.push("color: gray; font-weight: lighter;"),D.duration&&_e.push("color: gray; font-weight: lighter;");var oe=K(H,ie,ee);try{G?te.title&&be?A.groupCollapsed.apply(A,["%c "+oe].concat(_e)):A.groupCollapsed(oe):te.title&&be?A.group.apply(A,["%c "+oe].concat(_e)):A.group(oe)}catch{A.log(oe)}var Z=_(J,H,[Q],"prevState"),V=_(J,H,[H],"action"),de=_(J,H,[X,Q],"error"),xe=_(J,H,[ge],"nextState");if(Z)if(te.prevState){var Me="color: "+te.prevState(Q)+"; font-weight: bold";A[Z]("%c prev state",Me,Q)}else A[Z]("prev state",Q);if(V)if(te.action){var me="color: "+te.action(H)+"; font-weight: bold";A[V]("%c action ",me,H)}else A[V]("action ",H);if(X&&de)if(te.error){var $e="color: "+te.error(X,Q)+"; font-weight: bold;";A[de]("%c error ",$e,X)}else A[de]("error ",X);if(xe)if(te.nextState){var Te="color: "+te.nextState(ge)+"; font-weight: bold";A[xe]("%c next state",Te,ge)}else A[xe]("next state",ge);pe&&b(Q,ge,A,G);try{A.groupEnd()}catch{A.log("—— log end ——")}})}function C(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=Object.assign({},W,N),A=D.logger,q=D.stateTransformer,Y=D.errorTransformer,K=D.predicate,se=D.logErrors,te=D.diffPredicate;if(typeof A>"u")return function(){return function(pe){return function(be){return pe(be)}}};if(N.getState&&N.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware: -// Logger with default options -import { logger } from 'redux-logger' -const store = createStore( - reducer, - applyMiddleware(logger) -) -// Or you can create your own logger with custom options http://bit.ly/redux-logger-options -import createLogger from 'redux-logger' -const logger = createLogger({ - // ...options -}); -const store = createStore( - reducer, - applyMiddleware(logger) -) -`),function(){return function(pe){return function(be){return pe(be)}}};var J=[];return function(pe){var be=pe.getState;return function(re){return function(ve){if(typeof K=="function"&&!K(be,ve))return re(ve);var F={};J.push(F),F.started=T.now(),F.startedTime=new Date,F.prevState=q(be()),F.action=ve;var ce=void 0;if(se)try{ce=re(ve)}catch(Q){F.error=Y(Q)}else ce=re(ve);F.took=T.now()-F.started,F.nextState=q(be());var le=D.diff&&typeof te=="function"?te(be,ve):D.diff;if(O(J,Object.assign({},D,{diff:le})),J.length=0,F.error)throw F.error;return ce}}}}var E,k,I=function(N,D){return new Array(D+1).join(N)},P=function(N,D){return I("0",D-N.toString().length)+N},R=function(N){return P(N.getHours(),2)+":"+P(N.getMinutes(),2)+":"+P(N.getSeconds(),2)+"."+P(N.getMilliseconds(),3)},T=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance:Date,L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},z=function(N){if(Array.isArray(N)){for(var D=0,A=Array(N.length);D"u"?"undefined":L(Zn))==="object"&&Zn?Zn:typeof window<"u"?window:{},k=E.DeepDiff,k&&B.push(function(){typeof k<"u"&&E.DeepDiff===d&&(E.DeepDiff=k,k=void 0)}),r(o,i),r(a,i),r(s,i),r(l,i),Object.defineProperties(d,{diff:{value:d,enumerable:!0},observableDiff:{value:f,enumerable:!0},applyDiff:{value:v,enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:g,enumerable:!0},isConflict:{value:function(){return typeof k<"u"},enumerable:!0},noConflict:{value:function(){return B&&(B.forEach(function(N){N()}),B=null),d},enumerable:!0}});var U={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},W={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(N){return N},actionTransformer:function(N){return N},errorTransformer:function(N){return N},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},$=function(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=N.dispatch,A=N.getState;return typeof D=="function"||typeof A=="function"?C()({dispatch:D,getState:A}):void console.error(` -[redux-logger v3] BREAKING CHANGE -[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings. -[redux-logger v3] Change -[redux-logger v3] import createLogger from 'redux-logger' -[redux-logger v3] to -[redux-logger v3] import { createLogger } from 'redux-logger' -`)};n.defaults=W,n.createLogger=C,n.logger=$,n.default=$,Object.defineProperty(n,"__esModule",{value:!0})})})(PL,PL.exports);var Y_e=PL.exports;function sne(t){var e=function(r){var i=r.dispatch,o=r.getState;return function(a){return function(s){return typeof s=="function"?s(i,o,t):a(s)}}};return e}var lne=sne();lne.withExtraArgument=sne;const Tb={black:"#000",white:"#fff"},tf={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},cne={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},nf={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},K_e={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},une={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},rf={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},of={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},fne={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},dne={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Lc={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Z_e={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},hne={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},pne={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},mne={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},oh={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Dh={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},gne={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},vne={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},J_e={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};function fu(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n0?Si(Xv,--Uo):0,qg--,Fr===10&&(qg=1,dM--),Fr}function xa(){return Fr=Uo2||Pb(Fr)>3?"":" "}function v1e(t,e){for(;--e&&xa()&&!(Fr<48||Fr>102||Fr>57&&Fr<65||Fr>70&&Fr<97););return S1(t,wC()+(e<6&&Wl()==32&&xa()==32))}function kL(t){for(;xa();)switch(Fr){case t:return Uo;case 34:case 39:t!==34&&t!==39&&kL(Fr);break;case 40:t===41&&kL(t);break;case 92:xa();break}return Uo}function y1e(t,e){for(;xa()&&t+Fr!==57;)if(t+Fr===84&&Wl()===47)break;return"/*"+S1(e,Uo-1)+"*"+fM(t===47?t:xa())}function x1e(t){for(;!Pb(Wl());)xa();return S1(t,Uo)}function b1e(t){return One(OC("",null,null,null,[""],t=Sne(t),0,[0],t))}function OC(t,e,n,r,i,o,a,s,l){for(var c=0,u=0,f=a,d=0,h=0,p=0,m=1,g=1,v=1,y=0,x="",b=i,_=o,S=r,O=x;g;)switch(p=y,y=xa()){case 40:if(p!=108&&Si(O,f-1)==58){ML(O+=gn(SC(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:O+=SC(y);break;case 9:case 10:case 13:case 32:O+=g1e(p);break;case 92:O+=v1e(wC()-1,7);continue;case 47:switch(Wl()){case 42:case 47:eS(_1e(y1e(xa(),wC()),e,n),l);break;default:O+="/"}break;case 123*m:s[c++]=xl(O)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:v==-1&&(O=gn(O,/\f/g,"")),h>0&&xl(O)-f&&eS(h>32?OV(O+";",r,n,f-1):OV(gn(O," ","")+";",r,n,f-2),l);break;case 59:O+=";";default:if(eS(S=SV(O,e,n,c,u,i,s,x,b=[],_=[],f),o),y===123)if(u===0)OC(O,e,S,S,b,o,f,s,_);else switch(d===99&&Si(O,3)===110?100:d){case 100:case 108:case 109:case 115:OC(t,S,S,r&&eS(SV(t,S,S,0,0,i,s,x,i,b=[],f),_),i,_,f,s,r?b:_);break;default:OC(O,S,S,S,[""],_,0,s,_)}}c=u=h=0,m=v=1,x=O="",f=a;break;case 58:f=1+xl(O),h=p;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&m1e()==125)continue}switch(O+=fM(y),y*m){case 38:v=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(xl(O)-1)*v,v=1;break;case 64:Wl()===45&&(O+=SC(xa())),d=Wl(),u=f=xl(x=O+=x1e(wC())),y++;break;case 45:p===45&&xl(O)==2&&(m=0)}}return o}function SV(t,e,n,r,i,o,a,s,l,c,u){for(var f=i-1,d=i===0?o:[""],h=Bj(d),p=0,m=0,g=0;p0?d[v]+" "+y:gn(y,/&\f/g,d[v])))&&(l[g++]=x);return hM(t,e,n,i===0?Fj:s,l,c,u)}function _1e(t,e,n){return hM(t,e,n,xne,fM(p1e()),Eb(t,2,-2),0)}function OV(t,e,n,r){return hM(t,e,n,jj,Eb(t,0,r),Eb(t,r+1,-1),r)}function wg(t,e){for(var n="",r=Bj(t),i=0;i6)switch(Si(t,e+1)){case 109:if(Si(t,e+4)!==45)break;case 102:return gn(t,/(.+:)(.+)-([^]+)/,"$1"+pn+"$2-$3$1"+wT+(Si(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~ML(t,"stretch")?Cne(gn(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(Si(t,e+1)!==115)break;case 6444:switch(Si(t,xl(t)-3-(~ML(t,"!important")&&10))){case 107:return gn(t,":",":"+pn)+t;case 101:return gn(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pn+(Si(t,14)===45?"inline-":"")+"box$3$1"+pn+"$2$3$1"+Bi+"$2box$3")+t}break;case 5936:switch(Si(t,e+11)){case 114:return pn+t+Bi+gn(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return pn+t+Bi+gn(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return pn+t+Bi+gn(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return pn+t+Bi+t+t}return t}var k1e=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case jj:e.return=Cne(e.value,e.length);break;case bne:return wg([u0(e,{value:gn(e.value,"@","@"+pn)})],i);case Fj:if(e.length)return h1e(e.props,function(o){switch(d1e(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wg([u0(e,{props:[gn(o,/:(read-\w+)/,":"+wT+"$1")]})],i);case"::placeholder":return wg([u0(e,{props:[gn(o,/:(plac\w+)/,":"+pn+"input-$1")]}),u0(e,{props:[gn(o,/:(plac\w+)/,":"+wT+"$1")]}),u0(e,{props:[gn(o,/:(plac\w+)/,Bi+"input-$1")]})],i)}return""})}},A1e=[k1e],Tne=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var g=m.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=e.stylisPlugins||A1e,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var g=m.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var L1e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},N1e=!1,$1e=/[A-Z]|^ms/g,F1e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mne=function(e){return e.charCodeAt(1)===45},TV=function(e){return e!=null&&typeof e!="boolean"},_A=yne(function(t){return Mne(t)?t:t.replace($1e,"-$&").toLowerCase()}),EV=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(F1e,function(r,i,o){return bl={name:i,styles:o,next:bl},i})}return L1e[e]!==1&&!Mne(e)&&typeof n=="number"&&n!==0?n+"px":n},j1e="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mb(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return bl={name:i.name,styles:i.styles,next:bl},i.name;var o=n;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)bl={name:a.name,styles:a.styles,next:bl},a=a.next;var s=o.styles+";";return s}return B1e(t,e,n)}case"function":{if(t!==void 0){var l=bl,c=n(t);return bl=l,Mb(t,e,c)}break}}var u=n;if(e==null)return u;var f=e[u];return f!==void 0?f:u}function B1e(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?G1e:H1e},AV=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(a){return e.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},q1e=!1,X1e=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return Ene(n,r,i),U1e(function(){return Pne(n,r,i)}),null},Q1e=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,a;n!==void 0&&(o=n.label,a=n.target);var s=AV(e,n,r),l=s||kV(i),c=!l("as");return function(){var u=arguments,f=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{f.push(u[0][0]);for(var d=u.length,h=1;he(K1e(i)?n:i):e;return w.jsx(V1e,{styles:r})}function Uj(t,e){return AL(t,e)}const Lne=(t,e)=>{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},Z1e=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Dne,StyledEngineProvider:Ine,ThemeContext:O1,css:pM,default:Uj,internal_processStyles:Lne,keyframes:Qv},Symbol.toStringTag,{value:"Module"}));function Bc(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Nne(t){if(!Bc(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Nne(t[n])}),e}function Ii(t,e,n={clone:!0}){const r=n.clone?j({},t):t;return Bc(t)&&Bc(e)&&Object.keys(e).forEach(i=>{Bc(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Bc(t[i])?r[i]=Ii(t[i],e[i],n):n.clone?r[i]=Bc(e[i])?Nne(e[i]):e[i]:r[i]=e[i]}),r}const J1e=Object.freeze(Object.defineProperty({__proto__:null,default:Ii,isPlainObject:Bc},Symbol.toStringTag,{value:"Module"})),ewe=["values","unit","step"],twe=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>j({},n,{[r.key]:r.val}),{})};function $ne(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=t,i=Ae(t,ewe),o=twe(e),a=Object.keys(o);function s(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function c(d,h){const p=a.indexOf(h);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(p!==-1&&typeof e[a[p]]=="number"?e[a[p]]:h)-r/100}${n})`}function u(d){return a.indexOf(d)+1`@media (min-width:${Wj[t]}px)`};function Wo(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||RV;return e.reduce((a,s,l)=>(a[o.up(o.keys[l])]=n(e[l]),a),{})}if(typeof e=="object"){const o=r.breakpoints||RV;return Object.keys(e).reduce((a,s)=>{if(Object.keys(o.values||Wj).indexOf(s)!==-1){const l=o.up(s);a[l]=n(e[s],s)}else{const l=s;a[l]=e[l]}return a},{})}return n(e)}function Fne(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function jne(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function rwe(t,...e){const n=Fne(t),r=[n,...e].reduce((i,o)=>Ii(i,o),{});return jne(Object.keys(n),r)}function iwe(t,e){if(typeof t!="object")return{};const n={},r=Object.keys(e);return Array.isArray(t)?r.forEach((i,o)=>{o{t[i]!=null&&(n[i]=!0)}),n}function Lh({values:t,breakpoints:e,base:n}){const r=n||iwe(t,e),i=Object.keys(r);if(i.length===0)return t;let o;return i.reduce((a,s,l)=>(Array.isArray(t)?(a[s]=t[l]!=null?t[l]:t[o],o=l):typeof t=="object"?(a[s]=t[s]!=null?t[s]:t[o],o=s):a[s]=t,a),{})}function De(t){if(typeof t!="string")throw new Error(fu(7));return t.charAt(0).toUpperCase()+t.slice(1)}const owe=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"}));function Xg(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function ST(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=Xg(t,n)||r,e&&(i=e(i,r,t)),i}function Ar(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=a=>{if(a[e]==null)return null;const s=a[e],l=a.theme,c=Xg(l,r)||{};return Wo(a,s,f=>{let d=ST(c,i,f);return f===d&&typeof f=="string"&&(d=ST(c,i,`${e}${f==="default"?"":De(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function awe(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const swe={m:"margin",p:"padding"},lwe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},IV={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},cwe=awe(t=>{if(t.length>2)if(IV[t])t=IV[t];else return[t];const[e,n]=t.split(""),r=swe[e],i=lwe[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Vj=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gj=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Vj,...Gj];function C1(t,e,n,r){var i;const o=(i=Xg(t,e,!1))!=null?i:n;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function Hj(t){return C1(t,"spacing",8)}function Zh(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),r=t(n);return e>=0?r:typeof r=="number"?-r:`-${r}`}function uwe(t,e){return n=>t.reduce((r,i)=>(r[i]=Zh(e,n),r),{})}function fwe(t,e,n,r){if(e.indexOf(n)===-1)return null;const i=cwe(n),o=uwe(i,r),a=t[n];return Wo(t,a,o)}function Bne(t,e){const n=Hj(t.theme);return Object.keys(t).map(r=>fwe(t,e,r,n)).reduce(Lx,{})}function gr(t){return Bne(t,Vj)}gr.propTypes={};gr.filterProps=Vj;function vr(t){return Bne(t,Gj)}vr.propTypes={};vr.filterProps=Gj;function dwe(t=8){if(t.mui)return t;const e=Hj({spacing:t}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const a=e(o);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function mM(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?Lx(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function ja(t){return typeof t!="number"?t:`${t}px solid`}function ys(t,e){return Ar({prop:t,themeKey:"borders",transform:e})}const hwe=ys("border",ja),pwe=ys("borderTop",ja),mwe=ys("borderRight",ja),gwe=ys("borderBottom",ja),vwe=ys("borderLeft",ja),ywe=ys("borderColor"),xwe=ys("borderTopColor"),bwe=ys("borderRightColor"),_we=ys("borderBottomColor"),wwe=ys("borderLeftColor"),Swe=ys("outline",ja),Owe=ys("outlineColor"),gM=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=C1(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Zh(e,r)});return Wo(t,t.borderRadius,n)}return null};gM.propTypes={};gM.filterProps=["borderRadius"];mM(hwe,pwe,mwe,gwe,vwe,ywe,xwe,bwe,_we,wwe,gM,Swe,Owe);const vM=t=>{if(t.gap!==void 0&&t.gap!==null){const e=C1(t.theme,"spacing",8),n=r=>({gap:Zh(e,r)});return Wo(t,t.gap,n)}return null};vM.propTypes={};vM.filterProps=["gap"];const yM=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=C1(t.theme,"spacing",8),n=r=>({columnGap:Zh(e,r)});return Wo(t,t.columnGap,n)}return null};yM.propTypes={};yM.filterProps=["columnGap"];const xM=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=C1(t.theme,"spacing",8),n=r=>({rowGap:Zh(e,r)});return Wo(t,t.rowGap,n)}return null};xM.propTypes={};xM.filterProps=["rowGap"];const Cwe=Ar({prop:"gridColumn"}),Twe=Ar({prop:"gridRow"}),Ewe=Ar({prop:"gridAutoFlow"}),Pwe=Ar({prop:"gridAutoColumns"}),Mwe=Ar({prop:"gridAutoRows"}),kwe=Ar({prop:"gridTemplateColumns"}),Awe=Ar({prop:"gridTemplateRows"}),Rwe=Ar({prop:"gridTemplateAreas"}),Iwe=Ar({prop:"gridArea"});mM(vM,yM,xM,Cwe,Twe,Ewe,Pwe,Mwe,kwe,Awe,Rwe,Iwe);function Sg(t,e){return e==="grey"?e:t}const Dwe=Ar({prop:"color",themeKey:"palette",transform:Sg}),Lwe=Ar({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Sg}),Nwe=Ar({prop:"backgroundColor",themeKey:"palette",transform:Sg});mM(Dwe,Lwe,Nwe);function ua(t){return t<=1&&t!==0?`${t*100}%`:t}const $we=Ar({prop:"width",transform:ua}),qj=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var r,i;const o=((r=t.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Wj[n];return o?((i=t.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${t.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:ua(n)}};return Wo(t,t.maxWidth,e)}return null};qj.filterProps=["maxWidth"];const Fwe=Ar({prop:"minWidth",transform:ua}),jwe=Ar({prop:"height",transform:ua}),Bwe=Ar({prop:"maxHeight",transform:ua}),zwe=Ar({prop:"minHeight",transform:ua});Ar({prop:"size",cssProperty:"width",transform:ua});Ar({prop:"size",cssProperty:"height",transform:ua});const Uwe=Ar({prop:"boxSizing"});mM($we,qj,Fwe,jwe,Bwe,zwe,Uwe);const T1={border:{themeKey:"borders",transform:ja},borderTop:{themeKey:"borders",transform:ja},borderRight:{themeKey:"borders",transform:ja},borderBottom:{themeKey:"borders",transform:ja},borderLeft:{themeKey:"borders",transform:ja},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ja},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gM},color:{themeKey:"palette",transform:Sg},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Sg},backgroundColor:{themeKey:"palette",transform:Sg},p:{style:vr},pt:{style:vr},pr:{style:vr},pb:{style:vr},pl:{style:vr},px:{style:vr},py:{style:vr},padding:{style:vr},paddingTop:{style:vr},paddingRight:{style:vr},paddingBottom:{style:vr},paddingLeft:{style:vr},paddingX:{style:vr},paddingY:{style:vr},paddingInline:{style:vr},paddingInlineStart:{style:vr},paddingInlineEnd:{style:vr},paddingBlock:{style:vr},paddingBlockStart:{style:vr},paddingBlockEnd:{style:vr},m:{style:gr},mt:{style:gr},mr:{style:gr},mb:{style:gr},ml:{style:gr},mx:{style:gr},my:{style:gr},margin:{style:gr},marginTop:{style:gr},marginRight:{style:gr},marginBottom:{style:gr},marginLeft:{style:gr},marginX:{style:gr},marginY:{style:gr},marginInline:{style:gr},marginInlineStart:{style:gr},marginInlineEnd:{style:gr},marginBlock:{style:gr},marginBlockStart:{style:gr},marginBlockEnd:{style:gr},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vM},rowGap:{style:xM},columnGap:{style:yM},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ua},maxWidth:{style:qj},minWidth:{transform:ua},height:{transform:ua},maxHeight:{transform:ua},minHeight:{transform:ua},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Wwe(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function Vwe(t,e){return typeof t=="function"?t(e):t}function zne(){function t(n,r,i,o){const a={[n]:r,theme:i},s=o[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:f}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const d=Xg(i,c)||{};return f?f(a):Wo(a,r,p=>{let m=ST(d,u,p);return p===m&&typeof p=="string"&&(m=ST(d,u,`${n}${p==="default"?"":De(p)}`,p)),l===!1?m:{[l]:m}})}function e(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const a=(r=o.unstable_sxConfig)!=null?r:T1;function s(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=Fne(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(c).forEach(h=>{const p=Vwe(c[h],o);if(p!=null)if(typeof p=="object")if(a[h])d=Lx(d,t(h,p,o,a));else{const m=Wo({theme:o},p,g=>({[h]:g}));Wwe(m,p)?d[h]=e({sx:p,theme:o}):d=Lx(d,m)}else d=Lx(d,t(h,p,o,a))}),jne(f,d)}return Array.isArray(i)?i.map(s):s(i)}return e}const Yv=zne();Yv.filterProps=["sx"];function Une(t,e){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(t).replace(/(\[[^\]]+\])/,"*:where($1)")]:e}:n.palette.mode===t?e:{}}const Gwe=["breakpoints","palette","spacing","shape"];function E1(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=t,a=Ae(t,Gwe),s=$ne(n),l=dwe(i);let c=Ii({breakpoints:s,direction:"ltr",components:{},palette:j({mode:"light"},r),spacing:l,shape:j({},nwe,o)},a);return c.applyStyles=Une,c=e.reduce((u,f)=>Ii(u,f),c),c.unstable_sxConfig=j({},T1,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return Yv({sx:f,theme:this})},c}const Hwe=Object.freeze(Object.defineProperty({__proto__:null,default:E1,private_createBreakpoints:$ne,unstable_applyStyles:Une},Symbol.toStringTag,{value:"Module"}));function qwe(t){return Object.keys(t).length===0}function Xj(t=null){const e=M.useContext(O1);return!e||qwe(e)?t:e}const Xwe=E1();function hd(t=Xwe){return Xj(t)}function Qwe({styles:t,themeId:e,defaultTheme:n={}}){const r=hd(n),i=typeof t=="function"?t(e&&r[e]||r):t;return w.jsx(Dne,{styles:i})}const Ywe=["sx"],Kwe=t=>{var e,n;const r={systemProps:{},otherProps:{}},i=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:T1;return Object.keys(t).forEach(o=>{i[o]?r.systemProps[o]=t[o]:r.otherProps[o]=t[o]}),r};function P1(t){const{sx:e}=t,n=Ae(t,Ywe),{systemProps:r,otherProps:i}=Kwe(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...a)=>{const s=e(...a);return Bc(s)?j({},r,s):r}:o=j({},r,e),j({},i,{sx:o})}const Zwe=Object.freeze(Object.defineProperty({__proto__:null,default:Yv,extendSxProp:P1,unstable_createStyleFunctionSx:zne,unstable_defaultSxConfig:T1},Symbol.toStringTag,{value:"Module"})),DV=t=>t,Jwe=()=>{let t=DV;return{configure(e){t=e},generate(e){return t(e)},reset(){t=DV}}},Qj=Jwe();function Wne(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;es!=="theme"&&s!=="sx"&&s!=="as"})(Yv);return M.forwardRef(function(l,c){const u=hd(n),f=P1(l),{className:d,component:h="div"}=f,p=Ae(f,eSe);return w.jsx(o,j({as:h,ref:c,className:ke(d,i?i(r):r),theme:e&&u[e]||u},p))})}const Vne={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function We(t,e,n="Mui"){const r=Vne[e];return r?`${n}-${r}`:`${Qj.generate(t)}-${e}`}function Ve(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=We(t,i,n)}),r}var Gne={exports:{}},kn={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Yj=Symbol.for("react.element"),Kj=Symbol.for("react.portal"),bM=Symbol.for("react.fragment"),_M=Symbol.for("react.strict_mode"),wM=Symbol.for("react.profiler"),SM=Symbol.for("react.provider"),OM=Symbol.for("react.context"),nSe=Symbol.for("react.server_context"),CM=Symbol.for("react.forward_ref"),TM=Symbol.for("react.suspense"),EM=Symbol.for("react.suspense_list"),PM=Symbol.for("react.memo"),MM=Symbol.for("react.lazy"),rSe=Symbol.for("react.offscreen"),Hne;Hne=Symbol.for("react.module.reference");function xs(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Yj:switch(t=t.type,t){case bM:case wM:case _M:case TM:case EM:return t;default:switch(t=t&&t.$$typeof,t){case nSe:case OM:case CM:case MM:case PM:case SM:return t;default:return e}}case Kj:return e}}}kn.ContextConsumer=OM;kn.ContextProvider=SM;kn.Element=Yj;kn.ForwardRef=CM;kn.Fragment=bM;kn.Lazy=MM;kn.Memo=PM;kn.Portal=Kj;kn.Profiler=wM;kn.StrictMode=_M;kn.Suspense=TM;kn.SuspenseList=EM;kn.isAsyncMode=function(){return!1};kn.isConcurrentMode=function(){return!1};kn.isContextConsumer=function(t){return xs(t)===OM};kn.isContextProvider=function(t){return xs(t)===SM};kn.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Yj};kn.isForwardRef=function(t){return xs(t)===CM};kn.isFragment=function(t){return xs(t)===bM};kn.isLazy=function(t){return xs(t)===MM};kn.isMemo=function(t){return xs(t)===PM};kn.isPortal=function(t){return xs(t)===Kj};kn.isProfiler=function(t){return xs(t)===wM};kn.isStrictMode=function(t){return xs(t)===_M};kn.isSuspense=function(t){return xs(t)===TM};kn.isSuspenseList=function(t){return xs(t)===EM};kn.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===bM||t===wM||t===_M||t===TM||t===EM||t===rSe||typeof t=="object"&&t!==null&&(t.$$typeof===MM||t.$$typeof===PM||t.$$typeof===SM||t.$$typeof===OM||t.$$typeof===CM||t.$$typeof===Hne||t.getModuleId!==void 0)};kn.typeOf=xs;Gne.exports=kn;var LV=Gne.exports;const iSe=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function qne(t){const e=`${t}`.match(iSe);return e&&e[1]||""}function Xne(t,e=""){return t.displayName||t.name||qne(t)||e}function NV(t,e,n){const r=Xne(e);return t.displayName||(r!==""?`${n}(${r})`:n)}function oSe(t){if(t!=null){if(typeof t=="string")return t;if(typeof t=="function")return Xne(t,"Component");if(typeof t=="object")switch(t.$$typeof){case LV.ForwardRef:return NV(t,t.render,"ForwardRef");case LV.Memo:return NV(t,t.type,"memo");default:return}}}const aSe=Object.freeze(Object.defineProperty({__proto__:null,default:oSe,getFunctionName:qne},Symbol.toStringTag,{value:"Module"})),sSe=["ownerState"],lSe=["variants"],cSe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function uSe(t){return Object.keys(t).length===0}function fSe(t){return typeof t=="string"&&t.charCodeAt(0)>96}function wA(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const dSe=E1(),hSe=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function tS({defaultTheme:t,theme:e,themeId:n}){return uSe(e)?t:e[n]||e}function pSe(t){return t?(e,n)=>n[t]:null}function CC(t,e){let{ownerState:n}=e,r=Ae(e,sSe);const i=typeof t=="function"?t(j({ownerState:n},r)):t;if(Array.isArray(i))return i.flatMap(o=>CC(o,j({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=Ae(i,lSe);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(j({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style(j({ownerState:n},r,n)):l.style))}),s}return i}function mSe(t={}){const{themeId:e,defaultTheme:n=dSe,rootShouldForwardProp:r=wA,slotShouldForwardProp:i=wA}=t,o=a=>Yv(j({},a,{theme:tS(j({},a,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(a,s={})=>{Lne(a,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=pSe(hSe(c))}=s,h=Ae(s,cSe),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let g,v=wA;c==="Root"||c==="root"?v=r:c?v=i:fSe(a)&&(v=void 0);const y=Uj(a,j({shouldForwardProp:v,label:g},h)),x=_=>typeof _=="function"&&_.__emotion_real!==_||Bc(_)?S=>CC(_,j({},S,{theme:tS({theme:S.theme,defaultTheme:n,themeId:e})})):_,b=(_,...S)=>{let O=x(_);const C=S?S.map(x):[];l&&d&&C.push(I=>{const P=tS(j({},I,{defaultTheme:n,themeId:e}));if(!P.components||!P.components[l]||!P.components[l].styleOverrides)return null;const R=P.components[l].styleOverrides,T={};return Object.entries(R).forEach(([L,z])=>{T[L]=CC(z,j({},I,{theme:P}))}),d(I,T)}),l&&!p&&C.push(I=>{var P;const R=tS(j({},I,{defaultTheme:n,themeId:e})),T=R==null||(P=R.components)==null||(P=P[l])==null?void 0:P.variants;return CC({variants:T},j({},I,{theme:R}))}),m||C.push(o);const E=C.length-S.length;if(Array.isArray(_)&&E>0){const I=new Array(E).fill("");O=[..._,...I],O.raw=[..._.raw,...I]}const k=y(O,...C);return a.muiName&&(k.muiName=a.muiName),k};return y.withConfig&&(b.withConfig=y.withConfig),b}}const Li=mSe();function kM(t,e){const n=j({},e);return Object.keys(t).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=j({},t[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=t[r]||{},o=e[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=j({},o),Object.keys(i).forEach(a=>{n[r][a]=kM(i[a],o[a])}))}else n[r]===void 0&&(n[r]=t[r])}),n}function Qne(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:kM(e.components[n].defaultProps,r)}function Yne({props:t,name:e,defaultTheme:n,themeId:r}){let i=hd(n);return r&&(i=i[r]||i),Qne({theme:i,name:e,props:t})}const Hr=typeof window<"u"?M.useLayoutEffect:M.useEffect;function gSe(t,e,n,r,i){const[o,a]=M.useState(()=>i&&n?n(t).matches:r?r(t).matches:e);return Hr(()=>{let s=!0;if(!n)return;const l=n(t),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[t,n]),o}const Kne=M.useSyncExternalStore;function vSe(t,e,n,r,i){const o=M.useCallback(()=>e,[e]),a=M.useMemo(()=>{if(i&&n)return()=>n(t).matches;if(r!==null){const{matches:u}=r(t);return()=>u}return o},[o,t,r,i,n]),[s,l]=M.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const u=n(t);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,n,t]);return Kne(l,s,a)}function ySe(t,e={}){const n=Xj(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=Qne({name:"MuiUseMediaQuery",props:e,theme:n});let l=typeof t=="function"?t(n):t;return l=l.replace(/^@media( ?)/m,""),(Kne!==void 0?vSe:gSe)(l,i,o,a,s)}function ah(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}const xSe=Object.freeze(Object.defineProperty({__proto__:null,default:ah},Symbol.toStringTag,{value:"Module"}));function Zj(t,e=0,n=1){return ah(t,e,n)}function bSe(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function AM(t){if(t.type)return t;if(t.charAt(0)==="#")return AM(bSe(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(fu(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(fu(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Jj(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function Hc(t,e){return t=AM(t),e=Zj(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Jj(t)}function Zne(t,e){if(t=AM(t),e=Zj(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Jj(t)}function Jne(t,e){if(t=AM(t),e=Zj(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Jj(t)}function OT(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function Kv(t,e=166){let n;function r(...i){const o=()=>{t.apply(this,i)};clearTimeout(n),n=setTimeout(o,e)}return r.clear=()=>{clearTimeout(n)},r}function _Se(t,e){return()=>null}function Nx(t,e){var n,r;return M.isValidElement(t)&&e.indexOf((n=t.type.muiName)!=null?n:(r=t.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function $n(t){return t&&t.ownerDocument||document}function cs(t){return $n(t).defaultView||window}function wSe(t,e){return()=>null}function CT(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let $V=0;function SSe(t){const[e,n]=M.useState(t),r=t||e;return M.useEffect(()=>{e==null&&($V+=1,n(`mui-${$V}`))},[e]),r}const FV=BD.useId;function pd(t){if(FV!==void 0){const e=FV();return t??e}return SSe(t)}function OSe(t,e,n,r,i){return null}function Qs({controlled:t,default:e,name:n,state:r="value"}){const{current:i}=M.useRef(t!==void 0),[o,a]=M.useState(e),s=i?t:o,l=M.useCallback(c=>{i||a(c)},[]);return[s,l]}function _r(t){const e=M.useRef(t);return Hr(()=>{e.current=t}),M.useRef((...n)=>(0,e.current)(...n)).current}function Zt(...t){return M.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{CT(n,e)})},t)}const jV={};function CSe(t,e){const n=M.useRef(jV);return n.current===jV&&(n.current=t(e)),n}const TSe=[];function ESe(t){M.useEffect(t,TSe)}class M1{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new M1}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function bf(){const t=CSe(M1.create).current;return ESe(t.disposeEffect),t}let RM=!0,IL=!1;const PSe=new M1,MSe={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function kSe(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&MSe[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function ASe(t){t.metaKey||t.altKey||t.ctrlKey||(RM=!0)}function SA(){RM=!1}function RSe(){this.visibilityState==="hidden"&&IL&&(RM=!0)}function ISe(t){t.addEventListener("keydown",ASe,!0),t.addEventListener("mousedown",SA,!0),t.addEventListener("pointerdown",SA,!0),t.addEventListener("touchstart",SA,!0),t.addEventListener("visibilitychange",RSe,!0)}function DSe(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return RM||kSe(e)}function k1(){const t=M.useCallback(i=>{i!=null&&ISe(i.ownerDocument)},[]),e=M.useRef(!1);function n(){return e.current?(IL=!0,PSe.start(100,()=>{IL=!1}),e.current=!1,!0):!1}function r(i){return DSe(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:r,onBlur:n,ref:t}}function ere(t){const e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}let Zp;function tre(){if(Zp)return Zp;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),Zp="reverse",t.scrollLeft>0?Zp="default":(t.scrollLeft=1,t.scrollLeft===0&&(Zp="negative")),document.body.removeChild(t),Zp}function LSe(t,e){const n=t.scrollLeft;if(e!=="rtl")return n;switch(tre()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function NSe(t){return M.Children.toArray(t).filter(e=>M.isValidElement(e))}const $Se={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ue(t,e,n=void 0){const r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((o,a)=>{if(a){const s=e(a);s!==""&&o.push(s),n&&n[a]&&o.push(n[a])}return o},[]).join(" ")}),r}const nre=M.createContext(null);function e5(){return M.useContext(nre)}const FSe=typeof Symbol=="function"&&Symbol.for,rre=FSe?Symbol.for("mui.nested"):"__THEME_NESTED__";function jSe(t,e){return typeof e=="function"?e(t):j({},t,e)}function BSe(t){const{children:e,theme:n}=t,r=e5(),i=M.useMemo(()=>{const o=r===null?n:jSe(r,n);return o!=null&&(o[rre]=r!==null),o},[n,r]);return w.jsx(nre.Provider,{value:i,children:e})}const zSe=["value"],ire=M.createContext();function USe(t){let{value:e}=t,n=Ae(t,zSe);return w.jsx(ire.Provider,j({value:e??!0},n))}const A1=()=>{const t=M.useContext(ire);return t??!1},WSe=M.createContext(void 0);function VSe({value:t,children:e}){return w.jsx(WSe.Provider,{value:t,children:e})}const BV={};function zV(t,e,n,r=!1){return M.useMemo(()=>{const i=t&&e[t]||e;if(typeof n=="function"){const o=n(i),a=t?j({},e,{[t]:o}):o;return r?()=>a:a}return t?j({},e,{[t]:n}):j({},e,n)},[t,e,n,r])}function GSe(t){const{children:e,theme:n,themeId:r}=t,i=Xj(BV),o=e5()||BV,a=zV(r,i,n),s=zV(r,o,n,!0),l=a.direction==="rtl";return w.jsx(BSe,{theme:s,children:w.jsx(O1.Provider,{value:a,children:w.jsx(USe,{value:l,children:w.jsx(VSe,{value:a==null?void 0:a.components,children:e})})})})}const HSe=["component","direction","spacing","divider","children","className","useFlexGap"],qSe=E1(),XSe=Li("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function QSe(t){return Yne({props:t,name:"MuiStack",defaultTheme:qSe})}function YSe(t,e){const n=M.Children.toArray(t).filter(Boolean);return n.reduce((r,i,o)=>(r.push(i),o({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],ZSe=({ownerState:t,theme:e})=>{let n=j({display:"flex",flexDirection:"column"},Wo({theme:e},Lh({values:t.direction,breakpoints:e.breakpoints.values}),r=>({flexDirection:r})));if(t.spacing){const r=Hj(e),i=Object.keys(e.breakpoints.values).reduce((l,c)=>((typeof t.spacing=="object"&&t.spacing[c]!=null||typeof t.direction=="object"&&t.direction[c]!=null)&&(l[c]=!0),l),{}),o=Lh({values:t.direction,base:i}),a=Lh({values:t.spacing,base:i});typeof o=="object"&&Object.keys(o).forEach((l,c,u)=>{if(!o[l]){const d=c>0?o[u[c-1]]:"column";o[l]=d}}),n=Ii(n,Wo({theme:e},a,(l,c)=>t.useFlexGap?{gap:Zh(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${KSe(c?o[c]:t.direction)}`]:Zh(r,l)}}))}return n=rwe(e.breakpoints,n),n};function JSe(t={}){const{createStyledComponent:e=XSe,useThemeProps:n=QSe,componentName:r="MuiStack"}=t,i=()=>Ue({root:["root"]},l=>We(r,l),{}),o=e(ZSe);return M.forwardRef(function(l,c){const u=n(l),f=P1(u),{component:d="div",direction:h="column",spacing:p=0,divider:m,children:g,className:v,useFlexGap:y=!1}=f,x=Ae(f,HSe),b={direction:h,spacing:p,useFlexGap:y},_=i();return w.jsx(o,j({as:d,ownerState:b,ref:c,className:ke(_.root,v)},x,{children:m?YSe(g,m):g}))})}function eOe(t,e){return j({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}var Rr={},ore={exports:{}};(function(t){function e(n){return n&&n.__esModule?n:{default:n}}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})(ore);var ft=ore.exports;const tOe=Ea(e1e),nOe=Ea(xSe);var are=ft;Object.defineProperty(Rr,"__esModule",{value:!0});var kt=Rr.alpha=ure;Rr.blend=pOe;Rr.colorChannel=void 0;var kb=Rr.darken=n5;Rr.decomposeColor=us;var rOe=Rr.emphasize=fre,iOe=Rr.getContrastRatio=cOe;Rr.getLuminance=TT;Rr.hexToRgb=sre;Rr.hslToRgb=cre;var Ab=Rr.lighten=r5;Rr.private_safeAlpha=uOe;Rr.private_safeColorChannel=void 0;Rr.private_safeDarken=fOe;Rr.private_safeEmphasize=hOe;Rr.private_safeLighten=dOe;Rr.recomposeColor=Zv;Rr.rgbToHex=lOe;var UV=are(tOe),oOe=are(nOe);function t5(t,e=0,n=1){return(0,oOe.default)(t,e,n)}function sre(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function aOe(t){const e=t.toString(16);return e.length===1?`0${e}`:e}function us(t){if(t.type)return t;if(t.charAt(0)==="#")return us(sre(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,UV.default)(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,UV.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const lre=t=>{const e=us(t);return e.values.slice(0,3).map((n,r)=>e.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Rr.colorChannel=lre;const sOe=(t,e)=>{try{return lre(t)}catch{return t}};Rr.private_safeColorChannel=sOe;function Zv(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function lOe(t){if(t.indexOf("#")===0)return t;const{values:e}=us(t);return`#${e.map((n,r)=>aOe(r===3?Math.round(255*n):n)).join("")}`}function cre(t){t=us(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),a=(c,u=(c+n/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return t.type==="hsla"&&(s+="a",l.push(e[3])),Zv({type:s,values:l})}function TT(t){t=us(t);let e=t.type==="hsl"||t.type==="hsla"?us(cre(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function cOe(t,e){const n=TT(t),r=TT(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ure(t,e){return t=us(t),e=t5(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Zv(t)}function uOe(t,e,n){try{return ure(t,e)}catch{return t}}function n5(t,e){if(t=us(t),e=t5(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Zv(t)}function fOe(t,e,n){try{return n5(t,e)}catch{return t}}function r5(t,e){if(t=us(t),e=t5(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Zv(t)}function dOe(t,e,n){try{return r5(t,e)}catch{return t}}function fre(t,e=.15){return TT(t)>.5?n5(t,e):r5(t,e)}function hOe(t,e,n){try{return fre(t,e)}catch{return t}}function pOe(t,e,n,r=1){const i=(l,c)=>Math.round((l**(1/r)*(1-n)+c**(1/r)*n)**r),o=us(t),a=us(e),s=[i(o.values[0],a.values[0]),i(o.values[1],a.values[1]),i(o.values[2],a.values[2])];return Zv({type:"rgb",values:s})}const mOe=["mode","contrastThreshold","tonalOffset"],WV={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Tb.white,default:Tb.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},OA={text:{primary:Tb.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Tb.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function VV(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Ab(t.main,i):e==="dark"&&(t.dark=kb(t.main,o)))}function gOe(t="light"){return t==="dark"?{main:rf[200],light:rf[50],dark:rf[400]}:{main:rf[700],light:rf[400],dark:rf[800]}}function vOe(t="light"){return t==="dark"?{main:nf[200],light:nf[50],dark:nf[400]}:{main:nf[500],light:nf[300],dark:nf[700]}}function yOe(t="light"){return t==="dark"?{main:tf[500],light:tf[300],dark:tf[700]}:{main:tf[700],light:tf[400],dark:tf[800]}}function xOe(t="light"){return t==="dark"?{main:of[400],light:of[300],dark:of[700]}:{main:of[700],light:of[500],dark:of[900]}}function bOe(t="light"){return t==="dark"?{main:Lc[400],light:Lc[300],dark:Lc[700]}:{main:Lc[800],light:Lc[500],dark:Lc[900]}}function _Oe(t="light"){return t==="dark"?{main:oh[400],light:oh[300],dark:oh[700]}:{main:"#ed6c02",light:oh[500],dark:oh[900]}}function wOe(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2}=t,i=Ae(t,mOe),o=t.primary||gOe(e),a=t.secondary||vOe(e),s=t.error||yOe(e),l=t.info||xOe(e),c=t.success||bOe(e),u=t.warning||_Oe(e);function f(m){return iOe(m,OA.text.primary)>=n?OA.text.primary:WV.text.primary}const d=({color:m,name:g,mainShade:v=500,lightShade:y=300,darkShade:x=700})=>{if(m=j({},m),!m.main&&m[v]&&(m.main=m[v]),!m.hasOwnProperty("main"))throw new Error(fu(11,g?` (${g})`:"",v));if(typeof m.main!="string")throw new Error(fu(12,g?` (${g})`:"",JSON.stringify(m.main)));return VV(m,"light",y,r),VV(m,"dark",x,r),m.contrastText||(m.contrastText=f(m.main)),m},h={dark:OA,light:WV};return Ii(j({common:j({},Tb),mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:vne,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},h[e]),i)}const SOe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function OOe(t){return Math.round(t*1e5)/1e5}const GV={textTransform:"uppercase"},HV='"Roboto", "Helvetica", "Arial", sans-serif';function COe(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:r=HV,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f}=n,d=Ae(n,SOe),h=i/14,p=f||(v=>`${v/c*h}rem`),m=(v,y,x,b,_)=>j({fontFamily:r,fontWeight:v,fontSize:p(y),lineHeight:x},r===HV?{letterSpacing:`${OOe(b/y)}em`}:{},_,u),g={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,GV),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,GV),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ii(j({htmlFontSize:c,pxToRem:p,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),d,{clone:!1})}const TOe=.2,EOe=.14,POe=.12;function or(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${TOe})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${EOe})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${POe})`].join(",")}const MOe=["none",or(0,2,1,-1,0,1,1,0,0,1,3,0),or(0,3,1,-2,0,2,2,0,0,1,5,0),or(0,3,3,-2,0,3,4,0,0,1,8,0),or(0,2,4,-1,0,4,5,0,0,1,10,0),or(0,3,5,-1,0,5,8,0,0,1,14,0),or(0,3,5,-1,0,6,10,0,0,1,18,0),or(0,4,5,-2,0,7,10,1,0,2,16,1),or(0,5,5,-3,0,8,10,1,0,3,14,2),or(0,5,6,-3,0,9,12,1,0,3,16,2),or(0,6,6,-3,0,10,14,1,0,4,18,3),or(0,6,7,-4,0,11,15,1,0,4,20,3),or(0,7,8,-4,0,12,17,2,0,5,22,4),or(0,7,8,-4,0,13,19,2,0,5,24,4),or(0,7,9,-4,0,14,21,2,0,5,26,4),or(0,8,9,-5,0,15,22,2,0,6,28,5),or(0,8,10,-5,0,16,24,2,0,6,30,5),or(0,8,11,-5,0,17,26,2,0,6,32,5),or(0,9,11,-5,0,18,28,2,0,7,34,6),or(0,9,12,-6,0,19,29,2,0,7,36,6),or(0,10,13,-6,0,20,31,3,0,8,38,7),or(0,10,13,-6,0,21,33,3,0,8,40,7),or(0,10,14,-6,0,22,35,3,0,8,42,7),or(0,11,14,-7,0,23,36,3,0,9,44,8),or(0,11,15,-7,0,24,38,3,0,9,46,8)],kOe=["duration","easing","delay"],AOe={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},dre={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function qV(t){return`${Math.round(t)}ms`}function ROe(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function IOe(t){const e=j({},AOe,t.easing),n=j({},dre,t.duration);return j({getAutoHeightDuration:ROe,create:(i=["all"],o={})=>{const{duration:a=n.standard,easing:s=e.easeInOut,delay:l=0}=o;return Ae(o,kOe),(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof a=="string"?a:qV(a)} ${s} ${typeof l=="string"?l:qV(l)}`).join(",")}},t,{easing:e,duration:n})}const DOe={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},LOe=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function i5(t={},...e){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=t,a=Ae(t,LOe);if(t.vars)throw new Error(fu(18));const s=wOe(r),l=E1(t);let c=Ii(l,{mixins:eOe(l.breakpoints,n),palette:s,shadows:MOe.slice(),typography:COe(s,o),transitions:IOe(i),zIndex:j({},DOe)});return c=Ii(c,a),c=e.reduce((u,f)=>Ii(u,f),c),c.unstable_sxConfig=j({},T1,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(f){return Yv({sx:f,theme:this})},c}const IM=i5();function Go(){const t=hd(IM);return t[Kh]||t}function qe({props:t,name:e}){return Yne({props:t,name:e,defaultTheme:IM,themeId:Kh})}var R1={};const NOe=Ea(Gbe),$Oe=Ea(Hbe),hre=Ea(Z1e),FOe=Ea(J1e),jOe=Ea(owe),BOe=Ea(aSe),zOe=Ea(Hwe),UOe=Ea(Zwe);var Jv=ft;Object.defineProperty(R1,"__esModule",{value:!0});var WOe=R1.default=nCe;R1.shouldForwardProp=TC;R1.systemDefaultTheme=void 0;var $a=Jv(NOe),DL=Jv($Oe),XV=YOe(hre),VOe=FOe;Jv(jOe);Jv(BOe);var GOe=Jv(zOe),HOe=Jv(UOe);const qOe=["ownerState"],XOe=["variants"],QOe=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function pre(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(pre=function(r){return r?n:e})(t)}function YOe(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=pre(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function KOe(t){return Object.keys(t).length===0}function ZOe(t){return typeof t=="string"&&t.charCodeAt(0)>96}function TC(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const JOe=R1.systemDefaultTheme=(0,GOe.default)(),eCe=t=>t&&t.charAt(0).toLowerCase()+t.slice(1);function nS({defaultTheme:t,theme:e,themeId:n}){return KOe(e)?t:e[n]||e}function tCe(t){return t?(e,n)=>n[t]:null}function EC(t,e){let{ownerState:n}=e,r=(0,DL.default)(e,qOe);const i=typeof t=="function"?t((0,$a.default)({ownerState:n},r)):t;if(Array.isArray(i))return i.flatMap(o=>EC(o,(0,$a.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let s=(0,DL.default)(i,XOe);return o.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,$a.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(u=>{(n==null?void 0:n[u])!==l.props[u]&&r[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,$a.default)({ownerState:n},r,n)):l.style))}),s}return i}function nCe(t={}){const{themeId:e,defaultTheme:n=JOe,rootShouldForwardProp:r=TC,slotShouldForwardProp:i=TC}=t,o=a=>(0,HOe.default)((0,$a.default)({},a,{theme:nS((0,$a.default)({},a,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(a,s={})=>{(0,XV.internal_processStyles)(a,_=>_.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:f,overridesResolver:d=tCe(eCe(c))}=s,h=(0,DL.default)(s,QOe),p=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,m=f||!1;let g,v=TC;c==="Root"||c==="root"?v=r:c?v=i:ZOe(a)&&(v=void 0);const y=(0,XV.default)(a,(0,$a.default)({shouldForwardProp:v,label:g},h)),x=_=>typeof _=="function"&&_.__emotion_real!==_||(0,VOe.isPlainObject)(_)?S=>EC(_,(0,$a.default)({},S,{theme:nS({theme:S.theme,defaultTheme:n,themeId:e})})):_,b=(_,...S)=>{let O=x(_);const C=S?S.map(x):[];l&&d&&C.push(I=>{const P=nS((0,$a.default)({},I,{defaultTheme:n,themeId:e}));if(!P.components||!P.components[l]||!P.components[l].styleOverrides)return null;const R=P.components[l].styleOverrides,T={};return Object.entries(R).forEach(([L,z])=>{T[L]=EC(z,(0,$a.default)({},I,{theme:P}))}),d(I,T)}),l&&!p&&C.push(I=>{var P;const R=nS((0,$a.default)({},I,{defaultTheme:n,themeId:e})),T=R==null||(P=R.components)==null||(P=P[l])==null?void 0:P.variants;return EC({variants:T},(0,$a.default)({},I,{theme:R}))}),m||C.push(o);const E=C.length-S.length;if(Array.isArray(_)&&E>0){const I=new Array(E).fill("");O=[..._,...I],O.raw=[..._.raw,...I]}const k=y(O,...C);return a.muiName&&(k.muiName=a.muiName),k};return y.withConfig&&(b.withConfig=y.withConfig),b}}function DM(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const hi=t=>DM(t)&&t!=="classes",we=WOe({themeId:Kh,defaultTheme:IM,rootShouldForwardProp:hi}),rCe=["theme"];function iCe(t){let{theme:e}=t,n=Ae(t,rCe);const r=e[Kh];return w.jsx(GSe,j({},n,{themeId:r?Kh:void 0,theme:r||e}))}const QV=t=>{let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,(e/100).toFixed(2)};function oCe(t){return We("MuiSvgIcon",t)}Ve("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const aCe=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],sCe=t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root",e!=="inherit"&&`color${De(e)}`,`fontSize${De(n)}`]};return Ue(i,oCe,r)},lCe=we("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${De(n.color)}`],e[`fontSize${De(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,r,i,o,a,s,l,c,u,f,d,h,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=t.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=t.typography)==null||(a=o.pxToRem)==null?void 0:a.call(o,20))||"1.25rem",medium:((s=t.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=t.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[e.fontSize],color:(f=(d=(t.vars||t).palette)==null||(d=d[e.color])==null?void 0:d.main)!=null?f:{action:(h=(t.vars||t).palette)==null||(h=h.action)==null?void 0:h.active,disabled:(p=(t.vars||t).palette)==null||(p=p.action)==null?void 0:p.disabled,inherit:void 0}[e.color]}}),LL=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSvgIcon"}),{children:i,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,h=Ae(r,aCe),p=M.isValidElement(i)&&i.type==="svg",m=j({},r,{color:a,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:d,hasSvgAsChild:p}),g={};u||(g.viewBox=d);const v=sCe(m);return w.jsxs(lCe,j({as:s,className:ke(v.root,o),focusable:"false",color:c,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},g,h,p&&i.props,{ownerState:m,children:[p?i.props.children:i,f?w.jsx("title",{children:f}):null]}))});LL.muiName="SvgIcon";function ni(t,e){function n(r,i){return w.jsx(LL,j({"data-testid":`${e}Icon`,ref:i},r,{children:t}))}return n.muiName=LL.muiName,M.memo(M.forwardRef(n))}const cCe={configure:t=>{Qj.configure(t)}},uCe=Object.freeze(Object.defineProperty({__proto__:null,capitalize:De,createChainedFunction:OT,createSvgIcon:ni,debounce:Kv,deprecatedPropType:_Se,isMuiElement:Nx,ownerDocument:$n,ownerWindow:cs,requirePropFactory:wSe,setRef:CT,unstable_ClassNameGenerator:cCe,unstable_useEnhancedEffect:Hr,unstable_useId:pd,unsupportedProp:OSe,useControlled:Qs,useEventCallback:_r,useForkRef:Zt,useIsFocusVisible:k1},Symbol.toStringTag,{value:"Module"}));var In={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var o5=Symbol.for("react.element"),a5=Symbol.for("react.portal"),LM=Symbol.for("react.fragment"),NM=Symbol.for("react.strict_mode"),$M=Symbol.for("react.profiler"),FM=Symbol.for("react.provider"),jM=Symbol.for("react.context"),fCe=Symbol.for("react.server_context"),BM=Symbol.for("react.forward_ref"),zM=Symbol.for("react.suspense"),UM=Symbol.for("react.suspense_list"),WM=Symbol.for("react.memo"),VM=Symbol.for("react.lazy"),dCe=Symbol.for("react.offscreen"),mre;mre=Symbol.for("react.module.reference");function bs(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case o5:switch(t=t.type,t){case LM:case $M:case NM:case zM:case UM:return t;default:switch(t=t&&t.$$typeof,t){case fCe:case jM:case BM:case VM:case WM:case FM:return t;default:return e}}case a5:return e}}}In.ContextConsumer=jM;In.ContextProvider=FM;In.Element=o5;In.ForwardRef=BM;In.Fragment=LM;In.Lazy=VM;In.Memo=WM;In.Portal=a5;In.Profiler=$M;In.StrictMode=NM;In.Suspense=zM;In.SuspenseList=UM;In.isAsyncMode=function(){return!1};In.isConcurrentMode=function(){return!1};In.isContextConsumer=function(t){return bs(t)===jM};In.isContextProvider=function(t){return bs(t)===FM};In.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===o5};In.isForwardRef=function(t){return bs(t)===BM};In.isFragment=function(t){return bs(t)===LM};In.isLazy=function(t){return bs(t)===VM};In.isMemo=function(t){return bs(t)===WM};In.isPortal=function(t){return bs(t)===a5};In.isProfiler=function(t){return bs(t)===$M};In.isStrictMode=function(t){return bs(t)===NM};In.isSuspense=function(t){return bs(t)===zM};In.isSuspenseList=function(t){return bs(t)===UM};In.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===LM||t===$M||t===NM||t===zM||t===UM||t===dCe||typeof t=="object"&&t!==null&&(t.$$typeof===VM||t.$$typeof===WM||t.$$typeof===FM||t.$$typeof===jM||t.$$typeof===BM||t.$$typeof===mre||t.getModuleId!==void 0)};In.typeOf=bs;function s5(t){return qe}function ET(t,e){return ET=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ET(t,e)}function I1(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ET(t,e)}function hCe(t,e){return t.classList?!!e&&t.classList.contains(e):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")!==-1}function pCe(t,e){t.classList?t.classList.add(e):hCe(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function YV(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function mCe(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=YV(t.className,e):t.setAttribute("class",YV(t.className&&t.className.baseVal||"",e))}const KV={disabled:!1},PT=ue.createContext(null);var gre=function(e){return e.scrollTop},ax="unmounted",Yd="exited",Kd="entering",Lm="entered",NL="exiting",ka=function(t){I1(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=Yd,o.appearStatus=Kd):l=Lm:r.unmountOnExit||r.mountOnEnter?l=ax:l=Yd,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===ax?{status:Yd}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Kd&&a!==Lm&&(o=Kd):(a===Kd||a===Lm)&&(o=NL)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Kd){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Jw.findDOMNode(this);a&&gre(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Yd&&this.setState({status:ax})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Jw.findDOMNode(this),s],c=l[0],u=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!i&&!a||KV.disabled){this.safeSetState({status:Lm},function(){o.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Kd},function(){o.props.onEntering(c,u),o.onTransitionEnd(d,function(){o.safeSetState({status:Lm},function(){o.props.onEntered(c,u)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Jw.findDOMNode(this);if(!o||KV.disabled){this.safeSetState({status:Yd},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:NL},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:Yd},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Jw.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===ax)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=Ae(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ue.createElement(PT.Provider,{value:null},typeof a=="function"?a(i,s):ue.cloneElement(ue.Children.only(a),s))},e}(ue.Component);ka.contextType=PT;ka.propTypes={};function Jp(){}ka.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Jp,onEntering:Jp,onEntered:Jp,onExit:Jp,onExiting:Jp,onExited:Jp};ka.UNMOUNTED=ax;ka.EXITED=Yd;ka.ENTERING=Kd;ka.ENTERED=Lm;ka.EXITING=NL;var gCe=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return pCe(e,r)})},CA=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return mCe(e,r)})},l5=function(t){I1(e,t);function e(){for(var r,i=arguments.length,o=new Array(i),a=0;at.scrollTop;function Zf(t,e){var n,r;const{timeout:i,easing:o,style:a={}}=t;return{duration:(n=a.transitionDuration)!=null?n:typeof i=="number"?i:i[e.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof o=="object"?o[e.mode]:o,delay:a.transitionDelay}}function wCe(t){return We("MuiCollapse",t)}Ve("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const SCe=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],OCe=t=>{const{orientation:e,classes:n}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Ue(r,wCe,n)},CCe=we("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(({theme:t,ownerState:e})=>j({height:0,overflow:"hidden",transition:t.transitions.create("height")},e.orientation==="horizontal"&&{height:"auto",width:0,transition:t.transitions.create("width")},e.state==="entered"&&j({height:"auto",overflow:"visible"},e.orientation==="horizontal"&&{width:"auto"}),e.state==="exited"&&!e.in&&e.collapsedSize==="0px"&&{visibility:"hidden"})),TCe=we("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})(({ownerState:t})=>j({display:"flex",width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),ECe=we("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})(({ownerState:t})=>j({width:"100%"},t.orientation==="horizontal"&&{width:"auto",height:"100%"})),f5=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCollapse"}),{addEndListener:i,children:o,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:f,onEntered:d,onEntering:h,onExit:p,onExited:m,onExiting:g,orientation:v="vertical",style:y,timeout:x=dre.standard,TransitionComponent:b=ka}=r,_=Ae(r,SCe),S=j({},r,{orientation:v,collapsedSize:s}),O=OCe(S),C=Go(),E=bf(),k=M.useRef(null),I=M.useRef(),P=typeof s=="number"?`${s}px`:s,R=v==="horizontal",T=R?"width":"height",L=M.useRef(null),z=Zt(n,L),B=K=>se=>{if(K){const te=L.current;se===void 0?K(te):K(te,se)}},U=()=>k.current?k.current[R?"clientWidth":"clientHeight"]:0,W=B((K,se)=>{k.current&&R&&(k.current.style.position="absolute"),K.style[T]=P,f&&f(K,se)}),$=B((K,se)=>{const te=U();k.current&&R&&(k.current.style.position="");const{duration:J,easing:pe}=Zf({style:y,timeout:x,easing:c},{mode:"enter"});if(x==="auto"){const be=C.transitions.getAutoHeightDuration(te);K.style.transitionDuration=`${be}ms`,I.current=be}else K.style.transitionDuration=typeof J=="string"?J:`${J}ms`;K.style[T]=`${te}px`,K.style.transitionTimingFunction=pe,h&&h(K,se)}),N=B((K,se)=>{K.style[T]="auto",d&&d(K,se)}),D=B(K=>{K.style[T]=`${U()}px`,p&&p(K)}),A=B(m),q=B(K=>{const se=U(),{duration:te,easing:J}=Zf({style:y,timeout:x,easing:c},{mode:"exit"});if(x==="auto"){const pe=C.transitions.getAutoHeightDuration(se);K.style.transitionDuration=`${pe}ms`,I.current=pe}else K.style.transitionDuration=typeof te=="string"?te:`${te}ms`;K.style[T]=P,K.style.transitionTimingFunction=J,g&&g(K)}),Y=K=>{x==="auto"&&E.start(I.current||0,K),i&&i(L.current,K)};return w.jsx(b,j({in:u,onEnter:W,onEntered:N,onEntering:$,onExit:D,onExited:A,onExiting:q,addEndListener:Y,nodeRef:L,timeout:x==="auto"?null:x},_,{children:(K,se)=>w.jsx(CCe,j({as:l,className:ke(O.root,a,{entered:O.entered,exited:!u&&P==="0px"&&O.hidden}[K]),style:j({[R?"minWidth":"minHeight"]:P},y),ref:z},se,{ownerState:j({},S,{state:K}),children:w.jsx(TCe,{ownerState:j({},S,{state:K}),className:O.wrapper,ref:k,children:w.jsx(ECe,{ownerState:j({},S,{state:K}),className:O.wrapperInner,children:o})})}))}))});f5.muiSupportAuto=!0;function PCe(t){return We("MuiPaper",t)}Ve("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const MCe=["className","component","elevation","square","variant"],kCe=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return Ue(o,PCe,i)},ACe=we("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(({theme:t,ownerState:e})=>{var n;return j({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow")},!e.square&&{borderRadius:t.shape.borderRadius},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.divider}`},e.variant==="elevation"&&j({boxShadow:(t.vars||t).shadows[e.elevation]},!t.vars&&t.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",QV(e.elevation))}, ${kt("#fff",QV(e.elevation))})`},t.vars&&{backgroundImage:(n=t.vars.overlays)==null?void 0:n[e.elevation]}))}),Ho=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPaper"}),{className:i,component:o="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,c=Ae(r,MCe),u=j({},r,{component:o,elevation:a,square:s,variant:l}),f=kCe(u);return w.jsx(ACe,j({as:o,ownerState:u,className:ke(f.root,i),ref:n},c))});function Vl(t){return typeof t=="string"}function Zm(t,e,n){return t===void 0||Vl(t)?e:j({},e,{ownerState:j({},e.ownerState,n)})}function RCe(t,e,n=(r,i)=>r===i){return t.length===e.length&&t.every((r,i)=>n(r,e[i]))}const ICe={disableDefaultClasses:!1},DCe=M.createContext(ICe);function LCe(t){const{disableDefaultClasses:e}=M.useContext(DCe);return n=>e?"":t(n)}function Nh(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(r=>r.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function vre(t,e,n){return typeof t=="function"?t(e,n):t}function ZV(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function yre(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const h=ke(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),p=j({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=j({},n,i,r);return h.length>0&&(m.className=h),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:void 0}}const a=Nh(j({},i,r)),s=ZV(r),l=ZV(i),c=e(a),u=ke(c==null?void 0:c.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),f=j({},c==null?void 0:c.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),d=j({},c,n,l,s);return u.length>0&&(d.className=u),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:c.ref}}const NCe=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function $r(t){var e;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=t,a=Ae(t,NCe),s=o?{}:vre(r,i),{props:l,internalRef:c}=yre(j({},a,{externalSlotProps:s})),u=Zt(c,s==null?void 0:s.ref,(e=t.additionalProps)==null?void 0:e.ref);return Zm(n,j({},l,{ref:u}),i)}const $Ce=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],FCe=["component","slots","slotProps"],jCe=["component"];function BCe(t,e){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:a,internalForwardedProps:s}=e,l=Ae(e,$Ce),{component:c,slots:u={[t]:void 0},slotProps:f={[t]:void 0}}=o;Ae(o,FCe);const d=u[t]||r,h=vre(f[t],i),p=yre(j({className:n},l,{externalForwardedProps:void 0,externalSlotProps:h})),{props:{component:m},internalRef:g}=p,v=Ae(p.props,jCe),y=Zt(g,h==null?void 0:h.ref,e.ref),x=a?a(v):{},b=j({},i,x),_=m,S=Zm(d,j({},t==="root",!u[t]&&s,v,_&&{as:_},{ref:y}),b);return Object.keys(x).forEach(O=>{delete S[O]}),[d,S]}function zCe(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:a,in:s,onExited:l,timeout:c}=t,[u,f]=M.useState(!1),d=ke(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:a,height:a,top:-(a/2)+o,left:-(a/2)+i},p=ke(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&f(!0),M.useEffect(()=>{if(!s&&l!=null){const m=setTimeout(l,c);return()=>{clearTimeout(m)}}},[l,s,c]),w.jsx("span",{className:d,style:h,children:w.jsx("span",{className:p})})}const Fa=Ve("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),UCe=["center","classes","className"];let GM=t=>t,JV,e8,t8,n8;const $L=550,WCe=80,VCe=Qv(JV||(JV=GM` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),GCe=Qv(e8||(e8=GM` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),HCe=Qv(t8||(t8=GM` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),qCe=we("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),XCe=we(zCe,{name:"MuiTouchRipple",slot:"Ripple"})(n8||(n8=GM` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),Fa.rippleVisible,VCe,$L,({theme:t})=>t.transitions.easing.easeInOut,Fa.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,Fa.child,Fa.childLeaving,GCe,$L,({theme:t})=>t.transitions.easing.easeInOut,Fa.childPulsate,HCe,({theme:t})=>t.transitions.easing.easeInOut),QCe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:a}=r,s=Ae(r,UCe),[l,c]=M.useState([]),u=M.useRef(0),f=M.useRef(null);M.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=M.useRef(!1),h=bf(),p=M.useRef(null),m=M.useRef(null),g=M.useCallback(b=>{const{pulsate:_,rippleX:S,rippleY:O,rippleSize:C,cb:E}=b;c(k=>[...k,w.jsx(XCe,{classes:{ripple:ke(o.ripple,Fa.ripple),rippleVisible:ke(o.rippleVisible,Fa.rippleVisible),ripplePulsate:ke(o.ripplePulsate,Fa.ripplePulsate),child:ke(o.child,Fa.child),childLeaving:ke(o.childLeaving,Fa.childLeaving),childPulsate:ke(o.childPulsate,Fa.childPulsate)},timeout:$L,pulsate:_,rippleX:S,rippleY:O,rippleSize:C},u.current)]),u.current+=1,f.current=E},[o]),v=M.useCallback((b={},_={},S=()=>{})=>{const{pulsate:O=!1,center:C=i||_.pulsate,fakeElement:E=!1}=_;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const k=E?null:m.current,I=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let P,R,T;if(C||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)P=Math.round(I.width/2),R=Math.round(I.height/2);else{const{clientX:L,clientY:z}=b.touches&&b.touches.length>0?b.touches[0]:b;P=Math.round(L-I.left),R=Math.round(z-I.top)}if(C)T=Math.sqrt((2*I.width**2+I.height**2)/3),T%2===0&&(T+=1);else{const L=Math.max(Math.abs((k?k.clientWidth:0)-P),P)*2+2,z=Math.max(Math.abs((k?k.clientHeight:0)-R),R)*2+2;T=Math.sqrt(L**2+z**2)}b!=null&&b.touches?p.current===null&&(p.current=()=>{g({pulsate:O,rippleX:P,rippleY:R,rippleSize:T,cb:S})},h.start(WCe,()=>{p.current&&(p.current(),p.current=null)})):g({pulsate:O,rippleX:P,rippleY:R,rippleSize:T,cb:S})},[i,g,h]),y=M.useCallback(()=>{v({},{pulsate:!0})},[v]),x=M.useCallback((b,_)=>{if(h.clear(),(b==null?void 0:b.type)==="touchend"&&p.current){p.current(),p.current=null,h.start(0,()=>{x(b,_)});return}p.current=null,c(S=>S.length>0?S.slice(1):S),f.current=_},[h]);return M.useImperativeHandle(n,()=>({pulsate:y,start:v,stop:x}),[y,v,x]),w.jsx(qCe,j({className:ke(Fa.root,o.root,a),ref:m},s,{children:w.jsx(D1,{component:null,exit:!0,children:l})}))});function YCe(t){return We("MuiButtonBase",t)}const KCe=Ve("MuiButtonBase",["root","disabled","focusVisible"]),ZCe=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],JCe=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,a=Ue({root:["root",e&&"disabled",n&&"focusVisible"]},YCe,i);return n&&r&&(a.root+=` ${r}`),a},eTe=we("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${KCe.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fs=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:h="a",onBlur:p,onClick:m,onContextMenu:g,onDragLeave:v,onFocus:y,onFocusVisible:x,onKeyDown:b,onKeyUp:_,onMouseDown:S,onMouseLeave:O,onMouseUp:C,onTouchEnd:E,onTouchMove:k,onTouchStart:I,tabIndex:P=0,TouchRippleProps:R,touchRippleRef:T,type:L}=r,z=Ae(r,ZCe),B=M.useRef(null),U=M.useRef(null),W=Zt(U,T),{isFocusVisibleRef:$,onFocus:N,onBlur:D,ref:A}=k1(),[q,Y]=M.useState(!1);c&&q&&Y(!1),M.useImperativeHandle(i,()=>({focusVisible:()=>{Y(!0),B.current.focus()}}),[]);const[K,se]=M.useState(!1);M.useEffect(()=>{se(!0)},[]);const te=K&&!u&&!c;M.useEffect(()=>{q&&d&&!u&&K&&U.current.pulsate()},[u,d,q,K]);function J(V,de,xe=f){return _r(Me=>(de&&de(Me),!xe&&U.current&&U.current[V](Me),!0))}const pe=J("start",S),be=J("stop",g),re=J("stop",v),ve=J("stop",C),F=J("stop",V=>{q&&V.preventDefault(),O&&O(V)}),ce=J("start",I),le=J("stop",E),Q=J("stop",k),X=J("stop",V=>{D(V),$.current===!1&&Y(!1),p&&p(V)},!1),ee=_r(V=>{B.current||(B.current=V.currentTarget),N(V),$.current===!0&&(Y(!0),x&&x(V)),y&&y(V)}),ge=()=>{const V=B.current;return l&&l!=="button"&&!(V.tagName==="A"&&V.href)},ye=M.useRef(!1),H=_r(V=>{d&&!ye.current&&q&&U.current&&V.key===" "&&(ye.current=!0,U.current.stop(V,()=>{U.current.start(V)})),V.target===V.currentTarget&&ge()&&V.key===" "&&V.preventDefault(),b&&b(V),V.target===V.currentTarget&&ge()&&V.key==="Enter"&&!c&&(V.preventDefault(),m&&m(V))}),G=_r(V=>{d&&V.key===" "&&U.current&&q&&!V.defaultPrevented&&(ye.current=!1,U.current.stop(V,()=>{U.current.pulsate(V)})),_&&_(V),m&&V.target===V.currentTarget&&ge()&&V.key===" "&&!V.defaultPrevented&&m(V)});let ie=l;ie==="button"&&(z.href||z.to)&&(ie=h);const he={};ie==="button"?(he.type=L===void 0?"button":L,he.disabled=c):(!z.href&&!z.to&&(he.role="button"),c&&(he["aria-disabled"]=c));const _e=Zt(n,A,B),oe=j({},r,{centerRipple:o,component:l,disabled:c,disableRipple:u,disableTouchRipple:f,focusRipple:d,tabIndex:P,focusVisible:q}),Z=JCe(oe);return w.jsxs(eTe,j({as:ie,className:ke(Z.root,s),ownerState:oe,onBlur:X,onClick:m,onContextMenu:be,onFocus:ee,onKeyDown:H,onKeyUp:G,onMouseDown:pe,onMouseLeave:F,onMouseUp:ve,onDragLeave:re,onTouchEnd:le,onTouchMove:Q,onTouchStart:ce,ref:_e,tabIndex:c?-1:P,type:L},he,z,{children:[a,te?w.jsx(QCe,j({ref:W,center:o},R)):null]}))});function tTe(t){return We("MuiIconButton",t)}const nTe=Ve("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),rTe=["edge","children","className","color","disabled","disableFocusRipple","size"],iTe=t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,a={root:["root",n&&"disabled",r!=="default"&&`color${De(r)}`,i&&`edge${De(i)}`,`size${De(o)}`]};return Ue(a,tTe,e)},oTe=we(fs,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${De(n.color)}`],n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>j({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const r=(n=(t.vars||t).palette)==null?void 0:n[e.color];return j({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&j({color:r==null?void 0:r.main},!e.disableRipple&&{"&:hover":j({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${nTe.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),Ot=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiIconButton"}),{edge:i=!1,children:o,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=r,f=Ae(r,rTe),d=j({},r,{edge:i,color:s,disabled:l,disableFocusRipple:c,size:u}),h=iTe(d);return w.jsx(oTe,j({className:ke(h.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:n},f,{ownerState:d,children:o}))});function aTe(t){return We("MuiTypography",t)}Ve("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const sTe=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],lTe=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=t,s={root:["root",o,t.align!=="inherit"&&`align${De(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Ue(s,aTe,a)},cTe=we("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${De(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>j({margin:0},e.variant==="inherit"&&{font:"inherit"},e.variant!=="inherit"&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),r8={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},uTe={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},fTe=t=>uTe[t]||t,At=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTypography"}),i=fTe(r.color),o=P1(j({},r,{color:i})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:f=!1,variant:d="body1",variantMapping:h=r8}=o,p=Ae(o,sTe),m=j({},o,{align:a,color:i,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:f,variant:d,variantMapping:h}),g=l||(f?"p":h[d]||r8[d])||"span",v=lTe(m);return w.jsx(cTe,j({as:g,ref:n,ownerState:m,className:ke(v.root,s)},p))});function dTe(t){return We("MuiAppBar",t)}Ve("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const hTe=["className","color","enableColorOnDark","position"],pTe=t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${De(e)}`,`position${De(n)}`]};return Ue(i,dTe,r)},rS=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,mTe=we(Ho,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[900];return j({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},e.position==="fixed"&&{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},e.position==="absolute"&&{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},e.position==="sticky"&&{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0},e.position==="static"&&{position:"static"},e.position==="relative"&&{position:"relative"},!t.vars&&j({},e.color==="default"&&{backgroundColor:n,color:t.palette.getContrastText(n)},e.color&&e.color!=="default"&&e.color!=="inherit"&&e.color!=="transparent"&&{backgroundColor:t.palette[e.color].main,color:t.palette[e.color].contrastText},e.color==="inherit"&&{color:"inherit"},t.palette.mode==="dark"&&!e.enableColorOnDark&&{backgroundColor:null,color:null},e.color==="transparent"&&j({backgroundColor:"transparent",color:"inherit"},t.palette.mode==="dark"&&{backgroundImage:"none"})),t.vars&&j({},e.color==="default"&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette.AppBar.defaultBg:rS(t.vars.palette.AppBar.darkBg,t.vars.palette.AppBar.defaultBg),"--AppBar-color":e.enableColorOnDark?t.vars.palette.text.primary:rS(t.vars.palette.AppBar.darkColor,t.vars.palette.text.primary)},e.color&&!e.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":e.enableColorOnDark?t.vars.palette[e.color].main:rS(t.vars.palette.AppBar.darkBg,t.vars.palette[e.color].main),"--AppBar-color":e.enableColorOnDark?t.vars.palette[e.color].contrastText:rS(t.vars.palette.AppBar.darkColor,t.vars.palette[e.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:e.color==="inherit"?"inherit":"var(--AppBar-color)"},e.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),xre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:a=!1,position:s="fixed"}=r,l=Ae(r,hTe),c=j({},r,{color:o,position:s,enableColorOnDark:a}),u=pTe(c);return w.jsx(mTe,j({square:!0,component:"header",ownerState:c,elevation:4,className:ke(u.root,i,s==="fixed"&&"mui-fixed"),ref:n},l))}),bre="base";function gTe(t){return`${bre}--${t}`}function vTe(t,e){return`${bre}-${t}-${e}`}function _re(t,e){const n=Vne[e];return n?gTe(n):vTe(t,e)}function yTe(t,e){const n={};return e.forEach(r=>{n[r]=_re(t,r)}),n}function i8(t){return t.substring(2).toLowerCase()}function xTe(t,e){return e.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const u=Zt(e.ref,s),f=_r(p=>{const m=c.current;c.current=!1;const g=$n(s.current);if(!l.current||!s.current||"clientX"in p&&xTe(p,g))return;if(a.current){a.current=!1;return}let v;p.composedPath?v=p.composedPath().indexOf(s.current)>-1:v=!g.documentElement.contains(p.target)||s.current.contains(p.target),!v&&(n||!m)&&i(p)}),d=p=>m=>{c.current=!0;const g=e.props[p];g&&g(m)},h={ref:u};return o!==!1&&(h[o]=d(o)),M.useEffect(()=>{if(o!==!1){const p=i8(o),m=$n(s.current),g=()=>{a.current=!0};return m.addEventListener(p,f),m.addEventListener("touchmove",g),()=>{m.removeEventListener(p,f),m.removeEventListener("touchmove",g)}}},[f,o]),r!==!1&&(h[r]=d(r)),M.useEffect(()=>{if(r!==!1){const p=i8(r),m=$n(s.current);return m.addEventListener(p,f),()=>{m.removeEventListener(p,f)}}},[f,r]),w.jsx(M.Fragment,{children:M.cloneElement(e,h)})}const _Te=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wTe(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function STe(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function OTe(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||STe(t))}function CTe(t){const e=[],n=[];return Array.from(t.querySelectorAll(_Te)).forEach((r,i)=>{const o=wTe(r);o===-1||!OTe(r)||(o===0?e.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(e)}function TTe(){return!0}function wre(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=CTe,isEnabled:a=TTe,open:s}=t,l=M.useRef(!1),c=M.useRef(null),u=M.useRef(null),f=M.useRef(null),d=M.useRef(null),h=M.useRef(!1),p=M.useRef(null),m=Zt(e.ref,p),g=M.useRef(null);M.useEffect(()=>{!s||!p.current||(h.current=!n)},[n,s]),M.useEffect(()=>{if(!s||!p.current)return;const x=$n(p.current);return p.current.contains(x.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),M.useEffect(()=>{if(!s||!p.current)return;const x=$n(p.current),b=O=>{g.current=O,!(r||!a()||O.key!=="Tab")&&x.activeElement===p.current&&O.shiftKey&&(l.current=!0,u.current&&u.current.focus())},_=()=>{const O=p.current;if(O===null)return;if(!x.hasFocus()||!a()||l.current){l.current=!1;return}if(O.contains(x.activeElement)||r&&x.activeElement!==c.current&&x.activeElement!==u.current)return;if(x.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let C=[];if((x.activeElement===c.current||x.activeElement===u.current)&&(C=o(p.current)),C.length>0){var E,k;const I=!!((E=g.current)!=null&&E.shiftKey&&((k=g.current)==null?void 0:k.key)==="Tab"),P=C[0],R=C[C.length-1];typeof P!="string"&&typeof R!="string"&&(I?R.focus():P.focus())}else O.focus()};x.addEventListener("focusin",_),x.addEventListener("keydown",b,!0);const S=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&_()},50);return()=>{clearInterval(S),x.removeEventListener("focusin",_),x.removeEventListener("keydown",b,!0)}},[n,r,i,a,s,o]);const v=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0,d.current=x.target;const b=e.props.onFocus;b&&b(x)},y=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0};return w.jsxs(M.Fragment,{children:[w.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),M.cloneElement(e,{ref:m,onFocus:v}),w.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:u,"data-testid":"sentinelEnd"})]})}function ETe(t){return typeof t=="function"?t():t}const Sre=M.forwardRef(function(e,n){const{children:r,container:i,disablePortal:o=!1}=e,[a,s]=M.useState(null),l=Zt(M.isValidElement(r)?r.ref:null,n);if(Hr(()=>{o||s(ETe(i)||document.body)},[i,o]),Hr(()=>{if(a&&!o)return CT(n,a),()=>{CT(n,null)}},[n,a,o]),o){if(M.isValidElement(r)){const c={ref:l};return M.cloneElement(r,c)}return w.jsx(M.Fragment,{children:r})}return w.jsx(M.Fragment,{children:a&&qv.createPortal(r,a)})});function PTe(t){const e=$n(t);return e.body===t?cs(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function $x(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function o8(t){return parseInt(cs(t).getComputedStyle(t).paddingRight,10)||0}function MTe(t){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName)!==-1,r=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return n||r}function a8(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,a=>{const s=o.indexOf(a)===-1,l=!MTe(a);s&&l&&$x(a,i)})}function TA(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function kTe(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(PTe(r)){const a=ere($n(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${o8(r)+a}px`;const s=$n(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${o8(l)+a}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=$n(r).body;else{const a=r.parentElement,s=cs(r);o=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:a,property:s})=>{o?a.style.setProperty(s,o):a.style.removeProperty(s)})}}function ATe(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}class RTe{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&$x(e.modalRef,!1);const i=ATe(n);a8(n,e.mount,e.modalRef,i,!0);const o=TA(this.containers,a=>a.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=TA(this.containers,o=>o.modals.indexOf(e)!==-1),i=this.containers[r];i.restore||(i.restore=kTe(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=TA(this.containers,a=>a.modals.indexOf(e)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&$x(e.modalRef,n),a8(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const a=o.modals[o.modals.length-1];a.modalRef&&$x(a.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}function ITe(t){return typeof t=="function"?t():t}function DTe(t){return t?t.props.hasOwnProperty("in"):!1}const LTe=new RTe;function NTe(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=LTe,closeAfterTransition:o=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:f}=t,d=M.useRef({}),h=M.useRef(null),p=M.useRef(null),m=Zt(p,f),[g,v]=M.useState(!u),y=DTe(l);let x=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(x=!1);const b=()=>$n(h.current),_=()=>(d.current.modalRef=p.current,d.current.mount=h.current,d.current),S=()=>{i.mount(_(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},O=_r(()=>{const z=ITe(e)||b().body;i.add(_(),z),p.current&&S()}),C=M.useCallback(()=>i.isTopModal(_()),[i]),E=_r(z=>{h.current=z,z&&(u&&C()?S():p.current&&$x(p.current,x))}),k=M.useCallback(()=>{i.remove(_(),x)},[x,i]);M.useEffect(()=>()=>{k()},[k]),M.useEffect(()=>{u?O():(!y||!o)&&k()},[u,k,y,o,O]);const I=z=>B=>{var U;(U=z.onKeyDown)==null||U.call(z,B),!(B.key!=="Escape"||B.which===229||!C())&&(n||(B.stopPropagation(),c&&c(B,"escapeKeyDown")))},P=z=>B=>{var U;(U=z.onClick)==null||U.call(z,B),B.target===B.currentTarget&&c&&c(B,"backdropClick")};return{getRootProps:(z={})=>{const B=Nh(t);delete B.onTransitionEnter,delete B.onTransitionExited;const U=j({},B,z);return j({role:"presentation"},U,{onKeyDown:I(U),ref:m})},getBackdropProps:(z={})=>{const B=z;return j({"aria-hidden":!0},B,{onClick:P(B),open:u})},getTransitionProps:()=>{const z=()=>{v(!1),a&&a()},B=()=>{v(!0),s&&s(),o&&k()};return{onEnter:OT(z,l==null?void 0:l.props.onEnter),onExited:OT(B,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:E,isTopModal:C,exited:g,hasTransition:y}}var No="top",ds="bottom",hs="right",$o="left",d5="auto",L1=[No,ds,hs,$o],Qg="start",Rb="end",$Te="clippingParents",Ore="viewport",f0="popper",FTe="reference",s8=L1.reduce(function(t,e){return t.concat([e+"-"+Qg,e+"-"+Rb])},[]),Cre=[].concat(L1,[d5]).reduce(function(t,e){return t.concat([e,e+"-"+Qg,e+"-"+Rb])},[]),jTe="beforeRead",BTe="read",zTe="afterRead",UTe="beforeMain",WTe="main",VTe="afterMain",GTe="beforeWrite",HTe="write",qTe="afterWrite",XTe=[jTe,BTe,zTe,UTe,WTe,VTe,GTe,HTe,qTe];function Jl(t){return t?(t.nodeName||"").toLowerCase():null}function Sa(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Jh(t){var e=Sa(t).Element;return t instanceof e||t instanceof Element}function es(t){var e=Sa(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function h5(t){if(typeof ShadowRoot>"u")return!1;var e=Sa(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function QTe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!es(o)||!Jl(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function YTe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!es(i)||!Jl(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const KTe={name:"applyStyles",enabled:!0,phase:"write",fn:QTe,effect:YTe,requires:["computeStyles"]};function Gl(t){return t.split("-")[0]}var $h=Math.max,MT=Math.min,Yg=Math.round;function FL(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Tre(){return!/^((?!chrome|android).)*safari/i.test(FL())}function Kg(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&es(t)&&(i=t.offsetWidth>0&&Yg(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Yg(r.height)/t.offsetHeight||1);var a=Jh(t)?Sa(t):window,s=a.visualViewport,l=!Tre()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,u=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function p5(t){var e=Kg(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Ere(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&h5(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function du(t){return Sa(t).getComputedStyle(t)}function ZTe(t){return["table","td","th"].indexOf(Jl(t))>=0}function md(t){return((Jh(t)?t.ownerDocument:t.document)||window.document).documentElement}function HM(t){return Jl(t)==="html"?t:t.assignedSlot||t.parentNode||(h5(t)?t.host:null)||md(t)}function l8(t){return!es(t)||du(t).position==="fixed"?null:t.offsetParent}function JTe(t){var e=/firefox/i.test(FL()),n=/Trident/i.test(FL());if(n&&es(t)){var r=du(t);if(r.position==="fixed")return null}var i=HM(t);for(h5(i)&&(i=i.host);es(i)&&["html","body"].indexOf(Jl(i))<0;){var o=du(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function N1(t){for(var e=Sa(t),n=l8(t);n&&ZTe(n)&&du(n).position==="static";)n=l8(n);return n&&(Jl(n)==="html"||Jl(n)==="body"&&du(n).position==="static")?e:n||JTe(t)||e}function m5(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Fx(t,e,n){return $h(t,MT(e,n))}function eEe(t,e,n){var r=Fx(t,e,n);return r>n?n:r}function Pre(){return{top:0,right:0,bottom:0,left:0}}function Mre(t){return Object.assign({},Pre(),t)}function kre(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var tEe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Mre(typeof e!="number"?e:kre(e,L1))};function nEe(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Gl(n.placement),l=m5(s),c=[$o,hs].indexOf(s)>=0,u=c?"height":"width";if(!(!o||!a)){var f=tEe(i.padding,n),d=p5(o),h=l==="y"?No:$o,p=l==="y"?ds:hs,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],v=N1(o),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,x=m/2-g/2,b=f[h],_=y-d[u]-f[p],S=y/2-d[u]/2+x,O=Fx(b,S,_),C=l;n.modifiersData[r]=(e={},e[C]=O,e.centerOffset=O-S,e)}}function rEe(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Ere(e.elements.popper,i)&&(e.elements.arrow=i))}const iEe={name:"arrow",enabled:!0,phase:"main",fn:nEe,effect:rEe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Zg(t){return t.split("-")[1]}var oEe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function aEe(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Yg(n*i)/i||0,y:Yg(r*i)/i||0}}function c8(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,m=p===void 0?0:p,g=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),x=$o,b=No,_=window;if(c){var S=N1(n),O="clientHeight",C="clientWidth";if(S===Sa(n)&&(S=md(n),du(S).position!=="static"&&s==="absolute"&&(O="scrollHeight",C="scrollWidth")),S=S,i===No||(i===$o||i===hs)&&o===Rb){b=ds;var E=f&&S===_&&_.visualViewport?_.visualViewport.height:S[O];m-=E-r.height,m*=l?1:-1}if(i===$o||(i===No||i===ds)&&o===Rb){x=hs;var k=f&&S===_&&_.visualViewport?_.visualViewport.width:S[C];h-=k-r.width,h*=l?1:-1}}var I=Object.assign({position:s},c&&oEe),P=u===!0?aEe({x:h,y:m},Sa(n)):{x:h,y:m};if(h=P.x,m=P.y,l){var R;return Object.assign({},I,(R={},R[b]=y?"0":"",R[x]=v?"0":"",R.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",R))}return Object.assign({},I,(e={},e[b]=y?m+"px":"",e[x]=v?h+"px":"",e.transform="",e))}function sEe(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Gl(e.placement),variation:Zg(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,c8(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,c8(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const lEe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:sEe,data:{}};var iS={passive:!0};function cEe(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Sa(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,iS)}),s&&l.addEventListener("resize",n.update,iS),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,iS)}),s&&l.removeEventListener("resize",n.update,iS)}}const uEe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cEe,data:{}};var fEe={left:"right",right:"left",bottom:"top",top:"bottom"};function PC(t){return t.replace(/left|right|bottom|top/g,function(e){return fEe[e]})}var dEe={start:"end",end:"start"};function u8(t){return t.replace(/start|end/g,function(e){return dEe[e]})}function g5(t){var e=Sa(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function v5(t){return Kg(md(t)).left+g5(t).scrollLeft}function hEe(t,e){var n=Sa(t),r=md(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Tre();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+v5(t),y:l}}function pEe(t){var e,n=md(t),r=g5(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=$h(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=$h(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+v5(t),l=-r.scrollTop;return du(i||n).direction==="rtl"&&(s+=$h(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function y5(t){var e=du(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Are(t){return["html","body","#document"].indexOf(Jl(t))>=0?t.ownerDocument.body:es(t)&&y5(t)?t:Are(HM(t))}function jx(t,e){var n;e===void 0&&(e=[]);var r=Are(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Sa(r),a=i?[o].concat(o.visualViewport||[],y5(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(jx(HM(a)))}function jL(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function mEe(t,e){var n=Kg(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function f8(t,e,n){return e===Ore?jL(hEe(t,n)):Jh(e)?mEe(e,n):jL(pEe(md(t)))}function gEe(t){var e=jx(HM(t)),n=["absolute","fixed"].indexOf(du(t).position)>=0,r=n&&es(t)?N1(t):t;return Jh(r)?e.filter(function(i){return Jh(i)&&Ere(i,r)&&Jl(i)!=="body"}):[]}function vEe(t,e,n,r){var i=e==="clippingParents"?gEe(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var u=f8(t,c,r);return l.top=$h(u.top,l.top),l.right=MT(u.right,l.right),l.bottom=MT(u.bottom,l.bottom),l.left=$h(u.left,l.left),l},f8(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Rre(t){var e=t.reference,n=t.element,r=t.placement,i=r?Gl(r):null,o=r?Zg(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case No:l={x:a,y:e.y-n.height};break;case ds:l={x:a,y:e.y+e.height};break;case hs:l={x:e.x+e.width,y:s};break;case $o:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?m5(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Qg:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Rb:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Ib(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?$Te:s,c=n.rootBoundary,u=c===void 0?Ore:c,f=n.elementContext,d=f===void 0?f0:f,h=n.altBoundary,p=h===void 0?!1:h,m=n.padding,g=m===void 0?0:m,v=Mre(typeof g!="number"?g:kre(g,L1)),y=d===f0?FTe:f0,x=t.rects.popper,b=t.elements[p?y:d],_=vEe(Jh(b)?b:b.contextElement||md(t.elements.popper),l,u,a),S=Kg(t.elements.reference),O=Rre({reference:S,element:x,strategy:"absolute",placement:i}),C=jL(Object.assign({},x,O)),E=d===f0?C:S,k={top:_.top-E.top+v.top,bottom:E.bottom-_.bottom+v.bottom,left:_.left-E.left+v.left,right:E.right-_.right+v.right},I=t.modifiersData.offset;if(d===f0&&I){var P=I[i];Object.keys(k).forEach(function(R){var T=[hs,ds].indexOf(R)>=0?1:-1,L=[No,ds].indexOf(R)>=0?"y":"x";k[R]+=P[L]*T})}return k}function yEe(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Cre:l,u=Zg(r),f=u?s?s8:s8.filter(function(p){return Zg(p)===u}):L1,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=Ib(t,{placement:m,boundary:i,rootBoundary:o,padding:a})[Gl(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function xEe(t){if(Gl(t)===d5)return[];var e=PC(t);return[u8(t),e,u8(e)]}function bEe(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,m=n.allowedAutoPlacements,g=e.options.placement,v=Gl(g),y=v===g,x=l||(y||!p?[PC(g)]:xEe(g)),b=[g].concat(x).reduce(function(q,Y){return q.concat(Gl(Y)===d5?yEe(e,{placement:Y,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):Y)},[]),_=e.rects.reference,S=e.rects.popper,O=new Map,C=!0,E=b[0],k=0;k=0,L=T?"width":"height",z=Ib(e,{placement:I,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),B=T?R?hs:$o:R?ds:No;_[L]>S[L]&&(B=PC(B));var U=PC(B),W=[];if(o&&W.push(z[P]<=0),s&&W.push(z[B]<=0,z[U]<=0),W.every(function(q){return q})){E=I,C=!1;break}O.set(I,W)}if(C)for(var $=p?3:1,N=function(Y){var K=b.find(function(se){var te=O.get(se);if(te)return te.slice(0,Y).every(function(J){return J})});if(K)return E=K,"break"},D=$;D>0;D--){var A=N(D);if(A==="break")break}e.placement!==E&&(e.modifiersData[r]._skip=!0,e.placement=E,e.reset=!0)}}const _Ee={name:"flip",enabled:!0,phase:"main",fn:bEe,requiresIfExists:["offset"],data:{_skip:!1}};function d8(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function h8(t){return[No,hs,ds,$o].some(function(e){return t[e]>=0})}function wEe(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=Ib(e,{elementContext:"reference"}),s=Ib(e,{altBoundary:!0}),l=d8(a,r),c=d8(s,i,o),u=h8(l),f=h8(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const SEe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wEe};function OEe(t,e,n){var r=Gl(t),i=[$o,No].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[$o,hs].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function CEe(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Cre.reduce(function(u,f){return u[f]=OEe(f,e.rects,o),u},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}const TEe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CEe};function EEe(t){var e=t.state,n=t.name;e.modifiersData[n]=Rre({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const PEe={name:"popperOffsets",enabled:!0,phase:"read",fn:EEe,data:{}};function MEe(t){return t==="x"?"y":"x"}function kEe(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,m=p===void 0?0:p,g=Ib(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),v=Gl(e.placement),y=Zg(e.placement),x=!y,b=m5(v),_=MEe(b),S=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,E=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,k=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,P={x:0,y:0};if(S){if(o){var R,T=b==="y"?No:$o,L=b==="y"?ds:hs,z=b==="y"?"height":"width",B=S[b],U=B+g[T],W=B-g[L],$=h?-C[z]/2:0,N=y===Qg?O[z]:C[z],D=y===Qg?-C[z]:-O[z],A=e.elements.arrow,q=h&&A?p5(A):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Pre(),K=Y[T],se=Y[L],te=Fx(0,O[z],q[z]),J=x?O[z]/2-$-te-K-k.mainAxis:N-te-K-k.mainAxis,pe=x?-O[z]/2+$+te+se+k.mainAxis:D+te+se+k.mainAxis,be=e.elements.arrow&&N1(e.elements.arrow),re=be?b==="y"?be.clientTop||0:be.clientLeft||0:0,ve=(R=I==null?void 0:I[b])!=null?R:0,F=B+J-ve-re,ce=B+pe-ve,le=Fx(h?MT(U,F):U,B,h?$h(W,ce):W);S[b]=le,P[b]=le-B}if(s){var Q,X=b==="x"?No:$o,ee=b==="x"?ds:hs,ge=S[_],ye=_==="y"?"height":"width",H=ge+g[X],G=ge-g[ee],ie=[No,$o].indexOf(v)!==-1,he=(Q=I==null?void 0:I[_])!=null?Q:0,_e=ie?H:ge-O[ye]-C[ye]-he+k.altAxis,oe=ie?ge+O[ye]+C[ye]-he-k.altAxis:G,Z=h&&ie?eEe(_e,ge,oe):Fx(h?_e:H,ge,h?oe:G);S[_]=Z,P[_]=Z-ge}e.modifiersData[r]=P}}const AEe={name:"preventOverflow",enabled:!0,phase:"main",fn:kEe,requiresIfExists:["offset"]};function REe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function IEe(t){return t===Sa(t)||!es(t)?g5(t):REe(t)}function DEe(t){var e=t.getBoundingClientRect(),n=Yg(e.width)/t.offsetWidth||1,r=Yg(e.height)/t.offsetHeight||1;return n!==1||r!==1}function LEe(t,e,n){n===void 0&&(n=!1);var r=es(e),i=es(e)&&DEe(e),o=md(e),a=Kg(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Jl(e)!=="body"||y5(o))&&(s=IEe(e)),es(e)?(l=Kg(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=v5(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function NEe(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function $Ee(t){var e=NEe(t);return XTe.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function FEe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function jEe(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var p8={placement:"bottom",modifiers:[],strategy:"absolute"};function m8(){for(var t=arguments.length,e=new Array(t),n=0;nUe({root:["root"]},LCe(WEe)),QEe={},YEe=M.forwardRef(function(e,n){var r;const{anchorEl:i,children:o,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:f,popperRef:d,slotProps:h={},slots:p={},TransitionProps:m}=e,g=Ae(e,VEe),v=M.useRef(null),y=Zt(v,n),x=M.useRef(null),b=Zt(x,d),_=M.useRef(b);Hr(()=>{_.current=b},[b]),M.useImperativeHandle(d,()=>x.current,[]);const S=HEe(u,a),[O,C]=M.useState(S),[E,k]=M.useState(BL(i));M.useEffect(()=>{x.current&&x.current.forceUpdate()}),M.useEffect(()=>{i&&k(BL(i))},[i]),Hr(()=>{if(!E||!c)return;const L=U=>{C(U.placement)};let z=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:U})=>{L(U)}}];l!=null&&(z=z.concat(l)),f&&f.modifiers!=null&&(z=z.concat(f.modifiers));const B=UEe(E,v.current,j({placement:S},f,{modifiers:z}));return _.current(B),()=>{B.destroy(),_.current(null)}},[E,s,l,c,f,S]);const I={placement:O};m!==null&&(I.TransitionProps=m);const P=XEe(),R=(r=p.root)!=null?r:"div",T=$r({elementType:R,externalSlotProps:h.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:P.root});return w.jsx(R,j({},T,{children:typeof o=="function"?o(I):o}))}),KEe=M.forwardRef(function(e,n){const{anchorEl:r,children:i,container:o,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:f="bottom",popperOptions:d=QEe,popperRef:h,style:p,transition:m=!1,slotProps:g={},slots:v={}}=e,y=Ae(e,GEe),[x,b]=M.useState(!0),_=()=>{b(!1)},S=()=>{b(!0)};if(!l&&!u&&(!m||x))return null;let O;if(o)O=o;else if(r){const k=BL(r);O=k&&qEe(k)?$n(k).body:$n(null).body}const C=!u&&l&&(!m||x)?"none":void 0,E=m?{in:u,onEnter:_,onExited:S}:void 0;return w.jsx(Sre,{disablePortal:s,container:O,children:w.jsx(YEe,j({anchorEl:r,direction:a,disablePortal:s,modifiers:c,ref:n,open:m?!x:u,placement:f,popperOptions:d,popperRef:h,slotProps:g,slots:v},y,{style:j({position:"fixed",top:0,left:0,display:C},p),TransitionProps:E,children:i}))})}),ZEe=2;function Dre(t,e){return t-e}function g8(t,e){var n;const{index:r}=(n=t.reduce((i,o,a)=>{const s=Math.abs(e-o);return i===null||s({left:`${t}%`}),leap:t=>({width:`${t}%`})},"horizontal-reverse":{offset:t=>({right:`${t}%`}),leap:t=>({width:`${t}%`})},vertical:{offset:t=>({bottom:`${t}%`}),leap:t=>({height:`${t}%`})}},rPe=t=>t;let lS;function y8(){return lS===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?lS=CSS.supports("touch-action","none"):lS=!0),lS}function iPe(t){const{"aria-labelledby":e,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:a=!1,max:s=100,min:l=0,name:c,onChange:u,onChangeCommitted:f,orientation:d="horizontal",rootRef:h,scale:p=rPe,step:m=1,shiftStep:g=10,tabIndex:v,value:y}=t,x=M.useRef(),[b,_]=M.useState(-1),[S,O]=M.useState(-1),[C,E]=M.useState(!1),k=M.useRef(0),[I,P]=Qs({controlled:y,default:n??l,name:"Slider"}),R=u&&((Z,V,de)=>{const xe=Z.nativeEvent||Z,Me=new xe.constructor(xe.type,xe);Object.defineProperty(Me,"target",{writable:!0,value:{value:V,name:c}}),u(Me,V,de)}),T=Array.isArray(I);let L=T?I.slice().sort(Dre):[I];L=L.map(Z=>Z==null?l:ah(Z,l,s));const z=a===!0&&m!==null?[...Array(Math.floor((s-l)/m)+1)].map((Z,V)=>({value:l+m*V})):a||[],B=z.map(Z=>Z.value),{isFocusVisibleRef:U,onBlur:W,onFocus:$,ref:N}=k1(),[D,A]=M.useState(-1),q=M.useRef(),Y=Zt(N,q),K=Zt(h,Y),se=Z=>V=>{var de;const xe=Number(V.currentTarget.getAttribute("data-index"));$(V),U.current===!0&&A(xe),O(xe),Z==null||(de=Z.onFocus)==null||de.call(Z,V)},te=Z=>V=>{var de;W(V),U.current===!1&&A(-1),O(-1),Z==null||(de=Z.onBlur)==null||de.call(Z,V)},J=(Z,V)=>{const de=Number(Z.currentTarget.getAttribute("data-index")),xe=L[de],Me=B.indexOf(xe);let me=V;if(z&&m==null){const $e=B[B.length-1];me>$e?me=$e:meV=>{var de;if(m!==null){const xe=Number(V.currentTarget.getAttribute("data-index")),Me=L[xe];let me=null;(V.key==="ArrowLeft"||V.key==="ArrowDown")&&V.shiftKey||V.key==="PageDown"?me=Math.max(Me-g,l):((V.key==="ArrowRight"||V.key==="ArrowUp")&&V.shiftKey||V.key==="PageUp")&&(me=Math.min(Me+g,s)),me!==null&&(J(V,me),V.preventDefault())}Z==null||(de=Z.onKeyDown)==null||de.call(Z,V)};Hr(()=>{if(r&&q.current.contains(document.activeElement)){var Z;(Z=document.activeElement)==null||Z.blur()}},[r]),r&&b!==-1&&_(-1),r&&D!==-1&&A(-1);const be=Z=>V=>{var de;(de=Z.onChange)==null||de.call(Z,V),J(V,V.target.valueAsNumber)},re=M.useRef();let ve=d;o&&d==="horizontal"&&(ve+="-reverse");const F=({finger:Z,move:V=!1})=>{const{current:de}=q,{width:xe,height:Me,bottom:me,left:$e}=de.getBoundingClientRect();let Te;ve.indexOf("vertical")===0?Te=(me-Z.y)/Me:Te=(Z.x-$e)/xe,ve.indexOf("-reverse")!==-1&&(Te=1-Te);let Re;if(Re=JEe(Te,l,s),m)Re=tPe(Re,m,l);else{const Le=g8(B,Re);Re=B[Le]}Re=ah(Re,l,s);let ae=0;if(T){V?ae=re.current:ae=g8(L,Re),i&&(Re=ah(Re,L[ae-1]||-1/0,L[ae+1]||1/0));const Le=Re;Re=v8({values:L,newValue:Re,index:ae}),i&&V||(ae=Re.indexOf(Le),re.current=ae)}return{newValue:Re,activeIndex:ae}},ce=_r(Z=>{const V=oS(Z,x);if(!V)return;if(k.current+=1,Z.type==="mousemove"&&Z.buttons===0){le(Z);return}const{newValue:de,activeIndex:xe}=F({finger:V,move:!0});aS({sliderRef:q,activeIndex:xe,setActive:_}),P(de),!C&&k.current>ZEe&&E(!0),R&&!sS(de,I)&&R(Z,de,xe)}),le=_r(Z=>{const V=oS(Z,x);if(E(!1),!V)return;const{newValue:de}=F({finger:V,move:!0});_(-1),Z.type==="touchend"&&O(-1),f&&f(Z,de),x.current=void 0,X()}),Q=_r(Z=>{if(r)return;y8()||Z.preventDefault();const V=Z.changedTouches[0];V!=null&&(x.current=V.identifier);const de=oS(Z,x);if(de!==!1){const{newValue:Me,activeIndex:me}=F({finger:de});aS({sliderRef:q,activeIndex:me,setActive:_}),P(Me),R&&!sS(Me,I)&&R(Z,Me,me)}k.current=0;const xe=$n(q.current);xe.addEventListener("touchmove",ce,{passive:!0}),xe.addEventListener("touchend",le,{passive:!0})}),X=M.useCallback(()=>{const Z=$n(q.current);Z.removeEventListener("mousemove",ce),Z.removeEventListener("mouseup",le),Z.removeEventListener("touchmove",ce),Z.removeEventListener("touchend",le)},[le,ce]);M.useEffect(()=>{const{current:Z}=q;return Z.addEventListener("touchstart",Q,{passive:y8()}),()=>{Z.removeEventListener("touchstart",Q),X()}},[X,Q]),M.useEffect(()=>{r&&X()},[r,X]);const ee=Z=>V=>{var de;if((de=Z.onMouseDown)==null||de.call(Z,V),r||V.defaultPrevented||V.button!==0)return;V.preventDefault();const xe=oS(V,x);if(xe!==!1){const{newValue:me,activeIndex:$e}=F({finger:xe});aS({sliderRef:q,activeIndex:$e,setActive:_}),P(me),R&&!sS(me,I)&&R(V,me,$e)}k.current=0;const Me=$n(q.current);Me.addEventListener("mousemove",ce,{passive:!0}),Me.addEventListener("mouseup",le)},ge=kT(T?L[0]:l,l,s),ye=kT(L[L.length-1],l,s)-ge,H=(Z={})=>{const V=Nh(Z),de={onMouseDown:ee(V||{})},xe=j({},V,de);return j({},Z,{ref:K},xe)},G=Z=>V=>{var de;(de=Z.onMouseOver)==null||de.call(Z,V);const xe=Number(V.currentTarget.getAttribute("data-index"));O(xe)},ie=Z=>V=>{var de;(de=Z.onMouseLeave)==null||de.call(Z,V),O(-1)};return{active:b,axis:ve,axisProps:nPe,dragging:C,focusedThumbIndex:D,getHiddenInputProps:(Z={})=>{var V;const de=Nh(Z),xe={onChange:be(de||{}),onFocus:se(de||{}),onBlur:te(de||{}),onKeyDown:pe(de||{})},Me=j({},de,xe);return j({tabIndex:v,"aria-labelledby":e,"aria-orientation":d,"aria-valuemax":p(s),"aria-valuemin":p(l),name:c,type:"range",min:t.min,max:t.max,step:t.step===null&&t.marks?"any":(V=t.step)!=null?V:void 0,disabled:r},Z,Me,{style:j({},$Se,{direction:o?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:H,getThumbProps:(Z={})=>{const V=Nh(Z),de={onMouseOver:G(V||{}),onMouseLeave:ie(V||{})};return j({},Z,V,de)},marks:z,open:S,range:T,rootRef:K,trackLeap:ye,trackOffset:ge,values:L,getThumbStyle:Z=>({pointerEvents:b!==-1&&b!==Z?"none":void 0})}}function oPe(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=t,a=bf();M.useEffect(()=>{if(!i)return;function v(y){y.defaultPrevented||(y.key==="Escape"||y.key==="Esc")&&(r==null||r(y,"escapeKeyDown"))}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[i,r]);const s=_r((v,y)=>{r==null||r(v,y)}),l=_r(v=>{!r||v==null||a.start(v,()=>{s(null,"timeout")})});M.useEffect(()=>(i&&l(e),a.clear),[i,e,l,a]);const c=v=>{r==null||r(v,"clickaway")},u=a.clear,f=M.useCallback(()=>{e!=null&&l(o??e*.5)},[e,o,l]),d=v=>y=>{const x=v.onBlur;x==null||x(y),f()},h=v=>y=>{const x=v.onFocus;x==null||x(y),u()},p=v=>y=>{const x=v.onMouseEnter;x==null||x(y),u()},m=v=>y=>{const x=v.onMouseLeave;x==null||x(y),f()};return M.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[n,i,f,u]),{getRootProps:(v={})=>{const y=j({},Nh(t),Nh(v));return j({role:"presentation"},v,y,{onBlur:d(y),onFocus:h(y),onMouseEnter:p(y),onMouseLeave:m(y)})},onClickAway:c}}const aPe=["onChange","maxRows","minRows","style","value"];function cS(t){return parseInt(t,10)||0}const sPe={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function lPe(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const cPe=M.forwardRef(function(e,n){const{onChange:r,maxRows:i,minRows:o=1,style:a,value:s}=e,l=Ae(e,aPe),{current:c}=M.useRef(s!=null),u=M.useRef(null),f=Zt(n,u),d=M.useRef(null),h=M.useCallback(()=>{const g=u.current,y=cs(g).getComputedStyle(g);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const x=d.current;x.style.width=y.width,x.value=g.value||e.placeholder||"x",x.value.slice(-1)===` -`&&(x.value+=" ");const b=y.boxSizing,_=cS(y.paddingBottom)+cS(y.paddingTop),S=cS(y.borderBottomWidth)+cS(y.borderTopWidth),O=x.scrollHeight;x.value="x";const C=x.scrollHeight;let E=O;o&&(E=Math.max(Number(o)*C,E)),i&&(E=Math.min(Number(i)*C,E)),E=Math.max(E,C);const k=E+(b==="border-box"?_+S:0),I=Math.abs(E-O)<=1;return{outerHeightStyle:k,overflowing:I}},[i,o,e.placeholder]),p=M.useCallback(()=>{const g=h();if(lPe(g))return;const v=u.current;v.style.height=`${g.outerHeightStyle}px`,v.style.overflow=g.overflowing?"hidden":""},[h]);Hr(()=>{const g=()=>{p()};let v;const y=Kv(g),x=u.current,b=cs(x);b.addEventListener("resize",y);let _;return typeof ResizeObserver<"u"&&(_=new ResizeObserver(g),_.observe(x)),()=>{y.clear(),cancelAnimationFrame(v),b.removeEventListener("resize",y),_&&_.disconnect()}},[h,p]),Hr(()=>{p()});const m=g=>{c||p(),r&&r(g)};return w.jsxs(M.Fragment,{children:[w.jsx("textarea",j({value:s,onChange:m,ref:f,rows:o,style:a},l)),w.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:j({},sPe.shadow,a,{paddingTop:0,paddingBottom:0})})]})});var x5={};Object.defineProperty(x5,"__esModule",{value:!0});var Lre=x5.default=void 0,uPe=dPe(M),fPe=hre;function Nre(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(Nre=function(r){return r?n:e})(t)}function dPe(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=Nre(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function hPe(t){return Object.keys(t).length===0}function pPe(t=null){const e=uPe.useContext(fPe.ThemeContext);return!e||hPe(e)?t:e}Lre=x5.default=pPe;const mPe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],gPe=we(KEe,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),b5=M.forwardRef(function(e,n){var r;const i=Lre(),o=qe({props:e,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:m,popperOptions:g,popperRef:v,transition:y,slots:x,slotProps:b}=o,_=Ae(o,mPe),S=(r=x==null?void 0:x.root)!=null?r:l==null?void 0:l.Root,O=j({anchorEl:a,container:u,disablePortal:f,keepMounted:d,modifiers:h,open:p,placement:m,popperOptions:g,popperRef:v,transition:y},_);return w.jsx(gPe,j({as:s,direction:i==null?void 0:i.direction,slots:{root:S},slotProps:b??c},O,{ref:n}))}),vPe=ni(w.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function yPe(t){return We("MuiChip",t)}const fn=Ve("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),xPe=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],bPe=t=>{const{classes:e,disabled:n,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=t,c={root:["root",l,n&&"disabled",`size${De(r)}`,`color${De(i)}`,s&&"clickable",s&&`clickableColor${De(i)}`,a&&"deletable",a&&`deletableColor${De(i)}`,`${l}${De(i)}`],label:["label",`label${De(r)}`],avatar:["avatar",`avatar${De(r)}`,`avatarColor${De(i)}`],icon:["icon",`icon${De(r)}`,`iconColor${De(o)}`],deleteIcon:["deleteIcon",`deleteIcon${De(r)}`,`deleteIconColor${De(i)}`,`deleteIcon${De(l)}Color${De(i)}`]};return Ue(c,yPe,e)},_Pe=we("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${fn.avatar}`]:e.avatar},{[`& .${fn.avatar}`]:e[`avatar${De(s)}`]},{[`& .${fn.avatar}`]:e[`avatarColor${De(r)}`]},{[`& .${fn.icon}`]:e.icon},{[`& .${fn.icon}`]:e[`icon${De(s)}`]},{[`& .${fn.icon}`]:e[`iconColor${De(i)}`]},{[`& .${fn.deleteIcon}`]:e.deleteIcon},{[`& .${fn.deleteIcon}`]:e[`deleteIcon${De(s)}`]},{[`& .${fn.deleteIcon}`]:e[`deleteIconColor${De(r)}`]},{[`& .${fn.deleteIcon}`]:e[`deleteIcon${De(l)}Color${De(r)}`]},e.root,e[`size${De(s)}`],e[`color${De(r)}`],o&&e.clickable,o&&r!=="default"&&e[`clickableColor${De(r)})`],a&&e.deletable,a&&r!=="default"&&e[`deletableColor${De(r)}`],e[l],e[`${l}${De(r)}`]]}})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return j({maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${fn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${fn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:n,fontSize:t.typography.pxToRem(12)},[`& .${fn.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${fn.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${fn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${fn.icon}`]:j({marginLeft:5,marginRight:-6},e.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},e.iconColor===e.color&&j({color:t.vars?t.vars.palette.Chip.defaultIconColor:n},e.color!=="default"&&{color:"inherit"})),[`& .${fn.deleteIcon}`]:j({WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:kt(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:kt(t.palette.text.primary,.4)}},e.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},e.color!=="default"&&{color:t.vars?`rgba(${t.vars.palette[e.color].contrastTextChannel} / 0.7)`:kt(t.palette[e.color].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].contrastText}})},e.size==="small"&&{height:24},e.color!=="default"&&{backgroundColor:(t.vars||t).palette[e.color].main,color:(t.vars||t).palette[e.color].contrastText},e.onDelete&&{[`&.${fn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},e.onDelete&&e.color!=="default"&&{[`&.${fn.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}})},({theme:t,ownerState:e})=>j({},e.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${fn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}},e.clickable&&e.color!=="default"&&{[`&:hover, &.${fn.focusVisible}`]:{backgroundColor:(t.vars||t).palette[e.color].dark}}),({theme:t,ownerState:e})=>j({},e.variant==="outlined"&&{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${fn.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${fn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${fn.avatar}`]:{marginLeft:4},[`& .${fn.avatarSmall}`]:{marginLeft:2},[`& .${fn.icon}`]:{marginLeft:4},[`& .${fn.iconSmall}`]:{marginLeft:2},[`& .${fn.deleteIcon}`]:{marginRight:5},[`& .${fn.deleteIconSmall}`]:{marginRight:3}},e.variant==="outlined"&&e.color!=="default"&&{color:(t.vars||t).palette[e.color].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:kt(t.palette[e.color].main,.7)}`,[`&.${fn.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity)},[`&.${fn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.focusOpacity})`:kt(t.palette[e.color].main,t.palette.action.focusOpacity)},[`& .${fn.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / 0.7)`:kt(t.palette[e.color].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[e.color].main}}})),wPe=we("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:r}=n;return[e.label,e[`label${De(r)}`]]}})(({ownerState:t})=>j({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},t.variant==="outlined"&&{paddingLeft:11,paddingRight:11},t.size==="small"&&{paddingLeft:8,paddingRight:8},t.size==="small"&&t.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function x8(t){return t.key==="Backspace"||t.key==="Delete"}const SPe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiChip"}),{avatar:i,className:o,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:f,label:d,onClick:h,onDelete:p,onKeyDown:m,onKeyUp:g,size:v="medium",variant:y="filled",tabIndex:x,skipFocusWhenDisabled:b=!1}=r,_=Ae(r,xPe),S=M.useRef(null),O=Zt(S,n),C=W=>{W.stopPropagation(),p&&p(W)},E=W=>{W.currentTarget===W.target&&x8(W)&&W.preventDefault(),m&&m(W)},k=W=>{W.currentTarget===W.target&&(p&&x8(W)?p(W):W.key==="Escape"&&S.current&&S.current.blur()),g&&g(W)},I=a!==!1&&h?!0:a,P=I||p?fs:l||"div",R=j({},r,{component:P,disabled:u,size:v,color:s,iconColor:M.isValidElement(f)&&f.props.color||s,onDelete:!!p,clickable:I,variant:y}),T=bPe(R),L=P===fs?j({component:l||"div",focusVisibleClassName:T.focusVisible},p&&{disableRipple:!0}):{};let z=null;p&&(z=c&&M.isValidElement(c)?M.cloneElement(c,{className:ke(c.props.className,T.deleteIcon),onClick:C}):w.jsx(vPe,{className:ke(T.deleteIcon),onClick:C}));let B=null;i&&M.isValidElement(i)&&(B=M.cloneElement(i,{className:ke(T.avatar,i.props.className)}));let U=null;return f&&M.isValidElement(f)&&(U=M.cloneElement(f,{className:ke(T.icon,f.props.className)})),w.jsxs(_Pe,j({as:P,className:ke(T.root,o),disabled:I&&u?!0:void 0,onClick:h,onKeyDown:E,onKeyUp:k,ref:O,tabIndex:b&&u?-1:x,ownerState:R},L,_,{children:[B||U,w.jsx(wPe,{className:ke(T.label),ownerState:R,children:d}),z]}))});function gd({props:t,states:e,muiFormControl:n}){return e.reduce((r,i)=>(r[i]=t[i],n&&typeof t[i]>"u"&&(r[i]=n[i]),r),{})}const qM=M.createContext(void 0);function oc(){return M.useContext(qM)}function $re(t){return w.jsx(Qwe,j({},t,{defaultTheme:IM,themeId:Kh}))}function b8(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function AT(t,e=!1){return t&&(b8(t.value)&&t.value!==""||e&&b8(t.defaultValue)&&t.defaultValue!=="")}function OPe(t){return t.startAdornment}function CPe(t){return We("MuiInputBase",t)}const Jg=Ve("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),TPe=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],XM=(t,e)=>{const{ownerState:n}=t;return[e.root,n.formControl&&e.formControl,n.startAdornment&&e.adornedStart,n.endAdornment&&e.adornedEnd,n.error&&e.error,n.size==="small"&&e.sizeSmall,n.multiline&&e.multiline,n.color&&e[`color${De(n.color)}`],n.fullWidth&&e.fullWidth,n.hiddenLabel&&e.hiddenLabel]},QM=(t,e)=>{const{ownerState:n}=t;return[e.input,n.size==="small"&&e.inputSizeSmall,n.multiline&&e.inputMultiline,n.type==="search"&&e.inputTypeSearch,n.startAdornment&&e.inputAdornedStart,n.endAdornment&&e.inputAdornedEnd,n.hiddenLabel&&e.inputHiddenLabel]},EPe=t=>{const{classes:e,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:f,size:d,startAdornment:h,type:p}=t,m={root:["root",`color${De(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&d!=="medium"&&`size${De(d)}`,u&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",u&&"inputMultiline",d==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return Ue(m,CPe,e)},YM=we("div",{name:"MuiInputBase",slot:"Root",overridesResolver:XM})(({theme:t,ownerState:e})=>j({},t.typography.body1,{color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Jg.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"}},e.multiline&&j({padding:"4px 0 5px"},e.size==="small"&&{paddingTop:1}),e.fullWidth&&{width:"100%"})),KM=we("input",{name:"MuiInputBase",slot:"Input",overridesResolver:QM})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light",r=j({color:"currentColor"},t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})}),i={opacity:"0 !important"},o=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return j({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Jg.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Jg.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},e.size==="small"&&{paddingTop:1},e.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},e.type==="search"&&{MozAppearance:"textfield"})}),PPe=w.jsx($re,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),MPe=M.forwardRef(function(e,n){var r;const i=qe({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,fullWidth:m=!1,id:g,inputComponent:v="input",inputProps:y={},inputRef:x,maxRows:b,minRows:_,multiline:S=!1,name:O,onBlur:C,onChange:E,onClick:k,onFocus:I,onKeyDown:P,onKeyUp:R,placeholder:T,readOnly:L,renderSuffix:z,rows:B,slotProps:U={},slots:W={},startAdornment:$,type:N="text",value:D}=i,A=Ae(i,TPe),q=y.value!=null?y.value:D,{current:Y}=M.useRef(q!=null),K=M.useRef(),se=M.useCallback(Z=>{},[]),te=Zt(K,x,y.ref,se),[J,pe]=M.useState(!1),be=oc(),re=gd({props:i,muiFormControl:be,states:["color","disabled","error","hiddenLabel","size","required","filled"]});re.focused=be?be.focused:J,M.useEffect(()=>{!be&&d&&J&&(pe(!1),C&&C())},[be,d,J,C]);const ve=be&&be.onFilled,F=be&&be.onEmpty,ce=M.useCallback(Z=>{AT(Z)?ve&&ve():F&&F()},[ve,F]);Hr(()=>{Y&&ce({value:q})},[q,ce,Y]);const le=Z=>{if(re.disabled){Z.stopPropagation();return}I&&I(Z),y.onFocus&&y.onFocus(Z),be&&be.onFocus?be.onFocus(Z):pe(!0)},Q=Z=>{C&&C(Z),y.onBlur&&y.onBlur(Z),be&&be.onBlur?be.onBlur(Z):pe(!1)},X=(Z,...V)=>{if(!Y){const de=Z.target||K.current;if(de==null)throw new Error(fu(1));ce({value:de.value})}y.onChange&&y.onChange(Z,...V),E&&E(Z,...V)};M.useEffect(()=>{ce(K.current)},[]);const ee=Z=>{K.current&&Z.currentTarget===Z.target&&K.current.focus(),k&&k(Z)};let ge=v,ye=y;S&&ge==="input"&&(B?ye=j({type:void 0,minRows:B,maxRows:B},ye):ye=j({type:void 0,maxRows:b,minRows:_},ye),ge=cPe);const H=Z=>{ce(Z.animationName==="mui-auto-fill-cancel"?K.current:{value:"x"})};M.useEffect(()=>{be&&be.setAdornedStart(!!$)},[be,$]);const G=j({},i,{color:re.color||"primary",disabled:re.disabled,endAdornment:p,error:re.error,focused:re.focused,formControl:be,fullWidth:m,hiddenLabel:re.hiddenLabel,multiline:S,size:re.size,startAdornment:$,type:N}),ie=EPe(G),he=W.root||c.Root||YM,_e=U.root||u.root||{},oe=W.input||c.Input||KM;return ye=j({},ye,(r=U.input)!=null?r:u.input),w.jsxs(M.Fragment,{children:[!h&&PPe,w.jsxs(he,j({},_e,!Vl(he)&&{ownerState:j({},G,_e.ownerState)},{ref:n,onClick:ee},A,{className:ke(ie.root,_e.className,l,L&&"MuiInputBase-readOnly"),children:[$,w.jsx(qM.Provider,{value:null,children:w.jsx(oe,j({ownerState:G,"aria-invalid":re.error,"aria-describedby":o,autoComplete:a,autoFocus:s,defaultValue:f,disabled:re.disabled,id:g,onAnimationStart:H,name:O,placeholder:T,readOnly:L,required:re.required,rows:B,value:q,onKeyDown:P,onKeyUp:R,type:N},ye,!Vl(oe)&&{as:ge,ownerState:j({},G,ye.ownerState)},{ref:te,className:ke(ie.input,ye.className,L&&"MuiInputBase-readOnly"),onBlur:Q,onChange:X,onFocus:le}))}),p,z?z(j({},re,{startAdornment:$})):null]}))]})}),_5=MPe;function kPe(t){return We("MuiInput",t)}const d0=j({},Jg,Ve("MuiInput",["root","underline","input"]));function APe(t){return We("MuiOutlinedInput",t)}const Mu=j({},Jg,Ve("MuiOutlinedInput",["root","notchedOutline","input"]));function RPe(t){return We("MuiFilledInput",t)}const $d=j({},Jg,Ve("MuiFilledInput",["root","underline","input"])),IPe=ni(w.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),DPe=ni(w.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function LPe(t){return We("MuiAvatar",t)}Ve("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const NPe=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],$Pe=s5(),FPe=t=>{const{classes:e,variant:n,colorDefault:r}=t;return Ue({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},LPe,e)},jPe=we("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],n.colorDefault&&e.colorDefault]}})(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:j({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:j({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]})),BPe=we("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),zPe=we(DPe,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,e)=>e.fallback})({width:"75%",height:"75%"});function UPe({crossOrigin:t,referrerPolicy:e,src:n,srcSet:r}){const[i,o]=M.useState(!1);return M.useEffect(()=>{if(!n&&!r)return;o(!1);let a=!0;const s=new Image;return s.onload=()=>{a&&o("loaded")},s.onerror=()=>{a&&o("error")},s.crossOrigin=t,s.referrerPolicy=e,s.src=n,r&&(s.srcset=r),()=>{a=!1}},[t,e,n,r]),i}const EA=M.forwardRef(function(e,n){const r=$Pe({props:e,name:"MuiAvatar"}),{alt:i,children:o,className:a,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:f,src:d,srcSet:h,variant:p="circular"}=r,m=Ae(r,NPe);let g=null;const v=UPe(j({},u,{src:d,srcSet:h})),y=d||h,x=y&&v!=="error",b=j({},r,{colorDefault:!x,component:s,variant:p}),_=FPe(b),[S,O]=BCe("img",{className:_.img,elementType:BPe,externalForwardedProps:{slots:l,slotProps:{img:j({},u,c.img)}},additionalProps:{alt:i,src:d,srcSet:h,sizes:f},ownerState:b});return x?g=w.jsx(S,j({},O)):o||o===0?g=o:y&&i?g=i[0]:g=w.jsx(zPe,{ownerState:b,className:_.fallback}),w.jsx(jPe,j({as:s,ownerState:b,className:ke(_.root,a),ref:n},m,{children:g}))}),WPe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],VPe={entering:{opacity:1},entered:{opacity:1}},ZM=M.forwardRef(function(e,n){const r=Go(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:m,style:g,timeout:v=i,TransitionComponent:y=ka}=e,x=Ae(e,WPe),b=M.useRef(null),_=Zt(b,s.ref,n),S=T=>L=>{if(T){const z=b.current;L===void 0?T(z):T(z,L)}},O=S(d),C=S((T,L)=>{u5(T);const z=Zf({style:g,timeout:v,easing:l},{mode:"enter"});T.style.webkitTransition=r.transitions.create("opacity",z),T.style.transition=r.transitions.create("opacity",z),u&&u(T,L)}),E=S(f),k=S(m),I=S(T=>{const L=Zf({style:g,timeout:v,easing:l},{mode:"exit"});T.style.webkitTransition=r.transitions.create("opacity",L),T.style.transition=r.transitions.create("opacity",L),h&&h(T)}),P=S(p),R=T=>{o&&o(b.current,T)};return w.jsx(y,j({appear:a,in:c,nodeRef:b,onEnter:C,onEntered:E,onEntering:O,onExit:I,onExited:P,onExiting:k,addEndListener:R,timeout:v},x,{children:(T,L)=>M.cloneElement(s,j({style:j({opacity:0,visibility:T==="exited"&&!c?"hidden":void 0},VPe[T],g,s.props.style),ref:_},L))}))});function GPe(t){return We("MuiBackdrop",t)}Ve("MuiBackdrop",["root","invisible"]);const HPe=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],qPe=t=>{const{classes:e,invisible:n}=t;return Ue({root:["root",n&&"invisible"]},GPe,e)},XPe=we("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})(({ownerState:t})=>j({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})),Fre=M.forwardRef(function(e,n){var r,i,o;const a=qe({props:e,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:f={},invisible:d=!1,open:h,slotProps:p={},slots:m={},TransitionComponent:g=ZM,transitionDuration:v}=a,y=Ae(a,HPe),x=j({},a,{component:c,invisible:d}),b=qPe(x),_=(r=p.root)!=null?r:f.root;return w.jsx(g,j({in:h,timeout:v},y,{children:w.jsx(XPe,j({"aria-hidden":!0},_,{as:(i=(o=m.root)!=null?o:u.Root)!=null?i:c,className:ke(b.root,l,_==null?void 0:_.className),ownerState:j({},x,_==null?void 0:_.ownerState),classes:b,ref:n,children:s}))}))}),QPe=Ve("MuiBox",["root"]),YPe=i5(),Ke=tSe({themeId:Kh,defaultTheme:YPe,defaultClassName:QPe.root,generateClassName:Qj.generate});function KPe(t){return We("MuiButton",t)}const uS=Ve("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),ZPe=M.createContext({}),JPe=M.createContext(void 0),eMe=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],tMe=t=>{const{color:e,disableElevation:n,fullWidth:r,size:i,variant:o,classes:a}=t,s={root:["root",o,`${o}${De(e)}`,`size${De(i)}`,`${o}Size${De(i)}`,`color${De(e)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${De(i)}`],endIcon:["icon","endIcon",`iconSize${De(i)}`]},l=Ue(s,KPe,a);return j({},a,l)},jre=t=>j({},t.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},t.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},t.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),nMe=we(fs,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${De(n.color)}`],e[`size${De(n.size)}`],e[`${n.variant}Size${De(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(({theme:t,ownerState:e})=>{var n,r;const i=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],o=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return j({},t.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":j({textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="text"&&e.color!=="inherit"&&{backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="outlined"&&e.color!=="inherit"&&{border:`1px solid ${(t.vars||t).palette[e.color].main}`,backgroundColor:t.vars?`rgba(${t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},e.variant==="contained"&&{backgroundColor:t.vars?t.vars.palette.Button.inheritContainedHoverBg:o,boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2],backgroundColor:(t.vars||t).palette.grey[300]}},e.variant==="contained"&&e.color!=="inherit"&&{backgroundColor:(t.vars||t).palette[e.color].dark,"@media (hover: none)":{backgroundColor:(t.vars||t).palette[e.color].main}}),"&:active":j({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[8]}),[`&.${uS.focusVisible}`]:j({},e.variant==="contained"&&{boxShadow:(t.vars||t).shadows[6]}),[`&.${uS.disabled}`]:j({color:(t.vars||t).palette.action.disabled},e.variant==="outlined"&&{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},e.variant==="contained"&&{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground})},e.variant==="text"&&{padding:"6px 8px"},e.variant==="text"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main},e.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},e.variant==="outlined"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main,border:t.vars?`1px solid rgba(${t.vars.palette[e.color].mainChannel} / 0.5)`:`1px solid ${kt(t.palette[e.color].main,.5)}`},e.variant==="contained"&&{color:t.vars?t.vars.palette.text.primary:(n=(r=t.palette).getContrastText)==null?void 0:n.call(r,t.palette.grey[300]),backgroundColor:t.vars?t.vars.palette.Button.inheritContainedBg:i,boxShadow:(t.vars||t).shadows[2]},e.variant==="contained"&&e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].contrastText,backgroundColor:(t.vars||t).palette[e.color].main},e.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},e.size==="small"&&e.variant==="text"&&{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="text"&&{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="outlined"&&{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="outlined"&&{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},e.size==="small"&&e.variant==="contained"&&{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},e.size==="large"&&e.variant==="contained"&&{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},e.fullWidth&&{width:"100%"})},({ownerState:t})=>t.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${uS.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${uS.disabled}`]:{boxShadow:"none"}}),rMe=we("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${De(n.size)}`]]}})(({ownerState:t})=>j({display:"inherit",marginRight:8,marginLeft:-4},t.size==="small"&&{marginLeft:-2},jre(t))),iMe=we("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${De(n.size)}`]]}})(({ownerState:t})=>j({display:"inherit",marginRight:-4,marginLeft:8},t.size==="small"&&{marginRight:-2},jre(t))),tr=M.forwardRef(function(e,n){const r=M.useContext(ZPe),i=M.useContext(JPe),o=kM(r,e),a=qe({props:o,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:h=!1,endIcon:p,focusVisibleClassName:m,fullWidth:g=!1,size:v="medium",startIcon:y,type:x,variant:b="text"}=a,_=Ae(a,eMe),S=j({},a,{color:l,component:c,disabled:f,disableElevation:d,disableFocusRipple:h,fullWidth:g,size:v,type:x,variant:b}),O=tMe(S),C=y&&w.jsx(rMe,{className:O.startIcon,ownerState:S,children:y}),E=p&&w.jsx(iMe,{className:O.endIcon,ownerState:S,children:p}),k=i||"";return w.jsxs(nMe,j({ownerState:S,className:ke(r.className,O.root,u,k),component:c,disabled:f,focusRipple:!h,focusVisibleClassName:ke(O.focusVisible,m),ref:n,type:x},_,{classes:O,children:[C,s,E]}))});function oMe(t){return We("MuiCard",t)}Ve("MuiCard",["root"]);const aMe=["className","raised"],sMe=t=>{const{classes:e}=t;return Ue({root:["root"]},oMe,e)},lMe=we(Ho,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"})),Bre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCard"}),{className:i,raised:o=!1}=r,a=Ae(r,aMe),s=j({},r,{raised:o}),l=sMe(s);return w.jsx(lMe,j({className:ke(l.root,i),elevation:o?8:void 0,ref:n,ownerState:s},a))});function cMe(t){return We("MuiCardActions",t)}Ve("MuiCardActions",["root","spacing"]);const uMe=["disableSpacing","className"],fMe=t=>{const{classes:e,disableSpacing:n}=t;return Ue({root:["root",!n&&"spacing"]},cMe,e)},dMe=we("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})(({ownerState:t})=>j({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),zre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardActions"}),{disableSpacing:i=!1,className:o}=r,a=Ae(r,uMe),s=j({},r,{disableSpacing:i}),l=fMe(s);return w.jsx(dMe,j({className:ke(l.root,o),ownerState:s,ref:n},a))});function hMe(t){return We("MuiCardContent",t)}Ve("MuiCardContent",["root"]);const pMe=["className","component"],mMe=t=>{const{classes:e}=t;return Ue({root:["root"]},hMe,e)},gMe=we("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),Ure=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardContent"}),{className:i,component:o="div"}=r,a=Ae(r,pMe),s=j({},r,{component:o}),l=mMe(s);return w.jsx(gMe,j({as:o,className:ke(l.root,i),ownerState:s,ref:n},a))});function vMe(t){return We("MuiCardHeader",t)}const _8=Ve("MuiCardHeader",["root","avatar","action","content","title","subheader"]),yMe=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],xMe=t=>{const{classes:e}=t;return Ue({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},vMe,e)},bMe=we("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,e)=>j({[`& .${_8.title}`]:e.title,[`& .${_8.subheader}`]:e.subheader},e.root)})({display:"flex",alignItems:"center",padding:16}),_Me=we("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,e)=>e.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),wMe=we("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,e)=>e.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),SMe=we("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,e)=>e.content})({flex:"1 1 auto"}),OMe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardHeader"}),{action:i,avatar:o,className:a,component:s="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:u,title:f,titleTypographyProps:d}=r,h=Ae(r,yMe),p=j({},r,{component:s,disableTypography:l}),m=xMe(p);let g=f;g!=null&&g.type!==At&&!l&&(g=w.jsx(At,j({variant:o?"body2":"h5",className:m.title,component:"span",display:"block"},d,{children:g})));let v=c;return v!=null&&v.type!==At&&!l&&(v=w.jsx(At,j({variant:o?"body2":"body1",className:m.subheader,color:"text.secondary",component:"span",display:"block"},u,{children:v}))),w.jsxs(bMe,j({className:ke(m.root,a),as:s,ref:n,ownerState:p},h,{children:[o&&w.jsx(_Me,{className:m.avatar,ownerState:p,children:o}),w.jsxs(SMe,{className:m.content,ownerState:p,children:[g,v]}),i&&w.jsx(wMe,{className:m.action,ownerState:p,children:i})]}))});function CMe(t){return We("MuiCardMedia",t)}Ve("MuiCardMedia",["root","media","img"]);const TMe=["children","className","component","image","src","style"],EMe=t=>{const{classes:e,isMediaComponent:n,isImageComponent:r}=t;return Ue({root:["root",n&&"media",r&&"img"]},CMe,e)},PMe=we("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:r,isImageComponent:i}=n;return[e.root,r&&e.media,i&&e.img]}})(({ownerState:t})=>j({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},t.isMediaComponent&&{width:"100%"},t.isImageComponent&&{objectFit:"cover"})),MMe=["video","audio","picture","iframe","img"],kMe=["picture","img"],AMe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCardMedia"}),{children:i,className:o,component:a="div",image:s,src:l,style:c}=r,u=Ae(r,TMe),f=MMe.indexOf(a)!==-1,d=!f&&s?j({backgroundImage:`url("${s}")`},c):c,h=j({},r,{component:a,isMediaComponent:f,isImageComponent:kMe.indexOf(a)!==-1}),p=EMe(h);return w.jsx(PMe,j({className:ke(p.root,o),as:a,role:!f&&s?"img":void 0,ref:n,style:d,ownerState:h,src:f?s||l:void 0},u,{children:i}))});function RMe(t){return We("PrivateSwitchBase",t)}Ve("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const IMe=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],DMe=t=>{const{classes:e,checked:n,disabled:r,edge:i}=t,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${De(i)}`],input:["input"]};return Ue(o,RMe,e)},LMe=we(fs)(({ownerState:t})=>j({padding:9,borderRadius:"50%"},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12})),NMe=we("input",{shouldForwardProp:hi})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w5=M.forwardRef(function(e,n){const{autoFocus:r,checked:i,checkedIcon:o,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:f,id:d,inputProps:h,inputRef:p,name:m,onBlur:g,onChange:v,onFocus:y,readOnly:x,required:b=!1,tabIndex:_,type:S,value:O}=e,C=Ae(e,IMe),[E,k]=Qs({controlled:i,default:!!s,name:"SwitchBase",state:"checked"}),I=oc(),P=W=>{y&&y(W),I&&I.onFocus&&I.onFocus(W)},R=W=>{g&&g(W),I&&I.onBlur&&I.onBlur(W)},T=W=>{if(W.nativeEvent.defaultPrevented)return;const $=W.target.checked;k($),v&&v(W,$)};let L=l;I&&typeof L>"u"&&(L=I.disabled);const z=S==="checkbox"||S==="radio",B=j({},e,{checked:E,disabled:L,disableFocusRipple:c,edge:u}),U=DMe(B);return w.jsxs(LMe,j({component:"span",className:ke(U.root,a),centerRipple:!0,focusRipple:!c,disabled:L,tabIndex:null,role:void 0,onFocus:P,onBlur:R,ownerState:B,ref:n},C,{children:[w.jsx(NMe,j({autoFocus:r,checked:i,defaultChecked:s,className:U.input,disabled:L,id:z?d:void 0,name:m,onChange:T,readOnly:x,ref:p,required:b,ownerState:B,tabIndex:_,type:S},S==="checkbox"&&O===void 0?{}:{value:O},h)),E?o:f]}))}),$Me=ni(w.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),FMe=ni(w.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),jMe=ni(w.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function BMe(t){return We("MuiCheckbox",t)}const PA=Ve("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),zMe=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],UMe=t=>{const{classes:e,indeterminate:n,color:r,size:i}=t,o={root:["root",n&&"indeterminate",`color${De(r)}`,`size${De(i)}`]},a=Ue(o,BMe,e);return j({},e,a)},WMe=we(w5,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.indeterminate&&e.indeterminate,e[`size${De(n.size)}`],n.color!=="default"&&e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${e.color==="default"?t.vars.palette.action.activeChannel:t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(e.color==="default"?t.palette.action.active:t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.color!=="default"&&{[`&.${PA.checked}, &.${PA.indeterminate}`]:{color:(t.vars||t).palette[e.color].main},[`&.${PA.disabled}`]:{color:(t.vars||t).palette.action.disabled}})),VMe=w.jsx(FMe,{}),GMe=w.jsx($Me,{}),HMe=w.jsx(jMe,{}),zL=M.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiCheckbox"}),{checkedIcon:a=VMe,color:s="primary",icon:l=GMe,indeterminate:c=!1,indeterminateIcon:u=HMe,inputProps:f,size:d="medium",className:h}=o,p=Ae(o,zMe),m=c?u:l,g=c?u:a,v=j({},o,{color:s,indeterminate:c,size:d}),y=UMe(v);return w.jsx(WMe,j({type:"checkbox",inputProps:j({"data-indeterminate":c},f),icon:M.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:d}),checkedIcon:M.cloneElement(g,{fontSize:(i=g.props.fontSize)!=null?i:d}),ownerState:v,ref:n,className:ke(y.root,h)},p,{classes:y}))});function qMe(t){return We("MuiCircularProgress",t)}Ve("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const XMe=["className","color","disableShrink","size","style","thickness","value","variant"];let JM=t=>t,w8,S8,O8,C8;const ku=44,QMe=Qv(w8||(w8=JM` - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -`)),YMe=Qv(S8||(S8=JM` - 0% { - stroke-dasharray: 1px, 200px; - stroke-dashoffset: 0; - } - - 50% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -15px; - } - - 100% { - stroke-dasharray: 100px, 200px; - stroke-dashoffset: -125px; - } -`)),KMe=t=>{const{classes:e,variant:n,color:r,disableShrink:i}=t,o={root:["root",n,`color${De(r)}`],svg:["svg"],circle:["circle",`circle${De(n)}`,i&&"circleDisableShrink"]};return Ue(o,qMe,e)},ZMe=we("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${De(n.color)}`]]}})(({ownerState:t,theme:e})=>j({display:"inline-block"},t.variant==="determinate"&&{transition:e.transitions.create("transform")},t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main}),({ownerState:t})=>t.variant==="indeterminate"&&pM(O8||(O8=JM` - animation: ${0} 1.4s linear infinite; - `),QMe)),JMe=we("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),e2e=we("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${De(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})(({ownerState:t,theme:e})=>j({stroke:"currentColor"},t.variant==="determinate"&&{transition:e.transitions.create("stroke-dashoffset")},t.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink&&pM(C8||(C8=JM` - animation: ${0} 1.4s ease-in-out infinite; - `),YMe)),ey=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:f="indeterminate"}=r,d=Ae(r,XMe),h=j({},r,{color:o,disableShrink:a,size:s,thickness:c,value:u,variant:f}),p=KMe(h),m={},g={},v={};if(f==="determinate"){const y=2*Math.PI*((ku-c)/2);m.strokeDasharray=y.toFixed(3),v["aria-valuenow"]=Math.round(u),m.strokeDashoffset=`${((100-u)/100*y).toFixed(3)}px`,g.transform="rotate(-90deg)"}return w.jsx(ZMe,j({className:ke(p.root,i),style:j({width:s,height:s},g,l),ownerState:h,ref:n,role:"progressbar"},v,d,{children:w.jsx(JMe,{className:p.svg,ownerState:h,viewBox:`${ku/2} ${ku/2} ${ku} ${ku}`,children:w.jsx(e2e,{className:p.circle,style:m,ownerState:h,cx:ku,cy:ku,r:(ku-c)/2,fill:"none",strokeWidth:c})})}))}),t2e=(t,e)=>j({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!t.vars&&{colorScheme:t.palette.mode}),n2e=t=>j({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),r2e=(t,e=!1)=>{var n;const r={};e&&t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([a,s])=>{var l;r[t.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=j({html:t2e(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:j({margin:0},n2e(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},r);const o=(n=t.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function i2e(t){const e=qe({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=e;return w.jsxs(M.Fragment,{children:[w.jsx($re,{styles:i=>r2e(i,r)}),n]})}function o2e(t){return We("MuiModal",t)}Ve("MuiModal",["root","hidden","backdrop"]);const a2e=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],s2e=t=>{const{open:e,exited:n,classes:r}=t;return Ue({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},o2e,r)},l2e=we("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(({theme:t,ownerState:e})=>j({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&e.exited&&{visibility:"hidden"})),c2e=we(Fre,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),Wre=M.forwardRef(function(e,n){var r,i,o,a,s,l;const c=qe({name:"MuiModal",props:e}),{BackdropComponent:u=c2e,BackdropProps:f,className:d,closeAfterTransition:h=!1,children:p,container:m,component:g,components:v={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:_=!1,disablePortal:S=!1,disableRestoreFocus:O=!1,disableScrollLock:C=!1,hideBackdrop:E=!1,keepMounted:k=!1,onBackdropClick:I,open:P,slotProps:R,slots:T}=c,L=Ae(c,a2e),z=j({},c,{closeAfterTransition:h,disableAutoFocus:x,disableEnforceFocus:b,disableEscapeKeyDown:_,disablePortal:S,disableRestoreFocus:O,disableScrollLock:C,hideBackdrop:E,keepMounted:k}),{getRootProps:B,getBackdropProps:U,getTransitionProps:W,portalRef:$,isTopModal:N,exited:D,hasTransition:A}=NTe(j({},z,{rootRef:n})),q=j({},z,{exited:D}),Y=s2e(q),K={};if(p.props.tabIndex===void 0&&(K.tabIndex="-1"),A){const{onEnter:ve,onExited:F}=W();K.onEnter=ve,K.onExited=F}const se=(r=(i=T==null?void 0:T.root)!=null?i:v.Root)!=null?r:l2e,te=(o=(a=T==null?void 0:T.backdrop)!=null?a:v.Backdrop)!=null?o:u,J=(s=R==null?void 0:R.root)!=null?s:y.root,pe=(l=R==null?void 0:R.backdrop)!=null?l:y.backdrop,be=$r({elementType:se,externalSlotProps:J,externalForwardedProps:L,getSlotProps:B,additionalProps:{ref:n,as:g},ownerState:q,className:ke(d,J==null?void 0:J.className,Y==null?void 0:Y.root,!q.open&&q.exited&&(Y==null?void 0:Y.hidden))}),re=$r({elementType:te,externalSlotProps:pe,additionalProps:f,getSlotProps:ve=>U(j({},ve,{onClick:F=>{I&&I(F),ve!=null&&ve.onClick&&ve.onClick(F)}})),className:ke(pe==null?void 0:pe.className,f==null?void 0:f.className,Y==null?void 0:Y.backdrop),ownerState:q});return!k&&!P&&(!A||D)?null:w.jsx(Sre,{ref:$,container:m,disablePortal:S,children:w.jsxs(se,j({},be,{children:[!E&&u?w.jsx(te,j({},re)):null,w.jsx(wre,{disableEnforceFocus:b,disableAutoFocus:x,disableRestoreFocus:O,isEnabled:N,open:P,children:M.cloneElement(p,K)})]}))})});function u2e(t){return We("MuiDialog",t)}const Bx=Ve("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Vre=M.createContext({}),f2e=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],d2e=we(Fre,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),h2e=t=>{const{classes:e,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=t,a={root:["root"],container:["container",`scroll${De(n)}`],paper:["paper",`paperScroll${De(n)}`,`paperWidth${De(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Ue(a,u2e,e)},p2e=we(Wre,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),m2e=we("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.container,e[`scroll${De(n.scroll)}`]]}})(({ownerState:t})=>j({height:"100%","@media print":{height:"auto"},outline:0},t.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},t.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),g2e=we(Ho,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`scrollPaper${De(n.scroll)}`],e[`paperWidth${De(String(n.maxWidth))}`],n.fullWidth&&e.paperFullWidth,n.fullScreen&&e.paperFullScreen]}})(({theme:t,ownerState:e})=>j({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},e.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},e.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!e.maxWidth&&{maxWidth:"calc(100% - 64px)"},e.maxWidth==="xs"&&{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${Bx.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.maxWidth&&e.maxWidth!=="xs"&&{maxWidth:`${t.breakpoints.values[e.maxWidth]}${t.breakpoints.unit}`,[`&.${Bx.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},e.fullWidth&&{width:"calc(100% - 64px)"},e.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${Bx.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),rl=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialog"}),i=Go(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:f,disableEscapeKeyDown:d=!1,fullScreen:h=!1,fullWidth:p=!1,maxWidth:m="sm",onBackdropClick:g,onClick:v,onClose:y,open:x,PaperComponent:b=Ho,PaperProps:_={},scroll:S="paper",TransitionComponent:O=ZM,transitionDuration:C=o,TransitionProps:E}=r,k=Ae(r,f2e),I=j({},r,{disableEscapeKeyDown:d,fullScreen:h,fullWidth:p,maxWidth:m,scroll:S}),P=h2e(I),R=M.useRef(),T=U=>{R.current=U.target===U.currentTarget},L=U=>{v&&v(U),R.current&&(R.current=null,g&&g(U),y&&y(U,"backdropClick"))},z=pd(s),B=M.useMemo(()=>({titleId:z}),[z]);return w.jsx(p2e,j({className:ke(P.root,f),closeAfterTransition:!0,components:{Backdrop:d2e},componentsProps:{backdrop:j({transitionDuration:C,as:l},c)},disableEscapeKeyDown:d,onClose:y,open:x,ref:n,onClick:L,ownerState:I},k,{children:w.jsx(O,j({appear:!0,in:x,timeout:C,role:"presentation"},E,{children:w.jsx(m2e,{className:ke(P.container),onMouseDown:T,ownerState:I,children:w.jsx(g2e,j({as:b,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":z},_,{className:ke(P.paper,_.className),ownerState:I,children:w.jsx(Vre.Provider,{value:B,children:u})}))})}))}))});function v2e(t){return We("MuiDialogActions",t)}Ve("MuiDialogActions",["root","spacing"]);const y2e=["className","disableSpacing"],x2e=t=>{const{classes:e,disableSpacing:n}=t;return Ue({root:["root",!n&&"spacing"]},v2e,e)},b2e=we("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})(({ownerState:t})=>j({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),Tp=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,a=Ae(r,y2e),s=j({},r,{disableSpacing:o}),l=x2e(s);return w.jsx(b2e,j({className:ke(l.root,i),ownerState:s,ref:n},a))});function _2e(t){return We("MuiDialogContent",t)}Ve("MuiDialogContent",["root","dividers"]);function w2e(t){return We("MuiDialogTitle",t)}const S2e=Ve("MuiDialogTitle",["root"]),O2e=["className","dividers"],C2e=t=>{const{classes:e,dividers:n}=t;return Ue({root:["root",n&&"dividers"]},_2e,e)},T2e=we("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dividers&&e.dividers]}})(({theme:t,ownerState:e})=>j({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},e.dividers?{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}:{[`.${S2e.root} + &`]:{paddingTop:0}})),Ys=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogContent"}),{className:i,dividers:o=!1}=r,a=Ae(r,O2e),s=j({},r,{dividers:o}),l=C2e(s);return w.jsx(T2e,j({className:ke(l.root,i),ownerState:s,ref:n},a))});function E2e(t){return We("MuiDialogContentText",t)}Ve("MuiDialogContentText",["root"]);const P2e=["children","className"],M2e=t=>{const{classes:e}=t,r=Ue({root:["root"]},E2e,e);return j({},e,r)},k2e=we(At,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({}),A2e=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogContentText"}),{className:i}=r,o=Ae(r,P2e),a=M2e(o);return w.jsx(k2e,j({component:"p",variant:"body1",color:"text.secondary",ref:n,ownerState:o,className:ke(a.root,i)},r,{classes:a}))}),R2e=["className","id"],I2e=t=>{const{classes:e}=t;return Ue({root:["root"]},w2e,e)},D2e=we(At,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),vd=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDialogTitle"}),{className:i,id:o}=r,a=Ae(r,R2e),s=r,l=I2e(s),{titleId:c=o}=M.useContext(Vre);return w.jsx(D2e,j({component:"h2",className:ke(l.root,i),ownerState:s,ref:n,variant:"h6",id:o??c},a))});function L2e(t){return We("MuiDivider",t)}const T8=Ve("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),N2e=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],$2e=t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:s,variant:l}=t;return Ue({root:["root",e&&"absolute",l,o&&"light",a==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},L2e,r)},F2e=we("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(({theme:t,ownerState:e})=>j({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},e.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},e.light&&{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:kt(t.palette.divider,.08)},e.variant==="inset"&&{marginLeft:72},e.variant==="middle"&&e.orientation==="horizontal"&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},e.variant==="middle"&&e.orientation==="vertical"&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},e.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},e.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:t})=>j({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:t,ownerState:e})=>j({},e.children&&e.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`}}),({theme:t,ownerState:e})=>j({},e.children&&e.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`}}),({ownerState:t})=>j({},t.textAlign==="right"&&t.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},t.textAlign==="left"&&t.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),j2e=we("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(({theme:t,ownerState:e})=>j({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`},e.orientation==="vertical"&&{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`})),ep=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDivider"}),{absolute:i=!1,children:o,className:a,component:s=o?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth"}=r,p=Ae(r,N2e),m=j({},r,{absolute:i,component:s,flexItem:l,light:c,orientation:u,role:f,textAlign:d,variant:h}),g=$2e(m);return w.jsx(F2e,j({as:s,className:ke(g.root,a),role:f,ref:n,ownerState:m},p,{children:o?w.jsx(j2e,{className:g.wrapper,ownerState:m,children:o}):null}))});ep.muiSkipListHighlight=!0;const B2e=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function z2e(t,e,n){const r=e.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=cs(e);let a;if(e.fakeTransform)a=e.fakeTransform;else{const c=o.getComputedStyle(e);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return t==="left"?i?`translateX(${i.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:t==="right"?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:t==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function U2e(t){return typeof t=="function"?t():t}function fS(t,e,n){const r=U2e(n),i=z2e(t,e,r);i&&(e.style.webkitTransform=i,e.style.transform=i)}const W2e=M.forwardRef(function(e,n){const r=Go(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:f=i,in:d,onEnter:h,onEntered:p,onEntering:m,onExit:g,onExited:v,onExiting:y,style:x,timeout:b=o,TransitionComponent:_=ka}=e,S=Ae(e,B2e),O=M.useRef(null),C=Zt(l.ref,O,n),E=U=>W=>{U&&(W===void 0?U(O.current):U(O.current,W))},k=E((U,W)=>{fS(u,U,c),u5(U),h&&h(U,W)}),I=E((U,W)=>{const $=Zf({timeout:b,style:x,easing:f},{mode:"enter"});U.style.webkitTransition=r.transitions.create("-webkit-transform",j({},$)),U.style.transition=r.transitions.create("transform",j({},$)),U.style.webkitTransform="none",U.style.transform="none",m&&m(U,W)}),P=E(p),R=E(y),T=E(U=>{const W=Zf({timeout:b,style:x,easing:f},{mode:"exit"});U.style.webkitTransition=r.transitions.create("-webkit-transform",W),U.style.transition=r.transitions.create("transform",W),fS(u,U,c),g&&g(U)}),L=E(U=>{U.style.webkitTransition="",U.style.transition="",v&&v(U)}),z=U=>{a&&a(O.current,U)},B=M.useCallback(()=>{O.current&&fS(u,O.current,c)},[u,c]);return M.useEffect(()=>{if(d||u==="down"||u==="right")return;const U=Kv(()=>{O.current&&fS(u,O.current,c)}),W=cs(O.current);return W.addEventListener("resize",U),()=>{U.clear(),W.removeEventListener("resize",U)}},[u,d,c]),M.useEffect(()=>{d||B()},[d,B]),w.jsx(_,j({nodeRef:O,onEnter:k,onEntered:P,onEntering:I,onExit:T,onExited:L,onExiting:R,addEndListener:z,appear:s,in:d,timeout:b},S,{children:(U,W)=>M.cloneElement(l,j({ref:C,style:j({visibility:U==="exited"&&!d?"hidden":void 0},x,l.props.style)},W))}))}),V2e=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],G2e=t=>{const{classes:e,disableUnderline:n}=t,i=Ue({root:["root",!n&&"underline"],input:["input"]},RPe,e);return j({},e,i)},H2e=we(YM,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...XM(t,e),!n.disableUnderline&&e.underline]}})(({theme:t,ownerState:e})=>{var n;const r=t.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return j({position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o}},[`&.${$d.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:o},[`&.${$d.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:s}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(t.vars||t).palette[e.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${$d.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${$d.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${$d.disabled}, .${$d.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${$d.disabled}:before`]:{borderBottomStyle:"dotted"}},e.startAdornment&&{paddingLeft:12},e.endAdornment&&{paddingRight:12},e.multiline&&j({padding:"25px 12px 8px"},e.size==="small"&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.hiddenLabel&&e.size==="small"&&{paddingTop:8,paddingBottom:9}))}),q2e=we(KM,{name:"MuiFilledInput",slot:"Input",overridesResolver:QM})(({theme:t,ownerState:e})=>j({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},e.size==="small"&&{paddingTop:21,paddingBottom:4},e.hiddenLabel&&{paddingTop:16,paddingBottom:17},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0},e.hiddenLabel&&e.size==="small"&&{paddingTop:8,paddingBottom:9},e.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),S5=M.forwardRef(function(e,n){var r,i,o,a;const s=qe({props:e,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:f="input",multiline:d=!1,slotProps:h,slots:p={},type:m="text"}=s,g=Ae(s,V2e),v=j({},s,{fullWidth:u,inputComponent:f,multiline:d,type:m}),y=G2e(s),x={root:{ownerState:v},input:{ownerState:v}},b=h??c?Ii(x,h??c):x,_=(r=(i=p.root)!=null?i:l.Root)!=null?r:H2e,S=(o=(a=p.input)!=null?a:l.Input)!=null?o:q2e;return w.jsx(_5,j({slots:{root:_,input:S},componentsProps:b,fullWidth:u,inputComponent:f,multiline:d,ref:n,type:m},g,{classes:y}))});S5.muiName="Input";function X2e(t){return We("MuiFormControl",t)}Ve("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Q2e=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Y2e=t=>{const{classes:e,margin:n,fullWidth:r}=t,i={root:["root",n!=="none"&&`margin${De(n)}`,r&&"fullWidth"]};return Ue(i,X2e,e)},K2e=we("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},e)=>j({},e.root,e[`margin${De(t.margin)}`],t.fullWidth&&e.fullWidth)})(({ownerState:t})=>j({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},t.margin==="normal"&&{marginTop:16,marginBottom:8},t.margin==="dense"&&{marginTop:8,marginBottom:4},t.fullWidth&&{width:"100%"})),ty=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormControl"}),{children:i,className:o,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:m="medium",variant:g="outlined"}=r,v=Ae(r,Q2e),y=j({},r,{color:a,component:s,disabled:l,error:c,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:m,variant:g}),x=Y2e(y),[b,_]=M.useState(()=>{let R=!1;return i&&M.Children.forEach(i,T=>{if(!Nx(T,["Input","Select"]))return;const L=Nx(T,["Select"])?T.props.input:T;L&&OPe(L.props)&&(R=!0)}),R}),[S,O]=M.useState(()=>{let R=!1;return i&&M.Children.forEach(i,T=>{Nx(T,["Input","Select"])&&(AT(T.props,!0)||AT(T.props.inputProps,!0))&&(R=!0)}),R}),[C,E]=M.useState(!1);l&&C&&E(!1);const k=u!==void 0&&!l?u:C;let I;const P=M.useMemo(()=>({adornedStart:b,setAdornedStart:_,color:a,disabled:l,error:c,filled:S,focused:k,fullWidth:f,hiddenLabel:d,size:m,onBlur:()=>{E(!1)},onEmpty:()=>{O(!1)},onFilled:()=>{O(!0)},onFocus:()=>{E(!0)},registerEffect:I,required:p,variant:g}),[b,a,l,c,S,k,f,d,I,p,m,g]);return w.jsx(qM.Provider,{value:P,children:w.jsx(K2e,j({as:s,ownerState:y,className:ke(x.root,o),ref:n},v,{children:i}))})}),Z2e=JSe({createStyledComponent:we("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>qe({props:t,name:"MuiStack"})});function J2e(t){return We("MuiFormControlLabel",t)}const sx=Ve("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),eke=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],tke=t=>{const{classes:e,disabled:n,labelPlacement:r,error:i,required:o}=t,a={root:["root",n&&"disabled",`labelPlacement${De(r)}`,i&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return Ue(a,J2e,e)},nke=we("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${sx.label}`]:e.label},e.root,e[`labelPlacement${De(n.labelPlacement)}`]]}})(({theme:t,ownerState:e})=>j({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${sx.disabled}`]:{cursor:"default"}},e.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},e.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},e.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${sx.label}`]:{[`&.${sx.disabled}`]:{color:(t.vars||t).palette.text.disabled}}})),rke=we("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(({theme:t})=>({[`&.${sx.error}`]:{color:(t.vars||t).palette.error.main}})),Og=M.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:f,labelPlacement:d="end",required:h,slotProps:p={}}=o,m=Ae(o,eke),g=oc(),v=(r=c??l.props.disabled)!=null?r:g==null?void 0:g.disabled,y=h??l.props.required,x={disabled:v,required:y};["checked","name","onChange","value","inputRef"].forEach(E=>{typeof l.props[E]>"u"&&typeof o[E]<"u"&&(x[E]=o[E])});const b=gd({props:o,muiFormControl:g,states:["error"]}),_=j({},o,{disabled:v,labelPlacement:d,required:y,error:b.error}),S=tke(_),O=(i=p.typography)!=null?i:s.typography;let C=f;return C!=null&&C.type!==At&&!u&&(C=w.jsx(At,j({component:"span"},O,{className:ke(S.label,O==null?void 0:O.className),children:C}))),w.jsxs(nke,j({className:ke(S.root,a),ownerState:_,ref:n},m,{children:[M.cloneElement(l,x),y?w.jsxs(Z2e,{display:"block",children:[C,w.jsxs(rke,{ownerState:_,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):C]}))});function ike(t){return We("MuiFormGroup",t)}Ve("MuiFormGroup",["root","row","error"]);const oke=["className","row"],ake=t=>{const{classes:e,row:n,error:r}=t;return Ue({root:["root",n&&"row",r&&"error"]},ike,e)},ske=we("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.row&&e.row]}})(({ownerState:t})=>j({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})),lke=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormGroup"}),{className:i,row:o=!1}=r,a=Ae(r,oke),s=oc(),l=gd({props:r,muiFormControl:s,states:["error"]}),c=j({},r,{row:o,error:l.error}),u=ake(c);return w.jsx(ske,j({className:ke(u.root,i),ownerState:c,ref:n},a))});function cke(t){return We("MuiFormHelperText",t)}const E8=Ve("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var P8;const uke=["children","className","component","disabled","error","filled","focused","margin","required","variant"],fke=t=>{const{classes:e,contained:n,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=t,c={root:["root",i&&"disabled",o&&"error",r&&`size${De(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Ue(c,cke,e)},dke=we("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size&&e[`size${De(n.size)}`],n.contained&&e.contained,n.filled&&e.filled]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${E8.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${E8.error}`]:{color:(t.vars||t).palette.error.main}},e.size==="small"&&{marginTop:4},e.contained&&{marginLeft:14,marginRight:14})),Gre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormHelperText"}),{children:i,className:o,component:a="p"}=r,s=Ae(r,uke),l=oc(),c=gd({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=j({},r,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=fke(u);return w.jsx(dke,j({as:a,ownerState:u,className:ke(f.root,o),ref:n},s,{children:i===" "?P8||(P8=w.jsx("span",{className:"notranslate",children:"​"})):i}))});function hke(t){return We("MuiFormLabel",t)}const zx=Ve("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),pke=["children","className","color","component","disabled","error","filled","focused","required"],mke=t=>{const{classes:e,color:n,focused:r,disabled:i,error:o,filled:a,required:s}=t,l={root:["root",`color${De(n)}`,i&&"disabled",o&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]};return Ue(l,hke,e)},gke=we("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},e)=>j({},e.root,t.color==="secondary"&&e.colorSecondary,t.filled&&e.filled)})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},t.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${zx.focused}`]:{color:(t.vars||t).palette[e.color].main},[`&.${zx.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${zx.error}`]:{color:(t.vars||t).palette.error.main}})),vke=we("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(({theme:t})=>({[`&.${zx.error}`]:{color:(t.vars||t).palette.error.main}})),yke=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiFormLabel"}),{children:i,className:o,component:a="label"}=r,s=Ae(r,pke),l=oc(),c=gd({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=j({},r,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),f=mke(u);return w.jsxs(gke,j({as:a,ownerState:u,className:ke(f.root,o),ref:n},s,{children:[i,c.required&&w.jsxs(vke,{ownerState:u,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),M8=M.createContext();function xke(t){return We("MuiGrid",t)}const bke=[0,1,2,3,4,5,6,7,8,9,10],_ke=["column-reverse","column","row-reverse","row"],wke=["nowrap","wrap-reverse","wrap"],h0=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Db=Ve("MuiGrid",["root","container","item","zeroMinWidth",...bke.map(t=>`spacing-xs-${t}`),..._ke.map(t=>`direction-xs-${t}`),...wke.map(t=>`wrap-xs-${t}`),...h0.map(t=>`grid-xs-${t}`),...h0.map(t=>`grid-sm-${t}`),...h0.map(t=>`grid-md-${t}`),...h0.map(t=>`grid-lg-${t}`),...h0.map(t=>`grid-xl-${t}`)]),Ske=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Cg(t){const e=parseFloat(t);return`${e}${String(t).replace(String(e),"")||"px"}`}function Oke({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((r,i)=>{let o={};if(e[i]&&(n=e[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Lh({values:e.columns,breakpoints:t.breakpoints.values}),s=typeof a=="object"?a[i]:a;if(s==null)return r;const l=`${Math.round(n/s*1e8)/1e6}%`;let c={};if(e.container&&e.item&&e.columnSpacing!==0){const u=t.spacing(e.columnSpacing);if(u!=="0px"){const f=`calc(${l} + ${Cg(u)})`;c={flexBasis:f,maxWidth:f}}}o=j({flexBasis:l,flexGrow:0,maxWidth:l},c)}return t.breakpoints.values[i]===0?Object.assign(r,o):r[t.breakpoints.up(i)]=o,r},{})}function Cke({theme:t,ownerState:e}){const n=Lh({values:e.direction,breakpoints:t.breakpoints.values});return Wo({theme:t},n,r=>{const i={flexDirection:r};return r.indexOf("column")===0&&(i[`& > .${Db.item}`]={maxWidth:"none"}),i})}function Hre({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(i=>{n===""&&e[i]!==0&&(n=i)});const r=Object.keys(t).sort((i,o)=>t[i]-t[o]);return r.slice(0,r.indexOf(n))}function Tke({theme:t,ownerState:e}){const{container:n,rowSpacing:r}=e;let i={};if(n&&r!==0){const o=Lh({values:r,breakpoints:t.breakpoints.values});let a;typeof o=="object"&&(a=Hre({breakpoints:t.breakpoints.values,values:o})),i=Wo({theme:t},o,(s,l)=>{var c;const u=t.spacing(s);return u!=="0px"?{marginTop:`-${Cg(u)}`,[`& > .${Db.item}`]:{paddingTop:Cg(u)}}:(c=a)!=null&&c.includes(l)?{}:{marginTop:0,[`& > .${Db.item}`]:{paddingTop:0}}})}return i}function Eke({theme:t,ownerState:e}){const{container:n,columnSpacing:r}=e;let i={};if(n&&r!==0){const o=Lh({values:r,breakpoints:t.breakpoints.values});let a;typeof o=="object"&&(a=Hre({breakpoints:t.breakpoints.values,values:o})),i=Wo({theme:t},o,(s,l)=>{var c;const u=t.spacing(s);return u!=="0px"?{width:`calc(100% + ${Cg(u)})`,marginLeft:`-${Cg(u)}`,[`& > .${Db.item}`]:{paddingLeft:Cg(u)}}:(c=a)!=null&&c.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${Db.item}`]:{paddingLeft:0}}})}return i}function Pke(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const r=[];return e.forEach(i=>{const o=t[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const Mke=we("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=Pke(a,c,e));const f=[];return c.forEach(d=>{const h=n[d];h&&f.push(e[`grid-${d}-${String(h)}`])}),[e.root,r&&e.container,o&&e.item,l&&e.zeroMinWidth,...u,i!=="row"&&e[`direction-xs-${String(i)}`],s!=="wrap"&&e[`wrap-xs-${String(s)}`],...f]}})(({ownerState:t})=>j({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},t.wrap!=="wrap"&&{flexWrap:t.wrap}),Cke,Tke,Eke,Oke);function kke(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(r=>{const i=t[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const Ake=t=>{const{classes:e,container:n,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=t;let c=[];n&&(c=kke(o,l));const u=[];l.forEach(d=>{const h=t[d];h&&u.push(`grid-${d}-${String(h)}`)});const f={root:["root",n&&"container",i&&"item",s&&"zeroMinWidth",...c,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...u]};return Ue(f,xke,e)},MC=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiGrid"}),{breakpoints:i}=Go(),o=P1(r),{className:a,columns:s,columnSpacing:l,component:c="div",container:u=!1,direction:f="row",item:d=!1,rowSpacing:h,spacing:p=0,wrap:m="wrap",zeroMinWidth:g=!1}=o,v=Ae(o,Ske),y=h||p,x=l||p,b=M.useContext(M8),_=u?s||12:b,S={},O=j({},v);i.keys.forEach(k=>{v[k]!=null&&(S[k]=v[k],delete O[k])});const C=j({},o,{columns:_,container:u,direction:f,item:d,rowSpacing:y,columnSpacing:x,wrap:m,zeroMinWidth:g,spacing:p},S,{breakpoints:i.keys}),E=Ake(C);return w.jsx(M8.Provider,{value:_,children:w.jsx(Mke,j({ownerState:C,className:ke(E.root,a),as:c,ref:n},O))})}),Rke=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function UL(t){return`scale(${t}, ${t**2})`}const Ike={entering:{opacity:1,transform:UL(1)},entered:{opacity:1,transform:"none"}},MA=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ev=M.forwardRef(function(e,n){const{addEndListener:r,appear:i=!0,children:o,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:f,onExited:d,onExiting:h,style:p,timeout:m="auto",TransitionComponent:g=ka}=e,v=Ae(e,Rke),y=bf(),x=M.useRef(),b=Go(),_=M.useRef(null),S=Zt(_,o.ref,n),O=L=>z=>{if(L){const B=_.current;z===void 0?L(B):L(B,z)}},C=O(u),E=O((L,z)=>{u5(L);const{duration:B,delay:U,easing:W}=Zf({style:p,timeout:m,easing:a},{mode:"enter"});let $;m==="auto"?($=b.transitions.getAutoHeightDuration(L.clientHeight),x.current=$):$=B,L.style.transition=[b.transitions.create("opacity",{duration:$,delay:U}),b.transitions.create("transform",{duration:MA?$:$*.666,delay:U,easing:W})].join(","),l&&l(L,z)}),k=O(c),I=O(h),P=O(L=>{const{duration:z,delay:B,easing:U}=Zf({style:p,timeout:m,easing:a},{mode:"exit"});let W;m==="auto"?(W=b.transitions.getAutoHeightDuration(L.clientHeight),x.current=W):W=z,L.style.transition=[b.transitions.create("opacity",{duration:W,delay:B}),b.transitions.create("transform",{duration:MA?W:W*.666,delay:MA?B:B||W*.333,easing:U})].join(","),L.style.opacity=0,L.style.transform=UL(.75),f&&f(L)}),R=O(d),T=L=>{m==="auto"&&y.start(x.current||0,L),r&&r(_.current,L)};return w.jsx(g,j({appear:i,in:s,nodeRef:_,onEnter:E,onEntered:k,onEntering:C,onExit:P,onExited:R,onExiting:I,addEndListener:T,timeout:m==="auto"?null:m},v,{children:(L,z)=>M.cloneElement(o,j({style:j({opacity:0,transform:UL(.75),visibility:L==="exited"&&!s?"hidden":void 0},Ike[L],p,o.props.style),ref:S},z))}))});ev.muiSupportAuto=!0;const Dke=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Lke=t=>{const{classes:e,disableUnderline:n}=t,i=Ue({root:["root",!n&&"underline"],input:["input"]},kPe,e);return j({},e,i)},Nke=we(YM,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...XM(t,e),!n.disableUnderline&&e.underline]}})(({theme:t,ownerState:e})=>{let r=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(r=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),j({position:"relative"},e.formControl&&{"label + &":{marginTop:16}},!e.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[e.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d0.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d0.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d0.disabled}, .${d0.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${d0.disabled}:before`]:{borderBottomStyle:"dotted"}})}),$ke=we(KM,{name:"MuiInput",slot:"Input",overridesResolver:QM})({}),yd=M.forwardRef(function(e,n){var r,i,o,a;const s=qe({props:e,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:d="input",multiline:h=!1,slotProps:p,slots:m={},type:g="text"}=s,v=Ae(s,Dke),y=Lke(s),b={root:{ownerState:{disableUnderline:l}}},_=p??u?Ii(p??u,b):b,S=(r=(i=m.root)!=null?i:c.Root)!=null?r:Nke,O=(o=(a=m.input)!=null?a:c.Input)!=null?o:$ke;return w.jsx(_5,j({slots:{root:S,input:O},slotProps:_,fullWidth:f,inputComponent:d,multiline:h,ref:n,type:g},v,{classes:y}))});yd.muiName="Input";function Fke(t){return We("MuiInputAdornment",t)}const k8=Ve("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var A8;const jke=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Bke=(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],n.disablePointerEvents===!0&&e.disablePointerEvents,e[n.variant]]},zke=t=>{const{classes:e,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=t,s={root:["root",n&&"disablePointerEvents",i&&`position${De(i)}`,a,r&&"hiddenLabel",o&&`size${De(o)}`]};return Ue(s,Fke,e)},Uke=we("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Bke})(({theme:t,ownerState:e})=>j({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},e.variant==="filled"&&{[`&.${k8.positionStart}&:not(.${k8.hiddenLabel})`]:{marginTop:16}},e.position==="start"&&{marginRight:8},e.position==="end"&&{marginLeft:8},e.disablePointerEvents===!0&&{pointerEvents:"none"})),Wke=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiInputAdornment"}),{children:i,className:o,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=r,f=Ae(r,jke),d=oc()||{};let h=u;u&&d.variant,d&&!h&&(h=d.variant);const p=j({},r,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:c,variant:h}),m=zke(p);return w.jsx(qM.Provider,{value:null,children:w.jsx(Uke,j({as:a,ownerState:p,className:ke(m.root,o),ref:n},f,{children:typeof i=="string"&&!l?w.jsx(At,{color:"text.secondary",children:i}):w.jsxs(M.Fragment,{children:[c==="start"?A8||(A8=w.jsx("span",{className:"notranslate",children:"​"})):null,i]})}))})});function Vke(t){return We("MuiInputLabel",t)}Ve("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Gke=["disableAnimation","margin","shrink","variant","className"],Hke=t=>{const{classes:e,formControl:n,size:r,shrink:i,disableAnimation:o,variant:a,required:s}=t,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${De(r)}`,a],asterisk:[s&&"asterisk"]},c=Ue(l,Vke,e);return j({},e,c)},qke=we(yke,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${zx.asterisk}`]:e.asterisk},e.root,n.formControl&&e.formControl,n.size==="small"&&e.sizeSmall,n.shrink&&e.shrink,!n.disableAnimation&&e.animated,n.focused&&e.focused,e[n.variant]]}})(({theme:t,ownerState:e})=>j({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},e.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},e.size==="small"&&{transform:"translate(0, 17px) scale(1)"},e.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!e.disableAnimation&&{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},e.variant==="filled"&&j({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},e.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},e.shrink&&j({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},e.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),e.variant==="outlined"&&j({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},e.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},e.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),ny=M.forwardRef(function(e,n){const r=qe({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:o,className:a}=r,s=Ae(r,Gke),l=oc();let c=o;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=gd({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),f=j({},r,{disableAnimation:i,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),d=Hke(f);return w.jsx(qke,j({"data-shrink":c,ownerState:f,ref:n,className:ke(d.root,a)},s,{classes:d}))});function Xke(t){return We("MuiLink",t)}const Qke=Ve("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),qre={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Yke=t=>qre[t]||t,Kke=({theme:t,ownerState:e})=>{const n=Yke(e.color),r=Xg(t,`palette.${n}`,!1)||e.color,i=Xg(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:kt(r,.4)},Zke=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Jke=t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root",`underline${De(i)}`,n==="button"&&"button",r&&"focusVisible"]};return Ue(o,Xke,e)},eAe=we(At,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${De(n.underline)}`],n.component==="button"&&e.button]}})(({theme:t,ownerState:e})=>j({},e.underline==="none"&&{textDecoration:"none"},e.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},e.underline==="always"&&j({textDecoration:"underline"},e.color!=="inherit"&&{textDecorationColor:Kke({theme:t,ownerState:e})},{"&:hover":{textDecorationColor:"inherit"}}),e.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Qke.focusVisible}`]:{outline:"auto"}})),tAe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiLink"}),{className:i,color:o="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:f="inherit",sx:d}=r,h=Ae(r,Zke),{isFocusVisibleRef:p,onBlur:m,onFocus:g,ref:v}=k1(),[y,x]=M.useState(!1),b=Zt(n,v),_=E=>{m(E),p.current===!1&&x(!1),s&&s(E)},S=E=>{g(E),p.current===!0&&x(!0),l&&l(E)},O=j({},r,{color:o,component:a,focusVisible:y,underline:u,variant:f}),C=Jke(O);return w.jsx(eAe,j({color:o,className:ke(C.root,i),classes:c,component:a,onBlur:_,onFocus:S,ref:b,ownerState:O,variant:f,sx:[...Object.keys(qre).includes(o)?[]:[{color:o}],...Array.isArray(d)?d:[d]]},h))}),Xs=M.createContext({});function nAe(t){return We("MuiList",t)}Ve("MuiList",["root","padding","dense","subheader"]);const rAe=["children","className","component","dense","disablePadding","subheader"],iAe=t=>{const{classes:e,disablePadding:n,dense:r,subheader:i}=t;return Ue({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},nAe,e)},oAe=we("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})(({ownerState:t})=>j({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})),e2=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiList"}),{children:i,className:o,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=r,u=Ae(r,rAe),f=M.useMemo(()=>({dense:s}),[s]),d=j({},r,{component:a,dense:s,disablePadding:l}),h=iAe(d);return w.jsx(Xs.Provider,{value:f,children:w.jsxs(oAe,j({as:a,className:ke(h.root,o),ref:n,ownerState:d},u,{children:[c,i]}))})});function aAe(t){return We("MuiListItem",t)}const Nm=Ve("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function sAe(t){return We("MuiListItemButton",t)}const $m=Ve("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),lAe=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],cAe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]},uAe=t=>{const{alignItems:e,classes:n,dense:r,disabled:i,disableGutters:o,divider:a,selected:s}=t,c=Ue({root:["root",r&&"dense",!o&&"gutters",a&&"divider",i&&"disabled",e==="flex-start"&&"alignItemsFlexStart",s&&"selected"]},sAe,n);return j({},n,c)},fAe=we(fs,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:cAe})(({theme:t,ownerState:e})=>j({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${$m.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${$m.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${$m.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${$m.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${$m.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.alignItems==="flex-start"&&{alignItems:"flex-start"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.dense&&{paddingTop:4,paddingBottom:4})),Xre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:a="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:d=!1,className:h}=r,p=Ae(r,lAe),m=M.useContext(Xs),g=M.useMemo(()=>({dense:l||m.dense||!1,alignItems:i,disableGutters:c}),[i,m.dense,l,c]),v=M.useRef(null);Hr(()=>{o&&v.current&&v.current.focus()},[o]);const y=j({},r,{alignItems:i,dense:g.dense,disableGutters:c,divider:u,selected:d}),x=uAe(y),b=Zt(v,n);return w.jsx(Xs.Provider,{value:g,children:w.jsx(fAe,j({ref:b,href:p.href||p.to,component:(p.href||p.to)&&a==="div"?"button":a,focusVisibleClassName:ke(x.focusVisible,f),ownerState:y,className:ke(x.root,h)},p,{classes:x,children:s}))})});function dAe(t){return We("MuiListItemSecondaryAction",t)}Ve("MuiListItemSecondaryAction",["root","disableGutters"]);const hAe=["className"],pAe=t=>{const{disableGutters:e,classes:n}=t;return Ue({root:["root",e&&"disableGutters"]},dAe,n)},mAe=we("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>j({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),Lb=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemSecondaryAction"}),{className:i}=r,o=Ae(r,hAe),a=M.useContext(Xs),s=j({},r,{disableGutters:a.disableGutters}),l=pAe(s);return w.jsx(mAe,j({className:ke(l.root,i),ownerState:s,ref:n},o))});Lb.muiName="ListItemSecondaryAction";const gAe=["className"],vAe=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],yAe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},xAe=t=>{const{alignItems:e,button:n,classes:r,dense:i,disabled:o,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=t;return Ue({root:["root",i&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",o&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},aAe,r)},bAe=we("div",{name:"MuiListItem",slot:"Root",overridesResolver:yAe})(({theme:t,ownerState:e})=>j({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&j({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${$m.root}`]:{paddingRight:48}},{[`&.${Nm.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Nm.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Nm.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Nm.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Nm.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),_Ae=we("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),Ux=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItem"}),{alignItems:i="center",autoFocus:o=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:h}={},dense:p=!1,disabled:m=!1,disableGutters:g=!1,disablePadding:v=!1,divider:y=!1,focusVisibleClassName:x,secondaryAction:b,selected:_=!1,slotProps:S={},slots:O={}}=r,C=Ae(r.ContainerProps,gAe),E=Ae(r,vAe),k=M.useContext(Xs),I=M.useMemo(()=>({dense:p||k.dense||!1,alignItems:i,disableGutters:g}),[i,k.dense,p,g]),P=M.useRef(null);Hr(()=>{o&&P.current&&P.current.focus()},[o]);const R=M.Children.toArray(s),T=R.length&&Nx(R[R.length-1],["ListItemSecondaryAction"]),L=j({},r,{alignItems:i,autoFocus:o,button:a,dense:I.dense,disabled:m,disableGutters:g,disablePadding:v,divider:y,hasSecondaryAction:T,selected:_}),z=xAe(L),B=Zt(P,n),U=O.root||u.Root||bAe,W=S.root||f.root||{},$=j({className:ke(z.root,W.className,l),disabled:m},E);let N=c||"li";return a&&($.component=c||"div",$.focusVisibleClassName=ke(Nm.focusVisible,x),N=fs),T?(N=!$.component&&!c?"div":N,d==="li"&&(N==="li"?N="div":$.component==="li"&&($.component="div")),w.jsx(Xs.Provider,{value:I,children:w.jsxs(_Ae,j({as:d,className:ke(z.container,h),ref:B,ownerState:L},C,{children:[w.jsx(U,j({},W,!Vl(U)&&{as:N,ownerState:j({},L,W.ownerState)},$,{children:R})),R.pop()]}))})):w.jsx(Xs.Provider,{value:I,children:w.jsxs(U,j({},W,{as:N,ref:B},!Vl(U)&&{ownerState:j({},L,W.ownerState)},$,{children:[R,b&&w.jsx(Lb,{children:b})]}))})});function wAe(t){return We("MuiListItemIcon",t)}const R8=Ve("MuiListItemIcon",["root","alignItemsFlexStart"]),SAe=["className"],OAe=t=>{const{alignItems:e,classes:n}=t;return Ue({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},wAe,n)},CAe=we("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(({theme:t,ownerState:e})=>j({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},e.alignItems==="flex-start"&&{marginTop:8})),Qre=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemIcon"}),{className:i}=r,o=Ae(r,SAe),a=M.useContext(Xs),s=j({},r,{alignItems:a.alignItems}),l=OAe(s);return w.jsx(CAe,j({className:ke(l.root,i),ownerState:s,ref:n},o))});function TAe(t){return We("MuiListItemText",t)}const RT=Ve("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),EAe=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],PAe=t=>{const{classes:e,inset:n,primary:r,secondary:i,dense:o}=t;return Ue({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},TAe,e)},MAe=we("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${RT.primary}`]:e.primary},{[`& .${RT.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})(({ownerState:t})=>j({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},t.primary&&t.secondary&&{marginTop:6,marginBottom:6},t.inset&&{paddingLeft:56})),ts=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiListItemText"}),{children:i,className:o,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f}=r,d=Ae(r,EAe),{dense:h}=M.useContext(Xs);let p=l??i,m=u;const g=j({},r,{disableTypography:a,inset:s,primary:!!p,secondary:!!m,dense:h}),v=PAe(g);return p!=null&&p.type!==At&&!a&&(p=w.jsx(At,j({variant:h?"body2":"body1",className:v.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:p}))),m!=null&&m.type!==At&&!a&&(m=w.jsx(At,j({variant:"body2",className:v.secondary,color:"text.secondary",display:"block"},f,{children:m}))),w.jsxs(MAe,j({className:ke(v.root,o),ownerState:g,ref:n},d,{children:[p,m]}))}),kAe=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function kA(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function I8(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function Yre(t,e){if(e===void 0)return!0;let n=t.innerText;return n===void 0&&(n=t.textContent),n=n.trim().toLowerCase(),n.length===0?!1:e.repeating?n[0]===e.keys[0]:n.indexOf(e.keys.join(""))===0}function p0(t,e,n,r,i,o){let a=!1,s=i(t,e,e?n:!1);for(;s;){if(s===t.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!Yre(s,o)||l)s=i(t,s,n);else return s.focus(),!0}return!1}const Kre=M.forwardRef(function(e,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:f="selectedMenu"}=e,d=Ae(e,kAe),h=M.useRef(null),p=M.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Hr(()=>{i&&h.current.focus()},[i]),M.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(x,{direction:b})=>{const _=!h.current.style.width;if(x.clientHeight{const b=h.current,_=x.key,S=$n(b).activeElement;if(_==="ArrowDown")x.preventDefault(),p0(b,S,c,l,kA);else if(_==="ArrowUp")x.preventDefault(),p0(b,S,c,l,I8);else if(_==="Home")x.preventDefault(),p0(b,null,c,l,kA);else if(_==="End")x.preventDefault(),p0(b,null,c,l,I8);else if(_.length===1){const O=p.current,C=_.toLowerCase(),E=performance.now();O.keys.length>0&&(E-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&C!==O.keys[0]&&(O.repeating=!1)),O.lastTime=E,O.keys.push(C);const k=S&&!O.repeating&&Yre(S,O);O.previousKeyMatched&&(k||p0(b,S,!1,l,kA,O))?x.preventDefault():O.previousKeyMatched=!1}u&&u(x)},g=Zt(h,n);let v=-1;M.Children.forEach(a,(x,b)=>{if(!M.isValidElement(x)){v===b&&(v+=1,v>=a.length&&(v=-1));return}x.props.disabled||(f==="selectedMenu"&&x.props.selected||v===-1)&&(v=b),v===b&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(v+=1,v>=a.length&&(v=-1))});const y=M.Children.map(a,(x,b)=>{if(b===v){const _={};return o&&(_.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(_.tabIndex=0),M.cloneElement(x,_)}return x});return w.jsx(e2,j({role:"menu",ref:g,className:s,onKeyDown:m,tabIndex:i?0:-1},d,{children:y}))});function AAe(t){return We("MuiPopover",t)}Ve("MuiPopover",["root","paper"]);const RAe=["onEntering"],IAe=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],DAe=["slotProps"];function D8(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.height/2:e==="bottom"&&(n=t.height),n}function L8(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.width/2:e==="right"&&(n=t.width),n}function N8(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function AA(t){return typeof t=="function"?t():t}const LAe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"]},AAe,e)},NAe=we(Wre,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Zre=we(Ho,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ep=M.forwardRef(function(e,n){var r,i,o;const a=qe({props:e,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:d,className:h,container:p,elevation:m=8,marginThreshold:g=16,open:v,PaperProps:y={},slots:x,slotProps:b,transformOrigin:_={vertical:"top",horizontal:"left"},TransitionComponent:S=ev,transitionDuration:O="auto",TransitionProps:{onEntering:C}={},disableScrollLock:E=!1}=a,k=Ae(a.TransitionProps,RAe),I=Ae(a,IAe),P=(r=b==null?void 0:b.paper)!=null?r:y,R=M.useRef(),T=Zt(R,P.ref),L=j({},a,{anchorOrigin:c,anchorReference:f,elevation:m,marginThreshold:g,externalPaperSlotProps:P,transformOrigin:_,TransitionComponent:S,transitionDuration:O,TransitionProps:k}),z=LAe(L),B=M.useCallback(()=>{if(f==="anchorPosition")return u;const ve=AA(l),ce=(ve&&ve.nodeType===1?ve:$n(R.current).body).getBoundingClientRect();return{top:ce.top+D8(ce,c.vertical),left:ce.left+L8(ce,c.horizontal)}},[l,c.horizontal,c.vertical,u,f]),U=M.useCallback(ve=>({vertical:D8(ve,_.vertical),horizontal:L8(ve,_.horizontal)}),[_.horizontal,_.vertical]),W=M.useCallback(ve=>{const F={width:ve.offsetWidth,height:ve.offsetHeight},ce=U(F);if(f==="none")return{top:null,left:null,transformOrigin:N8(ce)};const le=B();let Q=le.top-ce.vertical,X=le.left-ce.horizontal;const ee=Q+F.height,ge=X+F.width,ye=cs(AA(l)),H=ye.innerHeight-g,G=ye.innerWidth-g;if(g!==null&&QH){const ie=ee-H;Q-=ie,ce.vertical+=ie}if(g!==null&&XG){const ie=ge-G;X-=ie,ce.horizontal+=ie}return{top:`${Math.round(Q)}px`,left:`${Math.round(X)}px`,transformOrigin:N8(ce)}},[l,f,B,U,g]),[$,N]=M.useState(v),D=M.useCallback(()=>{const ve=R.current;if(!ve)return;const F=W(ve);F.top!==null&&(ve.style.top=F.top),F.left!==null&&(ve.style.left=F.left),ve.style.transformOrigin=F.transformOrigin,N(!0)},[W]);M.useEffect(()=>(E&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D)),[l,E,D]);const A=(ve,F)=>{C&&C(ve,F),D()},q=()=>{N(!1)};M.useEffect(()=>{v&&D()}),M.useImperativeHandle(s,()=>v?{updatePosition:()=>{D()}}:null,[v,D]),M.useEffect(()=>{if(!v)return;const ve=Kv(()=>{D()}),F=cs(l);return F.addEventListener("resize",ve),()=>{ve.clear(),F.removeEventListener("resize",ve)}},[l,v,D]);let Y=O;O==="auto"&&!S.muiSupportAuto&&(Y=void 0);const K=p||(l?$n(AA(l)).body:void 0),se=(i=x==null?void 0:x.root)!=null?i:NAe,te=(o=x==null?void 0:x.paper)!=null?o:Zre,J=$r({elementType:te,externalSlotProps:j({},P,{style:$?P.style:j({},P.style,{opacity:0})}),additionalProps:{elevation:m,ref:T},ownerState:L,className:ke(z.paper,P==null?void 0:P.className)}),pe=$r({elementType:se,externalSlotProps:(b==null?void 0:b.root)||{},externalForwardedProps:I,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:K,open:v},ownerState:L,className:ke(z.root,h)}),{slotProps:be}=pe,re=Ae(pe,DAe);return w.jsx(se,j({},re,!Vl(se)&&{slotProps:be,disableScrollLock:E},{children:w.jsx(S,j({appear:!0,in:v,onEntering:A,onExited:q,timeout:Y},k,{children:w.jsx(te,j({},J,{children:d}))}))}))});function $Ae(t){return We("MuiMenu",t)}Ve("MuiMenu",["root","paper","list"]);const FAe=["onEntering"],jAe=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],BAe={vertical:"top",horizontal:"right"},zAe={vertical:"top",horizontal:"left"},UAe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"],list:["list"]},$Ae,e)},WAe=we(Ep,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),VAe=we(Zre,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),GAe=we(Kre,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),Pp=M.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:f,open:d,PaperProps:h={},PopoverClasses:p,transitionDuration:m="auto",TransitionProps:{onEntering:g}={},variant:v="selectedMenu",slots:y={},slotProps:x={}}=o,b=Ae(o.TransitionProps,FAe),_=Ae(o,jAe),S=A1(),O=j({},o,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:g,PaperProps:h,transitionDuration:m,TransitionProps:b,variant:v}),C=UAe(O),E=a&&!c&&d,k=M.useRef(null),I=(U,W)=>{k.current&&k.current.adjustStyleForScrollbar(U,{direction:S?"rtl":"ltr"}),g&&g(U,W)},P=U=>{U.key==="Tab"&&(U.preventDefault(),f&&f(U,"tabKeyDown"))};let R=-1;M.Children.map(s,(U,W)=>{M.isValidElement(U)&&(U.props.disabled||(v==="selectedMenu"&&U.props.selected||R===-1)&&(R=W))});const T=(r=y.paper)!=null?r:VAe,L=(i=x.paper)!=null?i:h,z=$r({elementType:y.root,externalSlotProps:x.root,ownerState:O,className:[C.root,l]}),B=$r({elementType:T,externalSlotProps:L,ownerState:O,className:C.paper});return w.jsx(WAe,j({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?BAe:zAe,slots:{paper:T,root:y.root},slotProps:{root:z,paper:B},open:d,ref:n,transitionDuration:m,TransitionProps:j({onEntering:I},b),ownerState:O},_,{classes:p,children:w.jsx(GAe,j({onKeyDown:P,actions:k,autoFocus:a&&(R===-1||c),autoFocusItem:E,variant:v},u,{className:ke(C.list,u.className),children:s}))}))});function HAe(t){return We("MuiMenuItem",t)}const m0=Ve("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),qAe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],XAe=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.divider&&e.divider,!n.disableGutters&&e.gutters]},QAe=t=>{const{disabled:e,dense:n,divider:r,disableGutters:i,selected:o,classes:a}=t,l=Ue({root:["root",n&&"dense",e&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},HAe,a);return j({},a,l)},YAe=we(fs,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:XAe})(({theme:t,ownerState:e})=>j({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m0.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${m0.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${m0.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${m0.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${m0.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${T8.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${T8.inset}`]:{marginLeft:52},[`& .${RT.root}`]:{marginTop:0,marginBottom:0},[`& .${RT.inset}`]:{paddingLeft:36},[`& .${R8.root}`]:{minWidth:36}},!e.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},e.dense&&j({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{[`& .${R8.root} svg`]:{fontSize:"1.25rem"}}))),jr=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:f,className:d}=r,h=Ae(r,qAe),p=M.useContext(Xs),m=M.useMemo(()=>({dense:a||p.dense||!1,disableGutters:l}),[p.dense,a,l]),g=M.useRef(null);Hr(()=>{i&&g.current&&g.current.focus()},[i]);const v=j({},r,{dense:m.dense,divider:s,disableGutters:l}),y=QAe(r),x=Zt(g,n);let b;return r.disabled||(b=f!==void 0?f:-1),w.jsx(Xs.Provider,{value:m,children:w.jsx(YAe,j({ref:x,role:u,tabIndex:b,component:o,focusVisibleClassName:ke(y.focusVisible,c),className:ke(y.root,d)},h,{ownerState:v,classes:y}))})});function KAe(t){return We("MuiNativeSelect",t)}const O5=Ve("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ZAe=["className","disabled","error","IconComponent","inputRef","variant"],JAe=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:a}=t,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"]};return Ue(s,KAe,e)},Jre=({ownerState:t,theme:e})=>j({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":j({},e.vars?{backgroundColor:`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:e.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${O5.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},t.variant==="filled"&&{"&&&":{paddingRight:32}},t.variant==="outlined"&&{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}),eRe=we("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:hi,overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.select,e[n.variant],n.error&&e.error,{[`&.${O5.multiple}`]:e.multiple}]}})(Jre),eie=({ownerState:t,theme:e})=>j({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${O5.disabled}`]:{color:(e.vars||e).palette.action.disabled}},t.open&&{transform:"rotate(180deg)"},t.variant==="filled"&&{right:7},t.variant==="outlined"&&{right:7}),tRe=we("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})(eie),nRe=M.forwardRef(function(e,n){const{className:r,disabled:i,error:o,IconComponent:a,inputRef:s,variant:l="standard"}=e,c=Ae(e,ZAe),u=j({},e,{disabled:i,variant:l,error:o}),f=JAe(u);return w.jsxs(M.Fragment,{children:[w.jsx(eRe,j({ownerState:u,className:ke(f.select,r),disabled:i,ref:s||n},c)),e.multiple?null:w.jsx(tRe,{as:a,ownerState:u,className:f.icon})]})});var $8;const rRe=["children","classes","className","label","notched"],iRe=we("fieldset",{shouldForwardProp:hi})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),oRe=we("legend",{shouldForwardProp:hi})(({ownerState:t,theme:e})=>j({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},t.withLabel&&j({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})})));function aRe(t){const{className:e,label:n,notched:r}=t,i=Ae(t,rRe),o=n!=null&&n!=="",a=j({},t,{notched:r,withLabel:o});return w.jsx(iRe,j({"aria-hidden":!0,className:e,ownerState:a},i,{children:w.jsx(oRe,{ownerState:a,children:o?w.jsx("span",{children:n}):$8||($8=w.jsx("span",{className:"notranslate",children:"​"}))})}))}const sRe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],lRe=t=>{const{classes:e}=t,r=Ue({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},APe,e);return j({},e,r)},cRe=we(YM,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:XM})(({theme:t,ownerState:e})=>{const n=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return j({position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${Mu.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${Mu.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Mu.focused} .${Mu.notchedOutline}`]:{borderColor:(t.vars||t).palette[e.color].main,borderWidth:2},[`&.${Mu.error} .${Mu.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${Mu.disabled} .${Mu.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}},e.startAdornment&&{paddingLeft:14},e.endAdornment&&{paddingRight:14},e.multiline&&j({padding:"16.5px 14px"},e.size==="small"&&{padding:"8.5px 14px"}))}),uRe=we(aRe,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}}),fRe=we(KM,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:QM})(({theme:t,ownerState:e})=>j({padding:"16.5px 14px"},!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},e.size==="small"&&{padding:"8.5px 14px"},e.multiline&&{padding:0},e.startAdornment&&{paddingLeft:0},e.endAdornment&&{paddingRight:0})),C5=M.forwardRef(function(e,n){var r,i,o,a,s;const l=qe({props:e,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:f="input",label:d,multiline:h=!1,notched:p,slots:m={},type:g="text"}=l,v=Ae(l,sRe),y=lRe(l),x=oc(),b=gd({props:l,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),_=j({},l,{color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:x,fullWidth:u,hiddenLabel:b.hiddenLabel,multiline:h,size:b.size,type:g}),S=(r=(i=m.root)!=null?i:c.Root)!=null?r:cRe,O=(o=(a=m.input)!=null?a:c.Input)!=null?o:fRe;return w.jsx(_5,j({slots:{root:S,input:O},renderSuffix:C=>w.jsx(uRe,{ownerState:_,className:y.notchedOutline,label:d!=null&&d!==""&&b.required?s||(s=w.jsxs(M.Fragment,{children:[d," ","*"]})):d,notched:typeof p<"u"?p:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:u,inputComponent:f,multiline:h,ref:n,type:g},v,{classes:j({},y,{notchedOutline:null})}))});C5.muiName="Input";const dRe=ni(w.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),hRe=ni(w.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),pRe=we("span",{shouldForwardProp:hi})({position:"relative",display:"flex"}),mRe=we(dRe)({transform:"scale(1)"}),gRe=we(hRe)(({theme:t,ownerState:e})=>j({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},e.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}));function tie(t){const{checked:e=!1,classes:n={},fontSize:r}=t,i=j({},t,{checked:e});return w.jsxs(pRe,{className:n.root,ownerState:i,children:[w.jsx(mRe,{fontSize:r,className:n.background,ownerState:i}),w.jsx(gRe,{fontSize:r,className:n.dot,ownerState:i})]})}const nie=M.createContext(void 0);function vRe(){return M.useContext(nie)}function yRe(t){return We("MuiRadio",t)}const F8=Ve("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),xRe=["checked","checkedIcon","color","icon","name","onChange","size","className"],bRe=t=>{const{classes:e,color:n,size:r}=t,i={root:["root",`color${De(n)}`,r!=="medium"&&`size${De(r)}`]};return j({},e,Ue(i,yRe,e))},_Re=we(w5,{shouldForwardProp:t=>hi(t)||t==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size!=="medium"&&e[`size${De(n.size)}`],e[`color${De(n.color)}`]]}})(({theme:t,ownerState:e})=>j({color:(t.vars||t).palette.text.secondary},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${e.color==="default"?t.vars.palette.action.activeChannel:t.vars.palette[e.color].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(e.color==="default"?t.palette.action.active:t.palette[e.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.color!=="default"&&{[`&.${F8.checked}`]:{color:(t.vars||t).palette[e.color].main}},{[`&.${F8.disabled}`]:{color:(t.vars||t).palette.action.disabled}}));function wRe(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}const j8=w.jsx(tie,{checked:!0}),B8=w.jsx(tie,{}),Wx=M.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:s=j8,color:l="primary",icon:c=B8,name:u,onChange:f,size:d="medium",className:h}=o,p=Ae(o,xRe),m=j({},o,{color:l,size:d}),g=bRe(m),v=vRe();let y=a;const x=OT(f,v&&v.onChange);let b=u;return v&&(typeof y>"u"&&(y=wRe(v.value,o.value)),typeof b>"u"&&(b=v.name)),w.jsx(_Re,j({type:"radio",icon:M.cloneElement(c,{fontSize:(r=B8.props.fontSize)!=null?r:d}),checkedIcon:M.cloneElement(s,{fontSize:(i=j8.props.fontSize)!=null?i:d}),ownerState:m,classes:g,name:b,checked:y,onChange:x,ref:n,className:ke(g.root,h)},p))});function SRe(t){return We("MuiRadioGroup",t)}Ve("MuiRadioGroup",["root","row","error"]);const ORe=["actions","children","className","defaultValue","name","onChange","value"],CRe=t=>{const{classes:e,row:n,error:r}=t;return Ue({root:["root",n&&"row",r&&"error"]},SRe,e)},T5=M.forwardRef(function(e,n){const{actions:r,children:i,className:o,defaultValue:a,name:s,onChange:l,value:c}=e,u=Ae(e,ORe),f=M.useRef(null),d=CRe(e),[h,p]=Qs({controlled:c,default:a,name:"RadioGroup"});M.useImperativeHandle(r,()=>({focus:()=>{let y=f.current.querySelector("input:not(:disabled):checked");y||(y=f.current.querySelector("input:not(:disabled)")),y&&y.focus()}}),[]);const m=Zt(n,f),g=pd(s),v=M.useMemo(()=>({name:g,onChange(y){p(y.target.value),l&&l(y,y.target.value)},value:h}),[g,l,p,h]);return w.jsx(nie.Provider,{value:v,children:w.jsx(lke,j({role:"radiogroup",ref:m,className:ke(d.root,o)},u,{children:i}))})});function TRe(t){return We("MuiSelect",t)}const g0=Ve("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var z8;const ERe=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],PRe=we("div",{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`&.${g0.select}`]:e.select},{[`&.${g0.select}`]:e[n.variant]},{[`&.${g0.error}`]:e.error},{[`&.${g0.multiple}`]:e.multiple}]}})(Jre,{[`&.${g0.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),MRe=we("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})(eie),kRe=we("input",{shouldForwardProp:t=>DM(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function U8(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function ARe(t){return t==null||typeof t=="string"&&!t.trim()}const RRe=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:a}=t,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ue(s,TRe,e)},IRe=M.forwardRef(function(e,n){var r;const{"aria-describedby":i,"aria-label":o,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:d,displayEmpty:h,error:p=!1,IconComponent:m,inputRef:g,labelId:v,MenuProps:y={},multiple:x,name:b,onBlur:_,onChange:S,onClose:O,onFocus:C,onOpen:E,open:k,readOnly:I,renderValue:P,SelectDisplayProps:R={},tabIndex:T,value:L,variant:z="standard"}=e,B=Ae(e,ERe),[U,W]=Qs({controlled:L,default:f,name:"Select"}),[$,N]=Qs({controlled:k,default:u,name:"Select"}),D=M.useRef(null),A=M.useRef(null),[q,Y]=M.useState(null),{current:K}=M.useRef(k!=null),[se,te]=M.useState(),J=Zt(n,g),pe=M.useCallback(me=>{A.current=me,me&&Y(me)},[]),be=q==null?void 0:q.parentNode;M.useImperativeHandle(J,()=>({focus:()=>{A.current.focus()},node:D.current,value:U}),[U]),M.useEffect(()=>{u&&$&&q&&!K&&(te(s?null:be.clientWidth),A.current.focus())},[q,s]),M.useEffect(()=>{a&&A.current.focus()},[a]),M.useEffect(()=>{if(!v)return;const me=$n(A.current).getElementById(v);if(me){const $e=()=>{getSelection().isCollapsed&&A.current.focus()};return me.addEventListener("click",$e),()=>{me.removeEventListener("click",$e)}}},[v]);const re=(me,$e)=>{me?E&&E($e):O&&O($e),K||(te(s?null:be.clientWidth),N(me))},ve=me=>{me.button===0&&(me.preventDefault(),A.current.focus(),re(!0,me))},F=me=>{re(!1,me)},ce=M.Children.toArray(l),le=me=>{const $e=ce.find(Te=>Te.props.value===me.target.value);$e!==void 0&&(W($e.props.value),S&&S(me,$e))},Q=me=>$e=>{let Te;if($e.currentTarget.hasAttribute("tabindex")){if(x){Te=Array.isArray(U)?U.slice():[];const Re=U.indexOf(me.props.value);Re===-1?Te.push(me.props.value):Te.splice(Re,1)}else Te=me.props.value;if(me.props.onClick&&me.props.onClick($e),U!==Te&&(W(Te),S)){const Re=$e.nativeEvent||$e,ae=new Re.constructor(Re.type,Re);Object.defineProperty(ae,"target",{writable:!0,value:{value:Te,name:b}}),S(ae,me)}x||re(!1,$e)}},X=me=>{I||[" ","ArrowUp","ArrowDown","Enter"].indexOf(me.key)!==-1&&(me.preventDefault(),re(!0,me))},ee=q!==null&&$,ge=me=>{!ee&&_&&(Object.defineProperty(me,"target",{writable:!0,value:{value:U,name:b}}),_(me))};delete B["aria-invalid"];let ye,H;const G=[];let ie=!1;(AT({value:U})||h)&&(P?ye=P(U):ie=!0);const he=ce.map(me=>{if(!M.isValidElement(me))return null;let $e;if(x){if(!Array.isArray(U))throw new Error(fu(2));$e=U.some(Te=>U8(Te,me.props.value)),$e&&ie&&G.push(me.props.children)}else $e=U8(U,me.props.value),$e&&ie&&(H=me.props.children);return M.cloneElement(me,{"aria-selected":$e?"true":"false",onClick:Q(me),onKeyUp:Te=>{Te.key===" "&&Te.preventDefault(),me.props.onKeyUp&&me.props.onKeyUp(Te)},role:"option",selected:$e,value:void 0,"data-value":me.props.value})});ie&&(x?G.length===0?ye=null:ye=G.reduce((me,$e,Te)=>(me.push($e),Te{const{classes:e}=t;return e},E5={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>hi(t)&&t!=="variant",slot:"Root"},$Re=we(yd,E5)(""),FRe=we(C5,E5)(""),jRe=we(S5,E5)(""),xd=M.forwardRef(function(e,n){const r=qe({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:o,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=IPe,id:f,input:d,inputProps:h,label:p,labelId:m,MenuProps:g,multiple:v=!1,native:y=!1,onClose:x,onOpen:b,open:_,renderValue:S,SelectDisplayProps:O,variant:C="outlined"}=r,E=Ae(r,DRe),k=y?nRe:IRe,I=oc(),P=gd({props:r,muiFormControl:I,states:["variant","error"]}),R=P.variant||C,T=j({},r,{variant:R,classes:a}),L=NRe(T),z=Ae(L,LRe),B=d||{standard:w.jsx($Re,{ownerState:T}),outlined:w.jsx(FRe,{label:p,ownerState:T}),filled:w.jsx(jRe,{ownerState:T})}[R],U=Zt(n,B.ref);return w.jsx(M.Fragment,{children:M.cloneElement(B,j({inputComponent:k,inputProps:j({children:o,error:P.error,IconComponent:u,variant:R,type:void 0,multiple:v},y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:g,onClose:x,onOpen:b,open:_,renderValue:S,SelectDisplayProps:j({id:f},O)},h,{classes:h?Ii(z,h.classes):z},d?d.props.inputProps:{})},(v&&y||c)&&R==="outlined"?{notched:!0}:{},{ref:U,className:ke(B.props.className,s,L.root)},!d&&{variant:R},E))})});xd.muiName="Select";const BRe=t=>!t||!Vl(t);function zRe(t){return We("MuiSlider",t)}const Xa=Ve("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),URe=t=>{const{open:e}=t;return{offset:ke(e&&Xa.valueLabelOpen),circle:Xa.valueLabelCircle,label:Xa.valueLabelLabel}};function WRe(t){const{children:e,className:n,value:r}=t,i=URe(t);return e?M.cloneElement(e,{className:ke(e.props.className)},w.jsxs(M.Fragment,{children:[e.props.children,w.jsx("span",{className:ke(i.offset,n),"aria-hidden":!0,children:w.jsx("span",{className:i.circle,children:w.jsx("span",{className:i.label,children:r})})})]})):null}const VRe=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"],GRe=s5();function W8(t){return t}const HRe=we("span",{name:"MuiSlider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${De(n.color)}`],n.size!=="medium"&&e[`size${De(n.size)}`],n.marked&&e.marked,n.orientation==="vertical"&&e.vertical,n.track==="inverted"&&e.trackInverted,n.track===!1&&e.trackFalse]}})(({theme:t})=>{var e;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Xa.disabled}`]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},[`&.${Xa.dragging}`]:{[`& .${Xa.thumb}, & .${Xa.track}`]:{transition:"none"}},variants:[...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),qRe=we("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(t,e)=>e.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),XRe=we("span",{name:"MuiSlider",slot:"Track",overridesResolver:(t,e)=>e.track})(({theme:t})=>{var e;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:j({},t.vars?{backgroundColor:t.vars.palette.Slider[`${n}Track`],borderColor:t.vars.palette.Slider[`${n}Track`]}:j({backgroundColor:Ab(t.palette[n].main,.62),borderColor:Ab(t.palette[n].main,.62)},t.applyStyles("dark",{backgroundColor:kb(t.palette[n].main,.5)}),t.applyStyles("dark",{borderColor:kb(t.palette[n].main,.5)})))}))]}}),QRe=we("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.thumb,e[`thumbColor${De(n.color)}`],n.size!=="medium"&&e[`thumbSize${De(n.size)}`]]}})(({theme:t})=>{var e;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Xa.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((e=t.vars)!=null?e:t).palette).filter(n=>{var r;return((r=t.vars)!=null?r:t).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${Xa.focusVisible}`]:j({},t.vars?{boxShadow:`0px 0px 0px 8px rgba(${t.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${kt(t.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Xa.active}`]:j({},t.vars?{boxShadow:`0px 0px 0px 14px rgba(${t.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${kt(t.palette[n].main,.16)}`})}}))]}}),YRe=we(WRe,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(t,e)=>e.valueLabel})(({theme:t})=>j({zIndex:1,whiteSpace:"nowrap"},t.typography.body2,{fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Xa.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Xa.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),KRe=we("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:t=>DM(t)&&t!=="markActive",overridesResolver:(t,e)=>{const{markActive:n}=t;return[e.mark,n&&e.markActive]}})(({theme:t})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8}}]})),ZRe=we("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:t=>DM(t)&&t!=="markLabelActive",overridesResolver:(t,e)=>e.markLabel})(({theme:t})=>j({},t.typography.body2,{color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(t.vars||t).palette.text.primary}}]})),JRe=t=>{const{disabled:e,dragging:n,marked:r,orientation:i,track:o,classes:a,color:s,size:l}=t,c={root:["root",e&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",s&&`color${De(s)}`,l&&`size${De(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",e&&"disabled",l&&`thumbSize${De(l)}`,s&&`thumbColor${De(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ue(c,zRe,a)},eIe=({children:t})=>t,ry=M.forwardRef(function(e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b,_,S,O,C,E,k;const I=GRe({props:e,name:"MuiSlider"}),P=A1(),{"aria-label":R,"aria-valuetext":T,"aria-labelledby":L,component:z="span",components:B={},componentsProps:U={},color:W="primary",classes:$,className:N,disableSwap:D=!1,disabled:A=!1,getAriaLabel:q,getAriaValueText:Y,marks:K=!1,max:se=100,min:te=0,orientation:J="horizontal",shiftStep:pe=10,size:be="medium",step:re=1,scale:ve=W8,slotProps:F,slots:ce,track:le="normal",valueLabelDisplay:Q="off",valueLabelFormat:X=W8}=I,ee=Ae(I,VRe),ge=j({},I,{isRtl:P,max:se,min:te,classes:$,disabled:A,disableSwap:D,orientation:J,marks:K,color:W,size:be,step:re,shiftStep:pe,scale:ve,track:le,valueLabelDisplay:Q,valueLabelFormat:X}),{axisProps:ye,getRootProps:H,getHiddenInputProps:G,getThumbProps:ie,open:he,active:_e,axis:oe,focusedThumbIndex:Z,range:V,dragging:de,marks:xe,values:Me,trackOffset:me,trackLeap:$e,getThumbStyle:Te}=iPe(j({},ge,{rootRef:n}));ge.marked=xe.length>0&&xe.some(Ze=>Ze.label),ge.dragging=de,ge.focusedThumbIndex=Z;const Re=JRe(ge),ae=(r=(i=ce==null?void 0:ce.root)!=null?i:B.Root)!=null?r:HRe,Le=(o=(a=ce==null?void 0:ce.rail)!=null?a:B.Rail)!=null?o:qRe,Ee=(s=(l=ce==null?void 0:ce.track)!=null?l:B.Track)!=null?s:XRe,ze=(c=(u=ce==null?void 0:ce.thumb)!=null?u:B.Thumb)!=null?c:QRe,He=(f=(d=ce==null?void 0:ce.valueLabel)!=null?d:B.ValueLabel)!=null?f:YRe,bt=(h=(p=ce==null?void 0:ce.mark)!=null?p:B.Mark)!=null?h:KRe,Dt=(m=(g=ce==null?void 0:ce.markLabel)!=null?g:B.MarkLabel)!=null?m:ZRe,nn=(v=(y=ce==null?void 0:ce.input)!=null?y:B.Input)!=null?v:"input",Xr=(x=F==null?void 0:F.root)!=null?x:U.root,Cn=(b=F==null?void 0:F.rail)!=null?b:U.rail,Qr=(_=F==null?void 0:F.track)!=null?_:U.track,ir=(S=F==null?void 0:F.thumb)!=null?S:U.thumb,to=(O=F==null?void 0:F.valueLabel)!=null?O:U.valueLabel,yo=(C=F==null?void 0:F.mark)!=null?C:U.mark,Xo=(E=F==null?void 0:F.markLabel)!=null?E:U.markLabel,al=(k=F==null?void 0:F.input)!=null?k:U.input,yi=$r({elementType:ae,getSlotProps:H,externalSlotProps:Xr,externalForwardedProps:ee,additionalProps:j({},BRe(ae)&&{as:z}),ownerState:j({},ge,Xr==null?void 0:Xr.ownerState),className:[Re.root,N]}),Ts=$r({elementType:Le,externalSlotProps:Cn,ownerState:ge,className:Re.rail}),ne=$r({elementType:Ee,externalSlotProps:Qr,additionalProps:{style:j({},ye[oe].offset(me),ye[oe].leap($e))},ownerState:j({},ge,Qr==null?void 0:Qr.ownerState),className:Re.track}),Pe=$r({elementType:ze,getSlotProps:ie,externalSlotProps:ir,ownerState:j({},ge,ir==null?void 0:ir.ownerState),className:Re.thumb}),Ie=$r({elementType:He,externalSlotProps:to,ownerState:j({},ge,to==null?void 0:to.ownerState),className:Re.valueLabel}),Oe=$r({elementType:bt,externalSlotProps:yo,ownerState:ge,className:Re.mark}),Ne=$r({elementType:Dt,externalSlotProps:Xo,ownerState:ge,className:Re.markLabel}),ot=$r({elementType:nn,getSlotProps:G,externalSlotProps:al,ownerState:ge});return w.jsxs(ae,j({},yi,{children:[w.jsx(Le,j({},Ts)),w.jsx(Ee,j({},ne)),xe.filter(Ze=>Ze.value>=te&&Ze.value<=se).map((Ze,mt)=>{const wt=kT(Ze.value,te,se),zt=ye[oe].offset(wt);let Pt;return le===!1?Pt=Me.indexOf(Ze.value)!==-1:Pt=le==="normal"&&(V?Ze.value>=Me[0]&&Ze.value<=Me[Me.length-1]:Ze.value<=Me[0])||le==="inverted"&&(V?Ze.value<=Me[0]||Ze.value>=Me[Me.length-1]:Ze.value>=Me[0]),w.jsxs(M.Fragment,{children:[w.jsx(bt,j({"data-index":mt},Oe,!Vl(bt)&&{markActive:Pt},{style:j({},zt,Oe.style),className:ke(Oe.className,Pt&&Re.markActive)})),Ze.label!=null?w.jsx(Dt,j({"aria-hidden":!0,"data-index":mt},Ne,!Vl(Dt)&&{markLabelActive:Pt},{style:j({},zt,Ne.style),className:ke(Re.markLabel,Ne.className,Pt&&Re.markLabelActive),children:Ze.label})):null]},mt)}),Me.map((Ze,mt)=>{const wt=kT(Ze,te,se),zt=ye[oe].offset(wt),Pt=Q==="off"?eIe:He;return w.jsx(Pt,j({},!Vl(Pt)&&{valueLabelFormat:X,valueLabelDisplay:Q,value:typeof X=="function"?X(ve(Ze),mt):X,index:mt,open:he===mt||_e===mt||Q==="on",disabled:A},Ie,{children:w.jsx(ze,j({"data-index":mt},Pe,{className:ke(Re.thumb,Pe.className,_e===mt&&Re.active,Z===mt&&Re.focusVisible),style:j({},zt,Te(mt),Pe.style),children:w.jsx(nn,j({"data-index":mt,"aria-label":q?q(mt):R,"aria-valuenow":ve(Ze),"aria-labelledby":L,"aria-valuetext":Y?Y(ve(Ze),mt):T,value:Me[mt]},ot))}))}),mt)})]}))});function tIe(t){return We("MuiSnackbarContent",t)}Ve("MuiSnackbarContent",["root","message","action"]);const nIe=["action","className","message","role"],rIe=t=>{const{classes:e}=t;return Ue({root:["root"],action:["action"],message:["message"]},tIe,e)},iIe=we(Ho,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98,n=rOe(t.palette.background.default,e);return j({},t.typography.body2,{color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),oIe=we("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),aIe=we("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),rie=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSnackbarContent"}),{action:i,className:o,message:a,role:s="alert"}=r,l=Ae(r,nIe),c=r,u=rIe(c);return w.jsxs(iIe,j({role:s,square:!0,elevation:6,className:ke(u.root,o),ownerState:c,ref:n},l,{children:[w.jsx(oIe,{className:u.message,ownerState:c,children:a}),i?w.jsx(aIe,{className:u.action,ownerState:c,children:i}):null]}))});function sIe(t){return We("MuiSnackbar",t)}Ve("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const lIe=["onEnter","onExited"],cIe=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],uIe=t=>{const{classes:e,anchorOrigin:n}=t,r={root:["root",`anchorOrigin${De(n.vertical)}${De(n.horizontal)}`]};return Ue(r,sIe,e)},V8=we("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`anchorOrigin${De(n.anchorOrigin.vertical)}${De(n.anchorOrigin.horizontal)}`]]}})(({theme:t,ownerState:e})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return j({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},e.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},e.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},e.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[t.breakpoints.up("sm")]:j({},e.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},e.anchorOrigin.horizontal==="center"&&n,e.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},e.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),fIe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiSnackbar"}),i=Go(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:f,ClickAwayListenerProps:d,ContentProps:h,disableWindowBlurListener:p=!1,message:m,open:g,TransitionComponent:v=ev,transitionDuration:y=o,TransitionProps:{onEnter:x,onExited:b}={}}=r,_=Ae(r.TransitionProps,lIe),S=Ae(r,cIe),O=j({},r,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:p,TransitionComponent:v,transitionDuration:y}),C=uIe(O),{getRootProps:E,onClickAway:k}=oPe(j({},O)),[I,P]=M.useState(!0),R=$r({elementType:V8,getSlotProps:E,externalForwardedProps:S,ownerState:O,additionalProps:{ref:n},className:[C.root,f]}),T=z=>{P(!0),b&&b(z)},L=(z,B)=>{P(!1),x&&x(z,B)};return!g&&I?null:w.jsx(bTe,j({onClickAway:k},d,{children:w.jsx(V8,j({},R,{children:w.jsx(v,j({appear:!0,in:g,timeout:y,direction:s==="top"?"down":"up",onEnter:L,onExited:T},_,{children:u||w.jsx(rie,j({message:m,action:a},h))}))}))}))});function dIe(t){return We("MuiTooltip",t)}const _f=Ve("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),hIe=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function pIe(t){return Math.round(t*1e5)/1e5}const mIe=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${De(o.split("-")[0])}`],arrow:["arrow"]};return Ue(a,dIe,e)},gIe=we(b5,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>j({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${_f.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${_f.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${_f.arrow}`]:j({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${_f.arrow}`]:j({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),vIe=we("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${De(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>j({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:kt(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${pIe(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${_f.popper}[data-popper-placement*="left"] &`]:j({transformOrigin:"right center"},e.isRtl?j({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):j({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${_f.popper}[data-popper-placement*="right"] &`]:j({transformOrigin:"left center"},e.isRtl?j({marginRight:"14px"},e.touch&&{marginRight:"24px"}):j({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${_f.popper}[data-popper-placement*="top"] &`]:j({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${_f.popper}[data-popper-placement*="bottom"] &`]:j({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),yIe=we("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:kt(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let dS=!1;const G8=new M1;let v0={x:0,y:0};function hS(t,e){return(n,...r)=>{e&&e(n,...r),t(n,...r)}}const xt=M.forwardRef(function(e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b,_;const S=qe({props:e,name:"MuiTooltip"}),{arrow:O=!1,children:C,components:E={},componentsProps:k={},describeChild:I=!1,disableFocusListener:P=!1,disableHoverListener:R=!1,disableInteractive:T=!1,disableTouchListener:L=!1,enterDelay:z=100,enterNextDelay:B=0,enterTouchDelay:U=700,followCursor:W=!1,id:$,leaveDelay:N=0,leaveTouchDelay:D=1500,onClose:A,onOpen:q,open:Y,placement:K="bottom",PopperComponent:se,PopperProps:te={},slotProps:J={},slots:pe={},title:be,TransitionComponent:re=ev,TransitionProps:ve}=S,F=Ae(S,hIe),ce=M.isValidElement(C)?C:w.jsx("span",{children:C}),le=Go(),Q=A1(),[X,ee]=M.useState(),[ge,ye]=M.useState(null),H=M.useRef(!1),G=T||W,ie=bf(),he=bf(),_e=bf(),oe=bf(),[Z,V]=Qs({controlled:Y,default:!1,name:"Tooltip",state:"open"});let de=Z;const xe=pd($),Me=M.useRef(),me=_r(()=>{Me.current!==void 0&&(document.body.style.WebkitUserSelect=Me.current,Me.current=void 0),oe.clear()});M.useEffect(()=>me,[me]);const $e=st=>{G8.clear(),dS=!0,V(!0),q&&!de&&q(st)},Te=_r(st=>{G8.start(800+N,()=>{dS=!1}),V(!1),A&&de&&A(st),ie.start(le.transitions.duration.shortest,()=>{H.current=!1})}),Re=st=>{H.current&&st.type!=="touchstart"||(X&&X.removeAttribute("title"),he.clear(),_e.clear(),z||dS&&B?he.start(dS?B:z,()=>{$e(st)}):$e(st))},ae=st=>{he.clear(),_e.start(N,()=>{Te(st)})},{isFocusVisibleRef:Le,onBlur:Ee,onFocus:ze,ref:He}=k1(),[,bt]=M.useState(!1),Dt=st=>{Ee(st),Le.current===!1&&(bt(!1),ae(st))},nn=st=>{X||ee(st.currentTarget),ze(st),Le.current===!0&&(bt(!0),Re(st))},Xr=st=>{H.current=!0;const Qt=ce.props;Qt.onTouchStart&&Qt.onTouchStart(st)},Cn=st=>{Xr(st),_e.clear(),ie.clear(),me(),Me.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",oe.start(U,()=>{document.body.style.WebkitUserSelect=Me.current,Re(st)})},Qr=st=>{ce.props.onTouchEnd&&ce.props.onTouchEnd(st),me(),_e.start(D,()=>{Te(st)})};M.useEffect(()=>{if(!de)return;function st(Qt){(Qt.key==="Escape"||Qt.key==="Esc")&&Te(Qt)}return document.addEventListener("keydown",st),()=>{document.removeEventListener("keydown",st)}},[Te,de]);const ir=Zt(ce.ref,He,ee,n);!be&&be!==0&&(de=!1);const to=M.useRef(),yo=st=>{const Qt=ce.props;Qt.onMouseMove&&Qt.onMouseMove(st),v0={x:st.clientX,y:st.clientY},to.current&&to.current.update()},Xo={},al=typeof be=="string";I?(Xo.title=!de&&al&&!R?be:null,Xo["aria-describedby"]=de?xe:null):(Xo["aria-label"]=al?be:null,Xo["aria-labelledby"]=de&&!al?xe:null);const yi=j({},Xo,F,ce.props,{className:ke(F.className,ce.props.className),onTouchStart:Xr,ref:ir},W?{onMouseMove:yo}:{}),Ts={};L||(yi.onTouchStart=Cn,yi.onTouchEnd=Qr),R||(yi.onMouseOver=hS(Re,yi.onMouseOver),yi.onMouseLeave=hS(ae,yi.onMouseLeave),G||(Ts.onMouseOver=Re,Ts.onMouseLeave=ae)),P||(yi.onFocus=hS(nn,yi.onFocus),yi.onBlur=hS(Dt,yi.onBlur),G||(Ts.onFocus=nn,Ts.onBlur=Dt));const ne=M.useMemo(()=>{var st;let Qt=[{name:"arrow",enabled:!!ge,options:{element:ge,padding:4}}];return(st=te.popperOptions)!=null&&st.modifiers&&(Qt=Qt.concat(te.popperOptions.modifiers)),j({},te.popperOptions,{modifiers:Qt})},[ge,te]),Pe=j({},S,{isRtl:Q,arrow:O,disableInteractive:G,placement:K,PopperComponentProp:se,touch:H.current}),Ie=mIe(Pe),Oe=(r=(i=pe.popper)!=null?i:E.Popper)!=null?r:gIe,Ne=(o=(a=(s=pe.transition)!=null?s:E.Transition)!=null?a:re)!=null?o:ev,ot=(l=(c=pe.tooltip)!=null?c:E.Tooltip)!=null?l:vIe,Ze=(u=(f=pe.arrow)!=null?f:E.Arrow)!=null?u:yIe,mt=Zm(Oe,j({},te,(d=J.popper)!=null?d:k.popper,{className:ke(Ie.popper,te==null?void 0:te.className,(h=(p=J.popper)!=null?p:k.popper)==null?void 0:h.className)}),Pe),wt=Zm(Ne,j({},ve,(m=J.transition)!=null?m:k.transition),Pe),zt=Zm(ot,j({},(g=J.tooltip)!=null?g:k.tooltip,{className:ke(Ie.tooltip,(v=(y=J.tooltip)!=null?y:k.tooltip)==null?void 0:v.className)}),Pe),Pt=Zm(Ze,j({},(x=J.arrow)!=null?x:k.arrow,{className:ke(Ie.arrow,(b=(_=J.arrow)!=null?_:k.arrow)==null?void 0:b.className)}),Pe);return w.jsxs(M.Fragment,{children:[M.cloneElement(ce,yi),w.jsx(Oe,j({as:se??b5,placement:K,anchorEl:W?{getBoundingClientRect:()=>({top:v0.y,left:v0.x,right:v0.x,bottom:v0.y,width:0,height:0})}:X,popperRef:to,open:X?de:!1,id:xe,transition:!0},Ts,mt,{popperOptions:ne,children:({TransitionProps:st})=>w.jsx(Ne,j({timeout:le.transitions.duration.shorter},st,wt,{children:w.jsxs(ot,j({},zt,{children:[be,O?w.jsx(Ze,j({},Pt,{ref:ye})):null]}))}))}))]})});function xIe(t){return We("MuiSwitch",t)}const oo=Ve("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),bIe=["className","color","edge","size","sx"],_Ie=s5(),wIe=t=>{const{classes:e,edge:n,size:r,color:i,checked:o,disabled:a}=t,s={root:["root",n&&`edge${De(n)}`,`size${De(r)}`],switchBase:["switchBase",`color${De(i)}`,o&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Ue(s,xIe,e);return j({},e,l)},SIe=we("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${oo.thumb}`]:{width:16,height:16},[`& .${oo.switchBase}`]:{padding:4,[`&.${oo.checked}`]:{transform:"translateX(16px)"}}}}]}),OIe=we(w5,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${oo.input}`]:e.input},n.color!=="default"&&e[`color${De(n.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${oo.checked}`]:{transform:"translateX(20px)"},[`&.${oo.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${oo.checked} + .${oo.track}`]:{opacity:.5},[`&.${oo.disabled} + .${oo.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${oo.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,e])=>e.main&&e.light).map(([e])=>({props:{color:e},style:{[`&.${oo.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:kt(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${oo.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?Ab(t.palette[e].main,.62):kb(t.palette[e].main,.55)}`}},[`&.${oo.checked} + .${oo.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]})),CIe=we("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),TIe=we("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),iie=M.forwardRef(function(e,n){const r=_Ie({props:e,name:"MuiSwitch"}),{className:i,color:o="primary",edge:a=!1,size:s="medium",sx:l}=r,c=Ae(r,bIe),u=j({},r,{color:o,edge:a,size:s}),f=wIe(u),d=w.jsx(TIe,{className:f.thumb,ownerState:u});return w.jsxs(SIe,{className:ke(f.root,i),sx:l,ownerState:u,children:[w.jsx(OIe,j({type:"checkbox",icon:d,checkedIcon:d,ref:n,ownerState:u},c,{classes:j({},f,{root:f.switchBase})})),w.jsx(CIe,{className:f.track,ownerState:u})]})});function EIe(t){return We("MuiTab",t)}const Au=Ve("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),PIe=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],MIe=t=>{const{classes:e,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:s,disabled:l}=t,c={root:["root",o&&a&&"labelIcon",`textColor${De(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return Ue(c,EIe,e)},kIe=we(fs,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${De(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${Au.iconWrapper}`]:e.iconWrapper}]}})(({theme:t,ownerState:e})=>j({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:e.iconPosition==="top"||e.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Au.iconWrapper}`]:j({},e.iconPosition==="top"&&{marginBottom:6},e.iconPosition==="bottom"&&{marginTop:6},e.iconPosition==="start"&&{marginRight:t.spacing(1)},e.iconPosition==="end"&&{marginLeft:t.spacing(1)})},e.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${Au.selected}`]:{opacity:1},[`&.${Au.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.textColor==="primary"&&{color:(t.vars||t).palette.text.secondary,[`&.${Au.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${Au.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.textColor==="secondary"&&{color:(t.vars||t).palette.text.secondary,[`&.${Au.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${Au.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)})),Nb=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:f,onChange:d,onClick:h,onFocus:p,selected:m,selectionFollowsFocus:g,textColor:v="inherit",value:y,wrapped:x=!1}=r,b=Ae(r,PIe),_=j({},r,{disabled:o,disableFocusRipple:a,selected:m,icon:!!l,iconPosition:c,label:!!f,fullWidth:s,textColor:v,wrapped:x}),S=MIe(_),O=l&&f&&M.isValidElement(l)?M.cloneElement(l,{className:ke(S.iconWrapper,l.props.className)}):l,C=k=>{!m&&d&&d(k,y),h&&h(k)},E=k=>{g&&!m&&d&&d(k,y),p&&p(k)};return w.jsxs(kIe,j({focusRipple:!a,className:ke(S.root,i),ref:n,role:"tab","aria-selected":m,disabled:o,onClick:C,onFocus:E,ownerState:_,tabIndex:m?0:-1},b,{children:[c==="top"||c==="start"?w.jsxs(M.Fragment,{children:[O,f]}):w.jsxs(M.Fragment,{children:[f,O]}),u]}))}),oie=M.createContext();function AIe(t){return We("MuiTable",t)}Ve("MuiTable",["root","stickyHeader"]);const RIe=["className","component","padding","size","stickyHeader"],IIe=t=>{const{classes:e,stickyHeader:n}=t;return Ue({root:["root",n&&"stickyHeader"]},AIe,e)},DIe=we("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>j({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":j({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),H8="table",P5=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTable"}),{className:i,component:o=H8,padding:a="normal",size:s="medium",stickyHeader:l=!1}=r,c=Ae(r,RIe),u=j({},r,{component:o,padding:a,size:s,stickyHeader:l}),f=IIe(u),d=M.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return w.jsx(oie.Provider,{value:d,children:w.jsx(DIe,j({as:o,role:o===H8?null:"table",ref:n,className:ke(f.root,i),ownerState:u},c))})}),t2=M.createContext();function LIe(t){return We("MuiTableBody",t)}Ve("MuiTableBody",["root"]);const NIe=["className","component"],$Ie=t=>{const{classes:e}=t;return Ue({root:["root"]},LIe,e)},FIe=we("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),jIe={variant:"body"},q8="tbody",M5=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableBody"}),{className:i,component:o=q8}=r,a=Ae(r,NIe),s=j({},r,{component:o}),l=$Ie(s);return w.jsx(t2.Provider,{value:jIe,children:w.jsx(FIe,j({className:ke(l.root,i),as:o,ref:n,role:o===q8?null:"rowgroup",ownerState:s},a))})});function BIe(t){return We("MuiTableCell",t)}const zIe=Ve("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),UIe=["align","className","component","padding","scope","size","sortDirection","variant"],WIe=t=>{const{classes:e,variant:n,align:r,padding:i,size:o,stickyHeader:a}=t,s={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,i!=="normal"&&`padding${De(i)}`,`size${De(o)}`]};return Ue(s,BIe,e)},VIe=we("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${De(n.size)}`],n.padding!=="normal"&&e[`padding${De(n.padding)}`],n.align!=="inherit"&&e[`align${De(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>j({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid - ${t.palette.mode==="light"?Ab(kt(t.palette.divider,1),.88):kb(kt(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${zIe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),sr=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableCell"}),{align:i="inherit",className:o,component:a,padding:s,scope:l,size:c,sortDirection:u,variant:f}=r,d=Ae(r,UIe),h=M.useContext(oie),p=M.useContext(t2),m=p&&p.variant==="head";let g;a?g=a:g=m?"th":"td";let v=l;g==="td"?v=void 0:!v&&m&&(v="col");const y=f||p&&p.variant,x=j({},r,{align:i,component:g,padding:s||(h&&h.padding?h.padding:"normal"),size:c||(h&&h.size?h.size:"medium"),sortDirection:u,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y}),b=WIe(x);let _=null;return u&&(_=u==="asc"?"ascending":"descending"),w.jsx(VIe,j({as:g,ref:n,className:ke(b.root,o),"aria-sort":_,scope:v,ownerState:x},d))});function GIe(t){return We("MuiTableContainer",t)}Ve("MuiTableContainer",["root"]);const HIe=["className","component"],qIe=t=>{const{classes:e}=t;return Ue({root:["root"]},GIe,e)},XIe=we("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),aie=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,a=Ae(r,HIe),s=j({},r,{component:o}),l=qIe(s);return w.jsx(XIe,j({ref:n,as:o,className:ke(l.root,i),ownerState:s},a))});function QIe(t){return We("MuiTableHead",t)}Ve("MuiTableHead",["root"]);const YIe=["className","component"],KIe=t=>{const{classes:e}=t;return Ue({root:["root"]},QIe,e)},ZIe=we("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),JIe={variant:"head"},X8="thead",eDe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableHead"}),{className:i,component:o=X8}=r,a=Ae(r,YIe),s=j({},r,{component:o}),l=KIe(s);return w.jsx(t2.Provider,{value:JIe,children:w.jsx(ZIe,j({as:o,className:ke(l.root,i),ref:n,role:o===X8?null:"rowgroup",ownerState:s},a))})});function tDe(t){return We("MuiToolbar",t)}Ve("MuiToolbar",["root","gutters","regular","dense"]);const nDe=["className","component","disableGutters","variant"],rDe=t=>{const{classes:e,disableGutters:n,variant:r}=t;return Ue({root:["root",!n&&"gutters",r]},tDe,e)},iDe=we("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})(({theme:t,ownerState:e})=>j({position:"relative",display:"flex",alignItems:"center"},!e.disableGutters&&{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}},e.variant==="dense"&&{minHeight:48}),({theme:t,ownerState:e})=>e.variant==="regular"&&t.mixins.toolbar),n2=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:a=!1,variant:s="regular"}=r,l=Ae(r,nDe),c=j({},r,{component:o,disableGutters:a,variant:s}),u=rDe(c);return w.jsx(iDe,j({as:o,className:ke(u.root,i),ref:n,ownerState:c},l))}),oDe=ni(w.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),aDe=ni(w.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function sDe(t){return We("MuiTableRow",t)}const Q8=Ve("MuiTableRow",["root","selected","hover","head","footer"]),lDe=["className","component","hover","selected"],cDe=t=>{const{classes:e,selected:n,hover:r,head:i,footer:o}=t;return Ue({root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]},sDe,e)},uDe=we("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Q8.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Q8.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:kt(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:kt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),Y8="tr",vl=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTableRow"}),{className:i,component:o=Y8,hover:a=!1,selected:s=!1}=r,l=Ae(r,lDe),c=M.useContext(t2),u=j({},r,{component:o,hover:a,selected:s,head:c&&c.variant==="head",footer:c&&c.variant==="footer"}),f=cDe(u);return w.jsx(uDe,j({as:o,ref:n,className:ke(f.root,i),role:o===Y8?null:"row",ownerState:u},l))});function fDe(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function dDe(t,e,n,r={},i=()=>{}){const{ease:o=fDe,duration:a=300}=r;let s=null;const l=e[t];let c=!1;const u=()=>{c=!0},f=d=>{if(c){i(new Error("Animation cancelled"));return}s===null&&(s=d);const h=Math.min(1,(d-s)/a);if(e[t]=o(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===n?(i(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const hDe=["onChange"],pDe={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function mDe(t){const{onChange:e}=t,n=Ae(t,hDe),r=M.useRef(),i=M.useRef(null),o=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Hr(()=>{const a=Kv(()=>{const l=r.current;o(),l!==r.current&&e(r.current)}),s=cs(i.current);return s.addEventListener("resize",a),()=>{a.clear(),s.removeEventListener("resize",a)}},[e]),M.useEffect(()=>{o(),e(r.current)},[e]),w.jsx("div",j({style:pDe,ref:i},n))}function gDe(t){return We("MuiTabScrollButton",t)}const vDe=Ve("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),yDe=["className","slots","slotProps","direction","orientation","disabled"],xDe=t=>{const{classes:e,orientation:n,disabled:r}=t;return Ue({root:["root",n,r&&"disabled"]},gDe,e)},bDe=we(fs,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>j({width:40,flexShrink:0,opacity:.8,[`&.${vDe.disabled}`]:{opacity:0}},t.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}})),_De=M.forwardRef(function(e,n){var r,i;const o=qe({props:e,name:"MuiTabScrollButton"}),{className:a,slots:s={},slotProps:l={},direction:c}=o,u=Ae(o,yDe),f=A1(),d=j({isRtl:f},o),h=xDe(d),p=(r=s.StartScrollButtonIcon)!=null?r:oDe,m=(i=s.EndScrollButtonIcon)!=null?i:aDe,g=$r({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),v=$r({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return w.jsx(bDe,j({component:"div",className:ke(h.root,a),ref:n,role:null,ownerState:d,tabIndex:null},u,{children:c==="left"?w.jsx(p,j({},g)):w.jsx(m,j({},v))}))});function wDe(t){return We("MuiTabs",t)}const kC=Ve("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),SDe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],K8=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Z8=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,pS=(t,e,n)=>{let r=!1,i=n(t,e);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=n(t,i);else{i.focus();return}}},ODe=t=>{const{vertical:e,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=t;return Ue({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},wDe,l)},CDe=we("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${kC.scrollButtons}`]:e.scrollButtons},{[`& .${kC.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>j({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${kC.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),TDe=we("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>j({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),EDe=we("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>j({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),PDe=we("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>j({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},t.indicatorColor==="primary"&&{backgroundColor:(e.vars||e).palette.primary.main},t.indicatorColor==="secondary"&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),MDe=we(mDe)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),J8={},k5=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTabs"}),i=Go(),o=A1(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:m,orientation:g="horizontal",ScrollButtonComponent:v=_De,scrollButtons:y="auto",selectionFollowsFocus:x,slots:b={},slotProps:_={},TabIndicatorProps:S={},TabScrollButtonProps:O={},textColor:C="primary",value:E,variant:k="standard",visibleScrollbar:I=!1}=r,P=Ae(r,SDe),R=k==="scrollable",T=g==="vertical",L=T?"scrollTop":"scrollLeft",z=T?"top":"left",B=T?"bottom":"right",U=T?"clientHeight":"clientWidth",W=T?"height":"width",$=j({},r,{component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:g,vertical:T,scrollButtons:y,textColor:C,variant:k,visibleScrollbar:I,fixed:!R,hideScrollbar:R&&!I,scrollableX:R&&!T,scrollableY:R&&T,centered:c&&!R,scrollButtonsHideMobile:!h}),N=ODe($),D=$r({elementType:b.StartScrollButtonIcon,externalSlotProps:_.startScrollButtonIcon,ownerState:$}),A=$r({elementType:b.EndScrollButtonIcon,externalSlotProps:_.endScrollButtonIcon,ownerState:$}),[q,Y]=M.useState(!1),[K,se]=M.useState(J8),[te,J]=M.useState(!1),[pe,be]=M.useState(!1),[re,ve]=M.useState(!1),[F,ce]=M.useState({overflow:"hidden",scrollbarWidth:0}),le=new Map,Q=M.useRef(null),X=M.useRef(null),ee=()=>{const Te=Q.current;let Re;if(Te){const Le=Te.getBoundingClientRect();Re={clientWidth:Te.clientWidth,scrollLeft:Te.scrollLeft,scrollTop:Te.scrollTop,scrollLeftNormalized:LSe(Te,o?"rtl":"ltr"),scrollWidth:Te.scrollWidth,top:Le.top,bottom:Le.bottom,left:Le.left,right:Le.right}}let ae;if(Te&&E!==!1){const Le=X.current.children;if(Le.length>0){const Ee=Le[le.get(E)];ae=Ee?Ee.getBoundingClientRect():null}}return{tabsMeta:Re,tabMeta:ae}},ge=_r(()=>{const{tabsMeta:Te,tabMeta:Re}=ee();let ae=0,Le;if(T)Le="top",Re&&Te&&(ae=Re.top-Te.top+Te.scrollTop);else if(Le=o?"right":"left",Re&&Te){const ze=o?Te.scrollLeftNormalized+Te.clientWidth-Te.scrollWidth:Te.scrollLeft;ae=(o?-1:1)*(Re[Le]-Te[Le]+ze)}const Ee={[Le]:ae,[W]:Re?Re[W]:0};if(isNaN(K[Le])||isNaN(K[W]))se(Ee);else{const ze=Math.abs(K[Le]-Ee[Le]),He=Math.abs(K[W]-Ee[W]);(ze>=1||He>=1)&&se(Ee)}}),ye=(Te,{animation:Re=!0}={})=>{Re?dDe(L,Q.current,Te,{duration:i.transitions.duration.standard}):Q.current[L]=Te},H=Te=>{let Re=Q.current[L];T?Re+=Te:(Re+=Te*(o?-1:1),Re*=o&&tre()==="reverse"?-1:1),ye(Re)},G=()=>{const Te=Q.current[U];let Re=0;const ae=Array.from(X.current.children);for(let Le=0;LeTe){Le===0&&(Re=Te);break}Re+=Ee[U]}return Re},ie=()=>{H(-1*G())},he=()=>{H(G())},_e=M.useCallback(Te=>{ce({overflow:null,scrollbarWidth:Te})},[]),oe=()=>{const Te={};Te.scrollbarSizeListener=R?w.jsx(MDe,{onChange:_e,className:ke(N.scrollableX,N.hideScrollbar)}):null;const ae=R&&(y==="auto"&&(te||pe)||y===!0);return Te.scrollButtonStart=ae?w.jsx(v,j({slots:{StartScrollButtonIcon:b.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:D},orientation:g,direction:o?"right":"left",onClick:ie,disabled:!te},O,{className:ke(N.scrollButtons,O.className)})):null,Te.scrollButtonEnd=ae?w.jsx(v,j({slots:{EndScrollButtonIcon:b.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:A},orientation:g,direction:o?"left":"right",onClick:he,disabled:!pe},O,{className:ke(N.scrollButtons,O.className)})):null,Te},Z=_r(Te=>{const{tabsMeta:Re,tabMeta:ae}=ee();if(!(!ae||!Re)){if(ae[z]Re[B]){const Le=Re[L]+(ae[B]-Re[B]);ye(Le,{animation:Te})}}}),V=_r(()=>{R&&y!==!1&&ve(!re)});M.useEffect(()=>{const Te=Kv(()=>{Q.current&&ge()});let Re;const ae=ze=>{ze.forEach(He=>{He.removedNodes.forEach(bt=>{var Dt;(Dt=Re)==null||Dt.unobserve(bt)}),He.addedNodes.forEach(bt=>{var Dt;(Dt=Re)==null||Dt.observe(bt)})}),Te(),V()},Le=cs(Q.current);Le.addEventListener("resize",Te);let Ee;return typeof ResizeObserver<"u"&&(Re=new ResizeObserver(Te),Array.from(X.current.children).forEach(ze=>{Re.observe(ze)})),typeof MutationObserver<"u"&&(Ee=new MutationObserver(ae),Ee.observe(X.current,{childList:!0})),()=>{var ze,He;Te.clear(),Le.removeEventListener("resize",Te),(ze=Ee)==null||ze.disconnect(),(He=Re)==null||He.disconnect()}},[ge,V]),M.useEffect(()=>{const Te=Array.from(X.current.children),Re=Te.length;if(typeof IntersectionObserver<"u"&&Re>0&&R&&y!==!1){const ae=Te[0],Le=Te[Re-1],Ee={root:Q.current,threshold:.99},ze=nn=>{J(!nn[0].isIntersecting)},He=new IntersectionObserver(ze,Ee);He.observe(ae);const bt=nn=>{be(!nn[0].isIntersecting)},Dt=new IntersectionObserver(bt,Ee);return Dt.observe(Le),()=>{He.disconnect(),Dt.disconnect()}}},[R,y,re,u==null?void 0:u.length]),M.useEffect(()=>{Y(!0)},[]),M.useEffect(()=>{ge()}),M.useEffect(()=>{Z(J8!==K)},[Z,K]),M.useImperativeHandle(l,()=>({updateIndicator:ge,updateScrollButtons:V}),[ge,V]);const de=w.jsx(PDe,j({},S,{className:ke(N.indicator,S.className),ownerState:$,style:j({},K,S.style)}));let xe=0;const Me=M.Children.map(u,Te=>{if(!M.isValidElement(Te))return null;const Re=Te.props.value===void 0?xe:Te.props.value;le.set(Re,xe);const ae=Re===E;return xe+=1,M.cloneElement(Te,j({fullWidth:k==="fullWidth",indicator:ae&&!q&&de,selected:ae,selectionFollowsFocus:x,onChange:m,textColor:C,value:Re},xe===1&&E===!1&&!Te.props.tabIndex?{tabIndex:0}:{}))}),me=Te=>{const Re=X.current,ae=$n(Re).activeElement;if(ae.getAttribute("role")!=="tab")return;let Ee=g==="horizontal"?"ArrowLeft":"ArrowUp",ze=g==="horizontal"?"ArrowRight":"ArrowDown";switch(g==="horizontal"&&o&&(Ee="ArrowRight",ze="ArrowLeft"),Te.key){case Ee:Te.preventDefault(),pS(Re,ae,Z8);break;case ze:Te.preventDefault(),pS(Re,ae,K8);break;case"Home":Te.preventDefault(),pS(Re,null,K8);break;case"End":Te.preventDefault(),pS(Re,null,Z8);break}},$e=oe();return w.jsxs(CDe,j({className:ke(N.root,f),ownerState:$,ref:n,as:d},P,{children:[$e.scrollButtonStart,$e.scrollbarSizeListener,w.jsxs(TDe,{className:N.scroller,ownerState:$,style:{overflow:F.overflow,[T?`margin${o?"Left":"Right"}`:"marginBottom"]:I?void 0:-F.scrollbarWidth},ref:Q,children:[w.jsx(EDe,{"aria-label":a,"aria-labelledby":s,"aria-orientation":g==="vertical"?"vertical":null,className:N.flexContainer,ownerState:$,onKeyDown:me,ref:X,role:"tablist",children:Me}),q&&de]}),$e.scrollButtonEnd]}))});function kDe(t){return We("MuiTextField",t)}Ve("MuiTextField",["root"]);const ADe=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],RDe={standard:yd,filled:S5,outlined:C5},IDe=t=>{const{classes:e}=t;return Ue({root:["root"]},kDe,e)},DDe=we(ty,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),cr=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:m,InputLabelProps:g,inputProps:v,InputProps:y,inputRef:x,label:b,maxRows:_,minRows:S,multiline:O=!1,name:C,onBlur:E,onChange:k,onFocus:I,placeholder:P,required:R=!1,rows:T,select:L=!1,SelectProps:z,type:B,value:U,variant:W="outlined"}=r,$=Ae(r,ADe),N=j({},r,{autoFocus:o,color:l,disabled:u,error:f,fullWidth:h,multiline:O,required:R,select:L,variant:W}),D=IDe(N),A={};W==="outlined"&&(g&&typeof g.shrink<"u"&&(A.notched=g.shrink),A.label=b),L&&((!z||!z.native)&&(A.id=void 0),A["aria-describedby"]=void 0);const q=pd(m),Y=p&&q?`${q}-helper-text`:void 0,K=b&&q?`${q}-label`:void 0,se=RDe[W],te=w.jsx(se,j({"aria-describedby":Y,autoComplete:i,autoFocus:o,defaultValue:c,fullWidth:h,multiline:O,name:C,rows:T,maxRows:_,minRows:S,type:B,value:U,id:q,inputRef:x,onBlur:E,onChange:k,onFocus:I,placeholder:P,inputProps:v},A,y));return w.jsxs(DDe,j({className:ke(D.root,s),disabled:u,error:f,fullWidth:h,ref:n,required:R,color:l,variant:W,ownerState:N},$,{children:[b!=null&&b!==""&&w.jsx(ny,j({htmlFor:q,id:K},g,{children:b})),L?w.jsx(xd,j({"aria-describedby":Y,id:q,labelId:K,value:U,input:te},z,{children:a})):te,p&&w.jsx(Gre,j({id:Y},d,{children:p}))]}))});function LDe(t){return We("MuiToggleButton",t)}const Jm=Ve("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),sie=M.createContext({}),lie=M.createContext(void 0);function NDe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.indexOf(t)>=0:t===e}const $De=["value"],FDe=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],jDe=t=>{const{classes:e,fullWidth:n,selected:r,disabled:i,size:o,color:a}=t,s={root:["root",r&&"selected",i&&"disabled",n&&"fullWidth",`size${De(o)}`,a]};return Ue(s,LDe,e)},BDe=we(fs,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>{let n=e.color==="standard"?t.palette.text.primary:t.palette[e.color].main,r;return t.vars&&(n=e.color==="standard"?t.vars.palette.text.primary:t.vars.palette[e.color].main,r=e.color==="standard"?t.vars.palette.text.primaryChannel:t.vars.palette[e.color].mainChannel),j({},t.typography.button,{borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active},e.fullWidth&&{width:"100%"},{[`&.${Jm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Hc(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Jm.selected}`]:{color:n,backgroundColor:t.vars?`rgba(${r} / ${t.vars.palette.action.selectedOpacity})`:Hc(n,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${r} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Hc(n,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${r} / ${t.vars.palette.action.selectedOpacity})`:Hc(n,t.palette.action.selectedOpacity)}}}},e.size==="small"&&{padding:7,fontSize:t.typography.pxToRem(13)},e.size==="large"&&{padding:15,fontSize:t.typography.pxToRem(15)})}),Pn=M.forwardRef(function(e,n){const r=M.useContext(sie),{value:i}=r,o=Ae(r,$De),a=M.useContext(lie),s=kM(j({},o,{selected:NDe(e.value,i)}),e),l=qe({props:s,name:"MuiToggleButton"}),{children:c,className:u,color:f="standard",disabled:d=!1,disableFocusRipple:h=!1,fullWidth:p=!1,onChange:m,onClick:g,selected:v,size:y="medium",value:x}=l,b=Ae(l,FDe),_=j({},l,{color:f,disabled:d,disableFocusRipple:h,fullWidth:p,size:y}),S=jDe(_),O=E=>{g&&(g(E,x),E.defaultPrevented)||m&&m(E,x)},C=a||"";return w.jsx(BDe,j({className:ke(o.className,S.root,u,C),disabled:d,focusRipple:!h,ref:n,onClick:O,onChange:m,value:x,ownerState:_,"aria-pressed":v},b,{children:c}))});function zDe(t){return We("MuiToggleButtonGroup",t)}const ar=Ve("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),UDe=["children","className","color","disabled","exclusive","fullWidth","onChange","orientation","size","value"],WDe=t=>{const{classes:e,orientation:n,fullWidth:r,disabled:i}=t,o={root:["root",n==="vertical"&&"vertical",r&&"fullWidth"],grouped:["grouped",`grouped${De(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Ue(o,zDe,e)},VDe=we("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${ar.grouped}`]:e.grouped},{[`& .${ar.grouped}`]:e[`grouped${De(n.orientation)}`]},{[`& .${ar.firstButton}`]:e.firstButton},{[`& .${ar.lastButton}`]:e.lastButton},{[`& .${ar.middleButton}`]:e.middleButton},e.root,n.orientation==="vertical"&&e.vertical,n.fullWidth&&e.fullWidth]}})(({ownerState:t,theme:e})=>j({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},t.orientation==="vertical"&&{flexDirection:"column"},t.fullWidth&&{width:"100%"},{[`& .${ar.grouped}`]:j({},t.orientation==="horizontal"?{[`&.${ar.selected} + .${ar.grouped}.${ar.selected}`]:{borderLeft:0,marginLeft:0}}:{[`&.${ar.selected} + .${ar.grouped}.${ar.selected}`]:{borderTop:0,marginTop:0}})},t.orientation==="horizontal"?{[`& .${ar.firstButton},& .${ar.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${ar.lastButton},& .${ar.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0}}:{[`& .${ar.firstButton},& .${ar.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${ar.lastButton},& .${ar.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0}},t.orientation==="horizontal"?{[`& .${ar.lastButton}.${Jm.disabled},& .${ar.middleButton}.${Jm.disabled}`]:{borderLeft:"1px solid transparent"}}:{[`& .${ar.lastButton}.${Jm.disabled},& .${ar.middleButton}.${Jm.disabled}`]:{borderTop:"1px solid transparent"}})),iy=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiToggleButtonGroup"}),{children:i,className:o,color:a="standard",disabled:s=!1,exclusive:l=!1,fullWidth:c=!1,onChange:u,orientation:f="horizontal",size:d="medium",value:h}=r,p=Ae(r,UDe),m=j({},r,{disabled:s,fullWidth:c,orientation:f,size:d}),g=WDe(m),v=M.useCallback((O,C)=>{if(!u)return;const E=h&&h.indexOf(C);let k;h&&E>=0?(k=h.slice(),k.splice(E,1)):k=h?h.concat(C):[C],u(O,k)},[u,h]),y=M.useCallback((O,C)=>{u&&u(O,h===C?null:C)},[u,h]),x=M.useMemo(()=>({className:g.grouped,onChange:l?y:v,value:h,size:d,fullWidth:c,color:a,disabled:s}),[g.grouped,l,y,v,h,d,c,a,s]),b=NSe(i),_=b.length,S=O=>{const C=O===0,E=O===_-1;return C&&E?"":C?g.firstButton:E?g.lastButton:g.middleButton};return w.jsx(VDe,j({role:"group",className:ke(g.root,o),ref:n,ownerState:m},p,{children:w.jsx(sie.Provider,{value:x,children:b.map((O,C)=>w.jsx(lie.Provider,{value:S(C),children:O},C))})}))}),GDe="default",HDe={id:"local",name:"Local Server",url:"http://localhost:8080"},qDe={appBarTitle:"xcube Viewer",windowTitle:"xcube Viewer",windowIcon:null,compact:!1,themeName:"light",primaryColor:"blue",secondaryColor:"pink",organisationUrl:"https://xcube.readthedocs.io/",logoImage:"images/logo.png",logoWidth:32,baseMapUrl:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",defaultAgg:"mean",polygonFillOpacity:.2,mapProjection:"EPSG:3857",allowDownloads:!0,allowRefresh:!0,allowUserVariables:!0,allow3D:!0},mS={name:GDe,server:HDe,branding:qDe};function XDe(){const t=new URL(window.location.href),e=t.pathname.split("/"),n=e.length;return n>0?e[n-1]==="index.html"?new URL(e.slice(0,n-1).join("/"),window.location.origin):new URL(t.pathname,window.location.origin):new URL(window.location.origin)}const r2=XDe();console.log("baseUrl = ",r2.href);function cie(t,...e){let n=t;for(const r of e)r!==""&&(n.endsWith("/")?r.startsWith("/")?n+=r.substring(1):n+=r:r.startsWith("/")?n+=r:n+="/"+r);return n}const QDe={amber:mne,blue:rf,blueGrey:J_e,brown:gne,cyan:fne,deepOrange:Dh,deepPurple:K_e,green:Lc,grey:vne,indigo:une,lightBlue:of,lightGreen:Z_e,lime:hne,orange:oh,pink:cne,purple:nf,red:tf,teal:dne,yellow:pne};function eG(t,e){const n=t[e];let r=null;if(typeof n=="string"?(r=QDe[n]||null,r===null&&n.startsWith("#")&&(n.length===7||n.length===9)&&(r={main:n})):typeof n=="object"&&n!==null&&"main"in n&&(r=n),r!==null)t[e]=r;else throw new Error(`Value of branding.${e} is invalid: ${n}`)}function YDe(t,e,n){const r=t[e];typeof r=="string"&&(t[e]=cie(r2.href,n,r))}function KDe(t,e){return t={...t},eG(t,"primaryColor"),eG(t,"secondaryColor"),YDe(t,"logoImage",e),t}function En(t){return typeof t=="number"}function Mp(t){return typeof t=="string"}function ZDe(t){return typeof t=="function"}function tG(t){return t!==null&&typeof t=="object"&&t.constructor===Object}const hf=new URLSearchParams(window.location.search),$s=class $s{constructor(e,n,r,i){Yt(this,"name");Yt(this,"server");Yt(this,"branding");Yt(this,"authClient");this.name=e,this.server=n,this.branding=r,this.authClient=i}static async load(){let e=hf.get("configPath")||"config";const n=await this.loadRawConfig(e);n===mS&&(e="");const r=n.name||"default",i=this.getAuthConfig(n),o=this.getServerConfig(n),a=parseInt(hf.get("compact")||"0")!==0;let s=KDe({...mS.branding,...n.branding,compact:a||n.branding.compact},e);return s=rG(s,"allowUserVariables"),s=rG(s,"allow3D"),$s._instance=new $s(r,o,s,i),s.windowTitle&&this.changeWindowTitle(s.windowTitle),s.windowIcon&&this.changeWindowIcon(s.windowIcon),$s._instance}static getAuthConfig(e){let n=e.authClient&&{...e.authClient};const r=$s.getAuthClientFromEnv();if(!n&&r.authority&&r.clientId&&(n={authority:r.authority,client_id:r.clientId}),n){if(r.authority){const i=r.authority;n={...n,authority:i}}if(r.clientId){const i=r.clientId;n={...n,client_id:i}}if(r.audience){const i=r.audience,o=n.extraQueryParams;n={...n,extraQueryParams:{...o,audience:i}}}}return n}static getServerConfig(e){const n={...mS.server,...e.server},r=$s.getApiServerFromEnv();return n.id=hf.get("serverId")||r.id||n.id,n.name=hf.get("serverName")||r.name||n.name,n.url=hf.get("serverUrl")||r.url||n.url,n}static async loadRawConfig(e){let n=null,r=null;const i=cie(r2.href,e,"config.json");try{const o=await fetch(i);if(o.ok)n=await o.json();else{const{status:a,statusText:s}=o;r=`HTTP status ${a}`,s&&(r+=` (${s})`)}}catch(o){n=null,r=`${o}`}return n===null&&(n=mS),n}static get instance(){return $s.assertConfigLoaded(),$s._instance}static assertConfigLoaded(){if(!$s._instance)throw new Error("internal error: configuration not available yet")}static changeWindowTitle(e){document.title=e}static changeWindowIcon(e){let n=document.querySelector('link[rel="icon"]');n!==null?n.href=e:(n=document.createElement("link"),n.rel="icon",n.href=e,document.head.appendChild(n))}static getAuthClientFromEnv(){return{authority:void 0,clientId:void 0,audience:void 0}}static getApiServerFromEnv(){return{id:void 0,name:void 0,url:void 0}}};Yt($s,"_instance");let Kt=$s;const A5=[["red",tf],["yellow",pne],["blue",rf],["pink",cne],["lightBlue",of],["green",Lc],["orange",oh],["lime",hne],["purple",nf],["indigo",une],["cyan",fne],["brown",gne],["teal",dne]],JDe=(()=>{const t={};return A5.forEach(([e,n])=>{t[e]=n}),t})(),nG=A5.map(([t,e])=>t);function eLe(t){return t==="light"?800:400}function tp(t){return nG[t%nG.length]}function uie(t,e){const n=eLe(e);return JDe[t][n]}function R5(t){return En(t)||(t=Kt.instance.branding.polygonFillOpacity),En(t)?t:.25}const tLe={Mapbox:{param:"access_token",token:"pk.eyJ1IjoiZm9ybWFuIiwiYSI6ImNrM2JranV0bDBtenczb2szZG84djh6bWUifQ.q0UKwf4CWt5fcQwIDwF8Bg"}};function nLe(t){return tLe[t]}function rG(t,e){const n=hf.get(e),r=n?!!parseInt(n):!!t[e];return{...t,[e]:r}}function lx(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var fie={exports:{}};const rLe={},iLe=Object.freeze(Object.defineProperty({__proto__:null,default:rLe},Symbol.toStringTag,{value:"Module"})),oLe=Ea(iLe);(function(t,e){(function(n,r){t.exports=r()})(Zn,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Zn<"u"&&Zn.crypto&&(o=Zn.crypto),!o&&typeof lx=="function")try{o=oLe}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(x){var b;return y.prototype=x,b=new y,y.prototype=null,b}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(y){var x=s(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=u.extend({init:function(y,x){y=this.words=y||[],x!=i?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var x=this.words,b=y.words,_=this.sigBytes,S=y.sigBytes;if(this.clamp(),_%4)for(var O=0;O>>2]>>>24-O%4*8&255;x[_+O>>>2]|=C<<24-(_+O)%4*8}else for(var E=0;E>>2]=b[E>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=r.ceil(x/4)},clone:function(){var y=u.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],b=0;b>>2]>>>24-S%4*8&255;_.push((O>>>4).toString(16)),_.push((O&15).toString(16))}return _.join("")},parse:function(y){for(var x=y.length,b=[],_=0;_>>3]|=parseInt(y.substr(_,2),16)<<24-_%8*4;return new f.init(b,x/2)}},p=d.Latin1={stringify:function(y){for(var x=y.words,b=y.sigBytes,_=[],S=0;S>>2]>>>24-S%4*8&255;_.push(String.fromCharCode(O))}return _.join("")},parse:function(y){for(var x=y.length,b=[],_=0;_>>2]|=(y.charCodeAt(_)&255)<<24-_%4*8;return new f.init(b,x)}},m=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},g=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=m.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,b=this._data,_=b.words,S=b.sigBytes,O=this.blockSize,C=O*4,E=S/C;y?E=r.ceil(E):E=r.max((E|0)-this._minBufferSize,0);var k=E*O,I=r.min(k*4,S);if(k){for(var P=0;P>>7)^(E<<14|E>>>18)^E>>>3,I=f[C-2],P=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;f[C]=k+f[C-7]+P+f[C-16]}var R=b&_^~b&S,T=g&v^g&y^v&y,L=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),z=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),B=O+z+R+u[C]+f[C],U=L+T;O=S,S=_,_=b,b=x+B|0,x=y,y=v,v=g,g=B+U|0}m[0]=m[0]+g|0,m[1]=m[1]+v|0,m[2]=m[2]+y|0,m[3]=m[3]+x|0,m[4]=m[4]+b|0,m[5]=m[5]+_|0,m[6]=m[6]+S|0,m[7]=m[7]+O|0},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,g=h.sigBytes*8;return p[g>>>5]|=128<<24-g%32,p[(g+64>>>9<<4)+14]=r.floor(m/4294967296),p[(g+64>>>9<<4)+15]=m,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})})(die);var sLe=die.exports;const lLe=$t(sLe);var hie={exports:{}};(function(t,e){(function(n,r){t.exports=r(i2)})(Zn,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(l){var c=l.words,u=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,m=c[h+1>>>2]>>>24-(h+1)%4*8&255,g=c[h+2>>>2]>>>24-(h+2)%4*8&255,v=p<<16|m<<8|g,y=0;y<4&&h+y*.75>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;d.length%4;)d.push(x);return d.join("")},parse:function(l){var c=l.length,u=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,g=p|m;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})})(hie);var cLe=hie.exports;const iG=$t(cLe);var pie={exports:{}};(function(t,e){(function(n,r){t.exports=r(i2)})(Zn,function(n){return n.enc.Utf8})})(pie);var uLe=pie.exports;const fLe=$t(uLe);function WL(t){this.message=t}WL.prototype=new Error,WL.prototype.name="InvalidCharacterError";var oG=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new WL("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=e.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?a+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return a};function dLe(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(oG(n).replace(/(.)/g,function(r,i){var o=i.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(e)}catch{return oG(e)}}function IT(t){this.message=t}function hLe(t,e){if(typeof t!="string")throw new IT("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(dLe(t.split(".")[n]))}catch(r){throw new IT("Invalid token specified: "+r.message)}}IT.prototype=new Error,IT.prototype.name="InvalidTokenError";var pLe={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},pl,ml,DT=(t=>(t[t.NONE=0]="NONE",t[t.ERROR=1]="ERROR",t[t.WARN=2]="WARN",t[t.INFO=3]="INFO",t[t.DEBUG=4]="DEBUG",t))(DT||{});(t=>{function e(){pl=3,ml=pLe}t.reset=e;function n(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");pl=i}t.setLevel=n;function r(i){ml=i}t.setLogger=r})(DT||(DT={}));var It=class{constructor(t){this._name=t}debug(...t){pl>=4&&ml.debug(It._format(this._name,this._method),...t)}info(...t){pl>=3&&ml.info(It._format(this._name,this._method),...t)}warn(...t){pl>=2&&ml.warn(It._format(this._name,this._method),...t)}error(...t){pl>=1&&ml.error(It._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const e=Object.create(this);return e._method=t,e.debug("begin"),e}static createStatic(t,e){const n=new It(`${t}.${e}`);return n.debug("begin"),n}static _format(t,e){const n=`[${t}]`;return e?`${n} ${e}:`:n}static debug(t,...e){pl>=4&&ml.debug(It._format(t),...e)}static info(t,...e){pl>=3&&ml.info(It._format(t),...e)}static warn(t,...e){pl>=2&&ml.warn(It._format(t),...e)}static error(t,...e){pl>=1&&ml.error(It._format(t),...e)}};DT.reset();var mLe="10000000-1000-4000-8000-100000000000",Al=class{static _randomWord(){return aLe.lib.WordArray.random(1).words[0]}static generateUUIDv4(){return mLe.replace(/[018]/g,e=>(+e^Al._randomWord()&15>>+e/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return Al.generateUUIDv4()+Al.generateUUIDv4()+Al.generateUUIDv4()}static generateCodeChallenge(t){try{const e=lLe(t);return iG.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(e){throw It.error("CryptoUtils.generateCodeChallenge",e),e}}static generateBasicAuth(t,e){const n=fLe.parse([t,e].join(":"));return iG.stringify(n)}},af=class{constructor(t){this._name=t,this._logger=new It(`Event('${this._name}')`),this._callbacks=[]}addHandler(t){return this._callbacks.push(t),()=>this.removeHandler(t)}removeHandler(t){const e=this._callbacks.lastIndexOf(t);e>=0&&this._callbacks.splice(e,1)}raise(...t){this._logger.debug("raise:",...t);for(const e of this._callbacks)e(...t)}},VL=class{static decode(t){try{return hLe(t)}catch(e){throw It.error("JwtUtils.decode",e),e}}},aG=class{static center({...t}){var e,n,r;return t.width==null&&(t.width=(e=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?e:360),(n=t.left)!=null||(t.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-t.width)/2))),t.height!=null&&((r=t.top)!=null||(t.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-t.height)/2)))),t}static serialize(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},ns=class extends af{constructor(){super(...arguments),this._logger=new It(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-ns.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=ns.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const e=this._logger.create("init");t=Math.max(Math.floor(t),1);const n=ns.getEpochTime()+t;if(this.expiration===n&&this._timerHandle){e.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),e.debug("using duration",t),this._expiration=n;const r=Math.min(t,5);this._timerHandle=setInterval(this._callback,r*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},GL=class{static readParams(t,e="query"){if(!t)throw new TypeError("Invalid URL");const r=new URL(t,"http://127.0.0.1")[e==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},np=class extends Error{constructor(t,e){var n,r,i;if(super(t.error_description||t.error||""),this.form=e,this.name="ErrorResponse",!t.error)throw It.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=t.error,this.error_description=(n=t.error_description)!=null?n:null,this.error_uri=(r=t.error_uri)!=null?r:null,this.state=t.userState,this.session_state=(i=t.session_state)!=null?i:null}},I5=class extends Error{constructor(t){super(t),this.name="ErrorTimeout"}},gLe=class{constructor(t){this._logger=new It("AccessTokenEvents"),this._expiringTimer=new ns("Access token expiring"),this._expiredTimer=new ns("Access token expired"),this._expiringNotificationTimeInSeconds=t.expiringNotificationTimeInSeconds}load(t){const e=this._logger.create("load");if(t.access_token&&t.expires_in!==void 0){const n=t.expires_in;if(e.debug("access token present, remaining duration:",n),n>0){let i=n-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),e.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else e.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;e.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(t){return this._expiringTimer.addHandler(t)}removeAccessTokenExpiring(t){this._expiringTimer.removeHandler(t)}addAccessTokenExpired(t){return this._expiredTimer.addHandler(t)}removeAccessTokenExpired(t){this._expiredTimer.removeHandler(t)}},vLe=class{constructor(t,e,n,r,i){this._callback=t,this._client_id=e,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new It("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=a=>{a.origin===this._frame_origin&&a.source===this._frame.contentWindow&&(a.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):a.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(a.data+" message from check session op iframe"))};const o=new URL(n);this._frame_origin=o.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=o.href}load(){return new Promise(t=>{this._frame.onload=()=>{t()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(t){if(this._session_state===t)return;this._logger.create("start"),this.stop(),this._session_state=t;const e=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};e(),this._timer=setInterval(e,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},mie=class{constructor(){this._logger=new It("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(t){return this._logger.create(`getItem('${t}')`),this._data[t]}setItem(t,e){this._logger.create(`setItem('${t}')`),this._data[t]=e}removeItem(t){this._logger.create(`removeItem('${t}')`),delete this._data[t]}get length(){return Object.getOwnPropertyNames(this._data).length}key(t){return Object.getOwnPropertyNames(this._data)[t]}},D5=class{constructor(t=[],e=null,n={}){this._jwtHandler=e,this._extraHeaders=n,this._logger=new It("JsonService"),this._contentTypes=[],this._contentTypes.push(...t,"application/json"),e&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(t,e={}){const{timeoutInSeconds:n,...r}=e;if(!n)return await fetch(t,r);const i=new AbortController,o=setTimeout(()=>i.abort(),n*1e3);try{return await fetch(t,{...e,signal:i.signal})}catch(a){throw a instanceof DOMException&&a.name==="AbortError"?new I5("Network timed out"):a}finally{clearTimeout(o)}}async getJson(t,{token:e,credentials:n}={}){const r=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};e&&(r.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+e),this.appendExtraHeaders(i);let o;try{r.debug("url:",t),o=await this.fetchWithTimeout(t,{method:"GET",headers:i,credentials:n})}catch(l){throw r.error("Network Error"),l}r.debug("HTTP response received, status",o.status);const a=o.headers.get("Content-Type");if(a&&!this._contentTypes.find(l=>a.startsWith(l))&&r.throw(new Error(`Invalid response Content-Type: ${a??"undefined"}, from URL: ${t}`)),o.ok&&this._jwtHandler&&(a!=null&&a.startsWith("application/jwt")))return await this._jwtHandler(await o.text());let s;try{s=await o.json()}catch(l){throw r.error("Error parsing JSON response",l),o.ok?l:new Error(`${o.statusText} (${o.status})`)}if(!o.ok)throw r.error("Error from server:",s),s.error?new np(s):new Error(`${o.statusText} (${o.status}): ${JSON.stringify(s)}`);return s}async postForm(t,{body:e,basicAuth:n,timeoutInSeconds:r,initCredentials:i}){const o=this._logger.create("postForm"),a={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};n!==void 0&&(a.Authorization="Basic "+n),this.appendExtraHeaders(a);let s;try{o.debug("url:",t),s=await this.fetchWithTimeout(t,{method:"POST",headers:a,body:e,timeoutInSeconds:r,credentials:i})}catch(f){throw o.error("Network error"),f}o.debug("HTTP response received, status",s.status);const l=s.headers.get("Content-Type");if(l&&!this._contentTypes.find(f=>l.startsWith(f)))throw new Error(`Invalid response Content-Type: ${l??"undefined"}, from URL: ${t}`);const c=await s.text();let u={};if(c)try{u=JSON.parse(c)}catch(f){throw o.error("Error parsing JSON response",f),s.ok?f:new Error(`${s.statusText} (${s.status})`)}if(!s.ok)throw o.error("Error from server:",u),u.error?new np(u,e):new Error(`${s.statusText} (${s.status}): ${JSON.stringify(u)}`);return u}appendExtraHeaders(t){const e=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];n.length!==0&&n.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){e.warn("Protected header could not be overridden",i,r);return}const o=typeof this._extraHeaders[i]=="function"?this._extraHeaders[i]():this._extraHeaders[i];o&&o!==""&&(t[i]=o)})}},yLe=class{constructor(t){this._settings=t,this._logger=new It("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new D5(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const t=this._logger.create("getMetadata");if(this._metadata)return t.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw t.throw(new Error("No authority or metadataUrl configured on settings")),null;t.debug("getting metadata from",this._metadataUrl);const e=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return t.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,e),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(t=!0){return this._getMetadataProperty("token_endpoint",t)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(t=!0){return this._getMetadataProperty("revocation_endpoint",t)}getKeysEndpoint(t=!0){return this._getMetadataProperty("jwks_uri",t)}async _getMetadataProperty(t,e=!1){const n=this._logger.create(`_getMetadataProperty('${t}')`),r=await this.getMetadata();if(n.debug("resolved"),r[t]===void 0){if(e===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+t))}return r[t]}async getSigningKeys(){const t=this._logger.create("getSigningKeys");if(this._signingKeys)return t.debug("returning signingKeys from cache"),this._signingKeys;const e=await this.getKeysEndpoint(!1);t.debug("got jwks_uri",e);const n=await this._jsonService.getJson(e);if(t.debug("got key set",n),!Array.isArray(n.keys))throw t.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},gie=class{constructor({prefix:t="oidc.",store:e=localStorage}={}){this._logger=new It("WebStorageStateStore"),this._store=e,this._prefix=t}async set(t,e){this._logger.create(`set('${t}')`),t=this._prefix+t,await this._store.setItem(t,e)}async get(t){return this._logger.create(`get('${t}')`),t=this._prefix+t,await this._store.getItem(t)}async remove(t){this._logger.create(`remove('${t}')`),t=this._prefix+t;const e=await this._store.getItem(t);return await this._store.removeItem(t),e}async getAllKeys(){this._logger.create("getAllKeys");const t=await this._store.length,e=[];for(let n=0;n{const r=this._logger.create("_getClaimsFromJwt");try{const i=VL.decode(n);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new D5(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(t){const e=this._logger.create("getClaims");t||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();e.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:t,credentials:this._settings.fetchRequestCredentials});return e.debug("got claims",r),r}},yie=class{constructor(t,e){this._settings=t,this._metadataService=e,this._logger=new It("TokenClient"),this._jsonService=new D5(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:t="authorization_code",redirect_uri:e=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,...i}){const o=this._logger.create("exchangeCode");n||o.throw(new Error("A client_id is required")),e||o.throw(new Error("A redirect_uri is required")),i.code||o.throw(new Error("A code is required"));const a=new URLSearchParams({grant_type:t,redirect_uri:e});for(const[u,f]of Object.entries(i))f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw o.throw(new Error("A client_secret is required")),null;s=Al.generateBasicAuth(n,r);break;case"client_secret_post":a.append("client_id",n),r&&a.append("client_secret",r);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async exchangeCredentials({grant_type:t="password",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...i}){const o=this._logger.create("exchangeCredentials");e||o.throw(new Error("A client_id is required"));const a=new URLSearchParams({grant_type:t,scope:r});for(const[u,f]of Object.entries(i))f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;s=Al.generateBasicAuth(e,n);break;case"client_secret_post":a.append("client_id",e),n&&a.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async exchangeRefreshToken({grant_type:t="refresh_token",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,...i}){const o=this._logger.create("exchangeRefreshToken");e||o.throw(new Error("A client_id is required")),i.refresh_token||o.throw(new Error("A refresh_token is required"));const a=new URLSearchParams({grant_type:t});for(const[u,f]of Object.entries(i))f!=null&&a.set(u,f);let s;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;s=Al.generateBasicAuth(e,n);break;case"client_secret_post":a.append("client_id",e),n&&a.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const c=await this._jsonService.postForm(l,{body:a,basicAuth:s,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),c}async revoke(t){var e;const n=this._logger.create("revoke");t.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(e=t.token_type_hint)!=null?e:"default token type"}`);const i=new URLSearchParams;for(const[o,a]of Object.entries(t))a!=null&&i.set(o,a);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i}),n.debug("got response")}},TLe=class{constructor(t,e,n){this._settings=t,this._metadataService=e,this._claimsService=n,this._logger=new It("ResponseValidator"),this._userInfoService=new CLe(this._settings,this._metadataService),this._tokenClient=new yie(this._settings,this._metadataService)}async validateSigninResponse(t,e){const n=this._logger.create("validateSigninResponse");this._processSigninState(t,e),n.debug("state processed"),await this._processCode(t,e),n.debug("code processed"),t.isOpenId&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e==null?void 0:e.skipUserInfo,t.isOpenId),n.debug("claims processed")}async validateCredentialsResponse(t,e){const n=this._logger.create("validateCredentialsResponse");t.isOpenId&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e,t.isOpenId),n.debug("claims processed")}async validateRefreshResponse(t,e){var n,r;const i=this._logger.create("validateRefreshResponse");t.userState=e.data,(n=t.session_state)!=null||(t.session_state=e.session_state),(r=t.scope)!=null||(t.scope=e.scope),t.isOpenId&&t.id_token&&(this._validateIdTokenAttributes(t,e.id_token),i.debug("ID Token validated")),t.id_token||(t.id_token=e.id_token,t.profile=e.profile);const o=t.isOpenId&&!!t.id_token;await this._processClaims(t,!1,o),i.debug("claims processed")}validateSignoutResponse(t,e){const n=this._logger.create("validateSignoutResponse");if(e.id!==t.state&&n.throw(new Error("State does not match")),n.debug("state validated"),t.userState=e.data,t.error)throw n.warn("Response was error",t.error),new np(t)}_processSigninState(t,e){var n;const r=this._logger.create("_processSigninState");if(e.id!==t.state&&r.throw(new Error("State does not match")),e.client_id||r.throw(new Error("No client_id on state")),e.authority||r.throw(new Error("No authority on state")),this._settings.authority!==e.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==e.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),t.userState=e.data,(n=t.scope)!=null||(t.scope=e.scope),t.error)throw r.warn("Response was error",t.error),new np(t);e.code_verifier&&!t.code&&r.throw(new Error("Expected code in response"))}async _processClaims(t,e=!1,n=!0){const r=this._logger.create("_processClaims");if(t.profile=this._claimsService.filterProtocolClaims(t.profile),e||!this._settings.loadUserInfo||!t.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(t.access_token);r.debug("user info claims received from user info endpoint"),n&&i.sub!==t.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),t.profile=this._claimsService.mergeClaims(t.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",t.profile)}async _processCode(t,e){const n=this._logger.create("_processCode");if(t.code){n.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:e.client_id,client_secret:e.client_secret,code:t.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier,...e.extraTokenParams});Object.assign(t,r)}else n.debug("No code to process")}_validateIdTokenAttributes(t,e){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=VL.decode((n=t.id_token)!=null?n:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),e){const o=VL.decode(e);i.sub!==o.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==o.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==o.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&o.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}t.profile=i}},tv=class{constructor(t){this.id=t.id||Al.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=ns.getEpochTime(),this.request_type=t.request_type}toStorageString(){return new It("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})}static fromStorageString(t){return It.createStatic("State","fromStorageString"),new tv(JSON.parse(t))}static async clearStaleState(t,e){const n=It.createStatic("State","clearStaleState"),r=ns.getEpochTime()-e,i=await t.getAllKeys();n.debug("got keys",i);for(let o=0;ov.searchParams.append("resource",x));for(const[y,x]of Object.entries({response_mode:s,...g,...h}))x!=null&&v.searchParams.append(y,x.toString());this.url=v.href}},PLe="openid",RA=class{constructor(t){this.access_token="",this.token_type="",this.profile={},this.state=t.get("state"),this.session_state=t.get("session_state"),this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri"),this.code=t.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-ns.getEpochTime()}set expires_in(t){typeof t=="string"&&(t=Number(t)),t!==void 0&&t>=0&&(this.expires_at=Math.floor(t)+ns.getEpochTime())}get isOpenId(){var t;return((t=this.scope)==null?void 0:t.split(" ").includes(PLe))||!!this.id_token}},MLe=class{constructor({url:t,state_data:e,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:i,request_type:o}){if(this._logger=new It("SignoutRequest"),!t)throw this._logger.error("ctor: No url passed"),new Error("url");const a=new URL(t);n&&a.searchParams.append("id_token_hint",n),r&&(a.searchParams.append("post_logout_redirect_uri",r),e&&(this.state=new tv({data:e,request_type:o}),a.searchParams.append("state",this.state.id)));for(const[s,l]of Object.entries({...i}))l!=null&&a.searchParams.append(s,l.toString());this.url=a.href}},kLe=class{constructor(t){this.state=t.get("state"),this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri")}},ALe=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],RLe=["sub","iss","aud","exp","iat"],ILe=class{constructor(t){this._settings=t,this._logger=new It("ClaimsService")}filterProtocolClaims(t){const e={...t};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=ALe;for(const r of n)RLe.includes(r)||delete e[r]}return e}mergeClaims(t,e){const n={...t};for(const[r,i]of Object.entries(e))for(const o of Array.isArray(i)?i:[i]){const a=n[r];a?Array.isArray(a)?a.includes(o)||a.push(o):n[r]!==o&&(typeof o=="object"&&this._settings.mergeClaims?n[r]=this.mergeClaims(a,o):n[r]=[a,o]):n[r]=o}return n}},DLe=class{constructor(t){this._logger=new It("OidcClient"),this.settings=new vie(t),this.metadataService=new yLe(this.settings),this._claimsService=new ILe(this.settings),this._validator=new TLe(this.settings,this.metadataService,this._claimsService),this._tokenClient=new yie(this.settings,this.metadataService)}async createSigninRequest({state:t,request:e,request_uri:n,request_type:r,id_token_hint:i,login_hint:o,skipUserInfo:a,nonce:s,response_type:l=this.settings.response_type,scope:c=this.settings.scope,redirect_uri:u=this.settings.redirect_uri,prompt:f=this.settings.prompt,display:d=this.settings.display,max_age:h=this.settings.max_age,ui_locales:p=this.settings.ui_locales,acr_values:m=this.settings.acr_values,resource:g=this.settings.resource,response_mode:v=this.settings.response_mode,extraQueryParams:y=this.settings.extraQueryParams,extraTokenParams:x=this.settings.extraTokenParams}){const b=this._logger.create("createSigninRequest");if(l!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const _=await this.metadataService.getAuthorizationEndpoint();b.debug("Received authorization endpoint",_);const S=new ELe({url:_,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:u,response_type:l,scope:c,state_data:t,prompt:f,display:d,max_age:h,ui_locales:p,id_token_hint:i,login_hint:o,acr_values:m,resource:g,request:e,request_uri:n,extraQueryParams:y,extraTokenParams:x,request_type:r,response_mode:v,client_secret:this.settings.client_secret,skipUserInfo:a,nonce:s,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const O=S.state;return await this.settings.stateStore.set(O.id,O.toStorageString()),S}async readSigninResponseState(t,e=!1){const n=this._logger.create("readSigninResponseState"),r=new RA(GL.readParams(t,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:L5.fromStorageString(i),response:r}}async processSigninResponse(t){const e=this._logger.create("processSigninResponse"),{state:n,response:r}=await this.readSigninResponseState(t,!0);return e.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,n),r}async processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:t,password:e,...r}),o=new RA(new URLSearchParams);return Object.assign(o,i),await this._validator.validateCredentialsResponse(o,n),o}async useRefreshToken({state:t,timeoutInSeconds:e}){var n;const r=this._logger.create("useRefreshToken");let i;if(this.settings.refreshTokenAllowedScope===void 0)i=t.scope;else{const s=this.settings.refreshTokenAllowedScope.split(" ");i=(((n=t.scope)==null?void 0:n.split(" "))||[]).filter(c=>s.includes(c)).join(" ")}const o=await this._tokenClient.exchangeRefreshToken({refresh_token:t.refresh_token,scope:i,timeoutInSeconds:e}),a=new RA(new URLSearchParams);return Object.assign(a,o),r.debug("validating response",a),await this._validator.validateRefreshResponse(a,{...t,scope:i}),a}async createSignoutRequest({state:t,id_token_hint:e,request_type:n,post_logout_redirect_uri:r=this.settings.post_logout_redirect_uri,extraQueryParams:i=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),a=await this.metadataService.getEndSessionEndpoint();if(!a)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",a);const s=new MLe({url:a,id_token_hint:e,post_logout_redirect_uri:r,state_data:t,extraQueryParams:i,request_type:n});await this.clearStaleState();const l=s.state;return l&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(l.id,l.toStorageString())),s}async readSignoutResponseState(t,e=!1){const n=this._logger.create("readSignoutResponseState"),r=new kLe(GL.readParams(t,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new np(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:tv.fromStorageString(i),response:r}}async processSignoutResponse(t){const e=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(t,!0);return n?(e.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):e.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),tv.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(t,e){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:t,token_type_hint:e})}},LLe=class{constructor(t){this._userManager=t,this._logger=new It("SessionMonitor"),this._start=async e=>{const n=e.session_state;if(!n)return;const r=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,r.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,this._sid=void 0,r.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const o=this._userManager.settings.client_id,a=this._userManager.settings.checkSessionIntervalInSeconds,s=this._userManager.settings.stopCheckSessionOnError,l=new vLe(this._callback,o,i,a,s);await l.load(),this._checkSessionIFrame=l,l.start(n)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub&&r.sid?{sub:r.sub,sid:r.sid}:null};this._start(i)}}catch(r){e.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let r=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(r=!1,this._checkSessionIFrame.start(n.session_state),n.sid===this._sid?e.debug("same sub still logged in at OP, restarting check session iframe; session_state",n.session_state):(e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),this._userManager.events._raiseUserSessionChanged())):e.debug("different subject signed into OP",n.sub):e.debug("subject no longer signed into OP"),r?this._sub?this._userManager.events._raiseUserSignedOut():this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",n),this._userManager.events._raiseUserSignedOut())}},t||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const t=await this._userManager.getUser();if(t)this._start(t);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const n={session_state:e.session_state,profile:e.sub&&e.sid?{sub:e.sub,sid:e.sid}:null};this._start(n)}}}},AC=class{constructor(t){var e;this.id_token=t.id_token,this.session_state=(e=t.session_state)!=null?e:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-ns.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+ns.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,e;return(e=(t=this.scope)==null?void 0:t.split(" "))!=null?e:[]}toStorageString(){return new It("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return It.createStatic("User","fromStorageString"),new AC(JSON.parse(t))}},sG="oidc-client",xie=class{constructor(){this._abort=new af("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(t){const e=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");e.debug("setting URL in window"),this._window.location.replace(t.url);const{url:n,keepOpen:r}=await new Promise((i,o)=>{const a=s=>{var l;const c=s.data,u=(l=t.scriptOrigin)!=null?l:window.location.origin;if(!(s.origin!==u||(c==null?void 0:c.source)!==sG)){try{const f=GL.readParams(c.url,t.response_mode).get("state");if(f||e.warn("no state found in response url"),s.source!==this._window&&f!==t.state)return}catch{this._dispose(),o(new Error("Invalid response from window"))}i(c)}};window.addEventListener("message",a,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",a,!1)),this._disposeHandlers.add(this._abort.addHandler(s=>{this._dispose(),o(s)}))});return e.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const t of this._disposeHandlers)t();this._disposeHandlers.clear()}static _notifyParent(t,e,n=!1,r=window.location.origin){t.postMessage({source:sG,url:e,keepOpen:n},r)}},bie={location:!1,toolbar:!1,height:640},_ie="_blank",NLe=60,$Le=2,wie=10,FLe=class extends vie{constructor(t){const{popup_redirect_uri:e=t.redirect_uri,popup_post_logout_redirect_uri:n=t.post_logout_redirect_uri,popupWindowFeatures:r=bie,popupWindowTarget:i=_ie,redirectMethod:o="assign",redirectTarget:a="self",iframeNotifyParentOrigin:s=t.iframeNotifyParentOrigin,iframeScriptOrigin:l=t.iframeScriptOrigin,silent_redirect_uri:c=t.redirect_uri,silentRequestTimeoutInSeconds:u=wie,automaticSilentRenew:f=!0,validateSubOnSilentRenew:d=!0,includeIdTokenInSilentRenew:h=!1,monitorSession:p=!1,monitorAnonymousSession:m=!1,checkSessionIntervalInSeconds:g=$Le,query_status_response_type:v="code",stopCheckSessionOnError:y=!0,revokeTokenTypes:x=["access_token","refresh_token"],revokeTokensOnSignout:b=!1,includeIdTokenInSilentSignout:_=!1,accessTokenExpiringNotificationTimeInSeconds:S=NLe,userStore:O}=t;if(super(t),this.popup_redirect_uri=e,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=o,this.redirectTarget=a,this.iframeNotifyParentOrigin=s,this.iframeScriptOrigin=l,this.silent_redirect_uri=c,this.silentRequestTimeoutInSeconds=u,this.automaticSilentRenew=f,this.validateSubOnSilentRenew=d,this.includeIdTokenInSilentRenew=h,this.monitorSession=p,this.monitorAnonymousSession=m,this.checkSessionIntervalInSeconds=g,this.stopCheckSessionOnError=y,this.query_status_response_type=v,this.revokeTokenTypes=x,this.revokeTokensOnSignout=b,this.includeIdTokenInSilentSignout=_,this.accessTokenExpiringNotificationTimeInSeconds=S,O)this.userStore=O;else{const C=typeof window<"u"?window.sessionStorage:new mie;this.userStore=new gie({store:C})}}},HL=class extends xie{constructor({silentRequestTimeoutInSeconds:t=wie}){super(),this._logger=new It("IFrameWindow"),this._timeoutInSeconds=t,this._frame=HL.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",t.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const e=setTimeout(()=>this._abort.raise(new I5("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(e)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",e=>{var n;const r=e.target;(n=r.parentNode)==null||n.removeChild(r),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,e){return super._notifyParent(window.parent,t,!1,e)}},jLe=class{constructor(t){this._settings=t,this._logger=new It("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:t=this._settings.silentRequestTimeoutInSeconds}){return new HL({silentRequestTimeoutInSeconds:t})}async callback(t){this._logger.create("callback"),HL.notifyParent(t,this._settings.iframeNotifyParentOrigin)}},BLe=500,lG=class extends xie{constructor({popupWindowTarget:t=_ie,popupWindowFeatures:e={}}){super(),this._logger=new It("PopupWindow");const n=aG.center({...bie,...e});this._window=window.open(void 0,t,aG.serialize(n))}async navigate(t){var e;(e=this._window)==null||e.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},BLe);return this._disposeHandlers.add(()=>clearInterval(n)),await super.navigate(t)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(t,e){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,t,e)}},zLe=class{constructor(t){this._settings=t,this._logger=new It("PopupNavigator")}async prepare({popupWindowFeatures:t=this._settings.popupWindowFeatures,popupWindowTarget:e=this._settings.popupWindowTarget}){return new lG({popupWindowFeatures:t,popupWindowTarget:e})}async callback(t,e=!1){this._logger.create("callback"),lG.notifyOpener(t,e)}},ULe=class{constructor(t){this._settings=t,this._logger=new It("RedirectNavigator")}async prepare({redirectMethod:t=this._settings.redirectMethod,redirectTarget:e=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;e==="top"&&(r=(n=window.top)!=null?n:window.self);const i=r.location[t].bind(r.location);let o;return{navigate:async a=>{this._logger.create("navigate");const s=new Promise((l,c)=>{o=c});return i(a.url),await s},close:()=>{this._logger.create("close"),o==null||o(new Error("Redirect aborted")),r.stop()}}}},WLe=class extends gLe{constructor(t){super({expiringNotificationTimeInSeconds:t.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new It("UserManagerEvents"),this._userLoaded=new af("User loaded"),this._userUnloaded=new af("User unloaded"),this._silentRenewError=new af("Silent renew error"),this._userSignedIn=new af("User signed in"),this._userSignedOut=new af("User signed out"),this._userSessionChanged=new af("User session changed")}load(t,e=!0){super.load(t),e&&this._userLoaded.raise(t)}unload(){super.unload(),this._userUnloaded.raise()}addUserLoaded(t){return this._userLoaded.addHandler(t)}removeUserLoaded(t){return this._userLoaded.removeHandler(t)}addUserUnloaded(t){return this._userUnloaded.addHandler(t)}removeUserUnloaded(t){return this._userUnloaded.removeHandler(t)}addSilentRenewError(t){return this._silentRenewError.addHandler(t)}removeSilentRenewError(t){return this._silentRenewError.removeHandler(t)}_raiseSilentRenewError(t){this._silentRenewError.raise(t)}addUserSignedIn(t){return this._userSignedIn.addHandler(t)}removeUserSignedIn(t){this._userSignedIn.removeHandler(t)}_raiseUserSignedIn(){this._userSignedIn.raise()}addUserSignedOut(t){return this._userSignedOut.addHandler(t)}removeUserSignedOut(t){this._userSignedOut.removeHandler(t)}_raiseUserSignedOut(){this._userSignedOut.raise()}addUserSessionChanged(t){return this._userSessionChanged.addHandler(t)}removeUserSessionChanged(t){this._userSessionChanged.removeHandler(t)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}},VLe=class{constructor(t){this._userManager=t,this._logger=new It("SilentRenewService"),this._isStarted=!1,this._retryTimer=new ns("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(n){if(n instanceof I5){e.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}e.error("Error from signinSilent:",n),this._userManager.events._raiseSilentRenewError(n)}}}async start(){const t=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(e){t.error("getUser error",e)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},GLe=class{constructor(t){this.refresh_token=t.refresh_token,this.id_token=t.id_token,this.session_state=t.session_state,this.scope=t.scope,this.profile=t.profile,this.data=t.state}},HLe=class{constructor(t){this._logger=new It("UserManager"),this.settings=new FLe(t),this._client=new DLe(t),this._redirectNavigator=new ULe(this.settings),this._popupNavigator=new zLe(this.settings),this._iframeNavigator=new jLe(this.settings),this._events=new WLe(this.settings),this._silentRenewService=new VLe(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new LLe(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const t=this._logger.create("getUser"),e=await this._loadUser();return e?(t.info("user loaded"),this._events.load(e,!1),e):(t.info("user not found in storage"),null)}async removeUser(){const t=this._logger.create("removeUser");await this.storeUser(null),t.info("user removed from storage"),this._events.unload()}async signinRedirect(t={}){this._logger.create("signinRedirect");const{redirectMethod:e,...n}=t,r=await this._redirectNavigator.prepare({redirectMethod:e});await this._signinStart({request_type:"si:r",...n},r)}async signinRedirectCallback(t=window.location.href){const e=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(t);return n.profile&&n.profile.sub?e.info("success, signed in subject",n.profile.sub):e.info("no subject"),n}async signinResourceOwnerCredentials({username:t,password:e,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),i=await this._client.processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const o=await this._buildUser(i);return o.profile&&o.profile.sub?r.info("success, signed in subject",o.profile.sub):r.info("no subject"),o}async signinPopup(t={}){const e=this._logger.create("signinPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_redirect_uri;o||e.throw(new Error("No popup_redirect_uri configured"));const a=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r}),s=await this._signin({request_type:"si:p",redirect_uri:o,display:"popup",...i},a);return s&&(s.profile&&s.profile.sub?e.info("success, signed in subject",s.profile.sub):e.info("no subject")),s}async signinPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(t,e),n.info("success")}async signinSilent(t={}){var e;const n=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,...i}=t;let o=await this._loadUser();if(o!=null&&o.refresh_token){n.debug("using refresh token");const c=new GLe(o);return await this._useRefreshToken(c)}const a=this.settings.silent_redirect_uri;a||n.throw(new Error("No silent_redirect_uri configured"));let s;o&&this.settings.validateSubOnSilentRenew&&(n.debug("subject prior to silent renew:",o.profile.sub),s=o.profile.sub);const l=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return o=await this._signin({request_type:"si:s",redirect_uri:a,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,...i},l,s),o&&((e=o.profile)!=null&&e.sub?n.info("success, signed in subject",o.profile.sub):n.info("no subject")),o}async _useRefreshToken(t){const e=await this._client.useRefreshToken({state:t,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),n=new AC({...t,...e});return await this.storeUser(n),this._events.load(n),n}async signinSilentCallback(t=window.location.href){const e=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async signinCallback(t=window.location.href){const{state:e}=await this._client.readSigninResponseState(t);switch(e.request_type){case"si:r":return await this.signinRedirectCallback(t);case"si:p":return await this.signinPopupCallback(t);case"si:s":return await this.signinSilentCallback(t);default:throw new Error("invalid response_type in state")}}async signoutCallback(t=window.location.href,e=!1){const{state:n}=await this._client.readSignoutResponseState(t);if(n)switch(n.request_type){case"so:r":await this.signoutRedirectCallback(t);break;case"so:p":await this.signoutPopupCallback(t,e);break;case"so:s":await this.signoutSilentCallback(t);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(t={}){const e=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=t,i=this.settings.silent_redirect_uri;i||e.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),s=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},a);try{const l=await this._client.processSigninResponse(s.url);return e.debug("got signin response"),l.session_state&&l.profile.sub?(e.info("success for subject",l.profile.sub),{session_state:l.session_state,sub:l.profile.sub,sid:l.profile.sid}):(e.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof np)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return e.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(t,e,n){const r=await this._signinStart(t,e);return await this._signinEnd(r.url,n)}async _signinStart(t,e){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(t);return n.debug("got signin request"),await e.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw n.debug("error after preparing navigator, closing navigator window"),e.close(),r}}async _signinEnd(t,e){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(t);return n.debug("got signin response"),await this._buildUser(r,e)}async _buildUser(t,e){const n=this._logger.create("_buildUser"),r=new AC(t);if(e){if(e!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new np({...t,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),this._events.load(r),r}async signoutRedirect(t={}){const e=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=t,i=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),e.info("success")}async signoutRedirectCallback(t=window.location.href){const e=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(t);return e.info("success"),n}async signoutPopup(t={}){const e=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_post_logout_redirect_uri,a=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:o,state:o==null?void 0:{},...i},a),e.info("success")}async signoutPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(t,e),n.info("success")}async _signout(t,e){const n=await this._signoutStart(t,e);return await this._signoutEnd(n.url)}async _signoutStart(t={},e){var n;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const o=t.id_token_hint||i&&i.id_token;o&&(r.debug("setting id_token_hint in signout request"),t.id_token_hint=o),await this.removeUser(),r.debug("user removed, creating signout request");const a=await this._client.createSignoutRequest(t);return r.debug("got signout request"),await e.navigate({url:a.url,state:(n=a.state)==null?void 0:n.id})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),e.close(),i}}async _signoutEnd(t){const e=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(t);return e.debug("got signout response"),n}async signoutSilent(t={}){var e;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=t,o=this.settings.includeIdTokenInSilentSignout?(e=await this._loadUser())==null?void 0:e.id_token:void 0,a=this.settings.popup_post_logout_redirect_uri,s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:a,id_token_hint:o,...i},s),n.info("success")}async signoutSilentCallback(t=window.location.href){const e=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async revokeTokens(t){const e=await this._loadUser();await this._revokeInternal(e,t)}async _revokeInternal(t,e=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!t)return;const r=e.filter(i=>typeof t[i]=="string");if(!r.length){n.debug("no need to revoke due to no token(s)");return}for(const i of r)await this._client.revokeToken(t[i],i),n.info(`${i} revoked successfully`),i!=="access_token"&&(t[i]=null);await this.storeUser(t),n.debug("user stored"),this._events.load(t)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const t=this._logger.create("_loadUser"),e=await this.settings.userStore.get(this._userStoreKey);return e?(t.debug("user storageString loaded"),AC.fromStorageString(e)):(t.debug("no user storageString"),null)}async storeUser(t){const e=this._logger.create("storeUser");if(t){e.debug("storing user");const n=t.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}},N5=ue.createContext(void 0);N5.displayName="AuthContext";var qLe={isLoading:!0,isAuthenticated:!1},XLe=(t,e)=>{switch(e.type){case"INITIALISED":case"USER_LOADED":return{...t,user:e.user,isLoading:!1,isAuthenticated:e.user?!e.user.expired:!1,error:void 0};case"USER_UNLOADED":return{...t,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...t,isLoading:!0,activeNavigator:e.method};case"NAVIGATOR_CLOSE":return{...t,isLoading:!1,activeNavigator:void 0};case"ERROR":return{...t,isLoading:!1,error:e.error};default:return{...t,isLoading:!1,error:new Error(`unknown type ${e.type}`)}}},QLe=(t=window.location)=>{let e=new URLSearchParams(t.search);return!!((e.get("code")||e.get("error"))&&e.get("state")||(e=new URLSearchParams(t.hash.replace("#","?")),(e.get("code")||e.get("error"))&&e.get("state")))},YLe=t=>e=>e instanceof Error?e:new Error(t),KLe=YLe("Login failed"),ZLe=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],JLe=["signinPopup","signinSilent","signinRedirect","signoutPopup","signoutRedirect","signoutSilent"],IA=t=>()=>{throw new Error(`UserManager#${t} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},e3e=typeof window>"u"?null:HLe,t3e=t=>{const{children:e,onSigninCallback:n,skipSigninCallback:r,onRemoveUser:i,onSignoutRedirect:o,onSignoutPopup:a,implementation:s=e3e,userManager:l,...c}=t,[u]=M.useState(()=>l??(s?new s(c):{settings:c})),[f,d]=M.useReducer(XLe,qLe),h=M.useMemo(()=>Object.assign({settings:u.settings,events:u.events},Object.fromEntries(ZLe.map(x=>{var b,_;return[x,(_=(b=u[x])==null?void 0:b.bind(u))!=null?_:IA(x)]})),Object.fromEntries(JLe.map(x=>[x,u[x]?async(...b)=>{d({type:"NAVIGATOR_INIT",method:x});try{return await u[x](...b)}finally{d({type:"NAVIGATOR_CLOSE"})}}:IA(x)]))),[u]),p=M.useRef(!1);M.useEffect(()=>{!u||p.current||(p.current=!0,(async()=>{let x=null;try{QLe()&&!r&&(x=await u.signinCallback(),n&&n(x)),x=x||await u.getUser(),d({type:"INITIALISED",user:x})}catch(b){d({type:"ERROR",error:KLe(b)})}})())},[u,r,n]),M.useEffect(()=>{if(!u)return;const x=S=>{d({type:"USER_LOADED",user:S})};u.events.addUserLoaded(x);const b=()=>{d({type:"USER_UNLOADED"})};u.events.addUserUnloaded(b);const _=S=>{d({type:"ERROR",error:S})};return u.events.addSilentRenewError(_),()=>{u.events.removeUserLoaded(x),u.events.removeUserUnloaded(b),u.events.removeSilentRenewError(_)}},[u]);const m=M.useCallback(u?()=>u.removeUser().then(i):IA("removeUser"),[u,i]),g=M.useCallback(x=>h.signoutRedirect(x).then(o),[h.signoutRedirect,o]),v=M.useCallback(x=>h.signoutPopup(x).then(a),[h.signoutPopup,a]),y=M.useCallback(x=>h.signoutSilent(x),[h.signoutSilent]);return ue.createElement(N5.Provider,{value:{...f,...h,removeUser:m,signoutRedirect:g,signoutPopup:v,signoutSilent:y}},e)},n3e=()=>{const t=ue.useContext(N5);if(!t)throw new Error("AuthProvider context is undefined, please verify you are calling useAuth() as child of a component.");return t};const cG="color:green;font-weight:bold;",r3e="color:blue;font-weight:bold;";class i3e{constructor(e){Yt(this,"_languages");Yt(this,"_content");Yt(this,"_locale");const n=Object.getOwnPropertyNames(e.languages);if(n.findIndex(i=>i==="en")<0)throw new Error('Internal error: locale "en" must be included in supported languages');const r={};e.dictionary.forEach((i,o)=>{n.forEach(s=>{if(!i[s])throw new Error(`Internal error: invalid entry at index ${o} in "./resources/lang.json": missing translation for locale: "${s}": ${i}`)});const a=uG(i.en);r[a]&&console.warn(`Translation already defined for "${i.en}".`),r[a]=i}),this._languages=e.languages,this._content=r,this._locale="en"}get languages(){return this._languages}get locale(){return this._locale}set locale(e){const n=Object.getOwnPropertyNames(this._languages);if(n.findIndex(r=>r===e)<0){const r=e.split("-")[0];if(n.findIndex(i=>i===r)<0){console.error(`No translations found for locale "${e}", staying with "${this._locale}".`);return}else console.warn(`No translations found for locale "${e}", falling back to "${r}".`),e=r}this._locale=e}get(e,n){const r=uG(e),i=this._content[r];let o;return i?(o=i[this._locale],o||(console.debug(`missing translation of phrase %c${e}`,cG,` for locale %c${this._locale}`,r3e),o=e)):(console.debug(`missing translation for phrase %c${e}`,cG),o=e),n&&Object.keys(n).forEach(a=>{o=o.replace("${"+a+"}",`${n[a]}`)}),o}}const o3e=()=>{let t;return navigator.languages&&navigator.languages.length>0?t=navigator.languages[0]:t=navigator.language||navigator.userLanguage||navigator.browserLanguage||"en",t.split("-")[0]},uG=t=>t.toLowerCase(),a3e={en:"English",de:"Deutsch",se:"Svenska"},s3e=[{en:"OK",de:"OK",se:"OK"},{en:"Cancel",de:"Abbrechen",se:"Avbryt"},{en:"Save",de:"Speichern",se:"Spara"},{en:"Select",de:"Auswählen",se:"Välj"},{en:"Add",de:"Hinzufügen",se:"Lägg till"},{en:"Edit",de:"Bearbeiten",se:"Redigera"},{en:"Remove",de:"Entfernen",se:"Ta bort"},{en:"Dataset",de:"Datensatz",se:"Dataset"},{en:"Variable",de:"Variable",se:"Variabel"},{en:"My places",de:"Meine Orte",se:"Mina platser"},{en:"Loading places",de:"Lade Orte",se:"Laddar platser"},{en:"Places",de:"Orte",se:"Platser"},{en:"Place",de:"Ort",se:"Plats"},{en:"Time",de:"Zeit",se:"Tid"},{en:"Missing time axis",de:"Fehlende Zeitachse",se:"Saknar tidsaxel"},{en:"Geometry type",de:"Geometry-Typ",se:"Geometri typ"},{en:"Point",de:"Punkt",se:"Punkt"},{en:"Polygon",de:"Polygon",se:"Polygon"},{en:"Circle",de:"Kreis",se:"Cirkel"},{en:"Multi",de:"Multi",se:"Multi"},{en:"Something went wrong.",de:"Irgendetwas lief schief.",se:"Något gick fel."},{en:"Time-Series",de:"Zeitserie",se:"Tidsserier"},{en:"Quantity",de:"Größe",se:"Kvantitet"},{en:"unknown units",de:"unbekannte Einheiten",se:"okända enheter"},{en:"Values",de:"Werte",se:"Värden"},{en:"Start",de:"Start",se:"Start"},{en:"Stop",de:"Stopp",se:"Stopp"},{en:"Please wait...",de:"Bitte warten...",se:"Vänta ..."},{en:"Loading data",de:"Lade Daten",se:"Laddar data"},{en:"Connecting to server",de:"Verbindung zum Server wird hergestellt",se:"Ansluta till servern"},{en:"Cannot reach server",de:"Kann Server nicht erreichen",se:"Kan inte nå servern"},{en:"Language",de:"Sprache",se:"Språk"},{en:"Settings",de:"Einstellungen",se:"Inställningar"},{en:"General",de:"Allgemein",se:"Allmänhet"},{en:"System Information",de:"Systeminformation",se:"Systeminformation"},{en:"version",de:"Version",se:"Version"},{en:"Server",de:"Server",se:"Server"},{en:"Add Server",de:"Server hinzufügen",se:"Lägg till server"},{en:"Edit Server",de:"Server bearbeiten",se:"Redigera server"},{en:"Select Server",de:"Server auswählen",se:"Välj server"},{en:"On",de:"An",se:"På"},{en:"Off",de:"Aus",se:"Av"},{en:"Time interval of the player",de:"Zeitintervall des Abspielers",se:"Spelarens tidsintervall"},{en:"Show chart after adding a place",de:"Diagram anzeigen, nachdem ein Ort hinzugefügt wurde",se:"Visa diagram efter att du har lagt till en plats"},{en:"Calculate standard deviation",de:"Berechne Standardabweichung",se:"Beräkna standardavvikelsen"},{en:"Calculate median instead of mean (disables standard deviation)",de:"Median statt Mittelwert berechnen (deaktiviert Standardabweichung)",se:"Beräkna median istället för medelvärde (inaktiverar standardavvikelse)"},{en:"Minimal number of data points in a time series update",de:"Minimale Anzahl Datenpunkte in einer Zeitreihen-Aktualisierung",se:"Minimalt antal datapunkter i en tidsserieuppdatering"},{en:"Map",de:"Karte",se:"Karta"},{en:"Projection",de:"Projektion",se:"Projektion"},{en:"Geographic",de:"Geografisch",se:"Geografiskt"},{en:"Mercator",de:"Mercator",se:"Mercator"},{en:"Image smoothing",de:"Bildglättung",se:"Bildutjämning"},{en:"Show dataset boundaries",de:"Datensatzgrenzen anzeigen",se:"Visa datauppsättningsgränser"},{en:"Base map",de:"Basiskarte",se:"Grundkarta"},{en:"Hide small values",de:"Kleine Werte ausblenden",se:"Dölja små värden"},{en:"Reverse",de:"Umkehren",se:"Omvänt"},{en:"Color",de:"Farbe",se:"Färg"},{en:"Opacity",de:"Opazität",se:"Opacitet"},{en:"Value Range",de:"Wertebereich",se:"Värdeintervall"},{en:"Assign min/max from color mapping values",de:"Min./Max. aus Farbzuordnungswerten übertragen",se:"Tilldela min/max från färgmappningsvärden"},{en:"Log-scaled",de:"Log-skaliert",se:"Log-skalad"},{en:"Logarithmic scaling",de:"Logarithmische Skalierung",se:"Logaritmisk skalning"},{en:"Others",de:"Andere",se:"Andra"},{en:"Dataset information",de:"Informationen zum Datensatz",se:"Information om dataset"},{en:"Variable information",de:"Informationen zur Variablen",se:"Information om variabeln"},{en:"Place information",de:"Informationen zum Ort",se:"Platsinformation"},{en:"Dimension names",de:"Namen der Dimensionen",se:"Dimensioner namn"},{en:"Dimension data types",de:"Datentypen der Dimensionen",se:"Dimensionsdatatyper"},{en:"Dimension lengths",de:"Länge der Dimensionen",se:"Måttlängder"},{en:"Time chunk size",de:"Zeitblockgröße",se:"Tidsblockstorlek"},{en:"Geographical extent",de:"Geografische Ausdehnung",se:"Geografisk omfattning"},{en:"Spatial reference system",de:"Räumliches Bezugssystem",se:"Rumsligt referenssystem"},{en:"Name",de:"Name",se:"Namn"},{en:"Title",de:"Titel",se:"Titel"},{en:"Units",de:"Einheiten",se:"Enheter"},{en:"Expression",de:"Ausdruck",se:"Uttryck"},{en:"Data type",de:"Datentyp",se:"Datatyp"},{en:"There is no information available for this location.",de:"Zu diesem Ort sind keine keine Informationen vorhanden.",se:"Det finns ingen information tillgänglig för den här platsen."},{en:"Log out",de:"Abmelden",se:"Logga ut"},{en:"Profile",de:"Profil",se:"Profil"},{en:"User Profile",de:"Nutzerprofil",se:"Användarprofil"},{en:"User name",de:"Nutzername",se:"Användarnamn"},{en:"E-mail",de:"E-mail",se:"E-post"},{en:"Nickname",de:"Spitzname",se:"Smeknamn"},{en:"verified",de:"verifiziert",se:"verified"},{en:"not verified",de:"nicht verifiziert",se:"inte verifierad"},{en:"RGB",de:"RGB",se:"RGB"},{en:"Imprint",de:"Impressum",se:"Avtryck"},{en:"User Manual",de:"Benutzerhandbuch",se:"Användarmanual"},{en:"Show time-series diagram",de:"Zeitserien-Diagramm anzeigen",se:"Visa tidsseriediagram"},{en:"Add Statistics",de:"Statistiken hinzufügen",se:"Lägg till statistik"},{en:"Help",de:"Hilfe",se:"Hjälp"},{en:"Copy snapshot of chart to clipboard",de:"Schnappschuss des Diagramms in die Zwischenablage kopieren",se:"Kopiera ögonblicksbild av diagrammet till urklipp"},{en:"Snapshot copied to clipboard",de:"Schnappschuss wurde in die Zwischenablage kopiert",se:"Ögonblicksbild har kopierats till urklipp"},{en:"Error copying snapshot to clipboard",de:"Fehler beim Kopieren des Schnappschusses in die Zwischenablage",se:"Det gick inte att kopiera ögonblicksbilden till urklipp"},{en:"Export data",de:"Daten exportieren",se:"Exportera data"},{en:"Export Settings",de:"Export-Einstellungen",se:"Exportera Inställningar"},{en:"Include time-series data",de:"Zeitseriendaten einschließen",se:"Inkludera tidsseriedata"},{en:"Include places data",de:"Ortsdaten einschließen",se:"Inkludera platsdata"},{en:"File name",de:"Dateiname",se:"Filnamn"},{en:"Separator for time-series data",de:"Trennzeichen für Zeitreihendaten",se:"Separator för tidsseriedata"},{en:"Combine place data in one file",de:"Ortsdaten in einer Datei zusammenfassen",se:"Kombinera platsdata i en fil"},{en:"As ZIP archive",de:"Als ZIP-Archiv",se:"Som ett ZIP-arkiv"},{en:"Download",de:"Herunterladen",se:"Ladda ner"},{en:"Locate place in map",de:"Lokalisiere Ort in Karte",se:"Leta upp plats på kartan"},{en:"Locate dataset in map",de:"Lokalisiere Datensatz in Karte",se:"Leta upp dataset på kartan"},{en:"Open information panel",de:"Informationsfeld öffnen",se:"Öppet informationsfält"},{en:"Select a place in map",de:"Ort in der Karte auswählen",se:"Välj plats på kartan"},{en:"Add a point location in map",de:"Punkt zur Karte hinzufügen",se:"Lägg till punkt på kartan"},{en:"Draw a polygon area in map",de:"Polygonale Fläche in der Karte zeichnen",se:"Rita en polygonal yta på kartan"},{en:"Draw a circular area in map",de:"Kreisförmige Fläche in der Karte zeichnen",se:"Rita ett cirkulärt område på kartan"},{en:"Rename place",de:"Ort umbenennen",se:"Byt namn på plats"},{en:"Style place",de:"Ort stylen",se:"Styla plats"},{en:"Remove place",de:"Ort entfernen",se:"Ta bort plats"},{en:"Rename place group",de:"Ortsgruppe umbenennen",se:"Byt namn på platsgrupp"},{en:"Remove places",de:"Orte entfernen",se:"Ta bort platser"},{en:"Show RGB layer instead",de:"Stattdessen RGB-Layer anzeigen",se:"Visa RGB-lager istället"},{en:"Auto-step through times in the dataset",de:"Zeiten im Datensatz automatisch durchlaufen",se:"Kör automatiskt genom tider i dataposten"},{en:"First time step",de:"Erster Zeitschritt",se:"Första tidssteg"},{en:"Last time step",de:"Letzter Zeitschritt",se:"Sista tidssteg"},{en:"Previous time step",de:"Vorheriger Zeitschritt",se:"Föregående tidssteg"},{en:"Next time step",de:"Nächster Zeitschritt",se:"Nästa tidssteg"},{en:"Select time in dataset",de:"Datensatz-Zeit auswählen",se:"Välj tid i dataset"},{en:"Refresh",de:"Aktualisieren",se:"Att uppdatera"},{en:"Accept and continue",de:"Akzeptieren und weiter",se:"Acceptera och fortsätt"},{en:"Leave",de:"Verlassen",se:"Lämna"},{en:"Import places",de:"Orte importieren",se:"Importera platser"},{en:"Text/CSV",de:"Text/CSV",se:"Text/CSV"},{en:"GeoJSON",de:"GeoJSON",se:"GeoJSON"},{en:"WKT",de:"WKT",se:"WKT"},{en:"Enter text or drag & drop a text file.",de:"Text eingeben oder Textdatei per Drag & Drop einfügen.",se:"Skriv in text eller dra och släpp en textfil."},{en:"From File",de:"Aus Datei",se:"Från fil"},{en:"Clear",de:"Löschen",se:"Tömma"},{en:"Options",de:"Optionen",se:"Alternativ"},{en:"Time (UTC, ISO-format)",de:"Zeit (UTC, ISO-Format)",se:"Tid (UTC, ISO-format)"},{en:"Group",de:"Gruppe",se:"Grupp"},{en:"Label",de:"Label",se:"Etikett"},{en:"Time property names",de:"Eigenschaftsnamen für Zeit",se:"Gruppegendomsnamn"},{en:"Group property names",de:"Eigenschaftsnamen für Gruppe",se:"Gruppegendomsnamn"},{en:"Label property names",de:"Eigenschaftsnamen für Label",se:"Etikett egendomsnamn"},{en:"Group prefix (used as fallback)",de:"Gruppen-Präfix (als Fallback verwendet)",se:"Gruppprefix (används som reserv)"},{en:"Label prefix (used as fallback)",de:"Label-Präfix (als Fallback verwendet)",se:"Etikettprefix (används som reserv)"},{en:"X/longitude column names",de:"Spaltennamen für y/Längengrad",se:"X/longitud kolumnnamn"},{en:"Y/latitude column names",de:"Spaltennamen für y/Breitengrad",se:"Y/latitud kolumnnamn"},{en:"Geometry column names",de:"Spaltennamen für Geometrie",se:"Geometrikolumnnamn"},{en:"Time column names",de:"Spaltennamen für Zeit",se:"Tidskolumnnamn"},{en:"Group column names",de:"Spaltennamen für Gruppe",se:"Gruppkolumnnamn"},{en:"Label column names",de:"Spaltennamen für Label",se:"Etikettkolumnnamn"},{en:"Separator character",de:"Trennzeichen",se:"Skiljetecken"},{en:"Comment character",de:"Kommentar-Zeichen",se:"Kommentar karaktär"},{en:"Quote character",de:"Zitierzeichen",se:"Citat karaktär"},{en:"Escape character",de:"Escape character",se:"Escape karaktär"},{en:"Not-a-number token",de:"Token für 'keine Zahl'",se:"Not-a-number token"},{en:"True token",de:"Token für 'wahr'",se:"Sann token"},{en:"False token",de:"Token für 'falsch'",se:"Falsk token"},{en:"Revoke consent",de:"Zustimmung widerrufen",se:"Återkalla samtycke "},{en:"Accepted",de:"Akzeptiert",se:"Accepterad"},{en:"Legal Agreement",de:"Rechtliches Übereinkommen",se:"Laglig Överenskommelse"},{en:"Privacy Notice",de:"Datenschutzhinweis",se:"Sekretessmeddelande"},{en:"WMS URL",de:"WMS URL",se:"WMS URL"},{en:"WMS Layer",de:"WMS Layer",se:"WMS Lager"},{en:"Add layer from a Web Map Service",de:"Layer aus einem Web Map Service hinzufügen",se:"Lägg till lager från en Web Map Service"},{en:"Add layer from a Tiled Web Map",de:"Layer aus einer Tiled Web Map hinzufügen",se:"Lägg till lager från en Tiled Web Map"},{en:"Show or hide layers panel",de:"Layer-Bedienfeld ein- oder ausblenden",se:"Visa eller dölj panelen Lager"},{en:"Turn layer split mode on or off",de:"Layer-Split-Modus ein- oder ausschalten",se:"Aktivera eller inaktivera lagerdelningsläget"},{en:"Turn info box on or off",de:"Infobox ein- oder ausschalten",se:"Slå på eller av informationsrutan"},{en:"Show or hide sidebar",de:"Seitenleiste ein- oder ausblenden",se:"Visa eller dölja sidofält"},{en:"Unknown color bar",de:"Unbekannte Farbskala",se:"Färgskala okänd"},{en:"Points",de:"Punkte",se:"Punkter"},{en:"Lines",de:"Linien",se:"Linjer"},{en:"Bars",de:"Balken",se:"Staplar"},{en:"Default chart type",de:"Diagrammtyp (default)",se:"Diagramtyp (default)"},{en:"User Base Maps",de:"Nutzer Basiskarte",se:"Användare Grundkarta"},{en:"Overlay",de:"Overlay (überlagernder Layer)",se:"Overlay (överliggande lager)"},{en:"User Overlays",de:"Nutzer Overlay",se:"Användare Overlay"},{en:"On dataset selection",de:"Bei Auswahl von Datensatz",se:"Vid val av dataset"},{en:"On place selection",de:"Bei Auswahl von Ort",se:"Vid val av plats"},{en:"Do nothing",de:"Nichts tun",se:"Gör ingenting"},{en:"Pan",de:"Verschieben",se:"Panorera"},{en:"Pan and zoom",de:"Verschieben und zoom",se:"Panorera och zooma"},{en:"User Layers",de:"Nutzer Layer",se:"Användare lager"},{en:"XYZ Layer URL",de:"XYZ-Layer URL",se:"XYZ lager URL"},{en:"Layer Title",de:"Layer Titel",se:"Lagertitel "},{en:"Layer Attribution",de:"Layer Attribution",se:"Lagerattribution"},{en:"Info",de:"Info",se:"Info"},{en:"Charts",de:"Diagramme",se:"Diagrammer"},{en:"Statistics",de:"Statistik",se:"Statistik"},{en:"Volume",de:"Volumen",se:"Volym"},{en:"Toggle zoom mode (or press CTRL key)",de:"Zoom-Modus umschalten (oder drücke CTRL-Taste)",se:"Växla zoomläge (eller tryck på CTRL-tangenten)"},{en:"Enter fixed y-range",de:"Festen y-Bereich angeben",se:"Ange fast y-intervall"},{en:"Toggle showing info popup on hover",de:"Anzeige des Info-Popups bei Hover umschalten",se:"Växla visning av popup-info vid hover"},{en:"Show points",de:"Punkte anzeigen",se:"Visa punkter"},{en:"Show lines",de:"Linien anzeigen",se:"Visa linjer"},{en:"Show bars",de:"Balken anzeigen",se:"Visa staplar"},{en:"Show standard deviation (if any)",de:"Standardabweichung anzeigen",se:"Visa standardavvikelsen"},{en:"Add time-series from places",de:"Zeitserien hinzufügen von Orten",se:"Lägg till tidsserier från platser"},{en:"Zoom to full range",de:"Zoom auf gesamten x-Bereich",se:"Zooma till hela x-intervallet"},{en:"Make it 2nd variable for comparison",de:"Festlegen als 2. Variable für Vergleich",se:"Ställ in som 2:a variabel för jämförelse"},{en:"Load Volume Data",de:"Lade Volumendaten",se:"Ladda volymdata"},{en:"Please note that the 3D volume rendering is still an experimental feature.",de:"Bitte beachte, dass das 3D-Volumen-Rendering noch eine experimentelle Funktion ist.",se:"Observera att 3D-volymrendering fortfarande är en experimentell funktion."},{en:"User-defined color bars.",de:"Benutzerdefinierte Farbskalen.",se:"Användardefinierade färgskalor."},{en:"Contin.",de:"Kontin.",se:"Kontin."},{en:"Stepwise",de:"Schrittw.",se:"Stegvis"},{en:"Categ.",de:"Kateg.",se:"Kateg."},{en:"Continuous color assignment, where each value represents a support point of a color gradient",de:"Kontinuierliche Farbzuordnung, bei der jeder Wert eine Stützstelle eines Farbverlaufs darstellt",se:"Kontinuerlig färgtilldelning där varje värde representerar en punkt i en färggradient"},{en:"Stepwise color mapping where values are bounds of value ranges mapped to the same color",de:"Schrittweise Farbzuordnung, bei der die Werte Bereichsgrenzen darstellen, die einer einzelnen Farbe zugeordnet werden",se:"Gradvis färgmappning, där värdena representerar intervallgränser mappade till en enda färg"},{en:"Values represent unique categories or indexes that are mapped to a color",de:"Werte stellen eindeutige Kategorien oder Indizes dar, die einer Farbe zugeordnet sind",se:"Värden representerar unika kategorier eller index som är mappade till en färg"},{en:"User",de:"Nutzer",se:"Användare"},{en:"Add Time-Series",de:"Zeitserien hinzufügen",se:"Lägg till tidsserier"},{en:"No time-series have been obtained yet. Select a variable and a place first.",de:"Es wurden noch keine Zeitreihen abgerufen. Wähle zuerst eine Variable und einen Ort aus.",se:"Inga tidsserier har hämtats ännu. Välj först en variabel och en plats."},{en:"Count",de:"Anzahl",se:"Antal"},{en:"Minimum",de:"Minimum",se:"Minimum"},{en:"Maximum",de:"Maximum",se:"Maximum"},{en:"Mean",de:"Mittelwert",se:"Medelvärde"},{en:"Deviation",de:"Abweichung",se:"Avvikelse"},{en:"Toggle adjustable x-range",de:"Anpassbaren x-Bereich umschalten",se:"Växla justerbart x-intervall"},{en:"pinned",de:"angepinnt",se:"fäst"},{en:"Compare Mode (Drag)",de:"Vergleichsmodus (Ziehen)",se:"Jämförelseläge (Dra)"},{en:"Point Info Mode (Hover)",de:"Punktinformationsmodus (Bewegen)",se:"Punktinformationsläge (Sväva)"},{en:"Dataset RGB",de:"Datensatz RGB",se:"Dataset RGB"},{en:"Dataset RGB 2",de:"Datensatz RGB 2",se:"Dataset RGB 2"},{en:"Dataset Variable",de:"Datensatz Variable",se:"Dataset Variabel"},{en:"Dataset Variable 2",de:"Datensatz Variable 2",se:"Dataset Variabel 2"},{en:"Dataset Boundary",de:"Datensatz Außengrenze",se:"Dataset Yttre Gräns"},{en:"Dataset Places",de:"Datensatz Orte",se:"Dataset Platser"},{en:"User Places",de:"Nutzer Orte",se:"Användare Platser"},{en:"Layers",de:"Layer",se:"Lager"},{en:"User Variables",de:"Nutzer-Variablen",se:"Användarvariabler"},{en:"Create and manage user variables",de:"Nutzer-Variablen erstellen und verwalten",se:"Skapa och hantera användarvariabler"},{en:"Manage user variables",de:"Nutzer-Variablen verwalten",se:"Hantera användarvariabler"},{en:"Add user variable",de:"Nutzer-Variable hinzufügen",se:"Lägg till användarvariabel"},{en:"Duplicate user variable",de:"Nutzer-Variable duplizieren",se:"Duplicera användarvariabel"},{en:"Edit user variable",de:"Nutzer-Variable bearbeiten",se:"Redigera användarvariabel"},{en:"Remove user variable",de:"Nutzer-Variable löschen",se:"Ta bort användarvariabel"},{en:"Use keys CTRL+SPACE to show autocompletions",de:"Tasten STRG+LEER benutzen, um Autovervollständigungen zu zeigen",se:"Använd tangenterna CTRL+MELLANSLAG för att visa autoslutföranden"},{en:"Display further elements to be used in expressions",de:"Weitere Elemente anzeigen, die in Ausdrücken verwendet werden können",se:"Visa fler element som kan användas i uttryck"},{en:"Variables",de:"Variablen",se:"Variabler"},{en:"Constants",de:"Konstanten",se:"Konstanter"},{en:"Array operators",de:"Array-Operatoren",se:"Arrayoperatorer"},{en:"Other operators",de:"Andere Operatoren",se:"Andra Operatorer"},{en:"Array functions",de:"Array-Funktionen",se:"Arrayfunktioner"},{en:"Other functions",de:"Andere Funktionen",se:"Andra funktioner"},{en:"Not a valid identifier",de:"Kein gültiger Bezeichner",se:"Inte en giltig identifierare"},{en:"Must not be empty",de:"Darf nicht leer sein",se:"Får inte vara tom"},{en:"docs/privacy-note.en.md",de:"docs/privacy-note.de.md",se:"docs/privacy-note.se.md"},{en:"docs/add-layer-wms.en.md",de:"docs/add-layer-wms.de.md",se:"docs/add-layer-wms.se.md"},{en:"docs/add-layer-xyz.en.md",de:"docs/add-layer-xyz.de.md",se:"docs/add-layer-xyz.se.md"},{en:"docs/color-mappings.en.md",de:"docs/color-mappings.de.md",se:"docs/color-mappings.se.md"},{en:"docs/user-variables.en.md",de:"docs/user-variables.de.md",se:"docs/user-variables.se.md"}],l3e={languages:a3e,dictionary:s3e},fe=new i3e(l3e);fe.locale=o3e();class Sie extends M.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,n){console.error(e),n.componentStack&&console.error(n.componentStack)}render(){if(!this.props.children)throw new Error("An ErrorBoundary requires at least one child");return this.state.error?w.jsxs("div",{children:[w.jsx("h2",{className:"errorBoundary-header",children:fe.get("Something went wrong.")}),w.jsxs("details",{className:"errorBoundary-details",style:{whiteSpace:"pre-wrap"},children:[this.state.error.toString(),w.jsx("br",{})]})]}):this.props.children}}const c3e=({children:t})=>{const e=Kt.instance.authClient;if(!e)return w.jsx(w.Fragment,{children:t});const n=o=>{console.info("handleSigninCallback:",o),window.history.replaceState({},document.title,window.location.pathname)},r=()=>{console.info("handleRemoveUser"),window.location.pathname="/"},i=r2.href;return w.jsx(Sie,{children:w.jsx(t3e,{...e,loadUserInfo:!0,scope:"openid email profile",automaticSilentRenew:!0,redirect_uri:i,post_logout_redirect_uri:i,popup_post_logout_redirect_uri:i,onSigninCallback:n,onRemoveUser:r,children:t})})};var $5={},DA={};const u3e=Ea(uCe);var fG;function pt(){return fG||(fG=1,function(t){"use client";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return e.createSvgIcon}});var e=u3e}(DA)),DA}var f3e=ft;Object.defineProperty($5,"__esModule",{value:!0});var F5=$5.default=void 0,d3e=f3e(pt()),h3e=w;F5=$5.default=(0,d3e.default)((0,h3e.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline");var j5={},p3e=ft;Object.defineProperty(j5,"__esModule",{value:!0});var B5=j5.default=void 0,m3e=p3e(pt()),g3e=w;B5=j5.default=(0,m3e.default)((0,g3e.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var z5={},v3e=ft;Object.defineProperty(z5,"__esModule",{value:!0});var U5=z5.default=void 0,y3e=v3e(pt()),x3e=w;U5=z5.default=(0,y3e.default)((0,x3e.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");var W5={},b3e=ft;Object.defineProperty(W5,"__esModule",{value:!0});var Oie=W5.default=void 0,_3e=b3e(pt()),dG=w;Oie=W5.default=(0,_3e.default)([(0,dG.jsx)("path",{d:"m21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07 1.95-1.95 5.12-1.95 7.07 0 1.71 1.71 1.92 4.35.64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11z"},"0"),(0,dG.jsx)("circle",{cx:"12",cy:"12",r:"3"},"1")],"Policy");var V5={},w3e=ft;Object.defineProperty(V5,"__esModule",{value:!0});var G5=V5.default=void 0,S3e=w3e(pt()),O3e=w;G5=V5.default=(0,S3e.default)((0,O3e.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload");var ac=function(){function t(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}return t.prototype.preventDefault=function(){this.defaultPrevented=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();const nv={PROPERTYCHANGE:"propertychange"};var H5=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();function C3e(t,e,n){for(var r,i,o=rp,a=0,s=t.length,l=!1;a>1),i=+o(t[r],e),i<0?a=r+1:(s=r,l=!i);return l?a:~a}function rp(t,e){return t>e?1:t0){for(i=1;i0?i-1:i:t[i-1]-e0||a===0)})}function Fh(){return!0}function $1(){return!1}function ip(){}function P3e(t){var e=!1,n,r,i;return function(){var o=Array.prototype.slice.call(arguments);return(!e||this!==i||!kp(o,r))&&(e=!0,i=this,r=o,n=t.apply(this,arguments)),n}}var ur=typeof Object.assign=="function"?Object.assign:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r0:!1},e.prototype.removeEventListener=function(n,r){var i=this.listeners_&&this.listeners_[n];if(i){var o=i.indexOf(r);o!==-1&&(this.pendingRemovals_&&n in this.pendingRemovals_?(i[o]=ip,++this.pendingRemovals_[n]):(i.splice(o,1),i.length===0&&delete this.listeners_[n]))}},e}(H5);const Mt={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function rn(t,e,n,r,i){if(r&&r!==t&&(n=n.bind(r)),i){var o=n;n=function(){t.removeEventListener(e,n),o.apply(this,arguments)}}var a={target:t,type:e,listener:n};return t.addEventListener(e,n),a}function LT(t,e,n,r){return rn(t,e,n,r,!0)}function nr(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),F1(t))}var k3e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),j1=function(t){k3e(e,t);function e(){var n=t.call(this)||this;return n.on=n.onInternal,n.once=n.onceInternal,n.un=n.unInternal,n.revision_=0,n}return e.prototype.changed=function(){++this.revision_,this.dispatchEvent(Mt.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.onInternal=function(n,r){if(Array.isArray(n)){for(var i=n.length,o=new Array(i),a=0;a=0||Jf.match(/cpu (os|iphone os) 15_4 like mac os x/));var j3e=Jf.indexOf("webkit")!==-1&&Jf.indexOf("edge")==-1,B3e=Jf.indexOf("macintosh")!==-1,Pie=typeof devicePixelRatio<"u"?devicePixelRatio:1,o2=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,z3e=typeof Image<"u"&&Image.prototype.decode,Mie=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();new Array(6);function Hl(){return[1,0,0,1,0,0]}function U3e(t,e,n,r,i,o,a){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t}function W3e(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Cr(t,e){var n=e[0],r=e[1];return e[0]=t[0]*n+t[2]*r+t[4],e[1]=t[1]*n+t[3]*r+t[5],e}function V3e(t,e,n){return U3e(t,e,0,0,n,0,0)}function hu(t,e,n,r,i,o,a,s){var l=Math.sin(o),c=Math.cos(o);return t[0]=r*c,t[1]=i*l,t[2]=-r*l,t[3]=i*c,t[4]=a*r*c-s*r*l+e,t[5]=a*i*l+s*i*c+n,t}function X5(t,e){var n=G3e(e);Ut(n!==0,32);var r=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5];return t[0]=a/n,t[1]=-i/n,t[2]=-o/n,t[3]=r/n,t[4]=(o*l-a*s)/n,t[5]=-(r*l-i*s)/n,t}function G3e(t){return t[0]*t[3]-t[1]*t[2]}var pG;function kie(t){var e="matrix("+t.join(", ")+")";if(o2)return e;var n=pG||(pG=document.createElement("div"));return n.style.transform=e,n.style.transform}const si={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function mG(t){for(var e=Oa(),n=0,r=t.length;ni&&(l=l|si.RIGHT),so&&(l=l|si.ABOVE),l===si.UNKNOWN&&(l=si.INTERSECTING),l}function Oa(){return[1/0,1/0,-1/0,-1/0]}function Zs(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}function z1(t){return Zs(1/0,1/0,-1/0,-1/0,t)}function q3e(t,e){var n=t[0],r=t[1];return Zs(n,r,n,r,e)}function Rie(t,e,n,r,i){var o=z1(i);return Die(o,t,e,n,r)}function Fb(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function Iie(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function Vx(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function Die(t,e,n,r,i){for(;ne[0]?r[0]=t[0]:r[0]=e[0],t[1]>e[1]?r[1]=t[1]:r[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function eB(t){return t[2]=a&&m<=l),!r&&o&si.RIGHT&&!(i&si.RIGHT)&&(g=h-(d-l)*p,r=g>=s&&g<=c),!r&&o&si.BELOW&&!(i&si.BELOW)&&(m=d-(h-s)/p,r=m>=a&&m<=l),!r&&o&si.LEFT&&!(i&si.LEFT)&&(g=h-(d-a)*p,r=g>=s&&g<=c)}return r}function Z3e(t,e,n,r){var i=[],o;i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]],e(i,i,2);for(var a=[],s=[],o=0,l=i.length;o=n[2])){var i=Kn(n),o=Math.floor((r[0]-n[0])/i),a=o*i;t[0]-=a,t[2]-=a}return t}function J3e(t,e){if(e.canWrapX()){var n=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[n[0],t[1],n[2],t[3]]];Lie(t,e);var r=Kn(n);if(Kn(t)>r)return[[n[0],t[1],n[2],t[3]]];if(t[0]n[2])return[[t[0],t[1],n[2],t[3]],[n[0],t[1],t[2]-r,t[3]]]}return[t]}var Nie=function(){function t(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||Ks[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(e){this.defaultTileGrid_=e},t.prototype.setExtent=function(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)},t.prototype.setWorldExtent=function(e){this.worldExtent_=e},t.prototype.setGetPointResolution=function(e){this.getPointResolutionFunc_=e},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();function Br(t,e,n){return Math.min(Math.max(t,e),n)}var eNe=function(){var t;return"cosh"in Math?t=Math.cosh:t=function(e){var n=Math.exp(e);return(n+1/n)/2},t}(),tNe=function(){var t;return"log2"in Math?t=Math.log2:t=function(e){return Math.log(e)*Math.LOG2E},t}();function nNe(t,e,n,r,i,o){var a=i-n,s=o-r;if(a!==0||s!==0){var l=((t-n)*a+(e-r)*s)/(a*a+s*s);l>1?(n=i,r=o):l>0&&(n+=a*l,r+=s*l)}return jh(t,e,n,r)}function jh(t,e,n,r){var i=n-t,o=r-e;return i*i+o*o}function rNe(t){for(var e=t.length,n=0;ni&&(i=a,r=o)}if(i===0)return null;var s=t[r];t[r]=t[n],t[n]=s;for(var l=n+1;l=0;d--){f[d]=t[d][e]/t[d][d];for(var h=d-1;h>=0;h--)t[h][e]-=t[h][d]*f[d]}return f}function RC(t){return t*Math.PI/180}function jf(t,e){var n=t%e;return n*e<0?n+e:n}function Nc(t,e,n){return t+n*(e-t)}function $ie(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}function gS(t,e){return Math.floor($ie(t,e))}function vS(t,e){return Math.ceil($ie(t,e))}var iNe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),U1=6378137,tg=Math.PI*U1,oNe=[-tg,-tg,tg,tg],aNe=[-180,-85,180,85],yS=U1*Math.log(Math.tan(Math.PI/2)),em=function(t){iNe(e,t);function e(n){return t.call(this,{code:n,units:ci.METERS,extent:oNe,global:!0,worldExtent:aNe,getPointResolution:function(r,i){return r/eNe(i[1]/U1)}})||this}return e}(Nie),gG=[new em("EPSG:3857"),new em("EPSG:102100"),new em("EPSG:102113"),new em("EPSG:900913"),new em("http://www.opengis.net/def/crs/EPSG/0/3857"),new em("http://www.opengis.net/gml/srs/epsg.xml#3857")];function sNe(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var a=0;ayS?s=yS:s<-yS&&(s=-yS),o[a+1]=s}return o}function lNe(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var a=0;aa)return 1;if(a>o)return-1}return 0}function gNe(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function $T(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n}function tB(t,e){var n=Math.cos(e),r=Math.sin(e),i=t[0]*n-t[1]*r,o=t[1]*n+t[0]*r;return t[0]=i,t[1]=o,t}function vNe(t,e){return t[0]*=e,t[1]*=e,t}function yNe(t,e){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function Fie(t,e){if(e.canWrapX()){var n=Kn(e.getExtent()),r=xNe(t,e,n);r&&(t[0]-=r*n)}return t}function xNe(t,e,n){var r=e.getExtent(),i=0;if(e.canWrapX()&&(t[0]r[2])){var o=n||Kn(r);i=Math.floor((t[0]-r[0])/o)}return i}var bNe=63710088e-1;function xG(t,e,n){var r=bNe,i=RC(t[1]),o=RC(e[1]),a=(o-i)/2,s=RC(e[0]-t[0])/2,l=Math.sin(a)*Math.sin(a)+Math.sin(s)*Math.sin(s)*Math.cos(i)*Math.cos(o);return 2*r*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}var ZL=!0;function _Ne(t){var e=!0;ZL=!e}function nB(t,e,n){var r;if(e!==void 0){for(var i=0,o=t.length;i=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(ZL=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function zie(t,e){return t}function xh(t,e){return t}function ENe(){bG(gG),bG(yG),ONe(yG,gG,sNe,lNe)}ENe();function Bh(t,e,n,r,i,o){for(var a=o||[],s=0,l=e;l1)f=n;else if(d>0){for(var h=0;hi&&(i=c),o=s,a=l}return i}function sB(t,e,n,r,i){for(var o=0,a=n.length;o0;){for(var f=c.pop(),d=c.pop(),h=0,p=t[d],m=t[d+1],g=t[f],v=t[f+1],y=d+r;yh&&(u=y,h=_)}h>i&&(l[(u-e)/r]=1,d+r0&&m>h)&&(p<0&&g0&&g>p)){c=f,u=d;continue}o[a++]=c,o[a++]=u,s=c,l=u,c=f,u=d}}return o[a++]=c,o[a++]=u,a}function Hie(t,e,n,r,i,o,a,s){for(var l=0,c=n.length;l1?a:2,b=o||new Array(x),p=0;p>1;io&&(c-s)*(o-l)-(i-s)*(u-l)>0&&a++:u<=o&&(c-s)*(o-l)-(i-s)*(u-l)<0&&a--,s=c,l=u}return a!==0}function dB(t,e,n,r,i,o){if(n.length===0||!bh(t,e,n[0],r,i,o))return!1;for(var a=1,s=n.length;a=i[0]&&o[2]<=i[2]||o[1]>=i[1]&&o[3]<=i[3]?!0:qie(t,e,n,r,function(a,s){return K3e(i,a,s)}):!1}function GNe(t,e,n,r,i){for(var o=0,a=n.length;ob&&(c=(u+f)/2,dB(t,e,n,r,c,p)&&(x=c,b=_)),u=f}return isNaN(x)&&(x=i[o]),a?(a.push(x,p,b),a):[x,p,b]}function JNe(t,e,n,r,i){for(var o=[],a=0,s=n.length;a0}function noe(t,e,n,r,i){for(var o=0,a=n.length;o0){const n=e.map(r=>r.map(encodeURIComponent).join("=")).join("&");return t.includes("?")?t.endsWith("&")?t+n:t+"&"+n:t+"?"+n}return t}async function ioe(t,e){let n;try{if(n=await fetch(t,e),n.ok)return n}catch(i){throw i instanceof TypeError?(console.error(`Server did not respond for ${t}. May be caused by timeout, refused connection, network error, etc.`,i),new Error(fe.get("Cannot reach server"))):(console.error(i),i)}let r=n.statusText;try{const i=await n.json();if(i&&i.error){const o=i.error;console.error(o),o.message&&(r+=`: ${o.message}`)}}catch{}throw console.error(n),new roe(n.status,r)}async function wu(t,e,n){let r;ZDe(e)?n=e:r=e;const o=await(await ioe(t,r)).json();return n?n(o):o}const w$e=/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,S$e=t=>{let e;if(t.includes(",")){const r=t.split(",");if(r.length===3||r.length===4){const i=[0,0,0,255];for(let o=0;o<3;o++){const a=Number.parseInt(r[o]);if(a<0||a>255)return;i[o]=a}if(r.length===4){if(e=TG(r[3]),e===void 0)return;i[3]=e}return i}if(r.length!==2||(t=r[0],e=TG(r[1]),e===void 0))return}const n=(t.startsWith("#")?aoe:C$e)(t);if(n){if(n.length===3)return[...n,e===void 0?255:e];if(n.length===4&&e===void 0)return n}};function ooe(t){return"#"+t.map(e=>{const n=e.toString(16);return n.length===1?"0"+n:n}).join("")}function aoe(t){if(w$e.test(t)){if(t.length===4)return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)];if(t.length===7)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)];if(t.length===9)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16),parseInt(t.substring(7,9),16)]}}const TG=t=>{const e=Number.parseFloat(t);if(e===0)return 0;if(e===1)return 255;if(e>0&&e<1)return Math.round(256*e)},O$e=t=>T$e[t.toLowerCase()],C$e=t=>{const e=O$e(t);if(e)return aoe(e)},T$e={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function E$e(t){return wu(`${t}/colorbars`,P$e)}function P$e(t){const e=[],n={},r={};return t.forEach(i=>{const[o,a,s]=i,l=[];s.forEach(c=>{if(c.length===3){const[u,f,d]=c;l.push(u),n[u]=f,r[u]={name:d.name,type:d.type,colorRecords:d.colors.map(M$e)}}else if(c.length===2){const[u,f]=c;l.push(u),n[u]=f}}),e.push({title:o,description:a,names:l})}),{groups:e,images:n,customColorMaps:r}}function M$e(t){const e=k$e(t[1]),n=t[0];if(t.length===3){const r=t[2];return{value:n,color:e,label:r}}else return{value:n,color:e}}function k$e(t){return t?Mp(t)?t:ooe(t):"#000000"}function A$e(t,e){const n=sy(`${t}/datasets`,[["details","1"]]),r=ay(e);return wu(n,r,R$e)}function R$e(t){return(t.datasets||[]).map(I$e)}function I$e(t){if(t.dimensions&&t.dimensions.length){let e=t.dimensions;const n=e.findIndex(r=>r.name==="time");if(n>-1){const r=e[n],i=r.coordinates;if(i&&i.length&&typeof i[0]=="string"){const o=i,a=o.map(s=>new Date(s).getTime());return e=[...e],e[n]={...r,coordinates:a,labels:o},{...t,dimensions:e}}}}return t}function D$e(t,e,n,r){const i=ay(r),o=encodeURIComponent(e),a=encodeURIComponent(n);return wu(`${t}/datasets/${o}/places/${a}`,i)}function L$e(t){return wu(`${t}/expressions/capabilities`)}function N$e(t){return wu(`${t}/`)}function W1(t){return Mp(t.expression)}function ly(t){return encodeURIComponent(Mp(t)?t:t.id)}function V1(t){return encodeURIComponent(Mp(t)?t:W1(t)?`${t.name}=${t.expression}`:t.name)}function $$e(t,e,n,r,i,o,a,s,l,c){let u,f=null;const d=[];s?(d.push(["aggMethods","median"]),u="median"):l?(d.push(["aggMethods","mean,std"]),u="mean",f="std"):(d.push(["aggMethods","mean"]),u="mean"),o&&d.push(["startDate",o]),a&&d.push(["endDate",a]);const h=sy(`${t}/timeseries/${ly(e)}/${V1(n)}`,d),p={...ay(c),method:"post",body:JSON.stringify(i)};return wu(h,p,g=>{const v=g.result;if(!v||v.length===0)return null;const y=v.map(b=>({...b,time:new Date(b.time).getTime()}));return{source:{datasetId:e.id,datasetTitle:e.title,variableName:n.name,variableUnits:n.units||void 0,placeId:r,geometry:i,valueDataKey:u,errorDataKey:f},data:y}})}function F$e(t,e,n,r,i,o){const a=i!==null?[["time",i]]:[],s=sy(`${t}/statistics/${ly(e)}/${V1(n)}`,a),l={...ay(o),method:"post",body:JSON.stringify(r.place.geometry)},c={dataset:e,variable:n,placeInfo:r,time:i};return wu(s,l,u=>({source:c,statistics:u.result}))}function j$e(t,e,n,r,i,o,a){const s=[["lon",r.toString()],["lat",i.toString()]];o&&s.push(["time",o]);const l=sy(`${t}/statistics/${ly(e)}/${V1(n)}`,s);return wu(l,ay(a),c=>c.result?c.result:{})}function B$e(t,e){const n=sy(`${t}/maintenance/update`,[]),r=ay(e);try{return wu(n,r).then(()=>!0).catch(i=>(console.error(i),!1))}catch(i){return console.error(i),Promise.resolve(!1)}}class UT extends Error{}function z$e(t,e){if(t===null)throw new UT(`assertion failed: ${e} must not be null`)}function U$e(t,e){if(typeof t>"u")throw new UT(`assertion failed: ${e} must not be undefined`)}function W$e(t,e){z$e(t,e),U$e(t,e)}function LA(t,e){if(Array.isArray(t)){if(t.length===0)throw new UT(`assertion failed: ${e} must be a non-empty array`)}else throw new UT(`assertion failed: ${e} must be an array`)}function zb(t,e){return e&&t.find(n=>n.id===e)||null}function a3(t,e){return e&&t.variables.find(n=>n.name===e)||null}function V$e(t){return t.variables.findIndex(e=>Mp(e.expression))}function mB(t){const e=V$e(t);return e>=0?[t.variables.slice(0,e),t.variables.slice(e)]:[t.variables,[]]}function soe(t){W$e(t,"dataset"),LA(t.dimensions,"dataset.dimensions");const e=t.dimensions.find(n=>n.name==="time");return e?(LA(e.coordinates,"timeDimension.coordinates"),LA(e.labels,"timeDimension.labels"),e):null}function loe(t){const e=soe(t);if(!e)return null;const n=e.coordinates;return[n[0],n[n.length-1]]}var WT="NOT_FOUND";function G$e(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:WT},put:function(r,i){e={key:r,value:i}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}function H$e(t,e){var n=[];function r(s){var l=n.findIndex(function(u){return e(s,u.key)});if(l>-1){var c=n[l];return l>0&&(n.splice(l,1),n.unshift(c)),c.value}return WT}function i(s,l){r(s)===WT&&(n.unshift({key:s,value:l}),n.length>t&&n.pop())}function o(){return n}function a(){n=[]}return{get:r,put:i,getEntries:o,clear:a}}var q$e=function(e,n){return e===n};function X$e(t){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?e-1:0),r=1;r0&&o[0]!==s&&(o=[s,...o])}n.properties&&(a=EG(n.properties,o)),a===void 0&&(a=EG(n,o)),t[r]=a||i}function rFe(t,e){let n=e;if(t.properties)for(const r of Object.getOwnPropertyNames(t.properties)){if(!n.includes("${"))break;const i="${"+r+"}";n.includes(i)&&(n=n.replace(i,`${t.properties[r]}`))}return n}function EG(t,e){let n;for(const r of e)if(r in t)return t[r];return n}function G1(t){let e=[];for(const n of t)e=e.concat(n.toLowerCase(),n.toUpperCase(),n[0].toUpperCase()+n.substring(1).toLowerCase());return e}function yB(t,e){t.forEach(n=>{uy(n)&&n.features.forEach(r=>{e(n,r)})})}function iFe(t,e){const n=Mp(e)?(r,i)=>i.id===e:e;for(const r of t)if(uy(r)){const i=r.features.find(o=>n(r,o));if(i)return u2(r,i)}return null}function oFe(t){const e=t.id+"";let n=0,r,i;if(e.length===0)return n;for(r=0;ri.id===e);if(n)return n;const r=t.placeGroups;if(r)for(const i in r){const o=uoe(r[i],e);if(o)return o}return null}function xB(t,e){if(e)for(const n of t){const r=uoe(n,e);if(r!==null)return r}return null}const foe="User",doe=`0.0: #23FF52 -0.5: red -1.0: 120,30,255`;function aFe(t,e,n){const r=new Uint8ClampedArray(4*n),i=t.length;if(e==="categorical"||e==="stepwise"){const o=e==="categorical"?i:i-1;for(let a=0,s=0;a(f.value-o)/(a-o));let l=0,c=s[0],u=s[1];for(let f=0,d=0;fu&&(l++,c=s[l],u=s[l+1]);const p=(h-c)/(u-c),[m,g,v,y]=t[l].color,[x,b,_,S]=t[l+1].color;r[d]=m+p*(x-m),r[d+1]=g+p*(b-g),r[d+2]=v+p*(_-v),r[d+3]=y+p*(S-y)}}return r}function sFe(t,e,n){const r=aFe(t,e,n.width),i=new ImageData(r,r.length/4,1);return createImageBitmap(i).then(o=>{const a=n.getContext("2d");a&&a.drawImage(o,0,0,n.width,n.height)})}function lFe(t){const{colorRecords:e,errorMessage:n}=poe(t.code);if(!e)return Promise.resolve({errorMessage:n});const r=document.createElement("canvas");return r.width=256,r.height=1,sFe(e,t.type,r).then(()=>({imageData:r.toDataURL("image/png").split(",")[1]}))}function hoe(t){const{colorRecords:e}=poe(t);if(e)return e.map(n=>({...n,color:ooe(n.color)}))}function poe(t){try{return{colorRecords:cFe(t)}}catch(e){if(e instanceof SyntaxError)return{errorMessage:`${e.message}`};throw e}}function cFe(t){const e=[];t.split(` -`).map(o=>o.trim().split(":").map(a=>a.trim())).forEach((o,a)=>{if(o.length==2||o.length==3){const[s,l]=o,c=parseFloat(s),u=S$e(l);if(!Number.isFinite(c))throw new SyntaxError(`Line ${a+1}: invalid value: ${s}`);if(!u)throw new SyntaxError(`Line ${a+1}: invalid color: ${l}`);o.length==3?e.push({value:c,color:u,label:o[2]}):e.push({value:c,color:u})}else if(o.length===1&&o[0]!=="")throw new SyntaxError(`Line ${a+1}: invalid color record: ${o[0]}`)});const n=e.length;if(n<2)throw new SyntaxError("At least two color records must be given");e.sort((o,a)=>o.value-a.value);const r=e[0].value,i=e[n-1].value;if(r===i)throw new SyntaxError("Values must form a range");return e}var bB={exports:{}};function uFe(t,e){var n=e&&e.cache?e.cache:gFe,r=e&&e.serializer?e.serializer:mFe,i=e&&e.strategy?e.strategy:dFe;return i(t,{cache:n,serializer:r})}function fFe(t){return t==null||typeof t=="number"||typeof t=="boolean"}function moe(t,e,n,r){var i=fFe(r)?r:n(r),o=e.get(i);return typeof o>"u"&&(o=t.call(this,r),e.set(i,o)),o}function goe(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i);return typeof o>"u"&&(o=t.apply(this,r),e.set(i,o)),o}function _B(t,e,n,r,i){return n.bind(e,t,r,i)}function dFe(t,e){var n=t.length===1?moe:goe;return _B(t,this,n,e.cache.create(),e.serializer)}function hFe(t,e){var n=goe;return _B(t,this,n,e.cache.create(),e.serializer)}function pFe(t,e){var n=moe;return _B(t,this,n,e.cache.create(),e.serializer)}function mFe(){return JSON.stringify(arguments)}function f2(){this.cache=Object.create(null)}f2.prototype.has=function(t){return t in this.cache};f2.prototype.get=function(t){return this.cache[t]};f2.prototype.set=function(t,e){this.cache[t]=e};var gFe={create:function(){return new f2}};bB.exports=uFe;bB.exports.strategies={variadic:hFe,monadic:pFe};var vFe=bB.exports;const yFe=$t(vFe),Oo={ADD:"add",REMOVE:"remove"};var voe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),PG={LENGTH:"length"},bS=function(t){voe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.element=r,o.index=i,o}return e}(ac),Qa=function(t){voe(e,t);function e(n,r){var i=t.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=n||[],i.unique_)for(var a=0,s=i.array_.length;a0;)this.pop()},e.prototype.extend=function(n){for(var r=0,i=n.length;r0&&t[1]>0}function yoe(t,e,n){return n===void 0&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function fa(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}var xoe=function(){function t(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=fa(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}return t.prototype.clone=function(){var e=this.getScale();return new t({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getDeclutterMode=function(){return this.declutterMode_},t.prototype.getAnchor=function(){return yt()},t.prototype.getImage=function(e){return yt()},t.prototype.getHitDetectionImage=function(){return yt()},t.prototype.getPixelRatio=function(e){return 1},t.prototype.getImageState=function(){return yt()},t.prototype.getImageSize=function(){return yt()},t.prototype.getOrigin=function(){return yt()},t.prototype.getSize=function(){return yt()},t.prototype.setDisplacement=function(e){this.displacement_=e},t.prototype.setOpacity=function(e){this.opacity_=e},t.prototype.setRotateWithView=function(e){this.rotateWithView_=e},t.prototype.setRotation=function(e){this.rotation_=e},t.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=fa(e)},t.prototype.listenImageChange=function(e){yt()},t.prototype.load=function(){yt()},t.prototype.unlistenImageChange=function(e){yt()},t}(),xFe=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,bFe=/^([a-z]*)$|^hsla?\(.*\)$/i;function boe(t){return typeof t=="string"?t:_oe(t)}function _Fe(t){var e=document.createElement("div");if(e.style.color=t,e.style.color!==""){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}else return""}var wFe=function(){var t=1024,e={},n=0;return function(r){var i;if(e.hasOwnProperty(r))i=e[r];else{if(n>=t){var o=0;for(var a in e)o++&3||(delete e[a],--n)}i=SFe(r),e[r]=i,++n}return i}}();function VT(t){return Array.isArray(t)?t:wFe(t)}function SFe(t){var e,n,r,i,o;if(bFe.exec(t)&&(t=_Fe(t)),xFe.exec(t)){var a=t.length-1,s=void 0;a<=4?s=1:s=2;var l=a===4||a===8;e=parseInt(t.substr(1+0*s,s),16),n=parseInt(t.substr(1+1*s,s),16),r=parseInt(t.substr(1+2*s,s),16),l?i=parseInt(t.substr(1+3*s,s),16):i=255,s==1&&(e=(e<<4)+e,n=(n<<4)+n,r=(r<<4)+r,l&&(i=(i<<4)+i)),o=[e,n,r,i/255]}else t.indexOf("rgba(")==0?(o=t.slice(5,-1).split(",").map(Number),AG(o)):t.indexOf("rgb(")==0?(o=t.slice(4,-1).split(",").map(Number),o.push(1),AG(o)):Ut(!1,14);return o}function AG(t){return t[0]=Br(t[0]+.5|0,0,255),t[1]=Br(t[1]+.5|0,0,255),t[2]=Br(t[2]+.5|0,0,255),t[3]=Br(t[3],0,1),t}function _oe(t){var e=t[0];e!=(e|0)&&(e=e+.5|0);var n=t[1];n!=(n|0)&&(n=n+.5|0);var r=t[2];r!=(r|0)&&(r=r+.5|0);var i=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+n+","+r+","+i+")"}function Rl(t){return Array.isArray(t)?_oe(t):t}function Ca(t,e,n,r){var i;return n&&n.length?i=n.shift():o2?i=new OffscreenCanvas(t||300,e||300):i=document.createElement("canvas"),t&&(i.width=t),e&&(i.height=e),i.getContext("2d",r)}function woe(t){var e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function RG(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function s3(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function OFe(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function CFe(t,e){for(var n=t.childNodes,r=0;;++r){var i=n[r],o=e[r];if(!i&&!o)break;if(i!==o){if(!i){t.appendChild(o);continue}if(!o){t.removeChild(i),--r;continue}t.insertBefore(o,i)}}}var _S="ol-hidden",H1="ol-unselectable",wB="ol-control",IG="ol-collapsed",TFe=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),DG=["style","variant","weight","size","lineHeight","family"],Soe=function(t){var e=t.match(TFe);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,i=DG.length;r=t.maxResolution)return!1;var r=e.zoom;return r>t.minZoom&&r<=t.maxZoom}function zFe(t,e,n,r,i){Eoe(t,e,n||0,r||t.length-1,i||UFe)}function Eoe(t,e,n,r,i){for(;r>n;){if(r-n>600){var o=r-n+1,a=e-n+1,s=Math.log(o),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(o-l)/o)*(a-o/2<0?-1:1),u=Math.max(n,Math.floor(e-a*l/o+c)),f=Math.min(r,Math.floor(e+(o-a)*l/o+c));Eoe(t,e,u,f,i)}var d=t[e],h=n,p=r;for(x0(t,n,e),i(t[r],d)>0&&x0(t,n,r);h0;)p--}i(t[n],d)===0?x0(t,n,p):(p++,x0(t,p,r)),p<=e&&(n=p+1),e<=p&&(r=p-1)}}function x0(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function UFe(t,e){return te?1:0}let Poe=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let n=this.data;const r=[];if(!SS(e,n))return r;const i=this.toBBox,o=[];for(;n;){for(let a=0;a=0&&o[n].children.length>this._maxEntries;)this._split(o,n),n--;this._adjustParentBBoxes(i,o,n)}_split(e,n){const r=e[n],i=r.children.length,o=this._minEntries;this._chooseSplitAxis(r,o,i);const a=this._chooseSplitIndex(r,o,i),s=jm(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,tm(r,this.toBBox),tm(s,this.toBBox),n?e[n-1].children.push(s):this._splitRoot(r,s)}_splitRoot(e,n){this.data=jm([e,n]),this.data.height=e.height+1,this.data.leaf=!1,tm(this.data,this.toBBox)}_chooseSplitIndex(e,n,r){let i,o=1/0,a=1/0;for(let s=n;s<=r-n;s++){const l=cx(e,0,s,this.toBBox),c=cx(e,s,r,this.toBBox),u=qFe(l,c),f=$A(l)+$A(c);u=n;c--){const u=e.children[c];ux(s,e.leaf?o(u):u),l+=wS(s)}return l}_adjustParentBBoxes(e,n,r){for(let i=r;i>=0;i--)ux(n[i],e)}_condense(e){for(let n=e.length-1,r;n>=0;n--)e[n].children.length===0?n>0?(r=e[n-1].children,r.splice(r.indexOf(e[n]),1)):this.clear():tm(e[n],this.toBBox)}};function WFe(t,e,n){if(!n)return e.indexOf(t);for(let r=0;r=t.minX&&e.maxY>=t.minY}function jm(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function $G(t,e,n,r,i){const o=[e,n];for(;o.length;){if(n=o.pop(),e=o.pop(),n-e<=r)continue;const a=e+Math.ceil((n-e)/r/2)*r;zFe(t,a,e,n,i),o.push(e,a,a,n)}}var XFe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),FG={RENDER_ORDER:"renderOrder"},QFe=function(t){XFe(e,t);function e(n){var r=this,i=n||{},o=ur({},i);return delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,r=t.call(this,o)||this,r.declutter_=i.declutter!==void 0?i.declutter:!1,r.renderBuffer_=i.renderBuffer!==void 0?i.renderBuffer:100,r.style_=null,r.styleFunction_=void 0,r.setStyle(i.style),r.updateWhileAnimating_=i.updateWhileAnimating!==void 0?i.updateWhileAnimating:!1,r.updateWhileInteracting_=i.updateWhileInteracting!==void 0?i.updateWhileInteracting:!1,r}return e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(n){return t.prototype.getFeatures.call(this,n)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get(FG.RENDER_ORDER)},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.renderDeclutter=function(n){n.declutterTree||(n.declutterTree=new Poe(9)),this.getRenderer().renderDeclutter(n)},e.prototype.setRenderOrder=function(n){this.set(FG.RENDER_ORDER,n)},e.prototype.setStyle=function(n){this.style_=n!==void 0?n:NFe,this.styleFunction_=n===null?void 0:LFe(this.style_),this.changed()},e}(d2),_t={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},OS=[_t.FILL],Sf=[_t.STROKE],wh=[_t.BEGIN_PATH],jG=[_t.CLOSE_PATH],Moe=function(){function t(){}return t.prototype.drawCustom=function(e,n,r,i){},t.prototype.drawGeometry=function(e){},t.prototype.setStyle=function(e){},t.prototype.drawCircle=function(e,n){},t.prototype.drawFeature=function(e,n){},t.prototype.drawGeometryCollection=function(e,n){},t.prototype.drawLineString=function(e,n){},t.prototype.drawMultiLineString=function(e,n){},t.prototype.drawMultiPoint=function(e,n){},t.prototype.drawMultiPolygon=function(e,n){},t.prototype.drawPoint=function(e,n){},t.prototype.drawPolygon=function(e,n){},t.prototype.drawText=function(e,n){},t.prototype.setFillStrokeStyle=function(e,n){},t.prototype.setImageStyle=function(e,n){},t.prototype.setTextStyle=function(e,n){},t}(),YFe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),X1=function(t){YFe(e,t);function e(n,r,i,o){var a=t.call(this)||this;return a.tolerance=n,a.maxExtent=r,a.pixelRatio=o,a.maxLineWidth=0,a.resolution=i,a.beginGeometryInstruction1_=null,a.beginGeometryInstruction2_=null,a.bufferedMaxExtent_=null,a.instructions=[],a.coordinates=[],a.tmpCoordinate_=[],a.hitDetectionInstructions=[],a.state={},a}return e.prototype.applyPixelRatio=function(n){var r=this.pixelRatio;return r==1?n:n.map(function(i){return i*r})},e.prototype.appendFlatPointCoordinates=function(n,r){for(var i=this.getBufferedMaxExtent(),o=this.tmpCoordinate_,a=this.coordinates,s=a.length,l=0,c=n.length;ll&&(this.instructions.push([_t.CUSTOM,l,u,n,i,wf]),this.hitDetectionInstructions.push([_t.CUSTOM,l,u,n,o||i,wf]));break;case"Point":c=n.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),u=this.coordinates.length,this.instructions.push([_t.CUSTOM,l,u,n,i]),this.hitDetectionInstructions.push([_t.CUSTOM,l,u,n,o||i]);break}this.endGeometry(r)},e.prototype.beginGeometry=function(n,r){this.beginGeometryInstruction1_=[_t.BEGIN_GEOMETRY,r,0,n],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[_t.BEGIN_GEOMETRY,r,0,n],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var n=this.hitDetectionInstructions;n.reverse();var r,i=n.length,o,a,s=-1;for(r=0;rthis.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0},e.prototype.createFill=function(n){var r=n.fillStyle,i=[_t.SET_FILL_STYLE,r];return typeof r!="string"&&i.push(!0),i},e.prototype.applyStroke=function(n){this.instructions.push(this.createStroke(n))},e.prototype.createStroke=function(n){return[_t.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth*this.pixelRatio,n.lineCap,n.lineJoin,n.miterLimit,this.applyPixelRatio(n.lineDash),n.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(n,r){var i=n.fillStyle;(typeof i!="string"||n.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(r.call(this,n)),n.currentFillStyle=i)},e.prototype.updateStrokeStyle=function(n,r){var i=n.strokeStyle,o=n.lineCap,a=n.lineDash,s=n.lineDashOffset,l=n.lineJoin,c=n.lineWidth,u=n.miterLimit;(n.currentStrokeStyle!=i||n.currentLineCap!=o||a!=n.currentLineDash&&!kp(n.currentLineDash,a)||n.currentLineDashOffset!=s||n.currentLineJoin!=l||n.currentLineWidth!=c||n.currentMiterLimit!=u)&&(i!==void 0&&r.call(this,n),n.currentStrokeStyle=i,n.currentLineCap=o,n.currentLineDash=a,n.currentLineDashOffset=s,n.currentLineJoin=l,n.currentLineWidth=c,n.currentMiterLimit=u)},e.prototype.endGeometry=function(n){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var r=[_t.END_GEOMETRY,n];this.instructions.push(r),this.hitDetectionInstructions.push(r)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Aie(this.maxExtent),this.maxLineWidth>0)){var n=this.resolution*(this.maxLineWidth+1)/2;$b(this.bufferedMaxExtent_,n,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(Moe),KFe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),ZFe=function(t){KFe(e,t);function e(n,r,i,o){var a=t.call(this,n,r,i,o)||this;return a.hitDetectionImage_=null,a.image_=null,a.imagePixelRatio_=void 0,a.anchorX_=void 0,a.anchorY_=void 0,a.height_=void 0,a.opacity_=void 0,a.originX_=void 0,a.originY_=void 0,a.rotateWithView_=void 0,a.rotation_=void 0,a.scale_=void 0,a.width_=void 0,a.declutterMode_=void 0,a.declutterImageWithText_=void 0,a}return e.prototype.drawPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),a=this.coordinates.length,s=this.appendFlatPointCoordinates(i,o);this.instructions.push([_t.DRAW_IMAGE,a,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([_t.DRAW_IMAGE,a,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.drawMultiPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),a=this.coordinates.length,s=this.appendFlatPointCoordinates(i,o);this.instructions.push([_t.DRAW_IMAGE,a,s,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([_t.DRAW_IMAGE,a,s,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(n,r){var i=n.getAnchor(),o=n.getSize(),a=n.getOrigin();this.imagePixelRatio_=n.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=n.getHitDetectionImage(),this.image_=n.getImage(this.pixelRatio),this.height_=o[1],this.opacity_=n.getOpacity(),this.originX_=a[0],this.originY_=a[1],this.rotateWithView_=n.getRotateWithView(),this.rotation_=n.getRotation(),this.scale_=n.getScaleArray(),this.width_=o[0],this.declutterMode_=n.getDeclutterMode(),this.declutterImageWithText_=r},e}(X1),JFe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),eje=function(t){JFe(e,t);function e(n,r,i,o){return t.call(this,n,r,i,o)||this}return e.prototype.drawFlatCoordinates_=function(n,r,i,o){var a=this.coordinates.length,s=this.appendFlatLineCoordinates(n,r,i,o,!1,!1),l=[_t.MOVE_TO_LINE_TO,a,s];return this.instructions.push(l),this.hitDetectionInstructions.push(l),i},e.prototype.drawLineString=function(n,r){var i=this.state,o=i.strokeStyle,a=i.lineWidth;if(!(o===void 0||a===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([_t.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,Ub,Wb],wh);var s=n.getFlatCoordinates(),l=n.getStride();this.drawFlatCoordinates_(s,0,s.length,l),this.hitDetectionInstructions.push(Sf),this.endGeometry(r)}},e.prototype.drawMultiLineString=function(n,r){var i=this.state,o=i.strokeStyle,a=i.lineWidth;if(!(o===void 0||a===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([_t.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,i.lineDashOffset],wh);for(var s=n.getEnds(),l=n.getFlatCoordinates(),c=n.getStride(),u=0,f=0,d=s.length;ft&&(l>s&&(s=l,o=c,a=f),l=0,c=f-i)),d=h,g=y,v=x),p=b,m=_}return l+=h,l>s?[c,f]:[o,a]}var rje=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Hx={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},ije=function(t){rje(e,t);function e(n,r,i,o){var a=t.call(this,n,r,i,o)||this;return a.labels_=null,a.text_="",a.textOffsetX_=0,a.textOffsetY_=0,a.textRotateWithView_=void 0,a.textRotation_=0,a.textFillState_=null,a.fillStates={},a.textStrokeState_=null,a.strokeStates={},a.textState_={},a.textStates={},a.textKey_="",a.fillKey_="",a.strokeKey_="",a.declutterImageWithText_=void 0,a}return e.prototype.finish=function(){var n=t.prototype.finish.call(this);return n.textStates=this.textStates,n.fillStates=this.fillStates,n.strokeStates=this.strokeStates,n},e.prototype.drawText=function(n,r){var i=this.textFillState_,o=this.textStrokeState_,a=this.textState_;if(!(this.text_===""||!a||!i&&!o)){var s=this.coordinates,l=s.length,c=n.getType(),u=null,f=n.getStride();if(a.placement===FFe.LINE&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!so(this.getBufferedMaxExtent(),n.getExtent()))return;var d=void 0;if(u=n.getFlatCoordinates(),c=="LineString")d=[u.length];else if(c=="MultiLineString")d=n.getEnds();else if(c=="Polygon")d=n.getEnds().slice(0,1);else if(c=="MultiPolygon"){var h=n.getEndss();d=[];for(var p=0,m=h.length;pP[2]}else I=b>E;var R=Math.PI,T=[],L=S+r===e;e=S,g=0,v=O,d=t[e],h=t[e+1];var z;if(L){y(),z=Math.atan2(h-m,d-p),I&&(z+=z>0?-R:R);var B=(E+b)/2,U=(k+_)/2;return T[0]=[B,U,(C-o)/2,z,i],T}i=i.replace(/\n/g," ");for(var W=0,$=i.length;W<$;){y();var N=Math.atan2(h-m,d-p);if(I&&(N+=N>0?-R:R),z!==void 0){var D=N-z;if(D+=D>R?-2*R:D<-R?2*R:0,Math.abs(D)>a)return null}z=N;for(var A=W,q=0;W<$;++W){var Y=I?$-W-1:W,K=s*l(c,i[Y],u);if(e+r0&&t.push(` -`,""),t.push(e,""),t}var pje=function(){function t(e,n,r,i){this.overlaps=r,this.pixelRatio=n,this.resolution=e,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=Hl(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(e,n,r,i){var o=e+n+r+i;if(this.labels_[o])return this.labels_[o];var a=i?this.strokeStates[i]:null,s=r?this.fillStates[r]:null,l=this.textStates[n],c=this.pixelRatio,u=[l.scale[0]*c,l.scale[1]*c],f=Array.isArray(e),d=l.justify?Hx[l.justify]:VG(Array.isArray(e)?e[0]:e,l.textAlign||Hb),h=i&&a.lineWidth?a.lineWidth:0,p=f?e:e.split(` -`).reduce(hje,[]),m=kFe(l,p),g=m.width,v=m.height,y=m.widths,x=m.heights,b=m.lineWidths,_=g+h,S=[],O=(_+2)*u[0],C=(v+h)*u[1],E={width:O<0?Math.floor(O):Math.ceil(O),height:C<0?Math.floor(C):Math.ceil(C),contextInstructions:S};if((u[0]!=1||u[1]!=1)&&S.push("scale",u),i){S.push("strokeStyle",a.strokeStyle),S.push("lineWidth",h),S.push("lineCap",a.lineCap),S.push("lineJoin",a.lineJoin),S.push("miterLimit",a.miterLimit);var k=o2?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;k.prototype.setLineDash&&(S.push("setLineDash",[a.lineDash]),S.push("lineDashOffset",a.lineDashOffset))}r&&S.push("fillStyle",s.fillStyle),S.push("textBaseline","middle"),S.push("textAlign","center");for(var I=.5-d,P=d*_+I*h,R=[],T=[],L=0,z=0,B=0,U=0,W,$=0,N=p.length;$e?e-c:o,b=a+u>n?n-u:a,_=p[3]+x*d[0]+p[1],S=p[0]+b*d[1]+p[2],O=v-p[3],C=y-p[0];(m||f!==0)&&(Ru[0]=O,Iu[0]=O,Ru[1]=C,mc[1]=C,mc[0]=O+_,gc[0]=mc[0],gc[1]=C+S,Iu[1]=gc[1]);var E;return f!==0?(E=hu(Hl(),r,i,1,1,f,-r,-i),Cr(E,Ru),Cr(E,mc),Cr(E,gc),Cr(E,Iu),Zs(Math.min(Ru[0],mc[0],gc[0],Iu[0]),Math.min(Ru[1],mc[1],gc[1],Iu[1]),Math.max(Ru[0],mc[0],gc[0],Iu[0]),Math.max(Ru[1],mc[1],gc[1],Iu[1]),nm)):Zs(Math.min(O,O+_),Math.min(C,C+S),Math.max(O,O+_),Math.max(C,C+S),nm),h&&(v=Math.round(v),y=Math.round(y)),{drawImageX:v,drawImageY:y,drawImageW:x,drawImageH:b,originX:c,originY:u,declutterBox:{minX:nm[0],minY:nm[1],maxX:nm[2],maxY:nm[3],value:g},canvasTransform:E,scale:d}},t.prototype.replayImageOrLabel_=function(e,n,r,i,o,a,s){var l=!!(a||s),c=i.declutterBox,u=e.canvas,f=s?s[2]*i.scale[0]/2:0,d=c.minX-f<=u.width/n&&c.maxX+f>=0&&c.minY-f<=u.height/n&&c.maxY+f>=0;return d&&(l&&this.replayTextBackground_(e,Ru,mc,gc,Iu,a,s),AFe(e,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},t.prototype.fill_=function(e){if(this.alignFill_){var n=Cr(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(n[0]%r,n[1]%r),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},t.prototype.setStrokeStyle_=function(e,n){e.strokeStyle=n[1],e.lineWidth=n[2],e.lineCap=n[3],e.lineJoin=n[4],e.miterLimit=n[5],e.setLineDash&&(e.lineDashOffset=n[7],e.setLineDash(n[6]))},t.prototype.drawLabelWithPointPlacement_=function(e,n,r,i){var o=this.textStates[n],a=this.createLabel(e,n,i,r),s=this.strokeStates[r],l=this.pixelRatio,c=VG(Array.isArray(e)?e[0]:e,o.textAlign||Hb),u=Hx[o.textBaseline||HT],f=s&&s.lineWidth?s.lineWidth:0,d=a.width/l-2*o.scale[0],h=c*d+2*(.5-c)*f,p=u*a.height/l+2*(.5-u)*f;return{label:a,anchorX:h,anchorY:p}},t.prototype.execute_=function(e,n,r,i,o,a,s,l){var c;this.pixelCoordinates_&&kp(r,this.renderedTransform_)?c=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),c=Bh(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),W3e(this.renderedTransform_,r));for(var u=0,f=i.length,d=0,h,p,m,g,v,y,x,b,_,S,O,C,E=0,k=0,I=null,P=null,R=this.coordinateCache_,T=this.viewRotation_,L=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,z={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:T},B=this.instructions!=i||this.overlaps?0:200,U,W,$,N;uB&&(this.fill_(e),E=0),k>B&&(e.stroke(),k=0),!E&&!k&&(e.beginPath(),g=NaN,v=NaN),++u;break;case _t.CIRCLE:d=D[1];var q=c[d],Y=c[d+1],K=c[d+2],se=c[d+3],te=K-q,J=se-Y,pe=Math.sqrt(te*te+J*J);e.moveTo(q+pe,Y),e.arc(q,Y,pe,0,2*Math.PI,!0),++u;break;case _t.CLOSE_PATH:e.closePath(),++u;break;case _t.CUSTOM:d=D[1],h=D[2];var be=D[3],re=D[4],ve=D.length==6?D[5]:void 0;z.geometry=be,z.feature=U,u in R||(R[u]=[]);var F=R[u];ve?ve(c,d,h,2,F):(F[0]=c[d],F[1]=c[d+1],F.length=2),re(F,z),++u;break;case _t.DRAW_IMAGE:d=D[1],h=D[2],b=D[3],p=D[4],m=D[5];var ce=D[6],le=D[7],Q=D[8],X=D[9],ee=D[10],ge=D[11],ye=D[12],H=D[13],G=D[14],ie=D[15];if(!b&&D.length>=20){_=D[19],S=D[20],O=D[21],C=D[22];var he=this.drawLabelWithPointPlacement_(_,S,O,C);b=he.label,D[3]=b;var _e=D[23];p=(he.anchorX-_e)*this.pixelRatio,D[4]=p;var oe=D[24];m=(he.anchorY-oe)*this.pixelRatio,D[5]=m,ce=b.height,D[6]=ce,H=b.width,D[13]=H}var Z=void 0;D.length>25&&(Z=D[25]);var V=void 0,de=void 0,xe=void 0;D.length>17?(V=D[16],de=D[17],xe=D[18]):(V=_h,de=!1,xe=!1),ee&&L?ge+=T:!ee&&!L&&(ge-=T);for(var Me=0;d0){if(!a||h!=="Image"&&h!=="Text"||a.indexOf(S)!==-1){var I=(d[E]-3)/4,P=i-I%s,R=i-(I/s|0),T=o(S,O,P*P+R*R);if(T)return T}u.clearRect(0,0,s,s);break}}var m=Object.keys(this.executorsByZIndex_).map(Number);m.sort(rp);var g,v,y,x,b;for(g=m.length-1;g>=0;--g){var _=m[g].toString();for(y=this.executorsByZIndex_[_],v=jA.length-1;v>=0;--v)if(h=jA[v],x=y[h],x!==void 0&&(b=x.executeHitDetection(u,l,r,p,f),b))return b}},t.prototype.getClipCoords=function(e){var n=this.maxExtent_;if(!n)return null;var r=n[0],i=n[1],o=n[2],a=n[3],s=[r,i,r,a,o,a,o,i];return Bh(s,0,8,2,e,s),s},t.prototype.isEmpty=function(){return rv(this.executorsByZIndex_)},t.prototype.execute=function(e,n,r,i,o,a,s){var l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(rp),this.maxExtent_&&(e.save(),this.clip(e,r));var c=a||jA,u,f,d,h,p,m;for(s&&l.reverse(),u=0,f=l.length;un)break;var s=r[a];s||(s=[],r[a]=s),s.push(((t+i)*e+(t+o))*4+3),i>0&&s.push(((t-i)*e+(t+o))*4+3),o>0&&(s.push(((t+i)*e+(t-o))*4+3),i>0&&s.push(((t-i)*e+(t-o))*4+3))}for(var l=[],i=0,c=r.length;ithis.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var e=0;for(var n in this.cache_){var r=this.cache_[n];!(e++&3)&&!r.hasListener()&&(delete this.cache_[n],--this.cacheSize_)}}},t.prototype.get=function(e,n,r){var i=HG(e,n,r);return i in this.cache_?this.cache_[i]:null},t.prototype.set=function(e,n,r,i){var o=HG(e,n,r);this.cache_[o]=i,++this.cacheSize_},t.prototype.setSize=function(e){this.maxCacheSize_=e,this.expire()},t}();function HG(t,e,n){var r=n?boe(n):"null";return e+":"+t+":"+r}var QT=new yje,xje=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),bje=function(t){xje(e,t);function e(n,r,i,o){var a=t.call(this)||this;return a.extent=n,a.pixelRatio_=i,a.resolution=r,a.state=o,a}return e.prototype.changed=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return yt()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){yt()},e}(oy),_je=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){_je(e,t);function e(n,r,i,o,a,s){var l=t.call(this,n,r,i,Wn.IDLE)||this;return l.src_=o,l.image_=new Image,a!==null&&(l.image_.crossOrigin=a),l.unlisten_=null,l.state=Wn.IDLE,l.imageLoadFunction_=s,l}return e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=Wn.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){this.resolution===void 0&&(this.resolution=ps(this.extent)/this.image_.height),this.state=Wn.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){(this.state==Wn.IDLE||this.state==Wn.ERROR)&&(this.state=Wn.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=SB(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(n){this.image_=n,this.resolution=ps(this.extent)/this.image_.height},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e})(bje);function SB(t,e,n){var r=t,i=!0,o=!1,a=!1,s=[LT(r,Mt.LOAD,function(){a=!0,o||e()})];return r.src&&z3e?(o=!0,r.decode().then(function(){i&&e()}).catch(function(l){i&&(a?e():n())})):s.push(LT(r,Mt.ERROR,n)),function(){i=!1,s.forEach(nr)}}var wje=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),b0=null,Sje=function(t){wje(e,t);function e(n,r,i,o,a,s){var l=t.call(this)||this;return l.hitDetectionImage_=null,l.image_=n||new Image,o!==null&&(l.image_.crossOrigin=o),l.canvas_={},l.color_=s,l.unlisten_=null,l.imageState_=a,l.size_=i,l.src_=r,l.tainted_,l}return e.prototype.isTainted_=function(){if(this.tainted_===void 0&&this.imageState_===Wn.LOADED){b0||(b0=Ca(1,1)),b0.drawImage(this.image_,0,0);try{b0.getImageData(0,0,1,1),this.tainted_=!1}catch{b0=null,this.tainted_=!0}}return this.tainted_===!0},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=Wn.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=Wn.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(n){return this.replaceColor_(n),this.canvas_[n]?this.canvas_[n]:this.image_},e.prototype.getPixelRatio=function(n){return this.replaceColor_(n),this.canvas_[n]?n:1},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var n=this.size_[0],r=this.size_[1],i=Ca(n,r);i.fillRect(0,0,n,r),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==Wn.IDLE){this.imageState_=Wn.LOADING;try{this.image_.src=this.src_}catch{this.handleImageError_()}this.unlisten_=SB(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(n){if(!(!this.color_||this.canvas_[n]||this.imageState_!==Wn.LOADED)){var r=document.createElement("canvas");this.canvas_[n]=r,r.width=Math.ceil(this.image_.width*n),r.height=Math.ceil(this.image_.height*n);var i=r.getContext("2d");if(i.scale(n,n),i.drawImage(this.image_,0,0),i.globalCompositeOperation="multiply",i.globalCompositeOperation==="multiply"||this.isTainted_())i.fillStyle=boe(this.color_),i.fillRect(0,0,r.width/n,r.height/n),i.globalCompositeOperation="destination-in",i.drawImage(this.image_,0,0);else{for(var o=i.getImageData(0,0,r.width,r.height),a=o.data,s=this.color_[0]/255,l=this.color_[1]/255,c=this.color_[2]/255,u=this.color_[3],f=0,d=a.length;f0,6);var f=i.src!==void 0?Wn.IDLE:Wn.LOADED;return r.color_=i.color!==void 0?VT(i.color):null,r.iconImage_=Oje(c,u,r.imgSize_!==void 0?r.imgSize_:null,r.crossOrigin_,f,r.color_),r.offset_=i.offset!==void 0?i.offset:[0,0],r.offsetOrigin_=i.offsetOrigin!==void 0?i.offsetOrigin:Ra.TOP_LEFT,r.origin_=null,r.size_=i.size!==void 0?i.size:null,r}return e.prototype.clone=function(){var n=this.getScale();return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:Array.isArray(n)?n.slice():n,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},e.prototype.getAnchor=function(){var n=this.normalizedAnchor_;if(!n){n=this.anchor_;var r=this.getSize();if(this.anchorXUnits_==sf.FRACTION||this.anchorYUnits_==sf.FRACTION){if(!r)return null;n=this.anchor_.slice(),this.anchorXUnits_==sf.FRACTION&&(n[0]*=r[0]),this.anchorYUnits_==sf.FRACTION&&(n[1]*=r[1])}if(this.anchorOrigin_!=Ra.TOP_LEFT){if(!r)return null;n===this.anchor_&&(n=this.anchor_.slice()),(this.anchorOrigin_==Ra.TOP_RIGHT||this.anchorOrigin_==Ra.BOTTOM_RIGHT)&&(n[0]=-n[0]+r[0]),(this.anchorOrigin_==Ra.BOTTOM_LEFT||this.anchorOrigin_==Ra.BOTTOM_RIGHT)&&(n[1]=-n[1]+r[1])}this.normalizedAnchor_=n}var i=this.getDisplacement();return[n[0]-i[0],n[1]+i[1]]},e.prototype.setAnchor=function(n){this.anchor_=n,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(n){return this.iconImage_.getImage(n)},e.prototype.getPixelRatio=function(n){return this.iconImage_.getPixelRatio(n)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var n=this.offset_;if(this.offsetOrigin_!=Ra.TOP_LEFT){var r=this.getSize(),i=this.iconImage_.getSize();if(!r||!i)return null;n=n.slice(),(this.offsetOrigin_==Ra.TOP_RIGHT||this.offsetOrigin_==Ra.BOTTOM_RIGHT)&&(n[0]=i[0]-r[0]-n[0]),(this.offsetOrigin_==Ra.BOTTOM_LEFT||this.offsetOrigin_==Ra.BOTTOM_RIGHT)&&(n[1]=i[1]-r[1]-n[1])}return this.origin_=n,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(n){this.iconImage_.addEventListener(Mt.CHANGE,n)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(n){this.iconImage_.removeEventListener(Mt.CHANGE,n)},e}(xoe),wl=.5;function Eje(t,e,n,r,i,o,a){var s=t[0]*wl,l=t[1]*wl,c=Ca(s,l);c.imageSmoothingEnabled=!1;for(var u=c.canvas,f=new vje(c,wl,i,null,a),d=n.length,h=Math.floor((256*256*256-1)/d),p={},m=1;m<=d;++m){var g=n[m-1],v=g.getStyleFunction()||r;if(r){var y=v(g,o);if(y){Array.isArray(y)||(y=[y]);for(var x=m*h,b="#"+("000000"+x.toString(16)).slice(-6),_=0,S=y.length;_m[2];)++y,x=v*y,f.push(this.getRenderTransform(o,a,s,wl,d,h,x).slice()),g-=v}this.hitDetectionImageData_=Eje(i,f,this.renderedFeatures_,u.getStyleFunction(),c,a,s)}r(Pje(n,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,a){var s=this;if(this.replayGroup_){var l=r.viewState.resolution,c=r.viewState.rotation,u=this.getLayer(),f={},d=function(m,g,v){var y=vn(m),x=f[y];if(x){if(x!==!0&&v_[0]&&C[2]>_[2]&&b.push([C[0]-S,C[1],C[2]-S,C[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==p&&this.renderedRenderOrder_==g&&eg(this.wrappedRenderedExtent_,y))return kp(this.renderedExtent_,x)||(this.hitDetectionImageData_=null,this.renderedExtent_=x),this.renderedCenter_=v,this.replayGroupChanged=!1,!0;this.replayGroup_=null;var E=new zG(f3(d,h),y,d,h),k;this.getLayer().getDeclutter()&&(k=new zG(f3(d,h),y,d,h));for(var I,P,R,P=0,R=b.length;P=200&&s.status<300){var c=e.getType(),u=void 0;c=="json"||c=="text"?u=s.responseText:c=="xml"?(u=s.responseXML,u||(u=new DOMParser().parseFromString(s.responseText,"application/xml"))):c=="arraybuffer"&&(u=s.response),u?o(e.readFeatures(u,{extent:n,featureProjection:i}),e.readProjection(u)):a()}else a()},s.onerror=a,s.send()}function YG(t,e){return function(n,r,i,o,a){var s=this;qje(t,e,n,r,i,function(l,c){s.addFeatures(l),o!==void 0&&o(l)},a||ip)}}var Loe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Du=function(t){Loe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.feature=r,o.features=i,o}return e}(ac),Q1=function(t){Loe(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{attributions:i.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:i.wrapX!==void 0?i.wrapX:!0})||this,r.on,r.once,r.un,r.loader_=ip,r.format_=i.format,r.overlaps_=i.overlaps===void 0?!0:i.overlaps,r.url_=i.url,i.loader!==void 0?r.loader_=i.loader:r.url_!==void 0&&(Ut(r.format_,7),r.loader_=YG(r.url_,r.format_)),r.strategy_=i.strategy!==void 0?i.strategy:Gje;var o=i.useSpatialIndex!==void 0?i.useSpatialIndex:!0;r.featuresRtree_=o?new XG:null,r.loadedExtentsRtree_=new XG,r.loadingExtentsCount_=0,r.nullGeometryFeatures_={},r.idIndex_={},r.uidIndex_={},r.featureChangeKeys_={},r.featuresCollection_=null;var a,s;return Array.isArray(i.features)?s=i.features:i.features&&(a=i.features,s=a.getArray()),!o&&a===void 0&&(a=new Qa(s)),s!==void 0&&r.addFeaturesInternal(s),a!==void 0&&r.bindFeaturesCollection_(a),r}return e.prototype.addFeature=function(n){this.addFeatureInternal(n),this.changed()},e.prototype.addFeatureInternal=function(n){var r=vn(n);if(!this.addToIndex_(r,n)){this.featuresCollection_&&this.featuresCollection_.remove(n);return}this.setupChangeEvents_(r,n);var i=n.getGeometry();if(i){var o=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(o,n)}else this.nullGeometryFeatures_[r]=n;this.dispatchEvent(new Du(Ps.ADDFEATURE,n))},e.prototype.setupChangeEvents_=function(n,r){this.featureChangeKeys_[n]=[rn(r,Mt.CHANGE,this.handleFeatureChange_,this),rn(r,nv.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(n,r){var i=!0,o=r.getId();return o!==void 0&&(o.toString()in this.idIndex_?i=!1:this.idIndex_[o.toString()]=r),i&&(Ut(!(n in this.uidIndex_),30),this.uidIndex_[n]=r),i},e.prototype.addFeatures=function(n){this.addFeaturesInternal(n),this.changed()},e.prototype.addFeaturesInternal=function(n){for(var r=[],i=[],o=[],a=0,s=n.length;a0},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(n){var r=this.loadedExtentsRtree_,i;r.forEachInExtent(n,function(o){if(Fb(o.extent,n))return i=o,!0}),i&&r.remove(i)},e.prototype.removeFeature=function(n){if(n){var r=vn(n);r in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[r]:this.featuresRtree_&&this.featuresRtree_.remove(n);var i=this.removeFeatureInternal(n);i&&this.changed()}},e.prototype.removeFeatureInternal=function(n){var r=vn(n),i=this.featureChangeKeys_[r];if(i){i.forEach(nr),delete this.featureChangeKeys_[r];var o=n.getId();return o!==void 0&&delete this.idIndex_[o.toString()],delete this.uidIndex_[r],this.dispatchEvent(new Du(Ps.REMOVEFEATURE,n)),n}},e.prototype.removeFromIdIndex_=function(n){var r=!1;for(var i in this.idIndex_)if(this.idIndex_[i]===n){delete this.idIndex_[i],r=!0;break}return r},e.prototype.setLoader=function(n){this.loader_=n},e.prototype.setUrl=function(n){Ut(this.format_,7),this.url_=n,this.setLoader(YG(n,this.format_))},e}(Doe);function Lu(t,e){return Cr(t.inversePixelTransform,e.slice(0))}const St={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function Noe(t){return Math.pow(t,3)}function fy(t){return 1-Noe(1-t)}function Xje(t){return 3*t*t-2*t*t*t}function Qje(t){return t}var Yje=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),$oe=function(t){Yje(e,t);function e(n,r,i){var o=t.call(this)||this,a=i||{};return o.tileCoord=n,o.state=r,o.interimTile=null,o.key="",o.transition_=a.transition===void 0?250:a.transition,o.transitionStarts_={},o.interpolate=!!a.interpolate,o}return e.prototype.changed=function(){this.dispatchEvent(Mt.CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var n=this.interimTile;do{if(n.getState()==St.LOADED)return this.transition_=0,n;n=n.interimTile}while(n);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var n=this.interimTile,r=this;do{if(n.getState()==St.LOADED){n.interimTile=null;break}else n.getState()==St.LOADING?r=n:n.getState()==St.IDLE?r.interimTile=n.interimTile:r=n;n=r.interimTile}while(n)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(n){if(this.state!==St.ERROR&&this.state>n)throw new Error("Tile load sequence violation");this.state=n,this.changed()},e.prototype.load=function(){yt()},e.prototype.getAlpha=function(n,r){if(!this.transition_)return 1;var i=this.transitionStarts_[n];if(!i)i=r,this.transitionStarts_[n]=i;else if(i===-1)return 1;var o=r-i+1e3/60;return o>=this.transition_?1:Noe(o/this.transition_)},e.prototype.inTransition=function(n){return this.transition_?this.transitionStarts_[n]!==-1:!1},e.prototype.endTransition=function(n){this.transition_&&(this.transitionStarts_[n]=-1)},e}(oy),Kje=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),OB=function(t){Kje(e,t);function e(n,r,i,o,a,s){var l=t.call(this,n,r,s)||this;return l.crossOrigin_=o,l.src_=i,l.key=i,l.image_=new Image,o!==null&&(l.image_.crossOrigin=o),l.unlisten_=null,l.tileLoadFunction_=a,l}return e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(n){this.image_=n,this.state=St.LOADED,this.unlistenImage_(),this.changed()},e.prototype.handleImageError_=function(){this.state=St.ERROR,this.unlistenImage_(),this.image_=Zje(),this.changed()},e.prototype.handleImageLoad_=function(){var n=this.image_;n.naturalWidth&&n.naturalHeight?this.state=St.LOADED:this.state=St.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==St.ERROR&&(this.state=St.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==St.IDLE&&(this.state=St.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=SB(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}($oe);function Zje(){var t=Ca(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}var Jje=function(){function t(e,n,r){this.decay_=e,this.minVelocity_=n,this.delay_=r,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(e,n){this.points_.push(e,n,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var e=Date.now()-this.delay_,n=this.points_.length-3;if(this.points_[n+2]0&&this.points_[r+2]>e;)r-=3;var i=this.points_[n+2]-this.points_[r+2];if(i<1e3/60)return!1;var o=this.points_[n]-this.points_[r],a=this.points_[n+1]-this.points_[r+1];return this.angle_=Math.atan2(a,o),this.initialVelocity_=Math.sqrt(o*o+a*a)/i,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),e5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),t5e=function(t){e5e(e,t);function e(n){var r=t.call(this)||this;return r.map_=n,r}return e.prototype.dispatchRenderEvent=function(n,r){yt()},e.prototype.calculateMatrices2D=function(n){var r=n.viewState,i=n.coordinateToPixelTransform,o=n.pixelToCoordinateTransform;hu(i,n.size[0]/2,n.size[1]/2,1/r.resolution,-1/r.resolution,-r.rotation,-r.center[0],-r.center[1]),X5(o,i)},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,a,s,l,c){var u,f=r.viewState;function d(L,z,B,U){return a.call(s,z,L?B:null,U)}var h=f.projection,p=Fie(n.slice(),h),m=[[0,0]];if(h.canWrapX()&&o){var g=h.getExtent(),v=Kn(g);m.push([-v,0],[v,0])}for(var y=r.layerStatesArray,x=y.length,b=[],_=[],S=0;S=0;--O){var C=y[O],E=C.layer;if(E.hasRenderer()&&XT(C,f)&&l.call(c,E)){var k=E.getRenderer(),I=E.getSource();if(k&&I){var P=I.getWrapX()?p:n,R=d.bind(null,C.managed);_[0]=P[0]+m[S][0],_[1]=P[1]+m[S][1],u=k.forEachFeatureAtCoordinate(_,r,i,R,b)}if(u)return u}}if(b.length!==0){var T=1/b.length;return b.forEach(function(L,z){return L.distanceSq+=z*T}),b.sort(function(L,z){return L.distanceSq-z.distanceSq}),b.some(function(L){return u=L.callback(L.feature,L.layer,L.geometry)}),u}},e.prototype.forEachLayerAtPixel=function(n,r,i,o,a){return yt()},e.prototype.hasFeatureAtCoordinate=function(n,r,i,o,a,s){var l=this.forEachFeatureAtCoordinate(n,r,i,o,Fh,this,a,s);return l!==void 0},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(n){yt()},e.prototype.scheduleExpireIconCache=function(n){QT.canExpireCache()&&n.postRenderFunctions.push(n5e)},e}(H5);function n5e(t,e){QT.expire()}var r5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),i5e=function(t){r5e(e,t);function e(n){var r=t.call(this,n)||this;r.fontChangeListenerKey_=rn(Tc,nv.PROPERTYCHANGE,n.redrawText.bind(n)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=H1+" ol-layers";var o=n.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return e.prototype.dispatchRenderEvent=function(n,r){var i=this.getMap();if(i.hasListener(n)){var o=new koe(n,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){nr(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(n){if(!n){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(n),this.dispatchRenderEvent(Bf.PRECOMPOSE,n);var r=n.layerStatesArray.sort(function(h,p){return h.zIndex-p.zIndex}),i=n.viewState;this.children_.length=0;for(var o=[],a=null,s=0,l=r.length;s=0;--s)o[s].renderDeclutter(n);CFe(this.element_,this.children_),this.dispatchRenderEvent(Bf.POSTCOMPOSE,n),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(n)},e.prototype.forEachLayerAtPixel=function(n,r,i,o,a){for(var s=r.viewState,l=r.layerStatesArray,c=l.length,u=c-1;u>=0;--u){var f=l[u],d=f.layer;if(d.hasRenderer()&&XT(f,s)&&a(d)){var h=d.getRenderer(),p=h.getDataAtPixel(n,r,i);if(p){var m=o(d,p);if(m)return m}}}},e}(t5e),Foe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lf=function(t){Foe(e,t);function e(n,r){var i=t.call(this,n)||this;return i.layer=r,i}return e}(ac),zA={LAYERS:"layers"},o5e=function(t){Foe(e,t);function e(n){var r=this,i=n||{},o=ur({},i);delete o.layers;var a=i.layers;return r=t.call(this,o)||this,r.on,r.once,r.un,r.layersListenerKeys_=[],r.listenerKeys_={},r.addChangeListener(zA.LAYERS,r.handleLayersChanged_),a?Array.isArray(a)?a=new Qa(a.slice(),{unique:!0}):Ut(typeof a.getArray=="function",43):a=new Qa(void 0,{unique:!0}),r.setLayers(a),r}return e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(nr),this.layersListenerKeys_.length=0;var n=this.getLayers();this.layersListenerKeys_.push(rn(n,Oo.ADD,this.handleLayersAdd_,this),rn(n,Oo.REMOVE,this.handleLayersRemove_,this));for(var r in this.listenerKeys_)this.listenerKeys_[r].forEach(nr);F1(this.listenerKeys_);for(var i=n.getArray(),o=0,a=i.length;othis.moveTolerance_||Math.abs(n.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(nr(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(Mt.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(nr(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(nr),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(oy);const Yu={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Ui={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"};var YT=1/0,u5e=function(){function t(e,n){this.priorityFunction_=e,this.keyFunction_=n,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,F1(this.queuedElements_)},t.prototype.dequeue=function(){var e=this.elements_,n=this.priorities_,r=e[0];e.length==1?(e.length=0,n.length=0):(e[0]=e.pop(),n[0]=n.pop(),this.siftUp_(0));var i=this.keyFunction_(r);return delete this.queuedElements_[i],r},t.prototype.enqueue=function(e){Ut(!(this.keyFunction_(e)in this.queuedElements_),31);var n=this.priorityFunction_(e);return n!=YT?(this.elements_.push(e),this.priorities_.push(n),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(e){return e*2+1},t.prototype.getRightChildIndex_=function(e){return e*2+2},t.prototype.getParentIndex_=function(e){return e-1>>1},t.prototype.heapify_=function(){var e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)},t.prototype.isEmpty=function(){return this.elements_.length===0},t.prototype.isKeyQueued=function(e){return e in this.queuedElements_},t.prototype.isQueued=function(e){return this.isKeyQueued(this.keyFunction_(e))},t.prototype.siftUp_=function(e){for(var n=this.elements_,r=this.priorities_,i=n.length,o=n[e],a=r[e],s=e;e>1;){var l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){var s=this.getParentIndex_(n);if(i[s]>a)r[n]=r[s],i[n]=i[s],n=s;else break}r[n]=o,i[n]=a},t.prototype.reprioritize=function(){var e=this.priorityFunction_,n=this.elements_,r=this.priorities_,i=0,o=n.length,a,s,l;for(s=0;s0;)a=this.dequeue()[0],s=a.getKey(),o=a.getState(),o===St.IDLE&&!(s in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[s]=!0,++this.tilesLoading_,++i,a.load())},e}(u5e);function h5e(t,e,n,r,i){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return YT;var o=t.viewState.center,a=r[0]-o[0],s=r[1]-o[1];return 65536*Math.log(i)+Math.sqrt(a*a+s*s)/i}const Ms={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};var p5e=42,CB=256;function KG(t,e,n){return function(r,i,o,a,s){if(r){if(!i&&!e)return r;var l=e?0:o[0]*i,c=e?0:o[1]*i,u=s?s[0]:0,f=s?s[1]:0,d=t[0]+l/2+u,h=t[2]-l/2+u,p=t[1]+c/2+f,m=t[3]-c/2+f;d>h&&(d=(h+d)/2,h=d),p>m&&(p=(m+p)/2,m=p);var g=Br(r[0],d,h),v=Br(r[1],p,m);if(a&&n&&i){var y=30*i;g+=-y*Math.log(1+Math.max(0,d-r[0])/y)+y*Math.log(1+Math.max(0,r[0]-h)/y),v+=-y*Math.log(1+Math.max(0,p-r[1])/y)+y*Math.log(1+Math.max(0,r[1]-m)/y)}return[g,v]}}}function m5e(t){return t}function TB(t,e,n,r){var i=Kn(e)/n[0],o=ps(e)/n[1];return r?Math.min(t,Math.max(i,o)):Math.min(t,Math.min(i,o))}function EB(t,e,n){var r=Math.min(t,e),i=50;return r*=Math.log(1+i*Math.max(0,t/e-1))/i+1,n&&(r=Math.max(r,n),r/=Math.log(1+i*Math.max(0,n/t-1))/i+1),Br(r,n/2,e*2)}function g5e(t,e,n,r){return function(i,o,a,s){if(i!==void 0){var l=t[0],c=t[t.length-1],u=n?TB(l,n,a,r):l;if(s){var f=e!==void 0?e:!0;return f?EB(i,u,c):Br(i,c,u)}var d=Math.min(u,i),h=Math.floor(q5(t,d,o));return t[h]>u&&h1&&typeof arguments[r-1]=="function"&&(i=arguments[r-1],--r);for(var o=0;o0},e.prototype.getInteracting=function(){return this.hints_[Hi.INTERACTING]>0},e.prototype.cancelAnimations=function(){this.setHint(Hi.ANIMATING,-this.hints_[Hi.ANIMATING]);for(var n,r=0,i=this.animations_.length;r=0;--i){for(var o=this.animations_[i],a=!0,s=0,l=o.length;s0?u/c.duration:1;f>=1?(c.complete=!0,f=1):a=!1;var d=c.easing(f);if(c.sourceCenter){var h=c.sourceCenter[0],p=c.sourceCenter[1],m=c.targetCenter[0],g=c.targetCenter[1];this.nextCenter_=c.targetCenter;var v=h+d*(m-h),y=p+d*(g-p);this.targetCenter_=[v,y]}if(c.sourceResolution&&c.targetResolution){var x=d===1?c.targetResolution:c.sourceResolution+d*(c.targetResolution-c.sourceResolution);if(c.anchor){var b=this.getViewportSize_(this.getRotation()),_=this.constraints_.resolution(x,0,b,!0);this.targetCenter_=this.calculateCenterZoom(_,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=x,this.applyTargetState_(!0)}if(c.sourceRotation!==void 0&&c.targetRotation!==void 0){var S=d===1?jf(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+d*(c.targetRotation-c.sourceRotation);if(c.anchor){var O=this.constraints_.rotation(S,!0);this.targetCenter_=this.calculateCenterRotate(O,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=S}if(this.applyTargetState_(!0),r=!0,!c.complete)break}}if(a){this.animations_[i]=null,this.setHint(Hi.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var C=o[0].callback;C&&CS(C,!0)}}this.animations_=this.animations_.filter(Boolean),r&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(n,r){var i,o=this.getCenterInternal();return o!==void 0&&(i=[o[0]-r[0],o[1]-r[1]],tB(i,n-this.getRotation()),gNe(i,r)),i},e.prototype.calculateCenterZoom=function(n,r){var i,o=this.getCenterInternal(),a=this.getResolution();if(o!==void 0&&a!==void 0){var s=r[0]-n*(r[0]-o[0])/a,l=r[1]-n*(r[1]-o[1])/a;i=[s,l]}return i},e.prototype.getViewportSize_=function(n){var r=this.viewportSize_;if(n){var i=r[0],o=r[1];return[Math.abs(i*Math.cos(n))+Math.abs(o*Math.sin(n)),Math.abs(i*Math.sin(n))+Math.abs(o*Math.cos(n))]}else return r},e.prototype.setViewportSize=function(n){this.viewportSize_=Array.isArray(n)?n.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var n=this.getCenterInternal();return n&&JL(n,this.getProjection())},e.prototype.getCenterInternal=function(){return this.get(Ms.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.get("constrainResolution")},e.prototype.getHints=function(n){return n!==void 0?(n[0]=this.hints_[0],n[1]=this.hints_[1],n):this.hints_.slice()},e.prototype.calculateExtent=function(n){var r=this.calculateExtentInternal(n);return zie(r,this.getProjection())},e.prototype.calculateExtentInternal=function(n){var r=n||this.getViewportSizeMinusPadding_(),i=this.getCenterInternal();Ut(i,1);var o=this.getResolution();Ut(o!==void 0,2);var a=this.getRotation();return Ut(a!==void 0,3),QL(i,o,a,r)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({maxZoom:n}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({minZoom:n}))},e.prototype.setConstrainResolution=function(n){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:n}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(Ms.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(n,r){return this.getResolutionForExtentInternal(xh(n,this.getProjection()),r)},e.prototype.getResolutionForExtentInternal=function(n,r){var i=r||this.getViewportSizeMinusPadding_(),o=Kn(n)/i[0],a=ps(n)/i[1];return Math.max(o,a)},e.prototype.getResolutionForValueFunction=function(n){var r=n||2,i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,a=Math.log(i/o)/Math.log(r);return function(s){var l=i/Math.pow(r,s*a);return l}},e.prototype.getRotation=function(){return this.get(Ms.ROTATION)},e.prototype.getValueForResolutionFunction=function(n){var r=Math.log(n||2),i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,a=Math.log(i/o)/r;return function(s){var l=Math.log(i/s)/r/a;return l}},e.prototype.getViewportSizeMinusPadding_=function(n){var r=this.getViewportSize_(n),i=this.padding_;return i&&(r=[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]),r},e.prototype.getState=function(){var n=this.getProjection(),r=this.getResolution(),i=this.getRotation(),o=this.getCenterInternal(),a=this.padding_;if(a){var s=this.getViewportSizeMinusPadding_();o=WA(o,this.getViewportSize_(),[s[0]/2+a[3],s[1]/2+a[0]],r,i)}return{center:o.slice(0),projection:n!==void 0?n:null,resolution:r,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}},e.prototype.getZoom=function(){var n,r=this.getResolution();return r!==void 0&&(n=this.getZoomForResolution(r)),n},e.prototype.getZoomForResolution=function(n){var r=this.minZoom_||0,i,o;if(this.resolutions_){var a=q5(this.resolutions_,n,1);r=a,i=this.resolutions_[a],a==this.resolutions_.length-1?o=2:o=i/this.resolutions_[a+1]}else i=this.maxResolution_,o=this.zoomFactor_;return r+Math.log(i/n)/Math.log(o)},e.prototype.getResolutionForZoom=function(n){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var r=Br(Math.floor(n),0,this.resolutions_.length-2),i=this.resolutions_[r]/this.resolutions_[r+1];return this.resolutions_[r]/Math.pow(i,Br(n-r,0,1))}else return this.maxResolution_/Math.pow(this.zoomFactor_,n-this.minZoom_)},e.prototype.fit=function(n,r){var i;if(Ut(Array.isArray(n)||typeof n.getSimplifiedGeometry=="function",24),Array.isArray(n)){Ut(!eB(n),25);var o=xh(n,this.getProjection());i=r3(o)}else if(n.getType()==="Circle"){var o=xh(n.getExtent(),this.getProjection());i=r3(o),i.rotate(this.getRotation(),ed(o))}else{var a=TNe();a?i=n.clone().transform(a,this.getProjection()):i=n}this.fitInternal(i,r)},e.prototype.rotatedExtentForGeometry=function(n){for(var r=this.getRotation(),i=Math.cos(r),o=Math.sin(-r),a=n.getFlatCoordinates(),s=n.getStride(),l=1/0,c=1/0,u=-1/0,f=-1/0,d=0,h=a.length;d=0;c--){var u=l[c];if(!(u.getMap()!==this||!u.getActive()||!this.getTargetElement())){var f=u.handleEvent(n);if(!f||n.propagationStopped)break}}}},e.prototype.handlePostRender=function(){var n=this.frameState_,r=this.tileQueue_;if(!r.isEmpty()){var i=this.maxTilesLoading_,o=i;if(n){var a=n.viewHints;if(a[Hi.ANIMATING]||a[Hi.INTERACTING]){var s=Date.now()-n.time>8;i=s?0:8,o=s?0:2}}r.getTilesLoading()0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!kp(r,this.renderedAttributions_)){OFe(this.ulElement_);for(var o=0,a=r.length;o0&&i%(2*Math.PI)!==0?r.animate({rotation:0,duration:this.duration_,easing:fy}):r.setRotation(0))}},e.prototype.render=function(n){var r=n.frameState;if(r){var i=r.viewState.rotation;if(i!=this.rotation_){var o="rotate("+i+"rad)";if(this.autoHide_){var a=this.element.classList.contains(_S);!a&&i===0?this.element.classList.add(_S):a&&i!==0&&this.element.classList.remove(_S)}this.label_.style.transform=o}this.rotation_=i}},e}(m2),I5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),D5e=function(t){I5e(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{element:document.createElement("div"),target:i.target})||this;var o=i.className!==void 0?i.className:"ol-zoom",a=i.delta!==void 0?i.delta:1,s=i.zoomInClassName!==void 0?i.zoomInClassName:o+"-in",l=i.zoomOutClassName!==void 0?i.zoomOutClassName:o+"-out",c=i.zoomInLabel!==void 0?i.zoomInLabel:"+",u=i.zoomOutLabel!==void 0?i.zoomOutLabel:"–",f=i.zoomInTipLabel!==void 0?i.zoomInTipLabel:"Zoom in",d=i.zoomOutTipLabel!==void 0?i.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=s,h.setAttribute("type","button"),h.title=f,h.appendChild(typeof c=="string"?document.createTextNode(c):c),h.addEventListener(Mt.CLICK,r.handleClick_.bind(r,a),!1);var p=document.createElement("button");p.className=l,p.setAttribute("type","button"),p.title=d,p.appendChild(typeof u=="string"?document.createTextNode(u):u),p.addEventListener(Mt.CLICK,r.handleClick_.bind(r,-a),!1);var m=o+" "+H1+" "+wB,g=r.element;return g.className=m,g.appendChild(h),g.appendChild(p),r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleClick_=function(n,r){r.preventDefault(),this.zoomByDelta_(n)},e.prototype.zoomByDelta_=function(n){var r=this.getMap(),i=r.getView();if(i){var o=i.getZoom();if(o!==void 0){var a=i.getConstrainedZoom(o+n);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:a,duration:this.duration_,easing:fy})):i.setZoom(a)}}},e}(m2),L5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),VA="units",jd={DEGREES:"degrees",IMPERIAL:"imperial",NAUTICAL:"nautical",METRIC:"metric",US:"us"},N5e=[1,2,5],_0=25.4/.28,$5e=function(t){L5e(e,t);function e(n){var r=this,i=n||{},o=i.className!==void 0?i.className:i.bar?"ol-scale-bar":"ol-scale-line";return r=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this,r.on,r.once,r.un,r.innerElement_=document.createElement("div"),r.innerElement_.className=o+"-inner",r.element.className=o+" "+H1,r.element.appendChild(r.innerElement_),r.viewState_=null,r.minWidth_=i.minWidth!==void 0?i.minWidth:64,r.maxWidth_=i.maxWidth,r.renderedVisible_=!1,r.renderedWidth_=void 0,r.renderedHTML_="",r.addChangeListener(VA,r.handleUnitsChanged_),r.setUnits(i.units||jd.METRIC),r.scaleBar_=i.bar||!1,r.scaleBarSteps_=i.steps||4,r.scaleBarText_=i.text||!1,r.dpi_=i.dpi||void 0,r}return e.prototype.getUnits=function(){return this.get(VA)},e.prototype.handleUnitsChanged_=function(){this.updateElement_()},e.prototype.setUnits=function(n){this.set(VA,n)},e.prototype.setDpi=function(n){this.dpi_=n},e.prototype.updateElement_=function(){var n=this.viewState_;if(!n){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}var r=n.center,i=n.projection,o=this.getUnits(),a=o==jd.DEGREES?ci.DEGREES:ci.METERS,s=FT(i,n.resolution,r,a),l=this.minWidth_*(this.dpi_||_0)/_0,c=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||_0)/_0:void 0,u=l*s,f="";if(o==jd.DEGREES){var d=Ks[ci.DEGREES];u*=d,u=c){p=v,m=y,g=x;break}else if(m>=l)break;v=p,y=m,x=g,++h}var _;this.scaleBar_?_=this.createScaleBar(m,p,f):_=p.toFixed(g<0?-g:0)+" "+f,this.renderedHTML_!=_&&(this.innerElement_.innerHTML=_,this.renderedHTML_=_),this.renderedWidth_!=m&&(this.innerElement_.style.width=m+"px",this.renderedWidth_=m),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)},e.prototype.createScaleBar=function(n,r,i){for(var o="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),a=[],s=n/this.scaleBarSteps_,l="ol-scale-singlebar-odd",c=0;c
'+this.createMarker("relative",c)+(c%2===0||this.scaleBarSteps_===2?this.createStepText(c,n,!1,r,i):"")+""),c===this.scaleBarSteps_-1&&a.push(this.createStepText(c+1,n,!0,r,i)),l=l==="ol-scale-singlebar-odd"?"ol-scale-singlebar-even":"ol-scale-singlebar-odd";var u;this.scaleBarText_?u='
'+o+"
":u="";var f='
'+u+a.join("")+"
";return f},e.prototype.createMarker=function(n,r){var i=n==="absolute"?3:-10;return'
'},e.prototype.createStepText=function(n,r,i,o,a){var s=n===0?0:Math.round(o/this.scaleBarSteps_*n*100)/100,l=s+(n===0?"":" "+a),c=n===0?-3:r/this.scaleBarSteps_*-1,u=n===0?0:r/this.scaleBarSteps_*2;return'
'+l+"
"},e.prototype.getScaleForResolution=function(){var n=FT(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,ci.METERS),r=this.dpi_||_0,i=1e3/25.4;return parseFloat(n.toString())*i*r},e.prototype.render=function(n){var r=n.frameState;r?this.viewState_=r.viewState:this.viewState_=null,this.updateElement_()},e}(m2);function F5e(t){var e={},n=new Qa,r=e.zoom!==void 0?e.zoom:!0;r&&n.push(new D5e(e.zoomOptions));var i=e.rotate!==void 0?e.rotate:!0;i&&n.push(new R5e(e.rotateOptions));var o=e.attribution!==void 0?e.attribution:!0;return o&&n.push(new k5e(e.attributionOptions)),n}const h3={ACTIVE:"active"};var j5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Y1=function(t){j5e(e,t);function e(n){var r=t.call(this)||this;return r.on,r.once,r.un,n&&n.handleEvent&&(r.handleEvent=n.handleEvent),r.map_=null,r.setActive(!0),r}return e.prototype.getActive=function(){return this.get(h3.ACTIVE)},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(n){return!0},e.prototype.setActive=function(n){this.set(h3.ACTIVE,n)},e.prototype.setMap=function(n){this.map_=n},e}(sc);function B5e(t,e,n){var r=t.getCenterInternal();if(r){var i=[r[0]+e[0],r[1]+e[1]];t.animateInternal({duration:n!==void 0?n:250,easing:Qje,center:t.getConstrainedCenter(i)})}}function MB(t,e,n,r){var i=t.getZoom();if(i!==void 0){var o=t.getConstrainedZoom(i+e),a=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:r!==void 0?r:250,easing:fy})}}var z5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),U5e=function(t){z5e(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==Sn.DBLCLICK){var i=n.originalEvent,o=n.map,a=n.coordinate,s=i.shiftKey?-this.delta_:this.delta_,l=o.getView();MB(l,s,a,this.duration_),i.preventDefault(),r=!0}return!r},e}(Y1),W5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),dy=function(t){W5e(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,i)||this,i.handleDownEvent&&(r.handleDownEvent=i.handleDownEvent),i.handleDragEvent&&(r.handleDragEvent=i.handleDragEvent),i.handleMoveEvent&&(r.handleMoveEvent=i.handleMoveEvent),i.handleUpEvent&&(r.handleUpEvent=i.handleUpEvent),i.stopDown&&(r.stopDown=i.stopDown),r.handlingDownUpSequence=!1,r.targetPointers=[],r}return e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(n){return!1},e.prototype.handleDragEvent=function(n){},e.prototype.handleEvent=function(n){if(!n.originalEvent)return!0;var r=!1;if(this.updateTrackedPointers_(n),this.handlingDownUpSequence){if(n.type==Sn.POINTERDRAG)this.handleDragEvent(n),n.originalEvent.preventDefault();else if(n.type==Sn.POINTERUP){var i=this.handleUpEvent(n);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(n.type==Sn.POINTERDOWN){var o=this.handleDownEvent(n);this.handlingDownUpSequence=o,r=this.stopDown(o)}else n.type==Sn.POINTERMOVE&&this.handleMoveEvent(n);return!r},e.prototype.handleMoveEvent=function(n){},e.prototype.handleUpEvent=function(n){return!1},e.prototype.stopDown=function(n){return n},e.prototype.updateTrackedPointers_=function(n){n.activePointers&&(this.targetPointers=n.activePointers)},e}(Y1);function kB(t){for(var e=t.length,n=0,r=0,i=0;i0&&this.condition_(n)){var r=n.map,i=r.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}else return!1},e}(dy),Q5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Y5e=function(t){Q5e(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,{stopDown:$1})||this,r.condition_=i.condition?i.condition:V5e,r.lastAngle_=void 0,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){if(GA(n)){var r=n.map,i=r.getView();if(i.getConstraints().rotation!==PB){var o=r.getSize(),a=n.pixel,s=Math.atan2(o[1]/2-a[1],a[0]-o[0]/2);if(this.lastAngle_!==void 0){var l=s-this.lastAngle_;i.adjustRotationInternal(-l)}this.lastAngle_=s}}},e.prototype.handleUpEvent=function(n){if(!GA(n))return!0;var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1},e.prototype.handleDownEvent=function(n){if(!GA(n))return!1;if(Woe(n)&&this.condition_(n)){var r=n.map;return r.getView().beginInteraction(),this.lastAngle_=void 0,!0}else return!1},e}(dy),K5e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Z5e=function(t){K5e(e,t);function e(n){var r=t.call(this)||this;return r.geometry_=null,r.element_=document.createElement("div"),r.element_.style.position="absolute",r.element_.style.pointerEvents="auto",r.element_.className="ol-box "+n,r.map_=null,r.startPixel_=null,r.endPixel_=null,r}return e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var n=this.startPixel_,r=this.endPixel_,i="px",o=this.element_.style;o.left=Math.min(n[0],r[0])+i,o.top=Math.min(n[1],r[1])+i,o.width=Math.abs(r[0]-n[0])+i,o.height=Math.abs(r[1]-n[1])+i},e.prototype.setMap=function(n){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var r=this.element_.style;r.left="inherit",r.top="inherit",r.width="inherit",r.height="inherit"}this.map_=n,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(n,r){this.startPixel_=n,this.endPixel_=r,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var n=this.startPixel_,r=this.endPixel_,i=[n,[n[0],r[1]],r,[r[0],n[1]]],o=i.map(this.map_.getCoordinateFromPixelInternal,this.map_);o[4]=o[0].slice(),this.geometry_?this.geometry_.setCoordinates([o]):this.geometry_=new td([o])},e.prototype.getGeometry=function(){return this.geometry_},e}(H5),Hoe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),TS={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"},HA=function(t){Hoe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.coordinate=r,o.mapBrowserEvent=i,o}return e}(ac),J5e=function(t){Hoe(e,t);function e(n){var r=t.call(this)||this;r.on,r.once,r.un;var i=n||{};return r.box_=new Z5e(i.className||"ol-dragbox"),r.minArea_=i.minArea!==void 0?i.minArea:64,i.onBoxEnd&&(r.onBoxEnd=i.onBoxEnd),r.startPixel_=null,r.condition_=i.condition?i.condition:Woe,r.boxEndCondition_=i.boxEndCondition?i.boxEndCondition:r.defaultBoxEndCondition,r}return e.prototype.defaultBoxEndCondition=function(n,r,i){var o=i[0]-r[0],a=i[1]-r[1];return o*o+a*a>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(n){this.box_.setPixels(this.startPixel_,n.pixel),this.dispatchEvent(new HA(TS.BOXDRAG,n.coordinate,n))},e.prototype.handleUpEvent=function(n){this.box_.setMap(null);var r=this.boxEndCondition_(n,this.startPixel_,n.pixel);return r&&this.onBoxEnd(n),this.dispatchEvent(new HA(r?TS.BOXEND:TS.BOXCANCEL,n.coordinate,n)),!1},e.prototype.handleDownEvent=function(n){return this.condition_(n)?(this.startPixel_=n.pixel,this.box_.setMap(n.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new HA(TS.BOXSTART,n.coordinate,n)),!0):!1},e.prototype.onBoxEnd=function(n){},e}(dy),eBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),tBe=function(t){eBe(e,t);function e(n){var r=this,i=n||{},o=i.condition?i.condition:Voe;return r=t.call(this,{condition:o,className:i.className||"ol-dragzoom",minArea:i.minArea})||this,r.duration_=i.duration!==void 0?i.duration:200,r.out_=i.out!==void 0?i.out:!1,r}return e.prototype.onBoxEnd=function(n){var r=this.getMap(),i=r.getView(),o=this.getGeometry();if(this.out_){var a=i.rotatedExtentForGeometry(o),s=i.getResolutionForExtentInternal(a),l=i.getResolution()/s;o=o.clone(),o.scale(l*l)}i.fitInternal(o,{duration:this.duration_,easing:fy})},e}(J5e);const Bd={LEFT:37,UP:38,RIGHT:39,DOWN:40};var nBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),rBe=function(t){nBe(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.defaultCondition_=function(o){return AB(o)&&Goe(o)},r.condition_=i.condition!==void 0?i.condition:r.defaultCondition_,r.duration_=i.duration!==void 0?i.duration:100,r.pixelDelta_=i.pixelDelta!==void 0?i.pixelDelta:128,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==Mt.KEYDOWN){var i=n.originalEvent,o=i.keyCode;if(this.condition_(n)&&(o==Bd.DOWN||o==Bd.LEFT||o==Bd.RIGHT||o==Bd.UP)){var a=n.map,s=a.getView(),l=s.getResolution()*this.pixelDelta_,c=0,u=0;o==Bd.DOWN?u=-l:o==Bd.LEFT?c=-l:o==Bd.RIGHT?c=l:u=l;var f=[c,u];tB(f,s.getRotation()),B5e(s,f,this.duration_),i.preventDefault(),r=!0}}return!r},e}(Y1),iBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),oBe=function(t){iBe(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.condition_=i.condition?i.condition:Goe,r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:100,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==Mt.KEYDOWN||n.type==Mt.KEYPRESS){var i=n.originalEvent,o=i.charCode;if(this.condition_(n)&&(o==43||o==45)){var a=n.map,s=o==43?this.delta_:-this.delta_,l=a.getView();MB(l,s,void 0,this.duration_),i.preventDefault(),r=!0}}return!r},e}(Y1),aBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),qA={TRACKPAD:"trackpad",WHEEL:"wheel"},sBe=function(t){aBe(e,t);function e(n){var r=this,i=n||{};r=t.call(this,i)||this,r.totalDelta_=0,r.lastDelta_=0,r.maxDelta_=i.maxDelta!==void 0?i.maxDelta:1,r.duration_=i.duration!==void 0?i.duration:250,r.timeout_=i.timeout!==void 0?i.timeout:80,r.useAnchor_=i.useAnchor!==void 0?i.useAnchor:!0,r.constrainResolution_=i.constrainResolution!==void 0?i.constrainResolution:!1;var o=i.condition?i.condition:Uoe;return r.condition_=i.onFocusOnly?p3(zoe,o):o,r.lastAnchor_=null,r.startTime_=void 0,r.timeoutId_,r.mode_=void 0,r.trackpadEventGap_=400,r.trackpadTimeoutId_,r.deltaPerZoom_=300,r}return e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0;var n=this.getMap();if(n){var r=n.getView();r.endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}},e.prototype.handleEvent=function(n){if(!this.condition_(n))return!0;var r=n.type;if(r!==Mt.WHEEL)return!0;var i=n.map,o=n.originalEvent;o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=n.coordinate);var a;if(n.type==Mt.WHEEL&&(a=o.deltaY,$3e&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(a/=Pie),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(a*=40)),a===0)return!1;this.lastDelta_=a;var s=Date.now();this.startTime_===void 0&&(this.startTime_=s),(!this.mode_||s-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(a)<4?qA.TRACKPAD:qA.WHEEL);var l=i.getView();if(this.mode_===qA.TRACKPAD&&!(l.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(l.getAnimating()&&l.cancelAnimations(),l.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),l.adjustZoom(-a/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=s,!1;this.totalDelta_+=a;var c=Math.max(this.timeout_-(s-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),c),!1},e.prototype.handleWheelZoom_=function(n){var r=n.getView();r.getAnimating()&&r.cancelAnimations();var i=-Br(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(r.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),MB(r,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(n){this.useAnchor_=n,n||(this.lastAnchor_=null)},e}(Y1),lBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),cBe=function(t){lBe(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=$1),r=t.call(this,o)||this,r.anchor_=null,r.lastAngle_=void 0,r.rotating_=!1,r.rotationDelta_=0,r.threshold_=i.threshold!==void 0?i.threshold:.3,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){var r=0,i=this.targetPointers[0],o=this.targetPointers[1],a=Math.atan2(o.clientY-i.clientY,o.clientX-i.clientX);if(this.lastAngle_!==void 0){var s=a-this.lastAngle_;this.rotationDelta_+=s,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),r=s}this.lastAngle_=a;var l=n.map,c=l.getView();if(c.getConstraints().rotation!==PB){var u=l.getViewport().getBoundingClientRect(),f=kB(this.targetPointers);f[0]-=u.left,f[1]-=u.top,this.anchor_=l.getCoordinateFromPixelInternal(f),this.rotating_&&(l.render(),c.adjustRotationInternal(r,this.anchor_))}},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(dy),uBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),fBe=function(t){uBe(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=$1),r=t.call(this,o)||this,r.anchor_=null,r.duration_=i.duration!==void 0?i.duration:400,r.lastDistance_=void 0,r.lastScaleDelta_=1,r}return e.prototype.handleDragEvent=function(n){var r=1,i=this.targetPointers[0],o=this.targetPointers[1],a=i.clientX-o.clientX,s=i.clientY-o.clientY,l=Math.sqrt(a*a+s*s);this.lastDistance_!==void 0&&(r=this.lastDistance_/l),this.lastDistance_=l;var c=n.map,u=c.getView();r!=1&&(this.lastScaleDelta_=r);var f=c.getViewport().getBoundingClientRect(),d=kB(this.targetPointers);d[0]-=f.left,d[1]-=f.top,this.anchor_=c.getCoordinateFromPixelInternal(d),c.render(),u.adjustResolutionInternal(r,this.anchor_)},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView(),o=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,o),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(dy),dBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),RB=function(t){dBe(e,t);function e(n,r,i){var o=t.call(this)||this;if(i!==void 0&&r===void 0)o.setFlatCoordinates(i,n);else{var a=r||0;o.setCenterAndRadius(n,a,i)}return o}return e.prototype.clone=function(){var n=new e(this.flatCoordinates.slice(),void 0,this.layout);return n.applyProperties(this),n},e.prototype.closestPointXY=function(n,r,i,o){var a=this.flatCoordinates,s=n-a[0],l=r-a[1],c=s*s+l*l;if(c=i[0]||n[1]<=i[1]&&n[3]>=i[1]?!0:Y5(n,this.intersectsCoordinate.bind(this))}return!1},e.prototype.setCenter=function(n){var r=this.stride,i=this.flatCoordinates[r]-this.flatCoordinates[0],o=n.slice();o[r]=o[0]+i;for(var a=1;a=this.dragVertexDelay_?(this.downPx_=n.pixel,this.shouldHandle_=!this.freehand_,r=!0):this.lastDragTime_=void 0,this.shouldHandle_&&this.downTimeout_!==void 0&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&n.type===Sn.POINTERDRAG&&this.sketchFeature_!==null?(this.addToDrawing_(n.coordinate),i=!1):this.freehand_&&n.type===Sn.POINTERDOWN?i=!1:r&&this.getPointerCount()<2?(i=n.type===Sn.POINTERMOVE,i&&this.freehand_?(this.handlePointerMove_(n),this.shouldHandle_&&n.originalEvent.preventDefault()):(n.originalEvent.pointerType==="mouse"||n.type===Sn.POINTERDRAG&&this.downTimeout_===void 0)&&this.handlePointerMove_(n)):n.type===Sn.DBLCLICK&&(i=!1),t.prototype.handleEvent.call(this,n)&&i},e.prototype.handleDownEvent=function(n){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=n.pixel,this.finishCoordinate_||this.startDrawing_(n.coordinate),!0):this.condition_(n)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((function(){this.handlePointerMove_(new Ac(Sn.POINTERMOVE,n.map,n.originalEvent,!1,n.frameState))}).bind(this),this.dragVertexDelay_),this.downPx_=n.pixel,!0):(this.lastDragTime_=void 0,!1)},e.prototype.handleUpEvent=function(n){var r=!0;if(this.getPointerCount()===0)if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(n),this.shouldHandle_){var i=!this.finishCoordinate_;i&&this.startDrawing_(n.coordinate),!i&&this.freehand_?this.finishDrawing():!this.freehand_&&(!i||this.mode_===an.POINT)&&(this.atFinish_(n.pixel)?this.finishCondition_(n)&&this.finishDrawing():this.addToDrawing_(n.coordinate)),r=!1}else this.freehand_&&this.abortDrawing();return!r&&this.stopClick_&&n.preventDefault(),r},e.prototype.handlePointerMove_=function(n){if(this.pointerType_=n.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var r=this.downPx_,i=n.pixel,o=r[0]-i[0],a=r[1]-i[1],s=o*o+a*a;if(this.shouldHandle_=this.freehand_?s>this.squaredClickTolerance_:s<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(n.coordinate):this.createOrUpdateSketchPoint_(n.coordinate.slice())},e.prototype.atFinish_=function(n){var r=!1;if(this.sketchFeature_){var i=!1,o=[this.finishCoordinate_],a=this.mode_;if(a===an.POINT)r=!0;else if(a===an.CIRCLE)r=this.sketchCoords_.length===2;else if(a===an.LINE_STRING)i=this.sketchCoords_.length>this.minPoints_;else if(a===an.POLYGON){var s=this.sketchCoords_;i=s[0].length>this.minPoints_,o=[s[0][0],s[0][s[0].length-2]]}if(i)for(var l=this.getMap(),c=0,u=o.length;c=this.maxPoints_&&(this.freehand_?a.pop():o=!0),a.push(n.slice()),this.geometryFunction_(a,r,i)):s===an.POLYGON&&(a=this.sketchCoords_[0],a.length>=this.maxPoints_&&(this.freehand_?a.pop():o=!0),a.push(n.slice()),o&&(this.finishCoordinate_=a[0]),this.geometryFunction_(this.sketchCoords_,r,i)),this.createOrUpdateSketchPoint_(n.slice()),this.updateSketchFeatures_(),o&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var n=this.sketchFeature_.getGeometry(),r=this.getMap().getView().getProjection(),i,o=this.mode_;if(o===an.LINE_STRING||o===an.CIRCLE){if(i=this.sketchCoords_,i.splice(-2,1),i.length>=2){this.finishCoordinate_=i[i.length-2].slice();var a=this.finishCoordinate_.slice();i[i.length-1]=a,this.createOrUpdateSketchPoint_(a)}this.geometryFunction_(i,n,r),n.getType()==="Polygon"&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(n)}else if(o===an.POLYGON){i=this.sketchCoords_[0],i.splice(-2,1);var s=this.sketchLine_.getGeometry();if(i.length>=2){var a=i[i.length-2].slice();i[i.length-1]=a,this.createOrUpdateSketchPoint_(a)}s.setCoordinates(i),this.geometryFunction_(this.sketchCoords_,n,r)}i.length===1&&this.abortDrawing(),this.updateSketchFeatures_()}},e.prototype.finishDrawing=function(){var n=this.abortDrawing_();if(n){var r=this.sketchCoords_,i=n.getGeometry(),o=this.getMap().getView().getProjection();this.mode_===an.LINE_STRING?(r.pop(),this.geometryFunction_(r,i,o)):this.mode_===an.POLYGON&&(r[0].pop(),this.geometryFunction_(r,i,o),r=i.getCoordinates()),this.type_==="MultiPoint"?n.setGeometry(new c2([r])):this.type_==="MultiLineString"?n.setGeometry(new hB([r])):this.type_==="MultiPolygon"&&n.setGeometry(new pB([r])),this.dispatchEvent(new PS(ES.DRAWEND,n)),this.features_&&this.features_.push(n),this.source_&&this.source_.addFeature(n)}},e.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var n=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),n},e.prototype.abortDrawing=function(){var n=this.abortDrawing_();n&&this.dispatchEvent(new PS(ES.DRAWABORT,n))},e.prototype.appendCoordinates=function(n){var r=this.mode_,i=!this.sketchFeature_;i&&this.startDrawing_(n[0]);var o;if(r===an.LINE_STRING||r===an.CIRCLE)o=this.sketchCoords_;else if(r===an.POLYGON)o=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[];else return;i&&o.shift(),o.pop();for(var a=0;a0&&this.getCount()>this.highWaterMark},t.prototype.expireCache=function(e){for(;this.canExpireCache();)this.pop()},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(e){return this.entries_.hasOwnProperty(e)},t.prototype.forEach=function(e){for(var n=this.oldest_;n;)e(n.value_,n.key_,this),n=n.newer},t.prototype.get=function(e,n){var r=this.entries_[e];return Ut(r!==void 0,15),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_},t.prototype.remove=function(e){var n=this.entries_[e];return Ut(n!==void 0,15),n===this.newest_?(this.newest_=n.older,this.newest_&&(this.newest_.newer=null)):n===this.oldest_?(this.oldest_=n.newer,this.oldest_&&(this.oldest_.older=null)):(n.newer.older=n.older,n.older.newer=n.newer),delete this.entries_[e],--this.count_,n.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.key_;return e},t.prototype.getValues=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.peek=function(e){if(this.containsKey(e))return this.entries_[e].value_},t.prototype.pop=function(){var e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_},t.prototype.replace=function(e,n){this.get(e),this.entries_[e].value_=n},t.prototype.set=function(e,n){Ut(!(e in this.entries_),16);var r={key_:e,newer:null,older:this.newest_,value_:n};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[e]=r,++this.count_},t.prototype.setSize=function(e){this.highWaterMark=e},t}();function tH(t,e,n,r){return r!==void 0?(r[0]=t,r[1]=e,r[2]=n,r):[t,e,n]}function g2(t,e,n){return t+"/"+e+"/"+n}function Xoe(t){return g2(t[0],t[1],t[2])}function xBe(t){return t.split("/").map(Number)}function Qoe(t){return(t[1]<n||n>e.getMaxZoom())return!1;var o=e.getFullTileRange(n);return o?o.containsXY(r,i):!0}var _Be=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yoe=function(t){_Be(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.expireCache=function(n){for(;this.canExpireCache();){var r=this.peekLast();if(r.getKey()in n)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(this.getCount()!==0){var n=this.peekFirstKey(),r=xBe(n),i=r[0];this.forEach((function(o){o.tileCoord[0]!==i&&(this.remove(Xoe(o.tileCoord)),o.release())}).bind(this))}},e}(yBe),IB=function(){function t(e,n,r,i){this.minX=e,this.maxX=n,this.minY=r,this.maxY=i}return t.prototype.contains=function(e){return this.containsXY(e[1],e[2])},t.prototype.containsTileRange=function(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY},t.prototype.containsXY=function(e,n){return this.minX<=e&&e<=this.maxX&&this.minY<=n&&n<=this.maxY},t.prototype.equals=function(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY},t.prototype.extend=function(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY},t}();function rm(t,e,n,r,i){return i!==void 0?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=r,i):new IB(t,e,n,r)}var wBe=.5,SBe=10,nH=.25,OBe=function(){function t(e,n,r,i,o,a){this.sourceProj_=e,this.targetProj_=n;var s={},l=jb(this.targetProj_,this.sourceProj_);this.transformInv_=function(x){var b=x[0]+"/"+x[1];return s[b]||(s[b]=l(x)),s[b]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&Kn(i)==Kn(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Kn(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Kn(this.targetProj_.getExtent()):null;var c=Rp(r),u=J5(r),f=Z5(r),d=K5(r),h=this.transformInv_(c),p=this.transformInv_(u),m=this.transformInv_(f),g=this.transformInv_(d),v=SBe+(a?Math.max(0,Math.ceil(tNe(XL(r)/(a*a*256*256)))):0);if(this.addQuad_(c,u,f,d,h,p,m,g,v),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach(function(x,b,_){y=Math.min(y,x.source[0][0],x.source[1][0],x.source[2][0])}),this.triangles_.forEach((function(x){if(Math.max(x.source[0][0],x.source[1][0],x.source[2][0])-y>this.sourceWorldWidth_/2){var b=[[x.source[0][0],x.source[0][1]],[x.source[1][0],x.source[1][1]],[x.source[2][0],x.source[2][1]]];b[0][0]-y>this.sourceWorldWidth_/2&&(b[0][0]-=this.sourceWorldWidth_),b[1][0]-y>this.sourceWorldWidth_/2&&(b[1][0]-=this.sourceWorldWidth_),b[2][0]-y>this.sourceWorldWidth_/2&&(b[2][0]-=this.sourceWorldWidth_);var _=Math.min(b[0][0],b[1][0],b[2][0]),S=Math.max(b[0][0],b[1][0],b[2][0]);S-_.5&&f<1,p=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var m=mG([e,n,r,i]),g=Kn(m)/this.targetWorldWidth_;p=g>nH||p}!h&&this.sourceProj_.isGlobal()&&f&&(p=f>nH||p)}if(!(!p&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!so(u,this.maxSourceExtent_))){var v=0;if(!p&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)p=!0;else if(v=(!isFinite(o[0])||!isFinite(o[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(s[0])||!isFinite(s[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),v!=1&&v!=2&&v!=4&&v!=8)return}if(c>0){if(!p){var y=[(e[0]+r[0])/2,(e[1]+r[1])/2],x=this.transformInv_(y),b=void 0;if(h){var _=(jf(o[0],d)+jf(s[0],d))/2;b=_-jf(x[0],d)}else b=(o[0]+s[0])/2-x[0];var S=(o[1]+s[1])/2-x[1],O=b*b+S*S;p=O>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])){var C=[(n[0]+r[0])/2,(n[1]+r[1])/2],E=this.transformInv_(C),k=[(i[0]+e[0])/2,(i[1]+e[1])/2],I=this.transformInv_(k);this.addQuad_(e,n,C,k,o,a,E,I,c-1),this.addQuad_(k,C,r,i,I,E,s,l,c-1)}else{var P=[(e[0]+n[0])/2,(e[1]+n[1])/2],R=this.transformInv_(P),T=[(r[0]+i[0])/2,(r[1]+i[1])/2],L=this.transformInv_(T);this.addQuad_(e,P,T,i,o,R,L,l,c-1),this.addQuad_(P,n,r,T,R,a,s,L,c-1)}return}}if(h){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}v&11||this.addTriangle_(e,r,i,o,s,l),v&14||this.addTriangle_(e,r,n,o,s,a),v&&(v&13||this.addTriangle_(n,i,e,a,l,o),v&7||this.addTriangle_(n,i,r,a,l,s))}},t.prototype.calculateSourceExtent=function(){var e=Oa();return this.triangles_.forEach(function(n,r,i){var o=n.source;Vx(e,o[0]),Vx(e,o[1]),Vx(e,o[2])}),e},t.prototype.getTriangles=function(){return this.triangles_},t}(),m3={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1},CBe={imageSmoothingEnabled:!0,msImageSmoothingEnabled:!0},XA,Koe=[];function rH(t,e,n,r,i){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(r,i),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,r)+1,Math.max(n,i)),t.restore()}function QA(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function TBe(){if(XA===void 0){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",rH(t,4,5,4,0),rH(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;XA=QA(e,0)||QA(e,4)||QA(e,8)}return XA}function g3(t,e,n,r){var i=a2(n,e,t),o=FT(e,r,n),a=e.getMetersPerUnit();a!==void 0&&(o*=a);var s=t.getMetersPerUnit();s!==void 0&&(o/=s);var l=t.getExtent();if(!l||B1(l,i)){var c=FT(t,o,i)/o;isFinite(c)&&c>0&&(o/=c)}return o}function EBe(t,e,n,r){var i=ed(n),o=g3(t,e,i,r);return(!isFinite(o)||o<=0)&&Y5(n,function(a){return o=g3(t,e,a,r),isFinite(o)&&o>0}),o}function PBe(t,e,n,r,i,o,a,s,l,c,u,f){var d=Ca(Math.round(n*t),Math.round(n*e),Koe);if(f||ur(d,m3),l.length===0)return d.canvas;d.scale(n,n);function h(b){return Math.round(b*n)/n}d.globalCompositeOperation="lighter";var p=Oa();l.forEach(function(b,_,S){Iie(p,b.extent)});var m=Kn(p),g=ps(p),v=Ca(Math.round(n*m/r),Math.round(n*g/r));f||ur(v,m3);var y=n/r;l.forEach(function(b,_,S){var O=b.extent[0]-p[0],C=-(b.extent[3]-p[3]),E=Kn(b.extent),k=ps(b.extent);b.image.width>0&&b.image.height>0&&v.drawImage(b.image,c,c,b.image.width-2*c,b.image.height-2*c,O*y,C*y,E*y,k*y)});var x=Rp(a);return s.getTriangles().forEach(function(b,_,S){var O=b.source,C=b.target,E=O[0][0],k=O[0][1],I=O[1][0],P=O[1][1],R=O[2][0],T=O[2][1],L=h((C[0][0]-x[0])/o),z=h(-(C[0][1]-x[1])/o),B=h((C[1][0]-x[0])/o),U=h(-(C[1][1]-x[1])/o),W=h((C[2][0]-x[0])/o),$=h(-(C[2][1]-x[1])/o),N=E,D=k;E=0,k=0,I-=N,P-=D,R-=N,T-=D;var A=[[I,P,0,0,B-L],[R,T,0,0,W-L],[0,0,I,P,U-z],[0,0,R,T,$-z]],q=rNe(A);if(q){if(d.save(),d.beginPath(),TBe()||!f){d.moveTo(B,U);for(var Y=4,K=L-B,se=z-U,te=0;te=this.minZoom;){if(this.zoomFactor_===2?(a=Math.floor(a/2),s=Math.floor(s/2),o=rm(a,a,s,s,r)):o=this.getTileRangeForExtentAndZ(l,c,r),n(c,o))return!0;--c}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(e){return this.origin_?this.origin_:this.origins_[e]},t.prototype.getResolution=function(e){return this.resolutions_[e]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(e,n,r){if(e[0]this.maxZoom||n0?r:Math.max(a/s[0],o/s[1]),c=i+1,u=new Array(c),f=0;fi.highWaterMark&&(i.highWaterMark=n)},e.prototype.useTile=function(n,r,i,o){},e}(Doe),NBe=function(t){tae(e,t);function e(n,r){var i=t.call(this,n)||this;return i.tile=r,i}return e}(ac);function $Be(t,e){var n=/\{z\}/g,r=/\{x\}/g,i=/\{y\}/g,o=/\{-y\}/g;return function(a,s,l){if(a)return t.replace(n,a[0].toString()).replace(r,a[1].toString()).replace(i,a[2].toString()).replace(o,function(){var c=a[0],u=e.getFullTileRange(c);Ut(u,55);var f=u.getHeight()-a[2]-1;return f.toString()})}}function FBe(t,e){for(var n=t.length,r=new Array(n),i=0;i=0},e.prototype.tileUrlFunction=function(n,r,i){var o=this.getTileGrid();if(o||(o=this.getTileGridForProjection(i)),!(o.getResolutions().length<=n[0])){r!=1&&(!this.hidpi_||this.serverType_===void 0)&&(r=1);var a=o.getResolution(n[0]),s=o.getTileCoordExtent(n,this.tmpExtent_),l=fa(o.getTileSize(n[0]),this.tmpSize),c=this.gutter_;c!==0&&(l=MG(l,c,this.tmpSize),s=$b(s,a*c,s)),r!=1&&(l=yoe(l,r,this.tmpSize));var u={SERVICE:"WMS",VERSION:MS,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return ur(u,this.params_),this.getRequestUrl_(n,l,s,r,i,u)}},e}(nae);function rae(t){return w.jsx(M.Fragment,{children:t.children})}const kS={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};var qBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),XBe=function(t){qBe(e,t);function e(n){var r=this,i=n||{},o=ur({},i);return delete o.preload,delete o.useInterimTilesOnError,r=t.call(this,o)||this,r.on,r.once,r.un,r.setPreload(i.preload!==void 0?i.preload:0),r.setUseInterimTilesOnError(i.useInterimTilesOnError!==void 0?i.useInterimTilesOnError:!0),r}return e.prototype.getPreload=function(){return this.get(kS.PRELOAD)},e.prototype.setPreload=function(n){this.set(kS.PRELOAD,n)},e.prototype.getUseInterimTilesOnError=function(){return this.get(kS.USE_INTERIM_TILES_ON_ERROR)},e.prototype.setUseInterimTilesOnError=function(n){this.set(kS.USE_INTERIM_TILES_ON_ERROR,n)},e.prototype.getData=function(n){return t.prototype.getData.call(this,n)},e}(d2),QBe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),YBe=function(t){QBe(e,t);function e(n){var r=t.call(this,n)||this;return r.extentChanged=!0,r.renderedExtent_=null,r.renderedPixelRatio,r.renderedProjection=null,r.renderedRevision,r.renderedTiles=[],r.newTiles_=!1,r.tmpExtent=Oa(),r.tmpTileRange_=new IB(0,0,0,0),r}return e.prototype.isDrawableTile=function(n){var r=this.getLayer(),i=n.getState(),o=r.getUseInterimTilesOnError();return i==St.LOADED||i==St.EMPTY||i==St.ERROR&&!o},e.prototype.getTile=function(n,r,i,o){var a=o.pixelRatio,s=o.viewState.projection,l=this.getLayer(),c=l.getSource(),u=c.getTile(n,r,i,a,s);return u.getState()==St.ERROR&&(l.getUseInterimTilesOnError()?l.getPreload()>0&&(this.newTiles_=!0):u.setState(St.LOADED)),this.isDrawableTile(u)||(u=u.getInterimTile()),u},e.prototype.getData=function(n){var r=this.frameState;if(!r)return null;var i=this.getLayer(),o=Cr(r.pixelToCoordinateTransform,n.slice()),a=i.getExtent();if(a&&!B1(a,o))return null;for(var s=r.pixelRatio,l=r.viewState.projection,c=r.viewState,u=i.getRenderSource(),f=u.getTileGridForProjection(c.projection),d=u.getTilePixelRatio(r.pixelRatio),h=f.getZForResolution(c.resolution);h>=f.getMinZoom();--h){var p=f.getTileCoordForCoordAndZ(o,h),m=u.getTile(h,p[1],p[2],s,l);if(!(m instanceof OB||m instanceof Zoe))return null;if(m.getState()===St.LOADED){var g=f.getOrigin(h),v=fa(f.getTileSize(h)),y=f.getResolution(h),x=Math.floor(d*((o[0]-g[0])/y-p[1]*v[0])),b=Math.floor(d*((g[1]-o[1])/y-p[2]*v[1])),_=Math.round(d*u.getGutterForProjection(c.projection));return this.getImageData(m.getImage(),x+_,b+_)}}return null},e.prototype.loadedTileCallback=function(n,r,i){return this.isDrawableTile(i)?t.prototype.loadedTileCallback.call(this,n,r,i):!1},e.prototype.prepareFrame=function(n){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(n,r){var i=n.layerStatesArray[n.layerIndex],o=n.viewState,a=o.projection,s=o.resolution,l=o.center,c=o.rotation,u=n.pixelRatio,f=this.getLayer(),d=f.getSource(),h=d.getRevision(),p=d.getTileGridForProjection(a),m=p.getZForResolution(s,d.zDirection),g=p.getResolution(m),v=n.extent,y=n.viewState.resolution,x=d.getTilePixelRatio(u),b=Math.round(Kn(v)/y*u),_=Math.round(ps(v)/y*u),S=i.extent&&xh(i.extent);S&&(v=Gx(v,xh(i.extent)));var O=g*b/2/x,C=g*_/2/x,E=[l[0]-O,l[1]-C,l[0]+O,l[1]+C],k=p.getTileRangeForExtentAndZ(v,m),I={};I[m]={};var P=this.createLoadedTileFinder(d,a,I),R=this.tmpExtent,T=this.tmpTileRange_;this.newTiles_=!1;for(var L=c?YL(o.center,y,c,n.size):void 0,z=k.minX;z<=k.maxX;++z)for(var B=k.minY;B<=k.maxY;++B)if(!(c&&!p.tileCoordIntersectsViewport([m,z,B],L))){var U=this.getTile(m,z,B,n);if(this.isDrawableTile(U)){var W=vn(this);if(U.getState()==St.LOADED){I[m][U.tileCoord.toString()]=U;var $=U.inTransition(W);$&&i.opacity!==1&&(U.endTransition(W),$=!1),!this.newTiles_&&($||this.renderedTiles.indexOf(U)===-1)&&(this.newTiles_=!0)}if(U.getAlpha(W,n.time)===1)continue}var N=p.getTileCoordChildTileRange(U.tileCoord,T,R),D=!1;N&&(D=P(m+1,N)),D||p.forEachTileCoordParentTileRange(U.tileCoord,P,T,R)}var A=g/s*u/x;hu(this.pixelTransform,n.size[0]/2,n.size[1]/2,1/u,1/u,c,-b/2,-_/2);var q=kie(this.pixelTransform);this.useContainer(r,q,this.getBackground(n));var Y=this.context,K=Y.canvas;X5(this.inversePixelTransform,this.pixelTransform),hu(this.tempTransform,b/2,_/2,A,A,0,-b/2,-_/2),K.width!=b||K.height!=_?(K.width=b,K.height=_):this.containerReused||Y.clearRect(0,0,b,_),S&&this.clipUnrotated(Y,n,S),d.getInterpolate()||ur(Y,m3),this.preRender(Y,n),this.renderedTiles.length=0;var se=Object.keys(I).map(Number);se.sort(rp);var te,J,pe;i.opacity===1&&(!this.containerReused||d.getOpaque(n.viewState.projection))?se=se.reverse():(te=[],J=[]);for(var be=se.length-1;be>=0;--be){var re=se[be],ve=d.getTilePixelSize(re,u,a),F=p.getResolution(re),ce=F/g,le=ve[0]*ce*A,Q=ve[1]*ce*A,X=p.getTileCoordForCoordAndZ(Rp(E),re),ee=p.getTileCoordExtent(X),ge=Cr(this.tempTransform,[x*(ee[0]-E[0])/g,x*(E[3]-ee[3])/g]),ye=x*d.getGutterForProjection(a),H=I[re];for(var G in H){var U=H[G],ie=U.tileCoord,he=X[1]-ie[1],_e=Math.round(ge[0]-(he-1)*le),oe=X[2]-ie[2],Z=Math.round(ge[1]-(oe-1)*Q),z=Math.round(ge[0]-he*le),B=Math.round(ge[1]-oe*Q),V=_e-z,de=Z-B,xe=m===re,$=xe&&U.getAlpha(vn(this),n.time)!==1,Me=!1;if(!$)if(te){pe=[z,B,z+V,B,z+V,B+de,z,B+de];for(var me=0,$e=te.length;me<$e;++me)if(m!==re&&re{const r=this.props.onClick;r&&r(n)});Yt(this,"handleDrop",n=>{if(this.props.onDropFiles){n.preventDefault();const r=[];if(n.dataTransfer.items)for(let i=0;i{this.props.onDropFiles&&n.preventDefault()});Yt(this,"handleRef",n=>{this.contextValue.mapDiv=n});Yt(this,"handleResize",()=>{const n=this.contextValue.mapDiv,r=this.contextValue.map;if(n&&r){r.updateSize();const i=r.getView(),o=this.getMinZoom(n);o!==i.getMinZoom()&&i.setMinZoom(o)}});Yt(this,"getMinZoom",n=>{const r=n.clientWidth,i=Math.LOG2E*Math.log(r/256);return i>=0?i:0});const{id:r,mapObjects:i}=n;i?this.contextValue={map:i[r]||void 0,mapObjects:i}:this.contextValue={mapObjects:{}}}componentDidMount(){const{id:n}=this.props,r=this.contextValue.mapDiv;let i=null;if(this.props.isStale){const a=this.contextValue.mapObjects[n];a instanceof eH&&(i=a,i.setTarget(r),this.clickEventsKey&&i.un("click",this.clickEventsKey.listener))}if(!i){const a=this.getMinZoom(r),s=new Uc({projection:oae,center:[0,0],minZoom:a,zoom:a});i=new eH({view:s,...this.getMapOptions(),target:r})}this.contextValue.map=i,this.contextValue.mapObjects[n]=i,this.clickEventsKey=i.on("click",this.handleClick),i.updateSize(),this.forceUpdate(),window.addEventListener("resize",this.handleResize);const o=this.props.onMapRef;o&&o(i)}componentDidUpdate(n){const r=this.contextValue.map,i=this.contextValue.mapDiv,o=this.getMapOptions();r.setProperties({...o}),r.setTarget(i),r.updateSize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize);const n=this.props.onMapRef;n&&n(null)}render(){let n;return this.contextValue.map&&(n=w.jsx(aae.Provider,{value:this.contextValue,children:this.props.children})),w.jsx("div",{ref:this.handleRef,style:tze,onDragOver:this.handleDragOver,onDrop:this.handleDrop,children:n})}getMapOptions(){const n={...this.props};return delete n.children,delete n.onClick,delete n.onDropFiles,n}};class my extends M.PureComponent{constructor(){super(...arguments);Yt(this,"context",{});Yt(this,"object",null)}getMapObject(n){return this.context.mapObjects&&this.context.mapObjects[n]||null}getOptions(){const n={...this.props};return delete n.id,n}componentDidMount(){this._updateMapObject(this.addMapObject(this.context.map))}componentDidUpdate(n){this._updateMapObject(this.updateMapObject(this.context.map,this.object,n))}componentWillUnmount(){const n=this.context.map;this.removeMapObject(n,this.object),this.props.id&&delete this.context.mapObjects[this.props.id],this.object=null}_updateMapObject(n){n!=null&&this.props.id&&(n.set("objectId",this.props.id),this.context.mapObjects[this.props.id]=n),this.object=n}render(){return null}}Yt(my,"contextType",aae);function sae(t,e,n){im(t,e,n,"visible",!0),im(t,e,n,"opacity",1),im(t,e,n,"zIndex",void 0),im(t,e,n,"extent",void 0),im(t,e,n,"minResolution",void 0),im(t,e,n,"maxResolution",void 0)}function im(t,e,n,r,i){const o=oH(e[r],i),a=oH(n[r],i);o!==a&&t.set(r,a)}function oH(t,e){return t===void 0?e:t}let So;So=()=>{};class lae extends my{addMapObject(e){const n=new iae(this.props);return n.set("id",this.props.id),e.getLayers().push(n),n}updateMapObject(e,n,r){const i=n.getSource(),o=this.props.source||null;if(i===o)return n;if(o!==null&&i!==o){let a=!0;if(i instanceof v3&&o instanceof v3){const c=i,u=o,f=c.getTileGrid(),d=u.getTileGrid();if(rze(f,d)){So("--> Equal tile grids!");const h=c.getUrls(),p=u.getUrls();h!==p&&p&&(h===null||h[0]!==p[0])&&(c.setUrls(p),a=!1);const m=c.getTileLoadFunction(),g=u.getTileLoadFunction();m!==g&&(c.setTileLoadFunction(g),a=!1);const v=c.getTileUrlFunction(),y=u.getTileUrlFunction();v!==y&&(c.setTileUrlFunction(y),a=!1)}else So("--> Tile grids are not equal!")}const s=i==null?void 0:i.getInterpolate(),l=o==null?void 0:o.getInterpolate();s!==l&&(a=!0),a?(n.setSource(o),So("--> Replaced source (expect flickering!)")):So("--> Updated source (check, is it still flickering?)")}return sae(n,r,this.props),n}removeMapObject(e,n){e.getLayers().remove(n)}}new hy({url:"https://a.tiles.mapbox.com/v3/mapbox.natural-earth-2/{z}/{x}/{y}.png",attributions:["© MapBox","© MapBox and contributors"]});new hy({url:"https://gis.ngdc.noaa.gov/arcgis/rest/services/web_mercator/gebco_2014_contours/MapServer/tile/{z}/{y}/{x}",attributions:["© GEBCO","© NOAHH and contributors"]});new eze;new hy({url:"https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",attributions:["© OpenStreetMap contributors"]});function rze(t,e){if(t===e)return!0;if(t===null||e===null||(So("tile grid:",t,e),So("min zoom:",t.getMinZoom(),e.getMinZoom()),So("max zoom:",t.getMaxZoom(),e.getMaxZoom()),t.getMinZoom()!==e.getMinZoom()||t.getMaxZoom()!==e.getMaxZoom()))return!1;const n=t.getExtent(),r=e.getExtent();So("extent:",n,r);for(let s=0;s=t[i])return i;let o=Math.floor(n/2),a;for(let s=0;sa)[r,o]=[o,Math.floor((o+i)/2)];else return o;if(r===o||o===i)return Math.abs(t[r]-e)<=Math.abs(t[i]-e)?r:i}return-1}function On(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function tt(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function nt(t){tt(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||uu(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function y3(t,e){tt(2,arguments);var n=nt(t),r=On(e);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function IC(t,e){tt(2,arguments);var n=nt(t),r=On(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function y2(t,e){tt(2,arguments);var n=nt(t).getTime(),r=On(e);return new Date(n+r)}var ize=36e5;function oze(t,e){tt(2,arguments);var n=On(e);return y2(t,n*ize)}var aze={};function _d(){return aze}function KA(t,e){var n,r,i,o,a,s,l,c;tt(1,arguments);var u=_d(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getDay(),p=(h0?1:i}var x2=6e4,b2=36e5,hze=1e3;function pze(t,e){tt(2,arguments);var n=ov(t),r=ov(e);return n.getTime()===r.getTime()}function mze(t){return tt(1,arguments),t instanceof Date||uu(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function uae(t){if(tt(1,arguments),!mze(t)&&typeof t!="number")return!1;var e=nt(t);return!isNaN(Number(e))}function gze(t,e){tt(2,arguments);var n=nt(t),r=nt(e),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}function vze(t,e){tt(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()-r.getFullYear()}function sH(t,e){var n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function fae(t,e){tt(2,arguments);var n=nt(t),r=nt(e),i=sH(n,r),o=Math.abs(lze(n,r));n.setDate(n.getDate()-i*o);var a=+(sH(n,r)===-i),s=i*(o-a);return s===0?0:s}function _2(t,e){return tt(2,arguments),nt(t).getTime()-nt(e).getTime()}var lH={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},yze="trunc";function K1(t){return t?lH[t]:lH[yze]}function xze(t,e,n){tt(2,arguments);var r=_2(t,e)/b2;return K1(void 0)(r)}function bze(t,e,n){tt(2,arguments);var r=_2(t,e)/x2;return K1(void 0)(r)}function x3(t){tt(1,arguments);var e=nt(t);return e.setHours(23,59,59,999),e}function b3(t){tt(1,arguments);var e=nt(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function _ze(t){tt(1,arguments);var e=nt(t);return x3(e).getTime()===b3(e).getTime()}function dae(t,e){tt(2,arguments);var n=nt(t),r=nt(e),i=qx(n,r),o=Math.abs(gze(n,r)),a;if(o<1)a=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*o);var s=qx(n,r)===-i;_ze(nt(t))&&o===1&&qx(t,r)===1&&(s=!1),a=i*(o-Number(s))}return a===0?0:a}function wze(t,e,n){tt(2,arguments);var r=dae(t,e)/3;return K1(void 0)(r)}function Sze(t,e,n){tt(2,arguments);var r=_2(t,e)/1e3;return K1(void 0)(r)}function Oze(t,e,n){tt(2,arguments);var r=fae(t,e)/7;return K1(void 0)(r)}function Cze(t,e){tt(2,arguments);var n=nt(t),r=nt(e),i=qx(n,r),o=Math.abs(vze(n,r));n.setFullYear(1584),r.setFullYear(1584);var a=qx(n,r)===-i,s=i*(o-Number(a));return s===0?0:s}function Tze(t,e){var n;tt(1,arguments);var r=t||{},i=nt(r.start),o=nt(r.end),a=o.getTime();if(!(i.getTime()<=a))throw new RangeError("Invalid interval");var s=[],l=i;l.setHours(0,0,0,0);var c=Number((n=void 0)!==null&&n!==void 0?n:1);if(c<1||isNaN(c))throw new RangeError("`options.step` must be a number greater than 1");for(;l.getTime()<=a;)s.push(nt(l)),l.setDate(l.getDate()+c),l.setHours(0,0,0,0);return s}function AS(t){tt(1,arguments);var e=nt(t);return e.setDate(1),e.setHours(0,0,0,0),e}function ZA(t){tt(1,arguments);var e=nt(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e}function RS(t){tt(1,arguments);var e=nt(t),n=new Date(0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function JA(t,e){var n,r,i,o,a,s,l,c;tt(1,arguments);var u=_d(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getDay(),p=(h=i.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function Mze(t){tt(1,arguments);var e=pae(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=av(n);return r}var kze=6048e5;function mae(t){tt(1,arguments);var e=nt(t),n=av(e).getTime()-Mze(e).getTime();return Math.round(n/kze)+1}function ap(t,e){var n,r,i,o,a,s,l,c;tt(1,arguments);var u=_d(),f=On((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=nt(t),h=d.getUTCDay(),p=(h=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var m=ap(p,e),g=new Date(0);g.setUTCFullYear(f,0,h),g.setUTCHours(0,0,0,0);var v=ap(g,e);return u.getTime()>=m.getTime()?f+1:u.getTime()>=v.getTime()?f:f-1}function Aze(t,e){var n,r,i,o,a,s,l,c;tt(1,arguments);var u=_d(),f=On((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(a=e.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=$B(t,e),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var p=ap(h,e);return p}var Rze=6048e5;function gae(t,e){tt(1,arguments);var n=nt(t),r=ap(n,e).getTime()-Aze(n,e).getTime();return Math.round(r/Rze)+1}function Ht(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length0?r:1-r;return Ht(n==="yy"?i%100:i,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):Ht(r+1,2)},d:function(e,n){return Ht(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return Ht(e.getUTCHours()%12||12,n.length)},H:function(e,n){return Ht(e.getUTCHours(),n.length)},m:function(e,n){return Ht(e.getUTCMinutes(),n.length)},s:function(e,n){return Ht(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return Ht(o,n.length)}},om={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ize={G:function(e,n,r){var i=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return $u.y(e,n)},Y:function(e,n,r,i){var o=$B(e,i),a=o>0?o:1-o;if(n==="YY"){var s=a%100;return Ht(s,2)}return n==="Yo"?r.ordinalNumber(a,{unit:"year"}):Ht(a,n.length)},R:function(e,n){var r=pae(e);return Ht(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return Ht(r,n.length)},Q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return Ht(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return Ht(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,r){var i=e.getUTCMonth();switch(n){case"M":case"MM":return $u.M(e,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,r){var i=e.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return Ht(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,r,i){var o=gae(e,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):Ht(o,n.length)},I:function(e,n,r){var i=mae(e);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):Ht(i,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):$u.d(e,n)},D:function(e,n,r){var i=Pze(e);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):Ht(i,n.length)},E:function(e,n,r){var i=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,r,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(a);case"ee":return Ht(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,r,i){var o=e.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(a);case"cc":return Ht(a,n.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,r){var i=e.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return Ht(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,r){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,r){var i=e.getUTCHours(),o;switch(i===12?o=om.noon:i===0?o=om.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,r){var i=e.getUTCHours(),o;switch(i>=17?o=om.evening:i>=12?o=om.afternoon:i>=4?o=om.morning:o=om.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return $u.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):$u.H(e,n)},K:function(e,n,r){var i=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):Ht(i,n.length)},k:function(e,n,r){var i=e.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):Ht(i,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):$u.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):$u.s(e,n)},S:function(e,n){return $u.S(e,n)},X:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return uH(a);case"XXXX":case"XX":return Jd(a);case"XXXXX":case"XXX":default:return Jd(a,":")}},x:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"x":return uH(a);case"xxxx":case"xx":return Jd(a);case"xxxxx":case"xxx":default:return Jd(a,":")}},O:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+cH(a,":");case"OOOO":default:return"GMT"+Jd(a,":")}},z:function(e,n,r,i){var o=i._originalDate||e,a=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+cH(a,":");case"zzzz":default:return"GMT"+Jd(a,":")}},t:function(e,n,r,i){var o=i._originalDate||e,a=Math.floor(o.getTime()/1e3);return Ht(a,n.length)},T:function(e,n,r,i){var o=i._originalDate||e,a=o.getTime();return Ht(a,n.length)}};function cH(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var a=e;return n+String(i)+a+Ht(o,2)}function uH(t,e){if(t%60===0){var n=t>0?"-":"+";return n+Ht(Math.abs(t)/60,2)}return Jd(t,e)}function Jd(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=Ht(Math.floor(i/60),2),a=Ht(i%60,2);return r+o+n+a}var fH=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},vae=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},Dze=function(e,n){var r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return fH(e,n);var a;switch(i){case"P":a=n.dateTime({width:"short"});break;case"PP":a=n.dateTime({width:"medium"});break;case"PPP":a=n.dateTime({width:"long"});break;case"PPPP":default:a=n.dateTime({width:"full"});break}return a.replace("{{date}}",fH(i,n)).replace("{{time}}",vae(o,n))},_3={p:vae,P:Dze},Lze=["D","DD"],Nze=["YY","YYYY"];function yae(t){return Lze.indexOf(t)!==-1}function xae(t){return Nze.indexOf(t)!==-1}function ZT(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var $ze={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Fze=function(e,n,r){var i,o=$ze[e];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function eR(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var jze={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Bze={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zze={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Uze={date:eR({formats:jze,defaultWidth:"full"}),time:eR({formats:Bze,defaultWidth:"full"}),dateTime:eR({formats:zze,defaultWidth:"full"})},Wze={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Vze=function(e,n,r,i){return Wze[e]};function w0(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=n!=null&&n.width?String(n.width):o;i=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[l]||t.values[s]}var c=t.argumentCallback?t.argumentCallback(e):e;return i[c]}}var Gze={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hze={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qze={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Xze={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Qze={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Yze={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Kze=function(e,n){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Zze={ordinalNumber:Kze,era:w0({values:Gze,defaultWidth:"wide"}),quarter:w0({values:Hze,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:w0({values:qze,defaultWidth:"wide"}),day:w0({values:Xze,defaultWidth:"wide"}),dayPeriod:w0({values:Qze,defaultWidth:"wide",formattingValues:Yze,defaultFormattingWidth:"wide"})};function S0(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?e4e(s,function(f){return f.test(a)}):Jze(s,function(f){return f.test(a)}),c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=e.slice(a.length);return{value:c,rest:u}}}function Jze(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function e4e(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;var s=e.slice(i.length);return{value:a,rest:s}}}var n4e=/^(\d+)(th|st|nd|rd)?/i,r4e=/\d+/i,i4e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},o4e={any:[/^b/i,/^(a|c)/i]},a4e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},s4e={any:[/1/i,/2/i,/3/i,/4/i]},l4e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},c4e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},u4e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},f4e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},d4e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},h4e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},p4e={ordinalNumber:t4e({matchPattern:n4e,parsePattern:r4e,valueCallback:function(e){return parseInt(e,10)}}),era:S0({matchPatterns:i4e,defaultMatchWidth:"wide",parsePatterns:o4e,defaultParseWidth:"any"}),quarter:S0({matchPatterns:a4e,defaultMatchWidth:"wide",parsePatterns:s4e,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:S0({matchPatterns:l4e,defaultMatchWidth:"wide",parsePatterns:c4e,defaultParseWidth:"any"}),day:S0({matchPatterns:u4e,defaultMatchWidth:"wide",parsePatterns:f4e,defaultParseWidth:"any"}),dayPeriod:S0({matchPatterns:d4e,defaultMatchWidth:"any",parsePatterns:h4e,defaultParseWidth:"any"})},w2={code:"en-US",formatDistance:Fze,formatLong:Uze,formatRelative:Vze,localize:Zze,match:p4e,options:{weekStartsOn:0,firstWeekContainsDate:1}},m4e=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,g4e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,v4e=/^'([^]*?)'?$/,y4e=/''/g,x4e=/[a-zA-Z]/;function b4e(t,e,n){var r,i,o,a,s,l,c,u,f,d,h,p,m,g,v,y,x,b;tt(2,arguments);var _=String(e),S=_d(),O=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:S.locale)!==null&&r!==void 0?r:w2,C=On((o=(a=(s=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:S.firstWeekContainsDate)!==null&&a!==void 0?a:(f=S.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=On((h=(p=(m=(g=n==null?void 0:n.weekStartsOn)!==null&&g!==void 0?g:n==null||(v=n.locale)===null||v===void 0||(y=v.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&m!==void 0?m:S.weekStartsOn)!==null&&p!==void 0?p:(x=S.locale)===null||x===void 0||(b=x.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&h!==void 0?h:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var k=nt(t);if(!uae(k))throw new RangeError("Invalid time value");var I=KT(k),P=hae(k,I),R={firstWeekContainsDate:C,weekStartsOn:E,locale:O,_originalDate:k},T=_.match(g4e).map(function(L){var z=L[0];if(z==="p"||z==="P"){var B=_3[z];return B(L,O.formatLong)}return L}).join("").match(m4e).map(function(L){if(L==="''")return"'";var z=L[0];if(z==="'")return _4e(L);var B=Ize[z];if(B)return!(n!=null&&n.useAdditionalWeekYearTokens)&&xae(L)&&ZT(L,e,String(t)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&yae(L)&&ZT(L,e,String(t)),B(P,L,O.localize,R);if(z.match(x4e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return L}).join("");return T}function _4e(t){var e=t.match(v4e);return e?e[1].replace(y4e,"'"):t}function w4e(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function S4e(t,e){var n,r;tt(1,arguments);var i=nt(t);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var o=String((n=e==null?void 0:e.format)!==null&&n!==void 0?n:"extended"),a=String((r=e==null?void 0:e.representation)!==null&&r!==void 0?r:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(a!=="date"&&a!=="time"&&a!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="",c=o==="extended"?"-":"",u=o==="extended"?":":"";if(a!=="time"){var f=Ht(i.getDate(),2),d=Ht(i.getMonth()+1,2),h=Ht(i.getFullYear(),4);s="".concat(h).concat(c).concat(d).concat(c).concat(f)}if(a!=="date"){var p=i.getTimezoneOffset();if(p!==0){var m=Math.abs(p),g=Ht(Math.floor(m/60),2),v=Ht(m%60,2),y=p<0?"+":"-";l="".concat(y).concat(g,":").concat(v)}else l="Z";var x=Ht(i.getHours(),2),b=Ht(i.getMinutes(),2),_=Ht(i.getSeconds(),2),S=s===""?"":"T",O=[x,b,_].join(u);s="".concat(s).concat(S).concat(O).concat(l)}return s}function O4e(t){tt(1,arguments);var e=nt(t),n=e.getDate();return n}function C4e(t){tt(1,arguments);var e=nt(t),n=e.getDay();return n}function bae(t){tt(1,arguments);var e=nt(t),n=e.getFullYear(),r=e.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function T4e(t){tt(1,arguments);var e=nt(t),n=e.getHours();return n}function E4e(t){tt(1,arguments);var e=nt(t),n=e.getMinutes();return n}function P4e(t){tt(1,arguments);var e=nt(t),n=e.getMonth();return n}function M4e(t){tt(1,arguments);var e=nt(t),n=e.getSeconds();return n}function k4e(t){return tt(1,arguments),nt(t).getFullYear()}function IS(t,e){tt(2,arguments);var n=nt(t),r=nt(e);return n.getTime()>r.getTime()}function am(t,e){tt(2,arguments);var n=nt(t),r=nt(e);return n.getTime()t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,o=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function cn(t,e){if(typeof e!="function"&&e!==null)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&&ET(t,e)}function JT(t){return JT=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},JT(t)}function wae(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(wae=function(){return!!t})()}function R4e(t,e){if(e&&(uu(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lt(t)}function un(t){var e=wae();return function(){var n,r=JT(t);if(e){var i=JT(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return R4e(this,n)}}function tn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I4e(t,e){for(var n=0;n0,r=n?e:1-e,i;if(r<=50)i=t||100;else{var o=r+50,a=Math.floor(o/100)*100,s=t>=o%100;i=t+a-(s?100:0)}return n?i:1-i}function Tae(t){return t%400===0||t%4===0&&t%100!==0}var F4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(i,o,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var l=Cae(a.year,s);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var c=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(_n),j4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a0}},{key:"set",value:function(i,o,a,s){var l=$B(i,s);if(a.isTwoDigitYear){var c=Cae(a.year,l);return i.setUTCFullYear(c,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ap(i,s)}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ap(i,s)}}]),n}(_n),B4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(_n),W4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(_n),V4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(_n),G4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),n}(_n);function H4e(t,e,n){tt(2,arguments);var r=nt(t),i=On(e),o=gae(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}var q4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=53}},{key:"set",value:function(i,o,a,s){return ap(H4e(i,a,s),s)}}]),n}(_n);function X4e(t,e){tt(2,arguments);var n=nt(t),r=On(e),i=mae(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}var Q4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=53}},{key:"set",value:function(i,o,a){return av(X4e(i,a))}}]),n}(_n),Y4e=[31,28,31,30,31,30,31,31,30,31,30,31],K4e=[31,29,31,30,31,30,31,31,30,31,30,31],Z4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=K4e[l]:o>=1&&o<=Y4e[l]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),n}(_n),J4e=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),n}(_n);function jB(t,e,n){var r,i,o,a,s,l,c,u;tt(2,arguments);var f=_d(),d=On((r=(i=(o=(a=n==null?void 0:n.weekStartsOn)!==null&&a!==void 0?a:n==null||(s=n.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&i!==void 0?i:(c=f.locale)===null||c===void 0||(u=c.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=nt(t),p=On(e),m=h.getUTCDay(),g=p%7,v=(g+7)%7,y=(v=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jB(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(_n),tUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jB(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(_n),nUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jB(i,a,s),i.setUTCHours(0,0,0,0),i}}]),n}(_n);function rUe(t,e){tt(2,arguments);var n=On(e);n%7===0&&(n=n-7);var r=1,i=nt(t),o=i.getUTCDay(),a=n%7,s=(a+7)%7,l=(s=1&&o<=7}},{key:"set",value:function(i,o,a){return i=rUe(i,a),i.setUTCHours(0,0,0,0),i}}]),n}(_n),oUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=12}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):!s&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(_n),cUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),n}(_n),uUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=11}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),n}(_n),fUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&o<=24}},{key:"set",value:function(i,o,a){var s=a<=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),n}(_n),dUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),n}(_n),hUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),n}(_n),pUe=function(t){cn(n,t);var e=un(n);function n(){var r;tn(this,n);for(var i=arguments.length,o=new Array(i),a=0;a=1&&k<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=On((p=(m=(g=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(y=r.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&g!==void 0?g:C.weekStartsOn)!==null&&m!==void 0?m:(b=C.locale)===null||b===void 0||(_=b.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&p!==void 0?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(O==="")return S===""?nt(n):new Date(NaN);var P={firstWeekContainsDate:k,weekStartsOn:I,locale:E},R=[new N4e],T=O.match(_Ue).map(function(te){var J=te[0];if(J in _3){var pe=_3[J];return pe(te,E.formatLong)}return te}).join("").match(bUe),L=[],z=dH(T),B;try{var U=function(){var J=B.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&xae(J)&&ZT(J,O,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&yae(J)&&ZT(J,O,t);var pe=J[0],be=xUe[pe];if(be){var re=be.incompatibleTokens;if(Array.isArray(re)){var ve=L.find(function(ce){return re.includes(ce.token)||ce.token===pe});if(ve)throw new RangeError("The format string mustn't contain `".concat(ve.fullToken,"` and `").concat(J,"` at the same time"))}else if(be.incompatibleTokens==="*"&&L.length>0)throw new RangeError("The format string mustn't contain `".concat(J,"` and any other token at the same time"));L.push({token:pe,fullToken:J});var F=be.run(S,J,E.match,P);if(!F)return{v:new Date(NaN)};R.push(F.setter),S=F.rest}else{if(pe.match(CUe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+pe+"`");if(J==="''"?J="'":pe==="'"&&(J=EUe(J)),S.indexOf(J)===0)S=S.slice(J.length);else return{v:new Date(NaN)}}};for(z.s();!(B=z.n()).done;){var W=U();if(uu(W)==="object")return W.v}}catch(te){z.e(te)}finally{z.f()}if(S.length>0&&OUe.test(S))return new Date(NaN);var $=R.map(function(te){return te.priority}).sort(function(te,J){return J-te}).filter(function(te,J,pe){return pe.indexOf(te)===J}).map(function(te){return R.filter(function(J){return J.priority===te}).sort(function(J,pe){return pe.subPriority-J.subPriority})}).map(function(te){return te[0]}),N=nt(n);if(isNaN(N.getTime()))return new Date(NaN);var D=hae(N,KT(N)),A={},q=dH($),Y;try{for(q.s();!(Y=q.n()).done;){var K=Y.value;if(!K.validate(D,P))return new Date(NaN);var se=K.set(D,A,P);Array.isArray(se)?(D=se[0],w4e(A,se[1])):D=se}}catch(te){q.e(te)}finally{q.f()}return D}function EUe(t){return t.match(wUe)[1].replace(SUe,"'")}function hH(t){tt(1,arguments);var e=nt(t);return e.setMinutes(0,0,0),e}function PUe(t,e){tt(2,arguments);var n=hH(t),r=hH(e);return n.getTime()===r.getTime()}function MUe(t,e){tt(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function kUe(t,e){tt(2,arguments);var n=nt(t),r=nt(e);return n.getFullYear()===r.getFullYear()}function AUe(t,e){tt(2,arguments);var n=nt(t).getTime(),r=nt(e.start).getTime(),i=nt(e.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function Eae(t,e){var n;tt(1,arguments);var r=On((n=void 0)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=LUe(t),o;if(i.date){var a=NUe(i.date,r);o=$Ue(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),l=0,c;if(i.time&&(l=FUe(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(c=jUe(i.timezone),isNaN(c))return new Date(NaN)}else{var u=new Date(s+l),f=new Date(0);return f.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),f.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),f}return new Date(s+l+c)}var DS={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},RUe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,IUe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,DUe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function LUe(t){var e={},n=t.split(DS.dateTimeDelimiter),r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],DS.timeZoneDelimiter.test(e.date)&&(e.date=t.split(DS.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){var i=DS.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function NUe(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:t.slice((r[1]||r[2]).length)}}function $Ue(t,e){if(e===null)return new Date(NaN);var n=t.match(RUe);if(!n)return new Date(NaN);var r=!!n[4],i=O0(n[1]),o=O0(n[2])-1,a=O0(n[3]),s=O0(n[4]),l=O0(n[5])-1;if(r)return VUe(e,s,l)?BUe(e,s,l):new Date(NaN);var c=new Date(0);return!UUe(e,o,a)||!WUe(e,i)?new Date(NaN):(c.setUTCFullYear(e,o,Math.max(i,a)),c)}function O0(t){return t?parseInt(t):1}function FUe(t){var e=t.match(IUe);if(!e)return NaN;var n=tR(e[1]),r=tR(e[2]),i=tR(e[3]);return GUe(n,r,i)?n*b2+r*x2+i*1e3:NaN}function tR(t){return t&&parseFloat(t.replace(",","."))||0}function jUe(t){if(t==="Z")return 0;var e=t.match(DUe);if(!e)return 0;var n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return HUe(r,i)?n*(r*b2+i*x2):NaN}function BUe(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var zUe=[31,null,31,30,31,30,31,31,30,31,30,31];function Pae(t){return t%400===0||t%4===0&&t%100!==0}function UUe(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(zUe[e]||(Pae(t)?29:28))}function WUe(t,e){return e>=1&&e<=(Pae(t)?366:365)}function VUe(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function GUe(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function HUe(t,e){return e>=0&&e<=59}function qUe(t,e){tt(2,arguments);var n=nt(t),r=On(e),i=n.getFullYear(),o=n.getDate(),a=new Date(0);a.setFullYear(i,r,15),a.setHours(0,0,0,0);var s=bae(a);return n.setMonth(r,Math.min(o,s)),n}function XUe(t,e){tt(2,arguments);var n=nt(t),r=On(e);return n.setDate(r),n}function QUe(t,e){tt(2,arguments);var n=nt(t),r=On(e);return n.setHours(r),n}function YUe(t,e){tt(2,arguments);var n=nt(t),r=On(e);return n.setMinutes(r),n}function KUe(t,e){tt(2,arguments);var n=nt(t),r=On(e);return n.setSeconds(r),n}function ZUe(t,e){tt(2,arguments);var n=nt(t),r=On(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function Mae(t){return t.getTimezoneOffset()*6e4}function JUe(t){return t.getTime()-Mae(t)}function nR(t){const e=new Date(t);return new Date(e.getTime()+Mae(e))}function Xb(t){return new Date(t).toISOString().substring(0,10)}function gy(t){return kae(new Date(t).toISOString())}function kae(t){return t.substring(0,19).replace("T"," ")}const Aae={seconds:1e3,minutes:1e3*60,hours:1e3*60*60,days:1e3*60*60*24,weeks:1e3*60*60*24*7,years:1e3*60*60*24*365};function e6e(t,e){return t===e?!0:t!==null&&e!=null?t[0]===e[0]&&t[1]===e[1]:!1}function t6e(t,e){const n=new Set,r=new Set,i={};for(const l of t)for(const c of l.timeSeriesArray){const{placeId:u,datasetId:f,variableName:d,valueDataKey:h,errorDataKey:p}=c.source;u!==null&&r.add(u);const m=`${f}.${d}.${h}`;n.add(m);let g=null;p&&(g=`${f}.${d}.${p}`,n.add(g)),c.data.forEach(v=>{const y=gy(v.time),x=`${u!==null?u:f}-${y}`,b=i[x];b?i[x]={...b,[m]:v[h]}:i[x]={placeId:u,time:y,[m]:v[h]},g!==null&&(i[x][g]=v[p])})}const o=["placeId","time"].concat(Array.from(n).sort()),a=[];Object.keys(i).forEach(l=>{const c=i[l],u=new Array(o.length);o.forEach((f,d)=>{u[d]=c[f]}),a.push(u)}),a.sort((l,c)=>{const u=l[1],f=c[1],d=u.localeCompare(f);if(d!==0)return d;const h=l[0],p=c[0];return h.localeCompare(p)});const s={};return r.forEach(l=>{s[l]=xB(e,l)}),{colNames:o,dataRows:a,referencedPlaces:s}}function n6e(t){let e=null;const n=t.features||[];for(const r of n){if(!r.properties)continue;const i=r.properties.time;if(typeof i!="string")continue;const a=Eae(i).getTime();if(!Number.isNaN(a))for(const s of Object.getOwnPropertyNames(r.properties)){let l=r.properties[s];const c=typeof l;if(c==="boolean"?l=l?1:0:c!=="number"&&(l=Number.NaN),Number.isNaN(l))continue;const u={time:a,countTot:1,mean:l};e===null&&(e={});const f=e[s];f?f.data.push(u):e[s]={source:{datasetId:t.id,datasetTitle:t.title,variableName:s,placeId:null,geometry:null,valueDataKey:"mean",errorDataKey:null},data:[u],dataProgress:1}}}return e===null?null:{placeGroup:t,timeSeries:e}}const Z1=t=>t.dataState.datasets||[],r6e=t=>t.dataState.colorBars,Rae=t=>t.dataState.timeSeriesGroups,J1=t=>t.dataState.userPlaceGroups,Iae=t=>t.dataState.userServers||[],i6e=t=>t.dataState.expressionCapabilities,o6e=t=>t.dataState.statistics.loading,a6e=t=>t.dataState.statistics.records,Dae=at(Z1,J1,(t,e)=>{const n={},r=[];return t.forEach(i=>{i.placeGroups&&i.placeGroups.forEach(o=>{n[o.id]||(n[o.id]=o,r.push(o))})}),[...r,...e]}),s6e=at(Dae,t=>{const e=[];return t.forEach(n=>{const r=n6e(n);r!==null&&e.push(r)}),e}),l6e=[{name:"OpenStreetMap",link:"https://openstreetmap.org",datasets:[{name:"OSM Mapnik",endpoint:"https://a.tile.osm.org/{z}/{x}/{y}.png"},{name:"OSM Humanitarian",endpoint:"https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png"},{name:"OSM Landscape",endpoint:"https://a.tile3.opencyclemap.org/landscape/{z}/{x}/{y}.png"}],overlays:[]},{name:"ESRI",link:"https://services.arcgisonline.com/arcgis/rest/services",datasets:[{name:"Dark Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Hillshade",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}"},{name:"DeLorme World Base Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Street Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Navigation Charts",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/World_Navigation_Charts/MapServer/tile/{z}/{y}/{x}"},{name:"National Geographic",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Imagery",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"},{name:"World Physical Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Shaded Relief",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}"},{name:"World Terrain",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Topo Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}"}],overlays:[{name:"Dark Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Boundaries & Places",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}"},{name:"World Reference Overlay",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Reference_Overlay/MapServer/tile/{z}/{y}/{x}"},{name:"World Transportation",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Transportation/MapServer/tile/{z}/{y}/{x}"}]},{name:"CartoDB",link:"https://cartodb.com/basemaps/",datasets:[{name:"Positron",endpoint:"https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"},{name:"Dark Matter",endpoint:"https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"},{name:"Positron (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png"},{name:"Dark Matter (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png"}],overlays:[{name:"Positron Labels",endpoint:"https://a.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png"},{name:"Dark Matter Labels",endpoint:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png"}]},{name:"Stamen",link:"https://maps.stamen.com",datasets:[{name:"Toner",endpoint:"https://tile.stamen.com/toner/{z}/{x}/{y}.png",attribution:'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.'},{name:"Terrain",endpoint:"https://tile.stamen.com/terrain/{z}/{x}/{y}.png"},{name:"Watercolor",endpoint:"https://tile.stamen.com/watercolor/{z}/{x}/{y}.png"}],overlays:[]},{name:"Mapbox",link:"https://a.tiles.mapbox.com/v3/mapbox/maps.html",datasets:[{name:"Blue Marble (January)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jan/{z}/{x}/{y}.png"},{name:"Blue Marble (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul/{z}/{x}/{y}.png"},{name:"Blue Marble Topo & Bathy B/W (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul-bw/{z}/{x}/{y}.png"},{name:"Control Room",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.control-room/{z}/{x}/{y}.png"},{name:"Geography Class",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.geography-class/{z}/{x}/{y}.png"},{name:"World Dark",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.world-dark/{z}/{x}/{y}.png"},{name:"World Light",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-light/{z}/{x}/{y}.png"},{name:"World Glass",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-glass/{z}/{x}/{y}.png"},{name:"World Print",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-print/{z}/{x}/{y}.png"},{name:"World Blue",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-blue/{z}/{x}/{y}.png"}],overlays:[]}],c6e=l6e,BB="User";function tE(t){return t?`${t.group}: ${t.title}`:"-"}function nE(t,e){return t.find(n=>n.id===e)||null}function Lae(t="datasets"){const e=[];return c6e.forEach(n=>{n[t].forEach(r=>{e.push({id:`${n.name}-${r.name}`,group:n.name,attribution:n.link,title:r.name,url:r.endpoint})})}),e}const Nae=Lae("datasets"),u6e=Lae("overlays"),f6e=Nae[0].id;var d6e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),h6e=function(t){d6e(e,t);function e(){return t.call(this)||this}return e.prototype.getType=function(){return"text"},e.prototype.readFeature=function(n,r){return this.readFeatureFromText(LS(n),this.adaptOptions(r))},e.prototype.readFeatureFromText=function(n,r){return yt()},e.prototype.readFeatures=function(n,r){return this.readFeaturesFromText(LS(n),this.adaptOptions(r))},e.prototype.readFeaturesFromText=function(n,r){return yt()},e.prototype.readGeometry=function(n,r){return this.readGeometryFromText(LS(n),this.adaptOptions(r))},e.prototype.readGeometryFromText=function(n,r){return yt()},e.prototype.readProjection=function(n){return this.readProjectionFromText(LS(n))},e.prototype.readProjectionFromText=function(n){return this.dataProjection},e.prototype.writeFeature=function(n,r){return this.writeFeatureText(n,this.adaptOptions(r))},e.prototype.writeFeatureText=function(n,r){return yt()},e.prototype.writeFeatures=function(n,r){return this.writeFeaturesText(n,this.adaptOptions(r))},e.prototype.writeFeaturesText=function(n,r){return yt()},e.prototype.writeGeometry=function(n,r){return this.writeGeometryText(n,this.adaptOptions(r))},e.prototype.writeGeometryText=function(n,r){return yt()},e}(Vie);function LS(t){return typeof t=="string"?t:""}var p6e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),m6e={POINT:ql,LINESTRING:zh,POLYGON:td,MULTIPOINT:c2,MULTILINESTRING:hB,MULTIPOLYGON:pB},$ae="EMPTY",Fae="Z",jae="M",g6e="ZM",mn={START:0,TEXT:1,LEFT_PAREN:2,RIGHT_PAREN:3,NUMBER:4,COMMA:5,EOF:6},v6e={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"},y6e=function(){function t(e){this.wkt=e,this.index_=-1}return t.prototype.isAlpha_=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"},t.prototype.isNumeric_=function(e,n){var r=n!==void 0?n:!1;return e>="0"&&e<="9"||e=="."&&!r},t.prototype.isWhiteSpace_=function(e){return e==" "||e==" "||e=="\r"||e==` -`},t.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},t.prototype.nextToken=function(){var e=this.nextChar_(),n=this.index_,r=e,i;if(e=="(")i=mn.LEFT_PAREN;else if(e==",")i=mn.COMMA;else if(e==")")i=mn.RIGHT_PAREN;else if(this.isNumeric_(e)||e=="-")i=mn.NUMBER,r=this.readNumber_();else if(this.isAlpha_(e))i=mn.TEXT,r=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(e==="")i=mn.EOF;else throw new Error("Unexpected character: "+e)}return{position:n,value:r,type:i}},t.prototype.readNumber_=function(){var e,n=this.index_,r=!1,i=!1;do e=="."?r=!0:(e=="e"||e=="E")&&(i=!0),e=this.nextChar_();while(this.isNumeric_(e,r)||!i&&(e=="e"||e=="E")||i&&(e=="-"||e=="+"));return parseFloat(this.wkt.substring(n,this.index_--))},t.prototype.readText_=function(){var e,n=this.index_;do e=this.nextChar_();while(this.isAlpha_(e));return this.wkt.substring(n,this.index_--).toUpperCase()},t}(),x6e=function(){function t(e){this.lexer_=e,this.token_={position:0,type:mn.START},this.layout_=dn.XY}return t.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},t.prototype.isTokenType=function(e){return this.token_.type==e},t.prototype.match=function(e){var n=this.isTokenType(e);return n&&this.consume_(),n},t.prototype.parse=function(){return this.consume_(),this.parseGeometry_()},t.prototype.parseGeometryLayout_=function(){var e=dn.XY,n=this.token_;if(this.isTokenType(mn.TEXT)){var r=n.value;r===Fae?e=dn.XYZ:r===jae?e=dn.XYM:r===g6e&&(e=dn.XYZM),e!==dn.XY&&this.consume_()}return e},t.prototype.parseGeometryCollectionText_=function(){if(this.match(mn.LEFT_PAREN)){var e=[];do e.push(this.parseGeometry_());while(this.match(mn.COMMA));if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePointText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePoint_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseLineStringText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePointList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePolygonText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPointText_=function(){if(this.match(mn.LEFT_PAREN)){var e=void 0;if(this.token_.type==mn.LEFT_PAREN?e=this.parsePointTextList_():e=this.parsePointList_(),this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiLineStringText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPolygonText_=function(){if(this.match(mn.LEFT_PAREN)){var e=this.parsePolygonTextList_();if(this.match(mn.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePoint_=function(){for(var e=[],n=this.layout_.length,r=0;r0&&(i+=" "+o)}return r.length===0?i+" "+$ae:i+"("+r+")"}class T6e extends Error{}const Vae={separator:",",comment:"#",quote:'"',escape:"\\",trim:!0,nanToken:"NaN",trueToken:"true",falseToken:"false"};function Gae(t,e){return new E6e(e).parse(t)}let E6e=class{constructor(e){Yt(this,"options");this.options={...Vae,...e},this.parseLine=this.parseLine.bind(this)}parse(e){return this.parseText(e).map(this.parseLine)}parseText(e){const{comment:n,trim:r}=this.options;return e.split(` -`).map((i,o)=>(r&&(i=i.trim()),[i,o])).filter(([i,o])=>i.trim()!==""&&!i.startsWith(n))}parseLine([e,n]){const{separator:r,quote:i,escape:o}=this.options;let a=!1;const s=[];let l=0,c=0;for(;ct.toLowerCase());function pH(t){if(t=t.trim(),t==="")return"csv";if(t[0]==="{")return"geojson";const e=t.substring(0,20).toLowerCase();return k6e.find(r=>e.startsWith(r)&&(e.length===r.length||` - (`.indexOf(e[r.length])>=0))?"wkt":"csv"}function DC(t){return t.split(",").map(e=>e.trim().toLowerCase()).filter(e=>e!=="")}const A6e=t=>{if(t.trim()!=="")try{Gae(t)}catch(e){return console.error(e),`${e}`}return null},Hae={name:"Text/CSV",fileExt:".txt,.csv",checkError:A6e},S3={...Vae,xNames:"longitude, lon, x",yNames:"latitude, lat, y",forceGeometry:!1,geometryNames:"geometry, geom",timeNames:"time, date, datetime, date-time",groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-"};let R6e=0,I6e=0;function D6e(t,e){const n=Gae(t,e);if(n.length<2)throw new Error(fe.get("Missing header line in CSV"));for(const S of n[0])if(typeof S!="string"||S==="")throw new Error(fe.get("Invalid header line in CSV"));const r=n[0].map(S=>S),i=r.map(S=>S.toLowerCase()),o=r.length;for(const S of n)if(S.length!==o)throw new Error(fe.get("All rows must have same length"));const a=L6e(i),s=sm(a,e.groupNames),l=sm(a,e.labelNames),c=sm(a,e.timeNames),u=sm(a,e.xNames),f=sm(a,e.yNames);let d=sm(a,e.geometryNames);if(e.forceGeometry||u<0||f<0||u===f){if(d<0)throw new Error(fe.get("No geometry column(s) found"))}else d=-1;let p=e.groupPrefix.trim();p===""&&(p=S3.groupPrefix);let m=e.labelPrefix.trim();m===""&&(m=S3.labelPrefix);let g="";if(s===-1){const S=++R6e;g=`${p}${S}`}const v=new Bae,y={};let x=1,b=0,_=tp(0);for(;x=0&&(O=`${S[c]}`),s>=0&&(g=`${S[s]}`);let C=y[g];C||(C=gB(g,[]),y[g]=C,_=tp(b),b++);let E=null;if(d>=0){if(typeof S[d]=="string")try{E=v.readGeometry(t)}catch{}}else{const P=S[u],R=S[f];typeof P=="number"&&Number.isFinite(P)&&typeof R=="number"&&Number.isFinite(R)&&(E=new ql([P,R]))}if(E===null)throw new Error(fe.get(`Invalid geometry in data row ${x}`));const k={};S.forEach((P,R)=>{if(R!==u&&R!==f&&R!==d){const T=r[R];k[T]=P}});let I;if(l>=0)I=`${S[l]}`;else{const P=++I6e;I=`${m}${P}`}O!==""&&(k.time=O),k.color||(k.color=_),k.label||(k.label=I),k.source||(k.source="CSV"),C.features.push(vB(E,k))}return Object.getOwnPropertyNames(y).map(S=>y[S])}function L6e(t){const e={};for(let n=0;n{if(t.trim()!=="")try{JSON.parse(t)}catch(e){return console.error(e),`${e}`}return null},qae={name:"GeoJSON",fileExt:".json,.geojson",checkError:N6e},O3={groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-",timeNames:"time, date, datetime, date-time"};let $6e=0,F6e=0;function j6e(t,e){const n=DC(e.groupNames||"");let r=e.groupPrefix.trim();r===""&&(r=O3.groupPrefix);const i=DC(e.labelNames||"");let o=e.labelPrefix.trim();o===""&&(o=O3.labelPrefix);const a=DC(e.timeNames||""),s=new Ip;let l;try{l=s.readFeatures(t)}catch{try{const d=s.readGeometry(t);l=[new zc(d)]}catch{throw new Error(fe.get("Invalid GeoJSON"))}}const c={};let u=0;return l.forEach(f=>{const d=f.getProperties(),h=f.getGeometry();if(h){let p="",m="",g="",v=tp(0);if(d){const b={};Object.getOwnPropertyNames(d).forEach(_=>{b[_.toLowerCase()]=d[_]}),p=rR(b,a,p),g=rR(b,i,g),m=rR(b,n,m)}if(m===""){const b=++$6e;m=`${r}-${b}`}if(g===""){const b=++F6e;g=`${o}-${b}`}let y=c[m];y||(y=gB(m,[]),c[m]=y,v=tp(u),u++);const x={...d};p!==""&&(x.time=p),x.color||(x.color=v),x.label||(x.label=g),x.source||(x.source="GeoJSON"),y.features.push(vB(h,x))}}),Object.getOwnPropertyNames(c).map(f=>c[f])}function rR(t,e,n){if(n===""){for(const r of e)if(t[r]==="string")return t[r]}return n}const B6e=t=>null,Xae={name:"WKT",fileExt:".txt,.wkt",checkError:B6e},C3={group:"",groupPrefix:"Group-",label:"",labelPrefix:"Place-",time:gy(new Date().getTime())};let z6e=0,U6e=0;function W6e(t,e){let n=e.groupPrefix.trim();n===""&&(n=C3.groupPrefix);let r=e.group.trim();if(r===""){const s=++z6e;r=`${n}${s}`}let i=e.labelPrefix.trim();i===""&&(i=C3.labelPrefix);let o=e.label.trim();if(o===""){const s=++U6e;o=`${i}${s}`}const a=e.time.trim();try{const s=new Bae().readGeometry(t);let l={color:tp(Math.floor(1e3*Math.random())),label:o,source:"WKT"};a!==""&&(l={time:a,...l});const c=[vB(s,l)];return[gB(r,c)]}catch{throw new Error(fe.get("Invalid Geometry WKT"))}}function vy(t){return V6e("localStorage",t)}function V6e(t,e){try{const n=window[t],r="__storage_test__";return n.setItem(r,r),n.removeItem(r),new G6e(n,e)}catch{return null}}class G6e{constructor(e,n){Yt(this,"nativeStorage");Yt(this,"brandingName");this.nativeStorage=e,this.brandingName=n}getItem(e,n,r,i){const o=this.nativeStorage.getItem(this.makeKey(e));if(o!==null)try{const a=r?r(o):o;return i?i(a):a}catch(a){console.error(`Failed parsing user setting "${e}": ${a}`)}return typeof n>"u"?null:n}getObjectItem(e,n){return this.getItem(e,n,r=>JSON.parse(r))}getBooleanProperty(e,n,r){this.getProperty(e,n,r,i=>i==="true")}getIntProperty(e,n,r){this.getProperty(e,n,r,parseInt)}getStringProperty(e,n,r){this.getProperty(e,n,r,i=>i)}getArrayProperty(e,n,r,i){this.getProperty(e,n,r,o=>{const a=JSON.parse(o);if(Array.isArray(a))return a;const s=r[e];return Array.isArray(s)?s:[]},i)}getObjectProperty(e,n,r){this.getProperty(e,n,r,i=>{const o=JSON.parse(i),a=r[e],s={...a,...o};return Object.getOwnPropertyNames(o).forEach(l=>{const c=a[l],u=o[l];tG(c)&&tG(u)&&(s[l]={...c,...u})}),s})}getProperty(e,n,r,i,o){n[e]=this.getItem(e,r[e],i,o)}setItem(e,n,r){if(typeof n>"u"||n===null)this.nativeStorage.removeItem(this.makeKey(e));else{const i=r?r(n):n+"";this.nativeStorage.setItem(this.makeKey(e),i)}}setObjectItem(e,n){this.setItem(e,n,r=>JSON.stringify(r))}setPrimitiveProperty(e,n){this.setItem(e,n[e])}setArrayProperty(e,n){this.setObjectItem(e,n[e])}setObjectProperty(e,n){this.setObjectItem(e,n[e])}makeKey(e){return`xcube.${this.brandingName}.${e}`}}function H6e(t){const e=vy(Kt.instance.name);if(e)try{e.setObjectItem("userServers",t)}catch(n){console.warn(`failed to store user servers: ${n}`)}}function q6e(){const t=vy(Kt.instance.name);if(t)try{return t.getObjectItem("userServers",[])}catch(e){console.warn(`failed to load user servers: ${e}`)}return[]}function X6e(t){const e=vy(Kt.instance.name);if(e)try{e.setObjectItem("userVariables",t)}catch(n){console.warn(`failed to store user variables: ${n}`)}}function Q6e(){const t=vy(Kt.instance.name);if(t)try{return t.getObjectItem("userVariables",{})}catch(e){console.warn(`failed to load user variables: ${e}`)}return{}}function ll(t){const e=vy(Kt.instance.name);if(e)try{e.setPrimitiveProperty("locale",t),e.setPrimitiveProperty("privacyNoticeAccepted",t),e.setPrimitiveProperty("autoShowTimeSeries",t),e.setPrimitiveProperty("timeSeriesIncludeStdev",t),e.setPrimitiveProperty("timeSeriesChartTypeDefault",t),e.setPrimitiveProperty("timeSeriesUseMedian",t),e.setPrimitiveProperty("timeAnimationInterval",t),e.setPrimitiveProperty("timeChunkSize",t),e.setPrimitiveProperty("sidebarOpen",t),e.setPrimitiveProperty("sidebarPanelId",t),e.setPrimitiveProperty("volumeRenderMode",t),e.setObjectProperty("infoCardElementStates",t),e.setPrimitiveProperty("imageSmoothingEnabled",t),e.setPrimitiveProperty("mapProjection",t),e.setPrimitiveProperty("selectedBaseMapId",t),e.setPrimitiveProperty("selectedOverlayId",t),e.setArrayProperty("userBaseMaps",t),e.setArrayProperty("userOverlays",t),e.setArrayProperty("userColorBars",t),e.setPrimitiveProperty("userDrawnPlaceGroupName",t),e.setPrimitiveProperty("datasetLocateMode",t),e.setPrimitiveProperty("placeLocateMode",t),e.setPrimitiveProperty("exportTimeSeries",t),e.setPrimitiveProperty("exportTimeSeriesSeparator",t),e.setPrimitiveProperty("exportPlaces",t),e.setPrimitiveProperty("exportPlacesAsCollection",t),e.setPrimitiveProperty("exportZipArchive",t),e.setPrimitiveProperty("exportFileName",t),e.setPrimitiveProperty("userPlacesFormatName",t),e.setObjectProperty("userPlacesFormatOptions",t)}catch(n){console.warn(`failed to store user settings: ${n}`)}}function Y6e(t){const e=vy(Kt.instance.name);if(e){const n={...t};try{e.getStringProperty("locale",n,t),e.getBooleanProperty("privacyNoticeAccepted",n,t),e.getBooleanProperty("autoShowTimeSeries",n,t),e.getBooleanProperty("timeSeriesIncludeStdev",n,t),e.getStringProperty("timeSeriesChartTypeDefault",n,t),e.getBooleanProperty("timeSeriesUseMedian",n,t),e.getIntProperty("timeAnimationInterval",n,t),e.getIntProperty("timeChunkSize",n,t),e.getBooleanProperty("sidebarOpen",n,t),e.getStringProperty("sidebarPanelId",n,t),e.getStringProperty("volumeRenderMode",n,t),e.getObjectProperty("infoCardElementStates",n,t),e.getBooleanProperty("imageSmoothingEnabled",n,t),e.getStringProperty("mapProjection",n,t),e.getStringProperty("selectedBaseMapId",n,t),e.getStringProperty("selectedOverlayId",n,t),e.getArrayProperty("userBaseMaps",n,t),e.getArrayProperty("userOverlays",n,t),e.getArrayProperty("userColorBars",n,t,K6e),e.getStringProperty("userDrawnPlaceGroupName",n,t),e.getStringProperty("datasetLocateMode",n,t),e.getStringProperty("placeLocateMode",n,t),e.getBooleanProperty("exportTimeSeries",n,t),e.getStringProperty("exportTimeSeriesSeparator",n,t),e.getBooleanProperty("exportPlaces",n,t),e.getBooleanProperty("exportPlacesAsCollection",n,t),e.getBooleanProperty("exportZipArchive",n,t),e.getStringProperty("exportFileName",n,t),e.getStringProperty("userPlacesFormatName",n,t),e.getObjectProperty("userPlacesFormatOptions",n,t)}catch(r){console.warn(`Failed to load user settings: ${r}`)}return n}else console.warn("User settings not found or access denied");return t}const mH={node:"continuous",continuous:"continuous",bound:"stepwise",stepwise:"stepwise",key:"categorical",categorical:"categorical"};function K6e(t){if(Array.isArray(t))return t.map(e=>({...e,type:Z6e(e.type)}))}function Z6e(t){return Mp(t)&&t in mH?mH[t]:"continuous"}const J6e=[250,500,1e3,2500],eWe=["info","timeSeries","stats","volume"];function tWe(){const t=Kt.instance.branding,e={selectedDatasetId:null,selectedVariableName:null,selectedDataset2Id:null,selectedVariable2Name:null,selectedPlaceGroupIds:[],selectedPlaceId:null,selectedUserPlaceId:null,selectedServerId:Kt.instance.server.id,selectedTime:null,selectedTimeRange:null,timeSeriesUpdateMode:"add",timeAnimationActive:!1,timeAnimationInterval:1e3,timeChunkSize:20,autoShowTimeSeries:!0,timeSeriesChartTypeDefault:"line",timeSeriesIncludeStdev:!0,timeSeriesUseMedian:t.defaultAgg==="median",userDrawnPlaceGroupName:"",userPlacesFormatName:"csv",userPlacesFormatOptions:{csv:{...S3},geojson:{...O3},wkt:{...C3}},flyTo:null,activities:{},locale:"en",dialogOpen:{},privacyNoticeAccepted:!1,mapInteraction:"Select",lastMapInteraction:"Select",layerVisibilities:{baseMap:!0,datasetRgb:!1,datasetVariable:!0,datasetVariable2:!0,datasetBoundary:!1,datasetPlaces:!0,userPlaces:!0,overlay:!0},variableCompareMode:!1,mapPointInfoBoxEnabled:!1,datasetLocateMode:"panAndZoom",placeLocateMode:"panAndZoom",layerMenuOpen:!1,sidebarPosition:2*Math.max(window.innerWidth,window.innerHeight)/3,sidebarOpen:!1,sidebarPanelId:"info",volumeRenderMode:"mip",volumeStates:{},infoCardElementStates:{dataset:{visible:!0,viewMode:"text"},variable:{visible:!0,viewMode:"text"},place:{visible:!0,viewMode:"text"}},mapProjection:t.mapProjection||oae,imageSmoothingEnabled:!1,selectedBaseMapId:f6e,selectedOverlayId:null,userBaseMaps:[],userOverlays:[],userColorBars:[],exportTimeSeries:!0,exportTimeSeriesSeparator:"TAB",exportPlaces:!0,exportPlacesAsCollection:!0,exportZipArchive:!0,exportFileName:"export"};return Y6e(e)}const Ga={},nWe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURcDAwP///ytph7QAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAUSURBVBjTYwABQSCglEENMxgYGAAynwRB8BEAgQAAAABJRU5ErkJggg==",Qae=new Image;Qae.src=nWe;const T3="_alpha",E3="_r";function rWe(t){let e=t;const n=e.endsWith(T3);n&&(e=e.slice(0,e.length-T3.length));const r=e.endsWith(E3);return r&&(e=e.slice(0,e.length-E3.length)),{baseName:e,isAlpha:n,isReversed:r}}function rE(t){let e=t.baseName;return t.isReversed&&(e+=E3),t.isAlpha&&(e+=T3),e}function iWe(t,e,n){aWe(t,e).then(r=>{Promise.resolve(createImageBitmap(r)).then(i=>{const o=n.getContext("2d");if(o!==null){const a=o.createPattern(Qae,"repeat");a!==null?o.fillStyle=a:o.fillStyle="#ffffff",o.fillRect(0,0,n.width,n.height),o.drawImage(i,0,0,n.width,n.height)}})})}function oWe(t,e){return new Promise((n,r)=>{const i=new Image,o=t.imageData;if(!o){n(i);return}i.onload=()=>{n(i)},i.onerror=(a,s,l,c,u)=>{r(u)},i.src=`data:image/png;base64,${o}`})}function aWe(t,e){return oWe(t).then(n=>{const r=sWe(t,e,n);if(r!==null)return r;throw new Error("failed to retrieve 2d context")})}function sWe(t,e,n){const r=document.createElement("canvas");r.width=n.width||1,r.height=n.height||1;const i=r.getContext("2d");if(i===null)return null;i.drawImage(n,0,0);let a=i.getImageData(0,0,r.width,r.height).data;if(t.isReversed){const s=new Uint8ClampedArray(a.length);for(let l=0;lt.controlState.selectedDatasetId,yy=t=>t.controlState.selectedVariableName,lWe=t=>t.controlState.selectedDataset2Id,Yae=t=>t.controlState.selectedVariable2Name,UB=t=>t.controlState.selectedPlaceGroupIds,xy=t=>t.controlState.selectedPlaceId,tw=t=>t.controlState.selectedTime,cWe=t=>t.controlState.selectedServerId,uWe=t=>t.controlState.activities,S2=t=>t.controlState.timeAnimationActive,nw=t=>t.controlState.imageSmoothingEnabled,fWe=t=>t.controlState.userBaseMaps,dWe=t=>t.controlState.userOverlays,WB=t=>t.controlState.selectedBaseMapId,VB=t=>t.controlState.selectedOverlayId,hWe=t=>!!t.controlState.layerVisibilities.baseMap,pWe=t=>!!t.controlState.layerVisibilities.datasetBoundary,mWe=t=>!!t.controlState.layerVisibilities.datasetVariable,gWe=t=>!!t.controlState.layerVisibilities.datasetVariable2,vWe=t=>!!t.controlState.layerVisibilities.datasetRgb,yWe=t=>!!t.controlState.layerVisibilities.datasetRgb2,xWe=t=>!!t.controlState.layerVisibilities.datasetPlaces,Kae=t=>!!t.controlState.layerVisibilities.userPlaces,bWe=t=>!!t.controlState.layerVisibilities.overlay,_We=t=>t.controlState.layerVisibilities,Zae=t=>t.controlState.infoCardElementStates,wd=t=>t.controlState.mapProjection,wWe=t=>t.controlState.timeChunkSize,SWe=t=>t.controlState.userPlacesFormatName,OWe=t=>t.controlState.userPlacesFormatOptions.csv,CWe=t=>t.controlState.userPlacesFormatOptions.geojson,TWe=t=>t.controlState.userPlacesFormatOptions.wkt,Dp=t=>t.controlState.userColorBars,EWe=t=>Kt.instance.branding.allowUserVariables,PWe=()=>"variable",MWe=()=>"variable2",kWe=()=>"rgb",AWe=()=>"rgb2",RWe=()=>13,IWe=()=>12,DWe=()=>11,LWe=()=>10,qr=at(Z1,ew,zb),Sd=at(Z1,lWe,zb),NWe=at(qr,t=>t&&t.variables||[]),$We=at(qr,t=>t?mB(t)[1]:[]),Jae=(t,e)=>!t||!e?null:a3(t,e),vo=at(qr,yy,Jae),Su=at(Sd,Yae,Jae),ese=t=>t&&(t.title||t.name),FWe=at(vo,ese),jWe=at(Su,ese),tse=t=>t&&t.units||"-",BWe=at(vo,tse),zWe=at(Su,tse),nse=t=>t&&t.colorBarName||"viridis",O2=at(vo,nse),C2=at(Su,nse),rse=t=>t?[t.colorBarMin,t.colorBarMax]:[0,1],ise=at(vo,rse),ose=at(Su,rse),ase=t=>(t&&t.colorBarNorm)==="log"?"log":"lin",sse=at(vo,ase),lse=at(Su,ase),T2=at(Dp,r6e,(t,e)=>{const n={title:foe,description:"User-defined color bars.",names:t.map(i=>i.id)},r={};return t.forEach(({id:i,imageData:o})=>{o&&(r[i]=o)}),e?{...e,groups:[n,...e.groups],images:{...e.images,...r}}:{groups:[n],images:r,customColorMaps:{}}}),cse=(t,e,n)=>{const r=rWe(t),{baseName:i}=r,o=e.images[i],a=n.find(s=>s.id===i);if(a){const s=a.type,l=hoe(a.code);return{...r,imageData:o,type:s,colorRecords:l}}else{const s=e.customColorMaps[i];if(s){const l=s.type,c=s.colorRecords;return{...r,imageData:o,type:l,colorRecords:c}}}return{...r,imageData:o}},GB=at(O2,T2,Dp,cse),use=at(C2,T2,Dp,cse),fse=(t,e,n)=>{const{baseName:r}=t,i=n.find(o=>o.id===r);if(i){const o=hoe(i.code);if(o)return JSON.stringify({name:e,type:i.type,colors:o.map(a=>[a.value,a.color])})}return null},UWe=at(GB,O2,Dp,fse),WWe=at(use,C2,Dp,fse),dse=t=>!t||typeof t.opacity!="number"?1:t.opacity,hse=at(vo,dse),pse=at(Su,dse),VWe=at(qr,t=>t!==null?loe(t):null),GWe=at(qr,t=>t!==null&&t.rgbSchema||null),HWe=at(Sd,t=>t!==null&&t.rgbSchema||null),mse=at(qr,t=>t&&t.placeGroups||[]),E2=at(mse,J1,(t,e)=>t.concat(e));function gse(t,e){const n=[];return e!==null&&e.length>0&&t.forEach(r=>{e.indexOf(r.id)>-1&&n.push(r)}),n}const qWe=at(J1,UB,Kae,(t,e)=>{const n={},r=new Set(e||[]);return t.forEach(i=>{n[i.id]=r.has(i.id)}),n}),vse=at(mse,UB,gse),by=at(E2,UB,gse),XWe=at(by,t=>t.map(e=>e.title||e.id).join(", ")),rw=at(by,t=>{const e=t.map(n=>uy(n)?n.features:[]);return[].concat(...e)}),yse=at(rw,xy,(t,e)=>t.find(n=>n.id===e)||null),iw=at(by,xy,(t,e)=>t.length===0||e===null?null:iFe(t,e)),QWe=at(ew,yy,yse,(t,e,n)=>{if(t&&e){if(!n)return`${t}-${e}-all`;if(n.geometry.type==="Polygon"||n.geometry.type==="MultiPolygon")return`${t}-${e}-${n.id}`}return null}),xse=at(Rae,ew,yy,xy,(t,e,n,r)=>{if(!e||!n||!r)return!1;for(const i of t)for(const o of i.timeSeriesArray){const a=o.source;if(a.datasetId===e&&a.variableName===n&&a.placeId===r)return!1}return!0}),YWe=at(Rae,E2,(t,e)=>{const n={};return yB(e,(r,i)=>{for(const o of t)if(o.timeSeriesArray.find(a=>a.source.placeId===i.id)){n[i.id]=u2(r,i);break}}),n}),bse=at(ew,yy,xy,(t,e,n)=>!!(t&&e&&n)),KWe=at(a6e,E2,(t,e)=>{const n=[];return t.forEach(r=>{const i=r.source.placeInfo.place.id;yB(e,(o,a)=>{if(a.id===i){const s=u2(o,a);n.push({...r,source:{...r.source,placeInfo:s}})}})}),n}),ZWe=at(by,t=>{const e=[];return yB(t,(n,r)=>{e.push(u2(n,r).label)}),e}),JWe=at(vo,wWe,(t,e)=>{if(t&&t.timeChunkSize){const n=t.timeChunkSize;return n*Math.ceil(e/n)}return e}),_se=t=>t&&soe(t)||null,_y=at(qr,_se),eVe=at(Sd,_se),wse=t=>t&&t.attributions||null,HB=at(qr,wse),tVe=at(Sd,wse),Sse=t=>t===null||t.coordinates.length===0?null:t.coordinates,P3=at(_y,Sse),nVe=at(_y,Sse),Ose=(t,e)=>t===null||e===null?-1:cae(e,t),Cse=at(tw,P3,Ose),rVe=at(tw,nVe,Ose),Tse=(t,e,n)=>t===null?null:n&&e>-1?n.labels[e]:new Date(t).toISOString(),wy=at(tw,Cse,_y,Tse),iVe=at(tw,rVe,eVe,Tse);function oVe(t,e){if(t!==NB){const n=typeof e=="number"?e+1:20;return new DB({tileSize:[256,256],origin:[-180,90],extent:[-180,-90,180,90],resolutions:Array.from({length:n},(r,i)=>180/256/Math.pow(2,i))})}}function aVe(t,e,n,r,i,o,a,s,l){return new hy({url:t,projection:e,tileGrid:n,attributions:r||void 0,transition:i?0:250,imageSmoothing:o,tileLoadFunction:a,maxZoom:l})}function sVe(t){if(t)return(e,n)=>{e instanceof OB&&(t.getView().getInteracting()?t.once("moveend",function(){e.getImage().src=n}):e.getImage().src=n)}}const lVe=yFe(sVe,{serializer:t=>{const e=t[0];if(e){const n=e.getTarget();return typeof n=="string"?n:n&&n.id||"map"}return""}});function cVe(){const t=Ga.map;return lVe(t)}function Ese(t,e,n,r,i,o,a,s,l,c,u,f,d=10){s!==null&&(o=[...o,["time",s]]);const h=sy(e,o);typeof i=="number"&&(i+=3);const p=oVe(c,i),m=aVe(h,c,p,u,l,f,cVe(),r,i),g=c===py?n:Bie(n,"EPSG:4326",c);return console.log("extent:",n,g),w.jsx(lae,{id:t,source:m,extent:g,zIndex:d,opacity:a})}const uVe=at(qr,wd,pWe,(t,e,n)=>{if(!t||!n)return null;let r=t.geometry;if(!r)if(t.bbox){const[a,s,l,c]=t.bbox;r={type:"Polygon",coordinates:[[[a,s],[l,s],[l,c],[a,c],[a,s]]]}}else return console.warn(`Dataset ${t.id} has no bbox!`),null;const i=new Q1({features:new Ip({dataProjection:py,featureProjection:e}).readFeatures({type:"Feature",geometry:r})}),o=new Il({stroke:new Xl({color:"orange",width:3,lineDash:[2,4]})});return w.jsx(v2,{id:`${t.id}.bbox`,source:i,style:o,zIndex:16,opacity:.5})}),pi=at(Iae,cWe,(t,e)=>{if(t.length===0)throw new Error("internal error: no servers configured");const n=t.find(r=>r.id===e);if(!n)throw new Error(`internal error: server with ID "${e}" not found`);return n}),Pse=(t,e,n,r,i,o,a,s,l,c,u,f,d,h,p,m)=>{if(!e||!i||!u)return null;const g=[["crs",p],["vmin",`${a[0]}`],["vmax",`${a[1]}`],["cmap",l||o]];return s==="log"&&g.push(["norm",s]),Ese(f,kse(t.url,e,i),e.bbox,i.tileLevelMin,i.tileLevelMax,g,c,n,h,p,r,m,d)},fVe=at(pi,qr,wy,HB,vo,O2,ise,sse,UWe,hse,mWe,PWe,RWe,S2,wd,nw,Pse),dVe=at(pi,Sd,iVe,tVe,Su,C2,ose,lse,WWe,pse,gWe,MWe,IWe,S2,wd,nw,Pse),Mse=(t,e,n,r,i,o,a,s,l,c,u)=>{if(!e||!n||!r)return null;const f=[["crs",l]];return Ese(i,kse(t.url,e,"rgb"),e.bbox,n.tileLevelMin,n.tileLevelMax,f,1,a,s,l,c,u,o)},hVe=at(pi,qr,GWe,vWe,kWe,DWe,wy,S2,wd,HB,nw,Mse),pVe=at(pi,Sd,HWe,yWe,AWe,LWe,wy,S2,wd,HB,nw,Mse);function kse(t,e,n){return`${t}/tiles/${ly(e)}/${V1(n)}/{z}/{y}/{x}`}function mVe(){return R5()}function gVe(){return new q1({fill:Rse(),stroke:Ase(),radius:6})}function Ase(){return new Xl({color:[200,0,0,.75],width:1.25})}function Rse(){return new op({color:[255,0,0,mVe()]})}function vVe(){return new Il({image:gVe(),stroke:Ase(),fill:Rse()})}const yVe=at(vse,wd,xWe,(t,e,n)=>{if(!n||t.length===0)return null;const r=[];return t.forEach((i,o)=>{uy(i)&&r.push(w.jsx(v2,{id:`placeGroup.${i.id}`,style:vVe(),zIndex:100,source:new Q1({features:new Ip({dataProjection:py,featureProjection:e}).readFeatures(i)})},o))}),w.jsx(rae,{children:r})}),xVe=at(Zae,t=>{const e=[];return Object.getOwnPropertyNames(t).forEach(n=>{t[n].visible&&e.push(n)}),e}),bVe=at(Zae,t=>{const e={};return Object.getOwnPropertyNames(t).forEach(n=>{e[n]=t[n].viewMode||"text"}),e}),_Ve=at(uWe,t=>Object.keys(t).map(e=>t[e])),qB=at(fWe,t=>[...t,...Nae]),XB=at(dWe,t=>[...t,...u6e]),Ise=(t,e,n,r)=>{if(!n||!e)return null;const i=nE(t,e);if(!i)return null;let o=i.attribution;o&&(o.startsWith("http://")||o.startsWith("https://"))&&(o=`© ${i.group}`);let a;if(i.wms){const{layerName:s,styleName:l}=i.wms;a=new HBe({url:i.url,params:{...l?{STYLES:l}:{},LAYERS:s},attributions:o,attributionsCollapsible:!0})}else{const s=nLe(i.group);a=new hy({url:i.url+(s?`?${s.param}=${s.token}`:""),attributions:o,attributionsCollapsible:!0})}return w.jsx(lae,{id:i.id,source:a,zIndex:r})},wVe=at(qB,WB,hWe,()=>0,Ise),SVe=at(XB,VB,bWe,()=>20,Ise),Dse=(t,e)=>{const n=nE(t,e);return n?tE(n):null},OVe=at(qB,WB,Dse),CVe=at(XB,VB,Dse),TVe=at(OVe,CVe,WB,VB,qr,Sd,vo,Su,_We,(t,e,n,r,i,o,a,s,l)=>({baseMap:{title:"Base Map",subTitle:t||void 0,visible:l.baseMap,disabled:!n},overlay:{title:"Overlay",subTitle:e||void 0,visible:l.overlay,disabled:!r},datasetRgb:{title:"Dataset RGB",subTitle:i?i.title:void 0,visible:l.datasetRgb,disabled:!i},datasetRgb2:{title:"Dataset RGB",subTitle:o?o.title:void 0,visible:l.datasetRgb2,disabled:!o,pinned:!0},datasetVariable:{title:"Dataset Variable",subTitle:i&&a?`${i.title} / ${a.title||a.name}`:void 0,visible:l.datasetVariable,disabled:!(i&&a)},datasetVariable2:{title:"Dataset Variable",subTitle:o&&s?`${o.title} / ${s.title||s.name}`:void 0,visible:l.datasetVariable2,disabled:!(o&&s),pinned:!0},datasetBoundary:{title:"Dataset Boundary",subTitle:i?i.title:void 0,visible:l.datasetBoundary,disabled:!i},datasetPlaces:{title:"Dataset Places",visible:l.datasetPlaces},userPlaces:{title:"User Places",visible:l.userPlaces}}));var Lse={exports:{}};/*! - -JSZip v3.10.1 - A JavaScript class for generating and reading zip files - - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(c,u){if(!i[c]){if(!r[c]){var f=typeof lx=="function"&&lx;if(!u&&f)return f(c,!0);if(s)return s(c,!0);var d=new Error("Cannot find module '"+c+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[c]={exports:{}};r[c][0].call(h.exports,function(p){var m=r[c][1][p];return a(m||p)},h,h.exports,n,r,i,o)}return i[c].exports}for(var s=typeof lx=="function"&&lx,l=0;l>2,h=(3&c)<<4|u>>4,p=1>6:64,m=2>4,u=(15&d)<<4|(h=s.indexOf(l.charAt(m++)))>>2,f=(3&h)<<6|(p=s.indexOf(l.charAt(m++))),y[g++]=c,h!==64&&(y[g++]=u),p!==64&&(y[g++]=f);return y}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}c.prototype={getContentWorker:function(){var u=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,f,d){return u.pipe(new s).pipe(new l("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,l=[],c=0;c<256;c++){s=c;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var m=d;m>>8^h[255&(c^u[m])];return-1^c}(0|l,s,s.length,0):function(c,u,f,d){var h=a,p=d+f;c^=-1;for(var m=d;m>>8^h[255&(c^u.charCodeAt(m))];return-1^c}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),c=o?"uint8array":"array";function u(f,d){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(u,l),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,f.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new u("Deflate",f)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,p){var m,g="";for(m=0;m>>=8;return g}function a(h,p,m,g,v,y){var x,b,_=h.file,S=h.compression,O=y!==c.utf8encode,C=s.transformTo("string",y(_.name)),E=s.transformTo("string",c.utf8encode(_.name)),k=_.comment,I=s.transformTo("string",y(k)),P=s.transformTo("string",c.utf8encode(k)),R=E.length!==_.name.length,T=P.length!==k.length,L="",z="",B="",U=_.dir,W=_.date,$={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||($.crc32=h.crc32,$.compressedSize=h.compressedSize,$.uncompressedSize=h.uncompressedSize);var N=0;p&&(N|=8),O||!R&&!T||(N|=2048);var D=0,A=0;U&&(D|=16),v==="UNIX"?(A=798,D|=function(Y,K){var se=Y;return Y||(se=K?16893:33204),(65535&se)<<16}(_.unixPermissions,U)):(A=20,D|=function(Y){return 63&(Y||0)}(_.dosPermissions)),x=W.getUTCHours(),x<<=6,x|=W.getUTCMinutes(),x<<=5,x|=W.getUTCSeconds()/2,b=W.getUTCFullYear()-1980,b<<=4,b|=W.getUTCMonth()+1,b<<=5,b|=W.getUTCDate(),R&&(z=o(1,1)+o(u(C),4)+E,L+="up"+o(z.length,2)+z),T&&(B=o(1,1)+o(u(I),4)+P,L+="uc"+o(B.length,2)+B);var q="";return q+=` -\0`,q+=o(N,2),q+=S.magic,q+=o(x,2),q+=o(b,2),q+=o($.crc32,4),q+=o($.compressedSize,4),q+=o($.uncompressedSize,4),q+=o(C.length,2),q+=o(L.length,2),{fileRecord:f.LOCAL_FILE_HEADER+q+C+L,dirRecord:f.CENTRAL_FILE_HEADER+o(A,2)+q+o(I.length,2)+"\0\0\0\0"+o(D,4)+o(g,4)+C+L+I}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),u=n("../crc32"),f=n("../signature");function d(h,p,m,g){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,l),d.prototype.push=function(h){var p=h.meta.percent||0,m=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:m?(p+100*(m-g-1))/m:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var m=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,m=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:function(g){return f.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new c(f):a.uint8array?new u(o.transformTo("uint8array",f)):new s(o.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(l){o.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,o),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}o.inherits(s,a),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=o.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var l=0;l "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),c=n("../support"),u=n("../external"),f=null;if(c.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new u.Promise(function(g,v){var y=[],x=p._internalType,b=p._outputType,_=p._mimeType;p.on("data",function(S,O){y.push(S),m&&m(O)}).on("error",function(S){y=[],v(S)}).on("end",function(){try{var S=function(O,C,E){switch(O){case"blob":return o.newBlob(o.transformTo("arraybuffer",C),E);case"base64":return l.encode(C);default:return o.transformTo(O,C)}}(b,function(O,C){var E,k=0,I=null,P=0;for(E=0;E"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function d(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var m,g,v,y,x,b=p.length,_=0;for(y=0;y>>6:(g<65536?m[x++]=224|g>>>12:(m[x++]=240|g>>>18,m[x++]=128|g>>>12&63),m[x++]=128|g>>>6&63),m[x++]=128|63&g);return m}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var m,g,v,y,x=p.length,b=new Array(2*x);for(m=g=0;m>10&1023,b[g++]=56320|1023&v)}return b.length!==g&&(b.subarray?b=b.subarray(0,g):b.length=g),o.applyFromCharCode(b)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(f,l),f.prototype.processChunk=function(h){var p=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var g=function(y,x){var b;for((x=x||y.length)>y.length&&(x=y.length),b=x-1;0<=b&&(192&y[b])==128;)b--;return b<0||b===0?x:b+c[y[b]]>x?b:x}(p),v=p;g!==p.length&&(a.uint8array?(v=p.subarray(0,g),this.leftOver=p.subarray(g,p.length)):(v=p.slice(0,g),this.leftOver=p.slice(g,p.length))),this.push({data:i.utf8decode(v),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,l),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function c(m){return m}function u(m,g){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,m,g,v=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4>>6:(h<65536?d[g++]=224|h>>>12:(d[g++]=240|h>>>18,d[g++]=128|h>>>12&63),d[g++]=128|h>>>6&63),d[g++]=128|63&h);return d},i.buf2binstring=function(f){return u(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h>10&1023,y[p++]=56320|1023&m)}return u(y,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+l[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,l){for(var c=65535&o|0,u=o>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3>>1:a>>>1;s[l]=a}return s}();r.exports=function(a,s,l,c){var u=o,f=c+l;a^=-1;for(var d=c;d>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),c=n("./crc32"),u=n("./messages"),f=0,d=4,h=0,p=-2,m=-1,g=4,v=2,y=8,x=9,b=286,_=30,S=19,O=2*b+1,C=15,E=3,k=258,I=k+E+1,P=42,R=113,T=1,L=2,z=3,B=4;function U(F,ce){return F.msg=u[ce],ce}function W(F){return(F<<1)-(4F.avail_out&&(le=F.avail_out),le!==0&&(a.arraySet(F.output,ce.pending_buf,ce.pending_out,le,F.next_out),F.next_out+=le,ce.pending_out+=le,F.total_out+=le,F.avail_out-=le,ce.pending-=le,ce.pending===0&&(ce.pending_out=0))}function D(F,ce){s._tr_flush_block(F,0<=F.block_start?F.block_start:-1,F.strstart-F.block_start,ce),F.block_start=F.strstart,N(F.strm)}function A(F,ce){F.pending_buf[F.pending++]=ce}function q(F,ce){F.pending_buf[F.pending++]=ce>>>8&255,F.pending_buf[F.pending++]=255&ce}function Y(F,ce){var le,Q,X=F.max_chain_length,ee=F.strstart,ge=F.prev_length,ye=F.nice_match,H=F.strstart>F.w_size-I?F.strstart-(F.w_size-I):0,G=F.window,ie=F.w_mask,he=F.prev,_e=F.strstart+k,oe=G[ee+ge-1],Z=G[ee+ge];F.prev_length>=F.good_match&&(X>>=2),ye>F.lookahead&&(ye=F.lookahead);do if(G[(le=ce)+ge]===Z&&G[le+ge-1]===oe&&G[le]===G[ee]&&G[++le]===G[ee+1]){ee+=2,le++;do;while(G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&G[++ee]===G[++le]&&ee<_e);if(Q=k-(_e-ee),ee=_e-k,geH&&--X!=0);return ge<=F.lookahead?ge:F.lookahead}function K(F){var ce,le,Q,X,ee,ge,ye,H,G,ie,he=F.w_size;do{if(X=F.window_size-F.lookahead-F.strstart,F.strstart>=he+(he-I)){for(a.arraySet(F.window,F.window,he,he,0),F.match_start-=he,F.strstart-=he,F.block_start-=he,ce=le=F.hash_size;Q=F.head[--ce],F.head[ce]=he<=Q?Q-he:0,--le;);for(ce=le=he;Q=F.prev[--ce],F.prev[ce]=he<=Q?Q-he:0,--le;);X+=he}if(F.strm.avail_in===0)break;if(ge=F.strm,ye=F.window,H=F.strstart+F.lookahead,G=X,ie=void 0,ie=ge.avail_in,G=E)for(ee=F.strstart-F.insert,F.ins_h=F.window[ee],F.ins_h=(F.ins_h<=E&&(F.ins_h=(F.ins_h<=E)if(Q=s._tr_tally(F,F.strstart-F.match_start,F.match_length-E),F.lookahead-=F.match_length,F.match_length<=F.max_lazy_match&&F.lookahead>=E){for(F.match_length--;F.strstart++,F.ins_h=(F.ins_h<=E&&(F.ins_h=(F.ins_h<=E&&F.match_length<=F.prev_length){for(X=F.strstart+F.lookahead-E,Q=s._tr_tally(F,F.strstart-1-F.prev_match,F.prev_length-E),F.lookahead-=F.prev_length-1,F.prev_length-=2;++F.strstart<=X&&(F.ins_h=(F.ins_h<F.pending_buf_size-5&&(le=F.pending_buf_size-5);;){if(F.lookahead<=1){if(K(F),F.lookahead===0&&ce===f)return T;if(F.lookahead===0)break}F.strstart+=F.lookahead,F.lookahead=0;var Q=F.block_start+le;if((F.strstart===0||F.strstart>=Q)&&(F.lookahead=F.strstart-Q,F.strstart=Q,D(F,!1),F.strm.avail_out===0)||F.strstart-F.block_start>=F.w_size-I&&(D(F,!1),F.strm.avail_out===0))return T}return F.insert=0,ce===d?(D(F,!0),F.strm.avail_out===0?z:B):(F.strstart>F.block_start&&(D(F,!1),F.strm.avail_out),T)}),new J(4,4,8,4,se),new J(4,5,16,8,se),new J(4,6,32,32,se),new J(4,4,16,16,te),new J(8,16,32,32,te),new J(8,16,128,128,te),new J(8,32,128,256,te),new J(32,128,258,1024,te),new J(32,258,258,4096,te)],i.deflateInit=function(F,ce){return ve(F,ce,y,15,8,0)},i.deflateInit2=ve,i.deflateReset=re,i.deflateResetKeep=be,i.deflateSetHeader=function(F,ce){return F&&F.state?F.state.wrap!==2?p:(F.state.gzhead=ce,h):p},i.deflate=function(F,ce){var le,Q,X,ee;if(!F||!F.state||5>8&255),A(Q,Q.gzhead.time>>16&255),A(Q,Q.gzhead.time>>24&255),A(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),A(Q,255&Q.gzhead.os),Q.gzhead.extra&&Q.gzhead.extra.length&&(A(Q,255&Q.gzhead.extra.length),A(Q,Q.gzhead.extra.length>>8&255)),Q.gzhead.hcrc&&(F.adler=c(F.adler,Q.pending_buf,Q.pending,0)),Q.gzindex=0,Q.status=69):(A(Q,0),A(Q,0),A(Q,0),A(Q,0),A(Q,0),A(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),A(Q,3),Q.status=R);else{var ge=y+(Q.w_bits-8<<4)<<8;ge|=(2<=Q.strategy||Q.level<2?0:Q.level<6?1:Q.level===6?2:3)<<6,Q.strstart!==0&&(ge|=32),ge+=31-ge%31,Q.status=R,q(Q,ge),Q.strstart!==0&&(q(Q,F.adler>>>16),q(Q,65535&F.adler)),F.adler=1}if(Q.status===69)if(Q.gzhead.extra){for(X=Q.pending;Q.gzindex<(65535&Q.gzhead.extra.length)&&(Q.pending!==Q.pending_buf_size||(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending!==Q.pending_buf_size));)A(Q,255&Q.gzhead.extra[Q.gzindex]),Q.gzindex++;Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),Q.gzindex===Q.gzhead.extra.length&&(Q.gzindex=0,Q.status=73)}else Q.status=73;if(Q.status===73)if(Q.gzhead.name){X=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending===Q.pending_buf_size)){ee=1;break}ee=Q.gzindexX&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),ee===0&&(Q.gzindex=0,Q.status=91)}else Q.status=91;if(Q.status===91)if(Q.gzhead.comment){X=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>X&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),N(F),X=Q.pending,Q.pending===Q.pending_buf_size)){ee=1;break}ee=Q.gzindexX&&(F.adler=c(F.adler,Q.pending_buf,Q.pending-X,X)),ee===0&&(Q.status=103)}else Q.status=103;if(Q.status===103&&(Q.gzhead.hcrc?(Q.pending+2>Q.pending_buf_size&&N(F),Q.pending+2<=Q.pending_buf_size&&(A(Q,255&F.adler),A(Q,F.adler>>8&255),F.adler=0,Q.status=R)):Q.status=R),Q.pending!==0){if(N(F),F.avail_out===0)return Q.last_flush=-1,h}else if(F.avail_in===0&&W(ce)<=W(le)&&ce!==d)return U(F,-5);if(Q.status===666&&F.avail_in!==0)return U(F,-5);if(F.avail_in!==0||Q.lookahead!==0||ce!==f&&Q.status!==666){var ye=Q.strategy===2?function(H,G){for(var ie;;){if(H.lookahead===0&&(K(H),H.lookahead===0)){if(G===f)return T;break}if(H.match_length=0,ie=s._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++,ie&&(D(H,!1),H.strm.avail_out===0))return T}return H.insert=0,G===d?(D(H,!0),H.strm.avail_out===0?z:B):H.last_lit&&(D(H,!1),H.strm.avail_out===0)?T:L}(Q,ce):Q.strategy===3?function(H,G){for(var ie,he,_e,oe,Z=H.window;;){if(H.lookahead<=k){if(K(H),H.lookahead<=k&&G===f)return T;if(H.lookahead===0)break}if(H.match_length=0,H.lookahead>=E&&0H.lookahead&&(H.match_length=H.lookahead)}if(H.match_length>=E?(ie=s._tr_tally(H,1,H.match_length-E),H.lookahead-=H.match_length,H.strstart+=H.match_length,H.match_length=0):(ie=s._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++),ie&&(D(H,!1),H.strm.avail_out===0))return T}return H.insert=0,G===d?(D(H,!0),H.strm.avail_out===0?z:B):H.last_lit&&(D(H,!1),H.strm.avail_out===0)?T:L}(Q,ce):o[Q.level].func(Q,ce);if(ye!==z&&ye!==B||(Q.status=666),ye===T||ye===z)return F.avail_out===0&&(Q.last_flush=-1),h;if(ye===L&&(ce===1?s._tr_align(Q):ce!==5&&(s._tr_stored_block(Q,0,0,!1),ce===3&&($(Q.head),Q.lookahead===0&&(Q.strstart=0,Q.block_start=0,Q.insert=0))),N(F),F.avail_out===0))return Q.last_flush=-1,h}return ce!==d?h:Q.wrap<=0?1:(Q.wrap===2?(A(Q,255&F.adler),A(Q,F.adler>>8&255),A(Q,F.adler>>16&255),A(Q,F.adler>>24&255),A(Q,255&F.total_in),A(Q,F.total_in>>8&255),A(Q,F.total_in>>16&255),A(Q,F.total_in>>24&255)):(q(Q,F.adler>>>16),q(Q,65535&F.adler)),N(F),0=le.w_size&&(ee===0&&($(le.head),le.strstart=0,le.block_start=0,le.insert=0),G=new a.Buf8(le.w_size),a.arraySet(G,ce,ie-le.w_size,le.w_size,0),ce=G,ie=le.w_size),ge=F.avail_in,ye=F.next_in,H=F.input,F.avail_in=ie,F.next_in=0,F.input=ce,K(le);le.lookahead>=E;){for(Q=le.strstart,X=le.lookahead-(E-1);le.ins_h=(le.ins_h<>>=E=C>>>24,x-=E,(E=C>>>16&255)===0)L[u++]=65535&C;else{if(!(16&E)){if(!(64&E)){C=b[(65535&C)+(y&(1<>>=E,x-=E),x<15&&(y+=T[l++]<>>=E=C>>>24,x-=E,!(16&(E=C>>>16&255))){if(!(64&E)){C=_[(65535&C)+(y&(1<>>=E,x-=E,(E=u-f)>3,y&=(1<<(x-=k<<3))-1,o.next_in=l,o.next_out=u,o.avail_in=l>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x(P){var R;return P&&P.state?(R=P.state,P.total_in=P.total_out=R.total=0,P.msg="",R.wrap&&(P.adler=1&R.wrap),R.mode=p,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new o.Buf32(m),R.distcode=R.distdyn=new o.Buf32(g),R.sane=1,R.back=-1,d):h}function b(P){var R;return P&&P.state?((R=P.state).wsize=0,R.whave=0,R.wnext=0,x(P)):h}function _(P,R){var T,L;return P&&P.state?(L=P.state,R<0?(T=0,R=-R):(T=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15=B.wsize?(o.arraySet(B.window,R,T-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(L<(z=B.wsize-B.wnext)&&(z=L),o.arraySet(B.window,R,T-L,z,B.wnext),(L-=z)?(o.arraySet(B.window,R,T-L,L,0),B.wnext=L,B.whave=B.wsize):(B.wnext+=z,B.wnext===B.wsize&&(B.wnext=0),B.whave>>8&255,T.check=s(T.check,ee,2,0),D=N=0,T.mode=2;break}if(T.flags=0,T.head&&(T.head.done=!1),!(1&T.wrap)||(((255&N)<<8)+(N>>8))%31){P.msg="incorrect header check",T.mode=30;break}if((15&N)!=8){P.msg="unknown compression method",T.mode=30;break}if(D-=4,F=8+(15&(N>>>=4)),T.wbits===0)T.wbits=F;else if(F>T.wbits){P.msg="invalid window size",T.mode=30;break}T.dmax=1<>8&1),512&T.flags&&(ee[0]=255&N,ee[1]=N>>>8&255,T.check=s(T.check,ee,2,0)),D=N=0,T.mode=3;case 3:for(;D<32;){if(W===0)break e;W--,N+=L[B++]<>>8&255,ee[2]=N>>>16&255,ee[3]=N>>>24&255,T.check=s(T.check,ee,4,0)),D=N=0,T.mode=4;case 4:for(;D<16;){if(W===0)break e;W--,N+=L[B++]<>8),512&T.flags&&(ee[0]=255&N,ee[1]=N>>>8&255,T.check=s(T.check,ee,2,0)),D=N=0,T.mode=5;case 5:if(1024&T.flags){for(;D<16;){if(W===0)break e;W--,N+=L[B++]<>>8&255,T.check=s(T.check,ee,2,0)),D=N=0}else T.head&&(T.head.extra=null);T.mode=6;case 6:if(1024&T.flags&&(W<(Y=T.length)&&(Y=W),Y&&(T.head&&(F=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),o.arraySet(T.head.extra,L,B,Y,F)),512&T.flags&&(T.check=s(T.check,L,Y,B)),W-=Y,B+=Y,T.length-=Y),T.length))break e;T.length=0,T.mode=7;case 7:if(2048&T.flags){if(W===0)break e;for(Y=0;F=L[B+Y++],T.head&&F&&T.length<65536&&(T.head.name+=String.fromCharCode(F)),F&&Y>9&1,T.head.done=!0),P.adler=T.check=0,T.mode=12;break;case 10:for(;D<32;){if(W===0)break e;W--,N+=L[B++]<>>=7&D,D-=7&D,T.mode=27;break}for(;D<3;){if(W===0)break e;W--,N+=L[B++]<>>=1)){case 0:T.mode=14;break;case 1:if(k(T),T.mode=20,R!==6)break;N>>>=2,D-=2;break e;case 2:T.mode=17;break;case 3:P.msg="invalid block type",T.mode=30}N>>>=2,D-=2;break;case 14:for(N>>>=7&D,D-=7&D;D<32;){if(W===0)break e;W--,N+=L[B++]<>>16^65535)){P.msg="invalid stored block lengths",T.mode=30;break}if(T.length=65535&N,D=N=0,T.mode=15,R===6)break e;case 15:T.mode=16;case 16:if(Y=T.length){if(W>>=5,D-=5,T.ndist=1+(31&N),N>>>=5,D-=5,T.ncode=4+(15&N),N>>>=4,D-=4,286>>=3,D-=3}for(;T.have<19;)T.lens[ge[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,le={bits:T.lenbits},ce=c(0,T.lens,0,19,T.lencode,0,T.work,le),T.lenbits=le.bits,ce){P.msg="invalid code lengths set",T.mode=30;break}T.have=0,T.mode=19;case 19:for(;T.have>>16&255,pe=65535&X,!((te=X>>>24)<=D);){if(W===0)break e;W--,N+=L[B++]<>>=te,D-=te,T.lens[T.have++]=pe;else{if(pe===16){for(Q=te+2;D>>=te,D-=te,T.have===0){P.msg="invalid bit length repeat",T.mode=30;break}F=T.lens[T.have-1],Y=3+(3&N),N>>>=2,D-=2}else if(pe===17){for(Q=te+3;D>>=te)),N>>>=3,D-=3}else{for(Q=te+7;D>>=te)),N>>>=7,D-=7}if(T.have+Y>T.nlen+T.ndist){P.msg="invalid bit length repeat",T.mode=30;break}for(;Y--;)T.lens[T.have++]=F}}if(T.mode===30)break;if(T.lens[256]===0){P.msg="invalid code -- missing end-of-block",T.mode=30;break}if(T.lenbits=9,le={bits:T.lenbits},ce=c(u,T.lens,0,T.nlen,T.lencode,0,T.work,le),T.lenbits=le.bits,ce){P.msg="invalid literal/lengths set",T.mode=30;break}if(T.distbits=6,T.distcode=T.distdyn,le={bits:T.distbits},ce=c(f,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,le),T.distbits=le.bits,ce){P.msg="invalid distances set",T.mode=30;break}if(T.mode=20,R===6)break e;case 20:T.mode=21;case 21:if(6<=W&&258<=$){P.next_out=U,P.avail_out=$,P.next_in=B,P.avail_in=W,T.hold=N,T.bits=D,l(P,q),U=P.next_out,z=P.output,$=P.avail_out,B=P.next_in,L=P.input,W=P.avail_in,N=T.hold,D=T.bits,T.mode===12&&(T.back=-1);break}for(T.back=0;J=(X=T.lencode[N&(1<>>16&255,pe=65535&X,!((te=X>>>24)<=D);){if(W===0)break e;W--,N+=L[B++]<>be)])>>>16&255,pe=65535&X,!(be+(te=X>>>24)<=D);){if(W===0)break e;W--,N+=L[B++]<>>=be,D-=be,T.back+=be}if(N>>>=te,D-=te,T.back+=te,T.length=pe,J===0){T.mode=26;break}if(32&J){T.back=-1,T.mode=12;break}if(64&J){P.msg="invalid literal/length code",T.mode=30;break}T.extra=15&J,T.mode=22;case 22:if(T.extra){for(Q=T.extra;D>>=T.extra,D-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=23;case 23:for(;J=(X=T.distcode[N&(1<>>16&255,pe=65535&X,!((te=X>>>24)<=D);){if(W===0)break e;W--,N+=L[B++]<>be)])>>>16&255,pe=65535&X,!(be+(te=X>>>24)<=D);){if(W===0)break e;W--,N+=L[B++]<>>=be,D-=be,T.back+=be}if(N>>>=te,D-=te,T.back+=te,64&J){P.msg="invalid distance code",T.mode=30;break}T.offset=pe,T.extra=15&J,T.mode=24;case 24:if(T.extra){for(Q=T.extra;D>>=T.extra,D-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){P.msg="invalid distance too far back",T.mode=30;break}T.mode=25;case 25:if($===0)break e;if(Y=q-$,T.offset>Y){if((Y=T.offset-Y)>T.whave&&T.sane){P.msg="invalid distance too far back",T.mode=30;break}K=Y>T.wnext?(Y-=T.wnext,T.wsize-Y):T.wnext-Y,Y>T.length&&(Y=T.length),se=T.window}else se=z,K=U-T.offset,Y=T.length;for($O?(E=K[se+g[R]],D[A+g[R]]):(E=96,0),y=1<>U)+(x-=y)]=C<<24|E<<16|k|0,x!==0;);for(y=1<>=1;if(y!==0?(N&=y-1,N+=y):N=0,R++,--q[P]==0){if(P===L)break;P=f[d+g[R]]}if(z>>7)]}function A(X,ee){X.pending_buf[X.pending++]=255&ee,X.pending_buf[X.pending++]=ee>>>8&255}function q(X,ee,ge){X.bi_valid>v-ge?(X.bi_buf|=ee<>v-X.bi_valid,X.bi_valid+=ge-v):(X.bi_buf|=ee<>>=1,ge<<=1,0<--ee;);return ge>>>1}function se(X,ee,ge){var ye,H,G=new Array(g+1),ie=0;for(ye=1;ye<=g;ye++)G[ye]=ie=ie+ge[ye-1]<<1;for(H=0;H<=ee;H++){var he=X[2*H+1];he!==0&&(X[2*H]=K(G[he]++,he))}}function te(X){var ee;for(ee=0;ee>1;1<=ge;ge--)be(X,G,ge);for(H=_e;ge=X.heap[1],X.heap[1]=X.heap[X.heap_len--],be(X,G,1),ye=X.heap[1],X.heap[--X.heap_max]=ge,X.heap[--X.heap_max]=ye,G[2*H]=G[2*ge]+G[2*ye],X.depth[H]=(X.depth[ge]>=X.depth[ye]?X.depth[ge]:X.depth[ye])+1,G[2*ge+1]=G[2*ye+1]=H,X.heap[1]=H++,be(X,G,1),2<=X.heap_len;);X.heap[--X.heap_max]=X.heap[1],function(Z,V){var de,xe,Me,me,$e,Te,Re=V.dyn_tree,ae=V.max_code,Le=V.stat_desc.static_tree,Ee=V.stat_desc.has_stree,ze=V.stat_desc.extra_bits,He=V.stat_desc.extra_base,bt=V.stat_desc.max_length,Dt=0;for(me=0;me<=g;me++)Z.bl_count[me]=0;for(Re[2*Z.heap[Z.heap_max]+1]=0,de=Z.heap_max+1;de>=7;H>>=1)if(1&oe&&he.dyn_ltree[2*_e]!==0)return a;if(he.dyn_ltree[18]!==0||he.dyn_ltree[20]!==0||he.dyn_ltree[26]!==0)return s;for(_e=32;_e>>3,(G=X.static_len+3+7>>>3)<=H&&(H=G)):H=G=ge+5,ge+4<=H&&ee!==-1?Q(X,ee,ge,ye):X.strategy===4||G===H?(q(X,2+(ye?1:0),3),re(X,I,P)):(q(X,4+(ye?1:0),3),function(he,_e,oe,Z){var V;for(q(he,_e-257,5),q(he,oe-1,5),q(he,Z-4,4),V=0;V>>8&255,X.pending_buf[X.d_buf+2*X.last_lit+1]=255&ee,X.pending_buf[X.l_buf+X.last_lit]=255&ge,X.last_lit++,ee===0?X.dyn_ltree[2*ge]++:(X.matches++,ee--,X.dyn_ltree[2*(T[ge]+f+1)]++,X.dyn_dtree[2*D(ee)]++),X.last_lit===X.lit_bufsize-1},i._tr_align=function(X){q(X,2,3),Y(X,x,I),function(ee){ee.bi_valid===16?(A(ee,ee.bi_buf),ee.bi_buf=0,ee.bi_valid=0):8<=ee.bi_valid&&(ee.pending_buf[ee.pending++]=255&ee.bi_buf,ee.bi_buf>>=8,ee.bi_valid-=8)}(X)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var l,c,u,f,d=1,h={},p=!1,m=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,l={}.toString.call(a.process)==="[object process]"?function(b){process.nextTick(function(){y(b)})}:function(){if(a.postMessage&&!a.importScripts){var b=!0,_=a.onmessage;return a.onmessage=function(){b=!1},a.postMessage("","*"),a.onmessage=_,b}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",x,!1):a.attachEvent("onmessage",x),function(b){a.postMessage(f+b,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(b){y(b.data)},function(b){u.port2.postMessage(b)}):m&&"onreadystatechange"in m.createElement("script")?(c=m.documentElement,function(b){var _=m.createElement("script");_.onreadystatechange=function(){y(b),_.onreadystatechange=null,c.removeChild(_),_=null},c.appendChild(_)}):function(b){setTimeout(y,0,b)},g.setImmediate=function(b){typeof b!="function"&&(b=new Function(""+b));for(var _=new Array(arguments.length-1),S=0;S<_.length;S++)_[S]=arguments[S+1];var O={callback:b,args:_};return h[d]=O,l(d),d++},g.clearImmediate=v}function v(b){delete h[b]}function y(b){if(p)setTimeout(y,0,b);else{var _=h[b];if(_){p=!0;try{(function(S){var O=S.callback,C=S.args;switch(C.length){case 0:O();break;case 1:O(C[0]);break;case 2:O(C[0],C[1]);break;case 3:O(C[0],C[1],C[2]);break;default:O.apply(s,C)}})(_)}finally{v(b),p=!1}}}}function x(b){b.source===a&&typeof b.data=="string"&&b.data.indexOf(f)===0&&y(+b.data.slice(f.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof Zn<"u"?Zn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(Lse);var EVe=Lse.exports;const PVe=$t(EVe);var Nse={exports:{}};(function(t,e){(function(n,r){r()})(Zn,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,f){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){l(d.response,u,f)},d.onerror=function(){console.error("could not download file")},d.send()}function i(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function o(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Zn=="object"&&Zn.global===Zn?Zn:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(c,u,f){var d=a.URL||a.webkitURL,h=document.createElement("a");u=u||c.name||"download",h.download=u,h.rel="noopener",typeof c=="string"?(h.href=c,h.origin===location.origin?o(h):i(h.href)?r(c,u,f):o(h,h.target="_blank")):(h.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){o(h)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,f){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,f),u);else if(i(c))r(c,u,f);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){o(d)})}}:function(c,u,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,f);var h=c.type==="application/octet-stream",p=/constructor/i.test(a.HTMLElement)||a.safari,m=/CriOS\/[\d]+/.test(navigator.userAgent);if((m||h&&p||s)&&typeof FileReader<"u"){var g=new FileReader;g.onloadend=function(){var x=g.result;x=m?x:x.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=x:location=x,d=null},g.readAsDataURL(c)}else{var v=a.URL||a.webkitURL,y=v.createObjectURL(c);d?d.location=y:location.href=y,d=null,setTimeout(function(){v.revokeObjectURL(y)},4e4)}});a.saveAs=l.saveAs=l,t.exports=l})})(Nse);var $se=Nse.exports;const Fse="POST_MESSAGE";function ba(t,e){return{type:Fse,messageType:t,messageText:typeof e=="string"?e:e.message}}const jse="HIDE_MESSAGE";function MVe(t){return{type:jse,messageId:t}}var kVe={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const gH=$t(kVe);var vH={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function AVe(t){var e,n=[],r=1,i;if(typeof t=="string")if(t=t.toLowerCase(),gH[t])n=gH[t].slice(),i="rgb";else if(t==="transparent")r=0,i="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var o=t.slice(1),a=o.length,s=a<=4;r=1,s?(n=[parseInt(o[0]+o[0],16),parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16)],a===4&&(r=parseInt(o[3]+o[3],16)/255)):(n=[parseInt(o[0]+o[1],16),parseInt(o[2]+o[3],16),parseInt(o[4]+o[5],16)],a===8&&(r=parseInt(o[6]+o[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),i="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var l=e[1],c=l==="rgb",o=l.replace(/a$/,"");i=o;var a=o==="cmyk"?4:o==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(d,h){if(/%$/.test(d))return h===a?parseFloat(d)/100:o==="rgb"?parseFloat(d)*255/100:parseFloat(d);if(o[h]==="h"){if(/deg$/.test(d))return parseFloat(d);if(vH[d]!==void 0)return vH[d]}return parseFloat(d)}),l===o&&n.push(1),r=c||n[a]===void 0?1:n[a],n=n.slice(0,a)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(u){return parseFloat(u)}),i=t.match(/([a-z])/ig).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(n=[t[0],t[1],t[2]],i="rgb",r=t.length===4?t[3]:1):t instanceof Object&&(t.r!=null||t.red!=null||t.R!=null?(i="rgb",n=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(i="hsl",n=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),r=t.a||t.alpha||t.opacity||1,t.opacity!=null&&(r/=100)):(i="rgb",n=[t>>>16,(t&65280)>>>8,t&255]);return{space:i,values:n,alpha:r}}const M3={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},iR={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100,i,o,a,s,l,c=0;if(n===0)return l=r*255,[l,l,l];for(o=r<.5?r*(1+n):r+n-r*n,i=2*r-o,s=[0,0,0];c<3;)a=e+1/3*-(c-1),a<0?a++:a>1&&a--,l=6*a<1?i+(o-i)*6*a:2*a<1?o:3*a<2?i+(o-i)*(2/3-a)*6:i,s[c++]=l*255;return s}};M3.hsl=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=o-i,s,l,c;return o===i?s=0:e===o?s=(n-r)/a:n===o?s=2+(r-e)/a:r===o&&(s=4+(e-n)/a),s=Math.min(s*60,360),s<0&&(s+=360),c=(i+o)/2,o===i?l=0:c<=.5?l=a/(o+i):l=a/(2-o-i),[s,l*100,c*100]};function RVe(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,n=AVe(t);if(!n.space)return[];const r=n.space[0]==="h"?iR.min:M3.min,i=n.space[0]==="h"?iR.max:M3.max;return e=Array(3),e[0]=Math.min(Math.max(n.values[0],r[0]),i[0]),e[1]=Math.min(Math.max(n.values[1],r[1]),i[1]),e[2]=Math.min(Math.max(n.values[2],r[2]),i[2]),n.space[0]==="h"&&(e=iR.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}function QB(t,e,n,r="circle"){if(t.getGeometry()instanceof ql)t.setStyle(IVe(7,e,"white",2,r));else{n=typeof n=="number"?n:.25;let i=RVe(e);Array.isArray(i)?i=[i[0],i[1],i[2],n]:i=[255,255,255,n],t.setStyle(LVe(i,e,2))}}function IVe(t,e,n,r,i="circle"){return new Il({image:DVe(t,e,n,r,i)})}function DVe(t,e,n,r,i){const o=new op({color:e}),a=new Xl({color:n,width:r});switch(i){case"square":return new u3({fill:o,stroke:a,radius:t,points:4,angle:Math.PI/4,rotation:0});case"diamond":return new u3({fill:o,stroke:a,radius:t,points:4,angle:Math.PI/4,rotation:Math.PI/4});default:return new q1({fill:o,stroke:a,radius:t})}}function LVe(t,e,n){const r=new op({color:t}),i=new Xl({color:e,width:n});return new Il({fill:r,stroke:i})}function NVe(t,e,n){Ga[t]}function $Ve(t,e,n){if(Ga[t]){const i=Ga[t].getSource(),o=i==null?void 0:i.getFeatureById(e);o&&QB(o,n.color,n.opacity)}}function FVe(t,e,n){if(Ga[t]){const r=Ga[t],i=r.getView().getProjection(),a=(Array.isArray(e)?r3(e):e).transform(py,i);a.getType()==="Point"?r.getView().setCenter(a.getFirstCoordinate()):n?r.getView().fit(a,{size:r.getSize()}):r.getView().setCenter(ed(a.getExtent()))}}const iE="UPDATE_SERVER_INFO";function jVe(){return(t,e)=>{const n=pi(e());t(A2(iE,fe.get("Connecting to server"))),N$e(n.url).then(r=>{t(BVe(r))}).catch(r=>{t(ba("error",r))}).then(()=>{t(R2(iE))})}}function BVe(t){return{type:iE,serverInfo:t}}const yH="UPDATE_RESOURCES";function Bse(){return(t,e)=>{const n=pi(e());t(A2(yH,fe.get("Updating resources"))),B$e(n.url,e().userAuthState.accessToken).then(r=>{r&&window.location.reload()}).finally(()=>t(R2(yH)))}}const Qb="UPDATE_DATASETS";function zse(){return(t,e)=>{const n=pi(e());t(A2(Qb,fe.get("Loading data"))),A$e(n.url,e().userAuthState.accessToken).then(r=>{const i=Q6e();if(r=r.map(o=>({...o,variables:[...o.variables,...i[o.id]||[]]})),t(xH(r)),r.length>0){const o=e().controlState.selectedDatasetId||r[0].id;t(lle(o,r,!0))}}).catch(r=>{t(ba("error",r)),t(xH([]))}).then(()=>{t(R2(Qb))})}}function xH(t){return{type:Qb,datasets:t}}function zVe(t,e){return(n,r)=>{n(UVe(t,e));const i={};r().dataState.datasets.forEach(o=>{const[a,s]=mB(o);s.length>=0&&(i[o.id]=s)}),X6e(i)}}const Use="UPDATE_DATASET_USER_VARIABLES";function UVe(t,e){return{type:Use,datasetId:t,userVariables:e}}const YB="UPDATE_DATASET_PLACE_GROUP";function WVe(t,e){return{type:YB,datasetId:t,placeGroup:e}}const KB="ADD_DRAWN_USER_PLACE";function VVe(t,e,n,r,i){return(o,a)=>{o(GVe(t,e,n,r,i)),a().controlState.autoShowTimeSeries&&a().controlState.selectedPlaceId===e&&o(P2())}}function GVe(t,e,n,r,i){return{type:KB,placeGroupTitle:t,id:e,properties:n,geometry:r,selected:i}}const ZB="ADD_IMPORTED_USER_PLACES";function HVe(t,e,n){return{type:ZB,placeGroups:t,mapProjection:e,selected:n}}function Wse(t){return(e,n)=>{const r=SWe(n());let i;try{if(r==="csv"){const o=OWe(n());i=D6e(t,o)}else if(r==="geojson"){const o=CWe(n());i=j6e(t,o)}else if(r==="wkt"){const o=TWe(n());i=W6e(t,o)}else i=[]}catch(o){e(ba("error",o)),e(Lp("addUserPlacesFromText")),i=[]}if(i.length>0){if(e(HVe(i,wd(n()),!0)),i.length===1&&i[0].features.length===1){const a=i[0].features[0];e(M2(a.id,rw(n()),!0)),n().controlState.autoShowTimeSeries&&e(P2())}let o=0;i.forEach(a=>{o+=a.features?a.features.length:0}),e(ba("info",fe.get(`Imported ${o} place(s) in ${i.length} groups(s), 1 selected`)))}else e(ba("warning",fe.get("No places imported")))}}const JB="RENAME_USER_PLACE_GROUP";function qVe(t,e){return{type:JB,placeGroupId:t,newName:e}}const Vse="RENAME_USER_PLACE";function XVe(t,e,n){return r=>{r(QVe(t,e,n)),NVe(t)}}function QVe(t,e,n){return{type:Vse,placeGroupId:t,placeId:e,newName:n}}const Gse="RESTYLE_USER_PLACE";function YVe(t,e,n){return r=>{r(KVe(t,e,n)),$Ve(t,e,n)}}function KVe(t,e,n){return{type:Gse,placeGroupId:t,placeId:e,placeStyle:n}}const ez="REMOVE_USER_PLACE";function ZVe(t,e,n){return{type:ez,placeGroupId:t,placeId:e,places:n}}const Hse="REMOVE_USER_PLACE_GROUP";function JVe(t){return{type:Hse,placeGroupId:t}}function qse(){return(t,e)=>{const n=pi(e()),r=qr(e()),i=vo(e()),o=iw(e()),a=wy(e()),s=e().controlState.sidebarOpen,l=e().controlState.sidebarPanelId;r&&i&&o&&(l!=="stats"&&t(az("stats")),s||t(oz(!0)),t(bH(null)),F$e(n.url,r,i,o,a,e().userAuthState.accessToken).then(c=>t(bH(c))).catch(c=>{t(ba("error",c))}))}}const Xse="ADD_STATISTICS";function bH(t){return{type:Xse,statistics:t}}const Qse="REMOVE_STATISTICS";function e8e(t){return{type:Qse,index:t}}function P2(){return(t,e)=>{const n=pi(e()),r=qr(e()),i=_y(e()),o=vo(e()),a=xy(e()),s=yse(e()),l=e().controlState.timeSeriesUpdateMode,c=e().controlState.timeSeriesUseMedian,u=e().controlState.timeSeriesIncludeStdev;let f=JWe(e());const d=e().controlState.sidebarOpen,h=e().controlState.sidebarPanelId,p=Dae(e());if(r&&o&&a&&i){h!=="timeSeries"&&t(az("timeSeries")),d||t(oz(!0));const m=i.labels,g=m.length;f=f>0?f:g;let v=g-1,y=v-f+1;const x=()=>{const _=y>=0?m[y]:null,S=m[v];return $$e(n.url,r,o,s.id,s.geometry,_,S,c,u,e().userAuthState.accessToken)},b=_=>{if(_!==null&&_H(p,s.id)){const S=y>0,O=S?(g-y)/g:1;t(t8e({..._,dataProgress:O},l,v===g-1?"new":"append")),S&&_H(p,s.id)&&(y-=f,v-=f,x().then(b))}else t(ba("info","No data found here"))};x().then(b).catch(_=>{t(ba("error",_))})}}}function _H(t,e){return xB(t,e)!==null}const Yse="UPDATE_TIME_SERIES";function t8e(t,e,n){return{type:Yse,timeSeries:t,updateMode:e,dataMode:n}}const Kse="ADD_PLACE_GROUP_TIME_SERIES";function n8e(t,e){return{type:Kse,timeSeriesGroupId:t,timeSeries:e}}const Zse="REMOVE_TIME_SERIES";function r8e(t,e){return{type:Zse,groupId:t,index:e}}const Jse="REMOVE_TIME_SERIES_GROUP";function i8e(t){return{type:Jse,id:t}}const ele="REMOVE_ALL_TIME_SERIES";function o8e(){return{type:ele}}const tz="CONFIGURE_SERVERS";function a8e(t,e){return(n,r)=>{r().controlState.selectedServerId!==e?(n(o8e()),n(wH(t,e)),n(nz())):r().dataState.userServers!==t&&n(wH(t,e))}}function wH(t,e){return{type:tz,servers:t,selectedServerId:e}}function nz(){return t=>{t(jVe()),t(zse()),t(s8e()),t(c8e())}}const tle="UPDATE_EXPRESSION_CAPABILITIES";function s8e(){return(t,e)=>{const n=pi(e());L$e(n.url).then(r=>{t(l8e(r))}).catch(r=>{t(ba("error",r))})}}function l8e(t){return{type:tle,expressionCapabilities:t}}const nle="UPDATE_COLOR_BARS";function c8e(){return(t,e)=>{const n=pi(e());E$e(n.url).then(r=>{t(u8e(r))}).catch(r=>{t(ba("error",r))})}}function u8e(t){return{type:nle,colorBars:t}}const rle="UPDATE_VARIABLE_COLOR_BAR";function f8e(t,e,n,r){return(i,o)=>{const a=o().controlState.selectedDatasetId,s=o().controlState.selectedVariableName;a&&s&&i(ile(a,s,t,e,n,r))}}function d8e(t,e,n,r){return(i,o)=>{const a=o().controlState.selectedDatasetId,s=o().controlState.selectedVariable2Name;a&&s&&i(ile(a,s,t,e,n,r))}}function ile(t,e,n,r,i,o){if(i==="log"){let[a,s]=r;a<=0&&(a=.001),s<=a&&(s=1),r=[a,s]}return{type:rle,datasetId:t,variableName:e,colorBarName:n,colorBarMinMax:r,colorBarNorm:i,opacity:o}}const ole="UPDATE_VARIABLE_VOLUME";function h8e(t,e,n,r,i){return{type:ole,datasetId:t,variableName:e,variableColorBar:n,volumeRenderMode:r,volumeIsoThreshold:i}}function p8e(){return(t,e)=>{const{exportTimeSeries:n,exportTimeSeriesSeparator:r,exportPlaces:i,exportPlacesAsCollection:o,exportZipArchive:a,exportFileName:s}=e().controlState;let l=[];n?(l=[],Z1(e()).forEach(u=>{u.placeGroups&&(l=l.concat(u.placeGroups))}),l=[...l,...J1(e())]):i&&(l=by(e())),v8e(e().dataState.timeSeriesGroups,l,{includeTimeSeries:n,includePlaces:i,separator:r,placesAsCollection:o,zip:a,fileName:s})}}class ale{}class m8e extends ale{constructor(n){super();Yt(this,"fileName");Yt(this,"zipArchive");this.fileName=n,this.zipArchive=new PVe}write(n,r){this.zipArchive.file(n,r)}close(){this.zipArchive.generateAsync({type:"blob"}).then(n=>$se.saveAs(n,this.fileName))}}class g8e extends ale{write(e,n){const r=new Blob([n],{type:"text/plain;charset=utf-8"});$se.saveAs(r,e)}close(){}}function v8e(t,e,n){const{includeTimeSeries:r,includePlaces:i,placesAsCollection:o,zip:a}=n;let{separator:s,fileName:l}=n;if(s=s||"TAB",s.toUpperCase()==="TAB"&&(s=" "),l=l||"export",!r&&!i)return;let c;a?c=new m8e(`${l}.zip`):c=new g8e;let u;if(r){const{colNames:f,dataRows:d,referencedPlaces:h}=t6e(t,e),p={number:!0,string:!0},m=f.join(s),g=d.map(y=>y.map(x=>p[typeof x]?x+"":"").join(s)),v=[m].concat(g).join(` -`);c.write(`${l}.txt`,v),u=h}else u={},e.forEach(f=>{f.features&&f.features.forEach(d=>{u[d.id]=d})});if(i)if(o){const f={type:"FeatureCollection",features:Object.keys(u).map(d=>u[d])};c.write(`${l}.geojson`,JSON.stringify(f,null,2))}else Object.keys(u).forEach(f=>{c.write(`${f}.geojson`,JSON.stringify(u[f],null,2))});c.close()}const sle="SELECT_DATASET";function lle(t,e,n){return(r,i)=>{r(y8e(t,e));const o=i().controlState.datasetLocateMode;t&&n&&o!=="doNothing"&&r(cle(t,i().controlState.datasetLocateMode==="panAndZoom"))}}function y8e(t,e){return{type:sle,selectedDatasetId:t,datasets:e}}function x8e(){return(t,e)=>{const n=ew(e());n&&t(cle(n,!0))}}function b8e(){return(t,e)=>{const n=xy(e());n&&t(ule(n,!0))}}function cle(t,e){return(n,r)=>{const i=Z1(r()),o=zb(i,t);o&&o.bbox&&n(k3(o.bbox,e))}}const _8e=["Point","LineString","LinearRing","Polygon","MultiPoint","MultiLineString","MultiPolygon","Circle"];function ule(t,e){return(n,r)=>{const i=by(r()),o=xB(i,t);o&&(o.bbox&&o.bbox.length===4?n(k3(o.bbox,e)):o.geometry&&_8e.includes(o.geometry.type)&&n(k3(new Ip().readGeometry(o.geometry),e)))}}function k3(t,e){return n=>{if(t!==null){const r="map";n(w8e(r,t)),FVe(r,t,e)}}}const fle="FLY_TO";function w8e(t,e){return{type:fle,mapId:t,location:e}}const dle="SELECT_PLACE_GROUPS";function S8e(t){return(e,n)=>{const r=pi(n());e(O8e(t));const i=qr(n()),o=vse(n());if(i!==null&&o.length>0){for(const a of o)if(!uy(a)){const s=i.id,l=a.id,c=`${YB}-${s}-${l}`;e(A2(c,fe.get("Loading places"))),D$e(r.url,s,l,n().userAuthState.accessToken).then(u=>{e(WVe(i.id,u))}).catch(u=>{e(ba("error",u))}).finally(()=>{e(R2(c))})}}}}function O8e(t){return{type:dle,selectedPlaceGroupIds:t}}const hle="SELECT_PLACE";function M2(t,e,n){return(r,i)=>{r(C8e(t,e));const o=i().controlState.placeLocateMode;n&&t&&o!=="doNothing"&&r(ule(t,i().controlState.placeLocateMode==="panAndZoom"))}}function C8e(t,e){return{type:hle,placeId:t,places:e}}const ple="SET_LAYER_VISIBILITY";function T8e(t,e){return{type:ple,layerId:t,visible:e}}const mle="SET_MAP_POINT_INFO_BOX_ENABLED";function E8e(t){return{type:mle,mapPointInfoBoxEnabled:t}}const gle="SET_VARIABLE_COMPARE_MODE";function P8e(t){return{type:gle,variableCompareMode:t}}const rz="SET_VARIABLE_SPLIT_POS";function M8e(t){return{type:rz,variableSplitPos:t}}const vle="SELECT_VARIABLE";function yle(t){return{type:vle,selectedVariableName:t}}const xle="SELECT_VARIABLE_2";function k8e(t,e){return{type:xle,selectedDataset2Id:t,selectedVariable2Name:e}}const ble="SELECT_TIME";function k2(t){return{type:ble,selectedTime:t}}const _le="INC_SELECTED_TIME";function A8e(t){return{type:_le,increment:t}}const iz="SELECT_TIME_RANGE";function wle(t,e,n){return{type:iz,selectedTimeRange:t,selectedGroupId:e,selectedValueRange:n}}const R8e="SELECT_TIME_SERIES_UPDATE_MODE",Sle="UPDATE_TIME_ANIMATION";function I8e(t,e){return{type:Sle,timeAnimationActive:t,timeAnimationInterval:e}}const Ole="SET_MAP_INTERACTION";function Cle(t){return{type:Ole,mapInteraction:t}}const Tle="SET_LAYER_MENU_OPEN";function Ele(t){return{type:Tle,layerMenuOpen:t}}const Ple="SET_SIDEBAR_POSITION";function D8e(t){return{type:Ple,sidebarPosition:t}}const Mle="SET_SIDEBAR_OPEN";function oz(t){return{type:Mle,sidebarOpen:t}}const kle="SET_SIDEBAR_PANEL_ID";function az(t){return{type:kle,sidebarPanelId:t}}const Ale="SET_VOLUME_RENDER_MODE";function L8e(t){return{type:Ale,volumeRenderMode:t}}const Rle="UPDATE_VOLUME_STATE";function N8e(t,e){return{type:Rle,volumeId:t,volumeState:e}}const Ile="SET_VISIBLE_INFO_CARD_ELEMENTS";function $8e(t){return{type:Ile,visibleElements:t}}const Dle="UPDATE_INFO_CARD_ELEMENT_VIEW_MODE";function F8e(t,e){return{type:Dle,elementType:t,viewMode:e}}const Lle="ADD_ACTIVITY";function A2(t,e){return{type:Lle,id:t,message:e}}const Nle="REMOVE_ACTIVITY";function R2(t){return{type:Nle,id:t}}const $le="CHANGE_LOCALE";function Fle(t){return{type:$le,locale:t}}const jle="OPEN_DIALOG";function Lp(t){return{type:jle,dialogId:t}}const Ble="CLOSE_DIALOG";function Sy(t){return{type:Ble,dialogId:t}}const sz="UPDATE_SETTINGS";function ow(t){return{type:sz,settings:t}}const zle="STORE_SETTINGS";function Ule(){return{type:zle}}function Wle(t){return e=>{e(j8e(t)),e(B8e(t))}}const Vle="ADD_USER_COLOR_BAR";function j8e(t){return{type:Vle,colorBarId:t}}const Gle="REMOVE_USER_COLOR_BAR";function Hle(t){return{type:Gle,colorBarId:t}}function qle(t){return e=>{e(Qle(t)),e(lz(t))}}const Xle="UPDATE_USER_COLOR_BAR";function Qle(t){return{type:Xle,userColorBar:t}}function B8e(t){return(e,n)=>{const r=n().controlState.userColorBars.find(i=>i.id===t);r&&e(lz(r))}}function lz(t){return e=>{lFe(t).then(({imageData:n,errorMessage:r})=>{e(Qle({...t,imageData:n,errorMessage:r}))})}}function z8e(){return(t,e)=>{e().controlState.userColorBars.forEach(n=>{n.imageData||t(lz(n))})}}function Yle(t){return{type:sz,settings:{userColorBars:t}}}const SH=["http","https","mailto","tel"];function U8e(t){const e=(t||"").trim(),n=e.charAt(0);if(n==="#"||n==="/")return e;const r=e.indexOf(":");if(r===-1)return e;let i=-1;for(;++ii||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */var W8e=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)};const Kle=$t(W8e);function Xx(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?OH(t.position):"start"in t||"end"in t?OH(t):"line"in t||"column"in t?A3(t):""}function A3(t){return CH(t&&t.line)+":"+CH(t&&t.column)}function OH(t){return A3(t&&t.start)+"-"+A3(t&&t.end)}function CH(t){return t&&typeof t=="number"?t:1}class _s extends Error{constructor(e,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?i[1]=r:(i[0]=r.slice(0,a),i[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=Xx(n)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}_s.prototype.file="";_s.prototype.name="";_s.prototype.reason="";_s.prototype.message="";_s.prototype.stack="";_s.prototype.fatal=null;_s.prototype.column=null;_s.prototype.line=null;_s.prototype.source=null;_s.prototype.ruleId=null;_s.prototype.position=null;const gl={basename:V8e,dirname:G8e,extname:H8e,join:q8e,sep:"/"};function V8e(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');aw(t);let n=0,r=-1,i=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let a=-1,s=e.length-1;for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(t.charCodeAt(i)===e.charCodeAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=t.length),t.slice(n,r)}function G8e(t){if(aw(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.charCodeAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function H8e(t){aw(t);let e=t.length,n=-1,r=0,i=-1,o=0,a;for(;e--;){const s=t.charCodeAt(e);if(s===47){if(a){r=e+1;break}continue}n<0&&(a=!0,n=e+1),s===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function q8e(...t){let e=-1,n;for(;++e0&&t.charCodeAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function Q8e(t,e){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function aw(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const Y8e={cwd:K8e};function K8e(){return"/"}function R3(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function Z8e(t){if(typeof t=="string")t=new URL(t);else if(!R3(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return J8e(t)}function J8e(t){if(t.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=t.pathname;let n=-1;for(;++n"u"||LC.call(e,i)},RH=function(e,n){PH&&n.name==="__proto__"?PH(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},IH=function(e,n){if(n==="__proto__")if(LC.call(e,n)){if(MH)return MH(e,n).value}else return;return e[n]},tGe=function t(){var e,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,u=!1;for(typeof s=="boolean"&&(u=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});la.length;let l;s&&a.push(i);try{l=t.apply(this,a)}catch(c){const u=c;if(s&&n)throw u;return i(u)}s||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,e(a,...s))}function o(a){i(null,a)}}const iGe=tce().freeze(),ece={}.hasOwnProperty;function tce(){const t=nGe(),e=[];let n={},r,i=-1;return o.data=a,o.Parser=void 0,o.Compiler=void 0,o.freeze=s,o.attachers=e,o.use=l,o.parse=c,o.stringify=u,o.run=f,o.runSync=d,o.process=h,o.processSync=p,o;function o(){const m=tce();let g=-1;for(;++g{if(S||!O||!C)_(S);else{const E=o.stringify(O,C);E==null||(sGe(E)?C.value=E:C.result=E),_(S,C)}});function _(S,O){S||!O?x(S):y?y(O):g(null,O)}}}function p(m){let g;o.freeze(),lR("processSync",o.Parser),cR("processSync",o.Compiler);const v=C0(m);return o.process(v,y),$H("processSync","process",g),v;function y(x){g=!0,EH(x)}}}function LH(t,e){return typeof t=="function"&&t.prototype&&(oGe(t.prototype)||e in t.prototype)}function oGe(t){let e;for(e in t)if(ece.call(t,e))return!0;return!1}function lR(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function cR(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function uR(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function NH(t){if(!I3(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function $H(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function C0(t){return aGe(t)?t:new Zle(t)}function aGe(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function sGe(t){return typeof t=="string"||Kle(t)}const lGe={};function cGe(t,e){const n=lGe,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return nce(t,r,i)}function nce(t,e,n){if(uGe(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return FH(t.children,e,n)}return Array.isArray(t)?FH(t,e,n):""}function FH(t,e,n){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o0?(ec(t,t.length,0,e),t):e}const jH={}.hasOwnProperty;function fGe(t){const e={};let n=-1;for(;++na))return;const O=e.events.length;let C=O,E,k;for(;C--;)if(e.events[C][0]==="exit"&&e.events[C][1].type==="chunkFlow"){if(E){k=e.events[C][1].end;break}E=!0}for(v(r),S=O;Sx;){const _=n[b];e.containerState=_[1],_[0].exit.call(e,t)}n.length=x}function y(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function OGe(t,e,n){return Vn(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function zH(t){if(t===null||Fo(t)||xGe(t))return 1;if(yGe(t))return 2}function cz(t,e,n){const r=[];let i=-1;for(;++i1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const f=Object.assign({},t[r][1].end),d=Object.assign({},t[n][1].start);UH(f,-l),UH(d,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},a.start),t[n][1].start=Object.assign({},s.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=Ba(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=Ba(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=Ba(c,cz(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),c=Ba(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(u=2,c=Ba(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):u=0,ec(t,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n0&&yn(S)?Vn(t,y,"linePrefix",o+1)(S):y(S)}function y(S){return S===null||Tt(S)?t.check(VH,m,b)(S):(t.enter("codeFlowValue"),x(S))}function x(S){return S===null||Tt(S)?(t.exit("codeFlowValue"),y(S)):(t.consume(S),x)}function b(S){return t.exit("codeFenced"),e(S)}function _(S,O,C){let E=0;return k;function k(L){return S.enter("lineEnding"),S.consume(L),S.exit("lineEnding"),I}function I(L){return S.enter("codeFencedFence"),yn(L)?Vn(S,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):P(L)}function P(L){return L===s?(S.enter("codeFencedFenceSequence"),R(L)):C(L)}function R(L){return L===s?(E++,S.consume(L),R):E>=a?(S.exit("codeFencedFenceSequence"),yn(L)?Vn(S,T,"whitespace")(L):T(L)):C(L)}function T(L){return L===null||Tt(L)?(S.exit("codeFencedFence"),O(L)):C(L)}}}function NGe(t,e,n){const r=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}const fR={name:"codeIndented",tokenize:FGe},$Ge={tokenize:jGe,partial:!0};function FGe(t,e,n){const r=this;return i;function i(c){return t.enter("codeIndented"),Vn(t,o,"linePrefix",5)(c)}function o(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Tt(c)?t.attempt($Ge,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||Tt(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function jGe(t,e,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Tt(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):Vn(t,o,"linePrefix",5)(a)}function o(a){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):Tt(a)?i(a):n(a)}}const BGe={name:"codeText",tokenize:WGe,resolve:zGe,previous:UGe};function zGe(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r=4?e(a):t.interrupt(r.parser.constructs.flow,n,e)(a)}}function sce(t,e,n,r,i,o,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return f;function f(v){return v===60?(t.enter(r),t.enter(i),t.enter(o),t.consume(v),t.exit(o),d):v===null||v===32||v===41||D3(v)?n(v):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),m(v))}function d(v){return v===62?(t.enter(o),t.consume(v),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===62?(t.exit("chunkString"),t.exit(s),d(v)):v===null||v===60||Tt(v)?n(v):(t.consume(v),v===92?p:h)}function p(v){return v===60||v===62||v===92?(t.consume(v),h):h(v)}function m(v){return!u&&(v===null||v===41||Fo(v))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(v)):u999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):h===93?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):Tt(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||Tt(h)||s++>999?(t.exit("chunkString"),u(h)):(t.consume(h),l||(l=!yn(h)),h===92?d:f)}function d(h){return h===91||h===92||h===93?(t.consume(h),s++,f):f(h)}}function cce(t,e,n,r,i,o){let a;return s;function s(d){return d===34||d===39||d===40?(t.enter(r),t.enter(i),t.consume(d),t.exit(i),a=d===40?41:d,l):n(d)}function l(d){return d===a?(t.enter(i),t.consume(d),t.exit(i),t.exit(r),e):(t.enter(o),c(d))}function c(d){return d===a?(t.exit(o),l(a)):d===null?n(d):Tt(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Vn(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===a||d===null||Tt(d)?(t.exit("chunkString"),c(d)):(t.consume(d),d===92?f:u)}function f(d){return d===a||d===92?(t.consume(d),u):u(d)}}function Qx(t,e){let n;return r;function r(i){return Tt(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):yn(i)?Vn(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function Eg(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const YGe={name:"definition",tokenize:ZGe},KGe={tokenize:JGe,partial:!0};function ZGe(t,e,n){const r=this;let i;return o;function o(h){return t.enter("definition"),a(h)}function a(h){return lce.call(r,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return i=Eg(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),l):n(h)}function l(h){return Fo(h)?Qx(t,c)(h):c(h)}function c(h){return sce(t,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return t.attempt(KGe,f,f)(h)}function f(h){return yn(h)?Vn(t,d,"whitespace")(h):d(h)}function d(h){return h===null||Tt(h)?(t.exit("definition"),r.parser.defined.push(i),e(h)):n(h)}}function JGe(t,e,n){return r;function r(s){return Fo(s)?Qx(t,i)(s):n(s)}function i(s){return cce(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return yn(s)?Vn(t,a,"whitespace")(s):a(s)}function a(s){return s===null||Tt(s)?e(s):n(s)}}const eHe={name:"hardBreakEscape",tokenize:tHe};function tHe(t,e,n){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return Tt(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}const nHe={name:"headingAtx",tokenize:iHe,resolve:rHe};function rHe(t,e){let n=t.length-2,r=3,i,o;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},o={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},ec(t,r,n-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),t}function iHe(t,e,n){let r=0;return i;function i(u){return t.enter("atxHeading"),o(u)}function o(u){return t.enter("atxHeadingSequence"),a(u)}function a(u){return u===35&&r++<6?(t.consume(u),a):u===null||Fo(u)?(t.exit("atxHeadingSequence"),s(u)):n(u)}function s(u){return u===35?(t.enter("atxHeadingSequence"),l(u)):u===null||Tt(u)?(t.exit("atxHeading"),e(u)):yn(u)?Vn(t,s,"whitespace")(u):(t.enter("atxHeadingText"),c(u))}function l(u){return u===35?(t.consume(u),l):(t.exit("atxHeadingSequence"),s(u))}function c(u){return u===null||u===35||Fo(u)?(t.exit("atxHeadingText"),s(u)):(t.consume(u),c)}}const oHe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],HH=["pre","script","style","textarea"],aHe={name:"htmlFlow",tokenize:uHe,resolveTo:cHe,concrete:!0},sHe={tokenize:dHe,partial:!0},lHe={tokenize:fHe,partial:!0};function cHe(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function uHe(t,e,n){const r=this;let i,o,a,s,l;return c;function c(A){return u(A)}function u(A){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(A),f}function f(A){return A===33?(t.consume(A),d):A===47?(t.consume(A),o=!0,m):A===63?(t.consume(A),i=3,r.interrupt?e:$):Cl(A)?(t.consume(A),a=String.fromCharCode(A),g):n(A)}function d(A){return A===45?(t.consume(A),i=2,h):A===91?(t.consume(A),i=5,s=0,p):Cl(A)?(t.consume(A),i=4,r.interrupt?e:$):n(A)}function h(A){return A===45?(t.consume(A),r.interrupt?e:$):n(A)}function p(A){const q="CDATA[";return A===q.charCodeAt(s++)?(t.consume(A),s===q.length?r.interrupt?e:P:p):n(A)}function m(A){return Cl(A)?(t.consume(A),a=String.fromCharCode(A),g):n(A)}function g(A){if(A===null||A===47||A===62||Fo(A)){const q=A===47,Y=a.toLowerCase();return!q&&!o&&HH.includes(Y)?(i=1,r.interrupt?e(A):P(A)):oHe.includes(a.toLowerCase())?(i=6,q?(t.consume(A),v):r.interrupt?e(A):P(A)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):o?y(A):x(A))}return A===45||ma(A)?(t.consume(A),a+=String.fromCharCode(A),g):n(A)}function v(A){return A===62?(t.consume(A),r.interrupt?e:P):n(A)}function y(A){return yn(A)?(t.consume(A),y):k(A)}function x(A){return A===47?(t.consume(A),k):A===58||A===95||Cl(A)?(t.consume(A),b):yn(A)?(t.consume(A),x):k(A)}function b(A){return A===45||A===46||A===58||A===95||ma(A)?(t.consume(A),b):_(A)}function _(A){return A===61?(t.consume(A),S):yn(A)?(t.consume(A),_):x(A)}function S(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(t.consume(A),l=A,O):yn(A)?(t.consume(A),S):C(A)}function O(A){return A===l?(t.consume(A),l=null,E):A===null||Tt(A)?n(A):(t.consume(A),O)}function C(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||Fo(A)?_(A):(t.consume(A),C)}function E(A){return A===47||A===62||yn(A)?x(A):n(A)}function k(A){return A===62?(t.consume(A),I):n(A)}function I(A){return A===null||Tt(A)?P(A):yn(A)?(t.consume(A),I):n(A)}function P(A){return A===45&&i===2?(t.consume(A),z):A===60&&i===1?(t.consume(A),B):A===62&&i===4?(t.consume(A),N):A===63&&i===3?(t.consume(A),$):A===93&&i===5?(t.consume(A),W):Tt(A)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(sHe,D,R)(A)):A===null||Tt(A)?(t.exit("htmlFlowData"),R(A)):(t.consume(A),P)}function R(A){return t.check(lHe,T,D)(A)}function T(A){return t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),L}function L(A){return A===null||Tt(A)?R(A):(t.enter("htmlFlowData"),P(A))}function z(A){return A===45?(t.consume(A),$):P(A)}function B(A){return A===47?(t.consume(A),a="",U):P(A)}function U(A){if(A===62){const q=a.toLowerCase();return HH.includes(q)?(t.consume(A),N):P(A)}return Cl(A)&&a.length<8?(t.consume(A),a+=String.fromCharCode(A),U):P(A)}function W(A){return A===93?(t.consume(A),$):P(A)}function $(A){return A===62?(t.consume(A),N):A===45&&i===2?(t.consume(A),$):P(A)}function N(A){return A===null||Tt(A)?(t.exit("htmlFlowData"),D(A)):(t.consume(A),N)}function D(A){return t.exit("htmlFlow"),e(A)}}function fHe(t,e,n){const r=this;return i;function i(a){return Tt(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function dHe(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(I2,e,n)}}const hHe={name:"htmlText",tokenize:pHe};function pHe(t,e,n){const r=this;let i,o,a;return s;function s($){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume($),l}function l($){return $===33?(t.consume($),c):$===47?(t.consume($),_):$===63?(t.consume($),x):Cl($)?(t.consume($),C):n($)}function c($){return $===45?(t.consume($),u):$===91?(t.consume($),o=0,p):Cl($)?(t.consume($),y):n($)}function u($){return $===45?(t.consume($),h):n($)}function f($){return $===null?n($):$===45?(t.consume($),d):Tt($)?(a=f,B($)):(t.consume($),f)}function d($){return $===45?(t.consume($),h):f($)}function h($){return $===62?z($):$===45?d($):f($)}function p($){const N="CDATA[";return $===N.charCodeAt(o++)?(t.consume($),o===N.length?m:p):n($)}function m($){return $===null?n($):$===93?(t.consume($),g):Tt($)?(a=m,B($)):(t.consume($),m)}function g($){return $===93?(t.consume($),v):m($)}function v($){return $===62?z($):$===93?(t.consume($),v):m($)}function y($){return $===null||$===62?z($):Tt($)?(a=y,B($)):(t.consume($),y)}function x($){return $===null?n($):$===63?(t.consume($),b):Tt($)?(a=x,B($)):(t.consume($),x)}function b($){return $===62?z($):x($)}function _($){return Cl($)?(t.consume($),S):n($)}function S($){return $===45||ma($)?(t.consume($),S):O($)}function O($){return Tt($)?(a=O,B($)):yn($)?(t.consume($),O):z($)}function C($){return $===45||ma($)?(t.consume($),C):$===47||$===62||Fo($)?E($):n($)}function E($){return $===47?(t.consume($),z):$===58||$===95||Cl($)?(t.consume($),k):Tt($)?(a=E,B($)):yn($)?(t.consume($),E):z($)}function k($){return $===45||$===46||$===58||$===95||ma($)?(t.consume($),k):I($)}function I($){return $===61?(t.consume($),P):Tt($)?(a=I,B($)):yn($)?(t.consume($),I):E($)}function P($){return $===null||$===60||$===61||$===62||$===96?n($):$===34||$===39?(t.consume($),i=$,R):Tt($)?(a=P,B($)):yn($)?(t.consume($),P):(t.consume($),T)}function R($){return $===i?(t.consume($),i=void 0,L):$===null?n($):Tt($)?(a=R,B($)):(t.consume($),R)}function T($){return $===null||$===34||$===39||$===60||$===61||$===96?n($):$===47||$===62||Fo($)?E($):(t.consume($),T)}function L($){return $===47||$===62||Fo($)?E($):n($)}function z($){return $===62?(t.consume($),t.exit("htmlTextData"),t.exit("htmlText"),e):n($)}function B($){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume($),t.exit("lineEnding"),U}function U($){return yn($)?Vn(t,W,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):W($)}function W($){return t.enter("htmlTextData"),a($)}}const fz={name:"labelEnd",tokenize:bHe,resolveTo:xHe,resolveAll:yHe},mHe={tokenize:_He},gHe={tokenize:wHe},vHe={tokenize:SHe};function yHe(t){let e=-1;for(;++e=3&&(c===null||Tt(c))?(t.exit("thematicBreak"),e(c)):n(c)}function l(c){return c===i?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),yn(c)?Vn(t,s,"whitespace")(c):s(c))}}const _o={name:"list",tokenize:RHe,continuation:{tokenize:IHe},exit:LHe},kHe={tokenize:NHe,partial:!0},AHe={tokenize:DHe,partial:!0};function RHe(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(h){const p=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:L3(h)){if(r.containerState.type||(r.containerState.type=p,t.enter(p,{_container:!0})),p==="listUnordered")return t.enter("listItemPrefix"),h===42||h===45?t.check(NC,n,c)(h):c(h);if(!r.interrupt||h===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(h)}return n(h)}function l(h){return L3(h)&&++a<10?(t.consume(h),l):(!r.interrupt||a<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(t.exit("listItemValue"),c(h)):n(h)}function c(h){return t.enter("listItemMarker"),t.consume(h),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,t.check(I2,r.interrupt?n:u,t.attempt(kHe,d,f))}function u(h){return r.containerState.initialBlankLine=!0,o++,d(h)}function f(h){return yn(h)?(t.enter("listItemPrefixWhitespace"),t.consume(h),t.exit("listItemPrefixWhitespace"),d):n(h)}function d(h){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(h)}}function IHe(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(I2,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Vn(t,e,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!yn(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(AHe,e,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Vn(t,t.attempt(_o,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function DHe(t,e,n){const r=this;return Vn(t,i,"listItemIndent",r.containerState.size+1);function i(o){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?e(o):n(o)}}function LHe(t){t.exit(this.containerState.type)}function NHe(t,e,n){const r=this;return Vn(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const a=r.events[r.events.length-1];return!yn(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):n(o)}}const qH={name:"setextUnderline",tokenize:FHe,resolveTo:$He};function $He(t,e){let n=t.length,r,i,o;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!o&&t[n][1].type==="definition"&&(o=n);const a={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",a,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=a,t.push(["exit",a,e]),t}function FHe(t,e,n){const r=this;let i;return o;function o(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),yn(c)?Vn(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Tt(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}const jHe={tokenize:BHe};function BHe(t){const e=this,n=t.attempt(I2,r,t.attempt(this.parser.constructs.flowInitial,i,Vn(t,t.attempt(this.parser.constructs.flow,i,t.attempt(GGe,i)),"linePrefix")));return n;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const zHe={resolveAll:fce()},UHe=uce("string"),WHe=uce("text");function uce(t){return{tokenize:e,resolveAll:fce(t==="text"?VHe:void 0)};function e(n){const r=this,i=this.parser.constructs[t],o=n.attempt(i,a,s);return a;function a(u){return c(u)?o(u):s(u)}function s(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),o(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const f=i[u];let d=-1;if(f)for(;++d-1){const s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}function qHe(t,e){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const s9e=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function l9e(t){return t.replace(s9e,c9e)}function c9e(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return dce(n.slice(o?2:1),o?16:10)}return uz(n)||t}const hce={}.hasOwnProperty,u9e=function(t,e,n){return typeof e!="string"&&(n=e,e=void 0),f9e(n)(a9e(i9e(n).document().write(o9e()(t,e,!0))))};function f9e(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ge),autolinkProtocol:I,autolinkEmail:I,atxHeading:s(le),blockQuote:s(be),characterEscape:I,characterReference:I,codeFenced:s(re),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(re,l),codeText:s(ve,l),codeTextData:I,data:I,codeFlowValue:I,definition:s(F),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(ce),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(X,l),htmlFlowData:I,htmlText:s(X,l),htmlTextData:I,image:s(ee),label:l,link:s(ge),listItem:s(H),listItemValue:p,listOrdered:s(ye,h),listUnordered:s(ye),paragraph:s(G),reference:Y,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(le),strong:s(ie),thematicBreak:s(_e)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:pe,autolinkProtocol:J,blockQuote:u(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:se,characterReferenceMarkerNumeric:se,characterReferenceValue:te,codeFenced:u(y),codeFencedFence:v,codeFencedFenceInfo:m,codeFencedFenceMeta:g,codeFlowValue:P,codeIndented:u(x),codeText:u(B),codeTextData:P,data:P,definition:u(),definitionDestinationString:S,definitionLabelString:b,definitionTitleString:_,emphasis:u(),hardBreakEscape:u(T),hardBreakTrailing:u(T),htmlFlow:u(L),htmlFlowData:P,htmlText:u(z),htmlTextData:P,image:u(W),label:N,labelText:$,lineEnding:R,link:u(U),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:K,resourceDestinationString:D,resourceTitleString:A,resource:q,setextHeading:u(k),setextHeadingLineSequence:E,setextHeadingText:C,strong:u(),thematicBreak:u()}};pce(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(oe){let Z={type:"root",children:[]};const V={stack:[Z],tokenStack:[],config:e,enter:c,exit:f,buffer:l,resume:d,setData:o,getData:a},de=[];let xe=-1;for(;++xe0){const Me=V.tokenStack[V.tokenStack.length-1];(Me[1]||QH).call(V,void 0,Me[0])}for(Z.position={start:Fu(oe.length>0?oe[0][1].start:{line:1,column:1,offset:0}),end:Fu(oe.length>0?oe[oe.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe{const r=this.data("settings");return u9e(n,Object.assign({},r,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function p9e(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function m9e(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:` -`}]}function g9e(t,e){const n=e.value?e.value+` -`:"",r=e.lang?e.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return e.meta&&(o.data={meta:e.meta}),t.patch(e,o),o=t.applyData(e,o),o={type:"element",tagName:"pre",properties:{},children:[o]},t.patch(e,o),o}function v9e(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function y9e(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Oy(t){const e=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const s=t.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(a=String.fromCharCode(o,s),i=1):a="�"}else a=String.fromCharCode(o);a&&(e.push(t.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function mce(t,e){const n=String(e.identifier).toUpperCase(),r=Oy(n.toLowerCase()),i=t.footnoteOrder.indexOf(n);let o;i===-1?(t.footnoteOrder.push(n),t.footnoteCounts[n]=1,o=t.footnoteOrder.length):(t.footnoteCounts[n]++,o=i+1);const a=t.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+r,id:t.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(e,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return t.patch(e,l),t.applyData(e,l)}function x9e(t,e){const n=t.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},mce(t,{type:"footnoteReference",identifier:i,position:e.position})}function b9e(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function _9e(t,e){if(t.dangerous){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}return null}function gce(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return{type:"text",value:"!["+e.alt+r};const i=t.all(e),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function w9e(t,e){const n=t.definition(e.identifier);if(!n)return gce(t,e);const r={src:Oy(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function S9e(t,e){const n={src:Oy(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function O9e(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function C9e(t,e){const n=t.definition(e.identifier);if(!n)return gce(t,e);const r={href:Oy(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function T9e(t,e){const n={href:Oy(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function E9e(t,e,n){const r=t.all(e),i=n?P9e(n):vce(e),o={},a=[];if(typeof e.checked=="boolean"){const u=r[0];let f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s1}function M9e(t,e){const n={},r=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i-1?r.offset:null}}}function D9e(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},s=dz(e.children[1]),l=hz(e.children[e.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),i.push(a)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)}function L9e(t,e,n){const r=n?n.children:void 0,o=(r?r.indexOf(e):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:e.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(ZH(e.slice(i),i>0,!1)),o.join("")}function ZH(t,e,n){let r=0,i=t.length;if(e){let o=t.codePointAt(r);for(;o===YH||o===KH;)r++,o=t.codePointAt(r)}if(n){let o=t.codePointAt(i-1);for(;o===YH||o===KH;)i--,o=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}function F9e(t,e){const n={type:"text",value:$9e(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function j9e(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const B9e={blockquote:p9e,break:m9e,code:g9e,delete:v9e,emphasis:y9e,footnoteReference:mce,footnote:x9e,heading:b9e,html:_9e,imageReference:w9e,image:S9e,inlineCode:O9e,linkReference:C9e,link:T9e,listItem:E9e,list:M9e,paragraph:k9e,root:A9e,strong:R9e,table:D9e,tableCell:N9e,tableRow:L9e,text:F9e,thematicBreak:j9e,toml:NS,yaml:NS,definition:NS,footnoteDefinition:NS};function NS(){return null}const xce=function(t){if(t==null)return V9e;if(typeof t=="string")return W9e(t);if(typeof t=="object")return Array.isArray(t)?z9e(t):U9e(t);if(typeof t=="function")return D2(t);throw new Error("Expected function, string, or object as test")};function z9e(t){const e=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],h,p,m;if((!e||i(s,l,c[c.length-1]||null))&&(d=X9e(n(s,c)),d[0]===JH))return d;if(s.children&&d[0]!==H9e)for(p=(r?s.children.length:-1)+o,m=c.concat(s);p>-1&&p{const i=t9(r.identifier);i&&!e9.call(e,i)&&(e[i]=r)}),n;function n(r){const i=t9(r);return i&&e9.call(e,i)?e[i]:null}}function t9(t){return String(t||"").toUpperCase()}const oE={}.hasOwnProperty;function K9e(t,e){const n=e||{},r=n.allowDangerousHtml||!1,i={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...B9e,...n.handlers},a.definition=Y9e(t),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=Z9e,a.applyData=J9e,a.one=s,a.all=l,a.wrap=t7e,a.augment=o,pz(t,"footnoteDefinition",c=>{const u=String(c.identifier).toUpperCase();oE.call(i,u)||(i[u]=c)}),a;function o(c,u){if(c&&"data"in c&&c.data){const f=c.data;f.hName&&(u.type!=="element"&&(u={type:"element",tagName:"",properties:{},children:[]}),u.tagName=f.hName),u.type==="element"&&f.hProperties&&(u.properties={...u.properties,...f.hProperties}),"children"in u&&u.children&&f.hChildren&&(u.children=f.hChildren)}if(c){const f="type"in c?c:{position:c};Q9e(f)||(u.position={start:dz(f),end:hz(f)})}return u}function a(c,u,f,d){return Array.isArray(f)&&(d=f,f={}),o(c,{type:"element",tagName:u,properties:f||{},children:d||[]})}function s(c,u){return bce(a,c,u)}function l(c){return mz(a,c)}}function Z9e(t,e){t.position&&(e.position=I9e(t))}function J9e(t,e){let n=e;if(t&&t.data){const r=t.data.hName,i=t.data.hChildren,o=t.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function bce(t,e,n){const r=e&&e.type;if(!r)throw new Error("Expected node, got `"+e+"`");return oE.call(t.handlers,r)?t.handlers[r](t,e,n):t.passThrough&&t.passThrough.includes(r)?"children"in e?{...e,children:mz(t,e)}:e:t.unknownHandler?t.unknownHandler(t,e,n):e7e(t,e)}function mz(t,e){const n=[];if("children"in e){const r=e.children;let i=-1;for(;++i0&&n.push({type:"text",value:` -`}),n}function n7e(t){const e=[];let n=-1;for(;++n1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+a},children:t.wrap(i,!0)};t.patch(r,u),e.push(u)}if(e.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:t.wrap(e,!0)},{type:"text",value:` -`}]}}function _ce(t,e){const n=K9e(t,e),r=n.one(t,null),i=n7e(n);return i&&r.children.push({type:"text",value:` -`},i),Array.isArray(r)?{type:"root",children:r}:r}const r7e=function(t,e){return t&&"run"in t?i7e(t,e):o7e(t||e)};function i7e(t,e){return(n,r,i)=>{t.run(_ce(n,e),r,o=>{i(o)})}}function o7e(t){return e=>_ce(e,t)}class sw{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}sw.prototype.property={};sw.prototype.normal={};sw.prototype.space=null;function wce(t,e){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&u7e.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(r9,p7e);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!r9.test(o)){let a=o.replace(f7e,h7e);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=gz}return new i(r,e)}function h7e(t){return"-"+t.toLowerCase()}function p7e(t){return t.charAt(1).toUpperCase()}const i9={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},m7e=wce([Cce,Oce,Pce,Mce,l7e],"html"),g7e=wce([Cce,Oce,Pce,Mce,c7e],"svg");function v7e(t){if(t.allowedElements&&t.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(t.allowedElements||t.disallowedElements||t.allowElement)return e=>{pz(e,"element",(n,r,i)=>{const o=i;let a;if(t.allowedElements?a=!t.allowedElements.includes(n.tagName):t.disallowedElements&&(a=t.disallowedElements.includes(n.tagName)),!a&&t.allowElement&&typeof r=="number"&&(a=!t.allowElement(n,r,o)),a&&typeof r=="number")return t.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var kce={exports:{}},An={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var vz=Symbol.for("react.element"),yz=Symbol.for("react.portal"),L2=Symbol.for("react.fragment"),N2=Symbol.for("react.strict_mode"),$2=Symbol.for("react.profiler"),F2=Symbol.for("react.provider"),j2=Symbol.for("react.context"),y7e=Symbol.for("react.server_context"),B2=Symbol.for("react.forward_ref"),z2=Symbol.for("react.suspense"),U2=Symbol.for("react.suspense_list"),W2=Symbol.for("react.memo"),V2=Symbol.for("react.lazy"),x7e=Symbol.for("react.offscreen"),Ace;Ace=Symbol.for("react.module.reference");function Ss(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case vz:switch(t=t.type,t){case L2:case $2:case N2:case z2:case U2:return t;default:switch(t=t&&t.$$typeof,t){case y7e:case j2:case B2:case V2:case W2:case F2:return t;default:return e}}case yz:return e}}}An.ContextConsumer=j2;An.ContextProvider=F2;An.Element=vz;An.ForwardRef=B2;An.Fragment=L2;An.Lazy=V2;An.Memo=W2;An.Portal=yz;An.Profiler=$2;An.StrictMode=N2;An.Suspense=z2;An.SuspenseList=U2;An.isAsyncMode=function(){return!1};An.isConcurrentMode=function(){return!1};An.isContextConsumer=function(t){return Ss(t)===j2};An.isContextProvider=function(t){return Ss(t)===F2};An.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===vz};An.isForwardRef=function(t){return Ss(t)===B2};An.isFragment=function(t){return Ss(t)===L2};An.isLazy=function(t){return Ss(t)===V2};An.isMemo=function(t){return Ss(t)===W2};An.isPortal=function(t){return Ss(t)===yz};An.isProfiler=function(t){return Ss(t)===$2};An.isStrictMode=function(t){return Ss(t)===N2};An.isSuspense=function(t){return Ss(t)===z2};An.isSuspenseList=function(t){return Ss(t)===U2};An.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===L2||t===$2||t===N2||t===z2||t===U2||t===x7e||typeof t=="object"&&t!==null&&(t.$$typeof===V2||t.$$typeof===W2||t.$$typeof===F2||t.$$typeof===j2||t.$$typeof===B2||t.$$typeof===Ace||t.getModuleId!==void 0)};An.typeOf=Ss;kce.exports=An;var b7e=kce.exports;const _7e=$t(b7e);function w7e(t){const e=t&&typeof t=="object"&&t.type==="text"?t.value||"":t;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}function S7e(t){return t.join(" ").trim()}function O7e(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var xz={exports:{}},o9=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,C7e=/\n/g,T7e=/^\s*/,E7e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,P7e=/^:\s*/,M7e=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,k7e=/^[;\s]*/,A7e=/^\s+|\s+$/g,R7e=` -`,a9="/",s9="*",lh="",I7e="comment",D7e="declaration",L7e=function(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,r=1;function i(p){var m=p.match(C7e);m&&(n+=m.length);var g=p.lastIndexOf(R7e);r=~g?p.length-g:r+p.length}function o(){var p={line:n,column:r};return function(m){return m.position=new a(p),c(),m}}function a(p){this.start=p,this.end={line:n,column:r},this.source=e.source}a.prototype.content=t;function s(p){var m=new Error(e.source+":"+n+":"+r+": "+p);if(m.reason=p,m.filename=e.source,m.line=n,m.column=r,m.source=t,!e.silent)throw m}function l(p){var m=p.exec(t);if(m){var g=m[0];return i(g),t=t.slice(g.length),m}}function c(){l(T7e)}function u(p){var m;for(p=p||[];m=f();)m!==!1&&p.push(m);return p}function f(){var p=o();if(!(a9!=t.charAt(0)||s9!=t.charAt(1))){for(var m=2;lh!=t.charAt(m)&&(s9!=t.charAt(m)||a9!=t.charAt(m+1));)++m;if(m+=2,lh===t.charAt(m-1))return s("End of comment missing");var g=t.slice(2,m-2);return r+=2,i(g),t=t.slice(m),r+=2,p({type:I7e,comment:g})}}function d(){var p=o(),m=l(E7e);if(m){if(f(),!l(P7e))return s("property missing ':'");var g=l(M7e),v=p({type:D7e,property:l9(m[0].replace(o9,lh)),value:g?l9(g[0].replace(o9,lh)):lh});return l(k7e),v}}function h(){var p=[];u(p);for(var m;m=d();)m!==!1&&(p.push(m),u(p));return p}return c(),h()};function l9(t){return t?t.replace(A7e,lh):lh}var N7e=L7e;function Rce(t,e){var n=null;if(!t||typeof t!="string")return n;for(var r,i=N7e(t),o=typeof e=="function",a,s,l=0,c=i.length;l0?ue.createElement(h,l,f):ue.createElement(h,l)}function z7e(t){let e=-1;for(;++e for more info)`),delete $S[o]}const e=iGe().use(h9e).use(t.remarkPlugins||[]).use(r7e,{...t.remarkRehypeOptions,allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(v7e,t),n=new Zle;typeof t.children=="string"?n.value=t.children:t.children!==void 0&&t.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${t.children}\`)`);const r=e.runSync(e.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=ue.createElement(ue.Fragment,{},Ice({options:t,schema:m7e,listDepth:0},r));return t.className&&(i=ue.createElement("div",{className:t.className},i)),i}G2.propTypes={children:Qe.string,className:Qe.string,allowElement:Qe.func,allowedElements:Qe.arrayOf(Qe.string),disallowedElements:Qe.arrayOf(Qe.string),unwrapDisallowed:Qe.bool,remarkPlugins:Qe.arrayOf(Qe.oneOfType([Qe.object,Qe.func,Qe.arrayOf(Qe.oneOfType([Qe.bool,Qe.string,Qe.object,Qe.func,Qe.arrayOf(Qe.any)]))])),rehypePlugins:Qe.arrayOf(Qe.oneOfType([Qe.object,Qe.func,Qe.arrayOf(Qe.oneOfType([Qe.bool,Qe.string,Qe.object,Qe.func,Qe.arrayOf(Qe.any)]))])),sourcePos:Qe.bool,rawSourcePos:Qe.bool,skipHtml:Qe.bool,includeElementIndex:Qe.bool,transformLinkUri:Qe.oneOfType([Qe.func,Qe.bool]),linkTarget:Qe.oneOfType([Qe.func,Qe.string]),transformImageUri:Qe.func,components:Qe.object};var bz={},q7e=ft;Object.defineProperty(bz,"__esModule",{value:!0});var $p=bz.default=void 0,X7e=q7e(pt()),Q7e=w;$p=bz.default=(0,X7e.default)((0,Q7e.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Dce(t){const[e,n]=M.useState();return M.useEffect(()=>{t?fetch(t).then(r=>r.text()).then(r=>n(r)).catch(r=>{console.error(r)}):n(void 0)},[t]),e}const mR={dialog:t=>({backgroundColor:t.palette.grey[200]}),appBar:{position:"relative"},title:t=>({marginLeft:t.spacing(2),flex:1})},Y7e=Li("div")(({theme:t})=>({marginTop:t.spacing(4),marginLeft:t.spacing(40),marginRight:t.spacing(40)})),K7e=ue.forwardRef(function(e,n){return w.jsx(W2e,{direction:"up",ref:n,...e})}),Z7e=({title:t,href:e,open:n,onClose:r})=>{const i=Dce(e);return w.jsxs(rl,{fullScreen:!0,open:n,onClose:r,TransitionComponent:K7e,PaperProps:{tabIndex:-1},children:[w.jsx(xre,{sx:mR.appBar,children:w.jsxs(n2,{children:[w.jsx(Ot,{edge:"start",color:"inherit",onClick:r,"aria-label":"close",size:"large",children:w.jsx($p,{})}),w.jsx(At,{variant:"h6",sx:mR.title,children:t})]})}),w.jsx(Ys,{sx:mR.dialog,children:w.jsx(Y7e,{children:w.jsx(G2,{children:i||"",linkTarget:"_blank"})})})]})};var _z={},J7e=ft;Object.defineProperty(_z,"__esModule",{value:!0});var B3=_z.default=void 0,eqe=J7e(pt()),tqe=w;B3=_z.default=(0,eqe.default)((0,tqe.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person");const nqe=({userInfo:t})=>w.jsxs(MC,{container:!0,justifyContent:"center",spacing:1,children:[w.jsx(MC,{item:!0,children:w.jsx("img",{src:t.picture,width:84,alt:fe.get("User Profile")})}),w.jsx(MC,{item:!0,children:w.jsx(Ho,{elevation:3,children:w.jsxs(e2,{children:[w.jsx(Ux,{children:w.jsx(ts,{primary:t.name,secondary:fe.get("User name")})}),w.jsx(ep,{light:!0}),w.jsx(Ux,{children:w.jsx(ts,{primary:`${t.email} (${t.email_verified?fe.get("verified"):fe.get("not verified")})`,secondary:fe.get("E-mail")})}),w.jsx(ep,{light:!0}),w.jsx(Ux,{children:w.jsx(ts,{primary:t.nickname,secondary:fe.get("Nickname")})})]})})})]}),T0={imageAvatar:{width:32,height:32,color:"#fff",backgroundColor:Dh[300]},letterAvatar:{width:32,height:32,color:"#fff",backgroundColor:Dh[300]},signInProgress:{color:Dh[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:-12,marginLeft:-12},iconButton:{padding:0}},rqe=Li("div")(({theme:t})=>({margin:t.spacing(1),position:"relative"})),iqe=({updateAccessToken:t})=>{const e=n3e(),[n,r]=M.useState(null),[i,o]=M.useState(!1);M.useEffect(()=>{e.user&&e.user.access_token?t(e.user.access_token):t(null)},[e.user,t]);const a=()=>{c(),o(!0)},s=()=>{o(!1)},l=d=>{r(d.currentTarget)},c=()=>{r(null)},u=()=>{e.signinRedirect().then(()=>{}).catch(d=>{console.error(d)})},f=()=>{c(),e.signoutRedirect().then(()=>{}).catch(d=>{console.error(d)})};if(e.user){const d=e.user.profile;let h,p=w.jsx(B3,{});if(!d)h=w.jsx(EA,{sx:T0.letterAvatar,children:"?"});else if(d.picture)h=w.jsx(EA,{sx:T0.imageAvatar,src:d.picture,alt:d.name});else{const m=d.given_name||d.name||d.nickname,g=d.family_name;let v=null;m&&g?v=m[0]+g[0]:m?v=m[0]:g&&(v=g[0]),v!==null&&(p=v.toUpperCase()),h=w.jsx(EA,{sx:T0.letterAvatar,children:p})}return w.jsxs(M.Fragment,{children:[w.jsx(Ot,{onClick:l,"aria-controls":"user-menu","aria-haspopup":"true",size:"small",sx:T0.iconButton,children:h}),w.jsxs(Pp,{id:"user-menu",anchorEl:n,keepMounted:!0,open:!!n,onClose:c,children:[w.jsx(jr,{onClick:a,children:fe.get("Profile")}),w.jsx(jr,{onClick:f,children:fe.get("Log out")})]}),w.jsxs(rl,{open:i,keepMounted:!0,onClose:s,"aria-labelledby":"alert-dialog-slide-title","aria-describedby":"alert-dialog-slide-description",children:[w.jsx(vd,{id:"alert-dialog-slide-title",children:fe.get("User Profile")}),w.jsx(Ys,{children:w.jsx(nqe,{userInfo:e.user.profile})}),w.jsx(Tp,{children:w.jsx(tr,{onClick:s,children:"OK"})})]})]})}else{let d=w.jsx(Ot,{onClick:e.isLoading?void 0:u,size:"small",children:w.jsx(B3,{})});return e.isLoading&&(d=w.jsxs(rqe,{children:[d,w.jsx(ey,{size:24,sx:T0.signInProgress})]})),d}},oqe=t=>Kt.instance.authClient?w.jsx(iqe,{...t}):null,aqe=oqe,Lce="UPDATE_ACCESS_TOKEN";function sqe(t){return(e,n)=>{const r=n().userAuthState.accessToken;r!==t&&(e(lqe(t)),(t===null||r===null)&&e(zse()))}}function lqe(t){return{type:Lce,accessToken:t}}const cqe=t=>({}),uqe={updateAccessToken:sqe},fqe=Jt(cqe,uqe)(aqe),dqe=t=>({locale:t.controlState.locale,appName:Kt.instance.branding.appBarTitle,allowRefresh:Kt.instance.branding.allowRefresh}),hqe={openDialog:Lp,updateResources:Bse},pqe={appBar:t=>({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})})},mqe=we("a")(()=>({display:"flex",alignItems:"center"})),gqe=we("img")(({theme:t})=>({marginLeft:t.spacing(1)})),zd={toolbar:t=>({backgroundColor:Kt.instance.branding.headerBackgroundColor,paddingRight:t.spacing(1)}),logo:t=>({marginLeft:t.spacing(1)}),title:t=>({flexGrow:1,marginLeft:t.spacing(1),...Kt.instance.branding.headerTitleStyle}),imageAvatar:{width:24,height:24,color:"#fff",backgroundColor:Dh[300]},letterAvatar:{width:24,height:24,color:"#fff",backgroundColor:Dh[300]},signInWrapper:t=>({margin:t.spacing(1),position:"relative"}),signInProgress:{color:Dh[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:"-12px",marginLeft:"-12px"},iconButton:t=>({marginLeft:t.spacing(2),...Kt.instance.branding.headerIconStyle})},vqe=({appName:t,openDialog:e,allowRefresh:n,updateResources:r})=>{const[i,o]=M.useState(!1),a=()=>{e("settings")},s=()=>{window.open("https://xcube-dev.github.io/xcube-viewer/","Manual")},l=()=>{o(!0)},c=()=>{o(!1)};return w.jsxs(xre,{position:"absolute",sx:pqe.appBar,elevation:0,children:[w.jsxs(n2,{disableGutters:!0,sx:zd.toolbar,variant:"dense",children:[w.jsx(mqe,{href:Kt.instance.branding.organisationUrl||"",target:"_blank",rel:"noreferrer",children:w.jsx(gqe,{src:Kt.instance.branding.logoImage,width:Kt.instance.branding.logoWidth,alt:"xcube logo"})}),w.jsx(At,{component:"h1",variant:"h6",color:"inherit",noWrap:!0,sx:zd.title,children:t}),w.jsx(fqe,{}),n&&w.jsx(xt,{arrow:!0,title:fe.get("Refresh"),children:w.jsx(Ot,{onClick:r,size:"small",sx:zd.iconButton,children:w.jsx(U5,{})})}),Kt.instance.branding.allowDownloads&&w.jsx(xt,{arrow:!0,title:fe.get("Export data"),children:w.jsx(Ot,{onClick:()=>e("export"),size:"small",sx:zd.iconButton,children:w.jsx(G5,{})})}),w.jsx(xt,{arrow:!0,title:fe.get("Help"),children:w.jsx(Ot,{onClick:s,size:"small",sx:zd.iconButton,children:w.jsx(F5,{})})}),w.jsx(xt,{arrow:!0,title:fe.get("Imprint"),children:w.jsx(Ot,{onClick:l,size:"small",sx:zd.iconButton,children:w.jsx(Oie,{})})}),w.jsx(xt,{arrow:!0,title:fe.get("Settings"),children:w.jsx(Ot,{onClick:a,size:"small",sx:zd.iconButton,children:w.jsx(B5,{})})})]}),w.jsx(Z7e,{title:fe.get("Imprint"),href:"docs/imprint.md",open:i,onClose:c})]})},yqe=Jt(dqe,hqe)(vqe),xqe=Li("form")(({theme:t})=>({display:"flex",flexWrap:"wrap",paddingTop:t.spacing(1),paddingLeft:t.spacing(1),paddingRight:t.spacing(1),flexGrow:0}));function bqe({children:t}){return w.jsx(xqe,{autoComplete:"off",children:t})}var wz={},_qe=ft;Object.defineProperty(wz,"__esModule",{value:!0});var Sz=wz.default=void 0,wqe=_qe(pt()),Sqe=w;Sz=wz.default=(0,wqe.default)((0,Sqe.jsx)("path",{d:"M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07c-.64-2.46-2.4-4.47-4.73-5.41V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"}),"TravelExplore");const Ya=({sx:t,className:e,disabled:n,onClick:r,icon:i,tooltipText:o,toggle:a,value:s,selected:l})=>{const c=f=>{a?r(f,s):r(f)},u=o?w.jsx(xt,{arrow:!0,title:o,children:i}):i;return a?w.jsx(Pn,{sx:{padding:.3,...t},className:e,disabled:n,size:"small",onClick:c,value:s||"",selected:l,children:u}):w.jsx(Ot,{sx:t,className:e,disabled:n,size:"small",onClick:c,children:u})},Oqe=Li(ty)(({theme:t})=>({marginRight:t.spacing(1)}));function Yb({label:t,control:e,actions:n}){return w.jsx(Oqe,{variant:"standard",children:w.jsxs(Ke,{children:[t,e,n]})})}function Cqe({selectedDatasetId:t,datasets:e,selectDataset:n,locateSelectedDataset:r}){const i=M.useMemo(()=>e.sort((d,h)=>{const p=d.groupTitle||"zzz",m=h.groupTitle||"zzz",g=p.localeCompare(m);return g!==0?g:d.title.localeCompare(h.title)}),[e]),o=i.length>0&&!!i[0].groupTitle,a=d=>{const h=d.target.value||null;n(h,e,!0)};t=t||"",e=e||[];const s=w.jsx(ny,{shrink:!0,htmlFor:"dataset-select",children:fe.get("Dataset")}),l=[];let c;i.forEach(d=>{if(o){const h=d.groupTitle||fe.get("Others");h!==c&&l.push(w.jsx(ep,{children:w.jsx(At,{fontSize:"small",color:"text.secondary",children:h})},h)),c=h}l.push(w.jsx(jr,{value:d.id,selected:d.id===t,children:d.title},d.id))});const u=w.jsx(xd,{variant:"standard",value:t,onChange:a,input:w.jsx(yd,{name:"dataset",id:"dataset-select"}),displayEmpty:!0,name:"dataset",children:l}),f=w.jsx(Ya,{onClick:r,tooltipText:fe.get("Locate dataset in map"),icon:w.jsx(Sz,{})});return w.jsx(Yb,{label:s,control:u,actions:f})}const Tqe=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,datasets:t.dataState.datasets}),Eqe={selectDataset:lle,locateSelectedDataset:x8e},Pqe=Jt(Tqe,Eqe)(Cqe);var Oz={},Mqe=ft;Object.defineProperty(Oz,"__esModule",{value:!0});var aE=Oz.default=void 0,kqe=Mqe(pt()),Aqe=w;aE=Oz.default=(0,kqe.default)((0,Aqe.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate");var Cz={},Rqe=ft;Object.defineProperty(Cz,"__esModule",{value:!0});var Tz=Cz.default=void 0,Iqe=Rqe(pt()),Dqe=w;Tz=Cz.default=(0,Iqe.default)((0,Dqe.jsx)("path",{d:"M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"}),"Functions");var Ez={},Lqe=ft;Object.defineProperty(Ez,"__esModule",{value:!0});var sE=Ez.default=void 0,Nqe=Lqe(pt()),$qe=w;sE=Ez.default=(0,Nqe.default)((0,$qe.jsx)("path",{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"}),"PushPin");var Pz={},Fqe=ft;Object.defineProperty(Pz,"__esModule",{value:!0});var Nce=Pz.default=void 0,jqe=Fqe(pt()),Bqe=w;Nce=Pz.default=(0,jqe.default)((0,Bqe.jsx)("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline");const ko={toggleButton:{padding:.3}},lE="userVariablesDialog";function zqe(){return{id:Js("user"),name:"",title:"",units:"",expression:"",colorBarName:"bone",colorBarMin:0,colorBarMax:1,shape:[],dims:[],dtype:"float64",timeChunkSize:null,attrs:{}}}function Uqe(t){return{...t,id:Js("user"),name:`${t.name}_copy`,title:t.title?`${t.title} Copy`:""}}const Wqe={variables:!0,constants:!1,arrayOperators:!1,otherOperators:!1,arrayFunctions:!1,otherFunctions:!1},$ce=["variables","constants","arrayOperators","otherOperators","arrayFunctions","otherFunctions"],Vqe={variables:"Variables",constants:"Constants",arrayOperators:"Array operators",otherOperators:"Other operators",arrayFunctions:"Array functions",otherFunctions:"Other functions"};function Gqe({selectedDatasetId:t,selectedVariableName:e,selectedDataset2Id:n,selectedVariable2Name:r,variables:i,userVariablesAllowed:o,canAddTimeSeries:a,addTimeSeries:s,canAddStatistics:l,addStatistics:c,selectVariable:u,selectVariable2:f,openDialog:d}){const h=C=>{u(C.target.value||null)},p=()=>{d(lE)},m=()=>{s()},g=()=>{c()},v=t===n&&e===r,y=w.jsx(ny,{shrink:!0,htmlFor:"variable-select",children:fe.get("Variable")}),x=w.jsx(xd,{variant:"standard",value:e||"",onChange:h,input:w.jsx(yd,{name:"variable",id:"variable-select"}),displayEmpty:!0,name:"variable",renderValue:()=>u9(i.find(C=>C.name===e)),children:(i||[]).map(C=>w.jsxs(jr,{value:C.name,selected:C.name===e,children:[W1(C)&&w.jsx(Qre,{children:w.jsx(aE,{fontSize:"small"})}),w.jsx(ts,{children:u9(C)}),t===n&&C.name===r&&w.jsx(sE,{fontSize:"small",color:"secondary"})]},C.name))}),b=o&&w.jsx(Ya,{onClick:p,tooltipText:fe.get("Create and manage user variables"),icon:w.jsx(aE,{})},"userVariables"),_=w.jsx(Ya,{disabled:!a,onClick:m,tooltipText:fe.get("Show time-series diagram"),icon:w.jsx(Nce,{})},"timeSeries"),S=w.jsx(Ya,{disabled:!l,onClick:g,tooltipText:fe.get("Add statistics"),icon:w.jsx(Tz,{})},"statistics"),O=w.jsx(Pn,{selected:v,value:"comparison",size:"small",sx:{...ko.toggleButton,marginLeft:.4},onClick:()=>f(t,e),children:w.jsx(xt,{arrow:!0,title:fe.get("Make it 2nd variable for comparison"),children:w.jsx(sE,{fontSize:"small"})})},"variable2");return w.jsx(Yb,{label:y,control:x,actions:[O,b,_,S]})}function u9(t){return t?t.title||t.name:"?"}const Hqe=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,selectedVariableName:t.controlState.selectedVariableName,selectedDataset2Id:t.controlState.selectedDataset2Id,selectedVariable2Name:t.controlState.selectedVariable2Name,userVariablesAllowed:EWe(),canAddTimeSeries:xse(t),canAddStatistics:bse(t),variables:NWe(t)}),qqe={openDialog:Lp,selectVariable:yle,selectVariable2:k8e,addTimeSeries:P2,addStatistics:qse},Xqe=Jt(Hqe,qqe)(Gqe);var Mz={},Qqe=ft;Object.defineProperty(Mz,"__esModule",{value:!0});var Fp=Mz.default=void 0,Yqe=Qqe(pt()),Kqe=w;Fp=Mz.default=(0,Yqe.default)((0,Kqe.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");var kz={},Zqe=ft;Object.defineProperty(kz,"__esModule",{value:!0});var lw=kz.default=void 0,Jqe=Zqe(pt()),eXe=w;lw=kz.default=(0,Jqe.default)((0,eXe.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline");const Fce=({itemValue:t,setItemValue:e,validateItemValue:n,editMode:r,setEditMode:i,labelText:o,select:a,actions:s})=>{const l=M.useRef(null),[c,u]=M.useState("");M.useEffect(()=>{r&&u(t)},[r,t,u]),M.useEffect(()=>{if(r){const p=l.current;p!==null&&(p.focus(),p.select())}},[r]);const f=w.jsx(ny,{shrink:!0,htmlFor:"place-select",children:o});if(!r)return w.jsx(Yb,{label:f,control:a,actions:s});const d=n?n(c):!0,h=w.jsx(yd,{value:c,error:!d,inputRef:l,onBlur:()=>i(!1),onKeyUp:p=>{p.code==="Escape"?i(!1):p.code==="Enter"&&d&&(i(!1),e(c))},onChange:p=>{u(p.currentTarget.value)}});return w.jsx(Yb,{label:f,control:h})},tXe={select:{minWidth:"5em"}};function nXe({placeGroups:t,selectPlaceGroups:e,renameUserPlaceGroup:n,removeUserPlaceGroup:r,selectedPlaceGroupIds:i,selectedPlaceGroupsTitle:o}){const[a,s]=M.useState(!1);if(t=t||[],i=i||[],t.length===0)return null;const l=i.length===1?i[0]:null,c=m=>{n(l,m)},u=m=>{e(m.target.value||null)},f=()=>o,d=w.jsx(xd,{variant:"standard",multiple:!0,displayEmpty:!0,onChange:u,input:w.jsx(yd,{name:"place-groups",id:"place-groups-select"}),value:i,renderValue:f,name:"place-groups",sx:tXe.select,children:t.map(m=>w.jsxs(jr,{value:m.id,children:[w.jsx(zL,{checked:i.indexOf(m.id)>-1}),w.jsx(ts,{primary:m.title})]},m.id))});let h=!1;l!==null&&l.startsWith(cy)&&(h=!!t.find(m=>m.id===l&&m.features&&m.features.length>=0));let p;if(h){const m=()=>{s(!0)},g=()=>{r(l)};p=[w.jsx(Ya,{onClick:m,tooltipText:fe.get("Rename place group"),icon:w.jsx(Fp,{})},"editPlaceGroup"),w.jsx(Ya,{onClick:g,tooltipText:fe.get("Remove places"),icon:w.jsx(lw,{})},"removePlaceGroup")]}return w.jsx(Fce,{itemValue:o,setItemValue:c,validateItemValue:m=>m.trim().length>0,editMode:a,setEditMode:s,labelText:fe.get("Places"),select:d,actions:p})}const rXe=t=>({locale:t.controlState.locale,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,placeGroups:E2(t),selectedPlaceGroupsTitle:XWe(t)}),iXe={selectPlaceGroups:S8e,renameUserPlaceGroup:qVe,removeUserPlaceGroup:JVe},oXe=Jt(rXe,iXe)(nXe);var Az={},aXe=ft;Object.defineProperty(Az,"__esModule",{value:!0});var jce=Az.default=void 0,sXe=aXe(pt()),lXe=w;jce=Az.default=(0,sXe.default)((0,lXe.jsx)("path",{d:"M16.56 8.94 7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.59-.59 1.54 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12M5.21 10 10 5.21 14.79 10zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5M2 20h20v4H2z"}),"FormatColorFill");const Ud={container:{display:"grid",gridTemplateColumns:"auto 120px",gridTemplateRows:"auto",gridTemplateAreas:"'colorLabel colorValue' 'opacityLabel opacityValue'",rowGap:1,columnGap:2.5,padding:1},colorLabel:{gridArea:"colorLabel",alignSelf:"center"},colorValue:{gridArea:"colorValue",alignSelf:"center",width:"100%",height:"22px",borderWidth:1,borderStyle:"solid",borderColor:"black"},opacityLabel:{gridArea:"opacityLabel",alignSelf:"center"},opacityValue:{gridArea:"opacityValue",alignSelf:"center",width:"100%"},colorMenuItem:{padding:"4px 8px 4px 8px"},colorMenuItemBox:{width:"104px",height:"18px"}},cXe=({anchorEl:t,setAnchorEl:e,isPoint:n,placeStyle:r,updatePlaceStyle:i})=>{const[o,a]=M.useState(null);function s(l){a(l.currentTarget)}return w.jsxs(w.Fragment,{children:[w.jsx(Ep,{open:t!==null,anchorEl:t,onClose:()=>e(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:w.jsxs(Ke,{sx:Ud.container,children:[w.jsx(At,{sx:Ud.colorLabel,children:fe.get("Color")}),w.jsx(At,{sx:Ud.opacityLabel,color:n?"text.secondary":"text.primary",children:fe.get("Opacity")}),w.jsx(Ke,{sx:Ud.colorValue,style:{backgroundColor:r.color},onClick:s}),w.jsx(ry,{sx:Ud.opacityValue,disabled:n,size:"small",min:0,max:1,step:.05,value:r.opacity,onChange:(l,c)=>i({...r,opacity:c})})]})}),w.jsx(Pp,{open:!!o,anchorEl:o,onClose:()=>a(null),children:A5.map(([l,c])=>w.jsx(jr,{selected:r.color===l,sx:Ud.colorMenuItem,onClick:()=>i({...r,color:l}),children:w.jsx(xt,{title:l,children:w.jsx(Ke,{sx:{...Ud.colorMenuItemBox,backgroundColor:l}})})},l))})]})},uXe={select:{minWidth:"5em"}};function fXe({selectPlace:t,placeLabels:e,selectedPlaceId:n,selectedPlaceGroupIds:r,selectedPlaceInfo:i,renameUserPlace:o,restyleUserPlace:a,removeUserPlace:s,places:l,locateSelectedPlace:c}){const[u,f]=M.useState(!1),[d,h]=M.useState(null);l=l||[],e=e||[],n=n||"",r=r||[];const p=r.length===1?r[0]:null,m=l.findIndex(O=>O.id===n),g=m>=0?e[m]:"",v=O=>{o(p,n,O)},y=O=>{a(p,n,O)},x=O=>{t(O.target.value||null,l,!0)},b=w.jsx(xd,{variant:"standard",value:n,onChange:x,input:w.jsx(yd,{name:"place",id:"place-select"}),displayEmpty:!0,name:"place",sx:uXe.select,disabled:l.length===0,children:l.map((O,C)=>w.jsx(jr,{value:O.id,selected:O.id===n,children:e[C]},O.id))}),_=p!==null&&p.startsWith(cy)&&n!=="";let S=[w.jsx(Ya,{onClick:c,tooltipText:fe.get("Locate place in map"),icon:w.jsx(Sz,{})},"locatePlace")];if(!u&&_){const O=()=>{f(!0)},C=k=>{h(k.currentTarget)},E=()=>{s(p,n,l)};S=[w.jsx(Ya,{onClick:O,tooltipText:fe.get("Rename place"),icon:w.jsx(Fp,{})},"editButton"),w.jsx(Ya,{onClick:C,tooltipText:fe.get("Style place"),icon:w.jsx(jce,{})},"styleButton"),w.jsx(Ya,{onClick:E,tooltipText:fe.get("Remove place"),icon:w.jsx(lw,{})},"removeButton")].concat(S)}return w.jsxs(w.Fragment,{children:[w.jsx(Fce,{itemValue:g,setItemValue:v,validateItemValue:O=>O.trim().length>0,editMode:u,setEditMode:f,labelText:fe.get("Place"),select:b,actions:S}),i&&w.jsx(cXe,{anchorEl:d,setAnchorEl:h,isPoint:i.place.geometry.type==="Point",placeStyle:i,updatePlaceStyle:y})]})}const dXe=t=>({locale:t.controlState.locale,datasets:t.dataState.datasets,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,selectedPlaceId:t.controlState.selectedPlaceId,selectedPlaceInfo:iw(t),places:rw(t),placeLabels:ZWe(t)}),hXe={selectPlace:M2,renameUserPlace:XVe,restyleUserPlace:YVe,removeUserPlace:ZVe,locateSelectedPlace:b8e,openDialog:Lp},pXe=Jt(dXe,hXe)(fXe);var Rz={},mXe=ft;Object.defineProperty(Rz,"__esModule",{value:!0});var Bce=Rz.default=void 0,gXe=mXe(pt()),vXe=w;Bce=Rz.default=(0,gXe.default)((0,vXe.jsx)("path",{d:"M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7m4 8h-3v3h-2v-3H8V8h3V5h2v3h3z"}),"AddLocation");var Iz={},yXe=ft;Object.defineProperty(Iz,"__esModule",{value:!0});var zce=Iz.default=void 0,xXe=yXe(pt()),bXe=w;zce=Iz.default=(0,xXe.default)((0,bXe.jsx)("path",{d:"M11.71 17.99C8.53 17.84 6 15.22 6 12c0-3.31 2.69-6 6-6 3.22 0 5.84 2.53 5.99 5.71l-2.1-.63C15.48 9.31 13.89 8 12 8c-2.21 0-4 1.79-4 4 0 1.89 1.31 3.48 3.08 3.89zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31 0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10m-3.77 4.26L22 15l-10-3 3 10 1.26-3.77 4.27 4.27 1.98-1.98z"}),"AdsClick");var Dz={},_Xe=ft;Object.defineProperty(Dz,"__esModule",{value:!0});var Uce=Dz.default=void 0,wXe=_Xe(pt()),gR=w;Uce=Dz.default=(0,wXe.default)([(0,gR.jsx)("path",{d:"m12 2-5.5 9h11z"},"0"),(0,gR.jsx)("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),(0,gR.jsx)("path",{d:"M3 13.5h8v8H3z"},"2")],"Category");var Lz={},SXe=ft;Object.defineProperty(Lz,"__esModule",{value:!0});var Wce=Lz.default=void 0,OXe=SXe(pt()),CXe=w;Wce=Lz.default=(0,OXe.default)((0,CXe.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");var Nz={},TXe=ft;Object.defineProperty(Nz,"__esModule",{value:!0});var Vce=Nz.default=void 0,EXe=TXe(pt()),PXe=w;Vce=Nz.default=(0,EXe.default)((0,PXe.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload");const MXe=Li(ty)(({theme:t})=>({marginTop:t.spacing(2),marginLeft:t.spacing(1),marginRight:t.spacing(2)}));function kXe({mapInteraction:t,setMapInteraction:e}){function n(r,i){e(i!==null?i:"Select")}return w.jsx(MXe,{variant:"standard",children:w.jsxs(iy,{size:"small",value:t,exclusive:!0,onChange:n,children:[w.jsx(Pn,{value:"Select",size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Select a place in map"),children:w.jsx(zce,{})})},0),w.jsx(Pn,{value:"Point",size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Add a point location in map"),children:w.jsx(Bce,{})})},1),w.jsx(Pn,{value:"Polygon",size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Draw a polygon area in map"),children:w.jsx(Uce,{})})},2),w.jsx(Pn,{value:"Circle",size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Draw a circular area in map"),children:w.jsx(Wce,{})})},3),w.jsx(Pn,{value:"Geometry",size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Import places"),children:w.jsx(Vce,{})})},4)]})})}const AXe=t=>({mapInteraction:t.controlState.mapInteraction}),RXe={setMapInteraction:Cle},IXe=Jt(AXe,RXe)(kXe);var f9=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cw=(typeof window>"u"?"undefined":f9(window))==="object"&&(typeof document>"u"?"undefined":f9(document))==="object"&&document.nodeType===9,DXe={}.constructor;function z3(t){if(t==null||typeof t!="object")return t;if(Array.isArray(t))return t.map(z3);if(t.constructor!==DXe)return t;var e={};for(var n in t)e[n]=z3(t[n]);return e}function $z(t,e,n){t===void 0&&(t="unnamed");var r=n.jss,i=z3(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var d9=function(e,n){for(var r="",i=0;i<+~=|^:(),"'`\s])/g,h9=typeof CSS<"u"&&CSS.escape,Fz=function(t){return h9?h9(t):t.replace(LXe,"\\$1")},Gce=function(){function t(n,r,i){this.type="style",this.isProcessed=!1;var o=i.sheet,a=i.Renderer;this.key=n,this.options=i,this.style=r,o?this.renderer=o.renderer:a&&(this.renderer=new a)}var e=t.prototype;return e.prop=function(r,i,o){if(i===void 0)return this.style[r];var a=o?o.force:!1;if(!a&&this.style[r]===i)return this;var s=i;(!o||o.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(i,r,this));var l=s==null||s===!1,c=r in this.style;if(l&&!c&&!a)return this;var u=l&&c;if(u?delete this.style[r]:this.style[r]=s,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,r):this.renderer.setProperty(this.renderable,r,s),this;var f=this.options.sheet;return f&&f.attached,this},t}(),U3=function(t){I1(e,t);function e(r,i,o){var a;a=t.call(this,r,i,o)||this;var s=o.selector,l=o.scoped,c=o.sheet,u=o.generateId;return s?a.selectorText=s:l!==!1&&(a.id=u(lt(lt(a)),c),a.selectorText="."+Fz(a.id)),a}var n=e.prototype;return n.applyTo=function(i){var o=this.renderer;if(o){var a=this.toJSON();for(var s in a)o.setProperty(i,s,a[s])}return this},n.toJSON=function(){var i={};for(var o in this.style){var a=this.style[o];typeof a!="object"?i[o]=a:Array.isArray(a)&&(i[o]=Uh(a))}return i},n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return Kb(this.selectorText,this.style,s)},Xt(e,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,a=this.renderable;if(!(!a||!o)){var s=o.setSelector(a,i);s||o.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),e}(Gce),NXe={onCreateRule:function(e,n,r){return e[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new U3(e,n,r)}},vR={indent:1,children:!0},$Xe=/@([\w-]+)/,FXe=function(){function t(n,r,i){this.type="conditional",this.isProcessed=!1,this.key=n;var o=n.match($Xe);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new H2(j({},i,{parent:this}));for(var a in r)this.rules.add(a,r[a]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.indexOf=function(r){return this.rules.indexOf(r)},e.addRule=function(r,i,o){var a=this.rules.add(r,i,o);return a?(this.options.jss.plugins.onProcessRule(a),a):null},e.replaceRule=function(r,i,o){var a=this.rules.replace(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.toString=function(r){r===void 0&&(r=vR);var i=Ty(r),o=i.linebreak;if(r.indent==null&&(r.indent=vR.indent),r.children==null&&(r.children=vR.children),r.children===!1)return this.query+" {}";var a=this.rules.toString(r);return a?this.query+" {"+o+a+o+"}":""},t}(),jXe=/@container|@media|@supports\s+/,BXe={onCreateRule:function(e,n,r){return jXe.test(e)?new FXe(e,n,r):null}},yR={indent:1,children:!0},zXe=/@keyframes\s+([\w-]+)/,W3=function(){function t(n,r,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=n.match(zXe);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,s=i.sheet,l=i.generateId;this.id=a===!1?this.name:Fz(l(this,s)),this.rules=new H2(j({},i,{parent:this}));for(var c in r)this.rules.add(c,r[c],j({},i,{parent:this}));this.rules.process()}var e=t.prototype;return e.toString=function(r){r===void 0&&(r=yR);var i=Ty(r),o=i.linebreak;if(r.indent==null&&(r.indent=yR.indent),r.children==null&&(r.children=yR.children),r.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(r);return a&&(a=""+o+a+o),this.at+" "+this.id+" {"+a+"}"},t}(),UXe=/@keyframes\s+/,WXe=/\$([\w-]+)/g,V3=function(e,n){return typeof e=="string"?e.replace(WXe,function(r,i){return i in n?n[i]:r}):e},p9=function(e,n,r){var i=e[n],o=V3(i,r);o!==i&&(e[n]=o)},VXe={onCreateRule:function(e,n,r){return typeof e=="string"&&UXe.test(e)?new W3(e,n,r):null},onProcessStyle:function(e,n,r){return n.type!=="style"||!r||("animation-name"in e&&p9(e,"animation-name",r.keyframes),"animation"in e&&p9(e,"animation",r.keyframes)),e},onChangeValue:function(e,n,r){var i=r.options.sheet;if(!i)return e;switch(n){case"animation":return V3(e,i.keyframes);case"animation-name":return V3(e,i.keyframes);default:return e}}},GXe=function(t){I1(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?j({},i,{allowEmpty:!0}):i;return Kb(this.key,this.style,s)},e}(Gce),HXe={onCreateRule:function(e,n,r){return r.parent&&r.parent.type==="keyframes"?new GXe(e,n,r):null}},qXe=function(){function t(n,r,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=r,this.options=i}var e=t.prototype;return e.toString=function(r){var i=Ty(r),o=i.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s=this.index){i.push(r);return}for(var a=0;ao){i.splice(a,0,r);return}}},e.reset=function(){this.registry=[]},e.remove=function(r){var i=this.registry.indexOf(r);this.registry.splice(i,1)},e.toString=function(r){for(var i=r===void 0?{}:r,o=i.attached,a=Ae(i,["attached"]),s=Ty(a),l=s.linebreak,c="",u=0;u-1?i.substr(0,o-1):i;e.style.setProperty(n,a,o>-1?"important":"")}}catch{return!1}return!0},aQe=function(e,n){try{e.attributeStyleMap?e.attributeStyleMap.delete(n):e.style.removeProperty(n)}catch{}},sQe=function(e,n){return e.selectorText=n,e.selectorText===n},Xce=qce(function(){return document.querySelector("head")});function lQe(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}function cQe(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}function uQe(t){for(var e=Xce(),n=0;n0){var n=lQe(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=cQe(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&typeof r=="string"){var i=uQe(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}function dQe(t,e){var n=e.insertionPoint,r=fQe(e);if(r!==!1&&r.parent){r.parent.insertBefore(t,r.node);return}if(n&&typeof n.nodeType=="number"){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling);return}Xce().appendChild(t)}var hQe=qce(function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}),x9=function(e,n,r){try{"insertRule"in e?e.insertRule(n,r):"appendRule"in e&&e.appendRule(n)}catch{return!1}return e.cssRules[r]},b9=function(e,n){var r=e.cssRules.length;return n===void 0||n>r?r:n},pQe=function(){var e=document.createElement("style");return e.textContent=` -`,e},mQe=function(){function t(n){this.getPropertyValue=iQe,this.setProperty=oQe,this.removeProperty=aQe,this.setSelector=sQe,this.hasInsertedRules=!1,this.cssRules=[],n&&Yx.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},i=r.media,o=r.meta,a=r.element;this.element=a||pQe(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var s=hQe();s&&this.element.setAttribute("nonce",s)}var e=t.prototype;return e.attach=function(){if(!(this.element.parentNode||!this.sheet)){dQe(this.element,this.sheet.options);var r=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&r&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var r=this.element.parentNode;r&&r.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=` -`)}},e.deploy=function(){var r=this.sheet;if(r){if(r.options.link){this.insertRules(r.rules);return}this.element.textContent=` -`+r.toString()+` -`}},e.insertRules=function(r,i){for(var o=0;o{n[o]&&(i[o]=`${e[o]} ${n[o]}`)}),i}const ng={set:(t,e,n,r)=>{let i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:(t,e,n)=>{const r=t.get(e);return r?r.get(n):void 0},delete:(t,e,n)=>{t.get(e).delete(n)}};function Zce(){var t;const e=e5();return(t=e==null?void 0:e.$$material)!=null?t:e}const yQe=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function xQe(t={}){const{disableGlobal:e=!1,productionPrefix:n="jss",seed:r=""}=t,i=r===""?"":`${r}-`;let o=0;const a=()=>(o+=1,o);return(s,l)=>{const c=l.options.name;if(c&&c.indexOf("Mui")===0&&!l.options.link&&!e){if(yQe.indexOf(s.key)!==-1)return`Mui-${s.key}`;const u=`${i}${c}-${s.key}`;return!l.options.theme[rre]||r!==""?u:`${u}-${a()}`}return`${i}${n}${a()}`}}var Jce=Date.now(),xR="fnValues"+Jce,bR="fnStyle"+ ++Jce,bQe=function(){return{onCreateRule:function(n,r,i){if(typeof r!="function")return null;var o=$z(n,{},i);return o[bR]=r,o},onProcessStyle:function(n,r){if(xR in r||bR in r)return n;var i={};for(var o in n){var a=n[o];typeof a=="function"&&(delete n[o],i[o]=a)}return r[xR]=i,n},onUpdate:function(n,r,i,o){var a=r,s=a[bR];s&&(a.style=s(n)||{});var l=a[xR];if(l)for(var c in l)a.prop(c,l[c](n),o)}}},zf="@global",q3="@global ",_Qe=function(){function t(n,r,i){this.type="global",this.at=zf,this.isProcessed=!1,this.key=n,this.options=i,this.rules=new H2(j({},i,{parent:this}));for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.addRule=function(r,i,o){var a=this.rules.add(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.replaceRule=function(r,i,o){var a=this.rules.replace(r,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},e.indexOf=function(r){return this.rules.indexOf(r)},e.toString=function(r){return this.rules.toString(r)},t}(),wQe=function(){function t(n,r,i){this.type="global",this.at=zf,this.isProcessed=!1,this.key=n,this.options=i;var o=n.substr(q3.length);this.rule=i.jss.createRule(o,r,j({},i,{parent:this}))}var e=t.prototype;return e.toString=function(r){return this.rule?this.rule.toString(r):""},t}(),SQe=/\s*,\s*/g;function eue(t,e){for(var n=t.split(SQe),r="",i=0;i-1){var o=oue[e];if(!Array.isArray(o))return Nt.js+nd(o)in n?Nt.css+o:!1;if(!i)return!1;for(var a=0;ar?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var i={},o=Object.keys(n).sort(t),a=0;a"u"?null:gYe(),vYe()]}}const xYe=Qce(yYe()),bYe=xQe(),_Ye=new Map,wYe={disableGeneration:!1,generateClassName:bYe,jss:xYe,sheetsCache:null,sheetsManager:_Ye,sheetsRegistry:null},SYe=M.createContext(wYe);let O9=-1e9;function OYe(){return O9+=1,O9}const CYe=["variant"];function C9(t){return t.length===0}function TYe(t){const{variant:e}=t,n=Ae(t,CYe);let r=e||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=C9(r)?t[i]:De(t[i]):r+=`${C9(r)?i:De(i)}${De(t[i].toString())}`}),r}const EYe={};function PYe(t){const e=typeof t=="function";return{create:(n,r)=>{let i;try{i=e?t(n):t}catch(l){throw l}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return i;const o=n.components[r].styleOverrides||{},a=n.components[r].variants||[],s=j({},i);return Object.keys(o).forEach(l=>{s[l]=Ii(s[l]||{},o[l])}),a.forEach(l=>{const c=TYe(l.props);s[c]=Ii(s[c]||{},l.style)}),s},options:{}}}const MYe=["name","classNamePrefix","Component","defaultTheme"];function kYe({state:t,stylesOptions:e},n,r){if(e.disableGeneration)return n||{};t.cacheClasses||(t.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return t.classes!==t.cacheClasses.lastJSS&&(t.cacheClasses.lastJSS=t.classes,i=!0),n!==t.cacheClasses.lastProp&&(t.cacheClasses.lastProp=n,i=!0),i&&(t.cacheClasses.value=Kce({baseClasses:t.cacheClasses.lastJSS,newClasses:n,Component:r})),t.cacheClasses.value}function AYe({state:t,theme:e,stylesOptions:n,stylesCreator:r,name:i},o){if(n.disableGeneration)return;let a=ng.get(n.sheetsManager,r,e);a||(a={refs:0,staticSheet:null,dynamicStyles:null},ng.set(n.sheetsManager,r,e,a));const s=j({},r.options,n,{theme:e,flip:typeof n.flip=="boolean"?n.flip:e.direction==="rtl"});s.generateId=s.serverGenerateClassName||s.generateClassName;const l=n.sheetsRegistry;if(a.refs===0){let c;n.sheetsCache&&(c=ng.get(n.sheetsCache,r,e));const u=r.create(e,i);c||(c=n.jss.createStyleSheet(u,j({link:!1},s)),c.attach(),n.sheetsCache&&ng.set(n.sheetsCache,r,e,c)),l&&l.add(c),a.staticSheet=c,a.dynamicStyles=Yce(u)}if(a.dynamicStyles){const c=n.jss.createStyleSheet(a.dynamicStyles,j({link:!0},s));c.update(o),c.attach(),t.dynamicSheet=c,t.classes=Kce({baseClasses:a.staticSheet.classes,newClasses:c.classes}),l&&l.add(c)}else t.classes=a.staticSheet.classes;a.refs+=1}function RYe({state:t},e){t.dynamicSheet&&t.dynamicSheet.update(e)}function IYe({state:t,theme:e,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=ng.get(n.sheetsManager,r,e);i.refs-=1;const o=n.sheetsRegistry;i.refs===0&&(ng.delete(n.sheetsManager,r,e),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),o&&o.remove(t.dynamicSheet))}function DYe(t,e){const n=M.useRef([]);let r;const i=M.useMemo(()=>({}),e);n.current!==i&&(n.current=i,r=t()),M.useEffect(()=>()=>{r&&r()},[i])}function LYe(t,e={}){const{name:n,classNamePrefix:r,Component:i,defaultTheme:o=EYe}=e,a=Ae(e,MYe),s=PYe(t),l=n||r||"makeStyles";return s.options={index:OYe(),name:n,meta:l,classNamePrefix:l},(u={})=>{const f=Zce()||o,d=j({},M.useContext(SYe),a),h=M.useRef(),p=M.useRef();return DYe(()=>{const g={name:n,state:{},stylesCreator:s,stylesOptions:d,theme:f};return AYe(g,u),p.current=!1,h.current=g,()=>{IYe(g)}},[f,s]),M.useEffect(()=>{p.current&&RYe(h.current,u),p.current=!0}),kYe(h.current,u.classes,i)}}function NYe(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n]||!e.components[n].defaultProps)return r;const i=j({},r),o=e.components[n].defaultProps;let a;for(a in o)i[a]===void 0&&(i[a]=o[a]);return i}const $Ye=["defaultTheme","withTheme","name"],FYe=["classes"],jYe=(t,e={})=>n=>{const{defaultTheme:r,withTheme:i=!1,name:o}=e,a=Ae(e,$Ye);let s=o;const l=LYe(t,j({defaultTheme:r,Component:n,name:o||n.displayName,classNamePrefix:s},a)),c=M.forwardRef(function(f,d){const h=Ae(f,FYe),p=l(j({},n.defaultProps,f));let m,g=h;return(typeof o=="string"||i)&&(m=Zce()||r,o&&(g=NYe({theme:m,name:o,props:h})),i&&!g.theme&&(g.theme=m)),w.jsx(n,j({ref:d,classes:p},g))});return EL(c,n),c},BYe=t=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:j({},t)}}}}),sue={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:t=>t==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",inputModeToggleButtonAriaLabel:(t,e)=>t?`text input view is open, go to ${e} view`:`${e} view is open, go to text input view`,start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerDefaultToolbarTitle:"Select date",dateTimePickerDefaultToolbarTitle:"Select date & time",timePickerDefaultToolbarTitle:"Select time",dateRangePickerDefaultToolbarTitle:"Select date range",clockLabelText:(t,e,n)=>`Select ${t}. ${e===null?"No time selected":`Selected time is ${n.format(e,"fullTime")}`}`,hoursClockNumberText:t=>`${t} hours`,minutesClockNumberText:t=>`${t} minutes`,secondsClockNumberText:t=>`${t} seconds`,openDatePickerDialogue:(t,e)=>t&&e.isValid(e.date(t))?`Choose date, selected date is ${e.format(e.date(t),"fullDate")}`:"Choose date",openTimePickerDialogue:(t,e)=>t&&e.isValid(e.date(t))?`Choose time, selected time is ${e.format(e.date(t),"fullTime")}`:"Choose time",timeTableLabel:"pick time",dateTableLabel:"pick date"},zYe=sue;BYe(sue);const lue=M.createContext(null);function UYe(t){const e=qe({props:t,name:"MuiLocalizationProvider"}),{children:n,dateAdapter:r,dateFormats:i,dateLibInstance:o,locale:a,adapterLocale:s,localeText:l}=e,c=M.useMemo(()=>new r({locale:s??a,formats:i,instance:o}),[r,a,s,i,o]),u=M.useMemo(()=>({minDate:c.date("1900-01-01T00:00:00.000"),maxDate:c.date("2099-12-31T00:00:00.000")}),[c]),f=M.useMemo(()=>({utils:c,defaultDates:u,localeText:j({},zYe,l??{})}),[u,c,l]);return w.jsx(lue.Provider,{value:f,children:n})}var Y3={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(l,c){switch(l){case"P":return c.date({width:"short"});case"PP":return c.date({width:"medium"});case"PPP":return c.date({width:"long"});case"PPPP":default:return c.date({width:"full"})}},r=function(l,c){switch(l){case"p":return c.time({width:"short"});case"pp":return c.time({width:"medium"});case"ppp":return c.time({width:"long"});case"pppp":default:return c.time({width:"full"})}},i=function(l,c){var u=l.match(/(P+)(p+)?/)||[],f=u[1],d=u[2];if(!d)return n(l,c);var h;switch(f){case"P":h=c.dateTime({width:"short"});break;case"PP":h=c.dateTime({width:"medium"});break;case"PPP":h=c.dateTime({width:"long"});break;case"PPPP":default:h=c.dateTime({width:"full"});break}return h.replace("{{date}}",n(f,c)).replace("{{time}}",r(d,c))},o={p:r,P:i},a=o;e.default=a,t.exports=e.default})(Y3,Y3.exports);var WYe=Y3.exports;const cue=$t(WYe),VYe={dayOfMonth:"d",fullDate:"PP",fullDateWithWeekday:"PPPP",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aaa",fullDateTime24h:"PP HH:mm",fullTime:"p",fullTime12h:"hh:mm aaa",fullTime24h:"HH:mm",hours12h:"hh",hours24h:"HH",keyboardDate:"P",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aaa",keyboardDateTime24h:"P HH:mm",minutes:"mm",month:"LLLL",monthAndDate:"MMMM d",monthAndYear:"LLLL yyyy",monthShort:"MMM",weekday:"EEEE",weekdayShort:"EEE",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",seconds:"ss",shortDate:"MMM d",year:"yyyy"};class GYe{constructor({locale:e,formats:n}={}){this.lib="date-fns",this.is12HourCycleInCurrentLocale=()=>{var r;return this.locale?/a/.test((r=this.locale.formatLong)===null||r===void 0?void 0:r.time()):!0},this.getFormatHelperText=r=>{var i,o;const a=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,s=this.locale||w2;return(o=(i=r.match(a))===null||i===void 0?void 0:i.map(l=>{const c=l[0];if(c==="p"||c==="P"){const u=cue[c];return u(l,s.formatLong,{})}return l}).join("").replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase())!==null&&o!==void 0?o:r},this.parseISO=r=>Eae(r),this.toISO=r=>S4e(r,{format:"extended"}),this.getCurrentLocaleCode=()=>{var r;return((r=this.locale)===null||r===void 0?void 0:r.code)||"en-US"},this.addSeconds=(r,i)=>fze(r,i),this.addMinutes=(r,i)=>uze(r,i),this.addHours=(r,i)=>oze(r,i),this.addDays=(r,i)=>y3(r,i),this.addWeeks=(r,i)=>dze(r,i),this.addMonths=(r,i)=>IC(r,i),this.addYears=(r,i)=>aH(r,i),this.isValid=r=>uae(this.date(r)),this.getDiff=(r,i,o)=>{var a;const s=(a=this.date(i))!==null&&a!==void 0?a:r;if(!this.isValid(s))return 0;switch(o){case"years":return Cze(r,s);case"quarters":return wze(r,s);case"months":return dae(r,s);case"weeks":return Oze(r,s);case"days":return fae(r,s);case"hours":return xze(r,s);case"minutes":return bze(r,s);case"seconds":return Sze(r,s);default:return _2(r,s)}},this.isAfter=(r,i)=>IS(r,i),this.isBefore=(r,i)=>am(r,i),this.startOfDay=r=>ov(r),this.endOfDay=r=>x3(r),this.getHours=r=>T4e(r),this.setHours=(r,i)=>QUe(r,i),this.setMinutes=(r,i)=>YUe(r,i),this.getSeconds=r=>M4e(r),this.setSeconds=(r,i)=>KUe(r,i),this.isSameDay=(r,i)=>pze(r,i),this.isSameMonth=(r,i)=>MUe(r,i),this.isSameYear=(r,i)=>kUe(r,i),this.isSameHour=(r,i)=>PUe(r,i),this.startOfYear=r=>RS(r),this.endOfYear=r=>ZA(r),this.startOfMonth=r=>AS(r),this.endOfMonth=r=>b3(r),this.startOfWeek=r=>KA(r,{locale:this.locale}),this.endOfWeek=r=>JA(r,{locale:this.locale}),this.getYear=r=>k4e(r),this.setYear=(r,i)=>ZUe(r,i),this.date=r=>typeof r>"u"?new Date:r===null?null:new Date(r),this.toJsDate=r=>r,this.parse=(r,i)=>r===""?null:TUe(r,i,new Date,{locale:this.locale}),this.format=(r,i)=>this.formatByString(r,this.formats[i]),this.formatByString=(r,i)=>b4e(r,i,{locale:this.locale}),this.isEqual=(r,i)=>r===null&&i===null?!0:A4e(r,i),this.isNull=r=>r===null,this.isAfterDay=(r,i)=>IS(r,x3(i)),this.isBeforeDay=(r,i)=>am(r,ov(i)),this.isBeforeYear=(r,i)=>am(r,RS(i)),this.isAfterYear=(r,i)=>IS(r,ZA(i)),this.isWithinRange=(r,[i,o])=>AUe(r,{start:i,end:o}),this.formatNumber=r=>r,this.getMinutes=r=>E4e(r),this.getDate=r=>O4e(r),this.setDate=(r,i)=>XUe(r,i),this.getMonth=r=>P4e(r),this.getDaysInMonth=r=>bae(r),this.setMonth=(r,i)=>qUe(r,i),this.getMeridiemText=r=>r==="am"?"AM":"PM",this.getNextMonth=r=>IC(r,1),this.getPreviousMonth=r=>IC(r,-1),this.getMonthArray=r=>{const o=[RS(r)];for(;o.length<12;){const a=o[o.length-1];o.push(this.getNextMonth(a))}return o},this.mergeDateAndTime=(r,i)=>this.setSeconds(this.setMinutes(this.setHours(r,this.getHours(i)),this.getMinutes(i)),this.getSeconds(i)),this.getWeekdays=()=>{const r=new Date;return Tze({start:KA(r,{locale:this.locale}),end:JA(r,{locale:this.locale})}).map(i=>this.formatByString(i,"EEEEEE"))},this.getWeekArray=r=>{const i=KA(AS(r),{locale:this.locale}),o=JA(b3(r),{locale:this.locale});let a=0,s=i;const l=[];let c=null;for(;am(s,o);){const u=Math.floor(a/7);l[u]=l[u]||[];const f=C4e(s);c!==f&&(c=f,l[u].push(s),a+=1),s=y3(s,1)}return l},this.getYearRange=(r,i)=>{const o=RS(r),a=ZA(i),s=[];let l=o;for(;am(l,a);)s.push(l),l=aH(l,1);return s},this.locale=e,this.formats=Object.assign({},VYe,n)}isBeforeMonth(e,n){return am(e,AS(n))}isAfterMonth(e,n){return IS(e,AS(n))}}const HYe={y:"year",yy:"year",yyy:"year",yyyy:"year",MMMM:"month",MM:"month",DD:"day",d:"day",dd:"day",H:"hour",HH:"hour",h:"hour",hh:"hour",mm:"minute",ss:"second",a:"am-pm",aa:"am-pm",aaa:"am-pm"};class qYe extends GYe{constructor(...e){super(...e),this.formatTokenMap=HYe,this.expandFormat=n=>{const r=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return n.match(r).map(i=>{const o=i[0];if(o==="p"||o==="P"){const a=cue[o],s=this.locale||w2;return a(i,s.formatLong,{})}return i}).join("")},this.getFormatHelperText=n=>this.expandFormat(n).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase()}}const uw=()=>{const t=M.useContext(lue);if(t===null)throw new Error("MUI: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.");return t},Sr=()=>uw().utils,q2=()=>uw().defaultDates,Cd=()=>uw().localeText,fw=()=>{const t=Sr();return M.useRef(t.date()).current},Zx=({date:t,disableFuture:e,disablePast:n,maxDate:r,minDate:i,isDateDisabled:o,utils:a})=>{const s=a.startOfDay(a.date());n&&a.isBefore(i,s)&&(i=s),e&&a.isAfter(r,s)&&(r=s);let l=t,c=t;for(a.isBefore(t,i)&&(l=a.date(i),c=null),a.isAfter(t,r)&&(c&&(c=a.date(r)),l=null);l||c;){if(l&&a.isAfter(l,r)&&(l=null),c&&a.isBefore(c,i)&&(c=null),l){if(!o(l))return l;l=a.addDays(l,1)}if(c){if(!o(c))return c;c=a.addDays(c,-1)}}return null},XYe=(t,e)=>{const n=t.date(e);return t.isValid(n)?n:null},tc=(t,e,n)=>{if(e==null)return n;const r=t.date(e);return t.isValid(r)?r:n};function uue(t,e){var n,r,i,o,a;const s=qe({props:t,name:e}),l=Sr(),c=q2(),u=(n=s.ampm)!=null?n:l.is12HourCycleInCurrentLocale();if(s.orientation!=null&&s.orientation!=="portrait")throw new Error("We are not supporting custom orientation for DateTimePicker yet :(");return j({ampm:u,orientation:"portrait",openTo:"day",views:["year","day","hours","minutes"],ampmInClock:!0,acceptRegex:u?/[\dap]/gi:/\d/gi,disableMaskedInput:!1,inputFormat:u?l.formats.keyboardDateTime12h:l.formats.keyboardDateTime24h,disableIgnoringDatePartForTimeValidation:!!(s.minDateTime||s.maxDateTime),disablePast:!1,disableFuture:!1},s,{minDate:tc(l,(r=s.minDateTime)!=null?r:s.minDate,c.minDate),maxDate:tc(l,(i=s.maxDateTime)!=null?i:s.maxDate,c.maxDate),minTime:(o=s.minDateTime)!=null?o:s.minTime,maxTime:(a=s.maxDateTime)!=null?a:s.maxTime})}const fue={emptyValue:null,getTodayValue:t=>t.date(),parseInput:XYe,areValuesEqual:(t,e,n)=>t.isEqual(e,n)},QYe=t=>{switch(t){case"year":case"month":case"day":return"calendar";default:return"clock"}};function due(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e{const{classes:e,selected:n}=t;return Ue({root:["root",n&&"selected"]},YYe,e)},JYe=we(At,{name:"PrivatePickersToolbarText",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${T9.selected}`]:e.selected}]})(({theme:t})=>({transition:t.transitions.create("color"),color:t.palette.text.secondary,[`&.${T9.selected}`]:{color:t.palette.text.primary}})),hue=M.forwardRef(function(e,n){const{className:r,value:i}=e,o=Ae(e,KYe),a=ZYe(e);return w.jsx(JYe,j({ref:n,className:Vr(r,a.root),component:"span"},o,{children:i}))}),eKe=ni(w.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),tKe=ni(w.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),nKe=ni(w.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),pue=ni(w.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),rKe=ni(w.jsxs(M.Fragment,{children:[w.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),w.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),iKe=ni(w.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),oKe=ni(w.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Pen"),aKe=ni(w.jsxs(M.Fragment,{children:[w.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),w.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");function mue(t){return We("MuiPickersToolbar",t)}const gue=Ve("MuiPickersToolbar",["root","content","penIconButton","penIconButtonLandscape"]),sKe=t=>{const{classes:e,isLandscape:n}=t;return Ue({root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]},mue,e)},lKe=we("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>j({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3)},e.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})),cKe=we(MC,{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(t,e)=>e.content})(({ownerState:t})=>j({flex:1},!t.isLandscape&&{alignItems:"center"})),uKe=we(Ot,{name:"MuiPickersToolbar",slot:"PenIconButton",overridesResolver:(t,e)=>[{[`&.${gue.penIconButtonLandscape}`]:e.penIconButtonLandscape},e.penIconButton]})({}),fKe=t=>t==="clock"?w.jsx(rKe,{color:"inherit"}):w.jsx(pue,{color:"inherit"}),dKe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersToolbar"}),{children:i,className:o,getMobileKeyboardInputViewButtonText:a,isLandscape:s,isMobileKeyboardViewOpen:l,landscapeDirection:c="column",toggleMobileKeyboardView:u,toolbarTitle:f,viewType:d="calendar"}=r,h=r,p=Cd(),m=sKe(h);return w.jsxs(lKe,{ref:n,className:Vr(m.root,o),ownerState:h,children:[w.jsx(At,{color:"text.secondary",variant:"overline",children:f}),w.jsxs(cKe,{container:!0,justifyContent:"space-between",className:m.content,ownerState:h,direction:s?c:"row",alignItems:s?"flex-start":"flex-end",children:[i,w.jsx(uKe,{onClick:u,className:m.penIconButton,ownerState:h,color:"inherit","aria-label":a?a(l,d):p.inputModeToggleButtonAriaLabel(l,d),children:l?fKe(d):w.jsx(oKe,{color:"inherit"})})]})]})}),hKe=["align","className","selected","typographyClassName","value","variant"],pKe=t=>{const{classes:e}=t;return Ue({root:["root"]},mue,e)},mKe=we(tr,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:0,minWidth:16,textTransform:"none"}),P0=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersToolbarButton"}),{align:i,className:o,selected:a,typographyClassName:s,value:l,variant:c}=r,u=Ae(r,hKe),f=pKe(r);return w.jsx(mKe,j({variant:"text",ref:n,className:Vr(o,f.root)},u,{children:w.jsx(hue,{align:i,className:s,variant:c,value:l,selected:a})}))});function gKe(t){return We("MuiDateTimePickerToolbar",t)}Ve("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","separator"]);const vKe=["ampm","parsedValue","isMobileKeyboardViewOpen","onChange","openView","setOpenView","toggleMobileKeyboardView","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],yKe=t=>{const{classes:e}=t;return Ue({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer"],separator:["separator"]},gKe,e)},xKe=we(dKe,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",[`& .${gue.penIconButton}`]:j({position:"absolute",top:8},t.direction==="rtl"?{left:8}:{right:8})})),bKe=we("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(t,e)=>e.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),_Ke=we("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(t,e)=>e.timeContainer})({display:"flex"}),E9=we(hue,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(t,e)=>e.separator})({margin:"0 4px 0 2px",cursor:"default"});function vue(t){const e=qe({props:t,name:"MuiDateTimePickerToolbar"}),{ampm:n,parsedValue:r,isMobileKeyboardViewOpen:i,openView:o,setOpenView:a,toggleMobileKeyboardView:s,toolbarFormat:l,toolbarPlaceholder:c="––",toolbarTitle:u,views:f}=e,d=Ae(e,vKe),h=e,p=Sr(),m=Cd(),g=yKe(h),v=u??m.dateTimePickerDefaultToolbarTitle,y=b=>n?p.format(b,"hours12h"):p.format(b,"hours24h"),x=M.useMemo(()=>r?l?p.formatByString(r,l):p.format(r,"shortDate"):c,[r,l,c,p]);return w.jsxs(xKe,j({toolbarTitle:v,isMobileKeyboardViewOpen:i,toggleMobileKeyboardView:s,className:g.root,viewType:QYe(o)},d,{isLandscape:!1,ownerState:h,children:[w.jsxs(bKe,{className:g.dateContainer,ownerState:h,children:[f.includes("year")&&w.jsx(P0,{tabIndex:-1,variant:"subtitle1",onClick:()=>a("year"),selected:o==="year",value:r?p.format(r,"year"):"–"}),f.includes("day")&&w.jsx(P0,{tabIndex:-1,variant:"h4",onClick:()=>a("day"),selected:o==="day",value:x})]}),w.jsxs(_Ke,{className:g.timeContainer,ownerState:h,children:[f.includes("hours")&&w.jsx(P0,{variant:"h3",onClick:()=>a("hours"),selected:o==="hours",value:r?y(r):"--"}),f.includes("minutes")&&w.jsxs(M.Fragment,{children:[w.jsx(E9,{variant:"h3",value:":",className:g.separator,ownerState:h}),w.jsx(P0,{variant:"h3",onClick:()=>a("minutes"),selected:o==="minutes",value:r?p.format(r,"minutes"):"--"})]}),f.includes("seconds")&&w.jsxs(M.Fragment,{children:[w.jsx(E9,{variant:"h3",value:":",className:g.separator,ownerState:h}),w.jsx(P0,{variant:"h3",onClick:()=>a("seconds"),selected:o==="seconds",value:r?p.format(r,"seconds"):"--"})]})]})]}))}const Td=M.createContext(null),wKe=["onAccept","onClear","onCancel","onSetToday","actions"],yue=t=>{const{onAccept:e,onClear:n,onCancel:r,onSetToday:i,actions:o}=t,a=Ae(t,wKe),s=M.useContext(Td),l=Cd(),c=typeof o=="function"?o(s):o;if(c==null||c.length===0)return null;const u=c==null?void 0:c.map(f=>{switch(f){case"clear":return w.jsx(tr,{onClick:n,children:l.clearButtonLabel},f);case"cancel":return w.jsx(tr,{onClick:r,children:l.cancelButtonLabel},f);case"accept":return w.jsx(tr,{onClick:e,children:l.okButtonLabel},f);case"today":return w.jsx(tr,{onClick:i,children:l.todayButtonLabel},f);default:return null}});return w.jsx(Tp,j({},a,{children:u}))};function SKe(t){return We("MuiPickersPopper",t)}Ve("MuiPickersPopper",["root","paper"]);function xue(t,e){return Array.isArray(e)?e.every(n=>t.indexOf(n)!==-1):t.indexOf(e)!==-1}const bue=(t,e)=>n=>{(n.key==="Enter"||n.key===" ")&&(t(n),n.preventDefault(),n.stopPropagation())},_ue=(t=document)=>{const e=t.activeElement;return e?e.shadowRoot?_ue(e.shadowRoot):e:null},OKe=["onClick","onTouchStart"],CKe=t=>{const{classes:e}=t;return Ue({root:["root"],paper:["paper"]},SKe,e)},TKe=we(b5,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({zIndex:t.zIndex.modal})),EKe=we(Ho,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(t,e)=>e.paper})(({ownerState:t})=>j({transformOrigin:"top center",outline:0},t.placement==="top"&&{transformOrigin:"bottom center"}));function PKe(t,e){return e.documentElement.clientWidth{if(!t)return;function l(){o.current=!0}return document.addEventListener("mousedown",l,!0),document.addEventListener("touchstart",l,!0),()=>{document.removeEventListener("mousedown",l,!0),document.removeEventListener("touchstart",l,!0),o.current=!1}},[t]);const a=_r(l=>{if(!o.current)return;const c=r.current;r.current=!1;const u=$n(i.current);if(!i.current||"clientX"in l&&PKe(l,u))return;if(n.current){n.current=!1;return}let f;l.composedPath?f=l.composedPath().indexOf(i.current)>-1:f=!u.documentElement.contains(l.target)||i.current.contains(l.target),!f&&!c&&e(l)}),s=()=>{r.current=!0};return M.useEffect(()=>{if(t){const l=$n(i.current),c=()=>{n.current=!0};return l.addEventListener("touchstart",a),l.addEventListener("touchmove",c),()=>{l.removeEventListener("touchstart",a),l.removeEventListener("touchmove",c)}}},[t,a]),M.useEffect(()=>{if(t){const l=$n(i.current);return l.addEventListener("click",a),()=>{l.removeEventListener("click",a),r.current=!1}}},[t,a]),[i,s,s]}function kKe(t){var e;const n=qe({props:t,name:"MuiPickersPopper"}),{anchorEl:r,children:i,containerRef:o=null,onBlur:a,onClose:s,onClear:l,onAccept:c,onCancel:u,onSetToday:f,open:d,PopperProps:h,role:p,TransitionComponent:m=ev,TrapFocusProps:g,PaperProps:v={},components:y,componentsProps:x}=n;M.useEffect(()=>{function W($){d&&($.key==="Escape"||$.key==="Esc")&&s()}return document.addEventListener("keydown",W),()=>{document.removeEventListener("keydown",W)}},[s,d]);const b=M.useRef(null);M.useEffect(()=>{p!=="tooltip"&&(d?b.current=_ue(document):b.current&&b.current instanceof HTMLElement&&setTimeout(()=>{b.current instanceof HTMLElement&&b.current.focus()}))},[d,p]);const[_,S,O]=MKe(d,a??s),C=M.useRef(null),E=Zt(C,o),k=Zt(E,_),I=n,P=CKe(I),{onClick:R,onTouchStart:T}=v,L=Ae(v,OKe),z=W=>{W.key==="Escape"&&(W.stopPropagation(),s())},B=(e=y==null?void 0:y.ActionBar)!=null?e:yue,U=(y==null?void 0:y.PaperContent)||M.Fragment;return w.jsx(TKe,j({transition:!0,role:p,open:d,anchorEl:r,onKeyDown:z,className:P.root},h,{children:({TransitionProps:W,placement:$})=>w.jsx(wre,j({open:d,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:p==="tooltip",isEnabled:()=>!0},g,{children:w.jsx(m,j({},W,{children:w.jsx(EKe,j({tabIndex:-1,elevation:8,ref:k,onClick:N=>{S(N),R&&R(N)},onTouchStart:N=>{O(N),T&&T(N)},ownerState:j({},I,{placement:$}),className:P.paper},L,{children:w.jsxs(U,j({},x==null?void 0:x.paperContent,{children:[i,w.jsx(B,j({onAccept:c,onClear:l,onCancel:u,onSetToday:f,actions:[]},x==null?void 0:x.actionBar))]}))}))}))}))}))}function AKe(t){const{children:e,DateInputProps:n,KeyboardDateInputComponent:r,onClear:i,onDismiss:o,onCancel:a,onAccept:s,onSetToday:l,open:c,PopperProps:u,PaperProps:f,TransitionComponent:d,components:h,componentsProps:p}=t,m=M.useRef(null),g=Zt(n.inputRef,m);return w.jsxs(Td.Provider,{value:"desktop",children:[w.jsx(r,j({},n,{inputRef:g})),w.jsx(kKe,{role:"dialog",open:c,anchorEl:m.current,TransitionComponent:d,PopperProps:u,PaperProps:f,onClose:o,onCancel:a,onClear:i,onAccept:s,onSetToday:l,components:h,componentsProps:p,children:e})]})}function zz({onChange:t,onViewChange:e,openTo:n,view:r,views:i}){var o,a;const[s,l]=Qs({name:"Picker",state:"view",controlled:r,default:n&&xue(i,n)?n:i[0]}),c=(o=i[i.indexOf(s)-1])!=null?o:null,u=(a=i[i.indexOf(s)+1])!=null?a:null,f=M.useCallback(p=>{l(p),e&&e(p)},[l,e]),d=M.useCallback(()=>{u&&f(u)},[u,f]);return{handleChangeAndOpenNext:M.useCallback((p,m)=>{const g=m==="finish";t(p,g&&u?"partial":m),g&&d()},[u,t,d]),nextView:u,previousView:c,openNext:d,openView:s,setOpenView:f}}const sv=220,Uf=36,Zb={x:sv/2,y:sv/2},wue={x:Zb.x,y:0},RKe=wue.x-Zb.x,IKe=wue.y-Zb.y,DKe=t=>t*(180/Math.PI),Sue=(t,e,n)=>{const r=e-Zb.x,i=n-Zb.y,o=Math.atan2(RKe,IKe)-Math.atan2(r,i);let a=DKe(o);a=Math.round(a/t)*t,a%=360;const s=Math.floor(a/t)||0,l=r**2+i**2,c=Math.sqrt(l);return{value:s,distance:c}},LKe=(t,e,n=1)=>{const r=n*6;let{value:i}=Sue(r,t,e);return i=i*n%60,i},NKe=(t,e,n)=>{const{value:r,distance:i}=Sue(30,t,e);let o=r||12;return n?o%=12:i{const{classes:e}=t;return Ue({root:["root"],thumb:["thumb"]},$Ke,e)},BKe=we("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t,ownerState:e})=>j({width:2,backgroundColor:t.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},e.shouldAnimate&&{transition:t.transitions.create(["transform","height"])})),zKe=we("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t,ownerState:e})=>j({width:4,height:4,backgroundColor:t.palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:`calc(50% - ${Uf/2}px)`,border:`${(Uf-4)/2}px solid ${t.palette.primary.main}`,boxSizing:"content-box"},e.hasSelected&&{backgroundColor:t.palette.primary.main}));function UKe(t){const e=qe({props:t,name:"MuiClockPointer"}),{className:n,isInner:r,type:i,value:o}=e,a=Ae(e,FKe),s=M.useRef(i);M.useEffect(()=>{s.current=i},[i]);const l=j({},e,{shouldAnimate:s.current!==i}),c=jKe(l),u=()=>{let d=360/(i==="hours"?12:60)*o;return i==="hours"&&o>12&&(d-=360),{height:Math.round((r?.26:.4)*sv),transform:`rotateZ(${d}deg)`}};return w.jsx(BKe,j({style:u(),className:Vr(n,c.root),ownerState:l},a,{children:w.jsx(zKe,{ownerState:l,className:c.thumb})}))}function WKe(t){return We("MuiClock",t)}Ve("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton"]);const VKe=t=>{const{classes:e}=t;return Ue({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"]},WKe,e)},GKe=we("div",{name:"MuiClock",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:t.spacing(2)})),HKe=we("div",{name:"MuiClock",slot:"Clock",overridesResolver:(t,e)=>e.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),qKe=we("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({"&:focus":{outline:"none"}}),XKe=we("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(t,e)=>e.squareMask})(({ownerState:t})=>j({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},t.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})),QKe=we("div",{name:"MuiClock",slot:"Pin",overridesResolver:(t,e)=>e.pin})(({theme:t})=>({width:6,height:6,borderRadius:"50%",backgroundColor:t.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"})),YKe=we(Ot,{name:"MuiClock",slot:"AmButton",overridesResolver:(t,e)=>e.amButton})(({theme:t,ownerState:e})=>j({zIndex:1,position:"absolute",bottom:e.ampmInClock?64:8,left:8},e.meridiemMode==="am"&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}})),KKe=we(Ot,{name:"MuiClock",slot:"PmButton",overridesResolver:(t,e)=>e.pmButton})(({theme:t,ownerState:e})=>j({zIndex:1,position:"absolute",bottom:e.ampmInClock?64:8,right:8},e.meridiemMode==="pm"&&{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText,"&:hover":{backgroundColor:t.palette.primary.light}}));function ZKe(t){const e=qe({props:t,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:i,children:o,date:a,getClockLabelText:s,handleMeridiemChange:l,isTimeDisabled:c,meridiemMode:u,minutesStep:f=1,onChange:d,selectedId:h,type:p,value:m,disabled:g,readOnly:v,className:y}=e,x=e,b=Sr(),_=M.useContext(Td),S=M.useRef(!1),O=VKe(x),C=c(m,p),E=!n&&p==="hours"&&(m<1||m>12),k=($,N)=>{g||v||c($,p)||d($,N)},I=($,N)=>{let{offsetX:D,offsetY:A}=$;if(D===void 0){const Y=$.target.getBoundingClientRect();D=$.changedTouches[0].clientX-Y.left,A=$.changedTouches[0].clientY-Y.top}const q=p==="seconds"||p==="minutes"?LKe(D,A,f):NKe(D,A,!!n);k(q,N)},P=$=>{S.current=!0,I($,"shallow")},R=$=>{S.current&&(I($,"finish"),S.current=!1)},T=$=>{$.buttons>0&&I($.nativeEvent,"shallow")},L=$=>{S.current&&(S.current=!1),I($.nativeEvent,"finish")},z=M.useMemo(()=>p==="hours"?!0:m%5===0,[p,m]),B=p==="minutes"?f:1,U=M.useRef(null);Hr(()=>{i&&U.current.focus()},[i]);const W=$=>{if(!S.current)switch($.key){case"Home":k(0,"partial"),$.preventDefault();break;case"End":k(p==="minutes"?59:23,"partial"),$.preventDefault();break;case"ArrowUp":k(m+B,"partial"),$.preventDefault();break;case"ArrowDown":k(m-B,"partial"),$.preventDefault();break}};return w.jsxs(GKe,{className:Vr(y,O.root),children:[w.jsxs(HKe,{className:O.clock,children:[w.jsx(XKe,{onTouchMove:P,onTouchEnd:R,onMouseUp:L,onMouseMove:T,ownerState:{disabled:g},className:O.squareMask}),!C&&w.jsxs(M.Fragment,{children:[w.jsx(QKe,{className:O.pin}),a&&w.jsx(UKe,{type:p,value:m,isInner:E,hasSelected:z})]}),w.jsx(qKe,{"aria-activedescendant":h,"aria-label":s(p,a,b),ref:U,role:"listbox",onKeyDown:W,tabIndex:0,className:O.wrapper,children:o})]}),n&&(_==="desktop"||r)&&w.jsxs(M.Fragment,{children:[w.jsx(YKe,{onClick:v?void 0:()=>l("am"),disabled:g||u===null,ownerState:x,className:O.amButton,children:w.jsx(At,{variant:"caption",children:"AM"})}),w.jsx(KKe,{disabled:g||u===null,onClick:v?void 0:()=>l("pm"),ownerState:x,className:O.pmButton,children:w.jsx(At,{variant:"caption",children:"PM"})})]})]})}const Oue=t=>()=>{};function JKe(t){return We("MuiClockNumber",t)}const jS=Ve("MuiClockNumber",["root","selected","disabled"]),eZe=["className","disabled","index","inner","label","selected"],tZe=t=>{const{classes:e,selected:n,disabled:r}=t;return Ue({root:["root",n&&"selected",r&&"disabled"]},JKe,e)},nZe=we("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${jS.disabled}`]:e.disabled},{[`&.${jS.selected}`]:e.selected}]})(({theme:t,ownerState:e})=>j({height:Uf,width:Uf,position:"absolute",left:`calc((100% - ${Uf}px) / 2)`,display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:t.palette.text.primary,fontFamily:t.typography.fontFamily,"&:focused":{backgroundColor:t.palette.background.paper},[`&.${jS.selected}`]:{color:t.palette.primary.contrastText},[`&.${jS.disabled}`]:{pointerEvents:"none",color:t.palette.text.disabled}},e.inner&&j({},t.typography.body2,{color:t.palette.text.secondary})));function Cue(t){const e=qe({props:t,name:"MuiClockNumber"}),{className:n,disabled:r,index:i,inner:o,label:a,selected:s}=e,l=Ae(e,eZe),c=e,u=tZe(c),f=i%12/12*Math.PI*2-Math.PI/2,d=(sv-Uf-2)/2*(o?.65:1),h=Math.round(Math.cos(f)*d),p=Math.round(Math.sin(f)*d);return w.jsx(nZe,j({className:Vr(n,u.root),"aria-disabled":r?!0:void 0,"aria-selected":s?!0:void 0,role:"option",style:{transform:`translate(${h}px, ${p+(sv-Uf)/2}px`},ownerState:c},l,{children:a}))}const rZe=({ampm:t,date:e,getClockNumberText:n,isDisabled:r,selectedId:i,utils:o})=>{const a=e?o.getHours(e):null,s=[],l=t?1:0,c=t?12:23,u=f=>a===null?!1:t?f===12?a===12||a===0:a===f||a-12===f:a===f;for(let f=l;f<=c;f+=1){let d=f.toString();f===0&&(d="00");const h=!t&&(f===0||f>12);d=o.formatNumber(d);const p=u(f);s.push(w.jsx(Cue,{id:p?i:void 0,index:f,inner:h,selected:p,disabled:r(f),label:d,"aria-label":n(d)},f))}return s},P9=({utils:t,value:e,isDisabled:n,getClockNumberText:r,selectedId:i})=>{const o=t.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map(([a,s],l)=>{const c=a===e;return w.jsx(Cue,{label:s,id:c?i:void 0,index:l+1,inner:!1,disabled:n(a),selected:c,"aria-label":r(s)},a)})};function iZe(t){return We("MuiPickersArrowSwitcher",t)}Ve("MuiPickersArrowSwitcher",["root","spacer","button"]);const oZe=["children","className","components","componentsProps","isLeftDisabled","isLeftHidden","isRightDisabled","isRightHidden","leftArrowButtonText","onLeftClick","onRightClick","rightArrowButtonText"],aZe=t=>{const{classes:e}=t;return Ue({root:["root"],spacer:["spacer"],button:["button"]},iZe,e)},sZe=we("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex"}),lZe=we("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})(({theme:t})=>({width:t.spacing(3)})),M9=we(Ot,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(t,e)=>e.button})(({ownerState:t})=>j({},t.hidden&&{visibility:"hidden"})),Tue=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersArrowSwitcher"}),{children:i,className:o,components:a,componentsProps:s,isLeftDisabled:l,isLeftHidden:c,isRightDisabled:u,isRightHidden:f,leftArrowButtonText:d,onLeftClick:h,onRightClick:p,rightArrowButtonText:m}=r,g=Ae(r,oZe),y=Go().direction==="rtl",x=(s==null?void 0:s.leftArrowButton)||{},b=(a==null?void 0:a.LeftArrowIcon)||tKe,_=(s==null?void 0:s.rightArrowButton)||{},S=(a==null?void 0:a.RightArrowIcon)||nKe,O=r,C=aZe(O);return w.jsxs(sZe,j({ref:n,className:Vr(C.root,o),ownerState:O},g,{children:[w.jsx(M9,j({as:a==null?void 0:a.LeftArrowButton,size:"small","aria-label":d,title:d,disabled:l,edge:"end",onClick:h},x,{className:Vr(C.button,x.className),ownerState:j({},O,x,{hidden:c}),children:y?w.jsx(S,{}):w.jsx(b,{})})),i?w.jsx(At,{variant:"subtitle1",component:"span",children:i}):w.jsx(lZe,{className:C.spacer,ownerState:O}),w.jsx(M9,j({as:a==null?void 0:a.RightArrowButton,size:"small","aria-label":m,title:m,edge:"start",disabled:u,onClick:p},_,{className:Vr(C.button,_.className),ownerState:j({},O,_,{hidden:f}),children:y?w.jsx(b,{}):w.jsx(S,{})}))]}))}),cZe=(t,e)=>t?e.getHours(t)>=12?"pm":"am":null,K3=(t,e,n)=>n&&(t>=12?"pm":"am")!==e?e==="am"?t-12:t+12:t,uZe=(t,e,n,r)=>{const i=K3(r.getHours(t),e,n);return r.setHours(t,i)},k9=(t,e)=>e.getHours(t)*3600+e.getMinutes(t)*60+e.getSeconds(t),Eue=(t=!1,e)=>(n,r)=>t?e.isAfter(n,r):k9(n,e)>k9(r,e);function fZe(t,{disableFuture:e,maxDate:n}){const r=Sr();return M.useMemo(()=>{const i=r.date(),o=r.startOfMonth(e&&r.isBefore(i,n)?i:n);return!r.isAfter(o,t)},[e,n,t,r])}function dZe(t,{disablePast:e,minDate:n}){const r=Sr();return M.useMemo(()=>{const i=r.date(),o=r.startOfMonth(e&&r.isAfter(i,n)?i:n);return!r.isBefore(o,t)},[e,n,t,r])}function hZe(t,e,n){const r=Sr(),i=cZe(t,r),o=M.useCallback(a=>{const s=t==null?null:uZe(t,a,!!e,r);n(s,"partial")},[e,t,n,r]);return{meridiemMode:i,handleMeridiemChange:o}}function pZe(t){return We("MuiClockPicker",t)}Ve("MuiClockPicker",["root","arrowSwitcher"]);const Z3=36,Uz=2,Pue=320,mZe=358,Wz=we("div")({overflowX:"hidden",width:Pue,maxHeight:mZe,display:"flex",flexDirection:"column",margin:"0 auto"}),gZe=t=>{const{classes:e}=t;return Ue({root:["root"],arrowSwitcher:["arrowSwitcher"]},pZe,e)},vZe=we(Wz,{name:"MuiClockPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column"}),yZe=we(Tue,{name:"MuiClockPicker",slot:"ArrowSwitcher",overridesResolver:(t,e)=>e.arrowSwitcher})({position:"absolute",right:12,top:15}),xZe=Oue(),bZe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiClockPicker"}),{ampm:i=!1,ampmInClock:o=!1,autoFocus:a,components:s,componentsProps:l,date:c,disableIgnoringDatePartForTimeValidation:u,getClockLabelText:f,getHoursClockNumberText:d,getMinutesClockNumberText:h,getSecondsClockNumberText:p,leftArrowButtonText:m,maxTime:g,minTime:v,minutesStep:y=1,rightArrowButtonText:x,shouldDisableTime:b,showViewSwitcher:_,onChange:S,view:O,views:C=["hours","minutes"],openTo:E,onViewChange:k,className:I,disabled:P,readOnly:R}=r;xZe({leftArrowButtonText:m,rightArrowButtonText:x,getClockLabelText:f,getHoursClockNumberText:d,getMinutesClockNumberText:h,getSecondsClockNumberText:p});const T=Cd(),L=m??T.openPreviousView,z=x??T.openNextView,B=f??T.clockLabelText,U=d??T.hoursClockNumberText,W=h??T.minutesClockNumberText,$=p??T.secondsClockNumberText,{openView:N,setOpenView:D,nextView:A,previousView:q,handleChangeAndOpenNext:Y}=zz({view:O,views:C,openTo:E,onViewChange:k,onChange:S}),K=fw(),se=Sr(),te=M.useMemo(()=>c||se.setSeconds(se.setMinutes(se.setHours(K,0),0),0),[c,K,se]),{meridiemMode:J,handleMeridiemChange:pe}=hZe(te,i,Y),be=M.useCallback((le,Q)=>{const X=Eue(u,se),ee=({start:ye,end:H})=>!(v&&X(v,H)||g&&X(ye,g)),ge=(ye,H=1)=>ye%H!==0?!1:b?!b(ye,Q):!0;switch(Q){case"hours":{const ye=K3(le,J,i),H=se.setHours(te,ye),G=se.setSeconds(se.setMinutes(H,0),0),ie=se.setSeconds(se.setMinutes(H,59),59);return!ee({start:G,end:ie})||!ge(ye)}case"minutes":{const ye=se.setMinutes(te,le),H=se.setSeconds(ye,0),G=se.setSeconds(ye,59);return!ee({start:H,end:G})||!ge(le,y)}case"seconds":{const ye=se.setSeconds(te,le);return!ee({start:ye,end:ye})||!ge(le)}default:throw new Error("not supported")}},[i,te,u,g,J,v,y,b,se]),re=pd(),ve=M.useMemo(()=>{switch(N){case"hours":{const le=(Q,X)=>{const ee=K3(Q,J,i);Y(se.setHours(te,ee),X)};return{onChange:le,value:se.getHours(te),children:rZe({date:c,utils:se,ampm:i,onChange:le,getClockNumberText:U,isDisabled:Q=>P||be(Q,"hours"),selectedId:re})}}case"minutes":{const le=se.getMinutes(te),Q=(X,ee)=>{Y(se.setMinutes(te,X),ee)};return{value:le,onChange:Q,children:P9({utils:se,value:le,onChange:Q,getClockNumberText:W,isDisabled:X=>P||be(X,"minutes"),selectedId:re})}}case"seconds":{const le=se.getSeconds(te),Q=(X,ee)=>{Y(se.setSeconds(te,X),ee)};return{value:le,onChange:Q,children:P9({utils:se,value:le,onChange:Q,getClockNumberText:$,isDisabled:X=>P||be(X,"seconds"),selectedId:re})}}default:throw new Error("You must provide the type for ClockView")}},[N,se,c,i,U,W,$,J,Y,te,be,re,P]),F=r,ce=gZe(F);return w.jsxs(vZe,{ref:n,className:Vr(ce.root,I),ownerState:F,children:[_&&w.jsx(yZe,{className:ce.arrowSwitcher,leftArrowButtonText:L,rightArrowButtonText:z,components:s,componentsProps:l,onLeftClick:()=>D(q),onRightClick:()=>D(A),isLeftDisabled:!q,isRightDisabled:!A,ownerState:F}),w.jsx(ZKe,j({autoFocus:a,date:c,ampmInClock:o,type:N,ampm:i,getClockLabelText:B,minutesStep:y,isTimeDisabled:be,meridiemMode:J,handleMeridiemChange:pe,selectedId:re,disabled:P,readOnly:R},ve))]})});function _Ze(t){return We("PrivatePickersMonth",t)}const A9=Ve("PrivatePickersMonth",["root","selected"]),wZe=["disabled","onSelect","selected","value","tabIndex","hasFocus","onFocus","onBlur"],SZe=t=>{const{classes:e,selected:n}=t;return Ue({root:["root",n&&"selected"]},_Ze,e)},OZe=we(At,{name:"PrivatePickersMonth",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${A9.selected}`]:e.selected}]})(({theme:t})=>j({flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:Hc(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{pointerEvents:"none",color:t.palette.text.secondary},[`&.${A9.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}})),R9=()=>{},CZe=t=>{const{disabled:e,onSelect:n,selected:r,value:i,tabIndex:o,hasFocus:a,onFocus:s=R9,onBlur:l=R9}=t,c=Ae(t,wZe),u=SZe(t),f=()=>{n(i)},d=M.useRef(null);return Hr(()=>{if(a){var h;(h=d.current)==null||h.focus()}},[a]),w.jsx(OZe,j({ref:d,component:"button",type:"button",className:u.root,tabIndex:o,onClick:f,onKeyDown:bue(f),color:r?"primary":void 0,variant:r?"h5":"subtitle1",disabled:e,onFocus:h=>s(h,i),onBlur:h=>l(h,i)},c))};function TZe(t){return We("MuiMonthPicker",t)}Ve("MuiMonthPicker",["root"]);const EZe=["className","date","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange"],PZe=t=>{const{classes:e}=t;return Ue({root:["root"]},TZe,e)};function MZe(t,e){const n=Sr(),r=q2(),i=qe({props:t,name:e});return j({disableFuture:!1,disablePast:!1},i,{minDate:tc(n,i.minDate,r.minDate),maxDate:tc(n,i.maxDate,r.maxDate)})}const kZe=we("div",{name:"MuiMonthPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch",margin:"0 4px"}),AZe=M.forwardRef(function(e,n){const r=Sr(),i=fw(),o=MZe(e,"MuiMonthPicker"),{className:a,date:s,disabled:l,disableFuture:c,disablePast:u,maxDate:f,minDate:d,onChange:h,shouldDisableMonth:p,readOnly:m,disableHighlightToday:g,autoFocus:v=!1,onMonthFocus:y,hasFocus:x,onFocusedViewChange:b}=o,_=Ae(o,EZe),S=o,O=PZe(S),C=hd(),E=M.useMemo(()=>s??r.startOfMonth(i),[i,r,s]),k=M.useMemo(()=>s!=null?r.getMonth(s):g?null:r.getMonth(i),[i,s,r,g]),[I,P]=M.useState(()=>k||r.getMonth(i)),R=M.useCallback(A=>{const q=r.startOfMonth(u&&r.isAfter(i,d)?i:d),Y=r.startOfMonth(c&&r.isBefore(i,f)?i:f);return r.isBefore(A,q)||r.isAfter(A,Y)?!0:p?p(A):!1},[c,u,f,d,i,p,r]),T=A=>{if(m)return;const q=r.setMonth(E,A);h(q,"finish")},[L,z]=Qs({name:"MonthPicker",state:"hasFocus",controlled:x,default:v}),B=M.useCallback(A=>{z(A),b&&b(A)},[z,b]),U=M.useCallback(A=>{R(r.setMonth(E,A))||(P(A),B(!0),y&&y(A))},[R,r,E,B,y]);M.useEffect(()=>{P(A=>k!==null&&A!==k?k:A)},[k]);const W=_r(A=>{switch(A.key){case"ArrowUp":U((12+I-3)%12),A.preventDefault();break;case"ArrowDown":U((12+I+3)%12),A.preventDefault();break;case"ArrowLeft":U((12+I+(C.direction==="ltr"?-1:1))%12),A.preventDefault();break;case"ArrowRight":U((12+I+(C.direction==="ltr"?1:-1))%12),A.preventDefault();break}}),$=M.useCallback((A,q)=>{U(q)},[U]),N=M.useCallback(()=>{B(!1)},[B]),D=r.getMonth(i);return w.jsx(kZe,j({ref:n,className:Vr(O.root,a),ownerState:S,onKeyDown:W},_,{children:r.getMonthArray(E).map(A=>{const q=r.getMonth(A),Y=r.format(A,"monthShort"),K=l||R(A);return w.jsx(CZe,{value:q,selected:q===k,tabIndex:q===I&&!K?0:-1,hasFocus:L&&q===I,onSelect:T,onFocus:$,onBlur:N,disabled:K,"aria-current":D===q?"date":void 0,children:Y},Y)})}))});function RZe(t,e,n){const{value:r,onError:i}=t,o=uw(),a=M.useRef(null),s=e({adapter:o,value:r,props:t});return M.useEffect(()=>{i&&!n(s,a.current)&&i(s,r),a.current=s},[n,i,a,s,r]),s}const Mue=({props:t,value:e,adapter:n})=>{const r=n.utils.date(),i=n.utils.date(e),o=tc(n.utils,t.minDate,n.defaultDates.minDate),a=tc(n.utils,t.maxDate,n.defaultDates.maxDate);if(i===null)return null;switch(!0){case!n.utils.isValid(e):return"invalidDate";case!!(t.shouldDisableDate&&t.shouldDisableDate(i)):return"shouldDisableDate";case!!(t.disableFuture&&n.utils.isAfterDay(i,r)):return"disableFuture";case!!(t.disablePast&&n.utils.isBeforeDay(i,r)):return"disablePast";case!!(o&&n.utils.isBeforeDay(i,o)):return"minDate";case!!(a&&n.utils.isAfterDay(i,a)):return"maxDate";default:return null}},kue=({shouldDisableDate:t,minDate:e,maxDate:n,disableFuture:r,disablePast:i})=>{const o=uw();return M.useCallback(a=>Mue({adapter:o,value:a,props:{shouldDisableDate:t,minDate:e,maxDate:n,disableFuture:r,disablePast:i}})!==null,[o,t,e,n,r,i])},IZe=(t,e,n)=>(r,i)=>{switch(i.type){case"changeMonth":return j({},r,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!t});case"finishMonthSwitchingAnimation":return j({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(r.focusedDay!=null&&i.focusedDay!=null&&n.isSameDay(i.focusedDay,r.focusedDay))return r;const o=i.focusedDay!=null&&!e&&!n.isSameMonth(r.currentMonth,i.focusedDay);return j({},r,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:o&&!t&&!i.withoutMonthSwitchingAnimation,currentMonth:o?n.startOfMonth(i.focusedDay):r.currentMonth,slideDirection:i.focusedDay!=null&&n.isAfterDay(i.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},DZe=({date:t,defaultCalendarMonth:e,disableFuture:n,disablePast:r,disableSwitchToMonthOnDayFocus:i=!1,maxDate:o,minDate:a,onMonthChange:s,reduceAnimations:l,shouldDisableDate:c})=>{var u;const f=fw(),d=Sr(),h=M.useRef(IZe(!!l,i,d)).current,[p,m]=M.useReducer(h,{isMonthSwitchingAnimating:!1,focusedDay:t||f,currentMonth:d.startOfMonth((u=t??e)!=null?u:f),slideDirection:"left"}),g=M.useCallback(_=>{m(j({type:"changeMonth"},_)),s&&s(_.newMonth)},[s]),v=M.useCallback(_=>{const S=_??f;d.isSameMonth(S,p.currentMonth)||g({newMonth:d.startOfMonth(S),direction:d.isAfterDay(S,p.currentMonth)?"left":"right"})},[p.currentMonth,g,f,d]),y=kue({shouldDisableDate:c,minDate:a,maxDate:o,disableFuture:n,disablePast:r}),x=M.useCallback(()=>{m({type:"finishMonthSwitchingAnimation"})},[]),b=M.useCallback((_,S)=>{y(_)||m({type:"changeFocusedDay",focusedDay:_,withoutMonthSwitchingAnimation:S})},[y]);return{calendarState:p,changeMonth:v,changeFocusedDay:b,isDateDisabled:y,onMonthSwitchingAnimationEnd:x,handleChangeMonth:g}},LZe=t=>We("MuiPickersFadeTransitionGroup",t);Ve("MuiPickersFadeTransitionGroup",["root"]);const NZe=t=>{const{classes:e}=t;return Ue({root:["root"]},LZe,e)},I9=500,$Ze=we(D1,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"block",position:"relative"});function Aue(t){const e=qe({props:t,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:i,transKey:o}=e,a=NZe(e);return i?n:w.jsx($Ze,{className:Vr(a.root,r),children:w.jsx(ZM,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:I9,enter:I9/2,exit:0},children:n},o)})}function FZe(t){return We("MuiPickersDay",t)}const BS=Ve("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),jZe=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today"],BZe=t=>{const{selected:e,disableMargin:n,disableHighlightToday:r,today:i,disabled:o,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:l}=t;return Ue({root:["root",e&&"selected",o&&"disabled",!n&&"dayWithMargin",!r&&i&&"today",a&&s&&"dayOutsideMonth",a&&!s&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},FZe,l)},Rue=({theme:t,ownerState:e})=>j({},t.typography.caption,{width:Z3,height:Z3,borderRadius:"50%",padding:0,backgroundColor:t.palette.background.paper,color:t.palette.text.primary,"&:hover":{backgroundColor:Hc(t.palette.action.active,t.palette.action.hoverOpacity)},"&:focus":{backgroundColor:Hc(t.palette.action.active,t.palette.action.hoverOpacity),[`&.${BS.selected}`]:{willChange:"background-color",backgroundColor:t.palette.primary.dark}},[`&.${BS.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,fontWeight:t.typography.fontWeightMedium,transition:t.transitions.create("background-color",{duration:t.transitions.duration.short}),"&:hover":{willChange:"background-color",backgroundColor:t.palette.primary.dark}},[`&.${BS.disabled}`]:{color:t.palette.text.disabled}},!e.disableMargin&&{margin:`0 ${Uz}px`},e.outsideCurrentMonth&&e.showDaysOutsideCurrentMonth&&{color:t.palette.text.secondary},!e.disableHighlightToday&&e.today&&{[`&:not(.${BS.selected})`]:{border:`1px solid ${t.palette.text.secondary}`}}),Iue=(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableMargin&&e.dayWithMargin,!n.disableHighlightToday&&n.today&&e.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&e.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&e.hiddenDaySpacingFiller]},zZe=we(fs,{name:"MuiPickersDay",slot:"Root",overridesResolver:Iue})(Rue),UZe=we("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:Iue})(({theme:t,ownerState:e})=>j({},Rue({theme:t,ownerState:e}),{opacity:0,pointerEvents:"none"})),ER=()=>{},WZe=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiPickersDay"}),{autoFocus:i=!1,className:o,day:a,disabled:s=!1,disableHighlightToday:l=!1,disableMargin:c=!1,isAnimating:u,onClick:f,onDaySelect:d,onFocus:h=ER,onBlur:p=ER,onKeyDown:m=ER,onMouseDown:g,outsideCurrentMonth:v,selected:y=!1,showDaysOutsideCurrentMonth:x=!1,children:b,today:_=!1}=r,S=Ae(r,jZe),O=j({},r,{autoFocus:i,disabled:s,disableHighlightToday:l,disableMargin:c,selected:y,showDaysOutsideCurrentMonth:x,today:_}),C=BZe(O),E=Sr(),k=M.useRef(null),I=Zt(k,n);Hr(()=>{i&&!s&&!u&&!v&&k.current.focus()},[i,s,u,v]);const P=T=>{g&&g(T),v&&T.preventDefault()},R=T=>{s||d(a,"finish"),v&&T.currentTarget.focus(),f&&f(T)};return v&&!x?w.jsx(UZe,{className:Vr(C.root,C.hiddenDaySpacingFiller,o),ownerState:O,role:S.role}):w.jsx(zZe,j({className:Vr(C.root,o),ownerState:O,ref:I,centerRipple:!0,disabled:s,tabIndex:y?0:-1,onKeyDown:T=>m(T,a),onFocus:T=>h(T,a),onBlur:T=>p(T,a),onClick:R,onMouseDown:P},S,{children:b||E.format(a,"dayOfMonth")}))}),VZe=(t,e)=>t.autoFocus===e.autoFocus&&t.isAnimating===e.isAnimating&&t.today===e.today&&t.disabled===e.disabled&&t.selected===e.selected&&t.disableMargin===e.disableMargin&&t.showDaysOutsideCurrentMonth===e.showDaysOutsideCurrentMonth&&t.disableHighlightToday===e.disableHighlightToday&&t.className===e.className&&t.sx===e.sx&&t.outsideCurrentMonth===e.outsideCurrentMonth&&t.onFocus===e.onFocus&&t.onBlur===e.onBlur&&t.onDaySelect===e.onDaySelect,GZe=M.memo(WZe,VZe),HZe=t=>We("PrivatePickersSlideTransition",t),Wi=Ve("PrivatePickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),qZe=["children","className","reduceAnimations","slideDirection","transKey"],XZe=t=>{const{classes:e}=t;return Ue({root:["root"]},HZe,e)},Due=350,QZe=we(D1,{name:"PrivatePickersSlideTransition",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`.${Wi["slideEnter-left"]}`]:e["slideEnter-left"]},{[`.${Wi["slideEnter-right"]}`]:e["slideEnter-right"]},{[`.${Wi.slideEnterActive}`]:e.slideEnterActive},{[`.${Wi.slideExit}`]:e.slideExit},{[`.${Wi["slideExitActiveLeft-left"]}`]:e["slideExitActiveLeft-left"]},{[`.${Wi["slideExitActiveLeft-right"]}`]:e["slideExitActiveLeft-right"]}]})(({theme:t})=>{const e=t.transitions.create("transform",{duration:Due,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${Wi["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${Wi["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${Wi.slideEnterActive}`]:{transform:"translate(0%)",transition:e},[`& .${Wi.slideExit}`]:{transform:"translate(0%)"},[`& .${Wi["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:e,zIndex:0},[`& .${Wi["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:e,zIndex:0}}}),YZe=t=>{const{children:e,className:n,reduceAnimations:r,slideDirection:i,transKey:o}=t,a=Ae(t,qZe),s=XZe(t);if(r)return w.jsx("div",{className:Vr(s.root,n),children:e});const l={exit:Wi.slideExit,enterActive:Wi.slideEnterActive,enter:Wi[`slideEnter-${i}`],exitActive:Wi[`slideExitActiveLeft-${i}`]};return w.jsx(QZe,{className:Vr(s.root,n),childFactory:c=>M.cloneElement(c,{classNames:l}),role:"presentation",children:w.jsx(l5,j({mountOnEnter:!0,unmountOnExit:!0,timeout:Due,classNames:l},a,{children:e}),o)})},KZe=t=>We("MuiDayPicker",t);Ve("MuiDayPicker",["header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer"]);const ZZe=t=>{const{classes:e}=t;return Ue({header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"]},KZe,e)},JZe=t=>t.charAt(0).toUpperCase(),Lue=(Z3+Uz*2)*6,eJe=we("div",{name:"MuiDayPicker",slot:"Header",overridesResolver:(t,e)=>e.header})({display:"flex",justifyContent:"center",alignItems:"center"}),tJe=we(At,{name:"MuiDayPicker",slot:"WeekDayLabel",overridesResolver:(t,e)=>e.weekDayLabel})(({theme:t})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:t.palette.text.secondary})),nJe=we("div",{name:"MuiDayPicker",slot:"LoadingContainer",overridesResolver:(t,e)=>e.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:Lue}),rJe=we(YZe,{name:"MuiDayPicker",slot:"SlideTransition",overridesResolver:(t,e)=>e.slideTransition})({minHeight:Lue}),iJe=we("div",{name:"MuiDayPicker",slot:"MonthContainer",overridesResolver:(t,e)=>e.monthContainer})({overflow:"hidden"}),oJe=we("div",{name:"MuiDayPicker",slot:"WeekContainer",overridesResolver:(t,e)=>e.weekContainer})({margin:`${Uz}px 0`,display:"flex",justifyContent:"center"});function aJe(t){const e=fw(),n=Sr(),r=qe({props:t,name:"MuiDayPicker"}),i=ZZe(r),{onFocusedDayChange:o,className:a,currentMonth:s,selectedDays:l,disabled:c,disableHighlightToday:u,focusedDay:f,isMonthSwitchingAnimating:d,loading:h,onSelectedDaysChange:p,onMonthSwitchingAnimationEnd:m,readOnly:g,reduceAnimations:v,renderDay:y,renderLoading:x=()=>w.jsx("span",{children:"..."}),showDaysOutsideCurrentMonth:b,slideDirection:_,TransitionProps:S,disablePast:O,disableFuture:C,minDate:E,maxDate:k,shouldDisableDate:I,dayOfWeekFormatter:P=JZe,hasFocus:R,onFocusedViewChange:T,gridLabelId:L}=r,z=kue({shouldDisableDate:I,minDate:E,maxDate:k,disablePast:O,disableFuture:C}),[B,U]=M.useState(()=>f||e),W=M.useCallback(re=>{T&&T(re)},[T]),$=M.useCallback((re,ve="finish")=>{g||p(re,ve)},[p,g]),N=M.useCallback(re=>{z(re)||(o(re),U(re),W(!0))},[z,o,W]),D=Go();function A(re,ve){switch(re.key){case"ArrowUp":N(n.addDays(ve,-7)),re.preventDefault();break;case"ArrowDown":N(n.addDays(ve,7)),re.preventDefault();break;case"ArrowLeft":{const F=n.addDays(ve,D.direction==="ltr"?-1:1),ce=D.direction==="ltr"?n.getPreviousMonth(ve):n.getNextMonth(ve),le=Zx({utils:n,date:F,minDate:D.direction==="ltr"?n.startOfMonth(ce):F,maxDate:D.direction==="ltr"?F:n.endOfMonth(ce),isDateDisabled:z});N(le||F),re.preventDefault();break}case"ArrowRight":{const F=n.addDays(ve,D.direction==="ltr"?1:-1),ce=D.direction==="ltr"?n.getNextMonth(ve):n.getPreviousMonth(ve),le=Zx({utils:n,date:F,minDate:D.direction==="ltr"?F:n.startOfMonth(ce),maxDate:D.direction==="ltr"?n.endOfMonth(ce):F,isDateDisabled:z});N(le||F),re.preventDefault();break}case"Home":N(n.startOfWeek(ve)),re.preventDefault();break;case"End":N(n.endOfWeek(ve)),re.preventDefault();break;case"PageUp":N(n.getNextMonth(ve)),re.preventDefault();break;case"PageDown":N(n.getPreviousMonth(ve)),re.preventDefault();break}}function q(re,ve){N(ve)}function Y(re,ve){R&&n.isSameDay(B,ve)&&W(!1)}const K=n.getMonth(s),se=l.filter(re=>!!re).map(re=>n.startOfDay(re)),te=K,J=M.useMemo(()=>M.createRef(),[te]),pe=n.startOfWeek(e),be=M.useMemo(()=>{const re=n.startOfMonth(s),ve=n.endOfMonth(s);return z(B)||n.isAfterDay(B,ve)||n.isBeforeDay(B,re)?Zx({utils:n,date:B,minDate:re,maxDate:ve,disablePast:O,disableFuture:C,isDateDisabled:z}):B},[s,C,O,B,z,n]);return w.jsxs("div",{role:"grid","aria-labelledby":L,children:[w.jsx(eJe,{role:"row",className:i.header,children:n.getWeekdays().map((re,ve)=>{var F;return w.jsx(tJe,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(pe,ve),"weekday"),className:i.weekDayLabel,children:(F=P==null?void 0:P(re))!=null?F:re},re+ve.toString())})}),h?w.jsx(nJe,{className:i.loadingContainer,children:x()}):w.jsx(rJe,j({transKey:te,onExited:m,reduceAnimations:v,slideDirection:_,className:Vr(a,i.slideTransition)},S,{nodeRef:J,children:w.jsx(iJe,{ref:J,role:"rowgroup",className:i.monthContainer,children:n.getWeekArray(s).map(re=>w.jsx(oJe,{role:"row",className:i.weekContainer,children:re.map(ve=>{const F=be!==null&&n.isSameDay(ve,be),ce=se.some(X=>n.isSameDay(X,ve)),le=n.isSameDay(ve,e),Q={key:ve==null?void 0:ve.toString(),day:ve,isAnimating:d,disabled:c||z(ve),autoFocus:R&&F,today:le,outsideCurrentMonth:n.getMonth(ve)!==K,selected:ce,disableHighlightToday:u,showDaysOutsideCurrentMonth:b,onKeyDown:A,onFocus:q,onBlur:Y,onDaySelect:$,tabIndex:F?0:-1,role:"gridcell","aria-selected":ce};return le&&(Q["aria-current"]="date"),y?y(ve,se,Q):M.createElement(GZe,j({},Q,{key:Q.key}))})},`week-${re[0]}`))})}))]})}const sJe=t=>We("MuiPickersCalendarHeader",t);Ve("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]);const lJe=t=>{const{classes:e}=t;return Ue({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},sJe,e)},cJe=we("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),uJe=we("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(t,e)=>e.labelContainer})(({theme:t})=>j({display:"flex",maxHeight:30,overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})),fJe=we("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(t,e)=>e.label})({marginRight:6}),dJe=we(Ot,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(t,e)=>e.switchViewButton})({marginRight:"auto"}),hJe=we(eKe,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(t,e)=>e.switchViewIcon})(({theme:t,ownerState:e})=>j({willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"},e.openView==="year"&&{transform:"rotate(180deg)"})),pJe=Oue();function mJe(t){const e=qe({props:t,name:"MuiPickersCalendarHeader"}),{components:n={},componentsProps:r={},currentMonth:i,disabled:o,disableFuture:a,disablePast:s,getViewSwitchingButtonText:l,leftArrowButtonText:c,maxDate:u,minDate:f,onMonthChange:d,onViewChange:h,openView:p,reduceAnimations:m,rightArrowButtonText:g,views:v,labelId:y}=e;pJe({leftArrowButtonText:c,rightArrowButtonText:g,getViewSwitchingButtonText:l});const x=Cd(),b=c??x.previousMonth,_=g??x.nextMonth,S=l??x.calendarViewSwitchingButtonAriaLabel,O=Sr(),C=lJe(e),E=r.switchViewButton||{},k=()=>d(O.getNextMonth(i),"left"),I=()=>d(O.getPreviousMonth(i),"right"),P=fZe(i,{disableFuture:a,maxDate:u}),R=dZe(i,{disablePast:s,minDate:f}),T=()=>{if(!(v.length===1||!h||o))if(v.length===2)h(v.find(z=>z!==p)||v[0]);else{const z=v.indexOf(p)!==0?0:1;h(v[z])}};if(v.length===1&&v[0]==="year")return null;const L=e;return w.jsxs(cJe,{ownerState:L,className:C.root,children:[w.jsxs(uJe,{role:"presentation",onClick:T,ownerState:L,"aria-live":"polite",className:C.labelContainer,children:[w.jsx(Aue,{reduceAnimations:m,transKey:O.format(i,"monthAndYear"),children:w.jsx(fJe,{id:y,ownerState:L,className:C.label,children:O.format(i,"monthAndYear")})}),v.length>1&&!o&&w.jsx(dJe,j({size:"small",as:n.SwitchViewButton,"aria-label":S(p),className:C.switchViewButton},E,{children:w.jsx(hJe,{as:n.SwitchViewIcon,ownerState:L,className:C.switchViewIcon})}))]}),w.jsx(ZM,{in:p==="day",children:w.jsx(Tue,{leftArrowButtonText:b,rightArrowButtonText:_,components:n,componentsProps:r,onLeftClick:I,onRightClick:k,isLeftDisabled:R,isRightDisabled:P})})]})}function gJe(t){return We("PrivatePickersYear",t)}const rg=Ve("PrivatePickersYear",["root","modeDesktop","modeMobile","yearButton","selected","disabled"]),vJe=["autoFocus","className","children","disabled","onClick","onKeyDown","value","tabIndex","onFocus","onBlur"],yJe=t=>{const{wrapperVariant:e,disabled:n,selected:r,classes:i}=t,o={root:["root",e&&`mode${De(e)}`],yearButton:["yearButton",n&&"disabled",r&&"selected"]};return Ue(o,gJe,i)},xJe=we("div",{name:"PrivatePickersYear",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${rg.modeDesktop}`]:e.modeDesktop},{[`&.${rg.modeMobile}`]:e.modeMobile}]})(({ownerState:t})=>j({flexBasis:"33.3%",display:"flex",alignItems:"center",justifyContent:"center"},(t==null?void 0:t.wrapperVariant)==="desktop"&&{flexBasis:"25%"})),bJe=we("button",{name:"PrivatePickersYear",slot:"Button",overridesResolver:(t,e)=>[e.button,{[`&.${rg.disabled}`]:e.disabled},{[`&.${rg.selected}`]:e.selected}]})(({theme:t})=>j({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:Hc(t.palette.action.active,t.palette.action.hoverOpacity)},[`&.${rg.disabled}`]:{color:t.palette.text.secondary},[`&.${rg.selected}`]:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:focus, &:hover":{backgroundColor:t.palette.primary.dark}}})),D9=()=>{},_Je=M.forwardRef(function(e,n){const{autoFocus:r,className:i,children:o,disabled:a,onClick:s,onKeyDown:l,value:c,tabIndex:u,onFocus:f=D9,onBlur:d=D9}=e,h=Ae(e,vJe),p=M.useRef(null),m=Zt(p,n),g=M.useContext(Td),v=j({},e,{wrapperVariant:g}),y=yJe(v);return M.useEffect(()=>{r&&p.current.focus()},[r]),w.jsx(xJe,{className:Vr(y.root,i),ownerState:v,children:w.jsx(bJe,j({ref:m,disabled:a,type:"button",tabIndex:a?-1:u,onClick:x=>s(x,c),onKeyDown:x=>l(x,c),onFocus:x=>f(x,c),onBlur:x=>d(x,c),className:y.yearButton,ownerState:v},h,{children:o}))})});function wJe(t){return We("MuiYearPicker",t)}Ve("MuiYearPicker",["root"]);const SJe=t=>{const{classes:e}=t;return Ue({root:["root"]},wJe,e)};function OJe(t,e){const n=Sr(),r=q2(),i=qe({props:t,name:e});return j({disablePast:!1,disableFuture:!1},i,{minDate:tc(n,i.minDate,r.minDate),maxDate:tc(n,i.maxDate,r.maxDate)})}const CJe=we("div",{name:"MuiYearPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",maxHeight:"304px"}),TJe=M.forwardRef(function(e,n){const r=fw(),i=Go(),o=Sr(),a=OJe(e,"MuiYearPicker"),{autoFocus:s,className:l,date:c,disabled:u,disableFuture:f,disablePast:d,maxDate:h,minDate:p,onChange:m,readOnly:g,shouldDisableYear:v,disableHighlightToday:y,onYearFocus:x,hasFocus:b,onFocusedViewChange:_}=a,S=a,O=SJe(S),C=M.useMemo(()=>c??o.startOfYear(r),[r,o,c]),E=M.useMemo(()=>c!=null?o.getYear(c):y?null:o.getYear(r),[r,c,o,y]),k=M.useContext(Td),I=M.useRef(null),[P,R]=M.useState(()=>E||o.getYear(r)),[T,L]=Qs({name:"YearPicker",state:"hasFocus",controlled:b,default:s}),z=M.useCallback(se=>{L(se),_&&_(se)},[L,_]),B=M.useCallback(se=>!!(d&&o.isBeforeYear(se,r)||f&&o.isAfterYear(se,r)||p&&o.isBeforeYear(se,p)||h&&o.isAfterYear(se,h)||v&&v(se)),[f,d,h,p,r,v,o]),U=(se,te,J="finish")=>{if(g)return;const pe=o.setYear(C,te);m(pe,J)},W=M.useCallback(se=>{B(o.setYear(C,se))||(R(se),z(!0),x==null||x(se))},[B,o,C,z,x]);M.useEffect(()=>{R(se=>E!==null&&se!==E?E:se)},[E]);const $=k==="desktop"?4:3,N=M.useCallback((se,te)=>{switch(se.key){case"ArrowUp":W(te-$),se.preventDefault();break;case"ArrowDown":W(te+$),se.preventDefault();break;case"ArrowLeft":W(te+(i.direction==="ltr"?-1:1)),se.preventDefault();break;case"ArrowRight":W(te+(i.direction==="ltr"?1:-1)),se.preventDefault();break}},[W,i.direction,$]),D=M.useCallback((se,te)=>{W(te)},[W]),A=M.useCallback((se,te)=>{P===te&&z(!1)},[P,z]),q=o.getYear(r),Y=M.useRef(null),K=Zt(n,Y);return M.useEffect(()=>{if(s||Y.current===null)return;const se=Y.current.querySelector('[tabindex="0"]');if(!se)return;const te=se.offsetHeight,J=se.offsetTop,pe=Y.current.clientHeight,be=Y.current.scrollTop,re=J+te;te>pe||J{const te=o.getYear(se),J=te===E;return w.jsx(_Je,{selected:J,value:te,onClick:U,onKeyDown:N,autoFocus:T&&te===P,ref:J?I:void 0,disabled:u||B(se),tabIndex:te===P?0:-1,onFocus:D,onBlur:A,"aria-current":q===te?"date":void 0,children:o.format(se,"year")},o.format(se,"year"))})})}),EJe=typeof navigator<"u"&&/(android)/i.test(navigator.userAgent),PJe=t=>We("MuiCalendarPicker",t);Ve("MuiCalendarPicker",["root","viewTransitionContainer"]);const MJe=["autoFocus","onViewChange","date","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","classes"],kJe=t=>{const{classes:e}=t;return Ue({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},PJe,e)};function AJe(t,e){const n=Sr(),r=q2(),i=qe({props:t,name:e});return j({loading:!1,disablePast:!1,disableFuture:!1,openTo:"day",views:["year","day"],reduceAnimations:EJe,renderLoading:()=>w.jsx("span",{children:"..."})},i,{minDate:tc(n,i.minDate,r.minDate),maxDate:tc(n,i.maxDate,r.maxDate)})}const RJe=we(Wz,{name:"MuiCalendarPicker",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column"}),IJe=we(Aue,{name:"MuiCalendarPicker",slot:"ViewTransitionContainer",overridesResolver:(t,e)=>e.viewTransitionContainer})({}),DJe=M.forwardRef(function(e,n){const r=Sr(),i=pd(),o=AJe(e,"MuiCalendarPicker"),{autoFocus:a,onViewChange:s,date:l,disableFuture:c,disablePast:u,defaultCalendarMonth:f,onChange:d,onYearChange:h,onMonthChange:p,reduceAnimations:m,shouldDisableDate:g,shouldDisableMonth:v,shouldDisableYear:y,view:x,views:b,openTo:_,className:S,disabled:O,readOnly:C,minDate:E,maxDate:k,disableHighlightToday:I,focusedView:P,onFocusedViewChange:R}=o,T=Ae(o,MJe),{openView:L,setOpenView:z,openNext:B}=zz({view:x,views:b,openTo:_,onChange:d,onViewChange:s}),{calendarState:U,changeFocusedDay:W,changeMonth:$,handleChangeMonth:N,isDateDisabled:D,onMonthSwitchingAnimationEnd:A}=DZe({date:l,defaultCalendarMonth:f,reduceAnimations:m,onMonthChange:p,minDate:E,maxDate:k,shouldDisableDate:g,disablePast:u,disableFuture:c}),q=M.useCallback((ee,ge)=>{const ye=r.startOfMonth(ee),H=r.endOfMonth(ee),G=D(ee)?Zx({utils:r,date:ee,minDate:r.isBefore(E,ye)?ye:E,maxDate:r.isAfter(k,H)?H:k,disablePast:u,disableFuture:c,isDateDisabled:D}):ee;G?(d(G,ge),p==null||p(ye)):(B(),$(ye)),W(G,!0)},[W,c,u,D,k,E,d,p,$,B,r]),Y=M.useCallback((ee,ge)=>{const ye=r.startOfYear(ee),H=r.endOfYear(ee),G=D(ee)?Zx({utils:r,date:ee,minDate:r.isBefore(E,ye)?ye:E,maxDate:r.isAfter(k,H)?H:k,disablePast:u,disableFuture:c,isDateDisabled:D}):ee;G?(d(G,ge),h==null||h(G)):(B(),$(ye)),W(G,!0)},[W,c,u,D,k,E,d,h,B,r,$]),K=M.useCallback((ee,ge)=>d(l&&ee?r.mergeDateAndTime(ee,l):ee,ge),[r,l,d]);M.useEffect(()=>{l&&$(l)},[l]);const se=o,te=kJe(se),J={disablePast:u,disableFuture:c,maxDate:k,minDate:E},pe=O&&l||E,be=O&&l||k,re={disableHighlightToday:I,readOnly:C,disabled:O},ve=`${i}-grid-label`,[F,ce]=Qs({name:"DayPicker",state:"focusedView",controlled:P,default:a?L:null}),le=F!==null,Q=_r(ee=>ge=>{if(R){R(ee)(ge);return}ce(ge?ee:ye=>ye===ee?null:ye)}),X=M.useRef(L);return M.useEffect(()=>{X.current!==L&&(X.current=L,Q(L)(!0))},[L,Q]),w.jsxs(RJe,{ref:n,className:Vr(te.root,S),ownerState:se,children:[w.jsx(mJe,j({},T,{views:b,openView:L,currentMonth:U.currentMonth,onViewChange:z,onMonthChange:(ee,ge)=>N({newMonth:ee,direction:ge}),minDate:pe,maxDate:be,disabled:O,disablePast:u,disableFuture:c,reduceAnimations:m,labelId:ve})),w.jsx(IJe,{reduceAnimations:m,className:te.viewTransitionContainer,transKey:L,ownerState:se,children:w.jsxs("div",{children:[L==="year"&&w.jsx(TJe,j({},T,J,re,{autoFocus:a,date:l,onChange:Y,shouldDisableYear:y,hasFocus:le,onFocusedViewChange:Q("year")})),L==="month"&&w.jsx(AZe,j({},J,re,{autoFocus:a,hasFocus:le,className:S,date:l,onChange:q,shouldDisableMonth:v,onFocusedViewChange:Q("month")})),L==="day"&&w.jsx(aJe,j({},T,U,J,re,{autoFocus:a,onMonthSwitchingAnimationEnd:A,onFocusedDayChange:W,reduceAnimations:m,selectedDays:[l],onSelectedDaysChange:K,shouldDisableDate:g,hasFocus:le,onFocusedViewChange:Q("day"),gridLabelId:ve}))]})})]})}),LJe=t=>{const[,e]=M.useReducer(l=>l+1,0),n=M.useRef(null),{replace:r,append:i}=t,o=r?r(t.format(t.value)):t.format(t.value),a=M.useRef(!1),s=l=>{const c=l.target.value;n.current=[c,l.target,c.length>o.length,a.current,o===t.format(c)],e()};return M.useLayoutEffect(()=>{if(n.current==null)return;let[l,c,u,f,d]=n.current;n.current=null;const h=f&&d,m=l.slice(c.selectionStart).search(t.accept||/\d/g),g=m!==-1?m:0,v=S=>(S.match(t.accept||/\d/g)||[]).join(""),y=v(l.substr(0,c.selectionStart)),x=S=>{let O=0,C=0;for(let E=0;E!==y.length;++E){let k=S.indexOf(y[E],O)+1,I=v(S).indexOf(y[E],C)+1;I-C>1&&(k=O,I=C),C=Math.max(I,C),O=Math.max(O,k)}return O};if(t.mask===!0&&u&&!d){let S=x(l);const O=v(l.substr(S))[0];S=l.indexOf(O,S),l=`${l.substr(0,S)}${l.substr(S+1)}`}let b=t.format(l);i!=null&&c.selectionStart===l.length&&!d&&(u?b=i(b):v(b.slice(-1))===""&&(b=b.slice(0,-1)));const _=r?r(b):b;return o===_?e():t.onChange(_),()=>{let S=x(b);if(t.mask!=null&&(u||f&&!h))for(;b[S]&&v(b[S])==="";)S+=1;c.selectionStart=c.selectionEnd=S+(h?1+g:0)}}),M.useEffect(()=>{const l=u=>{u.code==="Delete"&&(a.current=!0)},c=u=>{u.code==="Delete"&&(a.current=!1)};return document.addEventListener("keydown",l),document.addEventListener("keyup",c),()=>{document.removeEventListener("keydown",l),document.removeEventListener("keyup",c)}},[]),{value:n.current!=null?n.current[0]:o,onChange:s}},J3=(t,e,n)=>{const r=t.date(e);return e===null?"":t.isValid(r)?t.formatByString(r,n):""},uE="_",Nue="2019-11-21T22:30:00.000",$ue="2019-01-01T09:00:00.000";function NJe(t,e,n,r){if(t)return t;const o=r.formatByString(r.date($ue),e).replace(n,uE),a=r.formatByString(r.date(Nue),e).replace(n,"_");return o===a?o:""}function $Je(t,e,n,r){if(!t)return!1;const o=r.formatByString(r.date($ue),e).replace(n,uE),a=r.formatByString(r.date(Nue),e).replace(n,"_"),s=a===o&&t===a;return!s&&r.lib,s}const FJe=(t,e)=>n=>{let r=0;return n.split("").map((i,o)=>{if(e.lastIndex=0,r>t.length-1)return"";const a=t[r],s=t[r+1],l=e.test(i)?i:"",c=a===uE?l:a+l;return r+=c.length,o===n.length-1&&s&&s!==uE?c?c+s:"":c}).join("")},jJe=({acceptRegex:t=/[\d]/gi,disabled:e,disableMaskedInput:n,ignoreInvalidInputs:r,inputFormat:i,inputProps:o,label:a,mask:s,onChange:l,rawValue:c,readOnly:u,rifmFormatter:f,TextFieldProps:d,validationError:h})=>{const p=Sr(),m=p.getFormatHelperText(i),{shouldUseMaskedInput:g,maskToUse:v}=M.useMemo(()=>{if(n)return{shouldUseMaskedInput:!1,maskToUse:""};const T=NJe(s,i,t,p);return{shouldUseMaskedInput:$Je(T,i,t,p),maskToUse:T}},[t,n,i,s,p]),y=M.useMemo(()=>g&&v?FJe(v,t):T=>T,[t,v,g]),x=c===null?null:p.date(c),[b,_]=M.useState(x),[S,O]=M.useState(J3(p,c,i)),C=M.useRef(),E=M.useRef(p.locale),k=M.useRef(i);M.useEffect(()=>{const T=c!==C.current,L=p.locale!==E.current,z=i!==k.current;if(C.current=c,E.current=p.locale,k.current=i,!T&&!L&&!z)return;const B=c===null?null:p.date(c),U=c===null||p.isValid(B);let W=b===null&&B===null;if(b!==null&&B!==null){const N=p.isEqual(b,B);if(N)W=!0;else{const D=Math.abs(p.getDiff(b,B));W=D===0?N:D<1e3}}if(!L&&!z&&(!U||W))return;const $=J3(p,c,i);_(B),O($)},[p,c,i,b]);const I=T=>{const L=T===""||T===s?"":T;O(L);const z=L===null?null:p.parse(L,i);r&&!p.isValid(z)||(_(z),l(z,L||void 0))},P=LJe({value:S,onChange:I,format:f||y});return j({label:a,disabled:e,error:h,inputProps:j({},g?P:{value:S,onChange:T=>{I(T.currentTarget.value)}},{disabled:e,placeholder:m,readOnly:u,type:g?"tel":"text"},o)},d)},BJe=["className","components","disableOpenPicker","getOpenDialogAriaText","InputAdornmentProps","InputProps","inputRef","openPicker","OpenPickerButtonProps","renderInput"],Fue=M.forwardRef(function(e,n){const{className:r,components:i={},disableOpenPicker:o,getOpenDialogAriaText:a,InputAdornmentProps:s,InputProps:l,inputRef:c,openPicker:u,OpenPickerButtonProps:f,renderInput:d}=e,h=Ae(e,BJe),p=Cd(),m=a??p.openDatePickerDialogue,g=Sr(),v=jJe(h),y=(s==null?void 0:s.position)||"end",x=i.OpenPickerIcon||pue;return d(j({ref:n,inputRef:c,className:r},v,{InputProps:j({},l,{[`${y}Adornment`]:o?void 0:w.jsx(Wke,j({position:y},s,{children:w.jsx(Ot,j({edge:y,disabled:h.disabled||h.readOnly,"aria-label":m(h.rawValue,g)},f,{onClick:u,children:w.jsx(x,{})}))}))})}))});function L9(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const zJe=(t,e)=>{const[n,r]=M.useState(L9);return Hr(()=>{const o=()=>{r(L9())};return window.addEventListener("orientationchange",o),()=>{window.removeEventListener("orientationchange",o)}},[]),xue(t,["hours","minutes","seconds"])?!1:(e||n)==="landscape"},UJe=({autoFocus:t,openView:e})=>{const[n,r]=M.useState(t?e:null),i=M.useCallback(o=>a=>{r(a?o:s=>o===s?null:s)},[]);return{focusedView:n,setFocusedView:i}};function WJe(t){return We("MuiCalendarOrClockPicker",t)}Ve("MuiCalendarOrClockPicker",["root","mobileKeyboardInputView"]);const VJe=["autoFocus","className","parsedValue","DateInputProps","isMobileKeyboardViewOpen","onDateChange","onViewChange","openTo","orientation","showToolbar","toggleMobileKeyboardView","ToolbarComponent","toolbarFormat","toolbarPlaceholder","toolbarTitle","views","dateRangeIcon","timeIcon","hideTabs","classes"],GJe=t=>{const{classes:e}=t;return Ue({root:["root"],mobileKeyboardInputView:["mobileKeyboardInputView"]},WJe,e)},HJe=we("div",{name:"MuiCalendarOrClockPicker",slot:"MobileKeyboardInputView",overridesResolver:(t,e)=>e.mobileKeyboardInputView})({padding:"16px 24px"}),qJe=we("div",{name:"MuiCalendarOrClockPicker",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t})=>j({display:"flex",flexDirection:"column"},t.isLandscape&&{flexDirection:"row"})),XJe={fullWidth:!0},N9=t=>t==="year"||t==="month"||t==="day",$9=t=>t==="hours"||t==="minutes"||t==="seconds";function jue(t){var e,n;const r=qe({props:t,name:"MuiCalendarOrClockPicker"}),{autoFocus:i,parsedValue:o,DateInputProps:a,isMobileKeyboardViewOpen:s,onDateChange:l,onViewChange:c,openTo:u,orientation:f,showToolbar:d,toggleMobileKeyboardView:h,ToolbarComponent:p=()=>null,toolbarFormat:m,toolbarPlaceholder:g,toolbarTitle:v,views:y,dateRangeIcon:x,timeIcon:b,hideTabs:_}=r,S=Ae(r,VJe),O=(e=S.components)==null?void 0:e.Tabs,C=zJe(y,f),E=M.useContext(Td),k=GJe(r),I=d??E!=="desktop",P=!_&&typeof window<"u"&&window.innerHeight>667,R=M.useCallback(($,N)=>{l($,E,N)},[l,E]),T=M.useCallback($=>{s&&h(),c&&c($)},[s,c,h]),{openView:L,setOpenView:z,handleChangeAndOpenNext:B}=zz({view:void 0,views:y,openTo:u,onChange:R,onViewChange:T}),{focusedView:U,setFocusedView:W}=UJe({autoFocus:i,openView:L});return w.jsxs(qJe,{ownerState:{isLandscape:C},className:k.root,children:[I&&w.jsx(p,j({},S,{views:y,isLandscape:C,parsedValue:o,onChange:R,setOpenView:z,openView:L,toolbarTitle:v,toolbarFormat:m,toolbarPlaceholder:g,isMobileKeyboardViewOpen:s,toggleMobileKeyboardView:h})),P&&!!O&&w.jsx(O,j({dateRangeIcon:x,timeIcon:b,view:L,onChange:z},(n=S.componentsProps)==null?void 0:n.tabs)),w.jsx(Wz,{children:s?w.jsx(HJe,{className:k.mobileKeyboardInputView,children:w.jsx(Fue,j({},a,{ignoreInvalidInputs:!0,disableOpenPicker:!0,TextFieldProps:XJe}))}):w.jsxs(M.Fragment,{children:[N9(L)&&w.jsx(DJe,j({autoFocus:i,date:o,onViewChange:z,onChange:B,view:L,views:y.filter(N9),focusedView:U,onFocusedViewChange:W},S)),$9(L)&&w.jsx(bZe,j({},S,{autoFocus:i,date:o,view:L,views:y.filter($9),onChange:B,onViewChange:z,showViewSwitcher:E==="desktop"}))]})})]})}const QJe=({adapter:t,value:e,props:n})=>{const{minTime:r,maxTime:i,minutesStep:o,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:s}=n,l=t.utils.date(e),c=Eue(s,t.utils);if(e===null)return null;switch(!0){case!t.utils.isValid(e):return"invalidDate";case!!(r&&c(r,l)):return"minTime";case!!(i&&c(l,i)):return"maxTime";case!!(a&&a(t.utils.getHours(l),"hours")):return"shouldDisableTime-hours";case!!(a&&a(t.utils.getMinutes(l),"minutes")):return"shouldDisableTime-minutes";case!!(a&&a(t.utils.getSeconds(l),"seconds")):return"shouldDisableTime-seconds";case!!(o&&t.utils.getMinutes(l)%o!==0):return"minutesStep";default:return null}},YJe=["minDate","maxDate","disableFuture","shouldDisableDate","disablePast"],KJe=({props:t,value:e,adapter:n})=>{const{minDate:r,maxDate:i,disableFuture:o,shouldDisableDate:a,disablePast:s}=t,l=Ae(t,YJe),c=Mue({adapter:n,value:e,props:{minDate:r,maxDate:i,disableFuture:o,shouldDisableDate:a,disablePast:s}});return c!==null?c:QJe({adapter:n,value:e,props:l})},ZJe=(t,e)=>t===e;function Bue(t){return RZe(t,KJe,ZJe)}const JJe=({open:t,onOpen:e,onClose:n})=>{const r=M.useRef(typeof t=="boolean").current,[i,o]=M.useState(!1);M.useEffect(()=>{if(r){if(typeof t!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");o(t)}},[r,t]);const a=M.useCallback(s=>{r||o(s),s&&e&&e(),!s&&n&&n()},[r,e,n]);return{isOpen:i,setIsOpen:a}},zue=(t,e)=>{const{onAccept:n,onChange:r,value:i,closeOnSelect:o}=t,a=Sr(),{isOpen:s,setIsOpen:l}=JJe(t),c=M.useMemo(()=>e.parseInput(a,i),[e,a,i]),[u,f]=M.useState(c),[d,h]=M.useState(()=>({committed:c,draft:c,resetFallback:c})),p=M.useCallback(S=>{h(O=>{switch(S.action){case"setAll":case"acceptAndClose":return{draft:S.value,committed:S.value,resetFallback:S.value};case"setCommitted":return j({},O,{draft:S.value,committed:S.value});case"setDraft":return j({},O,{draft:S.value});default:return O}}),(S.forceOnChangeCall||!S.skipOnChangeCall&&!e.areValuesEqual(a,d.committed,S.value))&&r(S.value),S.action==="acceptAndClose"&&(l(!1),n&&!e.areValuesEqual(a,d.resetFallback,S.value)&&n(S.value))},[n,r,l,d,a,e]);M.useEffect(()=>{a.isValid(c)&&f(c)},[a,c]),M.useEffect(()=>{s&&p({action:"setAll",value:c,skipOnChangeCall:!0})},[s]),e.areValuesEqual(a,d.committed,c)||p({action:"setCommitted",value:c,skipOnChangeCall:!0});const m=M.useMemo(()=>({open:s,onClear:()=>{p({value:e.emptyValue,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(a,i,e.emptyValue)})},onAccept:()=>{p({value:d.draft,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(a,i,c)})},onDismiss:()=>{p({value:d.committed,action:"acceptAndClose"})},onCancel:()=>{p({value:d.resetFallback,action:"acceptAndClose"})},onSetToday:()=>{p({value:e.getTodayValue(a),action:"acceptAndClose"})}}),[p,s,a,d,e,i,c]),[g,v]=M.useState(!1),y=M.useMemo(()=>({parsedValue:d.draft,isMobileKeyboardViewOpen:g,toggleMobileKeyboardView:()=>v(!g),onDateChange:(S,O,C="partial")=>{switch(C){case"shallow":return p({action:"setDraft",value:S,skipOnChangeCall:!0});case"partial":return p({action:"setDraft",value:S});case"finish":return p(o??O==="desktop"?{value:S,action:"acceptAndClose"}:{value:S,action:"setCommitted"});default:throw new Error("MUI: Invalid selectionState passed to `onDateChange`")}}}),[p,g,d.draft,o]),x=M.useCallback((S,O)=>{const C=e.valueReducer?e.valueReducer(a,u,S):S;r(C,O)},[r,e,u,a]),b=M.useMemo(()=>({onChange:x,open:s,rawValue:i,openPicker:()=>l(!0)}),[x,s,i,l]),_={pickerProps:y,inputProps:b,wrapperProps:m};return M.useDebugValue(_,()=>({MuiPickerState:{dateState:d,other:_}})),_};function eet(t){return We("MuiDateTimePickerTabs",t)}Ve("MuiDateTimePickerTabs",["root"]);const tet=t=>["day","month","year"].includes(t)?"date":"time",net=t=>t==="date"?"day":"hours",ret=t=>{const{classes:e}=t;return Ue({root:["root"]},eet,e)},iet=we(k5,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(t,e)=>e.root})(({ownerState:t,theme:e})=>j({boxShadow:`0 -1px 0 0 inset ${e.palette.divider}`},t.wrapperVariant==="desktop"&&{order:1,boxShadow:`0 1px 0 0 inset ${e.palette.divider}`,[`& .${kC.indicator}`]:{bottom:"auto",top:0}})),Uue=function(e){const n=qe({props:e,name:"MuiDateTimePickerTabs"}),{dateRangeIcon:r=w.jsx(iKe,{}),onChange:i,timeIcon:o=w.jsx(aKe,{}),view:a}=n,s=Cd(),l=M.useContext(Td),c=j({},n,{wrapperVariant:l}),u=ret(c),f=(d,h)=>{i(net(h))};return w.jsxs(iet,{ownerState:c,variant:"fullWidth",value:tet(a),onChange:f,className:u.root,children:[w.jsx(Nb,{value:"date","aria-label":s.dateTableLabel,icon:w.jsx(M.Fragment,{children:r})}),w.jsx(Nb,{value:"time","aria-label":s.timeTableLabel,icon:w.jsx(M.Fragment,{children:o})})]})},oet=["onChange","PaperProps","PopperProps","ToolbarComponent","TransitionComponent","value","components","componentsProps","hideTabs"],aet=M.forwardRef(function(e,n){const r=uue(e,"MuiDesktopDateTimePicker"),i=Bue(r)!==null,{pickerProps:o,inputProps:a,wrapperProps:s}=zue(r,fue),{PaperProps:l,PopperProps:c,ToolbarComponent:u=vue,TransitionComponent:f,components:d,componentsProps:h,hideTabs:p=!0}=r,m=Ae(r,oet),g=M.useMemo(()=>j({Tabs:Uue},d),[d]),v=j({},a,m,{components:g,componentsProps:h,ref:n,validationError:i});return w.jsx(AKe,j({},s,{DateInputProps:v,KeyboardDateInputComponent:Fue,PopperProps:c,PaperProps:l,TransitionComponent:f,components:g,componentsProps:h,children:w.jsx(jue,j({},o,{autoFocus:!0,toolbarTitle:r.label||r.toolbarTitle,ToolbarComponent:u,DateInputProps:v,components:g,componentsProps:h,hideTabs:p},m))}))}),set=we(rl)({[`& .${Bx.container}`]:{outline:0},[`& .${Bx.paper}`]:{outline:0,minWidth:Pue}}),cet=we(Ys)({"&:first-of-type":{padding:0}}),uet=t=>{var e;const{children:n,DialogProps:r={},onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,components:u,componentsProps:f}=t,d=(e=u==null?void 0:u.ActionBar)!=null?e:yue;return w.jsxs(set,j({open:c,onClose:a},r,{children:[w.jsx(cet,{children:n}),w.jsx(d,j({onAccept:i,onClear:o,onCancel:s,onSetToday:l,actions:["cancel","accept"]},f==null?void 0:f.actionBar))]}))},fet=["children","DateInputProps","DialogProps","onAccept","onClear","onDismiss","onCancel","onSetToday","open","PureDateInputComponent","components","componentsProps"];function det(t){const{children:e,DateInputProps:n,DialogProps:r,onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,PureDateInputComponent:u,components:f,componentsProps:d}=t,h=Ae(t,fet);return w.jsxs(Td.Provider,{value:"mobile",children:[w.jsx(u,j({components:f},h,n)),w.jsx(uet,{DialogProps:r,onAccept:i,onClear:o,onDismiss:a,onCancel:s,onSetToday:l,open:c,components:f,componentsProps:d,children:e})]})}const het=M.forwardRef(function(e,n){const{disabled:r,getOpenDialogAriaText:i,inputFormat:o,InputProps:a,inputRef:s,label:l,openPicker:c,rawValue:u,renderInput:f,TextFieldProps:d={},validationError:h,className:p}=e,m=Cd(),g=i??m.openDatePickerDialogue,v=Sr(),y=M.useMemo(()=>j({},a,{readOnly:!0}),[a]),x=J3(v,u,o),b=_r(_=>{_.stopPropagation(),c()});return f(j({label:l,disabled:r,ref:n,inputRef:s,error:h,InputProps:y,className:p},!e.readOnly&&!e.disabled&&{onClick:b},{inputProps:j({disabled:r,readOnly:!0,"aria-readonly":!0,"aria-label":g(u,v),value:x},!e.readOnly&&{onClick:b},{onKeyDown:bue(c)})},d))}),pet=["ToolbarComponent","value","onChange","components","componentsProps","hideTabs"],met=M.forwardRef(function(e,n){const r=uue(e,"MuiMobileDateTimePicker"),i=Bue(r)!==null,{pickerProps:o,inputProps:a,wrapperProps:s}=zue(r,fue),{ToolbarComponent:l=vue,components:c,componentsProps:u,hideTabs:f=!1}=r,d=Ae(r,pet),h=M.useMemo(()=>j({Tabs:Uue},c),[c]),p=j({},a,d,{components:h,componentsProps:u,ref:n,validationError:i});return w.jsx(det,j({},d,s,{DateInputProps:p,PureDateInputComponent:het,components:h,componentsProps:u,children:w.jsx(jue,j({},o,{autoFocus:!0,toolbarTitle:r.label||r.toolbarTitle,ToolbarComponent:l,DateInputProps:p,components:h,componentsProps:u,hideTabs:f},d))}))}),get=["desktopModeMediaQuery","DialogProps","PopperProps","TransitionComponent"],vet=M.forwardRef(function(e,n){const r=qe({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:i="@media (pointer: fine)",DialogProps:o,PopperProps:a,TransitionComponent:s}=r,l=Ae(r,get);return ySe(i,{defaultMatches:!0})?w.jsx(aet,j({ref:n,PopperProps:a,TransitionComponent:s},l)):w.jsx(met,j({ref:n,DialogProps:o},l))}),yet=t=>({dateTimePicker:{marginTop:t.spacing(2.5)}}),xet=({classes:t,hasTimeDimension:e,selectedTime:n,selectedTimeRange:r,selectTime:i})=>{const o=d=>{i(d!==null?JUe(d):null)},a=w.jsx(ny,{shrink:!0,htmlFor:"time-select",children:`${fe.get("Time")} (UTC)`}),l=typeof n=="number"?nR(n):null;let c,u;Array.isArray(r)&&(c=nR(r[0]),u=nR(r[1]));const f=w.jsx(UYe,{dateAdapter:qYe,children:w.jsx(vet,{disabled:!e,className:t.dateTimePicker,inputFormat:"yyyy-MM-dd hh:mm:ss",value:l,minDateTime:c,maxDateTime:u,onChange:o,ampm:!1,renderInput:d=>w.jsx(cr,{...d,variant:"standard",size:"small"})})});return w.jsx(Yb,{label:a,control:f})},bet=jYe(yet)(xet),_et=t=>({locale:t.controlState.locale,hasTimeDimension:!!_y(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),wet={selectTime:k2},Oet=Jt(_et,wet)(bet),F9=5,Cet={box:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(F9),marginRight:t.spacing(F9),minWidth:200}),label:{color:"grey",fontSize:"1em"}};function Tet({hasTimeDimension:t,selectedTime:e,selectTime:n,selectedTimeRange:r}){const[i,o]=M.useState(e);if(M.useEffect(()=>{o(e||(r?r[0]:0))},[e,r]),!t)return null;const a=(f,d)=>{typeof d=="number"&&o(d)},s=(f,d)=>{n&&typeof d=="number"&&n(d)},l=Array.isArray(r);l||(r=[Date.now()-2*Aae.years,Date.now()]);const c=[{value:r[0],label:Xb(r[0])},{value:r[1],label:Xb(r[1])}];function u(f){return gy(f)}return w.jsx(Ke,{sx:Cet.box,children:w.jsx(xt,{arrow:!0,title:fe.get("Select time in dataset"),children:w.jsx(ry,{disabled:!l,min:r[0],max:r[1],value:i||0,valueLabelDisplay:"off",valueLabelFormat:u,marks:c,onChange:a,onChangeCommitted:s,size:"small"})})})}const Eet=t=>({locale:t.controlState.locale,hasTimeDimension:!!_y(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),Pet={selectTime:k2,selectTimeRange:wle},Met=Jt(Eet,Pet)(Tet);var Vz={},ket=ft;Object.defineProperty(Vz,"__esModule",{value:!0});var Wue=Vz.default=void 0,Aet=ket(pt()),Ret=w;Wue=Vz.default=(0,Aet.default)((0,Ret.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var Gz={},Iet=ft;Object.defineProperty(Gz,"__esModule",{value:!0});var Vue=Gz.default=void 0,Det=Iet(pt()),Let=w;Vue=Gz.default=(0,Det.default)((0,Let.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");var Hz={},Net=ft;Object.defineProperty(Hz,"__esModule",{value:!0});var Gue=Hz.default=void 0,$et=Net(pt()),Fet=w;Gue=Hz.default=(0,$et.default)((0,Fet.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");var qz={},jet=ft;Object.defineProperty(qz,"__esModule",{value:!0});var Hue=qz.default=void 0,Bet=jet(pt()),zet=w;Hue=qz.default=(0,Bet.default)((0,zet.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage");var Xz={},Uet=ft;Object.defineProperty(Xz,"__esModule",{value:!0});var que=Xz.default=void 0,Wet=Uet(pt()),Vet=w;que=Xz.default=(0,Wet.default)((0,Vet.jsx)("path",{d:"M9 16h2V8H9zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m1-4h2V8h-2z"}),"PauseCircleOutline");var Qz={},Get=ft;Object.defineProperty(Qz,"__esModule",{value:!0});var Xue=Qz.default=void 0,Het=Get(pt()),qet=w;Xue=Qz.default=(0,Het.default)((0,qet.jsx)("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline");const um={formControl:t=>({marginTop:t.spacing(2.5),marginLeft:t.spacing(1),marginRight:t.spacing(1)}),iconButton:{padding:"2px"}};function Xet({timeAnimationActive:t,timeAnimationInterval:e,updateTimeAnimation:n,selectedTime:r,selectedTimeRange:i,selectTime:o,incSelectedTime:a}){const s=M.useRef(null);M.useEffect(()=>(p(),g));const l=()=>{a(1)},c=()=>{n(!t,e)},u=()=>{a(1)},f=()=>{a(-1)},d=()=>{o(i?i[0]:null)},h=()=>{o(i?i[1]:null)},p=()=>{t?m():g()},m=()=>{g(),s.current=window.setInterval(l,e)},g=()=>{s.current!==null&&(window.clearInterval(s.current),s.current=null)},v=typeof r=="number",y=t?w.jsx(que,{}):w.jsx(Xue,{}),x=w.jsx(Ot,{disabled:!v,onClick:c,size:"small",sx:um.iconButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Auto-step through times in the dataset"),children:y})}),b=w.jsx(Ot,{disabled:!v||t,onClick:d,size:"small",sx:um.iconButton,children:w.jsx(xt,{arrow:!0,title:fe.get("First time step"),children:w.jsx(Gue,{})})}),_=w.jsx(Ot,{disabled:!v||t,onClick:f,size:"small",sx:um.iconButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Previous time step"),children:w.jsx(Wue,{})})}),S=w.jsx(Ot,{disabled:!v||t,onClick:u,size:"small",sx:um.iconButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Next time step"),children:w.jsx(Vue,{})})}),O=w.jsx(Ot,{disabled:!v||t,onClick:h,size:"small",sx:um.iconButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Last time step"),children:w.jsx(Hue,{})})});return w.jsx(ty,{sx:um.formControl,variant:"standard",children:w.jsxs(Ke,{children:[b,_,x,S,O]})})}const Qet=t=>({locale:t.controlState.locale,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,timeAnimationActive:t.controlState.timeAnimationActive,timeAnimationInterval:t.controlState.timeAnimationInterval}),Yet={selectTime:k2,incSelectedTime:A8e,updateTimeAnimation:I8e},Ket=Jt(Qet,Yet)(Xet);var Yz={},Zet=ft;Object.defineProperty(Yz,"__esModule",{value:!0});var Que=Yz.default=void 0,Jet=Zet(pt()),ett=w;Que=Yz.default=(0,Jet.default)((0,ett.jsx)("path",{d:"M16 20H2V4h14zm2-12h4V4h-4zm0 12h4v-4h-4zm0-6h4v-4h-4z"}),"ViewSidebar");const ttt=Li(ty)(({theme:t})=>({marginTop:t.spacing(2),marginRight:t.spacing(.5),marginLeft:"auto"}));function ntt({visible:t,sidebarOpen:e,setSidebarOpen:n,openDialog:r,allowRefresh:i,updateResources:o,compact:a}){if(!t)return null;const s=w.jsx(Pn,{value:"sidebar",selected:e,onClick:()=>n(!e),size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Show or hide sidebar"),children:w.jsx(Que,{})})});let l,c,u;return a&&(l=i&&w.jsx(Ot,{onClick:o,size:"small",children:w.jsx(xt,{arrow:!0,title:fe.get("Refresh"),children:w.jsx(U5,{})})}),c=Kt.instance.branding.allowDownloads&&w.jsx(Ot,{onClick:()=>r("export"),size:"small",children:w.jsx(xt,{arrow:!0,title:fe.get("Export data"),children:w.jsx(G5,{})})}),u=w.jsx(Ot,{onClick:()=>r("settings"),size:"small",children:w.jsx(xt,{arrow:!0,title:fe.get("Settings"),children:w.jsx(B5,{})})})),w.jsx(ttt,{variant:"standard",children:w.jsxs(Ke,{children:[l,c,u,s]})})}const rtt=t=>({locale:t.controlState.locale,visible:!!(t.controlState.selectedDatasetId||t.controlState.selectedPlaceId),sidebarOpen:t.controlState.sidebarOpen,compact:Kt.instance.branding.compact,allowRefresh:Kt.instance.branding.allowRefresh}),itt={setSidebarOpen:oz,openDialog:Lp,updateResources:Bse},ott=Jt(rtt,itt)(ntt),att=t=>({locale:t.controlState.locale,show:t.dataState.datasets.length>0}),stt={},ltt=({show:t})=>t?w.jsxs(bqe,{children:[w.jsx(Pqe,{}),w.jsx(Xqe,{}),w.jsx(oXe,{}),w.jsx(pXe,{}),w.jsx(IXe,{}),w.jsx(Oet,{}),w.jsx(Ket,{}),w.jsx(Met,{}),w.jsx(ott,{})]}):null,ctt=Jt(att,stt)(ltt);function Yue(t){const e=M.useRef(null),n=M.useRef(o=>{if(o.buttons===1&&e.current!==null){o.preventDefault();const{screenX:a,screenY:s}=o,[l,c]=e.current,u=[a-l,s-c];e.current=[a,s],t(u)}}),r=M.useRef(o=>{o.buttons===1&&(o.preventDefault(),document.body.addEventListener("mousemove",n.current),document.body.addEventListener("mouseup",i.current),document.body.addEventListener("onmouseleave",i.current),e.current=[o.screenX,o.screenY])}),i=M.useRef(o=>{e.current!==null&&(o.preventDefault(),e.current=null,document.body.removeEventListener("mousemove",n.current),document.body.removeEventListener("mouseup",i.current),document.body.removeEventListener("onmouseleave",i.current))});return r.current}const j9={hor:t=>({flex:"none",border:"none",outline:"none",width:"8px",minHeight:"100%",maxHeight:"100%",cursor:"col-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0}),ver:t=>({flex:"none",border:"none",outline:"none",height:"8px",minWidth:"100%",maxWidth:"100%",cursor:"row-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0})};function utt({dir:t,onChange:e}){const r=Yue(([i,o])=>{e(i)});return w.jsx(Ke,{sx:t==="hor"?j9.hor:j9.ver,onMouseDown:r})}const zS={hor:{display:"flex",flexFlow:"row nowrap",flex:"auto"},ver:{height:"100%",display:"flex",flexFlow:"column nowrap",flex:"auto"},childHor:{flex:"none"},childVer:{flex:"none"}};function ftt({dir:t,splitPosition:e,setSplitPosition:n,children:r,style:i,child1Style:o,child2Style:a}){const s=M.useRef(null);if(!r||!Array.isArray(r)||r.length!==2)return null;const l=t==="hor"?zS.childHor:zS.childVer,c=t==="hor"?{width:e}:{height:e},u=f=>{s.current&&En(s.current.clientWidth)&&n(s.current.clientWidth+f)};return w.jsxs("div",{id:"SplitPane",style:{...i,...t==="hor"?zS.hor:zS.ver},children:[w.jsx("div",{ref:s,id:"SplitPane-Child-1",style:{...l,...o,...c},children:r[0]}),w.jsx(utt,{dir:t,onChange:u}),w.jsx("div",{id:"SplitPane-Child-2",style:{...l,...a},children:r[1]})]})}const dtt=({placeGroup:t,mapProjection:e,visible:n})=>{const r=M.useRef(new Q1);return M.useEffect(()=>{const i=r.current,o=t.features;if(o.length===0)i.clear();else{const a=i.getFeatures(),s=new Set(a.map(f=>f.getId())),l=new Set(o.map(f=>f.id)),c=o.filter(f=>!s.has(f.id));a.filter(f=>!l.has(f.getId()+"")).forEach(f=>i.removeFeature(f)),c.forEach(f=>{const d=new Ip().readFeature(f,{dataProjection:"EPSG:4326",featureProjection:e});d.getId()!==f.id&&d.setId(f.id);const h=(f.properties||{}).color||"red",p=(f.properties||{}).opacity,m=(f.properties||{}).source?"diamond":"circle";QB(d,h,R5(p),m),i.addFeature(d)})}},[t,e]),w.jsx(v2,{id:t.id,opacity:t.id===Ws?1:.8,visible:n,zIndex:501,source:r.current})};class htt extends my{addMapObject(e){const n=new $5e(this.getOptions());return e.addControl(n),n}updateMapObject(e,n,r){return n.setProperties(this.getOptions()),n}removeMapObject(e,n){e.removeControl(n)}}class PR extends my{addMapObject(e){const n=new hBe(this.getOptions()),r=!!this.props.active;return n.setActive(r),e.addInteraction(n),r&&this.listen(n,this.props),n}updateMapObject(e,n,r){n.setProperties(this.getOptions());const i=!!this.props.active;return n.setActive(i),this.unlisten(n,r),i&&this.listen(n,this.props),n}removeMapObject(e,n){this.unlisten(n,this.props),e.removeInteraction(n)}getOptions(){const e=super.getOptions();delete e.layerId,delete e.active,delete e.onDrawStart,delete e.onDrawEnd;const n=this.props.layerId;if(n&&!e.source){const r=this.getMapObject(n);r&&(e.source=r.getSource())}return e}listen(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.on("drawstart",r),i&&e.on("drawend",i)}unlisten(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.un("drawstart",r),i&&e.un("drawend",i)}}class ptt extends my{addMapObject(e){return this.updateView(e)}removeMapObject(e,n){}updateMapObject(e,n){return this.updateView(e)}updateView(e){const n=this.props.projection;let r=e.getView().getProjection();if(typeof n=="string"&&r&&(r=r.getCode()),n&&n!==r){const i=e.getView(),o=new Uc({...this.props,center:a2(i.getCenter()||[0,0],r,n),minZoom:i.getMinZoom(),zoom:i.getZoom()});e.getLayers().forEach(a=>{a instanceof h2&&a.getSource().forEachFeature(s=>{var l;(l=s.getGeometry())==null||l.transform(r,n)})}),e.setView(o)}else e.getView().setProperties(this.props);return e.getView()}}function US(t,e){const n=t.getLayers();for(let r=0;r{if(R){const N=C||null;if(N!==L&&Ga[MR]){const A=Ga[MR].getSource();if(A.clear(),N){const q=xtt(R,N);if(q){const Y=q.clone();Y.setId("select-"+q.getId()),Y.setStyle(void 0),A.addFeature(Y)}}z(N)}}},[R,C,L]),M.useEffect(()=>{R&&R.getLayers().forEach(N=>{N instanceof iae?N.getSource().changed():N.changed()})},[R,k]),M.useEffect(()=>{if(R===null||!En(I))return;const N=J=>{z9(R,J,I,0)},D=J=>{z9(R,J,I,1)},A=J=>{J.context.restore()},q=US(R,"rgb2"),Y=US(R,"variable2"),K=US(R,"rgb"),se=US(R,"variable"),te=[[q,N],[Y,N],[K,D],[se,D]];for(const[J,pe]of te)J&&(J.on("prerender",pe),J.on("postrender",A));return()=>{for(const[J,pe]of te)J&&(J.un("prerender",pe),J.un("postrender",A))}});const B=N=>{if(n==="Select"){const D=N.map;let A=null;const q=D.getFeaturesAtPixel(N.pixel);if(q){for(const Y of q)if(typeof Y.getId=="function"){A=Y.getId()+"";break}}O&&O(A,E,!1)}},U=N=>{var D;if(R!==null&&y&&n!=="Select"){const A=N.feature;let q=A.getGeometry();if(!q)return;const Y=Js(cy+n.toLowerCase()+"-"),K=R.getView().getProjection();if(q instanceof RB){const re=r$e(q);A.setGeometry(re)}q=A.clone().getGeometry().transform(K,py);const se=new Ip().writeGeometryObject(q);A.setId(Y);let te=0;if(Ga[Ws]){const re=Ga[Ws],ve=(D=re==null?void 0:re.getSource())==null?void 0:D.getFeatures();ve&&(te=ve.length)}const J=btt(b,n),pe=tp(te),be=uie(pe,t.palette.mode);QB(A,be,R5()),y(v,Y,{label:J,color:pe},se,!0)}return!0};function W(N){P&&P(N),T(N)}const $=N=>{x&&N.forEach(D=>{const A=new FileReader;A.onloadend=()=>{typeof A.result=="string"&&x(A.result)},A.readAsText(D,"UTF-8")})};return w.jsx(Sie,{children:w.jsxs(nze,{id:e,onClick:N=>B(N),onMapRef:W,mapObjects:Ga,isStale:!0,onDropFiles:$,children:[w.jsx(ptt,{id:"view",projection:r}),w.jsxs(rae,{children:[i,o,a,s,l,f,c,w.jsx(v2,{id:MR,opacity:.7,zIndex:500,style:vtt,source:mtt}),w.jsx(w.Fragment,{children:b.map(N=>w.jsx(dtt,{placeGroup:N,mapProjection:r,visible:S&&_[N.id]},N.id))})]}),u,w.jsx(PR,{id:"drawPoint",layerId:Ws,active:n==="Point",type:"Point",wrapX:!0,stopClick:!0,onDrawEnd:U}),w.jsx(PR,{id:"drawPolygon",layerId:Ws,active:n==="Polygon",type:"Polygon",wrapX:!0,stopClick:!0,onDrawEnd:U}),w.jsx(PR,{id:"drawCircle",layerId:Ws,active:n==="Circle",type:"Circle",wrapX:!0,stopClick:!0,onDrawEnd:U}),d,h,m,g,p,w.jsx(htt,{bar:!1})]})})}function xtt(t,e){var n;for(const r of t.getLayers().getArray())if(r instanceof h2){const o=(n=r.getSource())==null?void 0:n.getFeatureById(e);if(o)return o}return null}function btt(t,e){const n=fe.get(e),r=t.find(i=>i.id===Ws);if(r)for(let i=1;;i++){const o=`${n} ${i}`;if(!!!r.features.find(s=>s.properties?s.properties.label===o:!1))return o}return`${n} 1`}function z9(t,e,n,r){const i=t.getSize();if(!i)return;const o=i[0],a=i[1];let s,l,c,u;r===0?(s=Lu(e,[0,0]),l=Lu(e,[n,0]),c=Lu(e,[0,a]),u=Lu(e,[n,a])):(s=Lu(e,[n,0]),l=Lu(e,[o,0]),c=Lu(e,[n,a]),u=Lu(e,[o,a]));const f=e.context;f.save(),f.beginPath(),f.moveTo(s[0],s[1]),f.lineTo(c[0],c[1]),f.lineTo(u[0],u[1]),f.lineTo(l[0],l[1]),f.closePath(),f.clip()}const WS=1,Jb=.2,Ey=240,Zue=20,VS={container:{width:Ey},itemContainer:{display:"flex",alignItems:"center",justifyContent:"flex-start"},itemLabelBox:{paddingLeft:1,fontSize:"small"},itemColorBox:t=>({width:"48px",height:"16px",borderStyle:"solid",borderColor:t.palette.mode==="dark"?"lightgray":"darkgray",borderWidth:1})};function _tt({categories:t,onOpenColorBarEditor:e}){return!t||t.length===0?null:w.jsx(Ke,{sx:VS.container,children:t.map((n,r)=>w.jsxs(Ke,{onClick:e,sx:VS.itemContainer,children:[w.jsx(Ke,{sx:VS.itemColorBox,style:{backgroundColor:n.color}}),w.jsx(Ke,{component:"span",sx:VS.itemLabelBox,children:`${n.label||`Category ${r+1}`} (${n.value})`})]},r))})}const U9={nominal:{cursor:"pointer"},error:{cursor:"pointer",border:"0.5px solid red"}};function wtt({colorBar:t,opacity:e,width:n,height:r,onClick:i}){const o=M.useRef(null);M.useEffect(()=>{const c=o.current;c!==null&&iWe(t,e,c)},[t,e]);const{baseName:a,imageData:s}=t,l=s?a:fe.get("Unknown color bar")+`: ${a}`;return w.jsx(xt,{title:l,children:w.jsx("canvas",{ref:o,width:n||Ey,height:r||Zue+4,onClick:i,style:s?U9.nominal:U9.error})})}function Stt(t,e,n=5,r=!1,i=!1){return eN(Ctt(t,e,n,r),i)}function eN(t,e=!1){return t.map(n=>rd(n,void 0,e))}function rd(t,e,n){if(e===void 0&&(e=n?2:Ott(t)),n)return t.toExponential(e);const r=Math.round(t);if(r===t||Math.abs(r-t)<1e-8)return r+"";{let i=t.toFixed(e);if(i.includes("."))for(;i.endsWith("0")&&!i.endsWith(".0");)i=i.substring(0,i.length-1);return i}}function Ott(t){if(t===0||t===Math.floor(t))return 0;const e=Math.floor(Math.log10(Math.abs(t)));return Math.min(16,Math.max(2,e<0?1-e:0))}function Ctt(t,e,n,r){const i=new Array(n);if(r){const o=Math.log10(t),s=(Math.log10(e)-o)/(n-1);for(let l=1;lStt(t,e,n,r),[t,e,n,r]);return w.jsx(Ke,{sx:Ttt.container,onClick:i,children:o.map((a,s)=>w.jsx("span",{children:a},s))})}var Kz={},Ptt=ft;Object.defineProperty(Kz,"__esModule",{value:!0});var Jue=Kz.default=void 0,Mtt=Ptt(pt()),ktt=w;Jue=Kz.default=(0,Mtt.default)((0,ktt.jsx)("path",{d:"M8 19h3v3h2v-3h3l-4-4zm8-15h-3V1h-2v3H8l4 4zM4 9v2h16V9zm0 3h16v2H4z"}),"Compress");const W9=t=>t,Att=t=>Math.pow(10,t),Rtt=Math.log10,V9=(t,e)=>typeof t=="number"?e(t):t.map(e);class Itt{constructor(e){Yt(this,"_fn");Yt(this,"_invFn");e?(this._fn=Rtt,this._invFn=Att):(this._fn=W9,this._invFn=W9)}scale(e){return V9(e,this._fn)}scaleInv(e){return V9(e,this._invFn)}}function Dtt({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableOpacity:r,updateVariableColorBar:i,originalColorBarMinMax:o}){const a=M.useMemo(()=>new Itt(n==="log"),[n]),[s,l]=M.useState(()=>a.scale(e));M.useEffect(()=>{l(a.scale(e))},[a,e]);const c=(E,k)=>{Array.isArray(k)&&l(k)},u=(E,k)=>{if(Array.isArray(k)){const P=eN(a.scaleInv(k)).map(R=>Number.parseFloat(R));i(t,P,n,r)}},[f,d]=a.scale(o),h=f=2?v=Math.max(2,Math.round(g/2)):(v=4,g=8);const y=f({value:O[k],label:E}));return w.jsx(ry,{min:b,max:_,value:s,marks:C,step:S,valueLabelFormat:E=>rd(a.scaleInv(E)),onChange:c,onChangeCommitted:u,valueLabelDisplay:"auto",size:"small"})}const kR=5,ju={container:t=>({marginTop:t.spacing(2),marginBottom:t.spacing(2),display:"flex",flexDirection:"column",gap:1}),header:{display:"flex",alignItems:"center",justifyContent:"space-between"},title:{paddingLeft:2,fontWeight:"bold"},sliderBox:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(kR),marginRight:t.spacing(kR),minWidth:320,width:`calc(100% - ${t.spacing(2*(kR+1))}px)`}),logLabel:{margin:0,paddingRight:2,fontWeight:"bold"},minMaxBox:{display:"flex",justifyContent:"center"},minTextField:{maxWidth:"8em",marginRight:2},maxTextField:{maxWidth:"8em",marginLeft:2}};function Ltt({variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o}){const[a,s]=M.useState(n),[l,c]=M.useState(n),[u,f]=M.useState(G9(n)),[d,h]=M.useState([!1,!1]);M.useEffect(()=>{f(G9(n))},[n]);const p=y=>{const x=y.target.value;f([x,u[1]]);const b=Number.parseFloat(x);let _=!1;if(!Number.isNaN(b)&&b{const x=y.target.value;f([u[0],x]);const b=Number.parseFloat(x);let _=!1;if(!Number.isNaN(b)&&b>a[0]){if(b!==a[1]){const S=[a[0],b];s(S),c(S),o(e,S,r,i)}}else _=!0;h([d[0],_])},g=()=>{const y=t.colorRecords,x=y[0].value,b=y[y.length-1].value,_=[x,b];s(_),c(_),o(e,_,r,i),h([!1,!1])},v=(y,x)=>{o(e,n,x?"log":"lin",i)};return w.jsxs(Ke,{sx:ju.container,children:[w.jsxs(Ke,{sx:ju.header,children:[w.jsx(At,{sx:ju.title,children:fe.get("Value Range")}),w.jsx("span",{style:{flexGrow:1}}),t.colorRecords&&w.jsx(Ya,{sx:{marginRight:1},icon:w.jsx(Jue,{}),onClick:g,tooltipText:fe.get("Set min/max from color mapping values")}),w.jsx(Og,{sx:ju.logLabel,control:w.jsx(xt,{title:fe.get("Logarithmic scaling"),children:w.jsx(iie,{checked:r==="log",onChange:v,size:"small"})}),label:w.jsx(At,{variant:"body2",children:fe.get("Log-scaled")}),labelPlacement:"start"})]}),w.jsx(Ke,{sx:ju.sliderBox,children:w.jsx(Dtt,{variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,updateVariableColorBar:o,originalColorBarMinMax:l,variableOpacity:i})}),w.jsxs(Ke,{component:"form",sx:ju.minMaxBox,children:[w.jsx(cr,{sx:ju.minTextField,label:"Minimum",variant:"filled",size:"small",value:u[0],error:d[0],onChange:y=>p(y)}),w.jsx(cr,{sx:ju.maxTextField,label:"Maximum",variant:"filled",size:"small",value:u[1],error:d[1],onChange:y=>m(y)})]})]})}function G9(t){return[t[0]+"",t[1]+""]}function Ntt({variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o,onOpenColorBarEditor:a}){const[s,l]=M.useState(null),c=f=>{l(f.currentTarget)},u=()=>{l(null)};return w.jsxs(w.Fragment,{children:[w.jsx(wtt,{colorBar:t,opacity:i,onClick:a}),w.jsx(Ett,{minValue:n[0],maxValue:n[1],numTicks:5,logScaled:r==="log",onClick:c}),w.jsx(Ep,{anchorEl:s,open:!!s,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:w.jsx(Ltt,{variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o})})]})}var Zz={},$tt=ft;Object.defineProperty(Zz,"__esModule",{value:!0});var efe=Zz.default=void 0,Ftt=$tt(pt()),jtt=w;efe=Zz.default=(0,Ftt.default)((0,jtt.jsx)("path",{d:"M12 4.81V19c-3.31 0-6-2.63-6-5.87 0-1.56.62-3.03 1.75-4.14zM6.35 7.56C4.9 8.99 4 10.96 4 13.13 4 17.48 7.58 21 12 21s8-3.52 8-7.87c0-2.17-.9-4.14-2.35-5.57L12 2z"}),"InvertColors");var Jz={},Btt=ft;Object.defineProperty(Jz,"__esModule",{value:!0});var tfe=Jz.default=void 0,ztt=Btt(pt()),Utt=w;tfe=Jz.default=(0,ztt.default)((0,Utt.jsx)("path",{d:"M17.66 8 12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8M6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14z"}),"Opacity");const M0={container:{display:"flex",alignItems:"center",justifyContent:"space-between"},settingsBar:{display:"flex",gap:"1px"},toggleButton:{paddingTop:"2px",paddingBottom:"2px"},opacityContainer:{display:"flex",alignItems:"center"},opacityLabel:t=>({color:t.palette.text.secondary}),opacitySlider:{flexGrow:"1px",marginLeft:"10px",marginRight:"10px"}};function Wtt({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o}){const a=()=>{const c=!r.isAlpha;t=rE({...r,isAlpha:c}),o(t,e,n,i)},s=()=>{const c=!r.isReversed;t=rE({...r,isReversed:c}),o(t,e,n,i)},l=(c,u)=>{o(t,e,n,u)};return w.jsxs(w.Fragment,{children:[w.jsx(Ke,{sx:M0.container,children:w.jsxs(Ke,{sx:M0.settingsBar,children:[w.jsx(xt,{arrow:!0,title:fe.get("Hide small values"),children:w.jsx(Pn,{value:"alpha",selected:r.isAlpha,onChange:a,size:"small",children:w.jsx(tfe,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Reverse"),children:w.jsx(Pn,{value:"reverse",selected:r.isReversed,onChange:s,size:"small",children:w.jsx(efe,{fontSize:"inherit"})})})]})}),w.jsxs(Ke,{component:"div",sx:M0.opacityContainer,children:[w.jsx(Ke,{component:"span",fontSize:"small",sx:M0.opacityLabel,children:fe.get("Opacity")}),w.jsx(ry,{min:0,max:1,value:i,step:.01,sx:M0.opacitySlider,onChange:l,size:"small"})]})]})}const Vtt={colorBarGroupTitle:t=>({marginTop:t.spacing(2*Jb),fontSize:"small",color:t.palette.text.secondary})};function nfe({title:t,description:e}){return w.jsx(xt,{arrow:!0,title:e,placement:"left",children:w.jsx(Ke,{sx:Vtt.colorBarGroupTitle,children:t})})}const H9=t=>({marginTop:t.spacing(Jb),height:20,borderWidth:1,borderStyle:"solid",cursor:"pointer"}),q9={colorBarItem:t=>({...H9(t),borderColor:t.palette.mode==="dark"?"lightgray":"darkgray"}),colorBarItemSelected:t=>({...H9(t),borderColor:"blue"})};function e4({imageData:t,selected:e,onSelect:n,width:r,title:i}){let o=w.jsx("img",{src:t?`data:image/png;base64,${t}`:void 0,alt:t?"color bar":"error",width:"100%",height:"100%",onClick:n});return i&&(o=w.jsx(xt,{arrow:!0,title:i,placement:"left",children:o})),w.jsx(Ke,{width:r||Ey,sx:e?q9.colorBarItemSelected:q9.colorBarItem,children:o})}function Gtt({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,images:r}){return w.jsxs(w.Fragment,{children:[w.jsx(nfe,{title:t.title,description:t.description}),t.names.map(i=>w.jsx(e4,{title:i,imageData:r[i],selected:i===e,onSelect:()=>n(i)},i))]})}var t4={},Htt=ft;Object.defineProperty(t4,"__esModule",{value:!0});var dw=t4.default=void 0,qtt=Htt(pt()),Xtt=w;dw=t4.default=(0,qtt.default)((0,Xtt.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline");function rfe(){const t=M.useRef(),e=M.useRef(()=>{t.current&&(t.current(),t.current=void 0)}),n=M.useRef(r=>{t.current=r});return M.useEffect(()=>e.current,[]),[e.current,n.current]}var n4={},Qtt=ft;Object.defineProperty(n4,"__esModule",{value:!0});var ife=n4.default=void 0,Ytt=Qtt(pt()),Ktt=w;ife=n4.default=(0,Ytt.default)((0,Ktt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel");var r4={},Ztt=ft;Object.defineProperty(r4,"__esModule",{value:!0});var ofe=r4.default=void 0,Jtt=Ztt(pt()),ent=w;ofe=r4.default=(0,Jtt.default)((0,ent.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done");function tnt({anchorEl:t,markdownText:e,open:n,onClose:r}){if(!e)return null;const i={code:o=>{const{node:a,...s}=o;return w.jsx("code",{...s,style:{color:"green"}})}};return w.jsx(Ep,{anchorEl:t,open:n,onClose:r,children:w.jsx(Ho,{sx:{width:"32em",overflowY:"auto",fontSize:"smaller",paddingLeft:2,paddingRight:2},children:w.jsx(G2,{children:e,components:i,linkTarget:"_blank"})})})}function afe({size:t,helpUrl:e}){const[n,r]=M.useState(null),i=M.useRef(null),o=Dce(e),a=()=>{r(i.current)},s=()=>{r(null)};return w.jsxs(w.Fragment,{children:[w.jsx(Ot,{onClick:a,size:t,ref:i,children:w.jsx(F5,{fontSize:"inherit"})}),w.jsx(tnt,{anchorEl:n,open:!!n,onClose:s,markdownText:o})]})}const X9={container:{display:"flex",justifyContent:"space-between",gap:.2},doneCancel:{display:"flex",gap:.2}};function hw({onDone:t,onCancel:e,doneDisabled:n,cancelDisabled:r,size:i,helpUrl:o}){return w.jsxs(Ke,{sx:X9.container,children:[w.jsx(Ke,{children:o&&w.jsx(afe,{size:i,helpUrl:o})}),w.jsxs(Ke,{sx:X9.doneCancel,children:[w.jsx(Ot,{onClick:t,color:"primary",disabled:n,size:i,children:w.jsx(ofe,{fontSize:"inherit"})}),w.jsx(Ot,{onClick:e,color:"primary",disabled:r,size:i,children:w.jsx(ife,{fontSize:"inherit"})})]})]})}const AR={radioGroup:{marginLeft:1},radio:{padding:"4px"},label:{fontSize:"small"}},nnt=[["continuous","Contin.","Continuous color assignment, where each value represents a support point of a color gradient"],["stepwise","Stepwise","Stepwise color mapping where values are bounds of value ranges mapped to the same single color"],["categorical","Categ.","Values represent unique categories or indexes that are mapped to a color"]];function rnt({colorMapType:t,setColorMapType:e}){return w.jsx(T5,{row:!0,value:t,onChange:(n,r)=>{e(r)},sx:AR.radioGroup,children:nnt.map(([n,r,i])=>w.jsx(xt,{arrow:!0,title:fe.get(i),children:w.jsx(Og,{value:n,control:w.jsx(Wx,{size:"small",sx:AR.radio}),label:w.jsx(Ke,{component:"span",sx:AR.label,children:fe.get(r)})})},n))})}function int({userColorBar:t,updateUserColorBar:e,selected:n,onSelect:r,onDone:i,onCancel:o}){const a=l=>{e({...t,code:l.currentTarget.value})},s=l=>{e({...t,type:l})};return w.jsxs(Ke,{children:[w.jsx(e4,{imageData:t.imageData,title:t.errorMessage,selected:n,onSelect:r}),w.jsx(rnt,{colorMapType:t.type,setColorMapType:s}),w.jsx(cr,{label:"Color mapping",placeholder:doe,multiline:!0,fullWidth:!0,size:"small",minRows:3,sx:{marginTop:1,fontFamily:"monospace"},value:t.code,onChange:a,color:t.errorMessage?"error":"primary",inputProps:{style:{fontFamily:"monospace",fontSize:12}}}),w.jsx(hw,{onDone:i,onCancel:o,doneDisabled:!!t.errorMessage,size:"small",helpUrl:fe.get("docs/color-mappings.en.md")})]})}var i4={},ont=ft;Object.defineProperty(i4,"__esModule",{value:!0});var sfe=i4.default=void 0,ant=ont(pt()),snt=w;sfe=i4.default=(0,ant.default)((0,snt.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz");const lnt={container:{display:"flex",alignItems:"center",width:Ey,height:Zue,gap:Jb,marginTop:Jb}};function cnt({imageData:t,title:e,selected:n,onEdit:r,onRemove:i,onSelect:o,disabled:a}){const[s,l]=M.useState(null),c=p=>{l(p.currentTarget)},u=()=>{l(null)},f=()=>{l(null),r()},d=()=>{l(null),i()},h=!!s;return w.jsxs(w.Fragment,{children:[w.jsxs(Ke,{sx:lnt.container,children:[w.jsx(e4,{imageData:t,selected:n,onSelect:o,width:Ey-20,title:e}),w.jsx(Ot,{size:"small",onClick:c,children:w.jsx(sfe,{fontSize:"inherit"})})]}),w.jsx(Ep,{anchorOrigin:{vertical:"center",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},open:h,anchorEl:s,onClose:u,children:w.jsxs(Ke,{children:[w.jsx(Ot,{onClick:f,size:"small",disabled:a,children:w.jsx(Fp,{fontSize:"inherit"})}),w.jsx(Ot,{onClick:d,size:"small",disabled:a,children:w.jsx(lw,{fontSize:"inherit"})})]})})]})}const unt={container:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:1}};function fnt({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,userColorBars:r,addUserColorBar:i,removeUserColorBar:o,updateUserColorBar:a,updateUserColorBars:s,storeSettings:l}){const[c,u]=M.useState({}),[f,d]=rfe(),h=M.useMemo(()=>r.findIndex(x=>x.id===c.colorBarId),[r,c.colorBarId]),p=()=>{d(()=>s(r));const x=Js("ucb");i(x),u({action:"add",colorBarId:x})},m=x=>{d(()=>s(r)),u({action:"edit",colorBarId:x})},g=x=>{d(void 0),o(x)},v=()=>{d(void 0),u({}),l()},y=()=>{f(),u({})};return w.jsxs(w.Fragment,{children:[w.jsxs(Ke,{sx:unt.container,children:[w.jsx(nfe,{title:fe.get(t.title),description:fe.get(t.description)}),w.jsx(Ot,{onClick:p,size:"small",color:"primary",disabled:!!c.action,children:w.jsx(dw,{fontSize:"inherit"})})]}),r.map(x=>x.id===c.colorBarId&&h>=0?w.jsx(int,{userColorBar:x,updateUserColorBar:a,selected:x.id===e,onSelect:()=>n(x.id),onDone:v,onCancel:y},x.id):w.jsx(cnt,{imageData:x.imageData,title:x.errorMessage,disabled:!!c.action,selected:x.id===e,onSelect:()=>n(x.id),onEdit:()=>m(x.id),onRemove:()=>g(x.id)},x.id))]})}function dnt({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o,colorBars:a,userColorBars:s,addUserColorBar:l,removeUserColorBar:c,updateUserColorBar:u,updateUserColorBars:f,storeSettings:d}){const h=p=>{t=rE({...r,baseName:p}),o(t,e,n,i)};return w.jsx(w.Fragment,{children:a.groups.map(p=>p.title===foe?w.jsx(fnt,{colorBarGroup:p,selectedColorBarName:r.baseName,onSelectColorBar:h,userColorBars:s,addUserColorBar:l,removeUserColorBar:c,updateUserColorBar:u,updateUserColorBars:f,storeSettings:d},p.title):w.jsx(Gtt,{colorBarGroup:p,selectedColorBarName:r.baseName,onSelectColorBar:h,images:a.images},p.title))})}const hnt={colorBarBox:t=>({marginTop:t.spacing(WS-2*Jb),marginLeft:t.spacing(WS),marginRight:t.spacing(WS),marginBottom:t.spacing(WS)})};function pnt(t){const{colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:a,...s}=t;return w.jsxs(Ke,{sx:hnt.colorBarBox,children:[w.jsx(Wtt,{...s}),w.jsx(dnt,{...s,colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:a})]})}const Q9={container:t=>({position:"absolute",zIndex:1e3,top:10,borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",borderColor:"#00000020",backgroundColor:"#FFFFFFAA",color:"black",maxWidth:`${Ey+20}px`,paddingLeft:t.spacing(1.5),paddingRight:t.spacing(1.5),paddingBottom:t.spacing(.5),paddingTop:t.spacing(.5)}),title:t=>({fontSize:"small",fontWeight:"bold",width:"100%",display:"flex",wordBreak:"break-word",wordWrap:"break-word",justifyContent:"center",paddingBottom:t.spacing(.5)})};function lfe(t){const{variableName:e,variableTitle:n,variableUnits:r,variableColorBar:i,style:o}=t,a=M.useRef(null),[s,l]=M.useState(null),c=()=>{l(a.current)},u=()=>{l(null)};if(!e)return null;const f=i.type==="categorical"?n||e:`${n||e} (${r||"-"})`;return w.jsxs(Ke,{sx:Q9.container,style:o,ref:a,children:[w.jsx(At,{sx:Q9.title,children:f}),i.type==="categorical"?w.jsx(_tt,{categories:i.colorRecords,onOpenColorBarEditor:c,...t}):w.jsx(Ntt,{onOpenColorBarEditor:c,...t}),w.jsx(Ep,{anchorEl:s,open:!!s,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:w.jsx(pnt,{...t})})]})}const mnt=t=>({variableName:yy(t),variableTitle:FWe(t),variableUnits:BWe(t),variableColorBarName:O2(t),variableColorBarMinMax:ise(t),variableColorBarNorm:sse(t),variableColorBar:GB(t),variableOpacity:hse(t),userColorBars:Dp(t),colorBars:T2(t),style:{right:10}}),gnt={updateVariableColorBar:f8e,addUserColorBar:Wle,removeUserColorBar:Hle,updateUserColorBar:qle,updateUserColorBars:Yle,storeSettings:Ule},vnt=Jt(mnt,gnt)(lfe),ynt=t=>{const e=t.controlState.variableSplitPos;return{variableName:e?Yae(t):null,variableTitle:jWe(t),variableUnits:zWe(t),variableColorBarName:C2(t),variableColorBarMinMax:ose(t),variableColorBarNorm:lse(t),variableColorBar:use(t),variableOpacity:pse(t),userColorBars:Dp(t),colorBars:T2(t),style:{left:e?e-280:0}}},xnt={updateVariableColorBar:d8e,addUserColorBar:Wle,removeUserColorBar:Hle,updateUserColorBar:qle,updateUserColorBars:Yle,storeSettings:Ule},bnt=Jt(ynt,xnt)(lfe),_nt={splitter:{position:"absolute",top:0,left:"50%",width:"6px",height:"100%",backgroundColor:"#ffffff60",zIndex:999,borderLeft:"0.5px solid #ffffffd0",borderRight:"0.5px solid #ffffffd0",cursor:"col-resize",boxShadow:"0px 0px 1px 0px black"}};function wnt({hidden:t,position:e,onPositionChange:n}){const r=M.useRef(null),i=M.useRef(([a,s])=>{r.current!==null&&n(r.current.offsetLeft+a)}),o=Yue(i.current);return M.useEffect(()=>{!t&&!En(e)&&r.current!==null&&r.current.parentElement!==null&&n(Math.round(r.current.parentElement.clientWidth/2))},[t,e,n]),t?null:w.jsx(Ke,{id:"MapSplitter",ref:r,sx:_nt.splitter,style:{left:En(e)?e:"50%"},onMouseDown:o})}const Snt=t=>({hidden:!t.controlState.variableCompareMode,position:t.controlState.variableSplitPos}),Ont={onPositionChange:M8e},Cnt=Jt(Snt,Ont)(wnt);function Tnt(t,e,n,r,i,o,a){const s=M.useRef(0),[l,c]=M.useState(),[u,f]=M.useState(),[d,h]=M.useState(),p=M.useCallback(async(v,y,x,b,_)=>{_({dataset:v,variable:y,result:{fetching:!0}});try{const S=await j$e(e,v,y,x,b,a,null);console.info(y.name,"=",S),_({dataset:v,variable:y,result:{value:S.value}})}catch(S){_({dataset:v,variable:y,result:{error:S}})}},[e,a]),m=M.useCallback(v=>{const y=v.map;if(!t||!n||!r||!y){f(void 0),h(void 0);return}const x=v.pixel[0],b=v.pixel[1],_=a2(v.coordinate,y.getView().getProjection().getCode(),"EPSG:4326"),S=_[0],O=_[1];c({pixelX:x,pixelY:b,lon:S,lat:O});const C=new Date().getTime();C-s.current>=500&&(s.current=C,p(n,r,S,O,f).finally(()=>{i&&o&&p(i,o,S,O,h)}))},[p,t,n,r,i,o]),g=Ga.map;return M.useEffect(()=>{if(t&&g){const v=y=>{y.dragging?c(void 0):m(y)};return g.on("pointermove",v),()=>{g.un("pointermove",v)}}else c(void 0)},[t,g,m]),M.useMemo(()=>l&&u?{location:l,payload:u,payload2:d}:null,[l,u,d])}const vc={container:{display:"grid",gridTemplateColumns:"auto minmax(60px, auto)",gap:0,padding:1,fontSize:"small"},labelItem:{paddingRight:1},valueItem:{textAlign:"right",fontFamily:"monospace"}};function Ent({location:t,payload:e,payload2:n}){return w.jsxs(Ke,{sx:vc.container,children:[w.jsx(Ke,{sx:vc.labelItem,children:"Longitude"}),w.jsx(Ke,{sx:vc.valueItem,children:rd(t.lon,4)}),w.jsx(Ke,{sx:vc.labelItem,children:"Latitude"}),w.jsx(Ke,{sx:vc.valueItem,children:rd(t.lat,4)}),w.jsx(Ke,{sx:vc.labelItem,children:Y9(e)}),w.jsx(Ke,{sx:vc.valueItem,children:K9(e)}),n&&w.jsx(Ke,{sx:vc.labelItem,children:Y9(n)}),n&&w.jsx(Ke,{sx:vc.valueItem,children:K9(n)})]})}function Y9(t){const e=t.variable;return e.title||e.name}function K9(t){const e=t.result;return e.error?`${e.error}`:e.fetching?"...":En(e.value)?rd(e.value,4):"---"}const Pnt={container:{position:"absolute",zIndex:1e3,backgroundColor:"#000000A0",color:"#fff",border:"1px solid #FFFFFF50",borderRadius:"4px",transform:"translateX(3%)",pointerEvents:"none"}};function Mnt({enabled:t,serverUrl:e,dataset1:n,variable1:r,dataset2:i,variable2:o,time:a}){const s=Tnt(t,e,n,r,i,o,a);if(!s)return null;const{pixelX:l,pixelY:c}=s.location;return w.jsx(Ke,{sx:{...Pnt.container,left:l,top:c},children:w.jsx(Ent,{...s})})}const knt=t=>({enabled:t.controlState.mapPointInfoBoxEnabled,serverUrl:pi(t).url,dataset1:qr(t),variable1:vo(t),dataset2:Sd(t),variable2:Su(t),time:wy(t)}),Ant={},Rnt=Jt(knt,Ant)(Mnt);var o4={},Int=ft;Object.defineProperty(o4,"__esModule",{value:!0});var cfe=o4.default=void 0,Dnt=Int(pt()),Lnt=w;cfe=o4.default=(0,Dnt.default)((0,Lnt.jsx)("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2zm0 15H5l5-6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"Compare");var a4={},Nnt=ft;Object.defineProperty(a4,"__esModule",{value:!0});var s4=a4.default=void 0,$nt=Nnt(pt()),Fnt=w;s4=a4.default=(0,$nt.default)((0,Fnt.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"}),"Layers");var l4={},jnt=ft;Object.defineProperty(l4,"__esModule",{value:!0});var ufe=l4.default=void 0,Bnt=jnt(pt()),znt=w;ufe=l4.default=(0,Bnt.default)((0,znt.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 12H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Message");const Z9={position:"absolute",display:"flex",flexDirection:"column",zIndex:1e3};function Unt({style:t,sx:e,children:n}){return w.jsx(Ke,{className:"ol-unselectable ol-control",sx:e,style:t?{...Z9,...t}:Z9,children:n})}const ffe={width:"1.375em",height:"1.375em"},Wnt={...ffe,backgroundColor:"rgba(0,80,180,0.9)"},Vnt={tooltip:{sx:{backgroundColor:"#4A4A4A",border:"1px solid white",borderRadius:0}}};function RR({icon:t,tooltipTitle:e,onClick:n,selected:r,onSelect:i}){const o=a=>{i&&i(a,!r),n&&n(a)};return e&&(t=w.jsx(xt,{title:e,componentsProps:Vnt,children:t})),w.jsx(Ot,{onClick:o,style:r?Wnt:ffe,children:t})}const Gnt={left:"0.5em",top:65};function Hnt({layerMenuOpen:t,setLayerMenuOpen:e,variableCompareMode:n,setVariableCompareMode:r,mapPointInfoBoxEnabled:i,setMapPointInfoBoxEnabled:o}){return w.jsxs(Unt,{style:Gnt,children:[w.jsx(RR,{icon:w.jsx(s4,{fontSize:"small"}),tooltipTitle:fe.get("Show or hide layers panel"),selected:t,onSelect:(a,s)=>void e(s)}),w.jsx(RR,{icon:w.jsx(cfe,{fontSize:"small"}),tooltipTitle:fe.get("Turn layer split mode on or off"),selected:n,onSelect:(a,s)=>void r(s)}),w.jsx(RR,{icon:w.jsx(ufe,{fontSize:"small"}),tooltipTitle:fe.get("Turn info box on or off"),selected:i,onSelect:(a,s)=>void o(s)})]})}const qnt=t=>({layerMenuOpen:t.controlState.layerMenuOpen,variableCompareMode:t.controlState.variableCompareMode,mapPointInfoBoxEnabled:t.controlState.mapPointInfoBoxEnabled}),Xnt={setLayerMenuOpen:Ele,setVariableCompareMode:P8e,setMapPointInfoBoxEnabled:E8e},Qnt=Jt(qnt,Xnt)(Hnt),Ynt=(t,e)=>({mapId:"map",locale:t.controlState.locale,variableLayer:fVe(t),variable2Layer:dVe(t),rgbLayer:hVe(t),rgb2Layer:pVe(t),datasetBoundaryLayer:uVe(t),placeGroupLayers:yVe(t),colorBarLegend:w.jsx(vnt,{}),colorBarLegend2:w.jsx(bnt,{}),mapSplitter:w.jsx(Cnt,{}),mapPointInfoBox:w.jsx(Rnt,{}),mapControlActions:w.jsx(Qnt,{}),userDrawnPlaceGroupName:t.controlState.userDrawnPlaceGroupName,userPlaceGroups:J1(t),userPlaceGroupsVisibility:qWe(t),showUserPlaces:Kae(t),mapInteraction:t.controlState.mapInteraction,mapProjection:wd(t),selectedPlaceId:t.controlState.selectedPlaceId,places:rw(t),baseMapLayer:wVe(t),overlayLayer:SVe(t),imageSmoothing:nw(t),variableSplitPos:t.controlState.variableSplitPos,onMapRef:e.onMapRef}),Knt={addDrawnUserPlace:VVe,importUserPlacesFromText:Wse,selectPlace:M2},J9=Jt(Ynt,Knt)(ytt);var c4={},Znt=ft;Object.defineProperty(c4,"__esModule",{value:!0});var u4=c4.default=void 0,Jnt=Znt(pt()),ert=w;u4=c4.default=(0,Jnt.default)((0,ert.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var f4={},trt=ft;Object.defineProperty(f4,"__esModule",{value:!0});var dfe=f4.default=void 0,nrt=trt(pt()),rrt=w;dfe=f4.default=(0,nrt.default)((0,rrt.jsx)("path",{d:"m2 19.99 7.5-7.51 4 4 7.09-7.97L22 9.92l-8.5 9.56-4-4-6 6.01zm1.5-4.5 6-6.01 4 4L22 3.92l-1.41-1.41-7.09 7.97-4-4L2 13.99z"}),"StackedLineChart");var d4={},irt=ft;Object.defineProperty(d4,"__esModule",{value:!0});var hfe=d4.default=void 0,ort=irt(pt()),art=w;hfe=d4.default=(0,ort.default)((0,art.jsx)("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33m8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2m-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0"}),"ThreeDRotation");var h4={},srt=ft;Object.defineProperty(h4,"__esModule",{value:!0});var pfe=h4.default=void 0,lrt=srt(pt()),crt=w;pfe=h4.default=(0,lrt.default)((0,crt.jsx)("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject");var p4={},urt=ft;Object.defineProperty(p4,"__esModule",{value:!0});var mfe=p4.default=void 0,frt=urt(pt()),drt=w;mfe=p4.default=(0,frt.default)((0,drt.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt");var m4={},hrt=ft;Object.defineProperty(m4,"__esModule",{value:!0});var gfe=m4.default=void 0,prt=hrt(pt()),mrt=w;gfe=m4.default=(0,prt.default)((0,mrt.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"Place");var g4={},grt=ft;Object.defineProperty(g4,"__esModule",{value:!0});var vfe=g4.default=void 0,vrt=grt(pt()),yrt=w;vfe=g4.default=(0,vrt.default)((0,yrt.jsx)("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields");var v4={},xrt=ft;Object.defineProperty(v4,"__esModule",{value:!0});var yfe=v4.default=void 0,brt=xrt(pt()),_rt=w;yfe=v4.default=(0,brt.default)((0,_rt.jsx)("path",{d:"M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"}),"Widgets");let xn=class xfe{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=lv(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),Tl.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=lv(this,e,n);let r=[];return this.decompose(e,n,r,0),Tl.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new Jx(this),o=new Jx(e);for(let a=n,s=n;;){if(i.next(a),o.next(a),a=0,i.lineBreak!=o.lineBreak||i.done!=o.done||i.value!=o.value)return!1;if(s+=i.value.length,i.done||s>=r)return!0}}iter(e=1){return new Jx(this,e)}iterRange(e,n=this.length){return new bfe(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new _fe(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?xfe.empty:e.length<=32?new Tr(e):Tl.from(Tr.split(e,[]))}};class Tr extends xn{constructor(e,n=wrt(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let o=0;;o++){let a=this.text[o],s=i+a.length;if((n?r:s)>=e)return new Srt(i,s,r,a);i=s+1,r++}}decompose(e,n,r,i){let o=e<=0&&n>=this.length?this:new Tr(e7(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let a=r.pop(),s=$C(o.text,a.text.slice(),0,o.length);if(s.length<=32)r.push(new Tr(s,a.length+o.length));else{let l=s.length>>1;r.push(new Tr(s.slice(0,l)),new Tr(s.slice(l)))}}else r.push(o)}replace(e,n,r){if(!(r instanceof Tr))return super.replace(e,n,r);[e,n]=lv(this,e,n);let i=$C(this.text,$C(r.text,e7(this.text,0,e)),n),o=this.length+r.length-(n-e);return i.length<=32?new Tr(i,o):Tl.from(Tr.split(i,[]),o)}sliceString(e,n=this.length,r=` -`){[e,n]=lv(this,e,n);let i="";for(let o=0,a=0;o<=n&&ae&&a&&(i+=r),eo&&(i+=s.slice(Math.max(0,e-o),n-o)),o=l+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let o of e)r.push(o),i+=o.length+1,r.length==32&&(n.push(new Tr(r,i)),r=[],i=-1);return i>-1&&n.push(new Tr(r,i)),n}}class Tl extends xn{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let o=0;;o++){let a=this.children[o],s=i+a.length,l=r+a.lines-1;if((n?l:s)>=e)return a.lineInner(e,n,r,i);i=s+1,r=l+1}}decompose(e,n,r,i){for(let o=0,a=0;a<=n&&o=a){let c=i&((a<=e?1:0)|(l>=n?2:0));a>=e&&l<=n&&!c?r.push(s):s.decompose(e-a,n-a,r,c)}a=l+1}}replace(e,n,r){if([e,n]=lv(this,e,n),r.lines=o&&n<=s){let l=a.replace(e-o,n-o,r),c=this.lines-a.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[i]=l,new Tl(u,this.length-(n-e)+r.length)}return super.replace(o,s,l)}o=s+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=` -`){[e,n]=lv(this,e,n);let i="";for(let o=0,a=0;oe&&o&&(i+=r),ea&&(i+=s.sliceString(e-a,n-a,r)),a=l+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof Tl))return 0;let r=0,[i,o,a,s]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,o+=n){if(i==a||o==s)return r;let l=this.children[i],c=e.children[o];if(l!=c)return r+l.scanIdentical(c,n);r+=l.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let h of e)r+=h.lines;if(r<32){let h=[];for(let p of e)p.flatten(h);return new Tr(h,n)}let i=Math.max(32,r>>5),o=i<<1,a=i>>1,s=[],l=0,c=-1,u=[];function f(h){let p;if(h.lines>o&&h instanceof Tl)for(let m of h.children)f(m);else h.lines>a&&(l>a||!l)?(d(),s.push(h)):h instanceof Tr&&l&&(p=u[u.length-1])instanceof Tr&&h.lines+p.lines<=32?(l+=h.lines,c+=h.length+1,u[u.length-1]=new Tr(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>i&&d(),l+=h.lines,c+=h.length+1,u.push(h))}function d(){l!=0&&(s.push(u.length==1?u[0]:Tl.from(u,c)),c=-1,l=u.length=0)}for(let h of e)f(h);return d(),s.length==1?s[0]:new Tl(s,n)}}xn.empty=new Tr([""],0);function wrt(t){let e=-1;for(let n of t)e+=n.length+1;return e}function $C(t,e,n=0,r=1e9){for(let i=0,o=0,a=!0;o=n&&(l>r&&(s=s.slice(0,r-i)),i0?1:(e instanceof Tr?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],o=this.offsets[r],a=o>>1,s=i instanceof Tr?i.text.length:i.children.length;if(a==(n>0?s:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(i instanceof Tr){let l=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[a+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Tr?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class bfe{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new Jx(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class _fe{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(xn.prototype[Symbol.iterator]=function(){return this.iter()},Jx.prototype[Symbol.iterator]=bfe.prototype[Symbol.iterator]=_fe.prototype[Symbol.iterator]=function(){return this});let Srt=class{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};function lv(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t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2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return Mg[e-1]<=t;return!1}function t7(t){return t>=127462&&t<=127487}const n7=8205;function ki(t,e,n=!0,r=!0){return(n?wfe:Crt)(t,e,r)}function wfe(t,e,n){if(e==t.length)return e;e&&Sfe(t.charCodeAt(e))&&Ofe(t.charCodeAt(e-1))&&e--;let r=Ci(t,e);for(e+=Ha(r);e=0&&t7(Ci(t,a));)o++,a-=2;if(o%2==0)break;e+=2}else break}return e}function Crt(t,e,n){for(;e>0;){let r=wfe(t,e-2,n);if(r=56320&&t<57344}function Ofe(t){return t>=55296&&t<56320}function Ci(t,e){let n=t.charCodeAt(e);if(!Ofe(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return Sfe(r)?(n-55296<<10)+(r-56320)+65536:n}function y4(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function Ha(t){return t<65536?1:2}const tN=/\r\n?|\n/;var Pi=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(Pi||(Pi={}));class Ql{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return o+(e-i);o+=s}else{if(r!=Pi.Simple&&c>=e&&(r==Pi.TrackDel&&ie||r==Pi.TrackBefore&&ie))return null;if(c>e||c==e&&n<0&&!s)return e==i||n<0?o:o+l;o+=l}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return o}touchesRange(e,n=e){for(let r=0,i=0;r=0&&i<=n&&s>=e)return in?"cover":!0;i=s}return!1}toString(){let e="";for(let n=0;n=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Ql(e)}static create(e){return new Ql(e)}}class Zr extends Ql{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return nN(this,(n,r,i,o,a)=>e=e.replace(i,i+(r-n),a),!1),e}mapDesc(e,n=!1){return rN(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,o=0;i=0){n[i]=s,n[i+1]=a;let l=i>>1;for(;r.length0&&Of(r,n,o.text),o.forward(u),s+=u}let c=e[a++];for(;s>1].toJSON()))}return e}static of(e,n,r){let i=[],o=[],a=0,s=null;function l(u=!1){if(!u&&!i.length)return;ad||f<0||d>n)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${n})`);let p=h?typeof h=="string"?xn.of(h.split(r||tN)):h:xn.empty,m=p.length;if(f==d&&m==0)return;fa&&qi(i,f-a,-1),qi(i,d-f,m),Of(o,i,p),a=d}}return c(e),l(!s),s}static empty(e){return new Zr(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;is&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)n.push(o[0],0);else{for(;r.length=0&&n<=0&&n==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}function Of(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r>1])),!(n||a==t.sections.length||t.sections[a+1]<0);)s=t.sections[a++],l=t.sections[a++];e(i,c,o,u,f),i=c,o=u}}}function rN(t,e,n,r=!1){let i=[],o=r?[]:null,a=new e_(t),s=new e_(e);for(let l=-1;;)if(a.ins==-1&&s.ins==-1){let c=Math.min(a.len,s.len);qi(i,c,-1),a.forward(c),s.forward(c)}else if(s.ins>=0&&(a.ins<0||l==a.i||a.off==0&&(s.len=0&&l=0){let c=0,u=a.len;for(;u;)if(s.ins==-1){let f=Math.min(u,s.len);c+=f,u-=f,s.forward(f)}else if(s.ins==0&&s.lenl||a.ins>=0&&a.len>l)&&(s||r.length>c),o.forward2(l),a.forward(l)}}}}class e_{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?xn.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?xn.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Sh{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new Sh(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return je.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return je.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return je.range(e.anchor,e.head)}static create(e,n,r){return new Sh(e,n,r)}}class je{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:je.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new je(e.ranges.map(n=>Sh.fromJSON(n)),e.main)}static single(e,n=e){return new je([je.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;ie?8:0)|o)}static normalized(e,n=0){let r=e[n];e.sort((i,o)=>i.from-o.from),n=e.indexOf(r);for(let i=1;io.head?je.range(l,s):je.range(s,l))}}return new je(e,n)}}function Tfe(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let x4=0;class ct{constructor(e,n,r,i,o){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=x4++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new ct(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:b4),!!e.static,e.enables)}of(e){return new FC([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new FC(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new FC(e,this,2,n)}from(e,n){return n||(n=r=>r),this.compute([e],r=>n(r.field(e)))}}function b4(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}class FC{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=x4++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,o=this.id,a=e[o]>>1,s=this.type==2,l=!1,c=!1,u=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?c=!0:((n=e[f.id])!==null&&n!==void 0?n:1)&1||u.push(e[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,d){if(l&&d.docChanged||c&&(d.docChanged||d.selection)||iN(f,u)){let h=r(f);if(s?!r7(h,f.values[a],i):!i(h,f.values[a]))return f.values[a]=h,1}return 0},reconfigure:(f,d)=>{let h,p=d.config.address[o];if(p!=null){let m=dE(d,p);if(this.dependencies.every(g=>g instanceof ct?d.facet(g)===f.facet(g):g instanceof mi?d.field(g,!1)==f.field(g,!1):!0)||(s?r7(h=r(f),m,i):i(h=r(f),m)))return f.values[a]=m,0}else h=r(f);return f.values[a]=h,1}}}}function r7(t,e,n){if(t.length!=e.length)return!1;for(let r=0;rt[l.id]),i=n.map(l=>l.type),o=r.filter(l=>!(l&1)),a=t[e.id]>>1;function s(l){let c=[];for(let u=0;ur===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(i7).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let o=r.values[n],a=this.updateF(o,i);return this.compareF(o,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(e){return[this,i7.of({field:this,create:e})]}get extension(){return this}}const uh={lowest:4,low:3,default:2,high:1,highest:0};function k0(t){return e=>new Efe(e,t)}const Ed={highest:k0(uh.highest),high:k0(uh.high),default:k0(uh.default),low:k0(uh.low),lowest:k0(uh.lowest)};class Efe{constructor(e,n){this.inner=e,this.prec=n}}class X2{of(e){return new oN(this,e)}reconfigure(e){return X2.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class oN{constructor(e,n){this.compartment=e,this.inner=n}}class fE{constructor(e,n,r,i,o,a){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=o,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,r){let i=[],o=Object.create(null),a=new Map;for(let d of Ert(e,n,a))d instanceof mi?i.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let s=Object.create(null),l=[],c=[];for(let d of i)s[d.id]=c.length<<1,c.push(h=>d.slot(h));let u=r==null?void 0:r.config.facets;for(let d in o){let h=o[d],p=h[0].facet,m=u&&u[d]||[];if(h.every(g=>g.type==0))if(s[p.id]=l.length<<1|1,b4(m,h))l.push(r.facet(p));else{let g=p.combine(h.map(v=>v.value));l.push(r&&p.compare(g,r.facet(p))?r.facet(p):g)}else{for(let g of h)g.type==0?(s[g.id]=l.length<<1|1,l.push(g.value)):(s[g.id]=c.length<<1,c.push(v=>g.dynamicSlot(v)));s[p.id]=c.length<<1,c.push(g=>Trt(g,p,h))}}let f=c.map(d=>d(s));return new fE(e,a,f,s,l,o)}}function Ert(t,e,n){let r=[[],[],[],[],[]],i=new Map;function o(a,s){let l=i.get(a);if(l!=null){if(l<=s)return;let c=r[l].indexOf(a);c>-1&&r[l].splice(c,1),a instanceof oN&&n.delete(a.compartment)}if(i.set(a,s),Array.isArray(a))for(let c of a)o(c,s);else if(a instanceof oN){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;n.set(a.compartment,c),o(c,s)}else if(a instanceof Efe)o(a.inner,a.prec);else if(a instanceof mi)r[s].push(a),a.provides&&o(a.provides,s);else if(a instanceof FC)r[s].push(a),a.facet.extensions&&o(a.facet.extensions,uh.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(c,s)}}return o(t,uh.default),r.reduce((a,s)=>a.concat(s))}function eb(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}function dE(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const Pfe=ct.define(),aN=ct.define({combine:t=>t.some(e=>e),static:!0}),Mfe=ct.define({combine:t=>t.length?t[0]:void 0,static:!0}),kfe=ct.define(),Afe=ct.define(),Rfe=ct.define(),Ife=ct.define({combine:t=>t.length?t[0]:!1});class lc{constructor(e,n){this.type=e,this.value=n}static define(){return new Prt}}class Prt{of(e){return new lc(this,e)}}class Mrt{constructor(e){this.map=e}of(e){return new Rt(this,e)}}class Rt{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new Rt(this.type,n)}is(e){return this.type==e}static define(e={}){return new Mrt(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let o=i.map(n);o&&r.push(o)}return r}}Rt.reconfigure=Rt.define();Rt.appendConfig=Rt.define();class Ur{constructor(e,n,r,i,o,a){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=o,this.scrollIntoView=a,this._doc=null,this._state=null,r&&Tfe(r,n.newLength),o.some(s=>s.type==Ur.time)||(this.annotations=o.concat(Ur.time.of(Date.now())))}static create(e,n,r,i,o,a){return new Ur(e,n,r,i,o,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(Ur.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}Ur.time=lc.define();Ur.userEvent=lc.define();Ur.addToHistory=lc.define();Ur.remote=lc.define();function krt(t,e){let n=[];for(let r=0,i=0;;){let o,a;if(r=t[r]))o=t[r++],a=t[r++];else if(i=0;i--){let o=r[i](t);o instanceof Ur?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof Ur?t=o[0]:t=Lfe(e,kg(o),!1)}return t}function Rrt(t){let e=t.startState,n=e.facet(Rfe),r=t;for(let i=n.length-1;i>=0;i--){let o=n[i](t);o&&Object.keys(o).length&&(r=Dfe(r,sN(e,o,t.changes.newLength),!0))}return r==t?t:Ur.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}const Irt=[];function kg(t){return t==null?Irt:Array.isArray(t)?t:[t]}var fr=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(fr||(fr={}));const Drt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let lN;try{lN=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Lrt(t){if(lN)return lN.test(t);for(let e=0;e"€"&&(n.toUpperCase()!=n.toLowerCase()||Drt.test(n)))return!0}return!1}function Nrt(t){return e=>{if(!/\S/.test(e))return fr.Space;if(Lrt(e))return fr.Word;for(let n=0;n-1)return fr.Word;return fr.Other}}class en{constructor(e,n,r,i,o,a){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this);for(let s=0;si.set(c,l)),n=null),i.set(s.value.compartment,s.value.extension)):s.is(Rt.reconfigure)?(n=null,r=s.value):s.is(Rt.appendConfig)&&(n=null,r=kg(r).concat(s.value));let o;n?o=e.startState.values.slice():(n=fE.resolve(r,i,this),o=new en(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,c)=>c.reconfigure(l,this),null).values);let a=e.startState.facet(aN)?e.newSelection:e.newSelection.asSingle();new en(n,e.newDoc,a,o,(s,l)=>l.update(s,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:je.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),o=[r.range],a=kg(r.effects);for(let s=1;sa.spec.fromJSON(s,l)))}}return en.create({doc:e.doc,selection:je.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=fE.resolve(e.extensions||[],new Map),r=e.doc instanceof xn?e.doc:xn.of((e.doc||"").split(n.staticFacet(en.lineSeparator)||tN)),i=e.selection?e.selection instanceof je?e.selection:je.single(e.selection.anchor,e.selection.head):je.single(0);return Tfe(i,r.length),n.staticFacet(aN)||(i=i.asSingle()),new en(n,r,i,n.dynamicSlots.map(()=>null),(o,a)=>a.create(o),null)}get tabSize(){return this.facet(en.tabSize)}get lineBreak(){return this.facet(en.lineSeparator)||` -`}get readOnly(){return this.facet(Ife)}phrase(e,...n){for(let r of this.facet(en.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let o=+(i||1);return!o||o>n.length?r:n[o-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let o of this.facet(Pfe))for(let a of o(this,n,r))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return Nrt(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),o=this.charCategorizer(e),a=e-r,s=e-r;for(;a>0;){let l=ki(n,a,!1);if(o(n.slice(l,a))!=fr.Word)break;a=l}for(;st.length?t[0]:4});en.lineSeparator=Mfe;en.readOnly=Ife;en.phrases=ct.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}});en.languageData=Pfe;en.changeFilter=kfe;en.transactionFilter=Afe;en.transactionExtender=Rfe;X2.reconfigure=Rt.define();function cc(t,e,n={}){let r={};for(let i of t)for(let o of Object.keys(i)){let a=i[o],s=r[o];if(s===void 0)r[o]=a;else if(!(s===a||a===void 0))if(Object.hasOwnProperty.call(n,o))r[o]=n[o](s,a);else throw new Error("Config merge conflict for field "+o)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}class sp{eq(e){return this==e}range(e,n=e){return cN.create(e,n,this)}}sp.prototype.startSide=sp.prototype.endSide=0;sp.prototype.point=!1;sp.prototype.mapMode=Pi.TrackDel;let cN=class Nfe{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new Nfe(e,n,r)}};function uN(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class _4{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let o=r?this.to:this.from;for(let a=i,s=o.length;;){if(a==s)return a;let l=a+s>>1,c=o[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==a)return c>=0?a:s;c>=0?s=l:a=l+1}}between(e,n,r,i){for(let o=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,o);oh||d==h&&c.startSide>0&&c.endSide<=0)continue;(h-d||c.endSide-c.startSide)<0||(a<0&&(a=d),c.point&&(s=Math.max(s,h-d)),r.push(c),i.push(d-a),o.push(h-a))}return{mapped:r.length?new _4(i,o,r,s):null,pos:a}}}class sn{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new sn(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:o=this.length}=e,a=e.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(uN)),this.isEmpty)return n.length?sn.of(n):this;let s=new $fe(this,null,-1).goto(0),l=0,c=[],u=new id;for(;s.value||l=0){let f=n[l++];u.addInner(f.from,f.to,f.value)||c.push(f)}else s.rangeIndex==1&&s.chunkIndexthis.chunkEnd(s.chunkIndex)||os.to||o=o&&e<=o+a.length&&a.between(o,e-o,n-o,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return t_.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return t_.from(e).goto(n)}static compare(e,n,r,i,o=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),s=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=o7(a,s,r),c=new A0(a,l,o),u=new A0(s,l,o);r.iterGaps((f,d,h)=>a7(c,f,u,d,h,i)),r.empty&&r.length==0&&a7(c,0,u,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let o=e.filter(u=>!u.isEmpty&&n.indexOf(u)<0),a=n.filter(u=>!u.isEmpty&&e.indexOf(u)<0);if(o.length!=a.length)return!1;if(!o.length)return!0;let s=o7(o,a),l=new A0(o,s,0).goto(r),c=new A0(a,s,0).goto(r);for(;;){if(l.to!=c.to||!fN(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>i)return!0;l.next(),c.next()}}static spans(e,n,r,i,o=-1){let a=new A0(e,null,o).goto(n),s=n,l=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let u=a.activeForPoint(a.to),f=a.pointFroms&&(i.span(s,c,a.active,l),l=a.openEnd(c));if(a.to>r)return l+(a.point&&a.to>r?1:0);s=a.to,a.next()}}static of(e,n=!1){let r=new id;for(let i of e instanceof cN?[e]:n?$rt(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return sn.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=sn.empty;i=i.nextLayer)n=new sn(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}}sn.empty=new sn([],[],null,-1);function $rt(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(uN);e=r}return t}sn.empty.nextLayer=sn.empty;class id{finishChunk(e){this.chunks.push(new _4(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new id)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(sn.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=sn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function o7(t,e,n){let r=new Map;for(let o of t)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new $fe(a,n,r,o));return i.length==1?i[0]:new t_(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)IR(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)IR(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),IR(this.heap,0)}}}function IR(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];if(r+1=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}class A0{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=t_.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){GS(this.active,e),GS(this.activeTo,e),GS(this.activeRank,e),this.minActive=s7(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:o}=this.cursor;for(;n0;)n++;HS(this.active,n,r),HS(this.activeTo,n,i),HS(this.activeRank,n,o),e&&HS(e,n,this.cursor.from),this.minActive=s7(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&GS(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}}function a7(t,e,n,r,i,o){t.goto(e),n.goto(r);let a=r+i,s=r,l=r-e;for(;;){let c=t.to+l-n.to||t.endSide-n.endSide,u=c<0?t.to+l:n.to,f=Math.min(u,a);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&fN(t.activeForPoint(t.to),n.activeForPoint(n.to))||o.comparePoint(s,f,t.point,n.point):f>s&&!fN(t.active,n.active)&&o.compareRange(s,f,t.active,n.active),u>a)break;s=u,c<=0&&t.next(),c>=0&&n.next()}}function fN(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;r--)t[r+1]=t[r];t[e]=n}function s7(t,e){let n=-1,r=1e9;for(let i=0;i=e)return i;if(i==t.length)break;o+=t.charCodeAt(i)==9?n-o%n:1,i=ki(t,i)}return r===!0?-1:t.length}const hN="ͼ",l7=typeof Symbol>"u"?"__"+hN:Symbol.for(hN),pN=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),c7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class od{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}function o(a,s,l,c){let u=[],f=/^@(\w+)\b/.exec(a[0]),d=f&&f[1]=="keyframes";if(f&&s==null)return l.push(a[0]+";");for(let h in s){let p=s[h];if(/&/.test(h))o(h.split(/,\s*/).map(m=>a.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,l);else if(p&&typeof p=="object"){if(!f)throw new RangeError("The value of a property ("+h+") should be a primitive value.");o(i(h),p,u,d)}else p!=null&&u.push(h.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(u.length||d)&&l.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+u.join(" ")+"}")}for(let a in e)o(i(a),e[a],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=c7[l7]||1;return c7[l7]=e+1,hN+e.toString(36)}static mount(e,n,r){let i=e[pN],o=r&&r.nonce;i?o&&i.setNonce(o):i=new Frt(e,o),i.mount(Array.isArray(n)?n:[n],e)}}let u7=new Map;class Frt{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let o=u7.get(r);if(o)return e[pN]=o;this.sheet=new i.CSSStyleSheet,u7.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[pN]=this}mount(e,n){let r=this.sheet,i=0,o=0;for(let a=0;a-1&&(this.modules.splice(l,1),o--,l=-1),l==-1){if(this.modules.splice(o++,0,s),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},jrt=typeof navigator<"u"&&/Mac/.test(navigator.platform),Brt=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ti=0;Ti<10;Ti++)ad[48+Ti]=ad[96+Ti]=String(Ti);for(var Ti=1;Ti<=24;Ti++)ad[Ti+111]="F"+Ti;for(var Ti=65;Ti<=90;Ti++)ad[Ti]=String.fromCharCode(Ti+32),n_[Ti]=String.fromCharCode(Ti);for(var DR in ad)n_.hasOwnProperty(DR)||(n_[DR]=ad[DR]);function zrt(t){var e=jrt&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||Brt&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?n_:ad)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function r_(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function mN(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function Urt(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function jC(t,e){if(!e.anchorNode)return!1;try{return mN(t,e.anchorNode)}catch{return!1}}function cv(t){return t.nodeType==3?cp(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function tb(t,e,n,r){return n?f7(t,e,n,r,-1)||f7(t,e,n,r,1):!1}function lp(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function hE(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function f7(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:pu(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=lp(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?pu(t):0}else return!1}}function pu(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function pw(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function Wrt(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function Ffe(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function Vrt(t,e,n,r,i,o,a,s){let l=t.ownerDocument,c=l.defaultView||window;for(let u=t,f=!1;u&&!f;)if(u.nodeType==1){let d,h=u==l.body,p=1,m=1;if(h)d=Wrt(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(f=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let y=u.getBoundingClientRect();({scaleX:p,scaleY:m}=Ffe(u,y)),d={left:y.left,right:y.left+u.clientWidth*p,top:y.top,bottom:y.top+u.clientHeight*m}}let g=0,v=0;if(i=="nearest")e.top0&&e.bottom>d.bottom+v&&(v=e.bottom-d.bottom+v+a)):e.bottom>d.bottom&&(v=e.bottom-d.bottom+a,n<0&&e.top-v0&&e.right>d.right+g&&(g=e.right-d.right+g+o)):e.right>d.right&&(g=e.right-d.right+o,n<0&&e.lefti.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}class Hrt{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?pu(n):0),r,Math.min(e.focusOffset,r?pu(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}}let fm=null;function jfe(t){if(t.setActive)return t.setActive();if(fm)return t.focus(fm);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(fm==null?{get preventScroll(){return fm={preventScroll:!0},!0}}:void 0),!fm){fm=!1;for(let n=0;nMath.max(1,t.scrollHeight-t.clientHeight-4)}function Ufe(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=pu(n)}else if(n.parentNode&&!hE(n))r=lp(n),n=n.parentNode;else return null}}function Wfe(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&rn)return f.domBoundsAround(e,n,c);if(d>=e&&i==-1&&(i=l,o=c),c>n&&f.dom.parentNode==this.dom){a=l,s=u;break}u=d,c=d+f.breakAfter}return{from:o,to:s<0?r+this.length:s,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.flags|=2),n.flags&1)return;n.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,r=w4){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function Gfe(t,e,n,r,i,o,a,s,l){let{children:c}=t,u=c.length?c[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:a;if(!(e==r&&u&&!a&&!d&&o.length<2&&u.merge(n,i,o.length?f:null,n==0,s,l))){if(r0&&(!a&&o.length&&u.merge(n,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(n2);var ut={mac:g7||/Mac/.test(Co.platform),windows:/Win/.test(Co.platform),linux:/Linux|X11/.test(Co.platform),ie:Q2,ie_version:qfe?gN.documentMode||6:yN?+yN[1]:vN?+vN[1]:0,gecko:p7,gecko_version:p7?+(/Firefox\/(\d+)/.exec(Co.userAgent)||[0,0])[1]:0,chrome:!!LR,chrome_version:LR?+LR[1]:0,ios:g7,android:/Android\b/.test(Co.userAgent),webkit:m7,safari:Xfe,webkit_version:m7?+(/\bAppleWebKit\/(\d+)/.exec(Co.userAgent)||[0,0])[1]:0,tabSize:gN.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const Qrt=256;class el extends Ln{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,r){return this.flags&8||r&&(!(r instanceof el)||this.length-(n-e)+r.length>Qrt||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new el(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new Yi(this.dom,e)}domBoundsAround(e,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return Yrt(this.dom,e,n)}}class mu extends Ln{constructor(e,n=[],r=0){super(),this.mark=e,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(e){if(Bfe(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,n)}merge(e,n,r,i,o,a){return r&&(!(r instanceof mu&&r.mark.eq(this.mark))||e&&o<=0||ne&&n.push(r=e&&(i=o),r=l,o++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new mu(this.mark,n,a)}domAtPos(e){return Qfe(this,e)}coordsAt(e,n){return Kfe(this,e,n)}}function Yrt(t,e,n){let r=t.nodeValue.length;e>r&&(e=r);let i=e,o=e,a=0;e==0&&n<0||e==r&&n>=0?ut.chrome||ut.gecko||(e?(i--,a=1):o=0)?0:s.length-1];return ut.safari&&!a&&l.width==0&&(l=Array.prototype.find.call(s,c=>c.width)||l),a?pw(l,a<0):l||null}class Cf extends Ln{static create(e,n,r){return new Cf(e,n,r)}constructor(e,n,r){super(),this.widget=e,this.length=n,this.side=r,this.prevWidget=null}split(e){let n=Cf.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,n,r,i,o,a){return r&&(!(r instanceof Cf)||!this.widget.compare(r.widget)||e>0&&o<=0||n0)?Yi.before(this.dom):Yi.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,n){let r=this.widget.coordsAt(this.dom,e,n);if(r)return r;let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let s=a?i.length-1:0;o=i[s],!(e>0?s==0:s==i.length-1||o.top0?Yi.before(this.dom):Yi.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return xn.empty}get isHidden(){return!0}}el.prototype.children=Cf.prototype.children=uv.prototype.children=w4;function Qfe(t,e){let n=t.dom,{children:r}=t,i=0;for(let o=0;io&&e0;o--){let a=r[o-1];if(a.dom.parentNode==n)return a.domAtPos(a.length)}for(let o=i;o0&&e instanceof mu&&i.length&&(r=i[i.length-1])instanceof mu&&r.mark.eq(e.mark)?Yfe(r,e.children[0],n-1):(i.push(e),e.setParent(t)),t.length+=e.length}function Kfe(t,e,n){let r=null,i=-1,o=null,a=-1;function s(c,u){for(let f=0,d=0;f=u&&(h.children.length?s(h,u-d):(!o||o.isHidden&&n>0)&&(p>u||d==p&&h.getSide()>0)?(o=h,a=u-d):(d-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let o of r)if(o!=n&&(i.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function bN(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}function Zrt(t){let e=Object.create(null);for(let n=0;n0?3e8:-4e8:n>0?1e8:-1e8,new sd(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:o,end:a}=Zfe(e,n);r=(o?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new sd(e,r,i,n,e.widget||null,!0)}static line(e){return new gw(e)}static set(e,n=!1){return sn.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}gt.none=sn.empty;class mw extends gt{constructor(e){let{start:n,end:r}=Zfe(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var n,r;return this==e||e instanceof mw&&this.tagName==e.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&pE(this.attrs,e.attrs,"class")}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}mw.prototype.point=!1;class gw extends gt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof gw&&this.spec.class==e.spec.class&&pE(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}gw.prototype.mapMode=Pi.TrackBefore;gw.prototype.point=!0;class sd extends gt{constructor(e,n,r,i,o,a){super(n,r,o,e),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?Pi.TrackBefore:Pi.TrackAfter:Pi.TrackDel}get type(){return this.startSide!=this.endSide?uo.WidgetRange:this.startSide<=0?uo.WidgetBefore:uo.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof sd&&Jrt(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}sd.prototype.point=!0;function Zfe(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}function Jrt(t,e){return t==e||!!(t&&e&&t.compare(e))}function _N(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}class Nr extends Ln{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,r,i,o,a){if(r){if(!(r instanceof Nr))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),Hfe(this,e,n,r?r.children.slice():[],o,a),!0}split(e){let n=new Nr;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(e);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let o=r;o0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){pE(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){Yfe(this,e,n)}addLineDeco(e){let n=e.spec.attributes,r=e.spec.class;n&&(this.attrs=xN(n,this.attrs||{})),r&&(this.attrs=xN({class:r},this.attrs||{}))}domAtPos(e){return Qfe(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,n){var r;this.dom?this.flags&4&&(Bfe(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(bN(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,n);let i=this.dom.lastChild;for(;i&&Ln.get(i)instanceof mu;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Ln.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!ut.ios||!this.children.some(o=>o instanceof el))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,n;for(let r of this.children){if(!(r instanceof el)||/[^ -~]/.test(r.text))return null;let i=cv(r.dom);if(i.length!=1)return null;e+=i[0].width,n=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:n}:null}coordsAt(e,n){let r=Kfe(this,e,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,o=r.bottom-r.top;if(Math.abs(o-i.lineHeight)<2&&i.textHeight=n){if(o instanceof Nr)return o;if(a>n)break}i=a+o.breakAfter}return null}}class eu extends Ln{constructor(e,n,r){super(),this.widget=e,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,n,r,i,o,a){return r&&(!(r instanceof eu)||!this.widget.compare(r.widget)||e>0&&o<=0||n0}}class wN extends uc{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class nb{constructor(e,n,r,i){this.doc=e,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof eu&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Nr),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(qS(new uv(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof eu)&&this.getLine()}buildText(e,n,r){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:a,done:s}=this.cursor.next(this.skip);if(this.skip=0,s)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(qS(new el(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=0}}span(e,n,r,i){this.buildText(n-e,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(e,n,r,i,o,a){if(this.disallowBlockEffectsFor[a]&&r instanceof sd){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let s=n-e;if(r instanceof sd)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new eu(r.widget||fv.block,s,r));else{let l=Cf.create(r.widget||fv.inline,s,s?0:r.startSide),c=this.atCursorPos&&!l.isEditable&&o<=i.length&&(e0),u=!l.isEditable&&(ei.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(qS(new uv(1),i),o),o=i.length+Math.max(0,o-i.length)),f.append(qS(l,i),o),this.atCursorPos=u,this.pendingBuffer=u?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);s&&(this.textOff+s<=this.text.length?this.textOff+=s:(this.skip+=s-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=o)}static build(e,n,r,i,o){let a=new nb(e,n,r,o);return a.openEnd=sn.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function qS(t,e){for(let n of e)t=new mu(n,[t],t.length);return t}class fv extends uc{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}fv.inline=new fv("span");fv.block=new fv("div");var rr=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(rr||(rr={}));const up=rr.LTR,S4=rr.RTL;function Jfe(t){let e=[];for(let n=0;n=n){if(s.level==r)return a;(o<0||(i!=0?i<0?s.fromn:e[o].level>s.level))&&(o=a)}}if(o<0)throw new RangeError("Index out of range");return o}}function tde(t,e){if(t.length!=e.length)return!1;for(let n=0;n=0;m-=3)if(cl[m+1]==-h){let g=cl[m+2],v=g&2?i:g&4?g&1?o:i:0;v&&(Dn[f]=Dn[cl[m]]=v),s=m;break}}else{if(cl.length==189)break;cl[s++]=f,cl[s++]=d,cl[s++]=l}else if((p=Dn[f])==2||p==1){let m=p==i;l=m?0:1;for(let g=s-3;g>=0;g-=3){let v=cl[g+2];if(v&2)break;if(m)cl[g+2]|=2;else{if(v&4)break;cl[g+2]|=4}}}}}function oit(t,e,n,r){for(let i=0,o=r;i<=n.length;i++){let a=i?n[i-1].to:t,s=il;)p==g&&(p=n[--m].from,g=m?n[m-1].to:t),Dn[--p]=h;l=u}else o=c,l++}}}function ON(t,e,n,r,i,o,a){let s=r%2?2:1;if(r%2==i%2)for(let l=e,c=0;ll&&a.push(new Tf(l,m.from,h));let g=m.direction==up!=!(h%2);CN(t,g?r+1:r,i,m.inner,m.from,m.to,a),l=m.to}p=m.to}else{if(p==n||(u?Dn[p]!=s:Dn[p]==s))break;p++}d?ON(t,l,p,r+1,i,d,a):le;){let u=!0,f=!1;if(!c||l>o[c-1].to){let m=Dn[l-1];m!=s&&(u=!1,f=m==16)}let d=!u&&s==1?[]:null,h=u?r:r+1,p=l;e:for(;;)if(c&&p==o[c-1].to){if(f)break e;let m=o[--c];if(!u)for(let g=m.from,v=c;;){if(g==e)break e;if(v&&o[v-1].to==g)g=o[--v].from;else{if(Dn[g-1]==s)break e;break}}if(d)d.push(m);else{m.toDn.length;)Dn[Dn.length]=256;let r=[],i=e==up?0:1;return CN(t,i,i,n,0,t.length,r),r}function nde(t){return[new Tf(0,t,0)]}let rde="";function sit(t,e,n,r,i){var o;let a=r.head-t.from,s=Tf.find(e,a,(o=r.bidiLevel)!==null&&o!==void 0?o:-1,r.assoc),l=e[s],c=l.side(i,n);if(a==c){let d=s+=i?1:-1;if(d<0||d>=e.length)return null;l=e[s=d],a=l.side(!i,n),c=l.side(i,n)}let u=ki(t.text,a,l.forward(i,n));(ul.to)&&(u=c),rde=t.text.slice(Math.min(a,u),Math.max(a,u));let f=s==(i?e.length-1:0)?null:e[s+(i?1:-1)];return f&&u==c&&f.level+(i?0:1)t.some(e=>e)}),fde=ct.define({combine:t=>t.some(e=>e)}),dde=ct.define();class Rg{constructor(e,n="nearest",r="nearest",i=5,o=5,a=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=o,this.isSnapshot=a}map(e){return e.empty?this:new Rg(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Rg(je.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const XS=Rt.define({map:(t,e)=>t.map(e)}),hde=Rt.define();function Ao(t,e,n){let r=t.facet(sde);r.length?r[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}const pf=ct.define({combine:t=>t.length?t[0]:!0});let cit=0;const hx=ct.define();class kr{constructor(e,n,r,i,o){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=o(this)}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:o,decorations:a}=n||{};return new kr(cit++,e,r,i,s=>{let l=[hx.of(s)];return a&&l.push(i_.of(c=>{let u=c.plugin(s);return u?a(u):gt.none})),o&&l.push(o(s)),l})}static fromClass(e,n){return kr.define(r=>new e(r),n)}}class NR{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Ao(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){Ao(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Ao(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const pde=ct.define(),O4=ct.define(),i_=ct.define(),mde=ct.define(),C4=ct.define(),gde=ct.define();function y7(t,e){let n=t.state.facet(gde);if(!n.length)return n;let r=n.map(o=>o instanceof Function?o(t):o),i=[];return sn.spans(r,e.from,e.to,{point(){},span(o,a,s,l){let c=o-e.from,u=a-e.from,f=i;for(let d=s.length-1;d>=0;d--,l--){let h=s[d].spec.bidiIsolate,p;if(h==null&&(h=lit(e.text,c,u)),l>0&&f.length&&(p=f[f.length-1]).to==c&&p.direction==h)p.to=u,f=p.inner;else{let m={from:c,to:u,direction:h,inner:[]};f.push(m),f=m.inner}}}}),i}const vde=ct.define();function yde(t){let e=0,n=0,r=0,i=0;for(let o of t.state.facet(vde)){let a=o(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:n,top:r,bottom:i}}const px=ct.define();class rs{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new rs(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toAu)break;o+=2}if(!l)return r;new rs(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),a=l.toA,s=l.toB}}}class mE{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Zr.empty(this.startState.doc.length);for(let o of r)this.changes=this.changes.compose(o.changes);let i=[];this.changes.iterChangedRanges((o,a,s,l)=>i.push(new rs(o,a,s,l))),this.changedRanges=i}static create(e,n,r){return new mE(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class x7 extends Ln{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=gt.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Nr],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new rs(0,0,0,e.state.doc.length)],0,null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:u})=>uthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!git(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let o=i>-1?fit(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;r=new rs(c,u,e.changes.mapPos(c,-1),e.changes.mapPos(u,1)).addToSet(r.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(ut.ie||ut.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,s=this.updateDeco(),l=pit(a,s,e.changes);return r=rs.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=ut.chrome||ut.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to=0?i[a]:null;if(!s)break;let{fromA:l,toA:c,fromB:u,toB:f}=s,d,h,p,m;if(r&&r.range.fromBu){let b=nb.build(this.view.state.doc,u,r.range.fromB,this.decorations,this.dynamicDecorationMap),_=nb.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);h=b.breakAtStart,p=b.openStart,m=_.openEnd;let S=this.compositionView(r);_.breakAtStart?S.breakAfter=1:_.content.length&&S.merge(S.length,S.length,_.content[0],!1,_.openStart,0)&&(S.breakAfter=_.content[0].breakAfter,_.content.shift()),b.content.length&&S.merge(0,0,b.content[b.content.length-1],!0,0,b.openEnd)&&b.content.pop(),d=b.content.concat(S).concat(_.content)}else({content:d,breakAtStart:h,openStart:p,openEnd:m}=nb.build(this.view.state.doc,u,f,this.decorations,this.dynamicDecorationMap));let{i:g,off:v}=o.findPos(c,1),{i:y,off:x}=o.findPos(l,-1);Gfe(this,y,x,g,v,d,h,p,m)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let n of e.transactions)for(let r of n.effects)r.is(hde)&&(this.editContextFormatting=r.value)}compositionView(e){let n=new el(e.text.nodeValue);n.flags|=8;for(let{deco:i}of e.marks)n=new mu(i,[n],n.length);let r=new Nr;return r.append(n,0),r}fixCompositionDOM(e){let n=(o,a)=>{a.flags|=8|(a.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(a);let s=Ln.get(o);s&&s!=a&&(s.dom=null),a.setDOM(o)},r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(let o=e.marks.length-1;o>=-1;o--)r=i.childPos(r.off,1),i=i.children[r.i],n(o>=0?e.marks[o].node:e.text,i)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,o=!i&&jC(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||o))return;let a=this.forceSelection;this.forceSelection=!1;let s=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(s.anchor)),c=s.empty?l:this.moveToLine(this.domAtPos(s.head));if(ut.gecko&&s.empty&&!this.hasComposition&&uit(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=c=new Yi(f,0),a=!0}let u=this.view.observer.selectionRange;(a||!u.focusNode||(!tb(l.node,l.offset,u.anchorNode,u.anchorOffset)||!tb(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,s))&&(this.view.observer.ignore(()=>{ut.android&&ut.chrome&&this.dom.contains(u.focusNode)&&mit(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=r_(this.view.root);if(f)if(s.empty){if(ut.gecko){let d=dit(l.node,l.offset);if(d&&d!=3){let h=(d==1?Ufe:Wfe)(l.node,l.offset);h&&(l=new Yi(h.node,h.offset))}}f.collapse(l.node,l.offset),s.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=s.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(c.node,c.offset)}catch{}}else{let d=document.createRange();s.anchor>s.head&&([l,c]=[c,l]),d.setEnd(c.node,c.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Yi(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Yi(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&tb(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=r_(e.root),{anchorNode:i,anchorOffset:o}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=Nr.find(this,n.head);if(!a)return;let s=a.posAtStart;if(n.head==s||n.head==s+a.length)return;let l=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(n.head+n.assoc);r.collapse(u.node,u.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,o)}moveToLine(e){let n=this.dom,r;if(e.node!=n)return e;for(let i=e.offset;!r&&i=0;i--){let o=Ln.get(n.childNodes[i]);o instanceof Nr&&(r=o.domAtPos(o.length))}return r?new Yi(r.node,r.offset,!0):e}nearest(e){for(let n=e;n;){let r=Ln.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(e,n){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,n)+r.posAtStart}domAtPos(e){let{i:n,off:r}=this.childCursor().findPos(e,-1);for(;n=0;a--){let s=this.children[a],l=o-s.breakAfter,c=l-s.length;if(le||s.covers(1))&&(!r||s instanceof Nr&&!(r instanceof Nr&&n>=0)))r=s,i=c;else if(r&&c==e&&l==e&&s instanceof eu&&Math.abs(n)<2){if(s.deco.startSide<0)break;a&&(r=null)}o=c}return r?r.coordsAt(e-i,n):null}coordsForChar(e){let{i:n,off:r}=this.childPos(e,1),i=this.children[n];if(!(i instanceof Nr))return null;for(;i.children.length;){let{i:s,off:l}=i.childPos(r,1);for(;;s++){if(s==i.children.length)return null;if((i=i.children[s]).length)break}r=l}if(!(i instanceof el))return null;let o=ki(i.text,r);if(o==r)return null;let a=cp(i.dom,r,o).getClientRects();for(let s=0;sMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,s=-1,l=this.view.textDirection==rr.LTR;for(let c=0,u=0;ui)break;if(c>=r){let h=f.dom.getBoundingClientRect();if(n.push(h.height),a){let p=f.dom.lastChild,m=p?cv(p):[];if(m.length){let g=m[m.length-1],v=l?g.right-h.left:h.right-g.left;v>s&&(s=v,this.minWidth=o,this.minWidthFrom=c,this.minWidthTo=d)}}}c=d+f.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?rr.RTL:rr.LTR}measureTextSize(){for(let o of this.children)if(o instanceof Nr){let a=o.measureTextSize();if(a)return a}let e=document.createElement("div"),n,r,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=cv(e.firstChild)[0];n=e.getBoundingClientRect().height,r=o?o.width/27:7,i=o?o.height:n,e.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new Vfe(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let o=i==n.viewports.length?null:n.viewports[i],a=o?o.from-1:this.length;if(a>r){let s=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(gt.replace({widget:new wN(s),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!o)break;r=o.to+1}return gt.set(e)}updateDeco(){let e=1,n=this.view.state.facet(i_).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),r=!1,i=this.view.state.facet(mde).map((o,a)=>{let s=typeof o=="function";return s&&(r=!0),s?o(this.view):o});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(sn.join(i))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];en.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let o=yde(this.view),a={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:s,offsetHeight:l}=this.view.scrollDOM;Vrt(this.view.scrollDOM,a,n.head{re.from&&(n=!0)}),n}function vit(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),o=e-i.from;if(i.length==0)return je.cursor(e);o==0?n=1:o==i.length&&(n=-1);let a=o,s=o;n<0?a=ki(i.text,o,!1):s=ki(i.text,o);let l=r(i.text.slice(a,s));for(;a>0;){let c=ki(i.text,a,!1);if(r(i.text.slice(c,a))!=l)break;a=c}for(;st?e.left-t:Math.max(0,t-e.right)}function xit(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function $R(t,e){return t.tope.top+1}function b7(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function EN(t,e,n){let r,i,o,a,s=!1,l,c,u,f;for(let p=t.firstChild;p;p=p.nextSibling){let m=cv(p);for(let g=0;gx||a==x&&o>y){r=p,i=v,o=y,a=x;let b=x?n0?g0)}y==0?n>v.bottom&&(!u||u.bottomv.top)&&(c=p,f=v):u&&$R(u,v)?u=_7(u,v.bottom):f&&$R(f,v)&&(f=b7(f,v.top))}}if(u&&u.bottom>=n?(r=l,i=u):f&&f.top<=n&&(r=c,i=f),!r)return{node:t,offset:0};let d=Math.max(i.left,Math.min(i.right,e));if(r.nodeType==3)return w7(r,d,n);if(s&&r.contentEditable!="false")return EN(r,d,n);let h=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:h}}function w7(t,e,n){let r=t.nodeValue.length,i=-1,o=1e9,a=0;for(let s=0;sn?u.top-n:n-u.bottom)-1;if(u.left-1<=e&&u.right+1>=e&&f=(u.left+u.right)/2,h=d;if((ut.chrome||ut.gecko)&&cp(t,s).getBoundingClientRect().left==u.right&&(h=!d),f<=0)return{node:t,offset:s+(h?1:0)};i=s+(h?1:0),o=f}}}return{node:t,offset:i>-1?i:a>0?t.nodeValue.length:0}}function bde(t,e,n,r=-1){var i,o;let a=t.contentDOM.getBoundingClientRect(),s=a.top+t.viewState.paddingTop,l,{docHeight:c}=t.viewState,{x:u,y:f}=e,d=f-s;if(d<0)return 0;if(d>c)return t.state.doc.length;for(let b=t.viewState.heightOracle.textHeight/2,_=!1;l=t.elementAtHeight(d),l.type!=uo.Text;)for(;d=r>0?l.bottom+b:l.top-b,!(d>=0&&d<=c);){if(_)return n?null:0;_=!0,r=-r}f=s+d;let h=l.from;if(ht.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:S7(t,a,l,u,f);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(u,f);g&&!t.contentDOM.contains(g)&&(g=null),g||(u=Math.max(a.left+1,Math.min(a.right-1,u)),g=m.elementFromPoint(u,f),g&&!t.contentDOM.contains(g)&&(g=null));let v,y=-1;if(g&&((i=t.docView.nearest(g))===null||i===void 0?void 0:i.isEditable)!=!1){if(p.caretPositionFromPoint){let b=p.caretPositionFromPoint(u,f);b&&({offsetNode:v,offset:y}=b)}else if(p.caretRangeFromPoint){let b=p.caretRangeFromPoint(u,f);b&&({startContainer:v,startOffset:y}=b,(!t.contentDOM.contains(v)||ut.safari&&bit(v,y,u)||ut.chrome&&_it(v,y,u))&&(v=void 0))}}if(!v||!t.docView.dom.contains(v)){let b=Nr.find(t.docView,h);if(!b)return d>l.top+l.height/2?l.to:l.from;({node:v,offset:y}=EN(b.dom,u,f))}let x=t.docView.nearest(v);if(!x)return null;if(x.isWidget&&((o=x.dom)===null||o===void 0?void 0:o.nodeType)==1){let b=x.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let s=t.viewState.heightOracle.textHeight,l=Math.floor((i-n.top-(t.defaultLineHeight-s)*.5)/s);o+=l*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+dN(a,o,t.state.tabSize)}function bit(t,e,n){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return cp(t,r-1,r).getBoundingClientRect().left>n}function _it(t,e,n){if(e!=0)return!1;for(let i=t;;){let o=i.parentNode;if(!o||o.nodeType!=1||o.firstChild!=i)return!1;if(o.classList.contains("cm-line"))break;i=o}let r=t.nodeType==1?t.getBoundingClientRect():cp(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}function PN(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>e||r.to==e&&(r.to==n.to||r.type==uo.Text))return r}return n}function wit(t,e,n,r){let i=PN(t,e.head),o=!r||i.type!=uo.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(o){let a=t.dom.getBoundingClientRect(),s=t.textDirectionAt(i.from),l=t.posAtCoords({x:n==(s==rr.LTR)?a.right-1:a.left+1,y:(o.top+o.bottom)/2});if(l!=null)return je.cursor(l,n?-1:1)}return je.cursor(n?i.to:i.from,n?-1:1)}function O7(t,e,n,r){let i=t.state.doc.lineAt(e.head),o=t.bidiSpans(i),a=t.textDirectionAt(i.from);for(let s=e,l=null;;){let c=sit(i,o,a,s,n),u=rde;if(!c){if(i.number==(n?t.state.doc.lines:1))return s;u=` -`,i=t.state.doc.line(i.number+(n?1:-1)),o=t.bidiSpans(i),c=t.visualLineSide(i,!n)}if(l){if(!l(u))return s}else{if(!r)return c;l=r(u)}s=c}}function Sit(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return o=>{let a=r(o);return i==fr.Space&&(i=a),i==a}}function Oit(t,e,n,r){let i=e.head,o=n?1:-1;if(i==(n?t.state.doc.length:0))return je.cursor(i,e.assoc);let a=e.goalColumn,s,l=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),u=t.documentTop;if(c)a==null&&(a=c.left-l.left),s=o<0?c.top:c.bottom;else{let h=t.viewState.lineBlockAt(i);a==null&&(a=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-h.from))),s=(o<0?h.top:h.bottom)+u}let f=l.left+a,d=r??t.viewState.heightOracle.textHeight>>1;for(let h=0;;h+=10){let p=s+(d+h)*o,m=bde(t,{x:f,y:p},!1,o);if(pl.bottom||(o<0?mi)){let g=t.docView.coordsForChar(m),v=!g||p{if(e>o&&ei(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:je.cursor(r,ro)&&this.lineBreak(),i=a}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,a=1,s;if(this.lineSeparator?(o=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(s=i.exec(n))&&(o=s.index,a=s[0].length),this.append(n.slice(r,o<0?n.length:o)),o<0)break;if(this.lineBreak(),a>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=a-1);r=o+a}}readNode(e){if(e.cmIgnore)return;let n=Ln.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(Tit(e,r.node,r.offset)?n:0))}}function Tit(t,e,n){for(;;){if(!e||n-1;let{impreciseHead:o,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=e.docView.domBoundsAround(n,r,0))){let s=o||a?[]:kit(e),l=new Cit(s,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=Ait(s,this.bounds.from)}else{let s=e.observer.selectionRange,l=o&&o.node==s.focusNode&&o.offset==s.focusOffset||!mN(e.contentDOM,s.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(s.focusNode,s.focusOffset),c=a&&a.node==s.anchorNode&&a.offset==s.anchorOffset||!mN(e.contentDOM,s.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(s.anchorNode,s.anchorOffset),u=e.viewport;if((ut.ios||ut.chrome)&&e.state.selection.main.empty&&l!=c&&(u.from>0||u.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:s}=e.bounds,l=i.from,c=null;(o===8||ut.android&&e.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:(ut.mac||ut.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=je.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:xn.of([" "])}):ut.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` - `&&t.lineWrapping&&(r&&(r=je.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:xn.of([" "])}),n)return T4(t,n,r,o);if(r&&!r.main.eq(i)){let a=!1,s="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),s=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:a,userEvent:s}),!0}else return!1}function T4(t,e,n,r=-1){if(ut.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(ut.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&Ag(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||r==8&&e.insert.lengthi.head)&&Ag(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&Ag(t.contentDOM,"Delete",46)))return!0;let o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,s=()=>a||(a=Pit(t,e,n));return t.state.facet(lde).some(l=>l(t,e.from,e.to,o,s))||t.dispatch(s()),!0}function Pit(t,e,n){let r,i=t.state,o=i.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let s=o.frome.to?i.sliceDoc(e.to,o.to):"";r=i.replaceSelection(t.state.toText(s+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let s=i.changes(e),l=n&&n.main.to<=s.newLength?n.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let c=t.state.sliceDoc(e.from,e.to),u,f=n&&xde(t,n.main.head);if(f){let p=e.insert.length-(e.to-e.from);u={from:f.from,to:f.to-p}}else u=t.state.doc.lineAt(o.head);let d=o.to-e.to,h=o.to-o.from;r=i.changeByRange(p=>{if(p.from==o.from&&p.to==o.to)return{changes:s,range:l||p.map(s)};let m=p.to-d,g=m-c.length;if(p.to-p.from!=h||t.state.sliceDoc(g,m)!=c||p.to>=u.from&&p.from<=u.to)return{range:p};let v=i.changes({from:g,to:m,insert:e.insert}),y=p.to-o.to;return{changes:v,range:l?je.range(Math.max(0,l.anchor+y),Math.max(0,l.head+y)):p.map(v)}})}else r={changes:s,selection:l&&i.selection.replaceRange(l)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}function Mit(t,e,n,r){let i=Math.min(t.length,e.length),o=0;for(;o0&&s>0&&t.charCodeAt(a-1)==e.charCodeAt(s-1);)a--,s--;if(r=="end"){let l=Math.max(0,o-Math.min(a,s));n-=a+l-o}if(a=a?o-n:0;o-=l,s=o+(s-a),a=o}else if(s=s?o-n:0;o-=l,a=o+(a-s),s=o}return{from:o,toA:a,toB:s}}function kit(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}=t.observer.selectionRange;return n&&(e.push(new C7(n,r)),(i!=n||o!=r)&&e.push(new C7(i,o))),e}function Ait(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?je.single(n+e,r+e):null}class Rit{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,ut.safari&&e.contentDOM.addEventListener("input",()=>null),ut.gecko&&Xit(e.contentDOM.ownerDocument)}handleEvent(e){!Bit(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=Iit(e),r=this.handlers,i=this.view.contentDOM;for(let o in n)if(o!="scroll"){let a=!n[o].handlers.length,s=r[o];s&&a!=!s.handlers.length&&(i.removeEventListener(o,this.handleEvent),s=null),s||i.addEventListener(o,this.handleEvent,{passive:a})}for(let o in r)o!="scroll"&&!n[o]&&i.removeEventListener(o,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&Sde.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),ut.android&&ut.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let n;return ut.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((n=wde.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||Dit.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from0?!0:ut.safari&&!ut.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function T7(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){Ao(n.state,i)}}}function Iit(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let i=r.spec;if(i&&i.domEventHandlers)for(let o in i.domEventHandlers){let a=i.domEventHandlers[o];a&&n(o).handlers.push(T7(r.value,a))}if(i&&i.domEventObservers)for(let o in i.domEventObservers){let a=i.domEventObservers[o];a&&n(o).observers.push(T7(r.value,a))}}for(let r in tl)n(r).handlers.push(tl[r]);for(let r in ms)n(r).observers.push(ms[r]);return e}const wde=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Dit="dthko",Sde=[16,17,18,20,91,92,224,225],QS=6;function YS(t){return Math.max(0,t)*.7+8}function Lit(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class Nit{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=Grt(e.contentDOM),this.atoms=e.state.facet(C4).map(a=>a(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(en.allowMultipleSelections)&&$it(e,n),this.dragging=jit(e,n)&&Tde(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Lit(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,i=0,o=0,a=this.view.win.innerWidth,s=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:s}=this.scrollParents.y.getBoundingClientRect());let l=yde(this.view);e.clientX-l.left<=i+QS?n=-YS(i-e.clientX):e.clientX+l.right>=a-QS&&(n=YS(e.clientX-a)),e.clientY-l.top<=o+QS?r=-YS(o-e.clientY):e.clientY+l.bottom>=s-QS&&(r=YS(e.clientY-s)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:n}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(e||n)&&this.view.win.scrollBy(e,n),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let n=null;for(let r=0;rn.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function $it(t,e){let n=t.state.facet(ide);return n.length?n[0](e):ut.mac?e.metaKey:e.ctrlKey}function Fit(t,e){let n=t.state.facet(ode);return n.length?n[0](e):ut.mac?!e.altKey:!e.ctrlKey}function jit(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=r_(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let o=0;o=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}function Bit(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Ln.get(n))&&r.ignoreEvent(e))return!1;return!0}const tl=Object.create(null),ms=Object.create(null),Ode=ut.ie&&ut.ie_version<15||ut.ios&&ut.webkit_version<604;function zit(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),Cde(t,n.value)},50)}function Cde(t,e){let{state:n}=t,r,i=1,o=n.toText(e),a=o.lines==n.selection.ranges.length;if(MN!=null&&n.selection.ranges.every(l=>l.empty)&&MN==o.toString()){let l=-1;r=n.changeByRange(c=>{let u=n.doc.lineAt(c.from);if(u.from==l)return{range:c};l=u.from;let f=n.toText((a?o.line(i++).text:e)+n.lineBreak);return{changes:{from:u.from,insert:f},range:je.cursor(c.from+f.length)}})}else a?r=n.changeByRange(l=>{let c=o.line(i++);return{changes:{from:l.from,to:l.to,insert:c.text},range:je.cursor(l.from+c.length)}}):r=n.replaceSelection(o);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}ms.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};tl.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);ms.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};ms.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};tl.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(ade))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=Vit(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new Nit(t,e,n,r)),r&&t.observer.ignore(()=>{jfe(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function E7(t,e,n,r){if(r==1)return je.cursor(e,n);if(r==2)return vit(t.state,e,n);{let i=Nr.find(t.docView,e),o=t.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:o.from,s=i?i.posAtEnd:o.to;return se>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right;function Uit(t,e,n,r){let i=Nr.find(t.docView,e);if(!i)return 1;let o=e-i.posAtStart;if(o==0)return 1;if(o==i.length)return-1;let a=i.coordsAt(o,-1);if(a&&P7(n,r,a))return-1;let s=i.coordsAt(o,1);return s&&P7(n,r,s)?1:a&&a.bottom>=r?-1:1}function M7(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:Uit(t,n,e.clientX,e.clientY)}}const Wit=ut.ie&&ut.ie_version<=11;let k7=null,A7=0,R7=0;function Tde(t){if(!Wit)return t.detail;let e=k7,n=R7;return k7=t,R7=Date.now(),A7=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(A7+1)%3:1}function Vit(t,e){let n=M7(t,e),r=Tde(e),i=t.state.selection;return{update(o){o.docChanged&&(n.pos=o.changes.mapPos(n.pos),i=i.map(o.changes))},get(o,a,s){let l=M7(t,o),c,u=E7(t,l.pos,l.bias,r);if(n.pos!=l.pos&&!a){let f=E7(t,n.pos,n.bias,r),d=Math.min(f.from,u.from),h=Math.max(f.to,u.to);u=d1&&(c=Git(i,l.pos))?c:s?i.addRange(u):je.create([u])}}}function Git(t,e){for(let n=0;n=e)return je.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}tl.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let o=i.posAtStart,a=o+i.length;(o>=n.to||a<=n.from)&&(n=je.range(o,a))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(n.from,n.to)),e.dataTransfer.effectAllowed="copyMove"),!1};tl.dragend=t=>(t.inputState.draggedContent=null,!1);function I7(t,e,n,r){if(!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,a=r&&o&&Fit(t,e)?{from:o.from,to:o.to}:null,s={from:i,insert:n},l=t.state.changes(a?[a,s]:s);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}tl.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,o=()=>{++i==n.length&&I7(t,e,r.filter(a=>a!=null).join(t.state.lineBreak),!1)};for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(s.result)||(r[a]=s.result),o()},s.readAsText(n[a])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return I7(t,e,r,!0),!0}return!1};tl.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=Ode?null:e.clipboardData;return n?(Cde(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(zit(t),!1)};function Hit(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function qit(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:o}of t.selection.ranges){let a=t.doc.lineAt(o);a.number>i&&(e.push(a.text),n.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),i=a.number}r=!0}return{text:e.join(t.lineBreak),ranges:n,linewise:r}}let MN=null;tl.copy=tl.cut=(t,e)=>{let{text:n,ranges:r,linewise:i}=qit(t.state);if(!n&&!i)return!1;MN=i?n:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=Ode?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",n),!0):(Hit(t,n),!1)};const Ede=lc.define();function Pde(t,e){let n=[];for(let r of t.facet(cde)){let i=r(t,e);i&&n.push(i)}return n?t.update({effects:n,annotations:Ede.of(!0)}):null}function Mde(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=Pde(t.state,e);n?t.dispatch(n):t.update([])}},10)}ms.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),Mde(t)};ms.blur=t=>{t.observer.clearSelectionRange(),Mde(t)};ms.compositionstart=ms.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};ms.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,ut.chrome&&ut.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};ms.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};tl.beforeinput=(t,e)=>{var n,r;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let o=(n=e.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),a=e.getTargetRanges();if(o&&a.length){let s=a[0],l=t.posAtDOM(s.startContainer,s.startOffset),c=t.posAtDOM(s.endContainer,s.endOffset);return T4(t,{from:l,to:c,insert:t.state.toText(o)},null),!0}}let i;if(ut.chrome&&ut.android&&(i=wde.find(o=>o.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let o=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var a;(((a=window.visualViewport)===null||a===void 0?void 0:a.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return ut.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),ut.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>ms.compositionend(t,e),20),!1};const D7=new Set;function Xit(t){D7.has(t)||(D7.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const L7=["pre-wrap","normal","pre-line","break-spaces"];let dv=!1;function N7(){dv=!1}class Qit{constructor(e){this.lineWrapping=e,this.doc=xn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return L7.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r-1,l=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=s;if(this.lineWrapping=s,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=o,l){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>zC&&(dv=!0),this.height=e)}replace(e,n,r){return fo.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let o=this,a=r.doc;for(let s=i.length-1;s>=0;s--){let{fromA:l,toA:c,fromB:u,toB:f}=i[s],d=o.lineAt(l,Qn.ByPosNoHeight,r.setDoc(n),0,0),h=d.to>=c?d:o.lineAt(c,Qn.ByPosNoHeight,r,0,0);for(f+=h.to-c,c=h.to;s>0&&d.from<=i[s-1].toA;)l=i[s-1].fromA,u=i[s-1].fromB,s--,lo*2){let s=e[n-1];s.break?e.splice(--n,1,s.left,null,s.right):e.splice(--n,1,s.left,s.right),r+=1+s.break,i-=s.size}else if(o>i*2){let s=e[r];s.break?e.splice(r,1,s.left,null,s.right):e.splice(r,1,s.left,s.right),r+=2+s.break,o-=s.size}else break;else if(i=o&&a(this.blockAt(0,r,i,o))}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class la extends kde{constructor(e,n){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,n,r,i){return new El(i,this.length,r,this.height,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof la||i instanceof _i&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof _i?i=new la(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):fo.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(i.heights[i.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class _i extends fo{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,o=i-r+1,a,s=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);a=l/o,this.length>o+1&&(s=(this.height-l)/(this.length-o-1))}else a=this.height/o;return{firstLine:r,lastLine:i,perLine:a,perChar:s}}blockAt(e,n,r,i){let{firstLine:o,lastLine:a,perLine:s,perChar:l}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+(e0){let o=r[r.length-1];o instanceof _i?r[r.length-1]=new _i(o.length+i):r.push(null,new _i(i-1))}if(e>0){let o=r[0];o instanceof _i?r[0]=new _i(e+o.length):r.unshift(new _i(e-1),null)}return fo.of(r)}decomposeLeft(e,n){n.push(new _i(e-1),null)}decomposeRight(e,n){n.push(null,new _i(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let o=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],s=Math.max(n,i.from),l=-1;for(i.from>n&&a.push(new _i(i.from-n-1).updateHeight(e,n));s<=o&&i.more;){let u=e.doc.lineAt(s).length;a.length&&a.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=zC&&(l=-2);let d=new la(u,f);d.outdated=!1,a.push(d),s+=u+1}s<=o&&a.push(null,new _i(o-s).updateHeight(e,s));let c=fo.of(a);return(l<0||Math.abs(c.height-this.height)>=zC||Math.abs(l-this.heightMetrics(e,n).perLine)>=zC)&&(dv=!0),gE(this,c)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Kit extends fo{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let o=r+this.left.height;return es))return c;let u=n==Qn.ByPosNoHeight?Qn.ByPosNoHeight:Qn.ByPos;return l?c.join(this.right.lineAt(s,u,r,a,s)):this.left.lineAt(s,u,r,i,o).join(c)}forEachLine(e,n,r,i,o,a){let s=i+this.left.height,l=o+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,n,r,s,l,a);else{let c=this.lineAt(l,Qn.ByPos,r,i,o);e=e&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,s,l,a)}}replace(e,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let o=[];e>0&&this.decomposeLeft(e,o);let a=o.length;for(let s of r)o.push(s);if(e>0&&$7(o,a-1),n=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e2*n.size||n.size>2*e.size?fo.of(this.break?[e,null,n]:[e,n]):(this.left=gE(this.left,e),this.right=gE(this.right,n),this.setHeight(e.height+n.height),this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:o,right:a}=this,s=n+o.length+this.break,l=null;return i&&i.from<=n+o.length&&i.more?l=o=o.updateHeight(e,n,r,i):o.updateHeight(e,n,r),i&&i.from<=s+a.length&&i.more?l=a=a.updateHeight(e,s,r,i):a.updateHeight(e,s,r),l?this.balanced(o,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function $7(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof _i&&(r=t[e+1])instanceof _i&&t.splice(e-1,3,new _i(n.length+1+r.length))}const Zit=5;class E4{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof la?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new la(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e=Zit)&&this.addLineDeco(i,o,a)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new la(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let r=new _i(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof la)return e;let n=new la(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof la)&&!this.isCovered?this.nodes.push(new la(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&f.overflow!="visible"){let d=u.getBoundingClientRect();o=Math.max(o,d.left),a=Math.min(a,d.right),s=Math.max(s,d.top),l=Math.min(c==t.parentNode?i.innerHeight:l,d.bottom)}c=f.position=="absolute"||f.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:o-n.left,right:Math.max(o,a)-n.left,top:s-(n.top+e),bottom:Math.max(s,l)-(n.top+e)}}function not(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class jR{constructor(e,n,r){this.from=e,this.to=n,this.size=r}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new Qit(n),this.stateDeco=e.facet(i_).filter(r=>typeof r!="function"),this.heightMap=fo.empty().applyChanges(this.stateDeco,xn.empty,this.heightOracle.setDoc(e.doc),[new rs(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=gt.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:o,to:a})=>i>=o&&i<=a)){let{from:o,to:a}=this.lineBlockAt(i);e.push(new KS(o,a))}}return this.viewports=e.sort((r,i)=>r.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?j7:new P4(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(gx(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(i_).filter(u=>typeof u!="function");let i=e.changedRanges,o=rs.extendWithRanges(i,Jit(r,this.stateDeco,e?e.changes:Zr.empty(this.state.doc.length))),a=this.heightMap.height,s=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);N7(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),(this.heightMap.height!=a||dv)&&(e.flags|=2),s?(this.scrollAnchorPos=e.changes.mapPos(s.from,-1),this.scrollAnchorHeight=s.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(fde)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,o=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?rr.RTL:rr.LTR;let a=this.heightOracle.mustRefreshForWrapping(o),s=n.getBoundingClientRect(),l=a||this.mustMeasureContent||this.contentDOMHeight!=s.height;this.contentDOMHeight=s.height,this.mustMeasureContent=!1;let c=0,u=0;if(s.width&&s.height){let{scaleX:b,scaleY:_}=Ffe(n,s);(b>.005&&Math.abs(this.scaleX-b)>.005||_>.005&&Math.abs(this.scaleY-_)>.005)&&(this.scaleX=b,this.scaleY=_,c|=8,a=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=zfe(e.scrollDOM);let p=(this.printing?not:tot)(n,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let y=s.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=s.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),l){let b=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(b)&&(a=!0),a||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:_,charWidth:S,textHeight:O}=e.docView.measureTextSize();a=_>0&&i.refresh(o,_,S,O,y/S,b),a&&(e.docView.minWidth=0,c|=8)}m>0&&g>0?u=Math.max(m,g):m<0&&g<0&&(u=Math.min(m,g)),N7();for(let _ of this.viewports){let S=_.from==this.viewport.from?b:e.docView.measureVisibleLineHeights(_);this.heightMap=(a?fo.empty().applyChanges(this.stateDeco,xn.empty,this.heightOracle,[new rs(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new Yit(_.from,S))}dv&&(c|=2)}let x=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return x&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||x)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,o=this.heightOracle,{visibleTop:a,visibleBottom:s}=this,l=new KS(i.lineAt(a-r*1e3,Qn.ByHeight,o,0,0).from,i.lineAt(s+(1-r)*1e3,Qn.ByHeight,o,0,0).to);if(n){let{head:c}=n.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,Qn.ByPos,o,0,0),d;n.y=="center"?d=(f.top+f.bottom)/2-u/2:n.y=="start"||n.y=="nearest"&&c=s+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&o>1,a=i<<1;if(this.defaultTextDirection!=rr.LTR&&!r)return[];let s=[],l=(u,f,d,h)=>{if(f-uu&&vv.from>=d.from&&v.to<=d.to&&Math.abs(v.from-u)v.fromy));if(!g){if(fv.from<=f&&v.to>=f)){let v=n.moveToLineBoundary(je.cursor(f),!1,!0).head;v>u&&(f=v)}g=new jR(u,f,this.gapSize(d,u,f,h))}s.push(g)},c=u=>{if(u.lengthu.from&&l(u.from,h,u,f),pn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];sn.spans(e,this.viewport.from,this.viewport.to,{span(i,o){n.push({from:i,to:o})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,o)=>i.from!=n[o].from||i.to!=n[o].to);return this.visibleRanges=n,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||gx(this.heightMap.lineAt(e,Qn.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=e&&n.bottom>=e)||gx(this.heightMap.lineAt(this.scaler.fromDOM(e),Qn.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return gx(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class KS{constructor(e,n){this.from=e,this.to=n}}function iot(t,e,n){let r=[],i=t,o=0;return sn.spans(n,t,e,{span(){},point(a,s){a>i&&(r.push({from:i,to:a}),o+=a-i),i=s}},20),i=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:o,to:a}=e[i],s=a-o;if(r<=s)return o+r;r-=s}}function JS(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}function oot(t,e){for(let n of t)if(e(n))return n}const j7={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};class P4{constructor(e,n,r){let i=0,o=0,a=0;this.viewports=r.map(({from:s,to:l})=>{let c=n.lineAt(s,Qn.ByPos,e,0,0).top,u=n.lineAt(l,Qn.ByPos,e,0,0).bottom;return i+=u-c,{from:s,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let s of this.viewports)s.domTop=a+(s.top-o)*this.scale,a=s.domBottom=s.domTop+(s.bottom-s.top),o=s.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let o=nn.from==e.viewports[r].from&&n.to==e.viewports[r].to):!1}}function gx(t,e){if(e.scale==1)return t;let n=e.toDOM(t.top),r=e.toDOM(t.bottom);return new El(t.from,t.length,n,r-n,Array.isArray(t._content)?t._content.map(i=>gx(i,e)):t._content)}const eO=ct.define({combine:t=>t.join(" ")}),kN=ct.define({combine:t=>t.indexOf(!0)>-1}),AN=od.newName(),Ade=od.newName(),Rde=od.newName(),Ide={"&light":"."+Ade,"&dark":"."+Rde};function RN(t,e,n){return new od(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}const aot=RN("."+AN,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Ide),sot={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},BR=ut.ie&&ut.ie_version<=11;class lot{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Hrt,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(ut.ie&&ut.ie_version<=11||ut.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(ut.chrome&&ut.chrome_version<126)&&(this.editContext=new uot(e),e.state.facet(pf)&&(e.contentDOM.editContext=this.editContext.editContext)),BR&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(pf)?r.root.activeElement!=this.dom:!jC(r.dom,i))return;let o=i.anchorNode&&r.docView.nearest(i.anchorNode);if(o&&o.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(ut.ie&&ut.ie_version<=11||ut.android&&ut.chrome)&&!r.state.selection.main.empty&&i.focusNode&&tb(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=r_(e.root);if(!n)return!1;let r=ut.safari&&e.root.nodeType==11&&Urt(this.dom.ownerDocument)==this.dom&&cot(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=jC(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&Ag(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let o of e){let a=this.readMutation(o);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&jC(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new Eit(this.view,e,n,r);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=_de(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!n.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.flags|=4),e.type=="childList"){let r=B7(n,e.previousSibling||e.target.previousSibling,-1),i=B7(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(pf)!=e.state.facet(pf)&&(e.view.contentDOM.editContext=e.state.facet(pf)?this.editContext.editContext:null))}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function B7(t,e,n){for(;e;){let r=Ln.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}function z7(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return tb(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function cot(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return z7(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?z7(t,n):null}class uot{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(e.state);let n=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:i}=e.state.selection.main,o={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:xn.of(r.text.split(` -`))};o.from==this.from&&ithis.to&&(o.to=i),!(o.from==o.to&&!o.insert.length)&&(this.pendingContextChange=o,e.state.readOnly||T4(e,o,je.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)))},this.handlers.characterboundsupdate=r=>{let i=[],o=null;for(let a=this.toEditorPos(r.rangeStart),s=this.toEditorPos(r.rangeEnd);a{let i=[];for(let o of r.getTextFormats()){let a=o.underlineStyle,s=o.underlineThickness;if(a!="None"&&s!="None"){let l=`text-decoration: underline ${a=="Dashed"?"dashed ":a=="Squiggle"?"wavy ":""}${s=="Thin"?1:2}px`;i.push(gt.mark({attributes:{style:l}}).range(this.toEditorPos(o.rangeStart),this.toEditorPos(o.rangeEnd)))}}e.dispatch({effects:hde.of(gt.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let i=r_(r.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let n=0,r=!1,i=this.pendingContextChange;return e.changes.iterChanges((o,a,s,l,c)=>{if(r)return;let u=c.length-(a-o);if(i&&a>=i.to)if(i.from==o&&i.to==a&&i.insert.eq(c)){i=this.pendingContextChange=null,n+=u,this.to+=u;return}else i=null,this.revertPending(e.state);if(o+=n,a+=n,a<=this.from)this.from+=u,this.to+=u;else if(othis.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(a),c.toString()),this.to+=u}n+=u}),i&&!r&&this.revertPending(e.state),!r}update(e){let n=this.pendingContextChange;!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet||n)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:n}=e.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(e.doc.length,n+1e4)}revertPending(e){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),e.doc.sliceString(n.from,n.to))}setSelection(e){let{main:n}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),i=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(r,i)}rangeIsValid(e){let{head:n}=e.selection.main;return!(this.from>0&&n-this.from<500||this.to1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class rt{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(o=>r(o,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||qrt(e.parent)||document,this.viewState=new F7(e.state||en.create(e)),e.scrollTo&&e.scrollTo.is(XS)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(hx).map(i=>new NR(i));for(let i of this.plugins)i.update(this);this.observer=new lot(this),this.inputState=new Rit(this),this.inputState.ensureHandlers(this.plugins),this.docView=new x7(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let n=e.length==1&&e[0]instanceof Ur?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let a=this.hasFocus,s=0,l=null;e.some(d=>d.annotation(Ede))?(this.inputState.notifiedFocused=a,s=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,l=Pde(o,a),l||(s=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(u=null)):this.observer.clear(),o.facet(en.phrases)!=this.state.facet(en.phrases))return this.setState(o);i=mE.create(this,o,e),i.flags|=s;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:h}=d.state.selection;f=new Rg(h.empty?h:je.cursor(h.head,h.head>h.anchor?-1:1))}for(let h of d.effects)h.is(XS)&&(f=h.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=vE.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(px)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(eO)!=i.state.facet(eO)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let d of this.state.facet(TN))try{d(i)}catch(h){Ao(this.state,h,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!_de(this,u)&&c.force&&Ag(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new F7(e),this.plugins=e.facet(hx).map(r=>new NR(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new x7(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(hx),r=e.state.facet(hx);if(n!=r){let i=[];for(let o of r){let a=n.indexOf(o);if(a<0)i.push(new NR(o));else{let s=this.plugins[a];s.mustUpdate=e,i.push(s)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let s=0;;s++){if(a<0)if(zfe(r))o=-1,a=this.viewState.heightMap.height;else{let h=this.viewState.scrollAnchorAt(i);o=h.from,a=h.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(s>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(h=>{try{return h.read(this)}catch(p){return Ao(this.state,p),U7}}),f=mE.create(this,this.state,[]),d=!1;f.flags|=l,n?n.flags|=l:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let h=0;h1||p<-1){i=i+p,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let s of this.state.facet(TN))s(n)}get themeClasses(){return AN+" "+(this.state.facet(kN)?Rde:Ade)+" "+this.state.facet(eO)}updateAttrs(){let e=W7(this,pde,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(pf)?"true":"false",class:"cm-content",style:`${ut.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),W7(this,O4,n);let r=this.observer.ignore(()=>{let i=bN(this.contentDOM,this.contentAttrs,n),o=bN(this.dom,this.editorAttrs,e);return i||o});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(rt.announce)){n&&(this.announceDOM.textContent=""),n=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(px);let e=this.state.facet(rt.cspNonce);od.mount(this.root,this.styleModules.concat(aot).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;nr.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return FR(this,e,O7(this,e,n,r))}moveByGroup(e,n){return FR(this,e,O7(this,e,n,r=>Sit(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),o=r[n?r.length-1:0];return je.cursor(o.side(n,i)+e.from,o.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return wit(this,e,n,r)}moveVertically(e,n,r){return FR(this,e,Oit(this,e,n,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),bde(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),o=this.bidiSpans(i),a=o[Tf.find(o,e-i.from,-1,n)];return pw(r,a.dir==rr.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(ude)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>fot)return nde(e.length);let n=this.textDirectionAt(e.from),r;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==n&&(o.fresh||tde(o.isolates,r=y7(this,e))))return o.order;r||(r=y7(this,e));let i=ait(e.text,n,r);return this.bidiCache.push(new vE(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||ut.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{jfe(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return XS.of(new Rg(typeof e=="number"?je.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return XS.of(new Rg(je.cursor(r.from),"start","start",r.top-e,n,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return kr.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return kr.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=od.newName(),i=[eO.of(r),px.of(RN(`.${r}`,e))];return n&&n.dark&&i.push(kN.of(!0)),i}static baseTheme(e){return Ed.lowest(px.of(RN("."+AN,e,Ide)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&Ln.get(r)||Ln.get(e);return((n=i==null?void 0:i.rootView)===null||n===void 0?void 0:n.view)||null}}rt.styleModule=px;rt.inputHandler=lde;rt.scrollHandler=dde;rt.focusChangeEffect=cde;rt.perLineTextDirection=ude;rt.exceptionSink=sde;rt.updateListener=TN;rt.editable=pf;rt.mouseSelectionStyle=ade;rt.dragMovesSelection=ode;rt.clickAddsSelectionRange=ide;rt.decorations=i_;rt.outerDecorations=mde;rt.atomicRanges=C4;rt.bidiIsolatedRanges=gde;rt.scrollMargins=vde;rt.darkTheme=kN;rt.cspNonce=ct.define({combine:t=>t.length?t[0]:""});rt.contentAttributes=O4;rt.editorAttributes=pde;rt.lineWrapping=rt.contentAttributes.of({class:"cm-lineWrapping"});rt.announce=Rt.define();const fot=4096,U7={};class vE{constructor(e,n,r,i,o,a){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=o,this.order=a}static update(e,n){if(n.empty&&!e.some(o=>o.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:rr.LTR;for(let o=Math.max(0,e.length-10);o=0;i--){let o=r[i],a=typeof o=="function"?o(t):o;a&&xN(a,n)}return n}const dot=ut.mac?"mac":ut.windows?"win":ut.linux?"linux":"key";function hot(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,o,a,s;for(let l=0;lr.concat(i),[]))),n}function mot(t,e,n){return Lde(Dde(t.state),e,t,n)}let mf=null;const got=4e3;function vot(t,e=dot){let n=Object.create(null),r=Object.create(null),i=(a,s)=>{let l=r[a];if(l==null)r[a]=s;else if(l!=s)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},o=(a,s,l,c,u)=>{var f,d;let h=n[a]||(n[a]=Object.create(null)),p=s.split(/ (?!$)/).map(v=>hot(v,e));for(let v=1;v{let b=mf={view:x,prefix:y,scope:a};return setTimeout(()=>{mf==b&&(mf=null)},got),!0}]})}let m=p.join(" ");i(m,!1);let g=h[m]||(h[m]={preventDefault:!1,stopPropagation:!1,run:((d=(f=h._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let a of t){let s=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of s){let u=n[c]||(n[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=a;for(let d in u)u[d].run.push(h=>f(h,IN))}let l=a[e]||a.key;if(l)for(let c of s)o(c,l,a.run,a.preventDefault,a.stopPropagation),a.shift&&o(c,"Shift-"+l,a.shift,a.preventDefault,a.stopPropagation)}return n}let IN=null;function Lde(t,e,n,r){IN=e;let i=zrt(e),o=Ci(i,0),a=Ha(o)==i.length&&i!=" ",s="",l=!1,c=!1,u=!1;mf&&mf.view==n&&mf.scope==r&&(s=mf.prefix+" ",Sde.indexOf(e.keyCode)<0&&(c=!0,mf=null));let f=new Set,d=g=>{if(g){for(let v of g.run)if(!f.has(v)&&(f.add(v),v(n)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},h=t[r],p,m;return h&&(d(h[s+tO(i,e,!a)])?l=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(ut.windows&&e.ctrlKey&&e.altKey)&&(p=ad[e.keyCode])&&p!=i?(d(h[s+tO(p,e,!0)])||e.shiftKey&&(m=n_[e.keyCode])!=i&&m!=p&&d(h[s+tO(m,e,!1)]))&&(l=!0):a&&e.shiftKey&&d(h[s+tO(i,e,!0)])&&(l=!0),!l&&d(h._any)&&(l=!0)),c&&(l=!0),l&&u&&e.stopPropagation(),IN=null,l}class yw{constructor(e,n,r,i,o){this.className=e,this.left=n,this.top=r,this.width=i,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let o=Nde(e);return[new yw(n,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}else return yot(e,n,r)}}function Nde(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==rr.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function G7(t,e,n,r){let i=t.coordsAtPos(e,n*2);if(!i)return r;let o=t.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,s=t.posAtCoords({x:o.left+1,y:a}),l=t.posAtCoords({x:o.right-1,y:a});return s==null||l==null?r:{from:Math.max(r.from,Math.min(s,l)),to:Math.min(r.to,Math.max(s,l))}}function yot(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),o=t.textDirection==rr.LTR,a=t.contentDOM,s=a.getBoundingClientRect(),l=Nde(t),c=a.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),f=s.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),d=s.right-(u?parseInt(u.paddingRight):0),h=PN(t,r),p=PN(t,i),m=h.type==uo.Text?h:null,g=p.type==uo.Text?p:null;if(m&&(t.lineWrapping||h.widgetLineBreaks)&&(m=G7(t,r,1,m)),g&&(t.lineWrapping||p.widgetLineBreaks)&&(g=G7(t,i,-1,g)),m&&g&&m.from==g.from&&m.to==g.to)return y(x(n.from,n.to,m));{let _=m?x(n.from,null,m):b(h,!1),S=g?x(null,n.to,g):b(p,!0),O=[];return(m||h).to<(g||p).from-(m&&g?1:0)||h.widgetLineBreaks>1&&_.bottom+t.defaultLineHeight/2P&&T.from=z)break;$>L&&I(Math.max(W,L),_==null&&W<=P,Math.min($,z),S==null&&$>=R,U.dir)}if(L=B.to+1,L>=z)break}return k.length==0&&I(P,_==null,R,S==null,t.textDirection),{top:C,bottom:E,horizontal:k}}function b(_,S){let O=s.top+(S?_.top:_.bottom);return{top:O,bottom:O,horizontal:[]}}}function xot(t,e){return t.constructor==e.constructor&&t.eq(e)}class bot{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(UC)!=e.state.facet(UC)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(UC);for(;n!xot(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const UC=ct.define();function $de(t){return[kr.define(e=>new bot(e,t)),UC.of(t)]}const Fde=!ut.ios,o_=ct.define({combine(t){return cc(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function _ot(t={}){return[o_.of(t),wot,Sot,Oot,fde.of(!0)]}function jde(t){return t.startState.facet(o_)!=t.state.facet(o_)}const wot=$de({above:!0,markers(t){let{state:e}=t,n=e.facet(o_),r=[];for(let i of e.selection.ranges){let o=i==e.selection.main;if(i.empty?!o||Fde:n.drawRangeCursor){let a=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",s=i.empty?i:je.cursor(i.head,i.head>i.anchor?-1:1);for(let l of yw.forRange(t,a,s))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=jde(t);return n&&H7(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){H7(e.state,t)},class:"cm-cursorLayer"});function H7(t,e){e.style.animationDuration=t.facet(o_).cursorBlinkRate+"ms"}const Sot=$de({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:yw.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||jde(t)},class:"cm-selectionLayer"}),DN={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};Fde&&(DN[".cm-line"].caretColor=DN[".cm-content"].caretColor="transparent !important");const Oot=Ed.highest(rt.theme(DN)),Bde=Rt.define({map(t,e){return t==null?null:e.mapPos(t)}}),vx=mi.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,r)=>r.is(Bde)?r.value:n,t)}}),Cot=kr.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(vx);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(vx)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(vx),n=e!=null&&t.coordsAtPos(e);if(!n)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:n.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:n.bottom-n.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:n}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/n+"px",this.cursor.style.height=t.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(vx)!=t&&this.view.dispatch({effects:Bde.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Tot(){return[vx,Cot]}function q7(t,e,n,r,i){e.lastIndex=0;for(let o=t.iterRange(n,r),a=n,s;!o.next().done;a+=o.value.length)if(!o.lineBreak)for(;s=e.exec(o.value);)i(a+s.index,s)}function Eot(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let r=[];for(let{from:i,to:o}of n)i=Math.max(t.state.doc.lineAt(i).from,i-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),r.length&&r[r.length-1].to>=i?r[r.length-1].to=o:r.push({from:i,to:o});return r}class Pot{constructor(e){const{regexp:n,decoration:r,decorate:i,boundary:o,maxLength:a=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(s,l,c,u)=>i(u,c,c+s[0].length,s,l);else if(typeof r=="function")this.addMatch=(s,l,c,u)=>{let f=r(s,l,c);f&&u(c,c+s[0].length,f)};else if(r)this.addMatch=(s,l,c,u)=>u(c,c+s[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=a}createDeco(e){let n=new id,r=n.add.bind(n);for(let{from:i,to:o}of Eot(e,this.maxLength))q7(e.state.doc,this.regexp,i,o,(a,s)=>this.addMatch(s,e,a,r));return n.finish()}updateDeco(e,n){let r=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((o,a,s,l)=>{l>e.view.viewport.from&&s1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,n.map(e.changes),r,i):n}updateRange(e,n,r,i){for(let o of e.visibleRanges){let a=Math.max(o.from,r),s=Math.min(o.to,i);if(s>a){let l=e.state.doc.lineAt(a),c=l.tol.from;a--)if(this.boundary.test(l.text[a-1-l.from])){u=a;break}for(;sd.push(v.range(m,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(h=this.regexp.exec(l.text))&&h.indexthis.addMatch(g,e,m,p));n=n.update({filterFrom:u,filterTo:f,filter:(m,g)=>mf,add:d})}}return n}}const LN=/x/.unicode!=null?"gu":"g",Mot=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,LN),kot={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let zR=null;function Aot(){var t;if(zR==null&&typeof document<"u"&&document.body){let e=document.body.style;zR=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return zR||!1}const WC=ct.define({combine(t){let e=cc(t,{render:null,specialChars:Mot,addSpecialChars:null});return(e.replaceTabs=!Aot())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,LN)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,LN)),e}});function Rot(t={}){return[WC.of(t),Iot()]}let X7=null;function Iot(){return X7||(X7=kr.fromClass(class{constructor(t){this.view=t,this.decorations=gt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(WC)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Pot({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:i}=n.state,o=Ci(e[0],0);if(o==9){let a=i.lineAt(r),s=n.state.tabSize,l=Py(a.text,s,r-a.from);return gt.replace({widget:new $ot((s-l%s)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=gt.replace({widget:new Not(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(WC);t.startState.facet(WC)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Dot="•";function Lot(t){return t>=32?Dot:t==10?"␤":String.fromCharCode(9216+t)}class Not extends uc{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=Lot(this.code),r=e.state.phrase("Control character")+" "+(kot[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let o=document.createElement("span");return o.textContent=n,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class $ot extends uc{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function Fot(){return Bot}const jot=gt.line({class:"cm-activeLine"}),Bot=kr.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(jot.range(i.from)),e=i.from)}return gt.set(n)}},{decorations:t=>t.decorations});class zot extends uc{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let n=e.firstChild?cv(e.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(e.parentNode),i=pw(n[0],r.direction!="rtl"),o=parseInt(r.lineHeight);return i.bottom-i.top>o*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+o}:i}ignoreEvent(){return!1}}function Uot(t){return kr.fromClass(class{constructor(e){this.view=e,this.placeholder=t?gt.set([gt.widget({widget:new zot(t),side:1}).range(0)]):gt.none}get decorations(){return this.view.state.doc.length?gt.none:this.placeholder}},{decorations:e=>e.decorations})}const NN=2e3;function Wot(t,e,n){let r=Math.min(e.line,n.line),i=Math.max(e.line,n.line),o=[];if(e.off>NN||n.off>NN||e.col<0||n.col<0){let a=Math.min(e.off,n.off),s=Math.max(e.off,n.off);for(let l=r;l<=i;l++){let c=t.doc.line(l);c.length<=s&&o.push(je.range(c.from+a,c.to+s))}}else{let a=Math.min(e.col,n.col),s=Math.max(e.col,n.col);for(let l=r;l<=i;l++){let c=t.doc.line(l),u=dN(c.text,a,t.tabSize,!0);if(u<0)o.push(je.cursor(c.to));else{let f=dN(c.text,s,t.tabSize);o.push(je.range(c.from+u,c.from+f))}}}return o}function Vot(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function Q7(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),i=n-r.from,o=i>NN?-1:i==r.length?Vot(t,e.clientX):Py(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function Got(t,e){let n=Q7(t,e),r=t.state.selection;return n?{update(i){if(i.docChanged){let o=i.changes.mapPos(i.startState.doc.line(n.line).from),a=i.state.doc.lineAt(o);n={line:a.number,col:n.col,off:Math.min(n.off,a.length)},r=r.map(i.changes)}},get(i,o,a){let s=Q7(t,i);if(!s)return r;let l=Wot(t.state,n,s);return l.length?a?je.create(l.concat(r.ranges)):je.create(l):r}}:null}function Hot(t){let e=n=>n.altKey&&n.button==0;return rt.mouseSelectionStyle.of((n,r)=>e(r)?Got(n,r):null)}const qot={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},Xot={style:"cursor: crosshair"};function Qot(t={}){let[e,n]=qot[t.key||"Alt"],r=kr.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||n(i))},keyup(i){(i.keyCode==e||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,rt.contentAttributes.of(i=>{var o;return!((o=i.plugin(r))===null||o===void 0)&&o.isDown?Xot:null})]}const R0="-10000px";class zde{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(a=>a);let o=null;this.tooltipViews=this.tooltips.map(a=>o=r(a,o))}update(e,n){var r;let i=e.state.facet(this.facet),o=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let a=[],s=n?[]:null;for(let l=0;ln[c]=l),n.length=s.length),this.input=i,this.tooltips=o,this.tooltipViews=a,!0}}function Yot(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const UR=ct.define({combine:t=>{var e,n,r;return{position:ut.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||Yot}}}),Y7=new WeakMap,M4=kr.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(UR);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new zde(t,k4,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(UR);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.appendChild(i)}return n.dom.style.position=this.position,n.dom.style.top=R0,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(ut.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==R0&&i.style.left=="0px"){let o=i.getBoundingClientRect();r=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:n}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((i,o)=>{let a=this.manager.tooltipViews[o];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(UR).tooltipSpace(this.view),scaleX:e,scaleY:n,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let s of this.manager.tooltipViews)s.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:o}=t,a=[];for(let s=0;s=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){u.style.top=R0;continue}let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,m=d.right-d.left,g=(e=Y7.get(c))!==null&&e!==void 0?e:d.bottom-d.top,v=c.offset||Zot,y=this.view.textDirection==rr.LTR,x=d.width>r.right-r.left?y?r.left:r.right-d.width:y?Math.max(r.left,Math.min(f.left-(h?14:0)+v.x,r.right-m)):Math.min(Math.max(r.left,f.left-m+(h?14:0)-v.x),r.right-m),b=this.above[s];!l.strictSide&&(b?f.top-(d.bottom-d.top)-v.yr.bottom)&&b==r.bottom-f.bottom>f.top-r.top&&(b=this.above[s]=!b);let _=(b?f.top-r.top:r.bottom-f.bottom)-p;if(_x&&C.topS&&(S=b?C.top-g-2-p:C.bottom+p+2);if(this.position=="absolute"?(u.style.top=(S-t.parent.top)/o+"px",u.style.left=(x-t.parent.left)/i+"px"):(u.style.top=S/o+"px",u.style.left=x/i+"px"),h){let C=f.left+(y?v.x:-v.x)-(x+14-7);h.style.left=C/i+"px"}c.overlap!==!0&&a.push({left:x,top:S,right:O,bottom:S+g}),u.classList.toggle("cm-tooltip-above",b),u.classList.toggle("cm-tooltip-below",!b),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=R0}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Kot=rt.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Zot={x:0,y:0},k4=ct.define({enables:[M4,Kot]}),yE=ct.define({combine:t=>t.reduce((e,n)=>e.concat(n),[])});class Y2{static create(e){return new Y2(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new zde(e,yE,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(e,n){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let n of this.manager.tooltipViews)n.mount&&n.mount(e);this.mounted=!0}positioned(e){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let n of this.manager.tooltipViews)(e=n.destroy)===null||e===void 0||e.call(n)}passProp(e){let n;for(let r of this.manager.tooltipViews){let i=r[e];if(i!==void 0){if(n===void 0)n=i;else if(n!==i)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Jot=k4.compute([yE],t=>{let e=t.facet(yE);return e.length===0?null:{pos:Math.min(...e.map(n=>n.pos)),end:Math.max(...e.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:Y2.create,above:e[0].above,arrow:e.some(n=>n.arrow)}});class eat{constructor(e,n,r,i,o){this.view=e,this.source=n,this.field=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;es.bottom||n.xs.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(i)).find(u=>u.from<=i&&u.to>=i),c=l&&l.dir==rr.RTL?-1:1;o=n.x{this.pending==s&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>Ao(e.state,l,"hover tooltip"))}else a&&!(Array.isArray(a)&&!a.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(a)?a:[a])})}get tooltip(){let e=this.view.plugin(M4),n=e?e.manager.tooltips.findIndex(r=>r.create==Y2.create):-1;return n>-1?e.manager.tooltipViews[n]:null}mousemove(e){var n,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:o}=this;if(i.length&&o&&!tat(o.dom,e)||this.pending){let{pos:a}=i[0]||this.pending,s=(r=(n=i[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:a;(a==s?this.view.posAtCoords(this.lastMove)!=a:!nat(this.view,a,s,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length){let{tooltip:r}=this;r&&r.dom.contains(e.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let n=r=>{e.removeEventListener("mouseleave",n),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const nO=4;function tat(t,e){let n=t.getBoundingClientRect();return e.clientX>=n.left-nO&&e.clientX<=n.right+nO&&e.clientY>=n.top-nO&&e.clientY<=n.bottom+nO}function nat(t,e,n,r,i,o){let a=t.scrollDOM.getBoundingClientRect(),s=t.documentTop+t.documentPadding.top+t.contentHeight;if(a.left>r||a.righti||Math.min(a.bottom,s)=e&&l<=n}function rat(t,e={}){let n=Rt.define(),r=mi.define({create(){return[]},update(i,o){if(i.length&&(e.hideOnChange&&(o.docChanged||o.selection)?i=[]:e.hideOn&&(i=i.filter(a=>!e.hideOn(o,a))),o.docChanged)){let a=[];for(let s of i){let l=o.changes.mapPos(s.pos,-1,Pi.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),s);c.pos=l,c.end!=null&&(c.end=o.changes.mapPos(c.end)),a.push(c)}}i=a}for(let a of o.effects)a.is(n)&&(i=a.value),a.is(iat)&&(i=[]);return i},provide:i=>yE.from(i)});return{active:r,extension:[r,kr.define(i=>new eat(i,t,r,n,e.hoverTime||300)),Jot]}}function Ude(t,e){let n=t.plugin(M4);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}const iat=Rt.define(),K7=ct.define({combine(t){let e,n;for(let r of t)e=e||r.topContainer,n=n||r.bottomContainer;return{topContainer:e,bottomContainer:n}}});function a_(t,e){let n=t.plugin(Wde),r=n?n.specs.indexOf(e):-1;return r>-1?n.panels[r]:null}const Wde=kr.fromClass(class{constructor(t){this.input=t.state.facet(s_),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(K7);this.top=new rO(t,!0,e.topContainer),this.bottom=new rO(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(K7);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new rO(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new rO(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(s_);if(n!=this.input){let r=n.filter(l=>l),i=[],o=[],a=[],s=[];for(let l of r){let c=this.specs.indexOf(l),u;c<0?(u=l(t.view),s.push(u)):(u=this.panels[c],u.update&&u.update(t)),i.push(u),(u.top?o:a).push(u)}this.specs=r,this.panels=i,this.top.sync(o),this.bottom.sync(a);for(let l of s)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>rt.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class rO{constructor(e,n,r){this.view=e,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=Z7(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=Z7(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Z7(t){let e=t.nextSibling;return t.remove(),e}const s_=ct.define({enables:Wde});class gu extends sp{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}gu.prototype.elementClass="";gu.prototype.toDOM=void 0;gu.prototype.mapMode=Pi.TrackBefore;gu.prototype.startSide=gu.prototype.endSide=-1;gu.prototype.point=!0;const VC=ct.define(),oat=ct.define(),aat={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>sn.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},rb=ct.define();function sat(t){return[Vde(),rb.of(Object.assign(Object.assign({},aat),t))]}const J7=ct.define({combine:t=>t.some(e=>e)});function Vde(t){return[lat]}const lat=kr.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(rb).map(e=>new tq(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(J7),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(J7)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=sn.iter(this.view.state.facet(VC),this.view.viewport.from),r=[],i=this.gutters.map(o=>new cat(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let a=!0;for(let s of o.type)if(s.type==uo.Text&&a){$N(n,r,s.from);for(let l of i)l.line(this.view,s,r);a=!1}else if(s.widget)for(let l of i)l.widget(this.view,s)}else if(o.type==uo.Text){$N(n,r,o.from);for(let a of i)a.line(this.view,o,r)}else if(o.widget)for(let a of i)a.widget(this.view,o);for(let o of i)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(rb),n=t.state.facet(rb),r=t.docChanged||t.heightChanged||t.viewportChanged||!sn.eq(t.startState.facet(VC),t.state.facet(VC),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let o of n){let a=e.indexOf(o);a<0?i.push(new tq(this.view,o)):(this.gutters[a].update(t),i.push(this.gutters[a]))}for(let o of this.gutters)o.dom.remove(),i.indexOf(o)<0&&o.destroy();for(let o of i)this.dom.appendChild(o.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>rt.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==rr.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}})});function eq(t){return Array.isArray(t)?t:[t]}function $N(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class cat{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=sn.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,o=(n.top-this.height)/e.scaleY,a=n.height/e.scaleY;if(this.i==i.elements.length){let s=new Gde(e,a,o,r);i.elements.push(s),i.dom.appendChild(s.dom)}else i.elements[this.i].update(e,a,o,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];$N(this.cursor,i,n.from),r.length&&(i=i.concat(r));let o=this.gutter.config.lineMarker(e,n,i);o&&i.unshift(o);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n),i=r?[r]:null;for(let o of e.state.facet(oat)){let a=o(e,n.widget,n);a&&(i||(i=[])).push(a)}i&&this.addElement(e,n,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class tq{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let o=i.target,a;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();a=(l.top+l.bottom)/2}else a=i.clientY;let s=e.lineBlockAtHeight(a-e.documentTop);n.domEventHandlers[r](e,s,i)&&i.preventDefault()});this.markers=eq(n.markers(e)),n.initialSpacer&&(this.spacer=new Gde(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=eq(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!sn.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class Gde{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),uat(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let o=0,a=0;;){let s=a,l=oo(s,l,c)||a(s,l,c):a}return r}})}});class WR extends gu{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function VR(t,e){return t.state.facet(ig).formatNumber(e,t.state)}const hat=rb.compute([ig],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(fat)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new WR(VR(e,e.state.doc.lineAt(n.from).number))},widgetMarker:(e,n,r)=>{for(let i of e.state.facet(dat)){let o=i(e,n,r);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(ig)!=e.state.facet(ig),initialSpacer(e){return new WR(VR(e,nq(e.state.doc.lines)))},updateSpacer(e,n){let r=VR(n.view,nq(n.view.state.doc.lines));return r==e.number?e:new WR(r)},domEventHandlers:t.facet(ig).domEventHandlers}));function pat(t={}){return[ig.of(t),Vde(),hat]}function nq(t){let e=9;for(;e{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(mat.range(i)))}return sn.of(e)});function vat(){return gat}const Hde=1024;let yat=0;class GR{constructor(e,n){this.from=e,this.to=n}}class Vt{constructor(e={}){this.id=yat++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Vo.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}}Vt.closedBy=new Vt({deserialize:t=>t.split(" ")});Vt.openedBy=new Vt({deserialize:t=>t.split(" ")});Vt.group=new Vt({deserialize:t=>t.split(" ")});Vt.isolate=new Vt({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});Vt.contextHash=new Vt({perNode:!0});Vt.lookAhead=new Vt({perNode:!0});Vt.mounted=new Vt({perNode:!0});class xE{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[Vt.mounted.id]}}const xat=Object.create(null);class Vo{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):xat,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new Vo(e.name||"",n,e.id,r);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(i)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[o[0].id]=o[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(Vt.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(Vt.group),o=-1;o<(i?i.length:0);o++){let a=n[o<0?r.name:i[o]];if(a)return a}}}}Vo.none=new Vo("",Object.create(null),0,8);class A4{constructor(e){this.types=e;for(let n=0;n0;for(let l=this.cursor(a|Jr.IncludeAnonymous);;){let c=!1;if(l.from<=o&&l.to>=i&&(!s&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&r&&(s||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:D4(Vo.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new Wr(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new Wr(Vo.none,n,r,i)))}static build(e){return Sat(e)}}Wr.empty=new Wr(Vo.none,[],[],0);class R4{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new R4(this.buffer,this.index)}}class ld{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return Vo.none}toString(){let e=[];for(let n=0;n0));l=a[l+3]);return s}slice(e,n,r){let i=this.buffer,o=new Uint16Array(n-e),a=0;for(let s=e,l=0;s=e&&ne;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function l_(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?s.length:-1;e!=c;e+=n){let u=s[e],f=l[e]+a.from;if(qde(i,r,f,f+u.length)){if(u instanceof ld){if(o&Jr.ExcludeBuffers)continue;let d=u.findChild(0,u.buffer.length,n,r-f,i);if(d>-1)return new Dl(new bat(a,u,e,f),null,d)}else if(o&Jr.IncludeAnonymous||!u.type.isAnonymous||I4(u)){let d;if(!(o&Jr.IgnoreMounts)&&(d=xE.get(u))&&!d.overlay)return new jo(d.tree,f,e,a);let h=new jo(u,f,e,a);return o&Jr.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?u.children.length-1:0,n,r,i)}}}if(o&Jr.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+n:e=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let i;if(!(r&Jr.IgnoreOverlays)&&(i=xE.get(this._tree))&&i.overlay){let o=e-this.from;for(let{from:a,to:s}of i.overlay)if((n>0?a<=o:a=o:s>o))return new jo(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function iq(t,e,n,r){let i=t.cursor(),o=[];if(!i.firstChild())return o;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return o}for(;;){if(r!=null&&i.type.is(r))return o;if(i.type.is(e)&&o.push(i.node),!i.nextSibling())return r==null?o:[]}}function FN(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}class bat{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}}class Dl extends Xde{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return o<0?null:new Dl(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&Jr.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return o<0?null:new Dl(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Dl(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Dl(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,o=r.buffer[this.index+3];if(o>i){let a=r.buffer[this.index+1];e.push(r.slice(i,o,a)),n.push(0)}return new Wr(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Qde(t){if(!t.length)return null;let e=0,n=t[0];for(let o=1;on.from||a.to=e){let s=new jo(a.tree,a.overlay[0].from+o.from,-1,o);(i||(i=[r])).push(l_(s,e,n,!1))}}return i?Qde(i):r}class jN{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof jo)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof jo?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&Jr.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Jr.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Jr.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let o=n+e,a=e<0?-1:r._tree.children.length;o!=a;o+=e){let s=r._tree.children[o];if(this.mode&Jr.IncludeAnonymous||s instanceof ld||!s.type.isAnonymous||I4(s))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=o+1;break e}i=this.stack[--o]}for(let i=r;i=0;o--){if(o<0)return FN(this.node,e,i);let a=r[n.buffer[this.stack[o]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}}function I4(t){return t.children.some(e=>e instanceof ld||!e.type.isAnonymous||I4(e))}function Sat(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=Hde,reused:o=[],minRepeatType:a=r.types.length}=t,s=Array.isArray(n)?new R4(n,n.length):n,l=r.types,c=0,u=0;function f(_,S,O,C,E,k){let{id:I,start:P,end:R,size:T}=s,L=u;for(;T<0;)if(s.next(),T==-1){let $=o[I];O.push($),C.push(P-_);return}else if(T==-3){c=I;return}else if(T==-4){u=I;return}else throw new RangeError(`Unrecognized record size: ${T}`);let z=l[I],B,U,W=P-_;if(R-P<=i&&(U=g(s.pos-S,E))){let $=new Uint16Array(U.size-U.skip),N=s.pos-U.size,D=$.length;for(;s.pos>N;)D=v(U.start,$,D);B=new ld($,R-U.start,r),W=U.start-_}else{let $=s.pos-T;s.next();let N=[],D=[],A=I>=a?I:-1,q=0,Y=R;for(;s.pos>$;)A>=0&&s.id==A&&s.size>=0?(s.end<=Y-i&&(p(N,D,P,q,s.end,Y,A,L),q=N.length,Y=s.end),s.next()):k>2500?d(P,$,N,D):f(P,$,N,D,A,k+1);if(A>=0&&q>0&&q-1&&q>0){let K=h(z);B=D4(z,N,D,0,N.length,0,R-P,K,K)}else B=m(z,N,D,R-P,L-R)}O.push(B),C.push(W)}function d(_,S,O,C){let E=[],k=0,I=-1;for(;s.pos>S;){let{id:P,start:R,end:T,size:L}=s;if(L>4)s.next();else{if(I>-1&&R=0;T-=3)P[L++]=E[T],P[L++]=E[T+1]-R,P[L++]=E[T+2]-R,P[L++]=L;O.push(new ld(P,E[2]-R,r)),C.push(R-_)}}function h(_){return(S,O,C)=>{let E=0,k=S.length-1,I,P;if(k>=0&&(I=S[k])instanceof Wr){if(!k&&I.type==_&&I.length==C)return I;(P=I.prop(Vt.lookAhead))&&(E=O[k]+I.length+P)}return m(_,S,O,C,E)}}function p(_,S,O,C,E,k,I,P){let R=[],T=[];for(;_.length>C;)R.push(_.pop()),T.push(S.pop()+O-E);_.push(m(r.types[I],R,T,k-E,P-k)),S.push(E-O)}function m(_,S,O,C,E=0,k){if(c){let I=[Vt.contextHash,c];k=k?[I].concat(k):[I]}if(E>25){let I=[Vt.lookAhead,E];k=k?[I].concat(k):[I]}return new Wr(_,S,O,C,k)}function g(_,S){let O=s.fork(),C=0,E=0,k=0,I=O.end-i,P={size:0,start:0,skip:0};e:for(let R=O.pos-_;O.pos>R;){let T=O.size;if(O.id==S&&T>=0){P.size=C,P.start=E,P.skip=k,k+=4,C+=4,O.next();continue}let L=O.pos-T;if(T<0||L=a?4:0,B=O.start;for(O.next();O.pos>L;){if(O.size<0)if(O.size==-3)z+=4;else break e;else O.id>=a&&(z+=4);O.next()}E=B,C+=T,k+=z}return(S<0||C==_)&&(P.size=C,P.start=E,P.skip=k),P.size>4?P:void 0}function v(_,S,O){let{id:C,start:E,end:k,size:I}=s;if(s.next(),I>=0&&C4){let R=s.pos-(I-4);for(;s.pos>R;)O=v(_,S,O)}S[--O]=P,S[--O]=k-_,S[--O]=E-_,S[--O]=C}else I==-3?c=C:I==-4&&(u=C);return O}let y=[],x=[];for(;s.pos>0;)f(t.start||0,t.bufferStart||0,y,x,-1,0);let b=(e=t.length)!==null&&e!==void 0?e:y.length?x[0]+y[0].length:0;return new Wr(l[t.topID],y.reverse(),x.reverse(),b)}const oq=new WeakMap;function GC(t,e){if(!t.isAnonymous||e instanceof ld||e.type!=t)return 1;let n=oq.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof Wr)){n=1;break}n+=GC(t,r)}oq.set(e,n)}return n}function D4(t,e,n,r,i,o,a,s,l){let c=0;for(let p=r;p=u)break;S+=O}if(x==b+1){if(S>u){let O=p[b];h(O.children,O.positions,0,O.children.length,m[b]+y);continue}f.push(p[b])}else{let O=m[x-1]+p[x-1].length-_;f.push(D4(t,p,m,b,x,_,O,null,l))}d.push(_+y-o)}}return h(e,n,r,i,0),(s||l)(f,d,a)}class Oat{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof Dl?this.setBuffer(e.context.buffer,e.index,n):e instanceof jo&&this.map.set(e.tree,n)}get(e){return e instanceof Dl?this.getBuffer(e.context.buffer,e.index):e instanceof jo?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Wh{constructor(e,n,r,i,o=!1,a=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(o?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new Wh(0,e.length,e,0,!1,r)];for(let o of n)o.to>e.length&&i.push(o);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],o=1,a=e.length?e[0]:null;for(let s=0,l=0,c=0;;s++){let u=s=r)for(;a&&a.from=d.from||f<=d.to||c){let h=Math.max(d.from,l)-c,p=Math.min(d.to,f)-c;d=h>=p?null:new Wh(h,p,d.tree,d.offset+c,s>0,!!u)}if(d&&i.push(d),a.to>f)break;a=onew GR(i.from,i.to)):[new GR(0,0)]:[new GR(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let o=i.advance();if(o)return o}}}class Cat{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}new Vt({perNode:!0});let Tat=0;class za{constructor(e,n,r,i){this.name=e,this.set=n,this.base=r,this.modified=i,this.id=Tat++}toString(){let{name:e}=this;for(let n of this.modified)n.name&&(e=`${n.name}(${e})`);return e}static define(e,n){let r=typeof e=="string"?e:"?";if(e instanceof za&&(n=e),n!=null&&n.base)throw new Error("Can not derive from a modified tag");let i=new za(r,[],null,[]);if(i.set.push(i),n)for(let o of n.set)i.set.push(o);return i}static defineModifier(e){let n=new bE(e);return r=>r.modified.indexOf(n)>-1?r:bE.get(r.base||r,r.modified.concat(n).sort((i,o)=>i.id-o.id))}}let Eat=0;class bE{constructor(e){this.name=e,this.instances=[],this.id=Eat++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(s=>s.base==e&&Pat(n,s.modified));if(r)return r;let i=[],o=new za(e.name,i,e,n);for(let s of n)s.instances.push(o);let a=Mat(n);for(let s of e.set)if(!s.modified.length)for(let l of a)i.push(bE.get(s,l));return o}}function Pat(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}function Mat(t){let e=[[]];for(let n=0;nr.length-n.length)}function L4(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let o=[],a=2,s=i;for(let f=0;;){if(s=="..."&&f>0&&f+3==i.length){a=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(s);if(!d)throw new RangeError("Invalid path: "+i);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let h=i[f++];if(f==i.length&&h=="!"){a=0;break}if(h!="/")throw new RangeError("Invalid path: "+i);s=i.slice(f)}let l=o.length-1,c=o[l];if(!c)throw new RangeError("Invalid path: "+i);let u=new _E(r,a,l>0?o.slice(0,l):null);e[c]=u.sort(e[c])}}return Kde.add(e)}const Kde=new Vt;class _E{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=i;for(let s of o)for(let l of s.set){let c=n[l.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}function kat(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}function Aat(t,e,n,r=0,i=t.length){let o=new Rat(r,Array.isArray(e)?e:[e],n);o.highlightRange(t.cursor(),r,i,"",o.highlighters),o.flush(i)}class Rat{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,o){let{type:a,from:s,to:l}=e;if(s>=r||l<=n)return;a.isTop&&(o=this.highlighters.filter(h=>!h.scope||h.scope(a)));let c=i,u=Iat(e)||_E.empty,f=kat(o,u.tags);if(f&&(c&&(c+=" "),c+=f,u.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,s),c),u.opaque)return;let d=e.tree&&e.tree.prop(Vt.mounted);if(d&&d.overlay){let h=e.node.enter(d.overlay[0].from+s,1),p=this.highlighters.filter(g=>!g.scope||g.scope(d.tree.type)),m=e.firstChild();for(let g=0,v=s;;g++){let y=g=x||!e.nextSibling())););if(!y||x>r)break;v=y.to+s,v>n&&(this.highlightRange(h.cursor(),Math.max(n,y.from+s),Math.min(r,v),"",p),this.startSpan(Math.min(r,v),c))}m&&e.parent()}else if(e.firstChild()){d&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,o),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}}function Iat(t){let e=t.type.prop(Kde);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const et=za.define,oO=et(),cf=et(),aq=et(cf),sq=et(cf),uf=et(),aO=et(uf),HR=et(uf),dl=et(),Wd=et(dl),ul=et(),fl=et(),BN=et(),I0=et(BN),sO=et(),Ce={comment:oO,lineComment:et(oO),blockComment:et(oO),docComment:et(oO),name:cf,variableName:et(cf),typeName:aq,tagName:et(aq),propertyName:sq,attributeName:et(sq),className:et(cf),labelName:et(cf),namespace:et(cf),macroName:et(cf),literal:uf,string:aO,docString:et(aO),character:et(aO),attributeValue:et(aO),number:HR,integer:et(HR),float:et(HR),bool:et(uf),regexp:et(uf),escape:et(uf),color:et(uf),url:et(uf),keyword:ul,self:et(ul),null:et(ul),atom:et(ul),unit:et(ul),modifier:et(ul),operatorKeyword:et(ul),controlKeyword:et(ul),definitionKeyword:et(ul),moduleKeyword:et(ul),operator:fl,derefOperator:et(fl),arithmeticOperator:et(fl),logicOperator:et(fl),bitwiseOperator:et(fl),compareOperator:et(fl),updateOperator:et(fl),definitionOperator:et(fl),typeOperator:et(fl),controlOperator:et(fl),punctuation:BN,separator:et(BN),bracket:I0,angleBracket:et(I0),squareBracket:et(I0),paren:et(I0),brace:et(I0),content:dl,heading:Wd,heading1:et(Wd),heading2:et(Wd),heading3:et(Wd),heading4:et(Wd),heading5:et(Wd),heading6:et(Wd),contentSeparator:et(dl),list:et(dl),quote:et(dl),emphasis:et(dl),strong:et(dl),link:et(dl),monospace:et(dl),strikethrough:et(dl),inserted:et(),deleted:et(),changed:et(),invalid:et(),meta:sO,documentMeta:et(sO),annotation:et(sO),processingInstruction:et(sO),definition:za.defineModifier("definition"),constant:za.defineModifier("constant"),function:za.defineModifier("function"),standard:za.defineModifier("standard"),local:za.defineModifier("local"),special:za.defineModifier("special")};for(let t in Ce){let e=Ce[t];e instanceof za&&(e.name=t)}Zde([{tag:Ce.link,class:"tok-link"},{tag:Ce.heading,class:"tok-heading"},{tag:Ce.emphasis,class:"tok-emphasis"},{tag:Ce.strong,class:"tok-strong"},{tag:Ce.keyword,class:"tok-keyword"},{tag:Ce.atom,class:"tok-atom"},{tag:Ce.bool,class:"tok-bool"},{tag:Ce.url,class:"tok-url"},{tag:Ce.labelName,class:"tok-labelName"},{tag:Ce.inserted,class:"tok-inserted"},{tag:Ce.deleted,class:"tok-deleted"},{tag:Ce.literal,class:"tok-literal"},{tag:Ce.string,class:"tok-string"},{tag:Ce.number,class:"tok-number"},{tag:[Ce.regexp,Ce.escape,Ce.special(Ce.string)],class:"tok-string2"},{tag:Ce.variableName,class:"tok-variableName"},{tag:Ce.local(Ce.variableName),class:"tok-variableName tok-local"},{tag:Ce.definition(Ce.variableName),class:"tok-variableName tok-definition"},{tag:Ce.special(Ce.variableName),class:"tok-variableName2"},{tag:Ce.definition(Ce.propertyName),class:"tok-propertyName tok-definition"},{tag:Ce.typeName,class:"tok-typeName"},{tag:Ce.namespace,class:"tok-namespace"},{tag:Ce.className,class:"tok-className"},{tag:Ce.macroName,class:"tok-macroName"},{tag:Ce.propertyName,class:"tok-propertyName"},{tag:Ce.operator,class:"tok-operator"},{tag:Ce.comment,class:"tok-comment"},{tag:Ce.meta,class:"tok-meta"},{tag:Ce.invalid,class:"tok-invalid"},{tag:Ce.punctuation,class:"tok-punctuation"}]);var qR;const og=new Vt;function Dat(t){return ct.define({combine:t?e=>e.concat(t):void 0})}const Lat=new Vt;class Hs{constructor(e,n,r=[],i=""){this.data=e,this.name=i,en.prototype.hasOwnProperty("tree")||Object.defineProperty(en.prototype,"tree",{get(){return fi(this)}}),this.parser=n,this.extension=[cd.of(this),en.languageData.of((o,a,s)=>{let l=lq(o,a,s),c=l.type.prop(og);if(!c)return[];let u=o.facet(c),f=l.type.prop(Lat);if(f){let d=l.resolve(a-l.from,s);for(let h of f)if(h.test(d,o)){let p=o.facet(h.facet);return h.type=="replace"?p:p.concat(u)}}return u})].concat(r)}isActiveAt(e,n,r=-1){return lq(e,n,r).type.prop(og)==this.data}findRegions(e){let n=e.facet(cd);if((n==null?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=(o,a)=>{if(o.prop(og)==this.data){r.push({from:a,to:a+o.length});return}let s=o.prop(Vt.mounted);if(s){if(s.tree.prop(og)==this.data){if(s.overlay)for(let l of s.overlay)r.push({from:l.from+a,to:l.to+a});else r.push({from:a,to:a+o.length});return}else if(s.overlay){let l=r.length;if(i(s.tree,s.overlay[0].from+a),r.length>l)return}}for(let l=0;lr.isTop?n:void 0)]}),e.name)}configure(e,n){return new c_(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function fi(t){let e=t.field(Hs.state,!1);return e?e.tree:Wr.empty}class Nat{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}}let D0=null;class wE{constructor(e,n,r=[],i,o,a,s,l){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=o,this.viewport=a,this.skipped=s,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new wE(e,n,[],Wr.empty,0,r,[],null)}startParse(){return this.parser.startParse(new Nat(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=Wr.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(Wh.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=D0;D0=this;try{return e()}finally{D0=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=cq(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:o,viewport:a,skipped:s}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((c,u,f,d)=>l.push({fromA:c,toA:u,fromB:f,toB:d})),r=Wh.applyChanges(r,l),i=Wr.empty,o=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){s=[];for(let c of this.skipped){let u=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);ue.from&&(this.fragments=cq(this.fragments,i,o),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends Yde{createParse(n,r,i){let o=i[0].from,a=i[i.length-1].to;return{parsedPos:o,advance(){let l=D0;if(l){for(let c of i)l.tempSkipped.push(c);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=a,new Wr(Vo.none,[],[],a-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return D0}}function cq(t,e,n){return Wh.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class hv{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new hv(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=wE.create(e.facet(cd).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new hv(r)}}Hs.state=mi.define({create:hv.init,update(t,e){for(let n of e.effects)if(n.is(Hs.setState))return n.value;return e.startState.facet(cd)!=e.state.facet(cd)?hv.init(e.state):t.apply(e)}});let Jde=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Jde=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const XR=typeof navigator<"u"&&(!((qR=navigator.scheduling)===null||qR===void 0)&&qR.isInputPending)?()=>navigator.scheduling.isInputPending():null,$at=kr.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(Hs.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(Hs.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=Jde(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,l=o.context.work(()=>XR&&XR()||Date.now()>a,i+(s?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Hs.setState.of(new hv(o.context))})),this.chunkBudget>0&&!(l&&!s)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>Ao(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),cd=ct.define({combine(t){return t.length?t[0]:null},enables:t=>[Hs.state,$at,rt.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]});class ehe{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}const Fat=ct.define(),xw=ct.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function SE(t){let e=t.facet(xw);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function u_(t,e){let n="",r=t.tabSize,i=t.facet(xw)[0];if(i==" "){for(;e>=r;)n+=" ",e-=r;i=" "}for(let o=0;o=e?jat(t,n,e):null}class K2{constructor(e,n={}){this.state=e,this.options=n,this.unit=SE(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:o}=this.options;return i!=null&&i>=r.from&&i<=r.to?o&&i==e?{text:"",from:e}:(n<0?i-1&&(o+=a-this.countColumn(r,r.search(/\S|$/))),o}countColumn(e,n=e.length){return Py(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),o=this.options.overrideIndentation;if(o){let a=o(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const $4=new Vt;function jat(t,e,n){let r=e.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let o=[];for(let a=i;a!=r.node;a=a.parent)o.push(a);for(let a=o.length-1;a>=0;a--)r={node:o[a],next:r}}return the(r,t,n)}function the(t,e,n){for(let r=t;r;r=r.next){let i=zat(r.node);if(i)return i(F4.create(e,n,r))}return 0}function Bat(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function zat(t){let e=t.type.prop($4);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(Vt.closedBy))){let i=t.lastChild,o=i&&r.indexOf(i.name)>-1;return a=>nhe(a,!0,1,void 0,o&&!Bat(a)?i.from:void 0)}return t.parent==null?Uat:null}function Uat(){return 0}class F4 extends K2{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new F4(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(Wat(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return the(this.context.next,this.base,this.pos)}}function Wat(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function Vat(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,o=t.state.doc.lineAt(n.from),a=i==null||i<=o.from?o.to:Math.min(o.to,i);for(let s=n.to;;){let l=e.childAfter(s);if(!l||l==r)return null;if(!l.type.isSkipped)return l.fromnhe(r,e,n,t)}function nhe(t,e,n,r,i){let o=t.textAfter,a=o.match(/^\s*/)[0].length,s=r&&o.slice(a,a+r.length)==r||i==t.pos+a,l=e?Vat(t):null;return l?s?t.column(l.from):t.column(l.to):t.baseIndent+(s?0:t.unit*n)}function uq({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const Gat=200;function Hat(){return en.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+Gat)return t;let o=n.sliceString(i.from,r);if(!e.some(c=>c.test(o)))return t;let{state:a}=t,s=-1,l=[];for(let{head:c}of a.selection.ranges){let u=a.doc.lineAt(c);if(u.from==s)continue;s=u.from;let f=N4(a,u.from);if(f==null)continue;let d=/^\s*/.exec(u.text)[0],h=u_(a,f);d!=h&&l.push({from:u.from,to:u.from+d.length,insert:h})}return l.length?[t,{changes:l,sequential:!0}]:t})}const qat=ct.define(),j4=new Vt;function rhe(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(o&&s.from=e&&c.to>n&&(o=c)}}return o}function Qat(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function OE(t,e,n){for(let r of t.facet(qat)){let i=r(t,e,n);if(i)return i}return Xat(t,e,n)}function ihe(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}const Z2=Rt.define({map:ihe}),bw=Rt.define({map:ihe});function ohe(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(r=>r.from<=n&&r.to>=n)||e.push(t.lineBlockAt(n));return e}const fp=mi.define({create(){return gt.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(Z2)&&!Yat(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(lhe),i=r?gt.replace({widget:new rst(r(e.state,n.value))}):fq;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(bw)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:r}=e.selection.main;t.between(r,r,(i,o)=>{ir&&(n=!0)}),n&&(t=t.update({filterFrom:r,filterTo:r,filter:(i,o)=>o<=r||i>=r}))}return t},provide:t=>rt.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!i||i.from>o)&&(i={from:o,to:a})}),i}function Yat(t,e,n){let r=!1;return t.between(e,e,(i,o)=>{i==e&&o==n&&(r=!0)}),r}function ahe(t,e){return t.field(fp,!1)?e:e.concat(Rt.appendConfig.of(che()))}const Kat=t=>{for(let e of ohe(t)){let n=OE(t.state,e.from,e.to);if(n)return t.dispatch({effects:ahe(t.state,[Z2.of(n),she(t,n)])}),!0}return!1},Zat=t=>{if(!t.state.field(fp,!1))return!1;let e=[];for(let n of ohe(t)){let r=CE(t.state,n.from,n.to);r&&e.push(bw.of(r),she(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function she(t,e,n=!0){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return rt.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}const Jat=t=>{let{state:e}=t,n=[];for(let r=0;r{let e=t.state.field(fp,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(r,i)=>{n.push(bw.of({from:r,to:i}))}),t.dispatch({effects:n}),!0},tst=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Kat},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Zat},{key:"Ctrl-Alt-[",run:Jat},{key:"Ctrl-Alt-]",run:est}],nst={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},lhe=ct.define({combine(t){return cc(t,nst)}});function che(t){return[fp,ast]}function uhe(t,e){let{state:n}=t,r=n.facet(lhe),i=a=>{let s=t.lineBlockAt(t.posAtDOM(a.target)),l=CE(t.state,s.from,s.to);l&&t.dispatch({effects:bw.of(l)}),a.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}const fq=gt.replace({widget:new class extends uc{toDOM(t){return uhe(t,null)}}});class rst extends uc{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return uhe(e,this.value)}}const ist={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class YR extends gu{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function ost(t={}){let e=Object.assign(Object.assign({},ist),t),n=new YR(e,!0),r=new YR(e,!1),i=kr.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(cd)!=a.state.facet(cd)||a.startState.field(fp,!1)!=a.state.field(fp,!1)||fi(a.startState)!=fi(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let s=new id;for(let l of a.viewportLineBlocks){let c=CE(a.state,l.from,l.to)?r:OE(a.state,l.from,l.to)?n:null;c&&s.add(l.from,l.from,c)}return s.finish()}}),{domEventHandlers:o}=e;return[i,sat({class:"cm-foldGutter",markers(a){var s;return((s=a.plugin(i))===null||s===void 0?void 0:s.markers)||sn.empty},initialSpacer(){return new YR(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(a,s,l)=>{if(o.click&&o.click(a,s,l))return!0;let c=CE(a.state,s.from,s.to);if(c)return a.dispatch({effects:bw.of(c)}),!0;let u=OE(a.state,s.from,s.to);return u?(a.dispatch({effects:Z2.of(u)}),!0):!1}})}),che()]}const ast=rt.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class _w{constructor(e,n){this.specs=e;let r;function i(s){let l=od.newName();return(r||(r=Object.create(null)))["."+l]=s,l}const o=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof Hs?s=>s.prop(og)==a.data:a?s=>s==a:void 0,this.style=Zde(e.map(s=>({tag:s.tag,class:s.class||i(Object.assign({},s,{tag:null}))})),{all:o}).style,this.module=r?new od(r):null,this.themeType=n.themeType}static define(e,n){return new _w(e,n||{})}}const zN=ct.define(),fhe=ct.define({combine(t){return t.length?[t[0]]:null}});function KR(t){let e=t.facet(zN);return e.length?e:t.facet(fhe)}function dhe(t,e){let n=[lst],r;return t instanceof _w&&(t.module&&n.push(rt.styleModule.of(t.module)),r=t.themeType),e!=null&&e.fallback?n.push(fhe.of(t)):r?n.push(zN.computeN([rt.darkTheme],i=>i.facet(rt.darkTheme)==(r=="dark")?[t]:[])):n.push(zN.of(t)),n}class sst{constructor(e){this.markCache=Object.create(null),this.tree=fi(e.state),this.decorations=this.buildDeco(e,KR(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=fi(e.state),r=KR(e.state),i=r!=KR(e.startState),{viewport:o}=e.view,a=e.changes.mapPos(this.decoratedTo,1);n.length=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=o.to)}buildDeco(e,n){if(!n||!this.tree.length)return gt.none;let r=new id;for(let{from:i,to:o}of e.visibleRanges)Aat(this.tree,n,(a,s,l)=>{r.add(a,s,this.markCache[l]||(this.markCache[l]=gt.mark({class:l})))},i,o);return r.finish()}}const lst=Ed.high(kr.fromClass(sst,{decorations:t=>t.decorations})),cst=_w.define([{tag:Ce.meta,color:"#404740"},{tag:Ce.link,textDecoration:"underline"},{tag:Ce.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Ce.emphasis,fontStyle:"italic"},{tag:Ce.strong,fontWeight:"bold"},{tag:Ce.strikethrough,textDecoration:"line-through"},{tag:Ce.keyword,color:"#708"},{tag:[Ce.atom,Ce.bool,Ce.url,Ce.contentSeparator,Ce.labelName],color:"#219"},{tag:[Ce.literal,Ce.inserted],color:"#164"},{tag:[Ce.string,Ce.deleted],color:"#a11"},{tag:[Ce.regexp,Ce.escape,Ce.special(Ce.string)],color:"#e40"},{tag:Ce.definition(Ce.variableName),color:"#00f"},{tag:Ce.local(Ce.variableName),color:"#30a"},{tag:[Ce.typeName,Ce.namespace],color:"#085"},{tag:Ce.className,color:"#167"},{tag:[Ce.special(Ce.variableName),Ce.macroName],color:"#256"},{tag:Ce.definition(Ce.propertyName),color:"#00c"},{tag:Ce.comment,color:"#940"},{tag:Ce.invalid,color:"#f00"}]),ust=rt.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),hhe=1e4,phe="()[]{}",mhe=ct.define({combine(t){return cc(t,{afterCursor:!0,brackets:phe,maxScanDistance:hhe,renderMatch:hst})}}),fst=gt.mark({class:"cm-matchingBracket"}),dst=gt.mark({class:"cm-nonmatchingBracket"});function hst(t){let e=[],n=t.matched?fst:dst;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const pst=mi.define({create(){return gt.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(mhe);for(let i of e.state.selection.ranges){if(!i.empty)continue;let o=Ll(e.state,i.head,-1,r)||i.head>0&&Ll(e.state,i.head-1,1,r)||r.afterCursor&&(Ll(e.state,i.head,1,r)||i.headrt.decorations.from(t)}),mst=[pst,ust];function gst(t={}){return[mhe.of(t),mst]}const vst=new Vt;function UN(t,e,n){let r=t.prop(e<0?Vt.openedBy:Vt.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}function WN(t){let e=t.type.prop(vst);return e?e(t.node):t}function Ll(t,e,n,r={}){let i=r.maxScanDistance||hhe,o=r.brackets||phe,a=fi(t),s=a.resolveInner(e,n);for(let l=s;l;l=l.parent){let c=UN(l.type,n,o);if(c&&l.from0?e>=u.from&&eu.from&&e<=u.to))return yst(t,e,n,l,u,c,o)}}return xst(t,e,n,a,s.type,i,o)}function yst(t,e,n,r,i,o,a){let s=r.parent,l={from:i.from,to:i.to},c=0,u=s==null?void 0:s.cursor();if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do if(n<0?u.to<=r.from:u.from>=r.to){if(c==0&&o.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},u=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let d=0;!u.next().done&&d<=o;){let h=u.value;n<0&&(d+=h.length);let p=e+d*n;for(let m=n>0?0:h.length-1,g=n>0?h.length:-1;m!=g;m+=n){let v=a.indexOf(h[m]);if(!(v<0||r.resolveInner(p+m,1).type!=i))if(v%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:p+m,to:p+m+1},matched:v>>1==l>>1};f--}}n>0&&(d+=h.length)}return u.done?{start:c,matched:!1}:null}const bst=Object.create(null),dq=[Vo.none],hq=[],pq=Object.create(null),_st=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])_st[t]=wst(bst,e);function ZR(t,e){hq.indexOf(t)>-1||(hq.push(t),console.warn(e))}function wst(t,e){let n=[];for(let s of e.split(" ")){let l=[];for(let c of s.split(".")){let u=t[c]||Ce[c];u?typeof u=="function"?l.length?l=l.map(u):ZR(c,`Modifier ${c} used at start of tag`):l.length?ZR(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:ZR(c,`Unknown highlighting tag ${c}`)}for(let c of l)n.push(c)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(s=>s.id),o=pq[i];if(o)return o.id;let a=pq[i]=Vo.define({id:dq.length,name:r,props:[L4({[r]:n})]});return dq.push(a),a.id}rr.RTL,rr.LTR;const Sst=t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=z4(t.state,n.from);return r.line?Ost(t):r.block?Tst(t):!1};function B4(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}const Ost=B4(Mst,0),Cst=B4(ghe,0),Tst=B4((t,e)=>ghe(t,e,Pst(e)),0);function z4(t,e){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}const L0=50;function Est(t,{open:e,close:n},r,i){let o=t.sliceDoc(r-L0,r),a=t.sliceDoc(i,i+L0),s=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(a)[0].length,c=o.length-s;if(o.slice(c-e.length,c)==e&&a.slice(l,l+n.length)==n)return{open:{pos:r-s,margin:s&&1},close:{pos:i+l,margin:l&&1}};let u,f;i-r<=2*L0?u=f=t.sliceDoc(r,i):(u=t.sliceDoc(r,r+L0),f=t.sliceDoc(i-L0,i));let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length,p=f.length-h-n.length;return u.slice(d,d+e.length)==e&&f.slice(p,p+n.length)==n?{open:{pos:r+d+e.length,margin:/\s/.test(u.charAt(d+e.length))?1:0},close:{pos:i-h-n.length,margin:/\s/.test(f.charAt(p-1))?1:0}}:null}function Pst(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to),o=e.length-1;o>=0&&e[o].to>r.from?e[o].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}function ghe(t,e,n=e.selection.ranges){let r=n.map(o=>z4(e,o.from).block);if(!r.every(o=>o))return null;let i=n.map((o,a)=>Est(e,r[a],o.from,o.to));if(t!=2&&!i.every(o=>o))return{changes:e.changes(n.map((o,a)=>i[a]?[]:[{from:o.from,insert:r[a].open+" "},{from:o.to,insert:" "+r[a].close}]))};if(t!=1&&i.some(o=>o)){let o=[];for(let a=0,s;ai&&(o==a||a>f.from)){i=f.from;let d=/^\s*/.exec(f.text)[0].length,h=d==f.length,p=f.text.slice(d,d+c.length)==c?d:-1;do.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:s,token:l,indent:c,empty:u,single:f}of r)(f||!u)&&o.push({from:s.from+c,insert:l+" "});let a=e.changes(o);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&r.some(o=>o.comment>=0)){let o=[];for(let{line:a,comment:s,token:l}of r)if(s>=0){let c=a.from+s,u=c+l.length;a.text[u-a.from]==" "&&u++,o.push({from:c,to:u})}return{changes:o}}return null}const VN=lc.define(),kst=lc.define(),Ast=ct.define(),vhe=ct.define({combine(t){return cc(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),yhe=mi.define({create(){return Nl.empty},update(t,e){let n=e.state.facet(vhe),r=e.annotation(VN);if(r){let l=Ro.fromTransaction(e,r.selection),c=r.side,u=c==0?t.undone:t.done;return l?u=TE(u,u.length,n.minDepth,l):u=_he(u,e.startState.selection),new Nl(c==0?r.rest:u,c==0?u:r.rest)}let i=e.annotation(kst);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(Ur.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=Ro.fromTransaction(e),a=e.annotation(Ur.time),s=e.annotation(Ur.userEvent);return o?t=t.addChanges(o,a,s,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,s,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Nl(t.done.map(Ro.fromJSON),t.undone.map(Ro.fromJSON))}});function Rst(t={}){return[yhe,vhe.of(t),rt.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?xhe:e.inputType=="historyRedo"?GN:null;return r?(e.preventDefault(),r(n)):!1}})]}function J2(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(yhe,!1);if(!i)return!1;let o=i.pop(t,n,e);return o?(r(o),!0):!1}}const xhe=J2(0,!1),GN=J2(1,!1),Ist=J2(0,!0),Dst=J2(1,!0);class Ro{constructor(e,n,r,i,o){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}setSelAfter(e){return new Ro(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Ro(e.changes&&Zr.fromJSON(e.changes),[],e.mapped&&Ql.fromJSON(e.mapped),e.startSelection&&je.fromJSON(e.startSelection),e.selectionsAfter.map(je.fromJSON))}static fromTransaction(e,n){let r=Ka;for(let i of e.startState.facet(Ast)){let o=i(e);o.length&&(r=r.concat(o))}return!r.length&&e.changes.empty?null:new Ro(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,Ka)}static selection(e){return new Ro(void 0,Ka,void 0,void 0,e)}}function TE(t,e,n,r){let i=e+1>n+20?e-n-1:0,o=t.slice(i,e);return o.push(r),o}function Lst(t,e){let n=[],r=!1;return t.iterChangedRanges((i,o)=>n.push(i,o)),e.iterChangedRanges((i,o,a,s)=>{for(let l=0;l=c&&a<=u&&(r=!0)}}),r}function Nst(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}function bhe(t,e){return t.length?e.length?t.concat(e):t:e}const Ka=[],$st=200;function _he(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-$st));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),TE(t,t.length-1,1e9,n.setSelAfter(r)))}else return[Ro.selection([e])]}function Fst(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function JR(t,e){if(!t.length)return t;let n=t.length,r=Ka;for(;n;){let i=jst(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let o=t.slice(0,n);return o[n-1]=i,o}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[Ro.selection(r)]:Ka}function jst(t,e,n){let r=bhe(t.selectionsAfter.length?t.selectionsAfter.map(s=>s.map(e)):Ka,n);if(!t.changes)return Ro.selection(r);let i=t.changes.map(e),o=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(o):o;return new Ro(i,Rt.mapEffects(t.effects,e),a,t.startSelection.map(o),r)}const Bst=/^(input\.type|delete)($|\.)/;class Nl{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new Nl(this.done,this.undone):this}addChanges(e,n,r,i,o){let a=this.done,s=a[a.length-1];return s&&s.changes&&!s.changes.empty&&e.changes&&(!r||Bst.test(r))&&(!s.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):ek(n,e))}function eo(t){return t.textDirectionAt(t.state.selection.main.head)==rr.LTR}const She=t=>whe(t,!eo(t)),Ohe=t=>whe(t,eo(t));function Che(t,e){return il(t,n=>n.empty?t.moveByGroup(n,e):ek(n,e))}const Ust=t=>Che(t,!eo(t)),Wst=t=>Che(t,eo(t));function Vst(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function tk(t,e,n){let r=fi(t).resolveInner(e.head),i=n?Vt.closedBy:Vt.openedBy;for(let l=e.head;;){let c=n?r.childAfter(l):r.childBefore(l);if(!c)break;Vst(t,c,i)?r=c:l=n?c.to:c.from}let o=r.type.prop(i),a,s;return o&&(a=n?Ll(t,r.from,1):Ll(t,r.to,-1))&&a.matched?s=n?a.end.to:a.end.from:s=n?r.to:r.from,je.cursor(s,n?-1:1)}const Gst=t=>il(t,e=>tk(t.state,e,!eo(t))),Hst=t=>il(t,e=>tk(t.state,e,eo(t)));function The(t,e){return il(t,n=>{if(!n.empty)return ek(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}const Ehe=t=>The(t,!1),Phe=t=>The(t,!0);function Mhe(t){let e=t.scrollDOM.clientHeighta.empty?t.moveVertically(a,e,n.height):ek(a,e));if(i.eq(r.selection))return!1;let o;if(n.selfScroll){let a=t.coordsAtPos(r.selection.main.head),s=t.scrollDOM.getBoundingClientRect(),l=s.top+n.marginTop,c=s.bottom-n.marginBottom;a&&a.top>l&&a.bottomkhe(t,!1),HN=t=>khe(t,!0);function Pd(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let o=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&e.head!=r.from+o&&(i=je.cursor(r.from+o))}return i}const qst=t=>il(t,e=>Pd(t,e,!0)),Xst=t=>il(t,e=>Pd(t,e,!1)),Qst=t=>il(t,e=>Pd(t,e,!eo(t))),Yst=t=>il(t,e=>Pd(t,e,eo(t))),Kst=t=>il(t,e=>je.cursor(t.lineBlockAt(e.head).from,1)),Zst=t=>il(t,e=>je.cursor(t.lineBlockAt(e.head).to,-1));function Jst(t,e,n){let r=!1,i=My(t.selection,o=>{let a=Ll(t,o.head,-1)||Ll(t,o.head,1)||o.head>0&&Ll(t,o.head-1,1)||o.headJst(t,e);function Os(t,e){let n=My(t.state.selection,r=>{let i=e(r);return je.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(fc(t.state,n)),!0)}function Ahe(t,e){return Os(t,n=>t.moveByChar(n,e))}const Rhe=t=>Ahe(t,!eo(t)),Ihe=t=>Ahe(t,eo(t));function Dhe(t,e){return Os(t,n=>t.moveByGroup(n,e))}const tlt=t=>Dhe(t,!eo(t)),nlt=t=>Dhe(t,eo(t)),rlt=t=>Os(t,e=>tk(t.state,e,!eo(t))),ilt=t=>Os(t,e=>tk(t.state,e,eo(t)));function Lhe(t,e){return Os(t,n=>t.moveVertically(n,e))}const Nhe=t=>Lhe(t,!1),$he=t=>Lhe(t,!0);function Fhe(t,e){return Os(t,n=>t.moveVertically(n,e,Mhe(t).height))}const gq=t=>Fhe(t,!1),vq=t=>Fhe(t,!0),olt=t=>Os(t,e=>Pd(t,e,!0)),alt=t=>Os(t,e=>Pd(t,e,!1)),slt=t=>Os(t,e=>Pd(t,e,!eo(t))),llt=t=>Os(t,e=>Pd(t,e,eo(t))),clt=t=>Os(t,e=>je.cursor(t.lineBlockAt(e.head).from)),ult=t=>Os(t,e=>je.cursor(t.lineBlockAt(e.head).to)),yq=({state:t,dispatch:e})=>(e(fc(t,{anchor:0})),!0),xq=({state:t,dispatch:e})=>(e(fc(t,{anchor:t.doc.length})),!0),bq=({state:t,dispatch:e})=>(e(fc(t,{anchor:t.selection.main.anchor,head:0})),!0),_q=({state:t,dispatch:e})=>(e(fc(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),flt=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),dlt=({state:t,dispatch:e})=>{let n=nk(t).map(({from:r,to:i})=>je.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:je.create(n),userEvent:"select"})),!0},hlt=({state:t,dispatch:e})=>{let n=My(t.selection,r=>{var i;let o=fi(t).resolveStack(r.from,1);for(let a=o;a;a=a.next){let{node:s}=a;if((s.from=r.to||s.to>r.to&&s.from<=r.from)&&(!((i=s.parent)===null||i===void 0)&&i.parent))return je.range(s.to,s.from)}return r});return e(fc(t,n)),!0},plt=({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=je.create([n.main]):n.main.empty||(r=je.create([je.cursor(n.main.head)])),r?(e(fc(t,r)),!0):!1};function ww(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(o=>{let{from:a,to:s}=o;if(a==s){let l=e(o);la&&(n="delete.forward",l=lO(t,l,!0)),a=Math.min(a,l),s=Math.max(s,l)}else a=lO(t,a,!1),s=lO(t,s,!0);return a==s?{range:o}:{changes:{from:a,to:s},range:je.cursor(a,ai(t)))r.between(e,e,(i,o)=>{ie&&(e=n?o:i)});return e}const jhe=(t,e,n)=>ww(t,r=>{let i=r.from,{state:o}=t,a=o.doc.lineAt(i),s,l;if(n&&!e&&i>a.from&&ijhe(t,!1,!0),Bhe=t=>jhe(t,!0,!1),zhe=(t,e)=>ww(t,n=>{let r=n.head,{state:i}=t,o=i.doc.lineAt(r),a=i.charCategorizer(r);for(let s=null;;){if(r==(e?o.to:o.from)){r==n.head&&o.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let l=ki(o.text,r-o.from,e)+o.from,c=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),u=a(c);if(s!=null&&u!=s)break;(c!=" "||r!=n.head)&&(s=u),r=l}return r}),Uhe=t=>zhe(t,!1),mlt=t=>zhe(t,!0),glt=t=>ww(t,e=>{let n=t.lineBlockAt(e.head).to;return e.headww(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),ylt=t=>ww(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:xn.of(["",""])},range:je.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},blt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,o=t.doc.lineAt(i),a=i==o.from?i-1:ki(o.text,i-o.from,!1)+o.from,s=i==o.to?i+1:ki(o.text,i-o.from,!0)+o.from;return{changes:{from:a,to:s,insert:t.doc.slice(i,s).append(t.doc.slice(a,i))},range:je.cursor(s)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function nk(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),o=t.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=t.doc.lineAt(r.to-1)),n>=i.number){let a=e[e.length-1];a.to=o.to,a.ranges.push(r)}else e.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return e}function Whe(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let o of nk(t)){if(n?o.to==t.doc.length:o.from==0)continue;let a=t.doc.lineAt(n?o.to+1:o.from-1),s=a.length+1;if(n){r.push({from:o.to,to:a.to},{from:o.from,insert:a.text+t.lineBreak});for(let l of o.ranges)i.push(je.range(Math.min(t.doc.length,l.anchor+s),Math.min(t.doc.length,l.head+s)))}else{r.push({from:a.from,to:o.from},{from:o.to,insert:t.lineBreak+a.text});for(let l of o.ranges)i.push(je.range(l.anchor-s,l.head-s))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:je.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const _lt=({state:t,dispatch:e})=>Whe(t,e,!1),wlt=({state:t,dispatch:e})=>Whe(t,e,!0);function Vhe(t,e,n){if(t.readOnly)return!1;let r=[];for(let i of nk(t))n?r.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):r.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const Slt=({state:t,dispatch:e})=>Vhe(t,e,!1),Olt=({state:t,dispatch:e})=>Vhe(t,e,!0),Clt=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(nk(e).map(({from:i,to:o})=>(i>0?i--:o{let o;if(t.lineWrapping){let a=t.lineBlockAt(i.head),s=t.coordsAtPos(i.head,i.assoc||1);s&&(o=a.bottom+t.documentTop-s.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,o)}).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Tlt(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=fi(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),o;return r&&i&&r.to<=e&&i.from>=e&&(o=r.type.prop(Vt.closedBy))&&o.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}const Elt=Ghe(!1),Plt=Ghe(!0);function Ghe(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:o,to:a}=i,s=e.doc.lineAt(o),l=!t&&o==a&&Tlt(e,o);t&&(o=a=(a<=s.to?s:e.doc.lineAt(a)).to);let c=new K2(e,{simulateBreak:o,simulateDoubleBreak:!!l}),u=N4(c,o);for(u==null&&(u=Py(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));as.from&&o{let i=[];for(let a=r.from;a<=r.to;){let s=t.doc.lineAt(a);s.number>n&&(r.empty||r.to>s.from)&&(e(s,i,r),n=s.number),a=s.to+1}let o=t.changes(i);return{changes:i,range:je.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}const Mlt=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new K2(t,{overrideIndentation:o=>{let a=n[o];return a??-1}}),i=U4(t,(o,a,s)=>{let l=N4(r,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let c=/^\s*/.exec(o.text)[0],u=u_(t,l);(c!=u||s.fromt.readOnly?!1:(e(t.update(U4(t,(n,r)=>{r.push({from:n.from,insert:t.facet(xw)})}),{userEvent:"input.indent"})),!0),qhe=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(U4(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let o=Py(i,t.tabSize),a=0,s=u_(t,Math.max(0,o-SE(t)));for(;a(t.setTabFocusMode(),!0),Alt=[{key:"Ctrl-b",run:She,shift:Rhe,preventDefault:!0},{key:"Ctrl-f",run:Ohe,shift:Ihe},{key:"Ctrl-p",run:Ehe,shift:Nhe},{key:"Ctrl-n",run:Phe,shift:$he},{key:"Ctrl-a",run:Kst,shift:clt},{key:"Ctrl-e",run:Zst,shift:ult},{key:"Ctrl-d",run:Bhe},{key:"Ctrl-h",run:qN},{key:"Ctrl-k",run:glt},{key:"Ctrl-Alt-h",run:Uhe},{key:"Ctrl-o",run:xlt},{key:"Ctrl-t",run:blt},{key:"Ctrl-v",run:HN}],Rlt=[{key:"ArrowLeft",run:She,shift:Rhe,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Ust,shift:tlt,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:Qst,shift:slt,preventDefault:!0},{key:"ArrowRight",run:Ohe,shift:Ihe,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Wst,shift:nlt,preventDefault:!0},{mac:"Cmd-ArrowRight",run:Yst,shift:llt,preventDefault:!0},{key:"ArrowUp",run:Ehe,shift:Nhe,preventDefault:!0},{mac:"Cmd-ArrowUp",run:yq,shift:bq},{mac:"Ctrl-ArrowUp",run:mq,shift:gq},{key:"ArrowDown",run:Phe,shift:$he,preventDefault:!0},{mac:"Cmd-ArrowDown",run:xq,shift:_q},{mac:"Ctrl-ArrowDown",run:HN,shift:vq},{key:"PageUp",run:mq,shift:gq},{key:"PageDown",run:HN,shift:vq},{key:"Home",run:Xst,shift:alt,preventDefault:!0},{key:"Mod-Home",run:yq,shift:bq},{key:"End",run:qst,shift:olt,preventDefault:!0},{key:"Mod-End",run:xq,shift:_q},{key:"Enter",run:Elt},{key:"Mod-a",run:flt},{key:"Backspace",run:qN,shift:qN},{key:"Delete",run:Bhe},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Uhe},{key:"Mod-Delete",mac:"Alt-Delete",run:mlt},{mac:"Mod-Backspace",run:vlt},{mac:"Mod-Delete",run:ylt}].concat(Alt.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),Ilt=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Gst,shift:rlt},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Hst,shift:ilt},{key:"Alt-ArrowUp",run:_lt},{key:"Shift-Alt-ArrowUp",run:Slt},{key:"Alt-ArrowDown",run:wlt},{key:"Shift-Alt-ArrowDown",run:Olt},{key:"Escape",run:plt},{key:"Mod-Enter",run:Plt},{key:"Alt-l",mac:"Ctrl-l",run:dlt},{key:"Mod-i",run:hlt,preventDefault:!0},{key:"Mod-[",run:qhe},{key:"Mod-]",run:Hhe},{key:"Mod-Alt-\\",run:Mlt},{key:"Shift-Mod-k",run:Clt},{key:"Shift-Mod-\\",run:elt},{key:"Mod-/",run:Sst},{key:"Alt-A",run:Cst},{key:"Ctrl-m",mac:"Shift-Alt-m",run:klt}].concat(Rlt),Dlt={key:"Tab",run:Hhe,shift:qhe};function zn(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;et.normalize("NFKD"):t=>t;class pv{constructor(e,n,r=0,i=e.length,o,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=o?s=>o(wq(s)):wq,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ci(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=y4(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=Ha(e);let i=this.normalize(n);for(let o=0,a=r;;o++){let s=i.charCodeAt(o),l=this.match(s,a,this.bufferPos+this.bufferStart);if(o==i.length-1){if(l)return this.value=l,this;break}a==r&&othis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,i=r+n[0].length;if(this.matchPos=EE(this.text,i+(r==i?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(rthis.value.to)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=r||i.to<=n){let s=new Ig(n,e.sliceString(n,r));return eI.set(e,s),s}if(i.from==n&&i.to==r)return i;let{text:o,from:a}=i;return a>n&&(o=e.sliceString(n,a)+o,a=n),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,i=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this.matchPos=EE(this.text,i+(r==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Ig.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Yhe.prototype[Symbol.iterator]=Khe.prototype[Symbol.iterator]=function(){return this});function Llt(t){try{return new RegExp(t,W4),!0}catch{return!1}}function EE(t,e){if(e>=t.length)return e;let n=t.lineAt(e),r;for(;e=56320&&r<57344;)e++;return e}function XN(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),n=zn("input",{class:"cm-textfield",name:"line",value:e}),r=zn("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:PE.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),i())},onsubmit:o=>{o.preventDefault(),i()}},zn("label",t.state.phrase("Go to line"),": ",n)," ",zn("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!o)return;let{state:a}=t,s=a.doc.lineAt(a.selection.main.head),[,l,c,u,f]=o,d=u?+u.slice(1):0,h=c?+c:s.number;if(c&&f){let g=h/100;l&&(g=g*(l=="-"?-1:1)+s.number/a.doc.lines),h=Math.round(a.doc.lines*g)}else c&&l&&(h=h*(l=="-"?-1:1)+s.number);let p=a.doc.line(Math.max(1,Math.min(a.doc.lines,h))),m=je.cursor(p.from+Math.max(0,Math.min(d,p.length)));t.dispatch({effects:[PE.of(!1),rt.scrollIntoView(m.from,{y:"center"})],selection:m}),t.focus()}return{dom:r}}const PE=Rt.define(),Sq=mi.define({create(){return!0},update(t,e){for(let n of e.effects)n.is(PE)&&(t=n.value);return t},provide:t=>s_.from(t,e=>e?XN:null)}),Nlt=t=>{let e=a_(t,XN);if(!e){let n=[PE.of(!0)];t.state.field(Sq,!1)==null&&n.push(Rt.appendConfig.of([Sq,$lt])),t.dispatch({effects:n}),e=a_(t,XN)}return e&&e.dom.querySelector("input").select(),!0},$lt=rt.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),Flt={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},jlt=ct.define({combine(t){return cc(t,Flt,{highlightWordAroundCursor:(e,n)=>e||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function Blt(t){return[Glt,Vlt]}const zlt=gt.mark({class:"cm-selectionMatch"}),Ult=gt.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Oq(t,e,n,r){return(n==0||t(e.sliceDoc(n-1,n))!=fr.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=fr.Word)}function Wlt(t,e,n,r){return t(e.sliceDoc(n,n+1))==fr.Word&&t(e.sliceDoc(r-1,r))==fr.Word}const Vlt=kr.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(jlt),{state:n}=t,r=n.selection;if(r.ranges.length>1)return gt.none;let i=r.main,o,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return gt.none;let l=n.wordAt(i.head);if(!l)return gt.none;a=n.charCategorizer(i.head),o=n.sliceDoc(l.from,l.to)}else{let l=i.to-i.from;if(l200)return gt.none;if(e.wholeWords){if(o=n.sliceDoc(i.from,i.to),a=n.charCategorizer(i.head),!(Oq(a,n,i.from,i.to)&&Wlt(a,n,i.from,i.to)))return gt.none}else if(o=n.sliceDoc(i.from,i.to),!o)return gt.none}let s=[];for(let l of t.visibleRanges){let c=new pv(n.doc,o,l.from,l.to);for(;!c.next().done;){let{from:u,to:f}=c.value;if((!a||Oq(a,n,u,f))&&(i.empty&&u<=i.from&&f>=i.to?s.push(Ult.range(u,f)):(u>=i.to||f<=i.from)&&s.push(zlt.range(u,f)),s.length>e.maxMatches))return gt.none}}return gt.set(s)}},{decorations:t=>t.decorations}),Glt=rt.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),Hlt=({state:t,dispatch:e})=>{let{selection:n}=t,r=je.create(n.ranges.map(i=>t.wordAt(i.head)||je.cursor(i.head)),n.mainIndex);return r.eq(n)?!1:(e(t.update({selection:r})),!0)};function qlt(t,e){let{main:n,ranges:r}=t.selection,i=t.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let a=!1,s=new pv(t.doc,e,r[r.length-1].to);;)if(s.next(),s.done){if(a)return null;s=new pv(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),a=!0}else{if(a&&r.some(l=>l.from==s.value.from))continue;if(o){let l=t.wordAt(s.value.from);if(!l||l.from!=s.value.from||l.to!=s.value.to)continue}return s.value}}const Xlt=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(o=>o.from===o.to))return Hlt({state:t,dispatch:e});let r=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=r))return!1;let i=qlt(t,r);return i?(e(t.update({selection:t.selection.addRange(je.range(i.from,i.to),!1),effects:rt.scrollIntoView(i.to)})),!0):!1},ky=ct.define({combine(t){return cc(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new act(e),scrollToMatch:e=>rt.scrollIntoView(e)})}});class Zhe{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Llt(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?` -`:r=="r"?"\r":r=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new Zlt(this):new Ylt(this)}getCursor(e,n=0,r){let i=e.doc?e:en.create({doc:e});return r==null&&(r=i.doc.length),this.regexp?Wm(this,i,n,r):Um(this,i,n,r)}}class Jhe{constructor(e){this.spec=e}}function Um(t,e,n,r){return new pv(e.doc,t.unquoted,n,r,t.caseSensitive?void 0:i=>i.toLowerCase(),t.wholeWord?Qlt(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function Qlt(t,e){return(n,r,i,o)=>((o>n||o+i.length=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Um(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}function Wm(t,e,n,r){return new Yhe(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?Klt(e.charCategorizer(e.selection.main.head)):void 0},n,r)}function ME(t,e){return t.slice(ki(t,e,!1),e)}function kE(t,e){return t.slice(e,ki(t,e))}function Klt(t){return(e,n,r)=>!r[0].length||(t(ME(r.input,r.index))!=fr.Word||t(kE(r.input,r.index))!=fr.Word)&&(t(kE(r.input,r.index+r[0].length))!=fr.Word||t(ME(r.input,r.index+r[0].length))!=fr.Word)}class Zlt extends Jhe{nextMatch(e,n,r){let i=Wm(this.spec,e,r,e.doc.length).next();return i.done&&(i=Wm(this.spec,e,0,n).next()),i.done?null:i.value}prevMatchInRange(e,n,r){for(let i=1;;i++){let o=Math.max(n,r-i*1e4),a=Wm(this.spec,e,o,r),s=null;for(;!a.next().done;)s=a.value;if(s&&(o==n||s.from>o+10))return s;if(o==n)return null}}prevMatch(e,n,r){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(n,r)=>r=="$"?"$":r=="&"?e.match[0]:r!="0"&&+r=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Wm(this.spec,e,Math.max(0,n-250),Math.min(r+250,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}const f_=Rt.define(),V4=Rt.define(),Wf=mi.define({create(t){return new tI(QN(t).create(),null)},update(t,e){for(let n of e.effects)n.is(f_)?t=new tI(n.value.create(),t.panel):n.is(V4)&&(t=new tI(t.query,n.value?G4:null));return t},provide:t=>s_.from(t,e=>e.panel)});class tI{constructor(e,n){this.query=e,this.panel=n}}const Jlt=gt.mark({class:"cm-searchMatch"}),ect=gt.mark({class:"cm-searchMatch cm-searchMatch-selected"}),tct=kr.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(Wf))}update(t){let e=t.state.field(Wf);(e!=t.startState.field(Wf)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return gt.none;let{view:n}=this,r=new id;for(let i=0,o=n.visibleRanges,a=o.length;io[i+1].from-2*250;)l=o[++i].to;t.highlight(n.state,s,l,(c,u)=>{let f=n.state.selection.ranges.some(d=>d.from==c&&d.to==u);r.add(c,u,f?ect:Jlt)})}return r.finish()}},{decorations:t=>t.decorations});function Sw(t){return e=>{let n=e.state.field(Wf,!1);return n&&n.query.spec.valid?t(e,n):npe(e)}}const AE=Sw((t,{query:e})=>{let{to:n}=t.state.selection.main,r=e.nextMatch(t.state,n,n);if(!r)return!1;let i=je.single(r.from,r.to),o=t.state.facet(ky);return t.dispatch({selection:i,effects:[H4(t,r),o.scrollToMatch(i.main,t)],userEvent:"select.search"}),tpe(t),!0}),RE=Sw((t,{query:e})=>{let{state:n}=t,{from:r}=n.selection.main,i=e.prevMatch(n,r,r);if(!i)return!1;let o=je.single(i.from,i.to),a=t.state.facet(ky);return t.dispatch({selection:o,effects:[H4(t,i),a.scrollToMatch(o.main,t)],userEvent:"select.search"}),tpe(t),!0}),nct=Sw((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!n||!n.length?!1:(t.dispatch({selection:je.create(n.map(r=>je.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),rct=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],a=0;for(let s=new pv(t.doc,t.sliceDoc(r,i));!s.next().done;){if(o.length>1e3)return!1;s.value.from==r&&(a=o.length),o.push(je.range(s.value.from,s.value.to))}return e(t.update({selection:je.create(o,a),userEvent:"select.search.matches"})),!0},Cq=Sw((t,{query:e})=>{let{state:n}=t,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=e.nextMatch(n,r,r);if(!o)return!1;let a=[],s,l,c=[];if(o.from==r&&o.to==i&&(l=n.toText(e.getReplacement(o)),a.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(n,o.from,o.to),c.push(rt.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),o){let u=a.length==0||a[0].from>=o.to?0:o.to-o.from-l.length;s=je.single(o.from-u,o.to-u),c.push(H4(t,o)),c.push(n.facet(ky).scrollToMatch(s.main,t))}return t.dispatch({changes:a,selection:s,effects:c,userEvent:"input.replace"}),!0}),ict=Sw((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map(i=>{let{from:o,to:a}=i;return{from:o,to:a,insert:e.getReplacement(i)}});if(!n.length)return!1;let r=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:rt.announce.of(r),userEvent:"input.replace.all"}),!0});function G4(t){return t.state.facet(ky).createPanel(t)}function QN(t,e){var n,r,i,o,a;let s=t.selection.main,l=s.empty||s.to>s.from+100?"":t.sliceDoc(s.from,s.to);if(e&&!l)return e;let c=t.facet(ky);return new Zhe({search:((n=e==null?void 0:e.literal)!==null&&n!==void 0?n:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e==null?void 0:e.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:c.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:c.regexp,wholeWord:(a=e==null?void 0:e.wholeWord)!==null&&a!==void 0?a:c.wholeWord})}function epe(t){let e=a_(t,G4);return e&&e.dom.querySelector("[main-field]")}function tpe(t){let e=epe(t);e&&e==t.root.activeElement&&e.select()}const npe=t=>{let e=t.state.field(Wf,!1);if(e&&e.panel){let n=epe(t);if(n&&n!=t.root.activeElement){let r=QN(t.state,e.query.spec);r.valid&&t.dispatch({effects:f_.of(r)}),n.focus(),n.select()}}else t.dispatch({effects:[V4.of(!0),e?f_.of(QN(t.state,e.query.spec)):Rt.appendConfig.of(lct)]});return!0},rpe=t=>{let e=t.state.field(Wf,!1);if(!e||!e.panel)return!1;let n=a_(t,G4);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:V4.of(!1)}),!0},oct=[{key:"Mod-f",run:npe,scope:"editor search-panel"},{key:"F3",run:AE,shift:RE,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:AE,shift:RE,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:rpe,scope:"editor search-panel"},{key:"Mod-Shift-l",run:rct},{key:"Mod-Alt-g",run:Nlt},{key:"Mod-d",run:Xlt,preventDefault:!0}];class act{constructor(e){this.view=e;let n=this.query=e.state.field(Wf).query.spec;this.commit=this.commit.bind(this),this.searchField=zn("input",{value:n.search,placeholder:Yo(e,"Find"),"aria-label":Yo(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=zn("input",{value:n.replace,placeholder:Yo(e,"Replace"),"aria-label":Yo(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=zn("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=zn("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=zn("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(i,o,a){return zn("button",{class:"cm-button",name:i,onclick:o,type:"button"},a)}this.dom=zn("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,r("next",()=>AE(e),[Yo(e,"next")]),r("prev",()=>RE(e),[Yo(e,"previous")]),r("select",()=>nct(e),[Yo(e,"all")]),zn("label",null,[this.caseField,Yo(e,"match case")]),zn("label",null,[this.reField,Yo(e,"regexp")]),zn("label",null,[this.wordField,Yo(e,"by word")]),...e.state.readOnly?[]:[zn("br"),this.replaceField,r("replace",()=>Cq(e),[Yo(e,"replace")]),r("replaceAll",()=>ict(e),[Yo(e,"replace all")])],zn("button",{name:"close",onclick:()=>rpe(e),"aria-label":Yo(e,"close"),type:"button"},["×"])])}commit(){let e=new Zhe({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:f_.of(e)}))}keydown(e){mot(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?RE:AE)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Cq(this.view))}update(e){for(let n of e.transactions)for(let r of n.effects)r.is(f_)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(ky).top}}function Yo(t,e){return t.state.phrase(e)}const cO=30,uO=/[\s\.,:;?!]/;function H4(t,{from:e,to:n}){let r=t.state.doc.lineAt(e),i=t.state.doc.lineAt(n).to,o=Math.max(r.from,e-cO),a=Math.min(i,n+cO),s=t.state.sliceDoc(o,a);if(o!=r.from){for(let l=0;ls.length-cO;l--)if(!uO.test(s[l-1])&&uO.test(s[l])){s=s.slice(0,l);break}}return rt.announce.of(`${t.state.phrase("current match")}. ${s} ${t.state.phrase("on line")} ${r.number}.`)}const sct=rt.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),lct=[Wf,Ed.low(tct),sct];class ipe{constructor(e,n,r,i){this.state=e,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=fi(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),o=i.search(ape(e,!1));return o<0?null:{from:r+o,to:this.pos,text:i.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,n,r){e=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function Tq(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function cct(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let o=1;otypeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:cct(e);return i=>{let o=i.matchBefore(r);return o||i.explicit?{from:o?o.from:i.pos,options:e,validFor:n}:null}}function uct(t,e){return n=>{for(let r=fi(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}class Eq{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}}function Vf(t){return t.selection.main.from}function ape(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",o=r[r.length-1]!="$";return!i&&!o?t:new RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}const q4=lc.define();function fct(t,e,n,r){let{main:i}=t.selection,o=n-i.from,a=r-i.from;return Object.assign(Object.assign({},t.changeByRange(s=>s!=i&&n!=r&&t.sliceDoc(s.from+o,s.from+a)!=t.sliceDoc(n,r)?{range:s}:{changes:{from:s.from+o,to:r==i.from?s.to:s.from+a,insert:e},range:je.cursor(s.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const Pq=new WeakMap;function dct(t){if(!Array.isArray(t))return t;let e=Pq.get(t);return e||Pq.set(t,e=ope(t)),e}const IE=Rt.define(),d_=Rt.define();class hct{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&_<=57||_>=97&&_<=122?2:_>=65&&_<=90?1:0:(S=y4(_))!=S.toLowerCase()?1:S!=S.toUpperCase()?2:0;(!y||O==1&&g||b==0&&O!=0)&&(n[f]==_||r[f]==_&&(d=!0)?a[f++]=y:a.length&&(v=!1)),b=O,y+=Ha(_)}return f==l&&a[0]==0&&v?this.result(-100+(d?-200:0),a,e):h==l&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):s>-1?this.ret(-700-e.length,[s,s+this.pattern.length]):h==l?this.ret(-900-e.length,[p,m]):f==l?this.result(-100+(d?-200:0)+-700+(v?0:-1100),a,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],o=0;for(let a of n){let s=a+(this.astral?Ha(Ci(r,a)):1);o&&i[o-1]==a?i[o-1]=s:(i[o++]=a,i[o++]=s)}return this.ret(e-r.length,i)}}class pct{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:mct,filterStrict:!1,compareCompletions:(e,n)=>e.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>Mq(e(r),n(r)),optionClass:(e,n)=>r=>Mq(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function Mq(t,e){return t?e?t+" "+e:t:e}function mct(t,e,n,r,i,o){let a=t.textDirection==rr.RTL,s=a,l=!1,c="top",u,f,d=e.left-i.left,h=i.right-e.right,p=r.right-r.left,m=r.bottom-r.top;if(s&&d=m||y>e.top?u=n.bottom-e.top:(c="bottom",u=e.bottom-n.top)}let g=(e.bottom-e.top)/o.offsetHeight,v=(e.right-e.left)/o.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${f/v}px`,class:"cm-completionInfo-"+(l?a?"left-narrow":"right-narrow":s?"left":"right")}}function gct(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,o){let a=document.createElement("span");a.className="cm-completionLabel";let s=n.displayLabel||n.label,l=0;for(let c=0;cl&&a.appendChild(document.createTextNode(s.slice(l,u)));let d=a.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(s.slice(u,f))),d.className="cm-completionMatchedText",l=f}return ln.position-r.position).map(n=>n.render)}function nI(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}class vct{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:o,selected:a}=i.open,s=e.state.facet(Mi);this.optionContent=gct(s),this.optionClass=s.optionClass,this.tooltipClass=s.tooltipClass,this.range=nI(o.length,a,s.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=e.state.field(n).open;for(let u=l.target,f;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(f=/-(\d+)$/.exec(u.id))&&+f[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(Mi).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:d_.of(null)})}),this.showOptions(o,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:o,selected:a,disabled:s}=r.open;(!i.open||i.open.options!=o)&&(this.range=nI(o.length,a,e.state.facet(Mi).maxRenderedOptions),this.showOptions(o,r.id)),this.updateSel(),s!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!s)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=nI(n.options.length,n.selected,this.view.state.facet(Mi).maxRenderedOptions),this.showOptions(n.options,e.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,r)}).catch(a=>Ao(this.view.state,a,"completion info")):this.addInfoPane(o,r)}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:o}=e;r.appendChild(i),this.infoDestroy=o||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&xct(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),o=this.space;if(!o){let a=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(o.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(o=d,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let h=i.appendChild(document.createElement("completion-section"));h.textContent=d}}const u=i.appendChild(document.createElement("li"));u.id=n+"-"+a,u.setAttribute("role","option");let f=this.optionClass(s);f&&(u.className=f);for(let d of this.optionContent){let h=d(s,this.view.state,this.view,l);h&&u.appendChild(h)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew vct(n,t,e)}function xct(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.topn.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}function kq(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function bct(t,e){let n=[],r=null,i=c=>{n.push(c);let{section:u}=c.completion;if(u){r||(r=[]);let f=typeof u=="string"?u:u.name;r.some(d=>d.name==f)||r.push(typeof u=="string"?{name:f}:u)}},o=e.facet(Mi);for(let c of t)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new Eq(f,c.source,u?u(f):[],1e9-n.length));else{let f=e.sliceDoc(c.from,c.to),d,h=o.filterStrict?new pct(f):new hct(f);for(let p of c.result.options)if(d=h.match(p.label)){let m=p.displayLabel?u?u(p,d.matched):[]:d.matched;i(new Eq(p,c.source,m,d.score+(p.boost||0)))}}}if(r){let c=Object.create(null),u=0,f=(d,h)=>{var p,m;return((p=d.rank)!==null&&p!==void 0?p:1e9)-((m=h.rank)!==null&&m!==void 0?m:1e9)||(d.namef.score-u.score||l(u.completion,f.completion))){let u=c.completion;!s||s.label!=u.label||s.detail!=u.detail||s.type!=null&&u.type!=null&&s.type!=u.type||s.apply!=u.apply||s.boost!=u.boost?a.push(c):kq(c.completion)>kq(s)&&(a[a.length-1]=c),s=c.completion}return a}class ag{constructor(e,n,r,i,o,a){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=o,this.disabled=a}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new ag(this.options,Aq(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,o){let a=bct(e,n);if(!a.length)return i&&e.some(l=>l.state==1)?new ag(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let s=n.facet(Mi).selectOnOpen?0:-1;if(i&&i.selected!=s&&i.selected!=-1){let l=i.options[i.selected].completion;for(let c=0;cc.hasResult()?Math.min(l,c.from):l,1e8),create:Tct,above:o.aboveCursor},i?i.timestamp:Date.now(),s,!1)}map(e){return new ag(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class DE{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new DE(Oct,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(Mi),o=(r.override||n.languageDataAt("autocomplete",Vf(n)).map(dct)).map(s=>(this.active.find(c=>c.source==s)||new da(s,this.active.some(c=>c.state!=0)?1:0)).update(e,r));o.length==this.active.length&&o.every((s,l)=>s==this.active[l])&&(o=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||o.some(s=>s.hasResult()&&e.changes.touchesRange(s.from,s.to))||!_ct(o,this.active)?a=ag.build(o,n,this.id,a,r):a&&a.disabled&&!o.some(s=>s.state==1)&&(a=null),!a&&o.every(s=>s.state!=1)&&o.some(s=>s.hasResult())&&(o=o.map(s=>s.hasResult()?new da(s.source,0):s));for(let s of e.effects)s.is(cpe)&&(a=a&&a.setSelected(s.value,this.id));return o==this.active&&a==this.open?this:new DE(o,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?wct:Sct}}function _ct(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=t+"-"+e),n}const Oct=[];function spe(t,e){if(t.isUserEvent("input.complete")){let r=t.annotation(q4);if(r&&e.activateOnCompletion(r))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class da{constructor(e,n,r=-1){this.source=e,this.state=n,this.explicitPos=r}hasResult(){return!1}update(e,n){let r=spe(e,n),i=this;(r&8||r&16&&this.touches(e))&&(i=new da(i.source,0)),r&4&&i.state==0&&(i=new da(this.source,1)),i=i.updateFor(e,r);for(let o of e.effects)if(o.is(IE))i=new da(i.source,1,o.value?Vf(e.state):-1);else if(o.is(d_))i=new da(i.source,0);else if(o.is(lpe))for(let a of o.value)a.source==i.source&&(i=a);return i}updateFor(e,n){return this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new da(this.source,this.state,e.mapPos(this.explicitPos))}touches(e){return e.changes.touchesRange(Vf(e.state))}}class Dg extends da{constructor(e,n,r,i,o){super(e,2,n),this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,n){var r;if(!(n&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let o=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),s=Vf(e.state);if((this.explicitPos<0?s<=o:sa||!i||n&2&&Vf(e.startState)==this.from)return new da(this.source,n&4?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return Cct(i.validFor,e.state,o,a)?new Dg(this.source,l,i,o,a):i.update&&(i=i.update(i,o,a,new ipe(e.state,s,l>=0)))?new Dg(this.source,l,i,i.from,(r=i.to)!==null&&r!==void 0?r:Vf(e.state)):new da(this.source,1,l)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new Dg(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new da(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}function Cct(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):ape(t,!0).test(i)}const lpe=Rt.define({map(t,e){return t.map(n=>n.map(e))}}),cpe=Rt.define(),To=mi.define({create(){return DE.start()},update(t,e){return t.update(e)},provide:t=>[k4.from(t,e=>e.tooltip),rt.contentAttributes.from(t,e=>e.attrs)]});function X4(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(To).active.find(i=>i.source==e.source);return r instanceof Dg?(typeof n=="string"?t.dispatch(Object.assign(Object.assign({},fct(t.state,n,r.from,r.to)),{annotations:q4.of(e.completion)})):n(t,e.completion,r.from,r.to),!0):!1}const Tct=yct(To,X4);function fO(t,e="option"){return n=>{let r=n.state.field(To,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(t?1:-1):t?0:a-1;return s<0?s=e=="page"?0:a-1:s>=a&&(s=e=="page"?a-1:0),n.dispatch({effects:cpe.of(s)}),!0}}const Ect=t=>{let e=t.state.field(To,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(To,!1)?(t.dispatch({effects:IE.of(!0)}),!0):!1,Mct=t=>{let e=t.state.field(To,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:d_.of(null)}),!0)};class kct{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const Act=50,Rct=1e3,Ict=kr.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(To).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(To),n=t.state.facet(Mi);if(!t.selectionSet&&!t.docChanged&&t.startState.field(To)==e)return;let r=t.transactions.some(o=>{let a=spe(o,n);return a&8||(o.selection||o.docChanged)&&!(a&3)});for(let o=0;oAct&&Date.now()-a.time>Rct){for(let s of a.context.abortListeners)try{s()}catch(l){Ao(this.view.state,l)}a.context.abortListeners=null,this.running.splice(o--,1)}else a.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(a=>a.is(IE)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.state==1&&!this.running.some(a=>a.active.source==o.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let o of t.transactions)o.isUserEvent("input.type")?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(To);for(let n of e.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=Vf(e),r=new ipe(e,n,t.explicitPos==n,this.view),i=new kct(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(o=>{i.context.aborted||(i.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:d_.of(null)}),Ao(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Mi).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(Mi);for(let r=0;ra.source==i.active.source);if(o&&o.state==1)if(i.done==null){let a=new da(i.active.source,0);for(let s of i.updates)a=a.update(s,n);a.state!=1&&e.push(a)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:lpe.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(To,!1);if(e&&e.tooltip&&this.view.state.facet(Mi).closeOnBlur){let n=e.open&&Ude(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:d_.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:IE.of(!1)}),20),this.composing=0}}}),Dct=typeof navigator=="object"&&/Win/.test(navigator.platform),Lct=Ed.highest(rt.domEventHandlers({keydown(t,e){let n=e.state.field(To,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(Dct&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&X4(e,r),!1}})),upe=rt.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Nct{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}}class Q4{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,Pi.TrackDel),r=e.mapPos(this.to,1,Pi.TrackDel);return n==null||r==null?null:new Q4(this.field,n,r)}}class Y4{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],o=e.doc.lineAt(n),a=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(r.length){let c=a,u=/^\t*/.exec(l)[0].length;for(let f=0;fnew Q4(l.field,i[l.line]+l.from,i[l.line]+l.to));return{text:r,ranges:s}}static parse(e){let n=[],r=[],i=[],o;for(let a of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){let s=o[1]?+o[1]:null,l=o[2]||o[3]||"",c=-1,u=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f=c&&d.field++}i.push(new Nct(c,r.length,o.index,o.index+u.length)),a=a.slice(0,o.index)+l+a.slice(o.index+o[0].length)}a=a.replace(/\\([{}])/g,(s,l,c)=>{for(let u of i)u.line==r.length&&u.from>c&&(u.from--,u.to--);return l}),r.push(a)}return new Y4(r,i)}}let $ct=gt.widget({widget:new class extends uc{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),Fct=gt.mark({class:"cm-snippetField"});class Ay{constructor(e,n){this.ranges=e,this.active=n,this.deco=gt.set(e.map(r=>(r.from==r.to?$ct:Fct).range(r.from,r.to)))}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new Ay(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const Ow=Rt.define({map(t,e){return t&&t.map(e)}}),jct=Rt.define(),h_=mi.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(Ow))return n.value;if(n.is(jct)&&t)return new Ay(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>rt.decorations.from(t,e=>e?e.deco:gt.none)});function K4(t,e){return je.create(t.filter(n=>n.field==e).map(n=>je.range(n.from,n.to)))}function Bct(t){let e=Y4.parse(t);return(n,r,i,o)=>{let{text:a,ranges:s}=e.instantiate(n.state,i),l={changes:{from:i,to:o,insert:xn.of(a)},scrollIntoView:!0,annotations:r?[q4.of(r),Ur.userEvent.of("input.complete")]:void 0};if(s.length&&(l.selection=K4(s,0)),s.some(c=>c.field>0)){let c=new Ay(s,0),u=l.effects=[Ow.of(c)];n.state.field(h_,!1)===void 0&&u.push(Rt.appendConfig.of([h_,Gct,Hct,upe]))}n.dispatch(n.state.update(l))}}function fpe(t){return({state:e,dispatch:n})=>{let r=e.field(h_,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,o=t>0&&!r.ranges.some(a=>a.field==i+t);return n(e.update({selection:K4(r.ranges,i),effects:Ow.of(o?null:new Ay(r.ranges,i)),scrollIntoView:!0})),!0}}const zct=({state:t,dispatch:e})=>t.field(h_,!1)?(e(t.update({effects:Ow.of(null)})),!0):!1,Uct=fpe(1),Wct=fpe(-1),Vct=[{key:"Tab",run:Uct,shift:Wct},{key:"Escape",run:zct}],Rq=ct.define({combine(t){return t.length?t[0]:Vct}}),Gct=Ed.highest(vw.compute([Rq],t=>t.facet(Rq)));function yc(t,e){return Object.assign(Object.assign({},e),{apply:Bct(t)})}const Hct=rt.domEventHandlers({mousedown(t,e){let n=e.state.field(h_,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(o=>o.from<=r&&o.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:K4(n.ranges,i.field),effects:Ow.of(n.ranges.some(o=>o.field>i.field)?new Ay(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),p_={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Oh=Rt.define({map(t,e){let n=e.mapPos(t,-1,Pi.TrackAfter);return n??void 0}}),Z4=new class extends sp{};Z4.startSide=1;Z4.endSide=-1;const dpe=mi.define({create(){return sn.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(Oh)&&(t=t.update({add:[Z4.range(n.value,n.value+1)]}));return t}});function qct(){return[Qct,dpe]}const rI="()[]{}<>";function hpe(t){for(let e=0;e{if((Xct?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&Ha(Ci(r,0))==1||e!=i.from||n!=i.to)return!1;let o=Zct(t.state,r);return o?(t.dispatch(o),!0):!1}),Yct=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=ppe(t,t.selection.main.head).brackets||p_.brackets,i=null,o=t.changeByRange(a=>{if(a.empty){let s=Jct(t.doc,a.head);for(let l of r)if(l==s&&rk(t.doc,a.head)==hpe(Ci(l,0)))return{changes:{from:a.head-l.length,to:a.head+l.length},range:je.cursor(a.head-l.length)}}return{range:i=a}});return i||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},Kct=[{key:"Backspace",run:Yct}];function Zct(t,e){let n=ppe(t,t.selection.main.head),r=n.brackets||p_.brackets;for(let i of r){let o=hpe(Ci(i,0));if(e==i)return o==i?nut(t,i,r.indexOf(i+i+i)>-1,n):eut(t,i,o,n.before||p_.before);if(e==o&&mpe(t,t.selection.main.from))return tut(t,i,o)}return null}function mpe(t,e){let n=!1;return t.field(dpe).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}function rk(t,e){let n=t.sliceString(e,e+2);return n.slice(0,Ha(Ci(n,0)))}function Jct(t,e){let n=t.sliceString(e-2,e);return Ha(Ci(n,0))==n.length?n:n.slice(1)}function eut(t,e,n,r){let i=null,o=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:n,from:a.to}],effects:Oh.of(a.to+e.length),range:je.range(a.anchor+e.length,a.head+e.length)};let s=rk(t.doc,a.head);return!s||/\s/.test(s)||r.indexOf(s)>-1?{changes:{insert:e+n,from:a.head},effects:Oh.of(a.head+e.length),range:je.cursor(a.head+e.length)}:{range:i=a}});return i?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function tut(t,e,n){let r=null,i=t.changeByRange(o=>o.empty&&rk(t.doc,o.head)==n?{changes:{from:o.head,to:o.head+n.length,insert:n},range:je.cursor(o.head+n.length)}:r={range:o});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function nut(t,e,n,r){let i=r.stringPrefixes||p_.stringPrefixes,o=null,a=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:e,from:s.to}],effects:Oh.of(s.to+e.length),range:je.range(s.anchor+e.length,s.head+e.length)};let l=s.head,c=rk(t.doc,l),u;if(c==e){if(Iq(t,l))return{changes:{insert:e+e,from:l},effects:Oh.of(l+e.length),range:je.cursor(l+e.length)};if(mpe(t,l)){let d=n&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:je.cursor(l+d.length)}}}else{if(n&&t.sliceDoc(l-2*e.length,l)==e+e&&(u=Dq(t,l-2*e.length,i))>-1&&Iq(t,u))return{changes:{insert:e+e+e+e,from:l},effects:Oh.of(l+e.length),range:je.cursor(l+e.length)};if(t.charCategorizer(l)(c)!=fr.Word&&Dq(t,l,i)>-1&&!rut(t,l,e,i))return{changes:{insert:e+e,from:l},effects:Oh.of(l+e.length),range:je.cursor(l+e.length)}}return{range:o=s}});return o?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}function Iq(t,e){let n=fi(t).resolveInner(e+1);return n.parent&&n.from==e}function rut(t,e,n,r){let i=fi(t).resolveInner(e,-1),o=r.reduce((a,s)=>Math.max(a,s.length),0);for(let a=0;a<5;a++){let s=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),l=s.indexOf(n);if(!l||l>-1&&r.indexOf(s.slice(0,l))>-1){let u=i.firstChild;for(;u&&u.from==i.from&&u.to-u.from>n.length+l;){if(t.sliceDoc(u.to-n.length,u.to)==n)return!1;u=u.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}function Dq(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=fr.Word)return e;for(let i of n){let o=e-i.length;if(t.sliceDoc(o,e)==i&&r(t.sliceDoc(o-1,o))!=fr.Word)return o}return-1}function gpe(t={}){return[Lct,To,Mi.of(t),Ict,iut,upe]}const vpe=[{key:"Ctrl-Space",run:Pct},{key:"Escape",run:Mct},{key:"ArrowDown",run:fO(!0)},{key:"ArrowUp",run:fO(!1)},{key:"PageDown",run:fO(!0,"page")},{key:"PageUp",run:fO(!1,"page")},{key:"Enter",run:Ect}],iut=Ed.highest(vw.computeN([Mi],t=>t.facet(Mi).defaultKeymap?[vpe]:[]));class out{constructor(e,n,r){this.from=e,this.to=n,this.diagnostic=r}}class fh{constructor(e,n,r){this.diagnostics=e,this.panel=n,this.selected=r}static init(e,n,r){let i=e,o=r.facet(m_).markerFilter;o&&(i=o(i,r));let a=gt.set(i.map(s=>s.from==s.to||s.from==s.to-1&&r.doc.lineAt(s.from).to==s.from?gt.widget({widget:new put(s),diagnostic:s}).range(s.from):gt.mark({attributes:{class:"cm-lintRange cm-lintRange-"+s.severity+(s.markClass?" "+s.markClass:"")},diagnostic:s}).range(s.from,s.to)),!0);return new fh(a,n,mv(a))}}function mv(t,e=null,n=0){let r=null;return t.between(n,1e9,(i,o,{spec:a})=>{if(!(e&&a.diagnostic!=e))return r=new out(i,o,a.diagnostic),!1}),r}function aut(t,e){let n=e.pos,r=e.end||n,i=t.state.facet(m_).hideOn(t,n,r);if(i!=null)return i;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(a=>a.is(ype))||t.changes.touchesRange(o.from,Math.max(o.to,r)))}function sut(t,e){return t.field(ga,!1)?e:e.concat(Rt.appendConfig.of(vut))}const ype=Rt.define(),J4=Rt.define(),xpe=Rt.define(),ga=mi.define({create(){return new fh(gt.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let n=t.diagnostics.map(e.changes),r=null,i=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);r=mv(n,t.selected.diagnostic,o)||mv(n,null,o)}!n.size&&i&&e.state.facet(m_).autoPanel&&(i=null),t=new fh(n,i,r)}for(let n of e.effects)if(n.is(ype)){let r=e.state.facet(m_).autoPanel?n.value.length?g_.open:null:t.panel;t=fh.init(n.value,r,e.state)}else n.is(J4)?t=new fh(t.diagnostics,n.value?g_.open:null,t.selected):n.is(xpe)&&(t=new fh(t.diagnostics,t.panel,n.value));return t},provide:t=>[s_.from(t,e=>e.panel),rt.decorations.from(t,e=>e.diagnostics)]}),lut=gt.mark({class:"cm-lintRange cm-lintRange-active"});function cut(t,e,n){let{diagnostics:r}=t.state.field(ga),i=[],o=2e8,a=0;r.between(e-(n<0?1:0),e+(n>0?1:0),(l,c,{spec:u})=>{e>=l&&e<=c&&(l==c||(e>l||n>0)&&(e_pe(t,n,!1)))}const fut=t=>{let e=t.state.field(ga,!1);(!e||!e.panel)&&t.dispatch({effects:sut(t.state,[J4.of(!0)])});let n=a_(t,g_.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},Lq=t=>{let e=t.state.field(ga,!1);return!e||!e.panel?!1:(t.dispatch({effects:J4.of(!1)}),!0)},dut=t=>{let e=t.state.field(ga,!1);if(!e)return!1;let n=t.state.selection.main,r=e.diagnostics.iter(n.to+1);return!r.value&&(r=e.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)},hut=[{key:"Mod-Shift-m",run:fut,preventDefault:!0},{key:"F8",run:dut}],m_=ct.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},cc(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,n)=>e?n?r=>e(r)||n(r):e:n}))}});function bpe(t){let e=[];if(t)e:for(let{name:n}of t){for(let r=0;ro.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function _pe(t,e,n){var r;let i=n?bpe(e.actions):[];return zn("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},zn("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(r=e.actions)===null||r===void 0?void 0:r.map((o,a)=>{let s=!1,l=d=>{if(d.preventDefault(),s)return;s=!0;let h=mv(t.state.field(ga).diagnostics,e);h&&o.apply(t,h.from,h.to)},{name:c}=o,u=i[a]?c.indexOf(i[a]):-1,f=u<0?c:[c.slice(0,u),zn("u",c.slice(u,u+1)),c.slice(u+1)];return zn("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${i[a]})"`}.`},f)}),e.source&&zn("div",{class:"cm-diagnosticSource"},e.source))}class put extends uc{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return zn("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class Nq{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=_pe(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class g_{constructor(e){this.view=e,this.items=[];let n=i=>{if(i.keyCode==27)Lq(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],a=bpe(o.actions);for(let s=0;s{for(let o=0;oLq(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(ga).selected;if(!e)return-1;for(let n=0;n{let c=-1,u;for(let f=r;fr&&(this.items.splice(r,c-r),i=!0)),n&&u.diagnostic==n.diagnostic?u.dom.hasAttribute("aria-selected")||(u.dom.setAttribute("aria-selected","true"),o=u):u.dom.hasAttribute("aria-selected")&&u.dom.removeAttribute("aria-selected"),r++});r({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:s})=>{let l=s.height/this.list.offsetHeight;a.tops.bottom&&(this.list.scrollTop+=(a.bottom-s.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function n(){let r=e;e=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)n();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(ga),r=mv(n.diagnostics,this.items[e].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:xpe.of(r)})}static open(e){return new g_(e)}}function mut(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function dO(t){return mut(``,'width="6" height="3"')}const gut=rt.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:dO("#d11")},".cm-lintRange-warning":{backgroundImage:dO("orange")},".cm-lintRange-info":{backgroundImage:dO("#999")},".cm-lintRange-hint":{backgroundImage:dO("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),vut=[ga,rt.decorations.compute([ga],t=>{let{selected:e,panel:n}=t.field(ga);return!e||!n||e.from==e.to?gt.none:gt.set([lut.range(e.from,e.to)])}),rat(cut,{hideOn:aut}),gut];var $q=function(e){e===void 0&&(e={});var n=[];e.closeBracketsKeymap!==!1&&(n=n.concat(Kct)),e.defaultKeymap!==!1&&(n=n.concat(Ilt)),e.searchKeymap!==!1&&(n=n.concat(oct)),e.historyKeymap!==!1&&(n=n.concat(zst)),e.foldKeymap!==!1&&(n=n.concat(tst)),e.completionKeymap!==!1&&(n=n.concat(vpe)),e.lintKeymap!==!1&&(n=n.concat(hut));var r=[];return e.lineNumbers!==!1&&r.push(pat()),e.highlightActiveLineGutter!==!1&&r.push(vat()),e.highlightSpecialChars!==!1&&r.push(Rot()),e.history!==!1&&r.push(Rst()),e.foldGutter!==!1&&r.push(ost()),e.drawSelection!==!1&&r.push(_ot()),e.dropCursor!==!1&&r.push(Tot()),e.allowMultipleSelections!==!1&&r.push(en.allowMultipleSelections.of(!0)),e.indentOnInput!==!1&&r.push(Hat()),e.syntaxHighlighting!==!1&&r.push(dhe(cst,{fallback:!0})),e.bracketMatching!==!1&&r.push(gst()),e.closeBrackets!==!1&&r.push(qct()),e.autocompletion!==!1&&r.push(gpe()),e.rectangularSelection!==!1&&r.push(Hot()),e.crosshairCursor!==!1&&r.push(Qot()),e.highlightActiveLine!==!1&&r.push(Fot()),e.highlightSelectionMatches!==!1&&r.push(Blt()),e.tabSize&&typeof e.tabSize=="number"&&r.push(xw.of(" ".repeat(e.tabSize))),r.concat([vw.of(n.flat())]).filter(Boolean)};const yut="#e5c07b",Fq="#e06c75",xut="#56b6c2",but="#ffffff",HC="#abb2bf",YN="#7d8799",_ut="#61afef",wut="#98c379",jq="#d19a66",Sut="#c678dd",Out="#21252b",Bq="#2c313a",zq="#282c34",iI="#353a42",Cut="#3E4451",Uq="#528bff",Tut=rt.theme({"&":{color:HC,backgroundColor:zq},".cm-content":{caretColor:Uq},".cm-cursor, .cm-dropCursor":{borderLeftColor:Uq},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:Cut},".cm-panels":{backgroundColor:Out,color:HC},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:zq,color:YN,border:"none"},".cm-activeLineGutter":{backgroundColor:Bq},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:iI},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:iI,borderBottomColor:iI},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:Bq,color:HC}}},{dark:!0}),Eut=_w.define([{tag:Ce.keyword,color:Sut},{tag:[Ce.name,Ce.deleted,Ce.character,Ce.propertyName,Ce.macroName],color:Fq},{tag:[Ce.function(Ce.variableName),Ce.labelName],color:_ut},{tag:[Ce.color,Ce.constant(Ce.name),Ce.standard(Ce.name)],color:jq},{tag:[Ce.definition(Ce.name),Ce.separator],color:HC},{tag:[Ce.typeName,Ce.className,Ce.number,Ce.changed,Ce.annotation,Ce.modifier,Ce.self,Ce.namespace],color:yut},{tag:[Ce.operator,Ce.operatorKeyword,Ce.url,Ce.escape,Ce.regexp,Ce.link,Ce.special(Ce.string)],color:xut},{tag:[Ce.meta,Ce.comment],color:YN},{tag:Ce.strong,fontWeight:"bold"},{tag:Ce.emphasis,fontStyle:"italic"},{tag:Ce.strikethrough,textDecoration:"line-through"},{tag:Ce.link,color:YN,textDecoration:"underline"},{tag:Ce.heading,fontWeight:"bold",color:Fq},{tag:[Ce.atom,Ce.bool,Ce.special(Ce.variableName)],color:jq},{tag:[Ce.processingInstruction,Ce.string,Ce.inserted],color:wut},{tag:Ce.invalid,color:but}]),Put=[Tut,dhe(Eut)];var Mut=rt.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),kut=function(e){e===void 0&&(e={});var{indentWithTab:n=!0,editable:r=!0,readOnly:i=!1,theme:o="light",placeholder:a="",basicSetup:s=!0}=e,l=[];switch(n&&l.unshift(vw.of([Dlt])),s&&(typeof s=="boolean"?l.unshift($q()):l.unshift($q(s))),a&&l.unshift(Uot(a)),o){case"light":l.push(Mut);break;case"dark":l.push(Put);break;case"none":break;default:l.push(o);break}return r===!1&&l.push(rt.editable.of(!1)),i&&l.push(en.readOnly.of(!0)),[...l]},Aut=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(e=>!e.empty)}),Wq=lc.define(),Rut=[];function Iut(t){var{value:e,selection:n,onChange:r,onStatistics:i,onCreateEditor:o,onUpdate:a,extensions:s=Rut,autoFocus:l,theme:c="light",height:u="",minHeight:f="",maxHeight:d="",placeholder:h="",width:p="",minWidth:m="",maxWidth:g="",editable:v=!0,readOnly:y=!1,indentWithTab:x=!0,basicSetup:b=!0,root:_,initialState:S}=t,[O,C]=M.useState(),[E,k]=M.useState(),[I,P]=M.useState(),R=rt.theme({"&":{height:u,minHeight:f,maxHeight:d,width:p,minWidth:m,maxWidth:g},"& .cm-scroller":{height:"100% !important"}}),T=rt.updateListener.of(B=>{if(B.docChanged&&typeof r=="function"&&!B.transactions.some($=>$.annotation(Wq))){var U=B.state.doc,W=U.toString();r(W,B)}i&&i(Aut(B))}),L=kut({theme:c,editable:v,readOnly:y,placeholder:h,indentWithTab:x,basicSetup:b}),z=[T,R,...L];return a&&typeof a=="function"&&z.push(rt.updateListener.of(a)),z=z.concat(s),M.useEffect(()=>{if(O&&!I){var B={doc:e,selection:n,extensions:z},U=S?en.fromJSON(S.json,B,S.fields):en.create(B);if(P(U),!E){var W=new rt({state:U,parent:O,root:_});k(W),o&&o(W,U)}}return()=>{E&&(P(void 0),k(void 0))}},[O,I]),M.useEffect(()=>C(t.container),[t.container]),M.useEffect(()=>()=>{E&&(E.destroy(),k(void 0))},[E]),M.useEffect(()=>{l&&E&&E.focus()},[l,E]),M.useEffect(()=>{E&&E.dispatch({effects:Rt.reconfigure.of(z)})},[c,s,u,f,d,p,m,g,h,v,y,x,b,r,a]),M.useEffect(()=>{if(e!==void 0){var B=E?E.state.doc.toString():"";E&&e!==B&&E.dispatch({changes:{from:0,to:B.length,insert:e||""},annotations:[Wq.of(!0)]})}},[e,E]),{state:I,setState:P,view:E,setView:k,container:O,setContainer:C}}var Dut=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],ik=M.forwardRef((t,e)=>{var{className:n,value:r="",selection:i,extensions:o=[],onChange:a,onStatistics:s,onCreateEditor:l,onUpdate:c,autoFocus:u,theme:f="light",height:d,minHeight:h,maxHeight:p,width:m,minWidth:g,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:_,readOnly:S,root:O,initialState:C}=t,E=Ae(t,Dut),k=M.useRef(null),{state:I,view:P,container:R}=Iut({container:k.current,root:O,value:r,autoFocus:u,theme:f,height:d,minHeight:h,maxHeight:p,width:m,minWidth:g,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:_,readOnly:S,selection:i,onChange:a,onStatistics:s,onCreateEditor:l,onUpdate:c,extensions:o,initialState:C});if(M.useImperativeHandle(e,()=>({editor:k.current,state:I,view:P}),[k,R,I,P]),typeof r!="string")throw new Error("value must be typeof string but got "+typeof r);var T=typeof f=="string"?"cm-theme-"+f:"cm-theme";return w.jsx("div",j({ref:k,className:""+T+(n?" "+n:"")},E))});ik.displayName="CodeMirror";var Vq={};let Lut=class KN{constructor(e,n,r,i,o,a,s,l,c,u=0,f){this.p=e,this.stack=n,this.state=r,this.reducePos=i,this.pos=o,this.score=a,this.buffer=s,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=f}toString(){return`[${this.stack.filter((e,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,r=0){let i=e.parser.context;return new KN(e,[],n,r,r,0,[],0,i?new Gq(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var n;let r=e>>19,i=e&65535,{parser:o}=this.p,a=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(i,c)}storeNode(e,n,r,i=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[s-4]==0&&a.buffer[s-1]>-1){if(n==r)return;if(a.buffer[s-2]>=n){a.buffer[s-2]=r;return}}}if(!o||this.pos==r)this.buffer.push(e,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0){let s=!1;for(let l=a;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){s=!0;break}if(s)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4)}this.buffer[a]=e,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(e,n,r,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let o=e,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(o,1)||(this.reducePos=i)),this.pushState(o,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(e,n,r,i){e&65536?this.reduce(e):this.shift(e,n,r,i)}useNode(e,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let r=e.buffer.slice(n),i=e.bufferBase+n;for(;e&&i==e.bufferBase;)e=e.parent;return new KN(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new Nut(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let o=0,a;ol&1&&s==a)||i.push(n[o],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,o=this.stack.length-r*3;if(o<0||e.getGoto(this.stack[o],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:e}=this.p,n=[],r=(i,o)=>{if(!n.includes(i))return n.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let s=(a>>19)-o;if(s>1){let l=a&65535,c=this.stack.length-s*3;if(c>=0&&e.getGoto(this.stack[c],l,!1)>=0)return s<<19|65536|l}}else{let s=r(a,o+1);if(s!=null)return s}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class Gq{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}}class Nut{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class LE{constructor(e,n,r){this.stack=e,this.pos=n,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new LE(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new LE(this.stack,this.pos,this.index)}}function hO(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let l=a-32;if(l>=46&&(l-=46,s=!0),o+=l,s)break;o*=46}n?n[i++]=o:n=new e(o)}return n}class qC{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Hq=new qC;class $ut{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Hq,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let r=this.range,i=this.rangeIndex,o=this.pos+e;for(;or.to:o>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];o+=a.from-r.to,r=a}return o}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,n.from);return this.end}peek(e){let n=this.chunkOff+e,r,i;if(n>=0&&n=this.chunk2Pos&&rs.to&&(this.chunk2=this.chunk2.slice(0,s.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(e,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=Hq,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>e&&(r+=this.input.read(Math.max(i.from,e),Math.min(i.to,n)))}return r}}class Lg{constructor(e,n){this.data=e,this.id=n}token(e,n){let{parser:r}=n.p;Fut(this.data,e,n,this.id,r.data,r.tokenPrecTable)}}Lg.prototype.contextual=Lg.prototype.fallback=Lg.prototype.extend=!1;Lg.prototype.fallback=Lg.prototype.extend=!1;class ok{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function Fut(t,e,n,r,i,o){let a=0,s=1<0){let p=t[h];if(l.allows(p)&&(e.token.value==-1||e.token.value==p||jut(p,e.token.value,i,o))){e.acceptToken(p);break}}let u=e.next,f=0,d=t[a+2];if(e.next<0&&d>f&&t[c+d*3-3]==65535){a=t[c+d*3-1];continue e}for(;f>1,p=c+h+(h<<1),m=t[p],g=t[p+1]||65536;if(u=g)f=h+1;else{a=t[p+2],e.advance();continue e}}break}}function qq(t,e,n){for(let r=e,i;(i=t[r])!=65535;r++)if(i==n)return r-e;return-1}function jut(t,e,n,r){let i=qq(n,r,e);return i<0||qq(n,r,t)e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}class But{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Xq(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Xq(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(o instanceof Wr){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+o.length}}}class zut{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new qC)}getActions(e){let n=0,r=null,{parser:i}=e.p,{tokenizers:o}=i,a=i.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,l=0;for(let c=0;cf.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=n;if(f.extended>-1&&(n=this.addActions(e,f.extended,f.end,n)),n=this.addActions(e,f.value,f.end,n),!u.extend&&(r=f,n>d))break}}for(;this.actions.length>n;)this.actions.pop();return l&&e.setLookAhead(l),!r&&e.pos==this.stream.end&&(r=new qC,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,n=this.addActions(e,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new qC,{pos:r,p:i}=e;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(e,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,e),r),e.value>-1){let{parser:o}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(s>>1)){s&1?e.extended=s>>1:e.value=s>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,n,r,i){for(let o=0;oe.bufferLength*4?new But(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,r=this.stacks=[],i,o;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(s);else{if(this.advanceStack(s,r,e))continue;{i||(i=[],o=[]),i.push(s);let l=this.tokens.getMainToken(s);o.push(l.value,l.end)}}break}}if(!r.length){let a=i&&Gut(i);if(a)return Ko&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Ko&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,o,r);if(a)return Ko&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((s,l)=>l.score-s.score);r.length>a;)r.pop();r.some(s=>s.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((s.score-c.score||s.buffer.length-c.buffer.length)>0)r.splice(l--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,u=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!c||(f.prop(Vt.contextHash)||0)==u))return e.useNode(f,d),Ko&&console.log(a+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof Wr)||f.children.length==0||f.positions[0]>0)break;let h=f.children[0];if(h instanceof Wr&&f.positions[0]==0)f=h;else break}}let s=o.stateSlot(e.state,4);if(s>0)return e.reduce(s),Ko&&console.log(a+this.stackID(e)+` (via always-reduce ${o.getName(s&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let c=0;ci?n.push(p):r.push(p)}return!1}advanceFully(e,n){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return Qq(e,n),!0}}runRecovery(e,n,r){let i=null,o=!1;for(let a=0;a ":"";if(s.deadEnd&&(o||(o=!0,s.restart(),Ko&&console.log(u+this.stackID(s)+" (restarted)"),this.advanceFully(s,r))))continue;let f=s.split(),d=u;for(let h=0;f.forceReduce()&&h<10&&(Ko&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));h++)Ko&&(d=this.stackID(f)+" -> ");for(let h of s.recoverByInsert(l))Ko&&console.log(u+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,r);this.stream.end>s.pos?(c==s.pos&&(c++,l=0),s.recoverByDelete(l,c),Ko&&console.log(u+this.stackID(s)+` (via recover-delete ${this.parser.getName(l)})`),Qq(s,r)):(!i||i.scoret;class Vut{constructor(e){this.start=e.start,this.shift=e.shift||aI,this.reduce=e.reduce||aI,this.reuse=e.reuse||aI,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class v_ extends Yde{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let s=0;se.topRules[s][1]),i=[];for(let s=0;s=0)o(u,l,s[c++]);else{let f=s[c+-u];for(let d=-u;d>0;d--)o(s[c++],l,f);c++}}}this.nodeSet=new A4(n.map((s,l)=>Vo.define({name:l>=this.minRepeatTerm?void 0:s,id:l,props:i[l],top:r.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Hde;let a=hO(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let s=0;stypeof s=="number"?new Lg(a,s):s),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,r){let i=new Uut(this,e,n,r);for(let o of this.wrappers)i=o(i,e,n,r);return i}getGoto(e,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let o=i[n+1];;){let a=i[o++],s=a&1,l=i[o++];if(s&&r)return l;for(let c=o+(a>>1);o0}validAction(e,n){return!!this.allActions(e,r=>r==n?!0:null)}allActions(e,n){let r=this.stateSlot(e,4),i=r?n(r):void 0;for(let o=this.stateSlot(e,1);i==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=$c(this.data,o+2);else break;i=n($c(this.data,o+1))}return i}nextStates(e){let n=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=$c(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((o,a)=>a&1&&o==i)||n.push(this.data[r],i)}}return n}configure(e){let n=Object.assign(Object.create(v_.prototype),this);if(e.props&&(n.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);n.top=r}return e.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=e.tokenizers.find(o=>o.from==r);return i?i.to:r})),e.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let o=e.specializers.find(s=>s.from==r.external);if(!o)return r;let a=Object.assign(Object.assign({},r),{external:o.to});return n.specializers[i]=Yq(a),a})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(e)for(let o of e.split(" ")){let a=n.indexOf(o);a>=0&&(r[a]=!0)}let i=null;for(let o=0;or)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scoret.external(n,r)<<1|e}return t.get}const Hut=L4({String:Ce.string,Number:Ce.number,"True False":Ce.bool,PropertyName:Ce.propertyName,Null:Ce.null,",":Ce.separator,"[ ]":Ce.squareBracket,"{ }":Ce.brace}),qut=v_.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[Hut],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),Xut=c_.define({name:"json",parser:qut.configure({props:[$4.add({Object:uq({except:/^\s*\}/}),Array:uq({except:/^\s*\]/})}),j4.add({"Object Array":rhe})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function wpe(){return new ehe(Xut)}const Qut=1,Spe=194,Ope=195,Yut=196,Kq=197,Kut=198,Zut=199,Jut=200,eft=2,Cpe=3,Zq=201,tft=24,nft=25,rft=49,ift=50,oft=55,aft=56,sft=57,lft=59,cft=60,uft=61,fft=62,dft=63,hft=65,pft=238,mft=71,gft=241,vft=242,yft=243,xft=244,bft=245,_ft=246,wft=247,Sft=248,Tpe=72,Oft=249,Cft=250,Tft=251,Eft=252,Pft=253,Mft=254,kft=255,Aft=256,Rft=73,Ift=77,Dft=263,Lft=112,Nft=130,$ft=151,Fft=152,jft=155,dp=10,y_=13,eU=32,ak=9,tU=35,Bft=40,zft=46,ZN=123,Jq=125,Epe=39,Ppe=34,Uft=92,Wft=111,Vft=120,Gft=78,Hft=117,qft=85,Xft=new Set([nft,rft,ift,Dft,hft,Nft,aft,sft,pft,fft,dft,Tpe,Rft,Ift,cft,uft,$ft,Fft,jft,Lft]);function sI(t){return t==dp||t==y_}function lI(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}const Qft=new ok((t,e)=>{let n;if(t.next<0)t.acceptToken(Zut);else if(e.context.flags&XC)sI(t.next)&&t.acceptToken(Kut,1);else if(((n=t.peek(-1))<0||sI(n))&&e.canShift(Kq)){let r=0;for(;t.next==eU||t.next==ak;)t.advance(),r++;(t.next==dp||t.next==y_||t.next==tU)&&t.acceptToken(Kq,-r)}else sI(t.next)&&t.acceptToken(Yut,1)},{contextual:!0}),Yft=new ok((t,e)=>{let n=e.context;if(n.flags)return;let r=t.peek(-1);if(r==dp||r==y_){let i=0,o=0;for(;;){if(t.next==eU)i++;else if(t.next==ak)i+=8-i%8;else break;t.advance(),o++}i!=n.indent&&t.next!=dp&&t.next!=y_&&t.next!=tU&&(i[t,e|Mpe])),Jft=new Vut({start:Kft,reduce(t,e,n,r){return t.flags&XC&&Xft.has(e)||(e==mft||e==Tpe)&&t.flags&Mpe?t.parent:t},shift(t,e,n,r){return e==Spe?new QC(t,Zft(r.read(r.pos,n.pos)),0):e==Ope?t.parent:e==tft||e==oft||e==lft||e==Cpe?new QC(t,0,XC):eX.has(e)?new QC(t,0,eX.get(e)|t.flags&XC):t},hash(t){return t.hash}}),edt=new ok(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let n=t.peek(e);if(!(n==eU||n==ak)){n!=Bft&&n!=zft&&n!=dp&&n!=y_&&n!=tU&&t.acceptToken(Qut);return}}}),tdt=new ok((t,e)=>{let{flags:n}=e.context,r=n&Ec?Ppe:Epe,i=(n&Pc)>0,o=!(n&Mc),a=(n&kc)>0,s=t.pos;for(;!(t.next<0);)if(a&&t.next==ZN)if(t.peek(1)==ZN)t.advance(2);else{if(t.pos==s){t.acceptToken(Cpe,1);return}break}else if(o&&t.next==Uft){if(t.pos==s){t.advance();let l=t.next;l>=0&&(t.advance(),ndt(t,l)),t.acceptToken(eft);return}break}else if(t.next==r&&(!i||t.peek(1)==r&&t.peek(2)==r)){if(t.pos==s){t.acceptToken(Zq,i?3:1);return}break}else if(t.next==dp){if(i)t.advance();else if(t.pos==s){t.acceptToken(Zq);return}break}else t.advance();t.pos>s&&t.acceptToken(Jut)});function ndt(t,e){if(e==Wft)for(let n=0;n<2&&t.next>=48&&t.next<=55;n++)t.advance();else if(e==Vft)for(let n=0;n<2&&lI(t.next);n++)t.advance();else if(e==Hft)for(let n=0;n<4&&lI(t.next);n++)t.advance();else if(e==qft)for(let n=0;n<8&&lI(t.next);n++)t.advance();else if(e==Gft&&t.next==ZN){for(t.advance();t.next>=0&&t.next!=Jq&&t.next!=Epe&&t.next!=Ppe&&t.next!=dp;)t.advance();t.next==Jq&&t.advance()}}const rdt=L4({'async "*" "**" FormatConversion FormatSpec':Ce.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":Ce.controlKeyword,"in not and or is del":Ce.operatorKeyword,"from def class global nonlocal lambda":Ce.definitionKeyword,import:Ce.moduleKeyword,"with as print":Ce.keyword,Boolean:Ce.bool,None:Ce.null,VariableName:Ce.variableName,"CallExpression/VariableName":Ce.function(Ce.variableName),"FunctionDefinition/VariableName":Ce.function(Ce.definition(Ce.variableName)),"ClassDefinition/VariableName":Ce.definition(Ce.className),PropertyName:Ce.propertyName,"CallExpression/MemberExpression/PropertyName":Ce.function(Ce.propertyName),Comment:Ce.lineComment,Number:Ce.number,String:Ce.string,FormatString:Ce.special(Ce.string),Escape:Ce.escape,UpdateOp:Ce.updateOperator,"ArithOp!":Ce.arithmeticOperator,BitOp:Ce.bitwiseOperator,CompareOp:Ce.compareOperator,AssignOp:Ce.definitionOperator,Ellipsis:Ce.punctuation,At:Ce.meta,"( )":Ce.paren,"[ ]":Ce.squareBracket,"{ }":Ce.brace,".":Ce.derefOperator,", ;":Ce.separator}),idt={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert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#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[edt,Yft,Qft,tdt,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:t=>idt[t]||-1}],tokenPrec:7652}),tX=new Oat,kpe=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function pO(t){return(e,n,r)=>{if(r)return!1;let i=e.node.getChild("VariableName");return i&&n(i,t),!0}}const adt={FunctionDefinition:pO("function"),ClassDefinition:pO("class"),ForStatement(t,e,n){if(n){for(let r=t.node.firstChild;r;r=r.nextSibling)if(r.name=="VariableName")e(r,"variable");else if(r.name=="in")break}},ImportStatement(t,e){var n,r;let{node:i}=t,o=((n=i.firstChild)===null||n===void 0?void 0:n.name)=="from";for(let a=i.getChild("import");a;a=a.nextSibling)a.name=="VariableName"&&((r=a.nextSibling)===null||r===void 0?void 0:r.name)!="as"&&e(a,o?"variable":"namespace")},AssignStatement(t,e){for(let n=t.node.firstChild;n;n=n.nextSibling)if(n.name=="VariableName")e(n,"variable");else if(n.name==":"||n.name=="AssignOp")break},ParamList(t,e){for(let n=null,r=t.node.firstChild;r;r=r.nextSibling)r.name=="VariableName"&&(!n||!/\*|AssignOp/.test(n.name))&&e(r,"variable"),n=r},CapturePattern:pO("variable"),AsPattern:pO("variable"),__proto__:null};function Ape(t,e){let n=tX.get(e);if(n)return n;let r=[],i=!0;function o(a,s){let l=t.sliceString(a.from,a.to);r.push({label:l,type:s})}return e.cursor(Jr.IncludeAnonymous).iterate(a=>{if(a.name){let s=adt[a.name];if(s&&s(a,o,i)||!i&&kpe.has(a.name))return!1;i=!1}else if(a.to-a.from>8192){for(let s of Ape(t,a.node))r.push(s);return!1}}),tX.set(e,r),r}const nX=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,Rpe=["String","FormatString","Comment","PropertyName"];function sdt(t){let e=fi(t.state).resolveInner(t.pos,-1);if(Rpe.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&nX.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let r=[];for(let i=e;i;i=i.parent)kpe.has(i.name)&&(r=r.concat(Ape(t.state.doc,i)));return{options:r,from:n?e.from:t.pos,validFor:nX}}const ldt=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(t=>({label:t,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(t=>({label:t,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(t=>({label:t,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(t=>({label:t,type:"function"}))),cdt=[yc("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),yc("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),yc("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),yc("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),yc(`if \${}: - -`,{label:"if",detail:"block",type:"keyword"}),yc("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),yc("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),yc("import ${module}",{label:"import",detail:"statement",type:"keyword"}),yc("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],udt=uct(Rpe,ope(ldt.concat(cdt)));function rX(t,e){let n=t.baseIndentFor(e),r=t.lineAt(t.pos,-1),i=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&t.node.ton?null:n+t.unit}const cI=c_.define({name:"python",parser:odt.configure({props:[$4.add({Body:t=>{var e;return(e=rX(t,t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:|else:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":QR({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":QR({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":QR({closing:"]"}),"String FormatString":()=>null,Script:t=>{if(t.pos+/\s*/.exec(t.textAfter)[0].length>=t.node.to){let e=null;for(let n=t.node,r=n.to;n=n.lastChild,!(!n||n.to!=r);)n.type.name=="Body"&&(e=n);if(e){let n=rX(t,e);if(n!=null)return n}}return t.continue()}}),j4.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":rhe,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function fdt(){return new ehe(cI,[cI.data.of({autocomplete:sdt}),cI.data.of({autocomplete:udt})])}const ddt=""+new URL("python-bw-BV0FRHt1.png",import.meta.url).href,gv={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},table:{},keyValueTableContainer:t=>({background:t.palette.divider}),variableHtmlReprContainer:t=>({background:t.palette.divider,padding:t.spacing(1),marginTop:t.spacing(1),marginBottom:t.spacing(1)}),media:{height:200},cardContent:{padding:"8px"},code:{fontFamily:"Monospace"}},hdt=({visibleInfoCardElements:t,setVisibleInfoCardElements:e,infoCardElementViewModes:n,updateInfoCardElementViewMode:r,selectedDataset:i,selectedVariable:o,selectedPlaceInfo:a,selectedTime:s,serverConfig:l,allowViewModePython:c})=>{const u=(p,m)=>{e(m)};let f,d,h;if(i){const p="dataset",m=n[p],g=y=>r(p,y),v=t.includes(p);f=w.jsx(pdt,{isIn:v,viewMode:m,setViewMode:g,dataset:i,serverConfig:l,hasPython:c})}if(i&&o){const p="variable",m=n[p],g=y=>r(p,y),v=t.includes(p);d=w.jsx(mdt,{isIn:v,viewMode:m,setViewMode:g,variable:o,time:s,serverConfig:l,hasPython:c})}if(a){const p="place",m=n[p],g=y=>r(p,y),v=t.includes(p);h=w.jsx(gdt,{isIn:v,viewMode:m,setViewMode:g,placeInfo:a})}return w.jsxs(Bre,{sx:gv.card,children:[w.jsx(zre,{disableSpacing:!0,children:w.jsxs(iy,{size:"small",value:t,onChange:u,children:[w.jsx(Pn,{value:"dataset",disabled:i===null,size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Dataset information"),children:w.jsx(yfe,{})})},0),w.jsx(Pn,{value:"variable",disabled:o===null,size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Variable information"),children:w.jsx(s4,{})})},1),w.jsx(Pn,{value:"place",disabled:a===null,size:"small",sx:ko.toggleButton,children:w.jsx(xt,{arrow:!0,title:fe.get("Place information"),children:w.jsx(gfe,{})})},2)]},0)}),f,d,h]})},pdt=({isIn:t,viewMode:e,setViewMode:n,dataset:r,serverConfig:i,hasPython:o})=>{let a;if(e==="code"){const s=r.dimensions.map(c=>JN(c,["name","size","dtype"])),l=JN(r,["id","title","bbox","attrs"]);l.dimensions=s,a=w.jsx(rU,{code:JSON.stringify(l,null,2)})}else if(e==="list")a=w.jsx(tu,{children:w.jsx(x_,{data:Object.getOwnPropertyNames(r.attrs||{}).map(s=>[s,r.attrs[s]])})});else if(e==="text"){const s=[[fe.get("Dimension names"),r.dimensions.map(l=>l.name).join(", ")],[fe.get("Dimension data types"),r.dimensions.map(l=>l.dtype).join(", ")],[fe.get("Dimension lengths"),r.dimensions.map(l=>l.size).join(", ")],[fe.get("Geographical extent")+" (x1, y1, x2, y2)",r.bbox.map(l=>l+"").join(", ")],[fe.get("Spatial reference system"),r.spatialRef]];a=w.jsx(tu,{children:w.jsx(x_,{data:s})})}else e==="python"&&(a=w.jsx(Dpe,{code:vdt(i,r)}));return w.jsx(nU,{title:r.title||"?",subheader:r.title&&`ID: ${r.id}`,isIn:t,viewMode:e,setViewMode:n,hasPython:o,children:a})},mdt=({isIn:t,viewMode:e,setViewMode:n,variable:r,time:i,serverConfig:o,hasPython:a})=>{let s,l;if(e==="code"){const c=JN(r,["id","name","title","units","expression","shape","dtype","shape","timeChunkSize","colorBarMin","colorBarMax","colorBarName","attrs"]);s=w.jsx(rU,{code:JSON.stringify(c,null,2)})}else if(e==="list"){if(s=w.jsx(tu,{children:w.jsx(x_,{data:Object.getOwnPropertyNames(r.attrs||{}).map(c=>[c,r.attrs[c]])})}),r.htmlRepr){const c=u=>{u&&r.htmlRepr&&(u.innerHTML=r.htmlRepr)};l=w.jsx(tu,{children:w.jsx(Ho,{ref:c,sx:gv.variableHtmlReprContainer})})}}else if(e==="text"){let c=[[fe.get("Name"),r.name],[fe.get("Title"),r.title],[fe.get("Units"),r.units]];W1(r)?c.push([fe.get("Expression"),r.expression]):c=[...c,[fe.get("Data type"),r.dtype],[fe.get("Dimension names"),r.dims.join(", ")],[fe.get("Dimension lengths"),r.shape.map(u=>u+"").join(", ")],[fe.get("Time chunk size"),r.timeChunkSize]],s=w.jsx(tu,{children:w.jsx(x_,{data:c})})}else e==="python"&&(s=w.jsx(Dpe,{code:ydt(o,r,i)}));return w.jsxs(nU,{title:r.title||r.name,subheader:`${fe.get("Name")}: ${r.name}`,isIn:t,viewMode:e,setViewMode:n,hasPython:a,children:[l,s]})},gdt=({isIn:t,viewMode:e,setViewMode:n,placeInfo:r})=>{const i=r.place;let o,a,s;if(e==="code")o=w.jsx(rU,{code:JSON.stringify(i,null,2)});else if(e==="list")if(i.properties){const l=Object.getOwnPropertyNames(i.properties).map(c=>[c,i.properties[c]]);o=w.jsx(tu,{children:w.jsx(x_,{data:l})})}else o=w.jsx(tu,{children:w.jsx(At,{children:fe.get("There is no information available for this location.")})});else r.image&&r.image.startsWith("http")&&(a=w.jsx(AMe,{sx:gv.media,image:r.image,title:r.label})),r.description&&(s=w.jsx(tu,{children:w.jsx(At,{children:r.description})}));return w.jsxs(nU,{title:r.label,subheader:`${fe.get("Geometry type")}: ${fe.get(i.geometry.type)}`,isIn:t,viewMode:e,setViewMode:n,children:[a,s,o]})},nU=({isIn:t,title:e,subheader:n,viewMode:r,setViewMode:i,hasPython:o,children:a})=>{const s=(l,c)=>{i(c)};return w.jsxs(f5,{in:t,timeout:"auto",unmountOnExit:!0,children:[w.jsx(OMe,{title:e,subheader:n,titleTypographyProps:{fontSize:"1.1em"},action:w.jsxs(iy,{size:"small",value:r,exclusive:!0,onChange:s,children:[w.jsx(Pn,{value:"text",size:"small",sx:ko.toggleButton,children:w.jsx(vfe,{})},0),w.jsx(Pn,{value:"list",size:"small",sx:ko.toggleButton,children:w.jsx(mfe,{})},1),w.jsx(Pn,{value:"code",size:"small",sx:ko.toggleButton,children:w.jsx(pfe,{})},2),o&&w.jsx(Pn,{value:"python",size:"small",sx:{...ko.toggleButton,width:"30px"},children:w.jsx("img",{src:ddt,width:16,alt:"python logo"})},3)]},0)}),a]})},x_=({data:t})=>w.jsx(aie,{component:Ho,sx:gv.keyValueTableContainer,children:w.jsx(P5,{sx:gv.table,size:"small",children:w.jsx(M5,{children:t.map((e,n)=>{const[r,i]=e;let o=i;return typeof i=="string"&&(i.startsWith("http://")||i.startsWith("https://"))?o=w.jsx(tAe,{href:i,target:"_blank",rel:"noreferrer",children:i}):Array.isArray(i)&&(o="["+i.map(a=>a+"").join(", ")+"]"),w.jsxs(vl,{children:[w.jsx(sr,{children:r}),w.jsx(sr,{align:"right",children:o})]},n)})})})}),tu=({children:t})=>w.jsx(Ure,{sx:gv.cardContent,children:t}),Ipe=({code:t,extension:e})=>w.jsx(tu,{children:w.jsx(ik,{theme:Kt.instance.branding.themeName||"light",height:"320px",extensions:[e],value:t,readOnly:!0})}),rU=({code:t})=>w.jsx(Ipe,{code:t,extension:wpe()}),Dpe=({code:t})=>w.jsx(Ipe,{code:t,extension:fdt()});function JN(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function vdt(t,e){const n=xdt(e.id);return["from xcube.core.store import new_data_store","","store = new_data_store(",' "s3",',' root="datasets", # can also use "pyramids" here'," storage_options={",' "anon": True,',' "client_kwargs": {',` "endpoint_url": "${t.url}/s3"`," }"," }",")","# store.list_data_ids()",`dataset = store.open_data(data_id="${n}")`].join(` -`)}function ydt(t,e,n){const r=e.name,i=e.colorBarMin,o=e.colorBarMax,a=e.colorBarName;let s="";n!==null&&(s=`sel(time="${gy(n)}", method="nearest")`);const l=[];if(W1(e)){const c=e.expression;l.push("from xcube.util.expression import compute_array_expr"),l.push("from xcube.util.expression import new_dataset_namespace"),l.push(""),l.push("namespace = new_dataset_namespace(dataset)"),l.push(`${r} = compute_array_expr("${c}", namespace`),s&&l.push(`${r} = ${r}.${s}`)}else s?l.push(`${r} = dataset.${r}.${s}`):l.push(`${r} = dataset.${r}`);return l.push(`${r}.plot.imshow(vmin=${i}, vmax=${o}, cmap="${a}")`),l.join(` -`)}function xdt(t){return bdt(t)[0]+".zarr"}function bdt(t){const e=t.lastIndexOf(".");return e>=0?[t.substring(0,e),t.substring(e)]:[t,""]}const _dt=t=>({locale:t.controlState.locale,visibleInfoCardElements:xVe(t),infoCardElementViewModes:bVe(t),selectedDataset:qr(t),selectedVariable:vo(t),selectedPlaceInfo:iw(t),selectedTime:tw(t),serverConfig:pi(t),allowViewModePython:!!Kt.instance.branding.allowViewModePython}),wdt={setVisibleInfoCardElements:$8e,updateInfoCardElementViewMode:F8e},Sdt=Jt(_dt,wdt)(hdt),uI=5,Odt={container:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(uI),marginRight:t.spacing(uI),width:`calc(100% - ${t.spacing(3*(uI+1))})`,height:"5em",display:"flex",alignItems:"flex-end"})};function Cdt({dataTimeRange:t,selectedTimeRange:e,selectTimeRange:n}){const[r,i]=M.useState(e);M.useEffect(()=>{i(e)},[e]);const o=(u,f)=>{Array.isArray(f)&&i([f[0],f[1]])},a=(u,f)=>{n&&Array.isArray(f)&&n([f[0],f[1]])};function s(u){return gy(u)}const l=Array.isArray(t);l||(t=[Date.now()-2*Aae.years,Date.now()]);const c=[{value:t[0],label:Xb(t[0])},{value:t[1],label:Xb(t[1])}];return w.jsx(Ke,{sx:Odt.container,children:w.jsx(ry,{disabled:!l,min:t[0],max:t[1],value:r,marks:c,onChange:o,onChangeCommitted:a,size:"small",valueLabelDisplay:"on",valueLabelFormat:s})})}var Tdt=Array.isArray,qo=Tdt,Edt=typeof Zn=="object"&&Zn&&Zn.Object===Object&&Zn,Lpe=Edt,Pdt=Lpe,Mdt=typeof self=="object"&&self&&self.Object===Object&&self,kdt=Pdt||Mdt||Function("return this")(),dc=kdt,Adt=dc,Rdt=Adt.Symbol,Cw=Rdt,iX=Cw,Npe=Object.prototype,Idt=Npe.hasOwnProperty,Ddt=Npe.toString,N0=iX?iX.toStringTag:void 0;function Ldt(t){var e=Idt.call(t,N0),n=t[N0];try{t[N0]=void 0;var r=!0}catch{}var i=Ddt.call(t);return r&&(e?t[N0]=n:delete t[N0]),i}var Ndt=Ldt,$dt=Object.prototype,Fdt=$dt.toString;function jdt(t){return Fdt.call(t)}var Bdt=jdt,oX=Cw,zdt=Ndt,Udt=Bdt,Wdt="[object Null]",Vdt="[object Undefined]",aX=oX?oX.toStringTag:void 0;function Gdt(t){return t==null?t===void 0?Vdt:Wdt:aX&&aX in Object(t)?zdt(t):Udt(t)}var Ou=Gdt;function Hdt(t){return t!=null&&typeof t=="object"}var Cu=Hdt,qdt=Ou,Xdt=Cu,Qdt="[object Symbol]";function Ydt(t){return typeof t=="symbol"||Xdt(t)&&qdt(t)==Qdt}var Ry=Ydt,Kdt=qo,Zdt=Ry,Jdt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,eht=/^\w*$/;function tht(t,e){if(Kdt(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Zdt(t)?!0:eht.test(t)||!Jdt.test(t)||e!=null&&t in Object(e)}var iU=tht;function nht(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Md=nht;const Iy=$t(Md);var rht=Ou,iht=Md,oht="[object AsyncFunction]",aht="[object Function]",sht="[object GeneratorFunction]",lht="[object Proxy]";function cht(t){if(!iht(t))return!1;var e=rht(t);return e==aht||e==sht||e==oht||e==lht}var oU=cht;const Bt=$t(oU);var uht=dc,fht=uht["__core-js_shared__"],dht=fht,fI=dht,sX=function(){var t=/[^.]+$/.exec(fI&&fI.keys&&fI.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function hht(t){return!!sX&&sX in t}var pht=hht,mht=Function.prototype,ght=mht.toString;function vht(t){if(t!=null){try{return ght.call(t)}catch{}try{return t+""}catch{}}return""}var $pe=vht,yht=oU,xht=pht,bht=Md,_ht=$pe,wht=/[\\^$.*+?()[\]{}|]/g,Sht=/^\[object .+?Constructor\]$/,Oht=Function.prototype,Cht=Object.prototype,Tht=Oht.toString,Eht=Cht.hasOwnProperty,Pht=RegExp("^"+Tht.call(Eht).replace(wht,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Mht(t){if(!bht(t)||xht(t))return!1;var e=yht(t)?Pht:Sht;return e.test(_ht(t))}var kht=Mht;function Aht(t,e){return t==null?void 0:t[e]}var Rht=Aht,Iht=kht,Dht=Rht;function Lht(t,e){var n=Dht(t,e);return Iht(n)?n:void 0}var jp=Lht,Nht=jp,$ht=Nht(Object,"create"),sk=$ht,lX=sk;function Fht(){this.__data__=lX?lX(null):{},this.size=0}var jht=Fht;function Bht(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var zht=Bht,Uht=sk,Wht="__lodash_hash_undefined__",Vht=Object.prototype,Ght=Vht.hasOwnProperty;function Hht(t){var e=this.__data__;if(Uht){var n=e[t];return n===Wht?void 0:n}return Ght.call(e,t)?e[t]:void 0}var qht=Hht,Xht=sk,Qht=Object.prototype,Yht=Qht.hasOwnProperty;function Kht(t){var e=this.__data__;return Xht?e[t]!==void 0:Yht.call(e,t)}var Zht=Kht,Jht=sk,ept="__lodash_hash_undefined__";function tpt(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Jht&&e===void 0?ept:e,this}var npt=tpt,rpt=jht,ipt=zht,opt=qht,apt=Zht,spt=npt;function Dy(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e-1}var Opt=Spt,Cpt=lk;function Tpt(t,e){var n=this.__data__,r=Cpt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Ept=Tpt,Ppt=upt,Mpt=ypt,kpt=_pt,Apt=Opt,Rpt=Ept;function Ly(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e0?1:-1},Ch=function(e){return Tw(e)&&e.indexOf("%")===e.length-1},Ye=function(e){return Kmt(e)&&!$y(e)},ti=function(e){return Ye(e)||Tw(e)},tgt=0,Fy=function(e){var n=++tgt;return"".concat(e||"").concat(n)},hp=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Ye(e)&&!Tw(e))return r;var o;if(Ch(e)){var a=e.indexOf("%");o=n*parseFloat(e.slice(0,a))/100}else o=+e;return $y(o)&&(o=r),i&&o>n&&(o=n),o},gf=function(e){if(!e)return null;var n=Object.keys(e);return n&&n.length?e[n[0]]:null},ngt=function(e){if(!Array.isArray(e))return!1;for(var n=e.length,r={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function lgt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function t$(t){"@babel/helpers - typeof";return t$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t$(t)}var mX={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},nu=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},gX=null,hI=null,hU=function t(e){if(e===gX&&Array.isArray(hI))return hI;var n=[];return M.Children.forEach(e,function(r){Wt(r)||(_T.isFragment(r)?n=n.concat(t(r.props.children)):n.push(r))}),hI=n,gX=e,n};function os(t,e){var n=[],r=[];return Array.isArray(e)?r=e.map(function(i){return nu(i)}):r=[nu(e)],hU(t).forEach(function(i){var o=is(i,"type.displayName")||is(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function ca(t,e){var n=os(t,e);return n&&n[0]}var vX=function(e){if(!e||!e.props)return!1;var n=e.props,r=n.width,i=n.height;return!(!Ye(r)||r<=0||!Ye(i)||i<=0)},cgt=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ugt=function(e){return e&&e.type&&Tw(e.type)&&cgt.indexOf(e.type)>=0},Gpe=function(e){return e&&t$(e)==="object"&&"cx"in e&&"cy"in e&&"r"in e},fgt=function(e,n,r,i){var o,a=(o=dI==null?void 0:dI[i])!==null&&o!==void 0?o:[];return!Bt(e)&&(i&&a.includes(n)||igt.includes(n))||r&&dU.includes(n)},jt=function(e,n,r){if(!e||typeof e=="function"||typeof e=="boolean")return null;var i=e;if(M.isValidElement(e)&&(i=e.props),!Iy(i))return null;var o={};return Object.keys(i).forEach(function(a){var s;fgt((s=i)===null||s===void 0?void 0:s[a],a,n,r)&&(o[a]=i[a])}),o},n$=function t(e,n){if(e===n)return!0;var r=M.Children.count(e);if(r!==M.Children.count(n))return!1;if(r===0)return!0;if(r===1)return yX(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ggt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function i$(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,o=t.className,a=t.style,s=t.title,l=t.desc,c=mgt(t,pgt),u=i||{width:n,height:r,x:0,y:0},f=ke("recharts-surface",o);return ue.createElement("svg",r$({},jt(c,!0,"svg"),{className:f,width:n,height:r,style:a,viewBox:"".concat(u.x," ").concat(u.y," ").concat(u.width," ").concat(u.height)}),ue.createElement("title",null,s),ue.createElement("desc",null,l),e)}var vgt=["children","className"];function o$(){return o$=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function xgt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var Gn=ue.forwardRef(function(t,e){var n=t.children,r=t.className,i=ygt(t,vgt),o=ke("recharts-layer",r);return ue.createElement("g",o$({className:o},jt(i,!0),{ref:e}),n)}),ru=function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;oi?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r=r?t:wgt(t,e,n)}var Ogt=Sgt,Cgt="\\ud800-\\udfff",Tgt="\\u0300-\\u036f",Egt="\\ufe20-\\ufe2f",Pgt="\\u20d0-\\u20ff",Mgt=Tgt+Egt+Pgt,kgt="\\ufe0e\\ufe0f",Agt="\\u200d",Rgt=RegExp("["+Agt+Cgt+Mgt+kgt+"]");function Igt(t){return Rgt.test(t)}var Hpe=Igt;function Dgt(t){return t.split("")}var Lgt=Dgt,qpe="\\ud800-\\udfff",Ngt="\\u0300-\\u036f",$gt="\\ufe20-\\ufe2f",Fgt="\\u20d0-\\u20ff",jgt=Ngt+$gt+Fgt,Bgt="\\ufe0e\\ufe0f",zgt="["+qpe+"]",a$="["+jgt+"]",s$="\\ud83c[\\udffb-\\udfff]",Ugt="(?:"+a$+"|"+s$+")",Xpe="[^"+qpe+"]",Qpe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ype="[\\ud800-\\udbff][\\udc00-\\udfff]",Wgt="\\u200d",Kpe=Ugt+"?",Zpe="["+Bgt+"]?",Vgt="(?:"+Wgt+"(?:"+[Xpe,Qpe,Ype].join("|")+")"+Zpe+Kpe+")*",Ggt=Zpe+Kpe+Vgt,Hgt="(?:"+[Xpe+a$+"?",a$,Qpe,Ype,zgt].join("|")+")",qgt=RegExp(s$+"(?="+s$+")|"+Hgt+Ggt,"g");function Xgt(t){return t.match(qgt)||[]}var Qgt=Xgt,Ygt=Lgt,Kgt=Hpe,Zgt=Qgt;function Jgt(t){return Kgt(t)?Zgt(t):Ygt(t)}var evt=Jgt,tvt=Ogt,nvt=Hpe,rvt=evt,ivt=zpe;function ovt(t){return function(e){e=ivt(e);var n=nvt(e)?rvt(e):void 0,r=n?n[0]:e.charAt(0),i=n?tvt(n,1).join(""):e.slice(1);return r[t]()+i}}var avt=ovt,svt=avt,lvt=svt("toUpperCase"),cvt=lvt;const dk=$t(cvt);function Un(t){return function(){return t}}const Jpe=Math.cos,jE=Math.sin,ol=Math.sqrt,BE=Math.PI,hk=2*BE,l$=Math.PI,c$=2*l$,eh=1e-6,uvt=c$-eh;function eme(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return eme;const n=10**e;return function(r){this._+=r[0];for(let i=1,o=r.length;ieh)if(!(Math.abs(f*l-c*u)>eh)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=r-a,p=i-s,m=l*l+c*c,g=h*h+p*p,v=Math.sqrt(m),y=Math.sqrt(d),x=o*Math.tan((l$-Math.acos((m+d-g)/(2*v*y)))/2),b=x/y,_=x/v;Math.abs(b-1)>eh&&this._append`L${e+b*u},${n+b*f}`,this._append`A${o},${o},0,0,${+(f*h>u*p)},${this._x1=e+_*l},${this._y1=n+_*c}`}}arc(e,n,r,i,o,a){if(e=+e,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),l=r*Math.sin(i),c=e+s,u=n+l,f=1^a,d=a?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>eh||Math.abs(this._y1-u)>eh)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%c$+c$),d>uvt?this._append`A${r},${r},0,1,${f},${e-s},${n-l}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>eh&&this._append`A${r},${r},0,${+(d>=l$)},${f},${this._x1=e+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function pU(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new dvt(e)}function mU(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function tme(t){this._context=t}tme.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function pk(t){return new tme(t)}function nme(t){return t[0]}function rme(t){return t[1]}function ime(t,e){var n=Un(!0),r=null,i=pk,o=null,a=pU(s);t=typeof t=="function"?t:t===void 0?nme:Un(t),e=typeof e=="function"?e:e===void 0?rme:Un(e);function s(l){var c,u=(l=mU(l)).length,f,d=!1,h;for(r==null&&(o=i(h=a())),c=0;c<=u;++c)!(c=h;--p)s.point(x[p],b[p]);s.lineEnd(),s.areaEnd()}v&&(x[d]=+t(g,d,f),b[d]=+e(g,d,f),s.point(r?+r(g,d,f):x[d],n?+n(g,d,f):b[d]))}if(y)return s=null,y+""||null}function u(){return ime().defined(i).curve(a).context(o)}return c.x=function(f){return arguments.length?(t=typeof f=="function"?f:Un(+f),r=null,c):t},c.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Un(+f),c):t},c.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Un(+f),c):r},c.y=function(f){return arguments.length?(e=typeof f=="function"?f:Un(+f),n=null,c):e},c.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Un(+f),c):e},c.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Un(+f),c):n},c.lineX0=c.lineY0=function(){return u().x(t).y(e)},c.lineY1=function(){return u().x(t).y(n)},c.lineX1=function(){return u().x(r).y(e)},c.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Un(!!f),c):i},c.curve=function(f){return arguments.length?(a=f,o!=null&&(s=a(o)),c):a},c.context=function(f){return arguments.length?(f==null?o=s=null:s=a(o=f),c):o},c}class ome{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}}function hvt(t){return new ome(t,!0)}function pvt(t){return new ome(t,!1)}const gU={draw(t,e){const n=ol(e/BE);t.moveTo(n,0),t.arc(0,0,n,0,hk)}},mvt={draw(t,e){const n=ol(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},ame=ol(1/3),gvt=ame*2,vvt={draw(t,e){const n=ol(e/gvt),r=n*ame;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},yvt={draw(t,e){const n=ol(e),r=-n/2;t.rect(r,r,n,n)}},xvt=.8908130915292852,sme=jE(BE/10)/jE(7*BE/10),bvt=jE(hk/10)*sme,_vt=-Jpe(hk/10)*sme,wvt={draw(t,e){const n=ol(e*xvt),r=bvt*n,i=_vt*n;t.moveTo(0,-n),t.lineTo(r,i);for(let o=1;o<5;++o){const a=hk*o/5,s=Jpe(a),l=jE(a);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},pI=ol(3),Svt={draw(t,e){const n=-ol(e/(pI*3));t.moveTo(0,n*2),t.lineTo(-pI*n,-n),t.lineTo(pI*n,-n),t.closePath()}},Ia=-.5,Da=ol(3)/2,u$=1/ol(12),Ovt=(u$/2+1)*3,Cvt={draw(t,e){const n=ol(e/Ovt),r=n/2,i=n*u$,o=r,a=n*u$+n,s=-o,l=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(Ia*r-Da*i,Da*r+Ia*i),t.lineTo(Ia*o-Da*a,Da*o+Ia*a),t.lineTo(Ia*s-Da*l,Da*s+Ia*l),t.lineTo(Ia*r+Da*i,Ia*i-Da*r),t.lineTo(Ia*o+Da*a,Ia*a-Da*o),t.lineTo(Ia*s+Da*l,Ia*l-Da*s),t.closePath()}};function Tvt(t,e){let n=null,r=pU(i);t=typeof t=="function"?t:Un(t||gU),e=typeof e=="function"?e:Un(e===void 0?64:+e);function i(){let o;if(n||(n=o=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(t=typeof o=="function"?o:Un(o),i):t},i.size=function(o){return arguments.length?(e=typeof o=="function"?o:Un(+o),i):e},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function zE(){}function UE(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function lme(t){this._context=t}lme.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:UE(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:UE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Evt(t){return new lme(t)}function cme(t){this._context=t}cme.prototype={areaStart:zE,areaEnd:zE,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:UE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Pvt(t){return new cme(t)}function ume(t){this._context=t}ume.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:UE(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Mvt(t){return new ume(t)}function fme(t){this._context=t}fme.prototype={areaStart:zE,areaEnd:zE,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function kvt(t){return new fme(t)}function bX(t){return t<0?-1:1}function _X(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(bX(o)+bX(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function wX(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function mI(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function WE(t){this._context=t}WE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:mI(this,this._t0,wX(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,mI(this,wX(this,n=_X(this,t,e)),n);break;default:mI(this,this._t0,n=_X(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function dme(t){this._context=new hme(t)}(dme.prototype=Object.create(WE.prototype)).point=function(t,e){WE.prototype.point.call(this,e,t)};function hme(t){this._context=t}hme.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}};function Avt(t){return new WE(t)}function Rvt(t){return new dme(t)}function pme(t){this._context=t}pme.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var r=SX(t),i=SX(e),o=0,a=1;a=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function Dvt(t){return new mk(t,.5)}function Lvt(t){return new mk(t,0)}function Nvt(t){return new mk(t,1)}function vv(t,e){if((a=t.length)>1)for(var n=1,r,i,o=t[e[0]],a,s=o.length;n=0;)n[e]=e;return n}function $vt(t,e){return t[e]}function Fvt(t){const e=[];return e.key=t,e}function jvt(){var t=Un([]),e=f$,n=vv,r=$vt;function i(o){var a=Array.from(t.apply(this,arguments),Fvt),s,l=a.length,c=-1,u;for(const f of o)for(s=0,++c;s0){for(var n,r,i=0,o=t[0].length,a;i0){for(var n=0,r=t[e[0]],i,o=r.length;n0)||!((o=(i=t[e[0]]).length)>0))){for(var n=0,r=1,i,o,a;r=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Xvt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var mme={symbolCircle:gU,symbolCross:mvt,symbolDiamond:vvt,symbolSquare:yvt,symbolStar:wvt,symbolTriangle:Svt,symbolWye:Cvt},Qvt=Math.PI/180,Yvt=function(e){var n="symbol".concat(dk(e));return mme[n]||gU},Kvt=function(e,n,r){if(n==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var i=18*Qvt;return 1.25*e*e*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Zvt=function(e,n){mme["symbol".concat(dk(e))]=n},vU=function(e){var n=e.type,r=n===void 0?"circle":n,i=e.size,o=i===void 0?64:i,a=e.sizeType,s=a===void 0?"area":a,l=qvt(e,Wvt),c=CX(CX({},l),{},{type:r,size:o,sizeType:s}),u=function(){var g=Yvt(r),v=Tvt().type(g).size(Kvt(o,s,r));return v()},f=c.className,d=c.cx,h=c.cy,p=jt(c,!0);return d===+d&&h===+h&&o===+o?ue.createElement("path",d$({},p,{className:ke("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(h,")"),d:u()})):null};vU.registerSymbol=Zvt;function yv(t){"@babel/helpers - typeof";return yv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yv(t)}function h$(){return h$=Object.assign?Object.assign.bind():function(t){for(var e=1;e`);var y=h.inactive?c:h.color;return ue.createElement("li",h$({className:g,style:f,key:"legend-item-".concat(p)},FE(r.props,h,p)),ue.createElement(i$,{width:a,height:a,viewBox:u,style:d},r.renderIcon(h)),ue.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},m?m(v,h,p):v))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,a=r.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?a:"left"};return ue.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}]),e}(M.PureComponent);__(yU,"displayName","Legend");__(yU,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var lyt=ck;function cyt(){this.__data__=new lyt,this.size=0}var uyt=cyt;function fyt(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var dyt=fyt;function hyt(t){return this.__data__.get(t)}var pyt=hyt;function myt(t){return this.__data__.has(t)}var gyt=myt,vyt=ck,yyt=sU,xyt=lU,byt=200;function _yt(t,e){var n=this.__data__;if(n instanceof vyt){var r=n.__data__;if(!yyt||r.lengths))return!1;var c=o.get(t),u=o.get(e);if(c&&u)return c==e&&u==t;var f=-1,d=!0,h=n&Wyt?new jyt:void 0;for(o.set(t,e),o.set(e,t);++f-1&&t%1==0&&t-1&&t%1==0&&t<=q0t}var wU=X0t,Q0t=Ou,Y0t=wU,K0t=Cu,Z0t="[object Arguments]",J0t="[object Array]",ext="[object Boolean]",txt="[object Date]",nxt="[object Error]",rxt="[object Function]",ixt="[object Map]",oxt="[object Number]",axt="[object Object]",sxt="[object RegExp]",lxt="[object Set]",cxt="[object String]",uxt="[object WeakMap]",fxt="[object ArrayBuffer]",dxt="[object DataView]",hxt="[object Float32Array]",pxt="[object Float64Array]",mxt="[object Int8Array]",gxt="[object Int16Array]",vxt="[object Int32Array]",yxt="[object Uint8Array]",xxt="[object Uint8ClampedArray]",bxt="[object Uint16Array]",_xt="[object Uint32Array]",Xn={};Xn[hxt]=Xn[pxt]=Xn[mxt]=Xn[gxt]=Xn[vxt]=Xn[yxt]=Xn[xxt]=Xn[bxt]=Xn[_xt]=!0;Xn[Z0t]=Xn[J0t]=Xn[fxt]=Xn[ext]=Xn[dxt]=Xn[txt]=Xn[nxt]=Xn[rxt]=Xn[ixt]=Xn[oxt]=Xn[axt]=Xn[sxt]=Xn[lxt]=Xn[cxt]=Xn[uxt]=!1;function wxt(t){return K0t(t)&&Y0t(t.length)&&!!Xn[Q0t(t)]}var Sxt=wxt;function Oxt(t){return function(e){return t(e)}}var Tme=Oxt,qE={exports:{}};qE.exports;(function(t,e){var n=Lpe,r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=s})(qE,qE.exports);var Cxt=qE.exports,Txt=Sxt,Ext=Tme,RX=Cxt,IX=RX&&RX.isTypedArray,Pxt=IX?Ext(IX):Txt,Eme=Pxt,Mxt=R0t,kxt=bU,Axt=qo,Rxt=Cme,Ixt=_U,Dxt=Eme,Lxt=Object.prototype,Nxt=Lxt.hasOwnProperty;function $xt(t,e){var n=Axt(t),r=!n&&kxt(t),i=!n&&!r&&Rxt(t),o=!n&&!r&&!i&&Dxt(t),a=n||r||i||o,s=a?Mxt(t.length,String):[],l=s.length;for(var c in t)(e||Nxt.call(t,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Ixt(c,l)))&&s.push(c);return s}var Fxt=$xt,jxt=Object.prototype;function Bxt(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||jxt;return t===n}var zxt=Bxt;function Uxt(t,e){return function(n){return t(e(n))}}var Pme=Uxt,Wxt=Pme,Vxt=Wxt(Object.keys,Object),Gxt=Vxt,Hxt=zxt,qxt=Gxt,Xxt=Object.prototype,Qxt=Xxt.hasOwnProperty;function Yxt(t){if(!Hxt(t))return qxt(t);var e=[];for(var n in Object(t))Qxt.call(t,n)&&n!="constructor"&&e.push(n);return e}var Kxt=Yxt,Zxt=oU,Jxt=wU;function ebt(t){return t!=null&&Jxt(t.length)&&!Zxt(t)}var Ew=ebt,tbt=Fxt,nbt=Kxt,rbt=Ew;function ibt(t){return rbt(t)?tbt(t):nbt(t)}var gk=ibt,obt=b0t,abt=k0t,sbt=gk;function lbt(t){return obt(t,sbt,abt)}var cbt=lbt,DX=cbt,ubt=1,fbt=Object.prototype,dbt=fbt.hasOwnProperty;function hbt(t,e,n,r,i,o){var a=n&ubt,s=DX(t),l=s.length,c=DX(e),u=c.length;if(l!=u&&!a)return!1;for(var f=l;f--;){var d=s[f];if(!(a?d in e:dbt.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var m=!0;o.set(t,e),o.set(e,t);for(var g=a;++f-1}var f1t=u1t;function d1t(t,e,n){for(var r=-1,i=t==null?0:t.length;++r=E1t){var c=e?null:C1t(t);if(c)return T1t(c);a=!1,i=O1t,l=new _1t}else l=e?[]:s;e:for(;++r=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function U1t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function W1t(t){return t.value}function V1t(t,e){if(ue.isValidElement(t))return ue.cloneElement(t,e);if(typeof t=="function")return ue.createElement(t,e);e.ref;var n=z1t(e,D1t);return ue.createElement(yU,n)}var YX=1,bv=function(t){j1t(e,t);function e(){var n;L1t(this,e);for(var r=arguments.length,i=new Array(r),o=0;oYX||Math.abs(i.height-this.lastBoundingBox.height)>YX)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?Vd({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,a=i.align,s=i.verticalAlign,l=i.margin,c=i.chartWidth,u=i.chartHeight,f,d;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&o==="vertical"){var h=this.getBBoxSnapshot();f={left:((c||0)-h.width)/2}}else f=a==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var p=this.getBBoxSnapshot();d={top:((u||0)-p.height)/2}}else d=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return Vd(Vd({},f),d)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,a=i.width,s=i.height,l=i.wrapperStyle,c=i.payloadUniqBy,u=i.payload,f=Vd(Vd({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return ue.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(h){r.wrapperNode=h}},V1t(o,Vd(Vd({},this.props),{},{payload:Lme(u,c,W1t)})))}}],[{key:"getWithHeight",value:function(r,i){var o=r.props.layout;return o==="vertical"&&Ye(r.props.height)?{height:r.props.height}:o==="horizontal"?{width:r.props.width||i}:null}}]),e}(M.PureComponent);vk(bv,"displayName","Legend");vk(bv,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var KX=Cw,G1t=bU,H1t=qo,ZX=KX?KX.isConcatSpreadable:void 0;function q1t(t){return H1t(t)||G1t(t)||!!(ZX&&t&&t[ZX])}var X1t=q1t,Q1t=Sme,Y1t=X1t;function jme(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=Y1t),i||(i=[]);++o0&&n(s)?e>1?jme(s,e-1,n,r,i):Q1t(i,s):r||(i[i.length]=s)}return i}var Bme=jme;function K1t(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(n(o[l],l,o)===!1)break}return e}}var Z1t=K1t,J1t=Z1t,ewt=J1t(),twt=ewt,nwt=twt,rwt=gk;function iwt(t,e){return t&&nwt(t,e,rwt)}var zme=iwt,owt=Ew;function awt(t,e){return function(n,r){if(n==null)return n;if(!owt(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=Object(n);(e?o--:++oe||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t=s)return l;var c=n[r];return l*(c=="desc"?-1:1)}}return t.index-e.index}var bwt=xwt,xI=uU,_wt=fU,wwt=kd,Swt=Ume,Owt=mwt,Cwt=Tme,Twt=bwt,Ewt=zy,Pwt=qo;function Mwt(t,e,n){e.length?e=xI(e,function(o){return Pwt(o)?function(a){return _wt(a,o.length===1?o[0]:o)}:o}):e=[Ewt];var r=-1;e=xI(e,Cwt(wwt));var i=Swt(t,function(o,a,s){var l=xI(e,function(c){return c(o)});return{criteria:l,index:++r,value:o}});return Owt(i,function(o,a){return Twt(o,a,n)})}var kwt=Mwt;function Awt(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var Rwt=Awt,Iwt=Rwt,eQ=Math.max;function Dwt(t,e,n){return e=eQ(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=eQ(r.length-e,0),a=Array(o);++i0){if(++e>=Vwt)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Xwt=qwt,Qwt=Wwt,Ywt=Xwt,Kwt=Ywt(Qwt),Zwt=Kwt,Jwt=zy,eSt=Lwt,tSt=Zwt;function nSt(t,e){return tSt(eSt(t,e,Jwt),t+"")}var rSt=nSt,iSt=aU,oSt=Ew,aSt=_U,sSt=Md;function lSt(t,e,n){if(!sSt(n))return!1;var r=typeof e;return(r=="number"?oSt(n)&&aSt(e,n.length):r=="string"&&e in n)?iSt(n[e],t):!1}var yk=lSt,cSt=Bme,uSt=kwt,fSt=rSt,nQ=yk,dSt=fSt(function(t,e){if(t==null)return[];var n=e.length;return n>1&&nQ(t,e[0],e[1])?e=[]:n>2&&nQ(e[0],e[1],e[2])&&(e=[e[0]]),uSt(t,cSt(e,1),[])}),hSt=dSt;const CU=$t(hSt);function w_(t){"@babel/helpers - typeof";return w_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w_(t)}function _$(){return _$=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e.x),"".concat($0,"-left"),Ye(n)&&e&&Ye(e.x)&&n=e.y),"".concat($0,"-top"),Ye(r)&&e&&Ye(e.y)&&rm?Math.max(u,l[r]):Math.max(f,l[r])}function PSt(t){var e=t.translateX,n=t.translateY,r=t.useTranslate3d;return{transform:r?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")}}function MSt(t){var e=t.allowEscapeViewBox,n=t.coordinate,r=t.offsetTopLeft,i=t.position,o=t.reverseDirection,a=t.tooltipBox,s=t.useTranslate3d,l=t.viewBox,c,u,f;return a.height>0&&a.width>0&&n?(u=oQ({allowEscapeViewBox:e,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),f=oQ({allowEscapeViewBox:e,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),c=PSt({translateX:u,translateY:f,useTranslate3d:s})):c=TSt,{cssProperties:c,cssClasses:ESt({translateX:u,translateY:f,coordinate:n})}}function _v(t){"@babel/helpers - typeof";return _v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_v(t)}function aQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function sQ(t){for(var e=1;elQ||Math.abs(r.height-this.state.lastBoundingBox.height)>lQ)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,l=i.animationEasing,c=i.children,u=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,h=i.offset,p=i.position,m=i.reverseDirection,g=i.useTranslate3d,v=i.viewBox,y=i.wrapperStyle,x=MSt({allowEscapeViewBox:a,coordinate:u,offsetTopLeft:h,position:p,reverseDirection:m,tooltipBox:this.state.lastBoundingBox,useTranslate3d:g,viewBox:v}),b=x.cssClasses,_=x.cssProperties,S=sQ(sQ({transition:d&&o?"transform ".concat(s,"ms ").concat(l):void 0},_),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&f?"visible":"hidden",position:"absolute",top:0,left:0},y);return ue.createElement("div",{tabIndex:-1,className:b,style:S,ref:function(C){r.wrapperNode=C}},c)}}]),e}(M.PureComponent),FSt=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},Yl={isSsr:FSt(),get:function(e){return Yl[e]},set:function(e,n){if(typeof e=="string")Yl[e]=n;else{var r=Object.keys(e);r&&r.length&&r.forEach(function(i){Yl[i]=e[i]})}}};function wv(t){"@babel/helpers - typeof";return wv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wv(t)}function cQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function uQ(t){for(var e=1;e0;return ue.createElement($St,{allowEscapeViewBox:a,animationDuration:s,animationEasing:l,isAnimationActive:d,active:o,coordinate:u,hasPayload:S,offset:h,position:g,reverseDirection:v,useTranslate3d:y,viewBox:x,wrapperStyle:b},XSt(c,uQ(uQ({},this.props),{},{payload:_})))}}]),e}(M.PureComponent);TU(yl,"displayName","Tooltip");TU(yl,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!Yl.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var QSt=dc,YSt=function(){return QSt.Date.now()},KSt=YSt,ZSt=/\s/;function JSt(t){for(var e=t.length;e--&&ZSt.test(t.charAt(e)););return e}var eOt=JSt,tOt=eOt,nOt=/^\s+/;function rOt(t){return t&&t.slice(0,tOt(t)+1).replace(nOt,"")}var iOt=rOt,oOt=iOt,fQ=Md,aOt=Ry,dQ=NaN,sOt=/^[-+]0x[0-9a-f]+$/i,lOt=/^0b[01]+$/i,cOt=/^0o[0-7]+$/i,uOt=parseInt;function fOt(t){if(typeof t=="number")return t;if(aOt(t))return dQ;if(fQ(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=fQ(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=oOt(t);var n=lOt.test(t);return n||cOt.test(t)?uOt(t.slice(2),n?2:8):sOt.test(t)?dQ:+t}var Xme=fOt,dOt=Md,_I=KSt,hQ=Xme,hOt="Expected a function",pOt=Math.max,mOt=Math.min;function gOt(t,e,n){var r,i,o,a,s,l,c=0,u=!1,f=!1,d=!0;if(typeof t!="function")throw new TypeError(hOt);e=hQ(e)||0,dOt(n)&&(u=!!n.leading,f="maxWait"in n,o=f?pOt(hQ(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d);function h(S){var O=r,C=i;return r=i=void 0,c=S,a=t.apply(C,O),a}function p(S){return c=S,s=setTimeout(v,e),u?h(S):a}function m(S){var O=S-l,C=S-c,E=e-O;return f?mOt(E,o-C):E}function g(S){var O=S-l,C=S-c;return l===void 0||O>=e||O<0||f&&C>=o}function v(){var S=_I();if(g(S))return y(S);s=setTimeout(v,m(S))}function y(S){return s=void 0,d&&r?h(S):(r=i=void 0,a)}function x(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function b(){return s===void 0?a:y(_I())}function _(){var S=_I(),O=g(S);if(r=arguments,i=this,l=S,O){if(s===void 0)return p(l);if(f)return clearTimeout(s),s=setTimeout(v,e),h(l)}return s===void 0&&(s=setTimeout(v,e)),a}return _.cancel=x,_.flush=b,_}var vOt=gOt,yOt=vOt,xOt=Md,bOt="Expected a function";function _Ot(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(bOt);return xOt(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),yOt(t,e,{leading:r,maxWait:e,trailing:i})}var wOt=_Ot;const Qme=$t(wOt);function O_(t){"@babel/helpers - typeof";return O_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O_(t)}function pQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function yO(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(R=Qme(R,m,{trailing:!0,leading:!1}));var T=new ResizeObserver(R),L=_.current.getBoundingClientRect(),z=L.width,B=L.height;return I(z,B),T.observe(_.current),function(){T.disconnect()}},[I,m]);var P=M.useMemo(function(){var R=E.containerWidth,T=E.containerHeight;if(R<0||T<0)return null;ru(Ch(a)||Ch(l),`The width(%s) and height(%s) are both fixed numbers, - maybe you don't need to use a ResponsiveContainer.`,a,l),ru(!n||n>0,"The aspect(%s) must be greater than zero.",n);var L=Ch(a)?R:a,z=Ch(l)?T:l;n&&n>0&&(L?z=L/n:z&&(L=z*n),d&&z>d&&(z=d)),ru(L>0||z>0,`The width(%s) and height(%s) of chart should be greater than 0, - please check the style of container, or the props width(%s) and height(%s), - or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the - height and width.`,L,z,a,l,u,f,n);var B=!Array.isArray(h)&&_T.isElement(h)&&nu(h.type).endsWith("Chart");return ue.Children.map(h,function(U){return _T.isElement(U)?M.cloneElement(U,yO({width:L,height:z},B?{style:yO({height:"100%",width:"100%",maxHeight:z,maxWidth:L},U.props.style)}:{})):U})},[n,h,l,d,f,u,E,a]);return ue.createElement("div",{id:g?"".concat(g):void 0,className:ke("recharts-responsive-container",v),style:yO(yO({},b),{},{width:a,height:l,minWidth:u,minHeight:f,maxHeight:d}),ref:_},P)}),Kme=function(e){return null};Kme.displayName="Cell";function C_(t){"@babel/helpers - typeof";return C_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C_(t)}function gQ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function T$(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||Yl.isSsr)return{width:0,height:0};var r=NOt(n),i=JSON.stringify({text:e,copyStyle:r});if(dm.widthCache[i])return dm.widthCache[i];try{var o=document.getElementById(vQ);o||(o=document.createElement("span"),o.setAttribute("id",vQ),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=T$(T$({},LOt),r);Object.assign(o.style,a),o.textContent="".concat(e);var s=o.getBoundingClientRect(),l={width:s.width,height:s.height};return dm.widthCache[i]=l,++dm.cacheCount>DOt&&(dm.cacheCount=0,dm.widthCache={}),l}catch{return{width:0,height:0}}},$Ot=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function T_(t){"@babel/helpers - typeof";return T_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T_(t)}function KE(t,e){return zOt(t)||BOt(t,e)||jOt(t,e)||FOt()}function FOt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jOt(t,e){if(t){if(typeof t=="string")return yQ(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yQ(t,e)}}function yQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function tCt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function OQ(t,e){return oCt(t)||iCt(t,e)||rCt(t,e)||nCt()}function nCt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rCt(t,e){if(t){if(typeof t=="string")return CQ(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return CQ(t,e)}}function CQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&arguments[0]!==void 0?arguments[0]:[];return L.reduce(function(z,B){var U=B.word,W=B.width,$=z[z.length-1];if($&&(i==null||o||$.width+W+rB.width?z:B})};if(!u)return h;for(var m="…",g=function(L){var z=f.slice(0,L),B=tge({breakAll:c,style:l,children:z+m}).wordsWithComputedWidth,U=d(B),W=U.length>a||p(U).width>Number(i);return[W,U]},v=0,y=f.length-1,x=0,b;v<=y&&x<=f.length-1;){var _=Math.floor((v+y)/2),S=_-1,O=g(S),C=OQ(O,2),E=C[0],k=C[1],I=g(_),P=OQ(I,1),R=P[0];if(!E&&!R&&(v=_+1),E&&R&&(y=_-1),!E&&R){b=k;break}x++}return b||h},TQ=function(e){var n=Wt(e)?[]:e.toString().split(ege);return[{words:n}]},sCt=function(e){var n=e.width,r=e.scaleToFit,i=e.children,o=e.style,a=e.breakAll,s=e.maxLines;if((n||r)&&!Yl.isSsr){var l,c,u=tge({breakAll:a,children:i,style:o});if(u){var f=u.wordsWithComputedWidth,d=u.spaceWidth;l=f,c=d}else return TQ(i);return aCt({breakAll:a,children:i,maxLines:s,style:o},l,c,n,r)}return TQ(i)},EQ="#808080",ZE=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,a=e.lineHeight,s=a===void 0?"1em":a,l=e.capHeight,c=l===void 0?"0.71em":l,u=e.scaleToFit,f=u===void 0?!1:u,d=e.textAnchor,h=d===void 0?"start":d,p=e.verticalAnchor,m=p===void 0?"end":p,g=e.fill,v=g===void 0?EQ:g,y=SQ(e,JOt),x=M.useMemo(function(){return sCt({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:f,style:y.style,width:y.width})},[y.breakAll,y.children,y.maxLines,f,y.style,y.width]),b=y.dx,_=y.dy,S=y.angle,O=y.className,C=y.breakAll,E=SQ(y,eCt);if(!ti(r)||!ti(o))return null;var k=r+(Ye(b)?b:0),I=o+(Ye(_)?_:0),P;switch(m){case"start":P=wI("calc(".concat(c,")"));break;case"middle":P=wI("calc(".concat((x.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:P=wI("calc(".concat(x.length-1," * -").concat(s,")"));break}var R=[];if(f){var T=x[0].width,L=y.width;R.push("scale(".concat((Ye(L)?L/T:1)/T,")"))}return S&&R.push("rotate(".concat(S,", ").concat(k,", ").concat(I,")")),R.length&&(E.transform=R.join(" ")),ue.createElement("text",E$({},jt(E,!0),{x:k,y:I,className:ke("recharts-text",O),textAnchor:h,fill:v.includes("url")?EQ:v}),x.map(function(z,B){var U=z.words.join(C?"":" ");return ue.createElement("tspan",{x:k,dy:B===0?P:s,key:U},U)}))};function Gf(t,e){return t==null||e==null?NaN:te?1:t>=e?0:NaN}function lCt(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function EU(t){let e,n,r;t.length!==2?(e=Gf,n=(s,l)=>Gf(t(s),l),r=(s,l)=>t(s)-l):(e=t===Gf||t===lCt?t:cCt,n=t,r=t);function i(s,l,c=0,u=s.length){if(c>>1;n(s[f],l)<0?c=f+1:u=f}while(c>>1;n(s[f],l)<=0?c=f+1:u=f}while(cc&&r(s[f-1],l)>-r(s[f],l)?f-1:f}return{left:i,center:a,right:o}}function cCt(){return 0}function nge(t){return t===null?NaN:+t}function*uCt(t,e){for(let n of t)n!=null&&(n=+n)>=n&&(yield n)}const fCt=EU(Gf),Pw=fCt.right;EU(nge).center;class PQ extends Map{constructor(e,n=pCt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(MQ(this,e))}has(e){return super.has(MQ(this,e))}set(e,n){return super.set(dCt(this,e),n)}delete(e){return super.delete(hCt(this,e))}}function MQ({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function dCt({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function hCt({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function pCt(t){return t!==null&&typeof t=="object"?t.valueOf():t}function mCt(t=Gf){if(t===Gf)return rge;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function rge(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(te?1:0)}const gCt=Math.sqrt(50),vCt=Math.sqrt(10),yCt=Math.sqrt(2);function JE(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=gCt?10:o>=vCt?5:o>=yCt?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(t*c),l=Math.round(e*c),s/ce&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(t/c),l=Math.round(e/c),s*ce&&--l),l0))return[];if(t===e)return[t];const r=e=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let c=0;c=r)&&(n=r);return n}function AQ(t,e){let n;for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function ige(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=i===void 0?rge:mCt(i);r>n;){if(r-n>600){const l=r-n+1,c=e-n+1,u=Math.log(l),f=.5*Math.exp(2*u/3),d=.5*Math.sqrt(u*f*(l-f)/l)*(c-l/2<0?-1:1),h=Math.max(n,Math.floor(e-c*f/l+d)),p=Math.min(r,Math.floor(e+(l-c)*f/l+d));ige(t,e,h,p,i)}const o=t[e];let a=n,s=r;for(F0(t,n,e),i(t[r],o)>0&&F0(t,n,r);a0;)--s}i(t[n],o)===0?F0(t,n,s):(++s,F0(t,s,r)),s<=e&&(n=s+1),e<=s&&(r=s-1)}return t}function F0(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function xCt(t,e,n){if(t=Float64Array.from(uCt(t)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return AQ(t);if(e>=1)return kQ(t);var r,i=(r-1)*e,o=Math.floor(i),a=kQ(ige(t,o).subarray(0,o+1)),s=AQ(t.subarray(o+1));return a+(s-a)*(i-o)}}function bCt(t,e,n=nge){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t),s=+n(t[o+1],o+1,t);return a+(s-a)*(i-o)}}function _Ct(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?bO(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?bO(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=SCt.exec(t))?new Io(e[1],e[2],e[3],1):(e=OCt.exec(t))?new Io(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=CCt.exec(t))?bO(e[1],e[2],e[3],e[4]):(e=TCt.exec(t))?bO(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=ECt.exec(t))?FQ(e[1],e[2]/100,e[3]/100,1):(e=PCt.exec(t))?FQ(e[1],e[2]/100,e[3]/100,e[4]):RQ.hasOwnProperty(t)?LQ(RQ[t]):t==="transparent"?new Io(NaN,NaN,NaN,0):null}function LQ(t){return new Io(t>>16&255,t>>8&255,t&255,1)}function bO(t,e,n,r){return r<=0&&(t=e=n=NaN),new Io(t,e,n,r)}function ACt(t){return t instanceof Mw||(t=k_(t)),t?(t=t.rgb(),new Io(t.r,t.g,t.b,t.opacity)):new Io}function R$(t,e,n,r){return arguments.length===1?ACt(t):new Io(t,e,n,r??1)}function Io(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}MU(Io,R$,age(Mw,{brighter(t){return t=t==null?eP:Math.pow(eP,t),new Io(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?P_:Math.pow(P_,t),new Io(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Io(Vh(this.r),Vh(this.g),Vh(this.b),tP(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:NQ,formatHex:NQ,formatHex8:RCt,formatRgb:$Q,toString:$Q}));function NQ(){return`#${Th(this.r)}${Th(this.g)}${Th(this.b)}`}function RCt(){return`#${Th(this.r)}${Th(this.g)}${Th(this.b)}${Th((isNaN(this.opacity)?1:this.opacity)*255)}`}function $Q(){const t=tP(this.opacity);return`${t===1?"rgb(":"rgba("}${Vh(this.r)}, ${Vh(this.g)}, ${Vh(this.b)}${t===1?")":`, ${t})`}`}function tP(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Vh(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Th(t){return t=Vh(t),(t<16?"0":"")+t.toString(16)}function FQ(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Vs(t,e,n,r)}function sge(t){if(t instanceof Vs)return new Vs(t.h,t.s,t.l,t.opacity);if(t instanceof Mw||(t=k_(t)),!t)return new Vs;if(t instanceof Vs)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(e===o?a=(n-r)/s+(n0&&l<1?0:a,new Vs(a,s,l,t.opacity)}function ICt(t,e,n,r){return arguments.length===1?sge(t):new Vs(t,e,n,r??1)}function Vs(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}MU(Vs,ICt,age(Mw,{brighter(t){return t=t==null?eP:Math.pow(eP,t),new Vs(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?P_:Math.pow(P_,t),new Vs(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Io(SI(t>=240?t-240:t+120,i,r),SI(t,i,r),SI(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Vs(jQ(this.h),_O(this.s),_O(this.l),tP(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=tP(this.opacity);return`${t===1?"hsl(":"hsla("}${jQ(this.h)}, ${_O(this.s)*100}%, ${_O(this.l)*100}%${t===1?")":`, ${t})`}`}}));function jQ(t){return t=(t||0)%360,t<0?t+360:t}function _O(t){return Math.max(0,Math.min(1,t||0))}function SI(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const kU=t=>()=>t;function DCt(t,e){return function(n){return t+n*e}}function LCt(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function NCt(t){return(t=+t)==1?lge:function(e,n){return n-e?LCt(e,n,t):kU(isNaN(e)?n:e)}}function lge(t,e){var n=e-t;return n?DCt(t,n):kU(isNaN(t)?e:t)}const BQ=function t(e){var n=NCt(e);function r(i,o){var a=n((i=R$(i)).r,(o=R$(o)).r),s=n(i.g,o.g),l=n(i.b,o.b),c=lge(i.opacity,o.opacity);return function(u){return i.r=a(u),i.g=s(u),i.b=l(u),i.opacity=c(u),i+""}}return r.gamma=t,r}(1);function $Ct(t,e){e||(e=[]);var n=t?Math.min(e.length,t.length):0,r=e.slice(),i;return function(o){for(i=0;in&&(o=e.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:nP(r,i)})),n=OI.lastIndex;return ne&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function XCt(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?QCt:XCt,l=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(l||(l=s(t.map(r),e,n)))(r(a(d)))}return f.invert=function(d){return a(i((c||(c=s(e,t.map(r),nP)))(d)))},f.domain=function(d){return arguments.length?(t=Array.from(d,rP),u()):t.slice()},f.range=function(d){return arguments.length?(e=Array.from(d),u()):e.slice()},f.rangeRound=function(d){return e=Array.from(d),n=AU,u()},f.clamp=function(d){return arguments.length?(a=d?!0:lo,u()):a!==lo},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,h){return r=d,i=h,u()}}function RU(){return xk()(lo,lo)}function YCt(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function iP(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function Sv(t){return t=iP(Math.abs(t)),t?t[1]:NaN}function KCt(t,e){return function(n,r){for(var i=n.length,o=[],a=0,s=t[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(n.substring(i-=s,i+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}function ZCt(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var JCt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function A_(t){if(!(e=JCt.exec(t)))throw new Error("invalid format: "+t);var e;return new IU({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}A_.prototype=IU.prototype;function IU(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}IU.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function eTt(t){e:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var cge;function tTt(t,e){var n=iP(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(cge=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+iP(t,Math.max(0,e+o-1))[0]}function UQ(t,e){var n=iP(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const WQ={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:YCt,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>UQ(t*100,e),r:UQ,s:tTt,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function VQ(t){return t}var GQ=Array.prototype.map,HQ=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nTt(t){var e=t.grouping===void 0||t.thousands===void 0?VQ:KCt(GQ.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?VQ:ZCt(GQ.call(t.numerals,String)),a=t.percent===void 0?"%":t.percent+"",s=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function c(f){f=A_(f);var d=f.fill,h=f.align,p=f.sign,m=f.symbol,g=f.zero,v=f.width,y=f.comma,x=f.precision,b=f.trim,_=f.type;_==="n"?(y=!0,_="g"):WQ[_]||(x===void 0&&(x=12),b=!0,_="g"),(g||d==="0"&&h==="=")&&(g=!0,d="0",h="=");var S=m==="$"?n:m==="#"&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",O=m==="$"?r:/[%p]/.test(_)?a:"",C=WQ[_],E=/[defgprs%]/.test(_);x=x===void 0?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function k(I){var P=S,R=O,T,L,z;if(_==="c")R=C(I)+R,I="";else{I=+I;var B=I<0||1/I<0;if(I=isNaN(I)?l:C(Math.abs(I),x),b&&(I=eTt(I)),B&&+I==0&&p!=="+"&&(B=!1),P=(B?p==="("?p:s:p==="-"||p==="("?"":p)+P,R=(_==="s"?HQ[8+cge/3]:"")+R+(B&&p==="("?")":""),E){for(T=-1,L=I.length;++Tz||z>57){R=(z===46?i+I.slice(T+1):I.slice(T))+R,I=I.slice(0,T);break}}}y&&!g&&(I=e(I,1/0));var U=P.length+I.length+R.length,W=U>1)+P+I+R+W.slice(U);break;default:I=W+P+I+R;break}return o(I)}return k.toString=function(){return f+""},k}function u(f,d){var h=c((f=A_(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(Sv(d)/3)))*3,m=Math.pow(10,-p),g=HQ[8+p/3];return function(v){return h(m*v)+g}}return{format:c,formatPrefix:u}}var wO,DU,uge;rTt({thousands:",",grouping:[3],currency:["$",""]});function rTt(t){return wO=nTt(t),DU=wO.format,uge=wO.formatPrefix,wO}function iTt(t){return Math.max(0,-Sv(Math.abs(t)))}function oTt(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Sv(e)/3)))*3-Sv(Math.abs(t)))}function aTt(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Sv(e)-Sv(t))+1}function fge(t,e,n,r){var i=k$(t,e,n),o;switch(r=A_(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(o=oTt(i,a))&&(r.precision=o),uge(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=aTt(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=iTt(i))&&(r.precision=o-(r.type==="%")*2);break}}return DU(r)}function Ad(t){var e=t.domain;return t.ticks=function(n){var r=e();return P$(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return fge(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,o=r.length-1,a=r[i],s=r[o],l,c,u=10;for(s0;){if(c=M$(a,s,n),c===l)return r[i]=a,r[o]=s,e(r);if(c>0)a=Math.floor(a/c)*c,s=Math.ceil(s/c)*c;else if(c<0)a=Math.ceil(a*c)/c,s=Math.floor(s*c)/c;else break;l=c}return t},t}function oP(){var t=RU();return t.copy=function(){return kw(t,oP())},Cs.apply(t,arguments),Ad(t)}function dge(t){var e;function n(r){return r==null||isNaN(r=+r)?e:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(t=Array.from(r,rP),n):t.slice()},n.unknown=function(r){return arguments.length?(e=r,n):e},n.copy=function(){return dge(t).unknown(e)},t=arguments.length?Array.from(t,rP):[0,1],Ad(n)}function hge(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],o=t[r],a;return oMath.pow(t,e)}function fTt(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function QQ(t){return(e,n)=>-t(-e,n)}function LU(t){const e=t(qQ,XQ),n=e.domain;let r=10,i,o;function a(){return i=fTt(r),o=uTt(r),n()[0]<0?(i=QQ(i),o=QQ(o),t(sTt,lTt)):t(qQ,XQ),e}return e.base=function(s){return arguments.length?(r=+s,a()):r},e.domain=function(s){return arguments.length?(n(s),a()):n()},e.ticks=s=>{const l=n();let c=l[0],u=l[l.length-1];const f=u0){for(;d<=h;++d)for(p=1;pu)break;v.push(m)}}else for(;d<=h;++d)for(p=r-1;p>=1;--p)if(m=d>0?p/o(-d):p*o(d),!(mu)break;v.push(m)}v.length*2{if(s==null&&(s=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=A_(l)).precision==null&&(l.trim=!0),l=DU(l)),s===1/0)return l;const c=Math.max(1,r*s/e.ticks().length);return u=>{let f=u/o(Math.round(i(u)));return f*rn(hge(n(),{floor:s=>o(Math.floor(i(s))),ceil:s=>o(Math.ceil(i(s)))})),e}function pge(){const t=LU(xk()).domain([1,10]);return t.copy=()=>kw(t,pge()).base(t.base()),Cs.apply(t,arguments),t}function YQ(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function KQ(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function NU(t){var e=1,n=t(YQ(e),KQ(e));return n.constant=function(r){return arguments.length?t(YQ(e=+r),KQ(e)):e},Ad(n)}function mge(){var t=NU(xk());return t.copy=function(){return kw(t,mge()).constant(t.constant())},Cs.apply(t,arguments)}function ZQ(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function dTt(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function hTt(t){return t<0?-t*t:t*t}function $U(t){var e=t(lo,lo),n=1;function r(){return n===1?t(lo,lo):n===.5?t(dTt,hTt):t(ZQ(n),ZQ(1/n))}return e.exponent=function(i){return arguments.length?(n=+i,r()):n},Ad(e)}function FU(){var t=$U(xk());return t.copy=function(){return kw(t,FU()).exponent(t.exponent())},Cs.apply(t,arguments),t}function pTt(){return FU.apply(null,arguments).exponent(.5)}function JQ(t){return Math.sign(t)*t*t}function mTt(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function gge(){var t=RU(),e=[0,1],n=!1,r;function i(o){var a=mTt(t(o));return isNaN(a)?r:n?Math.round(a):a}return i.invert=function(o){return t.invert(JQ(o))},i.domain=function(o){return arguments.length?(t.domain(o),i):t.domain()},i.range=function(o){return arguments.length?(t.range((e=Array.from(o,rP)).map(JQ)),i):e.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(t.clamp(o),i):t.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return gge(t.domain(),e).round(n).clamp(t.clamp()).unknown(r)},Cs.apply(i,arguments),Ad(i)}function vge(){var t=[],e=[],n=[],r;function i(){var a=0,s=Math.max(1,e.length);for(n=new Array(s-1);++a0?n[s-1]:t[0],s=n?[r[n-1],e]:[r[c-1],r[c]]},a.unknown=function(l){return arguments.length&&(o=l),a},a.thresholds=function(){return r.slice()},a.copy=function(){return yge().domain([t,e]).range(i).unknown(o)},Cs.apply(Ad(a),arguments)}function xge(){var t=[.5],e=[0,1],n,r=1;function i(o){return o!=null&&o<=o?e[Pw(t,o,0,r)]:n}return i.domain=function(o){return arguments.length?(t=Array.from(o),r=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(o){return arguments.length?(e=Array.from(o),r=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(o){var a=e.indexOf(o);return[t[a-1],t[a]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return xge().domain(t).range(e).unknown(n)},Cs.apply(i,arguments)}const CI=new Date,TI=new Date;function ri(t,e,n,r){function i(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(t(o=new Date(+o)),o),i.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),i.round=o=>{const a=i(o),s=i.ceil(o);return o-a(e(o=new Date(+o),a==null?1:Math.floor(a)),o),i.range=(o,a,s)=>{const l=[];if(o=i.ceil(o),s=s==null?1:Math.floor(s),!(o0))return l;let c;do l.push(c=new Date(+o)),e(o,s),t(o);while(cri(a=>{if(a>=a)for(;t(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;e(a,-1),!o(a););else for(;--s>=0;)for(;e(a,1),!o(a););}),n&&(i.count=(o,a)=>(CI.setTime(+o),TI.setTime(+a),t(CI),t(TI),Math.floor(n(CI,TI))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?a=>r(a)%o===0:a=>i.count(0,a)%o===0):i)),i}const aP=ri(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);aP.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?ri(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):aP);aP.range;const qc=1e3,Za=qc*60,Xc=Za*60,vu=Xc*24,jU=vu*7,eY=vu*30,EI=vu*365,Eh=ri(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*qc)},(t,e)=>(e-t)/qc,t=>t.getUTCSeconds());Eh.range;const BU=ri(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*qc)},(t,e)=>{t.setTime(+t+e*Za)},(t,e)=>(e-t)/Za,t=>t.getMinutes());BU.range;const zU=ri(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*Za)},(t,e)=>(e-t)/Za,t=>t.getUTCMinutes());zU.range;const UU=ri(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*qc-t.getMinutes()*Za)},(t,e)=>{t.setTime(+t+e*Xc)},(t,e)=>(e-t)/Xc,t=>t.getHours());UU.range;const WU=ri(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Xc)},(t,e)=>(e-t)/Xc,t=>t.getUTCHours());WU.range;const Aw=ri(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Za)/vu,t=>t.getDate()-1);Aw.range;const bk=ri(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/vu,t=>t.getUTCDate()-1);bk.range;const bge=ri(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/vu,t=>Math.floor(t/vu));bge.range;function Bp(t){return ri(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*Za)/jU)}const _k=Bp(0),sP=Bp(1),gTt=Bp(2),vTt=Bp(3),Ov=Bp(4),yTt=Bp(5),xTt=Bp(6);_k.range;sP.range;gTt.range;vTt.range;Ov.range;yTt.range;xTt.range;function zp(t){return ri(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/jU)}const wk=zp(0),lP=zp(1),bTt=zp(2),_Tt=zp(3),Cv=zp(4),wTt=zp(5),STt=zp(6);wk.range;lP.range;bTt.range;_Tt.range;Cv.range;wTt.range;STt.range;const VU=ri(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());VU.range;const GU=ri(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());GU.range;const yu=ri(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());yu.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ri(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});yu.range;const xu=ri(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());xu.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:ri(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});xu.range;function _ge(t,e,n,r,i,o){const a=[[Eh,1,qc],[Eh,5,5*qc],[Eh,15,15*qc],[Eh,30,30*qc],[o,1,Za],[o,5,5*Za],[o,15,15*Za],[o,30,30*Za],[i,1,Xc],[i,3,3*Xc],[i,6,6*Xc],[i,12,12*Xc],[r,1,vu],[r,2,2*vu],[n,1,jU],[e,1,eY],[e,3,3*eY],[t,1,EI]];function s(c,u,f){const d=ug).right(a,d);if(h===a.length)return t.every(k$(c/EI,u/EI,f));if(h===0)return aP.every(Math.max(k$(c,u,f),1));const[p,m]=a[d/a[h-1][2]53)return null;"w"in re||(re.w=1),"Z"in re?(F=MI(j0(re.y,0,1)),ce=F.getUTCDay(),F=ce>4||ce===0?lP.ceil(F):lP(F),F=bk.offset(F,(re.V-1)*7),re.y=F.getUTCFullYear(),re.m=F.getUTCMonth(),re.d=F.getUTCDate()+(re.w+6)%7):(F=PI(j0(re.y,0,1)),ce=F.getDay(),F=ce>4||ce===0?sP.ceil(F):sP(F),F=Aw.offset(F,(re.V-1)*7),re.y=F.getFullYear(),re.m=F.getMonth(),re.d=F.getDate()+(re.w+6)%7)}else("W"in re||"U"in re)&&("w"in re||(re.w="u"in re?re.u%7:"W"in re?1:0),ce="Z"in re?MI(j0(re.y,0,1)).getUTCDay():PI(j0(re.y,0,1)).getDay(),re.m=0,re.d="W"in re?(re.w+6)%7+re.W*7-(ce+5)%7:re.w+re.U*7-(ce+6)%7);return"Z"in re?(re.H+=re.Z/100|0,re.M+=re.Z%100,MI(re)):PI(re)}}function C(J,pe,be,re){for(var ve=0,F=pe.length,ce=be.length,le,Q;ve=ce)return-1;if(le=pe.charCodeAt(ve++),le===37){if(le=pe.charAt(ve++),Q=_[le in tY?pe.charAt(ve++):le],!Q||(re=Q(J,be,re))<0)return-1}else if(le!=be.charCodeAt(re++))return-1}return re}function E(J,pe,be){var re=c.exec(pe.slice(be));return re?(J.p=u.get(re[0].toLowerCase()),be+re[0].length):-1}function k(J,pe,be){var re=h.exec(pe.slice(be));return re?(J.w=p.get(re[0].toLowerCase()),be+re[0].length):-1}function I(J,pe,be){var re=f.exec(pe.slice(be));return re?(J.w=d.get(re[0].toLowerCase()),be+re[0].length):-1}function P(J,pe,be){var re=v.exec(pe.slice(be));return re?(J.m=y.get(re[0].toLowerCase()),be+re[0].length):-1}function R(J,pe,be){var re=m.exec(pe.slice(be));return re?(J.m=g.get(re[0].toLowerCase()),be+re[0].length):-1}function T(J,pe,be){return C(J,e,pe,be)}function L(J,pe,be){return C(J,n,pe,be)}function z(J,pe,be){return C(J,r,pe,be)}function B(J){return a[J.getDay()]}function U(J){return o[J.getDay()]}function W(J){return l[J.getMonth()]}function $(J){return s[J.getMonth()]}function N(J){return i[+(J.getHours()>=12)]}function D(J){return 1+~~(J.getMonth()/3)}function A(J){return a[J.getUTCDay()]}function q(J){return o[J.getUTCDay()]}function Y(J){return l[J.getUTCMonth()]}function K(J){return s[J.getUTCMonth()]}function se(J){return i[+(J.getUTCHours()>=12)]}function te(J){return 1+~~(J.getUTCMonth()/3)}return{format:function(J){var pe=S(J+="",x);return pe.toString=function(){return J},pe},parse:function(J){var pe=O(J+="",!1);return pe.toString=function(){return J},pe},utcFormat:function(J){var pe=S(J+="",b);return pe.toString=function(){return J},pe},utcParse:function(J){var pe=O(J+="",!0);return pe.toString=function(){return J},pe}}}var tY={"-":"",_:" ",0:"0"},gi=/^\s*\d+/,MTt=/^%/,kTt=/[\\^$*+?|[\]().{}]/g;function hn(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[e.toLowerCase(),n]))}function RTt(t,e,n){var r=gi.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function ITt(t,e,n){var r=gi.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function DTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function LTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function NTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function nY(t,e,n){var r=gi.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function rY(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $Tt(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function FTt(t,e,n){var r=gi.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function jTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function iY(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function BTt(t,e,n){var r=gi.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function oY(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function zTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function UTt(t,e,n){var r=gi.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function WTt(t,e,n){var r=gi.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function VTt(t,e,n){var r=gi.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function GTt(t,e,n){var r=MTt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function HTt(t,e,n){var r=gi.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function qTt(t,e,n){var r=gi.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function aY(t,e){return hn(t.getDate(),e,2)}function XTt(t,e){return hn(t.getHours(),e,2)}function QTt(t,e){return hn(t.getHours()%12||12,e,2)}function YTt(t,e){return hn(1+Aw.count(yu(t),t),e,3)}function wge(t,e){return hn(t.getMilliseconds(),e,3)}function KTt(t,e){return wge(t,e)+"000"}function ZTt(t,e){return hn(t.getMonth()+1,e,2)}function JTt(t,e){return hn(t.getMinutes(),e,2)}function eEt(t,e){return hn(t.getSeconds(),e,2)}function tEt(t){var e=t.getDay();return e===0?7:e}function nEt(t,e){return hn(_k.count(yu(t)-1,t),e,2)}function Sge(t){var e=t.getDay();return e>=4||e===0?Ov(t):Ov.ceil(t)}function rEt(t,e){return t=Sge(t),hn(Ov.count(yu(t),t)+(yu(t).getDay()===4),e,2)}function iEt(t){return t.getDay()}function oEt(t,e){return hn(sP.count(yu(t)-1,t),e,2)}function aEt(t,e){return hn(t.getFullYear()%100,e,2)}function sEt(t,e){return t=Sge(t),hn(t.getFullYear()%100,e,2)}function lEt(t,e){return hn(t.getFullYear()%1e4,e,4)}function cEt(t,e){var n=t.getDay();return t=n>=4||n===0?Ov(t):Ov.ceil(t),hn(t.getFullYear()%1e4,e,4)}function uEt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+hn(e/60|0,"0",2)+hn(e%60,"0",2)}function sY(t,e){return hn(t.getUTCDate(),e,2)}function fEt(t,e){return hn(t.getUTCHours(),e,2)}function dEt(t,e){return hn(t.getUTCHours()%12||12,e,2)}function hEt(t,e){return hn(1+bk.count(xu(t),t),e,3)}function Oge(t,e){return hn(t.getUTCMilliseconds(),e,3)}function pEt(t,e){return Oge(t,e)+"000"}function mEt(t,e){return hn(t.getUTCMonth()+1,e,2)}function gEt(t,e){return hn(t.getUTCMinutes(),e,2)}function vEt(t,e){return hn(t.getUTCSeconds(),e,2)}function yEt(t){var e=t.getUTCDay();return e===0?7:e}function xEt(t,e){return hn(wk.count(xu(t)-1,t),e,2)}function Cge(t){var e=t.getUTCDay();return e>=4||e===0?Cv(t):Cv.ceil(t)}function bEt(t,e){return t=Cge(t),hn(Cv.count(xu(t),t)+(xu(t).getUTCDay()===4),e,2)}function _Et(t){return t.getUTCDay()}function wEt(t,e){return hn(lP.count(xu(t)-1,t),e,2)}function SEt(t,e){return hn(t.getUTCFullYear()%100,e,2)}function OEt(t,e){return t=Cge(t),hn(t.getUTCFullYear()%100,e,2)}function CEt(t,e){return hn(t.getUTCFullYear()%1e4,e,4)}function TEt(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Cv(t):Cv.ceil(t),hn(t.getUTCFullYear()%1e4,e,4)}function EEt(){return"+0000"}function lY(){return"%"}function cY(t){return+t}function uY(t){return Math.floor(+t/1e3)}var hm,Tge,Ege;PEt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function PEt(t){return hm=PTt(t),Tge=hm.format,hm.parse,Ege=hm.utcFormat,hm.utcParse,hm}function MEt(t){return new Date(t)}function kEt(t){return t instanceof Date?+t:+new Date(+t)}function HU(t,e,n,r,i,o,a,s,l,c){var u=RU(),f=u.invert,d=u.domain,h=c(".%L"),p=c(":%S"),m=c("%I:%M"),g=c("%I %p"),v=c("%a %d"),y=c("%b %d"),x=c("%B"),b=c("%Y");function _(S){return(l(S)e(i/(t.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>xCt(t,o/r))},n.copy=function(){return Age(e).domain(t)},Tu.apply(n,arguments)}function Ok(){var t=0,e=.5,n=1,r=1,i,o,a,s,l,c=lo,u,f=!1,d;function h(m){return isNaN(m=+m)?d:(m=.5+((m=+u(m))-o)*(r*me}var FEt=$Et,jEt=Lge,BEt=FEt,zEt=zy;function UEt(t){return t&&t.length?jEt(t,zEt,BEt):void 0}var WEt=UEt;const Ef=$t(WEt);function VEt(t,e){return tt.e^o.s<0?1:-1;for(r=o.d.length,i=t.d.length,e=0,n=rt.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};dt.decimalPlaces=dt.dp=function(){var t=this,e=t.d.length-1,n=(e-t.e)*Yn;if(e=t.d[e],e)for(;e%10==0;e/=10)n--;return n<0?0:n};dt.dividedBy=dt.div=function(t){return iu(this,new this.constructor(t))};dt.dividedToIntegerBy=dt.idiv=function(t){var e=this,n=e.constructor;return Nn(iu(e,new n(t),0,1),n.precision)};dt.equals=dt.eq=function(t){return!this.cmp(t)};dt.exponent=function(){return Gr(this)};dt.greaterThan=dt.gt=function(t){return this.cmp(t)>0};dt.greaterThanOrEqualTo=dt.gte=function(t){return this.cmp(t)>=0};dt.isInteger=dt.isint=function(){return this.e>this.d.length-2};dt.isNegative=dt.isneg=function(){return this.s<0};dt.isPositive=dt.ispos=function(){return this.s>0};dt.isZero=function(){return this.s===0};dt.lessThan=dt.lt=function(t){return this.cmp(t)<0};dt.lessThanOrEqualTo=dt.lte=function(t){return this.cmp(t)<1};dt.logarithm=dt.log=function(t){var e,n=this,r=n.constructor,i=r.precision,o=i+5;if(t===void 0)t=new r(10);else if(t=new r(t),t.s<1||t.eq(ha))throw Error(gs+"NaN");if(n.s<1)throw Error(gs+(n.s?"NaN":"-Infinity"));return n.eq(ha)?new r(0):(dr=!1,e=iu(R_(n,o),R_(t,o),o),dr=!0,Nn(e,i))};dt.minus=dt.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?jge(e,t):$ge(e,(t.s=-t.s,t))};dt.modulo=dt.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(t=new r(t),!t.s)throw Error(gs+"NaN");return n.s?(dr=!1,e=iu(n,t,0,1).times(t),dr=!0,n.minus(e)):Nn(new r(n),i)};dt.naturalExponential=dt.exp=function(){return Fge(this)};dt.naturalLogarithm=dt.ln=function(){return R_(this)};dt.negated=dt.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t};dt.plus=dt.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?$ge(e,t):jge(e,(t.s=-t.s,t))};dt.precision=dt.sd=function(t){var e,n,r,i=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(Gh+t);if(e=Gr(i)+1,r=i.d.length-1,n=r*Yn+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n};dt.squareRoot=dt.sqrt=function(){var t,e,n,r,i,o,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(gs+"NaN")}for(t=Gr(s),dr=!1,i=Math.sqrt(+s),i==0||i==1/0?(e=$l(s.d),(e.length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=Vy((t+1)/2)-(t<0||t%2),i==1/0?e="5e"+t:(e=i.toExponential(),e=e.slice(0,e.indexOf("e")+1)+t),r=new l(e)):r=new l(i.toString()),n=l.precision,i=a=n+3;;)if(o=r,r=o.plus(iu(s,o,a+2)).times(.5),$l(o.d).slice(0,a)===(e=$l(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&e=="4999"){if(Nn(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if(e!="9999")break;a+=4}return dr=!0,Nn(r,n)};dt.times=dt.mul=function(t){var e,n,r,i,o,a,s,l,c,u=this,f=u.constructor,d=u.d,h=(t=new f(t)).d;if(!u.s||!t.s)return new f(0);for(t.s*=u.s,n=u.e+t.e,l=d.length,c=h.length,l=0;){for(e=0,i=l+r;i>r;)s=o[i]+h[r]*d[i-r-1]+e,o[i--]=s%li|0,e=s/li|0;o[i]=(o[i]+e)%li|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,dr?Nn(t,f.precision):t};dt.toDecimalPlaces=dt.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(nc(t,0,Wy),e===void 0?e=r.rounding:nc(e,0,8),Nn(n,t+Gr(n)+1,e))};dt.toExponential=function(t,e){var n,r=this,i=r.constructor;return t===void 0?n=pp(r,!0):(nc(t,0,Wy),e===void 0?e=i.rounding:nc(e,0,8),r=Nn(new i(r),t+1,e),n=pp(r,!0,t+1)),n};dt.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?pp(i):(nc(t,0,Wy),e===void 0?e=o.rounding:nc(e,0,8),r=Nn(new o(i),t+Gr(i)+1,e),n=pp(r.abs(),!1,t+Gr(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};dt.toInteger=dt.toint=function(){var t=this,e=t.constructor;return Nn(new e(t),Gr(t)+1,e.rounding)};dt.toNumber=function(){return+this};dt.toPower=dt.pow=function(t){var e,n,r,i,o,a,s=this,l=s.constructor,c=12,u=+(t=new l(t));if(!t.s)return new l(ha);if(s=new l(s),!s.s){if(t.s<1)throw Error(gs+"Infinity");return s}if(s.eq(ha))return s;if(r=l.precision,t.eq(ha))return Nn(s,r);if(e=t.e,n=t.d.length-1,a=e>=n,o=s.s,a){if((n=u<0?-u:u)<=Nge){for(i=new l(ha),e=Math.ceil(r/Yn+4),dr=!1;n%2&&(i=i.times(s),hY(i.d,e)),n=Vy(n/2),n!==0;)s=s.times(s),hY(s.d,e);return dr=!0,t.s<0?new l(ha).div(i):Nn(i,r)}}else if(o<0)throw Error(gs+"NaN");return o=o<0&&t.d[Math.max(e,n)]&1?-1:1,s.s=1,dr=!1,i=t.times(R_(s,r+c)),dr=!0,i=Fge(i),i.s=o,i};dt.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?(n=Gr(i),r=pp(i,n<=o.toExpNeg||n>=o.toExpPos)):(nc(t,1,Wy),e===void 0?e=o.rounding:nc(e,0,8),i=Nn(new o(i),t,e),n=Gr(i),r=pp(i,t<=n||n<=o.toExpNeg,t)),r};dt.toSignificantDigits=dt.tosd=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(nc(t,1,Wy),e===void 0?e=r.rounding:nc(e,0,8)),Nn(new r(n),t,e)};dt.toString=dt.valueOf=dt.val=dt.toJSON=dt[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=Gr(t),n=t.constructor;return pp(t,e<=n.toExpNeg||e>=n.toExpPos)};function $ge(t,e){var n,r,i,o,a,s,l,c,u=t.constructor,f=u.precision;if(!t.s||!e.s)return e.s||(e=new u(t)),dr?Nn(e,f):e;if(l=t.d,c=e.d,a=t.e,i=e.e,l=l.slice(),o=a-i,o){for(o<0?(r=l,o=-o,s=c.length):(r=c,i=a,s=l.length),a=Math.ceil(f/Yn),s=a>s?a+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=c.length,s-o<0&&(o=s,r=c,c=l,l=r),n=0;o;)n=(l[--o]=l[o]+c[o]+n)/li|0,l[o]%=li;for(n&&(l.unshift(n),++i),s=l.length;l[--s]==0;)l.pop();return e.d=l,e.e=i,dr?Nn(e,f):e}function nc(t,e,n){if(t!==~~t||tn)throw Error(Gh+t)}function $l(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;ea?1:-1;else for(s=l=0;si[s]?1:-1;break}return l}function n(r,i,o){for(var a=0;o--;)r[o]-=a,a=r[o]1;)r.shift()}return function(r,i,o,a){var s,l,c,u,f,d,h,p,m,g,v,y,x,b,_,S,O,C,E=r.constructor,k=r.s==i.s?1:-1,I=r.d,P=i.d;if(!r.s)return new E(r);if(!i.s)throw Error(gs+"Division by zero");for(l=r.e-i.e,O=P.length,_=I.length,h=new E(k),p=h.d=[],c=0;P[c]==(I[c]||0);)++c;if(P[c]>(I[c]||0)&&--l,o==null?y=o=E.precision:a?y=o+(Gr(r)-Gr(i))+1:y=o,y<0)return new E(0);if(y=y/Yn+2|0,c=0,O==1)for(u=0,P=P[0],y++;(c<_||u)&&y--;c++)x=u*li+(I[c]||0),p[c]=x/P|0,u=x%P|0;else{for(u=li/(P[0]+1)|0,u>1&&(P=t(P,u),I=t(I,u),O=P.length,_=I.length),b=O,m=I.slice(0,O),g=m.length;g=li/2&&++S;do u=0,s=e(P,m,O,g),s<0?(v=m[0],O!=g&&(v=v*li+(m[1]||0)),u=v/S|0,u>1?(u>=li&&(u=li-1),f=t(P,u),d=f.length,g=m.length,s=e(f,m,d,g),s==1&&(u--,n(f,O16)throw Error(QU+Gr(t));if(!t.s)return new u(ha);for(e==null?(dr=!1,s=f):s=e,a=new u(.03125);t.abs().gte(.1);)t=t.times(a),c+=5;for(r=Math.log(nh(2,c))/Math.LN10*2+5|0,s+=r,n=i=o=new u(ha),u.precision=s;;){if(i=Nn(i.times(t),s),n=n.times(++l),a=o.plus(iu(i,n,s)),$l(a.d).slice(0,s)===$l(o.d).slice(0,s)){for(;c--;)o=Nn(o.times(o),s);return u.precision=f,e==null?(dr=!0,Nn(o,f)):o}o=a}}function Gr(t){for(var e=t.e*Yn,n=t.d[0];n>=10;n/=10)e++;return e}function kI(t,e,n){if(e>t.LN10.sd())throw dr=!0,n&&(t.precision=n),Error(gs+"LN10 precision limit exceeded");return Nn(new t(t.LN10),e)}function ff(t){for(var e="";t--;)e+="0";return e}function R_(t,e){var n,r,i,o,a,s,l,c,u,f=1,d=10,h=t,p=h.d,m=h.constructor,g=m.precision;if(h.s<1)throw Error(gs+(h.s?"NaN":"-Infinity"));if(h.eq(ha))return new m(0);if(e==null?(dr=!1,c=g):c=e,h.eq(10))return e==null&&(dr=!0),kI(m,c);if(c+=d,m.precision=c,n=$l(p),r=n.charAt(0),o=Gr(h),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(t),n=$l(h.d),r=n.charAt(0),f++;o=Gr(h),r>1?(h=new m("0."+n),o++):h=new m(r+"."+n.slice(1))}else return l=kI(m,c+2,g).times(o+""),h=R_(new m(r+"."+n.slice(1)),c-d).plus(l),m.precision=g,e==null?(dr=!0,Nn(h,g)):h;for(s=a=h=iu(h.minus(ha),h.plus(ha),c),u=Nn(h.times(h),c),i=3;;){if(a=Nn(a.times(u),c),l=s.plus(iu(a,new m(i),c)),$l(l.d).slice(0,c)===$l(s.d).slice(0,c))return s=s.times(2),o!==0&&(s=s.plus(kI(m,c+2,g).times(o+""))),s=iu(s,new m(f),c),m.precision=g,e==null?(dr=!0,Nn(s,g)):s;s=l,i+=2}}function dY(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;)++r;for(i=e.length;e.charCodeAt(i-1)===48;)--i;if(e=e.slice(r,i),e){if(i-=r,n=n-r-1,t.e=Vy(n/Yn),t.d=[],r=(n+1)%Yn,n<0&&(r+=Yn),rcP||t.e<-cP))throw Error(QU+n)}else t.s=0,t.e=0,t.d=[0];return t}function Nn(t,e,n){var r,i,o,a,s,l,c,u,f=t.d;for(a=1,o=f[0];o>=10;o/=10)a++;if(r=e-a,r<0)r+=Yn,i=e,c=f[u=0];else{if(u=Math.ceil((r+1)/Yn),o=f.length,u>=o)return t;for(c=o=f[u],a=1;o>=10;o/=10)a++;r%=Yn,i=r-Yn+a}if(n!==void 0&&(o=nh(10,a-i-1),s=c/o%10|0,l=e<0||f[u+1]!==void 0||c%o,l=n<4?(s||l)&&(n==0||n==(t.s<0?3:2)):s>5||s==5&&(n==4||l||n==6&&(r>0?i>0?c/nh(10,a-i):0:f[u-1])%10&1||n==(t.s<0?8:7))),e<1||!f[0])return l?(o=Gr(t),f.length=1,e=e-o-1,f[0]=nh(10,(Yn-e%Yn)%Yn),t.e=Vy(-e/Yn)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(r==0?(f.length=u,o=1,u--):(f.length=u+1,o=nh(10,Yn-r),f[u]=i>0?(c/nh(10,a-i)%nh(10,i)|0)*o:0),l)for(;;)if(u==0){(f[0]+=o)==li&&(f[0]=1,++t.e);break}else{if(f[u]+=o,f[u]!=li)break;f[u--]=0,o=1}for(r=f.length;f[--r]===0;)f.pop();if(dr&&(t.e>cP||t.e<-cP))throw Error(QU+Gr(t));return t}function jge(t,e){var n,r,i,o,a,s,l,c,u,f,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),dr?Nn(e,h):e;if(l=t.d,f=e.d,r=e.e,c=t.e,l=l.slice(),a=c-r,a){for(u=a<0,u?(n=l,a=-a,s=f.length):(n=f,r=c,s=l.length),i=Math.max(Math.ceil(h/Yn),s)+2,a>i&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for(i=l.length,s=f.length,u=i0;--i)l[s++]=0;for(i=f.length;i>a;){if(l[--i]0?o=o.charAt(0)+"."+o.slice(1)+ff(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+ff(-i-1)+o,n&&(r=n-a)>0&&(o+=ff(r))):i>=a?(o+=ff(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+ff(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=ff(r))),t.s<0?"-"+o:o}function hY(t,e){if(t.length>e)return t.length=e,!0}function Bge(t){var e,n,r;function i(o){var a=this;if(!(a instanceof i))return new i(o);if(a.constructor=i,o instanceof i){a.s=o.s,a.e=o.e,a.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Gh+o);if(o>0)a.s=1;else if(o<0)o=-o,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(o===~~o&&o<1e7){a.e=0,a.d=[o];return}return dY(a,o.toString())}else if(typeof o!="string")throw Error(Gh+o);if(o.charCodeAt(0)===45?(o=o.slice(1),a.s=-1):a.s=1,dPt.test(o))dY(a,o);else throw Error(Gh+o)}if(i.prototype=dt,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=Bge,i.config=i.set=hPt,t===void 0&&(t={}),t)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],e=0;e=i[e+1]&&r<=i[e+2])this[n]=r;else throw Error(Gh+n+": "+r);if((r=t[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Gh+n+": "+r);return this}var YU=Bge(fPt);ha=new YU(1);const Rn=YU;function pPt(t){return yPt(t)||vPt(t)||gPt(t)||mPt()}function mPt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gPt(t,e){if(t){if(typeof t=="string")return L$(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L$(t,e)}}function vPt(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function yPt(t){if(Array.isArray(t))return L$(t)}function L$(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e?n.apply(void 0,i):t(e-a,pY(function(){for(var s=arguments.length,l=new Array(s),c=0;ct.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=t[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(e&&n.length===e));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function IPt(t){if(Array.isArray(t))return t}function Gge(t){var e=I_(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Hge(t,e,n){if(t.lte(0))return new Rn(0);var r=Ek.getDigitCount(t.toNumber()),i=new Rn(10).pow(r),o=t.div(i),a=r!==1?.05:.1,s=new Rn(Math.ceil(o.div(a).toNumber())).add(n).mul(a),l=s.mul(i);return e?l:new Rn(Math.ceil(l))}function DPt(t,e,n){var r=1,i=new Rn(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new Rn(10).pow(Ek.getDigitCount(t)-1),i=new Rn(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new Rn(Math.floor(t)))}else t===0?i=new Rn(Math.floor((e-1)/2)):n||(i=new Rn(Math.floor(t)));var a=Math.floor((e-1)/2),s=wPt(_Pt(function(l){return i.add(new Rn(l-a).mul(r)).toNumber()}),N$);return s(0,e)}function qge(t,e,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new Rn(0),tickMin:new Rn(0),tickMax:new Rn(0)};var o=Hge(new Rn(e).sub(t).div(n-1),r,i),a;t<=0&&e>=0?a=new Rn(0):(a=new Rn(t).add(e).div(2),a=a.sub(new Rn(a).mod(o)));var s=Math.ceil(a.sub(t).div(o).toNumber()),l=Math.ceil(new Rn(e).sub(a).div(o).toNumber()),c=s+l+1;return c>n?qge(t,e,n,r,i+1):(c0?l+(n-c):l,s=e>0?s:s+(n-c)),{step:o,tickMin:a.sub(new Rn(s).mul(o)),tickMax:a.add(new Rn(l).mul(o))})}function LPt(t){var e=I_(t,2),n=e[0],r=e[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(i,2),s=Gge([n,r]),l=I_(s,2),c=l[0],u=l[1];if(c===-1/0||u===1/0){var f=u===1/0?[c].concat(F$(N$(0,i-1).map(function(){return 1/0}))):[].concat(F$(N$(0,i-1).map(function(){return-1/0})),[u]);return n>r?$$(f):f}if(c===u)return DPt(c,i,o);var d=qge(c,u,a,o),h=d.step,p=d.tickMin,m=d.tickMax,g=Ek.rangeStep(p,m.add(new Rn(.1).mul(h)),h);return n>r?$$(g):g}function NPt(t,e){var n=I_(t,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Gge([r,i]),s=I_(a,2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[r,i];if(l===c)return[l];var u=Math.max(e,2),f=Hge(new Rn(c).sub(l).div(u-1),o,0),d=[].concat(F$(Ek.rangeStep(new Rn(l),new Rn(c).sub(new Rn(.99).mul(f)),f)),[c]);return r>i?$$(d):d}var $Pt=Wge(LPt),FPt=Wge(NPt),jPt="Invariant failed";function mp(t,e){throw new Error(jPt)}var BPt=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function uP(){return uP=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function qPt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Gy(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,o=t.data,a=t.dataPointFormatter,s=t.xAxis,l=t.yAxis,c=HPt(t,BPt),u=jt(c,!1);t.direction==="x"&&s.type!=="number"&&mp();var f=o.map(function(d){var h=a(d,i),p=h.x,m=h.y,g=h.value,v=h.errorVal;if(!v)return null;var y=[],x,b;if(Array.isArray(v)){var _=zPt(v,2);x=_[0],b=_[1]}else x=b=v;if(n==="vertical"){var S=s.scale,O=m+e,C=O+r,E=O-r,k=S(g-x),I=S(g+b);y.push({x1:I,y1:C,x2:I,y2:E}),y.push({x1:k,y1:O,x2:I,y2:O}),y.push({x1:k,y1:C,x2:k,y2:E})}else if(n==="horizontal"){var P=l.scale,R=p+e,T=R-r,L=R+r,z=P(g-x),B=P(g+b);y.push({x1:T,y1:B,x2:L,y2:B}),y.push({x1:R,y1:z,x2:R,y2:B}),y.push({x1:T,y1:z,x2:L,y2:z})}return ue.createElement(Gn,uP({className:"recharts-errorBar",key:"bar-".concat(y.map(function(U){return"".concat(U.x1,"-").concat(U.x2,"-").concat(U.y1,"-").concat(U.y2)}))},u),y.map(function(U){return ue.createElement("line",uP({},U,{key:"line-".concat(U.x1,"-").concat(U.x2,"-").concat(U.y1,"-").concat(U.y2)}))}))});return ue.createElement(Gn,{className:"recharts-errorBars"},f)}Gy.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};Gy.displayName="ErrorBar";function D_(t){"@babel/helpers - typeof";return D_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D_(t)}function gY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function AI(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,c=0;c0?i[c-1].coordinate:i[s-1].coordinate,f=i[c].coordinate,d=c>=s-1?i[0].coordinate:i[c+1].coordinate,h=void 0;if(qs(f-u)!==qs(d-f)){var p=[];if(qs(d-f)===qs(l[1]-l[0])){h=d;var m=f+l[1]-l[0];p[0]=Math.min(m,(m+u)/2),p[1]=Math.max(m,(m+u)/2)}else{h=u;var g=d+l[1]-l[0];p[0]=Math.min(f,(g+f)/2),p[1]=Math.max(f,(g+f)/2)}var v=[Math.min(f,(h+f)/2),Math.max(f,(h+f)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){a=i[c].index;break}}else{var y=Math.min(u,d),x=Math.max(u,d);if(e>(y+f)/2&&e<=(x+f)/2){a=i[c].index;break}}}else for(var b=0;b0&&b(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===s-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){a=r[b].index;break}return a},KU=function(e){var n=e,r=n.type.displayName,i=e.props,o=i.stroke,a=i.fill,s;switch(r){case"Line":s=o;break;case"Area":case"Radar":s=o&&o!=="none"?o:a;break;default:s=a;break}return s},iMt=function(e){var n=e.barSize,r=e.totalSize,i=e.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var a={},s=Object.keys(o),l=0,c=s.length;l=0});if(v&&v.length){var y=v[0].props.barSize,x=v[0].props[g];a[x]||(a[x]=[]);var b=Wt(y)?n:y;a[x].push({item:v[0],stackList:v.slice(1),barSize:Wt(b)?void 0:hp(b,r,0)})}}return a},oMt=function(e){var n=e.barGap,r=e.barCategoryGap,i=e.bandSize,o=e.sizeList,a=o===void 0?[]:o,s=e.maxBarSize,l=a.length;if(l<1)return null;var c=hp(n,i,0,!0),u,f=[];if(a[0].barSize===+a[0].barSize){var d=!1,h=i/l,p=a.reduce(function(b,_){return b+_.barSize||0},0);p+=(l-1)*c,p>=i&&(p-=(l-1)*c,c=0),p>=i&&h>0&&(d=!0,h*=.9,p=l*h);var m=(i-p)/2>>0,g={offset:m-c,size:0};u=a.reduce(function(b,_){var S={item:_.item,position:{offset:g.offset+g.size+c,size:d?h:_.barSize}},O=[].concat(yY(b),[S]);return g=O[O.length-1].position,_.stackList&&_.stackList.length&&_.stackList.forEach(function(C){O.push({item:C,position:g})}),O},f)}else{var v=hp(r,i,0,!0);i-2*v-(l-1)*c<=0&&(c=0);var y=(i-2*v-(l-1)*c)/l;y>1&&(y>>=0);var x=s===+s?Math.min(y,s):y;u=a.reduce(function(b,_,S){var O=[].concat(yY(b),[{item:_.item,position:{offset:v+(y+c)*S+(y-x)/2,size:x}}]);return _.stackList&&_.stackList.length&&_.stackList.forEach(function(C){O.push({item:C,position:O[O.length-1].position})}),O},f)}return u},aMt=function(e,n,r,i){var o=r.children,a=r.width,s=r.margin,l=a-(s.left||0)-(s.right||0),c=Xge({children:o,legendWidth:l});if(c){var u=i||{},f=u.width,d=u.height,h=c.align,p=c.verticalAlign,m=c.layout;if((m==="vertical"||m==="horizontal"&&p==="middle")&&h!=="center"&&Ye(e[h]))return Ua(Ua({},e),{},Fg({},h,e[h]+(f||0)));if((m==="horizontal"||m==="vertical"&&h==="center")&&p!=="middle"&&Ye(e[p]))return Ua(Ua({},e),{},Fg({},p,e[p]+(d||0)))}return e},sMt=function(e,n,r){return Wt(n)?!0:e==="horizontal"?n==="yAxis":e==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},Qge=function(e,n,r,i,o){var a=n.props.children,s=os(a,Gy).filter(function(c){return sMt(i,o,c.props.direction)});if(s&&s.length){var l=s.map(function(c){return c.props.dataKey});return e.reduce(function(c,u){var f=ho(u,r);if(Wt(f))return c;var d=Array.isArray(f)?[Ck(f),Ef(f)]:[f,f],h=l.reduce(function(p,m){var g=ho(u,m,0),v=d[0]-Math.abs(Array.isArray(g)?g[0]:g),y=d[1]+Math.abs(Array.isArray(g)?g[1]:g);return[Math.min(v,p[0]),Math.max(y,p[1])]},[1/0,-1/0]);return[Math.min(h[0],c[0]),Math.max(h[1],c[1])]},[1/0,-1/0])}return null},lMt=function(e,n,r,i,o){var a=n.map(function(s){return Qge(e,s,r,o,i)}).filter(function(s){return!Wt(s)});return a&&a.length?a.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]):null},Yge=function(e,n,r,i,o){var a=n.map(function(l){var c=l.props.dataKey;return r==="number"&&c&&Qge(e,l,c,i)||ab(e,c,r,o)});if(r==="number")return a.reduce(function(l,c){return[Math.min(l[0],c[0]),Math.max(l[1],c[1])]},[1/0,-1/0]);var s={};return a.reduce(function(l,c){for(var u=0,f=c.length;u=2?qs(s[0]-s[1])*2*c:c,n&&(e.ticks||e.niceTicks)){var u=(e.ticks||e.niceTicks).map(function(f){var d=o?o.indexOf(f):f;return{coordinate:i(d)+c,value:f,offset:c}});return u.filter(function(f){return!$y(f.coordinate)})}return e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(f,d){return{coordinate:i(f)+c,value:f,index:d,offset:c}}):i.ticks&&!r?i.ticks(e.tickCount).map(function(f){return{coordinate:i(f)+c,value:f,offset:c}}):i.domain().map(function(f,d){return{coordinate:i(f)+c,value:o?o[f]:f,index:d,offset:c}})},RI=new WeakMap,SO=function(e,n){if(typeof n!="function")return e;RI.has(e)||RI.set(e,new WeakMap);var r=RI.get(e);if(r.has(n))return r.get(n);var i=function(){e.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},cMt=function(e,n,r){var i=e.scale,o=e.type,a=e.layout,s=e.axisType;if(i==="auto")return a==="radial"&&s==="radiusAxis"?{scale:E_(),realScaleType:"band"}:a==="radial"&&s==="angleAxis"?{scale:oP(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:ob(),realScaleType:"point"}:o==="category"?{scale:E_(),realScaleType:"band"}:{scale:oP(),realScaleType:"linear"};if(Tw(i)){var l="scale".concat(dk(i));return{scale:(fY[l]||ob)(),realScaleType:fY[l]?l:"point"}}return Bt(i)?{scale:i}:{scale:ob(),realScaleType:"point"}},xY=1e-4,uMt=function(e){var n=e.domain();if(!(!n||n.length<=2)){var r=n.length,i=e.range(),o=Math.min(i[0],i[1])-xY,a=Math.max(i[0],i[1])+xY,s=e(n[0]),l=e(n[r-1]);(sa||la)&&e.domain([n[0],n[r-1]])}},fMt=function(e,n){if(!e)return null;for(var r=0,i=e.length;ri)&&(o[1]=i),o[0]>i&&(o[0]=i),o[1]=0?(e[s][r][0]=o,e[s][r][1]=o+l,o=e[s][r][1]):(e[s][r][0]=a,e[s][r][1]=a+l,a=e[s][r][1])}},pMt=function(e){var n=e.length;if(!(n<=0))for(var r=0,i=e[0].length;r=0?(e[a][r][0]=o,e[a][r][1]=o+s,o=e[a][r][1]):(e[a][r][0]=0,e[a][r][1]=0)}},mMt={sign:hMt,expand:Bvt,none:vv,silhouette:zvt,wiggle:Uvt,positive:pMt},gMt=function(e,n,r){var i=n.map(function(s){return s.props.dataKey}),o=mMt[r],a=jvt().keys(i).value(function(s,l){return+ho(s,l,0)}).order(f$).offset(o);return a(e)},vMt=function(e,n,r,i,o,a){if(!e)return null;var s=a?n.reverse():n,l={},c=s.reduce(function(f,d){var h=d.props,p=h.stackId,m=h.hide;if(m)return f;var g=d.props[r],v=f[g]||{hasStack:!1,stackGroups:{}};if(ti(p)){var y=v.stackGroups[p]||{numericAxisId:r,cateAxisId:i,items:[]};y.items.push(d),v.hasStack=!0,v.stackGroups[p]=y}else v.stackGroups[Fy("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[d]};return Ua(Ua({},f),{},Fg({},g,v))},l),u={};return Object.keys(c).reduce(function(f,d){var h=c[d];if(h.hasStack){var p={};h.stackGroups=Object.keys(h.stackGroups).reduce(function(m,g){var v=h.stackGroups[g];return Ua(Ua({},m),{},Fg({},g,{numericAxisId:r,cateAxisId:i,items:v.items,stackedData:gMt(e,v.items,o)}))},p)}return Ua(Ua({},f),{},Fg({},d,h))},u)},yMt=function(e,n){var r=n.realScaleType,i=n.type,o=n.tickCount,a=n.originalDomain,s=n.allowDecimals,l=r||n.scale;if(l!=="auto"&&l!=="linear")return null;if(o&&i==="number"&&a&&(a[0]==="auto"||a[1]==="auto")){var c=e.domain();if(!c.length)return null;var u=$Pt(c,o,s);return e.domain([Ck(u),Ef(u)]),{niceTicks:u}}if(o&&i==="number"){var f=e.domain(),d=FPt(f,o,s);return{niceTicks:d}}return null};function fP(t){var e=t.axis,n=t.ticks,r=t.bandSize,i=t.entry,o=t.index,a=t.dataKey;if(e.type==="category"){if(!e.allowDuplicatedCategory&&e.dataKey&&!Wt(i[e.dataKey])){var s=NE(n,"value",i[e.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=ho(i,Wt(a)?e.dataKey:a);return Wt(l)?null:e.scale(l)}var bY=function(e){var n=e.axis,r=e.ticks,i=e.offset,o=e.bandSize,a=e.entry,s=e.index;if(n.type==="category")return r[s]?r[s].coordinate+i:null;var l=ho(a,n.dataKey,n.domain[s]);return Wt(l)?null:n.scale(l)-o/2+i},xMt=function(e){var n=e.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return i<=0&&o>=0?0:o<0?o:i}return r[0]},bMt=function(e,n){var r=e.props.stackId;if(ti(r)){var i=n[r];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null},_Mt=function(e){return e.reduce(function(n,r){return[Ck(r.concat([n[0]]).filter(Ye)),Ef(r.concat([n[1]]).filter(Ye))]},[1/0,-1/0])},Jge=function(e,n,r){return Object.keys(e).reduce(function(i,o){var a=e[o],s=a.stackedData,l=s.reduce(function(c,u){var f=_Mt(u.slice(n,r+1));return[Math.min(c[0],f[0]),Math.max(c[1],f[1])]},[1/0,-1/0]);return[Math.min(l[0],i[0]),Math.max(l[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},_Y=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,wY=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,z$=function(e,n,r){if(Bt(e))return e(n,r);if(!Array.isArray(e))return n;var i=[];if(Ye(e[0]))i[0]=r?e[0]:Math.min(e[0],n[0]);else if(_Y.test(e[0])){var o=+_Y.exec(e[0])[1];i[0]=n[0]-o}else Bt(e[0])?i[0]=e[0](n[0]):i[0]=n[0];if(Ye(e[1]))i[1]=r?e[1]:Math.max(e[1],n[1]);else if(wY.test(e[1])){var a=+wY.exec(e[1])[1];i[1]=n[1]+a}else Bt(e[1])?i[1]=e[1](n[1]):i[1]=n[1];return i},dP=function(e,n,r){if(e&&e.scale&&e.scale.bandwidth){var i=e.scale.bandwidth();if(!r||i>0)return i}if(e&&n&&n.length>=2){for(var o=CU(n,function(f){return f.coordinate}),a=1/0,s=1,l=o.length;sa&&(c=2*Math.PI-c),{radius:s,angle:CMt(c),angleInRadian:c}},PMt=function(e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return{startAngle:n-a*360,endAngle:r-a*360}},MMt=function(e,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),a=Math.floor(i/360),s=Math.min(o,a);return e+s*360},TY=function(e,n){var r=e.x,i=e.y,o=EMt({x:r,y:i},n),a=o.radius,s=o.angle,l=n.innerRadius,c=n.outerRadius;if(ac)return!1;if(a===0)return!0;var u=PMt(n),f=u.startAngle,d=u.endAngle,h=s,p;if(f<=d){for(;h>d;)h-=360;for(;h=f&&h<=d}else{for(;h>f;)h-=360;for(;h=d&&h<=f}return p?CY(CY({},n),{},{radius:a,angle:MMt(h,n)}):null};function $_(t){"@babel/helpers - typeof";return $_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$_(t)}var kMt=["offset"];function AMt(t){return LMt(t)||DMt(t)||IMt(t)||RMt()}function RMt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IMt(t,e){if(t){if(typeof t=="string")return U$(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U$(t,e)}}function DMt(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function LMt(t){if(Array.isArray(t))return U$(t)}function U$(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function $Mt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function EY(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Kr(t){for(var e=1;e=0?1:-1,x,b;i==="insideStart"?(x=h+y*a,b=m):i==="insideEnd"?(x=p-y*a,b=!m):i==="end"&&(x=p+y*a,b=m),b=v<=0?b:!b;var _=Ai(c,u,g,x),S=Ai(c,u,g,x+(b?1:-1)*359),O="M".concat(_.x,",").concat(_.y,` - A`).concat(g,",").concat(g,",0,1,").concat(b?0:1,`, - `).concat(S.x,",").concat(S.y),C=Wt(e.id)?Fy("recharts-radial-line-"):e.id;return ue.createElement("text",F_({},r,{dominantBaseline:"central",className:ke("recharts-radial-bar-label",s)}),ue.createElement("defs",null,ue.createElement("path",{id:C,d:O})),ue.createElement("textPath",{xlinkHref:"#".concat(C)},n))},VMt=function(e){var n=e.viewBox,r=e.offset,i=e.position,o=n,a=o.cx,s=o.cy,l=o.innerRadius,c=o.outerRadius,u=o.startAngle,f=o.endAngle,d=(u+f)/2;if(i==="outside"){var h=Ai(a,s,c+r,d),p=h.x,m=h.y;return{x:p,y:m,textAnchor:p>=a?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var g=(l+c)/2,v=Ai(a,s,g,d),y=v.x,x=v.y;return{x:y,y:x,textAnchor:"middle",verticalAnchor:"middle"}},GMt=function(e){var n=e.viewBox,r=e.parentViewBox,i=e.offset,o=e.position,a=n,s=a.x,l=a.y,c=a.width,u=a.height,f=u>=0?1:-1,d=f*i,h=f>0?"end":"start",p=f>0?"start":"end",m=c>=0?1:-1,g=m*i,v=m>0?"end":"start",y=m>0?"start":"end";if(o==="top"){var x={x:s+c/2,y:l-f*i,textAnchor:"middle",verticalAnchor:h};return Kr(Kr({},x),r?{height:Math.max(l-r.y,0),width:c}:{})}if(o==="bottom"){var b={x:s+c/2,y:l+u+d,textAnchor:"middle",verticalAnchor:p};return Kr(Kr({},b),r?{height:Math.max(r.y+r.height-(l+u),0),width:c}:{})}if(o==="left"){var _={x:s-g,y:l+u/2,textAnchor:v,verticalAnchor:"middle"};return Kr(Kr({},_),r?{width:Math.max(_.x-r.x,0),height:u}:{})}if(o==="right"){var S={x:s+c+g,y:l+u/2,textAnchor:y,verticalAnchor:"middle"};return Kr(Kr({},S),r?{width:Math.max(r.x+r.width-S.x,0),height:u}:{})}var O=r?{width:c,height:u}:{};return o==="insideLeft"?Kr({x:s+g,y:l+u/2,textAnchor:y,verticalAnchor:"middle"},O):o==="insideRight"?Kr({x:s+c-g,y:l+u/2,textAnchor:v,verticalAnchor:"middle"},O):o==="insideTop"?Kr({x:s+c/2,y:l+d,textAnchor:"middle",verticalAnchor:p},O):o==="insideBottom"?Kr({x:s+c/2,y:l+u-d,textAnchor:"middle",verticalAnchor:h},O):o==="insideTopLeft"?Kr({x:s+g,y:l+d,textAnchor:y,verticalAnchor:p},O):o==="insideTopRight"?Kr({x:s+c-g,y:l+d,textAnchor:v,verticalAnchor:p},O):o==="insideBottomLeft"?Kr({x:s+g,y:l+u-d,textAnchor:y,verticalAnchor:h},O):o==="insideBottomRight"?Kr({x:s+c-g,y:l+u-d,textAnchor:v,verticalAnchor:h},O):Iy(o)&&(Ye(o.x)||Ch(o.x))&&(Ye(o.y)||Ch(o.y))?Kr({x:s+hp(o.x,c),y:l+hp(o.y,u),textAnchor:"end",verticalAnchor:"end"},O):Kr({x:s+c/2,y:l+u/2,textAnchor:"middle",verticalAnchor:"middle"},O)},HMt=function(e){return"cx"in e&&Ye(e.cx)};function Xi(t){var e=t.offset,n=e===void 0?5:e,r=NMt(t,kMt),i=Kr({offset:n},r),o=i.viewBox,a=i.position,s=i.value,l=i.children,c=i.content,u=i.className,f=u===void 0?"":u,d=i.textBreakAll;if(!o||Wt(s)&&Wt(l)&&!M.isValidElement(c)&&!Bt(c))return null;if(M.isValidElement(c))return M.cloneElement(c,i);var h;if(Bt(c)){if(h=M.createElement(c,i),M.isValidElement(h))return h}else h=zMt(i);var p=HMt(o),m=jt(i,!0);if(p&&(a==="insideStart"||a==="insideEnd"||a==="end"))return WMt(i,h,m);var g=p?VMt(i):GMt(i);return ue.createElement(ZE,F_({className:ke("recharts-label",f)},m,g,{breakAll:d}),h)}Xi.displayName="Label";var tve=function(e){var n=e.cx,r=e.cy,i=e.angle,o=e.startAngle,a=e.endAngle,s=e.r,l=e.radius,c=e.innerRadius,u=e.outerRadius,f=e.x,d=e.y,h=e.top,p=e.left,m=e.width,g=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(Ye(m)&&Ye(g)){if(Ye(f)&&Ye(d))return{x:f,y:d,width:m,height:g};if(Ye(h)&&Ye(p))return{x:h,y:p,width:m,height:g}}return Ye(f)&&Ye(d)?{x:f,y:d,width:0,height:0}:Ye(n)&&Ye(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:a||i||0,innerRadius:c||0,outerRadius:u||l||s||0,clockWise:v}:e.viewBox?e.viewBox:{}},qMt=function(e,n){return e?e===!0?ue.createElement(Xi,{key:"label-implicit",viewBox:n}):ti(e)?ue.createElement(Xi,{key:"label-implicit",viewBox:n,value:e}):M.isValidElement(e)?e.type===Xi?M.cloneElement(e,{key:"label-implicit",viewBox:n}):ue.createElement(Xi,{key:"label-implicit",content:e,viewBox:n}):Bt(e)?ue.createElement(Xi,{key:"label-implicit",content:e,viewBox:n}):Iy(e)?ue.createElement(Xi,F_({viewBox:n},e,{key:"label-implicit"})):null:null},XMt=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var i=e.children,o=tve(e),a=os(i,Xi).map(function(l,c){return M.cloneElement(l,{viewBox:n||o,key:"label-".concat(c)})});if(!r)return a;var s=qMt(e.label,n||o);return[s].concat(AMt(a))};Xi.parseViewBox=tve;Xi.renderCallByParent=XMt;function QMt(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var YMt=QMt;const KMt=$t(YMt);function j_(t){"@babel/helpers - typeof";return j_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j_(t)}var ZMt=["valueAccessor"],JMt=["data","dataKey","clockWise","id","textBreakAll"];function e2t(t){return i2t(t)||r2t(t)||n2t(t)||t2t()}function t2t(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n2t(t,e){if(t){if(typeof t=="string")return W$(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W$(t,e)}}function r2t(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i2t(t){if(Array.isArray(t))return W$(t)}function W$(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function l2t(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var c2t=function(e){return Array.isArray(e.value)?KMt(e.value):e.value};function ou(t){var e=t.valueAccessor,n=e===void 0?c2t:e,r=kY(t,ZMt),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,c=kY(r,JMt);return!i||!i.length?null:ue.createElement(Gn,{className:"recharts-label-list"},i.map(function(u,f){var d=Wt(o)?n(u,f):ho(u&&u.payload,o),h=Wt(s)?{}:{id:"".concat(s,"-").concat(f)};return ue.createElement(Xi,pP({},jt(u,!0),c,h,{parentViewBox:u.parentViewBox,value:d,textBreakAll:l,viewBox:Xi.parseViewBox(Wt(a)?u:MY(MY({},u),{},{clockWise:a})),key:"label-".concat(f),index:f}))}))}ou.displayName="LabelList";function u2t(t,e){return t?t===!0?ue.createElement(ou,{key:"labelList-implicit",data:e}):ue.isValidElement(t)||Bt(t)?ue.createElement(ou,{key:"labelList-implicit",data:e,content:t}):Iy(t)?ue.createElement(ou,pP({data:e},t,{key:"labelList-implicit"})):null:null}function f2t(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=os(r,ou).map(function(a,s){return M.cloneElement(a,{data:e,key:"labelList-".concat(s)})});if(!n)return i;var o=u2t(t.label,e);return[o].concat(e2t(i))}ou.renderCallByParent=f2t;function B_(t){"@babel/helpers - typeof";return B_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B_(t)}function V$(){return V$=Object.assign?Object.assign.bind():function(t){for(var e=1;e180),",").concat(+(a>c),`, - `).concat(f.x,",").concat(f.y,` - `);if(i>0){var h=Ai(n,r,i,a),p=Ai(n,r,i,c);d+="L ".concat(p.x,",").concat(p.y,` - A `).concat(i,",").concat(i,`,0, - `).concat(+(Math.abs(l)>180),",").concat(+(a<=c),`, - `).concat(h.x,",").concat(h.y," Z")}else d+="L ".concat(n,",").concat(r," Z");return d},g2t=function(e){var n=e.cx,r=e.cy,i=e.innerRadius,o=e.outerRadius,a=e.cornerRadius,s=e.forceCornerRadius,l=e.cornerIsExternal,c=e.startAngle,u=e.endAngle,f=qs(u-c),d=OO({cx:n,cy:r,radius:o,angle:c,sign:f,cornerRadius:a,cornerIsExternal:l}),h=d.circleTangency,p=d.lineTangency,m=d.theta,g=OO({cx:n,cy:r,radius:o,angle:u,sign:-f,cornerRadius:a,cornerIsExternal:l}),v=g.circleTangency,y=g.lineTangency,x=g.theta,b=l?Math.abs(c-u):Math.abs(c-u)-m-x;if(b<0)return s?"M ".concat(p.x,",").concat(p.y,` - a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0 - a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0 - `):nve({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:c,endAngle:u});var _="M ".concat(p.x,",").concat(p.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(h.x,",").concat(h.y,` - A`).concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(f<0),",").concat(v.x,",").concat(v.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,` - `);if(i>0){var S=OO({cx:n,cy:r,radius:i,angle:c,sign:f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),O=S.circleTangency,C=S.lineTangency,E=S.theta,k=OO({cx:n,cy:r,radius:i,angle:u,sign:-f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),I=k.circleTangency,P=k.lineTangency,R=k.theta,T=l?Math.abs(c-u):Math.abs(c-u)-E-R;if(T<0&&a===0)return"".concat(_,"L").concat(n,",").concat(r,"Z");_+="L".concat(P.x,",").concat(P.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(I.x,",").concat(I.y,` - A`).concat(i,",").concat(i,",0,").concat(+(T>180),",").concat(+(f>0),",").concat(O.x,",").concat(O.y,` - A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(C.x,",").concat(C.y,"Z")}else _+="L".concat(n,",").concat(r,"Z");return _},v2t={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},rve=function(e){var n=RY(RY({},v2t),e),r=n.cx,i=n.cy,o=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,l=n.forceCornerRadius,c=n.cornerIsExternal,u=n.startAngle,f=n.endAngle,d=n.className;if(a0&&Math.abs(u-f)<360?g=g2t({cx:r,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:u,endAngle:f}):g=nve({cx:r,cy:i,innerRadius:o,outerRadius:a,startAngle:u,endAngle:f}),ue.createElement("path",V$({},jt(n,!0),{className:h,d:g,role:"img"}))};function z_(t){"@babel/helpers - typeof";return z_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z_(t)}function G$(){return G$=Object.assign?Object.assign.bind():function(t){for(var e=1;e0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function E2t(t,e){return Hy(t.getTime(),e.getTime())}function BY(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.entries(),o=0,a,s;(a=i.next())&&!a.done;){for(var l=e.entries(),c=!1,u=0;(s=l.next())&&!s.done;){var f=a.value,d=f[0],h=f[1],p=s.value,m=p[0],g=p[1];!c&&!r[u]&&(c=n.equals(d,m,o,u,t,e,n)&&n.equals(h,g,d,m,t,e,n))&&(r[u]=!0),u++}if(!c)return!1;o++}return!0}function P2t(t,e,n){var r=jY(t),i=r.length;if(jY(e).length!==i)return!1;for(var o;i-- >0;)if(o=r[i],o===ove&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!ive(e,o)||!n.equals(t[o],e[o],o,o,t,e,n))return!1;return!0}function V0(t,e,n){var r=$Y(t),i=r.length;if($Y(e).length!==i)return!1;for(var o,a,s;i-- >0;)if(o=r[i],o===ove&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!ive(e,o)||!n.equals(t[o],e[o],o,o,t,e,n)||(a=FY(t,o),s=FY(e,o),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function M2t(t,e){return Hy(t.valueOf(),e.valueOf())}function k2t(t,e){return t.source===e.source&&t.flags===e.flags}function zY(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.values(),o,a;(o=i.next())&&!o.done;){for(var s=e.values(),l=!1,c=0;(a=s.next())&&!a.done;)!l&&!r[c]&&(l=n.equals(o.value,a.value,o.value,a.value,t,e,n))&&(r[c]=!0),c++;if(!l)return!1}return!0}function A2t(t,e){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}var R2t="[object Arguments]",I2t="[object Boolean]",D2t="[object Date]",L2t="[object Map]",N2t="[object Number]",$2t="[object Object]",F2t="[object RegExp]",j2t="[object Set]",B2t="[object String]",z2t=Array.isArray,UY=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,WY=Object.assign,U2t=Object.prototype.toString.call.bind(Object.prototype.toString);function W2t(t){var e=t.areArraysEqual,n=t.areDatesEqual,r=t.areMapsEqual,i=t.areObjectsEqual,o=t.arePrimitiveWrappersEqual,a=t.areRegExpsEqual,s=t.areSetsEqual,l=t.areTypedArraysEqual;return function(u,f,d){if(u===f)return!0;if(u==null||f==null||typeof u!="object"||typeof f!="object")return u!==u&&f!==f;var h=u.constructor;if(h!==f.constructor)return!1;if(h===Object)return i(u,f,d);if(z2t(u))return e(u,f,d);if(UY!=null&&UY(u))return l(u,f,d);if(h===Date)return n(u,f,d);if(h===RegExp)return a(u,f,d);if(h===Map)return r(u,f,d);if(h===Set)return s(u,f,d);var p=U2t(u);return p===D2t?n(u,f,d):p===F2t?a(u,f,d):p===L2t?r(u,f,d):p===j2t?s(u,f,d):p===$2t?typeof u.then!="function"&&typeof f.then!="function"&&i(u,f,d):p===R2t?i(u,f,d):p===I2t||p===N2t||p===B2t?o(u,f,d):!1}}function V2t(t){var e=t.circular,n=t.createCustomConfig,r=t.strict,i={areArraysEqual:r?V0:T2t,areDatesEqual:E2t,areMapsEqual:r?NY(BY,V0):BY,areObjectsEqual:r?V0:P2t,arePrimitiveWrappersEqual:M2t,areRegExpsEqual:k2t,areSetsEqual:r?NY(zY,V0):zY,areTypedArraysEqual:r?V0:A2t};if(n&&(i=WY({},i,n(i))),e){var o=TO(i.areArraysEqual),a=TO(i.areMapsEqual),s=TO(i.areObjectsEqual),l=TO(i.areSetsEqual);i=WY({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return i}function G2t(t){return function(e,n,r,i,o,a,s){return t(e,n,s)}}function H2t(t){var e=t.circular,n=t.comparator,r=t.createState,i=t.equals,o=t.strict;if(r)return function(l,c){var u=r(),f=u.cache,d=f===void 0?e?new WeakMap:void 0:f,h=u.meta;return n(l,c,{cache:d,equals:i,meta:h,strict:o})};if(e)return function(l,c){return n(l,c,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(l,c){return n(l,c,a)}}var q2t=Id();Id({strict:!0});Id({circular:!0});Id({circular:!0,strict:!0});Id({createInternalComparator:function(){return Hy}});Id({strict:!0,createInternalComparator:function(){return Hy}});Id({circular:!0,createInternalComparator:function(){return Hy}});Id({circular:!0,createInternalComparator:function(){return Hy},strict:!0});function Id(t){t===void 0&&(t={});var e=t.circular,n=e===void 0?!1:e,r=t.createInternalComparator,i=t.createState,o=t.strict,a=o===void 0?!1:o,s=V2t(t),l=W2t(s),c=r?r(l):G2t(l);return H2t({circular:n,comparator:l,createState:i,equals:c,strict:a})}function X2t(t){typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}function VY(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>e?(t(o),n=-1):X2t(i)};requestAnimationFrame(r)}function H$(t){"@babel/helpers - typeof";return H$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H$(t)}function Q2t(t){return J2t(t)||Z2t(t)||K2t(t)||Y2t()}function Y2t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K2t(t,e){if(t){if(typeof t=="string")return GY(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return GY(t,e)}}function GY(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?1:v<0?0:v},m=function(v){for(var y=v>1?1:v,x=y,b=0;b<8;++b){var _=f(x)-y,S=h(x);if(Math.abs(_-y)0&&arguments[0]!==void 0?arguments[0]:{},n=e.stiff,r=n===void 0?100:n,i=e.damping,o=i===void 0?8:i,a=e.dt,s=a===void 0?17:a,l=function(u,f,d){var h=-(u-f)*r,p=d*o,m=d+(h-p)*s/1e3,g=d*s/1e3+u;return Math.abs(g-f)t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function kkt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function II(t){return Dkt(t)||Ikt(t)||Rkt(t)||Akt()}function Akt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rkt(t,e){if(t){if(typeof t=="string")return K$(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return K$(t,e)}}function Ikt(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dkt(t){if(Array.isArray(t))return K$(t)}function K$(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function vP(t){return vP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},vP(t)}var rc=function(t){jkt(n,t);var e=Bkt(n);function n(r,i){var o;Lkt(this,n),o=e.call(this,r,i);var a=o.props,s=a.isActive,l=a.attributeName,c=a.from,u=a.to,f=a.steps,d=a.children,h=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(eF(o)),o.changeStyle=o.changeStyle.bind(eF(o)),!s||h<=0)return o.state={style:{}},typeof d=="function"&&(o.state={style:u}),J$(o);if(f&&f.length)o.state={style:f[0].style};else if(c){if(typeof d=="function")return o.state={style:c},J$(o);o.state={style:l?yx({},l,c):c}}else o.state={style:{}};return o}return $kt(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,a=i.canBegin;this.mounted=!0,!(!o||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isActive,s=o.canBegin,l=o.attributeName,c=o.shouldReAnimate,u=o.to,f=o.from,d=this.state.style;if(s){if(!a){var h={style:l?yx({},l,u):u};this.state&&d&&(l&&d[l]!==u||!l&&d!==u)&&this.setState(h);return}if(!(q2t(i.to,u)&&i.canBegin&&i.isActive)){var p=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var m=p||c?f:i.to;if(this.state&&d){var g={style:l?yx({},l,m):m};(l&&d[l]!==m||!l&&d!==m)&&this.setState(g)}this.runAnimation(ks(ks({},this.props),{},{from:m,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var o=this,a=i.from,s=i.to,l=i.duration,c=i.easing,u=i.begin,f=i.onAnimationEnd,d=i.onAnimationStart,h=Ekt(a,s,gkt(c),l,this.changeStyle),p=function(){o.stopJSAnimation=h()};this.manager.start([d,u,p,l,f])}},{key:"runStepAnimation",value:function(i){var o=this,a=i.steps,s=i.begin,l=i.onAnimationStart,c=a[0],u=c.style,f=c.duration,d=f===void 0?0:f,h=function(m,g,v){if(v===0)return m;var y=g.duration,x=g.easing,b=x===void 0?"ease":x,_=g.style,S=g.properties,O=g.onAnimationEnd,C=v>0?a[v-1]:g,E=S||Object.keys(_);if(typeof b=="function"||b==="spring")return[].concat(II(m),[o.runJSAnimation.bind(o,{from:C.style,to:_,duration:y,easing:b}),y]);var k=XY(E,y,b),I=ks(ks(ks({},C.style),_),{},{transition:k});return[].concat(II(m),[I,y,O]).filter(ikt)};return this.manager.start([l].concat(II(a.reduce(h,[u,Math.max(d,s)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=ekt());var o=i.begin,a=i.duration,s=i.attributeName,l=i.to,c=i.easing,u=i.onAnimationStart,f=i.onAnimationEnd,d=i.steps,h=i.children,p=this.manager;if(this.unSubscribe=p.subscribe(this.handleStyleChange),typeof c=="function"||typeof h=="function"||c==="spring"){this.runJSAnimation(i);return}if(d.length>1){this.runStepAnimation(i);return}var m=s?yx({},s,l):l,g=XY(Object.keys(m),a,c);p.start([u,o,ks(ks({},m),{},{transition:g}),a,f])}},{key:"render",value:function(){var i=this.props,o=i.children;i.begin;var a=i.duration;i.attributeName,i.easing;var s=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var l=Mkt(i,Pkt),c=M.Children.count(o),u=this.state.style;if(typeof o=="function")return o(u);if(!s||c===0||a<=0)return o;var f=function(h){var p=h.props,m=p.style,g=m===void 0?{}:m,v=p.className,y=M.cloneElement(h,ks(ks({},l),{},{style:ks(ks({},g),u),className:v}));return y};return c===1?f(M.Children.only(o)):ue.createElement("div",null,M.Children.map(o,function(d){return f(d)}))}}]),n}(M.PureComponent);rc.displayName="Animate";rc.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};rc.propTypes={from:Qe.oneOfType([Qe.object,Qe.string]),to:Qe.oneOfType([Qe.object,Qe.string]),attributeName:Qe.string,duration:Qe.number,begin:Qe.number,easing:Qe.oneOfType([Qe.string,Qe.func]),steps:Qe.arrayOf(Qe.shape({duration:Qe.number.isRequired,style:Qe.object.isRequired,easing:Qe.oneOfType([Qe.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Qe.func]),properties:Qe.arrayOf("string"),onAnimationEnd:Qe.func})),children:Qe.oneOfType([Qe.node,Qe.func]),isActive:Qe.bool,canBegin:Qe.bool,onAnimationEnd:Qe.func,shouldReAnimate:Qe.bool,onAnimationStart:Qe.func,onAnimationReStart:Qe.func};Qe.object,Qe.object,Qe.object,Qe.element;Qe.object,Qe.object,Qe.object,Qe.oneOfType([Qe.array,Qe.element]),Qe.any;function V_(t){"@babel/helpers - typeof";return V_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V_(t)}function yP(){return yP=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0?1:-1,l=r>=0?1:-1,c=i>=0&&r>=0||i<0&&r<0?1:0,u;if(a>0&&o instanceof Array){for(var f=[0,0,0,0],d=0,h=4;da?a:o[d];u="M".concat(e,",").concat(n+s*f[0]),f[0]>0&&(u+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(c,",").concat(e+l*f[0],",").concat(n)),u+="L ".concat(e+r-l*f[1],",").concat(n),f[1]>0&&(u+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(c,`, - `).concat(e+r,",").concat(n+s*f[1])),u+="L ".concat(e+r,",").concat(n+i-s*f[2]),f[2]>0&&(u+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(c,`, - `).concat(e+r-l*f[2],",").concat(n+i)),u+="L ".concat(e+l*f[3],",").concat(n+i),f[3]>0&&(u+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(c,`, - `).concat(e,",").concat(n+i-s*f[3])),u+="Z"}else if(a>0&&o===+o&&o>0){var p=Math.min(a,o);u="M ".concat(e,",").concat(n+s*p,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+l*p,",").concat(n,` - L `).concat(e+r-l*p,",").concat(n,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+r,",").concat(n+s*p,` - L `).concat(e+r,",").concat(n+i-s*p,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e+r-l*p,",").concat(n+i,` - L `).concat(e+l*p,",").concat(n+i,` - A `).concat(p,",").concat(p,",0,0,").concat(c,",").concat(e,",").concat(n+i-s*p," Z")}else u="M ".concat(e,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return u},Ykt=function(e,n){if(!e||!n)return!1;var r=e.x,i=e.y,o=n.x,a=n.y,s=n.width,l=n.height;if(Math.abs(s)>0&&Math.abs(l)>0){var c=Math.min(o,o+s),u=Math.max(o,o+s),f=Math.min(a,a+l),d=Math.max(a,a+l);return r>=c&&r<=u&&i>=f&&i<=d}return!1},Kkt={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},ZU=function(e){var n=nK(nK({},Kkt),e),r=M.useRef(),i=M.useState(-1),o=Ukt(i,2),a=o[0],s=o[1];M.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var b=r.current.getTotalLength();b&&s(b)}catch{}},[]);var l=n.x,c=n.y,u=n.width,f=n.height,d=n.radius,h=n.className,p=n.animationEasing,m=n.animationDuration,g=n.animationBegin,v=n.isAnimationActive,y=n.isUpdateAnimationActive;if(l!==+l||c!==+c||u!==+u||f!==+f||u===0||f===0)return null;var x=ke("recharts-rectangle",h);return y?ue.createElement(rc,{canBegin:a>0,from:{width:u,height:f,x:l,y:c},to:{width:u,height:f,x:l,y:c},duration:m,animationEasing:p,isActive:y},function(b){var _=b.width,S=b.height,O=b.x,C=b.y;return ue.createElement(rc,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,isActive:v,easing:p},ue.createElement("path",yP({},jt(n,!0),{className:x,d:rK(O,C,_,S,d),ref:r})))}):ue.createElement("path",yP({},jt(n,!0),{className:x,d:rK(l,c,u,f,d)}))};function tF(){return tF=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function iAt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var oAt=function(e,n,r,i,o,a){return"M".concat(e,",").concat(o,"v").concat(i,"M").concat(a,",").concat(n,"h").concat(r)},aAt=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,a=e.top,s=a===void 0?0:a,l=e.left,c=l===void 0?0:l,u=e.width,f=u===void 0?0:u,d=e.height,h=d===void 0?0:d,p=e.className,m=rAt(e,Zkt),g=Jkt({x:r,y:o,top:s,left:c,width:f,height:h},m);return!Ye(r)||!Ye(o)||!Ye(f)||!Ye(h)||!Ye(s)||!Ye(c)?null:ue.createElement("path",nF({},jt(g,!0),{className:ke("recharts-cross",p),d:oAt(r,o,f,h,s,c)}))},sAt=Pme,lAt=sAt(Object.getPrototypeOf,Object),cAt=lAt,uAt=Ou,fAt=cAt,dAt=Cu,hAt="[object Object]",pAt=Function.prototype,mAt=Object.prototype,dve=pAt.toString,gAt=mAt.hasOwnProperty,vAt=dve.call(Object);function yAt(t){if(!dAt(t)||uAt(t)!=hAt)return!1;var e=fAt(t);if(e===null)return!0;var n=gAt.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&dve.call(n)==vAt}var xAt=yAt;const bAt=$t(xAt);var _At=Ou,wAt=Cu,SAt="[object Boolean]";function OAt(t){return t===!0||t===!1||wAt(t)&&_At(t)==SAt}var CAt=OAt;const TAt=$t(CAt);function H_(t){"@babel/helpers - typeof";return H_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H_(t)}function xP(){return xP=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:c},to:{upperWidth:u,lowerWidth:f,height:d,x:l,y:c},duration:m,animationEasing:p,isActive:v},function(x){var b=x.upperWidth,_=x.lowerWidth,S=x.height,O=x.x,C=x.y;return ue.createElement(rc,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:g,duration:m,easing:p},ue.createElement("path",xP({},jt(n,!0),{className:y,d:lK(O,C,b,_,S),ref:r})))}):ue.createElement("g",null,ue.createElement("path",xP({},jt(n,!0),{className:y,d:lK(l,c,u,f,d)})))},$At=["option","shapeType","propTransformer","activeClassName","isActive"];function q_(t){"@babel/helpers - typeof";return q_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q_(t)}function FAt(t,e){if(t==null)return{};var n=jAt(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function jAt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function cK(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function bP(t){for(var e=1;e0&&r.handleDrag(i.changedTouches[0])}),aa(hl(r),"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,o=i.endIndex,a=i.onDragEnd,s=i.startIndex;a==null||a({endIndex:o,startIndex:s})}),r.detachDragEndListener()}),aa(hl(r),"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),aa(hl(r),"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),aa(hl(r),"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),aa(hl(r),"handleSlideDragStart",function(i){var o=gK(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(hl(r),"startX"),endX:r.handleTravellerDragStart.bind(hl(r),"endX")},r.state={},r}return xRt(e,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,a=this.state.scaleValues,s=this.props,l=s.gap,c=s.data,u=c.length-1,f=Math.min(i,o),d=Math.max(i,o),h=e.getIndexInRange(a,f),p=e.getIndexInRange(a,d);return{startIndex:h-h%l,endIndex:p===u?u:p-p%l}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,a=i.tickFormatter,s=i.dataKey,l=ho(o[r],s,r);return Bt(a)?a(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,a=i.startX,s=i.endX,l=this.props,c=l.x,u=l.width,f=l.travellerWidth,d=l.startIndex,h=l.endIndex,p=l.onChange,m=r.pageX-o;m>0?m=Math.min(m,c+u-f-s,c+u-f-a):m<0&&(m=Math.max(m,c-a,c-s));var g=this.getIndex({startX:a+m,endX:s+m});(g.startIndex!==d||g.endIndex!==h)&&p&&p(g),this.setState({startX:a+m,endX:s+m,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=gK(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,o=i.brushMoveStartX,a=i.movingTravellerId,s=i.endX,l=i.startX,c=this.state[a],u=this.props,f=u.x,d=u.width,h=u.travellerWidth,p=u.onChange,m=u.gap,g=u.data,v={startX:this.state.startX,endX:this.state.endX},y=r.pageX-o;y>0?y=Math.min(y,f+d-h-c):y<0&&(y=Math.max(y,f-c)),v[a]=c+y;var x=this.getIndex(v),b=x.startIndex,_=x.endIndex,S=function(){var C=g.length-1;return a==="startX"&&(s>l?b%m===0:_%m===0)||sl?_%m===0:b%m===0)||s>l&&_===C};this.setState(aa(aa({},a,c+y),"brushMoveStartX",r.pageX),function(){p&&S()&&p(x)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,a=this.state,s=a.scaleValues,l=a.startX,c=a.endX,u=this.state[i],f=s.indexOf(u);if(f!==-1){var d=f+r;if(!(d===-1||d>=s.length)){var h=s[d];i==="startX"&&h>=c||i==="endX"&&h<=l||this.setState(aa({},i,h),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.fill,c=r.stroke;return ue.createElement("rect",{stroke:c,fill:l,x:i,y:o,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.data,c=r.children,u=r.padding,f=M.Children.only(c);return f?ue.cloneElement(f,{x:i,y:o,width:a,height:s,margin:u,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,i){var o,a,s=this,l=this.props,c=l.y,u=l.travellerWidth,f=l.height,d=l.traveller,h=l.ariaLabel,p=l.data,m=l.startIndex,g=l.endIndex,v=Math.max(r,this.props.x),y=LI(LI({},jt(this.props,!1)),{},{x:v,y:c,width:u,height:f}),x=h||"Min value: ".concat((o=p[m])===null||o===void 0?void 0:o.name,", Max value: ").concat((a=p[g])===null||a===void 0?void 0:a.name);return ue.createElement(Gn,{tabIndex:0,role:"slider","aria-label":x,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(_){["ArrowLeft","ArrowRight"].includes(_.key)&&(_.preventDefault(),_.stopPropagation(),s.handleTravellerMoveKeyboard(_.key==="ArrowRight"?1:-1,i))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(d,y))}},{key:"renderSlide",value:function(r,i){var o=this.props,a=o.y,s=o.height,l=o.stroke,c=o.travellerWidth,u=Math.min(r,i)+c,f=Math.max(Math.abs(i-r)-c,0);return ue.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:u,y:a,width:f,height:s})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,a=r.y,s=r.height,l=r.travellerWidth,c=r.stroke,u=this.state,f=u.startX,d=u.endX,h=5,p={pointerEvents:"none",fill:c};return ue.createElement(Gn,{className:"recharts-brush-texts"},ue.createElement(ZE,wP({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-h,y:a+s/2},p),this.getTextOfTick(i)),ue.createElement(ZE,wP({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+l+h,y:a+s/2},p),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,a=r.children,s=r.x,l=r.y,c=r.width,u=r.height,f=r.alwaysShowText,d=this.state,h=d.startX,p=d.endX,m=d.isTextActive,g=d.isSlideMoving,v=d.isTravellerMoving,y=d.isTravellerFocused;if(!i||!i.length||!Ye(s)||!Ye(l)||!Ye(c)||!Ye(u)||c<=0||u<=0)return null;var x=ke("recharts-brush",o),b=ue.Children.count(a)===1,_=vRt("userSelect","none");return ue.createElement(Gn,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:_},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(h,p),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(p,"endX"),(m||g||v||y||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,a=r.width,s=r.height,l=r.stroke,c=Math.floor(o+s/2)-1;return ue.createElement(ue.Fragment,null,ue.createElement("rect",{x:i,y:o,width:a,height:s,fill:l,stroke:"none"}),ue.createElement("line",{x1:i+1,y1:c,x2:i+a-1,y2:c,fill:"none",stroke:"#fff"}),ue.createElement("line",{x1:i+1,y1:c+2,x2:i+a-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return ue.isValidElement(r)?o=ue.cloneElement(r,i):Bt(r)?o=r(i):o=e.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,a=r.width,s=r.x,l=r.travellerWidth,c=r.updateId,u=r.startIndex,f=r.endIndex;if(o!==i.prevData||c!==i.prevUpdateId)return LI({prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a},o&&o.length?ORt({data:o,width:a,x:s,travellerWidth:l,startIndex:u,endIndex:f}):{scale:null,scaleValues:null});if(i.scale&&(a!==i.prevWidth||s!==i.prevX||l!==i.prevTravellerWidth)){i.scale.range([s,s+a-l]);var d=i.scale.domain().map(function(h){return i.scale(h)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,a=0,s=o-1;s-a>1;){var l=Math.floor((a+s)/2);r[l]>i?s=l:a=l}return i>=r[s]?s:a}}]),e}(M.PureComponent);aa(gp,"displayName","Brush");aa(gp,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var CRt=OU;function TRt(t,e){var n;return CRt(t,function(r,i,o){return n=e(r,i,o),!n}),!!n}var ERt=TRt,PRt=bme,MRt=kd,kRt=ERt,ARt=qo,RRt=yk;function IRt(t,e,n){var r=ARt(t)?PRt:kRt;return n&&RRt(t,e,n)&&(e=void 0),r(t,MRt(e))}var DRt=IRt;const LRt=$t(DRt);var Zl=function(e,n){var r=e.alwaysShow,i=e.ifOverflow;return r&&(i="extendDomain"),i===n},vK=Wme;function NRt(t,e,n){e=="__proto__"&&vK?vK(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var $Rt=NRt,FRt=$Rt,jRt=zme,BRt=kd;function zRt(t,e){var n={};return e=BRt(e),jRt(t,function(r,i,o){FRt(n,i,e(r,i,o))}),n}var URt=zRt;const WRt=$t(URt);function VRt(t,e){for(var n=-1,r=t==null?0:t.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function sIt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function lIt(t,e){var n=t.x,r=t.y,i=aIt(t,nIt),o="".concat(n),a=parseInt(o,10),s="".concat(r),l=parseInt(s,10),c="".concat(e.height||i.height),u=parseInt(c,10),f="".concat(e.width||i.width),d=parseInt(f,10);return G0(G0(G0(G0(G0({},e),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:d,name:e.name,radius:e.radius})}function xK(t){return ue.createElement(HAt,iF({shapeType:"rectangle",propTransformer:lIt,activeClassName:"recharts-active-bar"},t))}var cIt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof e=="number")return e;var o=typeof r=="number";return o?e(r,i):(o||mp(),n)}},uIt=["value","background"],yve;function Mv(t){"@babel/helpers - typeof";return Mv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mv(t)}function fIt(t,e){if(t==null)return{};var n=dIt(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function dIt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function OP(){return OP=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&Math.abs(T)0&&Math.abs(R)0&&(R=Math.min((q||0)-(T[Y-1]||0),R))}),Number.isFinite(R)){var L=R/P,z=m.layout==="vertical"?r.height:r.width;if(m.padding==="gap"&&(O=L*z/2),m.padding==="no-gap"){var B=hp(e.barCategoryGap,L*z),U=L*z/2;O=U-B-(U-B)/z*B}}}i==="xAxis"?C=[r.left+(x.left||0)+(O||0),r.left+r.width-(x.right||0)-(O||0)]:i==="yAxis"?C=l==="horizontal"?[r.top+r.height-(x.bottom||0),r.top+(x.top||0)]:[r.top+(x.top||0)+(O||0),r.top+r.height-(x.bottom||0)-(O||0)]:C=m.range,_&&(C=[C[1],C[0]]);var W=cMt(m,o,d),$=W.scale,N=W.realScaleType;$.domain(v).range(C),uMt($);var D=yMt($,Bs(Bs({},m),{},{realScaleType:N}));i==="xAxis"?(I=g==="top"&&!b||g==="bottom"&&b,E=r.left,k=f[S]-I*m.height):i==="yAxis"&&(I=g==="left"&&!b||g==="right"&&b,E=f[S]-I*m.width,k=r.top);var A=Bs(Bs(Bs({},m),D),{},{realScaleType:N,x:E,y:k,scale:$,width:i==="xAxis"?r.width:m.width,height:i==="yAxis"?r.height:m.height});return A.bandSize=dP(A,D),!m.hide&&i==="xAxis"?f[S]+=(I?-1:1)*A.height:m.hide||(f[S]+=(I?-1:1)*A.width),Bs(Bs({},h),{},Ak({},p,A))},{})},wve=function(e,n){var r=e.x,i=e.y,o=n.x,a=n.y;return{x:Math.min(r,o),y:Math.min(i,a),width:Math.abs(o-r),height:Math.abs(a-i)}},wIt=function(e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2;return wve({x:n,y:r},{x:i,y:o})},Sve=function(){function t(e){xIt(this,t),this.scale=e}return bIt(t,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+a}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(n)+s}default:return this.scale(n)}if(i){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],o=r[r.length-1];return i<=o?n>=i&&n<=o:n>=o&&n<=i}}],[{key:"create",value:function(n){return new t(n)}}]),t}();Ak(Sve,"EPS",1e-4);var e6=function(e){var n=Object.keys(e).reduce(function(r,i){return Bs(Bs({},r),{},Ak({},i,Sve.create(e[i])))},{});return Bs(Bs({},n),{},{apply:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.bandAware,s=o.position;return WRt(i,function(l,c){return n[c].apply(l,{bandAware:a,position:s})})},isInRange:function(i){return vve(i,function(o,a){return n[a].isInRange(o)})}})};function SIt(t){return(t%180+180)%180}var OIt=function(e){var n=e.width,r=e.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=SIt(i),a=o*Math.PI/180,s=Math.atan(r/n),l=a>s&&a-1?i[o?e[a]:a]:void 0}}var MIt=PIt,kIt=hve;function AIt(t){var e=kIt(t),n=e%1;return e===e?n?e-n:e:0}var RIt=AIt,IIt=Dme,DIt=kd,LIt=RIt,NIt=Math.max;function $It(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:LIt(n);return i<0&&(i=NIt(r+i,0)),IIt(t,DIt(e),i)}var FIt=$It,jIt=MIt,BIt=FIt,zIt=jIt(BIt),UIt=zIt;const WIt=$t(UIt);var VIt=lmt(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),t6=M.createContext(void 0),n6=M.createContext(void 0),Ove=M.createContext(void 0),Cve=M.createContext({}),Tve=M.createContext(void 0),Eve=M.createContext(0),Pve=M.createContext(0),OK=function(e){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,o=n.offset,a=e.clipPathId,s=e.children,l=e.width,c=e.height,u=VIt(o);return ue.createElement(t6.Provider,{value:r},ue.createElement(n6.Provider,{value:i},ue.createElement(Cve.Provider,{value:o},ue.createElement(Ove.Provider,{value:u},ue.createElement(Tve.Provider,{value:a},ue.createElement(Eve.Provider,{value:c},ue.createElement(Pve.Provider,{value:l},s)))))))},GIt=function(){return M.useContext(Tve)},Mve=function(e){var n=M.useContext(t6);n==null&&mp();var r=n[e];return r==null&&mp(),r},HIt=function(){var e=M.useContext(t6);return gf(e)},qIt=function(){var e=M.useContext(n6),n=WIt(e,function(r){return vve(r.domain,Number.isFinite)});return n||gf(e)},kve=function(e){var n=M.useContext(n6);n==null&&mp();var r=n[e];return r==null&&mp(),r},XIt=function(){var e=M.useContext(Ove);return e},QIt=function(){return M.useContext(Cve)},r6=function(){return M.useContext(Pve)},i6=function(){return M.useContext(Eve)};function Z_(t){"@babel/helpers - typeof";return Z_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z_(t)}function CK(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function TK(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt*i)return!1;var o=n();return t*(e-t*o/2-r)>=0&&t*(e+t*o/2-i)<=0}function gDt(t,e){return Ave(t,e+1)}function vDt(t,e,n,r,i){for(var o=(r||[]).slice(),a=e.start,s=e.end,l=0,c=1,u=a,f=function(){var p=r==null?void 0:r[l];if(p===void 0)return{v:Ave(r,c)};var m=l,g,v=function(){return g===void 0&&(g=n(p,m)),g},y=p.coordinate,x=l===0||TP(t,y,v,u,s);x||(l=0,u=a,c+=1),x&&(u=y+t*(v()/2+i),l+=c)},d;c<=o.length;)if(d=f(),d)return d.v;return[]}function t1(t){"@babel/helpers - typeof";return t1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t1(t)}function RK(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Vi(t){for(var e=1;e0?h.coordinate-g*t:h.coordinate})}else o[d]=h=Vi(Vi({},h),{},{tickCoord:h.coordinate});var v=TP(t,h.tickCoord,m,s,l);v&&(l=h.tickCoord-t*(m()/2+i),o[d]=Vi(Vi({},h),{},{isShow:!0}))},u=a-1;u>=0;u--)c(u);return o}function wDt(t,e,n,r,i,o){var a=(r||[]).slice(),s=a.length,l=e.start,c=e.end;if(o){var u=r[s-1],f=n(u,s-1),d=t*(u.coordinate+t*f/2-c);a[s-1]=u=Vi(Vi({},u),{},{tickCoord:d>0?u.coordinate-d*t:u.coordinate});var h=TP(t,u.tickCoord,function(){return f},l,c);h&&(c=u.tickCoord-t*(f/2+i),a[s-1]=Vi(Vi({},u),{},{isShow:!0}))}for(var p=o?s-1:s,m=function(y){var x=a[y],b,_=function(){return b===void 0&&(b=n(x,y)),b};if(y===0){var S=t*(x.coordinate-t*_()/2-l);a[y]=x=Vi(Vi({},x),{},{tickCoord:S<0?x.coordinate-S*t:x.coordinate})}else a[y]=x=Vi(Vi({},x),{},{tickCoord:x.coordinate});var O=TP(t,x.tickCoord,_,l,c);O&&(l=x.tickCoord+t*(_()/2+i),a[y]=Vi(Vi({},x),{},{isShow:!0}))},g=0;g=2?qs(i[1].coordinate-i[0].coordinate):1,v=mDt(o,g,h);return l==="equidistantPreserveStart"?vDt(g,v,m,i,a):(l==="preserveStart"||l==="preserveStartEnd"?d=wDt(g,v,m,i,a,l==="preserveStartEnd"):d=_Dt(g,v,m,i,a),d.filter(function(y){return y.isShow}))}var SDt=["viewBox"],ODt=["viewBox"],CDt=["ticks"];function kv(t){"@babel/helpers - typeof";return kv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kv(t)}function lg(){return lg=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function TDt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function EDt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DK(t,e){for(var n=0;n0?l(this.props):l(h)),a<=0||s<=0||!p||!p.length?null:ue.createElement(Gn,{className:ke("recharts-cartesian-axis",c),ref:function(g){r.layerReference=g}},o&&this.renderAxisLine(),this.renderTicks(p,this.state.fontSize,this.state.letterSpacing),Xi.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return ue.isValidElement(r)?a=ue.cloneElement(r,i):Bt(r)?a=r(i):a=ue.createElement(ZE,lg({},i,{className:"recharts-cartesian-axis-tick-value"}),o),a}}]),e}(M.Component);a6(qy,"displayName","CartesianAxis");a6(qy,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var DDt=["x1","y1","x2","y2","key"],LDt=["offset"];function vp(t){"@babel/helpers - typeof";return vp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vp(t)}function LK(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Qi(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function jDt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var BDt=function(e){var n=e.fill;if(!n||n==="none")return null;var r=e.fillOpacity,i=e.x,o=e.y,a=e.width,s=e.height;return ue.createElement("rect",{x:i,y:o,width:a,height:s,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function Dve(t,e){var n;if(ue.isValidElement(t))n=ue.cloneElement(t,e);else if(Bt(t))n=t(e);else{var r=e.x1,i=e.y1,o=e.x2,a=e.y2,s=e.key,l=NK(e,DDt),c=jt(l,!1);c.offset;var u=NK(c,LDt);n=ue.createElement("line",Ph({},u,{x1:r,y1:i,x2:o,y2:a,fill:"none",key:s}))}return n}function zDt(t){var e=t.x,n=t.width,r=t.horizontal,i=r===void 0?!0:r,o=t.horizontalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Qi(Qi({},t),{},{x1:e,y1:s,x2:e+n,y2:s,key:"line-".concat(l),index:l});return Dve(i,c)});return ue.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function UDt(t){var e=t.y,n=t.height,r=t.vertical,i=r===void 0?!0:r,o=t.verticalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Qi(Qi({},t),{},{x1:s,y1:e,x2:s,y2:e+n,key:"line-".concat(l),index:l});return Dve(i,c)});return ue.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function WDt(t){var e=t.horizontalFill,n=t.fillOpacity,r=t.x,i=t.y,o=t.width,a=t.height,s=t.horizontalPoints,l=t.horizontal,c=l===void 0?!0:l;if(!c||!e||!e.length)return null;var u=s.map(function(d){return Math.round(d+i-i)}).sort(function(d,h){return d-h});i!==u[0]&&u.unshift(0);var f=u.map(function(d,h){var p=!u[h+1],m=p?i+a-d:u[h+1]-d;if(m<=0)return null;var g=h%e.length;return ue.createElement("rect",{key:"react-".concat(h),y:d,x:r,height:m,width:o,stroke:"none",fill:e[g],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return ue.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function VDt(t){var e=t.vertical,n=e===void 0?!0:e,r=t.verticalFill,i=t.fillOpacity,o=t.x,a=t.y,s=t.width,l=t.height,c=t.verticalPoints;if(!n||!r||!r.length)return null;var u=c.map(function(d){return Math.round(d+o-o)}).sort(function(d,h){return d-h});o!==u[0]&&u.unshift(0);var f=u.map(function(d,h){var p=!u[h+1],m=p?o+s-d:u[h+1]-d;if(m<=0)return null;var g=h%r.length;return ue.createElement("rect",{key:"react-".concat(h),x:d,y:a,width:m,height:l,stroke:"none",fill:r[g],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return ue.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var GDt=function(e,n){var r=e.xAxis,i=e.width,o=e.height,a=e.offset;return Zge(o6(Qi(Qi(Qi({},qy.defaultProps),r),{},{ticks:Qc(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.left,a.left+a.width,n)},HDt=function(e,n){var r=e.yAxis,i=e.width,o=e.height,a=e.offset;return Zge(o6(Qi(Qi(Qi({},qy.defaultProps),r),{},{ticks:Qc(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.top,a.top+a.height,n)},pm={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function s6(t){var e,n,r,i,o,a,s=r6(),l=i6(),c=QIt(),u=Qi(Qi({},t),{},{stroke:(e=t.stroke)!==null&&e!==void 0?e:pm.stroke,fill:(n=t.fill)!==null&&n!==void 0?n:pm.fill,horizontal:(r=t.horizontal)!==null&&r!==void 0?r:pm.horizontal,horizontalFill:(i=t.horizontalFill)!==null&&i!==void 0?i:pm.horizontalFill,vertical:(o=t.vertical)!==null&&o!==void 0?o:pm.vertical,verticalFill:(a=t.verticalFill)!==null&&a!==void 0?a:pm.verticalFill,x:Ye(t.x)?t.x:c.left,y:Ye(t.y)?t.y:c.top,width:Ye(t.width)?t.width:c.width,height:Ye(t.height)?t.height:c.height}),f=u.x,d=u.y,h=u.width,p=u.height,m=u.syncWithTicks,g=u.horizontalValues,v=u.verticalValues,y=HIt(),x=qIt();if(!Ye(h)||h<=0||!Ye(p)||p<=0||!Ye(f)||f!==+f||!Ye(d)||d!==+d)return null;var b=u.verticalCoordinatesGenerator||GDt,_=u.horizontalCoordinatesGenerator||HDt,S=u.horizontalPoints,O=u.verticalPoints;if((!S||!S.length)&&Bt(_)){var C=g&&g.length,E=_({yAxis:x?Qi(Qi({},x),{},{ticks:C?g:x.ticks}):void 0,width:s,height:l,offset:c},C?!0:m);ru(Array.isArray(E),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(vp(E),"]")),Array.isArray(E)&&(S=E)}if((!O||!O.length)&&Bt(b)){var k=v&&v.length,I=b({xAxis:y?Qi(Qi({},y),{},{ticks:k?v:y.ticks}):void 0,width:s,height:l,offset:c},k?!0:m);ru(Array.isArray(I),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(vp(I),"]")),Array.isArray(I)&&(O=I)}return ue.createElement("g",{className:"recharts-cartesian-grid"},ue.createElement(BDt,{fill:u.fill,fillOpacity:u.fillOpacity,x:u.x,y:u.y,width:u.width,height:u.height}),ue.createElement(zDt,Ph({},u,{offset:c,horizontalPoints:S,xAxis:y,yAxis:x})),ue.createElement(UDt,Ph({},u,{offset:c,verticalPoints:O,xAxis:y,yAxis:x})),ue.createElement(WDt,Ph({},u,{horizontalPoints:S})),ue.createElement(VDt,Ph({},u,{verticalPoints:O})))}s6.displayName="CartesianGrid";var qDt=["type","layout","connectNulls","ref"];function Av(t){"@babel/helpers - typeof";return Av=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Av(t)}function XDt(t,e){if(t==null)return{};var n=QDt(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function QDt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function lb(){return lb=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nf){h=[].concat(mm(l.slice(0,p)),[f-m]);break}var g=h.length%2===0?[0,d]:[d];return[].concat(mm(e.repeat(l,u)),mm(h),g).map(function(v){return"".concat(v,"px")}).join(", ")}),zs(Zu(n),"id",Fy("recharts-line-")),zs(Zu(n),"pathRef",function(a){n.mainCurve=a}),zs(Zu(n),"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),zs(Zu(n),"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return tLt(e,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.points,s=o.xAxis,l=o.yAxis,c=o.layout,u=o.children,f=os(u,Gy);if(!f)return null;var d=function(m,g){return{x:m.x,y:m.y,value:m.value,errorVal:ho(m.payload,g)}},h={clipPath:r?"url(#clipPath-".concat(i,")"):null};return ue.createElement(Gn,h,f.map(function(p){return ue.cloneElement(p,{key:"bar-".concat(p.props.dataKey),data:a,xAxis:s,yAxis:l,layout:c,dataPointFormatter:d})}))}},{key:"renderDots",value:function(r,i,o){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.dot,c=s.points,u=s.dataKey,f=jt(this.props,!1),d=jt(l,!0),h=c.map(function(m,g){var v=ia(ia(ia({key:"dot-".concat(g),r:3},f),d),{},{value:m.value,dataKey:u,cx:m.x,cy:m.y,index:g,payload:m.payload});return e.renderDotItem(l,v)}),p={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(o,")"):null};return ue.createElement(Gn,lb({className:"recharts-line-dots",key:"dots"},p),h)}},{key:"renderCurveStatically",value:function(r,i,o,a){var s=this.props,l=s.type,c=s.layout,u=s.connectNulls;s.ref;var f=XDt(s,qDt),d=ia(ia(ia({},jt(f,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(o,")"):null,points:r},a),{},{type:l,layout:c,connectNulls:u});return ue.createElement(jg,lb({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var o=this,a=this.props,s=a.points,l=a.strokeDasharray,c=a.isAnimationActive,u=a.animationBegin,f=a.animationDuration,d=a.animationEasing,h=a.animationId,p=a.animateNewValues,m=a.width,g=a.height,v=this.state,y=v.prevPoints,x=v.totalLength;return ue.createElement(rc,{begin:u,duration:f,isActive:c,easing:d,from:{t:0},to:{t:1},key:"line-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var _=b.t;if(y){var S=y.length/s.length,O=s.map(function(P,R){var T=Math.floor(R*S);if(y[T]){var L=y[T],z=Ei(L.x,P.x),B=Ei(L.y,P.y);return ia(ia({},P),{},{x:z(_),y:B(_)})}if(p){var U=Ei(m*2,P.x),W=Ei(g/2,P.y);return ia(ia({},P),{},{x:U(_),y:W(_)})}return ia(ia({},P),{},{x:P.x,y:P.y})});return o.renderCurveStatically(O,r,i)}var C=Ei(0,x),E=C(_),k;if(l){var I="".concat(l).split(/[,\s]+/gim).map(function(P){return parseFloat(P)});k=o.getStrokeDasharray(E,x,I)}else k=o.generateSimpleStrokeDasharray(x,E);return o.renderCurveStatically(s,r,i,{strokeDasharray:k})})}},{key:"renderCurve",value:function(r,i){var o=this.props,a=o.points,s=o.isAnimationActive,l=this.state,c=l.prevPoints,u=l.totalLength;return s&&a&&a.length&&(!c&&u>0||!Tv(c,a))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(a,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.xAxis,u=i.yAxis,f=i.top,d=i.left,h=i.width,p=i.height,m=i.isAnimationActive,g=i.id;if(o||!s||!s.length)return null;var v=this.state.isAnimationFinished,y=s.length===1,x=ke("recharts-line",l),b=c&&c.allowDataOverflow,_=u&&u.allowDataOverflow,S=b||_,O=Wt(g)?this.id:g,C=(r=jt(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},E=C.r,k=E===void 0?3:E,I=C.strokeWidth,P=I===void 0?2:I,R=Gpe(a)?a:{},T=R.clipDot,L=T===void 0?!0:T,z=k*2+P;return ue.createElement(Gn,{className:x},b||_?ue.createElement("defs",null,ue.createElement("clipPath",{id:"clipPath-".concat(O)},ue.createElement("rect",{x:b?d:d-h/2,y:_?f:f-p/2,width:b?h:h*2,height:_?p:p*2})),!L&&ue.createElement("clipPath",{id:"clipPath-dots-".concat(O)},ue.createElement("rect",{x:d-z/2,y:f-z/2,width:h+z,height:p+z}))):null,!y&&this.renderCurve(S,O),this.renderErrorBar(S,O),(y||a)&&this.renderDots(S,L,O),(!m||v)&&ou.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var o=r.length%2!==0?[].concat(mm(r),[0]):r,a=[],s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function lLt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Mh(){return Mh=Object.assign?Object.assign.bind():function(t){for(var e=1;e0||!Tv(u,a)||!Tv(f,s))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(a,s,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.top,u=i.left,f=i.xAxis,d=i.yAxis,h=i.width,p=i.height,m=i.isAnimationActive,g=i.id;if(o||!s||!s.length)return null;var v=this.state.isAnimationFinished,y=s.length===1,x=ke("recharts-area",l),b=f&&f.allowDataOverflow,_=d&&d.allowDataOverflow,S=b||_,O=Wt(g)?this.id:g,C=(r=jt(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},E=C.r,k=E===void 0?3:E,I=C.strokeWidth,P=I===void 0?2:I,R=Gpe(a)?a:{},T=R.clipDot,L=T===void 0?!0:T,z=k*2+P;return ue.createElement(Gn,{className:x},b||_?ue.createElement("defs",null,ue.createElement("clipPath",{id:"clipPath-".concat(O)},ue.createElement("rect",{x:b?u:u-h/2,y:_?c:c-p/2,width:b?h:h*2,height:_?p:p*2})),!L&&ue.createElement("clipPath",{id:"clipPath-dots-".concat(O)},ue.createElement("rect",{x:u-z/2,y:c-z/2,width:h+z,height:p+z}))):null,y?null:this.renderArea(S,O),(a||y)&&this.renderDots(S,L,O),(!m||v)&&ou.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}]),e}(M.PureComponent);$ve=Dd;Fl(Dd,"displayName","Area");Fl(Dd,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!Yl.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Fl(Dd,"getBaseValue",function(t,e,n,r){var i=t.layout,o=t.baseValue,a=e.props.baseValue,s=a??o;if(Ye(s)&&typeof s=="number")return s;var l=i==="horizontal"?r:n,c=l.scale.domain();if(l.type==="number"){var u=Math.max(c[0],c[1]),f=Math.min(c[0],c[1]);return s==="dataMin"?f:s==="dataMax"||u<0?u:Math.max(Math.min(c[0],c[1]),0)}return s==="dataMin"?c[0]:s==="dataMax"?c[1]:c[0]});Fl(Dd,"getComposedData",function(t){var e=t.props,n=t.item,r=t.xAxis,i=t.yAxis,o=t.xAxisTicks,a=t.yAxisTicks,s=t.bandSize,l=t.dataKey,c=t.stackedData,u=t.dataStartIndex,f=t.displayedData,d=t.offset,h=e.layout,p=c&&c.length,m=$ve.getBaseValue(e,n,r,i),g=h==="horizontal",v=!1,y=f.map(function(b,_){var S;p?S=c[u+_]:(S=ho(b,l),Array.isArray(S)?v=!0:S=[m,S]);var O=S[1]==null||p&&ho(b,l)==null;return g?{x:fP({axis:r,ticks:o,bandSize:s,entry:b,index:_}),y:O?null:i.scale(S[1]),value:S,payload:b}:{x:O?null:r.scale(S[1]),y:fP({axis:i,ticks:a,bandSize:s,entry:b,index:_}),value:S,payload:b}}),x;return p||v?x=y.map(function(b){var _=Array.isArray(b.value)?b.value[0]:null;return g?{x:b.x,y:_!=null&&b.y!=null?i.scale(_):null}:{x:_!=null?r.scale(_):null,y:b.y}}):x=g?i.scale(m):r.scale(m),Ju({points:y,baseLine:x,layout:h,isRange:v},d)});Fl(Dd,"renderDotItem",function(t,e){var n;if(ue.isValidElement(t))n=ue.cloneElement(t,e);else if(Bt(t))n=t(e);else{var r=ke("recharts-area-dot",typeof t!="boolean"?t.className:"");n=ue.createElement(Pk,Mh({},e,{className:r}))}return n});function hF(){return hF=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function FLt(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function jLt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BLt(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?a:e&&e.length&&Ye(i)&&Ye(o)?e.slice(i,o+1):[]};function qve(t){return t==="number"?[0,"auto"]:void 0}var xF=function(e,n,r,i){var o=e.graphicalItems,a=e.tooltipAxis,s=Rk(n,e);return r<0||!o||!o.length||r>=s.length?null:o.reduce(function(l,c){var u,f=(u=c.props.data)!==null&&u!==void 0?u:n;f&&e.dataStartIndex+e.dataEndIndex!==0&&(f=f.slice(e.dataStartIndex,e.dataEndIndex+1));var d;if(a.dataKey&&!a.allowDuplicatedCategory){var h=f===void 0?s:f;d=NE(h,a.dataKey,i)}else d=f&&f[r]||s[r];return d?[].concat(Dv(l),[eve(c,d)]):l},[])},HK=function(e,n,r,i){var o=i||{x:e.chartX,y:e.chartY},a=KLt(o,r),s=e.orderedTooltipTicks,l=e.tooltipAxis,c=e.tooltipTicks,u=rMt(a,s,c,l);if(u>=0&&c){var f=c[u]&&c[u].value,d=xF(e,n,u,f),h=ZLt(r,s,u,o);return{activeTooltipIndex:u,activeLabel:f,activePayload:d,activeCoordinate:h}}return null},JLt=function(e,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.layout,f=e.children,d=e.stackOffset,h=Kge(u,o);return r.reduce(function(p,m){var g,v=m.props,y=v.type,x=v.dataKey,b=v.allowDataOverflow,_=v.allowDuplicatedCategory,S=v.scale,O=v.ticks,C=v.includeHidden,E=m.props[a];if(p[E])return p;var k=Rk(e.data,{graphicalItems:i.filter(function(D){return D.props[a]===E}),dataStartIndex:l,dataEndIndex:c}),I=k.length,P,R,T;TLt(m.props.domain,b,y)&&(P=z$(m.props.domain,null,b),h&&(y==="number"||S!=="auto")&&(T=ab(k,x,"category")));var L=qve(y);if(!P||P.length===0){var z,B=(z=m.props.domain)!==null&&z!==void 0?z:L;if(x){if(P=ab(k,x,y),y==="category"&&h){var U=ngt(P);_&&U?(R=P,P=_P(0,I)):_||(P=SY(B,P,m).reduce(function(D,A){return D.indexOf(A)>=0?D:[].concat(Dv(D),[A])},[]))}else if(y==="category")_?P=P.filter(function(D){return D!==""&&!Wt(D)}):P=SY(B,P,m).reduce(function(D,A){return D.indexOf(A)>=0||A===""||Wt(A)?D:[].concat(Dv(D),[A])},[]);else if(y==="number"){var W=lMt(k,i.filter(function(D){return D.props[a]===E&&(C||!D.props.hide)}),x,o,u);W&&(P=W)}h&&(y==="number"||S!=="auto")&&(T=ab(k,x,"category"))}else h?P=_P(0,I):s&&s[E]&&s[E].hasStack&&y==="number"?P=d==="expand"?[0,1]:Jge(s[E].stackGroups,l,c):P=Yge(k,i.filter(function(D){return D.props[a]===E&&(C||!D.props.hide)}),y,u,!0);if(y==="number")P=gF(f,P,E,o,O),B&&(P=z$(B,P,b));else if(y==="category"&&B){var $=B,N=P.every(function(D){return $.indexOf(D)>=0});N&&(P=$)}}return Be(Be({},p),{},Ct({},E,Be(Be({},m.props),{},{axisType:o,domain:P,categoricalDomain:T,duplicateDomain:R,originalDomain:(g=m.props.domain)!==null&&g!==void 0?g:L,isCategorical:h,layout:u})))},{})},e3t=function(e,n){var r=n.graphicalItems,i=n.Axis,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.layout,f=e.children,d=Rk(e.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:c}),h=d.length,p=Kge(u,o),m=-1;return r.reduce(function(g,v){var y=v.props[a],x=qve("number");if(!g[y]){m++;var b;return p?b=_P(0,h):s&&s[y]&&s[y].hasStack?(b=Jge(s[y].stackGroups,l,c),b=gF(f,b,y,o)):(b=z$(x,Yge(d,r.filter(function(_){return _.props[a]===y&&!_.props.hide}),"number",u),i.defaultProps.allowDataOverflow),b=gF(f,b,y,o)),Be(Be({},g),{},Ct({},y,Be(Be({axisType:o},i.defaultProps),{},{hide:!0,orientation:is(QLt,"".concat(o,".").concat(m%2),null),domain:b,originalDomain:x,isCategorical:p,layout:u})))}return g},{})},t3t=function(e,n){var r=n.axisType,i=r===void 0?"xAxis":r,o=n.AxisComp,a=n.graphicalItems,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,u=e.children,f="".concat(i,"Id"),d=os(u,o),h={};return d&&d.length?h=JLt(e,{axes:d,graphicalItems:a,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:c}):a&&a.length&&(h=e3t(e,{Axis:o,graphicalItems:a,axisType:i,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:c})),h},n3t=function(e){var n=gf(e),r=Qc(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:CU(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:dP(n,r)}},qK=function(e){var n=e.children,r=e.defaultShowTooltip,i=ca(n,gp),o=0,a=0;return e.data&&e.data.length!==0&&(a=e.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(o=i.props.startIndex),i.props.endIndex>=0&&(a=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!r}},r3t=function(e){return!e||!e.length?!1:e.some(function(n){var r=nu(n&&n.type);return r&&r.indexOf("Bar")>=0})},XK=function(e){return e==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:e==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:e==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},i3t=function(e,n){var r=e.props,i=e.graphicalItems,o=e.xAxisMap,a=o===void 0?{}:o,s=e.yAxisMap,l=s===void 0?{}:s,c=r.width,u=r.height,f=r.children,d=r.margin||{},h=ca(f,gp),p=ca(f,bv),m=Object.keys(l).reduce(function(_,S){var O=l[S],C=O.orientation;return!O.mirror&&!O.hide?Be(Be({},_),{},Ct({},C,_[C]+O.width)):_},{left:d.left||0,right:d.right||0}),g=Object.keys(a).reduce(function(_,S){var O=a[S],C=O.orientation;return!O.mirror&&!O.hide?Be(Be({},_),{},Ct({},C,is(_,"".concat(C))+O.height)):_},{top:d.top||0,bottom:d.bottom||0}),v=Be(Be({},g),m),y=v.bottom;h&&(v.bottom+=h.props.height||gp.defaultProps.height),p&&n&&(v=aMt(v,i,r,n));var x=c-v.left-v.right,b=u-v.top-v.bottom;return Be(Be({brushBottom:y},v),{},{width:Math.max(x,0),height:Math.max(b,0)})},o3t=function(e,n){if(n==="xAxis")return e[n].width;if(n==="yAxis")return e[n].height},l6=function(e){var n,r=e.chartName,i=e.GraphicalChild,o=e.defaultTooltipEventType,a=o===void 0?"axis":o,s=e.validateTooltipEventTypes,l=s===void 0?["axis"]:s,c=e.axisComponents,u=e.legendContent,f=e.formatAxisMap,d=e.defaultProps,h=function(g,v){var y=v.graphicalItems,x=v.stackGroups,b=v.offset,_=v.updateId,S=v.dataStartIndex,O=v.dataEndIndex,C=g.barSize,E=g.layout,k=g.barGap,I=g.barCategoryGap,P=g.maxBarSize,R=XK(E),T=R.numericAxisName,L=R.cateAxisName,z=r3t(y),B=[];return y.forEach(function(U,W){var $=Rk(g.data,{graphicalItems:[U],dataStartIndex:S,dataEndIndex:O}),N=U.props,D=N.dataKey,A=N.maxBarSize,q=U.props["".concat(T,"Id")],Y=U.props["".concat(L,"Id")],K={},se=c.reduce(function(ge,ye){var H=v["".concat(ye.axisType,"Map")],G=U.props["".concat(ye.axisType,"Id")];H&&H[G]||ye.axisType==="zAxis"||mp();var ie=H[G];return Be(Be({},ge),{},Ct(Ct({},ye.axisType,ie),"".concat(ye.axisType,"Ticks"),Qc(ie)))},K),te=se[L],J=se["".concat(L,"Ticks")],pe=x&&x[q]&&x[q].hasStack&&bMt(U,x[q].stackGroups),be=nu(U.type).indexOf("Bar")>=0,re=dP(te,J),ve=[],F=z&&iMt({barSize:C,stackGroups:x,totalSize:o3t(se,L)});if(be){var ce,le,Q=Wt(A)?P:A,X=(ce=(le=dP(te,J,!0))!==null&&le!==void 0?le:Q)!==null&&ce!==void 0?ce:0;ve=oMt({barGap:k,barCategoryGap:I,bandSize:X!==re?X:re,sizeList:F[Y],maxBarSize:Q}),X!==re&&(ve=ve.map(function(ge){return Be(Be({},ge),{},{position:Be(Be({},ge.position),{},{offset:ge.position.offset-X/2})})}))}var ee=U&&U.type&&U.type.getComposedData;ee&&B.push({props:Be(Be({},ee(Be(Be({},se),{},{displayedData:$,props:g,dataKey:D,item:U,bandSize:re,barPosition:ve,offset:b,stackedData:pe,layout:E,dataStartIndex:S,dataEndIndex:O}))),{},Ct(Ct(Ct({key:U.key||"item-".concat(W)},T,se[T]),L,se[L]),"animationId",_)),childIndex:hgt(U,g.children),item:U})}),B},p=function(g,v){var y=g.props,x=g.dataStartIndex,b=g.dataEndIndex,_=g.updateId;if(!vX({props:y}))return null;var S=y.children,O=y.layout,C=y.stackOffset,E=y.data,k=y.reverseStackOrder,I=XK(O),P=I.numericAxisName,R=I.cateAxisName,T=os(S,i),L=vMt(E,T,"".concat(P,"Id"),"".concat(R,"Id"),C,k),z=c.reduce(function(N,D){var A="".concat(D.axisType,"Map");return Be(Be({},N),{},Ct({},A,t3t(y,Be(Be({},D),{},{graphicalItems:T,stackGroups:D.axisType===P&&L,dataStartIndex:x,dataEndIndex:b}))))},{}),B=i3t(Be(Be({},z),{},{props:y,graphicalItems:T}),v==null?void 0:v.legendBBox);Object.keys(z).forEach(function(N){z[N]=f(y,z[N],B,N.replace("Map",""),r)});var U=z["".concat(R,"Map")],W=n3t(U),$=h(y,Be(Be({},z),{},{dataStartIndex:x,dataEndIndex:b,updateId:_,graphicalItems:T,stackGroups:L,offset:B}));return Be(Be({formattedGraphicalItems:$,graphicalItems:T,offset:B,stackGroups:L},W),z)};return n=function(m){VLt(g,m);function g(v){var y,x,b;return jLt(this,g),b=ULt(this,g,[v]),Ct(on(b),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Ct(on(b),"accessibilityManager",new CLt),Ct(on(b),"handleLegendBBoxUpdate",function(_){if(_){var S=b.state,O=S.dataStartIndex,C=S.dataEndIndex,E=S.updateId;b.setState(Be({legendBBox:_},p({props:b.props,dataStartIndex:O,dataEndIndex:C,updateId:E},Be(Be({},b.state),{},{legendBBox:_}))))}}),Ct(on(b),"handleReceiveSyncEvent",function(_,S,O){if(b.props.syncId===_){if(O===b.eventEmitterSymbol&&typeof b.props.syncMethod!="function")return;b.applySyncEvent(S)}}),Ct(on(b),"handleBrushChange",function(_){var S=_.startIndex,O=_.endIndex;if(S!==b.state.dataStartIndex||O!==b.state.dataEndIndex){var C=b.state.updateId;b.setState(function(){return Be({dataStartIndex:S,dataEndIndex:O},p({props:b.props,dataStartIndex:S,dataEndIndex:O,updateId:C},b.state))}),b.triggerSyncEvent({dataStartIndex:S,dataEndIndex:O})}}),Ct(on(b),"handleMouseEnter",function(_){var S=b.getMouseInfo(_);if(S){var O=Be(Be({},S),{},{isTooltipActive:!0});b.setState(O),b.triggerSyncEvent(O);var C=b.props.onMouseEnter;Bt(C)&&C(O,_)}}),Ct(on(b),"triggeredAfterMouseMove",function(_){var S=b.getMouseInfo(_),O=S?Be(Be({},S),{},{isTooltipActive:!0}):{isTooltipActive:!1};b.setState(O),b.triggerSyncEvent(O);var C=b.props.onMouseMove;Bt(C)&&C(O,_)}),Ct(on(b),"handleItemMouseEnter",function(_){b.setState(function(){return{isTooltipActive:!0,activeItem:_,activePayload:_.tooltipPayload,activeCoordinate:_.tooltipPosition||{x:_.cx,y:_.cy}}})}),Ct(on(b),"handleItemMouseLeave",function(){b.setState(function(){return{isTooltipActive:!1}})}),Ct(on(b),"handleMouseMove",function(_){_.persist(),b.throttleTriggeredAfterMouseMove(_)}),Ct(on(b),"handleMouseLeave",function(_){b.throttleTriggeredAfterMouseMove.cancel();var S={isTooltipActive:!1};b.setState(S),b.triggerSyncEvent(S);var O=b.props.onMouseLeave;Bt(O)&&O(S,_)}),Ct(on(b),"handleOuterEvent",function(_){var S=dgt(_),O=is(b.props,"".concat(S));if(S&&Bt(O)){var C,E;/.*touch.*/i.test(S)?E=b.getMouseInfo(_.changedTouches[0]):E=b.getMouseInfo(_),O((C=E)!==null&&C!==void 0?C:{},_)}}),Ct(on(b),"handleClick",function(_){var S=b.getMouseInfo(_);if(S){var O=Be(Be({},S),{},{isTooltipActive:!0});b.setState(O),b.triggerSyncEvent(O);var C=b.props.onClick;Bt(C)&&C(O,_)}}),Ct(on(b),"handleMouseDown",function(_){var S=b.props.onMouseDown;if(Bt(S)){var O=b.getMouseInfo(_);S(O,_)}}),Ct(on(b),"handleMouseUp",function(_){var S=b.props.onMouseUp;if(Bt(S)){var O=b.getMouseInfo(_);S(O,_)}}),Ct(on(b),"handleTouchMove",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.throttleTriggeredAfterMouseMove(_.changedTouches[0])}),Ct(on(b),"handleTouchStart",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.handleMouseDown(_.changedTouches[0])}),Ct(on(b),"handleTouchEnd",function(_){_.changedTouches!=null&&_.changedTouches.length>0&&b.handleMouseUp(_.changedTouches[0])}),Ct(on(b),"triggerSyncEvent",function(_){b.props.syncId!==void 0&&$I.emit(FI,b.props.syncId,_,b.eventEmitterSymbol)}),Ct(on(b),"applySyncEvent",function(_){var S=b.props,O=S.layout,C=S.syncMethod,E=b.state.updateId,k=_.dataStartIndex,I=_.dataEndIndex;if(_.dataStartIndex!==void 0||_.dataEndIndex!==void 0)b.setState(Be({dataStartIndex:k,dataEndIndex:I},p({props:b.props,dataStartIndex:k,dataEndIndex:I,updateId:E},b.state)));else if(_.activeTooltipIndex!==void 0){var P=_.chartX,R=_.chartY,T=_.activeTooltipIndex,L=b.state,z=L.offset,B=L.tooltipTicks;if(!z)return;if(typeof C=="function")T=C(B,_);else if(C==="value"){T=-1;for(var U=0;U=0){var pe,be;if(P.dataKey&&!P.allowDuplicatedCategory){var re=typeof P.dataKey=="function"?J:"payload.".concat(P.dataKey.toString());pe=NE(U,re,T),be=W&&$&&NE($,re,T)}else pe=U==null?void 0:U[R],be=W&&$&&$[R];if(Y||q){var ve=_.props.activeIndex!==void 0?_.props.activeIndex:R;return[M.cloneElement(_,Be(Be(Be({},C.props),se),{},{activeIndex:ve})),null,null]}if(!Wt(pe))return[te].concat(Dv(b.renderActivePoints({item:C,activePoint:pe,basePoint:be,childIndex:R,isRange:W})))}else{var F,ce=(F=b.getItemByXY(b.state.activeCoordinate))!==null&&F!==void 0?F:{graphicalItem:te},le=ce.graphicalItem,Q=le.item,X=Q===void 0?_:Q,ee=le.childIndex,ge=Be(Be(Be({},C.props),se),{},{activeIndex:ee});return[M.cloneElement(X,ge),null,null]}return W?[te,null,null]:[te,null]}),Ct(on(b),"renderCustomized",function(_,S,O){return M.cloneElement(_,Be(Be({key:"recharts-customized-".concat(O)},b.props),b.state))}),Ct(on(b),"renderMap",{CartesianGrid:{handler:PO,once:!0},ReferenceArea:{handler:b.renderReferenceElement},ReferenceLine:{handler:PO},ReferenceDot:{handler:b.renderReferenceElement},XAxis:{handler:PO},YAxis:{handler:PO},Brush:{handler:b.renderBrush,once:!0},Bar:{handler:b.renderGraphicChild},Line:{handler:b.renderGraphicChild},Area:{handler:b.renderGraphicChild},Radar:{handler:b.renderGraphicChild},RadialBar:{handler:b.renderGraphicChild},Scatter:{handler:b.renderGraphicChild},Pie:{handler:b.renderGraphicChild},Funnel:{handler:b.renderGraphicChild},Tooltip:{handler:b.renderCursor,once:!0},PolarGrid:{handler:b.renderPolarGrid,once:!0},PolarAngleAxis:{handler:b.renderPolarAxis},PolarRadiusAxis:{handler:b.renderPolarAxis},Customized:{handler:b.renderCustomized}}),b.clipPathId="".concat((y=v.id)!==null&&y!==void 0?y:Fy("recharts"),"-clip"),b.throttleTriggeredAfterMouseMove=Qme(b.triggeredAfterMouseMove,(x=v.throttleDelay)!==null&&x!==void 0?x:1e3/60),b.state={},b}return zLt(g,[{key:"componentDidMount",value:function(){var y,x;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(x=this.props.margin.top)!==null&&x!==void 0?x:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var y=this.props,x=y.children,b=y.data,_=y.height,S=y.layout,O=ca(x,yl);if(O){var C=O.props.defaultIndex;if(!(typeof C!="number"||C<0||C>this.state.tooltipTicks.length)){var E=this.state.tooltipTicks[C]&&this.state.tooltipTicks[C].value,k=xF(this.state,b,C,E),I=this.state.tooltipTicks[C].coordinate,P=(this.state.offset.top+_)/2,R=S==="horizontal",T=R?{x:I,y:P}:{y:I,x:P},L=this.state.formattedGraphicalItems.find(function(B){var U=B.item;return U.type.name==="Scatter"});L&&(T=Be(Be({},T),L.props.points[C].tooltipPosition),k=L.props.points[C].tooltipPayload);var z={activeTooltipIndex:C,isTooltipActive:!0,activeLabel:E,activePayload:k,activeCoordinate:T};this.setState(z),this.renderCursor(O),this.accessibilityManager.setIndex(C)}}}},{key:"getSnapshotBeforeUpdate",value:function(y,x){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==x.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var b,_;this.accessibilityManager.setDetails({offset:{left:(b=this.props.margin.left)!==null&&b!==void 0?b:0,top:(_=this.props.margin.top)!==null&&_!==void 0?_:0}})}return null}},{key:"componentDidUpdate",value:function(y){n$([ca(y.children,yl)],[ca(this.props.children,yl)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=ca(this.props.children,yl);if(y&&typeof y.props.shared=="boolean"){var x=y.props.shared?"axis":"item";return l.indexOf(x)>=0?x:a}return a}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var x=this.container,b=x.getBoundingClientRect(),_=$Ot(b),S={chartX:Math.round(y.pageX-_.left),chartY:Math.round(y.pageY-_.top)},O=b.width/x.offsetWidth||1,C=this.inRange(S.chartX,S.chartY,O);if(!C)return null;var E=this.state,k=E.xAxisMap,I=E.yAxisMap,P=this.getTooltipEventType();if(P!=="axis"&&k&&I){var R=gf(k).scale,T=gf(I).scale,L=R&&R.invert?R.invert(S.chartX):null,z=T&&T.invert?T.invert(S.chartY):null;return Be(Be({},S),{},{xValue:L,yValue:z})}var B=HK(this.state,this.props.data,this.props.layout,C);return B?Be(Be({},S),B):null}},{key:"inRange",value:function(y,x){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,_=this.props.layout,S=y/b,O=x/b;if(_==="horizontal"||_==="vertical"){var C=this.state.offset,E=S>=C.left&&S<=C.left+C.width&&O>=C.top&&O<=C.top+C.height;return E?{x:S,y:O}:null}var k=this.state,I=k.angleAxisMap,P=k.radiusAxisMap;if(I&&P){var R=gf(I);return TY({x:S,y:O},R)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,x=this.getTooltipEventType(),b=ca(y,yl),_={};b&&x==="axis"&&(b.props.trigger==="click"?_={onClick:this.handleClick}:_={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var S=$E(this.props,this.handleOuterEvent);return Be(Be({},S),_)}},{key:"addListener",value:function(){$I.on(FI,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){$I.removeListener(FI,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,x,b){for(var _=this.state.formattedGraphicalItems,S=0,O=_.length;S!En(t)||!Number.isFinite(t)?"":Xb(t),u3t=t=>t.toPrecision(3),BI={legendContainer:{display:"flex",justifyContent:"center",columnGap:"12px",flexWrap:"wrap"},legendItem:{display:"flex",alignItems:"center"},legendCloseIcon:{marginLeft:"4px",cursor:"pointer",display:"flex",alignItems:"center"}};function f3t({payload:t,removeTimeSeries:e}){return!t||t.length===0?null:w.jsx(Ke,{sx:BI.legendContainer,children:t.map((n,r)=>w.jsxs(Ke,{sx:{...BI.legendItem,color:n.color},children:[w.jsx("span",{children:n.value}),e&&w.jsx(Ke,{component:"span",sx:BI.legendCloseIcon,onMouseUp:()=>e(r),children:w.jsx(lw,{fontSize:"small"})})]},n.value))})}const zI={toolTipContainer:t=>({backgroundColor:"black",opacity:.8,color:"white",border:"2px solid black",borderRadius:t.spacing(2),padding:t.spacing(1.5)}),toolTipValue:{fontWeight:"bold"},toolTipLabel:t=>({fontWeight:"bold",paddingBottom:t.spacing(1)})},d3t="#00000000",h3t="#FAFFDD";function p3t({active:t,label:e,payload:n}){if(!t||!En(e)||!n||n.length===0)return null;const r=n.map((i,o)=>{const{name:a,value:s,unit:l,dataKey:c}=i;let u=i.color;if(!En(s))return null;const f=a||"?",d=s.toFixed(3);u===d3t&&(u=h3t);let p=f.indexOf(":")!==-1?"":` (${c})`;return typeof l=="string"&&(p!==""?p=`${l} ${p}`:p=l),w.jsxs("div",{children:[w.jsxs("span",{children:[f,": "]}),w.jsx(Ke,{component:"span",sx:zI.toolTipValue,style:{color:u},children:d}),w.jsxs("span",{children:[" ",p]})]},o)});return r?w.jsxs(Ke,{sx:zI.toolTipContainer,children:[w.jsx(Ke,{component:"span",sx:zI.toolTipLabel,children:`${gy(e)} UTC`}),r]}):null}function QK({cx:t,cy:e,radius:n,stroke:r,fill:i,strokeWidth:o,symbol:a}){const l=n+.5*o,c=2*l,u=Math.floor(100*o/c+.5)+"%";let f;if(a==="diamond"){const m=1024*(n/c);f=w.jsx("polygon",{points:`${512-m},512 512,${512-m} ${512+m},512 512,${512+m}`,strokeWidth:u,stroke:r,fill:i})}else{const d=Math.floor(100*n/c+.5)+"%";f=w.jsx("circle",{cx:"50%",cy:"50%",r:d,strokeWidth:u,stroke:r,fill:i})}return En(t)&&En(e)?w.jsx("svg",{x:t-l,y:e-l,width:c,height:c,viewBox:"0 0 1024 1024",children:f}):null}function m3t({timeSeriesGroup:t,timeSeriesIndex:e,selectTimeSeries:n,places:r,selectPlace:i,placeInfos:o,placeGroupTimeSeries:a,paletteMode:s,chartType:l,stdevBars:c}){const u=t.timeSeriesArray[e],f=u.source,d=()=>{n&&n(t.id,e,u),i(u.source.placeId,r,!0)};let h=f.variableName,p="red";if(f.placeId===null){h=`${f.datasetTitle}/${h}`;let x=null;a.forEach(b=>{if(x===null&&b.placeGroup.id===f.datasetId){const _=b.placeGroup.features;_.length>0&&_[0].properties&&(x=_[0].properties.color||null)}}),p=x||"red"}else if(o){const x=o[f.placeId];if(x){const{place:b,label:_,color:S}=x;if(b.geometry.type==="Point"){const O=b.geometry.coordinates[0],C=b.geometry.coordinates[1];h+=` (${_}: ${C.toFixed(5)},${O.toFixed(5)})`}else h+=` (${_})`;p=S}}const m=uie(p,s);let g,v;u.source.placeId===null?(g=0,v={radius:5,strokeWidth:1.5,symbol:"diamond"}):(g=l==="point"?0:u.dataProgress,v={radius:3,strokeWidth:2,symbol:"circle"});const y=c&&f.valueDataKey&&f.errorDataKey&&w.jsx(Gy,{dataKey:`ev${e}`,width:4,strokeWidth:1,stroke:m,strokeOpacity:.5});return l==="bar"?w.jsx(Up,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,fill:m,fillOpacity:g,isAnimationActive:!1,onClick:d,children:y},e):w.jsx(Dw,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,dot:w.jsx(QK,{...v,stroke:m,fill:"white"}),activeDot:w.jsx(QK,{...v,stroke:"white",fill:m}),stroke:m,strokeOpacity:g,isAnimationActive:!1,onClick:d,children:y},e)}var c6={},g3t=ft;Object.defineProperty(c6,"__esModule",{value:!0});var Xve=c6.default=void 0,v3t=g3t(pt()),y3t=w;Xve=c6.default=(0,v3t.default)((0,y3t.jsx)("path",{d:"M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"}),"AspectRatio");var u6={},x3t=ft;Object.defineProperty(u6,"__esModule",{value:!0});var Qve=u6.default=void 0,b3t=x3t(pt()),_3t=w;Qve=u6.default=(0,b3t.default)((0,_3t.jsx)("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart");var f6={},w3t=ft;Object.defineProperty(f6,"__esModule",{value:!0});var Yve=f6.default=void 0,S3t=w3t(pt()),O3t=w;Yve=f6.default=(0,S3t.default)((0,O3t.jsx)("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Comment");var d6={},C3t=ft;Object.defineProperty(d6,"__esModule",{value:!0});var Kve=d6.default=void 0,T3t=C3t(pt()),E3t=w;Kve=d6.default=(0,T3t.default)((0,E3t.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand");var h6={},P3t=ft;Object.defineProperty(h6,"__esModule",{value:!0});var Zve=h6.default=void 0,M3t=P3t(pt()),k3t=w;Zve=h6.default=(0,M3t.default)((0,k3t.jsx)("path",{d:"M17 4h3c1.1 0 2 .9 2 2v2h-2V6h-3zM4 8V6h3V4H4c-1.1 0-2 .9-2 2v2zm16 8v2h-3v2h3c1.1 0 2-.9 2-2v-2zM7 18H4v-2H2v2c0 1.1.9 2 2 2h3zM18 8H6v8h12z"}),"FitScreen");var p6={},A3t=ft;Object.defineProperty(p6,"__esModule",{value:!0});var m6=p6.default=void 0,R3t=A3t(pt()),I3t=w;m6=p6.default=(0,R3t.default)((0,I3t.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5.5 7.5h2v-2H9v2h2V9H9v2H7.5V9h-2zM19 19H5L19 5zm-2-2v-1.5h-5V17z"}),"Iso");var g6={},D3t=ft;Object.defineProperty(g6,"__esModule",{value:!0});var Jve=g6.default=void 0,L3t=D3t(pt()),UI=w;Jve=g6.default=(0,L3t.default)([(0,UI.jsx)("circle",{cx:"7",cy:"14",r:"3"},"0"),(0,UI.jsx)("circle",{cx:"11",cy:"6",r:"3"},"1"),(0,UI.jsx)("circle",{cx:"16.6",cy:"17.6",r:"3"},"2")],"ScatterPlot");var v6={},N3t=ft;Object.defineProperty(v6,"__esModule",{value:!0});var eye=v6.default=void 0,$3t=N3t(pt()),F3t=w;eye=v6.default=(0,$3t.default)((0,F3t.jsx)("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart");var y6={},j3t=ft;Object.defineProperty(y6,"__esModule",{value:!0});var tye=y6.default=void 0,B3t=j3t(pt()),YK=w;tye=y6.default=(0,B3t.default)([(0,YK.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,YK.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"CameraAlt");function z3t(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),e&&(r.href=e),i.href=t,i.href}const U3t=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function au(t){const e=[];for(let n=0,r=t.length;nZo||t.height>Zo)&&(t.width>Zo&&t.height>Zo?t.width>t.height?(t.height*=Zo/t.width,t.width=Zo):(t.width*=Zo/t.height,t.height=Zo):t.width>Zo?(t.height*=Zo/t.width,t.width=Zo):(t.width*=Zo/t.height,t.height=Zo))}function RP(t){return new Promise((e,n)=>{const r=new Image;r.decode=()=>e(r),r.onload=()=>e(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=t})}async function q3t(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function X3t(t,e,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${e}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${e} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(t),q3t(i)}const Bo=(t,e)=>{if(t instanceof e)return!0;const n=Object.getPrototypeOf(t);return n===null?!1:n.constructor.name===e.name||Bo(n,e)};function Q3t(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function Y3t(t){return au(t).map(e=>{const n=t.getPropertyValue(e),r=t.getPropertyPriority(e);return`${e}: ${n}${r?" !important":""};`}).join(" ")}function K3t(t,e,n){const r=`.${t}:${e}`,i=n.cssText?Q3t(n):Y3t(n);return document.createTextNode(`${r}{${i}}`)}function KK(t,e,n){const r=window.getComputedStyle(t,n),i=r.getPropertyValue("content");if(i===""||i==="none")return;const o=U3t();try{e.className=`${e.className} ${o}`}catch{return}const a=document.createElement("style");a.appendChild(K3t(o,n,r)),e.appendChild(a)}function Z3t(t,e){KK(t,e,":before"),KK(t,e,":after")}const ZK="application/font-woff",JK="image/jpeg",J3t={woff:ZK,woff2:ZK,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:JK,jpeg:JK,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function eNt(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function x6(t){const e=eNt(t).toLowerCase();return J3t[e]||""}function tNt(t){return t.split(/,/)[1]}function bF(t){return t.search(/^(data:)/)!==-1}function nNt(t,e){return`data:${e};base64,${t}`}async function rye(t,e,n){const r=await fetch(t,e);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((o,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{o(n({res:r,result:s.result}))}catch(l){a(l)}},s.readAsDataURL(i)})}const WI={};function rNt(t,e,n){let r=t.replace(/\?.*/,"");return n&&(r=t),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),e?`[${e}]${r}`:r}async function b6(t,e,n){const r=rNt(t,e,n.includeQueryParams);if(WI[r]!=null)return WI[r];n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let i;try{const o=await rye(t,n.fetchRequestInit,({res:a,result:s})=>(e||(e=a.headers.get("Content-Type")||""),tNt(s)));i=nNt(o,e)}catch(o){i=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;o&&(a=typeof o=="string"?o:o.message),a&&console.warn(a)}return WI[r]=i,i}async function iNt(t){const e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):RP(e)}async function oNt(t,e){if(t.currentSrc){const o=document.createElement("canvas"),a=o.getContext("2d");o.width=t.clientWidth,o.height=t.clientHeight,a==null||a.drawImage(t,0,0,o.width,o.height);const s=o.toDataURL();return RP(s)}const n=t.poster,r=x6(n),i=await b6(n,r,e);return RP(i)}async function aNt(t){var e;try{if(!((e=t==null?void 0:t.contentDocument)===null||e===void 0)&&e.body)return await Ik(t.contentDocument.body,{},!0)}catch{}return t.cloneNode(!1)}async function sNt(t,e){return Bo(t,HTMLCanvasElement)?iNt(t):Bo(t,HTMLVideoElement)?oNt(t,e):Bo(t,HTMLIFrameElement)?aNt(t):t.cloneNode(!1)}const lNt=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT";async function cNt(t,e,n){var r,i;let o=[];return lNt(t)&&t.assignedNodes?o=au(t.assignedNodes()):Bo(t,HTMLIFrameElement)&&(!((r=t.contentDocument)===null||r===void 0)&&r.body)?o=au(t.contentDocument.body.childNodes):o=au(((i=t.shadowRoot)!==null&&i!==void 0?i:t).childNodes),o.length===0||Bo(t,HTMLVideoElement)||await o.reduce((a,s)=>a.then(()=>Ik(s,n)).then(l=>{l&&e.appendChild(l)}),Promise.resolve()),e}function uNt(t,e){const n=e.style;if(!n)return;const r=window.getComputedStyle(t);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):au(r).forEach(i=>{let o=r.getPropertyValue(i);i==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),Bo(t,HTMLIFrameElement)&&i==="display"&&o==="inline"&&(o="block"),i==="d"&&e.getAttribute("d")&&(o=`path(${e.getAttribute("d")})`),n.setProperty(i,o,r.getPropertyPriority(i))})}function fNt(t,e){Bo(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),Bo(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function dNt(t,e){if(Bo(t,HTMLSelectElement)){const n=e,r=Array.from(n.children).find(i=>t.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function hNt(t,e){return Bo(e,Element)&&(uNt(t,e),Z3t(t,e),fNt(t,e),dNt(t,e)),e}async function pNt(t,e){const n=t.querySelectorAll?t.querySelectorAll("use"):[];if(n.length===0)return t;const r={};for(let o=0;osNt(r,e)).then(r=>cNt(t,r,e)).then(r=>hNt(t,r)).then(r=>pNt(r,e))}const iye=/url\((['"]?)([^'"]+?)\1\)/g,mNt=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,gNt=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function vNt(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function yNt(t){const e=[];return t.replace(iye,(n,r,i)=>(e.push(i),n)),e.filter(n=>!bF(n))}async function xNt(t,e,n,r,i){try{const o=n?z3t(e,n):e,a=x6(e);let s;return i||(s=await b6(o,a,r)),t.replace(vNt(e),`$1${s}$3`)}catch{}return t}function bNt(t,{preferredFontFormat:e}){return e?t.replace(gNt,n=>{for(;;){const[r,,i]=mNt.exec(n)||[];if(!i)return"";if(i===e)return`src: ${r};`}}):t}function oye(t){return t.search(iye)!==-1}async function aye(t,e,n){if(!oye(t))return t;const r=bNt(t,n);return yNt(r).reduce((o,a)=>o.then(s=>xNt(s,a,e,n)),Promise.resolve(r))}async function MO(t,e,n){var r;const i=(r=e.style)===null||r===void 0?void 0:r.getPropertyValue(t);if(i){const o=await aye(i,null,n);return e.style.setProperty(t,o,e.style.getPropertyPriority(t)),!0}return!1}async function _Nt(t,e){await MO("background",t,e)||await MO("background-image",t,e),await MO("mask",t,e)||await MO("mask-image",t,e)}async function wNt(t,e){const n=Bo(t,HTMLImageElement);if(!(n&&!bF(t.src))&&!(Bo(t,SVGImageElement)&&!bF(t.href.baseVal)))return;const r=n?t.src:t.href.baseVal,i=await b6(r,x6(r),e);await new Promise((o,a)=>{t.onload=o,t.onerror=a;const s=t;s.decode&&(s.decode=o),s.loading==="lazy"&&(s.loading="eager"),n?(t.srcset="",t.src=i):t.href.baseVal=i})}async function SNt(t,e){const r=au(t.childNodes).map(i=>sye(i,e));await Promise.all(r).then(()=>t)}async function sye(t,e){Bo(t,Element)&&(await _Nt(t,e),await wNt(t,e),await SNt(t,e))}function ONt(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const r=e.style;return r!=null&&Object.keys(r).forEach(i=>{n[i]=r[i]}),t}const eZ={};async function tZ(t){let e=eZ[t];if(e!=null)return e;const r=await(await fetch(t)).text();return e={url:t,cssText:r},eZ[t]=e,e}async function nZ(t,e){let n=t.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(r,"$1");return s.startsWith("https://")||(s=new URL(s,t.url).href),rye(s,e.fetchRequestInit,({result:l})=>(n=n.replace(a,`url(${l})`),[a,l]))});return Promise.all(o).then(()=>n)}function rZ(t){if(t==null)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=t.replace(n,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=i.exec(r);if(l===null)break;e.push(l[0])}r=r.replace(i,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let l=o.exec(r);if(l===null){if(l=s.exec(r),l===null)break;o.lastIndex=s.lastIndex}else s.lastIndex=o.lastIndex;e.push(l[0])}return e}async function CNt(t,e){const n=[],r=[];return t.forEach(i=>{if("cssRules"in i)try{au(i.cssRules||[]).forEach((o,a)=>{if(o.type===CSSRule.IMPORT_RULE){let s=a+1;const l=o.href,c=tZ(l).then(u=>nZ(u,e)).then(u=>rZ(u).forEach(f=>{try{i.insertRule(f,f.startsWith("@import")?s+=1:i.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(u=>{console.error("Error loading remote css",u.toString())});r.push(c)}})}catch(o){const a=t.find(s=>s.href==null)||document.styleSheets[0];i.href!=null&&r.push(tZ(i.href).then(s=>nZ(s,e)).then(s=>rZ(s).forEach(l=>{a.insertRule(l,i.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",o)}}),Promise.all(r).then(()=>(t.forEach(i=>{if("cssRules"in i)try{au(i.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${i.href}`,o)}}),n))}function TNt(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>oye(e.style.getPropertyValue("src")))}async function ENt(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=au(t.ownerDocument.styleSheets),r=await CNt(n,e);return TNt(r)}async function PNt(t,e){const n=await ENt(t,e);return(await Promise.all(n.map(i=>{const o=i.parentStyleSheet?i.parentStyleSheet.href:null;return aye(i.cssText,o,e)}))).join(` -`)}async function MNt(t,e){const n=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await PNt(t,e);if(n){const r=document.createElement("style"),i=document.createTextNode(n);r.appendChild(i),t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}}async function kNt(t,e={}){const{width:n,height:r}=nye(t,e),i=await Ik(t,e,!0);return await MNt(i,e),await sye(i,e),ONt(i,e),await X3t(i,n,r)}async function lye(t,e={}){const{width:n,height:r}=nye(t,e),i=await kNt(t,e),o=await RP(i),a=document.createElement("canvas"),s=a.getContext("2d"),l=e.pixelRatio||G3t(),c=e.canvasWidth||n,u=e.canvasHeight||r;return a.width=c*l,a.height=u*l,e.skipAutoScale||H3t(a),a.style.width=`${c}`,a.style.height=`${u}`,e.backgroundColor&&(s.fillStyle=e.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(o,0,0,a.width,a.height),a}async function ANt(t,e={}){return(await lye(t,e)).toDataURL()}async function RNt(t,e={}){return(await lye(t,e)).toDataURL("image/jpeg",e.quality||1)}const iZ={png:ANt,jpeg:RNt};function INt(t,e){DNt(t,e).then(()=>{e!=null&&e.handleSuccess&&e.handleSuccess()}).catch(n=>{if(e!=null&&e.handleError)e.handleError(n);else throw n})}async function DNt(t,e={}){const n=t,r=e.format||"png";if(!(r in iZ))throw new Error(`Image format '${r}' is unknown or not supported.`);const i=await iZ[r](n,{backgroundColor:"#00000000",canvasWidth:e.width||(e.height||n.clientHeight)*n.clientWidth/n.clientHeight,canvasHeight:e.height||(e.width||n.clientWidth)*n.clientHeight/n.clientWidth}),a=await(await fetch(i)).blob();await navigator.clipboard.write([new ClipboardItem({"image/png":a})])}function cye({elementRef:t,postMessage:e}){const n=()=>{e("success",fe.get("Snapshot copied to clipboard"))},r=o=>{const a="Error copying snapshot to clipboard";console.error(a+":",o),e("error",fe.get(a))},i=()=>{t.current?INt(t.current,{format:"png",width:2e3,handleSuccess:n,handleError:r}):r(new Error("missing element reference"))};return w.jsx(Ya,{tooltipText:fe.get("Copy snapshot of chart to clipboard"),onClick:i,icon:w.jsx(tye,{fontSize:"inherit"})})}function LNt({sx:t,timeSeriesGroupId:e,placeGroupTimeSeries:n,addPlaceGroupTimeSeries:r}){const[i,o]=ue.useState(null),a=f=>{o(f.currentTarget)},s=()=>{o(null)},l=f=>{o(null),r(e,f)},c=[];n.forEach(f=>{Object.getOwnPropertyNames(f.timeSeries).forEach(d=>{const h=`${f.placeGroup.title} / ${d}`;c.push(w.jsx(jr,{onClick:()=>l(f.timeSeries[d]),children:h},h))})});const u=!!i;return w.jsxs(w.Fragment,{children:[w.jsx(Ot,{size:"small",sx:t,"aria-label":"Add","aria-controls":u?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":u?"true":void 0,onClick:a,disabled:c.length===0,children:w.jsx(xt,{arrow:!0,title:fe.get("Add time-series from places"),children:w.jsx(dw,{fontSize:"inherit"})})}),w.jsx(Pp,{id:"basic-menu",anchorEl:i,open:u,onClose:s,MenuListProps:{"aria-labelledby":"basic-button"},children:c})]})}const kO={container:t=>({padding:t.spacing(1),display:"flex",flexDirection:"column",gap:t.spacing(1)}),minMaxBox:t=>({display:"flex",justifyContent:"center",gap:t.spacing(1)}),minTextField:{maxWidth:"8em"},maxTextField:{maxWidth:"8em"}};function NNt({anchorEl:t,valueRange:e,setValueRange:n}){const[r,i]=M.useState(e?[e[0]+"",e[1]+""]:["0","1"]);if(!t)return null;const o=[Number.parseFloat(r[0]),Number.parseFloat(r[1])],a=Number.isFinite(o[0])&&Number.isFinite(o[1])&&o[0]{const d=f.target.value;i([d,r[1]])},l=f=>{const d=f.target.value;i([r[0],d])},c=()=>{n(o)},u=()=>{n(void 0)};return w.jsx(Ep,{anchorEl:t,open:!0,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:w.jsxs(Ke,{sx:kO.container,children:[w.jsxs(Ke,{component:"form",sx:kO.minMaxBox,children:[w.jsx(cr,{sx:kO.minTextField,label:"Y-Minimum",variant:"filled",size:"small",value:r[0],error:!a,onChange:f=>s(f)}),w.jsx(cr,{sx:kO.maxTextField,label:"Y-Maximum",variant:"filled",size:"small",value:r[1],error:!a,onChange:f=>l(f)})]}),w.jsx(hw,{onDone:c,doneDisabled:!a,onCancel:u,size:"medium"})]})})}const AO="stddev",Gd={headerContainer:{display:"flex",flexDirection:"row",justifyContent:"right"},actionsContainer:{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",gap:"1px"},responsiveContainer:{flexGrow:"1px"},actionButton:{zIndex:1e3,opacity:.8},chartTitle:{fontSize:"inherit",fontWeight:"normal"},chartTypes:t=>({paddingLeft:t.spacing(1),paddingRight:t.spacing(1)})};function $Nt({timeSeriesGroup:t,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n,removeTimeSeriesGroup:r,resetZoom:i,loading:o,zoomed:a,zoomMode:s,setZoomMode:l,showTooltips:c,setShowTooltips:u,chartType:f,setChartType:d,stdevBarsDisabled:h,stdevBars:p,setStdevBars:m,valueRange:g,setValueRange:v,chartElement:y,postMessage:x}){const b=M.useRef(null),[_,S]=M.useState(!1),O=()=>{S(!_)},C=k=>{S(!1),k&&v(k)},E=(k,I)=>{const P=new Set(I),R=P.has(AO);P.delete(AO),P.delete(f),I=Array.from(P),d(I.length===1?I[0]:f),m(R)};return w.jsx(Ke,{sx:Gd.headerContainer,children:w.jsxs(Ke,{sx:Gd.actionsContainer,children:[a&&w.jsx(xt,{arrow:!0,title:fe.get("Zoom to full range"),children:w.jsx(Ot,{sx:Gd.actionButton,onClick:i,size:"small",children:w.jsx(Zve,{fontSize:"inherit"})},"zoomOutButton")}),w.jsx(xt,{arrow:!0,title:fe.get("Toggle zoom mode (or press CTRL key)"),children:w.jsx(Pn,{value:"zoomMode",selected:s,onClick:()=>l(!s),size:"small",children:w.jsx(Xve,{fontSize:"inherit"})})}),w.jsx(NNt,{anchorEl:_?b.current:null,valueRange:g,setValueRange:C}),w.jsx(xt,{arrow:!0,title:fe.get("Enter fixed y-range"),children:w.jsx(Pn,{ref:b,value:"valueRange",selected:_,onClick:O,size:"small",children:w.jsx(Kve,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Toggle showing info popup on hover"),children:w.jsx(Pn,{value:"showTooltips",selected:c,onClick:()=>u(!c),size:"small",children:w.jsx(Yve,{fontSize:"inherit"})})}),w.jsxs(iy,{value:p?[f,AO]:[f],onChange:E,size:"small",sx:Gd.chartTypes,children:[w.jsx(xt,{arrow:!0,title:fe.get("Show points"),children:w.jsx(Pn,{value:"point",size:"small",children:w.jsx(Jve,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Show lines"),children:w.jsx(Pn,{value:"line",size:"small",children:w.jsx(eye,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Show bars"),children:w.jsx(Pn,{value:"bar",size:"small",children:w.jsx(Qve,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Show standard deviation (if any)"),children:w.jsx(Pn,{value:AO,size:"small",disabled:h,children:w.jsx(m6,{fontSize:"inherit"})})})]}),w.jsx(cye,{elementRef:y,postMessage:x}),w.jsx(LNt,{sx:Gd.actionButton,timeSeriesGroupId:t.id,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n}),o?w.jsx(ey,{size:24,sx:Gd.actionButton,color:"secondary"}):w.jsx(Ot,{sx:Gd.actionButton,"aria-label":"Close",onClick:()=>r(t.id),size:"small",children:w.jsx($p,{fontSize:"inherit"})})]})})}const FNt=Li("div")(({theme:t})=>({userSelect:"none",marginTop:t.spacing(1),width:"99%",height:"32vh",display:"flex",flexDirection:"column",alignItems:"flex-stretch"})),jNt={style:{textAnchor:"middle"},angle:-90,position:"left",offset:0};function BNt({timeSeriesGroup:t,selectTimeSeries:e,selectedTime:n,selectTime:r,selectedTimeRange:i,selectTimeRange:o,places:a,selectPlace:s,placeInfos:l,dataTimeRange:c,chartTypeDefault:u,includeStdev:f,removeTimeSeries:d,removeTimeSeriesGroup:h,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:m,postMessage:g}){const v=hd(),[y,x]=M.useState(!1),[b,_]=M.useState(!0),[S,O]=M.useState(u),[C,E]=M.useState(f),[k,I]=M.useState({}),P=M.useRef(),R=M.useRef(),T=M.useRef(),L=M.useRef(null),z=M.useRef(null),B=M.useMemo(()=>{const G=new Map;t.timeSeriesArray.forEach((he,_e)=>{const oe=`v${_e}`,Z=`ev${_e}`,V=he.source.valueDataKey,de=he.source.errorDataKey;he.data.forEach(xe=>{const Me=G.get(xe.time);let me;Me===void 0?(me={time:xe.time},G.set(xe.time,me)):me=Me;const $e=xe[V];if(En($e)&&isFinite($e)&&(me[oe]=$e),de){const Te=xe[de];En(Te)&&isFinite(Te)&&(me[Z]=Te)}})});const ie=Array.from(G.values());return ie.sort((he,_e)=>he.time-_e.time),ie},[t]),U=M.useMemo(()=>t.timeSeriesArray.map(G=>G.dataProgress?G.dataProgress:0),[t]),W=U.reduce((G,ie)=>G+ie,0)/U.length,$=W>0&&W<1,N=!!i&&!e6e(i,c||null);t.timeSeriesArray.forEach(G=>{G.source.valueDataKey});const D=t.variableUnits||fe.get("unknown units"),A=`${fe.get("Quantity")} (${D})`,q=v.palette.primary.light,Y=v.palette.primary.main,K=v.palette.text.primary,se=()=>{En(k.x1)&&I({})},te=G=>{if(!G)return;const{chartX:ie,chartY:he}=G;if(!En(ie)||!En(he))return;const _e=ee(ie,he);if(_e){const[oe,Z]=_e;I({x1:oe,y1:Z})}},J=(G,ie)=>{const{x1:he,y1:_e}=k;if(!En(he)||!En(_e)||!G)return;const{chartX:oe,chartY:Z}=G;if(!En(oe)||!En(Z))return;const V=ee(oe,Z);if(V){const[de,xe]=V;ie.ctrlKey||y?de!==he&&xe!==_e&&I({x1:he,y1:_e,x2:de,y2:xe}):de!==he&&I({x1:he,y1:_e,x2:de})}},pe=G=>{const[ie,he]=oZ(k);se(),ie&&ie[0]{se()},re=()=>{se()},ve=G=>{d(t.id,G)},F=()=>{se(),o(c||null,t.id,null)},ce=G=>{G&&o(i,t.id,G)},le=(G,ie)=>{if(T.current=[G,ie],L.current){const he=L.current.getElementsByClassName("recharts-legend-wrapper");he.length!==0&&(z.current=he.item(0))}},Q=([G,ie])=>{const he=(ie-G)*.1;return i?P.current=i:P.current=[G-he,ie+he],P.current},X=([G,ie])=>{const he=(ie-G)*.1;if(t.variableRange)R.current=t.variableRange;else{const _e=G-he;R.current=[_e<0&&G-1e-6>0?0:_e,ie+he]}return R.current},ee=(G,ie)=>{const he=z.current;if(!T.current||!P.current||!R.current||!he)return;const[_e,oe]=P.current,[Z,V]=R.current,[de,xe]=T.current,Me=he.clientHeight,me=65,$e=5,Te=5,Re=38,ae=de-me-Te,Le=xe-$e-Re-Me,Ee=(G-me)/ae,ze=(ie-$e)/Le;return[_e+Ee*(oe-_e),V-ze*(V-Z)]},[ge,ye]=oZ(k),H=S==="bar"?s3t:a3t;return w.jsxs(FNt,{children:[w.jsx($Nt,{timeSeriesGroup:t,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:m,removeTimeSeriesGroup:h,resetZoom:F,loading:$,zoomed:N,zoomMode:y,setZoomMode:x,showTooltips:b,setShowTooltips:_,chartType:S,setChartType:O,stdevBarsDisabled:!f,stdevBars:C,setStdevBars:E,valueRange:R.current,setValueRange:ce,chartElement:L,postMessage:g}),w.jsx(Yme,{width:"98%",onResize:le,ref:L,children:w.jsxs(H,{onMouseDown:te,onMouseMove:J,onMouseUp:pe,onMouseEnter:be,onMouseLeave:re,syncId:"anyId",style:{color:K,fontSize:"0.8em"},data:B,barGap:1,barSize:30,maxBarSize:30,children:[w.jsx(Vp,{dataKey:"time",type:"number",tickCount:6,domain:Q,tickFormatter:c3t,stroke:K,allowDataOverflow:!0}),w.jsx(Gp,{type:"number",tickCount:5,domain:X,tickFormatter:u3t,stroke:K,allowDataOverflow:!0,label:{...jNt,value:A}}),w.jsx(s6,{strokeDasharray:"3 3"}),b&&!En(k.x1)&&w.jsx(yl,{content:w.jsx(p3t,{})}),w.jsx(bv,{content:w.jsx(f3t,{removeTimeSeries:ve})}),t.timeSeriesArray.map((G,ie)=>m3t({timeSeriesGroup:t,timeSeriesIndex:ie,selectTimeSeries:e,places:a,selectPlace:s,placeGroupTimeSeries:p,placeInfos:l,chartType:S,stdevBars:C,paletteMode:v.palette.mode})),ge&&w.jsx(Wp,{x1:ge[0],y1:ye?ye[0]:void 0,x2:ge[1],y2:ye?ye[1]:void 0,strokeOpacity:.3,fill:q,fillOpacity:.3}),n!==null&&w.jsx(Rw,{isFront:!0,x:n,stroke:Y,strokeWidth:3,strokeOpacity:.5})]})})]})}function oZ(t){const{x1:e,x2:n,y1:r,y2:i}=t;let o,a;return En(e)&&En(n)&&(o=ew.jsx(BNt,{timeSeriesGroup:l,dataTimeRange:n,selectedTimeRange:r,selectTimeRange:i,...s},l.id))]})}const GNt=t=>({locale:t.controlState.locale,timeSeriesGroups:t.dataState.timeSeriesGroups,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,dataTimeRange:VWe(t),chartTypeDefault:t.controlState.timeSeriesChartTypeDefault,includeStdev:t.controlState.timeSeriesIncludeStdev,placeInfos:YWe(t),places:rw(t),placeGroupTimeSeries:s6e(t),canAddTimeSeries:xse(t)}),HNt={selectTime:k2,selectTimeRange:wle,removeTimeSeries:r8e,removeTimeSeriesGroup:i8e,selectPlace:M2,addPlaceGroupTimeSeries:n8e,addTimeSeries:P2,postMessage:ba},qNt=Jt(GNt,HNt)(VNt);var _6={},XNt=ft;Object.defineProperty(_6,"__esModule",{value:!0});var uye=_6.default=void 0,QNt=XNt(pt()),YNt=w;uye=_6.default=(0,QNt.default)((0,YNt.jsx)("path",{d:"M22 18v-2H8V4h2L7 1 4 4h2v2H2v2h4v8c0 1.1.9 2 2 2h8v2h-2l3 3 3-3h-2v-2zM10 8h6v6h2V8c0-1.1-.9-2-2-2h-6z"}),"Transform");function KNt(t){return t.count===0}function ZNt(t){return t.count===1}function JNt(t){return t.count>1}function e$t({statisticsRecord:t}){const e=t.statistics;return w.jsx(P5,{size:"small",children:w.jsx(M5,{children:KNt(e)?w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Value")}),w.jsx(sr,{align:"right",children:"NaN"})]}):ZNt(e)?w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Value")}),w.jsx(sr,{align:"right",children:H0(e.mean)})]}):w.jsxs(w.Fragment,{children:[w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Count")}),w.jsx(sr,{align:"right",children:e.count})]}),w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Minimum")}),w.jsx(sr,{align:"right",children:H0(e.minimum)})]}),w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Maximum")}),w.jsx(sr,{align:"right",children:H0(e.maximum)})]}),w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Mean")}),w.jsx(sr,{align:"right",children:H0(e.mean)})]}),w.jsxs(vl,{children:[w.jsx(sr,{children:fe.get("Deviation")}),w.jsx(sr,{align:"right",children:H0(e.deviation)})]})]})})})}function H0(t){return rd(t,3)}function t$t({statisticsRecord:t,showBrush:e,showDetails:n}){const r=Go(),i=t.statistics,o=M.useMemo(()=>{if(!i.histogram)return null;const{values:y,edges:x}=i.histogram;return y.map((b,_)=>({x:.5*(x[_]+x[_+1]),y:b,i:_}))},[i]),[a,s]=M.useState([0,o?o.length-1:-1]);if(M.useEffect(()=>{o&&s([0,o.length-1])},[o]),o===null)return null;const{placeInfo:l}=t.source,[c,u]=a,f=o[c]?o[c].x:NaN,d=o[u]?o[u].x:NaN,h=Math.max(i.mean-i.deviation,i.minimum,f),p=Math.min(i.mean+i.deviation,i.maximum,d),m=r.palette.text.primary,g=r.palette.text.primary,v=({startIndex:y,endIndex:x})=>{En(y)&&En(x)&&s([y,x])};return w.jsx(Yme,{width:"100%",height:"100%",children:w.jsxs(l3t,{data:o,margin:{top:0,right:e?30:5,bottom:1,left:2},style:{color:g,fontSize:"0.8em"},children:[w.jsx(s6,{strokeDasharray:"3 3"}),w.jsx(Vp,{type:"number",dataKey:"x",domain:[f,d],tickCount:10,tickFormatter:y=>rd(y,2)}),w.jsx(Gp,{}),w.jsx(Dd,{type:"monotone",dataKey:"y",stroke:l.color,fill:l.color}),n&&w.jsx(Rw,{x:i.mean,isFront:!0,stroke:m,strokeWidth:2,strokeOpacity:.5}),n&&w.jsx(Wp,{x1:h,x2:p,isFront:!1,stroke:m,strokeWidth:1,strokeOpacity:.3,fill:m,fillOpacity:.05}),e&&w.jsx(gp,{dataKey:"i",height:22,startIndex:c,endIndex:u,tickFormatter:y=>rd(o[y].x,1),onChange:v})]})})}const RO={container:{padding:1,width:"100%"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingBottom:.5},actions:{display:"flex",gap:.1},body:{display:"flex"}};function IO({phrase:t}){return w.jsx("span",{style:{color:"red"},children:`<${fe.get(t)}?>`})}function fye({dataset:t,variable:e,time:n,placeInfo:r,actions:i,body:o,containerRef:a}){const s=t?t.title:w.jsx(IO,{phrase:"Dataset"}),l=e?e.name:w.jsx(IO,{phrase:"Variable"}),c=t==null?void 0:t.dimensions.some(d=>d.name=="time"),u=n?kae(n):c?w.jsx(IO,{phrase:"Time"}):null,f=r?r.label:w.jsx(IO,{phrase:"Place"});return w.jsxs(Ke,{sx:RO.container,ref:a,children:[w.jsxs(Ke,{sx:RO.header,children:[w.jsxs(At,{fontSize:"small",children:[s," / ",l,u&&`, ${u}`,", ",f]}),w.jsx(Ke,{sx:RO.actions,children:i})]}),o&&w.jsx(Ke,{sx:RO.body,children:o})]})}const aZ={table:{flexGrow:0},chart:{flexGrow:1}};function n$t({locale:t,statisticsRecord:e,rowIndex:n,removeStatistics:r,postMessage:i}){const o=M.useRef(null),[a,s]=M.useState(!1),[l,c]=M.useState(!1),{dataset:u,variable:f,time:d,placeInfo:h}=e.source,p=JNt(e.statistics),m=()=>{c(!l)},g=()=>{s(!a)},v=()=>{r(n)};return w.jsx(fye,{dataset:u,variable:f,time:d,placeInfo:h,containerRef:o,actions:w.jsxs(w.Fragment,{children:[p&&w.jsxs(iy,{size:"small",children:[w.jsx(xt,{arrow:!0,title:fe.get("Toggle adjustable x-range"),children:w.jsx(Pn,{selected:a,onClick:g,value:"brush",size:"small",children:w.jsx(uye,{fontSize:"inherit"})})}),w.jsx(xt,{arrow:!0,title:fe.get("Show standard deviation (if any)"),children:w.jsx(Pn,{selected:l,onClick:m,value:"details",size:"small",children:w.jsx(m6,{fontSize:"inherit"})})})]}),p&&w.jsx(cye,{elementRef:o,postMessage:i}),w.jsx(Ot,{size:"small",onClick:v,children:w.jsx($p,{fontSize:"inherit"})})]}),body:w.jsxs(w.Fragment,{children:[w.jsx(Ke,{sx:aZ.table,children:w.jsx(e$t,{locale:t,statisticsRecord:e})}),w.jsx(Ke,{sx:aZ.chart,children:w.jsx(t$t,{showBrush:a,showDetails:l,statisticsRecord:e})})]})})}const r$t={progress:{color:"primary"}};function i$t({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,canAddStatistics:i,addStatistics:o,statisticsLoading:a}){return w.jsx(fye,{dataset:t,variable:e,time:n,placeInfo:r,actions:a?w.jsx(ey,{size:20,sx:r$t.progress}):w.jsx(Ot,{size:"small",disabled:!i,onClick:o,color:"primary",children:w.jsx(dw,{fontSize:"inherit"})})})}const o$t={container:{padding:1,display:"flex",flexDirection:"column",alignItems:"flex-start"}};function a$t({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,statisticsLoading:i,statisticsRecords:o,canAddStatistics:a,addStatistics:s,removeStatistics:l,postMessage:c}){return w.jsxs(Ke,{sx:o$t.container,children:[w.jsx(i$t,{selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,canAddStatistics:a,addStatistics:s,statisticsLoading:i}),o.map((u,f)=>w.jsx(n$t,{statisticsRecord:u,rowIndex:f,removeStatistics:l,postMessage:c},f))]})}const s$t=t=>({selectedDataset:qr(t),selectedVariable:vo(t),selectedTime:wy(t),selectedPlaceInfo:iw(t),statisticsLoading:o6e(t),statisticsRecords:KWe(t),canAddStatistics:bse(t)}),l$t={addStatistics:qse,removeStatistics:e8e,postMessage:ba},c$t=Jt(s$t,l$t)(a$t);/** - * @license - * Copyright 2010-2022 Three.js Authors - * SPDX-License-Identifier: MIT - */const w6="144",gm={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},vm={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},u$t=0,sZ=1,f$t=2,dye=1,d$t=2,_x=3,Lv=0,_a=1,Yc=2,Hf=0,Bg=1,lZ=2,cZ=3,uZ=4,h$t=5,Vm=100,p$t=101,m$t=102,fZ=103,dZ=104,g$t=200,v$t=201,y$t=202,x$t=203,hye=204,pye=205,b$t=206,_$t=207,w$t=208,S$t=209,O$t=210,C$t=0,T$t=1,E$t=2,_F=3,P$t=4,M$t=5,k$t=6,A$t=7,mye=0,R$t=1,I$t=2,su=0,D$t=1,L$t=2,N$t=3,$$t=4,F$t=5,gye=300,Nv=301,$v=302,wF=303,SF=304,Dk=306,OF=1e3,qa=1001,CF=1002,Eo=1003,hZ=1004,pZ=1005,Po=1006,j$t=1007,Lk=1008,yp=1009,B$t=1010,z$t=1011,vye=1012,U$t=1013,kh=1014,Mf=1015,i1=1016,W$t=1017,V$t=1018,zg=1020,G$t=1021,H$t=1022,jl=1023,q$t=1024,X$t=1025,Hh=1026,Fv=1027,yye=1028,Q$t=1029,Y$t=1030,K$t=1031,Z$t=1033,VI=33776,GI=33777,HI=33778,qI=33779,mZ=35840,gZ=35841,vZ=35842,yZ=35843,J$t=36196,xZ=37492,bZ=37496,_Z=37808,wZ=37809,SZ=37810,OZ=37811,CZ=37812,TZ=37813,EZ=37814,PZ=37815,MZ=37816,kZ=37817,AZ=37818,RZ=37819,IZ=37820,DZ=37821,LZ=36492,xp=3e3,yr=3001,eFt=3200,tFt=3201,nFt=0,rFt=1,Rc="srgb",Ah="srgb-linear",XI=7680,iFt=519,NZ=35044,$Z="300 es",TF=1035;class Hp{addEventListener(e,n){this._listeners===void 0&&(this._listeners={});const r=this._listeners;r[e]===void 0&&(r[e]=[]),r[e].indexOf(n)===-1&&r[e].push(n)}hasEventListener(e,n){if(this._listeners===void 0)return!1;const r=this._listeners;return r[e]!==void 0&&r[e].indexOf(n)!==-1}removeEventListener(e,n){if(this._listeners===void 0)return;const i=this._listeners[e];if(i!==void 0){const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const r=this._listeners[e.type];if(r!==void 0){e.target=this;const i=r.slice(0);for(let o=0,a=i.length;o>8&255]+Fi[t>>16&255]+Fi[t>>24&255]+"-"+Fi[e&255]+Fi[e>>8&255]+"-"+Fi[e>>16&15|64]+Fi[e>>24&255]+"-"+Fi[n&63|128]+Fi[n>>8&255]+"-"+Fi[n>>16&255]+Fi[n>>24&255]+Fi[r&255]+Fi[r>>8&255]+Fi[r>>16&255]+Fi[r>>24&255]).toLowerCase()}function Mo(t,e,n){return Math.max(e,Math.min(n,t))}function oFt(t,e){return(t%e+e)%e}function YI(t,e,n){return(1-n)*t+n*e}function jZ(t){return(t&t-1)===0&&t!==0}function EF(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function DO(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function Jo(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(t*65535);case Uint8Array:return Math.round(t*255);case Int16Array:return Math.round(t*32767);case Int8Array:return Math.round(t*127);default:throw new Error("Invalid component type.")}}class qt{constructor(e=0,n=0){qt.prototype.isVector2=!0,this.x=e,this.y=n}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,n){return this.x=e,this.y=n,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const n=this.x,r=this.y,i=e.elements;return this.x=i[0]*n+i[3]*r+i[6],this.y=i[1]*n+i[4]*r+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y;return n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this}rotateAround(e,n){const r=Math.cos(n),i=Math.sin(n),o=this.x-e.x,a=this.y-e.y;return this.x=o*r-a*i+e.x,this.y=o*i+a*r+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class va{constructor(){va.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(e,n,r,i,o,a,s,l,c){const u=this.elements;return u[0]=e,u[1]=i,u[2]=s,u[3]=n,u[4]=o,u[5]=l,u[6]=r,u[7]=a,u[8]=c,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],this}extractBasis(e,n,r){return e.setFromMatrix3Column(this,0),n.setFromMatrix3Column(this,1),r.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const n=e.elements;return this.set(n[0],n[4],n[8],n[1],n[5],n[9],n[2],n[6],n[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,a=r[0],s=r[3],l=r[6],c=r[1],u=r[4],f=r[7],d=r[2],h=r[5],p=r[8],m=i[0],g=i[3],v=i[6],y=i[1],x=i[4],b=i[7],_=i[2],S=i[5],O=i[8];return o[0]=a*m+s*y+l*_,o[3]=a*g+s*x+l*S,o[6]=a*v+s*b+l*O,o[1]=c*m+u*y+f*_,o[4]=c*g+u*x+f*S,o[7]=c*v+u*b+f*O,o[2]=d*m+h*y+p*_,o[5]=d*g+h*x+p*S,o[8]=d*v+h*b+p*O,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=e,n[4]*=e,n[7]*=e,n[2]*=e,n[5]*=e,n[8]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8];return n*a*u-n*s*c-r*o*u+r*s*l+i*o*c-i*a*l}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=u*a-s*c,d=s*l-u*o,h=c*o-a*l,p=n*f+r*d+i*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return e[0]=f*m,e[1]=(i*c-u*r)*m,e[2]=(s*r-i*a)*m,e[3]=d*m,e[4]=(u*n-i*l)*m,e[5]=(i*o-s*n)*m,e[6]=h*m,e[7]=(r*l-c*n)*m,e[8]=(a*n-r*o)*m,this}transpose(){let e;const n=this.elements;return e=n[1],n[1]=n[3],n[3]=e,e=n[2],n[2]=n[6],n[6]=e,e=n[5],n[5]=n[7],n[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const n=this.elements;return e[0]=n[0],e[1]=n[3],e[2]=n[6],e[3]=n[1],e[4]=n[4],e[5]=n[7],e[6]=n[2],e[7]=n[5],e[8]=n[8],this}setUvTransform(e,n,r,i,o,a,s){const l=Math.cos(o),c=Math.sin(o);return this.set(r*l,r*c,-r*(l*a+c*s)+a+e,-i*c,i*l,-i*(-c*a+l*s)+s+n,0,0,1),this}scale(e,n){const r=this.elements;return r[0]*=e,r[3]*=e,r[6]*=e,r[1]*=n,r[4]*=n,r[7]*=n,this}rotate(e){const n=Math.cos(e),r=Math.sin(e),i=this.elements,o=i[0],a=i[3],s=i[6],l=i[1],c=i[4],u=i[7];return i[0]=n*o+r*l,i[3]=n*a+r*c,i[6]=n*s+r*u,i[1]=-r*o+n*l,i[4]=-r*a+n*c,i[7]=-r*s+n*u,this}translate(e,n){const r=this.elements;return r[0]+=e*r[2],r[3]+=e*r[5],r[6]+=e*r[8],r[1]+=n*r[2],r[4]+=n*r[5],r[7]+=n*r[8],this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<9;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<9;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e}clone(){return new this.constructor().fromArray(this.elements)}}function xye(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}function o1(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function qh(t){return t<.04045?t*.0773993808:Math.pow(t*.9478672986+.0521327014,2.4)}function YC(t){return t<.0031308?t*12.92:1.055*Math.pow(t,.41666)-.055}const KI={[Rc]:{[Ah]:qh},[Ah]:{[Rc]:YC}},As={legacyMode:!0,get workingColorSpace(){return Ah},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(KI[e]&&KI[e][n]!==void 0){const r=KI[e][n];return t.r=r(t.r),t.g=r(t.g),t.b=r(t.b),t}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},bye={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Yr={r:0,g:0,b:0},Rs={h:0,s:0,l:0},LO={h:0,s:0,l:0};function ZI(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*6*(2/3-n):t}function NO(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class lr{constructor(e,n,r){return this.isColor=!0,this.r=1,this.g=1,this.b=1,n===void 0&&r===void 0?this.set(e):this.setRGB(e,n,r)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,n=Rc){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,As.toWorkingColorSpace(this,n),this}setRGB(e,n,r,i=Ah){return this.r=e,this.g=n,this.b=r,As.toWorkingColorSpace(this,i),this}setHSL(e,n,r,i=Ah){if(e=oFt(e,1),n=Mo(n,0,1),r=Mo(r,0,1),n===0)this.r=this.g=this.b=r;else{const o=r<=.5?r*(1+n):r+n-r*n,a=2*r-o;this.r=ZI(a,o,e+1/3),this.g=ZI(a,o,e),this.b=ZI(a,o,e-1/3)}return As.toWorkingColorSpace(this,i),this}setStyle(e,n=Rc){function r(o){o!==void 0&&parseFloat(o)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let o;const a=i[1],s=i[2];switch(a){case"rgb":case"rgba":if(o=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return this.r=Math.min(255,parseInt(o[1],10))/255,this.g=Math.min(255,parseInt(o[2],10))/255,this.b=Math.min(255,parseInt(o[3],10))/255,As.toWorkingColorSpace(this,n),r(o[4]),this;if(o=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return this.r=Math.min(100,parseInt(o[1],10))/100,this.g=Math.min(100,parseInt(o[2],10))/100,this.b=Math.min(100,parseInt(o[3],10))/100,As.toWorkingColorSpace(this,n),r(o[4]),this;break;case"hsl":case"hsla":if(o=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s)){const l=parseFloat(o[1])/360,c=parseFloat(o[2])/100,u=parseFloat(o[3])/100;return r(o[4]),this.setHSL(l,c,u,n)}break}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const o=i[1],a=o.length;if(a===3)return this.r=parseInt(o.charAt(0)+o.charAt(0),16)/255,this.g=parseInt(o.charAt(1)+o.charAt(1),16)/255,this.b=parseInt(o.charAt(2)+o.charAt(2),16)/255,As.toWorkingColorSpace(this,n),this;if(a===6)return this.r=parseInt(o.charAt(0)+o.charAt(1),16)/255,this.g=parseInt(o.charAt(2)+o.charAt(3),16)/255,this.b=parseInt(o.charAt(4)+o.charAt(5),16)/255,As.toWorkingColorSpace(this,n),this}return e&&e.length>0?this.setColorName(e,n):this}setColorName(e,n=Rc){const r=bye[e.toLowerCase()];return r!==void 0?this.setHex(r,n):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=qh(e.r),this.g=qh(e.g),this.b=qh(e.b),this}copyLinearToSRGB(e){return this.r=YC(e.r),this.g=YC(e.g),this.b=YC(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Rc){return As.fromWorkingColorSpace(NO(this,Yr),e),Mo(Yr.r*255,0,255)<<16^Mo(Yr.g*255,0,255)<<8^Mo(Yr.b*255,0,255)<<0}getHexString(e=Rc){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,n=Ah){As.fromWorkingColorSpace(NO(this,Yr),n);const r=Yr.r,i=Yr.g,o=Yr.b,a=Math.max(r,i,o),s=Math.min(r,i,o);let l,c;const u=(s+a)/2;if(s===a)l=0,c=0;else{const f=a-s;switch(c=u<=.5?f/(a+s):f/(2-a-s),a){case r:l=(i-o)/f+(i"u")return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{ym===void 0&&(ym=o1("canvas")),ym.width=e.width,ym.height=e.height;const r=ym.getContext("2d");e instanceof ImageData?r.putImageData(e,0,0):r.drawImage(e,0,0,e.width,e.height),n=ym}return n.width>2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const n=o1("canvas");n.width=e.width,n.height=e.height;const r=n.getContext("2d");r.drawImage(e,0,0,e.width,e.height);const i=r.getImageData(0,0,e.width,e.height),o=i.data;for(let a=0;a1)switch(this.wrapS){case OF:e.x=e.x-Math.floor(e.x);break;case qa:e.x=e.x<0?0:1;break;case CF:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case OF:e.y=e.y-Math.floor(e.y);break;case qa:e.y=e.y<0?0:1;break;case CF:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}}Ta.DEFAULT_IMAGE=null;Ta.DEFAULT_MAPPING=gye;class Ri{constructor(e=0,n=0,r=0,i=1){Ri.prototype.isVector4=!0,this.x=e,this.y=n,this.z=r,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,n,r,i){return this.x=e,this.y=n,this.z=r,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;case 3:this.w=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this.w=e.w+n.w,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this.w+=e.w*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this.w=e.w-n.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=this.w,a=e.elements;return this.x=a[0]*n+a[4]*r+a[8]*i+a[12]*o,this.y=a[1]*n+a[5]*r+a[9]*i+a[13]*o,this.z=a[2]*n+a[6]*r+a[10]*i+a[14]*o,this.w=a[3]*n+a[7]*r+a[11]*i+a[15]*o,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const n=Math.sqrt(1-e.w*e.w);return n<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/n,this.y=e.y/n,this.z=e.z/n),this}setAxisAngleFromRotationMatrix(e){let n,r,i,o;const l=e.elements,c=l[0],u=l[4],f=l[8],d=l[1],h=l[5],p=l[9],m=l[2],g=l[6],v=l[10];if(Math.abs(u-d)<.01&&Math.abs(f-m)<.01&&Math.abs(p-g)<.01){if(Math.abs(u+d)<.1&&Math.abs(f+m)<.1&&Math.abs(p+g)<.1&&Math.abs(c+h+v-3)<.1)return this.set(1,0,0,0),this;n=Math.PI;const x=(c+1)/2,b=(h+1)/2,_=(v+1)/2,S=(u+d)/4,O=(f+m)/4,C=(p+g)/4;return x>b&&x>_?x<.01?(r=0,i=.707106781,o=.707106781):(r=Math.sqrt(x),i=S/r,o=O/r):b>_?b<.01?(r=.707106781,i=0,o=.707106781):(i=Math.sqrt(b),r=S/i,o=C/i):_<.01?(r=.707106781,i=.707106781,o=0):(o=Math.sqrt(_),r=O/o,i=C/o),this.set(r,i,o,n),this}let y=Math.sqrt((g-p)*(g-p)+(f-m)*(f-m)+(d-u)*(d-u));return Math.abs(y)<.001&&(y=1),this.x=(g-p)/y,this.y=(f-m)/y,this.z=(d-u)/y,this.w=Math.acos((c+h+v-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this.w=Math.max(e.w,Math.min(n.w,this.w)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this.w=Math.max(e,Math.min(n,this.w)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this.w+=(e.w-this.w)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this.w=e.w+(n.w-e.w)*r,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this.w=e[n+3],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e[n+3]=this.w,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this.w=e.getW(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class bp extends Hp{constructor(e,n,r={}){super(),this.isWebGLRenderTarget=!0,this.width=e,this.height=n,this.depth=1,this.scissor=new Ri(0,0,e,n),this.scissorTest=!1,this.viewport=new Ri(0,0,e,n);const i={width:e,height:n,depth:1};this.texture=new Ta(i,r.mapping,r.wrapS,r.wrapT,r.magFilter,r.minFilter,r.format,r.type,r.anisotropy,r.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=r.generateMipmaps!==void 0?r.generateMipmaps:!1,this.texture.internalFormat=r.internalFormat!==void 0?r.internalFormat:null,this.texture.minFilter=r.minFilter!==void 0?r.minFilter:Po,this.depthBuffer=r.depthBuffer!==void 0?r.depthBuffer:!0,this.stencilBuffer=r.stencilBuffer!==void 0?r.stencilBuffer:!1,this.depthTexture=r.depthTexture!==void 0?r.depthTexture:null,this.samples=r.samples!==void 0?r.samples:0}setSize(e,n,r=1){(this.width!==e||this.height!==n||this.depth!==r)&&(this.width=e,this.height=n,this.depth=r,this.texture.image.width=e,this.texture.image.height=n,this.texture.image.depth=r,this.dispose()),this.viewport.set(0,0,e,n),this.scissor.set(0,0,e,n)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const n=Object.assign({},e.texture.image);return this.texture.source=new wye(n),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class Sye extends Ta{constructor(e=null,n=1,r=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Eo,this.minFilter=Eo,this.wrapR=qa,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Oye extends Ta{constructor(e=null,n=1,r=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Eo,this.minFilter=Eo,this.wrapR=qa,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class _p{constructor(e=0,n=0,r=0,i=1){this.isQuaternion=!0,this._x=e,this._y=n,this._z=r,this._w=i}static slerpFlat(e,n,r,i,o,a,s){let l=r[i+0],c=r[i+1],u=r[i+2],f=r[i+3];const d=o[a+0],h=o[a+1],p=o[a+2],m=o[a+3];if(s===0){e[n+0]=l,e[n+1]=c,e[n+2]=u,e[n+3]=f;return}if(s===1){e[n+0]=d,e[n+1]=h,e[n+2]=p,e[n+3]=m;return}if(f!==m||l!==d||c!==h||u!==p){let g=1-s;const v=l*d+c*h+u*p+f*m,y=v>=0?1:-1,x=1-v*v;if(x>Number.EPSILON){const _=Math.sqrt(x),S=Math.atan2(_,v*y);g=Math.sin(g*S)/_,s=Math.sin(s*S)/_}const b=s*y;if(l=l*g+d*b,c=c*g+h*b,u=u*g+p*b,f=f*g+m*b,g===1-s){const _=1/Math.sqrt(l*l+c*c+u*u+f*f);l*=_,c*=_,u*=_,f*=_}}e[n]=l,e[n+1]=c,e[n+2]=u,e[n+3]=f}static multiplyQuaternionsFlat(e,n,r,i,o,a){const s=r[i],l=r[i+1],c=r[i+2],u=r[i+3],f=o[a],d=o[a+1],h=o[a+2],p=o[a+3];return e[n]=s*p+u*f+l*h-c*d,e[n+1]=l*p+u*d+c*f-s*h,e[n+2]=c*p+u*h+s*d-l*f,e[n+3]=u*p-s*f-l*d-c*h,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,n,r,i){return this._x=e,this._y=n,this._z=r,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,n){const r=e._x,i=e._y,o=e._z,a=e._order,s=Math.cos,l=Math.sin,c=s(r/2),u=s(i/2),f=s(o/2),d=l(r/2),h=l(i/2),p=l(o/2);switch(a){case"XYZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"YXZ":this._x=d*u*f+c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"ZXY":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f-d*h*p;break;case"ZYX":this._x=d*u*f-c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f+d*h*p;break;case"YZX":this._x=d*u*f+c*h*p,this._y=c*h*f+d*u*p,this._z=c*u*p-d*h*f,this._w=c*u*f-d*h*p;break;case"XZY":this._x=d*u*f-c*h*p,this._y=c*h*f-d*u*p,this._z=c*u*p+d*h*f,this._w=c*u*f+d*h*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+a)}return n!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,n){const r=n/2,i=Math.sin(r);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(r),this._onChangeCallback(),this}setFromRotationMatrix(e){const n=e.elements,r=n[0],i=n[4],o=n[8],a=n[1],s=n[5],l=n[9],c=n[2],u=n[6],f=n[10],d=r+s+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(u-l)*h,this._y=(o-c)*h,this._z=(a-i)*h}else if(r>s&&r>f){const h=2*Math.sqrt(1+r-s-f);this._w=(u-l)/h,this._x=.25*h,this._y=(i+a)/h,this._z=(o+c)/h}else if(s>f){const h=2*Math.sqrt(1+s-r-f);this._w=(o-c)/h,this._x=(i+a)/h,this._y=.25*h,this._z=(l+u)/h}else{const h=2*Math.sqrt(1+f-r-s);this._w=(a-i)/h,this._x=(o+c)/h,this._y=(l+u)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(e,n){let r=e.dot(n)+1;return rMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=r):(this._x=0,this._y=-e.z,this._z=e.y,this._w=r)):(this._x=e.y*n.z-e.z*n.y,this._y=e.z*n.x-e.x*n.z,this._z=e.x*n.y-e.y*n.x,this._w=r),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(Mo(this.dot(e),-1,1)))}rotateTowards(e,n){const r=this.angleTo(e);if(r===0)return this;const i=Math.min(1,n/r);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,n){const r=e._x,i=e._y,o=e._z,a=e._w,s=n._x,l=n._y,c=n._z,u=n._w;return this._x=r*u+a*s+i*c-o*l,this._y=i*u+a*l+o*s-r*c,this._z=o*u+a*c+r*l-i*s,this._w=a*u-r*s-i*l-o*c,this._onChangeCallback(),this}slerp(e,n){if(n===0)return this;if(n===1)return this.copy(e);const r=this._x,i=this._y,o=this._z,a=this._w;let s=a*e._w+r*e._x+i*e._y+o*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=a,this._x=r,this._y=i,this._z=o,this;const l=1-s*s;if(l<=Number.EPSILON){const h=1-n;return this._w=h*a+n*this._w,this._x=h*r+n*this._x,this._y=h*i+n*this._y,this._z=h*o+n*this._z,this.normalize(),this._onChangeCallback(),this}const c=Math.sqrt(l),u=Math.atan2(c,s),f=Math.sin((1-n)*u)/c,d=Math.sin(n*u)/c;return this._w=a*f+this._w*d,this._x=r*f+this._x*d,this._y=i*f+this._y*d,this._z=o*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,n,r){return this.copy(e).slerp(n,r)}random(){const e=Math.random(),n=Math.sqrt(1-e),r=Math.sqrt(e),i=2*Math.PI*Math.random(),o=2*Math.PI*Math.random();return this.set(n*Math.cos(i),r*Math.sin(o),r*Math.cos(o),n*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,n=0){return this._x=e[n],this._y=e[n+1],this._z=e[n+2],this._w=e[n+3],this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._w,e}fromBufferAttribute(e,n){return this._x=e.getX(n),this._y=e.getY(n),this._z=e.getZ(n),this._w=e.getW(n),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Se{constructor(e=0,n=0,r=0){Se.prototype.isVector3=!0,this.x=e,this.y=n,this.z=r}set(e,n,r){return r===void 0&&(r=this.z),this.x=e,this.y=n,this.z=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,n){return this.x=e.x*n.x,this.y=e.y*n.y,this.z=e.z*n.z,this}applyEuler(e){return this.applyQuaternion(BZ.setFromEuler(e))}applyAxisAngle(e,n){return this.applyQuaternion(BZ.setFromAxisAngle(e,n))}applyMatrix3(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[3]*r+o[6]*i,this.y=o[1]*n+o[4]*r+o[7]*i,this.z=o[2]*n+o[5]*r+o[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=e.elements,a=1/(o[3]*n+o[7]*r+o[11]*i+o[15]);return this.x=(o[0]*n+o[4]*r+o[8]*i+o[12])*a,this.y=(o[1]*n+o[5]*r+o[9]*i+o[13])*a,this.z=(o[2]*n+o[6]*r+o[10]*i+o[14])*a,this}applyQuaternion(e){const n=this.x,r=this.y,i=this.z,o=e.x,a=e.y,s=e.z,l=e.w,c=l*n+a*i-s*r,u=l*r+s*n-o*i,f=l*i+o*r-a*n,d=-o*n-a*r-s*i;return this.x=c*l+d*-o+u*-s-f*-a,this.y=u*l+d*-a+f*-o-c*-s,this.z=f*l+d*-s+c*-a-u*-o,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[4]*r+o[8]*i,this.y=o[1]*n+o[5]*r+o[9]*i,this.z=o[2]*n+o[6]*r+o[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,n){const r=e.x,i=e.y,o=e.z,a=n.x,s=n.y,l=n.z;return this.x=i*l-o*s,this.y=o*a-r*l,this.z=r*s-i*a,this}projectOnVector(e){const n=e.lengthSq();if(n===0)return this.set(0,0,0);const r=e.dot(this)/n;return this.copy(e).multiplyScalar(r)}projectOnPlane(e){return eD.copy(this).projectOnVector(e),this.sub(eD)}reflect(e){return this.sub(eD.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const n=Math.sqrt(this.lengthSq()*e.lengthSq());if(n===0)return Math.PI/2;const r=this.dot(e)/n;return Math.acos(Mo(r,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y,i=this.z-e.z;return n*n+r*r+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,n,r){const i=Math.sin(n)*e;return this.x=i*Math.sin(r),this.y=Math.cos(n)*e,this.z=i*Math.cos(r),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,n,r){return this.x=e*Math.sin(n),this.y=r,this.z=e*Math.cos(n),this}setFromMatrixPosition(e){const n=e.elements;return this.x=n[12],this.y=n[13],this.z=n[14],this}setFromMatrixScale(e){const n=this.setFromMatrixColumn(e,0).length(),r=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=n,this.y=r,this.z=i,this}setFromMatrixColumn(e,n){return this.fromArray(e.elements,n*4)}setFromMatrix3Column(e,n){return this.fromArray(e.elements,n*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,n=Math.random()*Math.PI*2,r=Math.sqrt(1-e**2);return this.x=r*Math.cos(n),this.y=r*Math.sin(n),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const eD=new Se,BZ=new _p;class Xy{constructor(e=new Se(1/0,1/0,1/0),n=new Se(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=n}set(e,n){return this.min.copy(e),this.max.copy(n),this}setFromArray(e){let n=1/0,r=1/0,i=1/0,o=-1/0,a=-1/0,s=-1/0;for(let l=0,c=e.length;lo&&(o=u),f>a&&(a=f),d>s&&(s=d)}return this.min.set(n,r,i),this.max.set(o,a,s),this}setFromBufferAttribute(e){let n=1/0,r=1/0,i=1/0,o=-1/0,a=-1/0,s=-1/0;for(let l=0,c=e.count;lo&&(o=u),f>a&&(a=f),d>s&&(s=d)}return this.min.set(n,r,i),this.max.set(o,a,s),this}setFromPoints(e){this.makeEmpty();for(let n=0,r=e.length;nthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,n){return n.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,Hd),Hd.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let n,r;return e.normal.x>0?(n=e.normal.x*this.min.x,r=e.normal.x*this.max.x):(n=e.normal.x*this.max.x,r=e.normal.x*this.min.x),e.normal.y>0?(n+=e.normal.y*this.min.y,r+=e.normal.y*this.max.y):(n+=e.normal.y*this.max.y,r+=e.normal.y*this.min.y),e.normal.z>0?(n+=e.normal.z*this.min.z,r+=e.normal.z*this.max.z):(n+=e.normal.z*this.max.z,r+=e.normal.z*this.min.z),n<=-e.constant&&r>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(q0),$O.subVectors(this.max,q0),xm.subVectors(e.a,q0),bm.subVectors(e.b,q0),_m.subVectors(e.c,q0),Bu.subVectors(bm,xm),zu.subVectors(_m,bm),qd.subVectors(xm,_m);let n=[0,-Bu.z,Bu.y,0,-zu.z,zu.y,0,-qd.z,qd.y,Bu.z,0,-Bu.x,zu.z,0,-zu.x,qd.z,0,-qd.x,-Bu.y,Bu.x,0,-zu.y,zu.x,0,-qd.y,qd.x,0];return!nD(n,xm,bm,_m,$O)||(n=[1,0,0,0,1,0,0,0,1],!nD(n,xm,bm,_m,$O))?!1:(FO.crossVectors(Bu,zu),n=[FO.x,FO.y,FO.z],nD(n,xm,bm,_m,$O))}clampPoint(e,n){return n.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return Hd.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=this.getSize(Hd).length()*.5,e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(xc[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),xc[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),xc[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),xc[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),xc[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),xc[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),xc[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),xc[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(xc),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const xc=[new Se,new Se,new Se,new Se,new Se,new Se,new Se,new Se],Hd=new Se,tD=new Xy,xm=new Se,bm=new Se,_m=new Se,Bu=new Se,zu=new Se,qd=new Se,q0=new Se,$O=new Se,FO=new Se,Xd=new Se;function nD(t,e,n,r,i){for(let o=0,a=t.length-3;o<=a;o+=3){Xd.fromArray(t,o);const s=i.x*Math.abs(Xd.x)+i.y*Math.abs(Xd.y)+i.z*Math.abs(Xd.z),l=e.dot(Xd),c=n.dot(Xd),u=r.dot(Xd);if(Math.max(-Math.max(l,c,u),Math.min(l,c,u))>s)return!1}return!0}const sFt=new Xy,zZ=new Se,jO=new Se,rD=new Se;class Nk{constructor(e=new Se,n=-1){this.center=e,this.radius=n}set(e,n){return this.center.copy(e),this.radius=n,this}setFromPoints(e,n){const r=this.center;n!==void 0?r.copy(n):sFt.setFromPoints(e).getCenter(r);let i=0;for(let o=0,a=e.length;othis.radius*this.radius&&(n.sub(this.center).normalize(),n.multiplyScalar(this.radius).add(this.center)),n}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){rD.subVectors(e,this.center);const n=rD.lengthSq();if(n>this.radius*this.radius){const r=Math.sqrt(n),i=(r-this.radius)*.5;this.center.add(rD.multiplyScalar(i/r)),this.radius+=i}return this}union(e){return this.center.equals(e.center)===!0?jO.set(0,0,1).multiplyScalar(e.radius):jO.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(zZ.copy(e.center).add(jO)),this.expandByPoint(zZ.copy(e.center).sub(jO)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const bc=new Se,iD=new Se,BO=new Se,Uu=new Se,oD=new Se,zO=new Se,aD=new Se;class Cye{constructor(e=new Se,n=new Se(0,0,-1)){this.origin=e,this.direction=n}set(e,n){return this.origin.copy(e),this.direction.copy(n),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,n){return n.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,bc)),this}closestPointToPoint(e,n){n.subVectors(e,this.origin);const r=n.dot(this.direction);return r<0?n.copy(this.origin):n.copy(this.direction).multiplyScalar(r).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const n=bc.subVectors(e,this.origin).dot(this.direction);return n<0?this.origin.distanceToSquared(e):(bc.copy(this.direction).multiplyScalar(n).add(this.origin),bc.distanceToSquared(e))}distanceSqToSegment(e,n,r,i){iD.copy(e).add(n).multiplyScalar(.5),BO.copy(n).sub(e).normalize(),Uu.copy(this.origin).sub(iD);const o=e.distanceTo(n)*.5,a=-this.direction.dot(BO),s=Uu.dot(this.direction),l=-Uu.dot(BO),c=Uu.lengthSq(),u=Math.abs(1-a*a);let f,d,h,p;if(u>0)if(f=a*l-s,d=a*s-l,p=o*u,f>=0)if(d>=-p)if(d<=p){const m=1/u;f*=m,d*=m,h=f*(f+a*d+2*s)+d*(a*f+d+2*l)+c}else d=o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;else d=-o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;else d<=-p?(f=Math.max(0,-(-a*o+s)),d=f>0?-o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+c):d<=p?(f=0,d=Math.min(Math.max(-o,-l),o),h=d*(d+2*l)+c):(f=Math.max(0,-(a*o+s)),d=f>0?o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+c);else d=a>0?-o:o,f=Math.max(0,-(a*d+s)),h=-f*f+d*(d+2*l)+c;return r&&r.copy(this.direction).multiplyScalar(f).add(this.origin),i&&i.copy(BO).multiplyScalar(d).add(iD),h}intersectSphere(e,n){bc.subVectors(e.center,this.origin);const r=bc.dot(this.direction),i=bc.dot(bc)-r*r,o=e.radius*e.radius;if(i>o)return null;const a=Math.sqrt(o-i),s=r-a,l=r+a;return s<0&&l<0?null:s<0?this.at(l,n):this.at(s,n)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const n=e.normal.dot(this.direction);if(n===0)return e.distanceToPoint(this.origin)===0?0:null;const r=-(this.origin.dot(e.normal)+e.constant)/n;return r>=0?r:null}intersectPlane(e,n){const r=this.distanceToPlane(e);return r===null?null:this.at(r,n)}intersectsPlane(e){const n=e.distanceToPoint(this.origin);return n===0||e.normal.dot(this.direction)*n<0}intersectBox(e,n){let r,i,o,a,s,l;const c=1/this.direction.x,u=1/this.direction.y,f=1/this.direction.z,d=this.origin;return c>=0?(r=(e.min.x-d.x)*c,i=(e.max.x-d.x)*c):(r=(e.max.x-d.x)*c,i=(e.min.x-d.x)*c),u>=0?(o=(e.min.y-d.y)*u,a=(e.max.y-d.y)*u):(o=(e.max.y-d.y)*u,a=(e.min.y-d.y)*u),r>a||o>i||((o>r||r!==r)&&(r=o),(a=0?(s=(e.min.z-d.z)*f,l=(e.max.z-d.z)*f):(s=(e.max.z-d.z)*f,l=(e.min.z-d.z)*f),r>l||s>i)||((s>r||r!==r)&&(r=s),(l=0?r:i,n)}intersectsBox(e){return this.intersectBox(e,bc)!==null}intersectTriangle(e,n,r,i,o){oD.subVectors(n,e),zO.subVectors(r,e),aD.crossVectors(oD,zO);let a=this.direction.dot(aD),s;if(a>0){if(i)return null;s=1}else if(a<0)s=-1,a=-a;else return null;Uu.subVectors(this.origin,e);const l=s*this.direction.dot(zO.crossVectors(Uu,zO));if(l<0)return null;const c=s*this.direction.dot(oD.cross(Uu));if(c<0||l+c>a)return null;const u=-s*Uu.dot(aD);return u<0?null:this.at(u/a,o)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Hn{constructor(){Hn.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(e,n,r,i,o,a,s,l,c,u,f,d,h,p,m,g){const v=this.elements;return v[0]=e,v[4]=n,v[8]=r,v[12]=i,v[1]=o,v[5]=a,v[9]=s,v[13]=l,v[2]=c,v[6]=u,v[10]=f,v[14]=d,v[3]=h,v[7]=p,v[11]=m,v[15]=g,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Hn().fromArray(this.elements)}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],n[9]=r[9],n[10]=r[10],n[11]=r[11],n[12]=r[12],n[13]=r[13],n[14]=r[14],n[15]=r[15],this}copyPosition(e){const n=this.elements,r=e.elements;return n[12]=r[12],n[13]=r[13],n[14]=r[14],this}setFromMatrix3(e){const n=e.elements;return this.set(n[0],n[3],n[6],0,n[1],n[4],n[7],0,n[2],n[5],n[8],0,0,0,0,1),this}extractBasis(e,n,r){return e.setFromMatrixColumn(this,0),n.setFromMatrixColumn(this,1),r.setFromMatrixColumn(this,2),this}makeBasis(e,n,r){return this.set(e.x,n.x,r.x,0,e.y,n.y,r.y,0,e.z,n.z,r.z,0,0,0,0,1),this}extractRotation(e){const n=this.elements,r=e.elements,i=1/wm.setFromMatrixColumn(e,0).length(),o=1/wm.setFromMatrixColumn(e,1).length(),a=1/wm.setFromMatrixColumn(e,2).length();return n[0]=r[0]*i,n[1]=r[1]*i,n[2]=r[2]*i,n[3]=0,n[4]=r[4]*o,n[5]=r[5]*o,n[6]=r[6]*o,n[7]=0,n[8]=r[8]*a,n[9]=r[9]*a,n[10]=r[10]*a,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromEuler(e){const n=this.elements,r=e.x,i=e.y,o=e.z,a=Math.cos(r),s=Math.sin(r),l=Math.cos(i),c=Math.sin(i),u=Math.cos(o),f=Math.sin(o);if(e.order==="XYZ"){const d=a*u,h=a*f,p=s*u,m=s*f;n[0]=l*u,n[4]=-l*f,n[8]=c,n[1]=h+p*c,n[5]=d-m*c,n[9]=-s*l,n[2]=m-d*c,n[6]=p+h*c,n[10]=a*l}else if(e.order==="YXZ"){const d=l*u,h=l*f,p=c*u,m=c*f;n[0]=d+m*s,n[4]=p*s-h,n[8]=a*c,n[1]=a*f,n[5]=a*u,n[9]=-s,n[2]=h*s-p,n[6]=m+d*s,n[10]=a*l}else if(e.order==="ZXY"){const d=l*u,h=l*f,p=c*u,m=c*f;n[0]=d-m*s,n[4]=-a*f,n[8]=p+h*s,n[1]=h+p*s,n[5]=a*u,n[9]=m-d*s,n[2]=-a*c,n[6]=s,n[10]=a*l}else if(e.order==="ZYX"){const d=a*u,h=a*f,p=s*u,m=s*f;n[0]=l*u,n[4]=p*c-h,n[8]=d*c+m,n[1]=l*f,n[5]=m*c+d,n[9]=h*c-p,n[2]=-c,n[6]=s*l,n[10]=a*l}else if(e.order==="YZX"){const d=a*l,h=a*c,p=s*l,m=s*c;n[0]=l*u,n[4]=m-d*f,n[8]=p*f+h,n[1]=f,n[5]=a*u,n[9]=-s*u,n[2]=-c*u,n[6]=h*f+p,n[10]=d-m*f}else if(e.order==="XZY"){const d=a*l,h=a*c,p=s*l,m=s*c;n[0]=l*u,n[4]=-f,n[8]=c*u,n[1]=d*f+m,n[5]=a*u,n[9]=h*f-p,n[2]=p*f-h,n[6]=s*u,n[10]=m*f+d}return n[3]=0,n[7]=0,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromQuaternion(e){return this.compose(lFt,e,cFt)}lookAt(e,n,r){const i=this.elements;return ea.subVectors(e,n),ea.lengthSq()===0&&(ea.z=1),ea.normalize(),Wu.crossVectors(r,ea),Wu.lengthSq()===0&&(Math.abs(r.z)===1?ea.x+=1e-4:ea.z+=1e-4,ea.normalize(),Wu.crossVectors(r,ea)),Wu.normalize(),UO.crossVectors(ea,Wu),i[0]=Wu.x,i[4]=UO.x,i[8]=ea.x,i[1]=Wu.y,i[5]=UO.y,i[9]=ea.y,i[2]=Wu.z,i[6]=UO.z,i[10]=ea.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,a=r[0],s=r[4],l=r[8],c=r[12],u=r[1],f=r[5],d=r[9],h=r[13],p=r[2],m=r[6],g=r[10],v=r[14],y=r[3],x=r[7],b=r[11],_=r[15],S=i[0],O=i[4],C=i[8],E=i[12],k=i[1],I=i[5],P=i[9],R=i[13],T=i[2],L=i[6],z=i[10],B=i[14],U=i[3],W=i[7],$=i[11],N=i[15];return o[0]=a*S+s*k+l*T+c*U,o[4]=a*O+s*I+l*L+c*W,o[8]=a*C+s*P+l*z+c*$,o[12]=a*E+s*R+l*B+c*N,o[1]=u*S+f*k+d*T+h*U,o[5]=u*O+f*I+d*L+h*W,o[9]=u*C+f*P+d*z+h*$,o[13]=u*E+f*R+d*B+h*N,o[2]=p*S+m*k+g*T+v*U,o[6]=p*O+m*I+g*L+v*W,o[10]=p*C+m*P+g*z+v*$,o[14]=p*E+m*R+g*B+v*N,o[3]=y*S+x*k+b*T+_*U,o[7]=y*O+x*I+b*L+_*W,o[11]=y*C+x*P+b*z+_*$,o[15]=y*E+x*R+b*B+_*N,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[4]*=e,n[8]*=e,n[12]*=e,n[1]*=e,n[5]*=e,n[9]*=e,n[13]*=e,n[2]*=e,n[6]*=e,n[10]*=e,n[14]*=e,n[3]*=e,n[7]*=e,n[11]*=e,n[15]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[4],i=e[8],o=e[12],a=e[1],s=e[5],l=e[9],c=e[13],u=e[2],f=e[6],d=e[10],h=e[14],p=e[3],m=e[7],g=e[11],v=e[15];return p*(+o*l*f-i*c*f-o*s*d+r*c*d+i*s*h-r*l*h)+m*(+n*l*h-n*c*d+o*a*d-i*a*h+i*c*u-o*l*u)+g*(+n*c*f-n*s*h-o*a*f+r*a*h+o*s*u-r*c*u)+v*(-i*s*u-n*l*f+n*s*d+i*a*f-r*a*d+r*l*u)}transpose(){const e=this.elements;let n;return n=e[1],e[1]=e[4],e[4]=n,n=e[2],e[2]=e[8],e[8]=n,n=e[6],e[6]=e[9],e[9]=n,n=e[3],e[3]=e[12],e[12]=n,n=e[7],e[7]=e[13],e[13]=n,n=e[11],e[11]=e[14],e[14]=n,this}setPosition(e,n,r){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=n,i[14]=r),this}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=e[8],f=e[9],d=e[10],h=e[11],p=e[12],m=e[13],g=e[14],v=e[15],y=f*g*c-m*d*c+m*l*h-s*g*h-f*l*v+s*d*v,x=p*d*c-u*g*c-p*l*h+a*g*h+u*l*v-a*d*v,b=u*m*c-p*f*c+p*s*h-a*m*h-u*s*v+a*f*v,_=p*f*l-u*m*l-p*s*d+a*m*d+u*s*g-a*f*g,S=n*y+r*x+i*b+o*_;if(S===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const O=1/S;return e[0]=y*O,e[1]=(m*d*o-f*g*o-m*i*h+r*g*h+f*i*v-r*d*v)*O,e[2]=(s*g*o-m*l*o+m*i*c-r*g*c-s*i*v+r*l*v)*O,e[3]=(f*l*o-s*d*o-f*i*c+r*d*c+s*i*h-r*l*h)*O,e[4]=x*O,e[5]=(u*g*o-p*d*o+p*i*h-n*g*h-u*i*v+n*d*v)*O,e[6]=(p*l*o-a*g*o-p*i*c+n*g*c+a*i*v-n*l*v)*O,e[7]=(a*d*o-u*l*o+u*i*c-n*d*c-a*i*h+n*l*h)*O,e[8]=b*O,e[9]=(p*f*o-u*m*o-p*r*h+n*m*h+u*r*v-n*f*v)*O,e[10]=(a*m*o-p*s*o+p*r*c-n*m*c-a*r*v+n*s*v)*O,e[11]=(u*s*o-a*f*o-u*r*c+n*f*c+a*r*h-n*s*h)*O,e[12]=_*O,e[13]=(u*m*i-p*f*i+p*r*d-n*m*d-u*r*g+n*f*g)*O,e[14]=(p*s*i-a*m*i-p*r*l+n*m*l+a*r*g-n*s*g)*O,e[15]=(a*f*i-u*s*i+u*r*l-n*f*l-a*r*d+n*s*d)*O,this}scale(e){const n=this.elements,r=e.x,i=e.y,o=e.z;return n[0]*=r,n[4]*=i,n[8]*=o,n[1]*=r,n[5]*=i,n[9]*=o,n[2]*=r,n[6]*=i,n[10]*=o,n[3]*=r,n[7]*=i,n[11]*=o,this}getMaxScaleOnAxis(){const e=this.elements,n=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(n,r,i))}makeTranslation(e,n,r){return this.set(1,0,0,e,0,1,0,n,0,0,1,r,0,0,0,1),this}makeRotationX(e){const n=Math.cos(e),r=Math.sin(e);return this.set(1,0,0,0,0,n,-r,0,0,r,n,0,0,0,0,1),this}makeRotationY(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,0,r,0,0,1,0,0,-r,0,n,0,0,0,0,1),this}makeRotationZ(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,n){const r=Math.cos(n),i=Math.sin(n),o=1-r,a=e.x,s=e.y,l=e.z,c=o*a,u=o*s;return this.set(c*a+r,c*s-i*l,c*l+i*s,0,c*s+i*l,u*s+r,u*l-i*a,0,c*l-i*s,u*l+i*a,o*l*l+r,0,0,0,0,1),this}makeScale(e,n,r){return this.set(e,0,0,0,0,n,0,0,0,0,r,0,0,0,0,1),this}makeShear(e,n,r,i,o,a){return this.set(1,r,o,0,e,1,a,0,n,i,1,0,0,0,0,1),this}compose(e,n,r){const i=this.elements,o=n._x,a=n._y,s=n._z,l=n._w,c=o+o,u=a+a,f=s+s,d=o*c,h=o*u,p=o*f,m=a*u,g=a*f,v=s*f,y=l*c,x=l*u,b=l*f,_=r.x,S=r.y,O=r.z;return i[0]=(1-(m+v))*_,i[1]=(h+b)*_,i[2]=(p-x)*_,i[3]=0,i[4]=(h-b)*S,i[5]=(1-(d+v))*S,i[6]=(g+y)*S,i[7]=0,i[8]=(p+x)*O,i[9]=(g-y)*O,i[10]=(1-(d+m))*O,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,n,r){const i=this.elements;let o=wm.set(i[0],i[1],i[2]).length();const a=wm.set(i[4],i[5],i[6]).length(),s=wm.set(i[8],i[9],i[10]).length();this.determinant()<0&&(o=-o),e.x=i[12],e.y=i[13],e.z=i[14],Is.copy(this);const c=1/o,u=1/a,f=1/s;return Is.elements[0]*=c,Is.elements[1]*=c,Is.elements[2]*=c,Is.elements[4]*=u,Is.elements[5]*=u,Is.elements[6]*=u,Is.elements[8]*=f,Is.elements[9]*=f,Is.elements[10]*=f,n.setFromRotationMatrix(Is),r.x=o,r.y=a,r.z=s,this}makePerspective(e,n,r,i,o,a){const s=this.elements,l=2*o/(n-e),c=2*o/(r-i),u=(n+e)/(n-e),f=(r+i)/(r-i),d=-(a+o)/(a-o),h=-2*a*o/(a-o);return s[0]=l,s[4]=0,s[8]=u,s[12]=0,s[1]=0,s[5]=c,s[9]=f,s[13]=0,s[2]=0,s[6]=0,s[10]=d,s[14]=h,s[3]=0,s[7]=0,s[11]=-1,s[15]=0,this}makeOrthographic(e,n,r,i,o,a){const s=this.elements,l=1/(n-e),c=1/(r-i),u=1/(a-o),f=(n+e)*l,d=(r+i)*c,h=(a+o)*u;return s[0]=2*l,s[4]=0,s[8]=0,s[12]=-f,s[1]=0,s[5]=2*c,s[9]=0,s[13]=-d,s[2]=0,s[6]=0,s[10]=-2*u,s[14]=-h,s[3]=0,s[7]=0,s[11]=0,s[15]=1,this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<16;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<16;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e[n+9]=r[9],e[n+10]=r[10],e[n+11]=r[11],e[n+12]=r[12],e[n+13]=r[13],e[n+14]=r[14],e[n+15]=r[15],e}}const wm=new Se,Is=new Hn,lFt=new Se(0,0,0),cFt=new Se(1,1,1),Wu=new Se,UO=new Se,ea=new Se,UZ=new Hn,WZ=new _p;class Nw{constructor(e=0,n=0,r=0,i=Nw.DefaultOrder){this.isEuler=!0,this._x=e,this._y=n,this._z=r,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,n,r,i=this._order){return this._x=e,this._y=n,this._z=r,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,n=this._order,r=!0){const i=e.elements,o=i[0],a=i[4],s=i[8],l=i[1],c=i[5],u=i[9],f=i[2],d=i[6],h=i[10];switch(n){case"XYZ":this._y=Math.asin(Mo(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-u,h),this._z=Math.atan2(-a,o)):(this._x=Math.atan2(d,c),this._z=0);break;case"YXZ":this._x=Math.asin(-Mo(u,-1,1)),Math.abs(u)<.9999999?(this._y=Math.atan2(s,h),this._z=Math.atan2(l,c)):(this._y=Math.atan2(-f,o),this._z=0);break;case"ZXY":this._x=Math.asin(Mo(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-f,h),this._z=Math.atan2(-a,c)):(this._y=0,this._z=Math.atan2(l,o));break;case"ZYX":this._y=Math.asin(-Mo(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(d,h),this._z=Math.atan2(l,o)):(this._x=0,this._z=Math.atan2(-a,c));break;case"YZX":this._z=Math.asin(Mo(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-u,c),this._y=Math.atan2(-f,o)):(this._x=0,this._y=Math.atan2(s,h));break;case"XZY":this._z=Math.asin(-Mo(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(d,c),this._y=Math.atan2(s,o)):(this._x=Math.atan2(-u,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+n)}return this._order=n,r===!0&&this._onChangeCallback(),this}setFromQuaternion(e,n,r){return UZ.makeRotationFromQuaternion(e),this.setFromRotationMatrix(UZ,n,r)}setFromVector3(e,n=this._order){return this.set(e.x,e.y,e.z,n)}reorder(e){return WZ.setFromEuler(this),this.setFromQuaternion(WZ,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}Nw.DefaultOrder="XYZ";Nw.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class Tye{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let n=0;n1){for(let r=0;r0){i.children=[];for(let s=0;s0){i.animations=[];for(let s=0;s0&&(r.geometries=s),l.length>0&&(r.materials=l),c.length>0&&(r.textures=c),u.length>0&&(r.images=u),f.length>0&&(r.shapes=f),d.length>0&&(r.skeletons=d),h.length>0&&(r.animations=h),p.length>0&&(r.nodes=p)}return r.object=i,r;function a(s){const l=[];for(const c in s){const u=s[c];delete u.metadata,l.push(u)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,n=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),n===!0)for(let r=0;r0?i.multiplyScalar(1/Math.sqrt(o)):i.set(0,0,0)}static getBarycoord(e,n,r,i,o){Ds.subVectors(i,n),wc.subVectors(r,n),sD.subVectors(e,n);const a=Ds.dot(Ds),s=Ds.dot(wc),l=Ds.dot(sD),c=wc.dot(wc),u=wc.dot(sD),f=a*c-s*s;if(f===0)return o.set(-2,-1,-1);const d=1/f,h=(c*l-s*u)*d,p=(a*u-s*l)*d;return o.set(1-h-p,p,h)}static containsPoint(e,n,r,i){return this.getBarycoord(e,n,r,i,Sc),Sc.x>=0&&Sc.y>=0&&Sc.x+Sc.y<=1}static getUV(e,n,r,i,o,a,s,l){return this.getBarycoord(e,n,r,i,Sc),l.set(0,0),l.addScaledVector(o,Sc.x),l.addScaledVector(a,Sc.y),l.addScaledVector(s,Sc.z),l}static isFrontFacing(e,n,r,i){return Ds.subVectors(r,n),wc.subVectors(e,n),Ds.cross(wc).dot(i)<0}set(e,n,r){return this.a.copy(e),this.b.copy(n),this.c.copy(r),this}setFromPointsAndIndices(e,n,r,i){return this.a.copy(e[n]),this.b.copy(e[r]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,n,r,i){return this.a.fromBufferAttribute(e,n),this.b.fromBufferAttribute(e,r),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Ds.subVectors(this.c,this.b),wc.subVectors(this.a,this.b),Ds.cross(wc).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Wc.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,n){return Wc.getBarycoord(e,this.a,this.b,this.c,n)}getUV(e,n,r,i,o){return Wc.getUV(e,this.a,this.b,this.c,n,r,i,o)}containsPoint(e){return Wc.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Wc.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,n){const r=this.a,i=this.b,o=this.c;let a,s;Om.subVectors(i,r),Cm.subVectors(o,r),lD.subVectors(e,r);const l=Om.dot(lD),c=Cm.dot(lD);if(l<=0&&c<=0)return n.copy(r);cD.subVectors(e,i);const u=Om.dot(cD),f=Cm.dot(cD);if(u>=0&&f<=u)return n.copy(i);const d=l*f-u*c;if(d<=0&&l>=0&&u<=0)return a=l/(l-u),n.copy(r).addScaledVector(Om,a);uD.subVectors(e,o);const h=Om.dot(uD),p=Cm.dot(uD);if(p>=0&&h<=p)return n.copy(o);const m=h*c-l*p;if(m<=0&&c>=0&&p<=0)return s=c/(c-p),n.copy(r).addScaledVector(Cm,s);const g=u*p-h*f;if(g<=0&&f-u>=0&&h-p>=0)return QZ.subVectors(o,i),s=(f-u)/(f-u+(h-p)),n.copy(i).addScaledVector(QZ,s);const v=1/(g+m+d);return a=m*v,s=d*v,n.copy(r).addScaledVector(Om,a).addScaledVector(Cm,s)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let pFt=0;class $w extends Hp{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:pFt++}),this.uuid=Lw(),this.name="",this.type="Material",this.blending=Bg,this.side=Lv,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=hye,this.blendDst=pye,this.blendEquation=Vm,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=_F,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=iFt,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=XI,this.stencilZFail=XI,this.stencilZPass=XI,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const n in e){const r=e[n];if(r===void 0){console.warn("THREE.Material: '"+n+"' parameter is undefined.");continue}const i=this[n];if(i===void 0){console.warn("THREE."+this.type+": '"+n+"' is not a property of this material.");continue}i&&i.isColor?i.set(r):i&&i.isVector3&&r&&r.isVector3?i.copy(r):this[n]=r}}toJSON(e){const n=e===void 0||typeof e=="string";n&&(e={textures:{},images:{}});const r={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};r.uuid=this.uuid,r.type=this.type,this.name!==""&&(r.name=this.name),this.color&&this.color.isColor&&(r.color=this.color.getHex()),this.roughness!==void 0&&(r.roughness=this.roughness),this.metalness!==void 0&&(r.metalness=this.metalness),this.sheen!==void 0&&(r.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(r.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(r.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(r.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(r.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(r.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(r.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(r.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(r.shininess=this.shininess),this.clearcoat!==void 0&&(r.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(r.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(r.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(r.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(r.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,r.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(r.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(r.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(r.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(r.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(r.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(r.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(r.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(r.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(r.lightMap=this.lightMap.toJSON(e).uuid,r.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(r.aoMap=this.aoMap.toJSON(e).uuid,r.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(r.bumpMap=this.bumpMap.toJSON(e).uuid,r.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(r.normalMap=this.normalMap.toJSON(e).uuid,r.normalMapType=this.normalMapType,r.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(r.displacementMap=this.displacementMap.toJSON(e).uuid,r.displacementScale=this.displacementScale,r.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(r.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(r.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(r.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(r.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(r.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(r.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(r.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(r.combine=this.combine)),this.envMapIntensity!==void 0&&(r.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(r.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(r.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(r.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(r.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(r.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(r.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(r.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&(r.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(r.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(r.size=this.size),this.shadowSide!==null&&(r.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(r.sizeAttenuation=this.sizeAttenuation),this.blending!==Bg&&(r.blending=this.blending),this.side!==Lv&&(r.side=this.side),this.vertexColors&&(r.vertexColors=!0),this.opacity<1&&(r.opacity=this.opacity),this.transparent===!0&&(r.transparent=this.transparent),r.depthFunc=this.depthFunc,r.depthTest=this.depthTest,r.depthWrite=this.depthWrite,r.colorWrite=this.colorWrite,r.stencilWrite=this.stencilWrite,r.stencilWriteMask=this.stencilWriteMask,r.stencilFunc=this.stencilFunc,r.stencilRef=this.stencilRef,r.stencilFuncMask=this.stencilFuncMask,r.stencilFail=this.stencilFail,r.stencilZFail=this.stencilZFail,r.stencilZPass=this.stencilZPass,this.rotation!==void 0&&this.rotation!==0&&(r.rotation=this.rotation),this.polygonOffset===!0&&(r.polygonOffset=!0),this.polygonOffsetFactor!==0&&(r.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(r.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(r.linewidth=this.linewidth),this.dashSize!==void 0&&(r.dashSize=this.dashSize),this.gapSize!==void 0&&(r.gapSize=this.gapSize),this.scale!==void 0&&(r.scale=this.scale),this.dithering===!0&&(r.dithering=!0),this.alphaTest>0&&(r.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(r.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(r.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(r.wireframe=this.wireframe),this.wireframeLinewidth>1&&(r.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(r.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(r.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(r.flatShading=this.flatShading),this.visible===!1&&(r.visible=!1),this.toneMapped===!1&&(r.toneMapped=!1),this.fog===!1&&(r.fog=!1),JSON.stringify(this.userData)!=="{}"&&(r.userData=this.userData);function i(o){const a=[];for(const s in o){const l=o[s];delete l.metadata,a.push(l)}return a}if(n){const o=i(e.textures),a=i(e.images);o.length>0&&(r.textures=o),a.length>0&&(r.images=a)}return r}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const n=e.clippingPlanes;let r=null;if(n!==null){const i=n.length;r=new Array(i);for(let o=0;o!==i;++o)r[o]=n[o].clone()}return this.clippingPlanes=r,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class S6 extends $w{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new lr(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=mye,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const Dr=new Se,VO=new qt;class as{constructor(e,n,r){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=n,this.count=e!==void 0?e.length/n:0,this.normalized=r===!0,this.usage=NZ,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,n,r){e*=this.itemSize,r*=n.itemSize;for(let i=0,o=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const c in l)l[c]!==void 0&&(e[c]=l[c]);return e}e.data={attributes:{}};const n=this.index;n!==null&&(e.data.index={type:n.array.constructor.name,array:Array.prototype.slice.call(n.array)});const r=this.attributes;for(const l in r){const c=r[l];e.data.attributes[l]=c.toJSON(e.data)}const i={};let o=!1;for(const l in this.morphAttributes){const c=this.morphAttributes[l],u=[];for(let f=0,d=c.length;f0&&(i[l]=u,o=!0)}o&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const a=this.groups;a.length>0&&(e.data.groups=JSON.parse(JSON.stringify(a)));const s=this.boundingSphere;return s!==null&&(e.data.boundingSphere={center:s.center.toArray(),radius:s.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const n={};this.name=e.name;const r=e.index;r!==null&&this.setIndex(r.clone(n));const i=e.attributes;for(const c in i){const u=i[c];this.setAttribute(c,u.clone(n))}const o=e.morphAttributes;for(const c in o){const u=[],f=o[c];for(let d=0,h=f.length;d0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,a=i.length;on.far?null:{distance:c,point:KO.clone(),object:t}}function ZO(t,e,n,r,i,o,a,s,l,c,u,f){Vu.fromBufferAttribute(i,c),Gu.fromBufferAttribute(i,u),Hu.fromBufferAttribute(i,f);const d=t.morphTargetInfluences;if(o&&d){GO.set(0,0,0),HO.set(0,0,0),qO.set(0,0,0);for(let p=0,m=o.length;p0?1:-1,u.push(W.x,W.y,W.z),f.push(D/O),f.push(1-$/C),B+=1}}for(let $=0;$0&&(n.defines=this.defines),n.vertexShader=this.vertexShader,n.fragmentShader=this.fragmentShader;const r={};for(const i in this.extensions)this.extensions[i]===!0&&(r[i]=!0);return Object.keys(r).length>0&&(n.extensions=r),n}}class kye extends zo{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Hn,this.projectionMatrix=new Hn,this.projectionMatrixInverse=new Hn}copy(e,n){return super.copy(e,n),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const n=this.matrixWorld.elements;return e.set(-n[8],-n[9],-n[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,n){super.updateWorldMatrix(e,n),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class Us extends kye{constructor(e=50,n=1,r=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=r,this.far=i,this.focus=10,this.aspect=n,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const n=.5*this.getFilmHeight()/e;this.fov=FZ*2*Math.atan(n),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(QI*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return FZ*2*Math.atan(Math.tan(QI*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,n,r,i,o,a){this.aspect=e/n,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let n=e*Math.tan(QI*.5*this.fov)/this.zoom,r=2*n,i=this.aspect*r,o=-.5*i;const a=this.view;if(this.view!==null&&this.view.enabled){const l=a.fullWidth,c=a.fullHeight;o+=a.offsetX*i/l,n-=a.offsetY*r/c,i*=a.width/l,r*=a.height/c}const s=this.filmOffset;s!==0&&(o+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(o,o+i,n,n-r,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.fov=this.fov,n.object.zoom=this.zoom,n.object.near=this.near,n.object.far=this.far,n.object.focus=this.focus,n.object.aspect=this.aspect,this.view!==null&&(n.object.view=Object.assign({},this.view)),n.object.filmGauge=this.filmGauge,n.object.filmOffset=this.filmOffset,n}}const Pm=90,Mm=1;class bFt extends zo{constructor(e,n,r){super(),this.type="CubeCamera",this.renderTarget=r;const i=new Us(Pm,Mm,e,n);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new Se(1,0,0)),this.add(i);const o=new Us(Pm,Mm,e,n);o.layers=this.layers,o.up.set(0,-1,0),o.lookAt(new Se(-1,0,0)),this.add(o);const a=new Us(Pm,Mm,e,n);a.layers=this.layers,a.up.set(0,0,1),a.lookAt(new Se(0,1,0)),this.add(a);const s=new Us(Pm,Mm,e,n);s.layers=this.layers,s.up.set(0,0,-1),s.lookAt(new Se(0,-1,0)),this.add(s);const l=new Us(Pm,Mm,e,n);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new Se(0,0,1)),this.add(l);const c=new Us(Pm,Mm,e,n);c.layers=this.layers,c.up.set(0,-1,0),c.lookAt(new Se(0,0,-1)),this.add(c)}update(e,n){this.parent===null&&this.updateMatrixWorld();const r=this.renderTarget,[i,o,a,s,l,c]=this.children,u=e.getRenderTarget(),f=e.toneMapping,d=e.xr.enabled;e.toneMapping=su,e.xr.enabled=!1;const h=r.texture.generateMipmaps;r.texture.generateMipmaps=!1,e.setRenderTarget(r,0),e.render(n,i),e.setRenderTarget(r,1),e.render(n,o),e.setRenderTarget(r,2),e.render(n,a),e.setRenderTarget(r,3),e.render(n,s),e.setRenderTarget(r,4),e.render(n,l),r.texture.generateMipmaps=h,e.setRenderTarget(r,5),e.render(n,c),e.setRenderTarget(u),e.toneMapping=f,e.xr.enabled=d,r.texture.needsPMREMUpdate=!0}}class Aye extends Ta{constructor(e,n,r,i,o,a,s,l,c,u){e=e!==void 0?e:[],n=n!==void 0?n:Nv,super(e,n,r,i,o,a,s,l,c,u),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class _Ft extends bp{constructor(e,n={}){super(e,e,n),this.isWebGLCubeRenderTarget=!0;const r={width:e,height:e,depth:1},i=[r,r,r,r,r,r];this.texture=new Aye(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=n.generateMipmaps!==void 0?n.generateMipmaps:!1,this.texture.minFilter=n.minFilter!==void 0?n.minFilter:Po}fromEquirectangularTexture(e,n){this.texture.type=n.type,this.texture.encoding=n.encoding,this.texture.generateMipmaps=n.generateMipmaps,this.texture.minFilter=n.minFilter,this.texture.magFilter=n.magFilter;const r={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},i=new Qy(5,5,5),o=new ud({name:"CubemapFromEquirect",uniforms:jv(r.uniforms),vertexShader:r.vertexShader,fragmentShader:r.fragmentShader,side:_a,blending:Hf});o.uniforms.tEquirect.value=n;const a=new Bl(i,o),s=n.minFilter;return n.minFilter===Lk&&(n.minFilter=Po),new bFt(1,10,this).update(e,a),n.minFilter=s,a.geometry.dispose(),a.material.dispose(),this}clear(e,n,r,i){const o=e.getRenderTarget();for(let a=0;a<6;a++)e.setRenderTarget(this,a),e.clear(n,r,i);e.setRenderTarget(o)}}const vD=new Se,wFt=new Se,SFt=new va;class rh{constructor(e=new Se(1,0,0),n=0){this.isPlane=!0,this.normal=e,this.constant=n}set(e,n){return this.normal.copy(e),this.constant=n,this}setComponents(e,n,r,i){return this.normal.set(e,n,r),this.constant=i,this}setFromNormalAndCoplanarPoint(e,n){return this.normal.copy(e),this.constant=-n.dot(this.normal),this}setFromCoplanarPoints(e,n,r){const i=vD.subVectors(r,n).cross(wFt.subVectors(e,n)).normalize();return this.setFromNormalAndCoplanarPoint(i,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,n){return n.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,n){const r=e.delta(vD),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?n.copy(e.start):null;const o=-(e.start.dot(this.normal)+this.constant)/i;return o<0||o>1?null:n.copy(r).multiplyScalar(o).add(e.start)}intersectsLine(e){const n=this.distanceToPoint(e.start),r=this.distanceToPoint(e.end);return n<0&&r>0||r<0&&n>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,n){const r=n||SFt.getNormalMatrix(e),i=this.coplanarPoint(vD).applyMatrix4(e),o=this.normal.applyMatrix3(r).normalize();return this.constant=-i.dot(o),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const km=new Nk,JO=new Se;class Rye{constructor(e=new rh,n=new rh,r=new rh,i=new rh,o=new rh,a=new rh){this.planes=[e,n,r,i,o,a]}set(e,n,r,i,o,a){const s=this.planes;return s[0].copy(e),s[1].copy(n),s[2].copy(r),s[3].copy(i),s[4].copy(o),s[5].copy(a),this}copy(e){const n=this.planes;for(let r=0;r<6;r++)n[r].copy(e.planes[r]);return this}setFromProjectionMatrix(e){const n=this.planes,r=e.elements,i=r[0],o=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=r[6],f=r[7],d=r[8],h=r[9],p=r[10],m=r[11],g=r[12],v=r[13],y=r[14],x=r[15];return n[0].setComponents(s-i,f-l,m-d,x-g).normalize(),n[1].setComponents(s+i,f+l,m+d,x+g).normalize(),n[2].setComponents(s+o,f+c,m+h,x+v).normalize(),n[3].setComponents(s-o,f-c,m-h,x-v).normalize(),n[4].setComponents(s-a,f-u,m-p,x-y).normalize(),n[5].setComponents(s+a,f+u,m+p,x+y).normalize(),this}intersectsObject(e){const n=e.geometry;return n.boundingSphere===null&&n.computeBoundingSphere(),km.copy(n.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(km)}intersectsSprite(e){return km.center.set(0,0,0),km.radius=.7071067811865476,km.applyMatrix4(e.matrixWorld),this.intersectsSphere(km)}intersectsSphere(e){const n=this.planes,r=e.center,i=-e.radius;for(let o=0;o<6;o++)if(n[o].distanceToPoint(r)0?e.max.x:e.min.x,JO.y=i.normal.y>0?e.max.y:e.min.y,JO.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(JO)<0)return!1}return!0}containsPoint(e){const n=this.planes;for(let r=0;r<6;r++)if(n[r].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function Iye(){let t=null,e=!1,n=null,r=null;function i(o,a){n(o,a),r=t.requestAnimationFrame(i)}return{start:function(){e!==!0&&n!==null&&(r=t.requestAnimationFrame(i),e=!0)},stop:function(){t.cancelAnimationFrame(r),e=!1},setAnimationLoop:function(o){n=o},setContext:function(o){t=o}}}function OFt(t,e){const n=e.isWebGL2,r=new WeakMap;function i(c,u){const f=c.array,d=c.usage,h=t.createBuffer();t.bindBuffer(u,h),t.bufferData(u,f,d),c.onUploadCallback();let p;if(f instanceof Float32Array)p=5126;else if(f instanceof Uint16Array)if(c.isFloat16BufferAttribute)if(n)p=5131;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else p=5123;else if(f instanceof Int16Array)p=5122;else if(f instanceof Uint32Array)p=5125;else if(f instanceof Int32Array)p=5124;else if(f instanceof Int8Array)p=5120;else if(f instanceof Uint8Array)p=5121;else if(f instanceof Uint8ClampedArray)p=5121;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+f);return{buffer:h,type:p,bytesPerElement:f.BYTES_PER_ELEMENT,version:c.version}}function o(c,u,f){const d=u.array,h=u.updateRange;t.bindBuffer(f,c),h.count===-1?t.bufferSubData(f,0,d):(n?t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d,h.offset,h.count):t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d.subarray(h.offset,h.offset+h.count)),h.count=-1)}function a(c){return c.isInterleavedBufferAttribute&&(c=c.data),r.get(c)}function s(c){c.isInterleavedBufferAttribute&&(c=c.data);const u=r.get(c);u&&(t.deleteBuffer(u.buffer),r.delete(c))}function l(c,u){if(c.isGLBufferAttribute){const d=r.get(c);(!d||d.version 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; - return cross( v1, v2 ) * theta_sintheta; -} -vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { - vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; - vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; - vec3 lightNormal = cross( v1, v2 ); - if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); - vec3 T1, T2; - T1 = normalize( V - N * dot( V, N ) ); - T2 = - cross( N, T1 ); - mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); - vec3 coords[ 4 ]; - coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); - coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); - coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); - coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); - coords[ 0 ] = normalize( coords[ 0 ] ); - coords[ 1 ] = normalize( coords[ 1 ] ); - coords[ 2 ] = normalize( coords[ 2 ] ); - coords[ 3 ] = normalize( coords[ 3 ] ); - vec3 vectorFormFactor = vec3( 0.0 ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); - float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); - return vec3( result ); -} -float G_BlinnPhong_Implicit( ) { - return 0.25; -} -float D_BlinnPhong( const in float shininess, const in float dotNH ) { - return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess ); -} -vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( specularColor, 1.0, dotVH ); - float G = G_BlinnPhong_Implicit( ); - float D = D_BlinnPhong( shininess, dotNH ); - return F * ( G * D ); -} -#if defined( USE_SHEEN ) -float D_Charlie( float roughness, float dotNH ) { - float alpha = pow2( roughness ); - float invAlpha = 1.0 / alpha; - float cos2h = dotNH * dotNH; - float sin2h = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); -} -float V_Neubelt( float dotNV, float dotNL ) { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); -} -vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float D = D_Charlie( sheenRoughness, dotNH ); - float V = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( D * V ); -} -#endif`,DFt=`#ifdef USE_IRIDESCENCE - const mat3 XYZ_TO_REC709 = mat3( - 3.2404542, -0.9692660, 0.0556434, - -1.5371385, 1.8760108, -0.2040259, - -0.4985314, 0.0415560, 1.0572252 - ); - vec3 Fresnel0ToIor( vec3 fresnel0 ) { - vec3 sqrtF0 = sqrt( fresnel0 ); - return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 ); - } - vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) { - return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) ); - } - float IorToFresnel0( float transmittedIor, float incidentIor ) { - return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor )); - } - vec3 evalSensitivity( float OPD, vec3 shift ) { - float phase = 2.0 * PI * OPD * 1.0e-9; - vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 ); - vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 ); - vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 ); - vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var ); - xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) ); - xyz /= 1.0685e-7; - vec3 rgb = XYZ_TO_REC709 * xyz; - return rgb; - } - vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) { - vec3 I; - float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) ); - float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) ); - float cosTheta2Sq = 1.0 - sinTheta2Sq; - if ( cosTheta2Sq < 0.0 ) { - return vec3( 1.0 ); - } - float cosTheta2 = sqrt( cosTheta2Sq ); - float R0 = IorToFresnel0( iridescenceIOR, outsideIOR ); - float R12 = F_Schlick( R0, 1.0, cosTheta1 ); - float R21 = R12; - float T121 = 1.0 - R12; - float phi12 = 0.0; - if ( iridescenceIOR < outsideIOR ) phi12 = PI; - float phi21 = PI - phi12; - vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR ); - vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 ); - vec3 phi23 = vec3( 0.0 ); - if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI; - if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI; - if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI; - float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2; - vec3 phi = vec3( phi21 ) + phi23; - vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 ); - vec3 r123 = sqrt( R123 ); - vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 ); - vec3 C0 = R12 + Rs; - I = C0; - vec3 Cm = Rs - T121; - for ( int m = 1; m <= 2; ++ m ) { - Cm *= r123; - vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi ); - I += Cm * Sm; - } - return max( I, vec3( 0.0 ) ); - } -#endif`,LFt=`#ifdef USE_BUMPMAP - uniform sampler2D bumpMap; - uniform float bumpScale; - vec2 dHdxy_fwd() { - vec2 dSTdx = dFdx( vUv ); - vec2 dSTdy = dFdy( vUv ); - float Hll = bumpScale * texture2D( bumpMap, vUv ).x; - float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll; - float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll; - return vec2( dBx, dBy ); - } - vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) { - vec3 vSigmaX = dFdx( surf_pos.xyz ); - vec3 vSigmaY = dFdy( surf_pos.xyz ); - vec3 vN = surf_norm; - vec3 R1 = cross( vSigmaY, vN ); - vec3 R2 = cross( vN, vSigmaX ); - float fDet = dot( vSigmaX, R1 ) * faceDirection; - vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); - return normalize( abs( fDet ) * surf_norm - vGrad ); - } -#endif`,NFt=`#if NUM_CLIPPING_PLANES > 0 - vec4 plane; - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - bool clipped = true; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; - } - #pragma unroll_loop_end - if ( clipped ) discard; - #endif -#endif`,$Ft=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; - uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; -#endif`,FFt=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; -#endif`,jFt=`#if NUM_CLIPPING_PLANES > 0 - vClipPosition = - mvPosition.xyz; -#endif`,BFt=`#if defined( USE_COLOR_ALPHA ) - diffuseColor *= vColor; -#elif defined( USE_COLOR ) - diffuseColor.rgb *= vColor; -#endif`,zFt=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) - varying vec3 vColor; -#endif`,UFt=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) - varying vec3 vColor; -#endif`,WFt=`#if defined( USE_COLOR_ALPHA ) - vColor = vec4( 1.0 ); -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) - vColor = vec3( 1.0 ); -#endif -#ifdef USE_COLOR - vColor *= color; -#endif -#ifdef USE_INSTANCING_COLOR - vColor.xyz *= instanceColor.xyz; -#endif`,VFt=`#define PI 3.141592653589793 -#define PI2 6.283185307179586 -#define PI_HALF 1.5707963267948966 -#define RECIPROCAL_PI 0.3183098861837907 -#define RECIPROCAL_PI2 0.15915494309189535 -#define EPSILON 1e-6 -#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -#define whiteComplement( a ) ( 1.0 - saturate( a ) ) -float pow2( const in float x ) { return x*x; } -vec3 pow2( const in vec3 x ) { return x*x; } -float pow3( const in float x ) { return x*x*x; } -float pow4( const in float x ) { float x2 = x*x; return x2*x2; } -float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } -float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } -highp float rand( const in vec2 uv ) { - const highp float a = 12.9898, b = 78.233, c = 43758.5453; - highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); - return fract( sin( sn ) * c ); -} -#ifdef HIGH_PRECISION - float precisionSafeLength( vec3 v ) { return length( v ); } -#else - float precisionSafeLength( vec3 v ) { - float maxComponent = max3( abs( v ) ); - return length( v / maxComponent ) * maxComponent; - } -#endif -struct IncidentLight { - vec3 color; - vec3 direction; - bool visible; -}; -struct ReflectedLight { - vec3 directDiffuse; - vec3 directSpecular; - vec3 indirectDiffuse; - vec3 indirectSpecular; -}; -struct GeometricContext { - vec3 position; - vec3 normal; - vec3 viewDir; -#ifdef USE_CLEARCOAT - vec3 clearcoatNormal; -#endif -}; -vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); -} -vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); -} -mat3 transposeMat3( const in mat3 m ) { - mat3 tmp; - tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); - tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); - tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); - return tmp; -} -float luminance( const in vec3 rgb ) { - const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 ); - return dot( weights, rgb ); -} -bool isPerspectiveMatrix( mat4 m ) { - return m[ 2 ][ 3 ] == - 1.0; -} -vec2 equirectUv( in vec3 dir ) { - float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; - float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; - return vec2( u, v ); -}`,GFt=`#ifdef ENVMAP_TYPE_CUBE_UV - #define cubeUV_minMipLevel 4.0 - #define cubeUV_minTileSize 16.0 - float getFace( vec3 direction ) { - vec3 absDirection = abs( direction ); - float face = - 1.0; - if ( absDirection.x > absDirection.z ) { - if ( absDirection.x > absDirection.y ) - face = direction.x > 0.0 ? 0.0 : 3.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } else { - if ( absDirection.z > absDirection.y ) - face = direction.z > 0.0 ? 2.0 : 5.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } - return face; - } - vec2 getUV( vec3 direction, float face ) { - vec2 uv; - if ( face == 0.0 ) { - uv = vec2( direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 1.0 ) { - uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); - } else if ( face == 2.0 ) { - uv = vec2( - direction.x, direction.y ) / abs( direction.z ); - } else if ( face == 3.0 ) { - uv = vec2( - direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 4.0 ) { - uv = vec2( - direction.x, direction.z ) / abs( direction.y ); - } else { - uv = vec2( direction.x, direction.y ) / abs( direction.z ); - } - return 0.5 * ( uv + 1.0 ); - } - vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { - float face = getFace( direction ); - float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); - mipInt = max( mipInt, cubeUV_minMipLevel ); - float faceSize = exp2( mipInt ); - vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; - if ( face > 2.0 ) { - uv.y += faceSize; - face -= 3.0; - } - uv.x += face * faceSize; - uv.x += filterInt * 3.0 * cubeUV_minTileSize; - uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); - uv.x *= CUBEUV_TEXEL_WIDTH; - uv.y *= CUBEUV_TEXEL_HEIGHT; - #ifdef texture2DGradEXT - return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; - #else - return texture2D( envMap, uv ).rgb; - #endif - } - #define cubeUV_r0 1.0 - #define cubeUV_v0 0.339 - #define cubeUV_m0 - 2.0 - #define cubeUV_r1 0.8 - #define cubeUV_v1 0.276 - #define cubeUV_m1 - 1.0 - #define cubeUV_r4 0.4 - #define cubeUV_v4 0.046 - #define cubeUV_m4 2.0 - #define cubeUV_r5 0.305 - #define cubeUV_v5 0.016 - #define cubeUV_m5 3.0 - #define cubeUV_r6 0.21 - #define cubeUV_v6 0.0038 - #define cubeUV_m6 4.0 - float roughnessToMip( float roughness ) { - float mip = 0.0; - if ( roughness >= cubeUV_r1 ) { - mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; - } else if ( roughness >= cubeUV_r4 ) { - mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; - } else if ( roughness >= cubeUV_r5 ) { - mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; - } else if ( roughness >= cubeUV_r6 ) { - mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; - } else { - mip = - 2.0 * log2( 1.16 * roughness ); } - return mip; - } - vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { - float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); - float mipF = fract( mip ); - float mipInt = floor( mip ); - vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); - if ( mipF == 0.0 ) { - return vec4( color0, 1.0 ); - } else { - vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); - return vec4( mix( color0, color1, mipF ), 1.0 ); - } - } -#endif`,HFt=`vec3 transformedNormal = objectNormal; -#ifdef USE_INSTANCING - mat3 m = mat3( instanceMatrix ); - transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); - transformedNormal = m * transformedNormal; -#endif -transformedNormal = normalMatrix * transformedNormal; -#ifdef FLIP_SIDED - transformedNormal = - transformedNormal; -#endif -#ifdef USE_TANGENT - vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #ifdef FLIP_SIDED - transformedTangent = - transformedTangent; - #endif -#endif`,qFt=`#ifdef USE_DISPLACEMENTMAP - uniform sampler2D displacementMap; - uniform float displacementScale; - uniform float displacementBias; -#endif`,XFt=`#ifdef USE_DISPLACEMENTMAP - transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias ); -#endif`,QFt=`#ifdef USE_EMISSIVEMAP - vec4 emissiveColor = texture2D( emissiveMap, vUv ); - totalEmissiveRadiance *= emissiveColor.rgb; -#endif`,YFt=`#ifdef USE_EMISSIVEMAP - uniform sampler2D emissiveMap; -#endif`,KFt="gl_FragColor = linearToOutputTexel( gl_FragColor );",ZFt=`vec4 LinearToLinear( in vec4 value ) { - return value; -} -vec4 LinearTosRGB( in vec4 value ) { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); -}`,JFt=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vec3 cameraToFrag; - if ( isOrthographic ) { - cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToFrag = normalize( vWorldPosition - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vec3 reflectVec = reflect( cameraToFrag, worldNormal ); - #else - vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); - #endif - #else - vec3 reflectVec = vReflect; - #endif - #ifdef ENVMAP_TYPE_CUBE - vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); - #elif defined( ENVMAP_TYPE_CUBE_UV ) - vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 ); - #else - vec4 envColor = vec4( 0.0 ); - #endif - #ifdef ENVMAP_BLENDING_MULTIPLY - outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_MIX ) - outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_ADD ) - outgoingLight += envColor.xyz * specularStrength * reflectivity; - #endif -#endif`,ejt=`#ifdef USE_ENVMAP - uniform float envMapIntensity; - uniform float flipEnvMap; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; - #else - uniform sampler2D envMap; - #endif - -#endif`,tjt=`#ifdef USE_ENVMAP - uniform float reflectivity; - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - varying vec3 vWorldPosition; - uniform float refractionRatio; - #else - varying vec3 vReflect; - #endif -#endif`,njt=`#ifdef USE_ENVMAP - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - - varying vec3 vWorldPosition; - #else - varying vec3 vReflect; - uniform float refractionRatio; - #endif -#endif`,rjt=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vWorldPosition = worldPosition.xyz; - #else - vec3 cameraToVertex; - if ( isOrthographic ) { - cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vReflect = reflect( cameraToVertex, worldNormal ); - #else - vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); - #endif - #endif -#endif`,ijt=`#ifdef USE_FOG - vFogDepth = - mvPosition.z; -#endif`,ojt=`#ifdef USE_FOG - varying float vFogDepth; -#endif`,ajt=`#ifdef USE_FOG - #ifdef FOG_EXP2 - float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); - #else - float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); - #endif - gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); -#endif`,sjt=`#ifdef USE_FOG - uniform vec3 fogColor; - varying float vFogDepth; - #ifdef FOG_EXP2 - uniform float fogDensity; - #else - uniform float fogNear; - uniform float fogFar; - #endif -#endif`,ljt=`#ifdef USE_GRADIENTMAP - uniform sampler2D gradientMap; -#endif -vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { - float dotNL = dot( normal, lightDirection ); - vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); - #ifdef USE_GRADIENTMAP - return vec3( texture2D( gradientMap, coord ).r ); - #else - vec2 fw = fwidth( coord ) * 0.5; - return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); - #endif -}`,cjt=`#ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - reflectedLight.indirectDiffuse += lightMapIrradiance; -#endif`,ujt=`#ifdef USE_LIGHTMAP - uniform sampler2D lightMap; - uniform float lightMapIntensity; -#endif`,fjt=`LambertMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularStrength = specularStrength;`,djt=`varying vec3 vViewPosition; -struct LambertMaterial { - vec3 diffuseColor; - float specularStrength; -}; -void RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Lambert -#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert -#define Material_LightProbeLOD( material ) (0)`,hjt=`uniform bool receiveShadow; -uniform vec3 ambientLightColor; -uniform vec3 lightProbe[ 9 ]; -vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { - float x = normal.x, y = normal.y, z = normal.z; - vec3 result = shCoefficients[ 0 ] * 0.886227; - result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; - result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; - result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; - result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; - result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; - result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); - result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; - result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); - return result; -} -vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); - return irradiance; -} -vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { - vec3 irradiance = ambientLightColor; - return irradiance; -} -float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { - #if defined ( PHYSICALLY_CORRECT_LIGHTS ) - float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); - if ( cutoffDistance > 0.0 ) { - distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); - } - return distanceFalloff; - #else - if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) { - return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent ); - } - return 1.0; - #endif -} -float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { - return smoothstep( coneCosine, penumbraCosine, angleCosine ); -} -#if NUM_DIR_LIGHTS > 0 - struct DirectionalLight { - vec3 direction; - vec3 color; - }; - uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; - void getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) { - light.color = directionalLight.color; - light.direction = directionalLight.direction; - light.visible = true; - } -#endif -#if NUM_POINT_LIGHTS > 0 - struct PointLight { - vec3 position; - vec3 color; - float distance; - float decay; - }; - uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; - void getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) { - vec3 lVector = pointLight.position - geometry.position; - light.direction = normalize( lVector ); - float lightDistance = length( lVector ); - light.color = pointLight.color; - light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } -#endif -#if NUM_SPOT_LIGHTS > 0 - struct SpotLight { - vec3 position; - vec3 direction; - vec3 color; - float distance; - float decay; - float coneCos; - float penumbraCos; - }; - uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; - void getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) { - vec3 lVector = spotLight.position - geometry.position; - light.direction = normalize( lVector ); - float angleCos = dot( light.direction, spotLight.direction ); - float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); - if ( spotAttenuation > 0.0 ) { - float lightDistance = length( lVector ); - light.color = spotLight.color * spotAttenuation; - light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } else { - light.color = vec3( 0.0 ); - light.visible = false; - } - } -#endif -#if NUM_RECT_AREA_LIGHTS > 0 - struct RectAreaLight { - vec3 color; - vec3 position; - vec3 halfWidth; - vec3 halfHeight; - }; - uniform sampler2D ltc_1; uniform sampler2D ltc_2; - uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; -#endif -#if NUM_HEMI_LIGHTS > 0 - struct HemisphereLight { - vec3 direction; - vec3 skyColor; - vec3 groundColor; - }; - uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; - vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { - float dotNL = dot( normal, hemiLight.direction ); - float hemiDiffuseWeight = 0.5 * dotNL + 0.5; - vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); - return irradiance; - } -#endif`,pjt=`#if defined( USE_ENVMAP ) - vec3 getIBLIrradiance( const in vec3 normal ) { - #if defined( ENVMAP_TYPE_CUBE_UV ) - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); - return PI * envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { - #if defined( ENVMAP_TYPE_CUBE_UV ) - vec3 reflectVec = reflect( - viewDir, normal ); - reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); - reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); - return envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } -#endif`,mjt=`ToonMaterial material; -material.diffuseColor = diffuseColor.rgb;`,gjt=`varying vec3 vViewPosition; -struct ToonMaterial { - vec3 diffuseColor; -}; -void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Toon -#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon -#define Material_LightProbeLOD( material ) (0)`,vjt=`BlinnPhongMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularColor = specular; -material.specularShininess = shininess; -material.specularStrength = specularStrength;`,yjt=`varying vec3 vViewPosition; -struct BlinnPhongMaterial { - vec3 diffuseColor; - vec3 specularColor; - float specularShininess; - float specularStrength; -}; -void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; -} -void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_BlinnPhong -#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong -#define Material_LightProbeLOD( material ) (0)`,xjt=`PhysicalMaterial material; -material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); -vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); -float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); -material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; -material.roughness = min( material.roughness, 1.0 ); -#ifdef IOR - material.ior = ior; - #ifdef SPECULAR - float specularIntensityFactor = specularIntensity; - vec3 specularColorFactor = specularColor; - #ifdef USE_SPECULARINTENSITYMAP - specularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a; - #endif - #ifdef USE_SPECULARCOLORMAP - specularColorFactor *= texture2D( specularColorMap, vUv ).rgb; - #endif - material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); - #else - float specularIntensityFactor = 1.0; - vec3 specularColorFactor = vec3( 1.0 ); - material.specularF90 = 1.0; - #endif - material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); -#else - material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); - material.specularF90 = 1.0; -#endif -#ifdef USE_CLEARCOAT - material.clearcoat = clearcoat; - material.clearcoatRoughness = clearcoatRoughness; - material.clearcoatF0 = vec3( 0.04 ); - material.clearcoatF90 = 1.0; - #ifdef USE_CLEARCOATMAP - material.clearcoat *= texture2D( clearcoatMap, vUv ).x; - #endif - #ifdef USE_CLEARCOAT_ROUGHNESSMAP - material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y; - #endif - material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); - material.clearcoatRoughness += geometryRoughness; - material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); -#endif -#ifdef USE_IRIDESCENCE - material.iridescence = iridescence; - material.iridescenceIOR = iridescenceIOR; - #ifdef USE_IRIDESCENCEMAP - material.iridescence *= texture2D( iridescenceMap, vUv ).r; - #endif - #ifdef USE_IRIDESCENCE_THICKNESSMAP - material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum; - #else - material.iridescenceThickness = iridescenceThicknessMaximum; - #endif -#endif -#ifdef USE_SHEEN - material.sheenColor = sheenColor; - #ifdef USE_SHEENCOLORMAP - material.sheenColor *= texture2D( sheenColorMap, vUv ).rgb; - #endif - material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 ); - #ifdef USE_SHEENROUGHNESSMAP - material.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a; - #endif -#endif`,bjt=`struct PhysicalMaterial { - vec3 diffuseColor; - float roughness; - vec3 specularColor; - float specularF90; - #ifdef USE_CLEARCOAT - float clearcoat; - float clearcoatRoughness; - vec3 clearcoatF0; - float clearcoatF90; - #endif - #ifdef USE_IRIDESCENCE - float iridescence; - float iridescenceIOR; - float iridescenceThickness; - vec3 iridescenceFresnel; - vec3 iridescenceF0; - #endif - #ifdef USE_SHEEN - vec3 sheenColor; - float sheenRoughness; - #endif - #ifdef IOR - float ior; - #endif - #ifdef USE_TRANSMISSION - float transmission; - float transmissionAlpha; - float thickness; - float attenuationDistance; - vec3 attenuationColor; - #endif -}; -vec3 clearcoatSpecular = vec3( 0.0 ); -vec3 sheenSpecular = vec3( 0.0 ); -float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - float r2 = roughness * roughness; - float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; - float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; - float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); - return saturate( DG * RECIPROCAL_PI ); -} -vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); - const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 ); - vec4 r = roughness * c0 + c1; - float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; - vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw; - return fab; -} -vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { - vec2 fab = DFGApprox( normal, viewDir, roughness ); - return specularColor * fab.x + specularF90 * fab.y; -} -#ifdef USE_IRIDESCENCE -void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#else -void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#endif - vec2 fab = DFGApprox( normal, viewDir, roughness ); - #ifdef USE_IRIDESCENCE - vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); - #else - vec3 Fr = specularColor; - #endif - vec3 FssEss = Fr * fab.x + specularF90 * fab.y; - float Ess = fab.x + fab.y; - float Ems = 1.0 - Ess; - vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); - singleScatter += FssEss; - multiScatter += Fms * Ems; -} -#if NUM_RECT_AREA_LIGHTS > 0 - void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 normal = geometry.normal; - vec3 viewDir = geometry.viewDir; - vec3 position = geometry.position; - vec3 lightPos = rectAreaLight.position; - vec3 halfWidth = rectAreaLight.halfWidth; - vec3 halfHeight = rectAreaLight.halfHeight; - vec3 lightColor = rectAreaLight.color; - float roughness = material.roughness; - vec3 rectCoords[ 4 ]; - rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; - rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; - rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; - vec2 uv = LTC_Uv( normal, viewDir, roughness ); - vec4 t1 = texture2D( ltc_1, uv ); - vec4 t2 = texture2D( ltc_2, uv ); - mat3 mInv = mat3( - vec3( t1.x, 0, t1.y ), - vec3( 0, 1, 0 ), - vec3( t1.z, 0, t1.w ) - ); - vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); - reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); - reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); - } -#endif -void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - #ifdef USE_CLEARCOAT - float dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); - vec3 ccIrradiance = dotNLcc * directLight.color; - clearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); - #endif - #ifdef USE_IRIDESCENCE - reflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); - #else - reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness ); - #endif - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { - #ifdef USE_CLEARCOAT - clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); - #endif - vec3 singleScattering = vec3( 0.0 ); - vec3 multiScattering = vec3( 0.0 ); - vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; - #ifdef USE_IRIDESCENCE - computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering ); - #else - computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering ); - #endif - vec3 totalScattering = singleScattering + multiScattering; - vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); - reflectedLight.indirectSpecular += radiance * singleScattering; - reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; - reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; -} -#define RE_Direct RE_Direct_Physical -#define RE_Direct_RectArea RE_Direct_RectArea_Physical -#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical -#define RE_IndirectSpecular RE_IndirectSpecular_Physical -float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { - return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); -}`,_jt=` -GeometricContext geometry; -geometry.position = - vViewPosition; -geometry.normal = normal; -geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); -#ifdef USE_CLEARCOAT - geometry.clearcoatNormal = clearcoatNormal; -#endif -#ifdef USE_IRIDESCENCE - float dotNVi = saturate( dot( normal, geometry.viewDir ) ); - if ( material.iridescenceThickness == 0.0 ) { - material.iridescence = 0.0; - } else { - material.iridescence = saturate( material.iridescence ); - } - if ( material.iridescence > 0.0 ) { - material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); - material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); - } -#endif -IncidentLight directLight; -#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) - PointLight pointLight; - #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { - pointLight = pointLights[ i ]; - getPointLightInfo( pointLight, geometry, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) - pointLightShadow = pointLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) - SpotLight spotLight; - vec4 spotColor; - vec3 spotLightCoord; - bool inSpotLightMap; - #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { - spotLight = spotLights[ i ]; - getSpotLightInfo( spotLight, geometry, directLight ); - #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX - #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS - #else - #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #endif - #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) - spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; - inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); - spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); - directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; - #endif - #undef SPOT_LIGHT_MAP_INDEX - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - spotLightShadow = spotLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) - DirectionalLight directionalLight; - #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { - directionalLight = directionalLights[ i ]; - getDirectionalLightInfo( directionalLight, geometry, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) - directionalLightShadow = directionalLightShadows[ i ]; - directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) - RectAreaLight rectAreaLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { - rectAreaLight = rectAreaLights[ i ]; - RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if defined( RE_IndirectDiffuse ) - vec3 iblIrradiance = vec3( 0.0 ); - vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); - irradiance += getLightProbeIrradiance( lightProbe, geometry.normal ); - #if ( NUM_HEMI_LIGHTS > 0 ) - #pragma unroll_loop_start - for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { - irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal ); - } - #pragma unroll_loop_end - #endif -#endif -#if defined( RE_IndirectSpecular ) - vec3 radiance = vec3( 0.0 ); - vec3 clearcoatRadiance = vec3( 0.0 ); -#endif`,wjt=`#if defined( RE_IndirectDiffuse ) - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - irradiance += lightMapIrradiance; - #endif - #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) - iblIrradiance += getIBLIrradiance( geometry.normal ); - #endif -#endif -#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) - radiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness ); - #ifdef USE_CLEARCOAT - clearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness ); - #endif -#endif`,Sjt=`#if defined( RE_IndirectDiffuse ) - RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); -#endif -#if defined( RE_IndirectSpecular ) - RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); -#endif`,Ojt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) - gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; -#endif`,Cjt=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) - uniform float logDepthBufFC; - varying float vFragDepth; - varying float vIsPerspective; -#endif`,Tjt=`#ifdef USE_LOGDEPTHBUF - #ifdef USE_LOGDEPTHBUF_EXT - varying float vFragDepth; - varying float vIsPerspective; - #else - uniform float logDepthBufFC; - #endif -#endif`,Ejt=`#ifdef USE_LOGDEPTHBUF - #ifdef USE_LOGDEPTHBUF_EXT - vFragDepth = 1.0 + gl_Position.w; - vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); - #else - if ( isPerspectiveMatrix( projectionMatrix ) ) { - gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; - gl_Position.z *= gl_Position.w; - } - #endif -#endif`,Pjt=`#ifdef USE_MAP - vec4 sampledDiffuseColor = texture2D( map, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); - #endif - diffuseColor *= sampledDiffuseColor; -#endif`,Mjt=`#ifdef USE_MAP - uniform sampler2D map; -#endif`,kjt=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; -#endif -#ifdef USE_MAP - diffuseColor *= texture2D( map, uv ); -#endif -#ifdef USE_ALPHAMAP - diffuseColor.a *= texture2D( alphaMap, uv ).g; -#endif`,Ajt=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - uniform mat3 uvTransform; -#endif -#ifdef USE_MAP - uniform sampler2D map; -#endif -#ifdef USE_ALPHAMAP - uniform sampler2D alphaMap; -#endif`,Rjt=`float metalnessFactor = metalness; -#ifdef USE_METALNESSMAP - vec4 texelMetalness = texture2D( metalnessMap, vUv ); - metalnessFactor *= texelMetalness.b; -#endif`,Ijt=`#ifdef USE_METALNESSMAP - uniform sampler2D metalnessMap; -#endif`,Djt=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) - vColor *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - #if defined( USE_COLOR_ALPHA ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; - #elif defined( USE_COLOR ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; - #endif - } -#endif`,Ljt=`#ifdef USE_MORPHNORMALS - objectNormal *= morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; - } - #else - objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; - objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; - objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; - objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; - #endif -#endif`,Njt=`#ifdef USE_MORPHTARGETS - uniform float morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - uniform sampler2DArray morphTargetsTexture; - uniform ivec2 morphTargetsTextureSize; - vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { - int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; - int y = texelIndex / morphTargetsTextureSize.x; - int x = texelIndex - y * morphTargetsTextureSize.x; - ivec3 morphUV = ivec3( x, y, morphTargetIndex ); - return texelFetch( morphTargetsTexture, morphUV, 0 ); - } - #else - #ifndef USE_MORPHNORMALS - uniform float morphTargetInfluences[ 8 ]; - #else - uniform float morphTargetInfluences[ 4 ]; - #endif - #endif -#endif`,$jt=`#ifdef USE_MORPHTARGETS - transformed *= morphTargetBaseInfluence; - #ifdef MORPHTARGETS_TEXTURE - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; - } - #else - transformed += morphTarget0 * morphTargetInfluences[ 0 ]; - transformed += morphTarget1 * morphTargetInfluences[ 1 ]; - transformed += morphTarget2 * morphTargetInfluences[ 2 ]; - transformed += morphTarget3 * morphTargetInfluences[ 3 ]; - #ifndef USE_MORPHNORMALS - transformed += morphTarget4 * morphTargetInfluences[ 4 ]; - transformed += morphTarget5 * morphTargetInfluences[ 5 ]; - transformed += morphTarget6 * morphTargetInfluences[ 6 ]; - transformed += morphTarget7 * morphTargetInfluences[ 7 ]; - #endif - #endif -#endif`,Fjt=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; -#ifdef FLAT_SHADED - vec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) ); - vec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) ); - vec3 normal = normalize( cross( fdx, fdy ) ); -#else - vec3 normal = normalize( vNormal ); - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - #ifdef USE_TANGENT - vec3 tangent = normalize( vTangent ); - vec3 bitangent = normalize( vBitangent ); - #ifdef DOUBLE_SIDED - tangent = tangent * faceDirection; - bitangent = bitangent * faceDirection; - #endif - #if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP ) - mat3 vTBN = mat3( tangent, bitangent, normal ); - #endif - #endif -#endif -vec3 geometryNormal = normal;`,jjt=`#ifdef OBJECTSPACE_NORMALMAP - normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; - #ifdef FLIP_SIDED - normal = - normal; - #endif - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - normal = normalize( normalMatrix * normal ); -#elif defined( TANGENTSPACE_NORMALMAP ) - vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; - mapN.xy *= normalScale; - #ifdef USE_TANGENT - normal = normalize( vTBN * mapN ); - #else - normal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection ); - #endif -#elif defined( USE_BUMPMAP ) - normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); -#endif`,Bjt=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,zjt=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,Ujt=`#ifndef FLAT_SHADED - vNormal = normalize( transformedNormal ); - #ifdef USE_TANGENT - vTangent = normalize( transformedTangent ); - vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); - #endif -#endif`,Wjt=`#ifdef USE_NORMALMAP - uniform sampler2D normalMap; - uniform vec2 normalScale; -#endif -#ifdef OBJECTSPACE_NORMALMAP - uniform mat3 normalMatrix; -#endif -#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) ) - vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) { - vec3 q0 = dFdx( eye_pos.xyz ); - vec3 q1 = dFdy( eye_pos.xyz ); - vec2 st0 = dFdx( vUv.st ); - vec2 st1 = dFdy( vUv.st ); - vec3 N = surf_norm; - vec3 q1perp = cross( q1, N ); - vec3 q0perp = cross( N, q0 ); - vec3 T = q1perp * st0.x + q0perp * st1.x; - vec3 B = q1perp * st0.y + q0perp * st1.y; - float det = max( dot( T, T ), dot( B, B ) ); - float scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det ); - return normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z ); - } -#endif`,Vjt=`#ifdef USE_CLEARCOAT - vec3 clearcoatNormal = geometryNormal; -#endif`,Gjt=`#ifdef USE_CLEARCOAT_NORMALMAP - vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0; - clearcoatMapN.xy *= clearcoatNormalScale; - #ifdef USE_TANGENT - clearcoatNormal = normalize( vTBN * clearcoatMapN ); - #else - clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection ); - #endif -#endif`,Hjt=`#ifdef USE_CLEARCOATMAP - uniform sampler2D clearcoatMap; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform sampler2D clearcoatRoughnessMap; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform sampler2D clearcoatNormalMap; - uniform vec2 clearcoatNormalScale; -#endif`,qjt=`#ifdef USE_IRIDESCENCEMAP - uniform sampler2D iridescenceMap; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform sampler2D iridescenceThicknessMap; -#endif`,Xjt=`#ifdef OPAQUE -diffuseColor.a = 1.0; -#endif -#ifdef USE_TRANSMISSION -diffuseColor.a *= material.transmissionAlpha + 0.1; -#endif -gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,Qjt=`vec3 packNormalToRGB( const in vec3 normal ) { - return normalize( normal ) * 0.5 + 0.5; -} -vec3 unpackRGBToNormal( const in vec3 rgb ) { - return 2.0 * rgb.xyz - 1.0; -} -const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; -const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); -const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); -const float ShiftRight8 = 1. / 256.; -vec4 packDepthToRGBA( const in float v ) { - vec4 r = vec4( fract( v * PackFactors ), v ); - r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; -} -float unpackRGBAToDepth( const in vec4 v ) { - return dot( v, UnpackFactors ); -} -vec4 pack2HalfToRGBA( vec2 v ) { - vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); - return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); -} -vec2 unpackRGBATo2Half( vec4 v ) { - return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); -} -float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { - return ( viewZ + near ) / ( near - far ); -} -float orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) { - return linearClipZ * ( near - far ) - near; -} -float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { - return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); -} -float perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) { - return ( near * far ) / ( ( far - near ) * invClipZ - far ); -}`,Yjt=`#ifdef PREMULTIPLIED_ALPHA - gl_FragColor.rgb *= gl_FragColor.a; -#endif`,Kjt=`vec4 mvPosition = vec4( transformed, 1.0 ); -#ifdef USE_INSTANCING - mvPosition = instanceMatrix * mvPosition; -#endif -mvPosition = modelViewMatrix * mvPosition; -gl_Position = projectionMatrix * mvPosition;`,Zjt=`#ifdef DITHERING - gl_FragColor.rgb = dithering( gl_FragColor.rgb ); -#endif`,Jjt=`#ifdef DITHERING - vec3 dithering( vec3 color ) { - float grid_position = rand( gl_FragCoord.xy ); - vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); - dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); - return color + dither_shift_RGB; - } -#endif`,e5t=`float roughnessFactor = roughness; -#ifdef USE_ROUGHNESSMAP - vec4 texelRoughness = texture2D( roughnessMap, vUv ); - roughnessFactor *= texelRoughness.g; -#endif`,t5t=`#ifdef USE_ROUGHNESSMAP - uniform sampler2D roughnessMap; -#endif`,n5t=`#if NUM_SPOT_LIGHT_COORDS > 0 - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#if NUM_SPOT_LIGHT_MAPS > 0 - uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - struct SpotLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { - return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); - } - vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { - return unpackRGBATo2Half( texture2D( shadow, uv ) ); - } - float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ - float occlusion = 1.0; - vec2 distribution = texture2DDistribution( shadow, uv ); - float hard_shadow = step( compare , distribution.x ); - if (hard_shadow != 1.0 ) { - float distance = compare - distribution.x ; - float variance = max( 0.00000, distribution.y * distribution.y ); - float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); - } - return occlusion; - } - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 ); - bool inFrustum = all( inFrustumVec ); - bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 ); - bool frustumTest = all( frustumTestVec ); - if ( frustumTest ) { - #if defined( SHADOWMAP_TYPE_PCF ) - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float dx0 = - texelSize.x * shadowRadius; - float dy0 = - texelSize.y * shadowRadius; - float dx1 = + texelSize.x * shadowRadius; - float dy1 = + texelSize.y * shadowRadius; - float dx2 = dx0 / 2.0; - float dy2 = dy0 / 2.0; - float dx3 = dx1 / 2.0; - float dy3 = dy1 / 2.0; - shadow = ( - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + - texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) - ) * ( 1.0 / 17.0 ); - #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float dx = texelSize.x; - float dy = texelSize.y; - vec2 uv = shadowCoord.xy; - vec2 f = fract( uv * shadowMapSize + 0.5 ); - uv -= f * texelSize; - shadow = ( - texture2DCompare( shadowMap, uv, shadowCoord.z ) + - texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + - texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + - texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + - mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), - f.x ) + - mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), - f.x ) + - mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), - f.y ) + - mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), - f.y ) + - mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), - f.x ), - mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), - texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), - f.x ), - f.y ) - ) * ( 1.0 / 9.0 ); - #elif defined( SHADOWMAP_TYPE_VSM ) - shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); - #else - shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); - #endif - } - return shadow; - } - vec2 cubeToUV( vec3 v, float texelSizeY ) { - vec3 absV = abs( v ); - float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); - absV *= scaleToCube; - v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); - vec2 planar = v.xy; - float almostATexel = 1.5 * texelSizeY; - float almostOne = 1.0 - almostATexel; - if ( absV.z >= almostOne ) { - if ( v.z > 0.0 ) - planar.x = 4.0 - v.x; - } else if ( absV.x >= almostOne ) { - float signX = sign( v.x ); - planar.x = v.z * signX + 2.0 * signX; - } else if ( absV.y >= almostOne ) { - float signY = sign( v.y ); - planar.x = v.x + 2.0 * signY + 2.0; - planar.y = v.z * signY - 2.0; - } - return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); - } - float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); - vec3 lightToPosition = shadowCoord.xyz; - float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; - vec3 bd3D = normalize( lightToPosition ); - #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) - vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; - return ( - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + - texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) - ) * ( 1.0 / 9.0 ); - #else - return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); - #endif - } -#endif`,r5t=`#if NUM_SPOT_LIGHT_COORDS > 0 - uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - struct SpotLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif -#endif`,i5t=`#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) - #if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 - vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - vec4 shadowWorldPosition; - #endif - #if NUM_DIR_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); - vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_COORDS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { - shadowWorldPosition = worldPosition; - #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; - #endif - vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); - vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif -#endif`,o5t=`float getShadowMask() { - float shadow = 1.0; - #ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - directionalLight = directionalLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { - spotLight = spotLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - pointLight = pointLightShadows[ i ]; - shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; - } - #pragma unroll_loop_end - #endif - #endif - return shadow; -}`,a5t=`#ifdef USE_SKINNING - mat4 boneMatX = getBoneMatrix( skinIndex.x ); - mat4 boneMatY = getBoneMatrix( skinIndex.y ); - mat4 boneMatZ = getBoneMatrix( skinIndex.z ); - mat4 boneMatW = getBoneMatrix( skinIndex.w ); -#endif`,s5t=`#ifdef USE_SKINNING - uniform mat4 bindMatrix; - uniform mat4 bindMatrixInverse; - uniform highp sampler2D boneTexture; - uniform int boneTextureSize; - mat4 getBoneMatrix( const in float i ) { - float j = i * 4.0; - float x = mod( j, float( boneTextureSize ) ); - float y = floor( j / float( boneTextureSize ) ); - float dx = 1.0 / float( boneTextureSize ); - float dy = 1.0 / float( boneTextureSize ); - y = dy * ( y + 0.5 ); - vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); - vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); - vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); - vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); - mat4 bone = mat4( v1, v2, v3, v4 ); - return bone; - } -#endif`,l5t=`#ifdef USE_SKINNING - vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); - vec4 skinned = vec4( 0.0 ); - skinned += boneMatX * skinVertex * skinWeight.x; - skinned += boneMatY * skinVertex * skinWeight.y; - skinned += boneMatZ * skinVertex * skinWeight.z; - skinned += boneMatW * skinVertex * skinWeight.w; - transformed = ( bindMatrixInverse * skinned ).xyz; -#endif`,c5t=`#ifdef USE_SKINNING - mat4 skinMatrix = mat4( 0.0 ); - skinMatrix += skinWeight.x * boneMatX; - skinMatrix += skinWeight.y * boneMatY; - skinMatrix += skinWeight.z * boneMatZ; - skinMatrix += skinWeight.w * boneMatW; - skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; - objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; - #ifdef USE_TANGENT - objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #endif -#endif`,u5t=`float specularStrength; -#ifdef USE_SPECULARMAP - vec4 texelSpecular = texture2D( specularMap, vUv ); - specularStrength = texelSpecular.r; -#else - specularStrength = 1.0; -#endif`,f5t=`#ifdef USE_SPECULARMAP - uniform sampler2D specularMap; -#endif`,d5t=`#if defined( TONE_MAPPING ) - gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); -#endif`,h5t=`#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -uniform float toneMappingExposure; -vec3 LinearToneMapping( vec3 color ) { - return toneMappingExposure * color; -} -vec3 ReinhardToneMapping( vec3 color ) { - color *= toneMappingExposure; - return saturate( color / ( vec3( 1.0 ) + color ) ); -} -vec3 OptimizedCineonToneMapping( vec3 color ) { - color *= toneMappingExposure; - color = max( vec3( 0.0 ), color - 0.004 ); - return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); -} -vec3 RRTAndODTFit( vec3 v ) { - vec3 a = v * ( v + 0.0245786 ) - 0.000090537; - vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; - return a / b; -} -vec3 ACESFilmicToneMapping( vec3 color ) { - const mat3 ACESInputMat = mat3( - vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), - vec3( 0.04823, 0.01566, 0.83777 ) - ); - const mat3 ACESOutputMat = mat3( - vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), - vec3( -0.07367, -0.00605, 1.07602 ) - ); - color *= toneMappingExposure / 0.6; - color = ACESInputMat * color; - color = RRTAndODTFit( color ); - color = ACESOutputMat * color; - return saturate( color ); -} -vec3 CustomToneMapping( vec3 color ) { return color; }`,p5t=`#ifdef USE_TRANSMISSION - material.transmission = transmission; - material.transmissionAlpha = 1.0; - material.thickness = thickness; - material.attenuationDistance = attenuationDistance; - material.attenuationColor = attenuationColor; - #ifdef USE_TRANSMISSIONMAP - material.transmission *= texture2D( transmissionMap, vUv ).r; - #endif - #ifdef USE_THICKNESSMAP - material.thickness *= texture2D( thicknessMap, vUv ).g; - #endif - vec3 pos = vWorldPosition; - vec3 v = normalize( cameraPosition - pos ); - vec3 n = inverseTransformDirection( normal, viewMatrix ); - vec4 transmission = getIBLVolumeRefraction( - n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, - pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness, - material.attenuationColor, material.attenuationDistance ); - material.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission ); - totalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission ); -#endif`,m5t=`#ifdef USE_TRANSMISSION - uniform float transmission; - uniform float thickness; - uniform float attenuationDistance; - uniform vec3 attenuationColor; - #ifdef USE_TRANSMISSIONMAP - uniform sampler2D transmissionMap; - #endif - #ifdef USE_THICKNESSMAP - uniform sampler2D thicknessMap; - #endif - uniform vec2 transmissionSamplerSize; - uniform sampler2D transmissionSamplerMap; - uniform mat4 modelMatrix; - uniform mat4 projectionMatrix; - varying vec3 vWorldPosition; - vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { - vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); - vec3 modelScale; - modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); - modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); - modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); - return normalize( refractionVector ) * thickness * modelScale; - } - float applyIorToRoughness( const in float roughness, const in float ior ) { - return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); - } - vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { - float framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); - #ifdef texture2DLodEXT - return texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod ); - #else - return texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod ); - #endif - } - vec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { - if ( attenuationDistance == 0.0 ) { - return radiance; - } else { - vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; - vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance * radiance; - } - } - vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, - const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, - const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness, - const in vec3 attenuationColor, const in float attenuationDistance ) { - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); - vec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance ); - vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); - return vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a ); - } -#endif`,g5t=`#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) - varying vec2 vUv; -#endif`,v5t=`#ifdef USE_UV - #ifdef UVS_VERTEX_ONLY - vec2 vUv; - #else - varying vec2 vUv; - #endif - uniform mat3 uvTransform; -#endif`,y5t=`#ifdef USE_UV - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; -#endif`,x5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - varying vec2 vUv2; -#endif`,b5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - attribute vec2 uv2; - varying vec2 vUv2; - uniform mat3 uv2Transform; -#endif`,_5t=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) - vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; -#endif`,w5t=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 - vec4 worldPosition = vec4( transformed, 1.0 ); - #ifdef USE_INSTANCING - worldPosition = instanceMatrix * worldPosition; - #endif - worldPosition = modelMatrix * worldPosition; -#endif`;const S5t=`varying vec2 vUv; -uniform mat3 uvTransform; -void main() { - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - gl_Position = vec4( position.xy, 1.0, 1.0 ); -}`,O5t=`uniform sampler2D t2D; -varying vec2 vUv; -void main() { - gl_FragColor = texture2D( t2D, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - gl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w ); - #endif - #include - #include -}`,C5t=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,T5t=`#include -uniform float opacity; -varying vec3 vWorldDirection; -#include -void main() { - vec3 vReflect = vWorldDirection; - #include - gl_FragColor = envColor; - gl_FragColor.a *= opacity; - #include - #include -}`,E5t=`#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vHighPrecisionZW = gl_Position.zw; -}`,P5t=`#if DEPTH_PACKING == 3200 - uniform float opacity; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - vec4 diffuseColor = vec4( 1.0 ); - #if DEPTH_PACKING == 3200 - diffuseColor.a = opacity; - #endif - #include - #include - #include - #include - float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5; - #if DEPTH_PACKING == 3200 - gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); - #elif DEPTH_PACKING == 3201 - gl_FragColor = packDepthToRGBA( fragCoordZ ); - #endif -}`,M5t=`#define DISTANCE -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vWorldPosition = worldPosition.xyz; -}`,k5t=`#define DISTANCE -uniform vec3 referencePosition; -uniform float nearDistance; -uniform float farDistance; -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main () { - #include - vec4 diffuseColor = vec4( 1.0 ); - #include - #include - #include - float dist = length( vWorldPosition - referencePosition ); - dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); - dist = saturate( dist ); - gl_FragColor = packDepthToRGBA( dist ); -}`,A5t=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include -}`,R5t=`uniform sampler2D tEquirect; -varying vec3 vWorldDirection; -#include -void main() { - vec3 direction = normalize( vWorldDirection ); - vec2 sampleUV = equirectUv( direction ); - gl_FragColor = texture2D( tEquirect, sampleUV ); - #include - #include -}`,I5t=`uniform float scale; -attribute float lineDistance; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -void main() { - vLineDistance = scale * lineDistance; - #include - #include - #include - #include - #include - #include - #include - #include -}`,D5t=`uniform vec3 diffuse; -uniform float opacity; -uniform float dashSize; -uniform float totalSize; -varying float vLineDistance; -#include -#include -#include -#include -#include -void main() { - #include - if ( mod( vLineDistance, totalSize ) > dashSize ) { - discard; - } - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,L5t=`#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) - #include - #include - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,N5t=`uniform vec3 diffuse; -uniform float opacity; -#ifndef FLAT_SHADED - varying vec3 vNormal; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vUv2 ); - reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; - #else - reflectedLight.indirectDiffuse += vec3( 1.0 ); - #endif - #include - reflectedLight.indirectDiffuse *= diffuseColor.rgb; - vec3 outgoingLight = reflectedLight.indirectDiffuse; - #include - #include - #include - #include - #include - #include - #include -}`,$5t=`#define LAMBERT -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,F5t=`#define LAMBERT -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,j5t=`#define MATCAP -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; -}`,B5t=`#define MATCAP -uniform vec3 diffuse; -uniform float opacity; -uniform sampler2D matcap; -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - vec3 viewDir = normalize( vViewPosition ); - vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); - vec3 y = cross( viewDir, x ); - vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; - #ifdef USE_MATCAP - vec4 matcapColor = texture2D( matcap, uv ); - #else - vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); - #endif - vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; - #include - #include - #include - #include - #include - #include -}`,z5t=`#define NORMAL -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - vViewPosition = - mvPosition.xyz; -#endif -}`,U5t=`#define NORMAL -uniform float opacity; -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); - #ifdef OPAQUE - gl_FragColor.a = 1.0; - #endif -}`,W5t=`#define PHONG -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,V5t=`#define PHONG -uniform vec3 diffuse; -uniform vec3 emissive; -uniform vec3 specular; -uniform float shininess; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,G5t=`#define STANDARD -varying vec3 vViewPosition; -#ifdef USE_TRANSMISSION - varying vec3 vWorldPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -#ifdef USE_TRANSMISSION - vWorldPosition = worldPosition.xyz; -#endif -}`,H5t=`#define STANDARD -#ifdef PHYSICAL - #define IOR - #define SPECULAR -#endif -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float roughness; -uniform float metalness; -uniform float opacity; -#ifdef IOR - uniform float ior; -#endif -#ifdef SPECULAR - uniform float specularIntensity; - uniform vec3 specularColor; - #ifdef USE_SPECULARINTENSITYMAP - uniform sampler2D specularIntensityMap; - #endif - #ifdef USE_SPECULARCOLORMAP - uniform sampler2D specularColorMap; - #endif -#endif -#ifdef USE_CLEARCOAT - uniform float clearcoat; - uniform float clearcoatRoughness; -#endif -#ifdef USE_IRIDESCENCE - uniform float iridescence; - uniform float iridescenceIOR; - uniform float iridescenceThicknessMinimum; - uniform float iridescenceThicknessMaximum; -#endif -#ifdef USE_SHEEN - uniform vec3 sheenColor; - uniform float sheenRoughness; - #ifdef USE_SHEENCOLORMAP - uniform sampler2D sheenColorMap; - #endif - #ifdef USE_SHEENROUGHNESSMAP - uniform sampler2D sheenRoughnessMap; - #endif -#endif -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; - vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; - #include - vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; - #ifdef USE_SHEEN - float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor ); - outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; - #endif - #ifdef USE_CLEARCOAT - float dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); - vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); - outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; - #endif - #include - #include - #include - #include - #include - #include -}`,q5t=`#define TOON -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -}`,X5t=`#define TOON -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec4 diffuseColor = vec4( diffuse, opacity ); - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include -}`,Q5t=`uniform float size; -uniform float scale; -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - gl_PointSize = size; - #ifdef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); - #endif - #include - #include - #include - #include -}`,Y5t=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,K5t=`#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,Z5t=`uniform vec3 color; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); - #include - #include - #include -}`,J5t=`uniform float rotation; -uniform vec2 center; -#include -#include -#include -#include -#include -void main() { - #include - vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); - vec2 scale; - scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); - scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); - #ifndef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) scale *= - mvPosition.z; - #endif - vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; - vec2 rotatedPosition; - rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; - rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; - mvPosition.xy += rotatedPosition; - gl_Position = projectionMatrix * mvPosition; - #include - #include - #include -}`,eBt=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - vec3 outgoingLight = vec3( 0.0 ); - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include -}`,Gt={alphamap_fragment:CFt,alphamap_pars_fragment:TFt,alphatest_fragment:EFt,alphatest_pars_fragment:PFt,aomap_fragment:MFt,aomap_pars_fragment:kFt,begin_vertex:AFt,beginnormal_vertex:RFt,bsdfs:IFt,iridescence_fragment:DFt,bumpmap_pars_fragment:LFt,clipping_planes_fragment:NFt,clipping_planes_pars_fragment:$Ft,clipping_planes_pars_vertex:FFt,clipping_planes_vertex:jFt,color_fragment:BFt,color_pars_fragment:zFt,color_pars_vertex:UFt,color_vertex:WFt,common:VFt,cube_uv_reflection_fragment:GFt,defaultnormal_vertex:HFt,displacementmap_pars_vertex:qFt,displacementmap_vertex:XFt,emissivemap_fragment:QFt,emissivemap_pars_fragment:YFt,encodings_fragment:KFt,encodings_pars_fragment:ZFt,envmap_fragment:JFt,envmap_common_pars_fragment:ejt,envmap_pars_fragment:tjt,envmap_pars_vertex:njt,envmap_physical_pars_fragment:pjt,envmap_vertex:rjt,fog_vertex:ijt,fog_pars_vertex:ojt,fog_fragment:ajt,fog_pars_fragment:sjt,gradientmap_pars_fragment:ljt,lightmap_fragment:cjt,lightmap_pars_fragment:ujt,lights_lambert_fragment:fjt,lights_lambert_pars_fragment:djt,lights_pars_begin:hjt,lights_toon_fragment:mjt,lights_toon_pars_fragment:gjt,lights_phong_fragment:vjt,lights_phong_pars_fragment:yjt,lights_physical_fragment:xjt,lights_physical_pars_fragment:bjt,lights_fragment_begin:_jt,lights_fragment_maps:wjt,lights_fragment_end:Sjt,logdepthbuf_fragment:Ojt,logdepthbuf_pars_fragment:Cjt,logdepthbuf_pars_vertex:Tjt,logdepthbuf_vertex:Ejt,map_fragment:Pjt,map_pars_fragment:Mjt,map_particle_fragment:kjt,map_particle_pars_fragment:Ajt,metalnessmap_fragment:Rjt,metalnessmap_pars_fragment:Ijt,morphcolor_vertex:Djt,morphnormal_vertex:Ljt,morphtarget_pars_vertex:Njt,morphtarget_vertex:$jt,normal_fragment_begin:Fjt,normal_fragment_maps:jjt,normal_pars_fragment:Bjt,normal_pars_vertex:zjt,normal_vertex:Ujt,normalmap_pars_fragment:Wjt,clearcoat_normal_fragment_begin:Vjt,clearcoat_normal_fragment_maps:Gjt,clearcoat_pars_fragment:Hjt,iridescence_pars_fragment:qjt,output_fragment:Xjt,packing:Qjt,premultiplied_alpha_fragment:Yjt,project_vertex:Kjt,dithering_fragment:Zjt,dithering_pars_fragment:Jjt,roughnessmap_fragment:e5t,roughnessmap_pars_fragment:t5t,shadowmap_pars_fragment:n5t,shadowmap_pars_vertex:r5t,shadowmap_vertex:i5t,shadowmask_pars_fragment:o5t,skinbase_vertex:a5t,skinning_pars_vertex:s5t,skinning_vertex:l5t,skinnormal_vertex:c5t,specularmap_fragment:u5t,specularmap_pars_fragment:f5t,tonemapping_fragment:d5t,tonemapping_pars_fragment:h5t,transmission_fragment:p5t,transmission_pars_fragment:m5t,uv_pars_fragment:g5t,uv_pars_vertex:v5t,uv_vertex:y5t,uv2_pars_fragment:x5t,uv2_pars_vertex:b5t,uv2_vertex:_5t,worldpos_vertex:w5t,background_vert:S5t,background_frag:O5t,cube_vert:C5t,cube_frag:T5t,depth_vert:E5t,depth_frag:P5t,distanceRGBA_vert:M5t,distanceRGBA_frag:k5t,equirect_vert:A5t,equirect_frag:R5t,linedashed_vert:I5t,linedashed_frag:D5t,meshbasic_vert:L5t,meshbasic_frag:N5t,meshlambert_vert:$5t,meshlambert_frag:F5t,meshmatcap_vert:j5t,meshmatcap_frag:B5t,meshnormal_vert:z5t,meshnormal_frag:U5t,meshphong_vert:W5t,meshphong_frag:V5t,meshphysical_vert:G5t,meshphysical_frag:H5t,meshtoon_vert:q5t,meshtoon_frag:X5t,points_vert:Q5t,points_frag:Y5t,shadow_vert:K5t,shadow_frag:Z5t,sprite_vert:J5t,sprite_frag:eBt},Je={common:{diffuse:{value:new lr(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new va},uv2Transform:{value:new va},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new qt(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new lr(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new lr(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new va}},sprite:{diffuse:{value:new lr(16777215)},opacity:{value:1},center:{value:new qt(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new va}}},_l={basic:{uniforms:zi([Je.common,Je.specularmap,Je.envmap,Je.aomap,Je.lightmap,Je.fog]),vertexShader:Gt.meshbasic_vert,fragmentShader:Gt.meshbasic_frag},lambert:{uniforms:zi([Je.common,Je.specularmap,Je.envmap,Je.aomap,Je.lightmap,Je.emissivemap,Je.bumpmap,Je.normalmap,Je.displacementmap,Je.fog,Je.lights,{emissive:{value:new lr(0)}}]),vertexShader:Gt.meshlambert_vert,fragmentShader:Gt.meshlambert_frag},phong:{uniforms:zi([Je.common,Je.specularmap,Je.envmap,Je.aomap,Je.lightmap,Je.emissivemap,Je.bumpmap,Je.normalmap,Je.displacementmap,Je.fog,Je.lights,{emissive:{value:new lr(0)},specular:{value:new lr(1118481)},shininess:{value:30}}]),vertexShader:Gt.meshphong_vert,fragmentShader:Gt.meshphong_frag},standard:{uniforms:zi([Je.common,Je.envmap,Je.aomap,Je.lightmap,Je.emissivemap,Je.bumpmap,Je.normalmap,Je.displacementmap,Je.roughnessmap,Je.metalnessmap,Je.fog,Je.lights,{emissive:{value:new lr(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag},toon:{uniforms:zi([Je.common,Je.aomap,Je.lightmap,Je.emissivemap,Je.bumpmap,Je.normalmap,Je.displacementmap,Je.gradientmap,Je.fog,Je.lights,{emissive:{value:new lr(0)}}]),vertexShader:Gt.meshtoon_vert,fragmentShader:Gt.meshtoon_frag},matcap:{uniforms:zi([Je.common,Je.bumpmap,Je.normalmap,Je.displacementmap,Je.fog,{matcap:{value:null}}]),vertexShader:Gt.meshmatcap_vert,fragmentShader:Gt.meshmatcap_frag},points:{uniforms:zi([Je.points,Je.fog]),vertexShader:Gt.points_vert,fragmentShader:Gt.points_frag},dashed:{uniforms:zi([Je.common,Je.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Gt.linedashed_vert,fragmentShader:Gt.linedashed_frag},depth:{uniforms:zi([Je.common,Je.displacementmap]),vertexShader:Gt.depth_vert,fragmentShader:Gt.depth_frag},normal:{uniforms:zi([Je.common,Je.bumpmap,Je.normalmap,Je.displacementmap,{opacity:{value:1}}]),vertexShader:Gt.meshnormal_vert,fragmentShader:Gt.meshnormal_frag},sprite:{uniforms:zi([Je.sprite,Je.fog]),vertexShader:Gt.sprite_vert,fragmentShader:Gt.sprite_frag},background:{uniforms:{uvTransform:{value:new va},t2D:{value:null}},vertexShader:Gt.background_vert,fragmentShader:Gt.background_frag},cube:{uniforms:zi([Je.envmap,{opacity:{value:1}}]),vertexShader:Gt.cube_vert,fragmentShader:Gt.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Gt.equirect_vert,fragmentShader:Gt.equirect_frag},distanceRGBA:{uniforms:zi([Je.common,Je.displacementmap,{referencePosition:{value:new Se},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Gt.distanceRGBA_vert,fragmentShader:Gt.distanceRGBA_frag},shadow:{uniforms:zi([Je.lights,Je.fog,{color:{value:new lr(0)},opacity:{value:1}}]),vertexShader:Gt.shadow_vert,fragmentShader:Gt.shadow_frag}};_l.physical={uniforms:zi([_l.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new qt(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new lr(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new qt},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new lr(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new lr(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Gt.meshphysical_vert,fragmentShader:Gt.meshphysical_frag};function tBt(t,e,n,r,i,o){const a=new lr(0);let s=i===!0?0:1,l,c,u=null,f=0,d=null;function h(m,g){let v=!1,y=g.isScene===!0?g.background:null;y&&y.isTexture&&(y=e.get(y));const x=t.xr,b=x.getSession&&x.getSession();b&&b.environmentBlendMode==="additive"&&(y=null),y===null?p(a,s):y&&y.isColor&&(p(y,1),v=!0),(t.autoClear||v)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),y&&(y.isCubeTexture||y.mapping===Dk)?(c===void 0&&(c=new Bl(new Qy(1,1,1),new ud({name:"BackgroundCubeMaterial",uniforms:jv(_l.cube.uniforms),vertexShader:_l.cube.vertexShader,fragmentShader:_l.cube.fragmentShader,side:_a,depthTest:!1,depthWrite:!1,fog:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(_,S,O){this.matrixWorld.copyPosition(O.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(c)),c.material.uniforms.envMap.value=y,c.material.uniforms.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,(u!==y||f!==y.version||d!==t.toneMapping)&&(c.material.needsUpdate=!0,u=y,f=y.version,d=t.toneMapping),c.layers.enableAll(),m.unshift(c,c.geometry,c.material,0,0,null)):y&&y.isTexture&&(l===void 0&&(l=new Bl(new $k(2,2),new ud({name:"BackgroundMaterial",uniforms:jv(_l.background.uniforms),vertexShader:_l.background.vertexShader,fragmentShader:_l.background.fragmentShader,side:Lv,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(l)),l.material.uniforms.t2D.value=y,y.matrixAutoUpdate===!0&&y.updateMatrix(),l.material.uniforms.uvTransform.value.copy(y.matrix),(u!==y||f!==y.version||d!==t.toneMapping)&&(l.material.needsUpdate=!0,u=y,f=y.version,d=t.toneMapping),l.layers.enableAll(),m.unshift(l,l.geometry,l.material,0,0,null))}function p(m,g){n.buffers.color.setClear(m.r,m.g,m.b,g,o)}return{getClearColor:function(){return a},setClearColor:function(m,g=1){a.set(m),s=g,p(a,s)},getClearAlpha:function(){return s},setClearAlpha:function(m){s=m,p(a,s)},render:h}}function nBt(t,e,n,r){const i=t.getParameter(34921),o=r.isWebGL2?null:e.get("OES_vertex_array_object"),a=r.isWebGL2||o!==null,s={},l=g(null);let c=l,u=!1;function f(T,L,z,B,U){let W=!1;if(a){const $=m(B,z,L);c!==$&&(c=$,h(c.object)),W=v(T,B,z,U),W&&y(T,B,z,U)}else{const $=L.wireframe===!0;(c.geometry!==B.id||c.program!==z.id||c.wireframe!==$)&&(c.geometry=B.id,c.program=z.id,c.wireframe=$,W=!0)}U!==null&&n.update(U,34963),(W||u)&&(u=!1,C(T,L,z,B),U!==null&&t.bindBuffer(34963,n.get(U).buffer))}function d(){return r.isWebGL2?t.createVertexArray():o.createVertexArrayOES()}function h(T){return r.isWebGL2?t.bindVertexArray(T):o.bindVertexArrayOES(T)}function p(T){return r.isWebGL2?t.deleteVertexArray(T):o.deleteVertexArrayOES(T)}function m(T,L,z){const B=z.wireframe===!0;let U=s[T.id];U===void 0&&(U={},s[T.id]=U);let W=U[L.id];W===void 0&&(W={},U[L.id]=W);let $=W[B];return $===void 0&&($=g(d()),W[B]=$),$}function g(T){const L=[],z=[],B=[];for(let U=0;U=0){const q=U[D];let Y=W[D];if(Y===void 0&&(D==="instanceMatrix"&&T.instanceMatrix&&(Y=T.instanceMatrix),D==="instanceColor"&&T.instanceColor&&(Y=T.instanceColor)),q===void 0||q.attribute!==Y||Y&&q.data!==Y.data)return!0;$++}return c.attributesNum!==$||c.index!==B}function y(T,L,z,B){const U={},W=L.attributes;let $=0;const N=z.getAttributes();for(const D in N)if(N[D].location>=0){let q=W[D];q===void 0&&(D==="instanceMatrix"&&T.instanceMatrix&&(q=T.instanceMatrix),D==="instanceColor"&&T.instanceColor&&(q=T.instanceColor));const Y={};Y.attribute=q,q&&q.data&&(Y.data=q.data),U[D]=Y,$++}c.attributes=U,c.attributesNum=$,c.index=B}function x(){const T=c.newAttributes;for(let L=0,z=T.length;L=0){let A=U[N];if(A===void 0&&(N==="instanceMatrix"&&T.instanceMatrix&&(A=T.instanceMatrix),N==="instanceColor"&&T.instanceColor&&(A=T.instanceColor)),A!==void 0){const q=A.normalized,Y=A.itemSize,K=n.get(A);if(K===void 0)continue;const se=K.buffer,te=K.type,J=K.bytesPerElement;if(A.isInterleavedBufferAttribute){const pe=A.data,be=pe.stride,re=A.offset;if(pe.isInstancedInterleavedBuffer){for(let ve=0;ve0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";O="mediump"}return O==="mediump"&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const a=typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&t instanceof WebGL2ComputeRenderingContext;let s=n.precision!==void 0?n.precision:"highp";const l=o(s);l!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",l,"instead."),s=l);const c=a||e.has("WEBGL_draw_buffers"),u=n.logarithmicDepthBuffer===!0,f=t.getParameter(34930),d=t.getParameter(35660),h=t.getParameter(3379),p=t.getParameter(34076),m=t.getParameter(34921),g=t.getParameter(36347),v=t.getParameter(36348),y=t.getParameter(36349),x=d>0,b=a||e.has("OES_texture_float"),_=x&&b,S=a?t.getParameter(36183):0;return{isWebGL2:a,drawBuffers:c,getMaxAnisotropy:i,getMaxPrecision:o,precision:s,logarithmicDepthBuffer:u,maxTextures:f,maxVertexTextures:d,maxTextureSize:h,maxCubemapSize:p,maxAttributes:m,maxVertexUniforms:g,maxVaryings:v,maxFragmentUniforms:y,vertexTextures:x,floatFragmentTextures:b,floatVertexTextures:_,maxSamples:S}}function oBt(t){const e=this;let n=null,r=0,i=!1,o=!1;const a=new rh,s=new va,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(f,d,h){const p=f.length!==0||d||r!==0||i;return i=d,n=u(f,h,0),r=f.length,p},this.beginShadows=function(){o=!0,u(null)},this.endShadows=function(){o=!1,c()},this.setState=function(f,d,h){const p=f.clippingPlanes,m=f.clipIntersection,g=f.clipShadows,v=t.get(f);if(!i||p===null||p.length===0||o&&!g)o?u(null):c();else{const y=o?0:r,x=y*4;let b=v.clippingState||null;l.value=b,b=u(p,d,x,h);for(let _=0;_!==x;++_)b[_]=n[_];v.clippingState=b,this.numIntersection=m?this.numPlanes:0,this.numPlanes+=y}};function c(){l.value!==n&&(l.value=n,l.needsUpdate=r>0),e.numPlanes=r,e.numIntersection=0}function u(f,d,h,p){const m=f!==null?f.length:0;let g=null;if(m!==0){if(g=l.value,p!==!0||g===null){const v=h+m*4,y=d.matrixWorldInverse;s.getNormalMatrix(y),(g===null||g.length0){const c=new _Ft(l.height/2);return c.fromEquirectangularTexture(t,a),e.set(a,c),a.addEventListener("dispose",i),n(c.texture,a.mapping)}else return null}}return a}function i(a){const s=a.target;s.removeEventListener("dispose",i);const l=e.get(s);l!==void 0&&(e.delete(s),l.dispose())}function o(){e=new WeakMap}return{get:r,dispose:o}}class Dye extends kye{constructor(e=-1,n=1,r=1,i=-1,o=.1,a=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=n,this.top=r,this.bottom=i,this.near=o,this.far=a,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,n,r,i,o,a){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=a,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),n=(this.top-this.bottom)/(2*this.zoom),r=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let o=r-e,a=r+e,s=i+n,l=i-n;if(this.view!==null&&this.view.enabled){const c=(this.right-this.left)/this.view.fullWidth/this.zoom,u=(this.top-this.bottom)/this.view.fullHeight/this.zoom;o+=c*this.view.offsetX,a=o+c*this.view.width,s-=u*this.view.offsetY,l=s-u*this.view.height}this.projectionMatrix.makeOrthographic(o,a,s,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.zoom=this.zoom,n.object.left=this.left,n.object.right=this.right,n.object.top=this.top,n.object.bottom=this.bottom,n.object.near=this.near,n.object.far=this.far,this.view!==null&&(n.object.view=Object.assign({},this.view)),n}}const cg=4,KZ=[.125,.215,.35,.446,.526,.582],dh=20,yD=new Dye,ZZ=new lr;let xD=null;const ih=(1+Math.sqrt(5))/2,Am=1/ih,JZ=[new Se(1,1,1),new Se(-1,1,1),new Se(1,1,-1),new Se(-1,1,-1),new Se(0,ih,Am),new Se(0,ih,-Am),new Se(Am,0,ih),new Se(-Am,0,ih),new Se(ih,Am,0),new Se(-ih,Am,0)];class eJ{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,n=0,r=.1,i=100){xD=this._renderer.getRenderTarget(),this._setSize(256);const o=this._allocateTargets();return o.depthBuffer=!0,this._sceneToCubeUV(e,r,i,o),n>0&&this._blur(o,0,0,n),this._applyPMREM(o),this._cleanup(o),o}fromEquirectangular(e,n=null){return this._fromTexture(e,n)}fromCubemap(e,n=null){return this._fromTexture(e,n)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=rJ(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=nJ(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?x:0,x,x),u.setRenderTarget(i),m&&u.render(p,s),u.render(e,s)}p.geometry.dispose(),p.material.dispose(),u.toneMapping=d,u.autoClear=f,e.background=g}_textureToCubeUV(e,n){const r=this._renderer,i=e.mapping===Nv||e.mapping===$v;i?(this._cubemapMaterial===null&&(this._cubemapMaterial=rJ()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=nJ());const o=i?this._cubemapMaterial:this._equirectMaterial,a=new Bl(this._lodPlanes[0],o),s=o.uniforms;s.envMap.value=e;const l=this._cubeSize;eC(n,0,0,3*l,2*l),r.setRenderTarget(n),r.render(a,yD)}_applyPMREM(e){const n=this._renderer,r=n.autoClear;n.autoClear=!1;for(let i=1;idh&&console.warn(`sigmaRadians, ${o}, is too large and will clip, as it requested ${g} samples when the maximum is set to ${dh}`);const v=[];let y=0;for(let O=0;Ox-cg?i-x+cg:0),S=4*(this._cubeSize-b);eC(n,_,S,3*b,2*b),l.setRenderTarget(n),l.render(f,yD)}}function sBt(t){const e=[],n=[],r=[];let i=t;const o=t-cg+1+KZ.length;for(let a=0;at-cg?l=KZ[a-t+cg-1]:a===0&&(l=0),r.push(l);const c=1/(s-2),u=-c,f=1+c,d=[u,u,f,u,f,f,u,u,f,f,u,f],h=6,p=6,m=3,g=2,v=1,y=new Float32Array(m*p*h),x=new Float32Array(g*p*h),b=new Float32Array(v*p*h);for(let S=0;S2?0:-1,E=[O,C,0,O+2/3,C,0,O+2/3,C+1,0,O,C,0,O+2/3,C+1,0,O,C+1,0];y.set(E,m*p*S),x.set(d,g*p*S);const k=[S,S,S,S,S,S];b.set(k,v*p*S)}const _=new Eu;_.setAttribute("position",new as(y,m)),_.setAttribute("uv",new as(x,g)),_.setAttribute("faceIndex",new as(b,v)),e.push(_),i>cg&&i--}return{lodPlanes:e,sizeLods:n,sigmas:r}}function tJ(t,e,n){const r=new bp(t,e,n);return r.texture.mapping=Dk,r.texture.name="PMREM.cubeUv",r.scissorTest=!0,r}function eC(t,e,n,r,i){t.viewport.set(e,n,r,i),t.scissor.set(e,n,r,i)}function lBt(t,e,n){const r=new Float32Array(dh),i=new Se(0,1,0);return new ud({name:"SphericalGaussianBlur",defines:{n:dh,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:O6(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:Hf,depthTest:!1,depthWrite:!1})}function nJ(){return new ud({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:O6(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:Hf,depthTest:!1,depthWrite:!1})}function rJ(){return new ud({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:O6(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:Hf,depthTest:!1,depthWrite:!1})}function O6(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function cBt(t){let e=new WeakMap,n=null;function r(s){if(s&&s.isTexture){const l=s.mapping,c=l===wF||l===SF,u=l===Nv||l===$v;if(c||u)if(s.isRenderTargetTexture&&s.needsPMREMUpdate===!0){s.needsPMREMUpdate=!1;let f=e.get(s);return n===null&&(n=new eJ(t)),f=c?n.fromEquirectangular(s,f):n.fromCubemap(s,f),e.set(s,f),f.texture}else{if(e.has(s))return e.get(s).texture;{const f=s.image;if(c&&f&&f.height>0||u&&f&&i(f)){n===null&&(n=new eJ(t));const d=c?n.fromEquirectangular(s):n.fromCubemap(s);return e.set(s,d),s.addEventListener("dispose",o),d.texture}else return null}}}return s}function i(s){let l=0;const c=6;for(let u=0;ue.maxTextureSize&&(I=Math.ceil(k/e.maxTextureSize),k=e.maxTextureSize);const P=new Float32Array(k*I*4*m),R=new Sye(P,k,I,m);R.type=Mf,R.needsUpdate=!0;const T=E*4;for(let z=0;z0)return t;const i=e*n;let o=iJ[i];if(o===void 0&&(o=new Float32Array(i),iJ[i]=o),e!==0){r.toArray(o,0);for(let a=1,s=0;a!==e;++a)s+=n,t[a].toArray(o,s)}return o}function po(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n":" "} ${s}: ${n[a]}`)}return r.join(` -`)}function uzt(t){switch(t){case xp:return["Linear","( value )"];case yr:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"]}}function fJ(t,e,n){const r=t.getShaderParameter(e,35713),i=t.getShaderInfoLog(e).trim();if(r&&i==="")return"";const o=/ERROR: 0:(\d+)/.exec(i);if(o){const a=parseInt(o[1]);return n.toUpperCase()+` - -`+i+` - -`+czt(t.getShaderSource(e),a)}else return i}function fzt(t,e){const n=uzt(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function dzt(t,e){let n;switch(e){case D$t:n="Linear";break;case L$t:n="Reinhard";break;case N$t:n="OptimizedCineon";break;case $$t:n="ACESFilmic";break;case F$t:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear"}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function hzt(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||t.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(wx).join(` -`)}function pzt(t){const e=[];for(const n in t){const r=t[n];r!==!1&&e.push("#define "+n+" "+r)}return e.join(` -`)}function mzt(t,e){const n={},r=t.getProgramParameter(e,35721);for(let i=0;i/gm;function PF(t){return t.replace(gzt,vzt)}function vzt(t,e){const n=Gt[e];if(n===void 0)throw new Error("Can not resolve #include <"+e+">");return PF(n)}const yzt=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function pJ(t){return t.replace(yzt,xzt)}function xzt(t,e,n,r){let i="";for(let o=parseInt(e);o0&&(g+=` -`),v=[h,p].filter(wx).join(` -`),v.length>0&&(v+=` -`)):(g=[mJ(n),"#define SHADER_NAME "+n.shaderName,p,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.supportsVertexTextures?"#define VERTEX_TEXTURES":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+u:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.displacementMap&&n.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&n.flatShading===!1?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` -`].filter(wx).join(` -`),v=[h,mJ(n),"#define SHADER_NAME "+n.shaderName,p,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+c:"",n.envMap?"#define "+u:"",n.envMap?"#define "+f:"",d?"#define CUBEUV_TEXEL_WIDTH "+d.texelWidth:"",d?"#define CUBEUV_TEXEL_HEIGHT "+d.texelHeight:"",d?"#define CUBEUV_MAX_MIP "+d.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==su?"#define TONE_MAPPING":"",n.toneMapping!==su?Gt.tonemapping_pars_fragment:"",n.toneMapping!==su?dzt("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",Gt.encodings_pars_fragment,fzt("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"",` -`].filter(wx).join(` -`)),a=PF(a),a=dJ(a,n),a=hJ(a,n),s=PF(s),s=dJ(s,n),s=hJ(s,n),a=pJ(a),s=pJ(s),n.isWebGL2&&n.isRawShaderMaterial!==!0&&(y=`#version 300 es -`,g=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` -`)+` -`+g,v=["#define varying in",n.glslVersion===$Z?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===$Z?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` -`)+` -`+v);const x=y+g+a,b=y+v+s,_=uJ(i,35633,x),S=uJ(i,35632,b);if(i.attachShader(m,_),i.attachShader(m,S),n.index0AttributeName!==void 0?i.bindAttribLocation(m,0,n.index0AttributeName):n.morphTargets===!0&&i.bindAttribLocation(m,0,"position"),i.linkProgram(m),t.debug.checkShaderErrors){const E=i.getProgramInfoLog(m).trim(),k=i.getShaderInfoLog(_).trim(),I=i.getShaderInfoLog(S).trim();let P=!0,R=!0;if(i.getProgramParameter(m,35714)===!1){P=!1;const T=fJ(i,_,"vertex"),L=fJ(i,S,"fragment");console.error("THREE.WebGLProgram: Shader Error "+i.getError()+" - VALIDATE_STATUS "+i.getProgramParameter(m,35715)+` - -Program Info Log: `+E+` -`+T+` -`+L)}else E!==""?console.warn("THREE.WebGLProgram: Program Info Log:",E):(k===""||I==="")&&(R=!1);R&&(this.diagnostics={runnable:P,programLog:E,vertexShader:{log:k,prefix:g},fragmentShader:{log:I,prefix:v}})}i.deleteShader(_),i.deleteShader(S);let O;this.getUniforms=function(){return O===void 0&&(O=new KC(i,m)),O};let C;return this.getAttributes=function(){return C===void 0&&(C=mzt(i,m)),C},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(m),this.program=void 0},this.name=n.shaderName,this.id=lzt++,this.cacheKey=e,this.usedTimes=1,this.program=m,this.vertexShader=_,this.fragmentShader=S,this}let Tzt=0;class Ezt{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const n=e.vertexShader,r=e.fragmentShader,i=this._getShaderStage(n),o=this._getShaderStage(r),a=this._getShaderCacheForMaterial(e);return a.has(i)===!1&&(a.add(i),i.usedTimes++),a.has(o)===!1&&(a.add(o),o.usedTimes++),this}remove(e){const n=this.materialCache.get(e);for(const r of n)r.usedTimes--,r.usedTimes===0&&this.shaderCache.delete(r.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const n=this.materialCache;let r=n.get(e);return r===void 0&&(r=new Set,n.set(e,r)),r}_getShaderStage(e){const n=this.shaderCache;let r=n.get(e);return r===void 0&&(r=new Pzt(e),n.set(e,r)),r}}class Pzt{constructor(e){this.id=Tzt++,this.code=e,this.usedTimes=0}}function Mzt(t,e,n,r,i,o,a){const s=new Tye,l=new Ezt,c=[],u=i.isWebGL2,f=i.logarithmicDepthBuffer,d=i.vertexTextures;let h=i.precision;const p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function m(C,E,k,I,P){const R=I.fog,T=P.geometry,L=C.isMeshStandardMaterial?I.environment:null,z=(C.isMeshStandardMaterial?n:e).get(C.envMap||L),B=z&&z.mapping===Dk?z.image.height:null,U=p[C.type];C.precision!==null&&(h=i.getMaxPrecision(C.precision),h!==C.precision&&console.warn("THREE.WebGLProgram.getParameters:",C.precision,"not supported, using",h,"instead."));const W=T.morphAttributes.position||T.morphAttributes.normal||T.morphAttributes.color,$=W!==void 0?W.length:0;let N=0;T.morphAttributes.position!==void 0&&(N=1),T.morphAttributes.normal!==void 0&&(N=2),T.morphAttributes.color!==void 0&&(N=3);let D,A,q,Y;if(U){const be=_l[U];D=be.vertexShader,A=be.fragmentShader}else D=C.vertexShader,A=C.fragmentShader,l.update(C),q=l.getVertexShaderID(C),Y=l.getFragmentShaderID(C);const K=t.getRenderTarget(),se=C.alphaTest>0,te=C.clearcoat>0,J=C.iridescence>0;return{isWebGL2:u,shaderID:U,shaderName:C.type,vertexShader:D,fragmentShader:A,defines:C.defines,customVertexShaderID:q,customFragmentShaderID:Y,isRawShaderMaterial:C.isRawShaderMaterial===!0,glslVersion:C.glslVersion,precision:h,instancing:P.isInstancedMesh===!0,instancingColor:P.isInstancedMesh===!0&&P.instanceColor!==null,supportsVertexTextures:d,outputEncoding:K===null?t.outputEncoding:K.isXRRenderTarget===!0?K.texture.encoding:xp,map:!!C.map,matcap:!!C.matcap,envMap:!!z,envMapMode:z&&z.mapping,envMapCubeUVHeight:B,lightMap:!!C.lightMap,aoMap:!!C.aoMap,emissiveMap:!!C.emissiveMap,bumpMap:!!C.bumpMap,normalMap:!!C.normalMap,objectSpaceNormalMap:C.normalMapType===rFt,tangentSpaceNormalMap:C.normalMapType===nFt,decodeVideoTexture:!!C.map&&C.map.isVideoTexture===!0&&C.map.encoding===yr,clearcoat:te,clearcoatMap:te&&!!C.clearcoatMap,clearcoatRoughnessMap:te&&!!C.clearcoatRoughnessMap,clearcoatNormalMap:te&&!!C.clearcoatNormalMap,iridescence:J,iridescenceMap:J&&!!C.iridescenceMap,iridescenceThicknessMap:J&&!!C.iridescenceThicknessMap,displacementMap:!!C.displacementMap,roughnessMap:!!C.roughnessMap,metalnessMap:!!C.metalnessMap,specularMap:!!C.specularMap,specularIntensityMap:!!C.specularIntensityMap,specularColorMap:!!C.specularColorMap,opaque:C.transparent===!1&&C.blending===Bg,alphaMap:!!C.alphaMap,alphaTest:se,gradientMap:!!C.gradientMap,sheen:C.sheen>0,sheenColorMap:!!C.sheenColorMap,sheenRoughnessMap:!!C.sheenRoughnessMap,transmission:C.transmission>0,transmissionMap:!!C.transmissionMap,thicknessMap:!!C.thicknessMap,combine:C.combine,vertexTangents:!!C.normalMap&&!!T.attributes.tangent,vertexColors:C.vertexColors,vertexAlphas:C.vertexColors===!0&&!!T.attributes.color&&T.attributes.color.itemSize===4,vertexUvs:!!C.map||!!C.bumpMap||!!C.normalMap||!!C.specularMap||!!C.alphaMap||!!C.emissiveMap||!!C.roughnessMap||!!C.metalnessMap||!!C.clearcoatMap||!!C.clearcoatRoughnessMap||!!C.clearcoatNormalMap||!!C.iridescenceMap||!!C.iridescenceThicknessMap||!!C.displacementMap||!!C.transmissionMap||!!C.thicknessMap||!!C.specularIntensityMap||!!C.specularColorMap||!!C.sheenColorMap||!!C.sheenRoughnessMap,uvsVertexOnly:!(C.map||C.bumpMap||C.normalMap||C.specularMap||C.alphaMap||C.emissiveMap||C.roughnessMap||C.metalnessMap||C.clearcoatNormalMap||C.iridescenceMap||C.iridescenceThicknessMap||C.transmission>0||C.transmissionMap||C.thicknessMap||C.specularIntensityMap||C.specularColorMap||C.sheen>0||C.sheenColorMap||C.sheenRoughnessMap)&&!!C.displacementMap,fog:!!R,useFog:C.fog===!0,fogExp2:R&&R.isFogExp2,flatShading:!!C.flatShading,sizeAttenuation:C.sizeAttenuation,logarithmicDepthBuffer:f,skinning:P.isSkinnedMesh===!0,morphTargets:T.morphAttributes.position!==void 0,morphNormals:T.morphAttributes.normal!==void 0,morphColors:T.morphAttributes.color!==void 0,morphTargetsCount:$,morphTextureStride:N,numDirLights:E.directional.length,numPointLights:E.point.length,numSpotLights:E.spot.length,numSpotLightMaps:E.spotLightMap.length,numRectAreaLights:E.rectArea.length,numHemiLights:E.hemi.length,numDirLightShadows:E.directionalShadowMap.length,numPointLightShadows:E.pointShadowMap.length,numSpotLightShadows:E.spotShadowMap.length,numSpotLightShadowsWithMaps:E.numSpotLightShadowsWithMaps,numClippingPlanes:a.numPlanes,numClipIntersection:a.numIntersection,dithering:C.dithering,shadowMapEnabled:t.shadowMap.enabled&&k.length>0,shadowMapType:t.shadowMap.type,toneMapping:C.toneMapped?t.toneMapping:su,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:C.premultipliedAlpha,doubleSided:C.side===Yc,flipSided:C.side===_a,useDepthPacking:!!C.depthPacking,depthPacking:C.depthPacking||0,index0AttributeName:C.index0AttributeName,extensionDerivatives:C.extensions&&C.extensions.derivatives,extensionFragDepth:C.extensions&&C.extensions.fragDepth,extensionDrawBuffers:C.extensions&&C.extensions.drawBuffers,extensionShaderTextureLOD:C.extensions&&C.extensions.shaderTextureLOD,rendererExtensionFragDepth:u||r.has("EXT_frag_depth"),rendererExtensionDrawBuffers:u||r.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:u||r.has("EXT_shader_texture_lod"),customProgramCacheKey:C.customProgramCacheKey()}}function g(C){const E=[];if(C.shaderID?E.push(C.shaderID):(E.push(C.customVertexShaderID),E.push(C.customFragmentShaderID)),C.defines!==void 0)for(const k in C.defines)E.push(k),E.push(C.defines[k]);return C.isRawShaderMaterial===!1&&(v(E,C),y(E,C),E.push(t.outputEncoding)),E.push(C.customProgramCacheKey),E.join()}function v(C,E){C.push(E.precision),C.push(E.outputEncoding),C.push(E.envMapMode),C.push(E.envMapCubeUVHeight),C.push(E.combine),C.push(E.vertexUvs),C.push(E.fogExp2),C.push(E.sizeAttenuation),C.push(E.morphTargetsCount),C.push(E.morphAttributeCount),C.push(E.numDirLights),C.push(E.numPointLights),C.push(E.numSpotLights),C.push(E.numSpotLightMaps),C.push(E.numHemiLights),C.push(E.numRectAreaLights),C.push(E.numDirLightShadows),C.push(E.numPointLightShadows),C.push(E.numSpotLightShadows),C.push(E.numSpotLightShadowsWithMaps),C.push(E.shadowMapType),C.push(E.toneMapping),C.push(E.numClippingPlanes),C.push(E.numClipIntersection),C.push(E.depthPacking)}function y(C,E){s.disableAll(),E.isWebGL2&&s.enable(0),E.supportsVertexTextures&&s.enable(1),E.instancing&&s.enable(2),E.instancingColor&&s.enable(3),E.map&&s.enable(4),E.matcap&&s.enable(5),E.envMap&&s.enable(6),E.lightMap&&s.enable(7),E.aoMap&&s.enable(8),E.emissiveMap&&s.enable(9),E.bumpMap&&s.enable(10),E.normalMap&&s.enable(11),E.objectSpaceNormalMap&&s.enable(12),E.tangentSpaceNormalMap&&s.enable(13),E.clearcoat&&s.enable(14),E.clearcoatMap&&s.enable(15),E.clearcoatRoughnessMap&&s.enable(16),E.clearcoatNormalMap&&s.enable(17),E.iridescence&&s.enable(18),E.iridescenceMap&&s.enable(19),E.iridescenceThicknessMap&&s.enable(20),E.displacementMap&&s.enable(21),E.specularMap&&s.enable(22),E.roughnessMap&&s.enable(23),E.metalnessMap&&s.enable(24),E.gradientMap&&s.enable(25),E.alphaMap&&s.enable(26),E.alphaTest&&s.enable(27),E.vertexColors&&s.enable(28),E.vertexAlphas&&s.enable(29),E.vertexUvs&&s.enable(30),E.vertexTangents&&s.enable(31),E.uvsVertexOnly&&s.enable(32),C.push(s.mask),s.disableAll(),E.fog&&s.enable(0),E.useFog&&s.enable(1),E.flatShading&&s.enable(2),E.logarithmicDepthBuffer&&s.enable(3),E.skinning&&s.enable(4),E.morphTargets&&s.enable(5),E.morphNormals&&s.enable(6),E.morphColors&&s.enable(7),E.premultipliedAlpha&&s.enable(8),E.shadowMapEnabled&&s.enable(9),E.physicallyCorrectLights&&s.enable(10),E.doubleSided&&s.enable(11),E.flipSided&&s.enable(12),E.useDepthPacking&&s.enable(13),E.dithering&&s.enable(14),E.specularIntensityMap&&s.enable(15),E.specularColorMap&&s.enable(16),E.transmission&&s.enable(17),E.transmissionMap&&s.enable(18),E.thicknessMap&&s.enable(19),E.sheen&&s.enable(20),E.sheenColorMap&&s.enable(21),E.sheenRoughnessMap&&s.enable(22),E.decodeVideoTexture&&s.enable(23),E.opaque&&s.enable(24),C.push(s.mask)}function x(C){const E=p[C.type];let k;if(E){const I=_l[E];k=Mye.clone(I.uniforms)}else k=C.uniforms;return k}function b(C,E){let k;for(let I=0,P=c.length;I0?r.push(v):h.transparent===!0?i.push(v):n.push(v)}function l(f,d,h,p,m,g){const v=a(f,d,h,p,m,g);h.transmission>0?r.unshift(v):h.transparent===!0?i.unshift(v):n.unshift(v)}function c(f,d){n.length>1&&n.sort(f||Azt),r.length>1&&r.sort(d||gJ),i.length>1&&i.sort(d||gJ)}function u(){for(let f=e,d=t.length;f=o.length?(a=new vJ,o.push(a)):a=o[i],a}function n(){t=new WeakMap}return{get:e,dispose:n}}function Izt(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new Se,color:new lr};break;case"SpotLight":n={position:new Se,direction:new Se,color:new lr,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new Se,color:new lr,distance:0,decay:0};break;case"HemisphereLight":n={direction:new Se,skyColor:new lr,groundColor:new lr};break;case"RectAreaLight":n={color:new lr,position:new Se,halfWidth:new Se,halfHeight:new Se};break}return t[e.id]=n,n}}}function Dzt(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt};break;case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new qt,shadowCameraNear:1,shadowCameraFar:1e3};break}return t[e.id]=n,n}}}let Lzt=0;function Nzt(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function $zt(t,e){const n=new Izt,r=Dzt(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let u=0;u<9;u++)i.probe.push(new Se);const o=new Se,a=new Hn,s=new Hn;function l(u,f){let d=0,h=0,p=0;for(let I=0;I<9;I++)i.probe[I].set(0,0,0);let m=0,g=0,v=0,y=0,x=0,b=0,_=0,S=0,O=0,C=0;u.sort(Nzt);const E=f!==!0?Math.PI:1;for(let I=0,P=u.length;I0&&(e.isWebGL2||t.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=Je.LTC_FLOAT_1,i.rectAreaLTC2=Je.LTC_FLOAT_2):t.has("OES_texture_half_float_linear")===!0?(i.rectAreaLTC1=Je.LTC_HALF_1,i.rectAreaLTC2=Je.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=d,i.ambient[1]=h,i.ambient[2]=p;const k=i.hash;(k.directionalLength!==m||k.pointLength!==g||k.spotLength!==v||k.rectAreaLength!==y||k.hemiLength!==x||k.numDirectionalShadows!==b||k.numPointShadows!==_||k.numSpotShadows!==S||k.numSpotMaps!==O)&&(i.directional.length=m,i.spot.length=v,i.rectArea.length=y,i.point.length=g,i.hemi.length=x,i.directionalShadow.length=b,i.directionalShadowMap.length=b,i.pointShadow.length=_,i.pointShadowMap.length=_,i.spotShadow.length=S,i.spotShadowMap.length=S,i.directionalShadowMatrix.length=b,i.pointShadowMatrix.length=_,i.spotLightMatrix.length=S+O-C,i.spotLightMap.length=O,i.numSpotLightShadowsWithMaps=C,k.directionalLength=m,k.pointLength=g,k.spotLength=v,k.rectAreaLength=y,k.hemiLength=x,k.numDirectionalShadows=b,k.numPointShadows=_,k.numSpotShadows=S,k.numSpotMaps=O,i.version=Lzt++)}function c(u,f){let d=0,h=0,p=0,m=0,g=0;const v=f.matrixWorldInverse;for(let y=0,x=u.length;y=s.length?(l=new yJ(t,e),s.push(l)):l=s[a],l}function i(){n=new WeakMap}return{get:r,dispose:i}}class jzt extends $w{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=eFt,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class Bzt extends $w{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new Se,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.referencePosition.copy(e.referencePosition),this.nearDistance=e.nearDistance,this.farDistance=e.farDistance,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const zzt=`void main() { - gl_Position = vec4( position, 1.0 ); -}`,Uzt=`uniform sampler2D shadow_pass; -uniform vec2 resolution; -uniform float radius; -#include -void main() { - const float samples = float( VSM_SAMPLES ); - float mean = 0.0; - float squared_mean = 0.0; - float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); - float uvStart = samples <= 1.0 ? 0.0 : - 1.0; - for ( float i = 0.0; i < samples; i ++ ) { - float uvOffset = uvStart + i * uvStride; - #ifdef HORIZONTAL_PASS - vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) ); - mean += distribution.x; - squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; - #else - float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) ); - mean += depth; - squared_mean += depth * depth; - #endif - } - mean = mean / samples; - squared_mean = squared_mean / samples; - float std_dev = sqrt( squared_mean - mean * mean ); - gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); -}`;function Wzt(t,e,n){let r=new Rye;const i=new qt,o=new qt,a=new Ri,s=new jzt({depthPacking:tFt}),l=new Bzt,c={},u=n.maxTextureSize,f={0:_a,1:Lv,2:Yc},d=new ud({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new qt},radius:{value:4}},vertexShader:zzt,fragmentShader:Uzt}),h=d.clone();h.defines.HORIZONTAL_PASS=1;const p=new Eu;p.setAttribute("position",new as(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const m=new Bl(p,d),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=dye,this.render=function(b,_,S){if(g.enabled===!1||g.autoUpdate===!1&&g.needsUpdate===!1||b.length===0)return;const O=t.getRenderTarget(),C=t.getActiveCubeFace(),E=t.getActiveMipmapLevel(),k=t.state;k.setBlending(Hf),k.buffers.color.setClear(1,1,1,1),k.buffers.depth.setTest(!0),k.setScissorTest(!1);for(let I=0,P=b.length;Iu||i.y>u)&&(i.x>u&&(o.x=Math.floor(u/L.x),i.x=o.x*L.x,T.mapSize.x=o.x),i.y>u&&(o.y=Math.floor(u/L.y),i.y=o.y*L.y,T.mapSize.y=o.y)),T.map===null){const B=this.type!==_x?{minFilter:Eo,magFilter:Eo}:{};T.map=new bp(i.x,i.y,B),T.map.texture.name=R.name+".shadowMap",T.camera.updateProjectionMatrix()}t.setRenderTarget(T.map),t.clear();const z=T.getViewportCount();for(let B=0;B0){const P=k.uuid,R=_.uuid;let T=c[P];T===void 0&&(T={},c[P]=T);let L=T[R];L===void 0&&(L=k.clone(),T[R]=L),k=L}return k.visible=_.visible,k.wireframe=_.wireframe,E===_x?k.side=_.shadowSide!==null?_.shadowSide:_.side:k.side=_.shadowSide!==null?_.shadowSide:f[_.side],k.alphaMap=_.alphaMap,k.alphaTest=_.alphaTest,k.clipShadows=_.clipShadows,k.clippingPlanes=_.clippingPlanes,k.clipIntersection=_.clipIntersection,k.displacementMap=_.displacementMap,k.displacementScale=_.displacementScale,k.displacementBias=_.displacementBias,k.wireframeLinewidth=_.wireframeLinewidth,k.linewidth=_.linewidth,S.isPointLight===!0&&k.isMeshDistanceMaterial===!0&&(k.referencePosition.setFromMatrixPosition(S.matrixWorld),k.nearDistance=O,k.farDistance=C),k}function x(b,_,S,O,C){if(b.visible===!1)return;if(b.layers.test(_.layers)&&(b.isMesh||b.isLine||b.isPoints)&&(b.castShadow||b.receiveShadow&&C===_x)&&(!b.frustumCulled||r.intersectsObject(b))){b.modelViewMatrix.multiplyMatrices(S.matrixWorldInverse,b.matrixWorld);const I=e.update(b),P=b.material;if(Array.isArray(P)){const R=I.groups;for(let T=0,L=R.length;T=1):U.indexOf("OpenGL ES")!==-1&&(B=parseFloat(/^OpenGL ES (\d)/.exec(U)[1]),z=B>=2);let W=null,$={};const N=t.getParameter(3088),D=t.getParameter(2978),A=new Ri().fromArray(N),q=new Ri().fromArray(D);function Y(ae,Le,Ee){const ze=new Uint8Array(4),He=t.createTexture();t.bindTexture(ae,He),t.texParameteri(ae,10241,9728),t.texParameteri(ae,10240,9728);for(let bt=0;bthe||H.height>he)&&(_e=he/Math.max(H.width,H.height)),_e<1||G===!0)if(typeof HTMLImageElement<"u"&&H instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&H instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&H instanceof ImageBitmap){const oe=G?EF:Math.floor,Z=oe(_e*H.width),V=oe(_e*H.height);m===void 0&&(m=y(Z,V));const de=ie?y(Z,V):m;return de.width=Z,de.height=V,de.getContext("2d").drawImage(H,0,0,Z,V),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+H.width+"x"+H.height+") to ("+Z+"x"+V+")."),de}else return"data"in H&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+H.width+"x"+H.height+")."),H;return H}function b(H){return jZ(H.width)&&jZ(H.height)}function _(H){return s?!1:H.wrapS!==qa||H.wrapT!==qa||H.minFilter!==Eo&&H.minFilter!==Po}function S(H,G){return H.generateMipmaps&&G&&H.minFilter!==Eo&&H.minFilter!==Po}function O(H){t.generateMipmap(H)}function C(H,G,ie,he,_e=!1){if(s===!1)return G;if(H!==null){if(t[H]!==void 0)return t[H];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+H+"'")}let oe=G;return G===6403&&(ie===5126&&(oe=33326),ie===5131&&(oe=33325),ie===5121&&(oe=33321)),G===33319&&(ie===5126&&(oe=33328),ie===5131&&(oe=33327),ie===5121&&(oe=33323)),G===6408&&(ie===5126&&(oe=34836),ie===5131&&(oe=34842),ie===5121&&(oe=he===yr&&_e===!1?35907:32856),ie===32819&&(oe=32854),ie===32820&&(oe=32855)),(oe===33325||oe===33326||oe===33327||oe===33328||oe===34842||oe===34836)&&e.get("EXT_color_buffer_float"),oe}function E(H,G,ie){return S(H,ie)===!0||H.isFramebufferTexture&&H.minFilter!==Eo&&H.minFilter!==Po?Math.log2(Math.max(G.width,G.height))+1:H.mipmaps!==void 0&&H.mipmaps.length>0?H.mipmaps.length:H.isCompressedTexture&&Array.isArray(H.image)?G.mipmaps.length:1}function k(H){return H===Eo||H===hZ||H===pZ?9728:9729}function I(H){const G=H.target;G.removeEventListener("dispose",I),R(G),G.isVideoTexture&&p.delete(G)}function P(H){const G=H.target;G.removeEventListener("dispose",P),L(G)}function R(H){const G=r.get(H);if(G.__webglInit===void 0)return;const ie=H.source,he=g.get(ie);if(he){const _e=he[G.__cacheKey];_e.usedTimes--,_e.usedTimes===0&&T(H),Object.keys(he).length===0&&g.delete(ie)}r.remove(H)}function T(H){const G=r.get(H);t.deleteTexture(G.__webglTexture);const ie=H.source,he=g.get(ie);delete he[G.__cacheKey],a.memory.textures--}function L(H){const G=H.texture,ie=r.get(H),he=r.get(G);if(he.__webglTexture!==void 0&&(t.deleteTexture(he.__webglTexture),a.memory.textures--),H.depthTexture&&H.depthTexture.dispose(),H.isWebGLCubeRenderTarget)for(let _e=0;_e<6;_e++)t.deleteFramebuffer(ie.__webglFramebuffer[_e]),ie.__webglDepthbuffer&&t.deleteRenderbuffer(ie.__webglDepthbuffer[_e]);else{if(t.deleteFramebuffer(ie.__webglFramebuffer),ie.__webglDepthbuffer&&t.deleteRenderbuffer(ie.__webglDepthbuffer),ie.__webglMultisampledFramebuffer&&t.deleteFramebuffer(ie.__webglMultisampledFramebuffer),ie.__webglColorRenderbuffer)for(let _e=0;_e=l&&console.warn("THREE.WebGLTextures: Trying to use "+H+" texture units while this GPU supports only "+l),z+=1,H}function W(H){const G=[];return G.push(H.wrapS),G.push(H.wrapT),G.push(H.magFilter),G.push(H.minFilter),G.push(H.anisotropy),G.push(H.internalFormat),G.push(H.format),G.push(H.type),G.push(H.generateMipmaps),G.push(H.premultiplyAlpha),G.push(H.flipY),G.push(H.unpackAlignment),G.push(H.encoding),G.join()}function $(H,G){const ie=r.get(H);if(H.isVideoTexture&&ge(H),H.isRenderTargetTexture===!1&&H.version>0&&ie.__version!==H.version){const he=H.image;if(he===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(he.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{te(ie,H,G);return}}n.activeTexture(33984+G),n.bindTexture(3553,ie.__webglTexture)}function N(H,G){const ie=r.get(H);if(H.version>0&&ie.__version!==H.version){te(ie,H,G);return}n.activeTexture(33984+G),n.bindTexture(35866,ie.__webglTexture)}function D(H,G){const ie=r.get(H);if(H.version>0&&ie.__version!==H.version){te(ie,H,G);return}n.activeTexture(33984+G),n.bindTexture(32879,ie.__webglTexture)}function A(H,G){const ie=r.get(H);if(H.version>0&&ie.__version!==H.version){J(ie,H,G);return}n.activeTexture(33984+G),n.bindTexture(34067,ie.__webglTexture)}const q={[OF]:10497,[qa]:33071,[CF]:33648},Y={[Eo]:9728,[hZ]:9984,[pZ]:9986,[Po]:9729,[j$t]:9985,[Lk]:9987};function K(H,G,ie){if(ie?(t.texParameteri(H,10242,q[G.wrapS]),t.texParameteri(H,10243,q[G.wrapT]),(H===32879||H===35866)&&t.texParameteri(H,32882,q[G.wrapR]),t.texParameteri(H,10240,Y[G.magFilter]),t.texParameteri(H,10241,Y[G.minFilter])):(t.texParameteri(H,10242,33071),t.texParameteri(H,10243,33071),(H===32879||H===35866)&&t.texParameteri(H,32882,33071),(G.wrapS!==qa||G.wrapT!==qa)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(H,10240,k(G.magFilter)),t.texParameteri(H,10241,k(G.minFilter)),G.minFilter!==Eo&&G.minFilter!==Po&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),e.has("EXT_texture_filter_anisotropic")===!0){const he=e.get("EXT_texture_filter_anisotropic");if(G.type===Mf&&e.has("OES_texture_float_linear")===!1||s===!1&&G.type===i1&&e.has("OES_texture_half_float_linear")===!1)return;(G.anisotropy>1||r.get(G).__currentAnisotropy)&&(t.texParameterf(H,he.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(G.anisotropy,i.getMaxAnisotropy())),r.get(G).__currentAnisotropy=G.anisotropy)}}function se(H,G){let ie=!1;H.__webglInit===void 0&&(H.__webglInit=!0,G.addEventListener("dispose",I));const he=G.source;let _e=g.get(he);_e===void 0&&(_e={},g.set(he,_e));const oe=W(G);if(oe!==H.__cacheKey){_e[oe]===void 0&&(_e[oe]={texture:t.createTexture(),usedTimes:0},a.memory.textures++,ie=!0),_e[oe].usedTimes++;const Z=_e[H.__cacheKey];Z!==void 0&&(_e[H.__cacheKey].usedTimes--,Z.usedTimes===0&&T(G)),H.__cacheKey=oe,H.__webglTexture=_e[oe].texture}return ie}function te(H,G,ie){let he=3553;G.isDataArrayTexture&&(he=35866),G.isData3DTexture&&(he=32879);const _e=se(H,G),oe=G.source;if(n.activeTexture(33984+ie),n.bindTexture(he,H.__webglTexture),oe.version!==oe.__currentVersion||_e===!0){t.pixelStorei(37440,G.flipY),t.pixelStorei(37441,G.premultiplyAlpha),t.pixelStorei(3317,G.unpackAlignment),t.pixelStorei(37443,0);const Z=_(G)&&b(G.image)===!1;let V=x(G.image,Z,!1,u);V=ye(G,V);const de=b(V)||s,xe=o.convert(G.format,G.encoding);let Me=o.convert(G.type),me=C(G.internalFormat,xe,Me,G.encoding,G.isVideoTexture);K(he,G,de);let $e;const Te=G.mipmaps,Re=s&&G.isVideoTexture!==!0,ae=oe.__currentVersion===void 0||_e===!0,Le=E(G,V,de);if(G.isDepthTexture)me=6402,s?G.type===Mf?me=36012:G.type===kh?me=33190:G.type===zg?me=35056:me=33189:G.type===Mf&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),G.format===Hh&&me===6402&&G.type!==vye&&G.type!==kh&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),G.type=kh,Me=o.convert(G.type)),G.format===Fv&&me===6402&&(me=34041,G.type!==zg&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),G.type=zg,Me=o.convert(G.type))),ae&&(Re?n.texStorage2D(3553,1,me,V.width,V.height):n.texImage2D(3553,0,me,V.width,V.height,0,xe,Me,null));else if(G.isDataTexture)if(Te.length>0&&de){Re&&ae&&n.texStorage2D(3553,Le,me,Te[0].width,Te[0].height);for(let Ee=0,ze=Te.length;Ee>=1,ze>>=1}}else if(Te.length>0&&de){Re&&ae&&n.texStorage2D(3553,Le,me,Te[0].width,Te[0].height);for(let Ee=0,ze=Te.length;Ee0&&ae++,n.texStorage2D(34067,ae,$e,V[0].width,V[0].height));for(let Ee=0;Ee<6;Ee++)if(Z){Te?n.texSubImage2D(34069+Ee,0,0,0,V[Ee].width,V[Ee].height,Me,me,V[Ee].data):n.texImage2D(34069+Ee,0,$e,V[Ee].width,V[Ee].height,0,Me,me,V[Ee].data);for(let ze=0;ze0&&ee(H)===!1){const V=oe?G:[G];ie.__webglMultisampledFramebuffer=t.createFramebuffer(),ie.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,ie.__webglMultisampledFramebuffer);for(let de=0;de0&&ee(H)===!1){const G=H.isWebGLMultipleRenderTargets?H.texture:[H.texture],ie=H.width,he=H.height;let _e=16384;const oe=[],Z=H.stencilBuffer?33306:36096,V=r.get(H),de=H.isWebGLMultipleRenderTargets===!0;if(de)for(let xe=0;xe0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&G.__useRenderToTexture!==!1}function ge(H){const G=a.render.frame;p.get(H)!==G&&(p.set(H,G),H.update())}function ye(H,G){const ie=H.encoding,he=H.format,_e=H.type;return H.isCompressedTexture===!0||H.isVideoTexture===!0||H.format===TF||ie!==xp&&(ie===yr?s===!1?e.has("EXT_sRGB")===!0&&he===jl?(H.format=TF,H.minFilter=Po,H.generateMipmaps=!1):G=_ye.sRGBToLinear(G):(he!==jl||_e!==yp)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",ie)),G}this.allocateTextureUnit=U,this.resetTextureUnits=B,this.setTexture2D=$,this.setTexture2DArray=N,this.setTexture3D=D,this.setTextureCube=A,this.rebindTextures=F,this.setupRenderTarget=ce,this.updateRenderTargetMipmap=le,this.updateMultisampleRenderTarget=Q,this.setupDepthRenderbuffer=ve,this.setupFrameBufferTexture=pe,this.useMultisampledRTT=ee}function Hzt(t,e,n){const r=n.isWebGL2;function i(o,a=null){let s;if(o===yp)return 5121;if(o===W$t)return 32819;if(o===V$t)return 32820;if(o===B$t)return 5120;if(o===z$t)return 5122;if(o===vye)return 5123;if(o===U$t)return 5124;if(o===kh)return 5125;if(o===Mf)return 5126;if(o===i1)return r?5131:(s=e.get("OES_texture_half_float"),s!==null?s.HALF_FLOAT_OES:null);if(o===G$t)return 6406;if(o===jl)return 6408;if(o===q$t)return 6409;if(o===X$t)return 6410;if(o===Hh)return 6402;if(o===Fv)return 34041;if(o===yye)return 6403;if(o===H$t)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(o===TF)return s=e.get("EXT_sRGB"),s!==null?s.SRGB_ALPHA_EXT:null;if(o===Q$t)return 36244;if(o===Y$t)return 33319;if(o===K$t)return 33320;if(o===Z$t)return 36249;if(o===VI||o===GI||o===HI||o===qI)if(a===yr)if(s=e.get("WEBGL_compressed_texture_s3tc_srgb"),s!==null){if(o===VI)return s.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(o===GI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(o===HI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(o===qI)return s.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(s=e.get("WEBGL_compressed_texture_s3tc"),s!==null){if(o===VI)return s.COMPRESSED_RGB_S3TC_DXT1_EXT;if(o===GI)return s.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(o===HI)return s.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(o===qI)return s.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(o===mZ||o===gZ||o===vZ||o===yZ)if(s=e.get("WEBGL_compressed_texture_pvrtc"),s!==null){if(o===mZ)return s.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(o===gZ)return s.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(o===vZ)return s.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(o===yZ)return s.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(o===J$t)return s=e.get("WEBGL_compressed_texture_etc1"),s!==null?s.COMPRESSED_RGB_ETC1_WEBGL:null;if(o===xZ||o===bZ)if(s=e.get("WEBGL_compressed_texture_etc"),s!==null){if(o===xZ)return a===yr?s.COMPRESSED_SRGB8_ETC2:s.COMPRESSED_RGB8_ETC2;if(o===bZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:s.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(o===_Z||o===wZ||o===SZ||o===OZ||o===CZ||o===TZ||o===EZ||o===PZ||o===MZ||o===kZ||o===AZ||o===RZ||o===IZ||o===DZ)if(s=e.get("WEBGL_compressed_texture_astc"),s!==null){if(o===_Z)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:s.COMPRESSED_RGBA_ASTC_4x4_KHR;if(o===wZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:s.COMPRESSED_RGBA_ASTC_5x4_KHR;if(o===SZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:s.COMPRESSED_RGBA_ASTC_5x5_KHR;if(o===OZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:s.COMPRESSED_RGBA_ASTC_6x5_KHR;if(o===CZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:s.COMPRESSED_RGBA_ASTC_6x6_KHR;if(o===TZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:s.COMPRESSED_RGBA_ASTC_8x5_KHR;if(o===EZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:s.COMPRESSED_RGBA_ASTC_8x6_KHR;if(o===PZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:s.COMPRESSED_RGBA_ASTC_8x8_KHR;if(o===MZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:s.COMPRESSED_RGBA_ASTC_10x5_KHR;if(o===kZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:s.COMPRESSED_RGBA_ASTC_10x6_KHR;if(o===AZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:s.COMPRESSED_RGBA_ASTC_10x8_KHR;if(o===RZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:s.COMPRESSED_RGBA_ASTC_10x10_KHR;if(o===IZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:s.COMPRESSED_RGBA_ASTC_12x10_KHR;if(o===DZ)return a===yr?s.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:s.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(o===LZ)if(s=e.get("EXT_texture_compression_bptc"),s!==null){if(o===LZ)return a===yr?s.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:s.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;return o===zg?r?34042:(s=e.get("WEBGL_depth_texture"),s!==null?s.UNSIGNED_INT_24_8_WEBGL:null):t[o]!==void 0?t[o]:null}return{convert:i}}class qzt extends Us{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class tC extends zo{constructor(){super(),this.isGroup=!0,this.type="Group"}}const Xzt={type:"move"};class _D{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new tC,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new tC,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new Se,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new Se),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new tC,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new Se,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new Se),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,n,r){let i=null,o=null,a=null;const s=this._targetRay,l=this._grip,c=this._hand;if(e&&n.session.visibilityState!=="visible-blurred"){if(c&&e.hand){a=!0;for(const m of e.hand.values()){const g=n.getJointPose(m,r);if(c.joints[m.jointName]===void 0){const y=new tC;y.matrixAutoUpdate=!1,y.visible=!1,c.joints[m.jointName]=y,c.add(y)}const v=c.joints[m.jointName];g!==null&&(v.matrix.fromArray(g.transform.matrix),v.matrix.decompose(v.position,v.rotation,v.scale),v.jointRadius=g.radius),v.visible=g!==null}const u=c.joints["index-finger-tip"],f=c.joints["thumb-tip"],d=u.position.distanceTo(f.position),h=.02,p=.005;c.inputState.pinching&&d>h+p?(c.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!c.inputState.pinching&&d<=h-p&&(c.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(o=n.getPose(e.gripSpace,r),o!==null&&(l.matrix.fromArray(o.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),o.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(o.linearVelocity)):l.hasLinearVelocity=!1,o.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(o.angularVelocity)):l.hasAngularVelocity=!1));s!==null&&(i=n.getPose(e.targetRaySpace,r),i===null&&o!==null&&(i=o),i!==null&&(s.matrix.fromArray(i.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),i.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(i.linearVelocity)):s.hasLinearVelocity=!1,i.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(i.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(Xzt)))}return s!==null&&(s.visible=i!==null),l!==null&&(l.visible=o!==null),c!==null&&(c.visible=a!==null),this}}class Qzt extends Ta{constructor(e,n,r,i,o,a,s,l,c,u){if(u=u!==void 0?u:Hh,u!==Hh&&u!==Fv)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");r===void 0&&u===Hh&&(r=kh),r===void 0&&u===Fv&&(r=zg),super(null,i,o,a,s,l,u,r,c),this.isDepthTexture=!0,this.image={width:e,height:n},this.magFilter=s!==void 0?s:Eo,this.minFilter=l!==void 0?l:Eo,this.flipY=!1,this.generateMipmaps=!1}}class Yzt extends Hp{constructor(e,n){super();const r=this;let i=null,o=1,a=null,s="local-floor",l=null,c=null,u=null,f=null,d=null,h=null;const p=n.getContextAttributes();let m=null,g=null;const v=[],y=[],x=new Us;x.layers.enable(1),x.viewport=new Ri;const b=new Us;b.layers.enable(2),b.viewport=new Ri;const _=[x,b],S=new qzt;S.layers.enable(1),S.layers.enable(2);let O=null,C=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(W){let $=v[W];return $===void 0&&($=new _D,v[W]=$),$.getTargetRaySpace()},this.getControllerGrip=function(W){let $=v[W];return $===void 0&&($=new _D,v[W]=$),$.getGripSpace()},this.getHand=function(W){let $=v[W];return $===void 0&&($=new _D,v[W]=$),$.getHandSpace()};function E(W){const $=y.indexOf(W.inputSource);if($===-1)return;const N=v[$];N!==void 0&&N.dispatchEvent({type:W.type,data:W.inputSource})}function k(){i.removeEventListener("select",E),i.removeEventListener("selectstart",E),i.removeEventListener("selectend",E),i.removeEventListener("squeeze",E),i.removeEventListener("squeezestart",E),i.removeEventListener("squeezeend",E),i.removeEventListener("end",k),i.removeEventListener("inputsourceschange",I);for(let W=0;W=0&&(y[D]=null,v[D].dispatchEvent({type:"disconnected",data:N}))}for(let $=0;$=y.length){y.push(N),D=q;break}else if(y[q]===null){y[q]=N,D=q;break}if(D===-1)break}const A=v[D];A&&A.dispatchEvent({type:"connected",data:N})}}const P=new Se,R=new Se;function T(W,$,N){P.setFromMatrixPosition($.matrixWorld),R.setFromMatrixPosition(N.matrixWorld);const D=P.distanceTo(R),A=$.projectionMatrix.elements,q=N.projectionMatrix.elements,Y=A[14]/(A[10]-1),K=A[14]/(A[10]+1),se=(A[9]+1)/A[5],te=(A[9]-1)/A[5],J=(A[8]-1)/A[0],pe=(q[8]+1)/q[0],be=Y*J,re=Y*pe,ve=D/(-J+pe),F=ve*-J;$.matrixWorld.decompose(W.position,W.quaternion,W.scale),W.translateX(F),W.translateZ(ve),W.matrixWorld.compose(W.position,W.quaternion,W.scale),W.matrixWorldInverse.copy(W.matrixWorld).invert();const ce=Y+ve,le=K+ve,Q=be-F,X=re+(D-F),ee=se*K/le*ce,ge=te*K/le*ce;W.projectionMatrix.makePerspective(Q,X,ee,ge,ce,le)}function L(W,$){$===null?W.matrixWorld.copy(W.matrix):W.matrixWorld.multiplyMatrices($.matrixWorld,W.matrix),W.matrixWorldInverse.copy(W.matrixWorld).invert()}this.updateCamera=function(W){if(i===null)return;S.near=b.near=x.near=W.near,S.far=b.far=x.far=W.far,(O!==S.near||C!==S.far)&&(i.updateRenderState({depthNear:S.near,depthFar:S.far}),O=S.near,C=S.far);const $=W.parent,N=S.cameras;L(S,$);for(let A=0;A0&&(m.alphaTest.value=g.alphaTest);const v=e.get(g).envMap;if(v&&(m.envMap.value=v,m.flipEnvMap.value=v.isCubeTexture&&v.isRenderTargetTexture===!1?-1:1,m.reflectivity.value=g.reflectivity,m.ior.value=g.ior,m.refractionRatio.value=g.refractionRatio),g.lightMap){m.lightMap.value=g.lightMap;const b=t.physicallyCorrectLights!==!0?Math.PI:1;m.lightMapIntensity.value=g.lightMapIntensity*b}g.aoMap&&(m.aoMap.value=g.aoMap,m.aoMapIntensity.value=g.aoMapIntensity);let y;g.map?y=g.map:g.specularMap?y=g.specularMap:g.displacementMap?y=g.displacementMap:g.normalMap?y=g.normalMap:g.bumpMap?y=g.bumpMap:g.roughnessMap?y=g.roughnessMap:g.metalnessMap?y=g.metalnessMap:g.alphaMap?y=g.alphaMap:g.emissiveMap?y=g.emissiveMap:g.clearcoatMap?y=g.clearcoatMap:g.clearcoatNormalMap?y=g.clearcoatNormalMap:g.clearcoatRoughnessMap?y=g.clearcoatRoughnessMap:g.iridescenceMap?y=g.iridescenceMap:g.iridescenceThicknessMap?y=g.iridescenceThicknessMap:g.specularIntensityMap?y=g.specularIntensityMap:g.specularColorMap?y=g.specularColorMap:g.transmissionMap?y=g.transmissionMap:g.thicknessMap?y=g.thicknessMap:g.sheenColorMap?y=g.sheenColorMap:g.sheenRoughnessMap&&(y=g.sheenRoughnessMap),y!==void 0&&(y.isWebGLRenderTarget&&(y=y.texture),y.matrixAutoUpdate===!0&&y.updateMatrix(),m.uvTransform.value.copy(y.matrix));let x;g.aoMap?x=g.aoMap:g.lightMap&&(x=g.lightMap),x!==void 0&&(x.isWebGLRenderTarget&&(x=x.texture),x.matrixAutoUpdate===!0&&x.updateMatrix(),m.uv2Transform.value.copy(x.matrix))}function o(m,g){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity}function a(m,g){m.dashSize.value=g.dashSize,m.totalSize.value=g.dashSize+g.gapSize,m.scale.value=g.scale}function s(m,g,v,y){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity,m.size.value=g.size*v,m.scale.value=y*.5,g.map&&(m.map.value=g.map),g.alphaMap&&(m.alphaMap.value=g.alphaMap),g.alphaTest>0&&(m.alphaTest.value=g.alphaTest);let x;g.map?x=g.map:g.alphaMap&&(x=g.alphaMap),x!==void 0&&(x.matrixAutoUpdate===!0&&x.updateMatrix(),m.uvTransform.value.copy(x.matrix))}function l(m,g){m.diffuse.value.copy(g.color),m.opacity.value=g.opacity,m.rotation.value=g.rotation,g.map&&(m.map.value=g.map),g.alphaMap&&(m.alphaMap.value=g.alphaMap),g.alphaTest>0&&(m.alphaTest.value=g.alphaTest);let v;g.map?v=g.map:g.alphaMap&&(v=g.alphaMap),v!==void 0&&(v.matrixAutoUpdate===!0&&v.updateMatrix(),m.uvTransform.value.copy(v.matrix))}function c(m,g){m.specular.value.copy(g.specular),m.shininess.value=Math.max(g.shininess,1e-4)}function u(m,g){g.gradientMap&&(m.gradientMap.value=g.gradientMap)}function f(m,g){m.roughness.value=g.roughness,m.metalness.value=g.metalness,g.roughnessMap&&(m.roughnessMap.value=g.roughnessMap),g.metalnessMap&&(m.metalnessMap.value=g.metalnessMap),e.get(g).envMap&&(m.envMapIntensity.value=g.envMapIntensity)}function d(m,g,v){m.ior.value=g.ior,g.sheen>0&&(m.sheenColor.value.copy(g.sheenColor).multiplyScalar(g.sheen),m.sheenRoughness.value=g.sheenRoughness,g.sheenColorMap&&(m.sheenColorMap.value=g.sheenColorMap),g.sheenRoughnessMap&&(m.sheenRoughnessMap.value=g.sheenRoughnessMap)),g.clearcoat>0&&(m.clearcoat.value=g.clearcoat,m.clearcoatRoughness.value=g.clearcoatRoughness,g.clearcoatMap&&(m.clearcoatMap.value=g.clearcoatMap),g.clearcoatRoughnessMap&&(m.clearcoatRoughnessMap.value=g.clearcoatRoughnessMap),g.clearcoatNormalMap&&(m.clearcoatNormalScale.value.copy(g.clearcoatNormalScale),m.clearcoatNormalMap.value=g.clearcoatNormalMap,g.side===_a&&m.clearcoatNormalScale.value.negate())),g.iridescence>0&&(m.iridescence.value=g.iridescence,m.iridescenceIOR.value=g.iridescenceIOR,m.iridescenceThicknessMinimum.value=g.iridescenceThicknessRange[0],m.iridescenceThicknessMaximum.value=g.iridescenceThicknessRange[1],g.iridescenceMap&&(m.iridescenceMap.value=g.iridescenceMap),g.iridescenceThicknessMap&&(m.iridescenceThicknessMap.value=g.iridescenceThicknessMap)),g.transmission>0&&(m.transmission.value=g.transmission,m.transmissionSamplerMap.value=v.texture,m.transmissionSamplerSize.value.set(v.width,v.height),g.transmissionMap&&(m.transmissionMap.value=g.transmissionMap),m.thickness.value=g.thickness,g.thicknessMap&&(m.thicknessMap.value=g.thicknessMap),m.attenuationDistance.value=g.attenuationDistance,m.attenuationColor.value.copy(g.attenuationColor)),m.specularIntensity.value=g.specularIntensity,m.specularColor.value.copy(g.specularColor),g.specularIntensityMap&&(m.specularIntensityMap.value=g.specularIntensityMap),g.specularColorMap&&(m.specularColorMap.value=g.specularColorMap)}function h(m,g){g.matcap&&(m.matcap.value=g.matcap)}function p(m,g){m.referencePosition.value.copy(g.referencePosition),m.nearDistance.value=g.nearDistance,m.farDistance.value=g.farDistance}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function Zzt(t,e,n,r){let i={},o={},a=[];const s=n.isWebGL2?t.getParameter(35375):0;function l(y,x){const b=x.program;r.uniformBlockBinding(y,b)}function c(y,x){let b=i[y.id];b===void 0&&(p(y),b=u(y),i[y.id]=b,y.addEventListener("dispose",g));const _=x.program;r.updateUBOMapping(y,_);const S=e.render.frame;o[y.id]!==S&&(d(y),o[y.id]=S)}function u(y){const x=f();y.__bindingPointIndex=x;const b=t.createBuffer(),_=y.__size,S=y.usage;return t.bindBuffer(35345,b),t.bufferData(35345,_,S),t.bindBuffer(35345,null),t.bindBufferBase(35345,x,b),b}function f(){for(let y=0;y0){S=b%_;const I=_-S;S!==0&&I-k.boundary<0&&(b+=_-S,E.__offset=b)}b+=k.storage}return S=b%_,S>0&&(b+=_-S),y.__size=b,y.__cache={},this}function m(y){const x=y.value,b={boundary:0,storage:0};return typeof x=="number"?(b.boundary=4,b.storage=4):x.isVector2?(b.boundary=8,b.storage=8):x.isVector3||x.isColor?(b.boundary=16,b.storage=12):x.isVector4?(b.boundary=16,b.storage=16):x.isMatrix3?(b.boundary=48,b.storage=48):x.isMatrix4?(b.boundary=64,b.storage=64):x.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",x),b}function g(y){const x=y.target;x.removeEventListener("dispose",g);const b=a.indexOf(x.__bindingPointIndex);a.splice(b,1),t.deleteBuffer(i[x.id]),delete i[x.id],delete o[x.id]}function v(){for(const y in i)t.deleteBuffer(i[y]);a=[],i={},o={}}return{bind:l,update:c,dispose:v}}function Jzt(){const t=o1("canvas");return t.style.display="block",t}function jye(t={}){this.isWebGLRenderer=!0;const e=t.canvas!==void 0?t.canvas:Jzt(),n=t.context!==void 0?t.context:null,r=t.depth!==void 0?t.depth:!0,i=t.stencil!==void 0?t.stencil:!0,o=t.antialias!==void 0?t.antialias:!1,a=t.premultipliedAlpha!==void 0?t.premultipliedAlpha:!0,s=t.preserveDrawingBuffer!==void 0?t.preserveDrawingBuffer:!1,l=t.powerPreference!==void 0?t.powerPreference:"default",c=t.failIfMajorPerformanceCaveat!==void 0?t.failIfMajorPerformanceCaveat:!1;let u;n!==null?u=n.getContextAttributes().alpha:u=t.alpha!==void 0?t.alpha:!1;let f=null,d=null;const h=[],p=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=xp,this.physicallyCorrectLights=!1,this.toneMapping=su,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const m=this;let g=!1,v=0,y=0,x=null,b=-1,_=null;const S=new Ri,O=new Ri;let C=null,E=e.width,k=e.height,I=1,P=null,R=null;const T=new Ri(0,0,E,k),L=new Ri(0,0,E,k);let z=!1;const B=new Rye;let U=!1,W=!1,$=null;const N=new Hn,D=new qt,A=new Se,q={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function Y(){return x===null?I:1}let K=n;function se(ne,Pe){for(let Ie=0;Ie0?d=p[p.length-1]:d=null,h.pop(),h.length>0?f=h[h.length-1]:f=null};function Xr(ne,Pe,Ie,Oe){if(ne.visible===!1)return;if(ne.layers.test(Pe.layers)){if(ne.isGroup)Ie=ne.renderOrder;else if(ne.isLOD)ne.autoUpdate===!0&&ne.update(Pe);else if(ne.isLight)d.pushLight(ne),ne.castShadow&&d.pushShadow(ne);else if(ne.isSprite){if(!ne.frustumCulled||B.intersectsSprite(ne)){Oe&&A.setFromMatrixPosition(ne.matrixWorld).applyMatrix4(N);const Ze=X.update(ne),mt=ne.material;mt.visible&&f.push(ne,Ze,mt,Ie,A.z,null)}}else if((ne.isMesh||ne.isLine||ne.isPoints)&&(ne.isSkinnedMesh&&ne.skeleton.frame!==be.render.frame&&(ne.skeleton.update(),ne.skeleton.frame=be.render.frame),!ne.frustumCulled||B.intersectsObject(ne))){Oe&&A.setFromMatrixPosition(ne.matrixWorld).applyMatrix4(N);const Ze=X.update(ne),mt=ne.material;if(Array.isArray(mt)){const wt=Ze.groups;for(let zt=0,Pt=wt.length;zt0&&Qr(Ne,Pe,Ie),Oe&&pe.viewport(S.copy(Oe)),Ne.length>0&&ir(Ne,Pe,Ie),ot.length>0&&ir(ot,Pe,Ie),Ze.length>0&&ir(Ze,Pe,Ie),pe.buffers.depth.setTest(!0),pe.buffers.depth.setMask(!0),pe.buffers.color.setMask(!0),pe.setPolygonOffset(!1)}function Qr(ne,Pe,Ie){const Oe=J.isWebGL2;$===null&&($=new bp(1,1,{generateMipmaps:!0,type:te.has("EXT_color_buffer_half_float")?i1:yp,minFilter:Lk,samples:Oe&&o===!0?4:0})),m.getDrawingBufferSize(D),Oe?$.setSize(D.x,D.y):$.setSize(EF(D.x),EF(D.y));const Ne=m.getRenderTarget();m.setRenderTarget($),m.clear();const ot=m.toneMapping;m.toneMapping=su,ir(ne,Pe,Ie),m.toneMapping=ot,ve.updateMultisampleRenderTarget($),ve.updateRenderTargetMipmap($),m.setRenderTarget(Ne)}function ir(ne,Pe,Ie){const Oe=Pe.isScene===!0?Pe.overrideMaterial:null;for(let Ne=0,ot=ne.length;Ne0&&ve.useMultisampledRTT(ne)===!1?Ne=re.get(ne).__webglMultisampledFramebuffer:Ne=zt,S.copy(ne.viewport),O.copy(ne.scissor),C=ne.scissorTest}else S.copy(T).multiplyScalar(I).floor(),O.copy(L).multiplyScalar(I).floor(),C=z;if(pe.bindFramebuffer(36160,Ne)&&J.drawBuffers&&Oe&&pe.drawBuffers(ne,Ne),pe.viewport(S),pe.scissor(O),pe.setScissorTest(C),ot){const wt=re.get(ne.texture);K.framebufferTexture2D(36160,36064,34069+Pe,wt.__webglTexture,Ie)}else if(Ze){const wt=re.get(ne.texture),zt=Pe||0;K.framebufferTextureLayer(36160,36064,wt.__webglTexture,Ie||0,zt)}b=-1},this.readRenderTargetPixels=function(ne,Pe,Ie,Oe,Ne,ot,Ze){if(!(ne&&ne.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let mt=re.get(ne).__webglFramebuffer;if(ne.isWebGLCubeRenderTarget&&Ze!==void 0&&(mt=mt[Ze]),mt){pe.bindFramebuffer(36160,mt);try{const wt=ne.texture,zt=wt.format,Pt=wt.type;if(zt!==jl&&V.convert(zt)!==K.getParameter(35739)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const st=Pt===i1&&(te.has("EXT_color_buffer_half_float")||J.isWebGL2&&te.has("EXT_color_buffer_float"));if(Pt!==yp&&V.convert(Pt)!==K.getParameter(35738)&&!(Pt===Mf&&(J.isWebGL2||te.has("OES_texture_float")||te.has("WEBGL_color_buffer_float")))&&!st){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}Pe>=0&&Pe<=ne.width-Oe&&Ie>=0&&Ie<=ne.height-Ne&&K.readPixels(Pe,Ie,Oe,Ne,V.convert(zt),V.convert(Pt),ot)}finally{const wt=x!==null?re.get(x).__webglFramebuffer:null;pe.bindFramebuffer(36160,wt)}}},this.copyFramebufferToTexture=function(ne,Pe,Ie=0){const Oe=Math.pow(2,-Ie),Ne=Math.floor(Pe.image.width*Oe),ot=Math.floor(Pe.image.height*Oe);ve.setTexture2D(Pe,0),K.copyTexSubImage2D(3553,Ie,0,0,ne.x,ne.y,Ne,ot),pe.unbindTexture()},this.copyTextureToTexture=function(ne,Pe,Ie,Oe=0){const Ne=Pe.image.width,ot=Pe.image.height,Ze=V.convert(Ie.format),mt=V.convert(Ie.type);ve.setTexture2D(Ie,0),K.pixelStorei(37440,Ie.flipY),K.pixelStorei(37441,Ie.premultiplyAlpha),K.pixelStorei(3317,Ie.unpackAlignment),Pe.isDataTexture?K.texSubImage2D(3553,Oe,ne.x,ne.y,Ne,ot,Ze,mt,Pe.image.data):Pe.isCompressedTexture?K.compressedTexSubImage2D(3553,Oe,ne.x,ne.y,Pe.mipmaps[0].width,Pe.mipmaps[0].height,Ze,Pe.mipmaps[0].data):K.texSubImage2D(3553,Oe,ne.x,ne.y,Ze,mt,Pe.image),Oe===0&&Ie.generateMipmaps&&K.generateMipmap(3553),pe.unbindTexture()},this.copyTextureToTexture3D=function(ne,Pe,Ie,Oe,Ne=0){if(m.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const ot=ne.max.x-ne.min.x+1,Ze=ne.max.y-ne.min.y+1,mt=ne.max.z-ne.min.z+1,wt=V.convert(Oe.format),zt=V.convert(Oe.type);let Pt;if(Oe.isData3DTexture)ve.setTexture3D(Oe,0),Pt=32879;else if(Oe.isDataArrayTexture)ve.setTexture2DArray(Oe,0),Pt=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}K.pixelStorei(37440,Oe.flipY),K.pixelStorei(37441,Oe.premultiplyAlpha),K.pixelStorei(3317,Oe.unpackAlignment);const st=K.getParameter(3314),Qt=K.getParameter(32878),Ld=K.getParameter(3316),Xp=K.getParameter(3315),Qp=K.getParameter(32877),sl=Ie.isCompressedTexture?Ie.mipmaps[0]:Ie.image;K.pixelStorei(3314,sl.width),K.pixelStorei(32878,sl.height),K.pixelStorei(3316,ne.min.x),K.pixelStorei(3315,ne.min.y),K.pixelStorei(32877,ne.min.z),Ie.isDataTexture||Ie.isData3DTexture?K.texSubImage3D(Pt,Ne,Pe.x,Pe.y,Pe.z,ot,Ze,mt,wt,zt,sl.data):Ie.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),K.compressedTexSubImage3D(Pt,Ne,Pe.x,Pe.y,Pe.z,ot,Ze,mt,wt,sl.data)):K.texSubImage3D(Pt,Ne,Pe.x,Pe.y,Pe.z,ot,Ze,mt,wt,zt,sl),K.pixelStorei(3314,st),K.pixelStorei(32878,Qt),K.pixelStorei(3316,Ld),K.pixelStorei(3315,Xp),K.pixelStorei(32877,Qp),Ne===0&&Oe.generateMipmaps&&K.generateMipmap(Pt),pe.unbindTexture()},this.initTexture=function(ne){ne.isCubeTexture?ve.setTextureCube(ne,0):ne.isData3DTexture?ve.setTexture3D(ne,0):ne.isDataArrayTexture?ve.setTexture2DArray(ne,0):ve.setTexture2D(ne,0),pe.unbindTexture()},this.resetState=function(){v=0,y=0,x=null,pe.reset(),de.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}class e4t extends jye{}e4t.prototype.isWebGL1Renderer=!0;class t4t extends zo{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,n){return super.copy(e,n),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const n=super.toJSON(e);return this.fog!==null&&(n.object.fog=this.fog.toJSON()),n}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(e){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=e}}class Bye extends $w{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new lr(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const xJ=new Se,bJ=new Se,_J=new Hn,wD=new Cye,nC=new Nk;class n4t extends zo{constructor(e=new Eu,n=new Bye){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=n,this.updateMorphTargets()}copy(e,n){return super.copy(e,n),this.material=e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.index===null){const n=e.attributes.position,r=[0];for(let i=1,o=n.count;il)continue;d.applyMatrix4(this.matrixWorld);const C=e.ray.origin.distanceTo(d);Ce.far||n.push({distance:C,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}else{const v=Math.max(0,a.start),y=Math.min(g.count,a.start+a.count);for(let x=v,b=y-1;xl)continue;d.applyMatrix4(this.matrixWorld);const S=e.ray.origin.distanceTo(d);Se.far||n.push({distance:S,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const n=this.geometry.morphAttributes,r=Object.keys(n);if(r.length>0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,a=i.length;o{n&&n(o),this.manager.itemEnd(e)},0),o;if(Oc[e]!==void 0){Oc[e].push({onLoad:n,onProgress:r,onError:i});return}Oc[e]=[],Oc[e].push({onLoad:n,onProgress:r,onError:i});const a=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),s=this.mimeType,l=this.responseType;fetch(a).then(c=>{if(c.status===200||c.status===0){if(c.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||c.body===void 0||c.body.getReader===void 0)return c;const u=Oc[e],f=c.body.getReader(),d=c.headers.get("Content-Length"),h=d?parseInt(d):0,p=h!==0;let m=0;const g=new ReadableStream({start(v){y();function y(){f.read().then(({done:x,value:b})=>{if(x)v.close();else{m+=b.byteLength;const _=new ProgressEvent("progress",{lengthComputable:p,loaded:m,total:h});for(let S=0,O=u.length;S{switch(l){case"arraybuffer":return c.arrayBuffer();case"blob":return c.blob();case"document":return c.text().then(u=>new DOMParser().parseFromString(u,s));case"json":return c.json();default:if(s===void 0)return c.text();{const f=/charset="?([^;"\s]*)"?/i.exec(s),d=f&&f[1]?f[1].toLowerCase():void 0,h=new TextDecoder(d);return c.arrayBuffer().then(p=>h.decode(p))}}}).then(c=>{IP.add(e,c);const u=Oc[e];delete Oc[e];for(let f=0,d=u.length;f{const u=Oc[e];if(u===void 0)throw this.manager.itemError(e),c;delete Oc[e];for(let f=0,d=u.length;f{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class l4t extends jk{constructor(e){super(e)}load(e,n,r,i){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const o=this,a=IP.get(e);if(a!==void 0)return o.manager.itemStart(e),setTimeout(function(){n&&n(a),o.manager.itemEnd(e)},0),a;const s=o1("img");function l(){u(),IP.add(e,this),n&&n(this),o.manager.itemEnd(e)}function c(f){u(),i&&i(f),o.manager.itemError(e),o.manager.itemEnd(e)}function u(){s.removeEventListener("load",l,!1),s.removeEventListener("error",c,!1)}return s.addEventListener("load",l,!1),s.addEventListener("error",c,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(s.crossOrigin=this.crossOrigin),o.manager.itemStart(e),s.src=e,s}}class c4t extends jk{constructor(e){super(e)}load(e,n,r,i){const o=new Ta,a=new l4t(this.manager);return a.setCrossOrigin(this.crossOrigin),a.setPath(this.path),a.load(e,function(s){o.image=s,o.needsUpdate=!0,n!==void 0&&n(o)},r,i),o}}class OJ{constructor(e=1,n=0,r=0){return this.radius=e,this.phi=n,this.theta=r,this}set(e,n,r){return this.radius=e,this.phi=n,this.theta=r,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,n,r){return this.radius=Math.sqrt(e*e+n*n+r*r),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,r),this.phi=Math.acos(Mo(n/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}}const rC=new Xy;class u4t extends r4t{constructor(e,n=16776960){const r=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Float32Array(8*3),o=new Eu;o.setIndex(new as(r,1)),o.setAttribute("position",new as(i,3)),super(o,new Bye({color:n,toneMapped:!1})),this.object=e,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(e){if(e!==void 0&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),this.object!==void 0&&rC.setFromObject(this.object),rC.isEmpty())return;const n=rC.min,r=rC.max,i=this.geometry.attributes.position,o=i.array;o[0]=r.x,o[1]=r.y,o[2]=r.z,o[3]=n.x,o[4]=r.y,o[5]=r.z,o[6]=n.x,o[7]=n.y,o[8]=r.z,o[9]=r.x,o[10]=n.y,o[11]=r.z,o[12]=r.x,o[13]=r.y,o[14]=n.z,o[15]=n.x,o[16]=r.y,o[17]=n.z,o[18]=n.x,o[19]=n.y,o[20]=n.z,o[21]=r.x,o[22]=n.y,o[23]=n.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(e){return this.object=e,this.update(),this}copy(e,n){return super.copy(e,n),this.object=e.object,this}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:w6}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=w6);const CJ={type:"change"},SD={type:"start"},TJ={type:"end"};class f4t extends Hp{constructor(e,n){super(),this.object=e,this.domElement=n,this.domElement.style.touchAction="none",this.enabled=!0,this.target=new Se,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:gm.ROTATE,MIDDLE:gm.DOLLY,RIGHT:gm.PAN},this.touches={ONE:vm.ROTATE,TWO:vm.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return s.phi},this.getAzimuthalAngle=function(){return s.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(V){V.addEventListener("keydown",ye),this._domElementKeyEvents=V},this.saveState=function(){r.target0.copy(r.target),r.position0.copy(r.object.position),r.zoom0=r.object.zoom},this.reset=function(){r.target.copy(r.target0),r.object.position.copy(r.position0),r.object.zoom=r.zoom0,r.object.updateProjectionMatrix(),r.dispatchEvent(CJ),r.update(),o=i.NONE},this.update=function(){const V=new Se,de=new _p().setFromUnitVectors(e.up,new Se(0,1,0)),xe=de.clone().invert(),Me=new Se,me=new _p,$e=2*Math.PI;return function(){const Re=r.object.position;V.copy(Re).sub(r.target),V.applyQuaternion(de),s.setFromVector3(V),r.autoRotate&&o===i.NONE&&E(O()),r.enableDamping?(s.theta+=l.theta*r.dampingFactor,s.phi+=l.phi*r.dampingFactor):(s.theta+=l.theta,s.phi+=l.phi);let ae=r.minAzimuthAngle,Le=r.maxAzimuthAngle;return isFinite(ae)&&isFinite(Le)&&(ae<-Math.PI?ae+=$e:ae>Math.PI&&(ae-=$e),Le<-Math.PI?Le+=$e:Le>Math.PI&&(Le-=$e),ae<=Le?s.theta=Math.max(ae,Math.min(Le,s.theta)):s.theta=s.theta>(ae+Le)/2?Math.max(ae,s.theta):Math.min(Le,s.theta)),s.phi=Math.max(r.minPolarAngle,Math.min(r.maxPolarAngle,s.phi)),s.makeSafe(),s.radius*=c,s.radius=Math.max(r.minDistance,Math.min(r.maxDistance,s.radius)),r.enableDamping===!0?r.target.addScaledVector(u,r.dampingFactor):r.target.add(u),V.setFromSpherical(s),V.applyQuaternion(xe),Re.copy(r.target).add(V),r.object.lookAt(r.target),r.enableDamping===!0?(l.theta*=1-r.dampingFactor,l.phi*=1-r.dampingFactor,u.multiplyScalar(1-r.dampingFactor)):(l.set(0,0,0),u.set(0,0,0)),c=1,f||Me.distanceToSquared(r.object.position)>a||8*(1-me.dot(r.object.quaternion))>a?(r.dispatchEvent(CJ),Me.copy(r.object.position),me.copy(r.object.quaternion),f=!1,!0):!1}}(),this.dispose=function(){r.domElement.removeEventListener("contextmenu",ie),r.domElement.removeEventListener("pointerdown",F),r.domElement.removeEventListener("pointercancel",Q),r.domElement.removeEventListener("wheel",ge),r.domElement.removeEventListener("pointermove",ce),r.domElement.removeEventListener("pointerup",le),r._domElementKeyEvents!==null&&r._domElementKeyEvents.removeEventListener("keydown",ye)};const r=this,i={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let o=i.NONE;const a=1e-6,s=new OJ,l=new OJ;let c=1;const u=new Se;let f=!1;const d=new qt,h=new qt,p=new qt,m=new qt,g=new qt,v=new qt,y=new qt,x=new qt,b=new qt,_=[],S={};function O(){return 2*Math.PI/60/60*r.autoRotateSpeed}function C(){return Math.pow(.95,r.zoomSpeed)}function E(V){l.theta-=V}function k(V){l.phi-=V}const I=function(){const V=new Se;return function(xe,Me){V.setFromMatrixColumn(Me,0),V.multiplyScalar(-xe),u.add(V)}}(),P=function(){const V=new Se;return function(xe,Me){r.screenSpacePanning===!0?V.setFromMatrixColumn(Me,1):(V.setFromMatrixColumn(Me,0),V.crossVectors(r.object.up,V)),V.multiplyScalar(xe),u.add(V)}}(),R=function(){const V=new Se;return function(xe,Me){const me=r.domElement;if(r.object.isPerspectiveCamera){const $e=r.object.position;V.copy($e).sub(r.target);let Te=V.length();Te*=Math.tan(r.object.fov/2*Math.PI/180),I(2*xe*Te/me.clientHeight,r.object.matrix),P(2*Me*Te/me.clientHeight,r.object.matrix)}else r.object.isOrthographicCamera?(I(xe*(r.object.right-r.object.left)/r.object.zoom/me.clientWidth,r.object.matrix),P(Me*(r.object.top-r.object.bottom)/r.object.zoom/me.clientHeight,r.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),r.enablePan=!1)}}();function T(V){r.object.isPerspectiveCamera?c/=V:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom*V)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function L(V){r.object.isPerspectiveCamera?c*=V:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom/V)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function z(V){d.set(V.clientX,V.clientY)}function B(V){y.set(V.clientX,V.clientY)}function U(V){m.set(V.clientX,V.clientY)}function W(V){h.set(V.clientX,V.clientY),p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const de=r.domElement;E(2*Math.PI*p.x/de.clientHeight),k(2*Math.PI*p.y/de.clientHeight),d.copy(h),r.update()}function $(V){x.set(V.clientX,V.clientY),b.subVectors(x,y),b.y>0?T(C()):b.y<0&&L(C()),y.copy(x),r.update()}function N(V){g.set(V.clientX,V.clientY),v.subVectors(g,m).multiplyScalar(r.panSpeed),R(v.x,v.y),m.copy(g),r.update()}function D(V){V.deltaY<0?L(C()):V.deltaY>0&&T(C()),r.update()}function A(V){let de=!1;switch(V.code){case r.keys.UP:R(0,r.keyPanSpeed),de=!0;break;case r.keys.BOTTOM:R(0,-r.keyPanSpeed),de=!0;break;case r.keys.LEFT:R(r.keyPanSpeed,0),de=!0;break;case r.keys.RIGHT:R(-r.keyPanSpeed,0),de=!0;break}de&&(V.preventDefault(),r.update())}function q(){if(_.length===1)d.set(_[0].pageX,_[0].pageY);else{const V=.5*(_[0].pageX+_[1].pageX),de=.5*(_[0].pageY+_[1].pageY);d.set(V,de)}}function Y(){if(_.length===1)m.set(_[0].pageX,_[0].pageY);else{const V=.5*(_[0].pageX+_[1].pageX),de=.5*(_[0].pageY+_[1].pageY);m.set(V,de)}}function K(){const V=_[0].pageX-_[1].pageX,de=_[0].pageY-_[1].pageY,xe=Math.sqrt(V*V+de*de);y.set(0,xe)}function se(){r.enableZoom&&K(),r.enablePan&&Y()}function te(){r.enableZoom&&K(),r.enableRotate&&q()}function J(V){if(_.length===1)h.set(V.pageX,V.pageY);else{const xe=Z(V),Me=.5*(V.pageX+xe.x),me=.5*(V.pageY+xe.y);h.set(Me,me)}p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const de=r.domElement;E(2*Math.PI*p.x/de.clientHeight),k(2*Math.PI*p.y/de.clientHeight),d.copy(h)}function pe(V){if(_.length===1)g.set(V.pageX,V.pageY);else{const de=Z(V),xe=.5*(V.pageX+de.x),Me=.5*(V.pageY+de.y);g.set(xe,Me)}v.subVectors(g,m).multiplyScalar(r.panSpeed),R(v.x,v.y),m.copy(g)}function be(V){const de=Z(V),xe=V.pageX-de.x,Me=V.pageY-de.y,me=Math.sqrt(xe*xe+Me*Me);x.set(0,me),b.set(0,Math.pow(x.y/y.y,r.zoomSpeed)),T(b.y),y.copy(x)}function re(V){r.enableZoom&&be(V),r.enablePan&&pe(V)}function ve(V){r.enableZoom&&be(V),r.enableRotate&&J(V)}function F(V){r.enabled!==!1&&(_.length===0&&(r.domElement.setPointerCapture(V.pointerId),r.domElement.addEventListener("pointermove",ce),r.domElement.addEventListener("pointerup",le)),he(V),V.pointerType==="touch"?H(V):X(V))}function ce(V){r.enabled!==!1&&(V.pointerType==="touch"?G(V):ee(V))}function le(V){_e(V),_.length===0&&(r.domElement.releasePointerCapture(V.pointerId),r.domElement.removeEventListener("pointermove",ce),r.domElement.removeEventListener("pointerup",le)),r.dispatchEvent(TJ),o=i.NONE}function Q(V){_e(V)}function X(V){let de;switch(V.button){case 0:de=r.mouseButtons.LEFT;break;case 1:de=r.mouseButtons.MIDDLE;break;case 2:de=r.mouseButtons.RIGHT;break;default:de=-1}switch(de){case gm.DOLLY:if(r.enableZoom===!1)return;B(V),o=i.DOLLY;break;case gm.ROTATE:if(V.ctrlKey||V.metaKey||V.shiftKey){if(r.enablePan===!1)return;U(V),o=i.PAN}else{if(r.enableRotate===!1)return;z(V),o=i.ROTATE}break;case gm.PAN:if(V.ctrlKey||V.metaKey||V.shiftKey){if(r.enableRotate===!1)return;z(V),o=i.ROTATE}else{if(r.enablePan===!1)return;U(V),o=i.PAN}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(SD)}function ee(V){switch(o){case i.ROTATE:if(r.enableRotate===!1)return;W(V);break;case i.DOLLY:if(r.enableZoom===!1)return;$(V);break;case i.PAN:if(r.enablePan===!1)return;N(V);break}}function ge(V){r.enabled===!1||r.enableZoom===!1||o!==i.NONE||(V.preventDefault(),r.dispatchEvent(SD),D(V),r.dispatchEvent(TJ))}function ye(V){r.enabled===!1||r.enablePan===!1||A(V)}function H(V){switch(oe(V),_.length){case 1:switch(r.touches.ONE){case vm.ROTATE:if(r.enableRotate===!1)return;q(),o=i.TOUCH_ROTATE;break;case vm.PAN:if(r.enablePan===!1)return;Y(),o=i.TOUCH_PAN;break;default:o=i.NONE}break;case 2:switch(r.touches.TWO){case vm.DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;se(),o=i.TOUCH_DOLLY_PAN;break;case vm.DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;te(),o=i.TOUCH_DOLLY_ROTATE;break;default:o=i.NONE}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(SD)}function G(V){switch(oe(V),o){case i.TOUCH_ROTATE:if(r.enableRotate===!1)return;J(V),r.update();break;case i.TOUCH_PAN:if(r.enablePan===!1)return;pe(V),r.update();break;case i.TOUCH_DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;re(V),r.update();break;case i.TOUCH_DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;ve(V),r.update();break;default:o=i.NONE}}function ie(V){r.enabled!==!1&&V.preventDefault()}function he(V){_.push(V)}function _e(V){delete S[V.pointerId];for(let de=0;de<_.length;de++)if(_[de].pointerId===V.pointerId){_.splice(de,1);return}}function oe(V){let de=S[V.pointerId];de===void 0&&(de=new qt,S[V.pointerId]=de),de.set(V.pageX,V.pageY)}function Z(V){const de=V.pointerId===_[0].pointerId?_[1]:_[0];return S[de.pointerId]}r.domElement.addEventListener("contextmenu",ie),r.domElement.addEventListener("pointerdown",F),r.domElement.addEventListener("pointercancel",Q),r.domElement.addEventListener("wheel",ge,{passive:!1}),this.update()}}const d4t={uniforms:{u_size:{value:new Se(1,1,1)},u_renderstyle:{value:0},u_renderthreshold:{value:.5},u_clim:{value:new qt(0,1)},u_data:{value:null},u_cmdata:{value:null}},vertexShader:` - - varying vec4 v_nearpos; - varying vec4 v_farpos; - varying vec3 v_position; - - void main() { - // Prepare transforms to map to "camera view". See also: - // https://threejs.org/docs/#api/renderers/webgl/WebGLProgram - mat4 viewModelMatrix = inverse(modelViewMatrix); - - // Project local vertex coordinate to camera position. Then do a step - // backward (in cam coords) to the near clipping plane, and project back. Do - // the same for the far clipping plane. This gives us all the information we - // need to calculate the ray and truncate it to the viewing cone. - vec4 position4 = vec4(position, 1.0); - vec4 pos_in_cam = modelViewMatrix * position4; - - // Intersection of ray and near clipping plane (z = -1 in clip coords) - pos_in_cam.z = -pos_in_cam.w; - // pos_in_cam.w = 1.0; - // pos_in_cam.z = -1.0; - v_nearpos = viewModelMatrix * pos_in_cam; - - // Intersection of ray and far clipping plane (z = +1 in clip coords) - pos_in_cam.z = pos_in_cam.w; - // pos_in_cam.z = 1.0; - v_farpos = viewModelMatrix * pos_in_cam; - - // Set varyings and output pos - v_position = position; - gl_Position = projectionMatrix * viewMatrix * modelMatrix * position4; - }`,fragmentShader:` - - precision highp float; - precision mediump sampler3D; - - uniform vec3 u_size; - uniform int u_renderstyle; - uniform float u_renderthreshold; - uniform vec2 u_clim; - - uniform sampler3D u_data; - uniform sampler2D u_cmdata; - - varying vec3 v_position; - varying vec4 v_nearpos; - varying vec4 v_farpos; - - // The maximum distance through our rendering volume is sqrt(3). - const int MAX_STEPS = 2000; // 887; // 887 for 512^3, 1774 for 1024^3 - const int REFINEMENT_STEPS = 8; // 4; - const float relative_step_size = 1.0; - const vec4 ambient_color = vec4(0.2, 0.4, 0.2, 1.0); - const vec4 diffuse_color = vec4(0.8, 0.2, 0.2, 1.0); - const vec4 specular_color = vec4(1.0, 1.0, 1.0, 1.0); - const float shininess = 40.0; - - void cast_mip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - void cast_aip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - void cast_iso(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray); - - float sample1(vec3 texcoords); - vec4 apply_colormap(float val); - vec4 add_lighting(float val, vec3 loc, vec3 step, vec3 view_ray); - - void main() { - // Normalize clipping plane info - vec3 farpos = v_farpos.xyz / v_farpos.w; - vec3 nearpos = v_nearpos.xyz / v_nearpos.w; - - // Calculate unit vector pointing in the view direction through this fragment. - vec3 view_ray = normalize(nearpos.xyz - farpos.xyz); - - // Compute the (negative) distance to the front surface or near clipping plane. - // v_position is the back face of the cuboid, so the initial distance calculated in the dot - // product below is the distance from near clip plane to the back of the cuboid - float distance = dot(nearpos - v_position, view_ray); - distance = max(distance, min((-0.5 - v_position.x) / view_ray.x, - (u_size.x - 0.5 - v_position.x) / view_ray.x)); - distance = max(distance, min((-0.5 - v_position.y) / view_ray.y, - (u_size.y - 0.5 - v_position.y) / view_ray.y)); - distance = max(distance, min((-0.5 - v_position.z) / view_ray.z, - (u_size.z - 0.5 - v_position.z) / view_ray.z)); - - // Now we have the starting position on the front surface - vec3 front = v_position + view_ray * distance; - - // Decide how many steps to take - int nsteps = int(-distance / relative_step_size + 0.5); - if ( nsteps < 1 ) - discard; - - // Get starting location and step vector in texture coordinates - vec3 step = ((v_position - front) / u_size) / float(nsteps); - vec3 start_loc = front / u_size; - - // For testing: show the number of steps. This helps to establish - // whether the rays are correctly oriented - //'gl_FragColor = vec4(0.0, float(nsteps) / 1.0 / u_size.x, 1.0, 1.0); - //'return; - - if (u_renderstyle == 0) - cast_mip(start_loc, step, nsteps, view_ray); - else if (u_renderstyle == 1) - cast_aip(start_loc, step, nsteps, view_ray); - else if (u_renderstyle == 2) - cast_iso(start_loc, step, nsteps, view_ray); - - if (gl_FragColor.a < 0.05) - discard; - } - - float sample1(vec3 texcoords) { - /* Sample float value from a 3D texture. Assumes intensity data. */ - return texture(u_data, texcoords.xyz).r; - } - - vec4 apply_colormap(float val) { - val = (val - u_clim[0]) / (u_clim[1] - u_clim[0]); - return texture2D(u_cmdata, vec2(val, 0.5)); - } - - void cast_mip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - float max_val = -1e6; - vec3 loc = start_loc; - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter = 0; iter < MAX_STEPS; iter++) { - if (iter >= nsteps) { - break; - } - // Sample from the 3D texture - float val = sample1(loc); - // Apply MIP operation - if (val > max_val) { - max_val = val; - } - // Advance location deeper into the volume - loc += step; - } - - // Resolve final color - gl_FragColor = apply_colormap(max_val); - } - - void cast_aip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - float avg_val = 0.0; - int count = 0; - vec3 loc = start_loc; - float eps = 0.02; - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter = 0; iter < MAX_STEPS; iter++) { - if (iter >= nsteps) { - break; - } - // Sample from the 3D texture - float val = sample1(loc); - // Apply SUM operation - if (abs(loc.x - 0.5) < eps - || abs(loc.y - 0.5) < eps - || abs(loc.z - 0.5) < eps) { - avg_val += val; - count += 1; - } - // Advance location deeper into the volume - loc += step; - } - - // Resolve final color - if (count > 0) { - gl_FragColor = apply_colormap(avg_val / float(count)); - } else { - gl_FragColor = vec4(0.0); - } - } - - void cast_iso(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { - - gl_FragColor = vec4(0.0); // init transparent - vec4 color3 = vec4(0.0); // final color - vec3 dstep = 1.5 / u_size; // step to sample derivative - vec3 loc = start_loc; - - float low_threshold = u_renderthreshold - 0.02 * (u_clim[1] - u_clim[0]); - - // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with - // non-constant expression. So we use a hard-coded max, and an additional condition - // inside the loop. - for (int iter=0; iter= nsteps) - break; - - // Sample from the 3D texture - float val = sample1(loc); - - if (val > low_threshold) { - // Take the last interval in smaller steps - vec3 iloc = loc - 0.5 * step; - vec3 istep = step / float(REFINEMENT_STEPS); - for (int i=0; i u_renderthreshold) { - gl_FragColor = add_lighting(val, iloc, dstep, view_ray); - return; - } - iloc += istep; - } - } - - // Advance location deeper into the volume - loc += step; - } - } - - vec4 add_lighting(float val, vec3 loc, vec3 step, vec3 view_ray) { - // Calculate color by incorporating lighting - - // View direction - vec3 V = normalize(view_ray); - - // calculate normal vector from gradient - vec3 N; - float val1, val2; - val1 = sample1(loc + vec3(-step[0], 0.0, 0.0)); - val2 = sample1(loc + vec3(+step[0], 0.0, 0.0)); - N[0] = val1 - val2; - val = max(max(val1, val2), val); - val1 = sample1(loc + vec3(0.0, -step[1], 0.0)); - val2 = sample1(loc + vec3(0.0, +step[1], 0.0)); - N[1] = val1 - val2; - val = max(max(val1, val2), val); - val1 = sample1(loc + vec3(0.0, 0.0, -step[2])); - val2 = sample1(loc + vec3(0.0, 0.0, +step[2])); - N[2] = val1 - val2; - val = max(max(val1, val2), val); - - float gm = length(N); // gradient magnitude - N = normalize(N); - - // Flip normal so it points towards viewer - float Nselect = float(dot(N, V) > 0.0); - N = (2.0 * Nselect - 1.0) * N; // == Nselect * N - (1.0-Nselect)*N; - - // Init colors - vec4 ambient_color = vec4(0.0, 0.0, 0.0, 0.0); - vec4 diffuse_color = vec4(0.0, 0.0, 0.0, 0.0); - vec4 specular_color = vec4(0.0, 0.0, 0.0, 0.0); - - // note: could allow multiple lights - for (int i=0; i<1; i++) { - // Get light direction (make sure to prevent zero devision) - vec3 L = normalize(view_ray); //lightDirs[i]; - float lightEnabled = float( length(L) > 0.0 ); - L = normalize(L + (1.0 - lightEnabled)); - - // Calculate lighting properties - float lambertTerm = clamp(dot(N, L), 0.0, 1.0); - vec3 H = normalize(L+V); // Halfway vector - float specularTerm = pow(max(dot(H, N), 0.0), shininess); - - // Calculate mask - float mask1 = lightEnabled; - - // Calculate colors - ambient_color += mask1 * ambient_color; // * gl_LightSource[i].ambient; - diffuse_color += mask1 * lambertTerm; - specular_color += mask1 * specularTerm * specular_color; - } - - // Calculate final color by componing different components - vec4 final_color; - vec4 color = apply_colormap(val); - final_color = color * (ambient_color + diffuse_color) + specular_color; - final_color.a = color.a; - return final_color; - }`};function h4t(){try{const t=document.createElement("canvas");return!!(window.WebGL2RenderingContext&&t.getContext("webgl2"))}catch{return!1}}class p4t{constructor(){Yt(this,"textures");this.textures={}}get(e,n){const r=rE(e);let i=this.textures[r];return i||(i=new c4t().load(`data:image/png;base64,${e.imageData}`,n),this.textures[r]=i),i}}const m4t=new p4t;class g4t{constructor(e){Yt(this,"canvas");Yt(this,"camera");Yt(this,"renderer");Yt(this,"scene");Yt(this,"material");if(!h4t())throw new Error("Missing WebGL2");this.render=this.render.bind(this);const n=new jye({canvas:e});n.setPixelRatio(window.devicePixelRatio),n.setSize(e.clientWidth,e.clientHeight);const r=100,i=e.clientWidth/e.clientHeight,o=new Dye(-r*i,r*i,r,-r,-1e3,1e3);o.position.set(0,0,100),o.up.set(0,1,0);const a=new f4t(o,n.domElement);a.target.set(100,50,0),a.minZoom=.1,a.maxZoom=500,a.enablePan=!0,a.update(),this.canvas=e,this.renderer=n,this.camera=o,this.scene=null,this.material=null,a.addEventListener("change",this.render),e.addEventListener("resize",this.onCanvasResize)}setVolume(e,n){const r=new Oye(e.data,e.xLength,e.yLength,e.zLength);r.format=yye,r.type=Mf,r.minFilter=r.magFilter=Po,r.unpackAlignment=1,r.needsUpdate=!0;const i=d4t,o=Mye.clone(i.uniforms),[a,s,l]=e.spacing,c=Math.floor(a*e.xLength),u=Math.floor(s*e.yLength),f=Math.floor(l*e.zLength);o.u_data.value=r,o.u_size.value.set(c,u,f);const d=new ud({uniforms:o,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:_a}),h=new Qy(c,u,f);h.translate(c/2,u/2,f/2);const p=new Bl(h,d),m=new t4t;m.add(p),m.add(new u4t(p)),this.scene=m,this.material=d,this.setVolumeOptions(n)}setVolumeOptions(e){const n=this.material;if(n!==null){const{value1:r,value2:i,isoThreshold:o,renderMode:a,colorBar:s}=e,l=n.uniforms;l.u_clim.value.set(r,i),l.u_renderthreshold.value=o,l.u_renderstyle.value=a==="mip"?0:a==="aip"?1:2,l.u_cmdata.value=m4t.get(s,this.render),this.render()}}getMaterial(){if(this.material===null)throw new Error("Volume not set!");return this.material}onCanvasResize(){console.warn("Alarm: Canvas resize!");const e=this.renderer.domElement;this.renderer.setSize(e.clientWidth,e.clientHeight);const n=e.clientWidth/e.clientHeight,r=this.camera.top-this.camera.bottom;this.camera.left=-r*n/2,this.camera.right=r*n/2,this.camera.updateProjectionMatrix(),this.render()}render(){this.scene!==null&&this.renderer.render(this.scene,this.camera)}}var pa=Uint8Array,Rh=Uint16Array,zye=Uint32Array,Uye=new pa([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Wye=new pa([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),v4t=new pa([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Vye=function(t,e){for(var n=new Rh(31),r=0;r<31;++r)n[r]=e+=1<>>1|(Jn&21845)<<1;qu=(qu&52428)>>>2|(qu&13107)<<2,qu=(qu&61680)>>>4|(qu&3855)<<4,MF[Jn]=((qu&65280)>>>8|(qu&255)<<8)>>>1}var ub=function(t,e,n){for(var r=t.length,i=0,o=new Rh(e);i>>l]=c}else for(s=new Rh(r),i=0;i>>15-t[i]);return s},Fw=new pa(288);for(var Jn=0;Jn<144;++Jn)Fw[Jn]=8;for(var Jn=144;Jn<256;++Jn)Fw[Jn]=9;for(var Jn=256;Jn<280;++Jn)Fw[Jn]=7;for(var Jn=280;Jn<288;++Jn)Fw[Jn]=8;var qye=new pa(32);for(var Jn=0;Jn<32;++Jn)qye[Jn]=5;var _4t=ub(Fw,9,1),w4t=ub(qye,5,1),OD=function(t){for(var e=t[0],n=1;ne&&(e=t[n]);return e},Ls=function(t,e,n){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&n},CD=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(e&7)},S4t=function(t){return(t+7)/8|0},O4t=function(t,e,n){(n==null||n>t.length)&&(n=t.length);var r=new(t.BYTES_PER_ELEMENT==2?Rh:t.BYTES_PER_ELEMENT==4?zye:pa)(n-e);return r.set(t.subarray(e,n)),r},C4t=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Ic=function(t,e,n){var r=new Error(e||C4t[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,Ic),!n)throw r;return r},T4t=function(t,e,n){var r=t.length;if(!r||n&&n.f&&!n.l)return e||new pa(0);var i=!e||n,o=!n||n.i;n||(n={}),e||(e=new pa(r*3));var a=function(K){var se=e.length;if(K>se){var te=new pa(Math.max(se*2,K));te.set(e),e=te}},s=n.f||0,l=n.p||0,c=n.b||0,u=n.l,f=n.d,d=n.m,h=n.n,p=r*8;do{if(!u){s=Ls(t,l,1);var m=Ls(t,l+1,3);if(l+=3,m)if(m==1)u=_4t,f=w4t,d=9,h=5;else if(m==2){var x=Ls(t,l,31)+257,b=Ls(t,l+10,15)+4,_=x+Ls(t,l+5,31)+1;l+=14;for(var S=new pa(_),O=new pa(19),C=0;C>>4;if(g<16)S[C++]=g;else{var R=0,T=0;for(g==16?(T=3+Ls(t,l,3),l+=2,R=S[C-1]):g==17?(T=3+Ls(t,l,7),l+=3):g==18&&(T=11+Ls(t,l,127),l+=7);T--;)S[C++]=R}}var L=S.subarray(0,x),z=S.subarray(x);d=OD(L),h=OD(z),u=ub(L,d,1),f=ub(z,h,1)}else Ic(1);else{var g=S4t(l)+4,v=t[g-4]|t[g-3]<<8,y=g+v;if(y>r){o&&Ic(0);break}i&&a(c+v),e.set(t.subarray(g,y),c),n.b=c+=v,n.p=l=y*8,n.f=s;continue}if(l>p){o&&Ic(0);break}}i&&a(c+131072);for(var B=(1<>>4;if(l+=R&15,l>p){o&&Ic(0);break}if(R||Ic(2),$<256)e[c++]=$;else if($==256){W=l,u=null;break}else{var N=$-254;if($>264){var C=$-257,D=Uye[C];N=Ls(t,l,(1<>>4;A||Ic(3),l+=A&15;var z=b4t[q];if(q>3){var D=Wye[q];z+=CD(t,l)&(1<p){o&&Ic(0);break}i&&a(c+131072);for(var Y=c+N;c>3&1)+(e>>4&1);r>0;r-=!t[n++]);return n+(e&2)},M4t=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0};function k4t(t,e){return T4t(t.subarray(P4t(t),-8),new pa(M4t(t)))}var A4t=typeof TextDecoder<"u"&&new TextDecoder,R4t=0;try{A4t.decode(E4t,{stream:!0}),R4t=1}catch{}class I4t{constructor(e,n,r){const i=this;this.volume=e,n=n||0,Object.defineProperty(this,"index",{get:function(){return n},set:function(s){return n=s,i.geometryNeedsUpdate=!0,n}}),this.axis=r||"z",this.canvas=document.createElement("canvas"),this.canvasBuffer=document.createElement("canvas"),this.updateGeometry();const o=new Ta(this.canvas);o.minFilter=Po,o.wrapS=o.wrapT=qa;const a=new S6({map:o,side:Yc,transparent:!0});this.mesh=new Bl(this.geometry,a),this.mesh.matrixAutoUpdate=!1,this.geometryNeedsUpdate=!0,this.repaint()}repaint(){this.geometryNeedsUpdate&&this.updateGeometry();const e=this.iLength,n=this.jLength,r=this.sliceAccess,i=this.volume,o=this.canvasBuffer,a=this.ctxBuffer,s=a.getImageData(0,0,e,n),l=s.data,c=i.data,u=i.upperThreshold,f=i.lowerThreshold,d=i.windowLow,h=i.windowHigh;let p=0;if(i.dataType==="label")for(let m=0;m=this.colorMap.length?v%this.colorMap.length+1:v;const y=this.colorMap[v];l[4*p]=y>>24&255,l[4*p+1]=y>>16&255,l[4*p+2]=y>>8&255,l[4*p+3]=y&255,p++}else for(let m=0;m=v&&f<=v?y:0,v=Math.floor(255*(v-d)/(h-d)),v=v>255?255:v<0?0:v|0,l[4*p]=v,l[4*p+1]=v,l[4*p+2]=v,l[4*p+3]=y,p++}a.putImageData(s,0,0),this.ctx.drawImage(o,0,0,e,n,0,0,this.canvas.width,this.canvas.height),this.mesh.material.map.needsUpdate=!0}updateGeometry(){const e=this.volume.extractPerpendicularPlane(this.axis,this.index);this.sliceAccess=e.sliceAccess,this.jLength=e.jLength,this.iLength=e.iLength,this.matrix=e.matrix,this.canvas.width=e.planeWidth,this.canvas.height=e.planeHeight,this.canvasBuffer.width=this.iLength,this.canvasBuffer.height=this.jLength,this.ctx=this.canvas.getContext("2d"),this.ctxBuffer=this.canvasBuffer.getContext("2d"),this.geometry&&this.geometry.dispose(),this.geometry=new $k(e.planeWidth,e.planeHeight),this.mesh&&(this.mesh.geometry=this.geometry,this.mesh.matrix.identity(),this.mesh.applyMatrix4(this.matrix)),this.geometryNeedsUpdate=!1}}class D4t{constructor(e,n,r,i,o){if(e!==void 0){switch(this.xLength=Number(e)||1,this.yLength=Number(n)||1,this.zLength=Number(r)||1,this.axisOrder=["x","y","z"],i){case"Uint8":case"uint8":case"uchar":case"unsigned char":case"uint8_t":this.data=new Uint8Array(o);break;case"Int8":case"int8":case"signed char":case"int8_t":this.data=new Int8Array(o);break;case"Int16":case"int16":case"short":case"short int":case"signed short":case"signed short int":case"int16_t":this.data=new Int16Array(o);break;case"Uint16":case"uint16":case"ushort":case"unsigned short":case"unsigned short int":case"uint16_t":this.data=new Uint16Array(o);break;case"Int32":case"int32":case"int":case"signed int":case"int32_t":this.data=new Int32Array(o);break;case"Uint32":case"uint32":case"uint":case"unsigned int":case"uint32_t":this.data=new Uint32Array(o);break;case"longlong":case"long long":case"long long int":case"signed long long":case"signed long long int":case"int64":case"int64_t":case"ulonglong":case"unsigned long long":case"unsigned long long int":case"uint64":case"uint64_t":throw new Error("Error in Volume constructor : this type is not supported in JavaScript");case"Float32":case"float32":case"float":this.data=new Float32Array(o);break;case"Float64":case"float64":case"double":this.data=new Float64Array(o);break;default:this.data=new Uint8Array(o)}if(this.data.length!==this.xLength*this.yLength*this.zLength)throw new Error("Error in Volume constructor, lengths are not matching arrayBuffer size")}this.spacing=[1,1,1],this.offset=[0,0,0],this.matrix=new va,this.matrix.identity();let a=-1/0;Object.defineProperty(this,"lowerThreshold",{get:function(){return a},set:function(l){a=l,this.sliceList.forEach(function(c){c.geometryNeedsUpdate=!0})}});let s=1/0;Object.defineProperty(this,"upperThreshold",{get:function(){return s},set:function(l){s=l,this.sliceList.forEach(function(c){c.geometryNeedsUpdate=!0})}}),this.sliceList=[]}getData(e,n,r){return this.data[r*this.xLength*this.yLength+n*this.xLength+e]}access(e,n,r){return r*this.xLength*this.yLength+n*this.xLength+e}reverseAccess(e){const n=Math.floor(e/(this.yLength*this.xLength)),r=Math.floor((e-n*this.yLength*this.xLength)/this.xLength);return[e-n*this.yLength*this.xLength-r*this.xLength,r,n]}map(e,n){const r=this.data.length;n=n||this;for(let i=0;i.9}),x=[l,c,s].find(function(S){return Math.abs(S.dot(v[1]))>.9}),b=[l,c,s].find(function(S){return Math.abs(S.dot(v[2]))>.9});function _(S,O){const C=y===s?a:y.arglet==="i"?S:O,E=x===s?a:x.arglet==="i"?S:O,k=b===s?a:b.arglet==="i"?S:O,I=y.dot(v[0])>0?C:f.xLength-1-C,P=x.dot(v[1])>0?E:f.yLength-1-E,R=b.dot(v[2])>0?k:f.zLength-1-k;return f.access(I,P,R)}return{iLength:h,jLength:p,sliceAccess:_,matrix:u,planeWidth:m,planeHeight:g}}extractSlice(e,n){const r=new I4t(this,n,e);return this.sliceList.push(r),r}repaintAllSlices(){return this.sliceList.forEach(function(e){e.repaint()}),this}computeMinMax(){let e=1/0,n=-1/0;const r=this.data.length;let i=0;for(i=0;i0,o=!0,a={};function s(C,E){E==null&&(E=1);let k=1,I=Uint8Array;switch(C){case"uchar":break;case"schar":I=Int8Array;break;case"ushort":I=Uint16Array,k=2;break;case"sshort":I=Int16Array,k=2;break;case"uint":I=Uint32Array,k=4;break;case"sint":I=Int32Array,k=4;break;case"float":I=Float32Array,k=4;break;case"complex":I=Float64Array,k=8;break;case"double":I=Float64Array,k=8;break}let P=new I(n.slice(r,r+=E*k));return i!==o&&(P=l(P,k)),E===1?P[0]:P}function l(C,E){const k=new Uint8Array(C.buffer,C.byteOffset,C.byteLength);for(let I=0;IR;P--,R++){const T=k[R];k[R]=k[P],k[P]=T}return C}function c(C){let E,k,I,P,R,T,L,z;const B=C.split(/\r?\n/);for(L=0,z=B.length;L13)&&P!==32?I+=String.fromCharCode(P):(I!==""&&(L[z]=B(I,T),z++),I="");return I!==""&&(L[z]=B(I,T),z++),L}const f=s("uchar",e.byteLength),d=f.length;let h=null,p=0,m;for(m=1;mP[0]!==0),E=a.vectors.findIndex(P=>P[1]!==0),k=a.vectors.findIndex(P=>P[2]!==0),I=[];I[C]="x",I[E]="y",I[k]="z",g.axisOrder=I}else g.axisOrder=["x","y","z"];const b=new Se().fromArray(a.vectors[0]).length(),_=new Se().fromArray(a.vectors[1]).length(),S=new Se().fromArray(a.vectors[2]).length();g.spacing=[b,_,S],g.matrix=new Hn;const O=new Hn;if(a.space==="left-posterior-superior"?O.set(-1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1):a.space==="left-anterior-superior"&&O.set(1,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,1),!a.vectors)g.matrix.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);else{const C=a.vectors,E=new Hn().set(C[0][0],C[1][0],C[2][0],0,C[0][1],C[1][1],C[2][1],0,C[0][2],C[1][2],C[2][2],0,0,0,0,1);g.matrix=new Hn().multiplyMatrices(E,O)}return g.inverseMatrix=new Hn,g.inverseMatrix.copy(g.matrix).invert(),g.RASDimensions=new Se(g.xLength,g.yLength,g.zLength).applyMatrix4(g.matrix).round().toArray().map(Math.abs),g.lowerThreshold===-1/0&&(g.lowerThreshold=y),g.upperThreshold===1/0&&(g.upperThreshold=x),g}parseChars(e,n,r){n===void 0&&(n=0),r===void 0&&(r=e.length);let i="",o;for(o=n;o{n.setVolume(f,fb.getVolumeOptions(this.props)),TD[a]=f,s(a,{status:"ok"})},()=>{},f=>{f.response instanceof Response?f.response.json().then(d=>{const h=d.error,p=!!h&&h.message;h&&h.exception&&console.debug("exception:",h.exception),s(a,{status:"error",message:p||`${f}`})}):s(a,{status:"error",message:`${f}`})})}}}render(){const{volumeId:n}=this.props;let r,i;if(!n)r=[w.jsx(At,{variant:"subtitle2",children:"Cannot display 3D volume"},"subtitle2"),w.jsx(At,{variant:"body2",children:"To display a volume, a variable and a place that represents an area must be selected. Please note that the 3D volume rendering is still an experimental feature."},"body2")];else{const o=this.props.volumeStates[n];(!o||o.status==="error"||!TD[n])&&(i=[w.jsx(tr,{onClick:this.handleLoadVolume,disabled:!!o&&o.status==="loading",children:fe.get("Load Volume Data")},"load"),w.jsx(At,{variant:"body2",children:fe.get("Please note that the 3D volume rendering is still an experimental feature.")},"note")]),o&&(o.status==="loading"?r=w.jsx(ey,{style:{margin:10}}):o.status==="error"&&(r=w.jsx(At,{variant:"body2",color:"red",children:`Failed loading volume: ${o.message}`})))}return r&&(r=w.jsx("div",{style:EJ,children:r})),i&&(i=w.jsx("div",{style:EJ,children:i})),w.jsxs("div",{style:B4t,children:[i,r,w.jsx("canvas",{id:"VolumeCanvas-canvas",ref:this.canvasRef,style:$4t}),!r&&!i&&j4t]})}updateVolumeScene(){const n=this.canvasRef.current;if(n===null){this.volumeScene=null;return}let r;this.props.volumeId&&(r=TD[this.props.volumeId]);let i=!1;(this.volumeScene===null||this.volumeScene.canvas!==n)&&(this.volumeScene=new g4t(n),i=!0),i&&r?this.volumeScene.setVolume(r,fb.getVolumeOptions(this.props)):this.volumeScene.setVolumeOptions(fb.getVolumeOptions(this.props))}}function PJ(t){let e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,i=Number.NEGATIVE_INFINITY;for(const o of t){const a=o[0],s=o[1];e=Math.min(e,a),n=Math.min(n,s),r=Math.max(r,a),i=Math.max(i,s)}return[e,n,r,i]}function z4t(t){let[e,n,r,i]=t[0];for(const o of t.slice(1))e=Math.min(e,o[0]),n=Math.min(n,o[1]),r=Math.max(r,o[2]),i=Math.max(i,o[3]);return[e,n,r,i]}const DP={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},cardContent:{padding:8},isoEditor:{display:"flex",flexDirection:"row"},isoTextField:{minWidth:"16em",marginLeft:"1em"},isoSlider:{minWidth:200}},U4t=({selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeId:i,volumeRenderMode:o,setVolumeRenderMode:a,volumeStates:s,updateVolumeState:l,updateVariableVolume:c,serverUrl:u})=>{let f=.5;e&&(typeof e.volumeIsoThreshold=="number"?f=e.volumeIsoThreshold:f=.5*(e.colorBarMin+e.colorBarMax),typeof e.volumeRenderMode=="string"&&(o=e.volumeRenderMode));const d=p=>{c(t.id,e.name,r,o,p)},h=(p,m)=>{m!==null&&(a(m),e&&c(t.id,e.name,r,m,f))};return w.jsxs(Bre,{sx:DP.card,children:[w.jsx(zre,{disableSpacing:!0,children:e&&w.jsxs(w.Fragment,{children:[w.jsxs(iy,{size:"small",exclusive:!0,value:o,onChange:h,children:[w.jsx(Pn,{value:"mip",size:"small",children:w.jsx(xt,{arrow:!0,title:"Maximum intensity projection",children:w.jsx("span",{children:"MIP"})})},"mip"),w.jsx(Pn,{value:"aip",size:"small",children:w.jsx(xt,{arrow:!0,title:"Average intensity projection",children:w.jsx("span",{children:"AIP"})})},"aip"),w.jsx(Pn,{value:"iso",size:"small",children:w.jsx(xt,{arrow:!0,title:"Iso-surface extraction",children:w.jsx("span",{children:"ISO"})})},"iso")]},0),o==="iso"&&w.jsx(W4t,{minValue:e.colorBarMin,maxValue:e.colorBarMax,value:f,setValue:d})]})}),w.jsx(Ure,{sx:DP.cardContent,children:w.jsx(fb,{selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeRenderMode:o,volumeIsoThreshold:f,volumeId:i,volumeStates:s,updateVolumeState:l,serverUrl:u})})]})},W4t=({value:t,minValue:e,maxValue:n,setValue:r,disabled:i})=>{const[o,a]=ue.useState(t),[s,l]=ue.useState(""+t),[c,u]=ue.useState(null);function f(m){const g=m.target.value||"";l(g);const v=parseFloat(g);Number.isNaN(v)?u("Not a number"):vn?u("Out of range"):u(null)}function d(m){if(m.key==="Enter"&&!c){const g=parseFloat(s);a(g),r(g)}}function h(m,g){a(g),l(g.toFixed(2))}function p(m,g){r(g)}return w.jsx(cr,{sx:DP.isoTextField,disabled:i,label:"Iso-Threshold",variant:"filled",size:"small",value:s,error:c!==null,onChange:f,onKeyPress:d,InputProps:{endAdornment:w.jsx(ry,{size:"small",sx:DP.isoSlider,min:e,max:n,value:o,step:(n-e)/20,onChange:h,onChangeCommitted:p})}})},V4t=t=>({locale:t.controlState.locale,selectedDataset:qr(t),selectedVariable:vo(t),selectedPlaceInfo:iw(t),variableColorBar:GB(t),volumeRenderMode:t.controlState.volumeRenderMode,volumeId:QWe(t),volumeStates:t.controlState.volumeStates,serverUrl:pi(t).url}),G4t={setVolumeRenderMode:L8e,updateVolumeState:N8e,updateVariableVolume:h8e},H4t=Jt(V4t,G4t)(U4t),q4t={info:w.jsx(u4,{fontSize:"inherit"}),timeSeries:w.jsx(dfe,{fontSize:"inherit"}),stats:w.jsx(Tz,{fontSize:"inherit"}),volume:w.jsx(hfe,{fontSize:"inherit"})},X4t={info:"Info",timeSeries:"Time-Series",stats:"Statistics",volume:"Volume"},ED={tabs:{minHeight:"34px"},tab:{padding:"5px 10px",textTransform:"none",fontWeight:"regular",minHeight:"32px"},tabBoxHeader:{borderBottom:1,borderColor:"divider",position:"sticky",top:0,zIndex:1100,backgroundColor:"background.paper"}},Q4t=t=>({sidebarPanelId:t.controlState.sidebarPanelId}),Y4t={setSidebarPanelId:az};function K4t({sidebarPanelId:t,setSidebarPanelId:e}){return w.jsxs(Ke,{sx:{width:"100%"},children:[w.jsx(Ke,{sx:ED.tabBoxHeader,children:w.jsx(k5,{value:t,onChange:(n,r)=>{e(r)},variant:"scrollable",sx:ED.tabs,children:eWe.map(n=>w.jsx(Nb,{icon:q4t[n],iconPosition:"start",sx:ED.tab,disableRipple:!0,value:n,label:fe.get(X4t[n])},n))})}),t==="info"&&w.jsx(Sdt,{}),t==="stats"&&w.jsx(c$t,{}),t==="timeSeries"&&w.jsx(qNt,{}),t==="volume"&&w.jsx(H4t,{})]})}const Z4t=Jt(Q4t,Y4t)(K4t),iC={containerHor:{flexGrow:1,overflow:"hidden"},containerVer:{flexGrow:1,overflowX:"hidden",overflowY:"auto"},viewerHor:{height:"100%",overflow:"hidden",padding:0},viewerVer:{width:"100%",overflow:"hidden",padding:0},sidebarHor:{flex:"auto",overflowX:"hidden",overflowY:"auto"},sidebarVer:{width:"100%",overflow:"hidden"},viewer:{overflow:"hidden",width:"100%",height:"100%"}},J4t=t=>({sidebarOpen:t.controlState.sidebarOpen,sidebarPosition:t.controlState.sidebarPosition}),eUt={setSidebarPosition:D8e},MJ=()=>window.innerWidth/window.innerHeight>=1?"hor":"ver";function tUt({sidebarOpen:t,sidebarPosition:e,setSidebarPosition:n}){const[r,i]=M.useState(null),[o,a]=M.useState(MJ()),s=M.useRef(null),l=Go();M.useEffect(()=>(c(),s.current=new ResizeObserver(c),s.current.observe(document.documentElement),()=>{s.current&&s.current.disconnect()}),[]),M.useEffect(()=>{r&&r.updateSize()},[r,e]);const c=()=>{a(MJ())},u=o==="hor"?"Hor":"Ver";return t?w.jsxs(ftt,{dir:o,splitPosition:e,setSplitPosition:n,style:iC["container"+u],child1Style:iC["viewer"+u],child2Style:iC["sidebar"+u],children:[w.jsx(J9,{onMapRef:i,theme:l}),w.jsx(Z4t,{})]}):w.jsx("div",{style:iC.viewer,children:w.jsx(J9,{onMapRef:i,theme:l})})}const nUt=Jt(J4t,eUt)(tUt);var Bk={exports:{}},Xye={};function Qye(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const n=(t=window.document)===null||t===void 0||(t=t.documentElement)===null||t===void 0?void 0:t.style;if(!n||e in n)return"";for(let r=0;re===n.identifier)||t.changedTouches&&(0,wa.findInArray)(t.changedTouches,n=>e===n.identifier)}function OUt(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier}function CUt(t){if(!t)return;let e=t.getElementById("react-draggable-style-el");e||(e=t.createElement("style"),e.type="text/css",e.id="react-draggable-style-el",e.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} -`,e.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} -`,t.getElementsByTagName("head")[0].appendChild(e)),t.body&&e0e(t.body,"react-draggable-transparent-selection")}function TUt(t){if(t)try{if(t.body&&t0e(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{const e=(t.defaultView||window).getSelection();e&&e.type!=="Caret"&&e.removeAllRanges()}}catch{}}function e0e(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function t0e(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}var pc={};Object.defineProperty(pc,"__esModule",{value:!0});pc.canDragX=MUt;pc.canDragY=kUt;pc.createCoreData=RUt;pc.createDraggableData=IUt;pc.getBoundPosition=EUt;pc.getControlPosition=AUt;pc.snapToGrid=PUt;var oa=hc,ug=Or;function EUt(t,e,n){if(!t.props.bounds)return[e,n];let{bounds:r}=t.props;r=typeof r=="string"?r:DUt(r);const i=T6(t);if(typeof r=="string"){const{ownerDocument:o}=i,a=o.defaultView;let s;if(r==="parent"?s=i.parentNode:s=o.querySelector(r),!(s instanceof a.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const l=s,c=a.getComputedStyle(i),u=a.getComputedStyle(l);r={left:-i.offsetLeft+(0,oa.int)(u.paddingLeft)+(0,oa.int)(c.marginLeft),top:-i.offsetTop+(0,oa.int)(u.paddingTop)+(0,oa.int)(c.marginTop),right:(0,ug.innerWidth)(l)-(0,ug.outerWidth)(i)-i.offsetLeft+(0,oa.int)(u.paddingRight)-(0,oa.int)(c.marginRight),bottom:(0,ug.innerHeight)(l)-(0,ug.outerHeight)(i)-i.offsetTop+(0,oa.int)(u.paddingBottom)-(0,oa.int)(c.marginBottom)}}return(0,oa.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,oa.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,oa.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,oa.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]}function PUt(t,e,n){const r=Math.round(e/t[0])*t[0],i=Math.round(n/t[1])*t[1];return[r,i]}function MUt(t){return t.props.axis==="both"||t.props.axis==="x"}function kUt(t){return t.props.axis==="both"||t.props.axis==="y"}function AUt(t,e,n){const r=typeof e=="number"?(0,ug.getTouch)(t,e):null;if(typeof e=="number"&&!r)return null;const i=T6(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,ug.offsetXYFromParent)(r||t,o,n.props.scale)}function RUt(t,e,n){const r=!(0,oa.isNum)(t.lastX),i=T6(t);return r?{node:i,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:i,deltaX:e-t.lastX,deltaY:n-t.lastY,lastX:t.lastX,lastY:t.lastY,x:e,y:n}}function IUt(t,e){const n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}}function DUt(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}function T6(t){const e=t.findDOMNode();if(!e)throw new Error(": Unmounted during event!");return e}var zk={},Uk={};Object.defineProperty(Uk,"__esModule",{value:!0});Uk.default=LUt;function LUt(){}Object.defineProperty(zk,"__esModule",{value:!0});zk.default=void 0;var MD=$Ut(M),bo=E6(h1),NUt=E6(qv),ji=Or,Xu=pc,kD=hc,Y0=E6(Uk);function E6(t){return t&&t.__esModule?t:{default:t}}function n0e(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(n0e=function(r){return r?n:e})(t)}function $Ut(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=n0e(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function ao(t,e,n){return e=FUt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function FUt(t){var e=jUt(t,"string");return typeof e=="symbol"?e:String(e)}function jUt(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const Ns={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Qu=Ns.mouse,Wk=class extends MD.Component{constructor(){super(...arguments),ao(this,"dragging",!1),ao(this,"lastX",NaN),ao(this,"lastY",NaN),ao(this,"touchIdentifier",null),ao(this,"mounted",!1),ao(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&typeof e.button=="number"&&e.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,ji.matchesSelectorAndParentsTo)(e.target,this.props.handle,n)||this.props.cancel&&(0,ji.matchesSelectorAndParentsTo)(e.target,this.props.cancel,n))return;e.type==="touchstart"&&e.preventDefault();const i=(0,ji.getTouchIdentifier)(e);this.touchIdentifier=i;const o=(0,Xu.getControlPosition)(e,i,this);if(o==null)return;const{x:a,y:s}=o,l=(0,Xu.createCoreData)(this,a,s);(0,Y0.default)("DraggableCore: handleDragStart: %j",l),(0,Y0.default)("calling",this.props.onStart),!(this.props.onStart(e,l)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,ji.addUserSelectStyles)(r),this.dragging=!0,this.lastX=a,this.lastY=s,(0,ji.addEvent)(r,Qu.move,this.handleDrag),(0,ji.addEvent)(r,Qu.stop,this.handleDragStop))}),ao(this,"handleDrag",e=>{const n=(0,Xu.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let s=r-this.lastX,l=i-this.lastY;if([s,l]=(0,Xu.snapToGrid)(this.props.grid,s,l),!s&&!l)return;r=this.lastX+s,i=this.lastY+l}const o=(0,Xu.createCoreData)(this,r,i);if((0,Y0.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(e,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const l=document.createEvent("MouseEvents");l.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(l)}return}this.lastX=r,this.lastY=i}),ao(this,"handleDragStop",e=>{if(!this.dragging)return;const n=(0,Xu.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let l=r-this.lastX||0,c=i-this.lastY||0;[l,c]=(0,Xu.snapToGrid)(this.props.grid,l,c),r=this.lastX+l,i=this.lastY+c}const o=(0,Xu.createCoreData)(this,r,i);if(this.props.onStop(e,o)===!1||this.mounted===!1)return!1;const s=this.findDOMNode();s&&this.props.enableUserSelectHack&&(0,ji.removeUserSelectStyles)(s.ownerDocument),(0,Y0.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,s&&((0,Y0.default)("DraggableCore: Removing handlers"),(0,ji.removeEvent)(s.ownerDocument,Qu.move,this.handleDrag),(0,ji.removeEvent)(s.ownerDocument,Qu.stop,this.handleDragStop))}),ao(this,"onMouseDown",e=>(Qu=Ns.mouse,this.handleDragStart(e))),ao(this,"onMouseUp",e=>(Qu=Ns.mouse,this.handleDragStop(e))),ao(this,"onTouchStart",e=>(Qu=Ns.touch,this.handleDragStart(e))),ao(this,"onTouchEnd",e=>(Qu=Ns.touch,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,ji.addEvent)(e,Ns.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:n}=e;(0,ji.removeEvent)(n,Ns.mouse.move,this.handleDrag),(0,ji.removeEvent)(n,Ns.touch.move,this.handleDrag),(0,ji.removeEvent)(n,Ns.mouse.stop,this.handleDragStop),(0,ji.removeEvent)(n,Ns.touch.stop,this.handleDragStop),(0,ji.removeEvent)(e,Ns.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,ji.removeUserSelectStyles)(n)}}findDOMNode(){var e,n;return(e=this.props)!==null&&e!==void 0&&e.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:NUt.default.findDOMNode(this)}render(){return MD.cloneElement(MD.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};zk.default=Wk;ao(Wk,"displayName","DraggableCore");ao(Wk,"propTypes",{allowAnyClick:bo.default.bool,children:bo.default.node.isRequired,disabled:bo.default.bool,enableUserSelectHack:bo.default.bool,offsetParent:function(t,e){if(t[e]&&t[e].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:bo.default.arrayOf(bo.default.number),handle:bo.default.string,cancel:bo.default.string,nodeRef:bo.default.object,onStart:bo.default.func,onDrag:bo.default.func,onStop:bo.default.func,onMouseDown:bo.default.func,scale:bo.default.number,className:kD.dontSetMe,style:kD.dontSetMe,transform:kD.dontSetMe});ao(Wk,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),t.default=void 0;var e=d(M),n=u(h1),r=u(qv),i=u(iUt),o=Or,a=pc,s=hc,l=u(zk),c=u(Uk);function u(y){return y&&y.__esModule?y:{default:y}}function f(y){if(typeof WeakMap!="function")return null;var x=new WeakMap,b=new WeakMap;return(f=function(_){return _?b:x})(y)}function d(y,x){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var b=f(x);if(b&&b.has(y))return b.get(y);var _={},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in y)if(O!=="default"&&Object.prototype.hasOwnProperty.call(y,O)){var C=S?Object.getOwnPropertyDescriptor(y,O):null;C&&(C.get||C.set)?Object.defineProperty(_,O,C):_[O]=y[O]}return _.default=y,b&&b.set(y,_),_}function h(){return h=Object.assign?Object.assign.bind():function(y){for(var x=1;x{if((0,c.default)("Draggable: onDragStart: %j",_),this.props.onStart(b,(0,a.createDraggableData)(this,_))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),p(this,"onDrag",(b,_)=>{if(!this.state.dragging)return!1;(0,c.default)("Draggable: onDrag: %j",_);const S=(0,a.createDraggableData)(this,_),O={x:S.x,y:S.y,slackX:0,slackY:0};if(this.props.bounds){const{x:E,y:k}=O;O.x+=this.state.slackX,O.y+=this.state.slackY;const[I,P]=(0,a.getBoundPosition)(this,O.x,O.y);O.x=I,O.y=P,O.slackX=this.state.slackX+(E-O.x),O.slackY=this.state.slackY+(k-O.y),S.x=O.x,S.y=O.y,S.deltaX=O.x-this.state.x,S.deltaY=O.y-this.state.y}if(this.props.onDrag(b,S)===!1)return!1;this.setState(O)}),p(this,"onDragStop",(b,_)=>{if(!this.state.dragging||this.props.onStop(b,(0,a.createDraggableData)(this,_))===!1)return!1;(0,c.default)("Draggable: onDragStop: %j",_);const O={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:E,y:k}=this.props.position;O.x=E,O.y=k}this.setState(O)}),this.state={dragging:!1,dragged:!1,x:x.position?x.position.x:x.defaultPosition.x,y:x.position?x.position.y:x.defaultPosition.y,prevPropsPosition:{...x.position},slackX:0,slackY:0,isElementSVG:!1},x.position&&!(x.onDrag||x.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var x,b;return(x=(b=this.props)===null||b===void 0||(b=b.nodeRef)===null||b===void 0?void 0:b.current)!==null&&x!==void 0?x:r.default.findDOMNode(this)}render(){const{axis:x,bounds:b,children:_,defaultPosition:S,defaultClassName:O,defaultClassNameDragging:C,defaultClassNameDragged:E,position:k,positionOffset:I,scale:P,...R}=this.props;let T={},L=null;const B=!!!k||this.state.dragging,U=k||S,W={x:(0,a.canDragX)(this)&&B?this.state.x:U.x,y:(0,a.canDragY)(this)&&B?this.state.y:U.y};this.state.isElementSVG?L=(0,o.createSVGTransform)(W,I):T=(0,o.createCSSTransform)(W,I);const $=(0,i.default)(_.props.className||"",O,{[C]:this.state.dragging,[E]:this.state.dragged});return e.createElement(l.default,h({},R,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),e.cloneElement(e.Children.only(_),{className:$,style:{..._.props.style,...T},transform:L}))}}t.default=v,p(v,"displayName","Draggable"),p(v,"propTypes",{...l.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),p(v,"defaultProps",{...l.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(Xye);const{default:r0e,DraggableCore:BUt}=Xye;Bk.exports=r0e;Bk.exports.default=r0e;Bk.exports.DraggableCore=BUt;var i0e=Bk.exports;const zUt=$t(i0e);var P6={exports:{}},jw={},M6={};M6.__esModule=!0;M6.cloneElement=qUt;var UUt=WUt(M);function WUt(t){return t&&t.__esModule?t:{default:t}}function RJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function IJ(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function DJ(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function AD(t){for(var e=1;eMath.abs(d*u)?o=i/u:i=o*u}var h=i,p=o,m=this.slack||[0,0],g=m[0],v=m[1];return i+=g,o+=v,s&&(i=Math.max(s[0],i),o=Math.max(s[1],o)),l&&(i=Math.min(l[0],i),o=Math.min(l[1],o)),this.slack=[g+(h-i),v+(p-o)],[i,o]},n.resizeHandler=function(i,o){var a=this;return function(s,l){var c=l.node,u=l.deltaX,f=l.deltaY;i==="onResizeStart"&&a.resetData();var d=(a.props.axis==="both"||a.props.axis==="x")&&o!=="n"&&o!=="s",h=(a.props.axis==="both"||a.props.axis==="y")&&o!=="e"&&o!=="w";if(!(!d&&!h)){var p=o[0],m=o[o.length-1],g=c.getBoundingClientRect();if(a.lastHandleRect!=null){if(m==="w"){var v=g.left-a.lastHandleRect.left;u+=v}if(p==="n"){var y=g.top-a.lastHandleRect.top;f+=y}}a.lastHandleRect=g,m==="w"&&(u=-u),p==="n"&&(f=-f);var x=a.props.width+(d?u/a.props.transformScale:0),b=a.props.height+(h?f/a.props.transformScale:0),_=a.runConstraints(x,b);x=_[0],b=_[1];var S=x!==a.props.width||b!==a.props.height,O=typeof a.props[i]=="function"?a.props[i]:null,C=i==="onResize"&&!S;O&&!C&&(s.persist==null||s.persist(),O(s,{node:c,size:{width:x,height:b},handle:o})),i==="onResizeStop"&&a.resetData()}}},n.renderResizeHandle=function(i,o){var a=this.props.handle;if(!a)return K0.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+i,ref:o});if(typeof a=="function")return a(i,o);var s=typeof a.type=="string",l=AD({ref:o},s?{}:{handleAxis:i});return K0.cloneElement(a,l)},n.render=function(){var i=this,o=this.props,a=o.children,s=o.className,l=o.draggableOpts;o.width,o.height,o.handle,o.handleSize,o.lockAspectRatio,o.axis,o.minConstraints,o.maxConstraints,o.onResize,o.onResizeStop,o.onResizeStart;var c=o.resizeHandles;o.transformScale;var u=t6t(o,JUt);return(0,KUt.cloneElement)(a,AD(AD({},u),{},{className:(s?s+" ":"")+"react-resizable",children:[].concat(a.props.children,c.map(function(f){var d,h=(d=i.handleRefs[f])!=null?d:i.handleRefs[f]=K0.createRef();return K0.createElement(YUt.DraggableCore,kF({},l,{nodeRef:h,key:"resizableHandle-"+f,onStop:i.resizeHandler("onResizeStop",f),onStart:i.resizeHandler("onResizeStart",f),onDrag:i.resizeHandler("onResize",f)}),i.renderResizeHandle(f,h))}))}))},e}(K0.Component);jw.default=k6;k6.propTypes=ZUt.resizableProps;k6.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1};var Vk={};Vk.__esModule=!0;Vk.default=void 0;var RD=u6t(M),a6t=a0e(h1),s6t=a0e(jw),l6t=Bw,c6t=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function a0e(t){return t&&t.__esModule?t:{default:t}}function s0e(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(s0e=function(i){return i?n:e})(t)}function u6t(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=s0e(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var a=i?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function RF(){return RF=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function m6t(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,IF(t,e)}function IF(t,e){return IF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},IF(t,e)}var l0e=function(t){m6t(e,t);function e(){for(var r,i=arguments.length,o=new Array(i),a=0;an(t,!i.visible)}),r?w.jsx(ep,{}):w.jsx(ep,{variant:"inset",component:"li",style:{margin:"0 0 0 52px"}})]})}const b6t={x:48,y:128},_6t={width:320,height:520},aC={resizeBox:{position:"absolute",zIndex:1e3},windowPaper:{width:"100%",height:"100%",display:"flex",flexDirection:"column"},windowHeader:t=>({display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"move",padding:1,marginBottom:"2px",borderBottom:`1px solid ${t.palette.mode==="dark"?"#FFFFFF3F":"#0000003F"}`}),windowTitle:{fontWeight:"bolder"}};function w6t(t){const[e,n]=M.useState(b6t),[r,i]=M.useState(_6t),{layerMenuOpen:o,setLayerMenuOpen:a,openDialog:s,...l}=t;if(!o)return null;console.log("layerProps",l);const c=()=>{s("userOverlays")},u=()=>{s("userBaseMaps")},f=()=>{a(!1)},d=(p,m)=>{n({...m})},h=(p,m)=>{i({...m.size})};return w.jsx(zUt,{handle:"#layer-select-header",position:e,onStop:d,children:w.jsx(g6t,{width:r.width,height:r.height,style:aC.resizeBox,onResize:h,children:w.jsxs(Ho,{elevation:10,sx:aC.windowPaper,component:"div",children:[w.jsxs(Ke,{id:"layer-select-header",sx:aC.windowHeader,children:[w.jsx(Ke,{component:"span",sx:aC.windowTitle,children:fe.get("Layers")}),w.jsx(Ot,{size:"small",onClick:f,children:w.jsx($p,{fontSize:"inherit"})})]}),w.jsx(Ke,{sx:{width:"100%",overflow:"auto",flexGrow:1},children:w.jsxs(Kre,{dense:!0,children:[w.jsx(Cc,{layerId:"overlay",...l}),w.jsx(Cc,{layerId:"userPlaces",...l}),w.jsx(Cc,{layerId:"datasetPlaces",...l}),w.jsx(Cc,{layerId:"datasetBoundary",...l}),w.jsx(Cc,{layerId:"datasetVariable",...l}),w.jsx(Cc,{layerId:"datasetVariable2",...l}),w.jsx(Cc,{layerId:"datasetRgb",...l}),w.jsx(Cc,{layerId:"datasetRgb2",...l}),w.jsx(Cc,{layerId:"baseMap",...l,last:!0}),w.jsx(jr,{onClick:u,children:fe.get("User Base Maps")+"..."}),w.jsx(jr,{onClick:c,children:fe.get("User Overlays")+"..."})]})})]})})})}const S6t=t=>({locale:t.controlState.locale,layerMenuOpen:t.controlState.layerMenuOpen,layerStates:TVe(t)}),O6t={openDialog:Lp,setLayerMenuOpen:Ele,setLayerVisibility:T8e},C6t=Jt(S6t,O6t)(w6t),T6t=t=>({locale:t.controlState.locale,hasConsent:t.controlState.privacyNoticeAccepted,compact:Kt.instance.branding.compact}),E6t={},P6t=we("main")(({theme:t})=>({padding:0,width:"100vw",height:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",alignItems:"stretch",[t.breakpoints.up("md")]:{overflow:"hidden"}})),M6t=({hasConsent:t,compact:e})=>w.jsxs(P6t,{children:[!e&&w.jsx(n2,{variant:"dense"}),t&&w.jsxs(w.Fragment,{children:[w.jsx(ctt,{}),w.jsx(nUt,{}),w.jsx(C6t,{})]})]}),k6t=Jt(T6t,E6t)(M6t),A6t={icon:t=>({marginRight:t.spacing(2)})};function R6t({open:t,settings:e,updateSettings:n,syncWithServer:r}){const[i,o]=M.useState(null);if(M.useEffect(()=>{const l=fe.get("docs/privacy-note.en.md");fetch(l).then(c=>c.text()).then(c=>o(c))}),!t)return null;function a(){n({...e,privacyNoticeAccepted:!0}),r()}function s(){try{window.history.length>0?window.history.back():typeof window.home=="function"?window.home():window.location.href="about:home"}catch(l){console.error(l)}}return w.jsxs(rl,{open:t,disableEscapeKeyDown:!0,keepMounted:!0,scroll:"body",children:[w.jsx(vd,{children:fe.get("Privacy Notice")}),w.jsx(Ys,{children:w.jsx(A2e,{children:i===null?w.jsx(ey,{}):w.jsx(G2,{children:i,linkTarget:"_blank"})})}),w.jsxs(Tp,{children:[w.jsxs(tr,{onClick:a,children:[w.jsx(R6,{sx:A6t.icon}),fe.get("Accept and continue")]}),w.jsx(tr,{onClick:s,children:fe.get("Leave")})]})]})}const I6t=t=>({open:!t.controlState.privacyNoticeAccepted,settings:t.controlState}),D6t={updateSettings:ow,syncWithServer:nz},L6t=Jt(I6t,D6t)(R6t),N6t=Li(ey)(({theme:t})=>({margin:t.spacing(2)})),$6t=Li(At)(({theme:t})=>({margin:t.spacing(1)})),F6t=Li("div")(({theme:t})=>({margin:t.spacing(1),textAlign:"center",display:"flex",alignItems:"center",flexDirection:"column"}));function j6t({messages:t}){return t.length===0?null:w.jsxs(rl,{open:!0,"aria-labelledby":"loading",children:[w.jsx(vd,{id:"loading",children:fe.get("Please wait...")}),w.jsxs(F6t,{children:[w.jsx(N6t,{}),t.map((e,n)=>w.jsx($6t,{children:e},n))]})]})}const B6t=t=>({locale:t.controlState.locale,messages:_Ve(t)}),z6t={},U6t=Jt(B6t,z6t)(j6t);var I6={},W6t=ft;Object.defineProperty(I6,"__esModule",{value:!0});var u0e=I6.default=void 0,V6t=W6t(pt()),G6t=w;u0e=I6.default=(0,V6t.default)((0,G6t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");var D6={},H6t=ft;Object.defineProperty(D6,"__esModule",{value:!0});var f0e=D6.default=void 0,q6t=H6t(pt()),X6t=w;f0e=D6.default=(0,q6t.default)((0,X6t.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");var L6={},Q6t=ft;Object.defineProperty(L6,"__esModule",{value:!0});var d0e=L6.default=void 0,Y6t=Q6t(pt()),K6t=w;d0e=L6.default=(0,Y6t.default)((0,K6t.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");const Z6t={success:d0e,warning:f0e,error:u0e,info:u4},J6t=Li("span")(()=>({display:"flex",alignItems:"center"})),sC={close:{p:.5},success:t=>({color:t.palette.error.contrastText,backgroundColor:Lc[600]}),error:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.error.dark}),info:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.primary.dark}),warning:t=>({color:t.palette.error.contrastText,backgroundColor:mne[700]}),icon:{fontSize:20},iconVariant:t=>({opacity:.9,marginRight:t.spacing(1),fontSize:20}),message:{display:"flex",alignItems:"center"}},eWt={vertical:"bottom",horizontal:"center"};function tWt({className:t,message:e,hideMessage:n}){const r=()=>{n(e.id)};if(!e)return null;const i=Z6t[e.type];return w.jsx(fIe,{open:!0,anchorOrigin:eWt,autoHideDuration:5e3,onClose:r,children:w.jsx(rie,{sx:sC[e.type],className:t,"aria-describedby":"client-snackbar",message:w.jsxs(J6t,{id:"client-snackbar",children:[w.jsx(i,{sx:sC.iconVariant}),e.text]}),action:[w.jsx(Ot,{"aria-label":"Close",color:"inherit",sx:sC.close,onClick:r,size:"large",children:w.jsx($p,{sx:sC.icon})},"close")]})},e.type+":"+e.text)}const nWt=t=>{const e=t.messageLogState.newEntries;return{locale:t.controlState.locale,message:e.length>0?e[0]:null}},rWt={hideMessage:MVe},iWt=Jt(nWt,rWt)(tWt);var N6={},oWt=ft;Object.defineProperty(N6,"__esModule",{value:!0});var NP=N6.default=void 0,aWt=oWt(pt()),sWt=w;NP=N6.default=(0,aWt.default)((0,sWt.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");var $6={},lWt=ft;Object.defineProperty($6,"__esModule",{value:!0});var F6=$6.default=void 0,cWt=lWt(pt()),uWt=w;F6=$6.default=(0,cWt.default)((0,uWt.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete");const Rm={formControl:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField2:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:400}),button:t=>({margin:t.spacing(.1)})};function fWt({open:t,servers:e,selectedServer:n,closeDialog:r,configureServers:i}){const o=M.useRef(!1),[a,s]=M.useState(e),[l,c]=M.useState(n),[u,f]=M.useState("select");M.useEffect(()=>{o.current&&(s(e),c(n)),o.current=!0},[e,n]);const d=()=>{u==="select"?(r("server"),i(a,l.id)):u==="add"?E():u==="edit"&&k()},h=()=>{u==="select"?_():I()},p=()=>{_()},m=B=>{const U=B.target.value,W=a.find($=>$.id===U);c(W)},g=B=>{const U=B.target.value,W={...l,name:U};c(W)},v=B=>{const U=B.target.value,W={...l,url:U};c(W)},y=()=>{f("add")},x=()=>{f("edit")},b=()=>{P()},_=()=>{r("server")},S=()=>{const B=l.id;return a.findIndex(U=>U.id===B)},O=(B,U)=>{const W=[...a];W[B]=U,s(W),c(U),f("select")},C=(B,U)=>{s(B),c(U),f("select")},E=()=>{const B={...l,id:Js("server-")},U=[...a,B];C(U,B)},k=()=>{O(S(),{...l})},I=()=>{const B=S();O(S(),a[B])},P=()=>{const B=[...a];if(B.length<2)throw new Error("internal error: server list cannot be emptied");const U=S(),W=B[U+(U>0?-1:1)];B.splice(U,1),C(B,W)},R=a.map((B,U)=>w.jsx(jr,{value:B.id,children:B.name},U));let T;u==="add"?T=fe.get("Add"):u==="edit"?T=fe.get("Save"):T=fe.get("OK");let L;u==="add"?L=fe.get("Add Server"):u==="edit"?L=fe.get("Edit Server"):L=fe.get("Select Server");let z;return u==="add"||u==="edit"?z=w.jsxs(Ys,{dividers:!0,children:[w.jsx(cr,{variant:"standard",required:!0,id:"server-name",label:"Name",sx:Rm.textField,margin:"normal",value:l.name,onChange:g}),w.jsx("br",{}),w.jsx(cr,{variant:"standard",required:!0,id:"server-url",label:"URL",sx:Rm.textField2,margin:"normal",value:l.url,onChange:v})]}):z=w.jsx(Ys,{dividers:!0,children:w.jsxs("div",{children:[w.jsxs(ty,{variant:"standard",sx:Rm.formControl,children:[w.jsx(ny,{htmlFor:"server-name",children:"Name"}),w.jsx(xd,{variant:"standard",value:l.id,onChange:m,inputProps:{name:"server-name",id:"server-name"},children:R}),w.jsx(Gre,{children:l.url})]}),w.jsx(Ot,{sx:Rm.button,"aria-label":"Add",color:"primary",onClick:y,size:"large",children:w.jsx(NP,{fontSize:"small"})}),w.jsx(Ot,{sx:Rm.button,"aria-label":"Edit",onClick:x,size:"large",children:w.jsx(Fp,{fontSize:"small"})}),w.jsx(Ot,{sx:Rm.button,"aria-label":"Delete",disabled:a.length<2,onClick:b,size:"large",children:w.jsx(F6,{fontSize:"small"})})]})}),w.jsxs(rl,{open:t,onClose:p,"aria-labelledby":"server-dialog-title",children:[w.jsx(vd,{id:"server-dialog-title",children:L}),z,w.jsxs(Tp,{children:[w.jsx(tr,{onClick:h,children:fe.get("Cancel")}),w.jsx(tr,{onClick:d,autoFocus:!0,children:T})]})]})}const dWt=t=>({open:!!t.controlState.dialogOpen.server,servers:Iae(t),selectedServer:pi(t)}),hWt={closeDialog:Sy,configureServers:a8e},pWt=Jt(dWt,hWt)(fWt),NJ=({anchorElement:t,layers:e,selectedLayerId:n,setSelectedLayerId:r,onClose:i})=>w.jsx(Pp,{anchorEl:t,keepMounted:!0,open:!!t,onClose:i,children:t&&e.map(o=>w.jsx(jr,{selected:o.id===n,onClick:()=>r(o.id===n?null:o.id),dense:!0,children:w.jsx(ts,{primary:tE(o)})},o.id))}),ID={settingsPanelTitle:t=>({marginBottom:t.spacing(1)}),settingsPanelPaper:t=>({backgroundColor:(t.palette.mode==="dark"?Jne:Zne)(t.palette.background.paper,.1),marginBottom:t.spacing(2)}),settingsPanelList:{margin:0}},Gm=({title:t,children:e})=>{const n=ue.Children.count(e),r=[];return ue.Children.forEach(e,(i,o)=>{r.push(i),o{let i;e||(i={marginBottom:10});const o=w.jsx(ts,{primary:t,secondary:e});let a;return r&&(a=w.jsx(Lb,{children:r})),n?w.jsxs(Xre,{style:i,onClick:n,children:[o,a]}):w.jsxs(Ux,{style:i,children:[o,a]})},kf=({propertyName:t,settings:e,updateSettings:n,disabled:r})=>w.jsx(iie,{checked:!!e[t],onChange:()=>n({...e,[t]:!e[t]}),disabled:r}),mWt=({propertyName:t,settings:e,updateSettings:n,options:r,disabled:i})=>{const o=(a,s)=>{n({...e,[t]:s})};return w.jsx(T5,{row:!0,value:e[t],onChange:o,children:r.map(([a,s])=>w.jsx(Og,{control:w.jsx(Wx,{}),value:s,label:a,disabled:i},a))})},Z0={textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2}),intTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,width:t.spacing(6)}),localeAvatar:{margin:10}},$J=[["doNothing","Do nothing"],["pan","Pan"],["panAndZoom","Pan and zoom"]],gWt=[["point","Points"],["line","Lines"],["bar","Bars"]],vWt=({open:t,closeDialog:e,settings:n,selectedServer:r,baseMapLayers:i,overlayLayers:o,updateSettings:a,changeLocale:s,openDialog:l,viewerVersion:c,serverInfo:u})=>{const[f,d]=ue.useState(null),[h,p]=ue.useState(null),[m,g]=ue.useState(null),[v,y]=ue.useState(n.timeChunkSize+"");if(ue.useEffect(()=>{const A=parseInt(v);!Number.isNaN(A)&&A!==n.timeChunkSize&&a({timeChunkSize:A})},[v,n,a]),!t)return null;function x(){e("settings")}function b(){l("server")}function _(A){a({timeAnimationInterval:parseInt(A.target.value)})}function S(A){a({timeSeriesChartTypeDefault:A.target.value})}function O(A){a({datasetLocateMode:A.target.value})}function C(A){a({placeLocateMode:A.target.value})}function E(A){y(A.target.value)}let k=null;f&&(k=Object.getOwnPropertyNames(fe.languages).map(A=>{const q=fe.languages[A];return w.jsx(jr,{selected:A===n.locale,onClick:()=>s(A),children:w.jsx(ts,{primary:q})},A)}));function I(A){d(A.currentTarget)}function P(){d(null)}function R(A){p(A.currentTarget)}function T(){p(null)}const L=A=>{A.stopPropagation(),l("userBaseMaps")},z=nE(i,n.selectedBaseMapId),B=tE(z);function U(A){g(A.currentTarget)}function W(){g(null)}const $=A=>{A.stopPropagation(),l("userOverlays")},N=nE(o,n.selectedOverlayId),D=tE(N);return w.jsxs("div",{children:[w.jsxs(rl,{open:t,fullWidth:!0,maxWidth:"sm",onClose:x,scroll:"body",children:[w.jsx(vd,{children:fe.get("Settings")}),w.jsxs(Ys,{children:[w.jsxs(Gm,{title:fe.get("General"),children:[w.jsx(pr,{label:fe.get("Server"),value:r.name,onClick:b}),w.jsx(pr,{label:fe.get("Language"),value:fe.languages[n.locale],onClick:I}),w.jsx(pr,{label:fe.get("Time interval of the player"),children:w.jsx(cr,{variant:"standard",select:!0,sx:Z0.textField,value:n.timeAnimationInterval,onChange:_,margin:"normal",children:J6e.map((A,q)=>w.jsx(jr,{value:A,children:A+" ms"},q))})})]}),w.jsxs(Gm,{title:fe.get("Time-Series"),children:[w.jsx(pr,{label:fe.get("Show chart after adding a place"),value:lC(n.autoShowTimeSeries),children:w.jsx(kf,{propertyName:"autoShowTimeSeries",settings:n,updateSettings:a})}),w.jsx(pr,{label:fe.get("Default chart type"),children:w.jsx(cr,{variant:"standard",select:!0,sx:Z0.textField,value:n.timeSeriesChartTypeDefault,onChange:S,margin:"normal",children:gWt.map(([A,q])=>w.jsx(jr,{value:A,children:fe.get(q)},A))})}),w.jsx(pr,{label:fe.get("Calculate standard deviation"),value:lC(n.timeSeriesIncludeStdev),children:w.jsx(kf,{propertyName:"timeSeriesIncludeStdev",settings:n,updateSettings:a})}),w.jsx(pr,{label:fe.get("Calculate median instead of mean (disables standard deviation)"),value:lC(n.timeSeriesUseMedian),children:w.jsx(kf,{propertyName:"timeSeriesUseMedian",settings:n,updateSettings:a})}),w.jsx(pr,{label:fe.get("Minimal number of data points in a time series update"),children:w.jsx(cr,{variant:"standard",sx:Z0.intTextField,value:v,onChange:E,margin:"normal",size:"small"})})]}),w.jsxs(Gm,{title:fe.get("Map"),children:[w.jsx(pr,{label:fe.get("Base map"),value:B,onClick:R,children:w.jsx(tr,{onClick:L,children:fe.get("User Base Maps")+"..."})}),w.jsx(pr,{label:fe.get("Overlay"),value:D,onClick:U,children:w.jsx(tr,{onClick:$,children:fe.get("User Overlays")+"..."})}),w.jsx(pr,{label:fe.get("Projection"),children:w.jsx(mWt,{propertyName:"mapProjection",settings:n,updateSettings:a,options:[[fe.get("Geographic"),py],[fe.get("Mercator"),NB]]})}),w.jsx(pr,{label:fe.get("Image smoothing"),value:lC(n.imageSmoothingEnabled),children:w.jsx(kf,{propertyName:"imageSmoothingEnabled",settings:n,updateSettings:a})}),w.jsx(pr,{label:fe.get("On dataset selection"),children:w.jsx(cr,{variant:"standard",select:!0,sx:Z0.textField,value:n.datasetLocateMode,onChange:O,margin:"normal",children:$J.map(([A,q])=>w.jsx(jr,{value:A,children:fe.get(q)},A))})}),w.jsx(pr,{label:fe.get("On place selection"),children:w.jsx(cr,{variant:"standard",select:!0,sx:Z0.textField,value:n.placeLocateMode,onChange:C,margin:"normal",children:$J.map(([A,q])=>w.jsx(jr,{value:A,children:fe.get(q)},A))})})]}),w.jsx(Gm,{title:fe.get("Legal Agreement"),children:w.jsx(pr,{label:fe.get("Privacy notice"),value:n.privacyNoticeAccepted?fe.get("Accepted"):"",children:w.jsx(tr,{disabled:!n.privacyNoticeAccepted,onClick:()=>{a({privacyNoticeAccepted:!1}),window.location.reload()},children:fe.get("Revoke consent")})})}),w.jsxs(Gm,{title:fe.get("System Information"),children:[w.jsx(pr,{label:`xcube Viewer ${fe.get("version")}`,value:c}),w.jsx(pr,{label:`xcube Server ${fe.get("version")}`,value:u?u.version:fe.get("Cannot reach server")})]})]})]}),w.jsx(Pp,{anchorEl:f,keepMounted:!0,open:!!f,onClose:P,children:k}),w.jsx(NJ,{anchorElement:h,layers:i,selectedLayerId:n.selectedBaseMapId,setSelectedLayerId:A=>a({selectedBaseMapId:A}),onClose:T}),w.jsx(NJ,{anchorElement:m,layers:o,selectedLayerId:n.selectedOverlayId,setSelectedLayerId:A=>a({selectedOverlayId:A}),onClose:W})]})},lC=t=>t?fe.get("On"):fe.get("Off"),yWt="1.3.1",xWt=t=>({locale:t.controlState.locale,open:t.controlState.dialogOpen.settings,settings:t.controlState,baseMapLayers:qB(t),overlayLayers:XB(t),selectedServer:pi(t),viewerVersion:yWt,serverInfo:t.dataState.serverInfo}),bWt={closeDialog:Sy,updateSettings:ow,changeLocale:Fle,openDialog:Lp},_Wt=Jt(xWt,bWt)(vWt),FJ={separatorTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,maxWidth:"6em"}),fileNameTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2})},wWt=({open:t,closeDialog:e,settings:n,updateSettings:r,downloadTimeSeries:i})=>{const o=()=>{e("export")};function a(c){r({exportFileName:c.target.value})}function s(c){r({exportTimeSeriesSeparator:c.target.value})}const l=()=>{o(),i()};return w.jsx("div",{children:w.jsxs(rl,{open:t,fullWidth:!0,maxWidth:"xs",onClose:o,scroll:"body",children:[w.jsx(Ys,{children:w.jsxs(Gm,{title:fe.get("Export Settings"),children:[w.jsx(pr,{label:fe.get("Include time-series data")+" (*.txt)",value:cC(n.exportTimeSeries),children:w.jsx(kf,{propertyName:"exportTimeSeries",settings:n,updateSettings:r})}),w.jsx(pr,{label:fe.get("Separator for time-series data"),children:w.jsx(cr,{variant:"standard",sx:FJ.separatorTextField,value:n.exportTimeSeriesSeparator,onChange:s,disabled:!n.exportTimeSeries,margin:"normal",size:"small"})}),w.jsx(pr,{label:fe.get("Include places data")+" (*.geojson)",value:cC(n.exportPlaces),children:w.jsx(kf,{propertyName:"exportPlaces",settings:n,updateSettings:r})}),w.jsx(pr,{label:fe.get("Combine place data in one file"),value:cC(n.exportPlacesAsCollection),children:w.jsx(kf,{propertyName:"exportPlacesAsCollection",settings:n,updateSettings:r,disabled:!n.exportPlaces})}),w.jsx(pr,{label:fe.get("As ZIP archive"),value:cC(n.exportZipArchive),children:w.jsx(kf,{propertyName:"exportZipArchive",settings:n,updateSettings:r})}),w.jsx(pr,{label:fe.get("File name"),children:w.jsx(cr,{variant:"standard",sx:FJ.fileNameTextField,value:n.exportFileName,onChange:a,margin:"normal",size:"small"})})]})}),w.jsx(Tp,{children:w.jsx(tr,{onClick:l,disabled:!CWt(n),children:fe.get("Download")})})]})})},cC=t=>t?fe.get("On"):fe.get("Off"),SWt=t=>/^[0-9a-zA-Z_-]+$/.test(t),OWt=t=>t.toUpperCase()==="TAB"||t.length===1,CWt=t=>(t.exportTimeSeries||t.exportPlaces)&&SWt(t.exportFileName)&&(!t.exportTimeSeries||OWt(t.exportTimeSeriesSeparator)),TWt=t=>({locale:t.controlState.locale,open:!!t.controlState.dialogOpen.export,settings:t.controlState}),EWt={closeDialog:Sy,updateSettings:ow,downloadTimeSeries:p8e},PWt=Jt(TWt,EWt)(wWt);var j6={},MWt=ft;Object.defineProperty(j6,"__esModule",{value:!0});var h0e=j6.default=void 0,kWt=MWt(pt()),AWt=w;h0e=j6.default=(0,kWt.default)((0,AWt.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");var B6={},RWt=ft;Object.defineProperty(B6,"__esModule",{value:!0});var p0e=B6.default=void 0,IWt=RWt(pt()),DWt=w;p0e=B6.default=(0,IWt.default)((0,DWt.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");const LWt=({title:t,accept:e,multiple:n,disabled:r,onSelect:i,className:o})=>{const a=M.useRef(null),s=c=>{if(c.target.files!==null&&c.target.files.length){const u=[];for(let f=0;f{a.current!==null&&a.current.click()};return w.jsxs(w.Fragment,{children:[w.jsx("input",{type:"file",accept:e,multiple:n,ref:a,hidden:!0,onChange:s,disabled:r}),w.jsx(tr,{onClick:l,disabled:r,className:o,variant:"outlined",size:"small",children:t})]})},DD={parse:t=>t,format:t=>typeof t=="string"?t:`${t}`,validate:t=>!0};function z6(){return t=>{const{options:e,updateOptions:n,optionKey:r,label:i,style:o,className:a,disabled:s,parse:l,format:c,validate:u}=t,f=e[r],d=h=>{const p=h.target.value,m=(l||DD.parse)(p);n({[r]:m})};return w.jsx(cr,{label:fe.get(i),value:(c||DD.format)(f),error:!(u||DD.validate)(f),onChange:d,style:o,className:a,disabled:s,size:"small",variant:"standard"})}}const J0=z6(),NWt=Li("div")(({theme:t})=>({paddingTop:t.spacing(2)})),$Wt=({options:t,updateOptions:e})=>w.jsx(NWt,{children:w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(J0,{optionKey:"timeNames",label:"Time property names",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(J0,{label:"Group property names",optionKey:"groupNames",options:t,updateOptions:e}),w.jsx(J0,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e}),w.jsx(J0,{label:"Label property names",optionKey:"labelNames",options:t,updateOptions:e}),w.jsx(J0,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e})]})}),io=z6(),FWt=Li("div")(({theme:t})=>({paddingTop:t.spacing(2)})),jWt=({options:t,updateOptions:e})=>{const n=t.forceGeometry;return w.jsxs(FWt,{children:[w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(io,{optionKey:"xNames",label:"X/longitude column names",options:t,updateOptions:e,disabled:n}),w.jsx(io,{optionKey:"yNames",label:"Y/latitude column names",options:t,updateOptions:e,disabled:n}),w.jsxs("span",{children:[w.jsx(zL,{checked:t.forceGeometry,onChange:r=>e({forceGeometry:r.target.checked}),size:"small"}),w.jsx("span",{children:"Use geometry column"})]}),w.jsx(io,{optionKey:"geometryNames",label:"Geometry column names",options:t,updateOptions:e,disabled:!n}),w.jsx(io,{optionKey:"timeNames",label:"Time column names",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(io,{optionKey:"groupNames",label:"Group column names",options:t,updateOptions:e}),w.jsx(io,{optionKey:"groupPrefix",label:"Group prefix (used as fallback)",options:t,updateOptions:e}),w.jsx(io,{optionKey:"labelNames",label:"Label column names",options:t,updateOptions:e}),w.jsx(io,{optionKey:"labelPrefix",label:"Label prefix (used as fallback)",options:t,updateOptions:e})]}),w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto auto"},children:[w.jsx(io,{optionKey:"separator",label:"Separator character",options:t,updateOptions:e}),w.jsx(io,{optionKey:"comment",label:"Comment character",options:t,updateOptions:e}),w.jsx(io,{optionKey:"quote",label:"Quote character",options:t,updateOptions:e}),w.jsx(io,{optionKey:"escape",label:"Escape character",options:t,updateOptions:e}),w.jsx("div",{}),w.jsxs("span",{children:[w.jsx(zL,{checked:t.trim,onChange:r=>e({trim:r.target.checked}),size:"small"}),w.jsx("span",{children:"Remove whitespaces"})]}),w.jsx(io,{optionKey:"nanToken",label:"Not-a-number token",options:t,updateOptions:e}),w.jsx(io,{optionKey:"trueToken",label:"True token",options:t,updateOptions:e}),w.jsx(io,{optionKey:"falseToken",label:"False token",options:t,updateOptions:e})]})]})},ex=z6(),BWt=Li("div")(({theme:t})=>({paddingTop:t.spacing(2)})),zWt=({options:t,updateOptions:e})=>w.jsx(BWt,{children:w.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[w.jsx(ex,{optionKey:"time",label:"Time (UTC, ISO-format)",options:t,updateOptions:e}),w.jsx("div",{id:"spareField"}),w.jsx(ex,{label:"Group",options:t,optionKey:"group",updateOptions:e}),w.jsx(ex,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e,disabled:t.group.trim()!==""}),w.jsx(ex,{label:"Label",optionKey:"label",options:t,updateOptions:e}),w.jsx(ex,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e,disabled:t.label.trim()!==""})]})}),LD={csv:{...Hae,codeExt:[]},geojson:{...qae,codeExt:[wpe()]},wkt:{...Xae,codeExt:[]}},ND={spacer:{flexGrow:1},actionButton:t=>({marginRight:t.spacing(1)}),error:{fontSize:"small"}},UWt=Li("div")(({theme:t})=>({paddingTop:t.spacing(.5),display:"flex",flexDirection:"row",alignItems:"center"})),WWt=Li(LWt)(({theme:t})=>({marginRight:t.spacing(1)})),VWt=({open:t,closeDialog:e,userPlacesFormatName:n,userPlacesFormatOptions:r,updateSettings:i,addUserPlacesFromText:o,nextMapInteraction:a,setMapInteraction:s})=>{const[l,c]=M.useState(""),[u,f]=M.useState(null),[d,h]=M.useState(!1),[p,m]=M.useState(!1),[g,v]=M.useState(n),[y,x]=M.useState(r);if(M.useEffect(()=>{v(n)},[n]),M.useEffect(()=>{x(r)},[r]),!t)return null;const b=()=>{s("Select"),e("addUserPlacesFromText"),i({userPlacesFormatName:g,userPlacesFormatOptions:y}),o(l)},_=()=>{s(a),e("addUserPlacesFromText")},S=()=>{c("")},O=z=>{const B=z[0];h(!0);const U=new FileReader;U.onloadend=()=>{const W=U.result;v(pH(W)),c(W),h(!1)},U.onabort=U.onerror=()=>{h(!1)},U.readAsText(B,"UTF-8")},C=()=>{c("")},E=()=>{console.info("PASTE!",l)},k=z=>{let B=g;l===""&&z.length>10&&(B=pH(z),v(B)),c(z),f(LD[B].checkError(z))};function I(z){v(z.target.value)}function P(z){x({...y,csv:{...y.csv,...z}})}function R(z){x({...y,geojson:{...y.geojson,...z}})}function T(z){x({...y,wkt:{...y.wkt,...z}})}let L;return g==="csv"?L=w.jsx(jWt,{options:y.csv,updateOptions:P}):g==="geojson"?L=w.jsx($Wt,{options:y.geojson,updateOptions:R}):L=w.jsx(zWt,{options:y.wkt,updateOptions:T}),w.jsxs(rl,{fullWidth:!0,open:t,onClose:_,"aria-labelledby":"server-dialog-title",children:[w.jsx(vd,{id:"server-dialog-title",children:fe.get("Import places")}),w.jsxs(Ys,{dividers:!0,children:[w.jsxs(T5,{row:!0,value:g,onChange:z=>I(z),children:[w.jsx(Og,{value:"csv",label:fe.get(Hae.name),control:w.jsx(Wx,{})},"csv"),w.jsx(Og,{value:"geojson",label:fe.get(qae.name),control:w.jsx(Wx,{})},"geojson"),w.jsx(Og,{value:"wkt",label:fe.get(Xae.name),control:w.jsx(Wx,{})},"wkt")]}),w.jsx(ik,{theme:Kt.instance.branding.themeName||"light",placeholder:fe.get("Enter text or drag & drop a text file."),autoFocus:!0,height:"400px",extensions:LD[g].codeExt,value:l,onChange:k,onDrop:C,onPaste:E,onPasteCapture:E}),u&&w.jsx(At,{color:"error",sx:ND.error,children:u}),w.jsxs(UWt,{children:[w.jsx(WWt,{title:fe.get("From File")+"...",accept:LD[g].fileExt,multiple:!1,onSelect:O,disabled:d}),w.jsx(tr,{onClick:S,disabled:l.trim()===""||d,sx:ND.actionButton,variant:"outlined",size:"small",children:fe.get("Clear")}),w.jsx(Ke,{sx:ND.spacer}),w.jsx(tr,{onClick:()=>m(!p),endIcon:p?w.jsx(p0e,{}):w.jsx(h0e,{}),variant:"outlined",size:"small",children:fe.get("Options")})]}),w.jsx(f5,{in:p,timeout:"auto",unmountOnExit:!0,children:L})]}),w.jsxs(Tp,{children:[w.jsx(tr,{onClick:_,variant:"text",children:fe.get("Cancel")}),w.jsx(tr,{onClick:b,disabled:l.trim()===""||u!==null||d,variant:"text",children:fe.get("OK")})]})]})},GWt=t=>({open:t.controlState.dialogOpen.addUserPlacesFromText,userPlacesFormatName:t.controlState.userPlacesFormatName,userPlacesFormatOptions:t.controlState.userPlacesFormatOptions,nextMapInteraction:t.controlState.lastMapInteraction}),HWt={closeDialog:Sy,updateSettings:ow,setMapInteraction:Cle,addUserPlacesFromText:Wse},qWt=Jt(GWt,HWt)(VWt);var U6={},XWt=ft;Object.defineProperty(U6,"__esModule",{value:!0});var W6=U6.default=void 0,QWt=XWt(pt()),YWt=w;W6=U6.default=(0,QWt.default)((0,YWt.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");function V6(t,e){return m0e(t,e,[]).join("")}function m0e(t,e,n){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)n.push(t.nodeValue);else{var r=void 0;for(r=t.firstChild;r;r=r.nextSibling)m0e(r,e,n)}return n}function KWt(t){return"documentElement"in t}function ZWt(t){return new DOMParser().parseFromString(t,"application/xml")}function g0e(t,e){return function(n,r){var i=t.call(this,n,r);if(i!==void 0){var o=r[r.length-1];o.push(i)}}}function sa(t,e,n){return function(r,i){var o=t.call(this,r,i);if(o!==void 0){var a=i[i.length-1],s=r.localName,l=void 0;s in a?l=a[s]:(l=[],a[s]=l),l.push(o)}}}function vt(t,e,n){return function(r,i){var o=t.call(this,r,i);if(o!==void 0){var a=i[i.length-1],s=r.localName;a[s]=o}}}function Ni(t,e,n){var r={},i,o;for(i=0,o=t.length;i{const n=e.Name,r=e.Title||n;let i;const o=e.Attribution;if(FP(o)){const a=o.Title,s=o.OnlineResource;a&&s?i=`© ${a}`:s?i=`${s}`:a&&(i=`${a}`)}return{name:n,title:r,attribution:i}})}function zVt(t){const e=$Vt.read(t);if(FP(e)){const n=e.Capability;if(FP(n))return DF(n,!0)}throw new Error("invalid WMSCapabilities object")}function DF(t,e){let n,r;if(e)n=t.Layer;else{const{Layer:o,...a}=t;n=o,r=a}let i;return Array.isArray(n)?i=n.flatMap(o=>DF(o)):FP(n)?i=DF(n):i=[{}],i.map(o=>UVt(r,o))}function UVt(t,e){if(!t)return e;if(typeof(t.Name||e.Name)!="string")throw new Error("invalid WMSCapabilities: missing Layer/Name");const r=t.Title,i=e.Title,o=r&&i?`${r} / ${i}`:i||r;return{...t,...e,Title:o}}function FP(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}const WVt=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=M.useState(t.url),[o,a]=M.useState(null),[s,l]=M.useState(-1);M.useEffect(()=>{FVt(r).then(f=>{a(f)})},[r]),M.useEffect(()=>{if(o&&t.wms){const{layerName:f}=t.wms;l(o.findIndex(d=>d.name===f))}else l(-1)},[o,t.wms]);const c=()=>o&&o.length&&s!=-1,u=()=>{o&&s!==-1&&e({...t,group:BB,title:o[s].title,url:r.trim(),attribution:o[s].attribution,wms:{layerName:o[s].name}})};return w.jsxs(Ke,{sx:{display:"flex",gap:2,flexDirection:"column",padding:"5px 15px"},children:[w.jsx(cr,{required:!0,label:fe.get("WMS URL"),variant:"standard",size:"small",value:r,fullWidth:!0,onChange:f=>i(f.currentTarget.value)}),w.jsx(xd,{disabled:!o||!o.length,variant:"standard",onChange:f=>l(f.target.value),value:s,size:"small",renderValue:()=>o&&o.length&&s>=0?o[s].title:fe.get("WMS Layer"),children:(o||[]).map((f,d)=>w.jsx(jr,{value:d,selected:s===d,children:w.jsx(ts,{primary:f.title})},f.name))}),w.jsx(hw,{onDone:u,onCancel:n,doneDisabled:!c(),helpUrl:fe.get("docs/add-layer-wms.en.md")})]})},VVt=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=ue.useState(t.title),[o,a]=ue.useState(t.url),[s,l]=ue.useState(t.attribution||""),c=(d,h)=>{const p=d!=="",m=h!==""&&(h.startsWith("http://")||h.trim().startsWith("https://"));return p&&m},u=()=>c(r.trim(),o.trim()),f=()=>e({...t,group:BB,title:r.trim(),url:o.trim(),attribution:s.trim()});return w.jsxs(Ke,{sx:{display:"flex",gap:1,flexDirection:"column",padding:"5px 15px"},children:[w.jsx(cr,{required:!0,label:fe.get("XYZ Layer URL"),variant:"standard",size:"small",value:o,fullWidth:!0,onChange:d=>a(d.currentTarget.value)}),w.jsxs(Ke,{sx:{display:"flex",gap:1},children:[w.jsx(cr,{required:!0,label:fe.get("Layer Title"),variant:"standard",size:"small",sx:{flexGrow:.3},value:r,onChange:d=>i(d.currentTarget.value)}),w.jsx(cr,{label:fe.get("Layer Attribution"),variant:"standard",size:"small",sx:{flexGrow:.7},value:s,onChange:d=>l(d.currentTarget.value)})]}),w.jsx(hw,{onDone:f,onCancel:n,doneDisabled:!u(),helpUrl:fe.get("docs/add-layer-xyz.en.md")})]})},GVt={paper:t=>({backgroundColor:(t.palette.mode==="dark"?Jne:Zne)(t.palette.background.paper,.1),marginBottom:t.spacing(2)})},jJ=({userLayers:t,setUserLayers:e,selectedId:n,setSelectedId:r})=>{const[i,o]=ue.useState(n),[a,s]=ue.useState(null),[l,c]=rfe();if(!open)return null;const u=x=>{c(()=>e(t)),s({editId:x.id,editMode:"edit"})},f=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);e([...t.slice(0,b+1),{...x,id:Js("user-layer"),title:x.title+" Copy"},...t.slice(b+1)])},d=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);x.id===n&&r(i),x.id===i&&o(null),e([...t.slice(0,b),...t.slice(b+1)])},h=x=>{c(()=>e(t));const b=Js("user-layer-");e([...t,{id:b,group:BB,title:"",url:"",attribution:"",wms:x==="wms"?{layerName:""}:void 0}]),s({editId:b,editMode:"add"})},p=()=>{h("wms")},m=()=>{h("xyz")},g=x=>{c(void 0);const b=t.findIndex(_=>_.id===x.id);n===x.id&&r(i),e([...t.slice(0,b),x,...t.slice(b+1)]),s(null)},v=()=>{if(l(),a&&a.editMode==="add"){const x=t.findIndex(b=>b.id===a.editId);e([...t.slice(0,x),...t.slice(x+1)])}s(null)},y=a!==null;return w.jsx(Ho,{sx:GVt.paper,children:w.jsxs(e2,{component:"nav",dense:!0,children:[t.map(x=>{const b=n===x.id;return a&&a.editId===x.id?x.wms?w.jsx(WVt,{userLayer:x,onChange:g,onCancel:v},x.id):w.jsx(VVt,{userLayer:x,onChange:g,onCancel:v},x.id):w.jsxs(Xre,{selected:b,onClick:()=>r(b?null:x.id),children:[w.jsx(ts,{primary:x.title,secondary:x.url}),w.jsxs(Lb,{children:[w.jsx(Ot,{onClick:()=>u(x),size:"small",disabled:y,children:w.jsx(Fp,{})}),w.jsx(Ot,{onClick:()=>f(x),size:"small",disabled:y,children:w.jsx(W6,{})}),w.jsx(Ot,{onClick:()=>d(x),size:"small",disabled:y,children:w.jsx($p,{})})]})]},x.id)}),!y&&w.jsx(Ux,{sx:{minHeight:"3em"},children:w.jsx(Lb,{children:w.jsxs(Ke,{sx:{display:"flex",gap:2,paddingTop:2},children:[w.jsx(xt,{title:fe.get("Add layer from a Web Map Service"),children:w.jsx(tr,{onClick:p,startIcon:w.jsx(NP,{}),children:"WMS"})}),w.jsx(xt,{title:fe.get("Add layer from a Tiled Web Map"),children:w.jsx(tr,{onClick:m,startIcon:w.jsx(NP,{}),children:"XYZ"})})]})})})]})})},HVt=({dialogId:t,open:e,closeDialog:n,settings:r,updateSettings:i})=>{const[o,a]=ue.useState(t==="userBaseMaps"?0:1);if(!e)return null;const s=r.userBaseMaps,l=g=>{i({userBaseMaps:g})},c=r.userOverlays,u=g=>{i({userOverlays:g})},f=r.selectedBaseMapId,d=g=>{i({selectedBaseMapId:g})},h=r.selectedOverlayId,p=g=>{i({selectedOverlayId:g})};function m(){n(t)}return w.jsxs(rl,{open:e,fullWidth:!0,maxWidth:"sm",onClose:m,scroll:"body",children:[w.jsx(vd,{children:fe.get("User Layers")}),w.jsxs(Ys,{children:[w.jsx(Ke,{sx:{borderBottom:1,borderColor:"divider"},children:w.jsxs(k5,{value:o,onChange:(g,v)=>a(v),children:[w.jsx(Nb,{label:"Base Maps"}),w.jsx(Nb,{label:"Overlays"})]})}),o===0&&w.jsx(jJ,{userLayers:s,setUserLayers:l,selectedId:f,setSelectedId:d},"baseMaps"),o===1&&w.jsx(jJ,{userLayers:c,setUserLayers:u,selectedId:h,setSelectedId:p},"overlays")]})]})},qVt=(t,e)=>({open:t.controlState.dialogOpen[e.dialogId],settings:t.controlState,dialogId:e.dialogId}),XVt={closeDialog:Sy,updateSettings:ow},BJ=Jt(qVt,XVt)(HVt);function _0e({selected:t,title:e,actions:n}){return w.jsxs(n2,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...t&&{background:r=>Hc(r.palette.primary.main,r.palette.action.activatedOpacity)}},children:[w.jsx(aE,{}),w.jsx(At,{sx:{flex:"1 1 100%",paddingLeft:1},children:e}),n]})}const QVt={container:{display:"flex",flexDirection:"column",height:"100%"},tableContainer:{overflowY:"auto",flexGrow:1}};function YVt({userVariables:t,setUserVariables:e,selectedIndex:n,setSelectedIndex:r,setEditedVariable:i}){const o=n>=0?t[n]:null,a=n>=0,s=d=>{r(n!==d?d:-1)},l=()=>{i({editMode:"add",variable:zqe()})},c=()=>{const d=t[n];e([...t.slice(0,n+1),Uqe(d),...t.slice(n+1)]),r(n+1)},u=()=>{i({editMode:"edit",variable:o})},f=()=>{e([...t.slice(0,n),...t.slice(n+1)]),n>=t.length-1&&r(t.length-2)};return w.jsxs(w.Fragment,{children:[w.jsx(_0e,{selected:n!==null,title:fe.get("Manage user variables"),actions:w.jsxs(w.Fragment,{children:[w.jsx(xt,{title:fe.get("Add user variable"),children:w.jsx(Ot,{color:"primary",onClick:l,children:w.jsx(dw,{})})}),a&&w.jsx(xt,{title:fe.get("Duplicate user variable"),children:w.jsx(Ot,{onClick:c,children:w.jsx(W6,{})})}),a&&w.jsx(xt,{title:fe.get("Edit user variable"),children:w.jsx(Ot,{onClick:u,children:w.jsx(Fp,{})})}),a&&w.jsx(xt,{title:fe.get("Remove user variable"),children:w.jsx(Ot,{onClick:f,children:w.jsx(F6,{})})})]})}),w.jsx(aie,{sx:QVt.tableContainer,children:w.jsxs(P5,{size:"small",children:[w.jsx(eDe,{children:w.jsxs(vl,{children:[w.jsx(sr,{sx:{width:"15%"},children:fe.get("Name")}),w.jsx(sr,{sx:{width:"15%"},children:fe.get("Title")}),w.jsx(sr,{sx:{width:"10%"},children:fe.get("Units")}),w.jsx(sr,{children:fe.get("Expression")})]})}),w.jsx(M5,{children:t.map((d,h)=>w.jsxs(vl,{hover:!0,selected:h===n,onClick:()=>s(h),children:[w.jsx(sr,{component:"th",scope:"row",children:d.name}),w.jsx(sr,{children:d.title}),w.jsx(sr,{children:d.units}),w.jsx(sr,{children:d.expression||""})]},d.id))})]})})]})}var H6={},KVt=ft;Object.defineProperty(H6,"__esModule",{value:!0});var w0e=H6.default=void 0,ZVt=KVt(pt()),JVt=w;w0e=H6.default=(0,ZVt.default)((0,JVt.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");const e8t=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;function t8t(t){return e8t.test(t)}const zJ={expressionPart:{padding:.2},expressionPartChip:{fontFamily:"monospace"}};function UJ({part:t,partType:e,onPartClicked:n}){return w.jsx(Ke,{component:"span",sx:zJ.expressionPart,children:w.jsx(SPe,{label:t,sx:zJ.expressionPartChip,size:"small",variant:"outlined",color:e==="variables"||e==="constants"?"default":e.includes("Functions")?"primary":"secondary",onClick:()=>n(t)})})}function n8t({anchorEl:t,exprPartTypes:e,setExprPartTypes:n,onClose:r}){const i=o=>{n({...e,[o]:!e[o]})};return w.jsx(Pp,{open:!!t,anchorEl:t,onClose:r,children:$ce.map(o=>w.jsx(c0e,{selected:e[o],title:fe.get(Vqe[o]),onClick:()=>i(o),dense:!0},o))})}function r8t({expression:t,onExpressionChange:e,variableNames:n,expressionCapabilities:r,handleInsertPartRef:i}){const o=hd(),a=M.useRef(null),s=M.useCallback(c=>{var f;const u=(f=a.current)==null?void 0:f.view;if(u){const d=u.state.selection.main,h=u.state.sliceDoc(d.from,d.to).trim();h!==""&&c.includes("X")&&(c=c.replace("X",h));const p=u.state.replaceSelection(c);p&&u.dispatch(p)}},[]);M.useEffect(()=>{i.current=s},[i,s]);const l=M.useCallback(c=>{const u=c.matchBefore(/\w*/);return u===null||u.from==u.to&&!c.explicit?null:{from:u.from,options:[...n.map(f=>({label:f,type:"variable"})),...r.namespace.constants.map(f=>({label:f,type:"variable"})),...r.namespace.arrayFunctions.map(f=>({label:f,type:"function"})),...r.namespace.otherFunctions.map(f=>({label:f,type:"function"}))]}},[n,r.namespace]);return w.jsx(ik,{theme:o.palette.mode||"none",width:"100%",height:"100px",placeholder:fe.get("Use keys CTRL+SPACE to show autocompletions"),extensions:[gpe({override:[l]})],value:t,onChange:e,ref:a})}async function i8t(t,e,n){if(n.trim()==="")return fe.get("Must not be empty");const r=`${t}/expressions/validate/${ly(e)}/${encodeURIComponent(n)}`;try{return await ioe(r),null}catch(i){const o=i.message;if(o){const a=o.indexOf("("),s=o.lastIndexOf(")");return o.slice(a>=0?a+1:0,s>=0?s:o.length)}return fe.get("Invalid expression")}}const uC={container:{display:"flex",flexDirection:"column",height:"100%"},content:{flexGrow:1,display:"flex",flexDirection:"column",gap:2,padding:1},propertiesRow:{display:"flex",gap:1},expressionRow:{flexGrow:1},expressionParts:{paddingTop:1,overflowY:"auto"},expressionPart:{padding:.2},expressionPartChip:{fontFamily:"monospace"}};function o8t({userVariables:t,setUserVariables:e,editedVariable:n,setEditedVariable:r,contextDataset:i,expressionCapabilities:o,serverUrl:a}){const[s,l]=M.useState(Wqe),[c,u]=M.useState(null),f=[...t,...i.variables],d=i.variables.filter(D=>!W1(D)).map(D=>D.name),{id:h,name:p,title:m,units:g,expression:v}=n.variable,y=f.findIndex(D=>D.id!==h&&D.name===p)>=0,x=!t8t(p),b=y?fe.get("Already in use"):x?fe.get("Not a valid identifier"):null,_=!b,[S,O]=M.useState(null),E=_&&!S,k=M.useRef(null);M.useEffect(()=>{const D=setTimeout(()=>{i8t(a,i.id,n.variable.expression).then(O)},500);return()=>{clearTimeout(D)}},[a,i.id,n.variable.expression]);const I=(D,A)=>{r({...n,variable:{...n.variable,[D]:A}})},P=()=>{if(n.editMode==="add")e([n.variable,...t]);else{const D=t.findIndex(A=>A.id===n.variable.id);if(D>=0){const A=[...t];A[D]=n.variable,e(A)}}r(null)},R=()=>{r(null)},T=D=>{I("name",D.target.value)},L=D=>{I("title",D.target.value)},z=D=>{I("units",D.target.value)},B=D=>{I("expression",D)},U=D=>{k.current(D)},W=D=>{u(D.currentTarget)},$=()=>{u(null)},N=[w.jsx(Ot,{size:"small",onClick:W,children:w.jsx(xt,{arrow:!0,title:fe.get("Display further elements to be used in expressions"),children:w.jsx(w0e,{})})},"filter")];return $ce.forEach(D=>{s[D]&&(D==="variables"?d.forEach(A=>{N.push(w.jsx(UJ,{part:A,partType:D,onPartClicked:U},`${D}-${A}`))}):o.namespace[D].forEach(A=>{N.push(w.jsx(UJ,{part:A,partType:D,onPartClicked:U},`${D}-${A}`))}))}),w.jsxs(w.Fragment,{children:[w.jsx(n8t,{anchorEl:c,exprPartTypes:s,setExprPartTypes:l,onClose:$}),w.jsx(_0e,{selected:!0,title:n.editMode==="add"?fe.get("Add user variable"):fe.get("Edit user variable"),actions:w.jsx(hw,{size:"medium",onDone:P,doneDisabled:!E,onCancel:R})}),w.jsxs(Ke,{sx:uC.content,children:[w.jsxs(Ke,{sx:uC.propertiesRow,children:[w.jsx(cr,{sx:{flexGrow:.3},error:!_,helperText:b,size:"small",variant:"standard",label:fe.get("Name"),value:p,onChange:T}),w.jsx(cr,{sx:{flexGrow:.6},size:"small",variant:"standard",label:fe.get("Title"),value:m,onChange:L}),w.jsx(cr,{sx:{flexGrow:.1},size:"small",variant:"standard",label:fe.get("Units"),value:g,onChange:z})]}),w.jsxs(Ke,{sx:uC.expressionRow,children:[w.jsx(At,{sx:D=>({paddingBottom:1,color:D.palette.text.secondary}),children:fe.get("Expression")}),w.jsx(r8t,{expression:v,onExpressionChange:B,variableNames:d,expressionCapabilities:o,handleInsertPartRef:k}),S&&w.jsx(At,{sx:{paddingBottom:1},color:"error",fontSize:"small",children:S}),w.jsx(Ke,{sx:uC.expressionParts,children:N})]})]})]})}const WJ={dialogContent:{height:420},dialogActions:{display:"flex",justifyContent:"space-between",gap:.2}};function a8t({open:t,closeDialog:e,selectedDataset:n,selectedVariableName:r,selectVariable:i,userVariables:o,updateDatasetUserVariables:a,expressionCapabilities:s,serverUrl:l}){const[c,u]=M.useState(o),[f,d]=M.useState(c.findIndex(v=>v.name===r)),[h,p]=M.useState(null);if(M.useEffect(()=>{u(o)},[o]),!t||!n||!s)return null;function m(){a(n.id,c),e(lE),f>=0&&i(c[f].name)}function g(){u(o),e(lE)}return w.jsxs(rl,{open:t,fullWidth:!0,maxWidth:"md",onClose:g,scroll:"body",children:[w.jsx(vd,{children:fe.get("User Variables")}),w.jsx(Ys,{dividers:!0,sx:WJ.dialogContent,children:h===null?w.jsx(YVt,{userVariables:c,setUserVariables:u,selectedIndex:f,setSelectedIndex:d,setEditedVariable:p}):w.jsx(o8t,{userVariables:c,setUserVariables:u,editedVariable:h,setEditedVariable:p,contextDataset:n,expressionCapabilities:s,serverUrl:l})}),w.jsxs(Tp,{sx:WJ.dialogActions,children:[w.jsx(Ke,{children:w.jsx(afe,{size:"medium",helpUrl:fe.get("docs/user-variables.en.md")})}),w.jsxs(Ke,{children:[w.jsx(tr,{onClick:g,children:fe.get("Cancel")}),w.jsx(tr,{onClick:m,disabled:h!==null||!s8t(c),children:fe.get("OK")})]})]})]})}function s8t(t){const e=new Set;return t.forEach(n=>e.add(n.name)),e.size===t.length}const l8t=t=>({open:t.controlState.dialogOpen[lE],selectedDataset:qr(t),selectedVariableName:yy(t),userVariables:$We(t),expressionCapabilities:i6e(t),serverUrl:pi(t).url}),c8t={closeDialog:Sy,selectVariable:yle,updateDatasetUserVariables:zVe},u8t=Jt(l8t,c8t)(a8t),f8t=t=>({compact:Kt.instance.branding.compact}),d8t={},h8t=()=>i5({typography:{fontSize:12,htmlFontSize:14},palette:{mode:Kt.instance.branding.themeName,primary:Kt.instance.branding.primaryColor,secondary:Kt.instance.branding.secondaryColor}}),p8t=({compact:t})=>w.jsx(c3e,{children:w.jsx(Ine,{injectFirst:!0,children:w.jsxs(iCe,{theme:h8t(),children:[w.jsx(i2e,{}),!t&&w.jsx(yqe,{}),w.jsx(k6t,{}),w.jsxs(w.Fragment,{children:[w.jsx(U6t,{}),w.jsx(pWt,{}),w.jsx(_Wt,{}),w.jsx(BJ,{dialogId:"userOverlays"},"userOverlays"),w.jsx(BJ,{dialogId:"userBaseMaps"},"userBaseMaps"),w.jsx(u8t,{}),w.jsx(qWt,{}),w.jsx(PWt,{}),w.jsx(L6t,{}),w.jsx(iWt,{})]})]})})}),m8t=Jt(f8t,d8t)(p8t);function g8t(t,e,n){switch(t===void 0&&(t=tWe()),e.type){case sz:{const r={...t,...e.settings};return ll(r),r}case zle:return ll(t),t;case Qb:{let r=t.selectedDatasetId||hf.get("dataset"),i=t.selectedVariableName||hf.get("variable"),o=t.mapInteraction,a=zb(e.datasets,r);const s=a&&a3(a,i)||null;return a?s||(i=a.variables.length?a.variables[0].name:null):(r=null,i=null,a=e.datasets.length?e.datasets[0]:null,a&&(r=a.id,a.variables.length>0&&(i=a.variables[0].name))),r||(o="Select"),{...t,selectedDatasetId:r,selectedVariableName:i,mapInteraction:o}}case sle:{let r=t.selectedVariableName;const i=zb(e.datasets,e.selectedDatasetId);!a3(i,r)&&i.variables.length>0&&(r=i.variables[0].name);const a=e.selectedDatasetId,s=loe(i),l=s?s[1]:null;return{...t,selectedDatasetId:a,selectedVariableName:r,selectedTimeRange:s,selectedTime:l}}case fle:{const{location:r}=e;return t.flyTo!==r?{...t,flyTo:r}:t}case dle:{const r=e.selectedPlaceGroupIds;return{...t,selectedPlaceGroupIds:r,selectedPlaceId:null}}case hle:{const{placeId:r}=e;return{...t,selectedPlaceId:r}}case vle:return{...t,selectedVariableName:e.selectedVariableName};case ple:return{...t,layerVisibilities:{...t.layerVisibilities,[e.layerId]:e.visible}};case mle:{const{mapPointInfoBoxEnabled:r}=e;return{...t,mapPointInfoBoxEnabled:r}}case gle:{const{variableCompareMode:r}=e;return{...t,variableCompareMode:r,variableSplitPos:void 0}}case rz:{const{variableSplitPos:r}=e;return{...t,variableSplitPos:r}}case ble:{let{selectedTime:r}=e;if(r!==null&&n){const i=P3(n),o=i?cae(i,r):-1;o>=0&&(r=i[o])}return t.selectedTime!==r?{...t,selectedTime:r}:t}case _le:{if(n){let r=Cse(n);if(r>=0){const i=P3(n);r+=e.increment,r<0&&(r=i.length-1),r>i.length-1&&(r=0);let o=i[r];const a=t.selectedTimeRange;if(a!==null&&(oa[1]&&(o=a[1])),t.selectedTime!==o)return{...t,selectedTime:o}}}return t}case iz:return{...t,selectedTimeRange:e.selectedTimeRange};case R8e:return{...t,timeSeriesUpdateMode:e.timeSeriesUpdateMode};case Sle:return{...t,timeAnimationActive:e.timeAnimationActive,timeAnimationInterval:e.timeAnimationInterval};case KB:{const{id:r,selected:i}=e;return i?v8t(t,Ws,r):t}case ZB:{const{placeGroups:r}=e;return r.length>0?{...t,selectedPlaceGroupIds:[...t.selectedPlaceGroupIds||[],r[0].id]}:t}case JB:{const{placeGroupId:r,newName:i}=e;return r===Ws?{...t,userDrawnPlaceGroupName:i}:t}case ez:{const{placeId:r,places:i}=e;if(r===t.selectedPlaceId){let o=null;const a=i.findIndex(s=>s.id===r);return a>=0&&(a0&&(o=i[a-1].id)),{...t,selectedPlaceId:o}}return t}case Vle:{const r=e.colorBarId;return{...t,userColorBars:[{id:r,type:"continuous",code:doe},...t.userColorBars]}}case Gle:{const r=e.colorBarId,i=t.userColorBars.findIndex(o=>o.id===r);if(i>=0){const o={...t,userColorBars:[...t.userColorBars.slice(0,i),...t.userColorBars.slice(i+1)]};return ll(o),o}return t}case Xle:{const r=e.userColorBar,i=t.userColorBars.findIndex(o=>o.id===r.id);return i>=0?{...t,userColorBars:[...t.userColorBars.slice(0,i),{...r},...t.userColorBars.slice(i+1)]}:t}case Ole:{let r={...t,mapInteraction:e.mapInteraction,lastMapInteraction:t.mapInteraction};return e.mapInteraction==="Geometry"&&(r={...r,dialogOpen:{...t.dialogOpen,addUserPlacesFromText:!0}}),r}case Tle:{const{layerMenuOpen:r}=e;return t={...t,layerMenuOpen:r},ll(t),t}case Ple:{const{sidebarPosition:r}=e;return t={...t,sidebarPosition:r},t}case Mle:{const{sidebarOpen:r}=e;return t={...t,sidebarOpen:r},ll(t),t}case kle:{const{sidebarPanelId:r}=e;return t={...t,sidebarPanelId:r},ll(t),t}case Ale:return t={...t,volumeRenderMode:e.volumeRenderMode},ll(t),t;case Rle:{const{volumeId:r,volumeState:i}=e;return t={...t,volumeStates:{...t.volumeStates,[r]:i}},t}case Ile:{const r={...t.infoCardElementStates};return Object.getOwnPropertyNames(r).forEach(i=>{r[i]={...r[i],visible:e.visibleElements.includes(i)}}),t={...t,infoCardElementStates:r},ll(t),t}case Dle:{const{elementType:r,viewMode:i}=e,o={...t,infoCardElementStates:{...t.infoCardElementStates,[r]:{...t.infoCardElementStates[r],viewMode:i}}};return ll(o),o}case Lle:return{...t,activities:{...t.activities,[e.id]:e.message}};case Nle:{const r={...t.activities};return delete r[e.id],{...t,activities:r}}case $le:{const r=e.locale;return fe.locale=r,r!==t.locale&&(t={...t,locale:r},ll(t)),t}case jle:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!0}}}case Ble:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!1}}}case xle:{const{selectedDataset2Id:r,selectedVariable2Name:i}=e;return r===t.selectedDataset2Id&&i===t.selectedVariable2Name?{...t,selectedDataset2Id:null,selectedVariable2Name:null,variableCompareMode:!1,variableSplitPos:void 0}:{...t,selectedDataset2Id:r,selectedVariable2Name:i,variableCompareMode:!0}}case tz:if(t.selectedServerId!==e.selectedServerId)return{...t,selectedServerId:e.selectedServerId}}return t}function v8t(t,e,n){let r=t.selectedPlaceGroupIds;return!t.selectedPlaceGroupIds||t.selectedPlaceGroupIds.length===0?r=[e]:t.selectedPlaceGroupIds.find(i=>i===e)||(r=[...t.selectedPlaceGroupIds,e]),{...t,selectedPlaceGroupIds:r,selectedPlaceId:n}}function y8t(){const t=q6e(),e=[{...Kt.instance.server}];return t.forEach(n=>{e.find(r=>r.id===n.id)||e.push(n)}),{serverInfo:null,expressionCapabilities:null,datasets:[],colorBars:null,statistics:{loading:!1,records:[]},timeSeriesGroups:[],userPlaceGroups:[],userServers:e}}function x8t(t,e){switch(t===void 0&&(t=y8t()),e.type){case iE:return{...t,serverInfo:e.serverInfo};case tle:return{...t,expressionCapabilities:e.expressionCapabilities};case Qb:return{...t,datasets:e.datasets};case Use:{const{datasetId:n,userVariables:r}=e,i=t.datasets.findIndex(l=>l.id===n),o=t.datasets[i],[a,s]=mB(o);return{...t,datasets:[...t.datasets.slice(0,i),{...o,variables:[...a,...r]},...t.datasets.slice(i+1)]}}case rle:{const{datasetId:n,variableName:r,colorBarName:i,colorBarMinMax:o,colorBarNorm:a,opacity:s}=e,l={colorBarName:i,colorBarMin:o[0],colorBarMax:o[1],colorBarNorm:a,opacity:s};return VJ(t,n,r,l)}case ole:{const{datasetId:n,variableName:r,volumeRenderMode:i,volumeIsoThreshold:o}=e;return VJ(t,n,r,{volumeRenderMode:i,volumeIsoThreshold:o})}case YB:{const n=e.placeGroup,r=t.datasets.map(i=>{if(i.placeGroups){const o=i.placeGroups.findIndex(a=>a.id===n.id);if(o>=0){const a=[...i.placeGroups];return a[o]=n,{...i,placeGroups:a}}}return i});return{...t,datasets:r}}case KB:{const{placeGroupTitle:n,id:r,properties:i,geometry:o}=e,a={type:"Feature",id:r,properties:i,geometry:o},s=t.userPlaceGroups,l=s.findIndex(c=>c.id===Ws);if(l>=0){const c=s[l];return{...t,userPlaceGroups:[...s.slice(0,l),{...c,features:[...c.features,a]},...s.slice(l+1)]}}else{const c=n&&n!==""?n:fe.get("My places");return{...t,userPlaceGroups:[{type:"FeatureCollection",id:Ws,title:c,features:[a]},...s]}}}case ZB:{const{placeGroups:n}=e;return{...t,userPlaceGroups:[...t.userPlaceGroups,...n]}}case JB:{const{placeGroupId:n,newName:r}=e,i=t.userPlaceGroups,o=i.findIndex(a=>a.id===n);if(o>=0){const a=i[o];return{...t,userPlaceGroups:[...i.slice(0,o),{...a,title:r},...i.slice(o+1)]}}return t}case Vse:{const{placeGroupId:n,placeId:r,newName:i}=e,o=t.userPlaceGroups,a=HJ(o,n,r,{label:i});return a?{...t,userPlaceGroups:a}:t}case Gse:{const{placeGroupId:n,placeId:r,placeStyle:i}=e,o=t.userPlaceGroups,a=HJ(o,n,r,i);return a?{...t,userPlaceGroups:a}:t}case ez:{const{placeGroupId:n,placeId:r}=e,i=t.userPlaceGroups,o=i.findIndex(a=>a.id===n);if(o>=0){const a=i[o],s=a.features.findIndex(l=>l.id===r);if(s>=0){const l=GJ(t.timeSeriesGroups,[r]);let c=t.timeSeriesGroups;return l.forEach(u=>{c=jD(c,u,"remove","append")}),{...t,userPlaceGroups:[...i.slice(0,o),{...a,features:[...a.features.slice(0,s),...a.features.slice(s+1)]},...i.slice(o+1)],timeSeriesGroups:c}}}return t}case Hse:{const{placeGroupId:n}=e,r=t.userPlaceGroups,i=r.findIndex(o=>o.id===n);if(i>=0){const a=r[i].features.map(c=>c.id),s=GJ(t.timeSeriesGroups,a);let l=t.timeSeriesGroups;return s.forEach(c=>{l=jD(l,c,"remove","append")}),{...t,userPlaceGroups:[...r.slice(0,i),...r.slice(i+1)],timeSeriesGroups:l}}return t}case nle:return{...t,colorBars:e.colorBars};case Kse:{const{timeSeriesGroupId:n,timeSeries:r}=e,i=t.timeSeriesGroups,o=i.findIndex(l=>l.id===n),a=i[o],s=[...i];return s[o]={...a,timeSeriesArray:[...a.timeSeriesArray,r]},{...t,timeSeriesGroups:s}}case Xse:{const n=t.statistics;if(e.statistics===null)return{...t,statistics:{...n,loading:!0}};const r=n.records;return{...t,statistics:{...n,loading:!1,records:[e.statistics,...r]}}}case Qse:{const{index:n}=e,r=t.statistics,i=r.records;return{...t,statistics:{...r,records:[...i.slice(0,n),...i.slice(n+1)]}}}case Yse:{const{timeSeries:n,updateMode:r,dataMode:i}=e,o=jD(t.timeSeriesGroups,n,r,i);return o!==t.timeSeriesGroups?{...t,timeSeriesGroups:o}:t}case Zse:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.groupId);if(n>=0){const r=[...t.timeSeriesGroups],i={...r[n]},o=[...i.timeSeriesArray];return o.splice(e.index,1),i.timeSeriesArray=o,r[n]=i,{...t,timeSeriesGroups:r}}return t}case Jse:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.id);if(n>=0){const r=[...t.timeSeriesGroups];return r.splice(n,1),{...t,timeSeriesGroups:r}}return t}case ele:return{...t,timeSeriesGroups:[]};case iz:{const{selectedGroupId:n,selectedValueRange:r}=e;if(!n)return t;const i=t.timeSeriesGroups.findIndex(a=>a.id===n),o=r||void 0;return{...t,timeSeriesGroups:[...t.timeSeriesGroups.slice(0,i),{...t.timeSeriesGroups[i],variableRange:o},...t.timeSeriesGroups.slice(i+1)]}}case tz:return t.userServers!==e.servers?(H6e(e.servers),{...t,userServers:e.servers}):t;default:return t}}function VJ(t,e,n,r){const i=t.datasets.findIndex(o=>o.id===e);if(i>=0){const o=t.datasets[i],a=o.variables.findIndex(s=>s.name===n);if(a>=0){const s=o.variables[a],l=t.datasets.slice(),c=o.variables.slice();return c[a]={...s,...r},l[i]={...o,variables:c},{...t,datasets:l}}}return t}function jD(t,e,n,r){let i=e,o;const a=t.findIndex(s=>s.variableUnits===i.source.variableUnits);if(a>=0){const s=t[a],l=s.timeSeriesArray,c=l.findIndex(f=>f.source.datasetId===i.source.datasetId&&f.source.variableName===i.source.variableName&&f.source.placeId===i.source.placeId);let u;if(c>=0){const f=l[c];r==="append"&&(i={...i,data:[...i.data,...f.data]}),n==="replace"?u=[i]:n==="add"?(u=l.slice(),u[c]=i):(u=l.slice(),u.splice(c,1))}else n==="replace"?u=[i]:n==="add"?u=[i,...l]:u=l;n==="replace"?o=[{...s,timeSeriesArray:u}]:n==="add"?(o=t.slice(),o[a]={...s,timeSeriesArray:u}):u.length>=0?(o=t.slice(),o[a]={...s,timeSeriesArray:u}):(o=t.slice(),o.splice(a,1))}else n==="replace"?o=[{id:Js("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]}]:n==="add"?o=[{id:Js("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]},...t]:o=t;return o}function GJ(t,e){const n=[];return t.forEach(r=>{r.timeSeriesArray.forEach(i=>{e.forEach(o=>{i.source.placeId===o&&n.push(i)})})}),n}function HJ(t,e,n,r){const i=t.findIndex(o=>o.id===e);if(i>=0){const o=t[i],a=o.features,s=a.findIndex(l=>l.id===n);if(s>=0){const l=a[s];return[...t.slice(0,i),{...o,features:[...a.slice(0,s),{...l,properties:{...l.properties,...r}},...a.slice(s+1)]},...t.slice(i+1)]}}}function b8t(){return{newEntries:[],oldEntries:[]}}let _8t=0;function w8t(t,e){t===void 0&&(t=b8t());const n=t.newEntries;switch(e.type){case Fse:{const r=e.messageType,i=e.messageText;let o=n.length?n[0]:null;return o&&r===o.type&&i===o.text?t:(o={id:++_8t,type:r,text:i},{...t,newEntries:[o,...n]})}case jse:{const r=n.findIndex(i=>i.id===e.messageId);if(r>=0){const i=n[r],o=[...n];o.splice(r,1);const a=[i,...t.oldEntries];return{...t,newEntries:o,oldEntries:a}}}}return t}function S8t(){return{accessToken:null}}function O8t(t,e){switch(t===void 0&&(t=S8t()),e.type){case Lce:return{...t,accessToken:e.accessToken}}return t}function C8t(t,e){return{dataState:x8t(t&&t.dataState,e),controlState:g8t(t&&t.controlState,e,t),messageLogState:w8t(t&&t.messageLogState,e),userAuthState:O8t(t&&t.userAuthState,e)}}Kt.load().then(()=>{const t=(o,a)=>a.type!==rz,e=Y_e.createLogger({collapsed:!0,diff:!1,predicate:t}),n=Q_e(lne,e),r=ane(C8t,n),i=r.dispatch;i(Fle(r.getState().controlState.locale)),i(z8e()),r.getState().controlState.privacyNoticeAccepted&&i(nz()),qv.render(w.jsx(Vbe,{store:r,children:w.jsx(m8t,{})}),document.getElementById("root"))}); diff --git a/xcube/webapi/viewer/dist/assets/index-DJNsTand.css b/xcube/webapi/viewer/dist/assets/index-DJNsTand.css new file mode 100644 index 000000000..c90e8b8c2 --- /dev/null +++ b/xcube/webapi/viewer/dist/assets/index-DJNsTand.css @@ -0,0 +1 @@ +@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-ext-300-normal-Chhwl1Jq.woff2) format("woff2"),url(./roboto-cyrillic-ext-300-normal-BLLmCegk.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-cyrillic-300-normal-DJfICpyc.woff2) format("woff2"),url(./roboto-cyrillic-300-normal-Dg7J0kAT.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(data:font/woff2;base64,d09GMgABAAAAAAXcABIAAAAAChAAAAV+AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghYCYM8EQwKg3yDXwsUABIUATYCJAMkBCAFgnwHIAyCOhuqCCAuDrI5ZN4aokERTSyd8sbnRhCPOT/nSbL5I3uJOVkEOmLbY09VmSg+s7XZR8z2UPVFzdPPH95petP0dBQVoUgu+1/NvnDlsFu1bLZnPtp/9TZG4R6s2iHuHinG8i80DiPfXaFiKo9+oTAOlEMIi8PciP2lbTwhqe7chkVUBQSIAQDBRxAECKlFFzJ0eHQySGIAUgAO4c44Imqnv6i9oQq0lzWwyhZYXdBUcx6AsNu1WSdtEQPnkuMESEM7pl9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C9E5RZRBZfNWYmElDU6etXeBiBO+kNXoAeNpjYGYAg/9ZDCkMWAAAKh8B0QA=) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-greek-300-normal-Bx8edVml.woff2) format("woff2"),url(./roboto-greek-300-normal-D3gN5oZ1.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-vietnamese-300-normal-PZa9KE_J.woff2) format("woff2"),url(./roboto-vietnamese-300-normal-CAomnZLO.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-ext-300-normal-BzRVPTS2.woff2) format("woff2"),url(./roboto-latin-ext-300-normal-Djx841zm.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:300;src:url(./roboto-latin-300-normal-BizgZZ3y.woff2) format("woff2"),url(./roboto-latin-300-normal-BZ6gvbSO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-ext-400-normal-D76n7Daw.woff2) format("woff2"),url(./roboto-cyrillic-ext-400-normal-b0JluIOJ.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-cyrillic-400-normal-BiRJyiea.woff2) format("woff2"),url(./roboto-cyrillic-400-normal-JN0iKxGs.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAXYABIAAAAACgAAAAV8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghUCYM8EQwKg2iDTgsUABIUATYCJAMkBCAFgnQHIAyCSRucCFFUkDIBfhzkZKcmnOCkolAQnoSyxYqFpYXieXb+xgO83X+ee8cPWukL624junMJs9RsoCpuxSopamF+Pi97f6xC6QrJFHRKpFCmII8L4C95A3y0rJouCIdkJgncD/oHj/4Ptd1Rm0IYXCtKb1yQDmO4797U2dlr/Om01LkOVpT2L12pLVa73QtgLIKxr2n9efiAIhiyAGBi25Coekds8qZninvglyCgAwhKQRDQspY1tF9oNA0iKTQN4IRtO0c8LdtzW2orwfLCWqaCzZfl11dfBsTdnaQ3h2kZ2eOZEwgbeF/yBVwQgZ2DvRwJfK0Dj4wLA3+w4XAB/M8FxYoIY9AzkO6S7TOGwEWk2ZbiCu/nOQToKUU5oq4x6zbE1HUGA3Rl83vzuil5fuJX+RchWrDatW53jdtwnlgZhpwlhXP0dtJr7vYxsPT/PLq40lhiT5ruQpdOGGT7LM3N6cMWw/ws9PIfIIcEwLJDUR3FYQgfiUJzxskPq2Qy1ggbiezOIJylETciLCiNZCMFSKaDJqeFHmOPg5ePsYC2syXS6aE6P7V6nJwhSOIdAc0Ke4n7Xb8SyWqkqXiaf5zcKrRPwvfqdPtrZBtL2slMnRuMa42LvcxYpRRZvA/n8T7tUCIaeZ2q3j7uEhVDkc8XZrrMEm9RfK85lv64HemnFa6lmf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QuQv9C7ttED07m6zAMCqdb+waipATnOadIBQqup/r/VAgEDARX+6/Zr+/7hAQ/9AAIAbwRwAskF1gAFAA0AAAETMxUDIwEzFRYXByY1AZF0xN9Z/t6oA1BJsgSUAUIV/sMBUlt7VTtfu////jL/7AVPBdYAJgAFRgAABwAG/cMAAAABAAAAAiMSo8X+nl8PPPUAGQgAAAAAAMTwES4AAAAA1QFS9Pob/dUJMAhzAAAACQACAAAAAAAAeNpjYGRgYM/5x8PAwOn5S/qfF6cBUAQVcAIAb4cEcQB42mPuYUhhgALG3xDM2sBQxqzAkA9mH/tnBABopAdwAHjaY2Bg0ITDRIY6IOwCABGeArUAeNpjYGRgYOBk6GcQYwhhYAXzEICNgREAGIoBEXjaXY4BBgJRFEVPVSnSCkIgoKkKUSBJIqESIKp+05BpzFRpI62gBbTErvGNkes+977nfB8ocSJHJl8GtnxtzlDhY3OWKm+bc6l9PpULNAhsLlJjbXNVCc7cpIABLekZy2FHIB90NWpXQlxdL3jaGXwizUibOTPGTFiw0mzSxaHNUsRevslNNSP6LnpHyEYtFOvp5lOPiQ49+gzj1lbr/zHp98ZywEtbDxf9PqE6SlOukivOqM3wOeAojbhIdZYJFcXNEMkhD80jzg9HQTQoAAB42mNgZgCD/1kMKQxYAAAqHwHRAA==) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-greek-400-normal-LPh2sqOm.woff2) format("woff2"),url(./roboto-greek-400-normal-IIc_WWwF.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-vietnamese-400-normal-DhTUfTw_.woff2) format("woff2"),url(./roboto-vietnamese-400-normal-D5pJwT9g.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-ext-400-normal-DgXbz5gU.woff2) format("woff2"),url(./roboto-latin-ext-400-normal-BSFkPfbf.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./roboto-latin-400-normal-DXyFPIdK.woff2) format("woff2"),url(./roboto-latin-400-normal-BVyCgWwA.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-ext-500-normal-BJvL3D7h.woff2) format("woff2"),url(./roboto-cyrillic-ext-500-normal-37WQE4S0.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-cyrillic-500-normal-_hamcpv8.woff2) format("woff2"),url(./roboto-cyrillic-500-normal-YnJLGrUm.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(data:font/woff2;base64,d09GMgABAAAAAAXwABIAAAAACiQAAAWUAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghcCYM8EQwKg3CDVwsUABIUATYCJAMkBCAFgwAHIAyCUxvDCECO0yW2MxHcwQN9m/Zmd7GAt056LBXDUnN6hagTcSJGKmInrh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i3lFFX5soBDWurrSmIFtIG3bkJpl5VGa9l7aR5PaDFJd0vJezIK359ABacrx6YlPaiEa0M6TNNTpeyKxAvf8t728Amp93ac4CpDUitZckFklemiKJTB60LmkCExPbrIg0+pogAJvFpIGiGDXFBAJQZnjuPl6+ttW5+nfzFDMAz/7kDgO8Liq/+2fm/6/PJvNmwIICgADT4JgNLAN89dj6FghmF4t6Bl0KYiyvMByjuwfpwd7nubFsBGDhbCZSyoAAwAEKSg5GBGCmm4rQLECLRzuTYCrXmRQcXNCscpo1MBmYzbBkBEW15Ni/HHptscWIlUSIsH35PWHajWjXqVdSmJRNekQY1KdT0rDNkjaLUKzABnGlqsSFWEiYHCqldEjZIiVEiaQufbYaUitpk836pAzTJaYvYBHLWIWryaFhqFJSj9k5qN0mfYH64RukjNhpkz491xLRQqOvTp6UlJ7XJukUGNYpjM56gwbpVMrxzTh3TeL5xbcd44/CqACQ6afLfK60BSQB0sKhBETaKbb3eMC5MmeW14U5wANieXjmVDcy/QGlNLpwxgRnp+avCvvHpzWqnSFnrm+iw87YWbEu5G0zRRdL25kbC1fOm2JnOdxVunKGXdb2juKl/l7rudubwM62ra1o6TQ7e3Bm9nibjWPDsoDPs4q0y2EKSH7t09MHxovNabmBct2W9IHsumzDWwH3Q0QAXgaYwrPxbsyAT7c1vQ5bcX/WqQuyFFCCuM9/BPCxLY3EDZ6NL2KGr2upiUznKVBH5gvU2nyxGQA=) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAATsAA4AAAAABYgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABQAAAAUAA8ACUdQT1MAAAFYAAAAHgAAAB5EdEx1R1NVQgAAAXgAAAAzAAAANJMNggJPUy8yAAABrAAAAE0AAABgdG3hCmNtYXAAAAH8AAAAQAAAAF4+Y+J/Z2FzcAAAAjwAAAAMAAAADAAIABNnbHlmAAACSAAAARAAAAESY99A82hlYWQAAANYAAAANgAAADb8n9JyaGhlYQAAA5AAAAAfAAAAJAr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JHZobEzEyZScyMfagC1aHiNIHoHc3fWwSmiTLGyPgM8EO7yyMs0eryKIs0uzw2ZB8f4gmWyXZ5UvtHlxcliFN25Tli3VXDxRr/5D0hfyOqHEVi/qZJaIuQpUTEs84Dt5xzyRPv3qts6b3BGzmCnrJnlUcihElQIcOXXKSkypElgP5sss0+x6jYYFN+I0JM/zT/FIez6TOc7VxLngZFdQwn6efYlK7JuWKkiahuyRJiTTol7Qrw1o8qocKJPEWqWIG1DvezNmIAAHjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-greek-500-normal-Bg8BLohm.woff2) format("woff2"),url(./roboto-greek-500-normal-CdRewbqV.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-vietnamese-500-normal-p0V0BAAE.woff2) format("woff2"),url(./roboto-vietnamese-500-normal-LvuCHq7y.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-ext-500-normal-OQJhyaXd.woff2) format("woff2"),url(./roboto-latin-ext-500-normal-DvHxAkTn.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./roboto-latin-500-normal-C6iW8rdg.woff2) format("woff2"),url(./roboto-latin-500-normal-rpP1_v3s.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-ext-700-normal-CyZgh00P.woff2) format("woff2"),url(./roboto-cyrillic-ext-700-normal-DXzexxfu.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-cyrillic-700-normal-jruQITdB.woff2) format("woff2"),url(./roboto-cyrillic-700-normal-BJaAVvFw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(data:font/woff2;base64,d09GMgABAAAAAAWwABIAAAAACcAAAAVTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhQbHhw0BmAAXghICYM8EQwKg0iDMwsUABIUATYCJAMkBCAFgn4HIAyCKRtfCCCeBTkZ2iuxGWKJyeMZv66OCKiaZs+C2PYBKynriFkOIRw+g/RKasP0I2Tp7+2q9xfi7wUbK2iEHqhniZB3rvwq15s+McjkCIq28lPzNpOz6381+8JXa2p3NywTFUsoPFi19wHiAoKxcTWy7qYKLfvKspIVUta28e98NkNGfL1Saoy9g4AKICgIgoCSXWQgCxYNTUGIBJpgg22cCgGyrP3XF1yQdvCC6CzmIwxLnosAt/vj5LbogZT0yrQShPZyIH7ZQREGFZjjiOGtLF492gsUtK8M0uCg/JUR1JDrIJmWZmoo/ygYL3bjLzwPD7AMaFUQySHSouZS+8pjnYMgXNq8mgd/9PCX8m9BZJhfbtawij6MddmzXnMGDujW2EdCdJVa3Fd4Mk1Csl2nNNMt10tiuFXn3BNacx+KIDNiOYaO1X2E7Oh4gPxftmBXX9F/7704DGyNdtu7k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MABgAJAAwADwAAISERIQMRAQERAQMhATUBIQMo/TwCxDb+7v66AQzkAgP+/gEC/f0FsPqkBQf9fQJ3+xECeP1eAl6IAl4AAAIAVv/sBS4FxAAQAB4AAAEUAgQjIiQCJzU0EiQgBBIVJTQmIyIGBxUUFjMyNjcFLpj+5be1/uScAZsBGwFsARub/tCkmJekAaSal6IBArfX/rywrgFD0kjXAUevr/651gHl7uvjR9/27eMAAAIAWwRvAssF1wAFAA4AAAETMxUDIwEzFRYXByYmNQGJb9PmXP7SrQFMU0pdBJsBPBX+wQFUXnw4ViOJXQD///4X/+wFdAXXACYABUYAAAcABv28AAAAAQAAAAIjEjlU04RfDzz1ABkIAAAAAADE8BEuAAAAANUBUtb6MP3VCYcIcwABAAkAAgAAAAAAAHjaY2BkYGDP+cfDwMDZ9cvgnylnO1AEFXACAHx/BQkAeNpj7mFIYYACxn8QzNrGEMYszxANZp/5Jw4AZykHNQB42mNgYNCEw3iGOiDsAgARkAKzAHjaY2BkYGDgZOhnEGPwY2AF8xCAjYERABgMAQt42mJgYOBgSGNgZmBk4QSy4xh2QdmMDDwM66BsJqCaZRA2kBRjmABlsyCxWQFVjyUWQgEQRW8isoafSLhLwd0t4+7O7nk4nDfug4XZyzYp3nzZZlkw4SBsCOMQzg/Y6bIR95UdyluzY6zsgqliQ1bsJfeKFMmRIEWZhqQNN3ac1NXREx/ENuKSCwa01bNT11T+CuNR68JDgMjDc8oL/PUan96X/ssmxBuu7JgyRn98prhkZVgLY3UN5eVY0ccuK8ZCMKh/uvYPT/+Id5wkB9hvI3U1mnjaY2BmAIP/WQwpDFgAACofAdEA) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-greek-700-normal-Bs05n1ZH.woff2) format("woff2"),url(./roboto-greek-700-normal-1IZ-NEfb.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-vietnamese-700-normal-CBbheh0s.woff2) format("woff2"),url(./roboto-vietnamese-700-normal-B4Nagvlm.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-ext-700-normal-DchBbzVz.woff2) format("woff2"),url(./roboto-latin-ext-700-normal-Ba-CAIIA.woff) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:700;src:url(./roboto-latin-700-normal-CbYYDfWS.woff2) format("woff2"),url(./roboto-latin-700-normal-BWcFiwQV.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}body{margin:0;padding:0;width:100vw;height:100vh;overflow:hidden;font-family:Roboto,Segoe UI,"sans-serif"}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid rgb(179,197,219);background-color:#fff6}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:#003c884d;border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-singlebar-even{background-color:#000}.ol-scale-singlebar-odd{background-color:#fff}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:12px;z-index:11;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-text{position:absolute;font-size:14px;text-align:center;bottom:25px;color:#000;text-shadow:-2px 0 #FFFFFF,0 2px #FFFFFF,2px 0 #FFFFFF,0 -2px #FFFFFF}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid black}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:#fff6;border-radius:4px;padding:2px}.ol-control:hover{background-color:#fff9}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:#003c8880;border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;background-color:#003c88b3}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:#003c88b3;text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:#000;text-shadow:0 0 2px #fff;font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:#fffc}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:2px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:#fffc}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.map{height:100%}@keyframes hint{0%,to{opacity:20%}10%{opacity:100%}90%{opacity:100%}}.hint_wrap{animation:hint 4s linear none;opacity:20%;transition:all .3s ease-in-out;color:orange;position:absolute;bottom:8px;right:16px;z-index:10}.hint_wrap:hover{opacity:100%}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+);background-position:bottom right;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-w,.react-resizable-handle-e{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)} diff --git a/xcube/webapi/viewer/dist/assets/index-Kl4OfcTq.js b/xcube/webapi/viewer/dist/assets/index-Kl4OfcTq.js new file mode 100644 index 000000000..00478c855 --- /dev/null +++ b/xcube/webapi/viewer/dist/assets/index-Kl4OfcTq.js @@ -0,0 +1,3980 @@ +var fYe=Object.defineProperty;var dYe=(t,e,n)=>e in t?fYe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var gn=(t,e,n)=>dYe(t,typeof e!="symbol"?e+"":e,n);function hYe(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function on(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function PEe(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var MEe={exports:{}},cj={},REe={exports:{}},Tn={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var aM=Symbol.for("react.element"),pYe=Symbol.for("react.portal"),gYe=Symbol.for("react.fragment"),mYe=Symbol.for("react.strict_mode"),vYe=Symbol.for("react.profiler"),yYe=Symbol.for("react.provider"),xYe=Symbol.for("react.context"),bYe=Symbol.for("react.forward_ref"),wYe=Symbol.for("react.suspense"),_Ye=Symbol.for("react.memo"),SYe=Symbol.for("react.lazy"),Hue=Symbol.iterator;function CYe(t){return t===null||typeof t!="object"?null:(t=Hue&&t[Hue]||t["@@iterator"],typeof t=="function"?t:null)}var DEe={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},IEe=Object.assign,LEe={};function UC(t,e,n){this.props=t,this.context=e,this.refs=LEe,this.updater=n||DEe}UC.prototype.isReactComponent={};UC.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};UC.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function $Ee(){}$Ee.prototype=UC.prototype;function qZ(t,e,n){this.props=t,this.context=e,this.refs=LEe,this.updater=n||DEe}var XZ=qZ.prototype=new $Ee;XZ.constructor=qZ;IEe(XZ,UC.prototype);XZ.isPureReactComponent=!0;var que=Array.isArray,FEe=Object.prototype.hasOwnProperty,YZ={current:null},NEe={key:!0,ref:!0,__self:!0,__source:!0};function zEe(t,e,n){var r,i={},o=null,s=null;if(e!=null)for(r in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)FEe.call(e,r)&&!NEe.hasOwnProperty(r)&&(i[r]=e[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,N=$[j];if(0>>1;ji(q,L))Yi(le,q)?($[j]=le,$[Y]=L,j=Y):($[j]=q,$[H]=L,j=H);else if(Yi(le,L))$[j]=le,$[Y]=L,j=Y;else break e}}return z}function i($,z){var L=$.sortIndex-z.sortIndex;return L!==0?L:$.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,h=!1,p=!1,g=!1,m=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function x($){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=$)r(u),z.sortIndex=z.expirationTime,e(l,z);else break;z=n(u)}}function b($){if(g=!1,x($),!p)if(n(l)!==null)p=!0,I(w);else{var z=n(u);z!==null&&B(b,z.startTime-$)}}function w($,z){p=!1,g&&(g=!1,v(O),O=-1),h=!0;var L=d;try{for(x(z),f=n(l);f!==null&&(!(f.expirationTime>z)||$&&!M());){var j=f.callback;if(typeof j=="function"){f.callback=null,d=f.priorityLevel;var N=j(f.expirationTime<=z);z=t.unstable_now(),typeof N=="function"?f.callback=N:f===n(l)&&r(l),x(z)}else r(l);f=n(l)}if(f!==null)var F=!0;else{var H=n(u);H!==null&&B(b,H.startTime-z),F=!1}return F}finally{f=null,d=L,h=!1}}var _=!1,S=null,O=-1,k=5,E=-1;function M(){return!(t.unstable_now()-E$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<$?Math.floor(1e3/$):5},t.unstable_getCurrentPriorityLevel=function(){return d},t.unstable_getFirstCallbackNode=function(){return n(l)},t.unstable_next=function($){switch(d){case 1:case 2:case 3:var z=3;break;default:z=d}var L=d;d=z;try{return $()}finally{d=L}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function($,z){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var L=d;d=$;try{return z()}finally{d=L}},t.unstable_scheduleCallback=function($,z,L){var j=t.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0j?($.sortIndex=L,e(u,$),n(l)===null&&$===n(u)&&(g?(v(O),O=-1):g=!0,B(b,L-j))):($.sortIndex=N,e(l,$),p||h||(p=!0,I(w))),$},t.unstable_shouldYield=M,t.unstable_wrapCallback=function($){var z=d;return function(){var L=d;d=z;try{return $.apply(this,arguments)}finally{d=L}}}})(VEe);WEe.exports=VEe;var LYe=WEe.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var $Ye=D,yu=LYe;function et(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$G=Object.prototype.hasOwnProperty,FYe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Yue={},Que={};function NYe(t){return $G.call(Que,t)?!0:$G.call(Yue,t)?!1:FYe.test(t)?Que[t]=!0:(Yue[t]=!0,!1)}function zYe(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function jYe(t,e,n,r){if(e===null||typeof e>"u"||zYe(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function La(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var ws={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ws[t]=new La(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ws[e]=new La(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ws[t]=new La(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ws[t]=new La(t,2,!1,t,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){ws[t]=new La(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ws[t]=new La(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ws[t]=new La(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ws[t]=new La(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ws[t]=new La(t,5,!1,t.toLowerCase(),null,!1,!1)});var KZ=/[\-:]([a-z])/g;function ZZ(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(KZ,ZZ);ws[e]=new La(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(KZ,ZZ);ws[e]=new La(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(KZ,ZZ);ws[e]=new La(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ws[t]=new La(t,1,!1,t.toLowerCase(),null,!1,!1)});ws.xlinkHref=new La("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ws[t]=new La(t,1,!1,t.toLowerCase(),null,!0,!0)});function JZ(t,e,n,r){var i=ws.hasOwnProperty(e)?ws[e]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` +`+i[s].replace(" at new "," at ");return t.displayName&&l.includes("")&&(l=l.replace("",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{_8=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?U2(t):""}function BYe(t){switch(t.tag){case 5:return U2(t.type);case 16:return U2("Lazy");case 13:return U2("Suspense");case 19:return U2("SuspenseList");case 0:case 2:case 15:return t=S8(t.type,!1),t;case 11:return t=S8(t.type.render,!1),t;case 1:return t=S8(t.type,!0),t;default:return""}}function jG(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Uw:return"Fragment";case Bw:return"Portal";case FG:return"Profiler";case eJ:return"StrictMode";case NG:return"Suspense";case zG:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case qEe:return(t.displayName||"Context")+".Consumer";case HEe:return(t._context.displayName||"Context")+".Provider";case tJ:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case nJ:return e=t.displayName||null,e!==null?e:jG(t.type)||"Memo";case $m:e=t._payload,t=t._init;try{return jG(t(e))}catch{}}return null}function UYe(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return jG(e);case 8:return e===eJ?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function qv(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function YEe(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function WYe(t){var e=YEe(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function AD(t){t._valueTracker||(t._valueTracker=WYe(t))}function QEe(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=YEe(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function eF(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function BG(t,e){var n=e.checked;return Oi({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function Zue(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=qv(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function KEe(t,e){e=e.checked,e!=null&&JZ(t,"checked",e,!1)}function UG(t,e){KEe(t,e);var n=qv(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?WG(t,e.type,n):e.hasOwnProperty("defaultValue")&&WG(t,e.type,qv(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function Jue(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function WG(t,e,n){(e!=="number"||eF(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var W2=Array.isArray;function w_(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=PD.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function $k(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var NT={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},VYe=["Webkit","ms","Moz","O"];Object.keys(NT).forEach(function(t){VYe.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),NT[e]=NT[t]})});function t2e(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||NT.hasOwnProperty(t)&&NT[t]?(""+e).trim():e+"px"}function n2e(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=t2e(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var GYe=Oi({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function HG(t,e){if(e){if(GYe[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(et(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(et(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(et(61))}if(e.style!=null&&typeof e.style!="object")throw Error(et(62))}}function qG(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var XG=null;function rJ(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var YG=null,__=null,S_=null;function nce(t){if(t=cM(t)){if(typeof YG!="function")throw Error(et(280));var e=t.stateNode;e&&(e=gj(e),YG(t.stateNode,t.type,e))}}function r2e(t){__?S_?S_.push(t):S_=[t]:__=t}function i2e(){if(__){var t=__,e=S_;if(S_=__=null,nce(t),e)for(t=0;t>>=0,t===0?32:31-(nQe(t)/rQe|0)|0}var MD=64,RD=4194304;function V2(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function iF(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=V2(a):(o&=s,o!==0&&(r=V2(o)))}else s=n&~i,s!==0?r=V2(s):o!==0&&(r=V2(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function lM(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Mf(e),t[e]=n}function aQe(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=jT),fce=" ",dce=!1;function C2e(t,e){switch(t){case"keyup":return LQe.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O2e(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ww=!1;function FQe(t,e){switch(t){case"compositionend":return O2e(e);case"keypress":return e.which!==32?null:(dce=!0,fce);case"textInput":return t=e.data,t===fce&&dce?null:t;default:return null}}function NQe(t,e){if(Ww)return t==="compositionend"||!fJ&&C2e(t,e)?(t=_2e(),W$=lJ=sv=null,Ww=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=mce(n)}}function A2e(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?A2e(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function P2e(){for(var t=window,e=eF();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=eF(t.document)}return e}function dJ(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function qQe(t){var e=P2e(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&A2e(n.ownerDocument.documentElement,n)){if(r!==null&&dJ(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=vce(n,o);var s=vce(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Vw=null,tH=null,UT=null,nH=!1;function yce(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nH||Vw==null||Vw!==eF(r)||(r=Vw,"selectionStart"in r&&dJ(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),UT&&Uk(UT,r)||(UT=r,r=aF(tH,"onSelect"),0qw||(t.current=lH[qw],lH[qw]=null,qw--)}function jr(t,e){qw++,lH[qw]=t.current,t.current=e}var Xv={},Js=ky(Xv),ll=ky(!1),Xx=Xv;function aS(t,e){var n=t.type.contextTypes;if(!n)return Xv;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function ul(t){return t=t.childContextTypes,t!=null}function uF(){ni(ll),ni(Js)}function Oce(t,e,n){if(Js.current!==Xv)throw Error(et(168));jr(Js,e),jr(ll,n)}function z2e(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(et(108,UYe(t)||"Unknown",i));return Oi({},n,r)}function cF(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Xv,Xx=Js.current,jr(Js,t),jr(ll,ll.current),!0}function Ece(t,e,n){var r=t.stateNode;if(!r)throw Error(et(169));n?(t=z2e(t,e,Xx),r.__reactInternalMemoizedMergedChildContext=t,ni(ll),ni(Js),jr(Js,t)):ni(ll),jr(ll,n)}var Mp=null,mj=!1,F8=!1;function j2e(t){Mp===null?Mp=[t]:Mp.push(t)}function oKe(t){mj=!0,j2e(t)}function Ay(){if(!F8&&Mp!==null){F8=!0;var t=0,e=br;try{var n=Mp;for(br=1;t>=s,i-=s,Wp=1<<32-Mf(e)+i|n<O?(k=S,S=null):k=S.sibling;var E=d(v,S,x[O],b);if(E===null){S===null&&(S=k);break}t&&S&&E.alternate===null&&e(v,S),y=o(E,y,O),_===null?w=E:_.sibling=E,_=E,S=k}if(O===x.length)return n(v,S),li&&R0(v,O),w;if(S===null){for(;OO?(k=S,S=null):k=S.sibling;var M=d(v,S,E.value,b);if(M===null){S===null&&(S=k);break}t&&S&&M.alternate===null&&e(v,S),y=o(M,y,O),_===null?w=M:_.sibling=M,_=M,S=k}if(E.done)return n(v,S),li&&R0(v,O),w;if(S===null){for(;!E.done;O++,E=x.next())E=f(v,E.value,b),E!==null&&(y=o(E,y,O),_===null?w=E:_.sibling=E,_=E);return li&&R0(v,O),w}for(S=r(v,S);!E.done;O++,E=x.next())E=h(S,v,O,E.value,b),E!==null&&(t&&E.alternate!==null&&S.delete(E.key===null?O:E.key),y=o(E,y,O),_===null?w=E:_.sibling=E,_=E);return t&&S.forEach(function(A){return e(v,A)}),li&&R0(v,O),w}function m(v,y,x,b){if(typeof x=="object"&&x!==null&&x.type===Uw&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case kD:e:{for(var w=x.key,_=y;_!==null;){if(_.key===w){if(w=x.type,w===Uw){if(_.tag===7){n(v,_.sibling),y=i(_,x.props.children),y.return=v,v=y;break e}}else if(_.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===$m&&Ace(w)===_.type){n(v,_.sibling),y=i(_,x.props),y.ref=SE(v,_,x),y.return=v,v=y;break e}n(v,_);break}else e(v,_);_=_.sibling}x.type===Uw?(y=Cx(x.props.children,v.mode,b,x.key),y.return=v,v=y):(b=K$(x.type,x.key,x.props,null,v.mode,b),b.ref=SE(v,y,x),b.return=v,v=b)}return s(v);case Bw:e:{for(_=x.key;y!==null;){if(y.key===_)if(y.tag===4&&y.stateNode.containerInfo===x.containerInfo&&y.stateNode.implementation===x.implementation){n(v,y.sibling),y=i(y,x.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else e(v,y);y=y.sibling}y=G8(x,v.mode,b),y.return=v,v=y}return s(v);case $m:return _=x._init,m(v,y,_(x._payload),b)}if(W2(x))return p(v,y,x,b);if(yE(x))return g(v,y,x,b);zD(v,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,y!==null&&y.tag===6?(n(v,y.sibling),y=i(y,x),y.return=v,v=y):(n(v,y),y=V8(x,v.mode,b),y.return=v,v=y),s(v)):n(v,y)}return m}var uS=V2e(!0),G2e=V2e(!1),hF=ky(null),pF=null,Qw=null,mJ=null;function vJ(){mJ=Qw=pF=null}function yJ(t){var e=hF.current;ni(hF),t._currentValue=e}function fH(t,e,n){for(;t!==null;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function O_(t,e){pF=t,mJ=Qw=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(il=!0),t.firstContext=null)}function bc(t){var e=t._currentValue;if(mJ!==t)if(t={context:t,memoizedValue:e,next:null},Qw===null){if(pF===null)throw Error(et(308));Qw=t,pF.dependencies={lanes:0,firstContext:t}}else Qw=Qw.next=t;return e}var ix=null;function xJ(t){ix===null?ix=[t]:ix.push(t)}function H2e(t,e,n,r){var i=e.interleaved;return i===null?(n.next=n,xJ(e)):(n.next=i.next,i.next=n),e.interleaved=n,Sg(t,r)}function Sg(t,e){t.lanes|=e;var n=t.alternate;for(n!==null&&(n.lanes|=e),n=t,t=t.return;t!==null;)t.childLanes|=e,n=t.alternate,n!==null&&(n.childLanes|=e),n=t,t=t.return;return n.tag===3?n.stateNode:null}var Fm=!1;function bJ(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function q2e(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function eg(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Mv(t,e,n){var r=t.updateQueue;if(r===null)return null;if(r=r.shared,Hn&2){var i=r.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),r.pending=e,Sg(t,n)}return i=r.interleaved,i===null?(e.next=e,xJ(r)):(e.next=i.next,i.next=e),r.interleaved=e,Sg(t,n)}function G$(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194240)!==0)){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,oJ(t,n)}}function Pce(t,e){var n=t.updateQueue,r=t.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=e:o=o.next=e}else i=o=e;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function gF(t,e,n,r){var i=t.updateQueue;Fm=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=t.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var f=i.baseState;s=0,c=u=l=null,a=o;do{var d=a.lane,h=a.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=t,g=a;switch(d=e,h=n,g.tag){case 1:if(p=g.payload,typeof p=="function"){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=g.payload,d=typeof p=="function"?p.call(h,f,d):p,d==null)break e;f=Oi({},f,d);break e;case 2:Fm=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,d=i.effects,d===null?i.effects=[a]:d.push(a))}else h={eventTime:h,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=f):c=c.next=h,s|=d;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;d=a,a=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(l=f),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);Kx|=s,t.lanes=s,t.memoizedState=f}}function Mce(t,e,n){if(t=e.effects,e.effects=null,t!==null)for(e=0;en?n:4,t(!0);var r=z8.transition;z8.transition={};try{t(!1),e()}finally{br=n,z8.transition=r}}function cTe(){return wc().memoizedState}function uKe(t,e,n){var r=Dv(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},fTe(t))dTe(e,n);else if(n=H2e(t,e,n,r),n!==null){var i=Sa();Rf(n,t,r,i),hTe(n,e,r)}}function cKe(t,e,n){var r=Dv(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(fTe(t))dTe(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Ff(a,s)){var l=e.interleaved;l===null?(i.next=i,xJ(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=H2e(t,e,i,r),n!==null&&(i=Sa(),Rf(n,t,r,i),hTe(n,e,r))}}function fTe(t){var e=t.alternate;return t===Ci||e!==null&&e===Ci}function dTe(t,e){WT=vF=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function hTe(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,oJ(t,n)}}var yF={readContext:bc,useCallback:Ts,useContext:Ts,useEffect:Ts,useImperativeHandle:Ts,useInsertionEffect:Ts,useLayoutEffect:Ts,useMemo:Ts,useReducer:Ts,useRef:Ts,useState:Ts,useDebugValue:Ts,useDeferredValue:Ts,useTransition:Ts,useMutableSource:Ts,useSyncExternalStore:Ts,useId:Ts,unstable_isNewReconciler:!1},fKe={readContext:bc,useCallback:function(t,e){return Cd().memoizedState=[t,e===void 0?null:e],t},useContext:bc,useEffect:Dce,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,q$(4194308,4,oTe.bind(null,e,t),n)},useLayoutEffect:function(t,e){return q$(4194308,4,t,e)},useInsertionEffect:function(t,e){return q$(4,2,t,e)},useMemo:function(t,e){var n=Cd();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Cd();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=uKe.bind(null,Ci,t),[r.memoizedState,t]},useRef:function(t){var e=Cd();return t={current:t},e.memoizedState=t},useState:Rce,useDebugValue:kJ,useDeferredValue:function(t){return Cd().memoizedState=t},useTransition:function(){var t=Rce(!1),e=t[0];return t=lKe.bind(null,t[1]),Cd().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Ci,i=Cd();if(li){if(n===void 0)throw Error(et(407));n=n()}else{if(n=e(),jo===null)throw Error(et(349));Qx&30||K2e(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,Dce(J2e.bind(null,r,o,t),[t]),r.flags|=2048,Qk(9,Z2e.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=Cd(),e=jo.identifierPrefix;if(li){var n=Vp,r=Wp;n=(r&~(1<<32-Mf(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Xk++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[$d]=e,t[Gk]=r,STe(t,e,!1,!1),e.stateNode=t;e:{switch(s=qG(n,r),n){case"dialog":qr("cancel",t),qr("close",t),i=r;break;case"iframe":case"object":case"embed":qr("load",t),i=r;break;case"video":case"audio":for(i=0;idS&&(e.flags|=128,r=!0,CE(o,!1),e.lanes=4194304)}else{if(!r)if(t=mF(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),CE(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!li)return ks(e),null}else 2*Vi()-o.renderingStartTime>dS&&n!==1073741824&&(e.flags|=128,r=!0,CE(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Vi(),e.sibling=null,n=bi.current,jr(bi,r?n&1|2:n&1),e):(ks(e),null);case 22:case 23:return IJ(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?Hl&1073741824&&(ks(e),e.subtreeFlags&6&&(e.flags|=8192)):ks(e),null;case 24:return null;case 25:return null}throw Error(et(156,e.tag))}function xKe(t,e){switch(pJ(e),e.tag){case 1:return ul(e.type)&&uF(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return cS(),ni(ll),ni(Js),SJ(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return _J(e),null;case 13:if(ni(bi),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(et(340));lS()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return ni(bi),null;case 4:return cS(),null;case 10:return yJ(e.type._context),null;case 22:case 23:return IJ(),null;case 24:return null;default:return null}}var BD=!1,Us=!1,bKe=typeof WeakSet=="function"?WeakSet:Set,Ot=null;function Kw(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ii(t,e,r)}else n.current=null}function bH(t,e,n){try{n()}catch(r){Ii(t,e,r)}}var Vce=!1;function wKe(t,e){if(rH=oF,t=P2e(),dJ(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=t,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===t)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(iH={focusedElem:t,selectionRange:n},oF=!1,Ot=e;Ot!==null;)if(e=Ot,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Ot=t;else for(;Ot!==null;){e=Ot;try{var p=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,m=p.memoizedState,v=e.stateNode,y=v.getSnapshotBeforeUpdate(e.elementType===e.type?g:lf(e.type,g),m);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var x=e.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(et(163))}}catch(b){Ii(e,e.return,b)}if(t=e.sibling,t!==null){t.return=e.return,Ot=t;break}Ot=e.return}return p=Vce,Vce=!1,p}function VT(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&bH(e,n,o)}i=i.next}while(i!==r)}}function xj(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function wH(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function ETe(t){var e=t.alternate;e!==null&&(t.alternate=null,ETe(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[$d],delete e[Gk],delete e[aH],delete e[rKe],delete e[iKe])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function TTe(t){return t.tag===5||t.tag===3||t.tag===4}function Gce(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||TTe(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function _H(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=lF));else if(r!==4&&(t=t.child,t!==null))for(_H(t,e,n),t=t.sibling;t!==null;)_H(t,e,n),t=t.sibling}function SH(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(SH(t,e,n),t=t.sibling;t!==null;)SH(t,e,n),t=t.sibling}var es=null,ff=!1;function am(t,e,n){for(n=n.child;n!==null;)kTe(t,e,n),n=n.sibling}function kTe(t,e,n){if(sh&&typeof sh.onCommitFiberUnmount=="function")try{sh.onCommitFiberUnmount(fj,n)}catch{}switch(n.tag){case 5:Us||Kw(n,e);case 6:var r=es,i=ff;es=null,am(t,e,n),es=r,ff=i,es!==null&&(ff?(t=es,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):es.removeChild(n.stateNode));break;case 18:es!==null&&(ff?(t=es,n=n.stateNode,t.nodeType===8?$8(t.parentNode,n):t.nodeType===1&&$8(t,n),jk(t)):$8(es,n.stateNode));break;case 4:r=es,i=ff,es=n.stateNode.containerInfo,ff=!0,am(t,e,n),es=r,ff=i;break;case 0:case 11:case 14:case 15:if(!Us&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&bH(n,e,s),i=i.next}while(i!==r)}am(t,e,n);break;case 1:if(!Us&&(Kw(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ii(n,e,a)}am(t,e,n);break;case 21:am(t,e,n);break;case 22:n.mode&1?(Us=(r=Us)||n.memoizedState!==null,am(t,e,n),Us=r):am(t,e,n);break;default:am(t,e,n)}}function Hce(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new bKe),e.forEach(function(r){var i=PKe.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Hc(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Vi()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SKe(r/1960))-r,10t?16:t,av===null)var r=!1;else{if(t=av,av=null,wF=0,Hn&6)throw Error(et(331));var i=Hn;for(Hn|=4,Ot=t.current;Ot!==null;){var o=Ot,s=o.child;if(Ot.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lVi()-RJ?Sx(t,0):MJ|=n),cl(t,e)}function $Te(t,e){e===0&&(t.mode&1?(e=RD,RD<<=1,!(RD&130023424)&&(RD=4194304)):e=1);var n=Sa();t=Sg(t,e),t!==null&&(lM(t,e,n),cl(t,n))}function AKe(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),$Te(t,n)}function PKe(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(et(314))}r!==null&&r.delete(e),$Te(t,n)}var FTe;FTe=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||ll.current)il=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return il=!1,vKe(t,e,n);il=!!(t.flags&131072)}else il=!1,li&&e.flags&1048576&&B2e(e,dF,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;X$(t,e),t=e.pendingProps;var i=aS(e,Js.current);O_(e,n),i=OJ(null,e,r,t,i,n);var o=EJ();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ul(r)?(o=!0,cF(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,bJ(e),i.updater=yj,e.stateNode=i,i._reactInternals=e,hH(e,r,t,n),e=mH(null,e,r,!0,o,n)):(e.tag=0,li&&o&&hJ(e),ha(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(X$(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=RKe(r),t=lf(r,t),i){case 0:e=gH(null,e,r,t,n);break e;case 1:e=Bce(null,e,r,t,n);break e;case 11:e=zce(null,e,r,t,n);break e;case 14:e=jce(null,e,r,lf(r.type,t),n);break e}throw Error(et(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:lf(r,i),gH(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:lf(r,i),Bce(t,e,r,i,n);case 3:e:{if(bTe(e),t===null)throw Error(et(387));r=e.pendingProps,o=e.memoizedState,i=o.element,q2e(t,e),gF(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=fS(Error(et(423)),e),e=Uce(t,e,r,n,i);break e}else if(r!==i){i=fS(Error(et(424)),e),e=Uce(t,e,r,n,i);break e}else for(iu=Pv(e.stateNode.containerInfo.firstChild),cu=e,li=!0,vf=null,n=G2e(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(lS(),r===i){e=Cg(t,e,n);break e}ha(t,e,r,n)}e=e.child}return e;case 5:return X2e(e),t===null&&cH(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,oH(r,i)?s=null:o!==null&&oH(r,o)&&(e.flags|=32),xTe(t,e),ha(t,e,s,n),e.child;case 6:return t===null&&cH(e),null;case 13:return wTe(t,e,n);case 4:return wJ(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=uS(e,null,r,n):ha(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:lf(r,i),zce(t,e,r,i,n);case 7:return ha(t,e,e.pendingProps,n),e.child;case 8:return ha(t,e,e.pendingProps.children,n),e.child;case 12:return ha(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,jr(hF,r._currentValue),r._currentValue=s,o!==null)if(Ff(o.value,s)){if(o.children===i.children&&!ll.current){e=Cg(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=eg(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),fH(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(et(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),fH(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ha(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,O_(e,n),i=bc(i),r=r(i),e.flags|=1,ha(t,e,r,n),e.child;case 14:return r=e.type,i=lf(r,e.pendingProps),i=lf(r.type,i),jce(t,e,r,i,n);case 15:return vTe(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:lf(r,i),X$(t,e),e.tag=1,ul(r)?(t=!0,cF(e)):t=!1,O_(e,n),pTe(e,r,i),hH(e,r,i,n),mH(null,e,r,!0,t,n);case 19:return _Te(t,e,n);case 22:return yTe(t,e,n)}throw Error(et(156,e.tag))};function NTe(t,e){return f2e(t,e)}function MKe(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tc(t,e,n,r){return new MKe(t,e,n,r)}function $J(t){return t=t.prototype,!(!t||!t.isReactComponent)}function RKe(t){if(typeof t=="function")return $J(t)?1:0;if(t!=null){if(t=t.$$typeof,t===tJ)return 11;if(t===nJ)return 14}return 2}function Iv(t,e){var n=t.alternate;return n===null?(n=tc(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function K$(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")$J(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case Uw:return Cx(n.children,i,o,e);case eJ:s=8,i|=8;break;case FG:return t=tc(12,n,e,i|2),t.elementType=FG,t.lanes=o,t;case NG:return t=tc(13,n,e,i),t.elementType=NG,t.lanes=o,t;case zG:return t=tc(19,n,e,i),t.elementType=zG,t.lanes=o,t;case XEe:return wj(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case HEe:s=10;break e;case qEe:s=9;break e;case tJ:s=11;break e;case nJ:s=14;break e;case $m:s=16,r=null;break e}throw Error(et(130,t==null?t:typeof t,""))}return e=tc(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Cx(t,e,n,r){return t=tc(7,t,r,e),t.lanes=n,t}function wj(t,e,n,r){return t=tc(22,t,r,e),t.elementType=XEe,t.lanes=n,t.stateNode={isHidden:!1},t}function V8(t,e,n){return t=tc(6,t,null,e),t.lanes=n,t}function G8(t,e,n){return e=tc(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function DKe(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=O8(0),this.expirationTimes=O8(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=O8(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function FJ(t,e,n,r,i,o,s,a,l){return t=new DKe(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=tc(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bJ(o),t}function IKe(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(UTe)}catch(t){console.error(t)}}UTe(),UEe.exports=Au;var GC=UEe.exports;const VD=on(GC);var efe=GC;LG.createRoot=efe.createRoot,LG.hydrateRoot=efe.hydrateRoot;var WTe={exports:{}},zKe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",jKe=zKe,BKe=jKe;function VTe(){}function GTe(){}GTe.resetWarningCache=VTe;var UKe=function(){function t(r,i,o,s,a,l){if(l!==BKe){var u=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 u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={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:GTe,resetWarningCache:VTe};return n.PropTypes=n,n};WTe.exports=UKe();var dM=WTe.exports;const pe=on(dM);var Ej=de.createContext(null);function WKe(t){t()}var HTe=WKe,VKe=function(e){return HTe=e},GKe=function(){return HTe};function HKe(){var t=GKe(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t(function(){for(var i=e;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=e;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,s=n={callback:i,next:null,prev:n};return s.prev?s.prev.next=s:e=s,function(){!o||e===null||(o=!1,s.next?s.next.prev=s.prev:n=s.prev,s.prev?s.prev.next=s.next:e=s.next)}}}}var tfe={notify:function(){},get:function(){return[]}};function qTe(t,e){var n,r=tfe;function i(f){return l(),r.subscribe(f)}function o(){r.notify()}function s(){c.onStateChange&&c.onStateChange()}function a(){return!!n}function l(){n||(n=e?e.addNestedSub(s):t.subscribe(s),r=HKe())}function u(){n&&(n(),n=void 0,r.clear(),r=tfe)}var c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:s,isSubscribed:a,trySubscribe:l,tryUnsubscribe:u,getListeners:function(){return r}};return c}var XTe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?D.useLayoutEffect:D.useEffect;function qKe(t){var e=t.store,n=t.context,r=t.children,i=D.useMemo(function(){var a=qTe(e);return{store:e,subscription:a}},[e]),o=D.useMemo(function(){return e.getState()},[e]);XTe(function(){var a=i.subscription;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==e.getState()&&a.notifyNestedSubs(),function(){a.tryUnsubscribe(),a.onStateChange=null}},[i,o]);var s=n||Ej;return de.createElement(s.Provider,{value:i},r)}function ve(){return ve=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0;r--){var i=e[r](t);if(i)return i}return function(o,s){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+s.wrappedComponentName+".")}}function GZe(t,e){return t===e}function HZe(t){var e={},n=e.connectHOC,r=n===void 0?EZe:n,i=e.mapStateToPropsFactories,o=i===void 0?IZe:i,s=e.mapDispatchToPropsFactories,a=s===void 0?MZe:s,l=e.mergePropsFactories,u=l===void 0?zZe:l,c=e.selectorFactory,f=c===void 0?WZe:c;return function(h,p,g,m){m===void 0&&(m={});var v=m,y=v.pure,x=y===void 0?!0:y,b=v.areStatesEqual,w=b===void 0?GZe:b,_=v.areOwnPropsEqual,S=_===void 0?H8:_,O=v.areStatePropsEqual,k=O===void 0?H8:O,E=v.areMergedPropsEqual,M=E===void 0?H8:E,A=Rt(v,VZe),P=q8(h,o,"mapStateToProps"),T=q8(p,a,"mapDispatchToProps"),R=q8(g,u,"mergeProps");return r(f,ve({methodName:"connect",getDisplayName:function(B){return"Connect("+B+")"},shouldHandleStateChanges:!!h,initMapStateToProps:P,initMapDispatchToProps:T,initMergeProps:R,pure:x,areStatesEqual:w,areOwnPropsEqual:S,areStatePropsEqual:k,areMergedPropsEqual:M},A))}}const Rn=HZe();VKe(GC.unstable_batchedUpdates);function Og(t){"@babel/helpers - typeof";return Og=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Og(t)}function qZe(t,e){if(Og(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Og(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ske(t){var e=qZe(t,"string");return Og(e)=="symbol"?e:e+""}function yt(t,e,n){return(e=ske(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lfe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function ufe(t){for(var e=1;e"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(zl(1));return n(ake)(t,e)}if(typeof t!="function")throw new Error(zl(2));var i=t,o=e,s=[],a=s,l=!1;function u(){a===s&&(a=s.slice())}function c(){if(l)throw new Error(zl(3));return o}function f(g){if(typeof g!="function")throw new Error(zl(4));if(l)throw new Error(zl(5));var m=!0;return u(),a.push(g),function(){if(m){if(l)throw new Error(zl(6));m=!1,u();var y=a.indexOf(g);a.splice(y,1),s=null}}}function d(g){if(!XZe(g))throw new Error(zl(7));if(typeof g.type>"u")throw new Error(zl(8));if(l)throw new Error(zl(9));try{l=!0,o=i(o,g)}finally{l=!1}for(var m=s=a,v=0;v"u"?"undefined":R(j);return N!=="object"?N:j===Math?"math":j===null?"null":Array.isArray(j)?"array":Object.prototype.toString.call(j)==="[object Date]"?"date":typeof j.toString=="function"&&/^\/.*\//.test(j.toString())?"regexp":"object"}function f(j,N,F,H,q,Y,le){q=q||[],le=le||[];var K=q.slice(0);if(typeof Y<"u"){if(H){if(typeof H=="function"&&H(K,Y))return;if((typeof H>"u"?"undefined":R(H))==="object"){if(H.prefilter&&H.prefilter(K,Y))return;if(H.normalize){var ee=H.normalize(K,Y,j,N);ee&&(j=ee[0],N=ee[1])}}}K.push(Y)}c(j)==="regexp"&&c(N)==="regexp"&&(j=j.toString(),N=N.toString());var re=typeof j>"u"?"undefined":R(j),ge=typeof N>"u"?"undefined":R(N),te=re!=="undefined"||le&&le[le.length-1].lhs&&le[le.length-1].lhs.hasOwnProperty(Y),ae=ge!=="undefined"||le&&le[le.length-1].rhs&&le[le.length-1].rhs.hasOwnProperty(Y);if(!te&&ae)F(new s(K,N));else if(!ae&&te)F(new a(K,j));else if(c(j)!==c(N))F(new o(K,j,N));else if(c(j)==="date"&&j-N!==0)F(new o(K,j,N));else if(re==="object"&&j!==null&&N!==null)if(le.filter(function(V){return V.lhs===j}).length)j!==N&&F(new o(K,j,N));else{if(le.push({lhs:j,rhs:N}),Array.isArray(j)){var U;for(j.length,U=0;U=N.length?F(new l(K,U,new a(void 0,j[U]))):f(j[U],N[U],F,H,K,U,le);for(;U=0?(f(j[V],N[V],F,H,K,V,le),ne=u(ne,Z)):f(j[V],void 0,F,H,K,V,le)}),ne.forEach(function(V){f(void 0,N[V],F,H,K,V,le)})}le.length=le.length-1}else j!==N&&(re==="number"&&isNaN(j)&&isNaN(N)||F(new o(K,j,N)))}function d(j,N,F,H){return H=H||[],f(j,N,function(q){q&&H.push(q)},F),H.length?H:void 0}function h(j,N,F){if(F.path&&F.path.length){var H,q=j[N],Y=F.path.length-1;for(H=0;H"u"&&(H[F.path[q]]=typeof F.path[q]=="number"?[]:{}),H=H[F.path[q]];switch(F.kind){case"A":h(F.path?H[F.path[q]]:H,F.index,F.item);break;case"D":delete H[F.path[q]];break;case"E":case"N":H[F.path[q]]=F.rhs}}}function g(j,N,F){if(F.path&&F.path.length){var H,q=j[N],Y=F.path.length-1;for(H=0;H"u"&&(Y[F.path[H]]={}),Y=Y[F.path[H]];switch(F.kind){case"A":g(Y[F.path[H]],F.index,F.item);break;case"D":Y[F.path[H]]=F.lhs;break;case"E":Y[F.path[H]]=F.lhs;break;case"N":delete Y[F.path[H]]}}}function v(j,N,F){if(j&&N){var H=function(q){F&&!F(j,N,q)||p(j,N,q)};f(j,N,H)}}function y(j){return"color: "+$[j].color+"; font-weight: bold"}function x(j){var N=j.kind,F=j.path,H=j.lhs,q=j.rhs,Y=j.index,le=j.item;switch(N){case"E":return[F.join("."),H,"→",q];case"N":return[F.join("."),q];case"D":return[F.join(".")];case"A":return[F.join(".")+"["+Y+"]",le];default:return[]}}function b(j,N,F,H){var q=d(j,N);try{H?F.groupCollapsed("diff"):F.group("diff")}catch{F.log("diff")}q?q.forEach(function(Y){var le=Y.kind,K=x(Y);F.log.apply(F,["%c "+$[le].text,y(le)].concat(I(K)))}):F.log("—— no diff ——");try{F.groupEnd()}catch{F.log("—— diff end —— ")}}function w(j,N,F,H){switch(typeof j>"u"?"undefined":R(j)){case"object":return typeof j[H]=="function"?j[H].apply(j,I(F)):j[H];case"function":return j(N);default:return j}}function _(j){var N=j.timestamp,F=j.duration;return function(H,q,Y){var le=["action"];return le.push("%c"+String(H.type)),N&&le.push("%c@ "+q),F&&le.push("%c(in "+Y.toFixed(2)+" ms)"),le.join(" ")}}function S(j,N){var F=N.logger,H=N.actionTransformer,q=N.titleFormatter,Y=q===void 0?_(N):q,le=N.collapsed,K=N.colors,ee=N.level,re=N.diff,ge=typeof N.titleFormatter>"u";j.forEach(function(te,ae){var U=te.started,oe=te.startedTime,ne=te.action,V=te.prevState,X=te.error,Z=te.took,he=te.nextState,xe=j[ae+1];xe&&(he=xe.prevState,Z=xe.started-U);var G=H(ne),W=typeof le=="function"?le(function(){return he},ne,te):le,J=P(oe),se=K.title?"color: "+K.title(G)+";":"",ye=["color: gray; font-weight: lighter;"];ye.push(se),N.timestamp&&ye.push("color: gray; font-weight: lighter;"),N.duration&&ye.push("color: gray; font-weight: lighter;");var ie=Y(G,J,Z);try{W?K.title&&ge?F.groupCollapsed.apply(F,["%c "+ie].concat(ye)):F.groupCollapsed(ie):K.title&&ge?F.group.apply(F,["%c "+ie].concat(ye)):F.group(ie)}catch{F.log(ie)}var fe=w(ee,G,[V],"prevState"),Q=w(ee,G,[G],"action"),_e=w(ee,G,[X,V],"error"),we=w(ee,G,[he],"nextState");if(fe)if(K.prevState){var Ie="color: "+K.prevState(V)+"; font-weight: bold";F[fe]("%c prev state",Ie,V)}else F[fe]("prev state",V);if(Q)if(K.action){var Pe="color: "+K.action(G)+"; font-weight: bold";F[Q]("%c action ",Pe,G)}else F[Q]("action ",G);if(X&&_e)if(K.error){var Me="color: "+K.error(X,V)+"; font-weight: bold;";F[_e]("%c error ",Me,X)}else F[_e]("error ",X);if(we)if(K.nextState){var Te="color: "+K.nextState(he)+"; font-weight: bold";F[we]("%c next state",Te,he)}else F[we]("next state",he);re&&b(V,he,F,W);try{F.groupEnd()}catch{F.log("—— log end ——")}})}function O(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=Object.assign({},z,j),F=N.logger,H=N.stateTransformer,q=N.errorTransformer,Y=N.predicate,le=N.logErrors,K=N.diffPredicate;if(typeof F>"u")return function(){return function(re){return function(ge){return re(ge)}}};if(j.getState&&j.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware: +// Logger with default options +import { logger } from 'redux-logger' +const store = createStore( + reducer, + applyMiddleware(logger) +) +// Or you can create your own logger with custom options http://bit.ly/redux-logger-options +import createLogger from 'redux-logger' +const logger = createLogger({ + // ...options +}); +const store = createStore( + reducer, + applyMiddleware(logger) +) +`),function(){return function(re){return function(ge){return re(ge)}}};var ee=[];return function(re){var ge=re.getState;return function(te){return function(ae){if(typeof Y=="function"&&!Y(ge,ae))return te(ae);var U={};ee.push(U),U.started=T.now(),U.startedTime=new Date,U.prevState=H(ge()),U.action=ae;var oe=void 0;if(le)try{oe=te(ae)}catch(V){U.error=q(V)}else oe=te(ae);U.took=T.now()-U.started,U.nextState=H(ge());var ne=N.diff&&typeof K=="function"?K(ge,ae):N.diff;if(S(ee,Object.assign({},N,{diff:ne})),ee.length=0,U.error)throw U.error;return oe}}}}var k,E,M=function(j,N){return new Array(N+1).join(j)},A=function(j,N){return M("0",N-j.toString().length)+j},P=function(j){return A(j.getHours(),2)+":"+A(j.getMinutes(),2)+":"+A(j.getSeconds(),2)+"."+A(j.getMilliseconds(),3)},T=typeof performance<"u"&&performance!==null&&typeof performance.now=="function"?performance:Date,R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},I=function(j){if(Array.isArray(j)){for(var N=0,F=Array(j.length);N"u"?"undefined":R(ei))==="object"&&ei?ei:typeof window<"u"?window:{},E=k.DeepDiff,E&&B.push(function(){typeof E<"u"&&k.DeepDiff===d&&(k.DeepDiff=E,E=void 0)}),r(o,i),r(s,i),r(a,i),r(l,i),Object.defineProperties(d,{diff:{value:d,enumerable:!0},observableDiff:{value:f,enumerable:!0},applyDiff:{value:v,enumerable:!0},applyChange:{value:p,enumerable:!0},revertChange:{value:m,enumerable:!0},isConflict:{value:function(){return typeof E<"u"},enumerable:!0},noConflict:{value:function(){return B&&(B.forEach(function(j){j()}),B=null),d},enumerable:!0}});var $={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},z={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(j){return j},actionTransformer:function(j){return j},errorTransformer:function(j){return j},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},L=function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=j.dispatch,F=j.getState;return typeof N=="function"||typeof F=="function"?O()({dispatch:N,getState:F}):void console.error(` +[redux-logger v3] BREAKING CHANGE +[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings. +[redux-logger v3] Change +[redux-logger v3] import createLogger from 'redux-logger' +[redux-logger v3] to +[redux-logger v3] import { createLogger } from 'redux-logger' +`)};n.defaults=z,n.createLogger=O,n.logger=L,n.default=L,Object.defineProperty(n,"__esModule",{value:!0})})})(AH,AH.exports);var KZe=AH.exports;function lke(t){var e=function(r){var i=r.dispatch,o=r.getState;return function(s){return function(a){return typeof a=="function"?a(i,o,t):s(a)}}};return e}var uke=lke();uke.withExtraArgument=lke;const Zk={black:"#000",white:"#fff"},Nm={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},cke={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},zm={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ZZe={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},fke={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},jm={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Bm={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},dke={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},hke={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},Rp={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},JZe={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},pke={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},gke={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},mke={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},G0={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ox={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},vke={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},yke={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},eJe={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"};function Eg(t,...e){const n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${t}; visit ${n} for the full message.`}const Df="$$material";function xke(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var tJe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,nJe=xke(function(t){return tJe.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),rJe=!1;function iJe(t){if(t.sheet)return t.sheet;for(var e=0;e0?rs(HC,--xl):0,hS--,ro===10&&(hS=1,jj--),ro}function fu(){return ro=xl2||eA(ro)>3?"":" "}function mJe(t,e){for(;--e&&fu()&&!(ro<48||ro>102||ro>57&&ro<65||ro>70&&ro<97););return _M(t,Z$()+(e<6&&lh()==32&&fu()==32))}function MH(t){for(;fu();)switch(ro){case t:return xl;case 34:case 39:t!==34&&t!==39&&MH(ro);break;case 40:t===41&&MH(t);break;case 92:fu();break}return xl}function vJe(t,e){for(;fu()&&t+ro!==57;)if(t+ro===84&&lh()===47)break;return"/*"+_M(e,xl-1)+"*"+zj(t===47?t:fu())}function yJe(t){for(;!eA(lh());)fu();return _M(t,xl)}function xJe(t){return Eke(e3("",null,null,null,[""],t=Oke(t),0,[0],t))}function e3(t,e,n,r,i,o,s,a,l){for(var u=0,c=0,f=s,d=0,h=0,p=0,g=1,m=1,v=1,y=0,x="",b=i,w=o,_=r,S=x;m;)switch(p=y,y=fu()){case 40:if(p!=108&&rs(S,f-1)==58){PH(S+=ir(J$(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:S+=J$(y);break;case 9:case 10:case 13:case 32:S+=gJe(p);break;case 92:S+=mJe(Z$()-1,7);continue;case 47:switch(lh()){case 42:case 47:GD(bJe(vJe(fu(),Z$()),e,n),l);break;default:S+="/"}break;case 123*g:a[u++]=Rd(S)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:m=0;case 59+c:v==-1&&(S=ir(S,/\f/g,"")),h>0&&Rd(S)-f&&GD(h>32?hfe(S+";",r,n,f-1):hfe(ir(S," ","")+";",r,n,f-2),l);break;case 59:S+=";";default:if(GD(_=dfe(S,e,n,u,c,i,a,x,b=[],w=[],f),o),y===123)if(c===0)e3(S,e,_,_,b,o,f,a,w);else switch(d===99&&rs(S,3)===110?100:d){case 100:case 108:case 109:case 115:e3(t,_,_,r&&GD(dfe(t,_,_,0,0,i,a,x,i,b=[],f),w),i,w,f,a,r?b:w);break;default:e3(S,_,_,_,[""],w,0,a,w)}}u=c=h=0,g=v=1,x=S="",f=s;break;case 58:f=1+Rd(S),h=p;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&pJe()==125)continue}switch(S+=zj(y),y*g){case 38:v=c>0?1:(S+="\f",-1);break;case 44:a[u++]=(Rd(S)-1)*v,v=1;break;case 64:lh()===45&&(S+=J$(fu())),d=lh(),c=f=Rd(x=S+=yJe(Z$())),y++;break;case 45:p===45&&Rd(S)==2&&(g=0)}}return o}function dfe(t,e,n,r,i,o,s,a,l,u,c){for(var f=i-1,d=i===0?o:[""],h=QJ(d),p=0,g=0,m=0;p0?d[v]+" "+y:ir(y,/&\f/g,d[v])))&&(l[m++]=x);return Bj(t,e,n,i===0?XJ:a,l,u,c)}function bJe(t,e,n){return Bj(t,e,n,wke,zj(hJe()),Jk(t,2,-2),0)}function hfe(t,e,n,r){return Bj(t,e,n,YJ,Jk(t,0,r),Jk(t,r+1,-1),r)}function T_(t,e){for(var n="",r=QJ(t),i=0;i6)switch(rs(t,e+1)){case 109:if(rs(t,e+4)!==45)break;case 102:return ir(t,/(.+:)(.+)-([^]+)/,"$1"+nr+"$2-$3$1"+OF+(rs(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~PH(t,"stretch")?Tke(ir(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(rs(t,e+1)!==115)break;case 6444:switch(rs(t,Rd(t)-3-(~PH(t,"!important")&&10))){case 107:return ir(t,":",":"+nr)+t;case 101:return ir(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+nr+(rs(t,14)===45?"inline-":"")+"box$3$1"+nr+"$2$3$1"+Ds+"$2box$3")+t}break;case 5936:switch(rs(t,e+11)){case 114:return nr+t+Ds+ir(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return nr+t+Ds+ir(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return nr+t+Ds+ir(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return nr+t+Ds+t+t}return t}var AJe=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case YJ:e.return=Tke(e.value,e.length);break;case _ke:return T_([EE(e,{value:ir(e.value,"@","@"+nr)})],i);case XJ:if(e.length)return dJe(e.props,function(o){switch(fJe(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return T_([EE(e,{props:[ir(o,/:(read-\w+)/,":"+OF+"$1")]})],i);case"::placeholder":return T_([EE(e,{props:[ir(o,/:(plac\w+)/,":"+nr+"input-$1")]}),EE(e,{props:[ir(o,/:(plac\w+)/,":"+OF+"$1")]}),EE(e,{props:[ir(o,/:(plac\w+)/,Ds+"input-$1")]})],i)}return""})}},PJe=[AJe],kke=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var m=g.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||PJe,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var m=g.getAttribute("data-emotion").split(" "),v=1;v=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var IJe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},LJe=!1,$Je=/[A-Z]|^ms/g,FJe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Mke=function(e){return e.charCodeAt(1)===45},gfe=function(e){return e!=null&&typeof e!="boolean"},Y8=xke(function(t){return Mke(t)?t:t.replace($Je,"-$&").toLowerCase()}),mfe=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(FJe,function(r,i,o){return Dd={name:i,styles:o,next:Dd},i})}return IJe[e]!==1&&!Mke(e)&&typeof n=="number"&&n!==0?n+"px":n},NJe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function tA(t,e,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Dd={name:i.name,styles:i.styles,next:Dd},i.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)Dd={name:s.name,styles:s.styles,next:Dd},s=s.next;var a=o.styles+";";return a}return zJe(t,e,n)}case"function":{if(t!==void 0){var l=Dd,u=n(t);return Dd=l,tA(t,e,u)}break}}var c=n;if(e==null)return c;var f=e[c];return f!==void 0?f:c}function zJe(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?VJe:GJe},bfe=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},HJe=!1,qJe=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return Ake(n,r,i),BJe(function(){return Pke(n,r,i)}),null},XJe=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var a=bfe(e,n,r),l=a||xfe(i),u=!l("as");return function(){var c=arguments,f=r&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;h{const e=kke(t);class n extends bke{constructor(i){super(i),this.prepend=e.sheet.prepend}}return e.sheet=new n({key:e.key,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy,prepend:e.sheet.prepend,insertionPoint:e.sheet.insertionPoint}),e};let DH;typeof document=="object"&&(DH=QJe({key:"css",prepend:!0}));function KJe(t){const{injectFirst:e,children:n}=t;return e&&DH?C.jsx(UJe,{value:DH,children:n}):n}function ZJe(t){return t==null||Object.keys(t).length===0}function Lke(t){const{styles:e,defaultTheme:n={}}=t,r=typeof e=="function"?i=>e(ZJe(i)?n:i):e;return C.jsx(WJe,{styles:r})}/** + * @mui/styled-engine v6.1.5 + * + * @license MIT + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */function $ke(t,e){return RH(t,e)}function JJe(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}const wfe=[];function _fe(t){return wfe[0]=t,Uj(wfe)}function Fd(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Fke(t){if(!Fd(t))return t;const e={};return Object.keys(t).forEach(n=>{e[n]=Fke(t[n])}),e}function Bo(t,e,n={clone:!0}){const r=n.clone?{...t}:t;return Fd(t)&&Fd(e)&&Object.keys(e).forEach(i=>{Fd(e[i])&&Object.prototype.hasOwnProperty.call(t,i)&&Fd(t[i])?r[i]=Bo(t[i],e[i],n):n.clone?r[i]=Fd(e[i])?Fke(e[i]):e[i]:r[i]=e[i]}),r}const eet=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function tet(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...i}=t,o=eet(e),s=Object.keys(o);function a(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function u(d,h){const p=s.indexOf(h);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(p!==-1&&typeof e[s[p]]=="number"?e[s[p]]:h)-r/100}${n})`}function c(d){return s.indexOf(d)+1r.startsWith("@container")).sort((r,i)=>{var s,a;const o=/min-width:\s*([0-9.]+)/;return+(((s=r.match(o))==null?void 0:s[1])||0)-+(((a=i.match(o))==null?void 0:a[1])||0)});return n.length?n.reduce((r,i)=>{const o=e[i];return delete r[i],r[i]=o,r},{...e}):e}function ret(t,e){return e==="@"||e.startsWith("@")&&(t.some(n=>e.startsWith(`@${n}`))||!!e.match(/^@\d/))}function iet(t,e){const n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return t.containerQueries(i).up(o)}function oet(t){const e=(o,s)=>o.replace("@media",s?`@container ${s}`:"@container");function n(o,s){o.up=(...a)=>e(t.breakpoints.up(...a),s),o.down=(...a)=>e(t.breakpoints.down(...a),s),o.between=(...a)=>e(t.breakpoints.between(...a),s),o.only=(...a)=>e(t.breakpoints.only(...a),s),o.not=(...a)=>{const l=e(t.breakpoints.not(...a),s);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},i=o=>(n(r,o),r);return n(i),{...t,containerQueries:i}}const set={borderRadius:4};function qT(t,e){return e?Bo(t,e,{clone:!1}):t}const Vj={xs:0,sm:600,md:900,lg:1200,xl:1536},Sfe={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${Vj[t]}px)`},aet={containerQueries:t=>({up:e=>{let n=typeof e=="number"?e:Vj[e]||e;return typeof n=="number"&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function _c(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||Sfe;return e.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(e[l]),s),{})}if(typeof e=="object"){const o=r.breakpoints||Sfe;return Object.keys(e).reduce((s,a)=>{if(ret(o.keys,a)){const l=iet(r.containerQueries?r:aet,a);l&&(s[l]=n(e[a],a))}else if(Object.keys(o.values||Vj).includes(a)){const l=o.up(a);s[l]=n(e[a],a)}else{const l=a;s[l]=e[l]}return s},{})}return n(e)}function uet(t={}){var n;return((n=t.keys)==null?void 0:n.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function cet(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function fet(t,e){if(typeof t!="object")return{};const n={},r=Object.keys(e);return Array.isArray(t)?r.forEach((i,o)=>{o{t[i]!=null&&(n[i]=!0)}),n}function Gj({values:t,breakpoints:e,base:n}){const r=n||fet(t,e),i=Object.keys(r);if(i.length===0)return t;let o;return i.reduce((s,a,l)=>(Array.isArray(t)?(s[a]=t[l]!=null?t[l]:t[o],o=l):typeof t=="object"?(s[a]=t[a]!=null?t[a]:t[o],o=a):s[a]=t,s),{})}function De(t){if(typeof t!="string")throw new Error(Eg(7));return t.charAt(0).toUpperCase()+t.slice(1)}function pS(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function EF(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=pS(t,n)||r,e&&(i=e(i,r,t)),i}function Qi(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=s=>{if(s[e]==null)return null;const a=s[e],l=s.theme,u=pS(l,r)||{};return _c(s,a,f=>{let d=EF(u,i,f);return f===d&&typeof f=="string"&&(d=EF(u,i,`${e}${f==="default"?"":De(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function det(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const het={m:"margin",p:"padding"},pet={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Cfe={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},get=det(t=>{if(t.length>2)if(Cfe[t])t=Cfe[t];else return[t];const[e,n]=t.split(""),r=het[e],i=pet[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),ZJ=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],JJ=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ZJ,...JJ];function CM(t,e,n,r){const i=pS(t,e,!0)??n;return typeof i=="number"||typeof i=="string"?o=>typeof o=="string"?o:typeof i=="string"?`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const s=Math.abs(o),a=i[s];return o>=0?a:typeof a=="number"?-a:`-${a}`}:typeof i=="function"?i:()=>{}}function eee(t){return CM(t,"spacing",8)}function OM(t,e){return typeof e=="string"||e==null?e:t(e)}function met(t,e){return n=>t.reduce((r,i)=>(r[i]=OM(e,n),r),{})}function vet(t,e,n,r){if(!e.includes(n))return null;const i=get(n),o=met(i,r),s=t[n];return _c(t,s,o)}function Nke(t,e){const n=eee(t.theme);return Object.keys(t).map(r=>vet(t,e,r,n)).reduce(qT,{})}function ki(t){return Nke(t,ZJ)}ki.propTypes={};ki.filterProps=ZJ;function Ai(t){return Nke(t,JJ)}Ai.propTypes={};Ai.filterProps=JJ;function zke(t=8,e=eee({spacing:t})){if(t.mui)return t;const n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Hj(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?qT(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Hu(t){return typeof t!="number"?t:`${t}px solid`}function $c(t,e){return Qi({prop:t,themeKey:"borders",transform:e})}const yet=$c("border",Hu),xet=$c("borderTop",Hu),bet=$c("borderRight",Hu),wet=$c("borderBottom",Hu),_et=$c("borderLeft",Hu),Cet=$c("borderColor"),Oet=$c("borderTopColor"),Eet=$c("borderRightColor"),Tet=$c("borderBottomColor"),ket=$c("borderLeftColor"),Aet=$c("outline",Hu),Pet=$c("outlineColor"),qj=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=CM(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:OM(e,r)});return _c(t,t.borderRadius,n)}return null};qj.propTypes={};qj.filterProps=["borderRadius"];Hj(yet,xet,bet,wet,_et,Cet,Oet,Eet,Tet,ket,qj,Aet,Pet);const Xj=t=>{if(t.gap!==void 0&&t.gap!==null){const e=CM(t.theme,"spacing",8),n=r=>({gap:OM(e,r)});return _c(t,t.gap,n)}return null};Xj.propTypes={};Xj.filterProps=["gap"];const Yj=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=CM(t.theme,"spacing",8),n=r=>({columnGap:OM(e,r)});return _c(t,t.columnGap,n)}return null};Yj.propTypes={};Yj.filterProps=["columnGap"];const Qj=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=CM(t.theme,"spacing",8),n=r=>({rowGap:OM(e,r)});return _c(t,t.rowGap,n)}return null};Qj.propTypes={};Qj.filterProps=["rowGap"];const Met=Qi({prop:"gridColumn"}),Ret=Qi({prop:"gridRow"}),Det=Qi({prop:"gridAutoFlow"}),Iet=Qi({prop:"gridAutoColumns"}),Let=Qi({prop:"gridAutoRows"}),$et=Qi({prop:"gridTemplateColumns"}),Fet=Qi({prop:"gridTemplateRows"}),Net=Qi({prop:"gridTemplateAreas"}),zet=Qi({prop:"gridArea"});Hj(Xj,Yj,Qj,Met,Ret,Det,Iet,Let,$et,Fet,Net,zet);function k_(t,e){return e==="grey"?e:t}const jet=Qi({prop:"color",themeKey:"palette",transform:k_}),Bet=Qi({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k_}),Uet=Qi({prop:"backgroundColor",themeKey:"palette",transform:k_});Hj(jet,Bet,Uet);function Kl(t){return t<=1&&t!==0?`${t*100}%`:t}const Wet=Qi({prop:"width",transform:Kl}),tee=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var i,o,s,a,l;const r=((s=(o=(i=t.theme)==null?void 0:i.breakpoints)==null?void 0:o.values)==null?void 0:s[n])||Vj[n];return r?((l=(a=t.theme)==null?void 0:a.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${t.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Kl(n)}};return _c(t,t.maxWidth,e)}return null};tee.filterProps=["maxWidth"];const Vet=Qi({prop:"minWidth",transform:Kl}),Get=Qi({prop:"height",transform:Kl}),Het=Qi({prop:"maxHeight",transform:Kl}),qet=Qi({prop:"minHeight",transform:Kl});Qi({prop:"size",cssProperty:"width",transform:Kl});Qi({prop:"size",cssProperty:"height",transform:Kl});const Xet=Qi({prop:"boxSizing"});Hj(Wet,tee,Vet,Get,Het,qet,Xet);const EM={border:{themeKey:"borders",transform:Hu},borderTop:{themeKey:"borders",transform:Hu},borderRight:{themeKey:"borders",transform:Hu},borderBottom:{themeKey:"borders",transform:Hu},borderLeft:{themeKey:"borders",transform:Hu},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Hu},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qj},color:{themeKey:"palette",transform:k_},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k_},backgroundColor:{themeKey:"palette",transform:k_},p:{style:Ai},pt:{style:Ai},pr:{style:Ai},pb:{style:Ai},pl:{style:Ai},px:{style:Ai},py:{style:Ai},padding:{style:Ai},paddingTop:{style:Ai},paddingRight:{style:Ai},paddingBottom:{style:Ai},paddingLeft:{style:Ai},paddingX:{style:Ai},paddingY:{style:Ai},paddingInline:{style:Ai},paddingInlineStart:{style:Ai},paddingInlineEnd:{style:Ai},paddingBlock:{style:Ai},paddingBlockStart:{style:Ai},paddingBlockEnd:{style:Ai},m:{style:ki},mt:{style:ki},mr:{style:ki},mb:{style:ki},ml:{style:ki},mx:{style:ki},my:{style:ki},margin:{style:ki},marginTop:{style:ki},marginRight:{style:ki},marginBottom:{style:ki},marginLeft:{style:ki},marginX:{style:ki},marginY:{style:ki},marginInline:{style:ki},marginInlineStart:{style:ki},marginInlineEnd:{style:ki},marginBlock:{style:ki},marginBlockStart:{style:ki},marginBlockEnd:{style:ki},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Xj},rowGap:{style:Qj},columnGap:{style:Yj},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Kl},maxWidth:{style:tee},minWidth:{transform:Kl},height:{transform:Kl},maxHeight:{transform:Kl},minHeight:{transform:Kl},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Yet(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function Qet(t,e){return typeof t=="function"?t(e):t}function Ket(){function t(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=pS(i,u)||{};return f?f(s):_c(s,r,p=>{let g=EF(d,c,p);return p===g&&typeof p=="string"&&(g=EF(d,c,`${n}${p==="default"?"":De(p)}`,p)),l===!1?g:{[l]:g}})}function e(n){const{sx:r,theme:i={}}=n||{};if(!r)return null;const o=i.unstable_sxConfig??EM;function s(a){let l=a;if(typeof a=="function")l=a(i);else if(typeof a!="object")return a;if(!l)return null;const u=uet(i.breakpoints),c=Object.keys(u);let f=u;return Object.keys(l).forEach(d=>{const h=Qet(l[d],i);if(h!=null)if(typeof h=="object")if(o[d])f=qT(f,t(d,h,i,o));else{const p=_c({theme:i},h,g=>({[d]:g}));Yet(p,h)?f[d]=e({sx:h,theme:i}):f=qT(f,p)}else f=qT(f,t(d,h,i,o))}),net(i,cet(c,f))}return Array.isArray(r)?r.map(s):s(r)}return e}const Yv=Ket();Yv.filterProps=["sx"];function Zet(t,e){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[t])||typeof n.getColorSchemeSelector!="function")return{};let i=n.getColorSchemeSelector(t);return i==="&"?e:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:e})}return n.palette.mode===t?e:{}}function nee(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={},...s}=t,a=tet(n),l=zke(i);let u=Bo({breakpoints:a,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...set,...o}},s);return u=oet(u),u.applyStyles=Zet,u=e.reduce((c,f)=>Bo(c,f),u),u.unstable_sxConfig={...EM,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(f){return Yv({sx:f,theme:this})},u}function Jet(t){return Object.keys(t).length===0}function ree(t=null){const e=D.useContext(Wj);return!e||Jet(e)?t:e}const ett=nee();function H1(t=ett){return ree(t)}function ttt({styles:t,themeId:e,defaultTheme:n={}}){const r=H1(n),i=typeof t=="function"?t(e&&r[e]||r):t;return C.jsx(Lke,{styles:i})}const ntt=t=>{var r;const e={systemProps:{},otherProps:{}},n=((r=t==null?void 0:t.theme)==null?void 0:r.unstable_sxConfig)??EM;return Object.keys(t).forEach(i=>{n[i]?e.systemProps[i]=t[i]:e.otherProps[i]=t[i]}),e};function iee(t){const{sx:e,...n}=t,{systemProps:r,otherProps:i}=ntt(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...s)=>{const a=e(...s);return Fd(a)?{...r,...a}:r}:o={...r,...e},{...i,sx:o}}const Ofe=t=>t,rtt=()=>{let t=Ofe;return{configure(e){t=e},generate(e){return t(e)},reset(){t=Ofe}}},jke=rtt();function Bke(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;ea!=="theme"&&a!=="sx"&&a!=="as"})(Yv);return D.forwardRef(function(l,u){const c=H1(n),{className:f,component:d="div",...h}=iee(l);return C.jsx(o,{as:d,ref:u,className:Oe(f,i?i(r):r),theme:e&&c[e]||c,...h})})}const ott={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ye(t,e,n="Mui"){const r=ott[e];return r?`${n}-${r}`:`${jke.generate(t)}-${e}`}function qe(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=Ye(t,i,n)}),r}function Uke(t){const{variants:e,...n}=t,r={variants:e,style:_fe(n),isProcessed:!0};return r.style===n||e&&e.forEach(i=>{typeof i.style!="function"&&(i.style=_fe(i.style))}),r}const stt=nee();function t3(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}function att(t){return t?(e,n)=>n[t]:null}function ltt(t,e,n){t.theme=ctt(t.theme)?n:t.theme[e]||t.theme}function n3(t,e){const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(r=>n3(t,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:i,...o}=n;r=o}return Wke(t,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function Wke(t,e,n=[]){var i;let r;e:for(let o=0;o{JJe(a,w=>w.filter(_=>_!==Yv));const{name:u,slot:c,skipVariantsResolver:f,skipSx:d,overridesResolver:h=att(dtt(c)),...p}=l,g=f!==void 0?f:c&&c!=="Root"&&c!=="root"||!1,m=d||!1;let v=t3;c==="Root"||c==="root"?v=r:c?v=i:ftt(a)&&(v=void 0);const y=$ke(a,{shouldForwardProp:v,label:utt(),...p}),x=w=>{if(typeof w=="function"&&w.__emotion_real!==w)return function(S){return n3(S,w)};if(Fd(w)){const _=Uke(w);return _.variants?function(O){return n3(O,_)}:_.style}return w},b=(...w)=>{const _=[],S=w.map(x),O=[];if(_.push(o),u&&h&&O.push(function(A){var I,B;const T=(B=(I=A.theme.components)==null?void 0:I[u])==null?void 0:B.styleOverrides;if(!T)return null;const R={};for(const $ in T)R[$]=n3(A,T[$]);return h(A,R)}),u&&!g&&O.push(function(A){var R,I;const P=A.theme,T=(I=(R=P==null?void 0:P.components)==null?void 0:R[u])==null?void 0:I.variants;return T?Wke(A,T):null}),m||O.push(Yv),Array.isArray(S[0])){const M=S.shift(),A=new Array(_.length).fill(""),P=new Array(O.length).fill("");let T;T=[...A,...M,...P],T.raw=[...A,...M.raw,...P],_.unshift(T)}const k=[..._,...S,...O],E=y(...k);return a.muiName&&(E.muiName=a.muiName),E};return y.withConfig&&(b.withConfig=y.withConfig),b}}function utt(t,e){return void 0}function ctt(t){for(const e in t)return!1;return!0}function ftt(t){return typeof t=="string"&&t.charCodeAt(0)>96}function dtt(t){return t&&t.charAt(0).toLowerCase()+t.slice(1)}const ra=Vke();function gS(t,e){const n={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=r;if(i==="components"||i==="slots")n[i]={...t[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const o=t[i],s=e[i];if(!s)n[i]=o||{};else if(!o)n[i]=s;else{n[i]={...s};for(const a in o)if(Object.prototype.hasOwnProperty.call(o,a)){const l=a;n[i][l]=gS(o[l],s[l])}}}else n[i]===void 0&&(n[i]=t[i])}return n}function Gke(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:gS(e.components[n].defaultProps,r)}function htt({props:t,name:e,defaultTheme:n,themeId:r}){let i=H1(n);return r&&(i=i[r]||i),Gke({theme:i,name:e,props:t})}const Ei=typeof window<"u"?D.useLayoutEffect:D.useEffect;function ptt(t,e,n,r,i){const[o,s]=D.useState(()=>i&&n?n(t).matches:r?r(t).matches:e);return Ei(()=>{if(!n)return;const a=n(t),l=()=>{s(a.matches)};return l(),a.addEventListener("change",l),()=>{a.removeEventListener("change",l)}},[t,n]),o}const gtt={...J3},Hke=gtt.useSyncExternalStore;function mtt(t,e,n,r,i){const o=D.useCallback(()=>e,[e]),s=D.useMemo(()=>{if(i&&n)return()=>n(t).matches;if(r!==null){const{matches:c}=r(t);return()=>c}return o},[o,t,r,i,n]),[a,l]=D.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const c=n(t);return[()=>c.matches,f=>(c.addEventListener("change",f),()=>{c.removeEventListener("change",f)})]},[o,n,t]);return Hke(l,a,s)}function qke(t,e={}){const n=ree(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=Gke({name:"MuiUseMediaQuery",props:e,theme:n});let l=typeof t=="function"?t(n):t;return l=l.replace(/^@media( ?)/m,""),(Hke!==void 0?mtt:ptt)(l,i,o,s,a)}function kw(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}function oee(t,e=0,n=1){return kw(t,e,n)}function vtt(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Qv(t){if(t.type)return t;if(t.charAt(0)==="#")return Qv(vtt(t));const e=t.indexOf("("),n=t.substring(0,e);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Eg(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(Eg(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const ytt=t=>{const e=Qv(t);return e.values.slice(0,3).map((n,r)=>e.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},H2=(t,e)=>{try{return ytt(t)}catch{return t}};function Kj(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.includes("rgb")?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function Xke(t){t=Qv(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(a+="a",l.push(e[3])),Kj({type:a,values:l})}function IH(t){t=Qv(t);let e=t.type==="hsl"||t.type==="hsla"?Qv(Xke(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function xtt(t,e){const n=IH(t),r=IH(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Tt(t,e){return t=Qv(t),e=oee(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Kj(t)}function HD(t,e,n){try{return Tt(t,e)}catch{return t}}function Tg(t,e){if(t=Qv(t),e=oee(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Kj(t)}function Pr(t,e,n){try{return Tg(t,e)}catch{return t}}function kg(t,e){if(t=Qv(t),e=oee(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Kj(t)}function Mr(t,e,n){try{return kg(t,e)}catch{return t}}function Yke(t,e=.15){return IH(t)>.5?Tg(t,e):kg(t,e)}function qD(t,e,n){try{return Yke(t,e)}catch{return t}}const Qke=pe.oneOfType([pe.func,pe.object]);function LH(...t){return t.reduce((e,n)=>n==null?e:function(...i){e.apply(this,i),n.apply(this,i)},()=>{})}function TM(t,e=166){let n;function r(...i){const o=()=>{t.apply(this,i)};clearTimeout(n),n=setTimeout(o,e)}return r.clear=()=>{clearTimeout(n)},r}function r3(t,e){var n,r,i;return D.isValidElement(t)&&e.indexOf(t.type.muiName??((i=(r=(n=t.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:i.muiName))!==-1}function mi(t){return t&&t.ownerDocument||document}function xu(t){return mi(t).defaultView||window}function $H(t,e){typeof t=="function"?t(e):t&&(t.current=e)}let Efe=0;function btt(t){const[e,n]=D.useState(t),r=t||e;return D.useEffect(()=>{e==null&&(Efe+=1,n(`mui-${Efe}`))},[e]),r}const wtt={...J3},Tfe=wtt.useId;function Jf(t){if(Tfe!==void 0){const e=Tfe();return t??e}return btt(t)}function bu({controlled:t,default:e,name:n,state:r="value"}){const{current:i}=D.useRef(t!==void 0),[o,s]=D.useState(e),a=i?t:o,l=D.useCallback(u=>{i||s(u)},[]);return[a,l]}function st(t){const e=D.useRef(t);return Ei(()=>{e.current=t}),D.useRef((...n)=>(0,e.current)(...n)).current}function dn(...t){return D.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{$H(n,e)})},t)}const kfe={};function Kke(t,e){const n=D.useRef(kfe);return n.current===kfe&&(n.current=t(e)),n}const _tt=[];function Stt(t){D.useEffect(t,_tt)}class Zj{constructor(){gn(this,"currentId",null);gn(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});gn(this,"disposeEffect",()=>this.clear)}static create(){return new Zj}start(e,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},e)}}function lv(){const t=Kke(Zj.create).current;return Stt(t.disposeEffect),t}function Kv(t){try{return t.matches(":focus-visible")}catch{}return!1}function Zke(t=window){const e=t.document.documentElement.clientWidth;return t.innerWidth-e}function Ctt(t){return D.Children.toArray(t).filter(e=>D.isValidElement(e))}const Jke={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Xe(t,e,n=void 0){const r={};for(const i in t){const o=t[i];let s="",a=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function Afe(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function eAe(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const h=Oe(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),p={...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},g={...n,...i,...r};return h.length>0&&(g.className=h),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:void 0}}const s=Ex({...i,...r}),a=Afe(r),l=Afe(i),u=e(s),c=Oe(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),f={...u==null?void 0:u.style,...n==null?void 0:n.style,...i==null?void 0:i.style,...r==null?void 0:r.style},d={...u,...n,...l,...a};return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}function nA(t,e,n){return typeof t=="function"?t(e,n):t}function Zt(t){var f;const{elementType:e,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...o}=t,s=i?{}:nA(n,r),{props:a,internalRef:l}=eAe({...o,externalSlotProps:s}),u=dn(l,s==null?void 0:s.ref,(f=t.additionalProps)==null?void 0:f.ref);return Jw(e,{...a,ref:u},r)}function Py(t){var e;return parseInt(D.version,10)>=19?((e=t==null?void 0:t.props)==null?void 0:e.ref)||null:(t==null?void 0:t.ref)||null}const tAe=D.createContext(null);function Jj(){return D.useContext(tAe)}const Ett=typeof Symbol=="function"&&Symbol.for,nAe=Ett?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ttt(t,e){return typeof e=="function"?e(t):{...t,...e}}function ktt(t){const{children:e,theme:n}=t,r=Jj(),i=D.useMemo(()=>{const o=r===null?{...n}:Ttt(r,n);return o!=null&&(o[nAe]=r!==null),o},[n,r]);return C.jsx(tAe.Provider,{value:i,children:e})}const rAe=D.createContext();function Att({value:t,...e}){return C.jsx(rAe.Provider,{value:t??!0,...e})}const Ho=()=>D.useContext(rAe)??!1,iAe=D.createContext(void 0);function Ptt({value:t,children:e}){return C.jsx(iAe.Provider,{value:t,children:e})}function Mtt(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n])return r;const i=e.components[n];return i.defaultProps?gS(i.defaultProps,r):!i.styleOverrides&&!i.variants?gS(i,r):r}function Rtt({props:t,name:e}){const n=D.useContext(iAe);return Mtt({props:t,name:e,theme:{components:n}})}const Pfe={};function Mfe(t,e,n,r=!1){return D.useMemo(()=>{const i=t&&e[t]||e;if(typeof n=="function"){const o=n(i),s=t?{...e,[t]:o}:o;return r?()=>s:s}return t?{...e,[t]:n}:{...e,...n}},[t,e,n,r])}function oAe(t){const{children:e,theme:n,themeId:r}=t,i=ree(Pfe),o=Jj()||Pfe,s=Mfe(r,i,n),a=Mfe(r,o,n,!0),l=s.direction==="rtl";return C.jsx(ktt,{theme:a,children:C.jsx(Wj.Provider,{value:s,children:C.jsx(Att,{value:l,children:C.jsx(Ptt,{value:s==null?void 0:s.components,children:e})})})})}const Rfe={theme:void 0};function Dtt(t){let e,n;return function(i){let o=e;return(o===void 0||i.theme!==n)&&(Rfe.theme=i.theme,o=Uke(t(Rfe)),e=o,n=i.theme),o}}const see="mode",aee="color-scheme",Itt="data-color-scheme";function Ltt(t){const{defaultMode:e="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:i=see,colorSchemeStorageKey:o=aee,attribute:s=Itt,colorSchemeNode:a="document.documentElement",nonce:l}=t||{};let u="",c=s;if(s==="class"&&(c=".%s"),s==="data"&&(c="[data-%s]"),c.startsWith(".")){const d=c.substring(1);u+=`${a}.classList.remove('${d}'.replace('%s', light), '${d}'.replace('%s', dark)); + ${a}.classList.add('${d}'.replace('%s', colorScheme));`}const f=c.match(/\[([^\]]+)\]/);if(f){const[d,h]=f[1].split("=");h||(u+=`${a}.removeAttribute('${d}'.replace('%s', light)); + ${a}.removeAttribute('${d}'.replace('%s', dark));`),u+=` + ${a}.setAttribute('${d}'.replace('%s', colorScheme), ${h?`${h}.replace('%s', colorScheme)`:'""'});`}else u+=`${a}.setAttribute('${c}', colorScheme);`;return C.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?l:"",dangerouslySetInnerHTML:{__html:`(function() { +try { + let colorScheme = ''; + const mode = localStorage.getItem('${i}') || '${e}'; + const dark = localStorage.getItem('${o}-dark') || '${r}'; + const light = localStorage.getItem('${o}-light') || '${n}'; + if (mode === 'system') { + // handle system mode + const mql = window.matchMedia('(prefers-color-scheme: dark)'); + if (mql.matches) { + colorScheme = dark + } else { + colorScheme = light + } + } + if (mode === 'light') { + colorScheme = light; + } + if (mode === 'dark') { + colorScheme = dark; + } + if (colorScheme) { + ${u} + } +} catch(e){}})();`}},"mui-color-scheme-init")}function Dfe(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function sAe(t,e){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return e("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return e("dark")}function $tt(t){return sAe(t,e=>{if(e==="light")return t.lightColorScheme;if(e==="dark")return t.darkColorScheme})}function Q8(t,e){if(typeof window>"u")return;let n;try{n=localStorage.getItem(t)||void 0,n||localStorage.setItem(t,e)}catch{}return n||e}function Ftt(t){const{defaultMode:e="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:i=[],modeStorageKey:o=see,colorSchemeStorageKey:s=aee,storageWindow:a=typeof window>"u"?void 0:window}=t,l=i.join(","),u=i.length>1,[c,f]=D.useState(()=>{const x=Q8(o,e),b=Q8(`${s}-light`,n),w=Q8(`${s}-dark`,r);return{mode:x,systemMode:Dfe(x),lightColorScheme:b,darkColorScheme:w}}),[,d]=D.useState(!1),h=D.useRef(!1);D.useEffect(()=>{u&&d(!0),h.current=!0},[u]);const p=$tt(c),g=D.useCallback(x=>{f(b=>{if(x===b.mode)return b;const w=x??e;try{localStorage.setItem(o,w)}catch{}return{...b,mode:w,systemMode:Dfe(w)}})},[o,e]),m=D.useCallback(x=>{x?typeof x=="string"?x&&!l.includes(x)?console.error(`\`${x}\` does not exist in \`theme.colorSchemes\`.`):f(b=>{const w={...b};return sAe(b,_=>{try{localStorage.setItem(`${s}-${_}`,x)}catch{}_==="light"&&(w.lightColorScheme=x),_==="dark"&&(w.darkColorScheme=x)}),w}):f(b=>{const w={...b},_=x.light===null?n:x.light,S=x.dark===null?r:x.dark;if(_)if(!l.includes(_))console.error(`\`${_}\` does not exist in \`theme.colorSchemes\`.`);else{w.lightColorScheme=_;try{localStorage.setItem(`${s}-light`,_)}catch{}}if(S)if(!l.includes(S))console.error(`\`${S}\` does not exist in \`theme.colorSchemes\`.`);else{w.darkColorScheme=S;try{localStorage.setItem(`${s}-dark`,S)}catch{}}return w}):f(b=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch{}return{...b,lightColorScheme:n,darkColorScheme:r}})},[l,s,n,r]),v=D.useCallback(x=>{c.mode==="system"&&f(b=>{const w=x!=null&&x.matches?"dark":"light";return b.systemMode===w?b:{...b,systemMode:w}})},[c.mode]),y=D.useRef(v);return y.current=v,D.useEffect(()=>{if(typeof window.matchMedia!="function"||!u)return;const x=(...w)=>y.current(...w),b=window.matchMedia("(prefers-color-scheme: dark)");return b.addListener(x),x(b),()=>{b.removeListener(x)}},[u]),D.useEffect(()=>{if(a&&u){const x=b=>{const w=b.newValue;typeof b.key=="string"&&b.key.startsWith(s)&&(!w||l.match(w))&&(b.key.endsWith("light")&&m({light:w}),b.key.endsWith("dark")&&m({dark:w})),b.key===o&&(!w||["light","dark","system"].includes(w))&&g(w||e)};return a.addEventListener("storage",x),()=>{a.removeEventListener("storage",x)}}},[m,g,o,s,l,e,a,u]),{...c,mode:h.current||!u?c.mode:void 0,systemMode:h.current||!u?c.systemMode:void 0,colorScheme:h.current||!u?p:void 0,setMode:g,setColorScheme:m}}const Ntt="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ztt(t){const{themeId:e,theme:n={},modeStorageKey:r=see,colorSchemeStorageKey:i=aee,disableTransitionOnChange:o=!1,defaultColorScheme:s,resolveTheme:a}=t,l={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=D.createContext(void 0),c=()=>D.useContext(u)||l;function f(g){var G,W,J,se,ye;const{children:m,theme:v,modeStorageKey:y=r,colorSchemeStorageKey:x=i,disableTransitionOnChange:b=o,storageWindow:w=typeof window>"u"?void 0:window,documentNode:_=typeof document>"u"?void 0:document,colorSchemeNode:S=typeof document>"u"?void 0:document.documentElement,disableNestedContext:O=!1,disableStyleSheetGeneration:k=!1,defaultMode:E="system"}=g,M=D.useRef(!1),A=Jj(),P=D.useContext(u),T=!!P&&!O,R=D.useMemo(()=>v||(typeof n=="function"?n():n),[v]),I=R[e],{colorSchemes:B={},components:$={},cssVarPrefix:z,...L}=I||R,j=Object.keys(B).filter(ie=>!!B[ie]).join(","),N=D.useMemo(()=>j.split(","),[j]),F=typeof s=="string"?s:s.light,H=typeof s=="string"?s:s.dark,q=B[F]&&B[H]?E:((W=(G=B[L.defaultColorScheme])==null?void 0:G.palette)==null?void 0:W.mode)||((J=L.palette)==null?void 0:J.mode),{mode:Y,setMode:le,systemMode:K,lightColorScheme:ee,darkColorScheme:re,colorScheme:ge,setColorScheme:te}=Ftt({supportedColorSchemes:N,defaultLightColorScheme:F,defaultDarkColorScheme:H,modeStorageKey:y,colorSchemeStorageKey:x,defaultMode:q,storageWindow:w});let ae=Y,U=ge;T&&(ae=P.mode,U=P.colorScheme);const oe=U||L.defaultColorScheme,ne=((se=L.generateThemeVars)==null?void 0:se.call(L))||L.vars,V={...L,components:$,colorSchemes:B,cssVarPrefix:z,vars:ne};if(typeof V.generateSpacing=="function"&&(V.spacing=V.generateSpacing()),oe){const ie=B[oe];ie&&typeof ie=="object"&&Object.keys(ie).forEach(fe=>{ie[fe]&&typeof ie[fe]=="object"?V[fe]={...V[fe],...ie[fe]}:V[fe]=ie[fe]})}const X=L.colorSchemeSelector;D.useEffect(()=>{if(U&&S&&X&&X!=="media"){const ie=X;let fe=X;if(ie==="class"&&(fe=".%s"),ie==="data"&&(fe="[data-%s]"),ie!=null&&ie.startsWith("data-")&&!ie.includes("%s")&&(fe=`[${ie}="%s"]`),fe.startsWith("."))S.classList.remove(...N.map(Q=>fe.substring(1).replace("%s",Q))),S.classList.add(fe.substring(1).replace("%s",U));else{const Q=fe.replace("%s",U).match(/\[([^\]]+)\]/);if(Q){const[_e,we]=Q[1].split("=");we||N.forEach(Ie=>{S.removeAttribute(_e.replace(U,Ie))}),S.setAttribute(_e,we?we.replace(/"|'/g,""):"")}else S.setAttribute(fe,U)}}},[U,X,S,N]),D.useEffect(()=>{let ie;if(b&&M.current&&_){const fe=_.createElement("style");fe.appendChild(_.createTextNode(Ntt)),_.head.appendChild(fe),window.getComputedStyle(_.body),ie=setTimeout(()=>{_.head.removeChild(fe)},1)}return()=>{clearTimeout(ie)}},[U,b,_]),D.useEffect(()=>(M.current=!0,()=>{M.current=!1}),[]);const Z=D.useMemo(()=>({allColorSchemes:N,colorScheme:U,darkColorScheme:re,lightColorScheme:ee,mode:ae,setColorScheme:te,setMode:le,systemMode:K}),[N,U,re,ee,ae,te,le,K]);let he=!0;(k||L.cssVariables===!1||T&&(A==null?void 0:A.cssVarPrefix)===z)&&(he=!1);const xe=C.jsxs(D.Fragment,{children:[C.jsx(oAe,{themeId:I?e:void 0,theme:a?a(V):V,children:m}),he&&C.jsx(Lke,{styles:((ye=V.generateStyleSheets)==null?void 0:ye.call(V))||[]})]});return T?xe:C.jsx(u.Provider,{value:Z,children:xe})}const d=typeof s=="string"?s:s.light,h=typeof s=="string"?s:s.dark;return{CssVarsProvider:f,useColorScheme:c,getInitColorSchemeScript:g=>Ltt({colorSchemeStorageKey:i,defaultLightColorScheme:d,defaultDarkColorScheme:h,modeStorageKey:r,...g})}}function jtt(t=""){function e(...r){if(!r.length)return"";const i=r[0];return typeof i=="string"&&!i.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${i}${e(...r.slice(1))})`:`, ${i}`}return(r,...i)=>`var(--${t?`${t}-`:""}${r}${e(...i)})`}const Ife=(t,e,n,r=[])=>{let i=t;e.forEach((o,s)=>{s===e.length-1?Array.isArray(i)?i[Number(o)]=n:i&&typeof i=="object"&&(i[o]=n):i&&typeof i=="object"&&(i[o]||(i[o]=r.includes(o)?[]:{}),i=i[o])})},Btt=(t,e,n)=>{function r(i,o=[],s=[]){Object.entries(i).forEach(([a,l])=>{(!n||n&&!n([...o,a]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...o,a],Array.isArray(l)?[...s,a]:s):e([...o,a],l,s))})}r(t)},Utt=(t,e)=>typeof e=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>t.includes(r))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function K8(t,e){const{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},o={},s={};return Btt(t,(a,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(a,l))){const c=`--${n?`${n}-`:""}${a.join("-")}`,f=Utt(a,l);Object.assign(i,{[c]:f}),Ife(o,a,`var(${c})`,u),Ife(s,a,`var(${c}, ${f})`,u)}},a=>a[0]==="vars"),{css:i,vars:o,varsWithDefaults:s}}function Wtt(t,e={}){const{getSelector:n=m,disableCssColorScheme:r,colorSchemeSelector:i}=e,{colorSchemes:o={},components:s,defaultColorScheme:a="light",...l}=t,{vars:u,css:c,varsWithDefaults:f}=K8(l,e);let d=f;const h={},{[a]:p,...g}=o;if(Object.entries(g||{}).forEach(([x,b])=>{const{vars:w,css:_,varsWithDefaults:S}=K8(b,e);d=Bo(d,S),h[x]={css:_,vars:w}}),p){const{css:x,vars:b,varsWithDefaults:w}=K8(p,e);d=Bo(d,w),h[a]={css:x,vars:b}}function m(x,b){var _,S;let w=i;if(i==="class"&&(w=".%s"),i==="data"&&(w="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(w=`[${i}="%s"]`),x){if(w==="media")return t.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${((S=(_=o[x])==null?void 0:_.palette)==null?void 0:S.mode)||x})`]:{":root":b}};if(w)return t.defaultColorScheme===x?`:root, ${w.replace("%s",String(x))}`:w.replace("%s",String(x))}return":root"}return{vars:d,generateThemeVars:()=>{let x={...u};return Object.entries(h).forEach(([,{vars:b}])=>{x=Bo(x,b)}),x},generateStyleSheets:()=>{var O,k;const x=[],b=t.defaultColorScheme||"light";function w(E,M){Object.keys(M).length&&x.push(typeof E=="string"?{[E]:{...M}}:E)}w(n(void 0,{...c}),c);const{[b]:_,...S}=h;if(_){const{css:E}=_,M=(k=(O=o[b])==null?void 0:O.palette)==null?void 0:k.mode,A=!r&&M?{colorScheme:M,...E}:{...E};w(n(b,{...A}),A)}return Object.entries(S).forEach(([E,{css:M}])=>{var T,R;const A=(R=(T=o[E])==null?void 0:T.palette)==null?void 0:R.mode,P=!r&&A?{colorScheme:A,...M}:{...M};w(n(E,{...P}),P)}),x}}}function Vtt(t){return function(n){return t==="media"?`@media (prefers-color-scheme: ${n})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${n}"] &`:t==="class"?`.${n} &`:t==="data"?`[data-${n}] &`:`${t.replace("%s",n)} &`:"&"}}function aAe(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Zk.white,default:Zk.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const Gtt=aAe();function lAe(){return{text:{primary:Zk.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Zk.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Lfe=lAe();function $fe(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=kg(t.main,i):e==="dark"&&(t.dark=Tg(t.main,o)))}function Htt(t="light"){return t==="dark"?{main:jm[200],light:jm[50],dark:jm[400]}:{main:jm[700],light:jm[400],dark:jm[800]}}function qtt(t="light"){return t==="dark"?{main:zm[200],light:zm[50],dark:zm[400]}:{main:zm[500],light:zm[300],dark:zm[700]}}function Xtt(t="light"){return t==="dark"?{main:Nm[500],light:Nm[300],dark:Nm[700]}:{main:Nm[700],light:Nm[400],dark:Nm[800]}}function Ytt(t="light"){return t==="dark"?{main:Bm[400],light:Bm[300],dark:Bm[700]}:{main:Bm[700],light:Bm[500],dark:Bm[900]}}function Qtt(t="light"){return t==="dark"?{main:Rp[400],light:Rp[300],dark:Rp[700]}:{main:Rp[800],light:Rp[500],dark:Rp[900]}}function Ktt(t="light"){return t==="dark"?{main:G0[400],light:G0[300],dark:G0[700]}:{main:"#ed6c02",light:G0[500],dark:G0[900]}}function lee(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2,...i}=t,o=t.primary||Htt(e),s=t.secondary||qtt(e),a=t.error||Xtt(e),l=t.info||Ytt(e),u=t.success||Qtt(e),c=t.warning||Ktt(e);function f(g){return xtt(g,Lfe.text.primary)>=n?Lfe.text.primary:Gtt.text.primary}const d=({color:g,name:m,mainShade:v=500,lightShade:y=300,darkShade:x=700})=>{if(g={...g},!g.main&&g[v]&&(g.main=g[v]),!g.hasOwnProperty("main"))throw new Error(Eg(11,m?` (${m})`:"",v));if(typeof g.main!="string")throw new Error(Eg(12,m?` (${m})`:"",JSON.stringify(g.main)));return $fe(g,"light",y,r),$fe(g,"dark",x,r),g.contrastText||(g.contrastText=f(g.main)),g};let h;return e==="light"?h=aAe():e==="dark"&&(h=lAe()),Bo({common:{...Zk},mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:yke,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r,...h},i)}function Ztt(t){const e={};return Object.entries(t).forEach(r=>{const[i,o]=r;typeof o=="object"&&(e[i]=`${o.fontStyle?`${o.fontStyle} `:""}${o.fontVariant?`${o.fontVariant} `:""}${o.fontWeight?`${o.fontWeight} `:""}${o.fontStretch?`${o.fontStretch} `:""}${o.fontSize||""}${o.lineHeight?`/${o.lineHeight} `:""}${o.fontFamily||""}`)}),e}function Jtt(t,e){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...e}}function ent(t){return Math.round(t*1e5)/1e5}const Ffe={textTransform:"uppercase"},Nfe='"Roboto", "Helvetica", "Arial", sans-serif';function uAe(t,e){const{fontFamily:n=Nfe,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:o=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:l=16,allVariants:u,pxToRem:c,...f}=typeof e=="function"?e(t):e,d=r/14,h=c||(m=>`${m/l*d}rem`),p=(m,v,y,x,b)=>({fontFamily:n,fontWeight:m,fontSize:h(v),lineHeight:y,...n===Nfe?{letterSpacing:`${ent(x/v)}em`}:{},...b,...u}),g={h1:p(i,96,1.167,-1.5),h2:p(i,60,1.2,-.5),h3:p(o,48,1.167,0),h4:p(o,34,1.235,.25),h5:p(o,24,1.334,0),h6:p(s,20,1.6,.15),subtitle1:p(o,16,1.75,.15),subtitle2:p(s,14,1.57,.1),body1:p(o,16,1.5,.15),body2:p(o,14,1.43,.15),button:p(s,14,1.75,.4,Ffe),caption:p(o,12,1.66,.4),overline:p(o,12,2.66,1,Ffe),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Bo({htmlFontSize:l,pxToRem:h,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:o,fontWeightMedium:s,fontWeightBold:a,...g},f,{clone:!1})}const tnt=.2,nnt=.14,rnt=.12;function oi(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${tnt})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${nnt})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${rnt})`].join(",")}const int=["none",oi(0,2,1,-1,0,1,1,0,0,1,3,0),oi(0,3,1,-2,0,2,2,0,0,1,5,0),oi(0,3,3,-2,0,3,4,0,0,1,8,0),oi(0,2,4,-1,0,4,5,0,0,1,10,0),oi(0,3,5,-1,0,5,8,0,0,1,14,0),oi(0,3,5,-1,0,6,10,0,0,1,18,0),oi(0,4,5,-2,0,7,10,1,0,2,16,1),oi(0,5,5,-3,0,8,10,1,0,3,14,2),oi(0,5,6,-3,0,9,12,1,0,3,16,2),oi(0,6,6,-3,0,10,14,1,0,4,18,3),oi(0,6,7,-4,0,11,15,1,0,4,20,3),oi(0,7,8,-4,0,12,17,2,0,5,22,4),oi(0,7,8,-4,0,13,19,2,0,5,24,4),oi(0,7,9,-4,0,14,21,2,0,5,26,4),oi(0,8,9,-5,0,15,22,2,0,6,28,5),oi(0,8,10,-5,0,16,24,2,0,6,30,5),oi(0,8,11,-5,0,17,26,2,0,6,32,5),oi(0,9,11,-5,0,18,28,2,0,7,34,6),oi(0,9,12,-6,0,19,29,2,0,7,36,6),oi(0,10,13,-6,0,20,31,3,0,8,38,7),oi(0,10,13,-6,0,21,33,3,0,8,40,7),oi(0,10,14,-6,0,22,35,3,0,8,42,7),oi(0,11,14,-7,0,23,36,3,0,9,44,8),oi(0,11,15,-7,0,24,38,3,0,9,46,8)],ont={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cAe={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function zfe(t){return`${Math.round(t)}ms`}function snt(t){if(!t)return 0;const e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}function ant(t){const e={...ont,...t.easing},n={...cAe,...t.duration};return{getAutoHeightDuration:snt,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:l=0,...u}=o;return(Array.isArray(i)?i:[i]).map(c=>`${c} ${typeof s=="string"?s:zfe(s)} ${a} ${typeof l=="string"?l:zfe(l)}`).join(",")},...t,easing:e,duration:n}}const lnt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function unt(t){return Fd(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function fAe(t={}){const e={...t};function n(r){const i=Object.entries(r);for(let o=0;oBo(h,p),d),d.unstable_sxConfig={...EM,...u==null?void 0:u.unstable_sxConfig},d.unstable_sx=function(p){return Yv({sx:p,theme:this})},d.toRuntimeSource=fAe,d}function NH(t){let e;return t<1?e=5.11916*t**2:e=4.5*Math.log(t+1)+2,Math.round(e*10)/1e3}const cnt=[...Array(25)].map((t,e)=>{if(e===0)return"none";const n=NH(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function dAe(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function hAe(t){return t==="dark"?cnt:[]}function fnt(t){const{palette:e={mode:"light"},opacity:n,overlays:r,...i}=t,o=lee(e);return{palette:o,opacity:{...dAe(o.mode),...n},overlays:r||hAe(o.mode),...i}}function dnt(t){var e;return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!((e=t[1])!=null&&e.match(/(mode|contrastThreshold|tonalOffset)/))}const hnt=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],pnt=t=>(e,n)=>{const r=t.rootSelector||":root",i=t.colorSchemeSelector;let o=i;if(i==="class"&&(o=".%s"),i==="data"&&(o="[data-%s]"),i!=null&&i.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),t.defaultColorScheme===e){if(e==="dark"){const s={};return hnt(t.cssVarPrefix).forEach(a=>{s[a]=n[a],delete n[a]}),o==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:o?{[o.replace("%s",e)]:s,[`${r}, ${o.replace("%s",e)}`]:n}:{[r]:{...n,...s}}}if(o&&o!=="media")return`${r}, ${o.replace("%s",String(e))}`}else if(e){if(o==="media")return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:n}};if(o)return o.replace("%s",String(e))}return r};function gnt(t,e){e.forEach(n=>{t[n]||(t[n]={})})}function Ne(t,e,n){!t[e]&&n&&(t[e]=n)}function q2(t){return!t||!t.startsWith("hsl")?t:Xke(t)}function ip(t,e){`${e}Channel`in t||(t[`${e}Channel`]=H2(q2(t[e]),`MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). +To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function mnt(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const hd=t=>{try{return t()}catch{}},vnt=(t="mui")=>jtt(t);function Z8(t,e,n,r){if(!e)return;e=e===!0?{}:e;const i=r==="dark"?"dark":"light";if(!n){t[r]=fnt({...e,palette:{mode:i,...e==null?void 0:e.palette}});return}const{palette:o,...s}=FH({...n,palette:{mode:i,...e==null?void 0:e.palette}});return t[r]={...e,palette:o,opacity:{...dAe(i),...e==null?void 0:e.opacity},overlays:(e==null?void 0:e.overlays)||hAe(i)},s}function ynt(t={},...e){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:s=dnt,colorSchemeSelector:a=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...u}=t,c=Object.keys(n)[0],f=r||(n.light&&c!=="light"?"light":c),d=vnt(o),{[f]:h,light:p,dark:g,...m}=n,v={...m};let y=h;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(y=!0),!y)throw new Error(Eg(21,f));const x=Z8(v,y,u,f);p&&!v.light&&Z8(v,p,void 0,"light"),g&&!v.dark&&Z8(v,g,void 0,"dark");let b={defaultColorScheme:f,...x,cssVarPrefix:o,colorSchemeSelector:a,rootSelector:l,getCssVar:d,colorSchemes:v,font:{...Ztt(x.typography),...x.font},spacing:mnt(u.spacing)};Object.keys(b.colorSchemes).forEach(k=>{const E=b.colorSchemes[k].palette,M=A=>{const P=A.split("-"),T=P[1],R=P[2];return d(A,E[T][R])};if(E.mode==="light"&&(Ne(E.common,"background","#fff"),Ne(E.common,"onBackground","#000")),E.mode==="dark"&&(Ne(E.common,"background","#000"),Ne(E.common,"onBackground","#fff")),gnt(E,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),E.mode==="light"){Ne(E.Alert,"errorColor",Pr(E.error.light,.6)),Ne(E.Alert,"infoColor",Pr(E.info.light,.6)),Ne(E.Alert,"successColor",Pr(E.success.light,.6)),Ne(E.Alert,"warningColor",Pr(E.warning.light,.6)),Ne(E.Alert,"errorFilledBg",M("palette-error-main")),Ne(E.Alert,"infoFilledBg",M("palette-info-main")),Ne(E.Alert,"successFilledBg",M("palette-success-main")),Ne(E.Alert,"warningFilledBg",M("palette-warning-main")),Ne(E.Alert,"errorFilledColor",hd(()=>E.getContrastText(E.error.main))),Ne(E.Alert,"infoFilledColor",hd(()=>E.getContrastText(E.info.main))),Ne(E.Alert,"successFilledColor",hd(()=>E.getContrastText(E.success.main))),Ne(E.Alert,"warningFilledColor",hd(()=>E.getContrastText(E.warning.main))),Ne(E.Alert,"errorStandardBg",Mr(E.error.light,.9)),Ne(E.Alert,"infoStandardBg",Mr(E.info.light,.9)),Ne(E.Alert,"successStandardBg",Mr(E.success.light,.9)),Ne(E.Alert,"warningStandardBg",Mr(E.warning.light,.9)),Ne(E.Alert,"errorIconColor",M("palette-error-main")),Ne(E.Alert,"infoIconColor",M("palette-info-main")),Ne(E.Alert,"successIconColor",M("palette-success-main")),Ne(E.Alert,"warningIconColor",M("palette-warning-main")),Ne(E.AppBar,"defaultBg",M("palette-grey-100")),Ne(E.Avatar,"defaultBg",M("palette-grey-400")),Ne(E.Button,"inheritContainedBg",M("palette-grey-300")),Ne(E.Button,"inheritContainedHoverBg",M("palette-grey-A100")),Ne(E.Chip,"defaultBorder",M("palette-grey-400")),Ne(E.Chip,"defaultAvatarColor",M("palette-grey-700")),Ne(E.Chip,"defaultIconColor",M("palette-grey-700")),Ne(E.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Ne(E.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Ne(E.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Ne(E.LinearProgress,"primaryBg",Mr(E.primary.main,.62)),Ne(E.LinearProgress,"secondaryBg",Mr(E.secondary.main,.62)),Ne(E.LinearProgress,"errorBg",Mr(E.error.main,.62)),Ne(E.LinearProgress,"infoBg",Mr(E.info.main,.62)),Ne(E.LinearProgress,"successBg",Mr(E.success.main,.62)),Ne(E.LinearProgress,"warningBg",Mr(E.warning.main,.62)),Ne(E.Skeleton,"bg",`rgba(${M("palette-text-primaryChannel")} / 0.11)`),Ne(E.Slider,"primaryTrack",Mr(E.primary.main,.62)),Ne(E.Slider,"secondaryTrack",Mr(E.secondary.main,.62)),Ne(E.Slider,"errorTrack",Mr(E.error.main,.62)),Ne(E.Slider,"infoTrack",Mr(E.info.main,.62)),Ne(E.Slider,"successTrack",Mr(E.success.main,.62)),Ne(E.Slider,"warningTrack",Mr(E.warning.main,.62));const A=qD(E.background.default,.8);Ne(E.SnackbarContent,"bg",A),Ne(E.SnackbarContent,"color",hd(()=>E.getContrastText(A))),Ne(E.SpeedDialAction,"fabHoverBg",qD(E.background.paper,.15)),Ne(E.StepConnector,"border",M("palette-grey-400")),Ne(E.StepContent,"border",M("palette-grey-400")),Ne(E.Switch,"defaultColor",M("palette-common-white")),Ne(E.Switch,"defaultDisabledColor",M("palette-grey-100")),Ne(E.Switch,"primaryDisabledColor",Mr(E.primary.main,.62)),Ne(E.Switch,"secondaryDisabledColor",Mr(E.secondary.main,.62)),Ne(E.Switch,"errorDisabledColor",Mr(E.error.main,.62)),Ne(E.Switch,"infoDisabledColor",Mr(E.info.main,.62)),Ne(E.Switch,"successDisabledColor",Mr(E.success.main,.62)),Ne(E.Switch,"warningDisabledColor",Mr(E.warning.main,.62)),Ne(E.TableCell,"border",Mr(HD(E.divider,1),.88)),Ne(E.Tooltip,"bg",HD(E.grey[700],.92))}if(E.mode==="dark"){Ne(E.Alert,"errorColor",Mr(E.error.light,.6)),Ne(E.Alert,"infoColor",Mr(E.info.light,.6)),Ne(E.Alert,"successColor",Mr(E.success.light,.6)),Ne(E.Alert,"warningColor",Mr(E.warning.light,.6)),Ne(E.Alert,"errorFilledBg",M("palette-error-dark")),Ne(E.Alert,"infoFilledBg",M("palette-info-dark")),Ne(E.Alert,"successFilledBg",M("palette-success-dark")),Ne(E.Alert,"warningFilledBg",M("palette-warning-dark")),Ne(E.Alert,"errorFilledColor",hd(()=>E.getContrastText(E.error.dark))),Ne(E.Alert,"infoFilledColor",hd(()=>E.getContrastText(E.info.dark))),Ne(E.Alert,"successFilledColor",hd(()=>E.getContrastText(E.success.dark))),Ne(E.Alert,"warningFilledColor",hd(()=>E.getContrastText(E.warning.dark))),Ne(E.Alert,"errorStandardBg",Pr(E.error.light,.9)),Ne(E.Alert,"infoStandardBg",Pr(E.info.light,.9)),Ne(E.Alert,"successStandardBg",Pr(E.success.light,.9)),Ne(E.Alert,"warningStandardBg",Pr(E.warning.light,.9)),Ne(E.Alert,"errorIconColor",M("palette-error-main")),Ne(E.Alert,"infoIconColor",M("palette-info-main")),Ne(E.Alert,"successIconColor",M("palette-success-main")),Ne(E.Alert,"warningIconColor",M("palette-warning-main")),Ne(E.AppBar,"defaultBg",M("palette-grey-900")),Ne(E.AppBar,"darkBg",M("palette-background-paper")),Ne(E.AppBar,"darkColor",M("palette-text-primary")),Ne(E.Avatar,"defaultBg",M("palette-grey-600")),Ne(E.Button,"inheritContainedBg",M("palette-grey-800")),Ne(E.Button,"inheritContainedHoverBg",M("palette-grey-700")),Ne(E.Chip,"defaultBorder",M("palette-grey-700")),Ne(E.Chip,"defaultAvatarColor",M("palette-grey-300")),Ne(E.Chip,"defaultIconColor",M("palette-grey-300")),Ne(E.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Ne(E.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Ne(E.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Ne(E.LinearProgress,"primaryBg",Pr(E.primary.main,.5)),Ne(E.LinearProgress,"secondaryBg",Pr(E.secondary.main,.5)),Ne(E.LinearProgress,"errorBg",Pr(E.error.main,.5)),Ne(E.LinearProgress,"infoBg",Pr(E.info.main,.5)),Ne(E.LinearProgress,"successBg",Pr(E.success.main,.5)),Ne(E.LinearProgress,"warningBg",Pr(E.warning.main,.5)),Ne(E.Skeleton,"bg",`rgba(${M("palette-text-primaryChannel")} / 0.13)`),Ne(E.Slider,"primaryTrack",Pr(E.primary.main,.5)),Ne(E.Slider,"secondaryTrack",Pr(E.secondary.main,.5)),Ne(E.Slider,"errorTrack",Pr(E.error.main,.5)),Ne(E.Slider,"infoTrack",Pr(E.info.main,.5)),Ne(E.Slider,"successTrack",Pr(E.success.main,.5)),Ne(E.Slider,"warningTrack",Pr(E.warning.main,.5));const A=qD(E.background.default,.98);Ne(E.SnackbarContent,"bg",A),Ne(E.SnackbarContent,"color",hd(()=>E.getContrastText(A))),Ne(E.SpeedDialAction,"fabHoverBg",qD(E.background.paper,.15)),Ne(E.StepConnector,"border",M("palette-grey-600")),Ne(E.StepContent,"border",M("palette-grey-600")),Ne(E.Switch,"defaultColor",M("palette-grey-300")),Ne(E.Switch,"defaultDisabledColor",M("palette-grey-600")),Ne(E.Switch,"primaryDisabledColor",Pr(E.primary.main,.55)),Ne(E.Switch,"secondaryDisabledColor",Pr(E.secondary.main,.55)),Ne(E.Switch,"errorDisabledColor",Pr(E.error.main,.55)),Ne(E.Switch,"infoDisabledColor",Pr(E.info.main,.55)),Ne(E.Switch,"successDisabledColor",Pr(E.success.main,.55)),Ne(E.Switch,"warningDisabledColor",Pr(E.warning.main,.55)),Ne(E.TableCell,"border",Pr(HD(E.divider,1),.68)),Ne(E.Tooltip,"bg",HD(E.grey[700],.92))}ip(E.background,"default"),ip(E.background,"paper"),ip(E.common,"background"),ip(E.common,"onBackground"),ip(E,"divider"),Object.keys(E).forEach(A=>{const P=E[A];P&&typeof P=="object"&&(P.main&&Ne(E[A],"mainChannel",H2(q2(P.main))),P.light&&Ne(E[A],"lightChannel",H2(q2(P.light))),P.dark&&Ne(E[A],"darkChannel",H2(q2(P.dark))),P.contrastText&&Ne(E[A],"contrastTextChannel",H2(q2(P.contrastText))),A==="text"&&(ip(E[A],"primary"),ip(E[A],"secondary")),A==="action"&&(P.active&&ip(E[A],"active"),P.selected&&ip(E[A],"selected")))})}),b=e.reduce((k,E)=>Bo(k,E),b);const w={prefix:o,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:pnt(b)},{vars:_,generateThemeVars:S,generateStyleSheets:O}=Wtt(b,w);return b.vars=_,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([k,E])=>{b[k]=E}),b.generateThemeVars=S,b.generateStyleSheets=O,b.generateSpacing=function(){return zke(u.spacing,eee(this))},b.getColorSchemeSelector=Vtt(a),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=s,b.unstable_sxConfig={...EM,...u==null?void 0:u.unstable_sxConfig},b.unstable_sx=function(E){return Yv({sx:E,theme:this})},b.toRuntimeSource=fAe,b}function jfe(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...n!==!0&&n,palette:lee({...n===!0?{}:n.palette,mode:e})})}function e4(t={},...e){const{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:o=n==null?void 0:n.mode,...s}=t,a=o||"light",l=i==null?void 0:i[a],u={...i,...n?{[a]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in t))return FH(t,...e);let c=n;"palette"in t||u[a]&&(u[a]!==!0?c=u[a].palette:a==="dark"&&(c={mode:"dark"}));const f=FH({...t,palette:c},...e);return f.defaultColorScheme=a,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},jfe(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},jfe(f,"light",u.light)),f}return!n&&!("light"in u)&&a==="light"&&(u.light=!0),ynt({...s,colorSchemes:u,defaultColorScheme:a,...typeof r!="boolean"&&r},...e)}const t4=e4();function $a(){const t=H1(t4);return t[Df]||t}function kn({props:t,name:e}){return htt({props:t,name:e,defaultTheme:t4,themeId:Df})}function n4(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const qo=t=>n4(t)&&t!=="classes",be=Vke({themeId:Df,defaultTheme:t4,rootShouldForwardProp:qo});function Bfe({theme:t,...e}){const n=Df in t?t[Df]:void 0;return C.jsx(oAe,{...e,themeId:n?Df:void 0,theme:n||t})}const XD={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:xnt,useColorScheme:Xqn,getInitColorSchemeScript:Yqn}=ztt({themeId:Df,theme:()=>e4({cssVariables:!0}),colorSchemeStorageKey:XD.colorSchemeStorageKey,modeStorageKey:XD.modeStorageKey,defaultColorScheme:{light:XD.defaultLightColorScheme,dark:XD.defaultDarkColorScheme},resolveTheme:t=>{const e={...t,typography:uAe(t.palette,t.typography)};return e.unstable_sx=function(r){return Yv({sx:r,theme:this})},e}}),bnt=xnt;function wnt({theme:t,...e}){return typeof t=="function"?C.jsx(Bfe,{theme:t,...e}):"colorSchemes"in(Df in t?t[Df]:t)?C.jsx(bnt,{theme:t,...e}):C.jsx(Bfe,{theme:t,...e})}function _nt(t){return C.jsx(ttt,{...t,defaultTheme:t4,themeId:Df})}function uee(t){return function(n){return C.jsx(_nt,{styles:typeof t=="function"?r=>t({theme:r,...n}):t})}}function Snt(){return iee}const kt=Dtt;function wt(t){return Rtt(t)}function Cnt(t){return Ye("MuiSvgIcon",t)}qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ont=t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root",e!=="inherit"&&`color${De(e)}`,`fontSize${De(n)}`]};return Xe(i,Cnt,r)},Ent=be("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${De(n.color)}`],e[`fontSize${De(n.fontSize)}`]]}})(kt(({theme:t})=>{var e,n,r,i,o,s,a,l,u,c,f,d,h,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(i=(e=t.transitions)==null?void 0:e.create)==null?void 0:i.call(e,"fill",{duration:(r=(n=(t.vars??t).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:g=>!g.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(o=t.typography)==null?void 0:o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(a=t.typography)==null?void 0:a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((c=(u=t.typography)==null?void 0:u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,g])=>g&&g.main).map(([g])=>{var m,v;return{props:{color:g},style:{color:(v=(m=(t.vars??t).palette)==null?void 0:m[g])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(d=(f=(t.vars??t).palette)==null?void 0:f.action)==null?void 0:d.active}},{props:{color:"disabled"},style:{color:(p=(h=(t.vars??t).palette)==null?void 0:h.action)==null?void 0:p.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),TF=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24",...h}=r,p=D.isValidElement(i)&&i.type==="svg",g={...r,color:s,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:p},m={};c||(m.viewBox=d);const v=Ont(g);return C.jsxs(Ent,{as:a,className:Oe(v.root,o),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...m,...h,...p&&i.props,ownerState:g,children:[p?i.props.children:i,f?C.jsx("title",{children:f}):null]})});TF&&(TF.muiName="SvgIcon");function ut(t,e){function n(r,i){return C.jsx(TF,{"data-testid":`${e}Icon`,ref:i,...r,children:t})}return n.muiName=TF.muiName,D.memo(D.forwardRef(n))}var kr={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cee=Symbol.for("react.element"),fee=Symbol.for("react.portal"),r4=Symbol.for("react.fragment"),i4=Symbol.for("react.strict_mode"),o4=Symbol.for("react.profiler"),s4=Symbol.for("react.provider"),a4=Symbol.for("react.context"),Tnt=Symbol.for("react.server_context"),l4=Symbol.for("react.forward_ref"),u4=Symbol.for("react.suspense"),c4=Symbol.for("react.suspense_list"),f4=Symbol.for("react.memo"),d4=Symbol.for("react.lazy"),knt=Symbol.for("react.offscreen"),pAe;pAe=Symbol.for("react.module.reference");function Fc(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case cee:switch(t=t.type,t){case r4:case o4:case i4:case u4:case c4:return t;default:switch(t=t&&t.$$typeof,t){case Tnt:case a4:case l4:case d4:case f4:case s4:return t;default:return e}}case fee:return e}}}kr.ContextConsumer=a4;kr.ContextProvider=s4;kr.Element=cee;kr.ForwardRef=l4;kr.Fragment=r4;kr.Lazy=d4;kr.Memo=f4;kr.Portal=fee;kr.Profiler=o4;kr.StrictMode=i4;kr.Suspense=u4;kr.SuspenseList=c4;kr.isAsyncMode=function(){return!1};kr.isConcurrentMode=function(){return!1};kr.isContextConsumer=function(t){return Fc(t)===a4};kr.isContextProvider=function(t){return Fc(t)===s4};kr.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===cee};kr.isForwardRef=function(t){return Fc(t)===l4};kr.isFragment=function(t){return Fc(t)===r4};kr.isLazy=function(t){return Fc(t)===d4};kr.isMemo=function(t){return Fc(t)===f4};kr.isPortal=function(t){return Fc(t)===fee};kr.isProfiler=function(t){return Fc(t)===o4};kr.isStrictMode=function(t){return Fc(t)===i4};kr.isSuspense=function(t){return Fc(t)===u4};kr.isSuspenseList=function(t){return Fc(t)===c4};kr.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===r4||t===o4||t===i4||t===u4||t===c4||t===knt||typeof t=="object"&&t!==null&&(t.$$typeof===d4||t.$$typeof===f4||t.$$typeof===s4||t.$$typeof===a4||t.$$typeof===l4||t.$$typeof===pAe||t.getModuleId!==void 0)};kr.typeOf=Fc;function kF(t,e){return kF=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},kF(t,e)}function kM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,kF(t,e)}function Ant(t,e){return t.classList?!!e&&t.classList.contains(e):(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")!==-1}function Pnt(t,e){t.classList?t.classList.add(e):Ant(t,e)||(typeof t.className=="string"?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}function Ufe(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Mnt(t,e){t.classList?t.classList.remove(e):typeof t.className=="string"?t.className=Ufe(t.className,e):t.setAttribute("class",Ufe(t.className&&t.className.baseVal||"",e))}const Wfe={disabled:!1},AF=de.createContext(null);var gAe=function(e){return e.scrollTop},X2="unmounted",I0="exited",L0="entering",Aw="entered",zH="exiting",Ru=function(t){kM(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=I0,o.appearStatus=L0):l=Aw:r.unmountOnExit||r.mountOnEnter?l=X2:l=I0,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===X2?{status:I0}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==L0&&s!==Aw&&(o=L0):(s===L0||s===Aw)&&(o=zH)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===L0){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:VD.findDOMNode(this);s&&gAe(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===I0&&this.setState({status:X2})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[VD.findDOMNode(this),a],u=l[0],c=l[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!i&&!s||Wfe.disabled){this.safeSetState({status:Aw},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:L0},function(){o.props.onEntering(u,c),o.onTransitionEnd(d,function(){o.safeSetState({status:Aw},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:VD.findDOMNode(this);if(!o||Wfe.disabled){this.safeSetState({status:I0},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:zH},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:I0},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:VD.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===X2)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=Rt(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return de.createElement(AF.Provider,{value:null},typeof s=="function"?s(i,a):de.cloneElement(de.Children.only(s),a))},e}(de.Component);Ru.contextType=AF;Ru.propTypes={};function Lb(){}Ru.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Lb,onEntering:Lb,onEntered:Lb,onExit:Lb,onExiting:Lb,onExited:Lb};Ru.UNMOUNTED=X2;Ru.EXITED=I0;Ru.ENTERING=L0;Ru.ENTERED=Aw;Ru.EXITING=zH;var Rnt=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return Pnt(e,r)})},J8=function(e,n){return e&&n&&n.split(" ").forEach(function(r){return Mnt(e,r)})},dee=function(t){kM(e,t);function e(){for(var r,i=arguments.length,o=new Array(i),s=0;st.scrollTop;function Zv(t,e){const{timeout:n,easing:r,style:i={}}=t;return{duration:i.transitionDuration??(typeof n=="number"?n:n[e.mode]||0),easing:i.transitionTimingFunction??(typeof r=="object"?r[e.mode]:r),delay:i.transitionDelay}}function Nnt(t){return Ye("MuiCollapse",t)}qe("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const znt=t=>{const{orientation:e,classes:n}=t,r={root:["root",`${e}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${e}`],wrapperInner:["wrapperInner",`${e}`]};return Xe(r,Nnt,n)},jnt=be("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.orientation],n.state==="entered"&&e.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&e.hidden]}})(kt(({theme:t})=>({height:0,overflow:"hidden",transition:t.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:t.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>e.state==="exited"&&!e.in&&e.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Bnt=be("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Unt=be("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(t,e)=>e.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),PF=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCollapse"}),{addEndListener:i,children:o,className:s,collapsedSize:a="0px",component:l,easing:u,in:c,onEnter:f,onEntered:d,onEntering:h,onExit:p,onExited:g,onExiting:m,orientation:v="vertical",style:y,timeout:x=cAe.standard,TransitionComponent:b=Ru,...w}=r,_={...r,orientation:v,collapsedSize:a},S=znt(_),O=$a(),k=lv(),E=D.useRef(null),M=D.useRef(),A=typeof a=="number"?`${a}px`:a,P=v==="horizontal",T=P?"width":"height",R=D.useRef(null),I=dn(n,R),B=Y=>le=>{if(Y){const K=R.current;le===void 0?Y(K):Y(K,le)}},$=()=>E.current?E.current[P?"clientWidth":"clientHeight"]:0,z=B((Y,le)=>{E.current&&P&&(E.current.style.position="absolute"),Y.style[T]=A,f&&f(Y,le)}),L=B((Y,le)=>{const K=$();E.current&&P&&(E.current.style.position="");const{duration:ee,easing:re}=Zv({style:y,timeout:x,easing:u},{mode:"enter"});if(x==="auto"){const ge=O.transitions.getAutoHeightDuration(K);Y.style.transitionDuration=`${ge}ms`,M.current=ge}else Y.style.transitionDuration=typeof ee=="string"?ee:`${ee}ms`;Y.style[T]=`${K}px`,Y.style.transitionTimingFunction=re,h&&h(Y,le)}),j=B((Y,le)=>{Y.style[T]="auto",d&&d(Y,le)}),N=B(Y=>{Y.style[T]=`${$()}px`,p&&p(Y)}),F=B(g),H=B(Y=>{const le=$(),{duration:K,easing:ee}=Zv({style:y,timeout:x,easing:u},{mode:"exit"});if(x==="auto"){const re=O.transitions.getAutoHeightDuration(le);Y.style.transitionDuration=`${re}ms`,M.current=re}else Y.style.transitionDuration=typeof K=="string"?K:`${K}ms`;Y.style[T]=A,Y.style.transitionTimingFunction=ee,m&&m(Y)}),q=Y=>{x==="auto"&&k.start(M.current||0,Y),i&&i(R.current,Y)};return C.jsx(b,{in:c,onEnter:z,onEntered:j,onEntering:L,onExit:N,onExited:F,onExiting:H,addEndListener:q,nodeRef:R,timeout:x==="auto"?null:x,...w,children:(Y,le)=>C.jsx(jnt,{as:l,className:Oe(S.root,s,{entered:S.entered,exited:!c&&A==="0px"&&S.hidden}[Y]),style:{[P?"minWidth":"minHeight"]:A,...y},ref:I,...le,ownerState:{..._,state:Y},children:C.jsx(Bnt,{ownerState:{..._,state:Y},className:S.wrapper,ref:E,children:C.jsx(Unt,{ownerState:{..._,state:Y},className:S.wrapperInner,children:o})})})})});PF&&(PF.muiSupportAuto=!0);function Wnt(t){return Ye("MuiPaper",t)}qe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Vnt=t=>{const{square:e,elevation:n,variant:r,classes:i}=t,o={root:["root",r,!e&&"rounded",r==="elevation"&&`elevation${n}`]};return Xe(o,Wnt,i)},Gnt=be("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,n.variant==="elevation"&&e[`elevation${n.elevation}`]]}})(kt(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Tl=D.forwardRef(function(e,n){var h;const r=wt({props:e,name:"MuiPaper"}),i=$a(),{className:o,component:s="div",elevation:a=1,square:l=!1,variant:u="elevation",...c}=r,f={...r,component:s,elevation:a,square:l,variant:u},d=Vnt(f);return C.jsx(Gnt,{as:s,ownerState:f,className:Oe(d.root,o),ref:n,...c,style:{...u==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[a],...i.vars&&{"--Paper-overlay":(h=i.vars.overlays)==null?void 0:h[a]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Tt("#fff",NH(a))}, ${Tt("#fff",NH(a))})`}},...c.style}})});function Zl(t,e){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a,...l}=e,{component:u,slots:c={[t]:void 0},slotProps:f={[t]:void 0},...d}=o,h=c[t]||r,p=nA(f[t],i),{props:{component:g,...m},internalRef:v}=eAe({className:n,...l,externalForwardedProps:t==="root"?d:void 0,externalSlotProps:p}),y=dn(v,p==null?void 0:p.ref,e.ref),x=s?s(m):{},b={...i,...x},w=t==="root"?g||u:g,_=Jw(h,{...t==="root"&&!u&&!c[t]&&a,...t!=="root"&&!c[t]&&a,...m,...w&&{as:w},ref:y},b);return Object.keys(x).forEach(S=>{delete _[S]}),[h,_]}class MF{constructor(){gn(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new MF}static use(){const e=Kke(MF.create).current,[n,r]=D.useState(!1);return e.shouldMount=n,e.setShouldMount=r,D.useEffect(e.mountEffect,[n]),e}mount(){return this.mounted||(this.mounted=qnt(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...e)})}stop(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...e)})}pulsate(...e){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...e)})}}function Hnt(){return MF.use()}function qnt(){let t,e;const n=new Promise((r,i)=>{t=r,e=i});return n.resolve=t,n.reject=e,n}function Xnt(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=t,[c,f]=D.useState(!1),d=Oe(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},p=Oe(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&f(!0),D.useEffect(()=>{if(!a&&l!=null){const g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,a,u]),C.jsx("span",{className:d,style:h,children:C.jsx("span",{className:p})})}const Wu=qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),jH=550,Ynt=80,Qnt=SM` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,Knt=SM` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,Znt=SM` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,Jnt=be("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ert=be(Xnt,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${Wu.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${Qnt}; + animation-duration: ${jH}ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + } + + &.${Wu.ripplePulsate} { + animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms; + } + + & .${Wu.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${Wu.childLeaving} { + opacity: 0; + animation-name: ${Knt}; + animation-duration: ${jH}ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + } + + & .${Wu.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${Znt}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,trt=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s,...a}=r,[l,u]=D.useState([]),c=D.useRef(0),f=D.useRef(null);D.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=D.useRef(!1),h=lv(),p=D.useRef(null),g=D.useRef(null),m=D.useCallback(b=>{const{pulsate:w,rippleX:_,rippleY:S,rippleSize:O,cb:k}=b;u(E=>[...E,C.jsx(ert,{classes:{ripple:Oe(o.ripple,Wu.ripple),rippleVisible:Oe(o.rippleVisible,Wu.rippleVisible),ripplePulsate:Oe(o.ripplePulsate,Wu.ripplePulsate),child:Oe(o.child,Wu.child),childLeaving:Oe(o.childLeaving,Wu.childLeaving),childPulsate:Oe(o.childPulsate,Wu.childPulsate)},timeout:jH,pulsate:w,rippleX:_,rippleY:S,rippleSize:O},c.current)]),c.current+=1,f.current=k},[o]),v=D.useCallback((b={},w={},_=()=>{})=>{const{pulsate:S=!1,center:O=i||w.pulsate,fakeElement:k=!1}=w;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const E=k?null:g.current,M=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,P,T;if(O||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)A=Math.round(M.width/2),P=Math.round(M.height/2);else{const{clientX:R,clientY:I}=b.touches&&b.touches.length>0?b.touches[0]:b;A=Math.round(R-M.left),P=Math.round(I-M.top)}if(O)T=Math.sqrt((2*M.width**2+M.height**2)/3),T%2===0&&(T+=1);else{const R=Math.max(Math.abs((E?E.clientWidth:0)-A),A)*2+2,I=Math.max(Math.abs((E?E.clientHeight:0)-P),P)*2+2;T=Math.sqrt(R**2+I**2)}b!=null&&b.touches?p.current===null&&(p.current=()=>{m({pulsate:S,rippleX:A,rippleY:P,rippleSize:T,cb:_})},h.start(Ynt,()=>{p.current&&(p.current(),p.current=null)})):m({pulsate:S,rippleX:A,rippleY:P,rippleSize:T,cb:_})},[i,m,h]),y=D.useCallback(()=>{v({},{pulsate:!0})},[v]),x=D.useCallback((b,w)=>{if(h.clear(),(b==null?void 0:b.type)==="touchend"&&p.current){p.current(),p.current=null,h.start(0,()=>{x(b,w)});return}p.current=null,u(_=>_.length>0?_.slice(1):_),f.current=w},[h]);return D.useImperativeHandle(n,()=>({pulsate:y,start:v,stop:x}),[y,v,x]),C.jsx(Jnt,{className:Oe(Wu.root,o.root,s),ref:g,...a,children:C.jsx(AM,{component:null,exit:!0,children:l})})});function nrt(t){return Ye("MuiButtonBase",t)}const rrt=qe("MuiButtonBase",["root","disabled","focusVisible"]),irt=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,s=Xe({root:["root",e&&"disabled",n&&"focusVisible"]},nrt,i);return n&&r&&(s.root+=` ${r}`),s},ort=be("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${rrt.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Nf=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,focusVisibleClassName:h,LinkComponent:p="a",onBlur:g,onClick:m,onContextMenu:v,onDragLeave:y,onFocus:x,onFocusVisible:b,onKeyDown:w,onKeyUp:_,onMouseDown:S,onMouseLeave:O,onMouseUp:k,onTouchEnd:E,onTouchMove:M,onTouchStart:A,tabIndex:P=0,TouchRippleProps:T,touchRippleRef:R,type:I,...B}=r,$=D.useRef(null),z=Hnt(),L=dn(z.ref,R),[j,N]=D.useState(!1);u&&j&&N(!1),D.useImperativeHandle(i,()=>({focusVisible:()=>{N(!0),$.current.focus()}}),[]);const F=z.shouldMount&&!c&&!u;D.useEffect(()=>{j&&d&&!c&&z.pulsate()},[c,d,j,z]);function H(W,J,se=f){return st(ye=>(J&&J(ye),se||z[W](ye),!0))}const q=H("start",S),Y=H("stop",v),le=H("stop",y),K=H("stop",k),ee=H("stop",W=>{j&&W.preventDefault(),O&&O(W)}),re=H("start",A),ge=H("stop",E),te=H("stop",M),ae=H("stop",W=>{Kv(W.target)||N(!1),g&&g(W)},!1),U=st(W=>{$.current||($.current=W.currentTarget),Kv(W.target)&&(N(!0),b&&b(W)),x&&x(W)}),oe=()=>{const W=$.current;return l&&l!=="button"&&!(W.tagName==="A"&&W.href)},ne=st(W=>{d&&!W.repeat&&j&&W.key===" "&&z.stop(W,()=>{z.start(W)}),W.target===W.currentTarget&&oe()&&W.key===" "&&W.preventDefault(),w&&w(W),W.target===W.currentTarget&&oe()&&W.key==="Enter"&&!u&&(W.preventDefault(),m&&m(W))}),V=st(W=>{d&&W.key===" "&&j&&!W.defaultPrevented&&z.stop(W,()=>{z.pulsate(W)}),_&&_(W),m&&W.target===W.currentTarget&&oe()&&W.key===" "&&!W.defaultPrevented&&m(W)});let X=l;X==="button"&&(B.href||B.to)&&(X=p);const Z={};X==="button"?(Z.type=I===void 0?"button":I,Z.disabled=u):(!B.href&&!B.to&&(Z.role="button"),u&&(Z["aria-disabled"]=u));const he=dn(n,$),xe={...r,centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:P,focusVisible:j},G=irt(xe);return C.jsxs(ort,{as:X,className:Oe(G.root,a),ownerState:xe,onBlur:ae,onClick:m,onContextMenu:Y,onFocus:U,onKeyDown:ne,onKeyUp:V,onMouseDown:q,onMouseLeave:ee,onMouseUp:K,onDragLeave:le,onTouchEnd:ge,onTouchMove:te,onTouchStart:re,ref:he,tabIndex:u?-1:P,type:I,...Z,...B,children:[s,F?C.jsx(trt,{ref:L,center:o,...T}):null]})});function srt(t){return typeof t.main=="string"}function art(t,e=[]){if(!srt(t))return!1;for(const n of e)if(!t.hasOwnProperty(n)||typeof t[n]!="string")return!1;return!0}function di(t=[]){return([,e])=>e&&art(e,t)}function lrt(t){return Ye("MuiIconButton",t)}const urt=qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),crt=urt,frt=t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,s={root:["root",n&&"disabled",r!=="default"&&`color${De(r)}`,i&&`edge${De(i)}`,`size${De(o)}`]};return Xe(s,lrt,e)},drt=be(Nf,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${De(n.color)}`],n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})(kt(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),kt(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.vars?`rgba(${(t.vars||t).palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt((t.vars||t).palette[e].main,t.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${crt.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}}))),Xt=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium",...f}=r,d={...r,edge:i,color:a,disabled:l,disableFocusRipple:u,size:c},h=frt(d);return C.jsx(drt,{className:Oe(h.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n,...f,ownerState:d,children:o})});function hrt(t){return Ye("MuiTypography",t)}const RF=qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),prt={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},grt=Snt(),mrt=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,t.align!=="inherit"&&`align${De(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Xe(a,hrt,s)},vrt=be("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${De(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(kt(({theme:t})=>{var e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(t.palette).filter(di()).map(([n])=>({props:{color:n},style:{color:(t.vars||t).palette[n].main}})),...Object.entries(((e=t.palette)==null?void 0:e.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${De(n)}`},style:{color:(t.vars||t).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),Vfe={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Jt=D.forwardRef(function(e,n){const{color:r,...i}=wt({props:e,name:"MuiTypography"}),o=!prt[r],s=grt({...i,...o&&{color:r}}),{align:a="inherit",className:l,component:u,gutterBottom:c=!1,noWrap:f=!1,paragraph:d=!1,variant:h="body1",variantMapping:p=Vfe,...g}=s,m={...s,align:a,color:r,className:l,component:u,gutterBottom:c,noWrap:f,paragraph:d,variant:h,variantMapping:p},v=u||(d?"p":p[h]||Vfe[h])||"span",y=mrt(m);return C.jsx(vrt,{as:v,ref:n,className:Oe(y.root,l),...g,ownerState:m,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...g.style}})});function yrt(t){return Ye("MuiAppBar",t)}qe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const xrt=t=>{const{color:e,position:n,classes:r}=t,i={root:["root",`color${De(e)}`,`position${De(n)}`]};return Xe(i,yrt,r)},Gfe=(t,e)=>t?`${t==null?void 0:t.replace(")","")}, ${e})`:e,brt=be(Tl,{name:"MuiAppBar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],e[`color${De(n.color)}`]]}})(kt(({theme:t})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(t.vars||t).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[100],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[100]),...t.applyStyles("dark",{"--AppBar-background":t.vars?t.vars.palette.AppBar.defaultBg:t.palette.grey[900],"--AppBar-color":t.vars?t.vars.palette.text.primary:t.palette.getContrastText(t.palette.grey[900])})}},...Object.entries(t.palette).filter(di(["contrastText"])).map(([e])=>({props:{color:e},style:{"--AppBar-background":(t.vars??t).palette[e].main,"--AppBar-color":(t.vars??t).palette[e].contrastText}})),{props:e=>e.enableColorOnDark===!0&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>e.enableColorOnDark===!1&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundColor:t.vars?Gfe(t.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:t.vars?Gfe(t.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...t.applyStyles("dark",{backgroundImage:"none"})}}]}))),mAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiAppBar"}),{className:i,color:o="primary",enableColorOnDark:s=!1,position:a="fixed",...l}=r,u={...r,color:o,position:a,enableColorOnDark:s},c=xrt(u);return C.jsx(brt,{square:!0,component:"header",ownerState:u,elevation:4,className:Oe(c.root,i,a==="fixed"&&"mui-fixed"),ref:n,...l})});var fl="top",Sc="bottom",Cc="right",dl="left",gee="auto",PM=[fl,Sc,Cc,dl],mS="start",rA="end",wrt="clippingParents",vAe="viewport",TE="popper",_rt="reference",Hfe=PM.reduce(function(t,e){return t.concat([e+"-"+mS,e+"-"+rA])},[]),yAe=[].concat(PM,[gee]).reduce(function(t,e){return t.concat([e,e+"-"+mS,e+"-"+rA])},[]),Srt="beforeRead",Crt="read",Ort="afterRead",Ert="beforeMain",Trt="main",krt="afterMain",Art="beforeWrite",Prt="write",Mrt="afterWrite",Rrt=[Srt,Crt,Ort,Ert,Trt,krt,Art,Prt,Mrt];function _h(t){return t?(t.nodeName||"").toLowerCase():null}function wu(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Jx(t){var e=wu(t).Element;return t instanceof e||t instanceof Element}function fc(t){var e=wu(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function mee(t){if(typeof ShadowRoot>"u")return!1;var e=wu(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Drt(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!fc(o)||!_h(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function Irt(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=s.reduce(function(l,u){return l[u]="",l},{});!fc(i)||!_h(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Lrt={name:"applyStyles",enabled:!0,phase:"write",fn:Drt,effect:Irt,requires:["computeStyles"]};function uh(t){return t.split("-")[0]}var Tx=Math.max,DF=Math.min,vS=Math.round;function BH(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function xAe(){return!/^((?!chrome|android).)*safari/i.test(BH())}function yS(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&fc(t)&&(i=t.offsetWidth>0&&vS(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&vS(r.height)/t.offsetHeight||1);var s=Jx(t)?wu(t):window,a=s.visualViewport,l=!xAe()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/i,c=(r.top+(l&&a?a.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function vee(t){var e=yS(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function bAe(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&mee(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ag(t){return wu(t).getComputedStyle(t)}function $rt(t){return["table","td","th"].indexOf(_h(t))>=0}function My(t){return((Jx(t)?t.ownerDocument:t.document)||window.document).documentElement}function h4(t){return _h(t)==="html"?t:t.assignedSlot||t.parentNode||(mee(t)?t.host:null)||My(t)}function qfe(t){return!fc(t)||Ag(t).position==="fixed"?null:t.offsetParent}function Frt(t){var e=/firefox/i.test(BH()),n=/Trident/i.test(BH());if(n&&fc(t)){var r=Ag(t);if(r.position==="fixed")return null}var i=h4(t);for(mee(i)&&(i=i.host);fc(i)&&["html","body"].indexOf(_h(i))<0;){var o=Ag(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function MM(t){for(var e=wu(t),n=qfe(t);n&&$rt(n)&&Ag(n).position==="static";)n=qfe(n);return n&&(_h(n)==="html"||_h(n)==="body"&&Ag(n).position==="static")?e:n||Frt(t)||e}function yee(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function XT(t,e,n){return Tx(t,DF(e,n))}function Nrt(t,e,n){var r=XT(t,e,n);return r>n?n:r}function wAe(){return{top:0,right:0,bottom:0,left:0}}function _Ae(t){return Object.assign({},wAe(),t)}function SAe(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var zrt=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,_Ae(typeof e!="number"?e:SAe(e,PM))};function jrt(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=uh(n.placement),l=yee(a),u=[dl,Cc].indexOf(a)>=0,c=u?"height":"width";if(!(!o||!s)){var f=zrt(i.padding,n),d=vee(o),h=l==="y"?fl:dl,p=l==="y"?Sc:Cc,g=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=MM(o),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,x=g/2-m/2,b=f[h],w=y-d[c]-f[p],_=y/2-d[c]/2+x,S=XT(b,_,w),O=l;n.modifiersData[r]=(e={},e[O]=S,e.centerOffset=S-_,e)}}function Brt(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||bAe(e.elements.popper,i)&&(e.elements.arrow=i))}const Urt={name:"arrow",enabled:!0,phase:"main",fn:jrt,effect:Brt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xS(t){return t.split("-")[1]}var Wrt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vrt(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:vS(n*i)/i||0,y:vS(r*i)/i||0}}function Xfe(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=s.x,h=d===void 0?0:d,p=s.y,g=p===void 0?0:p,m=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=m.x,g=m.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),x=dl,b=fl,w=window;if(u){var _=MM(n),S="clientHeight",O="clientWidth";if(_===wu(n)&&(_=My(n),Ag(_).position!=="static"&&a==="absolute"&&(S="scrollHeight",O="scrollWidth")),_=_,i===fl||(i===dl||i===Cc)&&o===rA){b=Sc;var k=f&&_===w&&w.visualViewport?w.visualViewport.height:_[S];g-=k-r.height,g*=l?1:-1}if(i===dl||(i===fl||i===Sc)&&o===rA){x=Cc;var E=f&&_===w&&w.visualViewport?w.visualViewport.width:_[O];h-=E-r.width,h*=l?1:-1}}var M=Object.assign({position:a},u&&Wrt),A=c===!0?Vrt({x:h,y:g},wu(n)):{x:h,y:g};if(h=A.x,g=A.y,l){var P;return Object.assign({},M,(P={},P[b]=y?"0":"",P[x]=v?"0":"",P.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",P))}return Object.assign({},M,(e={},e[b]=y?g+"px":"",e[x]=v?h+"px":"",e.transform="",e))}function Grt(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:uh(e.placement),variation:xS(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Xfe(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Xfe(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Hrt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Grt,data:{}};var YD={passive:!0};function qrt(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=wu(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,YD)}),a&&l.addEventListener("resize",n.update,YD),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,YD)}),a&&l.removeEventListener("resize",n.update,YD)}}const Xrt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qrt,data:{}};var Yrt={left:"right",right:"left",bottom:"top",top:"bottom"};function i3(t){return t.replace(/left|right|bottom|top/g,function(e){return Yrt[e]})}var Qrt={start:"end",end:"start"};function Yfe(t){return t.replace(/start|end/g,function(e){return Qrt[e]})}function xee(t){var e=wu(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function bee(t){return yS(My(t)).left+xee(t).scrollLeft}function Krt(t,e){var n=wu(t),r=My(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var u=xAe();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+bee(t),y:l}}function Zrt(t){var e,n=My(t),r=xee(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=Tx(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Tx(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+bee(t),l=-r.scrollTop;return Ag(i||n).direction==="rtl"&&(a+=Tx(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function wee(t){var e=Ag(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function CAe(t){return["html","body","#document"].indexOf(_h(t))>=0?t.ownerDocument.body:fc(t)&&wee(t)?t:CAe(h4(t))}function YT(t,e){var n;e===void 0&&(e=[]);var r=CAe(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=wu(r),s=i?[o].concat(o.visualViewport||[],wee(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(YT(h4(s)))}function UH(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Jrt(t,e){var n=yS(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Qfe(t,e,n){return e===vAe?UH(Krt(t,n)):Jx(e)?Jrt(e,n):UH(Zrt(My(t)))}function eit(t){var e=YT(h4(t)),n=["absolute","fixed"].indexOf(Ag(t).position)>=0,r=n&&fc(t)?MM(t):t;return Jx(r)?e.filter(function(i){return Jx(i)&&bAe(i,r)&&_h(i)!=="body"}):[]}function tit(t,e,n,r){var i=e==="clippingParents"?eit(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,u){var c=Qfe(t,u,r);return l.top=Tx(c.top,l.top),l.right=DF(c.right,l.right),l.bottom=DF(c.bottom,l.bottom),l.left=Tx(c.left,l.left),l},Qfe(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function OAe(t){var e=t.reference,n=t.element,r=t.placement,i=r?uh(r):null,o=r?xS(r):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case fl:l={x:s,y:e.y-n.height};break;case Sc:l={x:s,y:e.y+e.height};break;case Cc:l={x:e.x+e.width,y:a};break;case dl:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?yee(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case mS:l[u]=l[u]-(e[c]/2-n[c]/2);break;case rA:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function iA(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,s=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?wrt:a,u=n.rootBoundary,c=u===void 0?vAe:u,f=n.elementContext,d=f===void 0?TE:f,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,m=g===void 0?0:g,v=_Ae(typeof m!="number"?m:SAe(m,PM)),y=d===TE?_rt:TE,x=t.rects.popper,b=t.elements[p?y:d],w=tit(Jx(b)?b:b.contextElement||My(t.elements.popper),l,c,s),_=yS(t.elements.reference),S=OAe({reference:_,element:x,strategy:"absolute",placement:i}),O=UH(Object.assign({},x,S)),k=d===TE?O:_,E={top:w.top-k.top+v.top,bottom:k.bottom-w.bottom+v.bottom,left:w.left-k.left+v.left,right:k.right-w.right+v.right},M=t.modifiersData.offset;if(d===TE&&M){var A=M[i];Object.keys(E).forEach(function(P){var T=[Cc,Sc].indexOf(P)>=0?1:-1,R=[fl,Sc].indexOf(P)>=0?"y":"x";E[P]+=A[R]*T})}return E}function nit(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?yAe:l,c=xS(r),f=c?a?Hfe:Hfe.filter(function(p){return xS(p)===c}):PM,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,g){return p[g]=iA(t,{placement:g,boundary:i,rootBoundary:o,padding:s})[uh(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function rit(t){if(uh(t)===gee)return[];var e=i3(t);return[Yfe(t),e,Yfe(e)]}function iit(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,m=e.options.placement,v=uh(m),y=v===m,x=l||(y||!p?[i3(m)]:rit(m)),b=[m].concat(x).reduce(function(H,q){return H.concat(uh(q)===gee?nit(e,{placement:q,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:g}):q)},[]),w=e.rects.reference,_=e.rects.popper,S=new Map,O=!0,k=b[0],E=0;E=0,R=T?"width":"height",I=iA(e,{placement:M,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),B=T?P?Cc:dl:P?Sc:fl;w[R]>_[R]&&(B=i3(B));var $=i3(B),z=[];if(o&&z.push(I[A]<=0),a&&z.push(I[B]<=0,I[$]<=0),z.every(function(H){return H})){k=M,O=!1;break}S.set(M,z)}if(O)for(var L=p?3:1,j=function(q){var Y=b.find(function(le){var K=S.get(le);if(K)return K.slice(0,q).every(function(ee){return ee})});if(Y)return k=Y,"break"},N=L;N>0;N--){var F=j(N);if(F==="break")break}e.placement!==k&&(e.modifiersData[r]._skip=!0,e.placement=k,e.reset=!0)}}const oit={name:"flip",enabled:!0,phase:"main",fn:iit,requiresIfExists:["offset"],data:{_skip:!1}};function Kfe(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Zfe(t){return[fl,Cc,Sc,dl].some(function(e){return t[e]>=0})}function sit(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=iA(e,{elementContext:"reference"}),a=iA(e,{altBoundary:!0}),l=Kfe(s,r),u=Kfe(a,i,o),c=Zfe(l),f=Zfe(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const ait={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sit};function lit(t,e,n){var r=uh(t),i=[dl,fl].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[dl,Cc].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function uit(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,s=yAe.reduce(function(c,f){return c[f]=lit(f,e.rects,o),c},{}),a=s[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=s}const cit={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uit};function fit(t){var e=t.state,n=t.name;e.modifiersData[n]=OAe({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const dit={name:"popperOffsets",enabled:!0,phase:"read",fn:fit,data:{}};function hit(t){return t==="x"?"y":"x"}function pit(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,g=p===void 0?0:p,m=iA(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),v=uh(e.placement),y=xS(e.placement),x=!y,b=yee(v),w=hit(b),_=e.modifiersData.popperOffsets,S=e.rects.reference,O=e.rects.popper,k=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,E=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),M=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,A={x:0,y:0};if(_){if(o){var P,T=b==="y"?fl:dl,R=b==="y"?Sc:Cc,I=b==="y"?"height":"width",B=_[b],$=B+m[T],z=B-m[R],L=h?-O[I]/2:0,j=y===mS?S[I]:O[I],N=y===mS?-O[I]:-S[I],F=e.elements.arrow,H=h&&F?vee(F):{width:0,height:0},q=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:wAe(),Y=q[T],le=q[R],K=XT(0,S[I],H[I]),ee=x?S[I]/2-L-K-Y-E.mainAxis:j-K-Y-E.mainAxis,re=x?-S[I]/2+L+K+le+E.mainAxis:N+K+le+E.mainAxis,ge=e.elements.arrow&&MM(e.elements.arrow),te=ge?b==="y"?ge.clientTop||0:ge.clientLeft||0:0,ae=(P=M==null?void 0:M[b])!=null?P:0,U=B+ee-ae-te,oe=B+re-ae,ne=XT(h?DF($,U):$,B,h?Tx(z,oe):z);_[b]=ne,A[b]=ne-B}if(a){var V,X=b==="x"?fl:dl,Z=b==="x"?Sc:Cc,he=_[w],xe=w==="y"?"height":"width",G=he+m[X],W=he-m[Z],J=[fl,dl].indexOf(v)!==-1,se=(V=M==null?void 0:M[w])!=null?V:0,ye=J?G:he-S[xe]-O[xe]-se+E.altAxis,ie=J?he+S[xe]+O[xe]-se-E.altAxis:W,fe=h&&J?Nrt(ye,he,ie):XT(h?ye:G,he,h?ie:W);_[w]=fe,A[w]=fe-he}e.modifiersData[r]=A}}const git={name:"preventOverflow",enabled:!0,phase:"main",fn:pit,requiresIfExists:["offset"]};function mit(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function vit(t){return t===wu(t)||!fc(t)?xee(t):mit(t)}function yit(t){var e=t.getBoundingClientRect(),n=vS(e.width)/t.offsetWidth||1,r=vS(e.height)/t.offsetHeight||1;return n!==1||r!==1}function xit(t,e,n){n===void 0&&(n=!1);var r=fc(e),i=fc(e)&&yit(e),o=My(e),s=yS(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((_h(e)!=="body"||wee(o))&&(a=vit(e)),fc(e)?(l=yS(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=bee(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function bit(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function wit(t){var e=bit(t);return Rrt.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function _it(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Sit(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Jfe={placement:"bottom",modifiers:[],strategy:"absolute"};function ede(){for(var t=arguments.length,e=new Array(t),n=0;n{o||a(Tit(i)||document.body)},[i,o]),Ei(()=>{if(s&&!o)return $H(n,s),()=>{$H(n,null)}},[n,s,o]),o){if(D.isValidElement(r)){const u={ref:l};return D.cloneElement(r,u)}return C.jsx(D.Fragment,{children:r})}return C.jsx(D.Fragment,{children:s&&GC.createPortal(r,s)})});function kit(t){return Ye("MuiPopper",t)}qe("MuiPopper",["root"]);function Ait(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function WH(t){return typeof t=="function"?t():t}function Pit(t){return t.nodeType!==void 0}const Mit=t=>{const{classes:e}=t;return Xe({root:["root"]},kit,e)},Rit={},Dit=D.forwardRef(function(e,n){const{anchorEl:r,children:i,direction:o,disablePortal:s,modifiers:a,open:l,placement:u,popperOptions:c,popperRef:f,slotProps:d={},slots:h={},TransitionProps:p,ownerState:g,...m}=e,v=D.useRef(null),y=dn(v,n),x=D.useRef(null),b=dn(x,f),w=D.useRef(b);Ei(()=>{w.current=b},[b]),D.useImperativeHandle(f,()=>x.current,[]);const _=Ait(u,o),[S,O]=D.useState(_),[k,E]=D.useState(WH(r));D.useEffect(()=>{x.current&&x.current.forceUpdate()}),D.useEffect(()=>{r&&E(WH(r))},[r]),Ei(()=>{if(!k||!l)return;const R=$=>{O($.placement)};let I=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:$})=>{R($)}}];a!=null&&(I=I.concat(a)),c&&c.modifiers!=null&&(I=I.concat(c.modifiers));const B=Eit(k,v.current,{placement:_,...c,modifiers:I});return w.current(B),()=>{B.destroy(),w.current(null)}},[k,s,a,l,c,_]);const M={placement:S};p!==null&&(M.TransitionProps=p);const A=Mit(e),P=h.root??"div",T=Zt({elementType:P,externalSlotProps:d.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:A.root});return C.jsx(P,{...T,children:typeof i=="function"?i(M):i})}),Iit=D.forwardRef(function(e,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=Rit,popperRef:h,style:p,transition:g=!1,slotProps:m={},slots:v={},...y}=e,[x,b]=D.useState(!0),w=()=>{b(!1)},_=()=>{b(!0)};if(!l&&!c&&(!g||x))return null;let S;if(o)S=o;else if(r){const E=WH(r);S=E&&Pit(E)?mi(E).body:mi(null).body}const O=!c&&l&&(!g||x)?"none":void 0,k=g?{in:c,onEnter:w,onExited:_}:void 0;return C.jsx(EAe,{disablePortal:a,container:S,children:C.jsx(Dit,{anchorEl:r,direction:s,disablePortal:a,modifiers:u,ref:n,open:g?!x:c,placement:f,popperOptions:d,popperRef:h,slotProps:m,slots:v,...y,style:{position:"fixed",top:0,left:0,display:O,...p},TransitionProps:k,children:i})})}),Lit=be(Iit,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),_ee=D.forwardRef(function(e,n){const r=Ho(),i=wt({props:e,name:"MuiPopper"}),{anchorEl:o,component:s,components:a,componentsProps:l,container:u,disablePortal:c,keepMounted:f,modifiers:d,open:h,placement:p,popperOptions:g,popperRef:m,transition:v,slots:y,slotProps:x,...b}=i,w=(y==null?void 0:y.root)??(a==null?void 0:a.Root),_={anchorEl:o,container:u,disablePortal:c,keepMounted:f,modifiers:d,open:h,placement:p,popperOptions:g,popperRef:m,transition:v,...b};return C.jsx(Lit,{as:s,direction:r?"rtl":"ltr",slots:{root:w},slotProps:x??l,..._,ref:n})}),$it=ut(C.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Fit(t){return Ye("MuiChip",t)}const Sn=qe("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Nit=t=>{const{classes:e,disabled:n,size:r,color:i,iconColor:o,onDelete:s,clickable:a,variant:l}=t,u={root:["root",l,n&&"disabled",`size${De(r)}`,`color${De(i)}`,a&&"clickable",a&&`clickableColor${De(i)}`,s&&"deletable",s&&`deletableColor${De(i)}`,`${l}${De(i)}`],label:["label",`label${De(r)}`],avatar:["avatar",`avatar${De(r)}`,`avatarColor${De(i)}`],icon:["icon",`icon${De(r)}`,`iconColor${De(o)}`],deleteIcon:["deleteIcon",`deleteIcon${De(r)}`,`deleteIconColor${De(i)}`,`deleteIcon${De(l)}Color${De(i)}`]};return Xe(u,Fit,e)},zit=be("div",{name:"MuiChip",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:l}=n;return[{[`& .${Sn.avatar}`]:e.avatar},{[`& .${Sn.avatar}`]:e[`avatar${De(a)}`]},{[`& .${Sn.avatar}`]:e[`avatarColor${De(r)}`]},{[`& .${Sn.icon}`]:e.icon},{[`& .${Sn.icon}`]:e[`icon${De(a)}`]},{[`& .${Sn.icon}`]:e[`iconColor${De(i)}`]},{[`& .${Sn.deleteIcon}`]:e.deleteIcon},{[`& .${Sn.deleteIcon}`]:e[`deleteIcon${De(a)}`]},{[`& .${Sn.deleteIcon}`]:e[`deleteIconColor${De(r)}`]},{[`& .${Sn.deleteIcon}`]:e[`deleteIcon${De(l)}Color${De(r)}`]},e.root,e[`size${De(a)}`],e[`color${De(r)}`],o&&e.clickable,o&&r!=="default"&&e[`clickableColor${De(r)})`],s&&e.deletable,s&&r!=="default"&&e[`deletableColor${De(r)}`],e[l],e[`${l}${De(r)}`]]}})(kt(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[700]:t.palette.grey[300];return{maxWidth:"100%",fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(t.vars||t).palette.text.primary,backgroundColor:(t.vars||t).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Sn.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Sn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:t.vars?t.vars.palette.Chip.defaultAvatarColor:e,fontSize:t.typography.pxToRem(12)},[`& .${Sn.avatarColorPrimary}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.dark},[`& .${Sn.avatarColorSecondary}`]:{color:(t.vars||t).palette.secondary.contrastText,backgroundColor:(t.vars||t).palette.secondary.dark},[`& .${Sn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)},[`& .${Sn.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Sn.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.26)`:Tt(t.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Tt(t.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Sn.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Sn.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(t.palette).filter(di(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(t.vars||t).palette[n].main,color:(t.vars||t).palette[n].contrastText,[`& .${Sn.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n].contrastTextChannel} / 0.7)`:Tt(t.palette[n].contrastText,.7),"&:hover, &:active":{color:(t.vars||t).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Sn.icon}`]:{color:t.vars?t.vars.palette.Chip.defaultIconColor:e}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Sn.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Sn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}}},...Object.entries(t.palette).filter(di(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Sn.focusVisible}`]:{background:(t.vars||t).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)},[`&.${Sn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.action.selected,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)},"&:active":{boxShadow:(t.vars||t).shadows[1]}}},...Object.entries(t.palette).filter(di(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Sn.focusVisible}`]:{backgroundColor:(t.vars||t).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:t.vars?`1px solid ${t.vars.palette.Chip.defaultBorder}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[700]}`,[`&.${Sn.clickable}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Sn.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`& .${Sn.avatar}`]:{marginLeft:4},[`& .${Sn.avatarSmall}`]:{marginLeft:2},[`& .${Sn.icon}`]:{marginLeft:4},[`& .${Sn.iconSmall}`]:{marginLeft:2},[`& .${Sn.deleteIcon}`]:{marginRight:5},[`& .${Sn.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(t.palette).filter(di()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(t.vars||t).palette[n].main,border:`1px solid ${t.vars?`rgba(${t.vars.palette[n].mainChannel} / 0.7)`:Tt(t.palette[n].main,.7)}`,[`&.${Sn.clickable}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[n].main,t.palette.action.hoverOpacity)},[`&.${Sn.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette[n].mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette[n].main,t.palette.action.focusOpacity)},[`& .${Sn.deleteIcon}`]:{color:t.vars?`rgba(${t.vars.palette[n].mainChannel} / 0.7)`:Tt(t.palette[n].main,.7),"&:hover, &:active":{color:(t.vars||t).palette[n].main}}}}))]}})),jit=be("span",{name:"MuiChip",slot:"Label",overridesResolver:(t,e)=>{const{ownerState:n}=t,{size:r}=n;return[e.label,e[`label${De(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function tde(t){return t.key==="Backspace"||t.key==="Delete"}const TAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:f,label:d,onClick:h,onDelete:p,onKeyDown:g,onKeyUp:m,size:v="medium",variant:y="filled",tabIndex:x,skipFocusWhenDisabled:b=!1,...w}=r,_=D.useRef(null),S=dn(_,n),O=z=>{z.stopPropagation(),p&&p(z)},k=z=>{z.currentTarget===z.target&&tde(z)&&z.preventDefault(),g&&g(z)},E=z=>{z.currentTarget===z.target&&p&&tde(z)&&p(z),m&&m(z)},M=s!==!1&&h?!0:s,A=M||p?Nf:l||"div",P={...r,component:A,disabled:c,size:v,color:a,iconColor:D.isValidElement(f)&&f.props.color||a,onDelete:!!p,clickable:M,variant:y},T=Nit(P),R=A===Nf?{component:l||"div",focusVisibleClassName:T.focusVisible,...p&&{disableRipple:!0}}:{};let I=null;p&&(I=u&&D.isValidElement(u)?D.cloneElement(u,{className:Oe(u.props.className,T.deleteIcon),onClick:O}):C.jsx($it,{className:Oe(T.deleteIcon),onClick:O}));let B=null;i&&D.isValidElement(i)&&(B=D.cloneElement(i,{className:Oe(T.avatar,i.props.className)}));let $=null;return f&&D.isValidElement(f)&&($=D.cloneElement(f,{className:Oe(T.icon,f.props.className)})),C.jsxs(zit,{as:A,className:Oe(T.root,o),disabled:M&&c?!0:void 0,onClick:h,onKeyDown:k,onKeyUp:E,ref:S,tabIndex:b&&c?-1:x,ownerState:P,...R,...w,children:[B||$,C.jsx(jit,{className:Oe(T.label),ownerState:P,children:d}),I]})});function QD(t){return parseInt(t,10)||0}const Bit={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Uit(t){return t==null||Object.keys(t).length===0||t.outerHeightStyle===0&&!t.overflowing}const Wit=D.forwardRef(function(e,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a,...l}=e,{current:u}=D.useRef(a!=null),c=D.useRef(null),f=dn(n,c),d=D.useRef(null),h=D.useRef(null),p=D.useCallback(()=>{const v=c.current,x=xu(v).getComputedStyle(v);if(x.width==="0px")return{outerHeightStyle:0,overflowing:!1};const b=h.current;b.style.width=x.width,b.value=v.value||e.placeholder||"x",b.value.slice(-1)===` +`&&(b.value+=" ");const w=x.boxSizing,_=QD(x.paddingBottom)+QD(x.paddingTop),S=QD(x.borderBottomWidth)+QD(x.borderTopWidth),O=b.scrollHeight;b.value="x";const k=b.scrollHeight;let E=O;o&&(E=Math.max(Number(o)*k,E)),i&&(E=Math.min(Number(i)*k,E)),E=Math.max(E,k);const M=E+(w==="border-box"?_+S:0),A=Math.abs(E-O)<=1;return{outerHeightStyle:M,overflowing:A}},[i,o,e.placeholder]),g=D.useCallback(()=>{const v=p();if(Uit(v))return;const y=v.outerHeightStyle,x=c.current;d.current!==y&&(d.current=y,x.style.height=`${y}px`),x.style.overflow=v.overflowing?"hidden":""},[p]);Ei(()=>{const v=()=>{g()};let y;const x=TM(v),b=c.current,w=xu(b);w.addEventListener("resize",x);let _;return typeof ResizeObserver<"u"&&(_=new ResizeObserver(v),_.observe(b)),()=>{x.clear(),cancelAnimationFrame(y),w.removeEventListener("resize",x),_&&_.disconnect()}},[p,g]),Ei(()=>{g()});const m=v=>{u||g(),r&&r(v)};return C.jsxs(D.Fragment,{children:[C.jsx("textarea",{value:a,onChange:m,ref:f,rows:o,style:s,...l}),C.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:{...Bit.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function tg(t){return typeof t=="string"}function Ry({props:t,states:e,muiFormControl:n}){return e.reduce((r,i)=>(r[i]=t[i],n&&typeof t[i]>"u"&&(r[i]=n[i]),r),{})}const p4=D.createContext(void 0);function Fa(){return D.useContext(p4)}function nde(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function IF(t,e=!1){return t&&(nde(t.value)&&t.value!==""||e&&nde(t.defaultValue)&&t.defaultValue!=="")}function Vit(t){return t.startAdornment}function Git(t){return Ye("MuiInputBase",t)}const bS=qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var rde;const g4=(t,e)=>{const{ownerState:n}=t;return[e.root,n.formControl&&e.formControl,n.startAdornment&&e.adornedStart,n.endAdornment&&e.adornedEnd,n.error&&e.error,n.size==="small"&&e.sizeSmall,n.multiline&&e.multiline,n.color&&e[`color${De(n.color)}`],n.fullWidth&&e.fullWidth,n.hiddenLabel&&e.hiddenLabel]},m4=(t,e)=>{const{ownerState:n}=t;return[e.input,n.size==="small"&&e.inputSizeSmall,n.multiline&&e.inputMultiline,n.type==="search"&&e.inputTypeSearch,n.startAdornment&&e.inputAdornedStart,n.endAdornment&&e.inputAdornedEnd,n.hiddenLabel&&e.inputHiddenLabel]},Hit=t=>{const{classes:e,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:h,type:p}=t,g={root:["root",`color${De(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",d&&d!=="medium"&&`size${De(d)}`,c&&"multiline",h&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",p==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",f&&"readOnly"]};return Xe(g,Git,e)},v4=be("div",{name:"MuiInputBase",slot:"Root",overridesResolver:g4})(kt(({theme:t})=>({...t.typography.body1,color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${bS.disabled}`]:{color:(t.vars||t).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:n})=>e.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),y4=be("input",{name:"MuiInputBase",slot:"Input",overridesResolver:m4})(kt(({theme:t})=>{const e=t.palette.mode==="light",n={color:"currentColor",...t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5},transition:t.transitions.create("opacity",{duration:t.transitions.duration.shorter})},r={opacity:"0 !important"},i=t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:e?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${bS.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${bS.disabled}`]:{opacity:1,WebkitTextFillColor:(t.vars||t).palette.text.disabled},variants:[{props:({ownerState:o})=>!o.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:o})=>o.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),ide=uee({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),qit=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:o,autoFocus:s,className:a,color:l,components:u={},componentsProps:c={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:h,endAdornment:p,error:g,fullWidth:m=!1,id:v,inputComponent:y="input",inputProps:x={},inputRef:b,margin:w,maxRows:_,minRows:S,multiline:O=!1,name:k,onBlur:E,onChange:M,onClick:A,onFocus:P,onKeyDown:T,onKeyUp:R,placeholder:I,readOnly:B,renderSuffix:$,rows:z,size:L,slotProps:j={},slots:N={},startAdornment:F,type:H="text",value:q,...Y}=r,le=x.value!=null?x.value:q,{current:K}=D.useRef(le!=null),ee=D.useRef(),re=D.useCallback(we=>{},[]),ge=dn(ee,b,x.ref,re),[te,ae]=D.useState(!1),U=Fa(),oe=Ry({props:r,muiFormControl:U,states:["color","disabled","error","hiddenLabel","size","required","filled"]});oe.focused=U?U.focused:te,D.useEffect(()=>{!U&&d&&te&&(ae(!1),E&&E())},[U,d,te,E]);const ne=U&&U.onFilled,V=U&&U.onEmpty,X=D.useCallback(we=>{IF(we)?ne&&ne():V&&V()},[ne,V]);Ei(()=>{K&&X({value:le})},[le,X,K]);const Z=we=>{P&&P(we),x.onFocus&&x.onFocus(we),U&&U.onFocus?U.onFocus(we):ae(!0)},he=we=>{E&&E(we),x.onBlur&&x.onBlur(we),U&&U.onBlur?U.onBlur(we):ae(!1)},xe=(we,...Ie)=>{if(!K){const Pe=we.target||ee.current;if(Pe==null)throw new Error(Eg(1));X({value:Pe.value})}x.onChange&&x.onChange(we,...Ie),M&&M(we,...Ie)};D.useEffect(()=>{X(ee.current)},[]);const G=we=>{ee.current&&we.currentTarget===we.target&&ee.current.focus(),A&&A(we)};let W=y,J=x;O&&W==="input"&&(z?J={type:void 0,minRows:z,maxRows:z,...J}:J={type:void 0,maxRows:_,minRows:S,...J},W=Wit);const se=we=>{X(we.animationName==="mui-auto-fill-cancel"?ee.current:{value:"x"})};D.useEffect(()=>{U&&U.setAdornedStart(!!F)},[U,F]);const ye={...r,color:oe.color||"primary",disabled:oe.disabled,endAdornment:p,error:oe.error,focused:oe.focused,formControl:U,fullWidth:m,hiddenLabel:oe.hiddenLabel,multiline:O,size:oe.size,startAdornment:F,type:H},ie=Hit(ye),fe=N.root||u.Root||v4,Q=j.root||c.root||{},_e=N.input||u.Input||y4;return J={...J,...j.input??c.input},C.jsxs(D.Fragment,{children:[!h&&typeof ide=="function"&&(rde||(rde=C.jsx(ide,{}))),C.jsxs(fe,{...Q,ref:n,onClick:G,...Y,...!tg(fe)&&{ownerState:{...ye,...Q.ownerState}},className:Oe(ie.root,Q.className,a,B&&"MuiInputBase-readOnly"),children:[F,C.jsx(p4.Provider,{value:null,children:C.jsx(_e,{"aria-invalid":oe.error,"aria-describedby":i,autoComplete:o,autoFocus:s,defaultValue:f,disabled:oe.disabled,id:v,onAnimationStart:se,name:k,placeholder:I,readOnly:B,required:oe.required,rows:z,value:le,onKeyDown:T,onKeyUp:R,type:H,...J,...!tg(_e)&&{as:W,ownerState:{...ye,...J.ownerState}},ref:ge,className:Oe(ie.input,J.className,B&&"MuiInputBase-readOnly"),onBlur:he,onChange:xe,onFocus:Z})}),p,$?$({...oe,startAdornment:F}):null]})]})}),See=qit;function Xit(t){return Ye("MuiInput",t)}const Yit={...bS,...qe("MuiInput",["root","underline","input"])},kE=Yit;function Qit(t){return Ye("MuiOutlinedInput",t)}const pd={...bS,...qe("MuiOutlinedInput",["root","notchedOutline","input"])};function Kit(t){return Ye("MuiFilledInput",t)}const l0={...bS,...qe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Zit=ut(C.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Jit=ut(C.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function eot(t){return Ye("MuiAvatar",t)}qe("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const tot=t=>{const{classes:e,variant:n,colorDefault:r}=t;return Xe({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},eot,e)},not=be("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],n.colorDefault&&e.colorDefault]}})(kt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(t.vars||t).palette.background.default,...t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:{backgroundColor:t.palette.grey[400],...t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})}}}]}))),rot=be("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(t,e)=>e.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),iot=be(Jit,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(t,e)=>e.fallback})({width:"75%",height:"75%"});function oot({crossOrigin:t,referrerPolicy:e,src:n,srcSet:r}){const[i,o]=D.useState(!1);return D.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&o("loaded")},a.onerror=()=>{s&&o("error")},a.crossOrigin=t,a.referrerPolicy=e,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[t,e,n,r]),i}const eW=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:f,src:d,srcSet:h,variant:p="circular",...g}=r;let m=null;const v=oot({...c,src:d,srcSet:h}),y=d||h,x=y&&v!=="error",b={...r,colorDefault:!x,component:a,variant:p};delete b.ownerState;const w=tot(b),[_,S]=Zl("img",{className:w.img,elementType:rot,externalForwardedProps:{slots:l,slotProps:{img:{...c,...u.img}}},additionalProps:{alt:i,src:d,srcSet:h,sizes:f},ownerState:b});return x?m=C.jsx(_,{...S}):o||o===0?m=o:y&&i?m=i[0]:m=C.jsx(iot,{ownerState:b,className:w.fallback}),C.jsx(not,{as:a,className:Oe(w.root,s),ref:n,...g,ownerState:b,children:m})}),sot={entering:{opacity:1},entered:{opacity:1}},qC=D.forwardRef(function(e,n){const r=$a(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:f,onEntering:d,onExit:h,onExited:p,onExiting:g,style:m,timeout:v=i,TransitionComponent:y=Ru,...x}=e,b=D.useRef(null),w=dn(b,Py(a),n),_=T=>R=>{if(T){const I=b.current;R===void 0?T(I):T(I,R)}},S=_(d),O=_((T,R)=>{pee(T);const I=Zv({style:m,timeout:v,easing:l},{mode:"enter"});T.style.webkitTransition=r.transitions.create("opacity",I),T.style.transition=r.transitions.create("opacity",I),c&&c(T,R)}),k=_(f),E=_(g),M=_(T=>{const R=Zv({style:m,timeout:v,easing:l},{mode:"exit"});T.style.webkitTransition=r.transitions.create("opacity",R),T.style.transition=r.transitions.create("opacity",R),h&&h(T)}),A=_(p),P=T=>{o&&o(b.current,T)};return C.jsx(y,{appear:s,in:u,nodeRef:b,onEnter:O,onEntered:k,onEntering:S,onExit:M,onExited:A,onExiting:E,addEndListener:P,timeout:v,...x,children:(T,R)=>D.cloneElement(a,{style:{opacity:0,visibility:T==="exited"&&!u?"hidden":void 0,...sot[T],...m,...a.props.style},ref:w,...R})})});function aot(t){return Ye("MuiBackdrop",t)}qe("MuiBackdrop",["root","invisible"]);const lot=t=>{const{ownerState:e,...n}=t;return n},uot=t=>{const{classes:e,invisible:n}=t;return Xe({root:["root",n&&"invisible"]},aot,e)},cot=be("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.invisible&&e.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),kAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiBackdrop"}),{children:i,className:o,component:s="div",invisible:a=!1,open:l,components:u={},componentsProps:c={},slotProps:f={},slots:d={},TransitionComponent:h,transitionDuration:p,...g}=r,m={...r,component:s,invisible:a},v=uot(m),y={transition:h,root:u.Root,...d},x={...c,...f},b={slots:y,slotProps:x},[w,_]=Zl("root",{elementType:cot,externalForwardedProps:b,className:Oe(v.root,o),ownerState:m}),[S,O]=Zl("transition",{elementType:qC,externalForwardedProps:b,ownerState:m}),k=lot(O);return C.jsx(S,{in:l,timeout:p,...g,...k,children:C.jsx(w,{"aria-hidden":!0,..._,classes:v,ref:n,children:i})})}),fot=qe("MuiBox",["root"]),dot=e4(),ot=itt({themeId:Df,defaultTheme:dot,defaultClassName:fot.root,generateClassName:jke.generate});function hot(t){return Ye("MuiButton",t)}const pot=qe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),$b=pot,got=D.createContext({}),mot=D.createContext(void 0),vot=t=>{const{color:e,disableElevation:n,fullWidth:r,size:i,variant:o,classes:s}=t,a={root:["root",o,`${o}${De(e)}`,`size${De(i)}`,`${o}Size${De(i)}`,`color${De(e)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${De(i)}`],endIcon:["icon","endIcon",`iconSize${De(i)}`]},l=Xe(a,hot,s);return{...s,...l}},AAe=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],yot=be(Nf,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${De(n.color)}`],e[`size${De(n.size)}`],e[`${n.variant}Size${De(n.size)}`],n.color==="inherit"&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})(kt(({theme:t})=>{const e=t.palette.mode==="light"?t.palette.grey[300]:t.palette.grey[800],n=t.palette.mode==="light"?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${$b.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},[`&.${$b.focusVisible}`]:{boxShadow:(t.vars||t).shadows[6]},[`&.${$b.disabled}`]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${$b.disabled}`]:{border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter(di()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(t.vars||t).palette[r].main,"--variant-outlinedColor":(t.vars||t).palette[r].main,"--variant-outlinedBorder":t.vars?`rgba(${t.vars.palette[r].mainChannel} / 0.5)`:Tt(t.palette[r].main,.5),"--variant-containedColor":(t.vars||t).palette[r].contrastText,"--variant-containedBg":(t.vars||t).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[r].dark,"--variant-textBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[r].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[r].main,"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette[r].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[r].main,t.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:e,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$b.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),xot=be("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.startIcon,e[`iconSize${De(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...AAe]}),bot=be("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.endIcon,e[`iconSize${De(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...AAe]}),Vr=D.forwardRef(function(e,n){const r=D.useContext(got),i=D.useContext(mot),o=gS(r,e),s=wt({props:o,name:"MuiButton"}),{children:a,color:l="primary",component:u="button",className:c,disabled:f=!1,disableElevation:d=!1,disableFocusRipple:h=!1,endIcon:p,focusVisibleClassName:g,fullWidth:m=!1,size:v="medium",startIcon:y,type:x,variant:b="text",...w}=s,_={...s,color:l,component:u,disabled:f,disableElevation:d,disableFocusRipple:h,fullWidth:m,size:v,type:x,variant:b},S=vot(_),O=y&&C.jsx(xot,{className:S.startIcon,ownerState:_,children:y}),k=p&&C.jsx(bot,{className:S.endIcon,ownerState:_,children:p}),E=i||"";return C.jsxs(yot,{ownerState:_,className:Oe(r.className,S.root,c,E),component:u,disabled:f,focusRipple:!h,focusVisibleClassName:Oe(S.focusVisible,g),ref:n,type:x,...w,classes:S,children:[O,a,k]})});function wot(t){return Ye("MuiCard",t)}qe("MuiCard",["root"]);const _ot=t=>{const{classes:e}=t;return Xe({root:["root"]},wot,e)},Sot=be(Tl,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})({overflow:"hidden"}),PAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCard"}),{className:i,raised:o=!1,...s}=r,a={...r,raised:o},l=_ot(a);return C.jsx(Sot,{className:Oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a,...s})});function Cot(t){return Ye("MuiCardActions",t)}qe("MuiCardActions",["root","spacing"]);const Oot=t=>{const{classes:e,disableSpacing:n}=t;return Xe({root:["root",!n&&"spacing"]},Cot,e)},Eot=be("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),MAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCardActions"}),{disableSpacing:i=!1,className:o,...s}=r,a={...r,disableSpacing:i},l=Oot(a);return C.jsx(Eot,{className:Oe(l.root,o),ownerState:a,ref:n,...s})});function Tot(t){return Ye("MuiCardContent",t)}qe("MuiCardContent",["root"]);const kot=t=>{const{classes:e}=t;return Xe({root:["root"]},Tot,e)},Aot=be("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:16,"&:last-child":{paddingBottom:24}}),RAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCardContent"}),{className:i,component:o="div",...s}=r,a={...r,component:o},l=kot(a);return C.jsx(Aot,{as:o,className:Oe(l.root,i),ownerState:a,ref:n,...s})});function Pot(t){return Ye("MuiCardHeader",t)}const LF=qe("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Mot=t=>{const{classes:e}=t;return Xe({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Pot,e)},Rot=be("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(t,e)=>({[`& .${LF.title}`]:e.title,[`& .${LF.subheader}`]:e.subheader,...e.root})})({display:"flex",alignItems:"center",padding:16}),Dot=be("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(t,e)=>e.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Iot=be("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(t,e)=>e.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Lot=be("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(t,e)=>e.content})({flex:"1 1 auto",[`.${RF.root}:where(& .${LF.title})`]:{display:"block"},[`.${RF.root}:where(& .${LF.subheader})`]:{display:"block"}}),$ot=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCardHeader"}),{action:i,avatar:o,className:s,component:a="div",disableTypography:l=!1,subheader:u,subheaderTypographyProps:c,title:f,titleTypographyProps:d,...h}=r,p={...r,component:a,disableTypography:l},g=Mot(p);let m=f;m!=null&&m.type!==Jt&&!l&&(m=C.jsx(Jt,{variant:o?"body2":"h5",className:g.title,component:"span",...d,children:m}));let v=u;return v!=null&&v.type!==Jt&&!l&&(v=C.jsx(Jt,{variant:o?"body2":"body1",className:g.subheader,color:"textSecondary",component:"span",...c,children:v})),C.jsxs(Rot,{className:Oe(g.root,s),as:a,ref:n,ownerState:p,...h,children:[o&&C.jsx(Dot,{className:g.avatar,ownerState:p,children:o}),C.jsxs(Lot,{className:g.content,ownerState:p,children:[m,v]}),i&&C.jsx(Iot,{className:g.action,ownerState:p,children:i})]})});function Fot(t){return Ye("MuiCardMedia",t)}qe("MuiCardMedia",["root","media","img"]);const Not=t=>{const{classes:e,isMediaComponent:n,isImageComponent:r}=t;return Xe({root:["root",n&&"media",r&&"img"]},Fot,e)},zot=be("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{isMediaComponent:r,isImageComponent:i}=n;return[e.root,r&&e.media,i&&e.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),jot=["video","audio","picture","iframe","img"],Bot=["picture","img"],Uot=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u,...c}=r,f=jot.includes(s),d=!f&&a?{backgroundImage:`url("${a}")`,...u}:u,h={...r,component:s,isMediaComponent:f,isImageComponent:Bot.includes(s)},p=Not(h);return C.jsx(zot,{className:Oe(p.root,o),as:s,role:!f&&a?"img":void 0,ref:n,style:d,ownerState:h,src:f?a||l:void 0,...c,children:i})});function Wot(t){return Ye("PrivateSwitchBase",t)}qe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Vot=t=>{const{classes:e,checked:n,disabled:r,edge:i}=t,o={root:["root",n&&"checked",r&&"disabled",i&&`edge${De(i)}`],input:["input"]};return Xe(o,Wot,e)},Got=be(Nf)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:e})=>t==="start"&&e.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:e})=>t==="end"&&e.size!=="small",style:{marginRight:-12}}]}),Hot=be("input",{shouldForwardProp:qo})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Cee=D.forwardRef(function(e,n){const{autoFocus:r,checked:i,checkedIcon:o,className:s,defaultChecked:a,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:f,id:d,inputProps:h,inputRef:p,name:g,onBlur:m,onChange:v,onFocus:y,readOnly:x,required:b=!1,tabIndex:w,type:_,value:S,...O}=e,[k,E]=bu({controlled:i,default:!!a,name:"SwitchBase",state:"checked"}),M=Fa(),A=z=>{y&&y(z),M&&M.onFocus&&M.onFocus(z)},P=z=>{m&&m(z),M&&M.onBlur&&M.onBlur(z)},T=z=>{if(z.nativeEvent.defaultPrevented)return;const L=z.target.checked;E(L),v&&v(z,L)};let R=l;M&&typeof R>"u"&&(R=M.disabled);const I=_==="checkbox"||_==="radio",B={...e,checked:k,disabled:R,disableFocusRipple:u,edge:c},$=Vot(B);return C.jsxs(Got,{component:"span",className:Oe($.root,s),centerRipple:!0,focusRipple:!u,disabled:R,tabIndex:null,role:void 0,onFocus:A,onBlur:P,ownerState:B,ref:n,...O,children:[C.jsx(Hot,{autoFocus:r,checked:i,defaultChecked:a,className:$.input,disabled:R,id:I?d:void 0,name:g,onChange:T,readOnly:x,ref:p,required:b,ownerState:B,tabIndex:w,type:_,..._==="checkbox"&&S===void 0?{}:{value:S},...h}),k?o:f]})}),qot=ut(C.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Xot=ut(C.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Yot=ut(C.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Qot(t){return Ye("MuiCheckbox",t)}const Kot=qe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),tW=Kot,Zot=t=>{const{classes:e,indeterminate:n,color:r,size:i}=t,o={root:["root",n&&"indeterminate",`color${De(r)}`,`size${De(i)}`]},s=Xe(o,Qot,e);return{...e,...s}},Jot=be(Cee,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.indeterminate&&e.indeterminate,e[`size${De(n.size)}`],n.color!=="default"&&e[`color${De(n.color)}`]]}})(kt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e].main,t.palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{[`&.${tW.checked}, &.${tW.indeterminate}`]:{color:(t.vars||t).palette[e].main},[`&.${tW.disabled}`]:{color:(t.vars||t).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),est=C.jsx(Xot,{}),tst=C.jsx(qot,{}),nst=C.jsx(Yot,{}),$F=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCheckbox"}),{checkedIcon:i=est,color:o="primary",icon:s=tst,indeterminate:a=!1,indeterminateIcon:l=nst,inputProps:u,size:c="medium",disableRipple:f=!1,className:d,...h}=r,p=a?l:s,g=a?l:i,m={...r,disableRipple:f,color:o,indeterminate:a,size:c},v=Zot(m);return C.jsx(Jot,{type:"checkbox",inputProps:{"data-indeterminate":a,...u},icon:D.cloneElement(p,{fontSize:p.props.fontSize??c}),checkedIcon:D.cloneElement(g,{fontSize:g.props.fontSize??c}),ownerState:m,ref:n,className:Oe(v.root,d),disableRipple:f,...h,classes:v})});function rst(t){return Ye("MuiCircularProgress",t)}qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const lm=44,VH=SM` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`,GH=SM` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`,ist=typeof VH!="string"?KJ` + animation: ${VH} 1.4s linear infinite; + `:null,ost=typeof GH!="string"?KJ` + animation: ${GH} 1.4s ease-in-out infinite; + `:null,sst=t=>{const{classes:e,variant:n,color:r,disableShrink:i}=t,o={root:["root",n,`color${De(r)}`],svg:["svg"],circle:["circle",`circle${De(n)}`,i&&"circleDisableShrink"]};return Xe(o,rst,e)},ast=be("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`color${De(n.color)}`]]}})(kt(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ist||{animation:`${VH} 1.4s linear infinite`}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),lst=be("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),ust=be("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.circle,e[`circle${De(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})(kt(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink,style:ost||{animation:`${GH} 1.4s ease-in-out infinite`}}]}))),q1=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:f="indeterminate",...d}=r,h={...r,color:o,disableShrink:s,size:a,thickness:u,value:c,variant:f},p=sst(h),g={},m={},v={};if(f==="determinate"){const y=2*Math.PI*((lm-u)/2);g.strokeDasharray=y.toFixed(3),v["aria-valuenow"]=Math.round(c),g.strokeDashoffset=`${((100-c)/100*y).toFixed(3)}px`,m.transform="rotate(-90deg)"}return C.jsx(ast,{className:Oe(p.root,i),style:{width:a,height:a,...m,...l},ownerState:h,ref:n,role:"progressbar",...v,...d,children:C.jsx(lst,{className:p.svg,ownerState:h,viewBox:`${lm/2} ${lm/2} ${lm} ${lm}`,children:C.jsx(ust,{className:p.circle,style:g,ownerState:h,cx:lm,cy:lm,r:(lm-u)/2,fill:"none",strokeWidth:u})})})});function ode(t){return t.substring(2).toLowerCase()}function cst(t,e){return e.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=dn(Py(e),a),f=st(p=>{const g=u.current;u.current=!1;const m=mi(a.current);if(!l.current||!a.current||"clientX"in p&&cst(p,m))return;if(s.current){s.current=!1;return}let v;p.composedPath?v=p.composedPath().includes(a.current):v=!m.documentElement.contains(p.target)||a.current.contains(p.target),!v&&(n||!g)&&i(p)}),d=p=>g=>{u.current=!0;const m=e.props[p];m&&m(g)},h={ref:c};return o!==!1&&(h[o]=d(o)),D.useEffect(()=>{if(o!==!1){const p=ode(o),g=mi(a.current),m=()=>{s.current=!0};return g.addEventListener(p,f),g.addEventListener("touchmove",m),()=>{g.removeEventListener(p,f),g.removeEventListener("touchmove",m)}}},[f,o]),r!==!1&&(h[r]=d(r)),D.useEffect(()=>{if(r!==!1){const p=ode(r),g=mi(a.current);return g.addEventListener(p,f),()=>{g.removeEventListener(p,f)}}},[f,r]),C.jsx(D.Fragment,{children:D.cloneElement(e,h)})}const HH=typeof uee({})=="function",dst=(t,e)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...e&&!t.vars&&{colorScheme:t.palette.mode}}),hst=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),DAe=(t,e=!1)=>{var o,s;const n={};e&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([a,l])=>{var c,f;const u=t.getColorSchemeSelector(a);u.startsWith("@")?n[u]={":root":{colorScheme:(c=l.palette)==null?void 0:c.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:(f=l.palette)==null?void 0:f.mode}});let r={html:dst(t,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...hst(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...n};const i=(s=(o=t.components)==null?void 0:o.MuiCssBaseline)==null?void 0:s.styleOverrides;return i&&(r=[r,i]),r},o3="mui-ecs",pst=t=>{const e=DAe(t,!1),n=Array.isArray(e)?e[0]:e;return!t.vars&&n&&(n.html[`:root:has(${o3})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([r,i])=>{var s,a;const o=t.getColorSchemeSelector(r);o.startsWith("@")?n[o]={[`:root:not(:has(.${o3}))`]:{colorScheme:(s=i.palette)==null?void 0:s.mode}}:n[o.replace(/\s*&/,"")]={[`&:not(:has(.${o3}))`]:{colorScheme:(a=i.palette)==null?void 0:a.mode}}}),e},gst=uee(HH?({theme:t,enableColorScheme:e})=>DAe(t,e):({theme:t})=>pst(t));function mst(t){const e=wt({props:t,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=e;return C.jsxs(D.Fragment,{children:[HH&&C.jsx(gst,{enableColorScheme:r}),!HH&&!r&&C.jsx("span",{className:o3,style:{display:"none"}}),n]})}function vst(t){const e=mi(t);return e.body===t?xu(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function QT(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function sde(t){return parseInt(xu(t).getComputedStyle(t).paddingRight,10)||0}function yst(t){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(t.tagName),r=t.tagName==="INPUT"&&t.getAttribute("type")==="hidden";return n||r}function ade(t,e,n,r,i){const o=[e,n,...r];[].forEach.call(t.children,s=>{const a=!o.includes(s),l=!yst(s);a&&l&&QT(s,i)})}function nW(t,e){let n=-1;return t.some((r,i)=>e(r)?(n=i,!0):!1),n}function xst(t,e){const n=[],r=t.container;if(!e.disableScrollLock){if(vst(r)){const s=Zke(xu(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${sde(r)+s}px`;const a=mi(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${sde(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=mi(r).body;else{const s=r.parentElement,a=xu(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function bst(t){const e=[];return[].forEach.call(t.children,n=>{n.getAttribute("aria-hidden")==="true"&&e.push(n)}),e}class wst{constructor(){this.modals=[],this.containers=[]}add(e,n){let r=this.modals.indexOf(e);if(r!==-1)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&QT(e.modalRef,!1);const i=bst(n);ade(n,e.mount,e.modalRef,i,!0);const o=nW(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:n,restore:null,hiddenSiblings:i}),r)}mount(e,n){const r=nW(this.containers,o=>o.modals.includes(e)),i=this.containers[r];i.restore||(i.restore=xst(i,n))}remove(e,n=!0){const r=this.modals.indexOf(e);if(r===-1)return r;const i=nW(this.containers,s=>s.modals.includes(e)),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),e.modalRef&&QT(e.modalRef,n),ade(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&QT(s.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const _st=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Sst(t){const e=parseInt(t.getAttribute("tabindex")||"",10);return Number.isNaN(e)?t.contentEditable==="true"||(t.nodeName==="AUDIO"||t.nodeName==="VIDEO"||t.nodeName==="DETAILS")&&t.getAttribute("tabindex")===null?0:t.tabIndex:e}function Cst(t){if(t.tagName!=="INPUT"||t.type!=="radio"||!t.name)return!1;const e=r=>t.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=e(`[name="${t.name}"]:checked`);return n||(n=e(`[name="${t.name}"]`)),n!==t}function Ost(t){return!(t.disabled||t.tagName==="INPUT"&&t.type==="hidden"||Cst(t))}function Est(t){const e=[],n=[];return Array.from(t.querySelectorAll(_st)).forEach((r,i)=>{const o=Sst(r);o===-1||!Ost(r)||(o===0?e.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(e)}function Tst(){return!0}function IAe(t){const{children:e,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=Est,isEnabled:s=Tst,open:a}=t,l=D.useRef(!1),u=D.useRef(null),c=D.useRef(null),f=D.useRef(null),d=D.useRef(null),h=D.useRef(!1),p=D.useRef(null),g=dn(Py(e),p),m=D.useRef(null);D.useEffect(()=>{!a||!p.current||(h.current=!n)},[n,a]),D.useEffect(()=>{if(!a||!p.current)return;const x=mi(p.current);return p.current.contains(x.activeElement)||(p.current.hasAttribute("tabIndex")||p.current.setAttribute("tabIndex","-1"),h.current&&p.current.focus()),()=>{i||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[a]),D.useEffect(()=>{if(!a||!p.current)return;const x=mi(p.current),b=S=>{m.current=S,!(r||!s()||S.key!=="Tab")&&x.activeElement===p.current&&S.shiftKey&&(l.current=!0,c.current&&c.current.focus())},w=()=>{var k,E;const S=p.current;if(S===null)return;if(!x.hasFocus()||!s()||l.current){l.current=!1;return}if(S.contains(x.activeElement)||r&&x.activeElement!==u.current&&x.activeElement!==c.current)return;if(x.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!h.current)return;let O=[];if((x.activeElement===u.current||x.activeElement===c.current)&&(O=o(p.current)),O.length>0){const M=!!((k=m.current)!=null&&k.shiftKey&&((E=m.current)==null?void 0:E.key)==="Tab"),A=O[0],P=O[O.length-1];typeof A!="string"&&typeof P!="string"&&(M?P.focus():A.focus())}else S.focus()};x.addEventListener("focusin",w),x.addEventListener("keydown",b,!0);const _=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&w()},50);return()=>{clearInterval(_),x.removeEventListener("focusin",w),x.removeEventListener("keydown",b,!0)}},[n,r,i,s,a,o]);const v=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0,d.current=x.target;const b=e.props.onFocus;b&&b(x)},y=x=>{f.current===null&&(f.current=x.relatedTarget),h.current=!0};return C.jsxs(D.Fragment,{children:[C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),D.cloneElement(e,{ref:g,onFocus:v}),C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function kst(t){return typeof t=="function"?t():t}function Ast(t){return t?t.props.hasOwnProperty("in"):!1}const KD=new wst;function Pst(t){const{container:e,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:o,onTransitionExited:s,children:a,onClose:l,open:u,rootRef:c}=t,f=D.useRef({}),d=D.useRef(null),h=D.useRef(null),p=dn(h,c),[g,m]=D.useState(!u),v=Ast(a);let y=!0;(t["aria-hidden"]==="false"||t["aria-hidden"]===!1)&&(y=!1);const x=()=>mi(d.current),b=()=>(f.current.modalRef=h.current,f.current.mount=d.current,f.current),w=()=>{KD.mount(b(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},_=st(()=>{const R=kst(e)||x().body;KD.add(b(),R),h.current&&w()}),S=()=>KD.isTopModal(b()),O=st(R=>{d.current=R,R&&(u&&S()?w():h.current&&QT(h.current,y))}),k=D.useCallback(()=>{KD.remove(b(),y)},[y]);D.useEffect(()=>()=>{k()},[k]),D.useEffect(()=>{u?_():(!v||!i)&&k()},[u,k,v,i,_]);const E=R=>I=>{var B;(B=R.onKeyDown)==null||B.call(R,I),!(I.key!=="Escape"||I.which===229||!S())&&(n||(I.stopPropagation(),l&&l(I,"escapeKeyDown")))},M=R=>I=>{var B;(B=R.onClick)==null||B.call(R,I),I.target===I.currentTarget&&l&&l(I,"backdropClick")};return{getRootProps:(R={})=>{const I=Ex(t);delete I.onTransitionEnter,delete I.onTransitionExited;const B={...I,...R};return{role:"presentation",...B,onKeyDown:E(B),ref:p}},getBackdropProps:(R={})=>{const I=R;return{"aria-hidden":!0,...I,onClick:M(I),open:u}},getTransitionProps:()=>{const R=()=>{m(!1),o&&o()},I=()=>{m(!0),s&&s(),i&&k()};return{onEnter:LH(R,a==null?void 0:a.props.onEnter),onExited:LH(I,a==null?void 0:a.props.onExited)}},rootRef:p,portalRef:O,isTopModal:S,exited:g,hasTransition:v}}function Mst(t){return Ye("MuiModal",t)}qe("MuiModal",["root","hidden","backdrop"]);const Rst=t=>{const{open:e,exited:n,classes:r}=t;return Xe({root:["root",!e&&n&&"hidden"],backdrop:["backdrop"]},Mst,r)},Dst=be("div",{name:"MuiModal",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.open&&n.exited&&e.hidden]}})(kt(({theme:t})=>({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),Ist=be(kAe,{name:"MuiModal",slot:"Backdrop",overridesResolver:(t,e)=>e.backdrop})({zIndex:-1}),LAe=D.forwardRef(function(e,n){const r=wt({name:"MuiModal",props:e}),{BackdropComponent:i=Ist,BackdropProps:o,classes:s,className:a,closeAfterTransition:l=!1,children:u,container:c,component:f,components:d={},componentsProps:h={},disableAutoFocus:p=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:m=!1,disablePortal:v=!1,disableRestoreFocus:y=!1,disableScrollLock:x=!1,hideBackdrop:b=!1,keepMounted:w=!1,onBackdropClick:_,onClose:S,onTransitionEnter:O,onTransitionExited:k,open:E,slotProps:M={},slots:A={},theme:P,...T}=r,R={...r,closeAfterTransition:l,disableAutoFocus:p,disableEnforceFocus:g,disableEscapeKeyDown:m,disablePortal:v,disableRestoreFocus:y,disableScrollLock:x,hideBackdrop:b,keepMounted:w},{getRootProps:I,getBackdropProps:B,getTransitionProps:$,portalRef:z,isTopModal:L,exited:j,hasTransition:N}=Pst({...R,rootRef:n}),F={...R,exited:j},H=Rst(F),q={};if(u.props.tabIndex===void 0&&(q.tabIndex="-1"),N){const{onEnter:te,onExited:ae}=$();q.onEnter=te,q.onExited=ae}const Y={...T,slots:{root:d.Root,backdrop:d.Backdrop,...A},slotProps:{...h,...M}},[le,K]=Zl("root",{elementType:Dst,externalForwardedProps:Y,getSlotProps:I,additionalProps:{ref:n,as:f},ownerState:F,className:Oe(a,H==null?void 0:H.root,!F.open&&F.exited&&(H==null?void 0:H.hidden))}),[ee,re]=Zl("backdrop",{elementType:i,externalForwardedProps:Y,additionalProps:o,getSlotProps:te=>B({...te,onClick:ae=>{_&&_(ae),te!=null&&te.onClick&&te.onClick(ae)}}),className:Oe(o==null?void 0:o.className,H==null?void 0:H.backdrop),ownerState:F}),ge=dn(o==null?void 0:o.ref,re.ref);return!w&&!E&&(!N||j)?null:C.jsx(EAe,{ref:z,container:c,disablePortal:v,children:C.jsxs(le,{...K,children:[!b&&i?C.jsx(ee,{...re,ref:ge}):null,C.jsx(IAe,{disableEnforceFocus:g,disableAutoFocus:p,disableRestoreFocus:y,isEnabled:L,open:E,children:D.cloneElement(u,q)})]})})});function Lst(t){return Ye("MuiDialog",t)}const $st=qe("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),KT=$st,$Ae=D.createContext({}),Fst=be(kAe,{name:"MuiDialog",slot:"Backdrop",overrides:(t,e)=>e.backdrop})({zIndex:-1}),Nst=t=>{const{classes:e,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=t,s={root:["root"],container:["container",`scroll${De(n)}`],paper:["paper",`paperScroll${De(n)}`,`paperWidth${De(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return Xe(s,Lst,e)},zst=be(LAe,{name:"MuiDialog",slot:"Root",overridesResolver:(t,e)=>e.root})({"@media print":{position:"absolute !important"}}),jst=be("div",{name:"MuiDialog",slot:"Container",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.container,e[`scroll${De(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Bst=be(Tl,{name:"MuiDialog",slot:"Paper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.paper,e[`scrollPaper${De(n.scroll)}`],e[`paperWidth${De(String(n.maxWidth))}`],n.fullWidth&&e.paperFullWidth,n.fullScreen&&e.paperFullScreen]}})(kt(({theme:t})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:t.breakpoints.unit==="px"?Math.max(t.breakpoints.values.xs,444):`max(${t.breakpoints.values.xs}${t.breakpoints.unit}, 444px)`,[`&.${KT.paperScrollBody}`]:{[t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(t.breakpoints.values).filter(e=>e!=="xs").map(e=>({props:{maxWidth:e},style:{maxWidth:`${t.breakpoints.values[e]}${t.breakpoints.unit}`,[`&.${KT.paperScrollBody}`]:{[t.breakpoints.down(t.breakpoints.values[e]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${KT.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ed=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDialog"}),i=$a(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":a,"aria-modal":l=!0,BackdropComponent:u,BackdropProps:c,children:f,className:d,disableEscapeKeyDown:h=!1,fullScreen:p=!1,fullWidth:g=!1,maxWidth:m="sm",onBackdropClick:v,onClick:y,onClose:x,open:b,PaperComponent:w=Tl,PaperProps:_={},scroll:S="paper",TransitionComponent:O=qC,transitionDuration:k=o,TransitionProps:E,...M}=r,A={...r,disableEscapeKeyDown:h,fullScreen:p,fullWidth:g,maxWidth:m,scroll:S},P=Nst(A),T=D.useRef(),R=z=>{T.current=z.target===z.currentTarget},I=z=>{y&&y(z),T.current&&(T.current=null,v&&v(z),x&&x(z,"backdropClick"))},B=Jf(a),$=D.useMemo(()=>({titleId:B}),[B]);return C.jsx(zst,{className:Oe(P.root,d),closeAfterTransition:!0,components:{Backdrop:Fst},componentsProps:{backdrop:{transitionDuration:k,as:u,...c}},disableEscapeKeyDown:h,onClose:x,open:b,ref:n,onClick:I,ownerState:A,...M,children:C.jsx(O,{appear:!0,in:b,timeout:k,role:"presentation",...E,children:C.jsx(jst,{className:Oe(P.container),onMouseDown:R,ownerState:A,children:C.jsx(Bst,{as:w,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":B,"aria-modal":l,..._,className:Oe(P.paper,_.className),ownerState:A,children:C.jsx($Ae.Provider,{value:$,children:f})})})})})});function Ust(t){return Ye("MuiDialogActions",t)}qe("MuiDialogActions",["root","spacing"]);const Wst=t=>{const{classes:e,disableSpacing:n}=t;return Xe({root:["root",!n&&"spacing"]},Ust,e)},Vst=be("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableSpacing&&e.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:t})=>!t.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),X1=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1,...s}=r,a={...r,disableSpacing:o},l=Wst(a);return C.jsx(Vst,{className:Oe(l.root,i),ownerState:a,ref:n,...s})});function Gst(t){return Ye("MuiDialogContent",t)}qe("MuiDialogContent",["root","dividers"]);function Hst(t){return Ye("MuiDialogTitle",t)}const qst=qe("MuiDialogTitle",["root"]),Xst=t=>{const{classes:e,dividers:n}=t;return Xe({root:["root",n&&"dividers"]},Gst,e)},Yst=be("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.dividers&&e.dividers]}})(kt(({theme:t})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(t.vars||t).palette.divider}`,borderBottom:`1px solid ${(t.vars||t).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${qst.root} + &`]:{paddingTop:0}}}]}))),zf=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDialogContent"}),{className:i,dividers:o=!1,...s}=r,a={...r,dividers:o},l=Xst(a);return C.jsx(Yst,{className:Oe(l.root,i),ownerState:a,ref:n,...s})});function Qst(t){return Ye("MuiDialogContentText",t)}qe("MuiDialogContentText",["root"]);const Kst=t=>{const{classes:e}=t,r=Xe({root:["root"]},Qst,e);return{...e,...r}},Zst=be(Jt,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Jst=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDialogContentText"}),{children:i,className:o,...s}=r,a=Kst(s);return C.jsx(Zst,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:s,className:Oe(a.root,o),...r,classes:a})}),eat=t=>{const{classes:e}=t;return Xe({root:["root"]},Hst,e)},tat=be(Jt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:"16px 24px",flex:"0 0 auto"}),Dy=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDialogTitle"}),{className:i,id:o,...s}=r,a=r,l=eat(a),{titleId:u=o}=D.useContext($Ae);return C.jsx(tat,{component:"h2",className:Oe(l.root,i),ownerState:a,ref:n,variant:"h6",id:o??u,...s})});function nat(t){return Ye("MuiDivider",t)}const rat=qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),lde=rat,iat=t=>{const{absolute:e,children:n,classes:r,flexItem:i,light:o,orientation:s,textAlign:a,variant:l}=t;return Xe({root:["root",e&&"absolute",l,o&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},nat,r)},oat=be("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,n.orientation==="vertical"&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&n.orientation==="vertical"&&e.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&e.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&e.textAlignLeft]}})(kt(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:Tt(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),sat=be("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.wrapper,n.orientation==="vertical"&&e.wrapperVertical]}})(kt(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),Sh=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiDivider"}),{absolute:i=!1,children:o,className:s,orientation:a="horizontal",component:l=o||a==="vertical"?"div":"hr",flexItem:u=!1,light:c=!1,role:f=l!=="hr"?"separator":void 0,textAlign:d="center",variant:h="fullWidth",...p}=r,g={...r,absolute:i,component:l,flexItem:u,light:c,orientation:a,role:f,textAlign:d,variant:h},m=iat(g);return C.jsx(oat,{as:l,className:Oe(m.root,s),role:f,ref:n,ownerState:g,"aria-orientation":f==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...p,children:o?C.jsx(sat,{className:m.wrapper,ownerState:g,children:o}):null})});Sh&&(Sh.muiSkipListHighlight=!0);function aat(t,e,n){const r=e.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=xu(e);let s;if(e.fakeTransform)s=e.fakeTransform;else{const u=o.getComputedStyle(e);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return t==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:t==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:t==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function lat(t){return typeof t=="function"?t():t}function ZD(t,e,n){const r=lat(n),i=aat(t,e,r);i&&(e.style.webkitTransform=i,e.style.transform=i)}const uat=D.forwardRef(function(e,n){const r=$a(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:f=i,in:d,onEnter:h,onEntered:p,onEntering:g,onExit:m,onExited:v,onExiting:y,style:x,timeout:b=o,TransitionComponent:w=Ru,..._}=e,S=D.useRef(null),O=dn(Py(l),S,n),k=$=>z=>{$&&(z===void 0?$(S.current):$(S.current,z))},E=k(($,z)=>{ZD(c,$,u),pee($),h&&h($,z)}),M=k(($,z)=>{const L=Zv({timeout:b,style:x,easing:f},{mode:"enter"});$.style.webkitTransition=r.transitions.create("-webkit-transform",{...L}),$.style.transition=r.transitions.create("transform",{...L}),$.style.webkitTransform="none",$.style.transform="none",g&&g($,z)}),A=k(p),P=k(y),T=k($=>{const z=Zv({timeout:b,style:x,easing:f},{mode:"exit"});$.style.webkitTransition=r.transitions.create("-webkit-transform",z),$.style.transition=r.transitions.create("transform",z),ZD(c,$,u),m&&m($)}),R=k($=>{$.style.webkitTransition="",$.style.transition="",v&&v($)}),I=$=>{s&&s(S.current,$)},B=D.useCallback(()=>{S.current&&ZD(c,S.current,u)},[c,u]);return D.useEffect(()=>{if(d||c==="down"||c==="right")return;const $=TM(()=>{S.current&&ZD(c,S.current,u)}),z=xu(S.current);return z.addEventListener("resize",$),()=>{$.clear(),z.removeEventListener("resize",$)}},[c,d,u]),D.useEffect(()=>{d||B()},[d,B]),C.jsx(w,{nodeRef:S,onEnter:E,onEntered:A,onEntering:M,onExit:T,onExited:R,onExiting:P,addEndListener:I,appear:a,in:d,timeout:b,..._,children:($,z)=>D.cloneElement(l,{ref:O,style:{visibility:$==="exited"&&!d?"hidden":void 0,...x,...l.props.style},...z})})}),cat=t=>{const{classes:e,disableUnderline:n,startAdornment:r,endAdornment:i,size:o,hiddenLabel:s,multiline:a}=t,l={root:["root",!n&&"underline",r&&"adornedStart",i&&"adornedEnd",o==="small"&&`size${De(o)}`,s&&"hiddenLabel",a&&"multiline"],input:["input"]},u=Xe(l,Kit,e);return{...e,...u}},fat=be(v4,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...g4(t,e),!n.disableUnderline&&e.underline]}})(kt(({theme:t})=>{const e=t.palette.mode==="light",n=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r}},[`&.${l0.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r},[`&.${l0.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${l0.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${l0.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${l0.disabled}, .${l0.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${l0.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(di()).map(([s])=>{var a;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(a=(t.vars||t).palette[s])==null?void 0:a.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:a})=>s.multiline&&a==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),dat=be(y4,{name:"MuiFilledInput",slot:"Input",overridesResolver:m4})(kt(({theme:t})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&e.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),FF=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFilledInput"}),{disableUnderline:i=!1,components:o={},componentsProps:s,fullWidth:a=!1,hiddenLabel:l,inputComponent:u="input",multiline:c=!1,slotProps:f,slots:d={},type:h="text",...p}=r,g={...r,disableUnderline:i,fullWidth:a,inputComponent:u,multiline:c,type:h},m=cat(r),v={root:{ownerState:g},input:{ownerState:g}},y=f??s?Bo(v,f??s):v,x=d.root??o.Root??fat,b=d.input??o.Input??dat;return C.jsx(See,{slots:{root:x,input:b},componentsProps:y,fullWidth:a,inputComponent:u,multiline:c,ref:n,type:h,...p,classes:m})});FF&&(FF.muiName="Input");function hat(t){return Ye("MuiFormControl",t)}qe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const pat=t=>{const{classes:e,margin:n,fullWidth:r}=t,i={root:["root",n!=="none"&&`margin${De(n)}`,r&&"fullWidth"]};return Xe(i,hat,e)},gat=be("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:t},e)=>({...e.root,...e[`margin${De(t.margin)}`],...t.fullWidth&&e.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Wg=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFormControl"}),{children:i,className:o,color:s="primary",component:a="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:d=!1,margin:h="none",required:p=!1,size:g="medium",variant:m="outlined",...v}=r,y={...r,color:s,component:a,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:h,required:p,size:g,variant:m},x=pat(y),[b,w]=D.useState(()=>{let P=!1;return i&&D.Children.forEach(i,T=>{if(!r3(T,["Input","Select"]))return;const R=r3(T,["Select"])?T.props.input:T;R&&Vit(R.props)&&(P=!0)}),P}),[_,S]=D.useState(()=>{let P=!1;return i&&D.Children.forEach(i,T=>{r3(T,["Input","Select"])&&(IF(T.props,!0)||IF(T.props.inputProps,!0))&&(P=!0)}),P}),[O,k]=D.useState(!1);l&&O&&k(!1);const E=c!==void 0&&!l?c:O;let M;D.useRef(!1);const A=D.useMemo(()=>({adornedStart:b,setAdornedStart:w,color:s,disabled:l,error:u,filled:_,focused:E,fullWidth:f,hiddenLabel:d,size:g,onBlur:()=>{k(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{k(!0)},registerEffect:M,required:p,variant:m}),[b,s,l,u,_,E,f,d,M,p,g,m]);return C.jsx(p4.Provider,{value:A,children:C.jsx(gat,{as:a,ownerState:y,className:Oe(x.root,o),ref:n,...v,children:i})})});function mat(t){return Ye("MuiFormControlLabel",t)}const Y2=qe("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),vat=t=>{const{classes:e,disabled:n,labelPlacement:r,error:i,required:o}=t,s={root:["root",n&&"disabled",`labelPlacement${De(r)}`,i&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return Xe(s,mat,e)},yat=be("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${Y2.label}`]:e.label},e.root,e[`labelPlacement${De(n.labelPlacement)}`]]}})(kt(({theme:t})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Y2.disabled}`]:{cursor:"default"},[`& .${Y2.label}`]:{[`&.${Y2.disabled}`]:{color:(t.vars||t).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>e==="start"||e==="top"||e==="bottom",style:{marginLeft:16}}]}))),xat=be("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(kt(({theme:t})=>({[`&.${Y2.error}`]:{color:(t.vars||t).palette.error.main}}))),kx=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFormControlLabel"}),{checked:i,className:o,componentsProps:s={},control:a,disabled:l,disableTypography:u,inputRef:c,label:f,labelPlacement:d="end",name:h,onChange:p,required:g,slots:m={},slotProps:v={},value:y,...x}=r,b=Fa(),w=l??a.props.disabled??(b==null?void 0:b.disabled),_=g??a.props.required,S={disabled:w,required:_};["checked","name","onChange","value","inputRef"].forEach(R=>{typeof a.props[R]>"u"&&typeof r[R]<"u"&&(S[R]=r[R])});const O=Ry({props:r,muiFormControl:b,states:["error"]}),k={...r,disabled:w,labelPlacement:d,required:_,error:O.error},E=vat(k),M={slots:m,slotProps:{...s,...v}},[A,P]=Zl("typography",{elementType:Jt,externalForwardedProps:M,ownerState:k});let T=f;return T!=null&&T.type!==Jt&&!u&&(T=C.jsx(A,{component:"span",...P,className:Oe(E.label,P==null?void 0:P.className),children:T})),C.jsxs(yat,{className:Oe(E.root,o),ownerState:k,ref:n,...x,children:[D.cloneElement(a,S),_?C.jsxs("div",{children:[T,C.jsxs(xat,{ownerState:k,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]}):T]})});function bat(t){return Ye("MuiFormGroup",t)}qe("MuiFormGroup",["root","row","error"]);const wat=t=>{const{classes:e,row:n,error:r}=t;return Xe({root:["root",n&&"row",r&&"error"]},bat,e)},_at=be("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.row&&e.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),Sat=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFormGroup"}),{className:i,row:o=!1,...s}=r,a=Fa(),l=Ry({props:r,muiFormControl:a,states:["error"]}),u={...r,row:o,error:l.error},c=wat(u);return C.jsx(_at,{className:Oe(c.root,i),ownerState:u,ref:n,...s})});function Cat(t){return Ye("MuiFormHelperText",t)}const Oat=qe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),ude=Oat;var cde;const Eat=t=>{const{classes:e,contained:n,size:r,disabled:i,error:o,filled:s,focused:a,required:l}=t,u={root:["root",i&&"disabled",o&&"error",r&&`size${De(r)}`,n&&"contained",a&&"focused",s&&"filled",l&&"required"]};return Xe(u,Cat,e)},Tat=be("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size&&e[`size${De(n.size)}`],n.contained&&e.contained,n.filled&&e.filled]}})(kt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${ude.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${ude.error}`]:{color:(t.vars||t).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),Oee=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFormHelperText"}),{children:i,className:o,component:s="p",disabled:a,error:l,filled:u,focused:c,margin:f,required:d,variant:h,...p}=r,g=Fa(),m=Ry({props:r,muiFormControl:g,states:["variant","size","disabled","error","filled","focused","required"]}),v={...r,component:s,contained:m.variant==="filled"||m.variant==="outlined",variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete v.ownerState;const y=Eat(v);return C.jsx(Tat,{as:s,className:Oe(y.root,o),ref:n,...p,ownerState:v,children:i===" "?cde||(cde=C.jsx("span",{className:"notranslate",children:"​"})):i})});function kat(t){return Ye("MuiFormLabel",t)}const ZT=qe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Aat=t=>{const{classes:e,color:n,focused:r,disabled:i,error:o,filled:s,required:a}=t,l={root:["root",`color${De(n)}`,i&&"disabled",o&&"error",s&&"filled",r&&"focused",a&&"required"],asterisk:["asterisk",o&&"error"]};return Xe(l,kat,e)},Pat=be("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:t},e)=>({...e.root,...t.color==="secondary"&&e.colorSecondary,...t.filled&&e.filled})})(kt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,...t.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{[`&.${ZT.focused}`]:{color:(t.vars||t).palette[e].main}}})),{props:{},style:{[`&.${ZT.disabled}`]:{color:(t.vars||t).palette.text.disabled},[`&.${ZT.error}`]:{color:(t.vars||t).palette.error.main}}}]}))),Mat=be("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(t,e)=>e.asterisk})(kt(({theme:t})=>({[`&.${ZT.error}`]:{color:(t.vars||t).palette.error.main}}))),Rat=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiFormLabel"}),{children:i,className:o,color:s,component:a="label",disabled:l,error:u,filled:c,focused:f,required:d,...h}=r,p=Fa(),g=Ry({props:r,muiFormControl:p,states:["color","required","focused","disabled","error","filled"]}),m={...r,color:g.color||"primary",component:a,disabled:g.disabled,error:g.error,filled:g.filled,focused:g.focused,required:g.required},v=Aat(m);return C.jsxs(Pat,{as:a,ownerState:m,className:Oe(v.root,o),ref:n,...h,children:[i,g.required&&C.jsxs(Mat,{ownerState:m,"aria-hidden":!0,className:v.asterisk,children:[" ","*"]})]})}),fde=D.createContext();function Dat(t){return Ye("MuiGrid",t)}const Iat=[0,1,2,3,4,5,6,7,8,9,10],Lat=["column-reverse","column","row-reverse","row"],$at=["nowrap","wrap-reverse","wrap"],AE=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],oA=qe("MuiGrid",["root","container","item","zeroMinWidth",...Iat.map(t=>`spacing-xs-${t}`),...Lat.map(t=>`direction-xs-${t}`),...$at.map(t=>`wrap-xs-${t}`),...AE.map(t=>`grid-xs-${t}`),...AE.map(t=>`grid-sm-${t}`),...AE.map(t=>`grid-md-${t}`),...AE.map(t=>`grid-lg-${t}`),...AE.map(t=>`grid-xl-${t}`)]);function Fat({theme:t,ownerState:e}){let n;return t.breakpoints.keys.reduce((r,i)=>{let o={};if(e[i]&&(n=e[i]),!n)return r;if(n===!0)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=Gj({values:e.columns,breakpoints:t.breakpoints.values}),a=typeof s=="object"?s[i]:s;if(a==null)return r;const l=`${Math.round(n/a*1e8)/1e6}%`;let u={};if(e.container&&e.item&&e.columnSpacing!==0){const c=t.spacing(e.columnSpacing);if(c!=="0px"){const f=`calc(${l} + ${c})`;u={flexBasis:f,maxWidth:f}}}o={flexBasis:l,flexGrow:0,maxWidth:l,...u}}return t.breakpoints.values[i]===0?Object.assign(r,o):r[t.breakpoints.up(i)]=o,r},{})}function Nat({theme:t,ownerState:e}){const n=Gj({values:e.direction,breakpoints:t.breakpoints.values});return _c({theme:t},n,r=>{const i={flexDirection:r};return r.startsWith("column")&&(i[`& > .${oA.item}`]={maxWidth:"none"}),i})}function FAe({breakpoints:t,values:e}){let n="";Object.keys(e).forEach(i=>{n===""&&e[i]!==0&&(n=i)});const r=Object.keys(t).sort((i,o)=>t[i]-t[o]);return r.slice(0,r.indexOf(n))}function zat({theme:t,ownerState:e}){const{container:n,rowSpacing:r}=e;let i={};if(n&&r!==0){const o=Gj({values:r,breakpoints:t.breakpoints.values});let s;typeof o=="object"&&(s=FAe({breakpoints:t.breakpoints.values,values:o})),i=_c({theme:t},o,(a,l)=>{const u=t.spacing(a);return u!=="0px"?{marginTop:t.spacing(-a),[`& > .${oA.item}`]:{paddingTop:u}}:s!=null&&s.includes(l)?{}:{marginTop:0,[`& > .${oA.item}`]:{paddingTop:0}}})}return i}function jat({theme:t,ownerState:e}){const{container:n,columnSpacing:r}=e;let i={};if(n&&r!==0){const o=Gj({values:r,breakpoints:t.breakpoints.values});let s;typeof o=="object"&&(s=FAe({breakpoints:t.breakpoints.values,values:o})),i=_c({theme:t},o,(a,l)=>{const u=t.spacing(a);if(u!=="0px"){const c=t.spacing(-a);return{width:`calc(100% + ${u})`,marginLeft:c,[`& > .${oA.item}`]:{paddingLeft:u}}}return s!=null&&s.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${oA.item}`]:{paddingLeft:0}}})}return i}function Bat(t,e,n={}){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[n[`spacing-xs-${String(t)}`]];const r=[];return e.forEach(i=>{const o=t[i];Number(o)>0&&r.push(n[`spacing-${i}-${String(o)}`])}),r}const Uat=be("div",{name:"MuiGrid",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t,{container:r,direction:i,item:o,spacing:s,wrap:a,zeroMinWidth:l,breakpoints:u}=n;let c=[];r&&(c=Bat(s,u,e));const f=[];return u.forEach(d=>{const h=n[d];h&&f.push(e[`grid-${d}-${String(h)}`])}),[e.root,r&&e.container,o&&e.item,l&&e.zeroMinWidth,...c,i!=="row"&&e[`direction-xs-${String(i)}`],a!=="wrap"&&e[`wrap-xs-${String(a)}`],...f]}})(({ownerState:t})=>({boxSizing:"border-box",...t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...t.item&&{margin:0},...t.zeroMinWidth&&{minWidth:0},...t.wrap!=="wrap"&&{flexWrap:t.wrap}}),Nat,zat,jat,Fat);function Wat(t,e){if(!t||t<=0)return[];if(typeof t=="string"&&!Number.isNaN(Number(t))||typeof t=="number")return[`spacing-xs-${String(t)}`];const n=[];return e.forEach(r=>{const i=t[r];if(Number(i)>0){const o=`spacing-${r}-${String(i)}`;n.push(o)}}),n}const Vat=t=>{const{classes:e,container:n,direction:r,item:i,spacing:o,wrap:s,zeroMinWidth:a,breakpoints:l}=t;let u=[];n&&(u=Wat(o,l));const c=[];l.forEach(d=>{const h=t[d];h&&c.push(`grid-${d}-${String(h)}`)});const f={root:["root",n&&"container",i&&"item",a&&"zeroMinWidth",...u,r!=="row"&&`direction-xs-${String(r)}`,s!=="wrap"&&`wrap-xs-${String(s)}`,...c]};return Xe(f,Dat,e)},rW=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiGrid"}),{breakpoints:i}=$a(),o=iee(r),{className:s,columns:a,columnSpacing:l,component:u="div",container:c=!1,direction:f="row",item:d=!1,rowSpacing:h,spacing:p=0,wrap:g="wrap",zeroMinWidth:m=!1,...v}=o,y=h||p,x=l||p,b=D.useContext(fde),w=c?a||12:b,_={},S={...v};i.keys.forEach(E=>{v[E]!=null&&(_[E]=v[E],delete S[E])});const O={...o,columns:w,container:c,direction:f,item:d,rowSpacing:y,columnSpacing:x,wrap:g,zeroMinWidth:m,spacing:p,..._,breakpoints:i.keys},k=Vat(O);return C.jsx(fde.Provider,{value:w,children:C.jsx(Uat,{ownerState:O,className:Oe(k.root,s),as:u,ref:n,...S})})});function qH(t){return`scale(${t}, ${t**2})`}const Gat={entering:{opacity:1,transform:qH(1)},entered:{opacity:1,transform:"none"}},iW=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),e1=D.forwardRef(function(e,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:h,style:p,timeout:g="auto",TransitionComponent:m=Ru,...v}=e,y=lv(),x=D.useRef(),b=$a(),w=D.useRef(null),_=dn(w,Py(o),n),S=R=>I=>{if(R){const B=w.current;I===void 0?R(B):R(B,I)}},O=S(c),k=S((R,I)=>{pee(R);const{duration:B,delay:$,easing:z}=Zv({style:p,timeout:g,easing:s},{mode:"enter"});let L;g==="auto"?(L=b.transitions.getAutoHeightDuration(R.clientHeight),x.current=L):L=B,R.style.transition=[b.transitions.create("opacity",{duration:L,delay:$}),b.transitions.create("transform",{duration:iW?L:L*.666,delay:$,easing:z})].join(","),l&&l(R,I)}),E=S(u),M=S(h),A=S(R=>{const{duration:I,delay:B,easing:$}=Zv({style:p,timeout:g,easing:s},{mode:"exit"});let z;g==="auto"?(z=b.transitions.getAutoHeightDuration(R.clientHeight),x.current=z):z=I,R.style.transition=[b.transitions.create("opacity",{duration:z,delay:B}),b.transitions.create("transform",{duration:iW?z:z*.666,delay:iW?B:B||z*.333,easing:$})].join(","),R.style.opacity=0,R.style.transform=qH(.75),f&&f(R)}),P=S(d),T=R=>{g==="auto"&&y.start(x.current||0,R),r&&r(w.current,R)};return C.jsx(m,{appear:i,in:a,nodeRef:w,onEnter:k,onEntered:E,onEntering:O,onExit:A,onExited:P,onExiting:M,addEndListener:T,timeout:g==="auto"?null:g,...v,children:(R,I)=>D.cloneElement(o,{style:{opacity:0,transform:qH(.75),visibility:R==="exited"&&!a?"hidden":void 0,...Gat[R],...p,...o.props.style},ref:_,...I})})});e1&&(e1.muiSupportAuto=!0);const Hat=t=>{const{classes:e,disableUnderline:n}=t,i=Xe({root:["root",!n&&"underline"],input:["input"]},Xit,e);return{...e,...i}},qat=be(v4,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiInput",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[...g4(t,e),!n.disableUnderline&&e.underline]}})(kt(({theme:t})=>{let n=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${kE.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${kE.error}`]:{"&::before, &::after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${kE.disabled}, .${kE.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${kE.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(t.palette).filter(di()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r].main}`}}}))]}})),Xat=be(y4,{name:"MuiInput",slot:"Input",overridesResolver:m4})({}),Pg=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiInput"}),{disableUnderline:i=!1,components:o={},componentsProps:s,fullWidth:a=!1,inputComponent:l="input",multiline:u=!1,slotProps:c,slots:f={},type:d="text",...h}=r,p=Hat(r),m={root:{ownerState:{disableUnderline:i}}},v=c??s?Bo(c??s,m):m,y=f.root??o.Root??qat,x=f.input??o.Input??Xat;return C.jsx(See,{slots:{root:y,input:x},slotProps:v,fullWidth:a,inputComponent:l,multiline:u,ref:n,type:d,...h,classes:p})});Pg&&(Pg.muiName="Input");function Yat(t){return Ye("MuiInputAdornment",t)}const dde=qe("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var hde;const Qat=(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${De(n.position)}`],n.disablePointerEvents===!0&&e.disablePointerEvents,e[n.variant]]},Kat=t=>{const{classes:e,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:s}=t,a={root:["root",n&&"disablePointerEvents",i&&`position${De(i)}`,s,r&&"hiddenLabel",o&&`size${De(o)}`]};return Xe(a,Yat,e)},Zat=be("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:Qat})(kt(({theme:t})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${dde.positionStart}&:not(.${dde.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),NAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiInputAdornment"}),{children:i,className:o,component:s="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:u,variant:c,...f}=r,d=Fa()||{};let h=c;c&&d.variant,d&&!h&&(h=d.variant);const p={...r,hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:a,position:u,variant:h},g=Kat(p);return C.jsx(p4.Provider,{value:null,children:C.jsx(Zat,{as:s,ownerState:p,className:Oe(g.root,o),ref:n,...f,children:typeof i=="string"&&!l?C.jsx(Jt,{color:"textSecondary",children:i}):C.jsxs(D.Fragment,{children:[u==="start"?hde||(hde=C.jsx("span",{className:"notranslate",children:"​"})):null,i]})})})});function Jat(t){return Ye("MuiInputLabel",t)}qe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const elt=t=>{const{classes:e,formControl:n,size:r,shrink:i,disableAnimation:o,variant:s,required:a}=t,l={root:["root",n&&"formControl",!o&&"animated",i&&"shrink",r&&r!=="normal"&&`size${De(r)}`,s],asterisk:[a&&"asterisk"]},u=Xe(l,Jat,e);return{...e,...u}},tlt=be(Rat,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${ZT.asterisk}`]:e.asterisk},e.root,n.formControl&&e.formControl,n.size==="small"&&e.sizeSmall,n.shrink&&e.shrink,!n.disableAnimation&&e.animated,n.focused&&e.focused,e[n.variant]]}})(kt(({theme:t})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:t.transitions.create(["color","transform","max-width"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:n})=>e==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:n,size:r})=>e==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:n})=>e==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Iy=D.forwardRef(function(e,n){const r=wt({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,margin:o,shrink:s,variant:a,className:l,...u}=r,c=Fa();let f=s;typeof f>"u"&&c&&(f=c.filled||c.focused||c.adornedStart);const d=Ry({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),h={...r,disableAnimation:i,formControl:c,shrink:f,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=elt(h);return C.jsx(tlt,{"data-shrink":f,ref:n,className:Oe(p.root,l),...u,ownerState:h,classes:p})});function nlt(t){return Ye("MuiLink",t)}const rlt=qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),ilt=({theme:t,ownerState:e})=>{const n=e.color,r=pS(t,`palette.${n}`,!1)||e.color,i=pS(t,`palette.${n}Channel`);return"vars"in t&&i?`rgba(${i} / 0.4)`:Tt(r,.4)},pde={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},olt=t=>{const{classes:e,component:n,focusVisible:r,underline:i}=t,o={root:["root",`underline${De(i)}`,n==="button"&&"button",r&&"focusVisible"]};return Xe(o,nlt,e)},slt=be(Jt,{name:"MuiLink",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`underline${De(n.underline)}`],n.component==="button"&&e.button]}})(kt(({theme:t})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:n})=>e==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{underline:"always",color:e},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette[e].mainChannel} / 0.4)`:Tt(t.palette[e].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette.text.primaryChannel} / 0.4)`:Tt(t.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":t.vars?`rgba(${t.vars.palette.text.secondaryChannel} / 0.4)`:Tt(t.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(t.vars||t).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${rlt.focusVisible}`]:{outline:"auto"}}}]}))),alt=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiLink"}),i=$a(),{className:o,color:s="primary",component:a="a",onBlur:l,onFocus:u,TypographyClasses:c,underline:f="always",variant:d="inherit",sx:h,...p}=r,[g,m]=D.useState(!1),v=w=>{Kv(w.target)||m(!1),l&&l(w)},y=w=>{Kv(w.target)&&m(!0),u&&u(w)},x={...r,color:s,component:a,focusVisible:g,underline:f,variant:d},b=olt(x);return C.jsx(slt,{color:s,className:Oe(b.root,o),classes:c,component:a,onBlur:v,onFocus:y,ref:n,ownerState:x,variant:d,...p,sx:[...pde[s]===void 0?[{color:s}]:[],...Array.isArray(h)?h:[h]],style:{...p.style,...f==="always"&&s!=="inherit"&&!pde[s]&&{"--Link-underlineColor":ilt({theme:i,ownerState:x})}}})}),If=D.createContext({});function llt(t){return Ye("MuiList",t)}qe("MuiList",["root","padding","dense","subheader"]);const ult=t=>{const{classes:e,disablePadding:n,dense:r,subheader:i}=t;return Xe({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},llt,e)},clt=be("ul",{name:"MuiList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>t.subheader,style:{paddingTop:0}}]}),RM=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiList"}),{children:i,className:o,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u,...c}=r,f=D.useMemo(()=>({dense:a}),[a]),d={...r,component:s,dense:a,disablePadding:l},h=ult(d);return C.jsx(If.Provider,{value:f,children:C.jsxs(clt,{as:s,className:Oe(h.root,o),ref:n,ownerState:d,...c,children:[u,i]})})});function flt(t){return Ye("MuiListItem",t)}qe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function dlt(t){return Ye("MuiListItemButton",t)}const Pw=qe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),hlt=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]},plt=t=>{const{alignItems:e,classes:n,dense:r,disabled:i,disableGutters:o,divider:s,selected:a}=t,u=Xe({root:["root",r&&"dense",!o&&"gutters",s&&"divider",i&&"disabled",e==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},dlt,n);return{...n,...u}},glt=be(Nf,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:hlt})(kt(({theme:t})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Pw.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${Pw.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${Pw.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${Pw.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${Pw.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),zAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:o=!1,component:s="div",children:a,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:f,selected:d=!1,className:h,...p}=r,g=D.useContext(If),m=D.useMemo(()=>({dense:l||g.dense||!1,alignItems:i,disableGutters:u}),[i,g.dense,l,u]),v=D.useRef(null);Ei(()=>{o&&v.current&&v.current.focus()},[o]);const y={...r,alignItems:i,dense:m.dense,disableGutters:u,divider:c,selected:d},x=plt(y),b=dn(v,n);return C.jsx(If.Provider,{value:m,children:C.jsx(glt,{ref:b,href:p.href||p.to,component:(p.href||p.to)&&s==="div"?"button":s,focusVisibleClassName:Oe(x.focusVisible,f),ownerState:y,className:Oe(x.root,h),...p,classes:x,children:a})})});function mlt(t){return Ye("MuiListItemSecondaryAction",t)}qe("MuiListItemSecondaryAction",["root","disableGutters"]);const vlt=t=>{const{disableGutters:e,classes:n}=t;return Xe({root:["root",e&&"disableGutters"]},mlt,n)},ylt=be("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:t})=>t.disableGutters,style:{right:0}}]}),sA=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiListItemSecondaryAction"}),{className:i,...o}=r,s=D.useContext(If),a={...r,disableGutters:s.disableGutters},l=vlt(a);return C.jsx(ylt,{className:Oe(l.root,i),ownerState:a,ref:n,...o})});sA.muiName="ListItemSecondaryAction";const xlt=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.hasSecondaryAction&&e.secondaryAction]},blt=t=>{const{alignItems:e,classes:n,dense:r,disableGutters:i,disablePadding:o,divider:s,hasSecondaryAction:a}=t;return Xe({root:["root",r&&"dense",!i&&"gutters",!o&&"padding",s&&"divider",e==="flex-start"&&"alignItemsFlexStart",a&&"secondaryAction"],container:["container"]},flt,n)},wlt=be("div",{name:"MuiListItem",slot:"Root",overridesResolver:xlt})(kt(({theme:t})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${Pw.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),_lt=be("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),A_=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiListItem"}),{alignItems:i="center",children:o,className:s,component:a,components:l={},componentsProps:u={},ContainerComponent:c="li",ContainerProps:{className:f,...d}={},dense:h=!1,disableGutters:p=!1,disablePadding:g=!1,divider:m=!1,secondaryAction:v,slotProps:y={},slots:x={},...b}=r,w=D.useContext(If),_=D.useMemo(()=>({dense:h||w.dense||!1,alignItems:i,disableGutters:p}),[i,w.dense,h,p]),S=D.useRef(null),O=D.Children.toArray(o),k=O.length&&r3(O[O.length-1],["ListItemSecondaryAction"]),E={...r,alignItems:i,dense:_.dense,disableGutters:p,disablePadding:g,divider:m,hasSecondaryAction:k},M=blt(E),A=dn(S,n),P=x.root||l.Root||wlt,T=y.root||u.root||{},R={className:Oe(M.root,T.className,s),...b};let I=a||"li";return k?(I=!R.component&&!a?"div":I,c==="li"&&(I==="li"?I="div":R.component==="li"&&(R.component="div")),C.jsx(If.Provider,{value:_,children:C.jsxs(_lt,{as:c,className:Oe(M.container,f),ref:A,ownerState:E,...d,children:[C.jsx(P,{...T,...!tg(P)&&{as:I,ownerState:{...E,...T.ownerState}},...R,children:O}),O.pop()]})})):C.jsx(If.Provider,{value:_,children:C.jsxs(P,{...T,as:I,ref:A,...!tg(P)&&{ownerState:{...E,...T.ownerState}},...R,children:[O,v&&C.jsx(sA,{children:v})]})})});function Slt(t){return Ye("MuiListItemIcon",t)}const Clt=qe("MuiListItemIcon",["root","alignItemsFlexStart"]),gde=Clt,Olt=t=>{const{alignItems:e,classes:n}=t;return Xe({root:["root",e==="flex-start"&&"alignItemsFlexStart"]},Slt,n)},Elt=be("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.alignItems==="flex-start"&&e.alignItemsFlexStart]}})(kt(({theme:t})=>({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),jAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiListItemIcon"}),{className:i,...o}=r,s=D.useContext(If),a={...r,alignItems:s.alignItems},l=Olt(a);return C.jsx(Elt,{className:Oe(l.root,i),ownerState:a,ref:n,...o})});function Tlt(t){return Ye("MuiListItemText",t)}const e_=qe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),klt=t=>{const{classes:e,inset:n,primary:r,secondary:i,dense:o}=t;return Xe({root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},Tlt,e)},Alt=be("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${e_.primary}`]:e.primary},{[`& .${e_.secondary}`]:e.secondary},e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${RF.root}:where(& .${e_.primary})`]:{display:"block"},[`.${RF.root}:where(& .${e_.secondary})`]:{display:"block"},variants:[{props:({ownerState:t})=>t.primary&&t.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:56}}]}),dc=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiListItemText"}),{children:i,className:o,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:f,...d}=r,{dense:h}=D.useContext(If);let p=l??i,g=c;const m={...r,disableTypography:s,inset:a,primary:!!p,secondary:!!g,dense:h},v=klt(m);return p!=null&&p.type!==Jt&&!s&&(p=C.jsx(Jt,{variant:h?"body2":"body1",className:v.primary,component:u!=null&&u.variant?void 0:"span",...u,children:p})),g!=null&&g.type!==Jt&&!s&&(g=C.jsx(Jt,{variant:"body2",className:v.secondary,color:"textSecondary",...f,children:g})),C.jsxs(Alt,{className:Oe(v.root,o),ownerState:m,ref:n,...d,children:[p,g]})});function oW(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function mde(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function BAe(t,e){if(e===void 0)return!0;let n=t.innerText;return n===void 0&&(n=t.textContent),n=n.trim().toLowerCase(),n.length===0?!1:e.repeating?n[0]===e.keys[0]:n.startsWith(e.keys.join(""))}function PE(t,e,n,r,i,o){let s=!1,a=i(t,e,e?n:!1);for(;a;){if(a===t.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!BAe(a,o)||l)a=i(t,a,n);else return a.focus(),!0}return!1}const x4=D.forwardRef(function(e,n){const{actions:r,autoFocus:i=!1,autoFocusItem:o=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu",...d}=e,h=D.useRef(null),p=D.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ei(()=>{i&&h.current.focus()},[i]),D.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(x,{direction:b})=>{const w=!h.current.style.width;if(x.clientHeight{const b=h.current,w=x.key;if(x.ctrlKey||x.metaKey||x.altKey){c&&c(x);return}const S=mi(b).activeElement;if(w==="ArrowDown")x.preventDefault(),PE(b,S,u,l,oW);else if(w==="ArrowUp")x.preventDefault(),PE(b,S,u,l,mde);else if(w==="Home")x.preventDefault(),PE(b,null,u,l,oW);else if(w==="End")x.preventDefault(),PE(b,null,u,l,mde);else if(w.length===1){const O=p.current,k=w.toLowerCase(),E=performance.now();O.keys.length>0&&(E-O.lastTime>500?(O.keys=[],O.repeating=!0,O.previousKeyMatched=!0):O.repeating&&k!==O.keys[0]&&(O.repeating=!1)),O.lastTime=E,O.keys.push(k);const M=S&&!O.repeating&&BAe(S,O);O.previousKeyMatched&&(M||PE(b,S,!1,l,oW,O))?x.preventDefault():O.previousKeyMatched=!1}c&&c(x)},m=dn(h,n);let v=-1;D.Children.forEach(s,(x,b)=>{if(!D.isValidElement(x)){v===b&&(v+=1,v>=s.length&&(v=-1));return}x.props.disabled||(f==="selectedMenu"&&x.props.selected||v===-1)&&(v=b),v===b&&(x.props.disabled||x.props.muiSkipListHighlight||x.type.muiSkipListHighlight)&&(v+=1,v>=s.length&&(v=-1))});const y=D.Children.map(s,(x,b)=>{if(b===v){const w={};return o&&(w.autoFocus=!0),x.props.tabIndex===void 0&&f==="selectedMenu"&&(w.tabIndex=0),D.cloneElement(x,w)}return x});return C.jsx(RM,{role:"menu",ref:m,className:a,onKeyDown:g,tabIndex:i?0:-1,...d,children:y})});function Plt(t){return Ye("MuiPopover",t)}qe("MuiPopover",["root","paper"]);function vde(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.height/2:e==="bottom"&&(n=t.height),n}function yde(t,e){let n=0;return typeof e=="number"?n=e:e==="center"?n=t.width/2:e==="right"&&(n=t.width),n}function xde(t){return[t.horizontal,t.vertical].map(e=>typeof e=="number"?`${e}px`:e).join(" ")}function sW(t){return typeof t=="function"?t():t}const Mlt=t=>{const{classes:e}=t;return Xe({root:["root"],paper:["paper"]},Plt,e)},Rlt=be(LAe,{name:"MuiPopover",slot:"Root",overridesResolver:(t,e)=>e.root})({}),UAe=be(Tl,{name:"MuiPopover",slot:"Paper",overridesResolver:(t,e)=>e.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Y1=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiPopover"}),{action:i,anchorEl:o,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:a,anchorReference:l="anchorEl",children:u,className:c,container:f,elevation:d=8,marginThreshold:h=16,open:p,PaperProps:g={},slots:m={},slotProps:v={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:x=e1,transitionDuration:b="auto",TransitionProps:{onEntering:w,..._}={},disableScrollLock:S=!1,...O}=r,k=(v==null?void 0:v.paper)??g,E=D.useRef(),M={...r,anchorOrigin:s,anchorReference:l,elevation:d,marginThreshold:h,externalPaperSlotProps:k,transformOrigin:y,TransitionComponent:x,transitionDuration:b,TransitionProps:_},A=Mlt(M),P=D.useCallback(()=>{if(l==="anchorPosition")return a;const re=sW(o),te=(re&&re.nodeType===1?re:mi(E.current).body).getBoundingClientRect();return{top:te.top+vde(te,s.vertical),left:te.left+yde(te,s.horizontal)}},[o,s.horizontal,s.vertical,a,l]),T=D.useCallback(re=>({vertical:vde(re,y.vertical),horizontal:yde(re,y.horizontal)}),[y.horizontal,y.vertical]),R=D.useCallback(re=>{const ge={width:re.offsetWidth,height:re.offsetHeight},te=T(ge);if(l==="none")return{top:null,left:null,transformOrigin:xde(te)};const ae=P();let U=ae.top-te.vertical,oe=ae.left-te.horizontal;const ne=U+ge.height,V=oe+ge.width,X=xu(sW(o)),Z=X.innerHeight-h,he=X.innerWidth-h;if(h!==null&&UZ){const xe=ne-Z;U-=xe,te.vertical+=xe}if(h!==null&&oehe){const xe=V-he;oe-=xe,te.horizontal+=xe}return{top:`${Math.round(U)}px`,left:`${Math.round(oe)}px`,transformOrigin:xde(te)}},[o,l,P,T,h]),[I,B]=D.useState(p),$=D.useCallback(()=>{const re=E.current;if(!re)return;const ge=R(re);ge.top!==null&&re.style.setProperty("top",ge.top),ge.left!==null&&(re.style.left=ge.left),re.style.transformOrigin=ge.transformOrigin,B(!0)},[R]);D.useEffect(()=>(S&&window.addEventListener("scroll",$),()=>window.removeEventListener("scroll",$)),[o,S,$]);const z=(re,ge)=>{w&&w(re,ge),$()},L=()=>{B(!1)};D.useEffect(()=>{p&&$()}),D.useImperativeHandle(i,()=>p?{updatePosition:()=>{$()}}:null,[p,$]),D.useEffect(()=>{if(!p)return;const re=TM(()=>{$()}),ge=xu(o);return ge.addEventListener("resize",re),()=>{re.clear(),ge.removeEventListener("resize",re)}},[o,p,$]);let j=b;b==="auto"&&!x.muiSupportAuto&&(j=void 0);const N=f||(o?mi(sW(o)).body:void 0),F={slots:m,slotProps:{...v,paper:k}},[H,q]=Zl("paper",{elementType:UAe,externalForwardedProps:F,additionalProps:{elevation:d,className:Oe(A.paper,k==null?void 0:k.className),style:I?k.style:{...k.style,opacity:0}},ownerState:M}),[Y,{slotProps:le,...K}]=Zl("root",{elementType:Rlt,externalForwardedProps:F,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:N,open:p},ownerState:M,className:Oe(A.root,c)}),ee=dn(E,q.ref);return C.jsx(Y,{...K,...!tg(Y)&&{slotProps:le,disableScrollLock:S},...O,ref:n,children:C.jsx(x,{appear:!0,in:p,onEntering:z,onExited:L,timeout:j,..._,children:C.jsx(H,{...q,ref:ee,children:u})})})});function Dlt(t){return Ye("MuiMenu",t)}qe("MuiMenu",["root","paper","list"]);const Ilt={vertical:"top",horizontal:"right"},Llt={vertical:"top",horizontal:"left"},$lt=t=>{const{classes:e}=t;return Xe({root:["root"],paper:["paper"],list:["list"]},Dlt,e)},Flt=be(Y1,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Nlt=be(UAe,{name:"MuiMenu",slot:"Paper",overridesResolver:(t,e)=>e.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),zlt=be(x4,{name:"MuiMenu",slot:"List",overridesResolver:(t,e)=>e.list})({outline:0}),Q1=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:o,className:s,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:u,open:c,PaperProps:f={},PopoverClasses:d,transitionDuration:h="auto",TransitionProps:{onEntering:p,...g}={},variant:m="selectedMenu",slots:v={},slotProps:y={},...x}=r,b=Ho(),w={...r,autoFocus:i,disableAutoFocusItem:a,MenuListProps:l,onEntering:p,PaperProps:f,transitionDuration:h,TransitionProps:g,variant:m},_=$lt(w),S=i&&!a&&c,O=D.useRef(null),k=(I,B)=>{O.current&&O.current.adjustStyleForScrollbar(I,{direction:b?"rtl":"ltr"}),p&&p(I,B)},E=I=>{I.key==="Tab"&&(I.preventDefault(),u&&u(I,"tabKeyDown"))};let M=-1;D.Children.map(o,(I,B)=>{D.isValidElement(I)&&(I.props.disabled||(m==="selectedMenu"&&I.props.selected||M===-1)&&(M=B))});const A=v.paper??Nlt,P=y.paper??f,T=Zt({elementType:v.root,externalSlotProps:y.root,ownerState:w,className:[_.root,s]}),R=Zt({elementType:A,externalSlotProps:P,ownerState:w,className:_.paper});return C.jsx(Flt,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:b?"right":"left"},transformOrigin:b?Ilt:Llt,slots:{paper:A,root:v.root},slotProps:{root:T,paper:R},open:c,ref:n,transitionDuration:h,TransitionProps:{onEntering:k,...g},ownerState:w,...x,classes:d,children:C.jsx(zlt,{onKeyDown:E,actions:O,autoFocus:i&&(M===-1||a),autoFocusItem:S,variant:m,...l,className:Oe(_.list,l.className),children:o})})});function jlt(t){return Ye("MuiMenuItem",t)}const Blt=qe("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ME=Blt,Ult=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.divider&&e.divider,!n.disableGutters&&e.gutters]},Wlt=t=>{const{disabled:e,dense:n,divider:r,disableGutters:i,selected:o,classes:s}=t,l=Xe({root:["root",n&&"dense",e&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},jlt,s);return{...s,...l}},Vlt=be(Nf,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Ult})(kt(({theme:t})=>({...t.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ME.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${ME.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${ME.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${ME.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${ME.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity},[`& + .${lde.root}`]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},[`& + .${lde.inset}`]:{marginLeft:52},[`& .${e_.root}`]:{marginTop:0,marginBottom:0},[`& .${e_.inset}`]:{paddingLeft:36},[`& .${gde.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[t.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...t.typography.body2,[`& .${gde.root} svg`]:{fontSize:"1.25rem"}}}]}))),_i=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiMenuItem"}),{autoFocus:i=!1,component:o="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:f,className:d,...h}=r,p=D.useContext(If),g=D.useMemo(()=>({dense:s||p.dense||!1,disableGutters:l}),[p.dense,s,l]),m=D.useRef(null);Ei(()=>{i&&m.current&&m.current.focus()},[i]);const v={...r,dense:g.dense,divider:a,disableGutters:l},y=Wlt(r),x=dn(m,n);let b;return r.disabled||(b=f!==void 0?f:-1),C.jsx(If.Provider,{value:g,children:C.jsx(Vlt,{ref:x,role:c,tabIndex:b,component:o,focusVisibleClassName:Oe(y.focusVisible,u),className:Oe(y.root,d),...h,ownerState:v,classes:y})})});function Glt(t){return Ye("MuiNativeSelect",t)}const Eee=qe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Hlt=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"]};return Xe(a,Glt,e)},WAe=be("select")(({theme:t})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Eee.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},variants:[{props:({ownerState:e})=>e.variant!=="filled"&&e.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}}]})),qlt=be(WAe,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:qo,overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.select,e[n.variant],n.error&&e.error,{[`&.${Eee.multiple}`]:e.multiple}]}})({}),VAe=be("svg")(({theme:t})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Eee.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Xlt=be(VAe,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})({}),Ylt=D.forwardRef(function(e,n){const{className:r,disabled:i,error:o,IconComponent:s,inputRef:a,variant:l="standard",...u}=e,c={...e,disabled:i,variant:l,error:o},f=Hlt(c);return C.jsxs(D.Fragment,{children:[C.jsx(qlt,{ownerState:c,className:Oe(f.select,r),disabled:i,ref:a||n,...u}),e.multiple?null:C.jsx(Xlt,{as:s,ownerState:c,className:f.icon})]})});var bde;const Qlt=be("fieldset",{shouldForwardProp:qo})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Klt=be("legend",{shouldForwardProp:qo})(kt(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]})));function Zlt(t){const{children:e,classes:n,className:r,label:i,notched:o,...s}=t,a=i!=null&&i!=="",l={...t,notched:o,withLabel:a};return C.jsx(Qlt,{"aria-hidden":!0,className:r,ownerState:l,...s,children:C.jsx(Klt,{ownerState:l,children:a?C.jsx("span",{children:i}):bde||(bde=C.jsx("span",{className:"notranslate",children:"​"}))})})}const Jlt=t=>{const{classes:e}=t,r=Xe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Qit,e);return{...e,...r}},eut=be(v4,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:g4})(kt(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${pd.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${pd.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${pd.focused} .${pd.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(t.palette).filter(di()).map(([n])=>({props:{color:n},style:{[`&.${pd.focused} .${pd.notchedOutline}`]:{borderColor:(t.vars||t).palette[n].main}}})),{props:{},style:{[`&.${pd.error} .${pd.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},[`&.${pd.disabled} .${pd.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),tut=be(Zlt,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(kt(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}})),nut=be(y4,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:m4})(kt(({theme:t})=>({padding:"16.5px 14px",...!t.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:t.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:t.palette.mode==="light"?null:"#fff",caretColor:t.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...t.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[t.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),NF=D.forwardRef(function(e,n){var r;const i=wt({props:e,name:"MuiOutlinedInput"}),{components:o={},fullWidth:s=!1,inputComponent:a="input",label:l,multiline:u=!1,notched:c,slots:f={},type:d="text",...h}=i,p=Jlt(i),g=Fa(),m=Ry({props:i,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),v={...i,color:m.color||"primary",disabled:m.disabled,error:m.error,focused:m.focused,formControl:g,fullWidth:s,hiddenLabel:m.hiddenLabel,multiline:u,size:m.size,type:d},y=f.root??o.Root??eut,x=f.input??o.Input??nut;return C.jsx(See,{slots:{root:y,input:x},renderSuffix:b=>C.jsx(tut,{ownerState:v,className:p.notchedOutline,label:l!=null&&l!==""&&m.required?r||(r=C.jsxs(D.Fragment,{children:[l," ","*"]})):l,notched:typeof c<"u"?c:!!(b.startAdornment||b.filled||b.focused)}),fullWidth:s,inputComponent:a,multiline:u,ref:n,type:d,...h,classes:{...p,notchedOutline:null}})});NF&&(NF.muiName="Input");const rut=ut(C.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),iut=ut(C.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),out=be("span",{shouldForwardProp:qo})({position:"relative",display:"flex"}),sut=be(rut)({transform:"scale(1)"}),aut=be(iut)(kt(({theme:t})=>({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})}}]})));function GAe(t){const{checked:e=!1,classes:n={},fontSize:r}=t,i={...t,checked:e};return C.jsxs(out,{className:n.root,ownerState:i,children:[C.jsx(sut,{fontSize:r,className:n.background,ownerState:i}),C.jsx(aut,{fontSize:r,className:n.dot,ownerState:i})]})}const HAe=D.createContext(void 0);function lut(){return D.useContext(HAe)}function uut(t){return Ye("MuiRadio",t)}const cut=qe("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),wde=cut,fut=t=>{const{classes:e,color:n,size:r}=t,i={root:["root",`color${De(n)}`,r!=="medium"&&`size${De(r)}`]};return{...e,...Xe(i,uut,e)}},dut=be(Cee,{shouldForwardProp:t=>qo(t)||t==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.size!=="medium"&&e[`size${De(n.size)}`],e[`color${De(n.color)}`]]}})(kt(({theme:t})=>({color:(t.vars||t).palette.text.secondary,[`&.${wde.disabled}`]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity)}}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e].main,t.palette.action.hoverOpacity)}}})),...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e,disabled:!1},style:{[`&.${wde.checked}`]:{color:(t.vars||t).palette[e].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function hut(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}const _de=C.jsx(GAe,{checked:!0}),Sde=C.jsx(GAe,{}),JT=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiRadio"}),{checked:i,checkedIcon:o=_de,color:s="primary",icon:a=Sde,name:l,onChange:u,size:c="medium",className:f,disabled:d,disableRipple:h=!1,...p}=r,g=Fa();let m=d;g&&typeof m>"u"&&(m=g.disabled),m??(m=!1);const v={...r,disabled:m,disableRipple:h,color:s,size:c},y=fut(v),x=lut();let b=i;const w=LH(u,x&&x.onChange);let _=l;return x&&(typeof b>"u"&&(b=hut(x.value,r.value)),typeof _>"u"&&(_=x.name)),C.jsx(dut,{type:"radio",icon:D.cloneElement(a,{fontSize:Sde.props.fontSize??c}),checkedIcon:D.cloneElement(o,{fontSize:_de.props.fontSize??c}),disabled:m,ownerState:v,classes:y,name:_,checked:b,onChange:w,ref:n,className:Oe(y.root,f),...p})});function put(t){return Ye("MuiRadioGroup",t)}qe("MuiRadioGroup",["root","row","error"]);const gut=t=>{const{classes:e,row:n,error:r}=t;return Xe({root:["root",n&&"row",r&&"error"]},put,e)},Tee=D.forwardRef(function(e,n){const{actions:r,children:i,className:o,defaultValue:s,name:a,onChange:l,value:u,...c}=e,f=D.useRef(null),d=gut(e),[h,p]=bu({controlled:u,default:s,name:"RadioGroup"});D.useImperativeHandle(r,()=>({focus:()=>{let y=f.current.querySelector("input:not(:disabled):checked");y||(y=f.current.querySelector("input:not(:disabled)")),y&&y.focus()}}),[]);const g=dn(n,f),m=Jf(a),v=D.useMemo(()=>({name:m,onChange(y){p(y.target.value),l&&l(y,y.target.value)},value:h}),[m,l,p,h]);return C.jsx(HAe.Provider,{value:v,children:C.jsx(Sat,{role:"radiogroup",ref:g,className:Oe(d.root,o),...c,children:i})})});function mut(t){return Ye("MuiSelect",t)}const RE=qe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Cde;const vut=be(WAe,{name:"MuiSelect",slot:"Select",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`&.${RE.select}`]:e.select},{[`&.${RE.select}`]:e[n.variant]},{[`&.${RE.error}`]:e.error},{[`&.${RE.multiple}`]:e.multiple}]}})({[`&.${RE.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),yut=be(VAe,{name:"MuiSelect",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.icon,n.variant&&e[`icon${De(n.variant)}`],n.open&&e.iconOpen]}})({}),xut=be("input",{shouldForwardProp:t=>n4(t)&&t!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(t,e)=>e.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ode(t,e){return typeof e=="object"&&e!==null?t===e:String(t)===String(e)}function but(t){return t==null||typeof t=="string"&&!t.trim()}const wut=t=>{const{classes:e,variant:n,disabled:r,multiple:i,open:o,error:s}=t,a={select:["select",n,r&&"disabled",i&&"multiple",s&&"error"],icon:["icon",`icon${De(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Xe(a,mut,e)},_ut=D.forwardRef(function(e,n){var Pe;const{"aria-describedby":r,"aria-label":i,autoFocus:o,autoWidth:s,children:a,className:l,defaultOpen:u,defaultValue:c,disabled:f,displayEmpty:d,error:h=!1,IconComponent:p,inputRef:g,labelId:m,MenuProps:v={},multiple:y,name:x,onBlur:b,onChange:w,onClose:_,onFocus:S,onOpen:O,open:k,readOnly:E,renderValue:M,SelectDisplayProps:A={},tabIndex:P,type:T,value:R,variant:I="standard",...B}=e,[$,z]=bu({controlled:R,default:c,name:"Select"}),[L,j]=bu({controlled:k,default:u,name:"Select"}),N=D.useRef(null),F=D.useRef(null),[H,q]=D.useState(null),{current:Y}=D.useRef(k!=null),[le,K]=D.useState(),ee=dn(n,g),re=D.useCallback(Me=>{F.current=Me,Me&&q(Me)},[]),ge=H==null?void 0:H.parentNode;D.useImperativeHandle(ee,()=>({focus:()=>{F.current.focus()},node:N.current,value:$}),[$]),D.useEffect(()=>{u&&L&&H&&!Y&&(K(s?null:ge.clientWidth),F.current.focus())},[H,s]),D.useEffect(()=>{o&&F.current.focus()},[o]),D.useEffect(()=>{if(!m)return;const Me=mi(F.current).getElementById(m);if(Me){const Te=()=>{getSelection().isCollapsed&&F.current.focus()};return Me.addEventListener("click",Te),()=>{Me.removeEventListener("click",Te)}}},[m]);const te=(Me,Te)=>{Me?O&&O(Te):_&&_(Te),Y||(K(s?null:ge.clientWidth),j(Me))},ae=Me=>{Me.button===0&&(Me.preventDefault(),F.current.focus(),te(!0,Me))},U=Me=>{te(!1,Me)},oe=D.Children.toArray(a),ne=Me=>{const Te=oe.find(Le=>Le.props.value===Me.target.value);Te!==void 0&&(z(Te.props.value),w&&w(Me,Te))},V=Me=>Te=>{let Le;if(Te.currentTarget.hasAttribute("tabindex")){if(y){Le=Array.isArray($)?$.slice():[];const ce=$.indexOf(Me.props.value);ce===-1?Le.push(Me.props.value):Le.splice(ce,1)}else Le=Me.props.value;if(Me.props.onClick&&Me.props.onClick(Te),$!==Le&&(z(Le),w)){const ce=Te.nativeEvent||Te,$e=new ce.constructor(ce.type,ce);Object.defineProperty($e,"target",{writable:!0,value:{value:Le,name:x}}),w($e,Me)}y||te(!1,Te)}},X=Me=>{E||[" ","ArrowUp","ArrowDown","Enter"].includes(Me.key)&&(Me.preventDefault(),te(!0,Me))},Z=H!==null&&L,he=Me=>{!Z&&b&&(Object.defineProperty(Me,"target",{writable:!0,value:{value:$,name:x}}),b(Me))};delete B["aria-invalid"];let xe,G;const W=[];let J=!1;(IF({value:$})||d)&&(M?xe=M($):J=!0);const se=oe.map(Me=>{if(!D.isValidElement(Me))return null;let Te;if(y){if(!Array.isArray($))throw new Error(Eg(2));Te=$.some(Le=>Ode(Le,Me.props.value)),Te&&J&&W.push(Me.props.children)}else Te=Ode($,Me.props.value),Te&&J&&(G=Me.props.children);return D.cloneElement(Me,{"aria-selected":Te?"true":"false",onClick:V(Me),onKeyUp:Le=>{Le.key===" "&&Le.preventDefault(),Me.props.onKeyUp&&Me.props.onKeyUp(Le)},role:"option",selected:Te,value:void 0,"data-value":Me.props.value})});J&&(y?W.length===0?xe=null:xe=W.reduce((Me,Te,Le)=>(Me.push(Te),Le{const{classes:e}=t;return e},kee={name:"MuiSelect",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>qo(t)&&t!=="variant",slot:"Root"},Cut=be(Pg,kee)(""),Out=be(NF,kee)(""),Eut=be(FF,kee)(""),Vg=D.forwardRef(function(e,n){const r=kn({name:"MuiSelect",props:e}),{autoWidth:i=!1,children:o,classes:s={},className:a,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=Zit,id:f,input:d,inputProps:h,label:p,labelId:g,MenuProps:m,multiple:v=!1,native:y=!1,onClose:x,onOpen:b,open:w,renderValue:_,SelectDisplayProps:S,variant:O="outlined",...k}=r,E=y?Ylt:_ut,M=Fa(),A=Ry({props:r,muiFormControl:M,states:["variant","error"]}),P=A.variant||O,T={...r,variant:P,classes:s},R=Sut(T),{root:I,...B}=R,$=d||{standard:C.jsx(Cut,{ownerState:T}),outlined:C.jsx(Out,{label:p,ownerState:T}),filled:C.jsx(Eut,{ownerState:T})}[P],z=dn(n,Py($));return C.jsx(D.Fragment,{children:D.cloneElement($,{inputComponent:E,inputProps:{children:o,error:A.error,IconComponent:c,variant:P,type:void 0,multiple:v,...y?{id:f}:{autoWidth:i,defaultOpen:l,displayEmpty:u,labelId:g,MenuProps:m,onClose:x,onOpen:b,open:w,renderValue:_,SelectDisplayProps:{id:f,...S}},...h,classes:h?Bo(B,h.classes):B,...d?d.props.inputProps:{}},...(v&&y||u)&&P==="outlined"?{notched:!0}:{},ref:z,className:Oe($.props.className,a,R.root),...!d&&{variant:P},...k})})});Vg.muiName="Select";function Tut(t,e,n=(r,i)=>r===i){return t.length===e.length&&t.every((r,i)=>n(r,e[i]))}const kut=2;function qAe(t,e){return t-e}function Ede(t,e){const{index:n}=t.reduce((r,i,o)=>{const s=Math.abs(e-i);return r===null||s({left:`${t}%`}),leap:t=>({width:`${t}%`})},"horizontal-reverse":{offset:t=>({right:`${t}%`}),leap:t=>({width:`${t}%`})},vertical:{offset:t=>({bottom:`${t}%`}),leap:t=>({height:`${t}%`})}},Dut=t=>t;let nI;function kde(){return nI===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?nI=CSS.supports("touch-action","none"):nI=!0),nI}function Iut(t){const{"aria-labelledby":e,defaultValue:n,disabled:r=!1,disableSwap:i=!1,isRtl:o=!1,marks:s=!1,max:a=100,min:l=0,name:u,onChange:c,onChangeCommitted:f,orientation:d="horizontal",rootRef:h,scale:p=Dut,step:g=1,shiftStep:m=10,tabIndex:v,value:y}=t,x=D.useRef(void 0),[b,w]=D.useState(-1),[_,S]=D.useState(-1),[O,k]=D.useState(!1),E=D.useRef(0),[M,A]=bu({controlled:y,default:n??l,name:"Slider"}),P=c&&((W,J,se)=>{const ye=W.nativeEvent||W,ie=new ye.constructor(ye.type,ye);Object.defineProperty(ie,"target",{writable:!0,value:{value:J,name:u}}),c(ie,J,se)}),T=Array.isArray(M);let R=T?M.slice().sort(qAe):[M];R=R.map(W=>W==null?l:kw(W,l,a));const I=s===!0&&g!==null?[...Array(Math.floor((a-l)/g)+1)].map((W,J)=>({value:l+g*J})):s||[],B=I.map(W=>W.value),[$,z]=D.useState(-1),L=D.useRef(null),j=dn(h,L),N=W=>J=>{var ye;const se=Number(J.currentTarget.getAttribute("data-index"));Kv(J.target)&&z(se),S(se),(ye=W==null?void 0:W.onFocus)==null||ye.call(W,J)},F=W=>J=>{var se;Kv(J.target)||z(-1),S(-1),(se=W==null?void 0:W.onBlur)==null||se.call(W,J)},H=(W,J)=>{const se=Number(W.currentTarget.getAttribute("data-index")),ye=R[se],ie=B.indexOf(ye);let fe=J;if(I&&g==null){const Q=B[B.length-1];fe>Q?fe=Q:feJ=>{var se;if(g!==null){const ye=Number(J.currentTarget.getAttribute("data-index")),ie=R[ye];let fe=null;(J.key==="ArrowLeft"||J.key==="ArrowDown")&&J.shiftKey||J.key==="PageDown"?fe=Math.max(ie-m,l):((J.key==="ArrowRight"||J.key==="ArrowUp")&&J.shiftKey||J.key==="PageUp")&&(fe=Math.min(ie+m,a)),fe!==null&&(H(J,fe),J.preventDefault())}(se=W==null?void 0:W.onKeyDown)==null||se.call(W,J)};Ei(()=>{var W;r&&L.current.contains(document.activeElement)&&((W=document.activeElement)==null||W.blur())},[r]),r&&b!==-1&&w(-1),r&&$!==-1&&z(-1);const Y=W=>J=>{var se;(se=W.onChange)==null||se.call(W,J),H(J,J.target.valueAsNumber)},le=D.useRef(void 0);let K=d;o&&d==="horizontal"&&(K+="-reverse");const ee=({finger:W,move:J=!1})=>{const{current:se}=L,{width:ye,height:ie,bottom:fe,left:Q}=se.getBoundingClientRect();let _e;K.startsWith("vertical")?_e=(fe-W.y)/ie:_e=(W.x-Q)/ye,K.includes("-reverse")&&(_e=1-_e);let we;if(we=Aut(_e,l,a),g)we=Mut(we,g,l);else{const Pe=Ede(B,we);we=B[Pe]}we=kw(we,l,a);let Ie=0;if(T){J?Ie=le.current:Ie=Ede(R,we),i&&(we=kw(we,R[Ie-1]||-1/0,R[Ie+1]||1/0));const Pe=we;we=Tde({values:R,newValue:we,index:Ie}),i&&J||(Ie=we.indexOf(Pe),le.current=Ie)}return{newValue:we,activeIndex:Ie}},re=st(W=>{const J=JD(W,x);if(!J)return;if(E.current+=1,W.type==="mousemove"&&W.buttons===0){ge(W);return}const{newValue:se,activeIndex:ye}=ee({finger:J,move:!0});eI({sliderRef:L,activeIndex:ye,setActive:w}),A(se),!O&&E.current>kut&&k(!0),P&&!tI(se,M)&&P(W,se,ye)}),ge=st(W=>{const J=JD(W,x);if(k(!1),!J)return;const{newValue:se}=ee({finger:J,move:!0});w(-1),W.type==="touchend"&&S(-1),f&&f(W,se),x.current=void 0,ae()}),te=st(W=>{if(r)return;kde()||W.preventDefault();const J=W.changedTouches[0];J!=null&&(x.current=J.identifier);const se=JD(W,x);if(se!==!1){const{newValue:ie,activeIndex:fe}=ee({finger:se});eI({sliderRef:L,activeIndex:fe,setActive:w}),A(ie),P&&!tI(ie,M)&&P(W,ie,fe)}E.current=0;const ye=mi(L.current);ye.addEventListener("touchmove",re,{passive:!0}),ye.addEventListener("touchend",ge,{passive:!0})}),ae=D.useCallback(()=>{const W=mi(L.current);W.removeEventListener("mousemove",re),W.removeEventListener("mouseup",ge),W.removeEventListener("touchmove",re),W.removeEventListener("touchend",ge)},[ge,re]);D.useEffect(()=>{const{current:W}=L;return W.addEventListener("touchstart",te,{passive:kde()}),()=>{W.removeEventListener("touchstart",te),ae()}},[ae,te]),D.useEffect(()=>{r&&ae()},[r,ae]);const U=W=>J=>{var ie;if((ie=W.onMouseDown)==null||ie.call(W,J),r||J.defaultPrevented||J.button!==0)return;J.preventDefault();const se=JD(J,x);if(se!==!1){const{newValue:fe,activeIndex:Q}=ee({finger:se});eI({sliderRef:L,activeIndex:Q,setActive:w}),A(fe),P&&!tI(fe,M)&&P(J,fe,Q)}E.current=0;const ye=mi(L.current);ye.addEventListener("mousemove",re,{passive:!0}),ye.addEventListener("mouseup",ge)},oe=zF(T?R[0]:l,l,a),ne=zF(R[R.length-1],l,a)-oe,V=(W={})=>{const J=Ex(W),se={onMouseDown:U(J||{})},ye={...J,...se};return{...W,ref:j,...ye}},X=W=>J=>{var ye;(ye=W.onMouseOver)==null||ye.call(W,J);const se=Number(J.currentTarget.getAttribute("data-index"));S(se)},Z=W=>J=>{var se;(se=W.onMouseLeave)==null||se.call(W,J),S(-1)};return{active:b,axis:K,axisProps:Rut,dragging:O,focusedThumbIndex:$,getHiddenInputProps:(W={})=>{const J=Ex(W),se={onChange:Y(J||{}),onFocus:N(J||{}),onBlur:F(J||{}),onKeyDown:q(J||{})},ye={...J,...se};return{tabIndex:v,"aria-labelledby":e,"aria-orientation":d,"aria-valuemax":p(a),"aria-valuemin":p(l),name:u,type:"range",min:t.min,max:t.max,step:t.step===null&&t.marks?"any":t.step??void 0,disabled:r,...W,...ye,style:{...Jke,direction:o?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:V,getThumbProps:(W={})=>{const J=Ex(W),se={onMouseOver:X(J||{}),onMouseLeave:Z(J||{})};return{...W,...J,...se}},marks:I,open:_,range:T,rootRef:j,trackLeap:ne,trackOffset:oe,values:R,getThumbStyle:W=>({pointerEvents:b!==-1&&b!==W?"none":void 0})}}const Lut=t=>!t||!tg(t);function $ut(t){return Ye("MuiSlider",t)}const nc=qe("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Fut=t=>{const{open:e}=t;return{offset:Oe(e&&nc.valueLabelOpen),circle:nc.valueLabelCircle,label:nc.valueLabelLabel}};function Nut(t){const{children:e,className:n,value:r}=t,i=Fut(t);return e?D.cloneElement(e,{className:Oe(e.props.className)},C.jsxs(D.Fragment,{children:[e.props.children,C.jsx("span",{className:Oe(i.offset,n),"aria-hidden":!0,children:C.jsx("span",{className:i.circle,children:C.jsx("span",{className:i.label,children:r})})})]})):null}function Ade(t){return t}const zut=be("span",{name:"MuiSlider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`color${De(n.color)}`],n.size!=="medium"&&e[`size${De(n.size)}`],n.marked&&e.marked,n.orientation==="vertical"&&e.vertical,n.track==="inverted"&&e.trackInverted,n.track===!1&&e.trackFalse]}})(kt(({theme:t})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${nc.disabled}`]:{pointerEvents:"none",cursor:"default",color:(t.vars||t).palette.grey[400]},[`&.${nc.dragging}`]:{[`& .${nc.thumb}, & .${nc.track}`]:{transition:"none"}},variants:[...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),jut=be("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(t,e)=>e.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),But=be("span",{name:"MuiSlider",slot:"Track",overridesResolver:(t,e)=>e.track})(kt(({theme:t})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:t.transitions.create(["left","width","bottom","height"],{duration:t.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e,track:"inverted"},style:{...t.vars?{backgroundColor:t.vars.palette.Slider[`${e}Track`],borderColor:t.vars.palette.Slider[`${e}Track`]}:{backgroundColor:kg(t.palette[e].main,.62),borderColor:kg(t.palette[e].main,.62),...t.applyStyles("dark",{backgroundColor:Tg(t.palette[e].main,.5)}),...t.applyStyles("dark",{borderColor:Tg(t.palette[e].main,.5)})}}}))]}))),Uut=be("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.thumb,e[`thumbColor${De(n.color)}`],n.size!=="medium"&&e[`thumbSize${De(n.size)}`]]}})(kt(({theme:t})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:t.transitions.create(["box-shadow","left","bottom"],{duration:t.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(t.vars||t).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${nc.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{[`&:hover, &.${nc.focusVisible}`]:{...t.vars?{boxShadow:`0px 0px 0px 8px rgba(${t.vars.palette[e].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${Tt(t.palette[e].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${nc.active}`]:{...t.vars?{boxShadow:`0px 0px 0px 14px rgba(${t.vars.palette[e].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${Tt(t.palette[e].main,.16)}`}}}}))]}))),Wut=be(Nut,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(t,e)=>e.valueLabel})(kt(({theme:t})=>({zIndex:1,whiteSpace:"nowrap",...t.typography.body2,fontWeight:500,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),position:"absolute",backgroundColor:(t.vars||t).palette.grey[600],borderRadius:2,color:(t.vars||t).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${nc.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${nc.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:t.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),Vut=be("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:t=>n4(t)&&t!=="markActive",overridesResolver:(t,e)=>{const{markActive:n}=t;return[e.mark,n&&e.markActive]}})(kt(({theme:t})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(t.vars||t).palette.background.paper,opacity:.8}}]}))),Gut=be("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:t=>n4(t)&&t!=="markLabelActive",overridesResolver:(t,e)=>e.markLabel})(kt(({theme:t})=>({...t.typography.body2,color:(t.vars||t).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(t.vars||t).palette.text.primary}}]}))),Hut=t=>{const{disabled:e,dragging:n,marked:r,orientation:i,track:o,classes:s,color:a,size:l}=t,u={root:["root",e&&"disabled",n&&"dragging",r&&"marked",i==="vertical"&&"vertical",o==="inverted"&&"trackInverted",o===!1&&"trackFalse",a&&`color${De(a)}`,l&&`size${De(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",e&&"disabled",l&&`thumbSize${De(l)}`,a&&`thumbColor${De(a)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Xe(u,$ut,s)},qut=({children:t})=>t,XC=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiSlider"}),i=Ho(),{"aria-label":o,"aria-valuetext":s,"aria-labelledby":a,component:l="span",components:u={},componentsProps:c={},color:f="primary",classes:d,className:h,disableSwap:p=!1,disabled:g=!1,getAriaLabel:m,getAriaValueText:v,marks:y=!1,max:x=100,min:b=0,name:w,onChange:_,onChangeCommitted:S,orientation:O="horizontal",shiftStep:k=10,size:E="medium",step:M=1,scale:A=Ade,slotProps:P,slots:T,tabIndex:R,track:I="normal",value:B,valueLabelDisplay:$="off",valueLabelFormat:z=Ade,...L}=r,j={...r,isRtl:i,max:x,min:b,classes:d,disabled:g,disableSwap:p,orientation:O,marks:y,color:f,size:E,step:M,shiftStep:k,scale:A,track:I,valueLabelDisplay:$,valueLabelFormat:z},{axisProps:N,getRootProps:F,getHiddenInputProps:H,getThumbProps:q,open:Y,active:le,axis:K,focusedThumbIndex:ee,range:re,dragging:ge,marks:te,values:ae,trackOffset:U,trackLeap:oe,getThumbStyle:ne}=Iut({...j,rootRef:n});j.marked=te.length>0&&te.some(ct=>ct.label),j.dragging=ge,j.focusedThumbIndex=ee;const V=Hut(j),X=(T==null?void 0:T.root)??u.Root??zut,Z=(T==null?void 0:T.rail)??u.Rail??jut,he=(T==null?void 0:T.track)??u.Track??But,xe=(T==null?void 0:T.thumb)??u.Thumb??Uut,G=(T==null?void 0:T.valueLabel)??u.ValueLabel??Wut,W=(T==null?void 0:T.mark)??u.Mark??Vut,J=(T==null?void 0:T.markLabel)??u.MarkLabel??Gut,se=(T==null?void 0:T.input)??u.Input??"input",ye=(P==null?void 0:P.root)??c.root,ie=(P==null?void 0:P.rail)??c.rail,fe=(P==null?void 0:P.track)??c.track,Q=(P==null?void 0:P.thumb)??c.thumb,_e=(P==null?void 0:P.valueLabel)??c.valueLabel,we=(P==null?void 0:P.mark)??c.mark,Ie=(P==null?void 0:P.markLabel)??c.markLabel,Pe=(P==null?void 0:P.input)??c.input,Me=Zt({elementType:X,getSlotProps:F,externalSlotProps:ye,externalForwardedProps:L,additionalProps:{...Lut(X)&&{as:l}},ownerState:{...j,...ye==null?void 0:ye.ownerState},className:[V.root,h]}),Te=Zt({elementType:Z,externalSlotProps:ie,ownerState:j,className:V.rail}),Le=Zt({elementType:he,externalSlotProps:fe,additionalProps:{style:{...N[K].offset(U),...N[K].leap(oe)}},ownerState:{...j,...fe==null?void 0:fe.ownerState},className:V.track}),ce=Zt({elementType:xe,getSlotProps:q,externalSlotProps:Q,ownerState:{...j,...Q==null?void 0:Q.ownerState},className:V.thumb}),$e=Zt({elementType:G,externalSlotProps:_e,ownerState:{...j,..._e==null?void 0:_e.ownerState},className:V.valueLabel}),Se=Zt({elementType:W,externalSlotProps:we,ownerState:j,className:V.mark}),He=Zt({elementType:J,externalSlotProps:Ie,ownerState:j,className:V.markLabel}),tt=Zt({elementType:se,getSlotProps:H,externalSlotProps:Pe,ownerState:j});return C.jsxs(X,{...Me,children:[C.jsx(Z,{...Te}),C.jsx(he,{...Le}),te.filter(ct=>ct.value>=b&&ct.value<=x).map((ct,Ht)=>{const Dn=zF(ct.value,b,x),Zi=N[K].offset(Dn);let yn;return I===!1?yn=ae.includes(ct.value):yn=I==="normal"&&(re?ct.value>=ae[0]&&ct.value<=ae[ae.length-1]:ct.value<=ae[0])||I==="inverted"&&(re?ct.value<=ae[0]||ct.value>=ae[ae.length-1]:ct.value>=ae[0]),C.jsxs(D.Fragment,{children:[C.jsx(W,{"data-index":Ht,...Se,...!tg(W)&&{markActive:yn},style:{...Zi,...Se.style},className:Oe(Se.className,yn&&V.markActive)}),ct.label!=null?C.jsx(J,{"aria-hidden":!0,"data-index":Ht,...He,...!tg(J)&&{markLabelActive:yn},style:{...Zi,...He.style},className:Oe(V.markLabel,He.className,yn&&V.markLabelActive),children:ct.label}):null]},Ht)}),ae.map((ct,Ht)=>{const Dn=zF(ct,b,x),Zi=N[K].offset(Dn),yn=$==="off"?qut:G;return C.jsx(yn,{...!tg(yn)&&{valueLabelFormat:z,valueLabelDisplay:$,value:typeof z=="function"?z(A(ct),Ht):z,index:Ht,open:Y===Ht||le===Ht||$==="on",disabled:g},...$e,children:C.jsx(xe,{"data-index":Ht,...ce,className:Oe(V.thumb,ce.className,le===Ht&&V.active,ee===Ht&&V.focusVisible),style:{...Zi,...ne(Ht),...ce.style},children:C.jsx(se,{"data-index":Ht,"aria-label":m?m(Ht):o,"aria-valuenow":A(ct),"aria-labelledby":a,"aria-valuetext":v?v(A(ct),Ht):s,value:ae[Ht],...tt})})},Ht)})]})});function Xut(t={}){const{autoHideDuration:e=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:o}=t,s=lv();D.useEffect(()=>{if(!i)return;function v(y){y.defaultPrevented||y.key==="Escape"&&(r==null||r(y,"escapeKeyDown"))}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[i,r]);const a=st((v,y)=>{r==null||r(v,y)}),l=st(v=>{!r||v==null||s.start(v,()=>{a(null,"timeout")})});D.useEffect(()=>(i&&l(e),s.clear),[i,e,l,s]);const u=v=>{r==null||r(v,"clickaway")},c=s.clear,f=D.useCallback(()=>{e!=null&&l(o??e*.5)},[e,o,l]),d=v=>y=>{const x=v.onBlur;x==null||x(y),f()},h=v=>y=>{const x=v.onFocus;x==null||x(y),c()},p=v=>y=>{const x=v.onMouseEnter;x==null||x(y),c()},g=v=>y=>{const x=v.onMouseLeave;x==null||x(y),f()};return D.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",f),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",c)}},[n,i,f,c]),{getRootProps:(v={})=>{const y={...Ex(t),...Ex(v)};return{role:"presentation",...v,...y,onBlur:d(y),onFocus:h(y),onMouseEnter:p(y),onMouseLeave:g(y)}},onClickAway:u}}function Yut(t){return Ye("MuiSnackbarContent",t)}qe("MuiSnackbarContent",["root","message","action"]);const Qut=t=>{const{classes:e}=t;return Xe({root:["root"],action:["action"],message:["message"]},Yut,e)},Kut=be(Tl,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(t,e)=>e.root})(kt(({theme:t})=>{const e=t.palette.mode==="light"?.8:.98,n=Yke(t.palette.background.default,e);return{...t.typography.body2,color:t.vars?t.vars.palette.SnackbarContent.color:t.palette.getContrastText(n),backgroundColor:t.vars?t.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(t.vars||t).shape.borderRadius,flexGrow:1,[t.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Zut=be("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0"}),Jut=be("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),XAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiSnackbarContent"}),{action:i,className:o,message:s,role:a="alert",...l}=r,u=r,c=Qut(u);return C.jsxs(Kut,{role:a,square:!0,elevation:6,className:Oe(c.root,o),ownerState:u,ref:n,...l,children:[C.jsx(Zut,{className:c.message,ownerState:u,children:s}),i?C.jsx(Jut,{className:c.action,ownerState:u,children:i}):null]})});function ect(t){return Ye("MuiSnackbar",t)}qe("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const tct=t=>{const{classes:e,anchorOrigin:n}=t,r={root:["root",`anchorOrigin${De(n.vertical)}${De(n.horizontal)}`]};return Xe(r,ect,e)},Pde=be("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`anchorOrigin${De(n.anchorOrigin.vertical)}${De(n.anchorOrigin.horizontal)}`]]}})(kt(({theme:t})=>({zIndex:(t.vars||t).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical==="top",style:{top:8,[t.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!=="top",style:{bottom:8,[t.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[t.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[t.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal==="center",style:{[t.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),nct=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiSnackbar"}),i=$a(),o={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:f,ClickAwayListenerProps:d,ContentProps:h,disableWindowBlurListener:p=!1,message:g,onBlur:m,onClose:v,onFocus:y,onMouseEnter:x,onMouseLeave:b,open:w,resumeHideDuration:_,TransitionComponent:S=e1,transitionDuration:O=o,TransitionProps:{onEnter:k,onExited:E,...M}={},...A}=r,P={...r,anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:u,disableWindowBlurListener:p,TransitionComponent:S,transitionDuration:O},T=tct(P),{getRootProps:R,onClickAway:I}=Xut({...P}),[B,$]=D.useState(!0),z=Zt({elementType:Pde,getSlotProps:R,externalForwardedProps:A,ownerState:P,additionalProps:{ref:n},className:[T.root,f]}),L=N=>{$(!0),E&&E(N)},j=(N,F)=>{$(!1),k&&k(N,F)};return!w&&B?null:C.jsx(fst,{onClickAway:I,...d,children:C.jsx(Pde,{...z,children:C.jsx(S,{appear:!0,in:w,timeout:O,direction:a==="top"?"down":"up",onEnter:j,onExited:L,...M,children:c||C.jsx(XAe,{message:g,action:s,...h})})})})});function rct(t){return Ye("MuiTooltip",t)}const ict=qe("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Mi=ict;function oct(t){return Math.round(t*1e5)/1e5}const sct=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${De(o.split("-")[0])}`],arrow:["arrow"]};return Xe(s,rct,e)},act=be(_ee,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(kt(({theme:t})=>({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Mi.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Mi.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Mi.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Mi.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Mi.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Mi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Mi.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Mi.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),lct=be("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${De(n.placement.split("-")[0])}`]]}})(kt(({theme:t})=>({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:Tt(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[`.${Mi.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Mi.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Mi.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Mi.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${oct(16/14)}em`,fontWeight:t.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Mi.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Mi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Mi.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Mi.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Mi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Mi.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Mi.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Mi.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Mi.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Mi.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),uct=be("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(kt(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:Tt(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let rI=!1;const Mde=new Zj;let DE={x:0,y:0};function iI(t,e){return(n,...r)=>{e&&e(n,...r),t(n,...r)}}const Bt=D.forwardRef(function(e,n){var Dn,Zi,yn;const r=wt({props:e,name:"MuiTooltip"}),{arrow:i=!1,children:o,classes:s,components:a={},componentsProps:l={},describeChild:u=!1,disableFocusListener:c=!1,disableHoverListener:f=!1,disableInteractive:d=!1,disableTouchListener:h=!1,enterDelay:p=100,enterNextDelay:g=0,enterTouchDelay:m=700,followCursor:v=!1,id:y,leaveDelay:x=0,leaveTouchDelay:b=1500,onClose:w,onOpen:_,open:S,placement:O="bottom",PopperComponent:k,PopperProps:E={},slotProps:M={},slots:A={},title:P,TransitionComponent:T=e1,TransitionProps:R,...I}=r,B=D.isValidElement(o)?o:C.jsx("span",{children:o}),$=$a(),z=Ho(),[L,j]=D.useState(),[N,F]=D.useState(null),H=D.useRef(!1),q=d||v,Y=lv(),le=lv(),K=lv(),ee=lv(),[re,ge]=bu({controlled:S,default:!1,name:"Tooltip",state:"open"});let te=re;const ae=Jf(y),U=D.useRef(),oe=st(()=>{U.current!==void 0&&(document.body.style.WebkitUserSelect=U.current,U.current=void 0),ee.clear()});D.useEffect(()=>oe,[oe]);const ne=Gt=>{Mde.clear(),rI=!0,ge(!0),_&&!te&&_(Gt)},V=st(Gt=>{Mde.start(800+x,()=>{rI=!1}),ge(!1),w&&te&&w(Gt),Y.start($.transitions.duration.shortest,()=>{H.current=!1})}),X=Gt=>{H.current&&Gt.type!=="touchstart"||(L&&L.removeAttribute("title"),le.clear(),K.clear(),p||rI&&g?le.start(rI?g:p,()=>{ne(Gt)}):ne(Gt))},Z=Gt=>{le.clear(),K.start(x,()=>{V(Gt)})},[,he]=D.useState(!1),xe=Gt=>{Kv(Gt.target)||(he(!1),Z(Gt))},G=Gt=>{L||j(Gt.currentTarget),Kv(Gt.target)&&(he(!0),X(Gt))},W=Gt=>{H.current=!0;const fr=B.props;fr.onTouchStart&&fr.onTouchStart(Gt)},J=Gt=>{W(Gt),K.clear(),Y.clear(),oe(),U.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ee.start(m,()=>{document.body.style.WebkitUserSelect=U.current,X(Gt)})},se=Gt=>{B.props.onTouchEnd&&B.props.onTouchEnd(Gt),oe(),K.start(b,()=>{V(Gt)})};D.useEffect(()=>{if(!te)return;function Gt(fr){fr.key==="Escape"&&V(fr)}return document.addEventListener("keydown",Gt),()=>{document.removeEventListener("keydown",Gt)}},[V,te]);const ye=dn(Py(B),j,n);!P&&P!==0&&(te=!1);const ie=D.useRef(),fe=Gt=>{const fr=B.props;fr.onMouseMove&&fr.onMouseMove(Gt),DE={x:Gt.clientX,y:Gt.clientY},ie.current&&ie.current.update()},Q={},_e=typeof P=="string";u?(Q.title=!te&&_e&&!f?P:null,Q["aria-describedby"]=te?ae:null):(Q["aria-label"]=_e?P:null,Q["aria-labelledby"]=te&&!_e?ae:null);const we={...Q,...I,...B.props,className:Oe(I.className,B.props.className),onTouchStart:W,ref:ye,...v?{onMouseMove:fe}:{}},Ie={};h||(we.onTouchStart=J,we.onTouchEnd=se),f||(we.onMouseOver=iI(X,we.onMouseOver),we.onMouseLeave=iI(Z,we.onMouseLeave),q||(Ie.onMouseOver=X,Ie.onMouseLeave=Z)),c||(we.onFocus=iI(G,we.onFocus),we.onBlur=iI(xe,we.onBlur),q||(Ie.onFocus=G,Ie.onBlur=xe));const Pe=D.useMemo(()=>{var fr;let Gt=[{name:"arrow",enabled:!!N,options:{element:N,padding:4}}];return(fr=E.popperOptions)!=null&&fr.modifiers&&(Gt=Gt.concat(E.popperOptions.modifiers)),{...E.popperOptions,modifiers:Gt}},[N,E]),Me={...r,isRtl:z,arrow:i,disableInteractive:q,placement:O,PopperComponentProp:k,touch:H.current},Te=sct(Me),Le=A.popper??a.Popper??act,ce=A.transition??a.Transition??T??e1,$e=A.tooltip??a.Tooltip??lct,Se=A.arrow??a.Arrow??uct,He=Jw(Le,{...E,...M.popper??l.popper,className:Oe(Te.popper,E==null?void 0:E.className,(Dn=M.popper??l.popper)==null?void 0:Dn.className)},Me),tt=Jw(ce,{...R,...M.transition??l.transition},Me),ct=Jw($e,{...M.tooltip??l.tooltip,className:Oe(Te.tooltip,(Zi=M.tooltip??l.tooltip)==null?void 0:Zi.className)},Me),Ht=Jw(Se,{...M.arrow??l.arrow,className:Oe(Te.arrow,(yn=M.arrow??l.arrow)==null?void 0:yn.className)},Me);return C.jsxs(D.Fragment,{children:[D.cloneElement(B,we),C.jsx(Le,{as:k??_ee,placement:O,anchorEl:v?{getBoundingClientRect:()=>({top:DE.y,left:DE.x,right:DE.x,bottom:DE.y,width:0,height:0})}:L,popperRef:ie,open:L?te:!1,id:ae,transition:!0,...Ie,...He,popperOptions:Pe,children:({TransitionProps:Gt})=>C.jsx(ce,{timeout:$.transitions.duration.shorter,...Gt,...tt,children:C.jsxs($e,{...ct,children:[P,i?C.jsx(Se,{...Ht,ref:F}):null]})})})]})});function cct(t){return Ye("MuiSwitch",t)}const ca=qe("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),fct=t=>{const{classes:e,edge:n,size:r,color:i,checked:o,disabled:s}=t,a={root:["root",n&&`edge${De(n)}`,`size${De(r)}`],switchBase:["switchBase",`color${De(i)}`,o&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Xe(a,cct,e);return{...e,...l}},dct=be("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${ca.thumb}`]:{width:16,height:16},[`& .${ca.switchBase}`]:{padding:4,[`&.${ca.checked}`]:{transform:"translateX(16px)"}}}}]}),hct=be(Cee,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.switchBase,{[`& .${ca.input}`]:e.input},n.color!=="default"&&e[`color${De(n.color)}`]]}})(kt(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${ca.checked}`]:{transform:"translateX(20px)"},[`&.${ca.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${ca.checked} + .${ca.track}`]:{opacity:.5},[`&.${ca.disabled} + .${ca.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${ca.input}`]:{left:"-100%",width:"300%"}})),kt(({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(di(["light"])).map(([e])=>({props:{color:e},style:{[`&.${ca.checked}`]:{color:(t.vars||t).palette[e].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette[e].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ca.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${e}DisabledColor`]:`${t.palette.mode==="light"?kg(t.palette[e].main,.62):Tg(t.palette[e].main,.55)}`}},[`&.${ca.checked} + .${ca.track}`]:{backgroundColor:(t.vars||t).palette[e].main}}}))]}))),pct=be("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,e)=>e.track})(kt(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`}))),gct=be("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(kt(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),YAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiSwitch"}),{className:i,color:o="primary",edge:s=!1,size:a="medium",sx:l,...u}=r,c={...r,color:o,edge:s,size:a},f=fct(c),d=C.jsx(gct,{className:f.thumb,ownerState:c});return C.jsxs(dct,{className:Oe(f.root,i),sx:l,ownerState:c,children:[C.jsx(hct,{type:"checkbox",icon:d,checkedIcon:d,ref:n,ownerState:c,...u,classes:{...f,root:f.switchBase}}),C.jsx(pct,{className:f.track,ownerState:c})]})});function mct(t){return Ye("MuiTab",t)}const Iu=qe("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),vct=t=>{const{classes:e,textColor:n,fullWidth:r,wrapped:i,icon:o,label:s,selected:a,disabled:l}=t,u={root:["root",o&&s&&"labelIcon",`textColor${De(n)}`,r&&"fullWidth",i&&"wrapped",a&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return Xe(u,mct,e)},yct=be(Nf,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${De(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped,{[`& .${Iu.iconWrapper}`]:e.iconWrapper},{[`& .${Iu.icon}`]:e.icon}]}})(kt(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&(e.iconPosition==="top"||e.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&e.iconPosition!=="top"&&e.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:n})=>e.icon&&e.label&&n==="top",style:{[`& > .${Iu.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:n})=>e.icon&&e.label&&n==="bottom",style:{[`& > .${Iu.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:n})=>e.icon&&e.label&&n==="start",style:{[`& > .${Iu.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:e,iconPosition:n})=>e.icon&&e.label&&n==="end",style:{[`& > .${Iu.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${Iu.selected}`]:{opacity:1},[`&.${Iu.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Iu.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${Iu.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${Iu.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${Iu.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),wS=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTab"}),{className:i,disabled:o=!1,disableFocusRipple:s=!1,fullWidth:a,icon:l,iconPosition:u="top",indicator:c,label:f,onChange:d,onClick:h,onFocus:p,selected:g,selectionFollowsFocus:m,textColor:v="inherit",value:y,wrapped:x=!1,...b}=r,w={...r,disabled:o,disableFocusRipple:s,selected:g,icon:!!l,iconPosition:u,label:!!f,fullWidth:a,textColor:v,wrapped:x},_=vct(w),S=l&&f&&D.isValidElement(l)?D.cloneElement(l,{className:Oe(_.icon,l.props.className)}):l,O=E=>{!g&&d&&d(E,y),h&&h(E)},k=E=>{m&&!g&&d&&d(E,y),p&&p(E)};return C.jsxs(yct,{focusRipple:!s,className:Oe(_.root,i),ref:n,role:"tab","aria-selected":g,disabled:o,onClick:O,onFocus:k,ownerState:w,tabIndex:g?0:-1,...b,children:[u==="top"||u==="start"?C.jsxs(D.Fragment,{children:[S,f]}):C.jsxs(D.Fragment,{children:[f,S]}),c]})}),QAe=D.createContext();function xct(t){return Ye("MuiTable",t)}qe("MuiTable",["root","stickyHeader"]);const bct=t=>{const{classes:e,stickyHeader:n}=t;return Xe({root:["root",n&&"stickyHeader"]},xct,e)},wct=be("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(kt(({theme:t})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...t.typography.body2,padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]}))),Rde="table",Aee=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTable"}),{className:i,component:o=Rde,padding:s="normal",size:a="medium",stickyHeader:l=!1,...u}=r,c={...r,component:o,padding:s,size:a,stickyHeader:l},f=bct(c),d=D.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return C.jsx(QAe.Provider,{value:d,children:C.jsx(wct,{as:o,role:o===Rde?null:"table",ref:n,className:Oe(f.root,i),ownerState:c,...u})})}),b4=D.createContext();function _ct(t){return Ye("MuiTableBody",t)}qe("MuiTableBody",["root"]);const Sct=t=>{const{classes:e}=t;return Xe({root:["root"]},_ct,e)},Cct=be("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),Oct={variant:"body"},Dde="tbody",Pee=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTableBody"}),{className:i,component:o=Dde,...s}=r,a={...r,component:o},l=Sct(a);return C.jsx(b4.Provider,{value:Oct,children:C.jsx(Cct,{className:Oe(l.root,i),as:o,ref:n,role:o===Dde?null:"rowgroup",ownerState:a,...s})})});function Ect(t){return Ye("MuiTableCell",t)}const Tct=qe("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),kct=Tct,Act=t=>{const{classes:e,variant:n,align:r,padding:i,size:o,stickyHeader:s}=t,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,i!=="normal"&&`padding${De(i)}`,`size${De(o)}`]};return Xe(a,Ect,e)},Pct=be("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${De(n.size)}`],n.padding!=="normal"&&e[`padding${De(n.padding)}`],n.align!=="inherit"&&e[`align${De(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(kt(({theme:t})=>({...t.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid + ${t.palette.mode==="light"?kg(Tt(t.palette.divider,1),.88):Tg(Tt(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${kct.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),si=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTableCell"}),{align:i="inherit",className:o,component:s,padding:a,scope:l,size:u,sortDirection:c,variant:f,...d}=r,h=D.useContext(QAe),p=D.useContext(b4),g=p&&p.variant==="head";let m;s?m=s:m=g?"th":"td";let v=l;m==="td"?v=void 0:!v&&g&&(v="col");const y=f||p&&p.variant,x={...r,align:i,component:m,padding:a||(h&&h.padding?h.padding:"normal"),size:u||(h&&h.size?h.size:"medium"),sortDirection:c,stickyHeader:y==="head"&&h&&h.stickyHeader,variant:y},b=Act(x);let w=null;return c&&(w=c==="asc"?"ascending":"descending"),C.jsx(Pct,{as:m,ref:n,className:Oe(b.root,o),"aria-sort":w,scope:v,ownerState:x,...d})});function Mct(t){return Ye("MuiTableContainer",t)}qe("MuiTableContainer",["root"]);const Rct=t=>{const{classes:e}=t;return Xe({root:["root"]},Mct,e)},Dct=be("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),KAe=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTableContainer"}),{className:i,component:o="div",...s}=r,a={...r,component:o},l=Rct(a);return C.jsx(Dct,{ref:n,as:o,className:Oe(l.root,i),ownerState:a,...s})});function Ict(t){return Ye("MuiTableHead",t)}qe("MuiTableHead",["root"]);const Lct=t=>{const{classes:e}=t;return Xe({root:["root"]},Ict,e)},$ct=be("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),Fct={variant:"head"},Ide="thead",Nct=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTableHead"}),{className:i,component:o=Ide,...s}=r,a={...r,component:o},l=Lct(a);return C.jsx(b4.Provider,{value:Fct,children:C.jsx($ct,{as:o,className:Oe(l.root,i),ref:n,role:o===Ide?null:"rowgroup",ownerState:a,...s})})});function zct(t){return Ye("MuiToolbar",t)}qe("MuiToolbar",["root","gutters","regular","dense"]);const jct=t=>{const{classes:e,disableGutters:n,variant:r}=t;return Xe({root:["root",!n&&"gutters",r]},zct,e)},Bct=be("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})(kt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),w4=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular",...l}=r,u={...r,component:o,disableGutters:s,variant:a},c=jct(u);return C.jsx(Bct,{as:o,className:Oe(c.root,i),ref:n,ownerState:u,...l})}),Uct=ut(C.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Wct=ut(C.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Vct(t){return Ye("MuiTableRow",t)}const Gct=qe("MuiTableRow",["root","selected","hover","head","footer"]),Lde=Gct,Hct=t=>{const{classes:e,selected:n,hover:r,head:i,footer:o}=t;return Xe({root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]},Vct,e)},qct=be("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(kt(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Lde.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${Lde.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),$de="tr",kd=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTableRow"}),{className:i,component:o=$de,hover:s=!1,selected:a=!1,...l}=r,u=D.useContext(b4),c={...r,component:o,hover:s,selected:a,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},f=Hct(c);return C.jsx(qct,{as:o,ref:n,className:Oe(f.root,i),role:o===$de?null:"row",ownerState:c,...l})});function Xct(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function Yct(t,e,n,r={},i=()=>{}){const{ease:o=Xct,duration:s=300}=r;let a=null;const l=e[t];let u=!1;const c=()=>{u=!0},f=d=>{if(u){i(new Error("Animation cancelled"));return}a===null&&(a=d);const h=Math.min(1,(d-a)/s);if(e[t]=o(h)*(n-l)+l,h>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(f)};return l===n?(i(new Error("Element already at target position")),c):(requestAnimationFrame(f),c)}const Qct={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Kct(t){const{onChange:e,...n}=t,r=D.useRef(),i=D.useRef(null),o=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return Ei(()=>{const s=TM(()=>{const l=r.current;o(),l!==r.current&&e(r.current)}),a=xu(i.current);return a.addEventListener("resize",s),()=>{s.clear(),a.removeEventListener("resize",s)}},[e]),D.useEffect(()=>{o(),e(r.current)},[e]),C.jsx("div",{style:Qct,ref:i,...n})}function Zct(t){return Ye("MuiTabScrollButton",t)}const Jct=qe("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),eft=t=>{const{classes:e,orientation:n,disabled:r}=t;return Xe({root:["root",n,r&&"disabled"]},Zct,e)},tft=be(Nf,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${Jct.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),nft=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTabScrollButton"}),{className:i,slots:o={},slotProps:s={},direction:a,orientation:l,disabled:u,...c}=r,f=Ho(),d={isRtl:f,...r},h=eft(d),p=o.StartScrollButtonIcon??Uct,g=o.EndScrollButtonIcon??Wct,m=Zt({elementType:p,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),v=Zt({elementType:g,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return C.jsx(tft,{component:"div",className:Oe(h.root,i),ref:n,role:null,ownerState:d,tabIndex:null,...c,style:{...c.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${f?-90:90}deg)`}},children:a==="left"?C.jsx(p,{...m}):C.jsx(g,{...v})})});function rft(t){return Ye("MuiTabs",t)}const s3=qe("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Fde=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,Nde=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,oI=(t,e,n)=>{let r=!1,i=n(t,e);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const o=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||o)i=n(t,i);else{i.focus();return}}},ift=t=>{const{vertical:e,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:s,scrollButtonsHideMobile:a,classes:l}=t;return Xe({root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},rft,l)},oft=be("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${s3.scrollButtons}`]:e.scrollButtons},{[`& .${s3.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(kt(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${s3.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),sft=be("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),aft=be("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),lft=be("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(kt(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),uft=be(Kct)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),zde={},Mee=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTabs"}),i=$a(),o=Ho(),{"aria-label":s,"aria-labelledby":a,action:l,centered:u=!1,children:c,className:f,component:d="div",allowScrollButtonsMobile:h=!1,indicatorColor:p="primary",onChange:g,orientation:m="horizontal",ScrollButtonComponent:v=nft,scrollButtons:y="auto",selectionFollowsFocus:x,slots:b={},slotProps:w={},TabIndicatorProps:_={},TabScrollButtonProps:S={},textColor:O="primary",value:k,variant:E="standard",visibleScrollbar:M=!1,...A}=r,P=E==="scrollable",T=m==="vertical",R=T?"scrollTop":"scrollLeft",I=T?"top":"left",B=T?"bottom":"right",$=T?"clientHeight":"clientWidth",z=T?"height":"width",L={...r,component:d,allowScrollButtonsMobile:h,indicatorColor:p,orientation:m,vertical:T,scrollButtons:y,textColor:O,variant:E,visibleScrollbar:M,fixed:!P,hideScrollbar:P&&!M,scrollableX:P&&!T,scrollableY:P&&T,centered:u&&!P,scrollButtonsHideMobile:!h},j=ift(L),N=Zt({elementType:b.StartScrollButtonIcon,externalSlotProps:w.startScrollButtonIcon,ownerState:L}),F=Zt({elementType:b.EndScrollButtonIcon,externalSlotProps:w.endScrollButtonIcon,ownerState:L}),[H,q]=D.useState(!1),[Y,le]=D.useState(zde),[K,ee]=D.useState(!1),[re,ge]=D.useState(!1),[te,ae]=D.useState(!1),[U,oe]=D.useState({overflow:"hidden",scrollbarWidth:0}),ne=new Map,V=D.useRef(null),X=D.useRef(null),Z=()=>{const Te=V.current;let Le;if(Te){const $e=Te.getBoundingClientRect();Le={clientWidth:Te.clientWidth,scrollLeft:Te.scrollLeft,scrollTop:Te.scrollTop,scrollWidth:Te.scrollWidth,top:$e.top,bottom:$e.bottom,left:$e.left,right:$e.right}}let ce;if(Te&&k!==!1){const $e=X.current.children;if($e.length>0){const Se=$e[ne.get(k)];ce=Se?Se.getBoundingClientRect():null}}return{tabsMeta:Le,tabMeta:ce}},he=st(()=>{const{tabsMeta:Te,tabMeta:Le}=Z();let ce=0,$e;T?($e="top",Le&&Te&&(ce=Le.top-Te.top+Te.scrollTop)):($e=o?"right":"left",Le&&Te&&(ce=(o?-1:1)*(Le[$e]-Te[$e]+Te.scrollLeft)));const Se={[$e]:ce,[z]:Le?Le[z]:0};if(typeof Y[$e]!="number"||typeof Y[z]!="number")le(Se);else{const He=Math.abs(Y[$e]-Se[$e]),tt=Math.abs(Y[z]-Se[z]);(He>=1||tt>=1)&&le(Se)}}),xe=(Te,{animation:Le=!0}={})=>{Le?Yct(R,V.current,Te,{duration:i.transitions.duration.standard}):V.current[R]=Te},G=Te=>{let Le=V.current[R];T?Le+=Te:Le+=Te*(o?-1:1),xe(Le)},W=()=>{const Te=V.current[$];let Le=0;const ce=Array.from(X.current.children);for(let $e=0;$eTe){$e===0&&(Le=Te);break}Le+=Se[$]}return Le},J=()=>{G(-1*W())},se=()=>{G(W())},ye=D.useCallback(Te=>{oe({overflow:null,scrollbarWidth:Te})},[]),ie=()=>{const Te={};Te.scrollbarSizeListener=P?C.jsx(uft,{onChange:ye,className:Oe(j.scrollableX,j.hideScrollbar)}):null;const ce=P&&(y==="auto"&&(K||re)||y===!0);return Te.scrollButtonStart=ce?C.jsx(v,{slots:{StartScrollButtonIcon:b.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:N},orientation:m,direction:o?"right":"left",onClick:J,disabled:!K,...S,className:Oe(j.scrollButtons,S.className)}):null,Te.scrollButtonEnd=ce?C.jsx(v,{slots:{EndScrollButtonIcon:b.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:m,direction:o?"left":"right",onClick:se,disabled:!re,...S,className:Oe(j.scrollButtons,S.className)}):null,Te},fe=st(Te=>{const{tabsMeta:Le,tabMeta:ce}=Z();if(!(!ce||!Le)){if(ce[I]Le[B]){const $e=Le[R]+(ce[B]-Le[B]);xe($e,{animation:Te})}}}),Q=st(()=>{P&&y!==!1&&ae(!te)});D.useEffect(()=>{const Te=TM(()=>{V.current&&he()});let Le;const ce=He=>{He.forEach(tt=>{tt.removedNodes.forEach(ct=>{Le==null||Le.unobserve(ct)}),tt.addedNodes.forEach(ct=>{Le==null||Le.observe(ct)})}),Te(),Q()},$e=xu(V.current);$e.addEventListener("resize",Te);let Se;return typeof ResizeObserver<"u"&&(Le=new ResizeObserver(Te),Array.from(X.current.children).forEach(He=>{Le.observe(He)})),typeof MutationObserver<"u"&&(Se=new MutationObserver(ce),Se.observe(X.current,{childList:!0})),()=>{Te.clear(),$e.removeEventListener("resize",Te),Se==null||Se.disconnect(),Le==null||Le.disconnect()}},[he,Q]),D.useEffect(()=>{const Te=Array.from(X.current.children),Le=Te.length;if(typeof IntersectionObserver<"u"&&Le>0&&P&&y!==!1){const ce=Te[0],$e=Te[Le-1],Se={root:V.current,threshold:.99},He=Dn=>{ee(!Dn[0].isIntersecting)},tt=new IntersectionObserver(He,Se);tt.observe(ce);const ct=Dn=>{ge(!Dn[0].isIntersecting)},Ht=new IntersectionObserver(ct,Se);return Ht.observe($e),()=>{tt.disconnect(),Ht.disconnect()}}},[P,y,te,c==null?void 0:c.length]),D.useEffect(()=>{q(!0)},[]),D.useEffect(()=>{he()}),D.useEffect(()=>{fe(zde!==Y)},[fe,Y]),D.useImperativeHandle(l,()=>({updateIndicator:he,updateScrollButtons:Q}),[he,Q]);const _e=C.jsx(lft,{..._,className:Oe(j.indicator,_.className),ownerState:L,style:{...Y,..._.style}});let we=0;const Ie=D.Children.map(c,Te=>{if(!D.isValidElement(Te))return null;const Le=Te.props.value===void 0?we:Te.props.value;ne.set(Le,we);const ce=Le===k;return we+=1,D.cloneElement(Te,{fullWidth:E==="fullWidth",indicator:ce&&!H&&_e,selected:ce,selectionFollowsFocus:x,onChange:g,textColor:O,value:Le,...we===1&&k===!1&&!Te.props.tabIndex?{tabIndex:0}:{}})}),Pe=Te=>{const Le=X.current,ce=mi(Le).activeElement;if(ce.getAttribute("role")!=="tab")return;let Se=m==="horizontal"?"ArrowLeft":"ArrowUp",He=m==="horizontal"?"ArrowRight":"ArrowDown";switch(m==="horizontal"&&o&&(Se="ArrowRight",He="ArrowLeft"),Te.key){case Se:Te.preventDefault(),oI(Le,ce,Nde);break;case He:Te.preventDefault(),oI(Le,ce,Fde);break;case"Home":Te.preventDefault(),oI(Le,null,Fde);break;case"End":Te.preventDefault(),oI(Le,null,Nde);break}},Me=ie();return C.jsxs(oft,{className:Oe(j.root,f),ownerState:L,ref:n,as:d,...A,children:[Me.scrollButtonStart,Me.scrollbarSizeListener,C.jsxs(sft,{className:j.scroller,ownerState:L,style:{overflow:U.overflow,[T?`margin${o?"Left":"Right"}`:"marginBottom"]:M?void 0:-U.scrollbarWidth},ref:V,children:[C.jsx(aft,{"aria-label":s,"aria-labelledby":a,"aria-orientation":m==="vertical"?"vertical":null,className:j.flexContainer,ownerState:L,onKeyDown:Pe,ref:X,role:"tablist",children:Ie}),H&&_e]}),Me.scrollButtonEnd]})});function cft(t){return Ye("MuiTextField",t)}qe("MuiTextField",["root"]);const fft={standard:Pg,filled:FF,outlined:NF},dft=t=>{const{classes:e}=t;return Xe({root:["root"]},cft,e)},hft=be(Wg,{name:"MuiTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),ci=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:o=!1,children:s,className:a,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:h=!1,helperText:p,id:g,InputLabelProps:m,inputProps:v,InputProps:y,inputRef:x,label:b,maxRows:w,minRows:_,multiline:S=!1,name:O,onBlur:k,onChange:E,onFocus:M,placeholder:A,required:P=!1,rows:T,select:R=!1,SelectProps:I,slots:B={},slotProps:$={},type:z,value:L,variant:j="outlined",...N}=r,F={...r,autoFocus:o,color:l,disabled:c,error:f,fullWidth:h,multiline:S,required:P,select:R,variant:j},H=dft(F),q=Jf(g),Y=p&&q?`${q}-helper-text`:void 0,le=b&&q?`${q}-label`:void 0,K=fft[j],ee={slots:B,slotProps:{input:y,inputLabel:m,htmlInput:v,formHelperText:d,select:I,...$}},re={},ge=ee.slotProps.inputLabel;j==="outlined"&&(ge&&typeof ge.shrink<"u"&&(re.notched=ge.shrink),re.label=b),R&&((!I||!I.native)&&(re.id=void 0),re["aria-describedby"]=void 0);const[te,ae]=Zl("input",{elementType:K,externalForwardedProps:ee,additionalProps:re,ownerState:F}),[U,oe]=Zl("inputLabel",{elementType:Iy,externalForwardedProps:ee,ownerState:F}),[ne,V]=Zl("htmlInput",{elementType:"input",externalForwardedProps:ee,ownerState:F}),[X,Z]=Zl("formHelperText",{elementType:Oee,externalForwardedProps:ee,ownerState:F}),[he,xe]=Zl("select",{elementType:Vg,externalForwardedProps:ee,ownerState:F}),G=C.jsx(te,{"aria-describedby":Y,autoComplete:i,autoFocus:o,defaultValue:u,fullWidth:h,multiline:S,name:O,rows:T,maxRows:w,minRows:_,type:z,value:L,id:q,inputRef:x,onBlur:k,onChange:E,onFocus:M,placeholder:A,inputProps:V,slots:{input:B.htmlInput?ne:void 0},...ae});return C.jsxs(hft,{className:Oe(H.root,a),disabled:c,error:f,fullWidth:h,ref:n,required:P,color:l,variant:j,ownerState:F,...N,children:[b!=null&&b!==""&&C.jsx(U,{htmlFor:q,id:le,...oe,children:b}),R?C.jsx(he,{"aria-describedby":Y,id:q,labelId:le,value:L,input:G,...xe,children:s}):G,p&&C.jsx(X,{id:Y,...Z,children:p})]})});function pft(t){return Ye("MuiToggleButton",t)}const gft=qe("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),ax=gft,ZAe=D.createContext({}),JAe=D.createContext(void 0);function mft(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const vft=t=>{const{classes:e,fullWidth:n,selected:r,disabled:i,size:o,color:s}=t,a={root:["root",r&&"selected",i&&"disabled",n&&"fullWidth",`size${De(o)}`,s]};return Xe(a,pft,e)},yft=be(Nf,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`size${De(n.size)}`]]}})(kt(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${ax.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${ax.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(di()).map(([e])=>({props:{color:e},style:{[`&.${ax.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:Tt(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:Tt(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),yr=D.forwardRef(function(e,n){const{value:r,...i}=D.useContext(ZAe),o=D.useContext(JAe),s=gS({...i,selected:mft(e.value,r)},e),a=wt({props:s,name:"MuiToggleButton"}),{children:l,className:u,color:c="standard",disabled:f=!1,disableFocusRipple:d=!1,fullWidth:h=!1,onChange:p,onClick:g,selected:m,size:v="medium",value:y,...x}=a,b={...a,color:c,disabled:f,disableFocusRipple:d,fullWidth:h,size:v},w=vft(b),_=O=>{g&&(g(O,y),O.defaultPrevented)||p&&p(O,y)},S=o||"";return C.jsx(yft,{className:Oe(i.className,w.root,u,S),disabled:f,focusRipple:!d,ref:n,onClick:_,onChange:p,value:y,ownerState:b,"aria-pressed":m,...x,children:l})});function xft(t){return Ye("MuiToggleButtonGroup",t)}const Hr=qe("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),bft=t=>{const{classes:e,orientation:n,fullWidth:r,disabled:i}=t,o={root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${De(n)}`,i&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return Xe(o,xft,e)},wft=be("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${Hr.grouped}`]:e.grouped},{[`& .${Hr.grouped}`]:e[`grouped${De(n.orientation)}`]},{[`& .${Hr.firstButton}`]:e.firstButton},{[`& .${Hr.lastButton}`]:e.lastButton},{[`& .${Hr.middleButton}`]:e.middleButton},e.root,n.orientation==="vertical"&&e.vertical,n.fullWidth&&e.fullWidth]}})(kt(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Hr.grouped}`]:{[`&.${Hr.selected} + .${Hr.grouped}.${Hr.selected}`]:{borderTop:0,marginTop:0}},[`& .${Hr.firstButton},& .${Hr.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Hr.lastButton},& .${Hr.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Hr.lastButton}.${ax.disabled},& .${Hr.middleButton}.${ax.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Hr.grouped}`]:{[`&.${Hr.selected} + .${Hr.grouped}.${Hr.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Hr.firstButton},& .${Hr.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Hr.lastButton},& .${Hr.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Hr.lastButton}.${ax.disabled},& .${Hr.middleButton}.${ax.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),YC=D.forwardRef(function(e,n){const r=wt({props:e,name:"MuiToggleButtonGroup"}),{children:i,className:o,color:s="standard",disabled:a=!1,exclusive:l=!1,fullWidth:u=!1,onChange:c,orientation:f="horizontal",size:d="medium",value:h,...p}=r,g={...r,disabled:a,fullWidth:u,orientation:f,size:d},m=bft(g),v=D.useCallback((S,O)=>{if(!c)return;const k=h&&h.indexOf(O);let E;h&&k>=0?(E=h.slice(),E.splice(k,1)):E=h?h.concat(O):[O],c(S,E)},[c,h]),y=D.useCallback((S,O)=>{c&&c(S,h===O?null:O)},[c,h]),x=D.useMemo(()=>({className:m.grouped,onChange:l?y:v,value:h,size:d,fullWidth:u,color:s,disabled:a}),[m.grouped,l,y,v,h,d,u,s,a]),b=Ctt(i),w=b.length,_=S=>{const O=S===0,k=S===w-1;return O&&k?"":O?m.firstButton:k?m.lastButton:m.middleButton};return C.jsx(wft,{role:"group",className:Oe(m.root,o),ref:n,ownerState:g,...p,children:C.jsx(ZAe.Provider,{value:x,children:b.map((S,O)=>C.jsx(JAe.Provider,{value:_(O),children:S},O))})})}),_ft="default",Sft={id:"local",name:"Local Server",url:"http://localhost:8080"},Cft={appBarTitle:"xcube Viewer",windowTitle:"xcube Viewer",windowIcon:null,compact:!1,themeName:"light",primaryColor:"blue",secondaryColor:"pink",organisationUrl:"https://xcube.readthedocs.io/",logoImage:"images/logo.png",logoWidth:32,baseMapUrl:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",defaultAgg:"mean",polygonFillOpacity:.2,mapProjection:"EPSG:3857",allowDownloads:!0,allowRefresh:!0,allowUserVariables:!0,allow3D:!0},sI={name:_ft,server:Sft,branding:Cft};function Oft(){const t=new URL(window.location.href),e=t.pathname.split("/"),n=e.length;return n>0?e[n-1]==="index.html"?new URL(e.slice(0,n-1).join("/"),window.location.origin):new URL(t.pathname,window.location.origin):new URL(window.location.origin)}const _4=Oft();console.log("baseUrl = ",_4.href);function ePe(t,...e){let n=t;for(const r of e)r!==""&&(n.endsWith("/")?r.startsWith("/")?n+=r.substring(1):n+=r:r.startsWith("/")?n+=r:n+="/"+r);return n}const Eft={amber:mke,blue:jm,blueGrey:eJe,brown:vke,cyan:dke,deepOrange:Ox,deepPurple:ZZe,green:Rp,grey:yke,indigo:fke,lightBlue:Bm,lightGreen:JZe,lime:pke,orange:G0,pink:cke,purple:zm,red:Nm,teal:hke,yellow:gke};function jde(t,e){const n=t[e];let r=null;if(typeof n=="string"?(r=Eft[n]||null,r===null&&n.startsWith("#")&&(n.length===7||n.length===9)&&(r={main:n})):typeof n=="object"&&n!==null&&"main"in n&&(r=n),r!==null)t[e]=r;else throw new Error(`Value of branding.${e} is invalid: ${n}`)}function Tft(t,e,n){const r=t[e];typeof r=="string"&&(t[e]=ePe(_4.href,n,r))}function kft(t,e){return t={...t},jde(t,"primaryColor"),jde(t,"secondaryColor"),Tft(t,"logoImage",e),t}function vr(t){return typeof t=="number"}function K1(t){return typeof t=="string"}function Aft(t){return typeof t=="function"}function Bde(t){return t!==null&&typeof t=="object"&&t.constructor===Object}const tv=new URLSearchParams(window.location.search),af=class af{constructor(e,n,r,i){gn(this,"name");gn(this,"server");gn(this,"branding");gn(this,"authClient");this.name=e,this.server=n,this.branding=r,this.authClient=i}static async load(){let e=tv.get("configPath")||"config";const n=await this.loadRawConfig(e);n===sI&&(e="");const r=n.name||"default",i=this.getAuthConfig(n),o=this.getServerConfig(n),s=parseInt(tv.get("compact")||"0")!==0;let a=kft({...sI.branding,...n.branding,compact:s||n.branding.compact},e);return a=Wde(a,"allowUserVariables"),a=Wde(a,"allow3D"),af._instance=new af(r,o,a,i),a.windowTitle&&this.changeWindowTitle(a.windowTitle),a.windowIcon&&this.changeWindowIcon(a.windowIcon),af._instance}static getAuthConfig(e){let n=e.authClient&&{...e.authClient};const r=af.getAuthClientFromEnv();if(!n&&r.authority&&r.clientId&&(n={authority:r.authority,client_id:r.clientId}),n){if(r.authority){const i=r.authority;n={...n,authority:i}}if(r.clientId){const i=r.clientId;n={...n,client_id:i}}if(r.audience){const i=r.audience,o=n.extraQueryParams;n={...n,extraQueryParams:{...o,audience:i}}}}return n}static getServerConfig(e){const n={...sI.server,...e.server},r=af.getApiServerFromEnv();return n.id=tv.get("serverId")||r.id||n.id,n.name=tv.get("serverName")||r.name||n.name,n.url=tv.get("serverUrl")||r.url||n.url,n}static async loadRawConfig(e){let n=null,r=null;const i=ePe(_4.href,e,"config.json");try{const o=await fetch(i);if(o.ok)n=await o.json();else{const{status:s,statusText:a}=o;r=`HTTP status ${s}`,a&&(r+=` (${a})`)}}catch(o){n=null,r=`${o}`}return n===null&&(n=sI),n}static get instance(){return af.assertConfigLoaded(),af._instance}static assertConfigLoaded(){if(!af._instance)throw new Error("internal error: configuration not available yet")}static changeWindowTitle(e){document.title=e}static changeWindowIcon(e){let n=document.querySelector('link[rel="icon"]');n!==null?n.href=e:(n=document.createElement("link"),n.rel="icon",n.href=e,document.head.appendChild(n))}static getAuthClientFromEnv(){return{authority:void 0,clientId:void 0,audience:void 0}}static getApiServerFromEnv(){return{id:void 0,name:void 0,url:void 0}}};gn(af,"_instance");let Pn=af;const Ree=[["red",Nm],["yellow",gke],["blue",jm],["pink",cke],["lightBlue",Bm],["green",Rp],["orange",G0],["lime",pke],["purple",zm],["indigo",fke],["cyan",dke],["brown",vke],["teal",hke]],Pft=(()=>{const t={};return Ree.forEach(([e,n])=>{t[e]=n}),t})(),Ude=Ree.map(([t,e])=>t);function Mft(t){return t==="light"?800:400}function t1(t){return Ude[t%Ude.length]}function tPe(t,e){const n=Mft(e);return Pft[t][n]}function Dee(t){return vr(t)||(t=Pn.instance.branding.polygonFillOpacity),vr(t)?t:.25}const Rft={Mapbox:{param:"access_token",token:"pk.eyJ1IjoiZm9ybWFuIiwiYSI6ImNrM2JranV0bDBtenczb2szZG84djh6bWUifQ.q0UKwf4CWt5fcQwIDwF8Bg"}};function Dft(t){return Rft[t]}function Wde(t,e){const n=tv.get(e),r=n?!!parseInt(n):!!t[e];return{...t,[e]:r}}function Q2(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var nPe={exports:{}};const Ift={},Lft=Object.freeze(Object.defineProperty({__proto__:null,default:Ift},Symbol.toStringTag,{value:"Module"})),$ft=PEe(Lft);(function(t,e){(function(n,r){t.exports=r()})(ei,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof ei<"u"&&ei.crypto&&(o=ei.crypto),!o&&typeof Q2=="function")try{o=$ft}catch{}var s=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function y(){}return function(x){var b;return y.prototype=x,b=new y,y.prototype=null,b}}(),l={},u=l.lib={},c=u.Base=function(){return{extend:function(y){var x=a(this);return y&&x.mixIn(y),(!x.hasOwnProperty("init")||this.init===x.init)&&(x.init=function(){x.$super.init.apply(this,arguments)}),x.init.prototype=x,x.$super=this,x},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var x in y)y.hasOwnProperty(x)&&(this[x]=y[x]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=u.WordArray=c.extend({init:function(y,x){y=this.words=y||[],x!=i?this.sigBytes=x:this.sigBytes=y.length*4},toString:function(y){return(y||h).stringify(this)},concat:function(y){var x=this.words,b=y.words,w=this.sigBytes,_=y.sigBytes;if(this.clamp(),w%4)for(var S=0;S<_;S++){var O=b[S>>>2]>>>24-S%4*8&255;x[w+S>>>2]|=O<<24-(w+S)%4*8}else for(var k=0;k<_;k+=4)x[w+k>>>2]=b[k>>>2];return this.sigBytes+=_,this},clamp:function(){var y=this.words,x=this.sigBytes;y[x>>>2]&=4294967295<<32-x%4*8,y.length=r.ceil(x/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var x=[],b=0;b>>2]>>>24-_%4*8&255;w.push((S>>>4).toString(16)),w.push((S&15).toString(16))}return w.join("")},parse:function(y){for(var x=y.length,b=[],w=0;w>>3]|=parseInt(y.substr(w,2),16)<<24-w%8*4;return new f.init(b,x/2)}},p=d.Latin1={stringify:function(y){for(var x=y.words,b=y.sigBytes,w=[],_=0;_>>2]>>>24-_%4*8&255;w.push(String.fromCharCode(S))}return w.join("")},parse:function(y){for(var x=y.length,b=[],w=0;w>>2]|=(y.charCodeAt(w)&255)<<24-w%4*8;return new f.init(b,x)}},g=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},m=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=g.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var x,b=this._data,w=b.words,_=b.sigBytes,S=this.blockSize,O=S*4,k=_/O;y?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var E=k*S,M=r.min(E*4,_);if(E){for(var A=0;A>>7)^(k<<14|k>>>18)^k>>>3,M=f[O-2],A=(M<<15|M>>>17)^(M<<13|M>>>19)^M>>>10;f[O]=E+f[O-7]+A+f[O-16]}var P=b&w^~b&_,T=m&v^m&y^v&y,R=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),I=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),B=S+I+P+c[O]+f[O],$=R+T;S=_,_=w,w=b,b=x+B|0,x=y,y=v,v=m,m=B+$|0}g[0]=g[0]+m|0,g[1]=g[1]+v|0,g[2]=g[2]+y|0,g[3]=g[3]+x|0,g[4]=g[4]+b|0,g[5]=g[5]+w|0,g[6]=g[6]+_|0,g[7]=g[7]+S|0},_doFinalize:function(){var h=this._data,p=h.words,g=this._nDataBytes*8,m=h.sigBytes*8;return p[m>>>5]|=128<<24-m%32,p[(m+64>>>9<<4)+14]=r.floor(g/4294967296),p[(m+64>>>9<<4)+15]=g,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=a._createHelper(d),i.HmacSHA256=a._createHmacHelper(d)}(Math),n.SHA256})})(rPe);var Nft=rPe.exports;const zft=on(Nft);var iPe={exports:{}};(function(t,e){(function(n,r){t.exports=r(S4)})(ei,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,s=r.enc;s.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,g=u[h+1>>>2]>>>24-(h+1)%4*8&255,m=u[h+2>>>2]>>>24-(h+2)%4*8&255,v=p<<16|g<<8|m,y=0;y<4&&h+y*.75>>6*(3-y)&63));var x=f.charAt(64);if(x)for(;d.length%4;)d.push(x);return d.join("")},parse:function(l){var u=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,m=p|g;f[d>>>2]|=m<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})})(iPe);var jft=iPe.exports;const Vde=on(jft);var oPe={exports:{}};(function(t,e){(function(n,r){t.exports=r(S4)})(ei,function(n){return n.enc.Utf8})})(oPe);var Bft=oPe.exports;const Uft=on(Bft);function XH(t){this.message=t}XH.prototype=new Error,XH.prototype.name="InvalidCharacterError";var Gde=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new XH("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,s="";r=e.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?s+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return s};function Wft(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Gde(n).replace(/(.)/g,function(r,i){var o=i.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(e)}catch{return Gde(e)}}function jF(t){this.message=t}function Vft(t,e){if(typeof t!="string")throw new jF("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(Wft(t.split(".")[n]))}catch(r){throw new jF("Invalid token specified: "+r.message)}}jF.prototype=new Error,jF.prototype.name="InvalidTokenError";var Gft={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},Od,Ed,BF=(t=>(t[t.NONE=0]="NONE",t[t.ERROR=1]="ERROR",t[t.WARN=2]="WARN",t[t.INFO=3]="INFO",t[t.DEBUG=4]="DEBUG",t))(BF||{});(t=>{function e(){Od=3,Ed=Gft}t.reset=e;function n(i){if(!(0<=i&&i<=4))throw new Error("Invalid log level");Od=i}t.setLevel=n;function r(i){Ed=i}t.setLogger=r})(BF||(BF={}));var sn=class{constructor(t){this._name=t}debug(...t){Od>=4&&Ed.debug(sn._format(this._name,this._method),...t)}info(...t){Od>=3&&Ed.info(sn._format(this._name,this._method),...t)}warn(...t){Od>=2&&Ed.warn(sn._format(this._name,this._method),...t)}error(...t){Od>=1&&Ed.error(sn._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){const e=Object.create(this);return e._method=t,e.debug("begin"),e}static createStatic(t,e){const n=new sn(`${t}.${e}`);return n.debug("begin"),n}static _format(t,e){const n=`[${t}]`;return e?`${n} ${e}:`:n}static debug(t,...e){Od>=4&&Ed.debug(sn._format(t),...e)}static info(t,...e){Od>=3&&Ed.info(sn._format(t),...e)}static warn(t,...e){Od>=2&&Ed.warn(sn._format(t),...e)}static error(t,...e){Od>=1&&Ed.error(sn._format(t),...e)}};BF.reset();var Hft="10000000-1000-4000-8000-100000000000",Xd=class{static _randomWord(){return Fft.lib.WordArray.random(1).words[0]}static generateUUIDv4(){return Hft.replace(/[018]/g,e=>(+e^Xd._randomWord()&15>>+e/4).toString(16)).replace(/-/g,"")}static generateCodeVerifier(){return Xd.generateUUIDv4()+Xd.generateUUIDv4()+Xd.generateUUIDv4()}static generateCodeChallenge(t){try{const e=zft(t);return Vde.stringify(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(e){throw sn.error("CryptoUtils.generateCodeChallenge",e),e}}static generateBasicAuth(t,e){const n=Uft.parse([t,e].join(":"));return Vde.stringify(n)}},Um=class{constructor(e){this._name=e,this._logger=new sn(`Event('${this._name}')`),this._callbacks=[]}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const n=this._callbacks.lastIndexOf(e);n>=0&&this._callbacks.splice(n,1)}raise(...e){this._logger.debug("raise:",...e);for(const n of this._callbacks)n(...e)}},YH=class{static decode(t){try{return Vft(t)}catch(e){throw sn.error("JwtUtils.decode",e),e}}},Hde=class{static center({...t}){var e,n,r;return t.width==null&&(t.width=(e=[800,720,600,480].find(i=>i<=window.outerWidth/1.618))!=null?e:360),(n=t.left)!=null||(t.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-t.width)/2))),t.height!=null&&((r=t.top)!=null||(t.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-t.height)/2)))),t}static serialize(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}=${typeof n!="boolean"?n:n?"yes":"no"}`).join(",")}},hc=class extends Um{constructor(){super(...arguments),this._logger=new sn(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const e=this._expiration-hc.getEpochTime();this._logger.debug("timer completes in",e),this._expiration<=hc.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(e){const n=this._logger.create("init");e=Math.max(Math.floor(e),1);const r=hc.getEpochTime()+e;if(this.expiration===r&&this._timerHandle){n.debug("skipping since already initialized for expiration at",this.expiration);return}this.cancel(),n.debug("using duration",e),this._expiration=r;const i=Math.min(e,5);this._timerHandle=setInterval(this._callback,i*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},QH=class{static readParams(t,e="query"){if(!t)throw new TypeError("Invalid URL");const r=new URL(t,"http://127.0.0.1")[e==="fragment"?"hash":"search"];return new URLSearchParams(r.slice(1))}},n1=class extends Error{constructor(t,e){var n,r,i;if(super(t.error_description||t.error||""),this.form=e,this.name="ErrorResponse",!t.error)throw sn.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=t.error,this.error_description=(n=t.error_description)!=null?n:null,this.error_uri=(r=t.error_uri)!=null?r:null,this.state=t.userState,this.session_state=(i=t.session_state)!=null?i:null}},Iee=class extends Error{constructor(t){super(t),this.name="ErrorTimeout"}},qft=class{constructor(t){this._logger=new sn("AccessTokenEvents"),this._expiringTimer=new hc("Access token expiring"),this._expiredTimer=new hc("Access token expired"),this._expiringNotificationTimeInSeconds=t.expiringNotificationTimeInSeconds}load(t){const e=this._logger.create("load");if(t.access_token&&t.expires_in!==void 0){const n=t.expires_in;if(e.debug("access token present, remaining duration:",n),n>0){let i=n-this._expiringNotificationTimeInSeconds;i<=0&&(i=1),e.debug("registering expiring timer, raising in",i,"seconds"),this._expiringTimer.init(i)}else e.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;e.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(t){return this._expiringTimer.addHandler(t)}removeAccessTokenExpiring(t){this._expiringTimer.removeHandler(t)}addAccessTokenExpired(t){return this._expiredTimer.addHandler(t)}removeAccessTokenExpired(t){this._expiredTimer.removeHandler(t)}},Xft=class{constructor(t,e,n,r,i){this._callback=t,this._client_id=e,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new sn("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=s=>{s.origin===this._frame_origin&&s.source===this._frame.contentWindow&&(s.data==="error"?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):s.data==="changed"?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(s.data+" message from check session op iframe"))};const o=new URL(n);this._frame_origin=o.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=o.href}load(){return new Promise(t=>{this._frame.onload=()=>{t()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)})}start(t){if(this._session_state===t)return;this._logger.create("start"),this.stop(),this._session_state=t;const e=()=>{!this._frame.contentWindow||!this._session_state||this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};e(),this._timer=setInterval(e,this._intervalInSeconds*1e3)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},sPe=class{constructor(){this._logger=new sn("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(t){return this._logger.create(`getItem('${t}')`),this._data[t]}setItem(t,e){this._logger.create(`setItem('${t}')`),this._data[t]=e}removeItem(t){this._logger.create(`removeItem('${t}')`),delete this._data[t]}get length(){return Object.getOwnPropertyNames(this._data).length}key(t){return Object.getOwnPropertyNames(this._data)[t]}},Lee=class{constructor(t=[],e=null,n={}){this._jwtHandler=e,this._extraHeaders=n,this._logger=new sn("JsonService"),this._contentTypes=[],this._contentTypes.push(...t,"application/json"),e&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(t,e={}){const{timeoutInSeconds:n,...r}=e;if(!n)return await fetch(t,r);const i=new AbortController,o=setTimeout(()=>i.abort(),n*1e3);try{return await fetch(t,{...e,signal:i.signal})}catch(s){throw s instanceof DOMException&&s.name==="AbortError"?new Iee("Network timed out"):s}finally{clearTimeout(o)}}async getJson(t,{token:e,credentials:n}={}){const r=this._logger.create("getJson"),i={Accept:this._contentTypes.join(", ")};e&&(r.debug("token passed, setting Authorization header"),i.Authorization="Bearer "+e),this.appendExtraHeaders(i);let o;try{r.debug("url:",t),o=await this.fetchWithTimeout(t,{method:"GET",headers:i,credentials:n})}catch(l){throw r.error("Network Error"),l}r.debug("HTTP response received, status",o.status);const s=o.headers.get("Content-Type");if(s&&!this._contentTypes.find(l=>s.startsWith(l))&&r.throw(new Error(`Invalid response Content-Type: ${s??"undefined"}, from URL: ${t}`)),o.ok&&this._jwtHandler&&(s!=null&&s.startsWith("application/jwt")))return await this._jwtHandler(await o.text());let a;try{a=await o.json()}catch(l){throw r.error("Error parsing JSON response",l),o.ok?l:new Error(`${o.statusText} (${o.status})`)}if(!o.ok)throw r.error("Error from server:",a),a.error?new n1(a):new Error(`${o.statusText} (${o.status}): ${JSON.stringify(a)}`);return a}async postForm(t,{body:e,basicAuth:n,timeoutInSeconds:r,initCredentials:i}){const o=this._logger.create("postForm"),s={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded"};n!==void 0&&(s.Authorization="Basic "+n),this.appendExtraHeaders(s);let a;try{o.debug("url:",t),a=await this.fetchWithTimeout(t,{method:"POST",headers:s,body:e,timeoutInSeconds:r,credentials:i})}catch(f){throw o.error("Network error"),f}o.debug("HTTP response received, status",a.status);const l=a.headers.get("Content-Type");if(l&&!this._contentTypes.find(f=>l.startsWith(f)))throw new Error(`Invalid response Content-Type: ${l??"undefined"}, from URL: ${t}`);const u=await a.text();let c={};if(u)try{c=JSON.parse(u)}catch(f){throw o.error("Error parsing JSON response",f),a.ok?f:new Error(`${a.statusText} (${a.status})`)}if(!a.ok)throw o.error("Error from server:",c),c.error?new n1(c,e):new Error(`${a.statusText} (${a.status}): ${JSON.stringify(c)}`);return c}appendExtraHeaders(t){const e=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];n.length!==0&&n.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){e.warn("Protected header could not be overridden",i,r);return}const o=typeof this._extraHeaders[i]=="function"?this._extraHeaders[i]():this._extraHeaders[i];o&&o!==""&&(t[i]=o)})}},Yft=class{constructor(t){this._settings=t,this._logger=new sn("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new Lee(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const t=this._logger.create("getMetadata");if(this._metadata)return t.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw t.throw(new Error("No authority or metadataUrl configured on settings")),null;t.debug("getting metadata from",this._metadataUrl);const e=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials});return t.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,e),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(t=!0){return this._getMetadataProperty("token_endpoint",t)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(t=!0){return this._getMetadataProperty("revocation_endpoint",t)}getKeysEndpoint(t=!0){return this._getMetadataProperty("jwks_uri",t)}async _getMetadataProperty(t,e=!1){const n=this._logger.create(`_getMetadataProperty('${t}')`),r=await this.getMetadata();if(n.debug("resolved"),r[t]===void 0){if(e===!0){n.warn("Metadata does not contain optional property");return}n.throw(new Error("Metadata does not contain property "+t))}return r[t]}async getSigningKeys(){const t=this._logger.create("getSigningKeys");if(this._signingKeys)return t.debug("returning signingKeys from cache"),this._signingKeys;const e=await this.getKeysEndpoint(!1);t.debug("got jwks_uri",e);const n=await this._jsonService.getJson(e);if(t.debug("got key set",n),!Array.isArray(n.keys))throw t.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},aPe=class{constructor({prefix:t="oidc.",store:e=localStorage}={}){this._logger=new sn("WebStorageStateStore"),this._store=e,this._prefix=t}async set(t,e){this._logger.create(`set('${t}')`),t=this._prefix+t,await this._store.setItem(t,e)}async get(t){return this._logger.create(`get('${t}')`),t=this._prefix+t,await this._store.getItem(t)}async remove(t){this._logger.create(`remove('${t}')`),t=this._prefix+t;const e=await this._store.getItem(t);return await this._store.removeItem(t),e}async getAllKeys(){this._logger.create("getAllKeys");const t=await this._store.length,e=[];for(let n=0;n{const r=this._logger.create("_getClaimsFromJwt");try{const i=YH.decode(n);return r.debug("JWT decoding successful"),i}catch(i){throw r.error("Error parsing JWT response"),i}},this._jsonService=new Lee(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(t){const e=this._logger.create("getClaims");t||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();e.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:t,credentials:this._settings.fetchRequestCredentials});return e.debug("got claims",r),r}},uPe=class{constructor(t,e){this._settings=t,this._metadataService=e,this._logger=new sn("TokenClient"),this._jsonService=new Lee(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode({grant_type:t="authorization_code",redirect_uri:e=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,...i}){const o=this._logger.create("exchangeCode");n||o.throw(new Error("A client_id is required")),e||o.throw(new Error("A redirect_uri is required")),i.code||o.throw(new Error("A code is required"));const s=new URLSearchParams({grant_type:t,redirect_uri:e});for(const[c,f]of Object.entries(i))f!=null&&s.set(c,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw o.throw(new Error("A client_secret is required")),null;a=Xd.generateBasicAuth(n,r);break;case"client_secret_post":s.append("client_id",n),r&&s.append("client_secret",r);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),u}async exchangeCredentials({grant_type:t="password",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope,...i}){const o=this._logger.create("exchangeCredentials");e||o.throw(new Error("A client_id is required"));const s=new URLSearchParams({grant_type:t,scope:r});for(const[c,f]of Object.entries(i))f!=null&&s.set(c,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;a=Xd.generateBasicAuth(e,n);break;case"client_secret_post":s.append("client_id",e),n&&s.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),u}async exchangeRefreshToken({grant_type:t="refresh_token",client_id:e=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,...i}){const o=this._logger.create("exchangeRefreshToken");e||o.throw(new Error("A client_id is required")),i.refresh_token||o.throw(new Error("A refresh_token is required"));const s=new URLSearchParams({grant_type:t});for(const[c,f]of Object.entries(i))f!=null&&s.set(c,f);let a;switch(this._settings.client_authentication){case"client_secret_basic":if(!n)throw o.throw(new Error("A client_secret is required")),null;a=Xd.generateBasicAuth(e,n);break;case"client_secret_post":s.append("client_id",e),n&&s.append("client_secret",n);break}const l=await this._metadataService.getTokenEndpoint(!1);o.debug("got token endpoint");const u=await this._jsonService.postForm(l,{body:s,basicAuth:a,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials});return o.debug("got response"),u}async revoke(t){var e;const n=this._logger.create("revoke");t.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(e=t.token_type_hint)!=null?e:"default token type"}`);const i=new URLSearchParams;for(const[o,s]of Object.entries(t))s!=null&&i.set(o,s);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i}),n.debug("got response")}},rdt=class{constructor(t,e,n){this._settings=t,this._metadataService=e,this._claimsService=n,this._logger=new sn("ResponseValidator"),this._userInfoService=new ndt(this._settings,this._metadataService),this._tokenClient=new uPe(this._settings,this._metadataService)}async validateSigninResponse(t,e){const n=this._logger.create("validateSigninResponse");this._processSigninState(t,e),n.debug("state processed"),await this._processCode(t,e),n.debug("code processed"),t.isOpenId&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e==null?void 0:e.skipUserInfo,t.isOpenId),n.debug("claims processed")}async validateCredentialsResponse(t,e){const n=this._logger.create("validateCredentialsResponse");t.isOpenId&&this._validateIdTokenAttributes(t),n.debug("tokens validated"),await this._processClaims(t,e,t.isOpenId),n.debug("claims processed")}async validateRefreshResponse(t,e){var n,r;const i=this._logger.create("validateRefreshResponse");t.userState=e.data,(n=t.session_state)!=null||(t.session_state=e.session_state),(r=t.scope)!=null||(t.scope=e.scope),t.isOpenId&&t.id_token&&(this._validateIdTokenAttributes(t,e.id_token),i.debug("ID Token validated")),t.id_token||(t.id_token=e.id_token,t.profile=e.profile);const o=t.isOpenId&&!!t.id_token;await this._processClaims(t,!1,o),i.debug("claims processed")}validateSignoutResponse(t,e){const n=this._logger.create("validateSignoutResponse");if(e.id!==t.state&&n.throw(new Error("State does not match")),n.debug("state validated"),t.userState=e.data,t.error)throw n.warn("Response was error",t.error),new n1(t)}_processSigninState(t,e){var n;const r=this._logger.create("_processSigninState");if(e.id!==t.state&&r.throw(new Error("State does not match")),e.client_id||r.throw(new Error("No client_id on state")),e.authority||r.throw(new Error("No authority on state")),this._settings.authority!==e.authority&&r.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==e.client_id&&r.throw(new Error("client_id mismatch on settings vs. signin state")),r.debug("state validated"),t.userState=e.data,(n=t.scope)!=null||(t.scope=e.scope),t.error)throw r.warn("Response was error",t.error),new n1(t);e.code_verifier&&!t.code&&r.throw(new Error("Expected code in response"))}async _processClaims(t,e=!1,n=!0){const r=this._logger.create("_processClaims");if(t.profile=this._claimsService.filterProtocolClaims(t.profile),e||!this._settings.loadUserInfo||!t.access_token){r.debug("not loading user info");return}r.debug("loading user info");const i=await this._userInfoService.getClaims(t.access_token);r.debug("user info claims received from user info endpoint"),n&&i.sub!==t.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),t.profile=this._claimsService.mergeClaims(t.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",t.profile)}async _processCode(t,e){const n=this._logger.create("_processCode");if(t.code){n.debug("Validating code");const r=await this._tokenClient.exchangeCode({client_id:e.client_id,client_secret:e.client_secret,code:t.code,redirect_uri:e.redirect_uri,code_verifier:e.code_verifier,...e.extraTokenParams});Object.assign(t,r)}else n.debug("No code to process")}_validateIdTokenAttributes(t,e){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=YH.decode((n=t.id_token)!=null?n:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),e){const o=YH.decode(e);i.sub!==o.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==o.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==o.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&o.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}t.profile=i}},_S=class{constructor(t){this.id=t.id||Xd.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=hc.getEpochTime(),this.request_type=t.request_type}toStorageString(){return new sn("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})}static fromStorageString(t){return sn.createStatic("State","fromStorageString"),new _S(JSON.parse(t))}static async clearStaleState(t,e){const n=sn.createStatic("State","clearStaleState"),r=hc.getEpochTime()-e,i=await t.getAllKeys();n.debug("got keys",i);for(let o=0;ov.searchParams.append("resource",x));for(const[y,x]of Object.entries({response_mode:a,...m,...h}))x!=null&&v.searchParams.append(y,x.toString());this.url=v.href}},odt="openid",aW=class{constructor(t){this.access_token="",this.token_type="",this.profile={},this.state=t.get("state"),this.session_state=t.get("session_state"),this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri"),this.code=t.get("code")}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-hc.getEpochTime()}set expires_in(t){typeof t=="string"&&(t=Number(t)),t!==void 0&&t>=0&&(this.expires_at=Math.floor(t)+hc.getEpochTime())}get isOpenId(){var t;return((t=this.scope)==null?void 0:t.split(" ").includes(odt))||!!this.id_token}},sdt=class{constructor({url:t,state_data:e,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:i,request_type:o}){if(this._logger=new sn("SignoutRequest"),!t)throw this._logger.error("ctor: No url passed"),new Error("url");const s=new URL(t);n&&s.searchParams.append("id_token_hint",n),r&&(s.searchParams.append("post_logout_redirect_uri",r),e&&(this.state=new _S({data:e,request_type:o}),s.searchParams.append("state",this.state.id)));for(const[a,l]of Object.entries({...i}))l!=null&&s.searchParams.append(a,l.toString());this.url=s.href}},adt=class{constructor(t){this.state=t.get("state"),this.error=t.get("error"),this.error_description=t.get("error_description"),this.error_uri=t.get("error_uri")}},ldt=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],udt=["sub","iss","aud","exp","iat"],cdt=class{constructor(t){this._settings=t,this._logger=new sn("ClaimsService")}filterProtocolClaims(t){const e={...t};if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=ldt;for(const r of n)udt.includes(r)||delete e[r]}return e}mergeClaims(t,e){const n={...t};for(const[r,i]of Object.entries(e))for(const o of Array.isArray(i)?i:[i]){const s=n[r];s?Array.isArray(s)?s.includes(o)||s.push(o):n[r]!==o&&(typeof o=="object"&&this._settings.mergeClaims?n[r]=this.mergeClaims(s,o):n[r]=[s,o]):n[r]=o}return n}},fdt=class{constructor(t){this._logger=new sn("OidcClient"),this.settings=new lPe(t),this.metadataService=new Yft(this.settings),this._claimsService=new cdt(this.settings),this._validator=new rdt(this.settings,this.metadataService,this._claimsService),this._tokenClient=new uPe(this.settings,this.metadataService)}async createSigninRequest({state:t,request:e,request_uri:n,request_type:r,id_token_hint:i,login_hint:o,skipUserInfo:s,nonce:a,response_type:l=this.settings.response_type,scope:u=this.settings.scope,redirect_uri:c=this.settings.redirect_uri,prompt:f=this.settings.prompt,display:d=this.settings.display,max_age:h=this.settings.max_age,ui_locales:p=this.settings.ui_locales,acr_values:g=this.settings.acr_values,resource:m=this.settings.resource,response_mode:v=this.settings.response_mode,extraQueryParams:y=this.settings.extraQueryParams,extraTokenParams:x=this.settings.extraTokenParams}){const b=this._logger.create("createSigninRequest");if(l!=="code")throw new Error("Only the Authorization Code flow (with PKCE) is supported");const w=await this.metadataService.getAuthorizationEndpoint();b.debug("Received authorization endpoint",w);const _=new idt({url:w,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:c,response_type:l,scope:u,state_data:t,prompt:f,display:d,max_age:h,ui_locales:p,id_token_hint:i,login_hint:o,acr_values:g,resource:m,request:e,request_uri:n,extraQueryParams:y,extraTokenParams:x,request_type:r,response_mode:v,client_secret:this.settings.client_secret,skipUserInfo:s,nonce:a,disablePKCE:this.settings.disablePKCE});await this.clearStaleState();const S=_.state;return await this.settings.stateStore.set(S.id,S.toStorageString()),_}async readSigninResponseState(t,e=!1){const n=this._logger.create("readSigninResponseState"),r=new aW(QH.readParams(t,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:$ee.fromStorageString(i),response:r}}async processSigninResponse(t){const e=this._logger.create("processSigninResponse"),{state:n,response:r}=await this.readSigninResponseState(t,!0);return e.debug("received state from storage; validating response"),await this._validator.validateSigninResponse(r,n),r}async processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n=!1,extraTokenParams:r={}}){const i=await this._tokenClient.exchangeCredentials({username:t,password:e,...r}),o=new aW(new URLSearchParams);return Object.assign(o,i),await this._validator.validateCredentialsResponse(o,n),o}async useRefreshToken({state:t,timeoutInSeconds:e}){var n;const r=this._logger.create("useRefreshToken");let i;if(this.settings.refreshTokenAllowedScope===void 0)i=t.scope;else{const a=this.settings.refreshTokenAllowedScope.split(" ");i=(((n=t.scope)==null?void 0:n.split(" "))||[]).filter(u=>a.includes(u)).join(" ")}const o=await this._tokenClient.exchangeRefreshToken({refresh_token:t.refresh_token,scope:i,timeoutInSeconds:e}),s=new aW(new URLSearchParams);return Object.assign(s,o),r.debug("validating response",s),await this._validator.validateRefreshResponse(s,{...t,scope:i}),s}async createSignoutRequest({state:t,id_token_hint:e,request_type:n,post_logout_redirect_uri:r=this.settings.post_logout_redirect_uri,extraQueryParams:i=this.settings.extraQueryParams}={}){const o=this._logger.create("createSignoutRequest"),s=await this.metadataService.getEndSessionEndpoint();if(!s)throw o.throw(new Error("No end session endpoint")),null;o.debug("Received end session endpoint",s);const a=new sdt({url:s,id_token_hint:e,post_logout_redirect_uri:r,state_data:t,extraQueryParams:i,request_type:n});await this.clearStaleState();const l=a.state;return l&&(o.debug("Signout request has state to persist"),await this.settings.stateStore.set(l.id,l.toStorageString())),a}async readSignoutResponseState(t,e=!1){const n=this._logger.create("readSignoutResponseState"),r=new adt(QH.readParams(t,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new n1(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[e?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:_S.fromStorageString(i),response:r}}async processSignoutResponse(t){const e=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(t,!0);return n?(e.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):e.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),_S.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(t,e){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:t,token_type_hint:e})}},ddt=class{constructor(t){this._userManager=t,this._logger=new sn("SessionMonitor"),this._start=async e=>{const n=e.session_state;if(!n)return;const r=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,this._sid=e.profile.sid,r.debug("session_state",n,", sub",this._sub)):(this._sub=void 0,this._sid=void 0,r.debug("session_state",n,", anonymous user")),this._checkSessionIFrame){this._checkSessionIFrame.start(n);return}try{const i=await this._userManager.metadataService.getCheckSessionIframe();if(i){r.debug("initializing check session iframe");const o=this._userManager.settings.client_id,s=this._userManager.settings.checkSessionIntervalInSeconds,a=this._userManager.settings.stopCheckSessionOnError,l=new Xft(this._callback,o,i,s,a);await l.load(),this._checkSessionIFrame=l,l.start(n)}else r.warn("no check session iframe found in the metadata")}catch(i){r.error("Error from getCheckSessionIframe:",i instanceof Error?i.message:i)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const n=setInterval(async()=>{clearInterval(n);try{const r=await this._userManager.querySessionStatus();if(r){const i={session_state:r.session_state,profile:r.sub&&r.sid?{sub:r.sub,sid:r.sid}:null};this._start(i)}}catch(r){e.error("error from querySessionStatus",r instanceof Error?r.message:r)}},1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const n=await this._userManager.querySessionStatus();let r=!0;n&&this._checkSessionIFrame?n.sub===this._sub?(r=!1,this._checkSessionIFrame.start(n.session_state),n.sid===this._sid?e.debug("same sub still logged in at OP, restarting check session iframe; session_state",n.session_state):(e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",n.session_state),this._userManager.events._raiseUserSessionChanged())):e.debug("different subject signed into OP",n.sub):e.debug("subject no longer signed into OP"),r?this._sub?this._userManager.events._raiseUserSignedOut():this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(n){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",n),this._userManager.events._raiseUserSignedOut())}},t||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch(e=>{this._logger.error(e)})}async _init(){this._logger.create("_init");const t=await this._userManager.getUser();if(t)this._start(t);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const n={session_state:e.session_state,profile:e.sub&&e.sid?{sub:e.sub,sid:e.sid}:null};this._start(n)}}}},a3=class{constructor(t){var e;this.id_token=t.id_token,this.session_state=(e=t.session_state)!=null?e:null,this.access_token=t.access_token,this.refresh_token=t.refresh_token,this.token_type=t.token_type,this.scope=t.scope,this.profile=t.profile,this.expires_at=t.expires_at,this.state=t.userState}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-hc.getEpochTime()}set expires_in(t){t!==void 0&&(this.expires_at=Math.floor(t)+hc.getEpochTime())}get expired(){const t=this.expires_in;if(t!==void 0)return t<=0}get scopes(){var t,e;return(e=(t=this.scope)==null?void 0:t.split(" "))!=null?e:[]}toStorageString(){return new sn("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return sn.createStatic("User","fromStorageString"),new a3(JSON.parse(t))}},qde="oidc-client",cPe=class{constructor(){this._abort=new Um("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(t){const e=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");e.debug("setting URL in window"),this._window.location.replace(t.url);const{url:n,keepOpen:r}=await new Promise((i,o)=>{const s=a=>{var l;const u=a.data,c=(l=t.scriptOrigin)!=null?l:window.location.origin;if(!(a.origin!==c||(u==null?void 0:u.source)!==qde)){try{const f=QH.readParams(u.url,t.response_mode).get("state");if(f||e.warn("no state found in response url"),a.source!==this._window&&f!==t.state)return}catch{this._dispose(),o(new Error("Invalid response from window"))}i(u)}};window.addEventListener("message",s,!1),this._disposeHandlers.add(()=>window.removeEventListener("message",s,!1)),this._disposeHandlers.add(this._abort.addHandler(a=>{this._dispose(),o(a)}))});return e.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const t of this._disposeHandlers)t();this._disposeHandlers.clear()}static _notifyParent(t,e,n=!1,r=window.location.origin){t.postMessage({source:qde,url:e,keepOpen:n},r)}},fPe={location:!1,toolbar:!1,height:640},dPe="_blank",hdt=60,pdt=2,hPe=10,gdt=class extends lPe{constructor(t){const{popup_redirect_uri:e=t.redirect_uri,popup_post_logout_redirect_uri:n=t.post_logout_redirect_uri,popupWindowFeatures:r=fPe,popupWindowTarget:i=dPe,redirectMethod:o="assign",redirectTarget:s="self",iframeNotifyParentOrigin:a=t.iframeNotifyParentOrigin,iframeScriptOrigin:l=t.iframeScriptOrigin,silent_redirect_uri:u=t.redirect_uri,silentRequestTimeoutInSeconds:c=hPe,automaticSilentRenew:f=!0,validateSubOnSilentRenew:d=!0,includeIdTokenInSilentRenew:h=!1,monitorSession:p=!1,monitorAnonymousSession:g=!1,checkSessionIntervalInSeconds:m=pdt,query_status_response_type:v="code",stopCheckSessionOnError:y=!0,revokeTokenTypes:x=["access_token","refresh_token"],revokeTokensOnSignout:b=!1,includeIdTokenInSilentSignout:w=!1,accessTokenExpiringNotificationTimeInSeconds:_=hdt,userStore:S}=t;if(super(t),this.popup_redirect_uri=e,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=o,this.redirectTarget=s,this.iframeNotifyParentOrigin=a,this.iframeScriptOrigin=l,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=c,this.automaticSilentRenew=f,this.validateSubOnSilentRenew=d,this.includeIdTokenInSilentRenew=h,this.monitorSession=p,this.monitorAnonymousSession=g,this.checkSessionIntervalInSeconds=m,this.stopCheckSessionOnError=y,this.query_status_response_type=v,this.revokeTokenTypes=x,this.revokeTokensOnSignout=b,this.includeIdTokenInSilentSignout=w,this.accessTokenExpiringNotificationTimeInSeconds=_,S)this.userStore=S;else{const O=typeof window<"u"?window.sessionStorage:new sPe;this.userStore=new aPe({store:O})}}},KH=class extends cPe{constructor({silentRequestTimeoutInSeconds:t=hPe}){super(),this._logger=new sn("IFrameWindow"),this._timeoutInSeconds=t,this._frame=KH.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const t=window.document.createElement("iframe");return t.style.visibility="hidden",t.style.position="fixed",t.style.left="-1000px",t.style.top="0",t.width="0",t.height="0",t.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),window.document.body.appendChild(t),t}async navigate(t){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const e=setTimeout(()=>this._abort.raise(new Iee("IFrame timed out without a response")),this._timeoutInSeconds*1e3);return this._disposeHandlers.add(()=>clearTimeout(e)),await super.navigate(t)}close(){var t;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",e=>{var n;const r=e.target;(n=r.parentNode)==null||n.removeChild(r),this._abort.raise(new Error("IFrame removed from DOM"))},!0),(t=this._frame.contentWindow)==null||t.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(t,e){return super._notifyParent(window.parent,t,!1,e)}},mdt=class{constructor(t){this._settings=t,this._logger=new sn("IFrameNavigator")}async prepare({silentRequestTimeoutInSeconds:t=this._settings.silentRequestTimeoutInSeconds}){return new KH({silentRequestTimeoutInSeconds:t})}async callback(t){this._logger.create("callback"),KH.notifyParent(t,this._settings.iframeNotifyParentOrigin)}},vdt=500,Xde=class extends cPe{constructor({popupWindowTarget:t=dPe,popupWindowFeatures:e={}}){super(),this._logger=new sn("PopupWindow");const n=Hde.center({...fPe,...e});this._window=window.open(void 0,t,Hde.serialize(n))}async navigate(t){var e;(e=this._window)==null||e.focus();const n=setInterval(()=>{(!this._window||this._window.closed)&&this._abort.raise(new Error("Popup closed by user"))},vdt);return this._disposeHandlers.add(()=>clearInterval(n)),await super.navigate(t)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(t,e){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,t,e)}},ydt=class{constructor(t){this._settings=t,this._logger=new sn("PopupNavigator")}async prepare({popupWindowFeatures:t=this._settings.popupWindowFeatures,popupWindowTarget:e=this._settings.popupWindowTarget}){return new Xde({popupWindowFeatures:t,popupWindowTarget:e})}async callback(t,e=!1){this._logger.create("callback"),Xde.notifyOpener(t,e)}},xdt=class{constructor(t){this._settings=t,this._logger=new sn("RedirectNavigator")}async prepare({redirectMethod:t=this._settings.redirectMethod,redirectTarget:e=this._settings.redirectTarget}){var n;this._logger.create("prepare");let r=window.self;e==="top"&&(r=(n=window.top)!=null?n:window.self);const i=r.location[t].bind(r.location);let o;return{navigate:async s=>{this._logger.create("navigate");const a=new Promise((l,u)=>{o=u});return i(s.url),await a},close:()=>{this._logger.create("close"),o==null||o(new Error("Redirect aborted")),r.stop()}}}},bdt=class extends qft{constructor(t){super({expiringNotificationTimeInSeconds:t.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new sn("UserManagerEvents"),this._userLoaded=new Um("User loaded"),this._userUnloaded=new Um("User unloaded"),this._silentRenewError=new Um("Silent renew error"),this._userSignedIn=new Um("User signed in"),this._userSignedOut=new Um("User signed out"),this._userSessionChanged=new Um("User session changed")}load(t,e=!0){super.load(t),e&&this._userLoaded.raise(t)}unload(){super.unload(),this._userUnloaded.raise()}addUserLoaded(t){return this._userLoaded.addHandler(t)}removeUserLoaded(t){return this._userLoaded.removeHandler(t)}addUserUnloaded(t){return this._userUnloaded.addHandler(t)}removeUserUnloaded(t){return this._userUnloaded.removeHandler(t)}addSilentRenewError(t){return this._silentRenewError.addHandler(t)}removeSilentRenewError(t){return this._silentRenewError.removeHandler(t)}_raiseSilentRenewError(t){this._silentRenewError.raise(t)}addUserSignedIn(t){return this._userSignedIn.addHandler(t)}removeUserSignedIn(t){this._userSignedIn.removeHandler(t)}_raiseUserSignedIn(){this._userSignedIn.raise()}addUserSignedOut(t){return this._userSignedOut.addHandler(t)}removeUserSignedOut(t){this._userSignedOut.removeHandler(t)}_raiseUserSignedOut(){this._userSignedOut.raise()}addUserSessionChanged(t){return this._userSessionChanged.addHandler(t)}removeUserSessionChanged(t){this._userSessionChanged.removeHandler(t)}_raiseUserSessionChanged(){this._userSessionChanged.raise()}},wdt=class{constructor(t){this._userManager=t,this._logger=new sn("SilentRenewService"),this._isStarted=!1,this._retryTimer=new hc("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(n){if(n instanceof Iee){e.warn("ErrorTimeout from signinSilent:",n,"retry in 5s"),this._retryTimer.init(5);return}e.error("Error from signinSilent:",n),this._userManager.events._raiseSilentRenewError(n)}}}async start(){const t=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(e){t.error("getUser error",e)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},_dt=class{constructor(t){this.refresh_token=t.refresh_token,this.id_token=t.id_token,this.session_state=t.session_state,this.scope=t.scope,this.profile=t.profile,this.data=t.state}},Sdt=class{constructor(t){this._logger=new sn("UserManager"),this.settings=new gdt(t),this._client=new fdt(t),this._redirectNavigator=new xdt(this.settings),this._popupNavigator=new ydt(this.settings),this._iframeNavigator=new mdt(this.settings),this._events=new bdt(this.settings),this._silentRenewService=new wdt(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new ddt(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const t=this._logger.create("getUser"),e=await this._loadUser();return e?(t.info("user loaded"),this._events.load(e,!1),e):(t.info("user not found in storage"),null)}async removeUser(){const t=this._logger.create("removeUser");await this.storeUser(null),t.info("user removed from storage"),this._events.unload()}async signinRedirect(t={}){this._logger.create("signinRedirect");const{redirectMethod:e,...n}=t,r=await this._redirectNavigator.prepare({redirectMethod:e});await this._signinStart({request_type:"si:r",...n},r)}async signinRedirectCallback(t=window.location.href){const e=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(t);return n.profile&&n.profile.sub?e.info("success, signed in subject",n.profile.sub):e.info("no subject"),n}async signinResourceOwnerCredentials({username:t,password:e,skipUserInfo:n=!1}){const r=this._logger.create("signinResourceOwnerCredential"),i=await this._client.processResourceOwnerPasswordCredentials({username:t,password:e,skipUserInfo:n,extraTokenParams:this.settings.extraTokenParams});r.debug("got signin response");const o=await this._buildUser(i);return o.profile&&o.profile.sub?r.info("success, signed in subject",o.profile.sub):r.info("no subject"),o}async signinPopup(t={}){const e=this._logger.create("signinPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_redirect_uri;o||e.throw(new Error("No popup_redirect_uri configured"));const s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r}),a=await this._signin({request_type:"si:p",redirect_uri:o,display:"popup",...i},s);return a&&(a.profile&&a.profile.sub?e.info("success, signed in subject",a.profile.sub):e.info("no subject")),a}async signinPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(t,e),n.info("success")}async signinSilent(t={}){var e;const n=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:r,...i}=t;let o=await this._loadUser();if(o!=null&&o.refresh_token){n.debug("using refresh token");const u=new _dt(o);return await this._useRefreshToken(u)}const s=this.settings.silent_redirect_uri;s||n.throw(new Error("No silent_redirect_uri configured"));let a;o&&this.settings.validateSubOnSilentRenew&&(n.debug("subject prior to silent renew:",o.profile.sub),a=o.profile.sub);const l=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});return o=await this._signin({request_type:"si:s",redirect_uri:s,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,...i},l,a),o&&((e=o.profile)!=null&&e.sub?n.info("success, signed in subject",o.profile.sub):n.info("no subject")),o}async _useRefreshToken(t){const e=await this._client.useRefreshToken({state:t,timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds}),n=new a3({...t,...e});return await this.storeUser(n),this._events.load(n),n}async signinSilentCallback(t=window.location.href){const e=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async signinCallback(t=window.location.href){const{state:e}=await this._client.readSigninResponseState(t);switch(e.request_type){case"si:r":return await this.signinRedirectCallback(t);case"si:p":return await this.signinPopupCallback(t);case"si:s":return await this.signinSilentCallback(t);default:throw new Error("invalid response_type in state")}}async signoutCallback(t=window.location.href,e=!1){const{state:n}=await this._client.readSignoutResponseState(t);if(n)switch(n.request_type){case"so:r":await this.signoutRedirectCallback(t);break;case"so:p":await this.signoutPopupCallback(t,e);break;case"so:s":await this.signoutSilentCallback(t);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(t={}){const e=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=t,i=this.settings.silent_redirect_uri;i||e.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),a=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?o==null?void 0:o.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},s);try{const l=await this._client.processSigninResponse(a.url);return e.debug("got signin response"),l.session_state&&l.profile.sub?(e.info("success for subject",l.profile.sub),{session_state:l.session_state,sub:l.profile.sub,sid:l.profile.sid}):(e.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof n1)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return e.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(t,e,n){const r=await this._signinStart(t,e);return await this._signinEnd(r.url,n)}async _signinStart(t,e){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(t);return n.debug("got signin request"),await e.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw n.debug("error after preparing navigator, closing navigator window"),e.close(),r}}async _signinEnd(t,e){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(t);return n.debug("got signin response"),await this._buildUser(r,e)}async _buildUser(t,e){const n=this._logger.create("_buildUser"),r=new a3(t);if(e){if(e!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new n1({...t,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),this._events.load(r),r}async signoutRedirect(t={}){const e=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=t,i=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),e.info("success")}async signoutRedirectCallback(t=window.location.href){const e=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(t);return e.info("success"),n}async signoutPopup(t={}){const e=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,...i}=t,o=this.settings.popup_post_logout_redirect_uri,s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r});await this._signout({request_type:"so:p",post_logout_redirect_uri:o,state:o==null?void 0:{},...i},s),e.info("success")}async signoutPopupCallback(t=window.location.href,e=!1){const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(t,e),n.info("success")}async _signout(t,e){const n=await this._signoutStart(t,e);return await this._signoutEnd(n.url)}async _signoutStart(t={},e){var n;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const o=t.id_token_hint||i&&i.id_token;o&&(r.debug("setting id_token_hint in signout request"),t.id_token_hint=o),await this.removeUser(),r.debug("user removed, creating signout request");const s=await this._client.createSignoutRequest(t);return r.debug("got signout request"),await e.navigate({url:s.url,state:(n=s.state)==null?void 0:n.id})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),e.close(),i}}async _signoutEnd(t){const e=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(t);return e.debug("got signout response"),n}async signoutSilent(t={}){var e;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=t,o=this.settings.includeIdTokenInSilentSignout?(e=await this._loadUser())==null?void 0:e.id_token:void 0,s=this.settings.popup_post_logout_redirect_uri,a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:s,id_token_hint:o,...i},a),n.info("success")}async signoutSilentCallback(t=window.location.href){const e=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(t),e.info("success")}async revokeTokens(t){const e=await this._loadUser();await this._revokeInternal(e,t)}async _revokeInternal(t,e=this.settings.revokeTokenTypes){const n=this._logger.create("_revokeInternal");if(!t)return;const r=e.filter(i=>typeof t[i]=="string");if(!r.length){n.debug("no need to revoke due to no token(s)");return}for(const i of r)await this._client.revokeToken(t[i],i),n.info(`${i} revoked successfully`),i!=="access_token"&&(t[i]=null);await this.storeUser(t),n.debug("user stored"),this._events.load(t)}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const t=this._logger.create("_loadUser"),e=await this.settings.userStore.get(this._userStoreKey);return e?(t.debug("user storageString loaded"),a3.fromStorageString(e)):(t.debug("no user storageString"),null)}async storeUser(t){const e=this._logger.create("storeUser");if(t){e.debug("storing user");const n=t.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey)}async clearStaleState(){await this._client.clearStaleState()}},Fee=de.createContext(void 0);Fee.displayName="AuthContext";var Cdt={isLoading:!0,isAuthenticated:!1},Odt=(t,e)=>{switch(e.type){case"INITIALISED":case"USER_LOADED":return{...t,user:e.user,isLoading:!1,isAuthenticated:e.user?!e.user.expired:!1,error:void 0};case"USER_UNLOADED":return{...t,user:void 0,isAuthenticated:!1};case"NAVIGATOR_INIT":return{...t,isLoading:!0,activeNavigator:e.method};case"NAVIGATOR_CLOSE":return{...t,isLoading:!1,activeNavigator:void 0};case"ERROR":return{...t,isLoading:!1,error:e.error};default:return{...t,isLoading:!1,error:new Error(`unknown type ${e.type}`)}}},Edt=(t=window.location)=>{let e=new URLSearchParams(t.search);return!!((e.get("code")||e.get("error"))&&e.get("state")||(e=new URLSearchParams(t.hash.replace("#","?")),(e.get("code")||e.get("error"))&&e.get("state")))},Tdt=t=>e=>e instanceof Error?e:new Error(t),kdt=Tdt("Login failed"),Adt=["clearStaleState","querySessionStatus","revokeTokens","startSilentRenew","stopSilentRenew"],Pdt=["signinPopup","signinSilent","signinRedirect","signoutPopup","signoutRedirect","signoutSilent"],lW=t=>()=>{throw new Error(`UserManager#${t} was called from an unsupported context. If this is a server-rendered page, defer this call with useEffect() or pass a custom UserManager implementation.`)},Mdt=typeof window>"u"?null:Sdt,Rdt=t=>{const{children:e,onSigninCallback:n,skipSigninCallback:r,onRemoveUser:i,onSignoutRedirect:o,onSignoutPopup:s,implementation:a=Mdt,userManager:l,...u}=t,[c]=D.useState(()=>l??(a?new a(u):{settings:u})),[f,d]=D.useReducer(Odt,Cdt),h=D.useMemo(()=>Object.assign({settings:c.settings,events:c.events},Object.fromEntries(Adt.map(x=>{var b,w;return[x,(w=(b=c[x])==null?void 0:b.bind(c))!=null?w:lW(x)]})),Object.fromEntries(Pdt.map(x=>[x,c[x]?async(...b)=>{d({type:"NAVIGATOR_INIT",method:x});try{return await c[x](...b)}finally{d({type:"NAVIGATOR_CLOSE"})}}:lW(x)]))),[c]),p=D.useRef(!1);D.useEffect(()=>{!c||p.current||(p.current=!0,(async()=>{let x=null;try{Edt()&&!r&&(x=await c.signinCallback(),n&&n(x)),x=x||await c.getUser(),d({type:"INITIALISED",user:x})}catch(b){d({type:"ERROR",error:kdt(b)})}})())},[c,r,n]),D.useEffect(()=>{if(!c)return;const x=_=>{d({type:"USER_LOADED",user:_})};c.events.addUserLoaded(x);const b=()=>{d({type:"USER_UNLOADED"})};c.events.addUserUnloaded(b);const w=_=>{d({type:"ERROR",error:_})};return c.events.addSilentRenewError(w),()=>{c.events.removeUserLoaded(x),c.events.removeUserUnloaded(b),c.events.removeSilentRenewError(w)}},[c]);const g=D.useCallback(c?()=>c.removeUser().then(i):lW("removeUser"),[c,i]),m=D.useCallback(x=>h.signoutRedirect(x).then(o),[h.signoutRedirect,o]),v=D.useCallback(x=>h.signoutPopup(x).then(s),[h.signoutPopup,s]),y=D.useCallback(x=>h.signoutSilent(x),[h.signoutSilent]);return de.createElement(Fee.Provider,{value:{...f,...h,removeUser:g,signoutRedirect:m,signoutPopup:v,signoutSilent:y}},e)},Ddt=()=>{const t=de.useContext(Fee);if(!t)throw new Error("AuthProvider context is undefined, please verify you are calling useAuth() as child of a component.");return t};const Yde="color:green;font-weight:bold;",Idt="color:blue;font-weight:bold;";class Ldt{constructor(e){gn(this,"_languages");gn(this,"_content");gn(this,"_locale");const n=Object.getOwnPropertyNames(e.languages);if(n.findIndex(i=>i==="en")<0)throw new Error('Internal error: locale "en" must be included in supported languages');const r={};e.dictionary.forEach((i,o)=>{n.forEach(a=>{if(!i[a])throw new Error(`Internal error: invalid entry at index ${o} in "./resources/lang.json": missing translation for locale: "${a}": ${i}`)});const s=Qde(i.en);r[s]&&console.warn(`Translation already defined for "${i.en}".`),r[s]=i}),this._languages=e.languages,this._content=r,this._locale="en"}get languages(){return this._languages}get locale(){return this._locale}set locale(e){const n=Object.getOwnPropertyNames(this._languages);if(n.findIndex(r=>r===e)<0){const r=e.split("-")[0];if(n.findIndex(i=>i===r)<0){console.error(`No translations found for locale "${e}", staying with "${this._locale}".`);return}else console.warn(`No translations found for locale "${e}", falling back to "${r}".`),e=r}this._locale=e}get(e,n){const r=Qde(e),i=this._content[r];let o;return i?(o=i[this._locale],o||(console.debug(`missing translation of phrase %c${e}`,Yde,` for locale %c${this._locale}`,Idt),o=e)):(console.debug(`missing translation for phrase %c${e}`,Yde),o=e),n&&Object.keys(n).forEach(s=>{o=o.replace("${"+s+"}",`${n[s]}`)}),o}}const $dt=()=>{let t;return navigator.languages&&navigator.languages.length>0?t=navigator.languages[0]:t=navigator.language||navigator.userLanguage||navigator.browserLanguage||"en",t.split("-")[0]},Qde=t=>t.toLowerCase(),Fdt={en:"English",de:"Deutsch",se:"Svenska"},Ndt=[{en:"OK",de:"OK",se:"OK"},{en:"Cancel",de:"Abbrechen",se:"Avbryt"},{en:"Save",de:"Speichern",se:"Spara"},{en:"Select",de:"Auswählen",se:"Välj"},{en:"Add",de:"Hinzufügen",se:"Lägg till"},{en:"Edit",de:"Bearbeiten",se:"Redigera"},{en:"Remove",de:"Entfernen",se:"Ta bort"},{en:"Dataset",de:"Datensatz",se:"Dataset"},{en:"Variable",de:"Variable",se:"Variabel"},{en:"My places",de:"Meine Orte",se:"Mina platser"},{en:"Loading places",de:"Lade Orte",se:"Laddar platser"},{en:"Places",de:"Orte",se:"Platser"},{en:"Place",de:"Ort",se:"Plats"},{en:"Time",de:"Zeit",se:"Tid"},{en:"Missing time axis",de:"Fehlende Zeitachse",se:"Saknar tidsaxel"},{en:"Geometry type",de:"Geometry-Typ",se:"Geometri typ"},{en:"Point",de:"Punkt",se:"Punkt"},{en:"Polygon",de:"Polygon",se:"Polygon"},{en:"Circle",de:"Kreis",se:"Cirkel"},{en:"Multi",de:"Multi",se:"Multi"},{en:"Something went wrong.",de:"Irgendetwas lief schief.",se:"Något gick fel."},{en:"Time-Series",de:"Zeitserie",se:"Tidsserier"},{en:"Quantity",de:"Größe",se:"Kvantitet"},{en:"unknown units",de:"unbekannte Einheiten",se:"okända enheter"},{en:"Values",de:"Werte",se:"Värden"},{en:"Start",de:"Start",se:"Start"},{en:"Stop",de:"Stopp",se:"Stopp"},{en:"Please wait...",de:"Bitte warten...",se:"Vänta ..."},{en:"Loading data",de:"Lade Daten",se:"Laddar data"},{en:"Connecting to server",de:"Verbindung zum Server wird hergestellt",se:"Ansluta till servern"},{en:"Cannot reach server",de:"Kann Server nicht erreichen",se:"Kan inte nå servern"},{en:"Language",de:"Sprache",se:"Språk"},{en:"Settings",de:"Einstellungen",se:"Inställningar"},{en:"General",de:"Allgemein",se:"Allmänhet"},{en:"System Information",de:"Systeminformation",se:"Systeminformation"},{en:"version",de:"Version",se:"Version"},{en:"Server",de:"Server",se:"Server"},{en:"Add Server",de:"Server hinzufügen",se:"Lägg till server"},{en:"Edit Server",de:"Server bearbeiten",se:"Redigera server"},{en:"Select Server",de:"Server auswählen",se:"Välj server"},{en:"On",de:"An",se:"På"},{en:"Off",de:"Aus",se:"Av"},{en:"Time interval of the player",de:"Zeitintervall des Abspielers",se:"Spelarens tidsintervall"},{en:"Show chart after adding a place",de:"Diagram anzeigen, nachdem ein Ort hinzugefügt wurde",se:"Visa diagram efter att du har lagt till en plats"},{en:"Calculate standard deviation",de:"Berechne Standardabweichung",se:"Beräkna standardavvikelsen"},{en:"Calculate median instead of mean (disables standard deviation)",de:"Median statt Mittelwert berechnen (deaktiviert Standardabweichung)",se:"Beräkna median istället för medelvärde (inaktiverar standardavvikelse)"},{en:"Minimal number of data points in a time series update",de:"Minimale Anzahl Datenpunkte in einer Zeitreihen-Aktualisierung",se:"Minimalt antal datapunkter i en tidsserieuppdatering"},{en:"Map",de:"Karte",se:"Karta"},{en:"Projection",de:"Projektion",se:"Projektion"},{en:"Geographic",de:"Geografisch",se:"Geografiskt"},{en:"Mercator",de:"Mercator",se:"Mercator"},{en:"Image smoothing",de:"Bildglättung",se:"Bildutjämning"},{en:"Show dataset boundaries",de:"Datensatzgrenzen anzeigen",se:"Visa datauppsättningsgränser"},{en:"Base map",de:"Basiskarte",se:"Grundkarta"},{en:"Hide small values",de:"Kleine Werte ausblenden",se:"Dölja små värden"},{en:"Reverse",de:"Umkehren",se:"Omvänt"},{en:"Color",de:"Farbe",se:"Färg"},{en:"Opacity",de:"Opazität",se:"Opacitet"},{en:"Value Range",de:"Wertebereich",se:"Värdeintervall"},{en:"Assign min/max from color mapping values",de:"Min./Max. aus Farbzuordnungswerten übertragen",se:"Tilldela min/max från färgmappningsvärden"},{en:"Log-scaled",de:"Log-skaliert",se:"Log-skalad"},{en:"Logarithmic scaling",de:"Logarithmische Skalierung",se:"Logaritmisk skalning"},{en:"Others",de:"Andere",se:"Andra"},{en:"Dataset information",de:"Informationen zum Datensatz",se:"Information om dataset"},{en:"Variable information",de:"Informationen zur Variablen",se:"Information om variabeln"},{en:"Place information",de:"Informationen zum Ort",se:"Platsinformation"},{en:"Dimension names",de:"Namen der Dimensionen",se:"Dimensioner namn"},{en:"Dimension data types",de:"Datentypen der Dimensionen",se:"Dimensionsdatatyper"},{en:"Dimension lengths",de:"Länge der Dimensionen",se:"Måttlängder"},{en:"Time chunk size",de:"Zeitblockgröße",se:"Tidsblockstorlek"},{en:"Geographical extent",de:"Geografische Ausdehnung",se:"Geografisk omfattning"},{en:"Spatial reference system",de:"Räumliches Bezugssystem",se:"Rumsligt referenssystem"},{en:"Name",de:"Name",se:"Namn"},{en:"Title",de:"Titel",se:"Titel"},{en:"Units",de:"Einheiten",se:"Enheter"},{en:"Expression",de:"Ausdruck",se:"Uttryck"},{en:"Data type",de:"Datentyp",se:"Datatyp"},{en:"There is no information available for this location.",de:"Zu diesem Ort sind keine keine Informationen vorhanden.",se:"Det finns ingen information tillgänglig för den här platsen."},{en:"Log out",de:"Abmelden",se:"Logga ut"},{en:"Profile",de:"Profil",se:"Profil"},{en:"User Profile",de:"Nutzerprofil",se:"Användarprofil"},{en:"User name",de:"Nutzername",se:"Användarnamn"},{en:"E-mail",de:"E-mail",se:"E-post"},{en:"Nickname",de:"Spitzname",se:"Smeknamn"},{en:"verified",de:"verifiziert",se:"verified"},{en:"not verified",de:"nicht verifiziert",se:"inte verifierad"},{en:"RGB",de:"RGB",se:"RGB"},{en:"Imprint",de:"Impressum",se:"Avtryck"},{en:"User Manual",de:"Benutzerhandbuch",se:"Användarmanual"},{en:"Show time-series diagram",de:"Zeitserien-Diagramm anzeigen",se:"Visa tidsseriediagram"},{en:"Add Statistics",de:"Statistiken hinzufügen",se:"Lägg till statistik"},{en:"Help",de:"Hilfe",se:"Hjälp"},{en:"Copy snapshot of chart to clipboard",de:"Schnappschuss des Diagramms in die Zwischenablage kopieren",se:"Kopiera ögonblicksbild av diagrammet till urklipp"},{en:"Snapshot copied to clipboard",de:"Schnappschuss wurde in die Zwischenablage kopiert",se:"Ögonblicksbild har kopierats till urklipp"},{en:"Error copying snapshot to clipboard",de:"Fehler beim Kopieren des Schnappschusses in die Zwischenablage",se:"Det gick inte att kopiera ögonblicksbilden till urklipp"},{en:"Export data",de:"Daten exportieren",se:"Exportera data"},{en:"Export Settings",de:"Export-Einstellungen",se:"Exportera Inställningar"},{en:"Include time-series data",de:"Zeitseriendaten einschließen",se:"Inkludera tidsseriedata"},{en:"Include places data",de:"Ortsdaten einschließen",se:"Inkludera platsdata"},{en:"File name",de:"Dateiname",se:"Filnamn"},{en:"Separator for time-series data",de:"Trennzeichen für Zeitreihendaten",se:"Separator för tidsseriedata"},{en:"Combine place data in one file",de:"Ortsdaten in einer Datei zusammenfassen",se:"Kombinera platsdata i en fil"},{en:"As ZIP archive",de:"Als ZIP-Archiv",se:"Som ett ZIP-arkiv"},{en:"Download",de:"Herunterladen",se:"Ladda ner"},{en:"Locate place in map",de:"Lokalisiere Ort in Karte",se:"Leta upp plats på kartan"},{en:"Locate dataset in map",de:"Lokalisiere Datensatz in Karte",se:"Leta upp dataset på kartan"},{en:"Open information panel",de:"Informationsfeld öffnen",se:"Öppet informationsfält"},{en:"Select a place in map",de:"Ort in der Karte auswählen",se:"Välj plats på kartan"},{en:"Add a point location in map",de:"Punkt zur Karte hinzufügen",se:"Lägg till punkt på kartan"},{en:"Draw a polygon area in map",de:"Polygonale Fläche in der Karte zeichnen",se:"Rita en polygonal yta på kartan"},{en:"Draw a circular area in map",de:"Kreisförmige Fläche in der Karte zeichnen",se:"Rita ett cirkulärt område på kartan"},{en:"Rename place",de:"Ort umbenennen",se:"Byt namn på plats"},{en:"Style place",de:"Ort stylen",se:"Styla plats"},{en:"Remove place",de:"Ort entfernen",se:"Ta bort plats"},{en:"Rename place group",de:"Ortsgruppe umbenennen",se:"Byt namn på platsgrupp"},{en:"Remove places",de:"Orte entfernen",se:"Ta bort platser"},{en:"Show RGB layer instead",de:"Stattdessen RGB-Layer anzeigen",se:"Visa RGB-lager istället"},{en:"Auto-step through times in the dataset",de:"Zeiten im Datensatz automatisch durchlaufen",se:"Kör automatiskt genom tider i dataposten"},{en:"First time step",de:"Erster Zeitschritt",se:"Första tidssteg"},{en:"Last time step",de:"Letzter Zeitschritt",se:"Sista tidssteg"},{en:"Previous time step",de:"Vorheriger Zeitschritt",se:"Föregående tidssteg"},{en:"Next time step",de:"Nächster Zeitschritt",se:"Nästa tidssteg"},{en:"Select time in dataset",de:"Datensatz-Zeit auswählen",se:"Välj tid i dataset"},{en:"Refresh",de:"Aktualisieren",se:"Att uppdatera"},{en:"Accept and continue",de:"Akzeptieren und weiter",se:"Acceptera och fortsätt"},{en:"Leave",de:"Verlassen",se:"Lämna"},{en:"Import places",de:"Orte importieren",se:"Importera platser"},{en:"Text/CSV",de:"Text/CSV",se:"Text/CSV"},{en:"GeoJSON",de:"GeoJSON",se:"GeoJSON"},{en:"WKT",de:"WKT",se:"WKT"},{en:"Enter text or drag & drop a text file.",de:"Text eingeben oder Textdatei per Drag & Drop einfügen.",se:"Skriv in text eller dra och släpp en textfil."},{en:"From File",de:"Aus Datei",se:"Från fil"},{en:"Clear",de:"Löschen",se:"Tömma"},{en:"Options",de:"Optionen",se:"Alternativ"},{en:"Time (UTC, ISO-format)",de:"Zeit (UTC, ISO-Format)",se:"Tid (UTC, ISO-format)"},{en:"Group",de:"Gruppe",se:"Grupp"},{en:"Label",de:"Label",se:"Etikett"},{en:"Time property names",de:"Eigenschaftsnamen für Zeit",se:"Gruppegendomsnamn"},{en:"Group property names",de:"Eigenschaftsnamen für Gruppe",se:"Gruppegendomsnamn"},{en:"Label property names",de:"Eigenschaftsnamen für Label",se:"Etikett egendomsnamn"},{en:"Group prefix (used as fallback)",de:"Gruppen-Präfix (als Fallback verwendet)",se:"Gruppprefix (används som reserv)"},{en:"Label prefix (used as fallback)",de:"Label-Präfix (als Fallback verwendet)",se:"Etikettprefix (används som reserv)"},{en:"X/longitude column names",de:"Spaltennamen für y/Längengrad",se:"X/longitud kolumnnamn"},{en:"Y/latitude column names",de:"Spaltennamen für y/Breitengrad",se:"Y/latitud kolumnnamn"},{en:"Geometry column names",de:"Spaltennamen für Geometrie",se:"Geometrikolumnnamn"},{en:"Time column names",de:"Spaltennamen für Zeit",se:"Tidskolumnnamn"},{en:"Group column names",de:"Spaltennamen für Gruppe",se:"Gruppkolumnnamn"},{en:"Label column names",de:"Spaltennamen für Label",se:"Etikettkolumnnamn"},{en:"Separator character",de:"Trennzeichen",se:"Skiljetecken"},{en:"Comment character",de:"Kommentar-Zeichen",se:"Kommentar karaktär"},{en:"Quote character",de:"Zitierzeichen",se:"Citat karaktär"},{en:"Escape character",de:"Escape character",se:"Escape karaktär"},{en:"Not-a-number token",de:"Token für 'keine Zahl'",se:"Not-a-number token"},{en:"True token",de:"Token für 'wahr'",se:"Sann token"},{en:"False token",de:"Token für 'falsch'",se:"Falsk token"},{en:"Revoke consent",de:"Zustimmung widerrufen",se:"Återkalla samtycke "},{en:"Accepted",de:"Akzeptiert",se:"Accepterad"},{en:"Legal Agreement",de:"Rechtliches Übereinkommen",se:"Laglig Överenskommelse"},{en:"Privacy Notice",de:"Datenschutzhinweis",se:"Sekretessmeddelande"},{en:"WMS URL",de:"WMS URL",se:"WMS URL"},{en:"WMS Layer",de:"WMS Layer",se:"WMS Lager"},{en:"Add layer from a Web Map Service",de:"Layer aus einem Web Map Service hinzufügen",se:"Lägg till lager från en Web Map Service"},{en:"Add layer from a Tiled Web Map",de:"Layer aus einer Tiled Web Map hinzufügen",se:"Lägg till lager från en Tiled Web Map"},{en:"Show or hide layers panel",de:"Layer-Bedienfeld ein- oder ausblenden",se:"Visa eller dölj panelen Lager"},{en:"Turn layer split mode on or off",de:"Layer-Split-Modus ein- oder ausschalten",se:"Aktivera eller inaktivera lagerdelningsläget"},{en:"Turn info box on or off",de:"Infobox ein- oder ausschalten",se:"Slå på eller av informationsrutan"},{en:"Show or hide sidebar",de:"Seitenleiste ein- oder ausblenden",se:"Visa eller dölja sidofält"},{en:"Unknown color bar",de:"Unbekannte Farbskala",se:"Färgskala okänd"},{en:"Points",de:"Punkte",se:"Punkter"},{en:"Lines",de:"Linien",se:"Linjer"},{en:"Bars",de:"Balken",se:"Staplar"},{en:"Default chart type",de:"Diagrammtyp (default)",se:"Diagramtyp (default)"},{en:"User Base Maps",de:"Nutzer Basiskarte",se:"Användare Grundkarta"},{en:"Overlay",de:"Overlay (überlagernder Layer)",se:"Overlay (överliggande lager)"},{en:"User Overlays",de:"Nutzer Overlay",se:"Användare Overlay"},{en:"On dataset selection",de:"Bei Auswahl von Datensatz",se:"Vid val av dataset"},{en:"On place selection",de:"Bei Auswahl von Ort",se:"Vid val av plats"},{en:"Do nothing",de:"Nichts tun",se:"Gör ingenting"},{en:"Pan",de:"Verschieben",se:"Panorera"},{en:"Pan and zoom",de:"Verschieben und zoom",se:"Panorera och zooma"},{en:"User Layers",de:"Nutzer Layer",se:"Användare lager"},{en:"XYZ Layer URL",de:"XYZ-Layer URL",se:"XYZ lager URL"},{en:"Layer Title",de:"Layer Titel",se:"Lagertitel "},{en:"Layer Attribution",de:"Layer Attribution",se:"Lagerattribution"},{en:"Info",de:"Info",se:"Info"},{en:"Charts",de:"Diagramme",se:"Diagrammer"},{en:"Statistics",de:"Statistik",se:"Statistik"},{en:"Volume",de:"Volumen",se:"Volym"},{en:"Toggle zoom mode (or press CTRL key)",de:"Zoom-Modus umschalten (oder drücke CTRL-Taste)",se:"Växla zoomläge (eller tryck på CTRL-tangenten)"},{en:"Enter fixed y-range",de:"Festen y-Bereich angeben",se:"Ange fast y-intervall"},{en:"Toggle showing info popup on hover",de:"Anzeige des Info-Popups bei Hover umschalten",se:"Växla visning av popup-info vid hover"},{en:"Show points",de:"Punkte anzeigen",se:"Visa punkter"},{en:"Show lines",de:"Linien anzeigen",se:"Visa linjer"},{en:"Show bars",de:"Balken anzeigen",se:"Visa staplar"},{en:"Show standard deviation (if any)",de:"Standardabweichung anzeigen",se:"Visa standardavvikelsen"},{en:"Add time-series from places",de:"Zeitserien hinzufügen von Orten",se:"Lägg till tidsserier från platser"},{en:"Zoom to full range",de:"Zoom auf gesamten x-Bereich",se:"Zooma till hela x-intervallet"},{en:"Make it 2nd variable for comparison",de:"Festlegen als 2. Variable für Vergleich",se:"Ställ in som 2:a variabel för jämförelse"},{en:"Load Volume Data",de:"Lade Volumendaten",se:"Ladda volymdata"},{en:"Please note that the 3D volume rendering is still an experimental feature.",de:"Bitte beachte, dass das 3D-Volumen-Rendering noch eine experimentelle Funktion ist.",se:"Observera att 3D-volymrendering fortfarande är en experimentell funktion."},{en:"User-defined color bars.",de:"Benutzerdefinierte Farbskalen.",se:"Användardefinierade färgskalor."},{en:"Contin.",de:"Kontin.",se:"Kontin."},{en:"Stepwise",de:"Schrittw.",se:"Stegvis"},{en:"Categ.",de:"Kateg.",se:"Kateg."},{en:"Continuous color assignment, where each value represents a support point of a color gradient",de:"Kontinuierliche Farbzuordnung, bei der jeder Wert eine Stützstelle eines Farbverlaufs darstellt",se:"Kontinuerlig färgtilldelning där varje värde representerar en punkt i en färggradient"},{en:"Stepwise color mapping where values are bounds of value ranges mapped to the same color",de:"Schrittweise Farbzuordnung, bei der die Werte Bereichsgrenzen darstellen, die einer einzelnen Farbe zugeordnet werden",se:"Gradvis färgmappning, där värdena representerar intervallgränser mappade till en enda färg"},{en:"Values represent unique categories or indexes that are mapped to a color",de:"Werte stellen eindeutige Kategorien oder Indizes dar, die einer Farbe zugeordnet sind",se:"Värden representerar unika kategorier eller index som är mappade till en färg"},{en:"User",de:"Nutzer",se:"Användare"},{en:"Add Time-Series",de:"Zeitserien hinzufügen",se:"Lägg till tidsserier"},{en:"No time-series have been obtained yet. Select a variable and a place first.",de:"Es wurden noch keine Zeitreihen abgerufen. Wähle zuerst eine Variable und einen Ort aus.",se:"Inga tidsserier har hämtats ännu. Välj först en variabel och en plats."},{en:"Count",de:"Anzahl",se:"Antal"},{en:"Minimum",de:"Minimum",se:"Minimum"},{en:"Maximum",de:"Maximum",se:"Maximum"},{en:"Mean",de:"Mittelwert",se:"Medelvärde"},{en:"Deviation",de:"Abweichung",se:"Avvikelse"},{en:"Toggle adjustable x-range",de:"Anpassbaren x-Bereich umschalten",se:"Växla justerbart x-intervall"},{en:"pinned",de:"angepinnt",se:"fäst"},{en:"Compare Mode (Drag)",de:"Vergleichsmodus (Ziehen)",se:"Jämförelseläge (Dra)"},{en:"Point Info Mode (Hover)",de:"Punktinformationsmodus (Bewegen)",se:"Punktinformationsläge (Sväva)"},{en:"Dataset RGB",de:"Datensatz RGB",se:"Dataset RGB"},{en:"Dataset RGB 2",de:"Datensatz RGB 2",se:"Dataset RGB 2"},{en:"Dataset Variable",de:"Datensatz Variable",se:"Dataset Variabel"},{en:"Dataset Variable 2",de:"Datensatz Variable 2",se:"Dataset Variabel 2"},{en:"Dataset Boundary",de:"Datensatz Außengrenze",se:"Dataset Yttre Gräns"},{en:"Dataset Places",de:"Datensatz Orte",se:"Dataset Platser"},{en:"User Places",de:"Nutzer Orte",se:"Användare Platser"},{en:"Layers",de:"Layer",se:"Lager"},{en:"User Variables",de:"Nutzer-Variablen",se:"Användarvariabler"},{en:"Create and manage user variables",de:"Nutzer-Variablen erstellen und verwalten",se:"Skapa och hantera användarvariabler"},{en:"Manage user variables",de:"Nutzer-Variablen verwalten",se:"Hantera användarvariabler"},{en:"Add user variable",de:"Nutzer-Variable hinzufügen",se:"Lägg till användarvariabel"},{en:"Duplicate user variable",de:"Nutzer-Variable duplizieren",se:"Duplicera användarvariabel"},{en:"Edit user variable",de:"Nutzer-Variable bearbeiten",se:"Redigera användarvariabel"},{en:"Remove user variable",de:"Nutzer-Variable löschen",se:"Ta bort användarvariabel"},{en:"Use keys CTRL+SPACE to show autocompletions",de:"Tasten STRG+LEER benutzen, um Autovervollständigungen zu zeigen",se:"Använd tangenterna CTRL+MELLANSLAG för att visa autoslutföranden"},{en:"Display further elements to be used in expressions",de:"Weitere Elemente anzeigen, die in Ausdrücken verwendet werden können",se:"Visa fler element som kan användas i uttryck"},{en:"Variables",de:"Variablen",se:"Variabler"},{en:"Constants",de:"Konstanten",se:"Konstanter"},{en:"Array operators",de:"Array-Operatoren",se:"Arrayoperatorer"},{en:"Other operators",de:"Andere Operatoren",se:"Andra Operatorer"},{en:"Array functions",de:"Array-Funktionen",se:"Arrayfunktioner"},{en:"Other functions",de:"Andere Funktionen",se:"Andra funktioner"},{en:"Not a valid identifier",de:"Kein gültiger Bezeichner",se:"Inte en giltig identifierare"},{en:"Must not be empty",de:"Darf nicht leer sein",se:"Får inte vara tom"},{en:"docs/privacy-note.en.md",de:"docs/privacy-note.de.md",se:"docs/privacy-note.se.md"},{en:"docs/add-layer-wms.en.md",de:"docs/add-layer-wms.de.md",se:"docs/add-layer-wms.se.md"},{en:"docs/add-layer-xyz.en.md",de:"docs/add-layer-xyz.de.md",se:"docs/add-layer-xyz.se.md"},{en:"docs/color-mappings.en.md",de:"docs/color-mappings.de.md",se:"docs/color-mappings.se.md"},{en:"docs/user-variables.en.md",de:"docs/user-variables.de.md",se:"docs/user-variables.se.md"}],zdt={languages:Fdt,dictionary:Ndt},me=new Ldt(zdt);me.locale=$dt();class pPe extends D.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,n){console.error(e),n.componentStack&&console.error(n.componentStack)}render(){if(!this.props.children)throw new Error("An ErrorBoundary requires at least one child");return this.state.error?C.jsxs("div",{children:[C.jsx("h2",{className:"errorBoundary-header",children:me.get("Something went wrong.")}),C.jsxs("details",{className:"errorBoundary-details",style:{whiteSpace:"pre-wrap"},children:[this.state.error.toString(),C.jsx("br",{})]})]}):this.props.children}}const jdt=({children:t})=>{const e=Pn.instance.authClient;if(!e)return C.jsx(C.Fragment,{children:t});const n=o=>{console.info("handleSigninCallback:",o),window.history.replaceState({},document.title,window.location.pathname)},r=()=>{console.info("handleRemoveUser"),window.location.pathname="/"},i=_4.href;return C.jsx(pPe,{children:C.jsx(Rdt,{...e,loadUserInfo:!0,scope:"openid email profile",automaticSilentRenew:!0,redirect_uri:i,post_logout_redirect_uri:i,popup_post_logout_redirect_uri:i,onSigninCallback:n,onRemoveUser:r,children:t})})},gPe=ut(C.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline"),mPe=ut(C.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),vPe=ut(C.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh"),Bdt=ut([C.jsx("path",{d:"m21 5-9-4-9 4v6c0 5.55 3.84 10.74 9 12 2.3-.56 4.33-1.9 5.88-3.71l-3.12-3.12c-1.94 1.29-4.58 1.07-6.29-.64-1.95-1.95-1.95-5.12 0-7.07s5.12-1.95 7.07 0c1.71 1.71 1.92 4.35.64 6.29l2.9 2.9C20.29 15.69 21 13.38 21 11z"},"0"),C.jsx("circle",{cx:"12",cy:"12",r:"3"},"1")],"Policy"),yPe=ut(C.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"}),"CloudDownload");var $h=function(){function t(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}return t.prototype.preventDefault=function(){this.defaultPrevented=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();const SS={PROPERTYCHANGE:"propertychange"};var Nee=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();function Udt(t,e,n){for(var r,i,o=r1,s=0,a=t.length,l=!1;s>1),i=+o(t[r],e),i<0?s=r+1:(a=r,l=!i);return l?s:~s}function r1(t,e){return t>e?1:t0){for(i=1;i0?i-1:i:t[i-1]-e0||s===0)})}function Ax(){return!0}function DM(){return!1}function i1(){}function Gdt(t){var e=!1,n,r,i;return function(){var o=Array.prototype.slice.call(arguments);return(!e||this!==i||!Z1(o,r))&&(e=!0,i=this,r=o,n=t.apply(this,arguments)),n}}var fi=typeof Object.assign=="function"?Object.assign:function(t,e){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r0:!1},e.prototype.removeEventListener=function(n,r){var i=this.listeners_&&this.listeners_[n];if(i){var o=i.indexOf(r);o!==-1&&(this.pendingRemovals_&&n in this.pendingRemovals_?(i[o]=i1,++this.pendingRemovals_[n]):(i.splice(o,1),i.length===0&&delete this.listeners_[n]))}},e}(Nee);const nn={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function zn(t,e,n,r,i){if(r&&r!==t&&(n=n.bind(r)),i){var o=n;n=function(){t.removeEventListener(e,n),o.apply(this,arguments)}}var s={target:t,type:e,listener:n};return t.addEventListener(e,n),s}function UF(t,e,n,r){return zn(t,e,n,r,!0)}function ri(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),IM(t))}var qdt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),LM=function(t){qdt(e,t);function e(){var n=t.call(this)||this;return n.on=n.onInternal,n.once=n.onceInternal,n.un=n.unInternal,n.revision_=0,n}return e.prototype.changed=function(){++this.revision_,this.dispatchEvent(nn.CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.onInternal=function(n,r){if(Array.isArray(n)){for(var i=n.length,o=new Array(i),s=0;s=0||Jv.match(/cpu (os|iphone os) 15_4 like mac os x/));var nht=Jv.indexOf("webkit")!==-1&&Jv.indexOf("edge")==-1,rht=Jv.indexOf("macintosh")!==-1,_Pe=typeof devicePixelRatio<"u"?devicePixelRatio:1,C4=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,iht=typeof Image<"u"&&Image.prototype.decode,SPe=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();new Array(6);function ch(){return[1,0,0,1,0,0]}function oht(t,e,n,r,i,o,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=s,t}function sht(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Bi(t,e){var n=e[0],r=e[1];return e[0]=t[0]*n+t[2]*r+t[4],e[1]=t[1]*n+t[3]*r+t[5],e}function aht(t,e,n){return oht(t,e,0,0,n,0,0)}function Mg(t,e,n,r,i,o,s,a){var l=Math.sin(o),u=Math.cos(o);return t[0]=r*u,t[1]=i*l,t[2]=-r*l,t[3]=i*u,t[4]=s*r*u-a*r*l+e,t[5]=s*i*l+a*i*u+n,t}function jee(t,e){var n=lht(e);bn(n!==0,32);var r=e[0],i=e[1],o=e[2],s=e[3],a=e[4],l=e[5];return t[0]=s/n,t[1]=-i/n,t[2]=-o/n,t[3]=r/n,t[4]=(o*l-s*a)/n,t[5]=-(r*l-i*a)/n,t}function lht(t){return t[0]*t[3]-t[1]*t[2]}var Zde;function CPe(t){var e="matrix("+t.join(", ")+")";if(C4)return e;var n=Zde||(Zde=document.createElement("div"));return n.style.transform=e,n.style.transform}const Po={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Jde(t){for(var e=_u(),n=0,r=t.length;ni&&(l=l|Po.RIGHT),ao&&(l=l|Po.ABOVE),l===Po.UNKNOWN&&(l=Po.INTERSECTING),l}function _u(){return[1/0,1/0,-1/0,-1/0]}function Bf(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}function FM(t){return Bf(1/0,1/0,-1/0,-1/0,t)}function cht(t,e){var n=t[0],r=t[1];return Bf(n,r,n,r,e)}function EPe(t,e,n,r,i){var o=FM(i);return kPe(o,t,e,n,r)}function lA(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function TPe(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function ek(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function kPe(t,e,n,r,i){for(;ne[0]?r[0]=t[0]:r[0]=e[0],t[1]>e[1]?r[1]=t[1]:r[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function Hee(t){return t[2]=s&&g<=l),!r&&o&Po.RIGHT&&!(i&Po.RIGHT)&&(m=h-(d-l)*p,r=m>=a&&m<=u),!r&&o&Po.BELOW&&!(i&Po.BELOW)&&(g=d-(h-a)/p,r=g>=s&&g<=l),!r&&o&Po.LEFT&&!(i&Po.LEFT)&&(m=h-(d-s)*p,r=m>=a&&m<=u)}return r}function ght(t,e,n,r){var i=[],o;i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]],e(i,i,2);for(var s=[],a=[],o=0,l=i.length;o=n[2])){var i=Kr(n),o=Math.floor((r[0]-n[0])/i),s=o*i;t[0]-=s,t[2]-=s}return t}function mht(t,e){if(e.canWrapX()){var n=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[n[0],t[1],n[2],t[3]]];APe(t,e);var r=Kr(n);if(Kr(t)>r)return[[n[0],t[1],n[2],t[3]]];if(t[0]n[2])return[[t[0],t[1],n[2],t[3]],[n[0],t[1],t[2]-r,t[3]]]}return[t]}var PPe=function(){function t(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||jf[this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(e){this.defaultTileGrid_=e},t.prototype.setExtent=function(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)},t.prototype.setWorldExtent=function(e){this.worldExtent_=e},t.prototype.setGetPointResolution=function(e){this.getPointResolutionFunc_=e},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}();function oo(t,e,n){return Math.min(Math.max(t,e),n)}var vht=function(){var t;return"cosh"in Math?t=Math.cosh:t=function(e){var n=Math.exp(e);return(n+1/n)/2},t}(),yht=function(){var t;return"log2"in Math?t=Math.log2:t=function(e){return Math.log(e)*Math.LOG2E},t}();function xht(t,e,n,r,i,o){var s=i-n,a=o-r;if(s!==0||a!==0){var l=((t-n)*s+(e-r)*a)/(s*s+a*a);l>1?(n=i,r=o):l>0&&(n+=s*l,r+=a*l)}return Px(t,e,n,r)}function Px(t,e,n,r){var i=n-t,o=r-e;return i*i+o*o}function bht(t){for(var e=t.length,n=0;ni&&(i=s,r=o)}if(i===0)return null;var a=t[r];t[r]=t[n],t[n]=a;for(var l=n+1;l=0;d--){f[d]=t[d][e]/t[d][d];for(var h=d-1;h>=0;h--)t[h][e]-=t[h][d]*f[d]}return f}function l3(t){return t*Math.PI/180}function Lv(t,e){var n=t%e;return n*e<0?n+e:n}function Dp(t,e,n){return t+n*(e-t)}function MPe(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}function aI(t,e){return Math.floor(MPe(t,e))}function lI(t,e){return Math.ceil(MPe(t,e))}var wht=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),NM=6378137,n_=Math.PI*NM,_ht=[-n_,-n_,n_,n_],Sht=[-180,-85,180,85],uI=NM*Math.log(Math.tan(Math.PI/2)),Fb=function(t){wht(e,t);function e(n){return t.call(this,{code:n,units:Io.METERS,extent:_ht,global:!0,worldExtent:Sht,getPointResolution:function(r,i){return r/vht(i[1]/NM)}})||this}return e}(PPe),ehe=[new Fb("EPSG:3857"),new Fb("EPSG:102100"),new Fb("EPSG:102113"),new Fb("EPSG:900913"),new Fb("http://www.opengis.net/def/crs/EPSG/0/3857"),new Fb("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Cht(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var s=0;suI?a=uI:a<-uI&&(a=-uI),o[s+1]=a}return o}function Oht(t,e,n){var r=t.length,i=n>1?n:2,o=e;o===void 0&&(i>2?o=t.slice():o=new Array(r));for(var s=0;ss)return 1;if(s>o)return-1}return 0}function Dht(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function VF(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n}function qee(t,e){var n=Math.cos(e),r=Math.sin(e),i=t[0]*n-t[1]*r,o=t[1]*n+t[0]*r;return t[0]=i,t[1]=o,t}function Iht(t,e){return t[0]*=e,t[1]*=e,t}function Lht(t,e){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function RPe(t,e){if(e.canWrapX()){var n=Kr(e.getExtent()),r=$ht(t,e,n);r&&(t[0]-=r*n)}return t}function $ht(t,e,n){var r=e.getExtent(),i=0;if(e.canWrapX()&&(t[0]r[2])){var o=n||Kr(r);i=Math.floor((t[0]-r[0])/o)}return i}var Fht=63710088e-1;function rhe(t,e,n){var r=Fht,i=l3(t[1]),o=l3(e[1]),s=(o-i)/2,a=l3(e[0]-t[0])/2,l=Math.sin(s)*Math.sin(s)+Math.sin(a)*Math.sin(a)*Math.cos(i)*Math.cos(o);return 2*r*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}var rq=!0;function Nht(t){var e=!0;rq=!e}function Xee(t,e,n){var r;if(e!==void 0){for(var i=0,o=t.length;i=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(rq=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function LPe(t,e){return t}function lx(t,e){return t}function Vht(){ihe(ehe),ihe(nhe),Bht(nhe,ehe,Cht,Oht)}Vht();function Mx(t,e,n,r,i,o){for(var s=o||[],a=0,l=e;l1)f=n;else if(d>0){for(var h=0;hi&&(i=u),o=a,s=l}return i}function Jee(t,e,n,r,i){for(var o=0,s=n.length;o0;){for(var f=u.pop(),d=u.pop(),h=0,p=t[d],g=t[d+1],m=t[f],v=t[f+1],y=d+r;yh&&(c=y,h=w)}h>i&&(l[(c-e)/r]=1,d+r0&&g>h)&&(p<0&&m0&&m>p)){u=f,c=d;continue}o[s++]=u,o[s++]=c,a=u,l=c,u=f,c=d}}return o[s++]=u,o[s++]=c,s}function jPe(t,e,n,r,i,o,s,a){for(var l=0,u=n.length;l1?s:2,b=o||new Array(x),p=0;p>1;io&&(u-a)*(o-l)-(i-a)*(c-l)>0&&s++:c<=o&&(u-a)*(o-l)-(i-a)*(c-l)<0&&s--,a=u,l=c}return s!==0}function ite(t,e,n,r,i,o){if(n.length===0||!ux(t,e,n[0],r,i,o))return!1;for(var s=1,a=n.length;s=i[0]&&o[2]<=i[2]||o[1]>=i[1]&&o[3]<=i[3]?!0:BPe(t,e,n,r,function(s,a){return pht(i,s,a)}):!1}function lpt(t,e,n,r,i){for(var o=0,s=n.length;ob&&(u=(c+f)/2,ite(t,e,n,r,u,p)&&(x=u,b=w)),c=f}return isNaN(x)&&(x=i[o]),s?(s.push(x,p,b),s):[x,p,b]}function mpt(t,e,n,r,i){for(var o=[],s=0,a=n.length;s0}function QPe(t,e,n,r,i){for(var o=0,s=n.length;o0){const n=e.map(r=>r.map(encodeURIComponent).join("=")).join("&");return t.includes("?")?t.endsWith("&")?t+n:t+"&"+n:t+"?"+n}return t}async function ZPe(t,e){let n;try{if(n=await fetch(t,e),n.ok)return n}catch(i){throw i instanceof TypeError?(console.error(`Server did not respond for ${t}. May be caused by timeout, refused connection, network error, etc.`,i),new Error(me.get("Cannot reach server"))):(console.error(i),i)}let r=n.statusText;try{const i=await n.json();if(i&&i.error){const o=i.error;console.error(o),o.message&&(r+=`: ${o.message}`)}}catch{}throw console.error(n),new KPe(n.status,r)}async function Gg(t,e,n){let r;Aft(e)?n=e:r=e;const o=await(await ZPe(t,r)).json();return n?n(o):o}const zpt=/^#([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,jpt=t=>{let e;if(t.includes(",")){const r=t.split(",");if(r.length===3||r.length===4){const i=[0,0,0,255];for(let o=0;o<3;o++){const s=Number.parseInt(r[o]);if(s<0||s>255)return;i[o]=s}if(r.length===4){if(e=che(r[3]),e===void 0)return;i[3]=e}return i}if(r.length!==2||(t=r[0],e=che(r[1]),e===void 0))return}const n=(t.startsWith("#")?eMe:Upt)(t);if(n){if(n.length===3)return[...n,e===void 0?255:e];if(n.length===4&&e===void 0)return n}};function JPe(t){return"#"+t.map(e=>{const n=e.toString(16);return n.length===1?"0"+n:n}).join("")}function eMe(t){if(zpt.test(t)){if(t.length===4)return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)];if(t.length===7)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16)];if(t.length===9)return[parseInt(t.substring(1,3),16),parseInt(t.substring(3,5),16),parseInt(t.substring(5,7),16),parseInt(t.substring(7,9),16)]}}const che=t=>{const e=Number.parseFloat(t);if(e===0)return 0;if(e===1)return 255;if(e>0&&e<1)return Math.round(256*e)},Bpt=t=>Wpt[t.toLowerCase()],Upt=t=>{const e=Bpt(t);if(e)return eMe(e)},Wpt={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function Vpt(t){return Gg(`${t}/colorbars`,Gpt)}function Gpt(t){const e=[],n={},r={};return t.forEach(i=>{const[o,s,a]=i,l=[];a.forEach(u=>{if(u.length===3){const[c,f,d]=u;l.push(c),n[c]=f,r[c]={name:d.name,type:d.type,colorRecords:d.colors.map(Hpt)}}else if(u.length===2){const[c,f]=u;l.push(c),n[c]=f}}),e.push({title:o,description:s,names:l})}),{groups:e,images:n,customColorMaps:r}}function Hpt(t){const e=qpt(t[1]),n=t[0];if(t.length===3){const r=t[2];return{value:n,color:e,label:r}}else return{value:n,color:e}}function qpt(t){return t?K1(t)?t:JPe(t):"#000000"}function Xpt(t,e){const n=ZC(`${t}/datasets`,[["details","1"]]),r=KC(e);return Gg(n,r,Ypt)}function Ypt(t){return(t.datasets||[]).map(Qpt)}function Qpt(t){if(t.dimensions&&t.dimensions.length){let e=t.dimensions;const n=e.findIndex(r=>r.name==="time");if(n>-1){const r=e[n],i=r.coordinates;if(i&&i.length&&typeof i[0]=="string"){const o=i,s=o.map(a=>new Date(a).getTime());return e=[...e],e[n]={...r,coordinates:s,labels:o},{...t,dimensions:e}}}}return t}function Kpt(t,e,n,r){const i=KC(r),o=encodeURIComponent(e),s=encodeURIComponent(n);return Gg(`${t}/datasets/${o}/places/${s}`,i)}function Zpt(t){return Gg(`${t}/expressions/capabilities`)}function Jpt(t){return Gg(`${t}/`)}function zM(t){return K1(t.expression)}function JC(t){return encodeURIComponent(K1(t)?t:t.id)}function jM(t){return encodeURIComponent(K1(t)?t:zM(t)?`${t.name}=${t.expression}`:t.name)}function egt(t,e,n,r,i,o,s,a,l,u){let c,f=null;const d=[];a?(d.push(["aggMethods","median"]),c="median"):l?(d.push(["aggMethods","mean,std"]),c="mean",f="std"):(d.push(["aggMethods","mean"]),c="mean"),o&&d.push(["startDate",o]),s&&d.push(["endDate",s]);const h=ZC(`${t}/timeseries/${JC(e)}/${jM(n)}`,d),p={...KC(u),method:"post",body:JSON.stringify(i)};return Gg(h,p,m=>{const v=m.result;if(!v||v.length===0)return null;const y=v.map(b=>({...b,time:new Date(b.time).getTime()}));return{source:{datasetId:e.id,datasetTitle:e.title,variableName:n.name,variableUnits:n.units||void 0,placeId:r,geometry:i,valueDataKey:c,errorDataKey:f},data:y}})}function tgt(t,e,n,r,i,o){const s=i!==null?[["time",i]]:[],a=ZC(`${t}/statistics/${JC(e)}/${jM(n)}`,s),l={...KC(o),method:"post",body:JSON.stringify(r.place.geometry)},u={dataset:e,variable:n,placeInfo:r,time:i};return Gg(a,l,c=>({source:u,statistics:c.result}))}function ngt(t,e,n,r,i,o,s){const a=[["lon",r.toString()],["lat",i.toString()]];o&&a.push(["time",o]);const l=ZC(`${t}/statistics/${JC(e)}/${jM(n)}`,a);return Gg(l,KC(s),u=>u.result?u.result:{})}function rgt(t,e){const n=ZC(`${t}/maintenance/update`,[]),r=KC(e);try{return Gg(n,r).then(()=>!0).catch(i=>(console.error(i),!1))}catch(i){return console.error(i),Promise.resolve(!1)}}class YF extends Error{}function igt(t,e){if(t===null)throw new YF(`assertion failed: ${e} must not be null`)}function ogt(t,e){if(typeof t>"u")throw new YF(`assertion failed: ${e} must not be undefined`)}function sgt(t,e){igt(t,e),ogt(t,e)}function uW(t,e){if(Array.isArray(t)){if(t.length===0)throw new YF(`assertion failed: ${e} must be a non-empty array`)}else throw new YF(`assertion failed: ${e} must be an array`)}function fA(t,e){return e&&t.find(n=>n.id===e)||null}function fq(t,e){return e&&t.variables.find(n=>n.name===e)||null}function agt(t){return t.variables.findIndex(e=>K1(e.expression))}function ate(t){const e=agt(t);return e>=0?[t.variables.slice(0,e),t.variables.slice(e)]:[t.variables,[]]}function tMe(t){sgt(t,"dataset"),uW(t.dimensions,"dataset.dimensions");const e=t.dimensions.find(n=>n.name==="time");return e?(uW(e.coordinates,"timeDimension.coordinates"),uW(e.labels,"timeDimension.labels"),e):null}function nMe(t){const e=tMe(t);if(!e)return null;const n=e.coordinates;return[n[0],n[n.length-1]]}var QF="NOT_FOUND";function lgt(t){var e;return{get:function(r){return e&&t(e.key,r)?e.value:QF},put:function(r,i){e={key:r,value:i}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}function ugt(t,e){var n=[];function r(a){var l=n.findIndex(function(c){return e(a,c.key)});if(l>-1){var u=n[l];return l>0&&(n.splice(l,1),n.unshift(u)),u.value}return QF}function i(a,l){r(a)===QF&&(n.unshift({key:a,value:l}),n.length>t&&n.pop())}function o(){return n}function s(){n=[]}return{get:r,put:i,getEntries:o,clear:s}}var cgt=function(e,n){return e===n};function fgt(t){return function(n,r){if(n===null||r===null||n.length!==r.length)return!1;for(var i=n.length,o=0;o1?e-1:0),r=1;r0&&o[0]!==a&&(o=[a,...o])}n.properties&&(s=fhe(n.properties,o)),s===void 0&&(s=fhe(n,o)),t[r]=s||i}function bgt(t,e){let n=e;if(t.properties)for(const r of Object.getOwnPropertyNames(t.properties)){if(!n.includes("${"))break;const i="${"+r+"}";n.includes(i)&&(n=n.replace(i,`${t.properties[r]}`))}return n}function fhe(t,e){let n;for(const r of e)if(r in t)return t[r];return n}function BM(t){let e=[];for(const n of t)e=e.concat(n.toLowerCase(),n.toUpperCase(),n[0].toUpperCase()+n.substring(1).toLowerCase());return e}function cte(t,e){t.forEach(n=>{tO(n)&&n.features.forEach(r=>{e(n,r)})})}function wgt(t,e){const n=K1(e)?(r,i)=>i.id===e:e;for(const r of t)if(tO(r)){const i=r.features.find(o=>n(r,o));if(i)return A4(r,i)}return null}function _gt(t){const e=t.id+"";let n=0,r,i;if(e.length===0)return n;for(r=0;ri.id===e);if(n)return n;const r=t.placeGroups;if(r)for(const i in r){const o=iMe(r[i],e);if(o)return o}return null}function fte(t,e){if(e)for(const n of t){const r=iMe(n,e);if(r!==null)return r}return null}const oMe="User",sMe=`0.0: #23FF52 +0.5: red +1.0: 120,30,255`;function Sgt(t,e,n){const r=new Uint8ClampedArray(4*n),i=t.length;if(e==="categorical"||e==="stepwise"){const o=e==="categorical"?i:i-1;for(let s=0,a=0;s(f.value-o)/(s-o));let l=0,u=a[0],c=a[1];for(let f=0,d=0;fc&&(l++,u=a[l],c=a[l+1]);const p=(h-u)/(c-u),[g,m,v,y]=t[l].color,[x,b,w,_]=t[l+1].color;r[d]=g+p*(x-g),r[d+1]=m+p*(b-m),r[d+2]=v+p*(w-v),r[d+3]=y+p*(_-y)}}return r}function Cgt(t,e,n){const r=Sgt(t,e,n.width),i=new ImageData(r,r.length/4,1);return createImageBitmap(i).then(o=>{const s=n.getContext("2d");s&&s.drawImage(o,0,0,n.width,n.height)})}function Ogt(t){const{colorRecords:e,errorMessage:n}=lMe(t.code);if(!e)return Promise.resolve({errorMessage:n});const r=document.createElement("canvas");return r.width=256,r.height=1,Cgt(e,t.type,r).then(()=>({imageData:r.toDataURL("image/png").split(",")[1]}))}function aMe(t){const{colorRecords:e}=lMe(t);if(e)return e.map(n=>({...n,color:JPe(n.color)}))}function lMe(t){try{return{colorRecords:Egt(t)}}catch(e){if(e instanceof SyntaxError)return{errorMessage:`${e.message}`};throw e}}function Egt(t){const e=[];t.split(` +`).map(o=>o.trim().split(":").map(s=>s.trim())).forEach((o,s)=>{if(o.length==2||o.length==3){const[a,l]=o,u=parseFloat(a),c=jpt(l);if(!Number.isFinite(u))throw new SyntaxError(`Line ${s+1}: invalid value: ${a}`);if(!c)throw new SyntaxError(`Line ${s+1}: invalid color: ${l}`);o.length==3?e.push({value:u,color:c,label:o[2]}):e.push({value:u,color:c})}else if(o.length===1&&o[0]!=="")throw new SyntaxError(`Line ${s+1}: invalid color record: ${o[0]}`)});const n=e.length;if(n<2)throw new SyntaxError("At least two color records must be given");e.sort((o,s)=>o.value-s.value);const r=e[0].value,i=e[n-1].value;if(r===i)throw new SyntaxError("Values must form a range");return e}var dte={exports:{}};function Tgt(t,e){var n=e&&e.cache?e.cache:Dgt,r=e&&e.serializer?e.serializer:Rgt,i=e&&e.strategy?e.strategy:Agt;return i(t,{cache:n,serializer:r})}function kgt(t){return t==null||typeof t=="number"||typeof t=="boolean"}function uMe(t,e,n,r){var i=kgt(r)?r:n(r),o=e.get(i);return typeof o>"u"&&(o=t.call(this,r),e.set(i,o)),o}function cMe(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i);return typeof o>"u"&&(o=t.apply(this,r),e.set(i,o)),o}function hte(t,e,n,r,i){return n.bind(e,t,r,i)}function Agt(t,e){var n=t.length===1?uMe:cMe;return hte(t,this,n,e.cache.create(),e.serializer)}function Pgt(t,e){var n=cMe;return hte(t,this,n,e.cache.create(),e.serializer)}function Mgt(t,e){var n=uMe;return hte(t,this,n,e.cache.create(),e.serializer)}function Rgt(){return JSON.stringify(arguments)}function P4(){this.cache=Object.create(null)}P4.prototype.has=function(t){return t in this.cache};P4.prototype.get=function(t){return this.cache[t]};P4.prototype.set=function(t,e){this.cache[t]=e};var Dgt={create:function(){return new P4}};dte.exports=Tgt;dte.exports.strategies={variadic:Pgt,monadic:Mgt};var Igt=dte.exports;const Lgt=on(Igt),Xa={ADD:"add",REMOVE:"remove"};var fMe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),dhe={LENGTH:"length"},fI=function(t){fMe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.element=r,o.index=i,o}return e}($h),rc=function(t){fMe(e,t);function e(n,r){var i=t.call(this)||this;i.on,i.once,i.un;var o=r||{};if(i.unique_=!!o.unique,i.array_=n||[],i.unique_)for(var s=0,a=i.array_.length;s0;)this.pop()},e.prototype.extend=function(n){for(var r=0,i=n.length;r0&&t[1]>0}function dMe(t,e,n){return n===void 0&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function Jl(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}var hMe=function(){function t(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=Jl(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}return t.prototype.clone=function(){var e=this.getScale();return new t({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},t.prototype.getOpacity=function(){return this.opacity_},t.prototype.getRotateWithView=function(){return this.rotateWithView_},t.prototype.getRotation=function(){return this.rotation_},t.prototype.getScale=function(){return this.scale_},t.prototype.getScaleArray=function(){return this.scaleArray_},t.prototype.getDisplacement=function(){return this.displacement_},t.prototype.getDeclutterMode=function(){return this.declutterMode_},t.prototype.getAnchor=function(){return Lt()},t.prototype.getImage=function(e){return Lt()},t.prototype.getHitDetectionImage=function(){return Lt()},t.prototype.getPixelRatio=function(e){return 1},t.prototype.getImageState=function(){return Lt()},t.prototype.getImageSize=function(){return Lt()},t.prototype.getOrigin=function(){return Lt()},t.prototype.getSize=function(){return Lt()},t.prototype.setDisplacement=function(e){this.displacement_=e},t.prototype.setOpacity=function(e){this.opacity_=e},t.prototype.setRotateWithView=function(e){this.rotateWithView_=e},t.prototype.setRotation=function(e){this.rotation_=e},t.prototype.setScale=function(e){this.scale_=e,this.scaleArray_=Jl(e)},t.prototype.listenImageChange=function(e){Lt()},t.prototype.load=function(){Lt()},t.prototype.unlistenImageChange=function(e){Lt()},t}(),$gt=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,Fgt=/^([a-z]*)$|^hsla?\(.*\)$/i;function pMe(t){return typeof t=="string"?t:gMe(t)}function Ngt(t){var e=document.createElement("div");if(e.style.color=t,e.style.color!==""){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}else return""}var zgt=function(){var t=1024,e={},n=0;return function(r){var i;if(e.hasOwnProperty(r))i=e[r];else{if(n>=t){var o=0;for(var s in e)o++&3||(delete e[s],--n)}i=jgt(r),e[r]=i,++n}return i}}();function KF(t){return Array.isArray(t)?t:zgt(t)}function jgt(t){var e,n,r,i,o;if(Fgt.exec(t)&&(t=Ngt(t)),$gt.exec(t)){var s=t.length-1,a=void 0;s<=4?a=1:a=2;var l=s===4||s===8;e=parseInt(t.substr(1+0*a,a),16),n=parseInt(t.substr(1+1*a,a),16),r=parseInt(t.substr(1+2*a,a),16),l?i=parseInt(t.substr(1+3*a,a),16):i=255,a==1&&(e=(e<<4)+e,n=(n<<4)+n,r=(r<<4)+r,l&&(i=(i<<4)+i)),o=[e,n,r,i/255]}else t.indexOf("rgba(")==0?(o=t.slice(5,-1).split(",").map(Number),ghe(o)):t.indexOf("rgb(")==0?(o=t.slice(4,-1).split(",").map(Number),o.push(1),ghe(o)):bn(!1,14);return o}function ghe(t){return t[0]=oo(t[0]+.5|0,0,255),t[1]=oo(t[1]+.5|0,0,255),t[2]=oo(t[2]+.5|0,0,255),t[3]=oo(t[3],0,1),t}function gMe(t){var e=t[0];e!=(e|0)&&(e=e+.5|0);var n=t[1];n!=(n|0)&&(n=n+.5|0);var r=t[2];r!=(r|0)&&(r=r+.5|0);var i=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+n+","+r+","+i+")"}function Yd(t){return Array.isArray(t)?gMe(t):t}function Su(t,e,n,r){var i;return n&&n.length?i=n.shift():C4?i=new OffscreenCanvas(t||300,e||300):i=document.createElement("canvas"),t&&(i.width=t),e&&(i.height=e),i.getContext("2d",r)}function mMe(t){var e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function mhe(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function dq(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function Bgt(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Ugt(t,e){for(var n=t.childNodes,r=0;;++r){var i=n[r],o=e[r];if(!i&&!o)break;if(i!==o){if(!i){t.appendChild(o);continue}if(!o){t.removeChild(i),--r;continue}t.insertBefore(o,i)}}}var dI="ol-hidden",UM="ol-unselectable",pte="ol-control",vhe="ol-collapsed",Wgt=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),yhe=["style","variant","weight","size","lineHeight","family"],vMe=function(t){var e=t.match(Wgt);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,i=yhe.length;r=t.maxResolution)return!1;var r=e.zoom;return r>t.minZoom&&r<=t.maxZoom}function imt(t,e,n,r,i){wMe(t,e,n||0,r||t.length-1,i||omt)}function wMe(t,e,n,r,i){for(;r>n;){if(r-n>600){var o=r-n+1,s=e-n+1,a=Math.log(o),l=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*l*(o-l)/o)*(s-o/2<0?-1:1),c=Math.max(n,Math.floor(e-s*l/o+u)),f=Math.min(r,Math.floor(e+(o-s)*l/o+u));wMe(t,e,c,f,i)}var d=t[e],h=n,p=r;for(LE(t,n,e),i(t[r],d)>0&&LE(t,n,r);h0;)p--}i(t[n],d)===0?LE(t,n,p):(p++,LE(t,p,r)),p<=e&&(n=p+1),e<=p&&(r=p-1)}}function LE(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function omt(t,e){return te?1:0}let _Me=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let n=this.data;const r=[];if(!pI(e,n))return r;const i=this.toBBox,o=[];for(;n;){for(let s=0;s=0&&o[n].children.length>this._maxEntries;)this._split(o,n),n--;this._adjustParentBBoxes(i,o,n)}_split(e,n){const r=e[n],i=r.children.length,o=this._minEntries;this._chooseSplitAxis(r,o,i);const s=this._chooseSplitIndex(r,o,i),a=Rw(r.children.splice(s,r.children.length-s));a.height=r.height,a.leaf=r.leaf,Nb(r,this.toBBox),Nb(a,this.toBBox),n?e[n-1].children.push(a):this._splitRoot(r,a)}_splitRoot(e,n){this.data=Rw([e,n]),this.data.height=e.height+1,this.data.leaf=!1,Nb(this.data,this.toBBox)}_chooseSplitIndex(e,n,r){let i,o=1/0,s=1/0;for(let a=n;a<=r-n;a++){const l=K2(e,0,a,this.toBBox),u=K2(e,a,r,this.toBBox),c=cmt(l,u),f=fW(l)+fW(u);c=n;u--){const c=e.children[u];Z2(a,e.leaf?o(c):c),l+=hI(a)}return l}_adjustParentBBoxes(e,n,r){for(let i=r;i>=0;i--)Z2(n[i],e)}_condense(e){for(let n=e.length-1,r;n>=0;n--)e[n].children.length===0?n>0?(r=e[n-1].children,r.splice(r.indexOf(e[n]),1)):this.clear():Nb(e[n],this.toBBox)}};function smt(t,e,n){if(!n)return e.indexOf(t);for(let r=0;r=t.minX&&e.maxY>=t.minY}function Rw(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function whe(t,e,n,r,i){const o=[e,n];for(;o.length;){if(n=o.pop(),e=o.pop(),n-e<=r)continue;const s=e+Math.ceil((n-e)/r/2)*r;imt(t,s,e,n,i),o.push(e,s,s,n)}}var fmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_he={RENDER_ORDER:"renderOrder"},dmt=function(t){fmt(e,t);function e(n){var r=this,i=n||{},o=fi({},i);return delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,r=t.call(this,o)||this,r.declutter_=i.declutter!==void 0?i.declutter:!1,r.renderBuffer_=i.renderBuffer!==void 0?i.renderBuffer:100,r.style_=null,r.styleFunction_=void 0,r.setStyle(i.style),r.updateWhileAnimating_=i.updateWhileAnimating!==void 0?i.updateWhileAnimating:!1,r.updateWhileInteracting_=i.updateWhileInteracting!==void 0?i.updateWhileInteracting:!1,r}return e.prototype.getDeclutter=function(){return this.declutter_},e.prototype.getFeatures=function(n){return t.prototype.getFeatures.call(this,n)},e.prototype.getRenderBuffer=function(){return this.renderBuffer_},e.prototype.getRenderOrder=function(){return this.get(_he.RENDER_ORDER)},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.getUpdateWhileAnimating=function(){return this.updateWhileAnimating_},e.prototype.getUpdateWhileInteracting=function(){return this.updateWhileInteracting_},e.prototype.renderDeclutter=function(n){n.declutterTree||(n.declutterTree=new _Me(9)),this.getRenderer().renderDeclutter(n)},e.prototype.setRenderOrder=function(n){this.set(_he.RENDER_ORDER,n)},e.prototype.setStyle=function(n){this.style_=n!==void 0?n:Jgt,this.styleFunction_=n===null?void 0:Zgt(this.style_),this.changed()},e}(M4),Wt={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},gI=[Wt.FILL],cv=[Wt.STROKE],fx=[Wt.BEGIN_PATH],She=[Wt.CLOSE_PATH],SMe=function(){function t(){}return t.prototype.drawCustom=function(e,n,r,i){},t.prototype.drawGeometry=function(e){},t.prototype.setStyle=function(e){},t.prototype.drawCircle=function(e,n){},t.prototype.drawFeature=function(e,n){},t.prototype.drawGeometryCollection=function(e,n){},t.prototype.drawLineString=function(e,n){},t.prototype.drawMultiLineString=function(e,n){},t.prototype.drawMultiPoint=function(e,n){},t.prototype.drawMultiPolygon=function(e,n){},t.prototype.drawPoint=function(e,n){},t.prototype.drawPolygon=function(e,n){},t.prototype.drawText=function(e,n){},t.prototype.setFillStrokeStyle=function(e,n){},t.prototype.setImageStyle=function(e,n){},t.prototype.setTextStyle=function(e,n){},t}(),hmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),VM=function(t){hmt(e,t);function e(n,r,i,o){var s=t.call(this)||this;return s.tolerance=n,s.maxExtent=r,s.pixelRatio=o,s.maxLineWidth=0,s.resolution=i,s.beginGeometryInstruction1_=null,s.beginGeometryInstruction2_=null,s.bufferedMaxExtent_=null,s.instructions=[],s.coordinates=[],s.tmpCoordinate_=[],s.hitDetectionInstructions=[],s.state={},s}return e.prototype.applyPixelRatio=function(n){var r=this.pixelRatio;return r==1?n:n.map(function(i){return i*r})},e.prototype.appendFlatPointCoordinates=function(n,r){for(var i=this.getBufferedMaxExtent(),o=this.tmpCoordinate_,s=this.coordinates,a=s.length,l=0,u=n.length;ll&&(this.instructions.push([Wt.CUSTOM,l,c,n,i,uv]),this.hitDetectionInstructions.push([Wt.CUSTOM,l,c,n,o||i,uv]));break;case"Point":u=n.getFlatCoordinates(),this.coordinates.push(u[0],u[1]),c=this.coordinates.length,this.instructions.push([Wt.CUSTOM,l,c,n,i]),this.hitDetectionInstructions.push([Wt.CUSTOM,l,c,n,o||i]);break}this.endGeometry(r)},e.prototype.beginGeometry=function(n,r){this.beginGeometryInstruction1_=[Wt.BEGIN_GEOMETRY,r,0,n],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[Wt.BEGIN_GEOMETRY,r,0,n],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)},e.prototype.finish=function(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}},e.prototype.reverseHitDetectionInstructions=function(){var n=this.hitDetectionInstructions;n.reverse();var r,i=n.length,o,s,a=-1;for(r=0;rthis.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0},e.prototype.createFill=function(n){var r=n.fillStyle,i=[Wt.SET_FILL_STYLE,r];return typeof r!="string"&&i.push(!0),i},e.prototype.applyStroke=function(n){this.instructions.push(this.createStroke(n))},e.prototype.createStroke=function(n){return[Wt.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth*this.pixelRatio,n.lineCap,n.lineJoin,n.miterLimit,this.applyPixelRatio(n.lineDash),n.lineDashOffset*this.pixelRatio]},e.prototype.updateFillStyle=function(n,r){var i=n.fillStyle;(typeof i!="string"||n.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(r.call(this,n)),n.currentFillStyle=i)},e.prototype.updateStrokeStyle=function(n,r){var i=n.strokeStyle,o=n.lineCap,s=n.lineDash,a=n.lineDashOffset,l=n.lineJoin,u=n.lineWidth,c=n.miterLimit;(n.currentStrokeStyle!=i||n.currentLineCap!=o||s!=n.currentLineDash&&!Z1(n.currentLineDash,s)||n.currentLineDashOffset!=a||n.currentLineJoin!=l||n.currentLineWidth!=u||n.currentMiterLimit!=c)&&(i!==void 0&&r.call(this,n),n.currentStrokeStyle=i,n.currentLineCap=o,n.currentLineDash=s,n.currentLineDashOffset=a,n.currentLineJoin=l,n.currentLineWidth=u,n.currentMiterLimit=c)},e.prototype.endGeometry=function(n){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;var r=[Wt.END_GEOMETRY,n];this.instructions.push(r),this.hitDetectionInstructions.push(r)},e.prototype.getBufferedMaxExtent=function(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=OPe(this.maxExtent),this.maxLineWidth>0)){var n=this.resolution*(this.maxLineWidth+1)/2;aA(this.bufferedMaxExtent_,n,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_},e}(SMe),pmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),gmt=function(t){pmt(e,t);function e(n,r,i,o){var s=t.call(this,n,r,i,o)||this;return s.hitDetectionImage_=null,s.image_=null,s.imagePixelRatio_=void 0,s.anchorX_=void 0,s.anchorY_=void 0,s.height_=void 0,s.opacity_=void 0,s.originX_=void 0,s.originY_=void 0,s.rotateWithView_=void 0,s.rotation_=void 0,s.scale_=void 0,s.width_=void 0,s.declutterMode_=void 0,s.declutterImageWithText_=void 0,s}return e.prototype.drawPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),s=this.coordinates.length,a=this.appendFlatPointCoordinates(i,o);this.instructions.push([Wt.DRAW_IMAGE,s,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Wt.DRAW_IMAGE,s,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.drawMultiPoint=function(n,r){if(this.image_){this.beginGeometry(n,r);var i=n.getFlatCoordinates(),o=n.getStride(),s=this.coordinates.length,a=this.appendFlatPointCoordinates(i,o);this.instructions.push([Wt.DRAW_IMAGE,s,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Wt.DRAW_IMAGE,s,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(r)}},e.prototype.finish=function(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,t.prototype.finish.call(this)},e.prototype.setImageStyle=function(n,r){var i=n.getAnchor(),o=n.getSize(),s=n.getOrigin();this.imagePixelRatio_=n.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=n.getHitDetectionImage(),this.image_=n.getImage(this.pixelRatio),this.height_=o[1],this.opacity_=n.getOpacity(),this.originX_=s[0],this.originY_=s[1],this.rotateWithView_=n.getRotateWithView(),this.rotation_=n.getRotation(),this.scale_=n.getScaleArray(),this.width_=o[0],this.declutterMode_=n.getDeclutterMode(),this.declutterImageWithText_=r},e}(VM),mmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),vmt=function(t){mmt(e,t);function e(n,r,i,o){return t.call(this,n,r,i,o)||this}return e.prototype.drawFlatCoordinates_=function(n,r,i,o){var s=this.coordinates.length,a=this.appendFlatLineCoordinates(n,r,i,o,!1,!1),l=[Wt.MOVE_TO_LINE_TO,s,a];return this.instructions.push(l),this.hitDetectionInstructions.push(l),i},e.prototype.drawLineString=function(n,r){var i=this.state,o=i.strokeStyle,s=i.lineWidth;if(!(o===void 0||s===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([Wt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,dA,hA],fx);var a=n.getFlatCoordinates(),l=n.getStride();this.drawFlatCoordinates_(a,0,a.length,l),this.hitDetectionInstructions.push(cv),this.endGeometry(r)}},e.prototype.drawMultiLineString=function(n,r){var i=this.state,o=i.strokeStyle,s=i.lineWidth;if(!(o===void 0||s===void 0)){this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(n,r),this.hitDetectionInstructions.push([Wt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash,i.lineDashOffset],fx);for(var a=n.getEnds(),l=n.getFlatCoordinates(),u=n.getStride(),c=0,f=0,d=a.length;ft&&(l>a&&(a=l,o=u,s=f),l=0,u=f-i)),d=h,m=y,v=x),p=b,g=w}return l+=h,l>a?[u,f]:[o,s]}var bmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),nk={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1},wmt=function(t){bmt(e,t);function e(n,r,i,o){var s=t.call(this,n,r,i,o)||this;return s.labels_=null,s.text_="",s.textOffsetX_=0,s.textOffsetY_=0,s.textRotateWithView_=void 0,s.textRotation_=0,s.textFillState_=null,s.fillStates={},s.textStrokeState_=null,s.strokeStates={},s.textState_={},s.textStates={},s.textKey_="",s.fillKey_="",s.strokeKey_="",s.declutterImageWithText_=void 0,s}return e.prototype.finish=function(){var n=t.prototype.finish.call(this);return n.textStates=this.textStates,n.fillStates=this.fillStates,n.strokeStates=this.strokeStates,n},e.prototype.drawText=function(n,r){var i=this.textFillState_,o=this.textStrokeState_,s=this.textState_;if(!(this.text_===""||!s||!i&&!o)){var a=this.coordinates,l=a.length,u=n.getType(),c=null,f=n.getStride();if(s.placement===tmt.LINE&&(u=="LineString"||u=="MultiLineString"||u=="Polygon"||u=="MultiPolygon")){if(!ga(this.getBufferedMaxExtent(),n.getExtent()))return;var d=void 0;if(c=n.getFlatCoordinates(),u=="LineString")d=[c.length];else if(u=="MultiLineString")d=n.getEnds();else if(u=="Polygon")d=n.getEnds().slice(0,1);else if(u=="MultiPolygon"){var h=n.getEndss();d=[];for(var p=0,g=h.length;pA[2]}else M=b>k;var P=Math.PI,T=[],R=_+r===e;e=_,m=0,v=S,d=t[e],h=t[e+1];var I;if(R){y(),I=Math.atan2(h-g,d-p),M&&(I+=I>0?-P:P);var B=(k+b)/2,$=(E+w)/2;return T[0]=[B,$,(O-o)/2,I,i],T}i=i.replace(/\n/g," ");for(var z=0,L=i.length;z0?-P:P),I!==void 0){var N=j-I;if(N+=N>P?-2*P:N<-P?2*P:0,Math.abs(N)>s)return null}I=j;for(var F=z,H=0;z0&&t.push(` +`,""),t.push(e,""),t}var Mmt=function(){function t(e,n,r,i){this.overlaps=r,this.pixelRatio=n,this.resolution=e,this.alignFill_,this.instructions=i.instructions,this.coordinates=i.coordinates,this.coordinateCache_={},this.renderedTransform_=ch(),this.hitDetectionInstructions=i.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=i.fillStates||{},this.strokeStates=i.strokeStates||{},this.textStates=i.textStates||{},this.widths_={},this.labels_={}}return t.prototype.createLabel=function(e,n,r,i){var o=e+n+r+i;if(this.labels_[o])return this.labels_[o];var s=i?this.strokeStates[i]:null,a=r?this.fillStates[r]:null,l=this.textStates[n],u=this.pixelRatio,c=[l.scale[0]*u,l.scale[1]*u],f=Array.isArray(e),d=l.justify?nk[l.justify]:khe(Array.isArray(e)?e[0]:e,l.textAlign||mA),h=i&&s.lineWidth?s.lineWidth:0,p=f?e:e.split(` +`).reduce(Pmt,[]),g=qgt(l,p),m=g.width,v=g.height,y=g.widths,x=g.heights,b=g.lineWidths,w=m+h,_=[],S=(w+2)*c[0],O=(v+h)*c[1],k={width:S<0?Math.floor(S):Math.ceil(S),height:O<0?Math.floor(O):Math.ceil(O),contextInstructions:_};if((c[0]!=1||c[1]!=1)&&_.push("scale",c),i){_.push("strokeStyle",s.strokeStyle),_.push("lineWidth",h),_.push("lineCap",s.lineCap),_.push("lineJoin",s.lineJoin),_.push("miterLimit",s.miterLimit);var E=C4?OffscreenCanvasRenderingContext2D:CanvasRenderingContext2D;E.prototype.setLineDash&&(_.push("setLineDash",[s.lineDash]),_.push("lineDashOffset",s.lineDashOffset))}r&&_.push("fillStyle",a.fillStyle),_.push("textBaseline","middle"),_.push("textAlign","center");for(var M=.5-d,A=d*w+M*h,P=[],T=[],R=0,I=0,B=0,$=0,z,L=0,j=p.length;Le?e-u:o,b=s+c>n?n-c:s,w=p[3]+x*d[0]+p[1],_=p[0]+b*d[1]+p[2],S=v-p[3],O=y-p[0];(g||f!==0)&&(um[0]=S,cm[0]=S,um[1]=O,op[1]=O,op[0]=S+w,sp[0]=op[0],sp[1]=O+_,cm[1]=sp[1]);var k;return f!==0?(k=Mg(ch(),r,i,1,1,f,-r,-i),Bi(k,um),Bi(k,op),Bi(k,sp),Bi(k,cm),Bf(Math.min(um[0],op[0],sp[0],cm[0]),Math.min(um[1],op[1],sp[1],cm[1]),Math.max(um[0],op[0],sp[0],cm[0]),Math.max(um[1],op[1],sp[1],cm[1]),zb)):Bf(Math.min(S,S+w),Math.min(O,O+_),Math.max(S,S+w),Math.max(O,O+_),zb),h&&(v=Math.round(v),y=Math.round(y)),{drawImageX:v,drawImageY:y,drawImageW:x,drawImageH:b,originX:u,originY:c,declutterBox:{minX:zb[0],minY:zb[1],maxX:zb[2],maxY:zb[3],value:m},canvasTransform:k,scale:d}},t.prototype.replayImageOrLabel_=function(e,n,r,i,o,s,a){var l=!!(s||a),u=i.declutterBox,c=e.canvas,f=a?a[2]*i.scale[0]/2:0,d=u.minX-f<=c.width/n&&u.maxX+f>=0&&u.minY-f<=c.height/n&&u.maxY+f>=0;return d&&(l&&this.replayTextBackground_(e,um,op,sp,cm,s,a),Xgt(e,i.canvasTransform,o,r,i.originX,i.originY,i.drawImageW,i.drawImageH,i.drawImageX,i.drawImageY,i.scale)),!0},t.prototype.fill_=function(e){if(this.alignFill_){var n=Bi(this.renderedTransform_,[0,0]),r=512*this.pixelRatio;e.save(),e.translate(n[0]%r,n[1]%r),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()},t.prototype.setStrokeStyle_=function(e,n){e.strokeStyle=n[1],e.lineWidth=n[2],e.lineCap=n[3],e.lineJoin=n[4],e.miterLimit=n[5],e.setLineDash&&(e.lineDashOffset=n[7],e.setLineDash(n[6]))},t.prototype.drawLabelWithPointPlacement_=function(e,n,r,i){var o=this.textStates[n],s=this.createLabel(e,n,i,r),a=this.strokeStates[r],l=this.pixelRatio,u=khe(Array.isArray(e)?e[0]:e,o.textAlign||mA),c=nk[o.textBaseline||JF],f=a&&a.lineWidth?a.lineWidth:0,d=s.width/l-2*o.scale[0],h=u*d+2*(.5-u)*f,p=c*s.height/l+2*(.5-c)*f;return{label:s,anchorX:h,anchorY:p}},t.prototype.execute_=function(e,n,r,i,o,s,a,l){var u;this.pixelCoordinates_&&Z1(r,this.renderedTransform_)?u=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),u=Mx(this.coordinates,0,this.coordinates.length,2,r,this.pixelCoordinates_),sht(this.renderedTransform_,r));for(var c=0,f=i.length,d=0,h,p,g,m,v,y,x,b,w,_,S,O,k=0,E=0,M=null,A=null,P=this.coordinateCache_,T=this.viewRotation_,R=Math.round(Math.atan2(-r[1],r[0])*1e12)/1e12,I={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:T},B=this.instructions!=i||this.overlaps?0:200,$,z,L,j;cB&&(this.fill_(e),k=0),E>B&&(e.stroke(),E=0),!k&&!E&&(e.beginPath(),m=NaN,v=NaN),++c;break;case Wt.CIRCLE:d=N[1];var H=u[d],q=u[d+1],Y=u[d+2],le=u[d+3],K=Y-H,ee=le-q,re=Math.sqrt(K*K+ee*ee);e.moveTo(H+re,q),e.arc(H,q,re,0,2*Math.PI,!0),++c;break;case Wt.CLOSE_PATH:e.closePath(),++c;break;case Wt.CUSTOM:d=N[1],h=N[2];var ge=N[3],te=N[4],ae=N.length==6?N[5]:void 0;I.geometry=ge,I.feature=$,c in P||(P[c]=[]);var U=P[c];ae?ae(u,d,h,2,U):(U[0]=u[d],U[1]=u[d+1],U.length=2),te(U,I),++c;break;case Wt.DRAW_IMAGE:d=N[1],h=N[2],b=N[3],p=N[4],g=N[5];var oe=N[6],ne=N[7],V=N[8],X=N[9],Z=N[10],he=N[11],xe=N[12],G=N[13],W=N[14],J=N[15];if(!b&&N.length>=20){w=N[19],_=N[20],S=N[21],O=N[22];var se=this.drawLabelWithPointPlacement_(w,_,S,O);b=se.label,N[3]=b;var ye=N[23];p=(se.anchorX-ye)*this.pixelRatio,N[4]=p;var ie=N[24];g=(se.anchorY-ie)*this.pixelRatio,N[5]=g,oe=b.height,N[6]=oe,G=b.width,N[13]=G}var fe=void 0;N.length>25&&(fe=N[25]);var Q=void 0,_e=void 0,we=void 0;N.length>17?(Q=N[16],_e=N[17],we=N[18]):(Q=cx,_e=!1,we=!1),Z&&R?he+=T:!Z&&!R&&(he-=T);for(var Ie=0;d0){if(!s||h!=="Image"&&h!=="Text"||s.indexOf(_)!==-1){var M=(d[k]-3)/4,A=i-M%a,P=i-(M/a|0),T=o(_,S,A*A+P*P);if(T)return T}c.clearRect(0,0,a,a);break}}var g=Object.keys(this.executorsByZIndex_).map(Number);g.sort(r1);var m,v,y,x,b;for(m=g.length-1;m>=0;--m){var w=g[m].toString();for(y=this.executorsByZIndex_[w],v=hW.length-1;v>=0;--v)if(h=hW[v],x=y[h],x!==void 0&&(b=x.executeHitDetection(c,l,r,p,f),b))return b}},t.prototype.getClipCoords=function(e){var n=this.maxExtent_;if(!n)return null;var r=n[0],i=n[1],o=n[2],s=n[3],a=[r,i,r,s,o,s,o,i];return Mx(a,0,8,2,e,a),a},t.prototype.isEmpty=function(){return CS(this.executorsByZIndex_)},t.prototype.execute=function(e,n,r,i,o,s,a){var l=Object.keys(this.executorsByZIndex_).map(Number);l.sort(r1),this.maxExtent_&&(e.save(),this.clip(e,r));var u=s||hW,c,f,d,h,p,g;for(a&&l.reverse(),c=0,f=l.length;cn)break;var a=r[s];a||(a=[],r[s]=a),a.push(((t+i)*e+(t+o))*4+3),i>0&&a.push(((t-i)*e+(t+o))*4+3),o>0&&(a.push(((t+i)*e+(t-o))*4+3),i>0&&a.push(((t-i)*e+(t-o))*4+3))}for(var l=[],i=0,u=r.length;ithis.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var e=0;for(var n in this.cache_){var r=this.cache_[n];!(e++&3)&&!r.hasListener()&&(delete this.cache_[n],--this.cacheSize_)}}},t.prototype.get=function(e,n,r){var i=Phe(e,n,r);return i in this.cache_?this.cache_[i]:null},t.prototype.set=function(e,n,r,i){var o=Phe(e,n,r);this.cache_[o]=i,++this.cacheSize_},t.prototype.setSize=function(e){this.maxCacheSize_=e,this.expire()},t}();function Phe(t,e,n){var r=n?pMe(n):"null";return e+":"+t+":"+r}var nN=new Lmt,$mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fmt=function(t){$mt(e,t);function e(n,r,i,o){var s=t.call(this)||this;return s.extent=n,s.pixelRatio_=i,s.resolution=r,s.state=o,s}return e.prototype.changed=function(){this.dispatchEvent(nn.CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Lt()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Lt()},e}(QC),Nmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){Nmt(e,t);function e(n,r,i,o,s,a){var l=t.call(this,n,r,i,zr.IDLE)||this;return l.src_=o,l.image_=new Image,s!==null&&(l.image_.crossOrigin=s),l.unlisten_=null,l.state=zr.IDLE,l.imageLoadFunction_=a,l}return e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=zr.ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){this.resolution===void 0&&(this.resolution=Oc(this.extent)/this.image_.height),this.state=zr.LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){(this.state==zr.IDLE||this.state==zr.ERROR)&&(this.state=zr.LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=gte(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(n){this.image_=n,this.resolution=Oc(this.extent)/this.image_.height},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e})(Fmt);function gte(t,e,n){var r=t,i=!0,o=!1,s=!1,a=[UF(r,nn.LOAD,function(){s=!0,o||e()})];return r.src&&iht?(o=!0,r.decode().then(function(){i&&e()}).catch(function(l){i&&(s?e():n())})):a.push(UF(r,nn.ERROR,n)),function(){i=!1,a.forEach(ri)}}var zmt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),$E=null,jmt=function(t){zmt(e,t);function e(n,r,i,o,s,a){var l=t.call(this)||this;return l.hitDetectionImage_=null,l.image_=n||new Image,o!==null&&(l.image_.crossOrigin=o),l.canvas_={},l.color_=a,l.unlisten_=null,l.imageState_=s,l.size_=i,l.src_=r,l.tainted_,l}return e.prototype.isTainted_=function(){if(this.tainted_===void 0&&this.imageState_===zr.LOADED){$E||($E=Su(1,1)),$E.drawImage(this.image_,0,0);try{$E.getImageData(0,0,1,1),this.tainted_=!1}catch{$E=null,this.tainted_=!0}}return this.tainted_===!0},e.prototype.dispatchChangeEvent_=function(){this.dispatchEvent(nn.CHANGE)},e.prototype.handleImageError_=function(){this.imageState_=zr.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.handleImageLoad_=function(){this.imageState_=zr.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()},e.prototype.getImage=function(n){return this.replaceColor_(n),this.canvas_[n]?this.canvas_[n]:this.image_},e.prototype.getPixelRatio=function(n){return this.replaceColor_(n),this.canvas_[n]?n:1},e.prototype.getImageState=function(){return this.imageState_},e.prototype.getHitDetectionImage=function(){if(!this.hitDetectionImage_)if(this.isTainted_()){var n=this.size_[0],r=this.size_[1],i=Su(n,r);i.fillRect(0,0,n,r),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_},e.prototype.getSize=function(){return this.size_},e.prototype.getSrc=function(){return this.src_},e.prototype.load=function(){if(this.imageState_==zr.IDLE){this.imageState_=zr.LOADING;try{this.image_.src=this.src_}catch{this.handleImageError_()}this.unlisten_=gte(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}},e.prototype.replaceColor_=function(n){if(!(!this.color_||this.canvas_[n]||this.imageState_!==zr.LOADED)){var r=document.createElement("canvas");this.canvas_[n]=r,r.width=Math.ceil(this.image_.width*n),r.height=Math.ceil(this.image_.height*n);var i=r.getContext("2d");if(i.scale(n,n),i.drawImage(this.image_,0,0),i.globalCompositeOperation="multiply",i.globalCompositeOperation==="multiply"||this.isTainted_())i.fillStyle=pMe(this.color_),i.fillRect(0,0,r.width/n,r.height/n),i.globalCompositeOperation="destination-in",i.drawImage(this.image_,0,0);else{for(var o=i.getImageData(0,0,r.width,r.height),s=o.data,a=this.color_[0]/255,l=this.color_[1]/255,u=this.color_[2]/255,c=this.color_[3],f=0,d=s.length;f0,6);var f=i.src!==void 0?zr.IDLE:zr.LOADED;return r.color_=i.color!==void 0?KF(i.color):null,r.iconImage_=Bmt(u,c,r.imgSize_!==void 0?r.imgSize_:null,r.crossOrigin_,f,r.color_),r.offset_=i.offset!==void 0?i.offset:[0,0],r.offsetOrigin_=i.offsetOrigin!==void 0?i.offsetOrigin:Lu.TOP_LEFT,r.origin_=null,r.size_=i.size!==void 0?i.size:null,r}return e.prototype.clone=function(){var n=this.getScale();return new e({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:Array.isArray(n)?n.slice():n,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})},e.prototype.getAnchor=function(){var n=this.normalizedAnchor_;if(!n){n=this.anchor_;var r=this.getSize();if(this.anchorXUnits_==Wm.FRACTION||this.anchorYUnits_==Wm.FRACTION){if(!r)return null;n=this.anchor_.slice(),this.anchorXUnits_==Wm.FRACTION&&(n[0]*=r[0]),this.anchorYUnits_==Wm.FRACTION&&(n[1]*=r[1])}if(this.anchorOrigin_!=Lu.TOP_LEFT){if(!r)return null;n===this.anchor_&&(n=this.anchor_.slice()),(this.anchorOrigin_==Lu.TOP_RIGHT||this.anchorOrigin_==Lu.BOTTOM_RIGHT)&&(n[0]=-n[0]+r[0]),(this.anchorOrigin_==Lu.BOTTOM_LEFT||this.anchorOrigin_==Lu.BOTTOM_RIGHT)&&(n[1]=-n[1]+r[1])}this.normalizedAnchor_=n}var i=this.getDisplacement();return[n[0]-i[0],n[1]+i[1]]},e.prototype.setAnchor=function(n){this.anchor_=n,this.normalizedAnchor_=null},e.prototype.getColor=function(){return this.color_},e.prototype.getImage=function(n){return this.iconImage_.getImage(n)},e.prototype.getPixelRatio=function(n){return this.iconImage_.getPixelRatio(n)},e.prototype.getImageSize=function(){return this.iconImage_.getSize()},e.prototype.getImageState=function(){return this.iconImage_.getImageState()},e.prototype.getHitDetectionImage=function(){return this.iconImage_.getHitDetectionImage()},e.prototype.getOrigin=function(){if(this.origin_)return this.origin_;var n=this.offset_;if(this.offsetOrigin_!=Lu.TOP_LEFT){var r=this.getSize(),i=this.iconImage_.getSize();if(!r||!i)return null;n=n.slice(),(this.offsetOrigin_==Lu.TOP_RIGHT||this.offsetOrigin_==Lu.BOTTOM_RIGHT)&&(n[0]=i[0]-r[0]-n[0]),(this.offsetOrigin_==Lu.BOTTOM_LEFT||this.offsetOrigin_==Lu.BOTTOM_RIGHT)&&(n[1]=i[1]-r[1]-n[1])}return this.origin_=n,this.origin_},e.prototype.getSrc=function(){return this.iconImage_.getSrc()},e.prototype.getSize=function(){return this.size_?this.size_:this.iconImage_.getSize()},e.prototype.listenImageChange=function(n){this.iconImage_.addEventListener(nn.CHANGE,n)},e.prototype.load=function(){this.iconImage_.load()},e.prototype.unlistenImageChange=function(n){this.iconImage_.removeEventListener(nn.CHANGE,n)},e}(hMe),Nd=.5;function Vmt(t,e,n,r,i,o,s){var a=t[0]*Nd,l=t[1]*Nd,u=Su(a,l);u.imageSmoothingEnabled=!1;for(var c=u.canvas,f=new Imt(u,Nd,i,null,s),d=n.length,h=Math.floor((256*256*256-1)/d),p={},g=1;g<=d;++g){var m=n[g-1],v=m.getStyleFunction()||r;if(r){var y=v(m,o);if(y){Array.isArray(y)||(y=[y]);for(var x=g*h,b="#"+("000000"+x.toString(16)).slice(-6),w=0,_=y.length;w<_;++w){var S=y[w],O=S.getGeometryFunction()(m);if(!(!O||!ga(i,O.getExtent()))){var k=S.clone(),E=k.getFill();E&&E.setColor(b);var M=k.getStroke();M&&(M.setColor(b),M.setLineDash(null)),k.setText(void 0);var A=S.getImage();if(A&&A.getOpacity()!==0){var P=A.getImageSize();if(!P)continue;var T=Su(P[0],P[1],void 0,{alpha:!1}),R=T.canvas;T.fillStyle=b,T.fillRect(0,0,R.width,R.height),k.setImage(new Wmt({img:R,imgSize:P,anchor:A.getAnchor(),anchorXUnits:Wm.PIXELS,anchorYUnits:Wm.PIXELS,offset:A.getOrigin(),opacity:1,size:A.getSize(),scale:A.getScale(),rotation:A.getRotation(),rotateWithView:A.getRotateWithView()}))}var I=k.getZIndex()||0,B=p[I];B||(B={},p[I]=B,B.Polygon=[],B.Circle=[],B.LineString=[],B.Point=[]),B[O.getType().replace("Multi","")].push(O,k)}}}}}for(var $=Object.keys(p).map(Number).sort(r1),g=0,z=$.length;gg[2];)++y,x=v*y,f.push(this.getRenderTransform(o,s,a,Nd,d,h,x).slice()),m-=v}this.hitDetectionImageData_=Vmt(i,f,this.renderedFeatures_,c.getStyleFunction(),u,s,a)}r(Gmt(n,this.renderedFeatures_,this.hitDetectionImageData_))}).bind(this))},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,s){var a=this;if(this.replayGroup_){var l=r.viewState.resolution,u=r.viewState.rotation,c=this.getLayer(),f={},d=function(g,m,v){var y=or(g),x=f[y];if(x){if(x!==!0&&vw[0]&&O[2]>w[2]&&b.push([O[0]-_,O[1],O[2]-_,O[3]])}if(this.ready&&this.renderedResolution_==d&&this.renderedRevision_==p&&this.renderedRenderOrder_==m&&t_(this.wrappedRenderedExtent_,y))return Z1(this.renderedExtent_,x)||(this.hitDetectionImageData_=null,this.renderedExtent_=x),this.renderedCenter_=v,this.replayGroupChanged=!1,!0;this.replayGroup_=null;var k=new Ohe(mq(d,h),y,d,h),E;this.getLayer().getDeclutter()&&(E=new Ohe(mq(d,h),y,d,h));for(var M,A,P,A=0,P=b.length;A=200&&a.status<300){var u=e.getType(),c=void 0;u=="json"||u=="text"?c=a.responseText:u=="xml"?(c=a.responseXML,c||(c=new DOMParser().parseFromString(a.responseText,"application/xml"))):u=="arraybuffer"&&(c=a.response),c?o(e.readFeatures(c,{extent:n,featureProjection:i}),e.readProjection(c)):s()}else s()},a.onerror=s,a.send()}function Ihe(t,e){return function(n,r,i,o,s){var a=this;cvt(t,e,n,r,i,function(l,u){a.addFeatures(l),o!==void 0&&o(l)},s||i1)}}var AMe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),fm=function(t){AMe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.feature=r,o.features=i,o}return e}($h),GM=function(t){AMe(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{attributions:i.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:i.wrapX!==void 0?i.wrapX:!0})||this,r.on,r.once,r.un,r.loader_=i1,r.format_=i.format,r.overlaps_=i.overlaps===void 0?!0:i.overlaps,r.url_=i.url,i.loader!==void 0?r.loader_=i.loader:r.url_!==void 0&&(bn(r.format_,7),r.loader_=Ihe(r.url_,r.format_)),r.strategy_=i.strategy!==void 0?i.strategy:lvt;var o=i.useSpatialIndex!==void 0?i.useSpatialIndex:!0;r.featuresRtree_=o?new Rhe:null,r.loadedExtentsRtree_=new Rhe,r.loadingExtentsCount_=0,r.nullGeometryFeatures_={},r.idIndex_={},r.uidIndex_={},r.featureChangeKeys_={},r.featuresCollection_=null;var s,a;return Array.isArray(i.features)?a=i.features:i.features&&(s=i.features,a=s.getArray()),!o&&s===void 0&&(s=new rc(a)),a!==void 0&&r.addFeaturesInternal(a),s!==void 0&&r.bindFeaturesCollection_(s),r}return e.prototype.addFeature=function(n){this.addFeatureInternal(n),this.changed()},e.prototype.addFeatureInternal=function(n){var r=or(n);if(!this.addToIndex_(r,n)){this.featuresCollection_&&this.featuresCollection_.remove(n);return}this.setupChangeEvents_(r,n);var i=n.getGeometry();if(i){var o=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(o,n)}else this.nullGeometryFeatures_[r]=n;this.dispatchEvent(new fm(qc.ADDFEATURE,n))},e.prototype.setupChangeEvents_=function(n,r){this.featureChangeKeys_[n]=[zn(r,nn.CHANGE,this.handleFeatureChange_,this),zn(r,SS.PROPERTYCHANGE,this.handleFeatureChange_,this)]},e.prototype.addToIndex_=function(n,r){var i=!0,o=r.getId();return o!==void 0&&(o.toString()in this.idIndex_?i=!1:this.idIndex_[o.toString()]=r),i&&(bn(!(n in this.uidIndex_),30),this.uidIndex_[n]=r),i},e.prototype.addFeatures=function(n){this.addFeaturesInternal(n),this.changed()},e.prototype.addFeaturesInternal=function(n){for(var r=[],i=[],o=[],s=0,a=n.length;s0},e.prototype.refresh=function(){this.clear(!0),this.loadedExtentsRtree_.clear(),t.prototype.refresh.call(this)},e.prototype.removeLoadedExtent=function(n){var r=this.loadedExtentsRtree_,i;r.forEachInExtent(n,function(o){if(lA(o.extent,n))return i=o,!0}),i&&r.remove(i)},e.prototype.removeFeature=function(n){if(n){var r=or(n);r in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[r]:this.featuresRtree_&&this.featuresRtree_.remove(n);var i=this.removeFeatureInternal(n);i&&this.changed()}},e.prototype.removeFeatureInternal=function(n){var r=or(n),i=this.featureChangeKeys_[r];if(i){i.forEach(ri),delete this.featureChangeKeys_[r];var o=n.getId();return o!==void 0&&delete this.idIndex_[o.toString()],delete this.uidIndex_[r],this.dispatchEvent(new fm(qc.REMOVEFEATURE,n)),n}},e.prototype.removeFromIdIndex_=function(n){var r=!1;for(var i in this.idIndex_)if(this.idIndex_[i]===n){delete this.idIndex_[i],r=!0;break}return r},e.prototype.setLoader=function(n){this.loader_=n},e.prototype.setUrl=function(n){bn(this.format_,7),this.url_=n,this.setLoader(Ihe(n,this.format_))},e}(kMe);function dm(t,e){return Bi(t.inversePixelTransform,e.slice(0))}const qt={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function PMe(t){return Math.pow(t,3)}function nO(t){return 1-PMe(1-t)}function fvt(t){return 3*t*t-2*t*t*t}function dvt(t){return t}var hvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),MMe=function(t){hvt(e,t);function e(n,r,i){var o=t.call(this)||this,s=i||{};return o.tileCoord=n,o.state=r,o.interimTile=null,o.key="",o.transition_=s.transition===void 0?250:s.transition,o.transitionStarts_={},o.interpolate=!!s.interpolate,o}return e.prototype.changed=function(){this.dispatchEvent(nn.CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var n=this.interimTile;do{if(n.getState()==qt.LOADED)return this.transition_=0,n;n=n.interimTile}while(n);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var n=this.interimTile,r=this;do{if(n.getState()==qt.LOADED){n.interimTile=null;break}else n.getState()==qt.LOADING?r=n:n.getState()==qt.IDLE?r.interimTile=n.interimTile:r=n;n=r.interimTile}while(n)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(n){if(this.state!==qt.ERROR&&this.state>n)throw new Error("Tile load sequence violation");this.state=n,this.changed()},e.prototype.load=function(){Lt()},e.prototype.getAlpha=function(n,r){if(!this.transition_)return 1;var i=this.transitionStarts_[n];if(!i)i=r,this.transitionStarts_[n]=i;else if(i===-1)return 1;var o=r-i+1e3/60;return o>=this.transition_?1:PMe(o/this.transition_)},e.prototype.inTransition=function(n){return this.transition_?this.transitionStarts_[n]!==-1:!1},e.prototype.endTransition=function(n){this.transition_&&(this.transitionStarts_[n]=-1)},e}(QC),pvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),mte=function(t){pvt(e,t);function e(n,r,i,o,s,a){var l=t.call(this,n,r,a)||this;return l.crossOrigin_=o,l.src_=i,l.key=i,l.image_=new Image,o!==null&&(l.image_.crossOrigin=o),l.unlisten_=null,l.tileLoadFunction_=s,l}return e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(n){this.image_=n,this.state=qt.LOADED,this.unlistenImage_(),this.changed()},e.prototype.handleImageError_=function(){this.state=qt.ERROR,this.unlistenImage_(),this.image_=gvt(),this.changed()},e.prototype.handleImageLoad_=function(){var n=this.image_;n.naturalWidth&&n.naturalHeight?this.state=qt.LOADED:this.state=qt.EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==qt.ERROR&&(this.state=qt.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==qt.IDLE&&(this.state=qt.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=gte(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(MMe);function gvt(){var t=Su(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}var mvt=function(){function t(e,n,r){this.decay_=e,this.minVelocity_=n,this.delay_=r,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(e,n){this.points_.push(e,n,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var e=Date.now()-this.delay_,n=this.points_.length-3;if(this.points_[n+2]0&&this.points_[r+2]>e;)r-=3;var i=this.points_[n+2]-this.points_[r+2];if(i<1e3/60)return!1;var o=this.points_[n]-this.points_[r],s=this.points_[n+1]-this.points_[r+1];return this.angle_=Math.atan2(s,o),this.initialVelocity_=Math.sqrt(o*o+s*s)/i,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),vvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),yvt=function(t){vvt(e,t);function e(n){var r=t.call(this)||this;return r.map_=n,r}return e.prototype.dispatchRenderEvent=function(n,r){Lt()},e.prototype.calculateMatrices2D=function(n){var r=n.viewState,i=n.coordinateToPixelTransform,o=n.pixelToCoordinateTransform;Mg(i,n.size[0]/2,n.size[1]/2,1/r.resolution,-1/r.resolution,-r.rotation,-r.center[0],-r.center[1]),jee(o,i)},e.prototype.forEachFeatureAtCoordinate=function(n,r,i,o,s,a,l,u){var c,f=r.viewState;function d(R,I,B,$){return s.call(a,I,R?B:null,$)}var h=f.projection,p=RPe(n.slice(),h),g=[[0,0]];if(h.canWrapX()&&o){var m=h.getExtent(),v=Kr(m);g.push([-v,0],[v,0])}for(var y=r.layerStatesArray,x=y.length,b=[],w=[],_=0;_=0;--S){var O=y[S],k=O.layer;if(k.hasRenderer()&&tN(O,f)&&l.call(u,k)){var E=k.getRenderer(),M=k.getSource();if(E&&M){var A=M.getWrapX()?p:n,P=d.bind(null,O.managed);w[0]=A[0]+g[_][0],w[1]=A[1]+g[_][1],c=E.forEachFeatureAtCoordinate(w,r,i,P,b)}if(c)return c}}if(b.length!==0){var T=1/b.length;return b.forEach(function(R,I){return R.distanceSq+=I*T}),b.sort(function(R,I){return R.distanceSq-I.distanceSq}),b.some(function(R){return c=R.callback(R.feature,R.layer,R.geometry)}),c}},e.prototype.forEachLayerAtPixel=function(n,r,i,o,s){return Lt()},e.prototype.hasFeatureAtCoordinate=function(n,r,i,o,s,a){var l=this.forEachFeatureAtCoordinate(n,r,i,o,Ax,this,s,a);return l!==void 0},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(n){Lt()},e.prototype.scheduleExpireIconCache=function(n){nN.canExpireCache()&&n.postRenderFunctions.push(xvt)},e}(Nee);function xvt(t,e){nN.expire()}var bvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),wvt=function(t){bvt(e,t);function e(n){var r=t.call(this,n)||this;r.fontChangeListenerKey_=zn(bp,SS.PROPERTYCHANGE,n.redrawText.bind(n)),r.element_=document.createElement("div");var i=r.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",r.element_.className=UM+" ol-layers";var o=n.getViewport();return o.insertBefore(r.element_,o.firstChild||null),r.children_=[],r.renderedVisible_=!0,r}return e.prototype.dispatchRenderEvent=function(n,r){var i=this.getMap();if(i.hasListener(n)){var o=new CMe(n,void 0,r);i.dispatchEvent(o)}},e.prototype.disposeInternal=function(){ri(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(n){if(!n){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(n),this.dispatchRenderEvent($v.PRECOMPOSE,n);var r=n.layerStatesArray.sort(function(h,p){return h.zIndex-p.zIndex}),i=n.viewState;this.children_.length=0;for(var o=[],s=null,a=0,l=r.length;a=0;--a)o[a].renderDeclutter(n);Ugt(this.element_,this.children_),this.dispatchRenderEvent($v.POSTCOMPOSE,n),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(n)},e.prototype.forEachLayerAtPixel=function(n,r,i,o,s){for(var a=r.viewState,l=r.layerStatesArray,u=l.length,c=u-1;c>=0;--c){var f=l[c],d=f.layer;if(d.hasRenderer()&&tN(f,a)&&s(d)){var h=d.getRenderer(),p=h.getDataAtPixel(n,r,i);if(p){var g=o(d,p);if(g)return g}}}},e}(yvt),RMe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vm=function(t){RMe(e,t);function e(n,r){var i=t.call(this,n)||this;return i.layer=r,i}return e}($h),gW={LAYERS:"layers"},_vt=function(t){RMe(e,t);function e(n){var r=this,i=n||{},o=fi({},i);delete o.layers;var s=i.layers;return r=t.call(this,o)||this,r.on,r.once,r.un,r.layersListenerKeys_=[],r.listenerKeys_={},r.addChangeListener(gW.LAYERS,r.handleLayersChanged_),s?Array.isArray(s)?s=new rc(s.slice(),{unique:!0}):bn(typeof s.getArray=="function",43):s=new rc(void 0,{unique:!0}),r.setLayers(s),r}return e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(ri),this.layersListenerKeys_.length=0;var n=this.getLayers();this.layersListenerKeys_.push(zn(n,Xa.ADD,this.handleLayersAdd_,this),zn(n,Xa.REMOVE,this.handleLayersRemove_,this));for(var r in this.listenerKeys_)this.listenerKeys_[r].forEach(ri);IM(this.listenerKeys_);for(var i=n.getArray(),o=0,s=i.length;othis.moveTolerance_||Math.abs(n.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(ri(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(nn.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(ri(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(ri),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(QC);const Am={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Ls={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"};var rN=1/0,Tvt=function(){function t(e,n){this.priorityFunction_=e,this.keyFunction_=n,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,IM(this.queuedElements_)},t.prototype.dequeue=function(){var e=this.elements_,n=this.priorities_,r=e[0];e.length==1?(e.length=0,n.length=0):(e[0]=e.pop(),n[0]=n.pop(),this.siftUp_(0));var i=this.keyFunction_(r);return delete this.queuedElements_[i],r},t.prototype.enqueue=function(e){bn(!(this.keyFunction_(e)in this.queuedElements_),31);var n=this.priorityFunction_(e);return n!=rN?(this.elements_.push(e),this.priorities_.push(n),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(e){return e*2+1},t.prototype.getRightChildIndex_=function(e){return e*2+2},t.prototype.getParentIndex_=function(e){return e-1>>1},t.prototype.heapify_=function(){var e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)},t.prototype.isEmpty=function(){return this.elements_.length===0},t.prototype.isKeyQueued=function(e){return e in this.queuedElements_},t.prototype.isQueued=function(e){return this.isKeyQueued(this.keyFunction_(e))},t.prototype.siftUp_=function(e){for(var n=this.elements_,r=this.priorities_,i=n.length,o=n[e],s=r[e],a=e;e>1;){var l=this.getLeftChildIndex_(e),u=this.getRightChildIndex_(e),c=ue;){var a=this.getParentIndex_(n);if(i[a]>s)r[n]=r[a],i[n]=i[a],n=a;else break}r[n]=o,i[n]=s},t.prototype.reprioritize=function(){var e=this.priorityFunction_,n=this.elements_,r=this.priorities_,i=0,o=n.length,s,a,l;for(a=0;a0;)s=this.dequeue()[0],a=s.getKey(),o=s.getState(),o===qt.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++i,s.load())},e}(Tvt);function Pvt(t,e,n,r,i){if(!t||!(n in t.wantedTiles)||!t.wantedTiles[n][e.getKey()])return rN;var o=t.viewState.center,s=r[0]-o[0],a=r[1]-o[1];return 65536*Math.log(i)+Math.sqrt(s*s+a*a)/i}const Xc={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};var Mvt=42,vte=256;function Lhe(t,e,n){return function(r,i,o,s,a){if(r){if(!i&&!e)return r;var l=e?0:o[0]*i,u=e?0:o[1]*i,c=a?a[0]:0,f=a?a[1]:0,d=t[0]+l/2+c,h=t[2]-l/2+c,p=t[1]+u/2+f,g=t[3]-u/2+f;d>h&&(d=(h+d)/2,h=d),p>g&&(p=(g+p)/2,g=p);var m=oo(r[0],d,h),v=oo(r[1],p,g);if(s&&n&&i){var y=30*i;m+=-y*Math.log(1+Math.max(0,d-r[0])/y)+y*Math.log(1+Math.max(0,r[0]-h)/y),v+=-y*Math.log(1+Math.max(0,p-r[1])/y)+y*Math.log(1+Math.max(0,r[1]-g)/y)}return[m,v]}}}function Rvt(t){return t}function yte(t,e,n,r){var i=Kr(e)/n[0],o=Oc(e)/n[1];return r?Math.min(t,Math.max(i,o)):Math.min(t,Math.min(i,o))}function xte(t,e,n){var r=Math.min(t,e),i=50;return r*=Math.log(1+i*Math.max(0,t/e-1))/i+1,n&&(r=Math.max(r,n),r/=Math.log(1+i*Math.max(0,n/t-1))/i+1),oo(r,n/2,e*2)}function Dvt(t,e,n,r){return function(i,o,s,a){if(i!==void 0){var l=t[0],u=t[t.length-1],c=n?yte(l,n,s,r):l;if(a){var f=e!==void 0?e:!0;return f?xte(i,c,u):oo(i,u,c)}var d=Math.min(c,i),h=Math.floor(zee(t,d,o));return t[h]>c&&h1&&typeof arguments[r-1]=="function"&&(i=arguments[r-1],--r);for(var o=0;o0},e.prototype.getInteracting=function(){return this.hints_[js.INTERACTING]>0},e.prototype.cancelAnimations=function(){this.setHint(js.ANIMATING,-this.hints_[js.ANIMATING]);for(var n,r=0,i=this.animations_.length;r=0;--i){for(var o=this.animations_[i],s=!0,a=0,l=o.length;a0?c/u.duration:1;f>=1?(u.complete=!0,f=1):s=!1;var d=u.easing(f);if(u.sourceCenter){var h=u.sourceCenter[0],p=u.sourceCenter[1],g=u.targetCenter[0],m=u.targetCenter[1];this.nextCenter_=u.targetCenter;var v=h+d*(g-h),y=p+d*(m-p);this.targetCenter_=[v,y]}if(u.sourceResolution&&u.targetResolution){var x=d===1?u.targetResolution:u.sourceResolution+d*(u.targetResolution-u.sourceResolution);if(u.anchor){var b=this.getViewportSize_(this.getRotation()),w=this.constraints_.resolution(x,0,b,!0);this.targetCenter_=this.calculateCenterZoom(w,u.anchor)}this.nextResolution_=u.targetResolution,this.targetResolution_=x,this.applyTargetState_(!0)}if(u.sourceRotation!==void 0&&u.targetRotation!==void 0){var _=d===1?Lv(u.targetRotation+Math.PI,2*Math.PI)-Math.PI:u.sourceRotation+d*(u.targetRotation-u.sourceRotation);if(u.anchor){var S=this.constraints_.rotation(_,!0);this.targetCenter_=this.calculateCenterRotate(S,u.anchor)}this.nextRotation_=u.targetRotation,this.targetRotation_=_}if(this.applyTargetState_(!0),r=!0,!u.complete)break}}if(s){this.animations_[i]=null,this.setHint(js.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var O=o[0].callback;O&&mI(O,!0)}}this.animations_=this.animations_.filter(Boolean),r&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(n,r){var i,o=this.getCenterInternal();return o!==void 0&&(i=[o[0]-r[0],o[1]-r[1]],qee(i,n-this.getRotation()),Dht(i,r)),i},e.prototype.calculateCenterZoom=function(n,r){var i,o=this.getCenterInternal(),s=this.getResolution();if(o!==void 0&&s!==void 0){var a=r[0]-n*(r[0]-o[0])/s,l=r[1]-n*(r[1]-o[1])/s;i=[a,l]}return i},e.prototype.getViewportSize_=function(n){var r=this.viewportSize_;if(n){var i=r[0],o=r[1];return[Math.abs(i*Math.cos(n))+Math.abs(o*Math.sin(n)),Math.abs(i*Math.sin(n))+Math.abs(o*Math.cos(n))]}else return r},e.prototype.setViewportSize=function(n){this.viewportSize_=Array.isArray(n)?n.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var n=this.getCenterInternal();return n&&iq(n,this.getProjection())},e.prototype.getCenterInternal=function(){return this.get(Xc.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.get("constrainResolution")},e.prototype.getHints=function(n){return n!==void 0?(n[0]=this.hints_[0],n[1]=this.hints_[1],n):this.hints_.slice()},e.prototype.calculateExtent=function(n){var r=this.calculateExtentInternal(n);return LPe(r,this.getProjection())},e.prototype.calculateExtentInternal=function(n){var r=n||this.getViewportSizeMinusPadding_(),i=this.getCenterInternal();bn(i,1);var o=this.getResolution();bn(o!==void 0,2);var s=this.getRotation();return bn(s!==void 0,3),eq(i,o,s,r)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({maxZoom:n}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(n){this.applyOptions_(this.getUpdatedOptions_({minZoom:n}))},e.prototype.setConstrainResolution=function(n){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:n}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(Xc.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(n,r){return this.getResolutionForExtentInternal(lx(n,this.getProjection()),r)},e.prototype.getResolutionForExtentInternal=function(n,r){var i=r||this.getViewportSizeMinusPadding_(),o=Kr(n)/i[0],s=Oc(n)/i[1];return Math.max(o,s)},e.prototype.getResolutionForValueFunction=function(n){var r=n||2,i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,s=Math.log(i/o)/Math.log(r);return function(a){var l=i/Math.pow(r,a*s);return l}},e.prototype.getRotation=function(){return this.get(Xc.ROTATION)},e.prototype.getValueForResolutionFunction=function(n){var r=Math.log(n||2),i=this.getConstrainedResolution(this.maxResolution_),o=this.minResolution_,s=Math.log(i/o)/r;return function(a){var l=Math.log(i/a)/r/s;return l}},e.prototype.getViewportSizeMinusPadding_=function(n){var r=this.getViewportSize_(n),i=this.padding_;return i&&(r=[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]),r},e.prototype.getState=function(){var n=this.getProjection(),r=this.getResolution(),i=this.getRotation(),o=this.getCenterInternal(),s=this.padding_;if(s){var a=this.getViewportSizeMinusPadding_();o=vW(o,this.getViewportSize_(),[a[0]/2+s[3],a[1]/2+s[0]],r,i)}return{center:o.slice(0),projection:n!==void 0?n:null,resolution:r,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}},e.prototype.getZoom=function(){var n,r=this.getResolution();return r!==void 0&&(n=this.getZoomForResolution(r)),n},e.prototype.getZoomForResolution=function(n){var r=this.minZoom_||0,i,o;if(this.resolutions_){var s=zee(this.resolutions_,n,1);r=s,i=this.resolutions_[s],s==this.resolutions_.length-1?o=2:o=i/this.resolutions_[s+1]}else i=this.maxResolution_,o=this.zoomFactor_;return r+Math.log(i/n)/Math.log(o)},e.prototype.getResolutionForZoom=function(n){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var r=oo(Math.floor(n),0,this.resolutions_.length-2),i=this.resolutions_[r]/this.resolutions_[r+1];return this.resolutions_[r]/Math.pow(i,oo(n-r,0,1))}else return this.maxResolution_/Math.pow(this.zoomFactor_,n-this.minZoom_)},e.prototype.fit=function(n,r){var i;if(bn(Array.isArray(n)||typeof n.getSimplifiedGeometry=="function",24),Array.isArray(n)){bn(!Hee(n),25);var o=lx(n,this.getProjection());i=lq(o)}else if(n.getType()==="Circle"){var o=lx(n.getExtent(),this.getProjection());i=lq(o),i.rotate(this.getRotation(),ey(o))}else{var s=Wht();s?i=n.clone().transform(s,this.getProjection()):i=n}this.fitInternal(i,r)},e.prototype.rotatedExtentForGeometry=function(n){for(var r=this.getRotation(),i=Math.cos(r),o=Math.sin(-r),s=n.getFlatCoordinates(),a=n.getStride(),l=1/0,u=1/0,c=-1/0,f=-1/0,d=0,h=s.length;d=0;u--){var c=l[u];if(!(c.getMap()!==this||!c.getActive()||!this.getTargetElement())){var f=c.handleEvent(n);if(!f||n.propagationStopped)break}}}},e.prototype.handlePostRender=function(){var n=this.frameState_,r=this.tileQueue_;if(!r.isEmpty()){var i=this.maxTilesLoading_,o=i;if(n){var s=n.viewHints;if(s[js.ANIMATING]||s[js.INTERACTING]){var a=Date.now()-n.time>8;i=a?0:8,o=a?0:2}}r.getTilesLoading()0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!Z1(r,this.renderedAttributions_)){Bgt(this.ulElement_);for(var o=0,s=r.length;o0&&i%(2*Math.PI)!==0?r.animate({rotation:0,duration:this.duration_,easing:nO}):r.setRotation(0))}},e.prototype.render=function(n){var r=n.frameState;if(r){var i=r.viewState.rotation;if(i!=this.rotation_){var o="rotate("+i+"rad)";if(this.autoHide_){var s=this.element.classList.contains(dI);!s&&i===0?this.element.classList.add(dI):s&&i!==0&&this.element.classList.remove(dI)}this.label_.style.transform=o}this.rotation_=i}},e}(I4),Qvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kvt=function(t){Qvt(e,t);function e(n){var r=this,i=n||{};r=t.call(this,{element:document.createElement("div"),target:i.target})||this;var o=i.className!==void 0?i.className:"ol-zoom",s=i.delta!==void 0?i.delta:1,a=i.zoomInClassName!==void 0?i.zoomInClassName:o+"-in",l=i.zoomOutClassName!==void 0?i.zoomOutClassName:o+"-out",u=i.zoomInLabel!==void 0?i.zoomInLabel:"+",c=i.zoomOutLabel!==void 0?i.zoomOutLabel:"–",f=i.zoomInTipLabel!==void 0?i.zoomInTipLabel:"Zoom in",d=i.zoomOutTipLabel!==void 0?i.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=a,h.setAttribute("type","button"),h.title=f,h.appendChild(typeof u=="string"?document.createTextNode(u):u),h.addEventListener(nn.CLICK,r.handleClick_.bind(r,s),!1);var p=document.createElement("button");p.className=l,p.setAttribute("type","button"),p.title=d,p.appendChild(typeof c=="string"?document.createTextNode(c):c),p.addEventListener(nn.CLICK,r.handleClick_.bind(r,-s),!1);var g=o+" "+UM+" "+pte,m=r.element;return m.className=g,m.appendChild(h),m.appendChild(p),r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleClick_=function(n,r){r.preventDefault(),this.zoomByDelta_(n)},e.prototype.zoomByDelta_=function(n){var r=this.getMap(),i=r.getView();if(i){var o=i.getZoom();if(o!==void 0){var s=i.getConstrainedZoom(o+n);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:s,duration:this.duration_,easing:nO})):i.setZoom(s)}}},e}(I4),Zvt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),yW="units",c0={DEGREES:"degrees",IMPERIAL:"imperial",NAUTICAL:"nautical",METRIC:"metric",US:"us"},Jvt=[1,2,5],FE=25.4/.28,eyt=function(t){Zvt(e,t);function e(n){var r=this,i=n||{},o=i.className!==void 0?i.className:i.bar?"ol-scale-bar":"ol-scale-line";return r=t.call(this,{element:document.createElement("div"),render:i.render,target:i.target})||this,r.on,r.once,r.un,r.innerElement_=document.createElement("div"),r.innerElement_.className=o+"-inner",r.element.className=o+" "+UM,r.element.appendChild(r.innerElement_),r.viewState_=null,r.minWidth_=i.minWidth!==void 0?i.minWidth:64,r.maxWidth_=i.maxWidth,r.renderedVisible_=!1,r.renderedWidth_=void 0,r.renderedHTML_="",r.addChangeListener(yW,r.handleUnitsChanged_),r.setUnits(i.units||c0.METRIC),r.scaleBar_=i.bar||!1,r.scaleBarSteps_=i.steps||4,r.scaleBarText_=i.text||!1,r.dpi_=i.dpi||void 0,r}return e.prototype.getUnits=function(){return this.get(yW)},e.prototype.handleUnitsChanged_=function(){this.updateElement_()},e.prototype.setUnits=function(n){this.set(yW,n)},e.prototype.setDpi=function(n){this.dpi_=n},e.prototype.updateElement_=function(){var n=this.viewState_;if(!n){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}var r=n.center,i=n.projection,o=this.getUnits(),s=o==c0.DEGREES?Io.DEGREES:Io.METERS,a=GF(i,n.resolution,r,s),l=this.minWidth_*(this.dpi_||FE)/FE,u=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||FE)/FE:void 0,c=l*a,f="";if(o==c0.DEGREES){var d=jf[Io.DEGREES];c*=d,c=u){p=v,g=y,m=x;break}else if(g>=l)break;v=p,y=g,x=m,++h}var w;this.scaleBar_?w=this.createScaleBar(g,p,f):w=p.toFixed(m<0?-m:0)+" "+f,this.renderedHTML_!=w&&(this.innerElement_.innerHTML=w,this.renderedHTML_=w),this.renderedWidth_!=g&&(this.innerElement_.style.width=g+"px",this.renderedWidth_=g),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)},e.prototype.createScaleBar=function(n,r,i){for(var o="1 : "+Math.round(this.getScaleForResolution()).toLocaleString(),s=[],a=n/this.scaleBarSteps_,l="ol-scale-singlebar-odd",u=0;u
'+this.createMarker("relative",u)+(u%2===0||this.scaleBarSteps_===2?this.createStepText(u,n,!1,r,i):"")+""),u===this.scaleBarSteps_-1&&s.push(this.createStepText(u+1,n,!0,r,i)),l=l==="ol-scale-singlebar-odd"?"ol-scale-singlebar-even":"ol-scale-singlebar-odd";var c;this.scaleBarText_?c='
'+o+"
":c="";var f='
'+c+s.join("")+"
";return f},e.prototype.createMarker=function(n,r){var i=n==="absolute"?3:-10;return'
'},e.prototype.createStepText=function(n,r,i,o,s){var a=n===0?0:Math.round(o/this.scaleBarSteps_*n*100)/100,l=a+(n===0?"":" "+s),u=n===0?-3:r/this.scaleBarSteps_*-1,c=n===0?0:r/this.scaleBarSteps_*2;return'
'+l+"
"},e.prototype.getScaleForResolution=function(){var n=GF(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,Io.METERS),r=this.dpi_||FE,i=1e3/25.4;return parseFloat(n.toString())*i*r},e.prototype.render=function(n){var r=n.frameState;r?this.viewState_=r.viewState:this.viewState_=null,this.updateElement_()},e}(I4);function tyt(t){var e={},n=new rc,r=e.zoom!==void 0?e.zoom:!0;r&&n.push(new Kvt(e.zoomOptions));var i=e.rotate!==void 0?e.rotate:!0;i&&n.push(new Yvt(e.rotateOptions));var o=e.attribution!==void 0?e.attribution:!0;return o&&n.push(new qvt(e.attributionOptions)),n}const yq={ACTIVE:"active"};var nyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),HM=function(t){nyt(e,t);function e(n){var r=t.call(this)||this;return r.on,r.once,r.un,n&&n.handleEvent&&(r.handleEvent=n.handleEvent),r.map_=null,r.setActive(!0),r}return e.prototype.getActive=function(){return this.get(yq.ACTIVE)},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(n){return!0},e.prototype.setActive=function(n){this.set(yq.ACTIVE,n)},e.prototype.setMap=function(n){this.map_=n},e}(Fh);function ryt(t,e,n){var r=t.getCenterInternal();if(r){var i=[r[0]+e[0],r[1]+e[1]];t.animateInternal({duration:n!==void 0?n:250,easing:dvt,center:t.getConstrainedCenter(i)})}}function wte(t,e,n,r){var i=t.getZoom();if(i!==void 0){var o=t.getConstrainedZoom(i+e),s=t.getResolutionForZoom(o);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:s,anchor:n,duration:r!==void 0?r:250,easing:nO})}}var iyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),oyt=function(t){iyt(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==hr.DBLCLICK){var i=n.originalEvent,o=n.map,s=n.coordinate,a=i.shiftKey?-this.delta_:this.delta_,l=o.getView();wte(l,a,s,this.duration_),i.preventDefault(),r=!0}return!r},e}(HM),syt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),rO=function(t){syt(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,i)||this,i.handleDownEvent&&(r.handleDownEvent=i.handleDownEvent),i.handleDragEvent&&(r.handleDragEvent=i.handleDragEvent),i.handleMoveEvent&&(r.handleMoveEvent=i.handleMoveEvent),i.handleUpEvent&&(r.handleUpEvent=i.handleUpEvent),i.stopDown&&(r.stopDown=i.stopDown),r.handlingDownUpSequence=!1,r.targetPointers=[],r}return e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(n){return!1},e.prototype.handleDragEvent=function(n){},e.prototype.handleEvent=function(n){if(!n.originalEvent)return!0;var r=!1;if(this.updateTrackedPointers_(n),this.handlingDownUpSequence){if(n.type==hr.POINTERDRAG)this.handleDragEvent(n),n.originalEvent.preventDefault();else if(n.type==hr.POINTERUP){var i=this.handleUpEvent(n);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(n.type==hr.POINTERDOWN){var o=this.handleDownEvent(n);this.handlingDownUpSequence=o,r=this.stopDown(o)}else n.type==hr.POINTERMOVE&&this.handleMoveEvent(n);return!r},e.prototype.handleMoveEvent=function(n){},e.prototype.handleUpEvent=function(n){return!1},e.prototype.stopDown=function(n){return n},e.prototype.updateTrackedPointers_=function(n){n.activePointers&&(this.targetPointers=n.activePointers)},e}(HM);function _te(t){for(var e=t.length,n=0,r=0,i=0;i0&&this.condition_(n)){var r=n.map,i=r.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}else return!1},e}(rO),dyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),hyt=function(t){dyt(e,t);function e(n){var r=this,i=n||{};return r=t.call(this,{stopDown:DM})||this,r.condition_=i.condition?i.condition:ayt,r.lastAngle_=void 0,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){if(xW(n)){var r=n.map,i=r.getView();if(i.getConstraints().rotation!==bte){var o=r.getSize(),s=n.pixel,a=Math.atan2(o[1]/2-s[1],s[0]-o[0]/2);if(this.lastAngle_!==void 0){var l=a-this.lastAngle_;i.adjustRotationInternal(-l)}this.lastAngle_=a}}},e.prototype.handleUpEvent=function(n){if(!xW(n))return!0;var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1},e.prototype.handleDownEvent=function(n){if(!xW(n))return!1;if(FMe(n)&&this.condition_(n)){var r=n.map;return r.getView().beginInteraction(),this.lastAngle_=void 0,!0}else return!1},e}(rO),pyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),gyt=function(t){pyt(e,t);function e(n){var r=t.call(this)||this;return r.geometry_=null,r.element_=document.createElement("div"),r.element_.style.position="absolute",r.element_.style.pointerEvents="auto",r.element_.className="ol-box "+n,r.map_=null,r.startPixel_=null,r.endPixel_=null,r}return e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var n=this.startPixel_,r=this.endPixel_,i="px",o=this.element_.style;o.left=Math.min(n[0],r[0])+i,o.top=Math.min(n[1],r[1])+i,o.width=Math.abs(r[0]-n[0])+i,o.height=Math.abs(r[1]-n[1])+i},e.prototype.setMap=function(n){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var r=this.element_.style;r.left="inherit",r.top="inherit",r.width="inherit",r.height="inherit"}this.map_=n,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(n,r){this.startPixel_=n,this.endPixel_=r,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var n=this.startPixel_,r=this.endPixel_,i=[n,[n[0],r[1]],r,[r[0],n[1]]],o=i.map(this.map_.getCoordinateFromPixelInternal,this.map_);o[4]=o[0].slice(),this.geometry_?this.geometry_.setCoordinates([o]):this.geometry_=new ty([o])},e.prototype.getGeometry=function(){return this.geometry_},e}(Nee),jMe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),vI={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"},bW=function(t){jMe(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.coordinate=r,o.mapBrowserEvent=i,o}return e}($h),myt=function(t){jMe(e,t);function e(n){var r=t.call(this)||this;r.on,r.once,r.un;var i=n||{};return r.box_=new gyt(i.className||"ol-dragbox"),r.minArea_=i.minArea!==void 0?i.minArea:64,i.onBoxEnd&&(r.onBoxEnd=i.onBoxEnd),r.startPixel_=null,r.condition_=i.condition?i.condition:FMe,r.boxEndCondition_=i.boxEndCondition?i.boxEndCondition:r.defaultBoxEndCondition,r}return e.prototype.defaultBoxEndCondition=function(n,r,i){var o=i[0]-r[0],s=i[1]-r[1];return o*o+s*s>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(n){this.box_.setPixels(this.startPixel_,n.pixel),this.dispatchEvent(new bW(vI.BOXDRAG,n.coordinate,n))},e.prototype.handleUpEvent=function(n){this.box_.setMap(null);var r=this.boxEndCondition_(n,this.startPixel_,n.pixel);return r&&this.onBoxEnd(n),this.dispatchEvent(new bW(r?vI.BOXEND:vI.BOXCANCEL,n.coordinate,n)),!1},e.prototype.handleDownEvent=function(n){return this.condition_(n)?(this.startPixel_=n.pixel,this.box_.setMap(n.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new bW(vI.BOXSTART,n.coordinate,n)),!0):!1},e.prototype.onBoxEnd=function(n){},e}(rO),vyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),yyt=function(t){vyt(e,t);function e(n){var r=this,i=n||{},o=i.condition?i.condition:NMe;return r=t.call(this,{condition:o,className:i.className||"ol-dragzoom",minArea:i.minArea})||this,r.duration_=i.duration!==void 0?i.duration:200,r.out_=i.out!==void 0?i.out:!1,r}return e.prototype.onBoxEnd=function(n){var r=this.getMap(),i=r.getView(),o=this.getGeometry();if(this.out_){var s=i.rotatedExtentForGeometry(o),a=i.getResolutionForExtentInternal(s),l=i.getResolution()/a;o=o.clone(),o.scale(l*l)}i.fitInternal(o,{duration:this.duration_,easing:nO})},e}(myt);const f0={LEFT:37,UP:38,RIGHT:39,DOWN:40};var xyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),byt=function(t){xyt(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.defaultCondition_=function(o){return Ste(o)&&zMe(o)},r.condition_=i.condition!==void 0?i.condition:r.defaultCondition_,r.duration_=i.duration!==void 0?i.duration:100,r.pixelDelta_=i.pixelDelta!==void 0?i.pixelDelta:128,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==nn.KEYDOWN){var i=n.originalEvent,o=i.keyCode;if(this.condition_(n)&&(o==f0.DOWN||o==f0.LEFT||o==f0.RIGHT||o==f0.UP)){var s=n.map,a=s.getView(),l=a.getResolution()*this.pixelDelta_,u=0,c=0;o==f0.DOWN?c=-l:o==f0.LEFT?u=-l:o==f0.RIGHT?u=l:c=l;var f=[u,c];qee(f,a.getRotation()),ryt(a,f,this.duration_),i.preventDefault(),r=!0}}return!r},e}(HM),wyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),_yt=function(t){wyt(e,t);function e(n){var r=t.call(this)||this,i=n||{};return r.condition_=i.condition?i.condition:zMe,r.delta_=i.delta?i.delta:1,r.duration_=i.duration!==void 0?i.duration:100,r}return e.prototype.handleEvent=function(n){var r=!1;if(n.type==nn.KEYDOWN||n.type==nn.KEYPRESS){var i=n.originalEvent,o=i.charCode;if(this.condition_(n)&&(o==43||o==45)){var s=n.map,a=o==43?this.delta_:-this.delta_,l=s.getView();wte(l,a,void 0,this.duration_),i.preventDefault(),r=!0}}return!r},e}(HM),Syt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),wW={TRACKPAD:"trackpad",WHEEL:"wheel"},Cyt=function(t){Syt(e,t);function e(n){var r=this,i=n||{};r=t.call(this,i)||this,r.totalDelta_=0,r.lastDelta_=0,r.maxDelta_=i.maxDelta!==void 0?i.maxDelta:1,r.duration_=i.duration!==void 0?i.duration:250,r.timeout_=i.timeout!==void 0?i.timeout:80,r.useAnchor_=i.useAnchor!==void 0?i.useAnchor:!0,r.constrainResolution_=i.constrainResolution!==void 0?i.constrainResolution:!1;var o=i.condition?i.condition:$Me;return r.condition_=i.onFocusOnly?xq(LMe,o):o,r.lastAnchor_=null,r.startTime_=void 0,r.timeoutId_,r.mode_=void 0,r.trackpadEventGap_=400,r.trackpadTimeoutId_,r.deltaPerZoom_=300,r}return e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0;var n=this.getMap();if(n){var r=n.getView();r.endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}},e.prototype.handleEvent=function(n){if(!this.condition_(n))return!0;var r=n.type;if(r!==nn.WHEEL)return!0;var i=n.map,o=n.originalEvent;o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=n.coordinate);var s;if(n.type==nn.WHEEL&&(s=o.deltaY,eht&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(s/=_Pe),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(s*=40)),s===0)return!1;this.lastDelta_=s;var a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(s)<4?wW.TRACKPAD:wW.WHEEL);var l=i.getView();if(this.mode_===wW.TRACKPAD&&!(l.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(l.getAnimating()&&l.cancelAnimations(),l.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),l.adjustZoom(-s/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=s;var u=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),u),!1},e.prototype.handleWheelZoom_=function(n){var r=n.getView();r.getAnimating()&&r.cancelAnimations();var i=-oo(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(r.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),wte(r,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(n){this.useAnchor_=n,n||(this.lastAnchor_=null)},e}(HM),Oyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Eyt=function(t){Oyt(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=DM),r=t.call(this,o)||this,r.anchor_=null,r.lastAngle_=void 0,r.rotating_=!1,r.rotationDelta_=0,r.threshold_=i.threshold!==void 0?i.threshold:.3,r.duration_=i.duration!==void 0?i.duration:250,r}return e.prototype.handleDragEvent=function(n){var r=0,i=this.targetPointers[0],o=this.targetPointers[1],s=Math.atan2(o.clientY-i.clientY,o.clientX-i.clientX);if(this.lastAngle_!==void 0){var a=s-this.lastAngle_;this.rotationDelta_+=a,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),r=a}this.lastAngle_=s;var l=n.map,u=l.getView();if(u.getConstraints().rotation!==bte){var c=l.getViewport().getBoundingClientRect(),f=_te(this.targetPointers);f[0]-=c.left,f[1]-=c.top,this.anchor_=l.getCoordinateFromPixelInternal(f),this.rotating_&&(l.render(),u.adjustRotationInternal(r,this.anchor_))}},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView();return i.endInteraction(this.duration_),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(rO),Tyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),kyt=function(t){Tyt(e,t);function e(n){var r=this,i=n||{},o=i;return o.stopDown||(o.stopDown=DM),r=t.call(this,o)||this,r.anchor_=null,r.duration_=i.duration!==void 0?i.duration:400,r.lastDistance_=void 0,r.lastScaleDelta_=1,r}return e.prototype.handleDragEvent=function(n){var r=1,i=this.targetPointers[0],o=this.targetPointers[1],s=i.clientX-o.clientX,a=i.clientY-o.clientY,l=Math.sqrt(s*s+a*a);this.lastDistance_!==void 0&&(r=this.lastDistance_/l),this.lastDistance_=l;var u=n.map,c=u.getView();r!=1&&(this.lastScaleDelta_=r);var f=u.getViewport().getBoundingClientRect(),d=_te(this.targetPointers);d[0]-=f.left,d[1]-=f.top,this.anchor_=u.getCoordinateFromPixelInternal(d),u.render(),c.adjustResolutionInternal(r,this.anchor_)},e.prototype.handleUpEvent=function(n){if(this.targetPointers.length<2){var r=n.map,i=r.getView(),o=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,o),!1}else return!0},e.prototype.handleDownEvent=function(n){if(this.targetPointers.length>=2){var r=n.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||r.getView().beginInteraction(),!0}else return!1},e}(rO),Ayt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Cte=function(t){Ayt(e,t);function e(n,r,i){var o=t.call(this)||this;if(i!==void 0&&r===void 0)o.setFlatCoordinates(i,n);else{var s=r||0;o.setCenterAndRadius(n,s,i)}return o}return e.prototype.clone=function(){var n=new e(this.flatCoordinates.slice(),void 0,this.layout);return n.applyProperties(this),n},e.prototype.closestPointXY=function(n,r,i,o){var s=this.flatCoordinates,a=n-s[0],l=r-s[1],u=a*a+l*l;if(u=i[0]||n[1]<=i[1]&&n[3]>=i[1]?!0:Uee(n,this.intersectsCoordinate.bind(this))}return!1},e.prototype.setCenter=function(n){var r=this.stride,i=this.flatCoordinates[r]-this.flatCoordinates[0],o=n.slice();o[r]=o[0]+i;for(var s=1;s=this.dragVertexDelay_?(this.downPx_=n.pixel,this.shouldHandle_=!this.freehand_,r=!0):this.lastDragTime_=void 0,this.shouldHandle_&&this.downTimeout_!==void 0&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&n.type===hr.POINTERDRAG&&this.sketchFeature_!==null?(this.addToDrawing_(n.coordinate),i=!1):this.freehand_&&n.type===hr.POINTERDOWN?i=!1:r&&this.getPointerCount()<2?(i=n.type===hr.POINTERMOVE,i&&this.freehand_?(this.handlePointerMove_(n),this.shouldHandle_&&n.originalEvent.preventDefault()):(n.originalEvent.pointerType==="mouse"||n.type===hr.POINTERDRAG&&this.downTimeout_===void 0)&&this.handlePointerMove_(n)):n.type===hr.DBLCLICK&&(i=!1),t.prototype.handleEvent.call(this,n)&&i},e.prototype.handleDownEvent=function(n){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=n.pixel,this.finishCoordinate_||this.startDrawing_(n.coordinate),!0):this.condition_(n)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((function(){this.handlePointerMove_(new Ep(hr.POINTERMOVE,n.map,n.originalEvent,!1,n.frameState))}).bind(this),this.dragVertexDelay_),this.downPx_=n.pixel,!0):(this.lastDragTime_=void 0,!1)},e.prototype.handleUpEvent=function(n){var r=!0;if(this.getPointerCount()===0)if(this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0),this.handlePointerMove_(n),this.shouldHandle_){var i=!this.finishCoordinate_;i&&this.startDrawing_(n.coordinate),!i&&this.freehand_?this.finishDrawing():!this.freehand_&&(!i||this.mode_===Vn.POINT)&&(this.atFinish_(n.pixel)?this.finishCondition_(n)&&this.finishDrawing():this.addToDrawing_(n.coordinate)),r=!1}else this.freehand_&&this.abortDrawing();return!r&&this.stopClick_&&n.preventDefault(),r},e.prototype.handlePointerMove_=function(n){if(this.pointerType_=n.originalEvent.pointerType,this.downPx_&&(!this.freehand_&&this.shouldHandle_||this.freehand_&&!this.shouldHandle_)){var r=this.downPx_,i=n.pixel,o=r[0]-i[0],s=r[1]-i[1],a=o*o+s*s;if(this.shouldHandle_=this.freehand_?a>this.squaredClickTolerance_:a<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?this.modifyDrawing_(n.coordinate):this.createOrUpdateSketchPoint_(n.coordinate.slice())},e.prototype.atFinish_=function(n){var r=!1;if(this.sketchFeature_){var i=!1,o=[this.finishCoordinate_],s=this.mode_;if(s===Vn.POINT)r=!0;else if(s===Vn.CIRCLE)r=this.sketchCoords_.length===2;else if(s===Vn.LINE_STRING)i=this.sketchCoords_.length>this.minPoints_;else if(s===Vn.POLYGON){var a=this.sketchCoords_;i=a[0].length>this.minPoints_,o=[a[0][0],a[0][a[0].length-2]]}if(i)for(var l=this.getMap(),u=0,c=o.length;u=this.maxPoints_&&(this.freehand_?s.pop():o=!0),s.push(n.slice()),this.geometryFunction_(s,r,i)):a===Vn.POLYGON&&(s=this.sketchCoords_[0],s.length>=this.maxPoints_&&(this.freehand_?s.pop():o=!0),s.push(n.slice()),o&&(this.finishCoordinate_=s[0]),this.geometryFunction_(this.sketchCoords_,r,i)),this.createOrUpdateSketchPoint_(n.slice()),this.updateSketchFeatures_(),o&&this.finishDrawing()},e.prototype.removeLastPoint=function(){if(this.sketchFeature_){var n=this.sketchFeature_.getGeometry(),r=this.getMap().getView().getProjection(),i,o=this.mode_;if(o===Vn.LINE_STRING||o===Vn.CIRCLE){if(i=this.sketchCoords_,i.splice(-2,1),i.length>=2){this.finishCoordinate_=i[i.length-2].slice();var s=this.finishCoordinate_.slice();i[i.length-1]=s,this.createOrUpdateSketchPoint_(s)}this.geometryFunction_(i,n,r),n.getType()==="Polygon"&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(n)}else if(o===Vn.POLYGON){i=this.sketchCoords_[0],i.splice(-2,1);var a=this.sketchLine_.getGeometry();if(i.length>=2){var s=i[i.length-2].slice();i[i.length-1]=s,this.createOrUpdateSketchPoint_(s)}a.setCoordinates(i),this.geometryFunction_(this.sketchCoords_,n,r)}i.length===1&&this.abortDrawing(),this.updateSketchFeatures_()}},e.prototype.finishDrawing=function(){var n=this.abortDrawing_();if(n){var r=this.sketchCoords_,i=n.getGeometry(),o=this.getMap().getView().getProjection();this.mode_===Vn.LINE_STRING?(r.pop(),this.geometryFunction_(r,i,o)):this.mode_===Vn.POLYGON&&(r[0].pop(),this.geometryFunction_(r,i,o),r=i.getCoordinates()),this.type_==="MultiPoint"?n.setGeometry(new k4([r])):this.type_==="MultiLineString"?n.setGeometry(new ote([r])):this.type_==="MultiPolygon"&&n.setGeometry(new ste([r])),this.dispatchEvent(new xI(yI.DRAWEND,n)),this.features_&&this.features_.push(n),this.source_&&this.source_.addFeature(n)}},e.prototype.abortDrawing_=function(){this.finishCoordinate_=null;var n=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),n},e.prototype.abortDrawing=function(){var n=this.abortDrawing_();n&&this.dispatchEvent(new xI(yI.DRAWABORT,n))},e.prototype.appendCoordinates=function(n){var r=this.mode_,i=!this.sketchFeature_;i&&this.startDrawing_(n[0]);var o;if(r===Vn.LINE_STRING||r===Vn.CIRCLE)o=this.sketchCoords_;else if(r===Vn.POLYGON)o=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[];else return;i&&o.shift(),o.pop();for(var s=0;s0&&this.getCount()>this.highWaterMark},t.prototype.expireCache=function(e){for(;this.canExpireCache();)this.pop()},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(e){return this.entries_.hasOwnProperty(e)},t.prototype.forEach=function(e){for(var n=this.oldest_;n;)e(n.value_,n.key_,this),n=n.newer},t.prototype.get=function(e,n){var r=this.entries_[e];return bn(r!==void 0,15),r===this.newest_||(r===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(r.newer.older=r.older,r.older.newer=r.newer),r.newer=null,r.older=this.newest_,this.newest_.newer=r,this.newest_=r),r.value_},t.prototype.remove=function(e){var n=this.entries_[e];return bn(n!==void 0,15),n===this.newest_?(this.newest_=n.older,this.newest_&&(this.newest_.newer=null)):n===this.oldest_?(this.oldest_=n.newer,this.oldest_&&(this.oldest_.older=null)):(n.newer.older=n.older,n.older.newer=n.newer),delete this.entries_[e],--this.count_,n.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.key_;return e},t.prototype.getValues=function(){var e=new Array(this.count_),n=0,r;for(r=this.newest_;r;r=r.older)e[n++]=r.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.peek=function(e){if(this.containsKey(e))return this.entries_[e].value_},t.prototype.pop=function(){var e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_},t.prototype.replace=function(e,n){this.get(e),this.entries_[e].value_=n},t.prototype.set=function(e,n){bn(!(e in this.entries_),16);var r={key_:e,newer:null,older:this.newest_,value_:n};this.newest_?this.newest_.newer=r:this.oldest_=r,this.newest_=r,this.entries_[e]=r,++this.count_},t.prototype.setSize=function(e){this.highWaterMark=e},t}();function zhe(t,e,n,r){return r!==void 0?(r[0]=t,r[1]=e,r[2]=n,r):[t,e,n]}function L4(t,e,n){return t+"/"+e+"/"+n}function UMe(t){return L4(t[0],t[1],t[2])}function $yt(t){return t.split("/").map(Number)}function WMe(t){return(t[1]<n||n>e.getMaxZoom())return!1;var o=e.getFullTileRange(n);return o?o.containsXY(r,i):!0}var Nyt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),VMe=function(t){Nyt(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.expireCache=function(n){for(;this.canExpireCache();){var r=this.peekLast();if(r.getKey()in n)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(this.getCount()!==0){var n=this.peekFirstKey(),r=$yt(n),i=r[0];this.forEach((function(o){o.tileCoord[0]!==i&&(this.remove(UMe(o.tileCoord)),o.release())}).bind(this))}},e}(Lyt),Ote=function(){function t(e,n,r,i){this.minX=e,this.maxX=n,this.minY=r,this.maxY=i}return t.prototype.contains=function(e){return this.containsXY(e[1],e[2])},t.prototype.containsTileRange=function(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY},t.prototype.containsXY=function(e,n){return this.minX<=e&&e<=this.maxX&&this.minY<=n&&n<=this.maxY},t.prototype.equals=function(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY},t.prototype.extend=function(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY},t}();function jb(t,e,n,r,i){return i!==void 0?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=r,i):new Ote(t,e,n,r)}var zyt=.5,jyt=10,jhe=.25,Byt=function(){function t(e,n,r,i,o,s){this.sourceProj_=e,this.targetProj_=n;var a={},l=uA(this.targetProj_,this.sourceProj_);this.transformInv_=function(x){var b=x[0]+"/"+x[1];return a[b]||(a[b]=l(x)),a[b]},this.maxSourceExtent_=i,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!i&&!!this.sourceProj_.getExtent()&&Kr(i)==Kr(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Kr(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Kr(this.targetProj_.getExtent()):null;var u=eb(r),c=Gee(r),f=Vee(r),d=Wee(r),h=this.transformInv_(u),p=this.transformInv_(c),g=this.transformInv_(f),m=this.transformInv_(d),v=jyt+(s?Math.max(0,Math.ceil(yht(JH(r)/(s*s*256*256)))):0);if(this.addQuad_(u,c,f,d,h,p,g,m,v),this.wrapsXInSource_){var y=1/0;this.triangles_.forEach(function(x,b,w){y=Math.min(y,x.source[0][0],x.source[1][0],x.source[2][0])}),this.triangles_.forEach((function(x){if(Math.max(x.source[0][0],x.source[1][0],x.source[2][0])-y>this.sourceWorldWidth_/2){var b=[[x.source[0][0],x.source[0][1]],[x.source[1][0],x.source[1][1]],[x.source[2][0],x.source[2][1]]];b[0][0]-y>this.sourceWorldWidth_/2&&(b[0][0]-=this.sourceWorldWidth_),b[1][0]-y>this.sourceWorldWidth_/2&&(b[1][0]-=this.sourceWorldWidth_),b[2][0]-y>this.sourceWorldWidth_/2&&(b[2][0]-=this.sourceWorldWidth_);var w=Math.min(b[0][0],b[1][0],b[2][0]),_=Math.max(b[0][0],b[1][0],b[2][0]);_-w.5&&f<1,p=!1;if(u>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var g=Jde([e,n,r,i]),m=Kr(g)/this.targetWorldWidth_;p=m>jhe||p}!h&&this.sourceProj_.isGlobal()&&f&&(p=f>jhe||p)}if(!(!p&&this.maxSourceExtent_&&isFinite(c[0])&&isFinite(c[1])&&isFinite(c[2])&&isFinite(c[3])&&!ga(c,this.maxSourceExtent_))){var v=0;if(!p&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(s[0])||!isFinite(s[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(l[0])||!isFinite(l[1]))){if(u>0)p=!0;else if(v=(!isFinite(o[0])||!isFinite(o[1])?8:0)+(!isFinite(s[0])||!isFinite(s[1])?4:0)+(!isFinite(a[0])||!isFinite(a[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),v!=1&&v!=2&&v!=4&&v!=8)return}if(u>0){if(!p){var y=[(e[0]+r[0])/2,(e[1]+r[1])/2],x=this.transformInv_(y),b=void 0;if(h){var w=(Lv(o[0],d)+Lv(a[0],d))/2;b=w-Lv(x[0],d)}else b=(o[0]+a[0])/2-x[0];var _=(o[1]+a[1])/2-x[1],S=b*b+_*_;p=S>this.errorThresholdSquared_}if(p){if(Math.abs(e[0]-r[0])<=Math.abs(e[1]-r[1])){var O=[(n[0]+r[0])/2,(n[1]+r[1])/2],k=this.transformInv_(O),E=[(i[0]+e[0])/2,(i[1]+e[1])/2],M=this.transformInv_(E);this.addQuad_(e,n,O,E,o,s,k,M,u-1),this.addQuad_(E,O,r,i,M,k,a,l,u-1)}else{var A=[(e[0]+n[0])/2,(e[1]+n[1])/2],P=this.transformInv_(A),T=[(r[0]+i[0])/2,(r[1]+i[1])/2],R=this.transformInv_(T);this.addQuad_(e,A,T,i,o,P,R,l,u-1),this.addQuad_(A,n,r,T,P,s,a,R,u-1)}return}}if(h){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}v&11||this.addTriangle_(e,r,i,o,a,l),v&14||this.addTriangle_(e,r,n,o,a,s),v&&(v&13||this.addTriangle_(n,i,e,s,l,o),v&7||this.addTriangle_(n,i,r,s,l,a))}},t.prototype.calculateSourceExtent=function(){var e=_u();return this.triangles_.forEach(function(n,r,i){var o=n.source;ek(e,o[0]),ek(e,o[1]),ek(e,o[2])}),e},t.prototype.getTriangles=function(){return this.triangles_},t}(),bq={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1},Uyt={imageSmoothingEnabled:!0,msImageSmoothingEnabled:!0},_W,GMe=[];function Bhe(t,e,n,r,i){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(r,i),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,r)+1,Math.max(n,i)),t.restore()}function SW(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function Wyt(){if(_W===void 0){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",Bhe(t,4,5,4,0),Bhe(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;_W=SW(e,0)||SW(e,4)||SW(e,8)}return _W}function wq(t,e,n,r){var i=O4(n,e,t),o=GF(e,r,n),s=e.getMetersPerUnit();s!==void 0&&(o*=s);var a=t.getMetersPerUnit();a!==void 0&&(o/=a);var l=t.getExtent();if(!l||$M(l,i)){var u=GF(t,o,i)/o;isFinite(u)&&u>0&&(o/=u)}return o}function Vyt(t,e,n,r){var i=ey(n),o=wq(t,e,i,r);return(!isFinite(o)||o<=0)&&Uee(n,function(s){return o=wq(t,e,s,r),isFinite(o)&&o>0}),o}function Gyt(t,e,n,r,i,o,s,a,l,u,c,f){var d=Su(Math.round(n*t),Math.round(n*e),GMe);if(f||fi(d,bq),l.length===0)return d.canvas;d.scale(n,n);function h(b){return Math.round(b*n)/n}d.globalCompositeOperation="lighter";var p=_u();l.forEach(function(b,w,_){TPe(p,b.extent)});var g=Kr(p),m=Oc(p),v=Su(Math.round(n*g/r),Math.round(n*m/r));f||fi(v,bq);var y=n/r;l.forEach(function(b,w,_){var S=b.extent[0]-p[0],O=-(b.extent[3]-p[3]),k=Kr(b.extent),E=Oc(b.extent);b.image.width>0&&b.image.height>0&&v.drawImage(b.image,u,u,b.image.width-2*u,b.image.height-2*u,S*y,O*y,k*y,E*y)});var x=eb(s);return a.getTriangles().forEach(function(b,w,_){var S=b.source,O=b.target,k=S[0][0],E=S[0][1],M=S[1][0],A=S[1][1],P=S[2][0],T=S[2][1],R=h((O[0][0]-x[0])/o),I=h(-(O[0][1]-x[1])/o),B=h((O[1][0]-x[0])/o),$=h(-(O[1][1]-x[1])/o),z=h((O[2][0]-x[0])/o),L=h(-(O[2][1]-x[1])/o),j=k,N=E;k=0,E=0,M-=j,A-=N,P-=j,T-=N;var F=[[M,A,0,0,B-R],[P,T,0,0,z-R],[0,0,M,A,$-I],[0,0,P,T,L-I]],H=bht(F);if(H){if(d.save(),d.beginPath(),Wyt()||!f){d.moveTo(B,$);for(var q=4,Y=R-B,le=I-$,K=0;K=this.minZoom;){if(this.zoomFactor_===2?(s=Math.floor(s/2),a=Math.floor(a/2),o=jb(s,s,a,a,r)):o=this.getTileRangeForExtentAndZ(l,u,r),n(u,o))return!0;--u}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(e){return this.origin_?this.origin_:this.origins_[e]},t.prototype.getResolution=function(e){return this.resolutions_[e]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(e,n,r){if(e[0]this.maxZoom||n0?r:Math.max(s/a[0],o/a[1]),u=i+1,c=new Array(u),f=0;fi.highWaterMark&&(i.highWaterMark=n)},e.prototype.useTile=function(n,r,i,o){},e}(kMe),Jyt=function(t){YMe(e,t);function e(n,r){var i=t.call(this,n)||this;return i.tile=r,i}return e}($h);function e0t(t,e){var n=/\{z\}/g,r=/\{x\}/g,i=/\{y\}/g,o=/\{-y\}/g;return function(s,a,l){if(s)return t.replace(n,s[0].toString()).replace(r,s[1].toString()).replace(i,s[2].toString()).replace(o,function(){var u=s[0],c=e.getFullTileRange(u);bn(c,55);var f=c.getHeight()-s[2]-1;return f.toString()})}}function t0t(t,e){for(var n=t.length,r=new Array(n),i=0;i=0},e.prototype.tileUrlFunction=function(n,r,i){var o=this.getTileGrid();if(o||(o=this.getTileGridForProjection(i)),!(o.getResolutions().length<=n[0])){r!=1&&(!this.hidpi_||this.serverType_===void 0)&&(r=1);var s=o.getResolution(n[0]),a=o.getTileCoordExtent(n,this.tmpExtent_),l=Jl(o.getTileSize(n[0]),this.tmpSize),u=this.gutter_;u!==0&&(l=hhe(l,u,this.tmpSize),a=aA(a,s*u,a)),r!=1&&(l=dMe(l,r,this.tmpSize));var c={SERVICE:"WMS",VERSION:bI,REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};return fi(c,this.params_),this.getRequestUrl_(n,l,a,r,i,c)}},e}(QMe);function KMe(t){return C.jsx(D.Fragment,{children:t.children})}const wI={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};var c0t=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),f0t=function(t){c0t(e,t);function e(n){var r=this,i=n||{},o=fi({},i);return delete o.preload,delete o.useInterimTilesOnError,r=t.call(this,o)||this,r.on,r.once,r.un,r.setPreload(i.preload!==void 0?i.preload:0),r.setUseInterimTilesOnError(i.useInterimTilesOnError!==void 0?i.useInterimTilesOnError:!0),r}return e.prototype.getPreload=function(){return this.get(wI.PRELOAD)},e.prototype.setPreload=function(n){this.set(wI.PRELOAD,n)},e.prototype.getUseInterimTilesOnError=function(){return this.get(wI.USE_INTERIM_TILES_ON_ERROR)},e.prototype.setUseInterimTilesOnError=function(n){this.set(wI.USE_INTERIM_TILES_ON_ERROR,n)},e.prototype.getData=function(n){return t.prototype.getData.call(this,n)},e}(M4),d0t=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),h0t=function(t){d0t(e,t);function e(n){var r=t.call(this,n)||this;return r.extentChanged=!0,r.renderedExtent_=null,r.renderedPixelRatio,r.renderedProjection=null,r.renderedRevision,r.renderedTiles=[],r.newTiles_=!1,r.tmpExtent=_u(),r.tmpTileRange_=new Ote(0,0,0,0),r}return e.prototype.isDrawableTile=function(n){var r=this.getLayer(),i=n.getState(),o=r.getUseInterimTilesOnError();return i==qt.LOADED||i==qt.EMPTY||i==qt.ERROR&&!o},e.prototype.getTile=function(n,r,i,o){var s=o.pixelRatio,a=o.viewState.projection,l=this.getLayer(),u=l.getSource(),c=u.getTile(n,r,i,s,a);return c.getState()==qt.ERROR&&(l.getUseInterimTilesOnError()?l.getPreload()>0&&(this.newTiles_=!0):c.setState(qt.LOADED)),this.isDrawableTile(c)||(c=c.getInterimTile()),c},e.prototype.getData=function(n){var r=this.frameState;if(!r)return null;var i=this.getLayer(),o=Bi(r.pixelToCoordinateTransform,n.slice()),s=i.getExtent();if(s&&!$M(s,o))return null;for(var a=r.pixelRatio,l=r.viewState.projection,u=r.viewState,c=i.getRenderSource(),f=c.getTileGridForProjection(u.projection),d=c.getTilePixelRatio(r.pixelRatio),h=f.getZForResolution(u.resolution);h>=f.getMinZoom();--h){var p=f.getTileCoordForCoordAndZ(o,h),g=c.getTile(h,p[1],p[2],a,l);if(!(g instanceof mte||g instanceof HMe))return null;if(g.getState()===qt.LOADED){var m=f.getOrigin(h),v=Jl(f.getTileSize(h)),y=f.getResolution(h),x=Math.floor(d*((o[0]-m[0])/y-p[1]*v[0])),b=Math.floor(d*((m[1]-o[1])/y-p[2]*v[1])),w=Math.round(d*c.getGutterForProjection(u.projection));return this.getImageData(g.getImage(),x+w,b+w)}}return null},e.prototype.loadedTileCallback=function(n,r,i){return this.isDrawableTile(i)?t.prototype.loadedTileCallback.call(this,n,r,i):!1},e.prototype.prepareFrame=function(n){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(n,r){var i=n.layerStatesArray[n.layerIndex],o=n.viewState,s=o.projection,a=o.resolution,l=o.center,u=o.rotation,c=n.pixelRatio,f=this.getLayer(),d=f.getSource(),h=d.getRevision(),p=d.getTileGridForProjection(s),g=p.getZForResolution(a,d.zDirection),m=p.getResolution(g),v=n.extent,y=n.viewState.resolution,x=d.getTilePixelRatio(c),b=Math.round(Kr(v)/y*c),w=Math.round(Oc(v)/y*c),_=i.extent&&lx(i.extent);_&&(v=tk(v,lx(i.extent)));var S=m*b/2/x,O=m*w/2/x,k=[l[0]-S,l[1]-O,l[0]+S,l[1]+O],E=p.getTileRangeForExtentAndZ(v,g),M={};M[g]={};var A=this.createLoadedTileFinder(d,s,M),P=this.tmpExtent,T=this.tmpTileRange_;this.newTiles_=!1;for(var R=u?tq(o.center,y,u,n.size):void 0,I=E.minX;I<=E.maxX;++I)for(var B=E.minY;B<=E.maxY;++B)if(!(u&&!p.tileCoordIntersectsViewport([g,I,B],R))){var $=this.getTile(g,I,B,n);if(this.isDrawableTile($)){var z=or(this);if($.getState()==qt.LOADED){M[g][$.tileCoord.toString()]=$;var L=$.inTransition(z);L&&i.opacity!==1&&($.endTransition(z),L=!1),!this.newTiles_&&(L||this.renderedTiles.indexOf($)===-1)&&(this.newTiles_=!0)}if($.getAlpha(z,n.time)===1)continue}var j=p.getTileCoordChildTileRange($.tileCoord,T,P),N=!1;j&&(N=A(g+1,j)),N||p.forEachTileCoordParentTileRange($.tileCoord,A,T,P)}var F=m/a*c/x;Mg(this.pixelTransform,n.size[0]/2,n.size[1]/2,1/c,1/c,u,-b/2,-w/2);var H=CPe(this.pixelTransform);this.useContainer(r,H,this.getBackground(n));var q=this.context,Y=q.canvas;jee(this.inversePixelTransform,this.pixelTransform),Mg(this.tempTransform,b/2,w/2,F,F,0,-b/2,-w/2),Y.width!=b||Y.height!=w?(Y.width=b,Y.height=w):this.containerReused||q.clearRect(0,0,b,w),_&&this.clipUnrotated(q,n,_),d.getInterpolate()||fi(q,bq),this.preRender(q,n),this.renderedTiles.length=0;var le=Object.keys(M).map(Number);le.sort(r1);var K,ee,re;i.opacity===1&&(!this.containerReused||d.getOpaque(n.viewState.projection))?le=le.reverse():(K=[],ee=[]);for(var ge=le.length-1;ge>=0;--ge){var te=le[ge],ae=d.getTilePixelSize(te,c,s),U=p.getResolution(te),oe=U/m,ne=ae[0]*oe*F,V=ae[1]*oe*F,X=p.getTileCoordForCoordAndZ(eb(k),te),Z=p.getTileCoordExtent(X),he=Bi(this.tempTransform,[x*(Z[0]-k[0])/m,x*(k[3]-Z[3])/m]),xe=x*d.getGutterForProjection(s),G=M[te];for(var W in G){var $=G[W],J=$.tileCoord,se=X[1]-J[1],ye=Math.round(he[0]-(se-1)*ne),ie=X[2]-J[2],fe=Math.round(he[1]-(ie-1)*V),I=Math.round(he[0]-se*ne),B=Math.round(he[1]-ie*V),Q=ye-I,_e=fe-B,we=g===te,L=we&&$.getAlpha(or(this),n.time)!==1,Ie=!1;if(!L)if(K){re=[I,B,I+Q,B,I+Q,B+_e,I,B+_e];for(var Pe=0,Me=K.length;Pe{const r=this.props.onClick;r&&r(n)});gn(this,"handleDrop",n=>{if(this.props.onDropFiles){n.preventDefault();const r=[];if(n.dataTransfer.items)for(let i=0;i{this.props.onDropFiles&&n.preventDefault()});gn(this,"handleRef",n=>{this.contextValue.mapDiv=n});gn(this,"handleResize",()=>{const n=this.contextValue.mapDiv,r=this.contextValue.map;if(n&&r){r.updateSize();const i=r.getView(),o=this.getMinZoom(n);o!==i.getMinZoom()&&i.setMinZoom(o)}});gn(this,"getMinZoom",n=>{const r=n.clientWidth,i=Math.LOG2E*Math.log(r/256);return i>=0?i:0});const{id:r,mapObjects:i}=n;i?this.contextValue={map:i[r]||void 0,mapObjects:i}:this.contextValue={mapObjects:{}}}componentDidMount(){const{id:n}=this.props,r=this.contextValue.mapDiv;let i=null;if(this.props.isStale){const s=this.contextValue.mapObjects[n];s instanceof Nhe&&(i=s,i.setTarget(r),this.clickEventsKey&&i.un("click",this.clickEventsKey.listener))}if(!i){const s=this.getMinZoom(r),a=new zp({projection:JMe,center:[0,0],minZoom:s,zoom:s});i=new Nhe({view:a,...this.getMapOptions(),target:r})}this.contextValue.map=i,this.contextValue.mapObjects[n]=i,this.clickEventsKey=i.on("click",this.handleClick),i.updateSize(),this.forceUpdate(),window.addEventListener("resize",this.handleResize);const o=this.props.onMapRef;o&&o(i)}componentDidUpdate(n){const r=this.contextValue.map,i=this.contextValue.mapDiv,o=this.getMapOptions();r.setProperties({...o}),r.setTarget(i),r.updateSize()}componentWillUnmount(){window.removeEventListener("resize",this.handleResize);const n=this.props.onMapRef;n&&n(null)}render(){let n;return this.contextValue.map&&(n=C.jsx(eRe.Provider,{value:this.contextValue,children:this.props.children})),C.jsx("div",{ref:this.handleRef,style:y0t,onDragOver:this.handleDragOver,onDrop:this.handleDrop,children:n})}getMapOptions(){const n={...this.props};return delete n.children,delete n.onClick,delete n.onDropFiles,n}};class sO extends D.PureComponent{constructor(){super(...arguments);gn(this,"context",{});gn(this,"object",null)}getMapObject(n){return this.context.mapObjects&&this.context.mapObjects[n]||null}getOptions(){const n={...this.props};return delete n.id,n}componentDidMount(){this._updateMapObject(this.addMapObject(this.context.map))}componentDidUpdate(n){this._updateMapObject(this.updateMapObject(this.context.map,this.object,n))}componentWillUnmount(){const n=this.context.map;this.removeMapObject(n,this.object),this.props.id&&delete this.context.mapObjects[this.props.id],this.object=null}_updateMapObject(n){n!=null&&this.props.id&&(n.set("objectId",this.props.id),this.context.mapObjects[this.props.id]=n),this.object=n}render(){return null}}gn(sO,"contextType",eRe);function tRe(t,e,n){Bb(t,e,n,"visible",!0),Bb(t,e,n,"opacity",1),Bb(t,e,n,"zIndex",void 0),Bb(t,e,n,"extent",void 0),Bb(t,e,n,"minResolution",void 0),Bb(t,e,n,"maxResolution",void 0)}function Bb(t,e,n,r,i){const o=Whe(e[r],i),s=Whe(n[r],i);o!==s&&t.set(r,s)}function Whe(t,e){return t===void 0?e:t}let Ga;Ga=()=>{};class nRe extends sO{addMapObject(e){const n=new ZMe(this.props);return n.set("id",this.props.id),e.getLayers().push(n),n}updateMapObject(e,n,r){const i=n.getSource(),o=this.props.source||null;if(i===o)return n;if(o!==null&&i!==o){let s=!0;if(i instanceof _q&&o instanceof _q){const u=i,c=o,f=u.getTileGrid(),d=c.getTileGrid();if(b0t(f,d)){Ga("--> Equal tile grids!");const h=u.getUrls(),p=c.getUrls();h!==p&&p&&(h===null||h[0]!==p[0])&&(u.setUrls(p),s=!1);const g=u.getTileLoadFunction(),m=c.getTileLoadFunction();g!==m&&(u.setTileLoadFunction(m),s=!1);const v=u.getTileUrlFunction(),y=c.getTileUrlFunction();v!==y&&(u.setTileUrlFunction(y),s=!1)}else Ga("--> Tile grids are not equal!")}const a=i==null?void 0:i.getInterpolate(),l=o==null?void 0:o.getInterpolate();a!==l&&(s=!0),s?(n.setSource(o),Ga("--> Replaced source (expect flickering!)")):Ga("--> Updated source (check, is it still flickering?)")}return tRe(n,r,this.props),n}removeMapObject(e,n){e.getLayers().remove(n)}}new iO({url:"https://a.tiles.mapbox.com/v3/mapbox.natural-earth-2/{z}/{x}/{y}.png",attributions:["© MapBox","© MapBox and contributors"]});new iO({url:"https://gis.ngdc.noaa.gov/arcgis/rest/services/web_mercator/gebco_2014_contours/MapServer/tile/{z}/{y}/{x}",attributions:["© GEBCO","© NOAHH and contributors"]});new v0t;new iO({url:"https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",attributions:["© OpenStreetMap contributors"]});function b0t(t,e){if(t===e)return!0;if(t===null||e===null||(Ga("tile grid:",t,e),Ga("min zoom:",t.getMinZoom(),e.getMinZoom()),Ga("max zoom:",t.getMaxZoom(),e.getMaxZoom()),t.getMinZoom()!==e.getMinZoom()||t.getMaxZoom()!==e.getMaxZoom()))return!1;const n=t.getExtent(),r=e.getExtent();Ga("extent:",n,r);for(let a=0;a=t[i])return i;let o=Math.floor(n/2),s;for(let a=0;as)[r,o]=[o,Math.floor((o+i)/2)];else return o;if(r===o||o===i)return Math.abs(t[r]-e)<=Math.abs(t[i]-e)?r:i}return-1}function qn(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function At(t,e){if(e.length1?"s":"")+" required, but only "+e.length+" present")}function $t(t){At(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||Og(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function iRe(t,e){At(2,arguments);var n=$t(t),r=qn(e);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function oRe(t,e){At(2,arguments);var n=$t(t),r=qn(e);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var s=o.getDate();return i>=s?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function F4(t,e){At(2,arguments);var n=$t(t).getTime(),r=qn(e);return new Date(n+r)}var w0t=36e5;function _0t(t,e){At(2,arguments);var n=qn(e);return F4(t,n*w0t)}var S0t={};function Nh(){return S0t}function yA(t,e){var n,r,i,o,s,a,l,u;At(1,arguments);var c=Nh(),f=qn((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=$t(t),h=d.getDay(),p=(h=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=$t(t),h=d.getDay(),p=(h=i.getTime()?n+1:e.getTime()>=s.getTime()?n:n-1}function N0t(t){At(1,arguments);var e=uRe(t),n=new Date(0);n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0);var r=ES(n);return r}var z0t=6048e5;function cRe(t){At(1,arguments);var e=$t(t),n=ES(e).getTime()-N0t(e).getTime();return Math.round(n/z0t)+1}function s1(t,e){var n,r,i,o,s,a,l,u;At(1,arguments);var c=Nh(),f=qn((n=(r=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=$t(t),h=d.getUTCDay(),p=(h=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(f+1,0,h),p.setUTCHours(0,0,0,0);var g=s1(p,e),m=new Date(0);m.setUTCFullYear(f,0,h),m.setUTCHours(0,0,0,0);var v=s1(m,e);return c.getTime()>=g.getTime()?f+1:c.getTime()>=v.getTime()?f:f-1}function j0t(t,e){var n,r,i,o,s,a,l,u;At(1,arguments);var c=Nh(),f=qn((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=Mte(t,e),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var p=s1(h,e);return p}var B0t=6048e5;function fRe(t,e){At(1,arguments);var n=$t(t),r=s1(n,e).getTime()-j0t(n,e).getTime();return Math.round(r/B0t)+1}function mr(t,e){for(var n=t<0?"-":"",r=Math.abs(t).toString();r.length0?r:1-r;return mr(n==="yy"?i%100:i,n.length)},M:function(e,n){var r=e.getUTCMonth();return n==="M"?String(r+1):mr(r+1,2)},d:function(e,n){return mr(e.getUTCDate(),n.length)},a:function(e,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,n){return mr(e.getUTCHours()%12||12,n.length)},H:function(e,n){return mr(e.getUTCHours(),n.length)},m:function(e,n){return mr(e.getUTCMinutes(),n.length)},s:function(e,n){return mr(e.getUTCSeconds(),n.length)},S:function(e,n){var r=n.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return mr(o,n.length)}},Ub={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},U0t={G:function(e,n,r){var i=e.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,n,r){if(n==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return pm.y(e,n)},Y:function(e,n,r,i){var o=Mte(e,i),s=o>0?o:1-o;if(n==="YY"){var a=s%100;return mr(a,2)}return n==="Yo"?r.ordinalNumber(s,{unit:"year"}):mr(s,n.length)},R:function(e,n){var r=uRe(e);return mr(r,n.length)},u:function(e,n){var r=e.getUTCFullYear();return mr(r,n.length)},Q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return mr(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,n,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return mr(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,n,r){var i=e.getUTCMonth();switch(n){case"M":case"MM":return pm.M(e,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,n,r){var i=e.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return mr(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,n,r,i){var o=fRe(e,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):mr(o,n.length)},I:function(e,n,r){var i=cRe(e);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):mr(i,n.length)},d:function(e,n,r){return n==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):pm.d(e,n)},D:function(e,n,r){var i=F0t(e);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):mr(i,n.length)},E:function(e,n,r){var i=e.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,n,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return mr(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(e,n,r,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return mr(s,n.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(e,n,r){var i=e.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return mr(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,n,r){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,n,r){var i=e.getUTCHours(),o;switch(i===12?o=Ub.noon:i===0?o=Ub.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,n,r){var i=e.getUTCHours(),o;switch(i>=17?o=Ub.evening:i>=12?o=Ub.afternoon:i>=4?o=Ub.morning:o=Ub.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,n,r){if(n==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return pm.h(e,n)},H:function(e,n,r){return n==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):pm.H(e,n)},K:function(e,n,r){var i=e.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):mr(i,n.length)},k:function(e,n,r){var i=e.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):mr(i,n.length)},m:function(e,n,r){return n==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):pm.m(e,n)},s:function(e,n,r){return n==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):pm.s(e,n)},S:function(e,n){return pm.S(e,n)},X:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(n){case"X":return qhe(s);case"XXXX":case"XX":return F0(s);case"XXXXX":case"XXX":default:return F0(s,":")}},x:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"x":return qhe(s);case"xxxx":case"xx":return F0(s);case"xxxxx":case"xxx":default:return F0(s,":")}},O:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Hhe(s,":");case"OOOO":default:return"GMT"+F0(s,":")}},z:function(e,n,r,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Hhe(s,":");case"zzzz":default:return"GMT"+F0(s,":")}},t:function(e,n,r,i){var o=i._originalDate||e,s=Math.floor(o.getTime()/1e3);return mr(s,n.length)},T:function(e,n,r,i){var o=i._originalDate||e,s=o.getTime();return mr(s,n.length)}};function Hhe(t,e){var n=t>0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var s=e;return n+String(i)+s+mr(o,2)}function qhe(t,e){if(t%60===0){var n=t>0?"-":"+";return n+mr(Math.abs(t)/60,2)}return F0(t,e)}function F0(t,e){var n=e||"",r=t>0?"-":"+",i=Math.abs(t),o=mr(Math.floor(i/60),2),s=mr(i%60,2);return r+o+n+s}var Xhe=function(e,n){switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},dRe=function(e,n){switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},W0t=function(e,n){var r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return Xhe(e,n);var s;switch(i){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",Xhe(i,n)).replace("{{time}}",dRe(o,n))},Cq={p:dRe,P:W0t},V0t=["D","DD"],G0t=["YY","YYYY"];function hRe(t){return V0t.indexOf(t)!==-1}function pRe(t){return G0t.indexOf(t)!==-1}function iN(t,e,n){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var H0t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},q0t=function(e,n,r){var i,o=H0t[e];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function OW(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth,r=t.formats[n]||t.formats[t.defaultWidth];return r}}var X0t={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Y0t={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Q0t={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K0t={date:OW({formats:X0t,defaultWidth:"full"}),time:OW({formats:Y0t,defaultWidth:"full"}),dateTime:OW({formats:Q0t,defaultWidth:"full"})},Z0t={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J0t=function(e,n,r,i){return Z0t[e]};function NE(t){return function(e,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=t.formattingValues[s]||t.formattingValues[o]}else{var a=t.defaultWidth,l=n!=null&&n.width?String(n.width):t.defaultWidth;i=t.values[l]||t.values[a]}var u=t.argumentCallback?t.argumentCallback(e):e;return i[u]}}var ext={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},txt={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},nxt={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},rxt={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ixt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},oxt={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},sxt=function(e,n){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},axt={ordinalNumber:sxt,era:NE({values:ext,defaultWidth:"wide"}),quarter:NE({values:txt,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:NE({values:nxt,defaultWidth:"wide"}),day:NE({values:rxt,defaultWidth:"wide"}),dayPeriod:NE({values:ixt,defaultWidth:"wide",formattingValues:oxt,defaultFormattingWidth:"wide"})};function zE(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var s=o[0],a=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?uxt(a,function(f){return f.test(s)}):lxt(a,function(f){return f.test(s)}),u;u=t.valueCallback?t.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var c=e.slice(s.length);return{value:u,rest:c}}}function lxt(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}function uxt(t,e){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(t.matchPattern);if(!r)return null;var i=r[0],o=e.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=e.slice(i.length);return{value:s,rest:a}}}var fxt=/^(\d+)(th|st|nd|rd)?/i,dxt=/\d+/i,hxt={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pxt={any:[/^b/i,/^(a|c)/i]},gxt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mxt={any:[/1/i,/2/i,/3/i,/4/i]},vxt={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yxt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},xxt={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},bxt={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},wxt={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_xt={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Sxt={ordinalNumber:cxt({matchPattern:fxt,parsePattern:dxt,valueCallback:function(e){return parseInt(e,10)}}),era:zE({matchPatterns:hxt,defaultMatchWidth:"wide",parsePatterns:pxt,defaultParseWidth:"any"}),quarter:zE({matchPatterns:gxt,defaultMatchWidth:"wide",parsePatterns:mxt,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:zE({matchPatterns:vxt,defaultMatchWidth:"wide",parsePatterns:yxt,defaultParseWidth:"any"}),day:zE({matchPatterns:xxt,defaultMatchWidth:"wide",parsePatterns:bxt,defaultParseWidth:"any"}),dayPeriod:zE({matchPatterns:wxt,defaultMatchWidth:"any",parsePatterns:_xt,defaultParseWidth:"any"})},Rte={code:"en-US",formatDistance:q0t,formatLong:K0t,formatRelative:J0t,localize:axt,match:Sxt,options:{weekStartsOn:0,firstWeekContainsDate:1}},Cxt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Oxt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ext=/^'([^]*?)'?$/,Txt=/''/g,kxt=/[a-zA-Z]/;function Axt(t,e,n){var r,i,o,s,a,l,u,c,f,d,h,p,g,m,v,y,x,b;At(2,arguments);var w=String(e),_=Nh(),S=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:_.locale)!==null&&r!==void 0?r:Rte,O=qn((o=(s=(a=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:_.firstWeekContainsDate)!==null&&s!==void 0?s:(f=_.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=qn((h=(p=(g=(m=n==null?void 0:n.weekStartsOn)!==null&&m!==void 0?m:n==null||(v=n.locale)===null||v===void 0||(y=v.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&g!==void 0?g:_.weekStartsOn)!==null&&p!==void 0?p:(x=_.locale)===null||x===void 0||(b=x.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&h!==void 0?h:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var E=$t(t);if(!aRe(E))throw new RangeError("Invalid time value");var M=sRe(E),A=lRe(E,M),P={firstWeekContainsDate:O,weekStartsOn:k,locale:S,_originalDate:E},T=w.match(Oxt).map(function(R){var I=R[0];if(I==="p"||I==="P"){var B=Cq[I];return B(R,S.formatLong)}return R}).join("").match(Cxt).map(function(R){if(R==="''")return"'";var I=R[0];if(I==="'")return Pxt(R);var B=U0t[I];if(B)return!(n!=null&&n.useAdditionalWeekYearTokens)&&pRe(R)&&iN(R,e,String(t)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&hRe(R)&&iN(R,e,String(t)),B(A,R,S.localize,P);if(I.match(kxt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+I+"`");return R}).join("");return T}function Pxt(t){var e=t.match(Ext);return e?e[1].replace(Txt,"'"):t}function Mxt(t,e){if(t==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function Rxt(t){At(1,arguments);var e=$t(t),n=e.getDate();return n}function gRe(t){At(1,arguments);var e=$t(t),n=e.getFullYear(),r=e.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}function Dxt(t){At(1,arguments);var e=$t(t),n=e.getHours();return n}function Ixt(t){At(1,arguments);var e=$t(t),n=e.getMilliseconds();return n}function Lxt(t){At(1,arguments);var e=$t(t),n=e.getMinutes();return n}function $xt(t){At(1,arguments);var e=$t(t),n=e.getMonth();return n}function Fxt(t){At(1,arguments);var e=$t(t),n=e.getSeconds();return n}function Nxt(t,e){var n,r,i,o,s,a,l,u;At(1,arguments);var c=$t(t),f=c.getFullYear(),d=Nh(),h=qn((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&r!==void 0?r:(l=d.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setFullYear(f+1,0,h),p.setHours(0,0,0,0);var g=yA(p,e),m=new Date(0);m.setFullYear(f,0,h),m.setHours(0,0,0,0);var v=yA(m,e);return c.getTime()>=g.getTime()?f+1:c.getTime()>=v.getTime()?f:f-1}function zxt(t,e){var n,r,i,o,s,a,l,u;At(1,arguments);var c=Nh(),f=qn((n=(r=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),d=Nxt(t,e),h=new Date(0);h.setFullYear(d,0,f),h.setHours(0,0,0,0);var p=yA(h,e);return p}var jxt=6048e5;function Bxt(t,e){At(1,arguments);var n=$t(t),r=yA(n,e).getTime()-zxt(n,e).getTime();return Math.round(r/jxt)+1}function Uxt(t){return At(1,arguments),$t(t).getFullYear()}function EW(t,e){At(2,arguments);var n=$t(t),r=$t(e);return n.getTime()>r.getTime()}function TW(t,e){At(2,arguments);var n=$t(t),r=$t(e);return n.getTime()t.length)&&(e=t.length);for(var n=0,r=Array(e);n=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var u=n.next();return s=u.done,u},e:function(u){a=!0,o=u},f:function(){try{s||n.return==null||n.return()}finally{if(a)throw o}}}}function Xn(t,e){if(typeof e!="function"&&e!==null)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&&kF(t,e)}function oN(t){return oN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oN(t)}function vRe(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vRe=function(){return!!t})()}function Vxt(t,e){if(e&&(Og(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bt(t)}function Yn(t){var e=vRe();return function(){var n,r=oN(t);if(e){var i=oN(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Vxt(this,n)}}function Fn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gxt(t,e){for(var n=0;n0,r=n?e:1-e,i;if(r<=50)i=t||100;else{var o=r+50,s=Math.floor(o/100)*100,a=t>=o%100;i=t+s-(a?100:0)}return n?i:1-i}function wRe(t){return t%400===0||t%4===0&&t%100!==0}var Qxt=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0}},{key:"set",value:function(i,o,s){var a=i.getUTCFullYear();if(s.isTwoDigitYear){var l=bRe(s.year,a);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var u=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(u,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(cr),Kxt=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0}},{key:"set",value:function(i,o,s,a){var l=Mte(i,a);if(s.isTwoDigitYear){var u=bRe(s.year,l);return i.setUTCFullYear(u,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),s1(i,a)}var c=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(c,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),s1(i,a)}}]),n}(cr),Zxt=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(cr),t1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(cr),n1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),n}(cr),r1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),n}(cr);function i1t(t,e,n){At(2,arguments);var r=$t(t),i=qn(e),o=fRe(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}var o1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=53}},{key:"set",value:function(i,o,s,a){return s1(i1t(i,s,a),a)}}]),n}(cr);function s1t(t,e){At(2,arguments);var n=$t(t),r=qn(e),i=cRe(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}var a1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=53}},{key:"set",value:function(i,o,s){return ES(s1t(i,s))}}]),n}(cr),l1t=[31,28,31,30,31,30,31,31,30,31,30,31],u1t=[31,29,31,30,31,30,31,31,30,31,30,31],c1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=u1t[l]:o>=1&&o<=l1t[l]}},{key:"set",value:function(i,o,s){return i.setUTCDate(s),i.setUTCHours(0,0,0,0),i}}]),n}(cr),f1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,s){return i.setUTCMonth(0,s),i.setUTCHours(0,0,0,0),i}}]),n}(cr);function Ite(t,e,n){var r,i,o,s,a,l,u,c;At(2,arguments);var f=Nh(),d=qn((r=(i=(o=(s=n==null?void 0:n.weekStartsOn)!==null&&s!==void 0?s:n==null||(a=n.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&i!==void 0?i:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=$t(t),p=qn(e),g=h.getUTCDay(),m=p%7,v=(m+7)%7,y=(v=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Ite(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(cr),h1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Ite(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(cr),p1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=Ite(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(cr);function g1t(t,e){At(2,arguments);var n=qn(e);n%7===0&&(n=n-7);var r=1,i=$t(t),o=i.getUTCDay(),s=n%7,a=(s+7)%7,l=(a=1&&o<=7}},{key:"set",value:function(i,o,s){return i=g1t(i,s),i.setUTCHours(0,0,0,0),i}}]),n}(cr),v1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=12}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):!a&&s===12?i.setUTCHours(0,0,0,0):i.setUTCHours(s,0,0,0),i}}]),n}(cr),w1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=23}},{key:"set",value:function(i,o,s){return i.setUTCHours(s,0,0,0),i}}]),n}(cr),_1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):i.setUTCHours(s,0,0,0),i}}]),n}(cr),S1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=24}},{key:"set",value:function(i,o,s){var a=s<=24?s%24:s;return i.setUTCHours(a,0,0,0),i}}]),n}(cr),C1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCMinutes(s,0,0),i}}]),n}(cr),O1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCSeconds(s,0),i}}]),n}(cr),E1t=function(t){Xn(n,t);var e=Yn(n);function n(){var r;Fn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&E<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=qn((p=(g=(m=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(y=r.locale)===null||y===void 0||(x=y.options)===null||x===void 0?void 0:x.weekStartsOn)!==null&&m!==void 0?m:O.weekStartsOn)!==null&&g!==void 0?g:(b=O.locale)===null||b===void 0||(w=b.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&p!==void 0?p:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(S==="")return _===""?$t(n):new Date(NaN);var A={firstWeekContainsDate:E,weekStartsOn:M,locale:k},P=[new Xxt],T=S.match(D1t).map(function(K){var ee=K[0];if(ee in Cq){var re=Cq[ee];return re(K,k.formatLong)}return K}).join("").match(R1t),R=[],I=Yhe(T),B;try{var $=function(){var ee=B.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&pRe(ee)&&iN(ee,S,t),!(r!=null&&r.useAdditionalDayOfYearTokens)&&hRe(ee)&&iN(ee,S,t);var re=ee[0],ge=M1t[re];if(ge){var te=ge.incompatibleTokens;if(Array.isArray(te)){var ae=R.find(function(oe){return te.includes(oe.token)||oe.token===re});if(ae)throw new RangeError("The format string mustn't contain `".concat(ae.fullToken,"` and `").concat(ee,"` at the same time"))}else if(ge.incompatibleTokens==="*"&&R.length>0)throw new RangeError("The format string mustn't contain `".concat(ee,"` and any other token at the same time"));R.push({token:re,fullToken:ee});var U=ge.run(_,ee,k.match,A);if(!U)return{v:new Date(NaN)};P.push(U.setter),_=U.rest}else{if(re.match(F1t))throw new RangeError("Format string contains an unescaped latin alphabet character `"+re+"`");if(ee==="''"?ee="'":re==="'"&&(ee=z1t(ee)),_.indexOf(ee)===0)_=_.slice(ee.length);else return{v:new Date(NaN)}}};for(I.s();!(B=I.n()).done;){var z=$();if(Og(z)==="object")return z.v}}catch(K){I.e(K)}finally{I.f()}if(_.length>0&&$1t.test(_))return new Date(NaN);var L=P.map(function(K){return K.priority}).sort(function(K,ee){return ee-K}).filter(function(K,ee,re){return re.indexOf(K)===ee}).map(function(K){return P.filter(function(ee){return ee.priority===K}).sort(function(ee,re){return re.subPriority-ee.subPriority})}).map(function(K){return K[0]}),j=$t(n);if(isNaN(j.getTime()))return new Date(NaN);var N=lRe(j,sRe(j)),F={},H=Yhe(L),q;try{for(H.s();!(q=H.n()).done;){var Y=q.value;if(!Y.validate(N,A))return new Date(NaN);var le=Y.set(N,F,A);Array.isArray(le)?(N=le[0],Mxt(F,le[1])):N=le}}catch(K){H.e(K)}finally{H.f()}return N}function z1t(t){return t.match(I1t)[1].replace(L1t,"'")}function Qhe(t){At(1,arguments);var e=$t(t);return e.setMinutes(0,0,0),e}function j1t(t,e){At(2,arguments);var n=Qhe(t),r=Qhe(e);return n.getTime()===r.getTime()}function B1t(t,e){At(2,arguments);var n=$t(t),r=$t(e);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function U1t(t,e){At(2,arguments);var n=$t(t),r=$t(e);return n.getFullYear()===r.getFullYear()}function W1t(t,e){At(2,arguments);var n=$t(t).getTime(),r=$t(e.start).getTime(),i=$t(e.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function V1t(t,e){var n;At(1,arguments);var r=qn((n=void 0)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof t=="string"||Object.prototype.toString.call(t)==="[object String]"))return new Date(NaN);var i=X1t(t),o;if(i.date){var s=Y1t(i.date,r);o=Q1t(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var a=o.getTime(),l=0,u;if(i.time&&(l=K1t(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(u=Z1t(i.timezone),isNaN(u))return new Date(NaN)}else{var c=new Date(a+l),f=new Date(0);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return new Date(a+l+u)}var _I={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},G1t=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,H1t=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,q1t=/^([+-])(\d{2})(?::?(\d{2}))?$/;function X1t(t){var e={},n=t.split(_I.dateTimeDelimiter),r;if(n.length>2)return e;if(/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],_I.timeZoneDelimiter.test(e.date)&&(e.date=t.split(_I.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length))),r){var i=_I.timezone.exec(r);i?(e.time=r.replace(i[1],""),e.timezone=i[1]):e.time=r}return e}function Y1t(t,e){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:t.slice((r[1]||r[2]).length)}}function Q1t(t,e){if(e===null)return new Date(NaN);var n=t.match(G1t);if(!n)return new Date(NaN);var r=!!n[4],i=jE(n[1]),o=jE(n[2])-1,s=jE(n[3]),a=jE(n[4]),l=jE(n[5])-1;if(r)return rbt(e,a,l)?J1t(e,a,l):new Date(NaN);var u=new Date(0);return!tbt(e,o,s)||!nbt(e,i)?new Date(NaN):(u.setUTCFullYear(e,o,Math.max(i,s)),u)}function jE(t){return t?parseInt(t):1}function K1t(t){var e=t.match(H1t);if(!e)return NaN;var n=kW(e[1]),r=kW(e[2]),i=kW(e[3]);return ibt(n,r,i)?n*Pte+r*Ate+i*1e3:NaN}function kW(t){return t&&parseFloat(t.replace(",","."))||0}function Z1t(t){if(t==="Z")return 0;var e=t.match(q1t);if(!e)return 0;var n=e[1]==="+"?-1:1,r=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return obt(r,i)?n*(r*Pte+i*Ate):NaN}function J1t(t,e,n){var r=new Date(0);r.setUTCFullYear(t,0,4);var i=r.getUTCDay()||7,o=(e-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var ebt=[31,null,31,30,31,30,31,31,30,31,30,31];function _Re(t){return t%400===0||t%4===0&&t%100!==0}function tbt(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(ebt[e]||(_Re(t)?29:28))}function nbt(t,e){return e>=1&&e<=(_Re(t)?366:365)}function rbt(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function ibt(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function obt(t,e){return e>=0&&e<=59}function sbt(t,e){At(2,arguments);var n=$t(t),r=qn(e),i=n.getFullYear(),o=n.getDate(),s=new Date(0);s.setFullYear(i,r,15),s.setHours(0,0,0,0);var a=gRe(s);return n.setMonth(r,Math.min(o,a)),n}function abt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return n.setDate(r),n}function lbt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return n.setHours(r),n}function ubt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return n.setMilliseconds(r),n}function cbt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return n.setMinutes(r),n}function fbt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return n.setSeconds(r),n}function dbt(t,e){At(2,arguments);var n=$t(t),r=qn(e);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function SRe(t){return t.getTimezoneOffset()*6e4}function hbt(t){return t.getTime()-SRe(t)}function AW(t){const e=new Date(t);return new Date(e.getTime()+SRe(e))}function xA(t){return new Date(t).toISOString().substring(0,10)}function aO(t){return CRe(new Date(t).toISOString())}function CRe(t){return t.substring(0,19).replace("T"," ")}const ORe={seconds:1e3,minutes:1e3*60,hours:1e3*60*60,days:1e3*60*60*24,weeks:1e3*60*60*24*7,years:1e3*60*60*24*365};function pbt(t,e){return t===e?!0:t!==null&&e!=null?t[0]===e[0]&&t[1]===e[1]:!1}function gbt(t,e){const n=new Set,r=new Set,i={};for(const l of t)for(const u of l.timeSeriesArray){const{placeId:c,datasetId:f,variableName:d,valueDataKey:h,errorDataKey:p}=u.source;c!==null&&r.add(c);const g=`${f}.${d}.${h}`;n.add(g);let m=null;p&&(m=`${f}.${d}.${p}`,n.add(m)),u.data.forEach(v=>{const y=aO(v.time),x=`${c!==null?c:f}-${y}`,b=i[x];b?i[x]={...b,[g]:v[h]}:i[x]={placeId:c,time:y,[g]:v[h]},m!==null&&(i[x][m]=v[p])})}const o=["placeId","time"].concat(Array.from(n).sort()),s=[];Object.keys(i).forEach(l=>{const u=i[l],c=new Array(o.length);o.forEach((f,d)=>{c[d]=u[f]}),s.push(c)}),s.sort((l,u)=>{const c=l[1],f=u[1],d=c.localeCompare(f);if(d!==0)return d;const h=l[0],p=u[0];return h.localeCompare(p)});const a={};return r.forEach(l=>{a[l]=fte(e,l)}),{colNames:o,dataRows:s,referencedPlaces:a}}function mbt(t){let e=null;const n=t.features||[];for(const r of n){if(!r.properties)continue;const i=r.properties.time;if(typeof i!="string")continue;const s=V1t(i).getTime();if(!Number.isNaN(s))for(const a of Object.getOwnPropertyNames(r.properties)){let l=r.properties[a];const u=typeof l;if(u==="boolean"?l=l?1:0:u!=="number"&&(l=Number.NaN),Number.isNaN(l))continue;const c={time:s,countTot:1,mean:l};e===null&&(e={});const f=e[a];f?f.data.push(c):e[a]={source:{datasetId:t.id,datasetTitle:t.title,variableName:a,placeId:null,geometry:null,valueDataKey:"mean",errorDataKey:null},data:[c],dataProgress:1}}}return e===null?null:{placeGroup:t,timeSeries:e}}const qM=t=>t.dataState.datasets||[],vbt=t=>t.dataState.colorBars,ERe=t=>t.dataState.timeSeriesGroups,XM=t=>t.dataState.userPlaceGroups,TRe=t=>t.dataState.userServers||[],ybt=t=>t.dataState.expressionCapabilities,xbt=t=>t.dataState.statistics.loading,bbt=t=>t.dataState.statistics.records,kRe=xt(qM,XM,(t,e)=>{const n={},r=[];return t.forEach(i=>{i.placeGroups&&i.placeGroups.forEach(o=>{n[o.id]||(n[o.id]=o,r.push(o))})}),[...r,...e]}),wbt=xt(kRe,t=>{const e=[];return t.forEach(n=>{const r=mbt(n);r!==null&&e.push(r)}),e}),_bt=[{name:"OpenStreetMap",link:"https://openstreetmap.org",datasets:[{name:"OSM Mapnik",endpoint:"https://a.tile.osm.org/{z}/{x}/{y}.png"},{name:"OSM Humanitarian",endpoint:"https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png"},{name:"OSM Landscape",endpoint:"https://a.tile3.opencyclemap.org/landscape/{z}/{x}/{y}.png"}],overlays:[]},{name:"ESRI",link:"https://services.arcgisonline.com/arcgis/rest/services",datasets:[{name:"Dark Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Hillshade",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Base",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}"},{name:"DeLorme World Base Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Street Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Navigation Charts",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Specialty/World_Navigation_Charts/MapServer/tile/{z}/{y}/{x}"},{name:"National Geographic",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Imagery",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}"},{name:"World Physical Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}"},{name:"World Shaded Relief",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}"},{name:"World Terrain",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}"},{name:"World Topo Map",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}"}],overlays:[{name:"Dark Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Dark_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"Light Gray Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Ocean Reference",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer/tile/{z}/{y}/{x}"},{name:"World Boundaries & Places",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Boundaries_and_Places/MapServer/tile/{z}/{y}/{x}"},{name:"World Reference Overlay",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Reference_Overlay/MapServer/tile/{z}/{y}/{x}"},{name:"World Transportation",endpoint:"https://services.arcgisonline.com/arcgis/rest/services/Reference/World_Transportation/MapServer/tile/{z}/{y}/{x}"}]},{name:"CartoDB",link:"https://cartodb.com/basemaps/",datasets:[{name:"Positron",endpoint:"https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"},{name:"Dark Matter",endpoint:"https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"},{name:"Positron (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png"},{name:"Dark Matter (No Labels)",endpoint:"https://a.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png"}],overlays:[{name:"Positron Labels",endpoint:"https://a.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png"},{name:"Dark Matter Labels",endpoint:"https://a.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png"}]},{name:"Stamen",link:"https://maps.stamen.com",datasets:[{name:"Toner",endpoint:"https://tile.stamen.com/toner/{z}/{x}/{y}.png",attribution:'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.'},{name:"Terrain",endpoint:"https://tile.stamen.com/terrain/{z}/{x}/{y}.png"},{name:"Watercolor",endpoint:"https://tile.stamen.com/watercolor/{z}/{x}/{y}.png"}],overlays:[]},{name:"Mapbox",link:"https://a.tiles.mapbox.com/v3/mapbox/maps.html",datasets:[{name:"Blue Marble (January)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jan/{z}/{x}/{y}.png"},{name:"Blue Marble (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul/{z}/{x}/{y}.png"},{name:"Blue Marble Topo & Bathy B/W (July)",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.blue-marble-topo-bathy-jul-bw/{z}/{x}/{y}.png"},{name:"Control Room",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.control-room/{z}/{x}/{y}.png"},{name:"Geography Class",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.geography-class/{z}/{x}/{y}.png"},{name:"World Dark",endpoint:"https://a.tiles.mapbox.com/v3/mapbox.world-dark/{z}/{x}/{y}.png"},{name:"World Light",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-light/{z}/{x}/{y}.png"},{name:"World Glass",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-glass/{z}/{x}/{y}.png"},{name:"World Print",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-print/{z}/{x}/{y}.png"},{name:"World Blue",endpoint:"https:a.tiles.mapbox.com/v3/mapbox.world-blue/{z}/{x}/{y}.png"}],overlays:[]}],Sbt=_bt,Lte="User";function aN(t){return t?`${t.group}: ${t.title}`:"-"}function lN(t,e){return t.find(n=>n.id===e)||null}function ARe(t="datasets"){const e=[];return Sbt.forEach(n=>{n[t].forEach(r=>{e.push({id:`${n.name}-${r.name}`,group:n.name,attribution:n.link,title:r.name,url:r.endpoint})})}),e}const PRe=ARe("datasets"),Cbt=ARe("overlays"),Obt=PRe[0].id;var Ebt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tbt=function(t){Ebt(e,t);function e(){return t.call(this)||this}return e.prototype.getType=function(){return"text"},e.prototype.readFeature=function(n,r){return this.readFeatureFromText(SI(n),this.adaptOptions(r))},e.prototype.readFeatureFromText=function(n,r){return Lt()},e.prototype.readFeatures=function(n,r){return this.readFeaturesFromText(SI(n),this.adaptOptions(r))},e.prototype.readFeaturesFromText=function(n,r){return Lt()},e.prototype.readGeometry=function(n,r){return this.readGeometryFromText(SI(n),this.adaptOptions(r))},e.prototype.readGeometryFromText=function(n,r){return Lt()},e.prototype.readProjection=function(n){return this.readProjectionFromText(SI(n))},e.prototype.readProjectionFromText=function(n){return this.dataProjection},e.prototype.writeFeature=function(n,r){return this.writeFeatureText(n,this.adaptOptions(r))},e.prototype.writeFeatureText=function(n,r){return Lt()},e.prototype.writeFeatures=function(n,r){return this.writeFeaturesText(n,this.adaptOptions(r))},e.prototype.writeFeaturesText=function(n,r){return Lt()},e.prototype.writeGeometry=function(n,r){return this.writeGeometryText(n,this.adaptOptions(r))},e.prototype.writeGeometryText=function(n,r){return Lt()},e}(NPe);function SI(t){return typeof t=="string"?t:""}var kbt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Abt={POINT:fh,LINESTRING:Rx,POLYGON:ty,MULTIPOINT:k4,MULTILINESTRING:ote,MULTIPOLYGON:ste},MRe="EMPTY",RRe="Z",DRe="M",Pbt="ZM",rr={START:0,TEXT:1,LEFT_PAREN:2,RIGHT_PAREN:3,NUMBER:4,COMMA:5,EOF:6},Mbt={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"},Rbt=function(){function t(e){this.wkt=e,this.index_=-1}return t.prototype.isAlpha_=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"},t.prototype.isNumeric_=function(e,n){var r=n!==void 0?n:!1;return e>="0"&&e<="9"||e=="."&&!r},t.prototype.isWhiteSpace_=function(e){return e==" "||e==" "||e=="\r"||e==` +`},t.prototype.nextChar_=function(){return this.wkt.charAt(++this.index_)},t.prototype.nextToken=function(){var e=this.nextChar_(),n=this.index_,r=e,i;if(e=="(")i=rr.LEFT_PAREN;else if(e==",")i=rr.COMMA;else if(e==")")i=rr.RIGHT_PAREN;else if(this.isNumeric_(e)||e=="-")i=rr.NUMBER,r=this.readNumber_();else if(this.isAlpha_(e))i=rr.TEXT,r=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(e==="")i=rr.EOF;else throw new Error("Unexpected character: "+e)}return{position:n,value:r,type:i}},t.prototype.readNumber_=function(){var e,n=this.index_,r=!1,i=!1;do e=="."?r=!0:(e=="e"||e=="E")&&(i=!0),e=this.nextChar_();while(this.isNumeric_(e,r)||!i&&(e=="e"||e=="E")||i&&(e=="-"||e=="+"));return parseFloat(this.wkt.substring(n,this.index_--))},t.prototype.readText_=function(){var e,n=this.index_;do e=this.nextChar_();while(this.isAlpha_(e));return this.wkt.substring(n,this.index_--).toUpperCase()},t}(),Dbt=function(){function t(e){this.lexer_=e,this.token_={position:0,type:rr.START},this.layout_=Kn.XY}return t.prototype.consume_=function(){this.token_=this.lexer_.nextToken()},t.prototype.isTokenType=function(e){return this.token_.type==e},t.prototype.match=function(e){var n=this.isTokenType(e);return n&&this.consume_(),n},t.prototype.parse=function(){return this.consume_(),this.parseGeometry_()},t.prototype.parseGeometryLayout_=function(){var e=Kn.XY,n=this.token_;if(this.isTokenType(rr.TEXT)){var r=n.value;r===RRe?e=Kn.XYZ:r===DRe?e=Kn.XYM:r===Pbt&&(e=Kn.XYZM),e!==Kn.XY&&this.consume_()}return e},t.prototype.parseGeometryCollectionText_=function(){if(this.match(rr.LEFT_PAREN)){var e=[];do e.push(this.parseGeometry_());while(this.match(rr.COMMA));if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePointText_=function(){if(this.match(rr.LEFT_PAREN)){var e=this.parsePoint_();if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseLineStringText_=function(){if(this.match(rr.LEFT_PAREN)){var e=this.parsePointList_();if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePolygonText_=function(){if(this.match(rr.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPointText_=function(){if(this.match(rr.LEFT_PAREN)){var e=void 0;if(this.token_.type==rr.LEFT_PAREN?e=this.parsePointTextList_():e=this.parsePointList_(),this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiLineStringText_=function(){if(this.match(rr.LEFT_PAREN)){var e=this.parseLineStringTextList_();if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parseMultiPolygonText_=function(){if(this.match(rr.LEFT_PAREN)){var e=this.parsePolygonTextList_();if(this.match(rr.RIGHT_PAREN))return e}throw new Error(this.formatErrorMessage_())},t.prototype.parsePoint_=function(){for(var e=[],n=this.layout_.length,r=0;r0&&(i+=" "+o)}return r.length===0?i+" "+MRe:i+"("+r+")"}class jbt extends Error{}const NRe={separator:",",comment:"#",quote:'"',escape:"\\",trim:!0,nanToken:"NaN",trueToken:"true",falseToken:"false"};function zRe(t,e){return new Bbt(e).parse(t)}let Bbt=class{constructor(e){gn(this,"options");this.options={...NRe,...e},this.parseLine=this.parseLine.bind(this)}parse(e){return this.parseText(e).map(this.parseLine)}parseText(e){const{comment:n,trim:r}=this.options;return e.split(` +`).map((i,o)=>(r&&(i=i.trim()),[i,o])).filter(([i,o])=>i.trim()!==""&&!i.startsWith(n))}parseLine([e,n]){const{separator:r,quote:i,escape:o}=this.options;let s=!1;const a=[];let l=0,u=0;for(;ut.toLowerCase());function Khe(t){if(t=t.trim(),t==="")return"csv";if(t[0]==="{")return"geojson";const e=t.substring(0,20).toLowerCase();return Vbt.find(r=>e.startsWith(r)&&(e.length===r.length||` + (`.indexOf(e[r.length])>=0))?"wkt":"csv"}function u3(t){return t.split(",").map(e=>e.trim().toLowerCase()).filter(e=>e!=="")}const Gbt=t=>{if(t.trim()!=="")try{zRe(t)}catch(e){return console.error(e),`${e}`}return null},jRe={name:"Text/CSV",fileExt:".txt,.csv",checkError:Gbt},Eq={...NRe,xNames:"longitude, lon, x",yNames:"latitude, lat, y",forceGeometry:!1,geometryNames:"geometry, geom",timeNames:"time, date, datetime, date-time",groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-"};let Hbt=0,qbt=0;function Xbt(t,e){const n=zRe(t,e);if(n.length<2)throw new Error(me.get("Missing header line in CSV"));for(const _ of n[0])if(typeof _!="string"||_==="")throw new Error(me.get("Invalid header line in CSV"));const r=n[0].map(_=>_),i=r.map(_=>_.toLowerCase()),o=r.length;for(const _ of n)if(_.length!==o)throw new Error(me.get("All rows must have same length"));const s=Ybt(i),a=Wb(s,e.groupNames),l=Wb(s,e.labelNames),u=Wb(s,e.timeNames),c=Wb(s,e.xNames),f=Wb(s,e.yNames);let d=Wb(s,e.geometryNames);if(e.forceGeometry||c<0||f<0||c===f){if(d<0)throw new Error(me.get("No geometry column(s) found"))}else d=-1;let p=e.groupPrefix.trim();p===""&&(p=Eq.groupPrefix);let g=e.labelPrefix.trim();g===""&&(g=Eq.labelPrefix);let m="";if(a===-1){const _=++Hbt;m=`${p}${_}`}const v=new IRe,y={};let x=1,b=0,w=t1(0);for(;x=0&&(S=`${_[u]}`),a>=0&&(m=`${_[a]}`);let O=y[m];O||(O=lte(m,[]),y[m]=O,w=t1(b),b++);let k=null;if(d>=0){if(typeof _[d]=="string")try{k=v.readGeometry(t)}catch{}}else{const A=_[c],P=_[f];typeof A=="number"&&Number.isFinite(A)&&typeof P=="number"&&Number.isFinite(P)&&(k=new fh([A,P]))}if(k===null)throw new Error(me.get(`Invalid geometry in data row ${x}`));const E={};_.forEach((A,P)=>{if(P!==c&&P!==f&&P!==d){const T=r[P];E[T]=A}});let M;if(l>=0)M=`${_[l]}`;else{const A=++qbt;M=`${g}${A}`}S!==""&&(E.time=S),E.color||(E.color=w),E.label||(E.label=M),E.source||(E.source="CSV"),O.features.push(ute(k,E))}return Object.getOwnPropertyNames(y).map(_=>y[_])}function Ybt(t){const e={};for(let n=0;n{if(t.trim()!=="")try{JSON.parse(t)}catch(e){return console.error(e),`${e}`}return null},BRe={name:"GeoJSON",fileExt:".json,.geojson",checkError:Qbt},Tq={groupNames:"group, cruise, station, type",groupPrefix:"Group-",labelNames:"label, name, title, id",labelPrefix:"Place-",timeNames:"time, date, datetime, date-time"};let Kbt=0,Zbt=0;function Jbt(t,e){const n=u3(e.groupNames||"");let r=e.groupPrefix.trim();r===""&&(r=Tq.groupPrefix);const i=u3(e.labelNames||"");let o=e.labelPrefix.trim();o===""&&(o=Tq.labelPrefix);const s=u3(e.timeNames||""),a=new tb;let l;try{l=a.readFeatures(t)}catch{try{const d=a.readGeometry(t);l=[new Np(d)]}catch{throw new Error(me.get("Invalid GeoJSON"))}}const u={};let c=0;return l.forEach(f=>{const d=f.getProperties(),h=f.getGeometry();if(h){let p="",g="",m="",v=t1(0);if(d){const b={};Object.getOwnPropertyNames(d).forEach(w=>{b[w.toLowerCase()]=d[w]}),p=PW(b,s,p),m=PW(b,i,m),g=PW(b,n,g)}if(g===""){const b=++Kbt;g=`${r}-${b}`}if(m===""){const b=++Zbt;m=`${o}-${b}`}let y=u[g];y||(y=lte(g,[]),u[g]=y,v=t1(c),c++);const x={...d};p!==""&&(x.time=p),x.color||(x.color=v),x.label||(x.label=m),x.source||(x.source="GeoJSON"),y.features.push(ute(h,x))}}),Object.getOwnPropertyNames(u).map(f=>u[f])}function PW(t,e,n){if(n===""){for(const r of e)if(t[r]==="string")return t[r]}return n}const ewt=t=>null,URe={name:"WKT",fileExt:".txt,.wkt",checkError:ewt},kq={group:"",groupPrefix:"Group-",label:"",labelPrefix:"Place-",time:aO(new Date().getTime())};let twt=0,nwt=0;function rwt(t,e){let n=e.groupPrefix.trim();n===""&&(n=kq.groupPrefix);let r=e.group.trim();if(r===""){const a=++twt;r=`${n}${a}`}let i=e.labelPrefix.trim();i===""&&(i=kq.labelPrefix);let o=e.label.trim();if(o===""){const a=++nwt;o=`${i}${a}`}const s=e.time.trim();try{const a=new IRe().readGeometry(t);let l={color:t1(Math.floor(1e3*Math.random())),label:o,source:"WKT"};s!==""&&(l={time:s,...l});const u=[ute(a,l)];return[lte(r,u)]}catch{throw new Error(me.get("Invalid Geometry WKT"))}}function lO(t){return iwt("localStorage",t)}function iwt(t,e){try{const n=window[t],r="__storage_test__";return n.setItem(r,r),n.removeItem(r),new owt(n,e)}catch{return null}}class owt{constructor(e,n){gn(this,"nativeStorage");gn(this,"brandingName");this.nativeStorage=e,this.brandingName=n}getItem(e,n,r,i){const o=this.nativeStorage.getItem(this.makeKey(e));if(o!==null)try{const s=r?r(o):o;return i?i(s):s}catch(s){console.error(`Failed parsing user setting "${e}": ${s}`)}return typeof n>"u"?null:n}getObjectItem(e,n){return this.getItem(e,n,r=>JSON.parse(r))}getBooleanProperty(e,n,r){this.getProperty(e,n,r,i=>i==="true")}getIntProperty(e,n,r){this.getProperty(e,n,r,parseInt)}getStringProperty(e,n,r){this.getProperty(e,n,r,i=>i)}getArrayProperty(e,n,r,i){this.getProperty(e,n,r,o=>{const s=JSON.parse(o);if(Array.isArray(s))return s;const a=r[e];return Array.isArray(a)?a:[]},i)}getObjectProperty(e,n,r){this.getProperty(e,n,r,i=>{const o=JSON.parse(i),s=r[e],a={...s,...o};return Object.getOwnPropertyNames(o).forEach(l=>{const u=s[l],c=o[l];Bde(u)&&Bde(c)&&(a[l]={...u,...c})}),a})}getProperty(e,n,r,i,o){n[e]=this.getItem(e,r[e],i,o)}setItem(e,n,r){if(typeof n>"u"||n===null)this.nativeStorage.removeItem(this.makeKey(e));else{const i=r?r(n):n+"";this.nativeStorage.setItem(this.makeKey(e),i)}}setObjectItem(e,n){this.setItem(e,n,r=>JSON.stringify(r))}setPrimitiveProperty(e,n){this.setItem(e,n[e])}setArrayProperty(e,n){this.setObjectItem(e,n[e])}setObjectProperty(e,n){this.setObjectItem(e,n[e])}makeKey(e){return`xcube.${this.brandingName}.${e}`}}function swt(t){const e=lO(Pn.instance.name);if(e)try{e.setObjectItem("userServers",t)}catch(n){console.warn(`failed to store user servers: ${n}`)}}function awt(){const t=lO(Pn.instance.name);if(t)try{return t.getObjectItem("userServers",[])}catch(e){console.warn(`failed to load user servers: ${e}`)}return[]}function lwt(t){const e=lO(Pn.instance.name);if(e)try{e.setObjectItem("userVariables",t)}catch(n){console.warn(`failed to store user variables: ${n}`)}}function uwt(){const t=lO(Pn.instance.name);if(t)try{return t.getObjectItem("userVariables",{})}catch(e){console.warn(`failed to load user variables: ${e}`)}return{}}function gd(t){const e=lO(Pn.instance.name);if(e)try{e.setPrimitiveProperty("locale",t),e.setPrimitiveProperty("privacyNoticeAccepted",t),e.setPrimitiveProperty("autoShowTimeSeries",t),e.setPrimitiveProperty("timeSeriesIncludeStdev",t),e.setPrimitiveProperty("timeSeriesChartTypeDefault",t),e.setPrimitiveProperty("timeSeriesUseMedian",t),e.setPrimitiveProperty("timeAnimationInterval",t),e.setPrimitiveProperty("timeChunkSize",t),e.setPrimitiveProperty("sidebarOpen",t),e.setPrimitiveProperty("sidebarPanelId",t),e.setPrimitiveProperty("volumeRenderMode",t),e.setObjectProperty("infoCardElementStates",t),e.setPrimitiveProperty("imageSmoothingEnabled",t),e.setPrimitiveProperty("mapProjection",t),e.setPrimitiveProperty("selectedBaseMapId",t),e.setPrimitiveProperty("selectedOverlayId",t),e.setArrayProperty("userBaseMaps",t),e.setArrayProperty("userOverlays",t),e.setArrayProperty("userColorBars",t),e.setPrimitiveProperty("userDrawnPlaceGroupName",t),e.setPrimitiveProperty("datasetLocateMode",t),e.setPrimitiveProperty("placeLocateMode",t),e.setPrimitiveProperty("exportTimeSeries",t),e.setPrimitiveProperty("exportTimeSeriesSeparator",t),e.setPrimitiveProperty("exportPlaces",t),e.setPrimitiveProperty("exportPlacesAsCollection",t),e.setPrimitiveProperty("exportZipArchive",t),e.setPrimitiveProperty("exportFileName",t),e.setPrimitiveProperty("userPlacesFormatName",t),e.setObjectProperty("userPlacesFormatOptions",t)}catch(n){console.warn(`failed to store user settings: ${n}`)}}function cwt(t){const e=lO(Pn.instance.name);if(e){const n={...t};try{e.getStringProperty("locale",n,t),e.getBooleanProperty("privacyNoticeAccepted",n,t),e.getBooleanProperty("autoShowTimeSeries",n,t),e.getBooleanProperty("timeSeriesIncludeStdev",n,t),e.getStringProperty("timeSeriesChartTypeDefault",n,t),e.getBooleanProperty("timeSeriesUseMedian",n,t),e.getIntProperty("timeAnimationInterval",n,t),e.getIntProperty("timeChunkSize",n,t),e.getBooleanProperty("sidebarOpen",n,t),e.getStringProperty("sidebarPanelId",n,t),e.getStringProperty("volumeRenderMode",n,t),e.getObjectProperty("infoCardElementStates",n,t),e.getBooleanProperty("imageSmoothingEnabled",n,t),e.getStringProperty("mapProjection",n,t),e.getStringProperty("selectedBaseMapId",n,t),e.getStringProperty("selectedOverlayId",n,t),e.getArrayProperty("userBaseMaps",n,t),e.getArrayProperty("userOverlays",n,t),e.getArrayProperty("userColorBars",n,t,fwt),e.getStringProperty("userDrawnPlaceGroupName",n,t),e.getStringProperty("datasetLocateMode",n,t),e.getStringProperty("placeLocateMode",n,t),e.getBooleanProperty("exportTimeSeries",n,t),e.getStringProperty("exportTimeSeriesSeparator",n,t),e.getBooleanProperty("exportPlaces",n,t),e.getBooleanProperty("exportPlacesAsCollection",n,t),e.getBooleanProperty("exportZipArchive",n,t),e.getStringProperty("exportFileName",n,t),e.getStringProperty("userPlacesFormatName",n,t),e.getObjectProperty("userPlacesFormatOptions",n,t)}catch(r){console.warn(`Failed to load user settings: ${r}`)}return n}else console.warn("User settings not found or access denied");return t}const Zhe={node:"continuous",continuous:"continuous",bound:"stepwise",stepwise:"stepwise",key:"categorical",categorical:"categorical"};function fwt(t){if(Array.isArray(t))return t.map(e=>({...e,type:dwt(e.type)}))}function dwt(t){return K1(t)&&t in Zhe?Zhe[t]:"continuous"}const hwt=[250,500,1e3,2500],pwt=["info","timeSeries","stats","volume"];function gwt(){const t=Pn.instance.branding,e={selectedDatasetId:null,selectedVariableName:null,selectedDataset2Id:null,selectedVariable2Name:null,selectedPlaceGroupIds:[],selectedPlaceId:null,selectedUserPlaceId:null,selectedServerId:Pn.instance.server.id,selectedTime:null,selectedTimeRange:null,timeSeriesUpdateMode:"add",timeAnimationActive:!1,timeAnimationInterval:1e3,timeChunkSize:20,autoShowTimeSeries:!0,timeSeriesChartTypeDefault:"line",timeSeriesIncludeStdev:!0,timeSeriesUseMedian:t.defaultAgg==="median",userDrawnPlaceGroupName:"",userPlacesFormatName:"csv",userPlacesFormatOptions:{csv:{...Eq},geojson:{...Tq},wkt:{...kq}},flyTo:null,activities:{},locale:"en",dialogOpen:{},privacyNoticeAccepted:!1,mapInteraction:"Select",lastMapInteraction:"Select",layerVisibilities:{baseMap:!0,datasetRgb:!1,datasetVariable:!0,datasetVariable2:!0,datasetBoundary:!1,datasetPlaces:!0,userPlaces:!0,overlay:!0},variableCompareMode:!1,mapPointInfoBoxEnabled:!1,datasetLocateMode:"panAndZoom",placeLocateMode:"panAndZoom",layerMenuOpen:!1,sidebarPosition:2*Math.max(window.innerWidth,window.innerHeight)/3,sidebarOpen:!1,sidebarPanelId:"info",volumeRenderMode:"mip",volumeStates:{},infoCardElementStates:{dataset:{visible:!0,viewMode:"text"},variable:{visible:!0,viewMode:"text"},place:{visible:!0,viewMode:"text"}},mapProjection:t.mapProjection||JMe,imageSmoothingEnabled:!1,selectedBaseMapId:Obt,selectedOverlayId:null,userBaseMaps:[],userOverlays:[],userColorBars:[],exportTimeSeries:!0,exportTimeSeriesSeparator:"TAB",exportPlaces:!0,exportPlacesAsCollection:!0,exportZipArchive:!0,exportFileName:"export"};return cwt(e)}const Ku={},mwt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAGUExURcDAwP///ytph7QAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAUSURBVBjTYwABQSCglEENMxgYGAAynwRB8BEAgQAAAABJRU5ErkJggg==",WRe=new Image;WRe.src=mwt;const Aq="_alpha",Pq="_r";function vwt(t){let e=t;const n=e.endsWith(Aq);n&&(e=e.slice(0,e.length-Aq.length));const r=e.endsWith(Pq);return r&&(e=e.slice(0,e.length-Pq.length)),{baseName:e,isAlpha:n,isReversed:r}}function uN(t){let e=t.baseName;return t.isReversed&&(e+=Pq),t.isAlpha&&(e+=Aq),e}function ywt(t,e,n){bwt(t,e).then(r=>{Promise.resolve(createImageBitmap(r)).then(i=>{const o=n.getContext("2d");if(o!==null){const s=o.createPattern(WRe,"repeat");s!==null?o.fillStyle=s:o.fillStyle="#ffffff",o.fillRect(0,0,n.width,n.height),o.drawImage(i,0,0,n.width,n.height)}})})}function xwt(t,e){return new Promise((n,r)=>{const i=new Image,o=t.imageData;if(!o){n(i);return}i.onload=()=>{n(i)},i.onerror=(s,a,l,u,c)=>{r(c)},i.src=`data:image/png;base64,${o}`})}function bwt(t,e){return xwt(t).then(n=>{const r=wwt(t,e,n);if(r!==null)return r;throw new Error("failed to retrieve 2d context")})}function wwt(t,e,n){const r=document.createElement("canvas");r.width=n.width||1,r.height=n.height||1;const i=r.getContext("2d");if(i===null)return null;i.drawImage(n,0,0);let s=i.getImageData(0,0,r.width,r.height).data;if(t.isReversed){const a=new Uint8ClampedArray(s.length);for(let l=0;lt.controlState.selectedDatasetId,uO=t=>t.controlState.selectedVariableName,_wt=t=>t.controlState.selectedDataset2Id,VRe=t=>t.controlState.selectedVariable2Name,Fte=t=>t.controlState.selectedPlaceGroupIds,cO=t=>t.controlState.selectedPlaceId,QM=t=>t.controlState.selectedTime,Swt=t=>t.controlState.selectedServerId,Cwt=t=>t.controlState.activities,N4=t=>t.controlState.timeAnimationActive,KM=t=>t.controlState.imageSmoothingEnabled,Owt=t=>t.controlState.userBaseMaps,Ewt=t=>t.controlState.userOverlays,Nte=t=>t.controlState.selectedBaseMapId,zte=t=>t.controlState.selectedOverlayId,Twt=t=>!!t.controlState.layerVisibilities.baseMap,kwt=t=>!!t.controlState.layerVisibilities.datasetBoundary,Awt=t=>!!t.controlState.layerVisibilities.datasetVariable,Pwt=t=>!!t.controlState.layerVisibilities.datasetVariable2,Mwt=t=>!!t.controlState.layerVisibilities.datasetRgb,Rwt=t=>!!t.controlState.layerVisibilities.datasetRgb2,Dwt=t=>!!t.controlState.layerVisibilities.datasetPlaces,GRe=t=>!!t.controlState.layerVisibilities.userPlaces,Iwt=t=>!!t.controlState.layerVisibilities.overlay,Lwt=t=>t.controlState.layerVisibilities,HRe=t=>t.controlState.infoCardElementStates,$y=t=>t.controlState.mapProjection,$wt=t=>t.controlState.timeChunkSize,Fwt=t=>t.controlState.userPlacesFormatName,Nwt=t=>t.controlState.userPlacesFormatOptions.csv,zwt=t=>t.controlState.userPlacesFormatOptions.geojson,jwt=t=>t.controlState.userPlacesFormatOptions.wkt,nb=t=>t.controlState.userColorBars,Bwt=t=>Pn.instance.branding.allowUserVariables,Uwt=()=>"variable",Wwt=()=>"variable2",Vwt=()=>"rgb",Gwt=()=>"rgb2",Hwt=()=>13,qwt=()=>12,Xwt=()=>11,Ywt=()=>10,fo=xt(qM,YM,fA),Fy=xt(qM,_wt,fA),Qwt=xt(fo,t=>t&&t.variables||[]),Kwt=xt(fo,t=>t?ate(t)[1]:[]),qRe=(t,e)=>!t||!e?null:fq(t,e),Na=xt(fo,uO,qRe),Hg=xt(Fy,VRe,qRe),XRe=t=>t&&(t.title||t.name),Zwt=xt(Na,XRe),Jwt=xt(Hg,XRe),YRe=t=>t&&t.units||"-",e_t=xt(Na,YRe),t_t=xt(Hg,YRe),QRe=t=>t&&t.colorBarName||"viridis",z4=xt(Na,QRe),j4=xt(Hg,QRe),KRe=t=>t?[t.colorBarMin,t.colorBarMax]:[0,1],ZRe=xt(Na,KRe),JRe=xt(Hg,KRe),eDe=t=>(t&&t.colorBarNorm)==="log"?"log":"lin",tDe=xt(Na,eDe),nDe=xt(Hg,eDe),B4=xt(nb,vbt,(t,e)=>{const n={title:oMe,description:"User-defined color bars.",names:t.map(i=>i.id)},r={};return t.forEach(({id:i,imageData:o})=>{o&&(r[i]=o)}),e?{...e,groups:[n,...e.groups],images:{...e.images,...r}}:{groups:[n],images:r,customColorMaps:{}}}),rDe=(t,e,n)=>{const r=vwt(t),{baseName:i}=r,o=e.images[i],s=n.find(a=>a.id===i);if(s){const a=s.type,l=aMe(s.code);return{...r,imageData:o,type:a,colorRecords:l}}else{const a=e.customColorMaps[i];if(a){const l=a.type,u=a.colorRecords;return{...r,imageData:o,type:l,colorRecords:u}}}return{...r,imageData:o}},jte=xt(z4,B4,nb,rDe),iDe=xt(j4,B4,nb,rDe),oDe=(t,e,n)=>{const{baseName:r}=t,i=n.find(o=>o.id===r);if(i){const o=aMe(i.code);if(o)return JSON.stringify({name:e,type:i.type,colors:o.map(s=>[s.value,s.color])})}return null},n_t=xt(jte,z4,nb,oDe),r_t=xt(iDe,j4,nb,oDe),sDe=t=>!t||typeof t.opacity!="number"?1:t.opacity,aDe=xt(Na,sDe),lDe=xt(Hg,sDe),i_t=xt(fo,t=>t!==null?nMe(t):null),o_t=xt(fo,t=>t!==null&&t.rgbSchema||null),s_t=xt(Fy,t=>t!==null&&t.rgbSchema||null),uDe=xt(fo,t=>t&&t.placeGroups||[]),U4=xt(uDe,XM,(t,e)=>t.concat(e));function cDe(t,e){const n=[];return e!==null&&e.length>0&&t.forEach(r=>{e.indexOf(r.id)>-1&&n.push(r)}),n}const a_t=xt(XM,Fte,GRe,(t,e)=>{const n={},r=new Set(e||[]);return t.forEach(i=>{n[i.id]=r.has(i.id)}),n}),fDe=xt(uDe,Fte,cDe),fO=xt(U4,Fte,cDe),l_t=xt(fO,t=>t.map(e=>e.title||e.id).join(", ")),ZM=xt(fO,t=>{const e=t.map(n=>tO(n)?n.features:[]);return[].concat(...e)}),dDe=xt(ZM,cO,(t,e)=>t.find(n=>n.id===e)||null),JM=xt(fO,cO,(t,e)=>t.length===0||e===null?null:wgt(t,e)),u_t=xt(YM,uO,dDe,(t,e,n)=>{if(t&&e){if(!n)return`${t}-${e}-all`;if(n.geometry.type==="Polygon"||n.geometry.type==="MultiPolygon")return`${t}-${e}-${n.id}`}return null}),hDe=xt(ERe,YM,uO,cO,(t,e,n,r)=>{if(!e||!n||!r)return!1;for(const i of t)for(const o of i.timeSeriesArray){const s=o.source;if(s.datasetId===e&&s.variableName===n&&s.placeId===r)return!1}return!0}),c_t=xt(ERe,U4,(t,e)=>{const n={};return cte(e,(r,i)=>{for(const o of t)if(o.timeSeriesArray.find(s=>s.source.placeId===i.id)){n[i.id]=A4(r,i);break}}),n}),pDe=xt(YM,uO,cO,(t,e,n)=>!!(t&&e&&n)),f_t=xt(bbt,U4,(t,e)=>{const n=[];return t.forEach(r=>{const i=r.source.placeInfo.place.id;cte(e,(o,s)=>{if(s.id===i){const a=A4(o,s);n.push({...r,source:{...r.source,placeInfo:a}})}})}),n}),d_t=xt(fO,t=>{const e=[];return cte(t,(n,r)=>{e.push(A4(n,r).label)}),e}),h_t=xt(Na,$wt,(t,e)=>{if(t&&t.timeChunkSize){const n=t.timeChunkSize;return n*Math.ceil(e/n)}return e}),gDe=t=>t&&tMe(t)||null,dO=xt(fo,gDe),p_t=xt(Fy,gDe),mDe=t=>t&&t.attributions||null,Bte=xt(fo,mDe),g_t=xt(Fy,mDe),vDe=t=>t===null||t.coordinates.length===0?null:t.coordinates,Mq=xt(dO,vDe),m_t=xt(dO,vDe),yDe=(t,e)=>t===null||e===null?-1:rRe(e,t),xDe=xt(QM,Mq,yDe),v_t=xt(QM,m_t,yDe),bDe=(t,e,n)=>t===null?null:n&&e>-1?n.labels[e]:new Date(t).toISOString(),hO=xt(QM,xDe,dO,bDe),y_t=xt(QM,v_t,p_t,bDe);function x_t(t,e){if(t!==kte){const n=typeof e=="number"?e+1:20;return new Ete({tileSize:[256,256],origin:[-180,90],extent:[-180,-90,180,90],resolutions:Array.from({length:n},(r,i)=>180/256/Math.pow(2,i))})}}function b_t(t,e,n,r,i,o,s,a,l){return new iO({url:t,projection:e,tileGrid:n,attributions:r||void 0,transition:i?0:250,imageSmoothing:o,tileLoadFunction:s,maxZoom:l})}function w_t(t){if(t)return(e,n)=>{e instanceof mte&&(t.getView().getInteracting()?t.once("moveend",function(){e.getImage().src=n}):e.getImage().src=n)}}const __t=Lgt(w_t,{serializer:t=>{const e=t[0];if(e){const n=e.getTarget();return typeof n=="string"?n:n&&n.id||"map"}return""}});function S_t(){const t=Ku.map;return __t(t)}function wDe(t,e,n,r,i,o,s,a,l,u,c,f,d=10){a!==null&&(o=[...o,["time",a]]);const h=ZC(e,o);typeof i=="number"&&(i+=3);const p=x_t(u,i),g=b_t(h,u,p,c,l,f,S_t(),r,i),m=u===oO?n:IPe(n,"EPSG:4326",u);return C.jsx(nRe,{id:t,source:g,extent:m,zIndex:d,opacity:s})}const C_t=xt(fo,$y,kwt,(t,e,n)=>{if(!t||!n)return null;let r=t.geometry;if(!r)if(t.bbox){const[s,a,l,u]=t.bbox;r={type:"Polygon",coordinates:[[[s,a],[l,a],[l,u],[s,u],[s,a]]]}}else return console.warn(`Dataset ${t.id} has no bbox!`),null;const i=new GM({features:new tb({dataProjection:oO,featureProjection:e}).readFeatures({type:"Feature",geometry:r})}),o=new Qd({stroke:new dh({color:"orange",width:3,lineDash:[2,4]})});return C.jsx($4,{id:`${t.id}.bbox`,source:i,style:o,zIndex:16,opacity:.5})}),Oo=xt(TRe,Swt,(t,e)=>{if(t.length===0)throw new Error("internal error: no servers configured");const n=t.find(r=>r.id===e);if(!n)throw new Error(`internal error: server with ID "${e}" not found`);return n}),_De=(t,e,n,r,i,o,s,a,l,u,c,f,d,h,p,g)=>{if(!e||!i||!c)return null;const m=[["crs",p],["vmin",`${s[0]}`],["vmax",`${s[1]}`],["cmap",l||o]];return a==="log"&&m.push(["norm",a]),wDe(f,CDe(t.url,e,i),e.bbox,i.tileLevelMin,i.tileLevelMax,m,u,n,h,p,r,g,d)},O_t=xt(Oo,fo,hO,Bte,Na,z4,ZRe,tDe,n_t,aDe,Awt,Uwt,Hwt,N4,$y,KM,_De),E_t=xt(Oo,Fy,y_t,g_t,Hg,j4,JRe,nDe,r_t,lDe,Pwt,Wwt,qwt,N4,$y,KM,_De),SDe=(t,e,n,r,i,o,s,a,l,u,c)=>{if(!e||!n||!r)return null;const f=[["crs",l]];return wDe(i,CDe(t.url,e,"rgb"),e.bbox,n.tileLevelMin,n.tileLevelMax,f,1,s,a,l,u,c,o)},T_t=xt(Oo,fo,o_t,Mwt,Vwt,Xwt,hO,N4,$y,Bte,KM,SDe),k_t=xt(Oo,Fy,s_t,Rwt,Gwt,Ywt,hO,N4,$y,Bte,KM,SDe);function CDe(t,e,n){return`${t}/tiles/${JC(e)}/${jM(n)}/{z}/{y}/{x}`}function A_t(){return Dee()}function P_t(){return new WM({fill:EDe(),stroke:ODe(),radius:6})}function ODe(){return new dh({color:[200,0,0,.75],width:1.25})}function EDe(){return new o1({color:[255,0,0,A_t()]})}function M_t(){return new Qd({image:P_t(),stroke:ODe(),fill:EDe()})}const R_t=xt(fDe,$y,Dwt,(t,e,n)=>{if(!n||t.length===0)return null;const r=[];return t.forEach((i,o)=>{tO(i)&&r.push(C.jsx($4,{id:`placeGroup.${i.id}`,style:M_t(),zIndex:100,source:new GM({features:new tb({dataProjection:oO,featureProjection:e}).readFeatures(i)})},o))}),C.jsx(KMe,{children:r})}),D_t=xt(HRe,t=>{const e=[];return Object.getOwnPropertyNames(t).forEach(n=>{t[n].visible&&e.push(n)}),e}),I_t=xt(HRe,t=>{const e={};return Object.getOwnPropertyNames(t).forEach(n=>{e[n]=t[n].viewMode||"text"}),e}),L_t=xt(Cwt,t=>Object.keys(t).map(e=>t[e])),Ute=xt(Owt,t=>[...t,...PRe]),Wte=xt(Ewt,t=>[...t,...Cbt]),TDe=(t,e,n,r)=>{if(!n||!e)return null;const i=lN(t,e);if(!i)return null;let o=i.attribution;o&&(o.startsWith("http://")||o.startsWith("https://"))&&(o=`© ${i.group}`);let s;if(i.wms){const{layerName:a,styleName:l}=i.wms;s=new u0t({url:i.url,params:{...l?{STYLES:l}:{},LAYERS:a},attributions:o,attributionsCollapsible:!0})}else{const a=Dft(i.group);s=new iO({url:i.url+(a?`?${a.param}=${a.token}`:""),attributions:o,attributionsCollapsible:!0})}return C.jsx(nRe,{id:i.id,source:s,zIndex:r})},$_t=xt(Ute,Nte,Twt,()=>0,TDe),F_t=xt(Wte,zte,Iwt,()=>20,TDe),kDe=(t,e)=>{const n=lN(t,e);return n?aN(n):null},N_t=xt(Ute,Nte,kDe),z_t=xt(Wte,zte,kDe),j_t=xt(N_t,z_t,Nte,zte,fo,Fy,Na,Hg,Lwt,(t,e,n,r,i,o,s,a,l)=>({baseMap:{title:"Base Map",subTitle:t||void 0,visible:l.baseMap,disabled:!n},overlay:{title:"Overlay",subTitle:e||void 0,visible:l.overlay,disabled:!r},datasetRgb:{title:"Dataset RGB",subTitle:i?i.title:void 0,visible:l.datasetRgb,disabled:!i},datasetRgb2:{title:"Dataset RGB",subTitle:o?o.title:void 0,visible:l.datasetRgb2,disabled:!o,pinned:!0},datasetVariable:{title:"Dataset Variable",subTitle:i&&s?`${i.title} / ${s.title||s.name}`:void 0,visible:l.datasetVariable,disabled:!(i&&s)},datasetVariable2:{title:"Dataset Variable",subTitle:o&&a?`${o.title} / ${a.title||a.name}`:void 0,visible:l.datasetVariable2,disabled:!(o&&a),pinned:!0},datasetBoundary:{title:"Dataset Boundary",subTitle:i?i.title:void 0,visible:l.datasetBoundary,disabled:!i},datasetPlaces:{title:"Dataset Places",visible:l.datasetPlaces},userPlaces:{title:"User Places",visible:l.userPlaces}}));var ADe={exports:{}};/*! + +JSZip v3.10.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/main/LICENSE +*/(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function s(u,c){if(!i[u]){if(!r[u]){var f=typeof Q2=="function"&&Q2;if(!c&&f)return f(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[u]={exports:{}};r[u][0].call(h.exports,function(p){var g=r[u][1][p];return s(g||p)},h,h.exports,n,r,i,o)}return i[u].exports}for(var a=typeof Q2=="function"&&Q2,l=0;l>2,h=(3&u)<<4|c>>4,p=1>6:64,g=2>4,c=(15&d)<<4|(h=a.indexOf(l.charAt(g++)))>>2,f=(3&h)<<6|(p=a.indexOf(l.charAt(g++))),y[m++]=u,h!==64&&(y[m++]=c),p!==64&&(y[m++]=f);return y}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),s=n("./stream/DataWorker"),a=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function u(c,f,d,h,p){this.compressedSize=c,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}u.prototype={getContentWorker:function(){var c=new s(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),f=this;return c.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),c},getCompressedWorker:function(){return new s(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(c,f,d){return c.pipe(new a).pipe(new l("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new l("compressedSize")).withStreamInfo("compression",f)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),s=function(){for(var a,l=[],u=0;u<256;u++){a=u;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;l[u]=a}return l}();r.exports=function(a,l){return a!==void 0&&a.length?o.getTypeOf(a)!=="string"?function(u,c,f,d){var h=s,p=d+f;u^=-1;for(var g=d;g>>8^h[255&(u^c[g])];return-1^u}(0|l,a,a.length,0):function(u,c,f,d){var h=s,p=d+f;u^=-1;for(var g=d;g>>8^h[255&(u^c.charCodeAt(g))];return-1^u}(0|l,a,a.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=n("pako"),a=n("./utils"),l=n("./stream/GenericWorker"),u=o?"uint8array":"array";function c(f,d){l.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",a.inherits(c,l),c.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(u,f.data),!1)},c.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new c("Deflate",f)},i.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,p){var g,m="";for(g=0;g>>=8;return m}function s(h,p,g,m,v,y){var x,b,w=h.file,_=h.compression,S=y!==u.utf8encode,O=a.transformTo("string",y(w.name)),k=a.transformTo("string",u.utf8encode(w.name)),E=w.comment,M=a.transformTo("string",y(E)),A=a.transformTo("string",u.utf8encode(E)),P=k.length!==w.name.length,T=A.length!==E.length,R="",I="",B="",$=w.dir,z=w.date,L={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||(L.crc32=h.crc32,L.compressedSize=h.compressedSize,L.uncompressedSize=h.uncompressedSize);var j=0;p&&(j|=8),S||!P&&!T||(j|=2048);var N=0,F=0;$&&(N|=16),v==="UNIX"?(F=798,N|=function(q,Y){var le=q;return q||(le=Y?16893:33204),(65535&le)<<16}(w.unixPermissions,$)):(F=20,N|=function(q){return 63&(q||0)}(w.dosPermissions)),x=z.getUTCHours(),x<<=6,x|=z.getUTCMinutes(),x<<=5,x|=z.getUTCSeconds()/2,b=z.getUTCFullYear()-1980,b<<=4,b|=z.getUTCMonth()+1,b<<=5,b|=z.getUTCDate(),P&&(I=o(1,1)+o(c(O),4)+k,R+="up"+o(I.length,2)+I),T&&(B=o(1,1)+o(c(M),4)+A,R+="uc"+o(B.length,2)+B);var H="";return H+=` +\0`,H+=o(j,2),H+=_.magic,H+=o(x,2),H+=o(b,2),H+=o(L.crc32,4),H+=o(L.compressedSize,4),H+=o(L.uncompressedSize,4),H+=o(O.length,2),H+=o(R.length,2),{fileRecord:f.LOCAL_FILE_HEADER+H+O+R,dirRecord:f.CENTRAL_FILE_HEADER+o(F,2)+H+o(M.length,2)+"\0\0\0\0"+o(N,4)+o(m,4)+O+R+M}}var a=n("../utils"),l=n("../stream/GenericWorker"),u=n("../utf8"),c=n("../crc32"),f=n("../signature");function d(h,p,g,m){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=m,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(d,l),d.prototype.push=function(h){var p=h.meta.percent||0,g=this.entriesCount,m=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-m-1))/g:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var g=s(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,g=s(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(g.dirRecord),p)this.push({data:function(m){return f.DATA_DESCRIPTOR+o(m.crc32,4)+o(m.compressedSize,4)+o(m.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p=this.index;l--)u=(u<<8)+this.byteAt(l);return this.index+=a,u},readString:function(a){return o.transformTo("string",this.readData(a))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var a=this.readInt(4);return new Date(Date.UTC(1980+(a>>25&127),(a>>21&15)-1,a>>16&31,a>>11&31,a>>5&63,(31&a)<<1))}},r.exports=s},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function s(a){o.call(this,a)}n("../utils").inherits(s,o),s.prototype.readData=function(a){this.checkOffset(a);var l=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},r.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function s(a){o.call(this,a)}n("../utils").inherits(s,o),s.prototype.byteAt=function(a){return this.data.charCodeAt(this.zero+a)},s.prototype.lastIndexOfSignature=function(a){return this.data.lastIndexOf(a)-this.zero},s.prototype.readAndCheckSignature=function(a){return a===this.readData(4)},s.prototype.readData=function(a){this.checkOffset(a);var l=this.data.slice(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},r.exports=s},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function s(a){o.call(this,a)}n("../utils").inherits(s,o),s.prototype.readData=function(a){if(this.checkOffset(a),a===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+a);return this.index+=a,l},r.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),s=n("../support"),a=n("./ArrayReader"),l=n("./StringReader"),u=n("./NodeBufferReader"),c=n("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||s.uint8array?d==="nodebuffer"?new u(f):s.uint8array?new c(o.transformTo("uint8array",f)):new a(o.transformTo("array",f)):new l(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),s=n("../utils");function a(l){o.call(this,"ConvertWorker to "+l),this.destType=l}s.inherits(a,o),a.prototype.processChunk=function(l){this.push({data:s.transformTo(this.destType,l.data),meta:l.meta})},r.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),s=n("../crc32");function a(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(a,o),a.prototype.processChunk=function(l){this.streamInfo.crc32=s(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function a(l){s.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}o.inherits(a,s),a.prototype.processChunk=function(l){if(l){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+l.data.length}s.prototype.processChunk.call(this,l)},r.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),s=n("./GenericWorker");function a(l){s.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(c){u.dataIsReady=!0,u.data=c,u.max=c&&c.length||0,u.type=o.getTypeOf(c),u.isPaused||u._tickAndRepeat()},function(c){u.error(c)})}o.inherits(a,s),a.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,u);break;case"uint8array":l=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":l=this.data.slice(this.index,u)}return this.index=u,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,a){return this._listeners[s].push(a),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,a){if(this._listeners[s])for(var l=0;l "+s:s}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),s=n("./ConvertWorker"),a=n("./GenericWorker"),l=n("../base64"),u=n("../support"),c=n("../external"),f=null;if(u.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,g){return new c.Promise(function(m,v){var y=[],x=p._internalType,b=p._outputType,w=p._mimeType;p.on("data",function(_,S){y.push(_),g&&g(S)}).on("error",function(_){y=[],v(_)}).on("end",function(){try{var _=function(S,O,k){switch(S){case"blob":return o.newBlob(o.transformTo("arraybuffer",O),k);case"base64":return l.encode(O);default:return o.transformTo(S,O)}}(b,function(S,O){var k,E=0,M=null,A=0;for(k=0;k"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(o),i.blob=s.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),s=n("./support"),a=n("./nodejsUtils"),l=n("./stream/GenericWorker"),u=new Array(256),c=0;c<256;c++)u[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;u[254]=u[254]=1;function f(){l.call(this,"utf-8 decode"),this.leftOver=null}function d(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return s.nodebuffer?a.newBufferFrom(h,"utf-8"):function(p){var g,m,v,y,x,b=p.length,w=0;for(y=0;y>>6:(m<65536?g[x++]=224|m>>>12:(g[x++]=240|m>>>18,g[x++]=128|m>>>12&63),g[x++]=128|m>>>6&63),g[x++]=128|63&m);return g}(h)},i.utf8decode=function(h){return s.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var g,m,v,y,x=p.length,b=new Array(2*x);for(g=m=0;g>10&1023,b[m++]=56320|1023&v)}return b.length!==m&&(b.subarray?b=b.subarray(0,m):b.length=m),o.applyFromCharCode(b)}(h=o.transformTo(s.uint8array?"uint8array":"array",h))},o.inherits(f,l),f.prototype.processChunk=function(h){var p=o.transformTo(s.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var g=p;(p=new Uint8Array(g.length+this.leftOver.length)).set(this.leftOver,0),p.set(g,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var m=function(y,x){var b;for((x=x||y.length)>y.length&&(x=y.length),b=x-1;0<=b&&(192&y[b])==128;)b--;return b<0||b===0?x:b+u[y[b]]>x?b:x}(p),v=p;m!==p.length&&(s.uint8array?(v=p.subarray(0,m),this.leftOver=p.subarray(m,p.length)):(v=p.slice(0,m),this.leftOver=p.slice(m,p.length))),this.push({data:i.utf8decode(v),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,l),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),s=n("./base64"),a=n("./nodejsUtils"),l=n("./external");function u(g){return g}function c(g,m){for(var v=0;v>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,g,m,v=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4>>6:(h<65536?d[m++]=224|h>>>12:(d[m++]=240|h>>>18,d[m++]=128|h>>>12&63),d[m++]=128|h>>>6&63),d[m++]=128|63&h);return d},i.buf2binstring=function(f){return c(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h>10&1023,y[p++]=56320|1023&g)}return c(y,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+l[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,s,a,l){for(var u=65535&o|0,c=o>>>16&65535|0,f=0;a!==0;){for(a-=f=2e3>>1:s>>>1;a[l]=s}return a}();r.exports=function(s,a,l,u){var c=o,f=u+l;s^=-1;for(var d=u;d>>8^c[255&(s^a[d])];return-1^s}},{}],46:[function(n,r,i){var o,s=n("../utils/common"),a=n("./trees"),l=n("./adler32"),u=n("./crc32"),c=n("./messages"),f=0,d=4,h=0,p=-2,g=-1,m=4,v=2,y=8,x=9,b=286,w=30,_=19,S=2*b+1,O=15,k=3,E=258,M=E+k+1,A=42,P=113,T=1,R=2,I=3,B=4;function $(U,oe){return U.msg=c[oe],oe}function z(U){return(U<<1)-(4U.avail_out&&(ne=U.avail_out),ne!==0&&(s.arraySet(U.output,oe.pending_buf,oe.pending_out,ne,U.next_out),U.next_out+=ne,oe.pending_out+=ne,U.total_out+=ne,U.avail_out-=ne,oe.pending-=ne,oe.pending===0&&(oe.pending_out=0))}function N(U,oe){a._tr_flush_block(U,0<=U.block_start?U.block_start:-1,U.strstart-U.block_start,oe),U.block_start=U.strstart,j(U.strm)}function F(U,oe){U.pending_buf[U.pending++]=oe}function H(U,oe){U.pending_buf[U.pending++]=oe>>>8&255,U.pending_buf[U.pending++]=255&oe}function q(U,oe){var ne,V,X=U.max_chain_length,Z=U.strstart,he=U.prev_length,xe=U.nice_match,G=U.strstart>U.w_size-M?U.strstart-(U.w_size-M):0,W=U.window,J=U.w_mask,se=U.prev,ye=U.strstart+E,ie=W[Z+he-1],fe=W[Z+he];U.prev_length>=U.good_match&&(X>>=2),xe>U.lookahead&&(xe=U.lookahead);do if(W[(ne=oe)+he]===fe&&W[ne+he-1]===ie&&W[ne]===W[Z]&&W[++ne]===W[Z+1]){Z+=2,ne++;do;while(W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&W[++Z]===W[++ne]&&ZG&&--X!=0);return he<=U.lookahead?he:U.lookahead}function Y(U){var oe,ne,V,X,Z,he,xe,G,W,J,se=U.w_size;do{if(X=U.window_size-U.lookahead-U.strstart,U.strstart>=se+(se-M)){for(s.arraySet(U.window,U.window,se,se,0),U.match_start-=se,U.strstart-=se,U.block_start-=se,oe=ne=U.hash_size;V=U.head[--oe],U.head[oe]=se<=V?V-se:0,--ne;);for(oe=ne=se;V=U.prev[--oe],U.prev[oe]=se<=V?V-se:0,--ne;);X+=se}if(U.strm.avail_in===0)break;if(he=U.strm,xe=U.window,G=U.strstart+U.lookahead,W=X,J=void 0,J=he.avail_in,W=k)for(Z=U.strstart-U.insert,U.ins_h=U.window[Z],U.ins_h=(U.ins_h<=k&&(U.ins_h=(U.ins_h<=k)if(V=a._tr_tally(U,U.strstart-U.match_start,U.match_length-k),U.lookahead-=U.match_length,U.match_length<=U.max_lazy_match&&U.lookahead>=k){for(U.match_length--;U.strstart++,U.ins_h=(U.ins_h<=k&&(U.ins_h=(U.ins_h<=k&&U.match_length<=U.prev_length){for(X=U.strstart+U.lookahead-k,V=a._tr_tally(U,U.strstart-1-U.prev_match,U.prev_length-k),U.lookahead-=U.prev_length-1,U.prev_length-=2;++U.strstart<=X&&(U.ins_h=(U.ins_h<U.pending_buf_size-5&&(ne=U.pending_buf_size-5);;){if(U.lookahead<=1){if(Y(U),U.lookahead===0&&oe===f)return T;if(U.lookahead===0)break}U.strstart+=U.lookahead,U.lookahead=0;var V=U.block_start+ne;if((U.strstart===0||U.strstart>=V)&&(U.lookahead=U.strstart-V,U.strstart=V,N(U,!1),U.strm.avail_out===0)||U.strstart-U.block_start>=U.w_size-M&&(N(U,!1),U.strm.avail_out===0))return T}return U.insert=0,oe===d?(N(U,!0),U.strm.avail_out===0?I:B):(U.strstart>U.block_start&&(N(U,!1),U.strm.avail_out),T)}),new ee(4,4,8,4,le),new ee(4,5,16,8,le),new ee(4,6,32,32,le),new ee(4,4,16,16,K),new ee(8,16,32,32,K),new ee(8,16,128,128,K),new ee(8,32,128,256,K),new ee(32,128,258,1024,K),new ee(32,258,258,4096,K)],i.deflateInit=function(U,oe){return ae(U,oe,y,15,8,0)},i.deflateInit2=ae,i.deflateReset=te,i.deflateResetKeep=ge,i.deflateSetHeader=function(U,oe){return U&&U.state?U.state.wrap!==2?p:(U.state.gzhead=oe,h):p},i.deflate=function(U,oe){var ne,V,X,Z;if(!U||!U.state||5>8&255),F(V,V.gzhead.time>>16&255),F(V,V.gzhead.time>>24&255),F(V,V.level===9?2:2<=V.strategy||V.level<2?4:0),F(V,255&V.gzhead.os),V.gzhead.extra&&V.gzhead.extra.length&&(F(V,255&V.gzhead.extra.length),F(V,V.gzhead.extra.length>>8&255)),V.gzhead.hcrc&&(U.adler=u(U.adler,V.pending_buf,V.pending,0)),V.gzindex=0,V.status=69):(F(V,0),F(V,0),F(V,0),F(V,0),F(V,0),F(V,V.level===9?2:2<=V.strategy||V.level<2?4:0),F(V,3),V.status=P);else{var he=y+(V.w_bits-8<<4)<<8;he|=(2<=V.strategy||V.level<2?0:V.level<6?1:V.level===6?2:3)<<6,V.strstart!==0&&(he|=32),he+=31-he%31,V.status=P,H(V,he),V.strstart!==0&&(H(V,U.adler>>>16),H(V,65535&U.adler)),U.adler=1}if(V.status===69)if(V.gzhead.extra){for(X=V.pending;V.gzindex<(65535&V.gzhead.extra.length)&&(V.pending!==V.pending_buf_size||(V.gzhead.hcrc&&V.pending>X&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),j(U),X=V.pending,V.pending!==V.pending_buf_size));)F(V,255&V.gzhead.extra[V.gzindex]),V.gzindex++;V.gzhead.hcrc&&V.pending>X&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),V.gzindex===V.gzhead.extra.length&&(V.gzindex=0,V.status=73)}else V.status=73;if(V.status===73)if(V.gzhead.name){X=V.pending;do{if(V.pending===V.pending_buf_size&&(V.gzhead.hcrc&&V.pending>X&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),j(U),X=V.pending,V.pending===V.pending_buf_size)){Z=1;break}Z=V.gzindexX&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),Z===0&&(V.gzindex=0,V.status=91)}else V.status=91;if(V.status===91)if(V.gzhead.comment){X=V.pending;do{if(V.pending===V.pending_buf_size&&(V.gzhead.hcrc&&V.pending>X&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),j(U),X=V.pending,V.pending===V.pending_buf_size)){Z=1;break}Z=V.gzindexX&&(U.adler=u(U.adler,V.pending_buf,V.pending-X,X)),Z===0&&(V.status=103)}else V.status=103;if(V.status===103&&(V.gzhead.hcrc?(V.pending+2>V.pending_buf_size&&j(U),V.pending+2<=V.pending_buf_size&&(F(V,255&U.adler),F(V,U.adler>>8&255),U.adler=0,V.status=P)):V.status=P),V.pending!==0){if(j(U),U.avail_out===0)return V.last_flush=-1,h}else if(U.avail_in===0&&z(oe)<=z(ne)&&oe!==d)return $(U,-5);if(V.status===666&&U.avail_in!==0)return $(U,-5);if(U.avail_in!==0||V.lookahead!==0||oe!==f&&V.status!==666){var xe=V.strategy===2?function(G,W){for(var J;;){if(G.lookahead===0&&(Y(G),G.lookahead===0)){if(W===f)return T;break}if(G.match_length=0,J=a._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++,J&&(N(G,!1),G.strm.avail_out===0))return T}return G.insert=0,W===d?(N(G,!0),G.strm.avail_out===0?I:B):G.last_lit&&(N(G,!1),G.strm.avail_out===0)?T:R}(V,oe):V.strategy===3?function(G,W){for(var J,se,ye,ie,fe=G.window;;){if(G.lookahead<=E){if(Y(G),G.lookahead<=E&&W===f)return T;if(G.lookahead===0)break}if(G.match_length=0,G.lookahead>=k&&0G.lookahead&&(G.match_length=G.lookahead)}if(G.match_length>=k?(J=a._tr_tally(G,1,G.match_length-k),G.lookahead-=G.match_length,G.strstart+=G.match_length,G.match_length=0):(J=a._tr_tally(G,0,G.window[G.strstart]),G.lookahead--,G.strstart++),J&&(N(G,!1),G.strm.avail_out===0))return T}return G.insert=0,W===d?(N(G,!0),G.strm.avail_out===0?I:B):G.last_lit&&(N(G,!1),G.strm.avail_out===0)?T:R}(V,oe):o[V.level].func(V,oe);if(xe!==I&&xe!==B||(V.status=666),xe===T||xe===I)return U.avail_out===0&&(V.last_flush=-1),h;if(xe===R&&(oe===1?a._tr_align(V):oe!==5&&(a._tr_stored_block(V,0,0,!1),oe===3&&(L(V.head),V.lookahead===0&&(V.strstart=0,V.block_start=0,V.insert=0))),j(U),U.avail_out===0))return V.last_flush=-1,h}return oe!==d?h:V.wrap<=0?1:(V.wrap===2?(F(V,255&U.adler),F(V,U.adler>>8&255),F(V,U.adler>>16&255),F(V,U.adler>>24&255),F(V,255&U.total_in),F(V,U.total_in>>8&255),F(V,U.total_in>>16&255),F(V,U.total_in>>24&255)):(H(V,U.adler>>>16),H(V,65535&U.adler)),j(U),0=ne.w_size&&(Z===0&&(L(ne.head),ne.strstart=0,ne.block_start=0,ne.insert=0),W=new s.Buf8(ne.w_size),s.arraySet(W,oe,J-ne.w_size,ne.w_size,0),oe=W,J=ne.w_size),he=U.avail_in,xe=U.next_in,G=U.input,U.avail_in=J,U.next_in=0,U.input=oe,Y(ne);ne.lookahead>=k;){for(V=ne.strstart,X=ne.lookahead-(k-1);ne.ins_h=(ne.ins_h<>>=k=O>>>24,x-=k,(k=O>>>16&255)===0)R[c++]=65535&O;else{if(!(16&k)){if(!(64&k)){O=b[(65535&O)+(y&(1<>>=k,x-=k),x<15&&(y+=T[l++]<>>=k=O>>>24,x-=k,!(16&(k=O>>>16&255))){if(!(64&k)){O=w[(65535&O)+(y&(1<>>=k,x-=k,(k=c-f)>3,y&=(1<<(x-=E<<3))-1,o.next_in=l,o.next_out=c,o.avail_in=l>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x(A){var P;return A&&A.state?(P=A.state,A.total_in=A.total_out=P.total=0,A.msg="",P.wrap&&(A.adler=1&P.wrap),P.mode=p,P.last=0,P.havedict=0,P.dmax=32768,P.head=null,P.hold=0,P.bits=0,P.lencode=P.lendyn=new o.Buf32(g),P.distcode=P.distdyn=new o.Buf32(m),P.sane=1,P.back=-1,d):h}function b(A){var P;return A&&A.state?((P=A.state).wsize=0,P.whave=0,P.wnext=0,x(A)):h}function w(A,P){var T,R;return A&&A.state?(R=A.state,P<0?(T=0,P=-P):(T=1+(P>>4),P<48&&(P&=15)),P&&(P<8||15=B.wsize?(o.arraySet(B.window,P,T-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(R<(I=B.wsize-B.wnext)&&(I=R),o.arraySet(B.window,P,T-R,I,B.wnext),(R-=I)?(o.arraySet(B.window,P,T-R,R,0),B.wnext=R,B.whave=B.wsize):(B.wnext+=I,B.wnext===B.wsize&&(B.wnext=0),B.whave>>8&255,T.check=a(T.check,Z,2,0),N=j=0,T.mode=2;break}if(T.flags=0,T.head&&(T.head.done=!1),!(1&T.wrap)||(((255&j)<<8)+(j>>8))%31){A.msg="incorrect header check",T.mode=30;break}if((15&j)!=8){A.msg="unknown compression method",T.mode=30;break}if(N-=4,U=8+(15&(j>>>=4)),T.wbits===0)T.wbits=U;else if(U>T.wbits){A.msg="invalid window size",T.mode=30;break}T.dmax=1<>8&1),512&T.flags&&(Z[0]=255&j,Z[1]=j>>>8&255,T.check=a(T.check,Z,2,0)),N=j=0,T.mode=3;case 3:for(;N<32;){if(z===0)break e;z--,j+=R[B++]<>>8&255,Z[2]=j>>>16&255,Z[3]=j>>>24&255,T.check=a(T.check,Z,4,0)),N=j=0,T.mode=4;case 4:for(;N<16;){if(z===0)break e;z--,j+=R[B++]<>8),512&T.flags&&(Z[0]=255&j,Z[1]=j>>>8&255,T.check=a(T.check,Z,2,0)),N=j=0,T.mode=5;case 5:if(1024&T.flags){for(;N<16;){if(z===0)break e;z--,j+=R[B++]<>>8&255,T.check=a(T.check,Z,2,0)),N=j=0}else T.head&&(T.head.extra=null);T.mode=6;case 6:if(1024&T.flags&&(z<(q=T.length)&&(q=z),q&&(T.head&&(U=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),o.arraySet(T.head.extra,R,B,q,U)),512&T.flags&&(T.check=a(T.check,R,q,B)),z-=q,B+=q,T.length-=q),T.length))break e;T.length=0,T.mode=7;case 7:if(2048&T.flags){if(z===0)break e;for(q=0;U=R[B+q++],T.head&&U&&T.length<65536&&(T.head.name+=String.fromCharCode(U)),U&&q>9&1,T.head.done=!0),A.adler=T.check=0,T.mode=12;break;case 10:for(;N<32;){if(z===0)break e;z--,j+=R[B++]<>>=7&N,N-=7&N,T.mode=27;break}for(;N<3;){if(z===0)break e;z--,j+=R[B++]<>>=1)){case 0:T.mode=14;break;case 1:if(E(T),T.mode=20,P!==6)break;j>>>=2,N-=2;break e;case 2:T.mode=17;break;case 3:A.msg="invalid block type",T.mode=30}j>>>=2,N-=2;break;case 14:for(j>>>=7&N,N-=7&N;N<32;){if(z===0)break e;z--,j+=R[B++]<>>16^65535)){A.msg="invalid stored block lengths",T.mode=30;break}if(T.length=65535&j,N=j=0,T.mode=15,P===6)break e;case 15:T.mode=16;case 16:if(q=T.length){if(z>>=5,N-=5,T.ndist=1+(31&j),j>>>=5,N-=5,T.ncode=4+(15&j),j>>>=4,N-=4,286>>=3,N-=3}for(;T.have<19;)T.lens[he[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,ne={bits:T.lenbits},oe=u(0,T.lens,0,19,T.lencode,0,T.work,ne),T.lenbits=ne.bits,oe){A.msg="invalid code lengths set",T.mode=30;break}T.have=0,T.mode=19;case 19:for(;T.have>>16&255,re=65535&X,!((K=X>>>24)<=N);){if(z===0)break e;z--,j+=R[B++]<>>=K,N-=K,T.lens[T.have++]=re;else{if(re===16){for(V=K+2;N>>=K,N-=K,T.have===0){A.msg="invalid bit length repeat",T.mode=30;break}U=T.lens[T.have-1],q=3+(3&j),j>>>=2,N-=2}else if(re===17){for(V=K+3;N>>=K)),j>>>=3,N-=3}else{for(V=K+7;N>>=K)),j>>>=7,N-=7}if(T.have+q>T.nlen+T.ndist){A.msg="invalid bit length repeat",T.mode=30;break}for(;q--;)T.lens[T.have++]=U}}if(T.mode===30)break;if(T.lens[256]===0){A.msg="invalid code -- missing end-of-block",T.mode=30;break}if(T.lenbits=9,ne={bits:T.lenbits},oe=u(c,T.lens,0,T.nlen,T.lencode,0,T.work,ne),T.lenbits=ne.bits,oe){A.msg="invalid literal/lengths set",T.mode=30;break}if(T.distbits=6,T.distcode=T.distdyn,ne={bits:T.distbits},oe=u(f,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,ne),T.distbits=ne.bits,oe){A.msg="invalid distances set",T.mode=30;break}if(T.mode=20,P===6)break e;case 20:T.mode=21;case 21:if(6<=z&&258<=L){A.next_out=$,A.avail_out=L,A.next_in=B,A.avail_in=z,T.hold=j,T.bits=N,l(A,H),$=A.next_out,I=A.output,L=A.avail_out,B=A.next_in,R=A.input,z=A.avail_in,j=T.hold,N=T.bits,T.mode===12&&(T.back=-1);break}for(T.back=0;ee=(X=T.lencode[j&(1<>>16&255,re=65535&X,!((K=X>>>24)<=N);){if(z===0)break e;z--,j+=R[B++]<>ge)])>>>16&255,re=65535&X,!(ge+(K=X>>>24)<=N);){if(z===0)break e;z--,j+=R[B++]<>>=ge,N-=ge,T.back+=ge}if(j>>>=K,N-=K,T.back+=K,T.length=re,ee===0){T.mode=26;break}if(32&ee){T.back=-1,T.mode=12;break}if(64&ee){A.msg="invalid literal/length code",T.mode=30;break}T.extra=15&ee,T.mode=22;case 22:if(T.extra){for(V=T.extra;N>>=T.extra,N-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=23;case 23:for(;ee=(X=T.distcode[j&(1<>>16&255,re=65535&X,!((K=X>>>24)<=N);){if(z===0)break e;z--,j+=R[B++]<>ge)])>>>16&255,re=65535&X,!(ge+(K=X>>>24)<=N);){if(z===0)break e;z--,j+=R[B++]<>>=ge,N-=ge,T.back+=ge}if(j>>>=K,N-=K,T.back+=K,64&ee){A.msg="invalid distance code",T.mode=30;break}T.offset=re,T.extra=15&ee,T.mode=24;case 24:if(T.extra){for(V=T.extra;N>>=T.extra,N-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){A.msg="invalid distance too far back",T.mode=30;break}T.mode=25;case 25:if(L===0)break e;if(q=H-L,T.offset>q){if((q=T.offset-q)>T.whave&&T.sane){A.msg="invalid distance too far back",T.mode=30;break}Y=q>T.wnext?(q-=T.wnext,T.wsize-q):T.wnext-q,q>T.length&&(q=T.length),le=T.window}else le=I,Y=$-T.offset,q=T.length;for(LS?(k=Y[le+m[P]],N[F+m[P]]):(k=96,0),y=1<>$)+(x-=y)]=O<<24|k<<16|E|0,x!==0;);for(y=1<>=1;if(y!==0?(j&=y-1,j+=y):j=0,P++,--H[A]==0){if(A===R)break;A=f[d+m[P]]}if(I>>7)]}function F(X,Z){X.pending_buf[X.pending++]=255&Z,X.pending_buf[X.pending++]=Z>>>8&255}function H(X,Z,he){X.bi_valid>v-he?(X.bi_buf|=Z<>v-X.bi_valid,X.bi_valid+=he-v):(X.bi_buf|=Z<>>=1,he<<=1,0<--Z;);return he>>>1}function le(X,Z,he){var xe,G,W=new Array(m+1),J=0;for(xe=1;xe<=m;xe++)W[xe]=J=J+he[xe-1]<<1;for(G=0;G<=Z;G++){var se=X[2*G+1];se!==0&&(X[2*G]=Y(W[se]++,se))}}function K(X){var Z;for(Z=0;Z>1;1<=he;he--)ge(X,W,he);for(G=ye;he=X.heap[1],X.heap[1]=X.heap[X.heap_len--],ge(X,W,1),xe=X.heap[1],X.heap[--X.heap_max]=he,X.heap[--X.heap_max]=xe,W[2*G]=W[2*he]+W[2*xe],X.depth[G]=(X.depth[he]>=X.depth[xe]?X.depth[he]:X.depth[xe])+1,W[2*he+1]=W[2*xe+1]=G,X.heap[1]=G++,ge(X,W,1),2<=X.heap_len;);X.heap[--X.heap_max]=X.heap[1],function(fe,Q){var _e,we,Ie,Pe,Me,Te,Le=Q.dyn_tree,ce=Q.max_code,$e=Q.stat_desc.static_tree,Se=Q.stat_desc.has_stree,He=Q.stat_desc.extra_bits,tt=Q.stat_desc.extra_base,ct=Q.stat_desc.max_length,Ht=0;for(Pe=0;Pe<=m;Pe++)fe.bl_count[Pe]=0;for(Le[2*fe.heap[fe.heap_max]+1]=0,_e=fe.heap_max+1;_e>=7;G>>=1)if(1&ie&&se.dyn_ltree[2*ye]!==0)return s;if(se.dyn_ltree[18]!==0||se.dyn_ltree[20]!==0||se.dyn_ltree[26]!==0)return a;for(ye=32;ye>>3,(W=X.static_len+3+7>>>3)<=G&&(G=W)):G=W=he+5,he+4<=G&&Z!==-1?V(X,Z,he,xe):X.strategy===4||W===G?(H(X,2+(xe?1:0),3),te(X,M,A)):(H(X,4+(xe?1:0),3),function(se,ye,ie,fe){var Q;for(H(se,ye-257,5),H(se,ie-1,5),H(se,fe-4,4),Q=0;Q>>8&255,X.pending_buf[X.d_buf+2*X.last_lit+1]=255&Z,X.pending_buf[X.l_buf+X.last_lit]=255&he,X.last_lit++,Z===0?X.dyn_ltree[2*he]++:(X.matches++,Z--,X.dyn_ltree[2*(T[he]+f+1)]++,X.dyn_dtree[2*N(Z)]++),X.last_lit===X.lit_bufsize-1},i._tr_align=function(X){H(X,2,3),q(X,x,M),function(Z){Z.bi_valid===16?(F(Z,Z.bi_buf),Z.bi_buf=0,Z.bi_valid=0):8<=Z.bi_valid&&(Z.pending_buf[Z.pending++]=255&Z.bi_buf,Z.bi_buf>>=8,Z.bi_valid-=8)}(X)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(s,a){if(!s.setImmediate){var l,u,c,f,d=1,h={},p=!1,g=s.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(s);m=m&&m.setTimeout?m:s,l={}.toString.call(s.process)==="[object process]"?function(b){process.nextTick(function(){y(b)})}:function(){if(s.postMessage&&!s.importScripts){var b=!0,w=s.onmessage;return s.onmessage=function(){b=!1},s.postMessage("","*"),s.onmessage=w,b}}()?(f="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",x,!1):s.attachEvent("onmessage",x),function(b){s.postMessage(f+b,"*")}):s.MessageChannel?((c=new MessageChannel).port1.onmessage=function(b){y(b.data)},function(b){c.port2.postMessage(b)}):g&&"onreadystatechange"in g.createElement("script")?(u=g.documentElement,function(b){var w=g.createElement("script");w.onreadystatechange=function(){y(b),w.onreadystatechange=null,u.removeChild(w),w=null},u.appendChild(w)}):function(b){setTimeout(y,0,b)},m.setImmediate=function(b){typeof b!="function"&&(b=new Function(""+b));for(var w=new Array(arguments.length-1),_=0;_"u"?o===void 0?this:o:self)}).call(this,typeof ei<"u"?ei:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(ADe);var B_t=ADe.exports;const U_t=on(B_t);var PDe={exports:{}};(function(t,e){(function(n,r){r()})(ei,function(){function n(u,c){return typeof c>"u"?c={autoBom:!1}:typeof c!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),c={autoBom:!c}),c.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(u.type)?new Blob(["\uFEFF",u],{type:u.type}):u}function r(u,c,f){var d=new XMLHttpRequest;d.open("GET",u),d.responseType="blob",d.onload=function(){l(d.response,c,f)},d.onerror=function(){console.error("could not download file")},d.send()}function i(u){var c=new XMLHttpRequest;c.open("HEAD",u,!1);try{c.send()}catch{}return 200<=c.status&&299>=c.status}function o(u){try{u.dispatchEvent(new MouseEvent("click"))}catch{var c=document.createEvent("MouseEvents");c.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),u.dispatchEvent(c)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof ei=="object"&&ei.global===ei?ei:void 0,a=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(u,c,f){var d=s.URL||s.webkitURL,h=document.createElement("a");c=c||u.name||"download",h.download=c,h.rel="noopener",typeof u=="string"?(h.href=u,h.origin===location.origin?o(h):i(h.href)?r(u,c,f):o(h,h.target="_blank")):(h.href=d.createObjectURL(u),setTimeout(function(){d.revokeObjectURL(h.href)},4e4),setTimeout(function(){o(h)},0))}:"msSaveOrOpenBlob"in navigator?function(u,c,f){if(c=c||u.name||"download",typeof u!="string")navigator.msSaveOrOpenBlob(n(u,f),c);else if(i(u))r(u,c,f);else{var d=document.createElement("a");d.href=u,d.target="_blank",setTimeout(function(){o(d)})}}:function(u,c,f,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof u=="string")return r(u,c,f);var h=u.type==="application/octet-stream",p=/constructor/i.test(s.HTMLElement)||s.safari,g=/CriOS\/[\d]+/.test(navigator.userAgent);if((g||h&&p||a)&&typeof FileReader<"u"){var m=new FileReader;m.onloadend=function(){var x=m.result;x=g?x:x.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=x:location=x,d=null},m.readAsDataURL(u)}else{var v=s.URL||s.webkitURL,y=v.createObjectURL(u);d?d.location=y:location.href=y,d=null,setTimeout(function(){v.revokeObjectURL(y)},4e4)}});s.saveAs=l.saveAs=l,t.exports=l})})(PDe);var MDe=PDe.exports;const Jhe=t=>{let e;const n=new Set,r=(u,c)=>{const f=typeof u=="function"?u(e):u;if(!Object.is(f,e)){const d=e;e=c??(typeof f!="object"||f===null)?f:Object.assign({},e,f),n.forEach(h=>h(e,d))}},i=()=>e,a={setState:r,getState:i,getInitialState:()=>l,subscribe:u=>(n.add(u),()=>n.delete(u))},l=e=t(r,i,a);return a},W_t=t=>t?Jhe(t):Jhe,V_t=t=>t;function G_t(t,e=V_t){const n=de.useSyncExternalStore(t.subscribe,()=>e(t.getState()),()=>e(t.getInitialState()));return de.useDebugValue(n),n}const epe=t=>{const e=W_t(t),n=r=>G_t(e,r);return Object.assign(n,e),n},H_t=t=>t?epe(t):epe,q_t={Date:!0,RegExp:!0,String:!0,Number:!0};function RDe(t,e,n={cyclesFix:!0},r=[]){var a,l;let i=[];const o=Array.isArray(t);for(const u in t){const c=t[u],f=o?+u:u;if(!(u in e)){i.push({type:"REMOVE",path:[f],oldValue:t[u]});continue}const d=e[u],h=typeof c=="object"&&typeof d=="object"&&Array.isArray(c)===Array.isArray(d);if(c&&d&&h&&!q_t[(l=(a=Object.getPrototypeOf(c))==null?void 0:a.constructor)==null?void 0:l.name]&&(!n.cyclesFix||!r.includes(c))){const p=RDe(c,d,n,n.cyclesFix?r.concat([c]):[]);i.push.apply(i,p.map(g=>(g.path.unshift(f),g)))}else c!==d&&!(Number.isNaN(c)&&Number.isNaN(d))&&!(h&&(isNaN(c)?c+""==d+"":+c==+d))&&i.push({path:[f],type:"CHANGE",value:d,oldValue:c})}const s=Array.isArray(e);for(const u in e)u in t||i.push({type:"CREATE",path:[s?+u:u],value:e[u]});return i}const tpe={};function Rq(t,e){t===void 0&&(t=tpe),e===void 0&&(e=tpe);const n=Object.keys(t),r=Object.keys(e);return t===e||n.length===r.length&&n.every(i=>t[i]===e[i])}/*! + * https://github.com/Starcounter-Jack/JSON-Patch + * (c) 2017-2022 Joachim Wester + * MIT licensed + */var X_t=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Y_t=Object.prototype.hasOwnProperty;function Dq(t,e){return Y_t.call(t,e)}function Iq(t){if(Array.isArray(t)){for(var e=new Array(t.length),n=0;n=48&&r<=57){e++;continue}return!1}return!0}function N0(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function DDe(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function $q(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var e=0,n=t.length;e0&&l[c-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&d===void 0&&(u[h]===void 0?d=l.slice(0,c).join("/"):c==f-1&&(d=e.path),d!==void 0&&p(e,0,t,d)),c++,Array.isArray(u)){if(h==="-")h=u.length;else{if(n&&!Lq(h))throw new Di("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,e,t);Lq(h)&&(h=~~h)}if(c>=f){if(n&&e.op==="add"&&h>u.length)throw new Di("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,e,t);var s=K_t[e.op].call(e,u,h,t);if(s.test===!1)throw new Di("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return s}}else if(c>=f){var s=r_[e.op].call(e,u,h,t);if(s.test===!1)throw new Di("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return s}if(u=u[h],n&&c0)throw new Di('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,t,n);if((t.op==="move"||t.op==="copy")&&typeof t.from!="string")throw new Di("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,t,n);if((t.op==="add"||t.op==="replace"||t.op==="test")&&t.value===void 0)throw new Di("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,t,n);if((t.op==="add"||t.op==="replace"||t.op==="test")&&$q(t.value))throw new Di("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",e,t,n);if(n){if(t.op=="add"){var i=t.path.split("/").length,o=r.split("/").length;if(i!==o+1&&i!==o)throw new Di("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",e,t,n)}else if(t.op==="replace"||t.op==="remove"||t.op==="_get"){if(t.path!==r)throw new Di("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",e,t,n)}else if(t.op==="move"||t.op==="copy"){var s={op:"_get",path:t.from,value:void 0},a=LDe([s],n);if(a&&a.name==="OPERATION_PATH_UNRESOLVABLE")throw new Di("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",e,t,n)}}}else throw new Di("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",e,t,n)}function LDe(t,e,n){try{if(!Array.isArray(t))throw new Di("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)W4(ou(e),ou(t),n||!0);else{n=n||fN;for(var r=0;r0&&(t.patches=[],t.callback&&t.callback(r)),r}function Gte(t,e,n,r,i){if(e!==t){typeof e.toJSON=="function"&&(e=e.toJSON());for(var o=Iq(e),s=Iq(t),a=!1,l=s.length-1;l>=0;l--){var u=s[l],c=t[u];if(Dq(e,u)&&!(e[u]===void 0&&c!==void 0&&Array.isArray(e)===!1)){var f=e[u];typeof c=="object"&&c!=null&&typeof f=="object"&&f!=null&&Array.isArray(c)===Array.isArray(f)?Gte(c,f,n,r+"/"+N0(u),i):c!==f&&(i&&n.push({op:"test",path:r+"/"+N0(u),value:ou(c)}),n.push({op:"replace",path:r+"/"+N0(u),value:ou(f)}))}else Array.isArray(t)===Array.isArray(e)?(i&&n.push({op:"test",path:r+"/"+N0(u),value:ou(c)}),n.push({op:"remove",path:r+"/"+N0(u)}),a=!0):(i&&n.push({op:"test",path:r,value:t}),n.push({op:"replace",path:r,value:e}))}if(!(!a&&o.length==s.length))for(var l=0;l0)return[x,r+d.join(`, +`+v),c].join(` +`+l)}return b}(e,"",0)};const MW=on(cSt);function kl(t,e,n){return t.fields=e||[],t.fname=n,t}function Ni(t){return t==null?null:t.fname}function Ys(t){return t==null?null:t.fields}function $De(t){return t.length===1?fSt(t[0]):dSt(t)}const fSt=t=>function(e){return e[t]},dSt=t=>{const e=t.length;return function(n){for(let r=0;rs?u():s=a+1:l==="["?(a>s&&u(),i=s=a+1):l==="]"&&(i||je("Access path missing open bracket: "+t),i>0&&u(),i=0,s=a+1)}return i&&je("Access path missing closing bracket: "+t),r&&je("Access path missing closing quote: "+t),a>s&&(a++,u()),e}function Ec(t,e,n){const r=zh(t);return t=r.length===1?r[0]:t,kl((n&&n.get||$De)(r),[t],e||t)}const eR=Ec("id"),ea=kl(t=>t,[],"identity"),nv=kl(()=>0,[],"zero"),pO=kl(()=>1,[],"one"),Tc=kl(()=>!0,[],"true"),Pm=kl(()=>!1,[],"false");function hSt(t,e,n){const r=[e].concat([].slice.call(n));console[t].apply(console,r)}const FDe=0,Hte=1,qte=2,NDe=3,zDe=4;function Xte(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:hSt,r=t||FDe;return{level(i){return arguments.length?(r=+i,this):r},error(){return r>=Hte&&n(e||"error","ERROR",arguments),this},warn(){return r>=qte&&n(e||"warn","WARN",arguments),this},info(){return r>=NDe&&n(e||"log","INFO",arguments),this},debug(){return r>=zDe&&n(e||"log","DEBUG",arguments),this}}}var We=Array.isArray;function ht(t){return t===Object(t)}const rpe=t=>t!=="__proto__";function gO(){for(var t=arguments.length,e=new Array(t),n=0;n{for(const o in i)if(o==="signals")r.signals=pSt(r.signals,i.signals);else{const s=o==="legend"?{layout:1}:o==="style"?!0:null;mO(r,o,i[o],s)}return r},{})}function mO(t,e,n,r){if(!rpe(e))return;let i,o;if(ht(n)&&!We(n)){o=ht(t[e])?t[e]:t[e]={};for(i in n)r&&(r===!0||r[i])?mO(o,i,n[i]):rpe(i)&&(o[i]=n[i])}else t[e]=n}function pSt(t,e){if(t==null)return e;const n={},r=[];function i(o){n[o.name]||(n[o.name]=1,r.push(o))}return e.forEach(i),t.forEach(i),r}function $n(t){return t[t.length-1]}function qs(t){return t==null||t===""?null:+t}const jDe=t=>e=>t*Math.exp(e),BDe=t=>e=>Math.log(t*e),UDe=t=>e=>Math.sign(e)*Math.log1p(Math.abs(e/t)),WDe=t=>e=>Math.sign(e)*Math.expm1(Math.abs(e))*t,dN=t=>e=>e<0?-Math.pow(-e,t):Math.pow(e,t);function V4(t,e,n,r){const i=n(t[0]),o=n($n(t)),s=(o-i)*e;return[r(i-s),r(o-s)]}function VDe(t,e){return V4(t,e,qs,ea)}function GDe(t,e){var n=Math.sign(t[0]);return V4(t,e,BDe(n),jDe(n))}function HDe(t,e,n){return V4(t,e,dN(n),dN(1/n))}function qDe(t,e,n){return V4(t,e,UDe(n),WDe(n))}function G4(t,e,n,r,i){const o=r(t[0]),s=r($n(t)),a=e!=null?r(e):(o+s)/2;return[i(a+(o-a)*n),i(a+(s-a)*n)]}function Yte(t,e,n){return G4(t,e,n,qs,ea)}function Qte(t,e,n){const r=Math.sign(t[0]);return G4(t,e,n,BDe(r),jDe(r))}function hN(t,e,n,r){return G4(t,e,n,dN(r),dN(1/r))}function Kte(t,e,n,r){return G4(t,e,n,UDe(r),WDe(r))}function XDe(t){return 1+~~(new Date(t).getMonth()/3)}function YDe(t){return 1+~~(new Date(t).getUTCMonth()/3)}function pt(t){return t!=null?We(t)?t:[t]:[]}function QDe(t,e,n){let r=t[0],i=t[1],o;return i=n-e?[e,n]:[r=Math.min(Math.max(r,e),n-o),r+o]}function fn(t){return typeof t=="function"}const gSt="descending";function Zte(t,e,n){n=n||{},e=pt(e)||[];const r=[],i=[],o={},s=n.comparator||mSt;return pt(t).forEach((a,l)=>{a!=null&&(r.push(e[l]===gSt?-1:1),i.push(a=fn(a)?a:Ec(a,null,n)),(Ys(a)||[]).forEach(u=>o[u]=1))}),i.length===0?null:kl(s(i,r),Object.keys(o))}const H4=(t,e)=>(te||e==null)&&t!=null?1:(e=e instanceof Date?+e:e,(t=t instanceof Date?+t:t)!==t&&e===e?-1:e!==e&&t===t?1:0),mSt=(t,e)=>t.length===1?vSt(t[0],e[0]):ySt(t,e,t.length),vSt=(t,e)=>function(n,r){return H4(t(n),t(r))*e},ySt=(t,e,n)=>(e.push(0),function(r,i){let o,s=0,a=-1;for(;s===0&&++at}function Jte(t,e){let n;return r=>{n&&clearTimeout(n),n=setTimeout(()=>(e(r),n=null),t)}}function un(t){for(let e,n,r=1,i=arguments.length;rs&&(s=i))}else{for(i=e(t[n]);ns&&(s=i))}return[o,s]}function KDe(t,e){const n=t.length;let r=-1,i,o,s,a,l;if(e==null){for(;++r=o){i=s=o;break}if(r===n)return[-1,-1];for(a=l=r;++ro&&(i=o,a=r),s=o){i=s=o;break}if(r===n)return[-1,-1];for(a=l=r;++ro&&(i=o,a=r),s{i.set(o,t[o])}),i}function ZDe(t,e,n,r,i,o){if(!n&&n!==0)return o;const s=+n;let a=t[0],l=$n(t),u;lo&&(s=i,i=o,o=s),n=n===void 0||n,r=r===void 0||r,(n?i<=t:ia.replace(/\\(.)/g,"$1")):pt(t));const r=t&&t.length,i=n&&n.get||$De,o=a=>i(e?[a]:zh(a));let s;if(!r)s=function(){return""};else if(r===1){const a=o(t[0]);s=function(l){return""+a(l)}}else{const a=t.map(o);s=function(l){let u=""+a[0](l),c=0;for(;++c{e={},n={},r=0},o=(s,a)=>(++r>t&&(n=e,e={},r=1),e[s]=a);return i(),{clear:i,has:s=>vt(e,s)||vt(n,s),get:s=>vt(e,s)?e[s]:vt(n,s)?o(s,n[s]):void 0,set:(s,a)=>vt(e,s)?e[s]=a:o(s,a)}}function rIe(t,e,n,r){const i=e.length,o=n.length;if(!o)return e;if(!i)return n;const s=r||new e.constructor(i+o);let a=0,l=0,u=0;for(;a0?n[l++]:e[a++];for(;a=0;)n+=t;return n}function iIe(t,e,n,r){const i=n||" ",o=t+"",s=e-o.length;return s<=0?o:r==="left"?J2(i,s)+o:r==="center"?J2(i,~~(s/2))+o+J2(i,Math.ceil(s/2)):o+J2(i,s)}function tR(t){return t&&$n(t)-t[0]||0}function rt(t){return We(t)?"["+t.map(rt)+"]":ht(t)||gt(t)?JSON.stringify(t).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):t}function tne(t){return t==null||t===""?null:!t||t==="false"||t==="0"?!1:!!t}const wSt=t=>Jn(t)||Fv(t)?t:Date.parse(t);function nne(t,e){return e=e||wSt,t==null||t===""?null:e(t)}function rne(t){return t==null||t===""?null:t+""}function Wf(t){const e={},n=t.length;for(let r=0;r9999?"+"+Wa(t,6):Wa(t,4)}function CSt(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":SSt(t.getUTCFullYear())+"-"+Wa(t.getUTCMonth()+1,2)+"-"+Wa(t.getUTCDate(),2)+(i?"T"+Wa(e,2)+":"+Wa(n,2)+":"+Wa(r,2)+"."+Wa(i,3)+"Z":r?"T"+Wa(e,2)+":"+Wa(n,2)+":"+Wa(r,2)+"Z":n||e?"T"+Wa(e,2)+":"+Wa(n,2)+"Z":"")}function OSt(t){var e=new RegExp('["'+t+` +\r]`),n=t.charCodeAt(0);function r(f,d){var h,p,g=i(f,function(m,v){if(h)return h(m,v-1);p=m,h=d?_St(m,d):sIe(m)});return g.columns=p||[],g}function i(f,d){var h=[],p=f.length,g=0,m=0,v,y=p<=0,x=!1;f.charCodeAt(p-1)===BE&&--p,f.charCodeAt(p-1)===IW&&--p;function b(){if(y)return RW;if(x)return x=!1,ipe;var _,S=g,O;if(f.charCodeAt(S)===DW){for(;g++=p?y=!0:(O=f.charCodeAt(g++))===BE?x=!0:O===IW&&(x=!0,f.charCodeAt(g)===BE&&++g),f.slice(S+1,_-1).replace(/""/g,'"')}for(;g1)r=DSt(t,e,n);else for(i=0,r=new Array(o=t.arcs.length);ie?1:t>=e?0:NaN}function ISt(t,e){return t==null||e==null?NaN:et?1:e>=t?0:NaN}function yO(t){let e,n,r;t.length!==2?(e=hh,n=(a,l)=>hh(t(a),l),r=(a,l)=>t(a)-l):(e=t===hh||t===ISt?t:LSt,n=t,r=t);function i(a,l,u=0,c=a.length){if(u>>1;n(a[f],l)<0?u=f+1:c=f}while(u>>1;n(a[f],l)<=0?u=f+1:c=f}while(uu&&r(a[f-1],l)>-r(a[f],l)?f-1:f}return{left:i,center:s,right:o}}function LSt(){return 0}function lIe(t){return t===null?NaN:+t}function*$St(t,e){if(e===void 0)for(let n of t)n!=null&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)(r=e(r,++n,t))!=null&&(r=+r)>=r&&(yield r)}}const uIe=yO(hh),Rg=uIe.right,FSt=uIe.left;yO(lIe).center;function NSt(t,e){let n=0,r,i=0,o=0;if(e===void 0)for(let s of t)s!=null&&(s=+s)>=s&&(r=s-i,i+=r/++n,o+=r*(s-i));else{let s=-1;for(let a of t)(a=e(a,++s,t))!=null&&(a=+a)>=a&&(r=a-i,i+=r/++n,o+=r*(a-i))}if(n>1)return o/(n-1)}function zSt(t,e){const n=NSt(t,e);return n&&Math.sqrt(n)}class Ca{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const n=this._partials;let r=0;for(let i=0;i0){for(s=e[--n];n>0&&(r=s,i=e[--n],s=r+i,o=i-(s-r),!o););n>0&&(o<0&&e[n-1]<0||o>0&&e[n-1]>0)&&(i=o*2,r=s+i,i==r-s&&(s=r))}return s}}class ape extends Map{constructor(e,n=dIe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[r,i]of e)this.set(r,i)}get(e){return super.get(Nq(this,e))}has(e){return super.has(Nq(this,e))}set(e,n){return super.set(cIe(this,e),n)}delete(e){return super.delete(fIe(this,e))}}class pN extends Set{constructor(e,n=dIe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const r of e)this.add(r)}has(e){return super.has(Nq(this,e))}add(e){return super.add(cIe(this,e))}delete(e){return super.delete(fIe(this,e))}}function Nq({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function cIe({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function fIe({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function dIe(t){return t!==null&&typeof t=="object"?t.valueOf():t}function jSt(t,e){return Array.from(e,n=>t[n])}function BSt(t=hh){if(t===hh)return hIe;if(typeof t!="function")throw new TypeError("compare is not a function");return(e,n)=>{const r=t(e,n);return r||r===0?r:(t(n,n)===0)-(t(e,e)===0)}}function hIe(t,e){return(t==null||!(t>=t))-(e==null||!(e>=e))||(te?1:0)}const USt=Math.sqrt(50),WSt=Math.sqrt(10),VSt=Math.sqrt(2);function gN(t,e,n){const r=(e-t)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=USt?10:o>=WSt?5:o>=VSt?2:1;let a,l,u;return i<0?(u=Math.pow(10,-i)/s,a=Math.round(t*u),l=Math.round(e*u),a/ue&&--l,u=-u):(u=Math.pow(10,i)*s,a=Math.round(t/u),l=Math.round(e/u),a*ue&&--l),l0))return[];if(t===e)return[t];const r=e=i))return[];const a=o-i+1,l=new Array(a);if(r)if(s<0)for(let u=0;u=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Bq(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function pIe(t,e,n=0,r=1/0,i){if(e=Math.floor(e),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(t.length-1,r)),!(n<=e&&e<=r))return t;for(i=i===void 0?hIe:BSt(i);r>n;){if(r-n>600){const l=r-n+1,u=e-n+1,c=Math.log(l),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(l-f)/l)*(u-l/2<0?-1:1),h=Math.max(n,Math.floor(e-u*f/l+d)),p=Math.min(r,Math.floor(e+(l-u)*f/l+d));pIe(t,e,h,p,i)}const o=t[e];let s=n,a=r;for(UE(t,n,e),i(t[r],o)>0&&UE(t,n,r);s0;)--a}i(t[n],o)===0?UE(t,n,a):(++a,UE(t,a,r)),a<=e&&(n=a+1),e<=a&&(r=a-1)}return t}function UE(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function mN(t,e,n){if(t=Float64Array.from($St(t,n)),!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return Bq(t);if(e>=1)return Ix(t);var r,i=(r-1)*e,o=Math.floor(i),s=Ix(pIe(t,o).subarray(0,o+1)),a=Bq(t.subarray(o+1));return s+(a-s)*(i-o)}}function gIe(t,e,n=lIe){if(!(!(r=t.length)||isNaN(e=+e))){if(e<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),s=+n(t[o],o,t),a=+n(t[o+1],o+1,t);return s+(a-s)*(i-o)}}function GSt(t,e){let n=0,r=0;if(e===void 0)for(let i of t)i!=null&&(i=+i)>=i&&(++n,r+=i);else{let i=-1;for(let o of t)(o=e(o,++i,t))!=null&&(o=+o)>=o&&(++n,r+=o)}if(n)return r/n}function mIe(t,e){return mN(t,.5,e)}function*HSt(t){for(const e of t)yield*e}function vIe(t){return Array.from(HSt(t))}function ol(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(i);++r=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function vN(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function TS(t){return t=vN(Math.abs(t)),t?t[1]:NaN}function KSt(t,e){return function(n,r){for(var i=n.length,o=[],s=0,a=t[0],l=0;i>0&&a>0&&(l+a+1>r&&(a=Math.max(1,r-l)),o.push(n.substring(i-=a,i+a)),!((l+=a+1)>r));)a=t[s=(s+1)%t.length];return o.reverse().join(e)}}function ZSt(t){return function(e){return e.replace(/[0-9]/g,function(n){return t[+n]})}}var JSt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function a1(t){if(!(e=JSt.exec(t)))throw new Error("invalid format: "+t);var e;return new ine({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}a1.prototype=ine.prototype;function ine(t){this.fill=t.fill===void 0?" ":t.fill+"",this.align=t.align===void 0?">":t.align+"",this.sign=t.sign===void 0?"-":t.sign+"",this.symbol=t.symbol===void 0?"":t.symbol+"",this.zero=!!t.zero,this.width=t.width===void 0?void 0:+t.width,this.comma=!!t.comma,this.precision=t.precision===void 0?void 0:+t.precision,this.trim=!!t.trim,this.type=t.type===void 0?"":t.type+""}ine.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function eCt(t){e:for(var e=t.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?t.slice(0,r)+t.slice(i+1):t}var xIe;function tCt(t,e){var n=vN(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(xIe=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+vN(t,Math.max(0,e+o-1))[0]}function lpe(t,e){var n=vN(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const upe={"%":(t,e)=>(t*100).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:QSt,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>lpe(t*100,e),r:lpe,s:tCt,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function cpe(t){return t}var fpe=Array.prototype.map,dpe=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function bIe(t){var e=t.grouping===void 0||t.thousands===void 0?cpe:KSt(fpe.call(t.grouping,Number),t.thousands+""),n=t.currency===void 0?"":t.currency[0]+"",r=t.currency===void 0?"":t.currency[1]+"",i=t.decimal===void 0?".":t.decimal+"",o=t.numerals===void 0?cpe:ZSt(fpe.call(t.numerals,String)),s=t.percent===void 0?"%":t.percent+"",a=t.minus===void 0?"−":t.minus+"",l=t.nan===void 0?"NaN":t.nan+"";function u(f){f=a1(f);var d=f.fill,h=f.align,p=f.sign,g=f.symbol,m=f.zero,v=f.width,y=f.comma,x=f.precision,b=f.trim,w=f.type;w==="n"?(y=!0,w="g"):upe[w]||(x===void 0&&(x=12),b=!0,w="g"),(m||d==="0"&&h==="=")&&(m=!0,d="0",h="=");var _=g==="$"?n:g==="#"&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",S=g==="$"?r:/[%p]/.test(w)?s:"",O=upe[w],k=/[defgprs%]/.test(w);x=x===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x));function E(M){var A=_,P=S,T,R,I;if(w==="c")P=O(M)+P,M="";else{M=+M;var B=M<0||1/M<0;if(M=isNaN(M)?l:O(Math.abs(M),x),b&&(M=eCt(M)),B&&+M==0&&p!=="+"&&(B=!1),A=(B?p==="("?p:a:p==="-"||p==="("?"":p)+A,P=(w==="s"?dpe[8+xIe/3]:"")+P+(B&&p==="("?")":""),k){for(T=-1,R=M.length;++TI||I>57){P=(I===46?i+M.slice(T+1):M.slice(T))+P,M=M.slice(0,T);break}}}y&&!m&&(M=e(M,1/0));var $=A.length+M.length+P.length,z=$>1)+A+M+P+z.slice($);break;default:M=z+A+M+P;break}return o(M)}return E.toString=function(){return f+""},E}function c(f,d){var h=u((f=a1(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(TS(d)/3)))*3,g=Math.pow(10,-p),m=dpe[8+p/3];return function(v){return h(g*v)+m}}return{format:u,formatPrefix:c}}var OI,q4,one;nCt({thousands:",",grouping:[3],currency:["$",""]});function nCt(t){return OI=bIe(t),q4=OI.format,one=OI.formatPrefix,OI}function wIe(t){return Math.max(0,-TS(Math.abs(t)))}function _Ie(t,e){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(TS(e)/3)))*3-TS(Math.abs(t)))}function SIe(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,TS(e)-TS(t))+1}const LW=new Date,$W=new Date;function Eo(t,e,n,r){function i(o){return t(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(t(o=new Date(+o)),o),i.ceil=o=>(t(o=new Date(o-1)),e(o,1),t(o),o),i.round=o=>{const s=i(o),a=i.ceil(o);return o-s(e(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,a)=>{const l=[];if(o=i.ceil(o),a=a==null?1:Math.floor(a),!(o0))return l;let u;do l.push(u=new Date(+o)),e(o,a),t(o);while(uEo(s=>{if(s>=s)for(;t(s),!o(s);)s.setTime(s-1)},(s,a)=>{if(s>=s)if(a<0)for(;++a<=0;)for(;e(s,-1),!o(s););else for(;--a>=0;)for(;e(s,1),!o(s););}),n&&(i.count=(o,s)=>(LW.setTime(+o),$W.setTime(+s),t(LW),t($W),Math.floor(n(LW,$W))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const kS=Eo(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);kS.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?Eo(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):kS);kS.range;const Gp=1e3,ic=Gp*60,Hp=ic*60,Dg=Hp*24,sne=Dg*7,hpe=Dg*30,FW=Dg*365,qp=Eo(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*Gp)},(t,e)=>(e-t)/Gp,t=>t.getUTCSeconds());qp.range;const X4=Eo(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Gp)},(t,e)=>{t.setTime(+t+e*ic)},(t,e)=>(e-t)/ic,t=>t.getMinutes());X4.range;const Y4=Eo(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ic)},(t,e)=>(e-t)/ic,t=>t.getUTCMinutes());Y4.range;const Q4=Eo(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*Gp-t.getMinutes()*ic)},(t,e)=>{t.setTime(+t+e*Hp)},(t,e)=>(e-t)/Hp,t=>t.getHours());Q4.range;const K4=Eo(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*Hp)},(t,e)=>(e-t)/Hp,t=>t.getUTCHours());K4.range;const ig=Eo(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ic)/Dg,t=>t.getDate()-1);ig.range;const Nv=Eo(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Dg,t=>t.getUTCDate()-1);Nv.range;const CIe=Eo(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/Dg,t=>Math.floor(t/Dg));CIe.range;function rb(t){return Eo(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ic)/sne)}const xO=rb(0),yN=rb(1),rCt=rb(2),iCt=rb(3),AS=rb(4),oCt=rb(5),sCt=rb(6);xO.range;yN.range;rCt.range;iCt.range;AS.range;oCt.range;sCt.range;function ib(t){return Eo(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/sne)}const bO=ib(0),xN=ib(1),aCt=ib(2),lCt=ib(3),PS=ib(4),uCt=ib(5),cCt=ib(6);bO.range;xN.range;aCt.range;lCt.range;PS.range;uCt.range;cCt.range;const wA=Eo(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());wA.range;const _A=Eo(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());_A.range;const Oh=Eo(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());Oh.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Eo(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});Oh.range;const Eh=Eo(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());Eh.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:Eo(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});Eh.range;function OIe(t,e,n,r,i,o){const s=[[qp,1,Gp],[qp,5,5*Gp],[qp,15,15*Gp],[qp,30,30*Gp],[o,1,ic],[o,5,5*ic],[o,15,15*ic],[o,30,30*ic],[i,1,Hp],[i,3,3*Hp],[i,6,6*Hp],[i,12,12*Hp],[r,1,Dg],[r,2,2*Dg],[n,1,sne],[e,1,hpe],[e,3,3*hpe],[t,1,FW]];function a(u,c,f){const d=cm).right(s,d);if(h===s.length)return t.every(ny(u/FW,c/FW,f));if(h===0)return kS.every(Math.max(ny(u,c,f),1));const[p,g]=s[d/s[h-1][2](t[e]=1+n,t),{});function lne(t){const e=pt(t).slice(),n={};return e.length||je("Missing time unit."),e.forEach(i=>{vt(NW,i)?n[i]=1:je(`Invalid time unit: ${i}.`)}),(n[wo]||n[Gs]?1:0)+(n[bl]||n[Qs]||n[wl]?1:0)+(n[Th]?1:0)>1&&je(`Incompatible time units: ${t}`),e.sort((i,o)=>NW[i]-NW[o]),e}const gCt={[xs]:"%Y ",[bl]:"Q%q ",[Qs]:"%b ",[wl]:"%d ",[wo]:"W%U ",[Gs]:"%a ",[Th]:"%j ",[Cu]:"%H:00",[Ou]:"00:%M",[kc]:":%S",[Vf]:".%L",[`${xs}-${Qs}`]:"%Y-%m ",[`${xs}-${Qs}-${wl}`]:"%Y-%m-%d ",[`${Cu}-${Ou}`]:"%H:%M"};function EIe(t,e){const n=un({},gCt,e),r=lne(t),i=r.length;let o="",s=0,a,l;for(s=0;ss;--a)if(l=r.slice(s,a).join("-"),n[l]!=null){o+=n[l],s=a;break}return o.trim()}const q0=new Date;function une(t){return q0.setFullYear(t),q0.setMonth(0),q0.setDate(1),q0.setHours(0,0,0,0),q0}function TIe(t){return AIe(new Date(t))}function kIe(t){return Uq(new Date(t))}function AIe(t){return ig.count(une(t.getFullYear())-1,t)}function Uq(t){return xO.count(une(t.getFullYear())-1,t)}function Wq(t){return une(t).getDay()}function mCt(t,e,n,r,i,o,s){if(0<=t&&t<100){const a=new Date(-1,e,n,r,i,o,s);return a.setFullYear(t),a}return new Date(t,e,n,r,i,o,s)}function PIe(t){return RIe(new Date(t))}function MIe(t){return Vq(new Date(t))}function RIe(t){const e=Date.UTC(t.getUTCFullYear(),0,1);return Nv.count(e-1,t)}function Vq(t){const e=Date.UTC(t.getUTCFullYear(),0,1);return bO.count(e-1,t)}function Gq(t){return q0.setTime(Date.UTC(t,0,1)),q0.getUTCDay()}function vCt(t,e,n,r,i,o,s){if(0<=t&&t<100){const a=new Date(Date.UTC(-1,e,n,r,i,o,s));return a.setUTCFullYear(n.y),a}return new Date(Date.UTC(t,e,n,r,i,o,s))}function DIe(t,e,n,r,i){const o=e||1,s=$n(t),a=(v,y,x)=>(x=x||v,yCt(n[x],r[x],v===s&&o,y)),l=new Date,u=Wf(t),c=u[xs]?a(xs):ta(2012),f=u[Qs]?a(Qs):u[bl]?a(bl):nv,d=u[wo]&&u[Gs]?a(Gs,1,wo+Gs):u[wo]?a(wo,1):u[Gs]?a(Gs,1):u[wl]?a(wl,1):u[Th]?a(Th,1):pO,h=u[Cu]?a(Cu):nv,p=u[Ou]?a(Ou):nv,g=u[kc]?a(kc):nv,m=u[Vf]?a(Vf):nv;return function(v){l.setTime(+v);const y=c(l);return i(y,f(l),d(l,y),h(l),p(l),g(l),m(l))}}function yCt(t,e,n,r){const i=n<=1?t:r?(o,s)=>r+n*Math.floor((t(o,s)-r)/n):(o,s)=>n*Math.floor(t(o,s)/n);return e?(o,s)=>e(i(o,s),s):i}function MS(t,e,n){return e+t*7-(n+6)%7}const xCt={[xs]:t=>t.getFullYear(),[bl]:t=>Math.floor(t.getMonth()/3),[Qs]:t=>t.getMonth(),[wl]:t=>t.getDate(),[Cu]:t=>t.getHours(),[Ou]:t=>t.getMinutes(),[kc]:t=>t.getSeconds(),[Vf]:t=>t.getMilliseconds(),[Th]:t=>AIe(t),[wo]:t=>Uq(t),[wo+Gs]:(t,e)=>MS(Uq(t),t.getDay(),Wq(e)),[Gs]:(t,e)=>MS(1,t.getDay(),Wq(e))},bCt={[bl]:t=>3*t,[wo]:(t,e)=>MS(t,0,Wq(e))};function IIe(t,e){return DIe(t,e||1,xCt,bCt,mCt)}const wCt={[xs]:t=>t.getUTCFullYear(),[bl]:t=>Math.floor(t.getUTCMonth()/3),[Qs]:t=>t.getUTCMonth(),[wl]:t=>t.getUTCDate(),[Cu]:t=>t.getUTCHours(),[Ou]:t=>t.getUTCMinutes(),[kc]:t=>t.getUTCSeconds(),[Vf]:t=>t.getUTCMilliseconds(),[Th]:t=>RIe(t),[wo]:t=>Vq(t),[Gs]:(t,e)=>MS(1,t.getUTCDay(),Gq(e)),[wo+Gs]:(t,e)=>MS(Vq(t),t.getUTCDay(),Gq(e))},_Ct={[bl]:t=>3*t,[wo]:(t,e)=>MS(t,0,Gq(e))};function LIe(t,e){return DIe(t,e||1,wCt,_Ct,vCt)}const SCt={[xs]:Oh,[bl]:wA.every(3),[Qs]:wA,[wo]:xO,[wl]:ig,[Gs]:ig,[Th]:ig,[Cu]:Q4,[Ou]:X4,[kc]:qp,[Vf]:kS},CCt={[xs]:Eh,[bl]:_A.every(3),[Qs]:_A,[wo]:bO,[wl]:Nv,[Gs]:Nv,[Th]:Nv,[Cu]:K4,[Ou]:Y4,[kc]:qp,[Vf]:kS};function wO(t){return SCt[t]}function _O(t){return CCt[t]}function $Ie(t,e,n){return t?t.offset(e,n):void 0}function FIe(t,e,n){return $Ie(wO(t),e,n)}function NIe(t,e,n){return $Ie(_O(t),e,n)}function zIe(t,e,n,r){return t?t.range(e,n,r):void 0}function jIe(t,e,n,r){return zIe(wO(t),e,n,r)}function BIe(t,e,n,r){return zIe(_O(t),e,n,r)}const eT=1e3,tT=eT*60,nT=tT*60,Z4=nT*24,OCt=Z4*7,ppe=Z4*30,Hq=Z4*365,UIe=[xs,Qs,wl,Cu,Ou,kc,Vf],rT=UIe.slice(0,-1),iT=rT.slice(0,-1),oT=iT.slice(0,-1),ECt=oT.slice(0,-1),TCt=[xs,wo],gpe=[xs,Qs],WIe=[xs],WE=[[rT,1,eT],[rT,5,5*eT],[rT,15,15*eT],[rT,30,30*eT],[iT,1,tT],[iT,5,5*tT],[iT,15,15*tT],[iT,30,30*tT],[oT,1,nT],[oT,3,3*nT],[oT,6,6*nT],[oT,12,12*nT],[ECt,1,Z4],[TCt,1,OCt],[gpe,1,ppe],[gpe,3,3*ppe],[WIe,1,Hq]];function VIe(t){const e=t.extent,n=t.maxbins||40,r=Math.abs(tR(e))/n;let i=yO(a=>a[2]).right(WE,r),o,s;return i===WE.length?(o=WIe,s=ny(e[0]/Hq,e[1]/Hq,n)):i?(i=WE[r/WE[i-1][2]53)return null;"w"in te||(te.w=1),"Z"in te?(U=jW(VE(te.y,0,1)),oe=U.getUTCDay(),U=oe>4||oe===0?xN.ceil(U):xN(U),U=Nv.offset(U,(te.V-1)*7),te.y=U.getUTCFullYear(),te.m=U.getUTCMonth(),te.d=U.getUTCDate()+(te.w+6)%7):(U=zW(VE(te.y,0,1)),oe=U.getDay(),U=oe>4||oe===0?yN.ceil(U):yN(U),U=ig.offset(U,(te.V-1)*7),te.y=U.getFullYear(),te.m=U.getMonth(),te.d=U.getDate()+(te.w+6)%7)}else("W"in te||"U"in te)&&("w"in te||(te.w="u"in te?te.u%7:"W"in te?1:0),oe="Z"in te?jW(VE(te.y,0,1)).getUTCDay():zW(VE(te.y,0,1)).getDay(),te.m=0,te.d="W"in te?(te.w+6)%7+te.W*7-(oe+5)%7:te.w+te.U*7-(oe+6)%7);return"Z"in te?(te.H+=te.Z/100|0,te.M+=te.Z%100,jW(te)):zW(te)}}function O(ee,re,ge,te){for(var ae=0,U=re.length,oe=ge.length,ne,V;ae=oe)return-1;if(ne=re.charCodeAt(ae++),ne===37){if(ne=re.charAt(ae++),V=w[ne in mpe?re.charAt(ae++):ne],!V||(te=V(ee,ge,te))<0)return-1}else if(ne!=ge.charCodeAt(te++))return-1}return te}function k(ee,re,ge){var te=u.exec(re.slice(ge));return te?(ee.p=c.get(te[0].toLowerCase()),ge+te[0].length):-1}function E(ee,re,ge){var te=h.exec(re.slice(ge));return te?(ee.w=p.get(te[0].toLowerCase()),ge+te[0].length):-1}function M(ee,re,ge){var te=f.exec(re.slice(ge));return te?(ee.w=d.get(te[0].toLowerCase()),ge+te[0].length):-1}function A(ee,re,ge){var te=v.exec(re.slice(ge));return te?(ee.m=y.get(te[0].toLowerCase()),ge+te[0].length):-1}function P(ee,re,ge){var te=g.exec(re.slice(ge));return te?(ee.m=m.get(te[0].toLowerCase()),ge+te[0].length):-1}function T(ee,re,ge){return O(ee,e,re,ge)}function R(ee,re,ge){return O(ee,n,re,ge)}function I(ee,re,ge){return O(ee,r,re,ge)}function B(ee){return s[ee.getDay()]}function $(ee){return o[ee.getDay()]}function z(ee){return l[ee.getMonth()]}function L(ee){return a[ee.getMonth()]}function j(ee){return i[+(ee.getHours()>=12)]}function N(ee){return 1+~~(ee.getMonth()/3)}function F(ee){return s[ee.getUTCDay()]}function H(ee){return o[ee.getUTCDay()]}function q(ee){return l[ee.getUTCMonth()]}function Y(ee){return a[ee.getUTCMonth()]}function le(ee){return i[+(ee.getUTCHours()>=12)]}function K(ee){return 1+~~(ee.getUTCMonth()/3)}return{format:function(ee){var re=_(ee+="",x);return re.toString=function(){return ee},re},parse:function(ee){var re=S(ee+="",!1);return re.toString=function(){return ee},re},utcFormat:function(ee){var re=_(ee+="",b);return re.toString=function(){return ee},re},utcParse:function(ee){var re=S(ee+="",!0);return re.toString=function(){return ee},re}}}var mpe={"-":"",_:" ",0:"0"},Xo=/^\s*\d+/,kCt=/^%/,ACt=/[\\^$*+?|[\]().{}]/g;function er(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[e.toLowerCase(),n]))}function MCt(t,e,n){var r=Xo.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function RCt(t,e,n){var r=Xo.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function DCt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function ICt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function LCt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function vpe(t,e,n){var r=Xo.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ype(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function $Ct(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function FCt(t,e,n){var r=Xo.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function NCt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function xpe(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function zCt(t,e,n){var r=Xo.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function bpe(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function jCt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function BCt(t,e,n){var r=Xo.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function UCt(t,e,n){var r=Xo.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function WCt(t,e,n){var r=Xo.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function VCt(t,e,n){var r=kCt.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function GCt(t,e,n){var r=Xo.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function HCt(t,e,n){var r=Xo.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function wpe(t,e){return er(t.getDate(),e,2)}function qCt(t,e){return er(t.getHours(),e,2)}function XCt(t,e){return er(t.getHours()%12||12,e,2)}function YCt(t,e){return er(1+ig.count(Oh(t),t),e,3)}function HIe(t,e){return er(t.getMilliseconds(),e,3)}function QCt(t,e){return HIe(t,e)+"000"}function KCt(t,e){return er(t.getMonth()+1,e,2)}function ZCt(t,e){return er(t.getMinutes(),e,2)}function JCt(t,e){return er(t.getSeconds(),e,2)}function eOt(t){var e=t.getDay();return e===0?7:e}function tOt(t,e){return er(xO.count(Oh(t)-1,t),e,2)}function qIe(t){var e=t.getDay();return e>=4||e===0?AS(t):AS.ceil(t)}function nOt(t,e){return t=qIe(t),er(AS.count(Oh(t),t)+(Oh(t).getDay()===4),e,2)}function rOt(t){return t.getDay()}function iOt(t,e){return er(yN.count(Oh(t)-1,t),e,2)}function oOt(t,e){return er(t.getFullYear()%100,e,2)}function sOt(t,e){return t=qIe(t),er(t.getFullYear()%100,e,2)}function aOt(t,e){return er(t.getFullYear()%1e4,e,4)}function lOt(t,e){var n=t.getDay();return t=n>=4||n===0?AS(t):AS.ceil(t),er(t.getFullYear()%1e4,e,4)}function uOt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+er(e/60|0,"0",2)+er(e%60,"0",2)}function _pe(t,e){return er(t.getUTCDate(),e,2)}function cOt(t,e){return er(t.getUTCHours(),e,2)}function fOt(t,e){return er(t.getUTCHours()%12||12,e,2)}function dOt(t,e){return er(1+Nv.count(Eh(t),t),e,3)}function XIe(t,e){return er(t.getUTCMilliseconds(),e,3)}function hOt(t,e){return XIe(t,e)+"000"}function pOt(t,e){return er(t.getUTCMonth()+1,e,2)}function gOt(t,e){return er(t.getUTCMinutes(),e,2)}function mOt(t,e){return er(t.getUTCSeconds(),e,2)}function vOt(t){var e=t.getUTCDay();return e===0?7:e}function yOt(t,e){return er(bO.count(Eh(t)-1,t),e,2)}function YIe(t){var e=t.getUTCDay();return e>=4||e===0?PS(t):PS.ceil(t)}function xOt(t,e){return t=YIe(t),er(PS.count(Eh(t),t)+(Eh(t).getUTCDay()===4),e,2)}function bOt(t){return t.getUTCDay()}function wOt(t,e){return er(xN.count(Eh(t)-1,t),e,2)}function _Ot(t,e){return er(t.getUTCFullYear()%100,e,2)}function SOt(t,e){return t=YIe(t),er(t.getUTCFullYear()%100,e,2)}function COt(t,e){return er(t.getUTCFullYear()%1e4,e,4)}function OOt(t,e){var n=t.getUTCDay();return t=n>=4||n===0?PS(t):PS.ceil(t),er(t.getUTCFullYear()%1e4,e,4)}function EOt(){return"+0000"}function Spe(){return"%"}function Cpe(t){return+t}function Ope(t){return Math.floor(+t/1e3)}var Vb,cne,QIe,fne,KIe;TOt({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function TOt(t){return Vb=GIe(t),cne=Vb.format,QIe=Vb.parse,fne=Vb.utcFormat,KIe=Vb.utcParse,Vb}function sT(t){const e={};return n=>e[n]||(e[n]=t(n))}function kOt(t,e){return n=>{const r=t(n),i=r.indexOf(e);if(i<0)return r;let o=AOt(r,i);const s=oi;)if(r[o]!=="0"){++o;break}return r.slice(0,o)+s}}function AOt(t,e){let n=t.lastIndexOf("e"),r;if(n>0)return n;for(n=t.length;--n>e;)if(r=t.charCodeAt(n),r>=48&&r<=57)return n+1}function ZIe(t){const e=sT(t.format),n=t.formatPrefix;return{format:e,formatPrefix:n,formatFloat(r){const i=a1(r||",");if(i.precision==null){switch(i.precision=12,i.type){case"%":i.precision-=2;break;case"e":i.precision-=1;break}return kOt(e(i),e(".1f")(1)[1])}else return e(i)},formatSpan(r,i,o,s){s=a1(s??",f");const a=ny(r,i,o),l=Math.max(Math.abs(r),Math.abs(i));let u;if(s.precision==null)switch(s.type){case"s":return isNaN(u=_Ie(a,l))||(s.precision=u),n(s,l);case"":case"e":case"g":case"p":case"r":{isNaN(u=SIe(a,l))||(s.precision=u-(s.type==="e"));break}case"f":case"%":{isNaN(u=wIe(a))||(s.precision=u-(s.type==="%")*2);break}}return e(s)}}}let qq;JIe();function JIe(){return qq=ZIe({format:q4,formatPrefix:one})}function eLe(t){return ZIe(bIe(t))}function bN(t){return arguments.length?qq=eLe(t):qq}function Epe(t,e,n){n=n||{},ht(n)||je(`Invalid time multi-format specifier: ${n}`);const r=e(kc),i=e(Ou),o=e(Cu),s=e(wl),a=e(wo),l=e(Qs),u=e(bl),c=e(xs),f=t(n[Vf]||".%L"),d=t(n[kc]||":%S"),h=t(n[Ou]||"%I:%M"),p=t(n[Cu]||"%I %p"),g=t(n[wl]||n[Gs]||"%a %d"),m=t(n[wo]||"%b %d"),v=t(n[Qs]||"%B"),y=t(n[bl]||"%B"),x=t(n[xs]||"%Y");return b=>(r(b)gt(r)?e(r):Epe(e,wO,r),utcFormat:r=>gt(r)?n(r):Epe(n,_O,r),timeParse:sT(t.parse),utcParse:sT(t.utcParse)}}let Xq;nLe();function nLe(){return Xq=tLe({format:cne,parse:QIe,utcFormat:fne,utcParse:KIe})}function rLe(t){return tLe(GIe(t))}function SA(t){return arguments.length?Xq=rLe(t):Xq}const Yq=(t,e)=>un({},t,e);function iLe(t,e){const n=t?eLe(t):bN(),r=e?rLe(e):SA();return Yq(n,r)}function dne(t,e){const n=arguments.length;return n&&n!==2&&je("defaultLocale expects either zero or two arguments."),n?Yq(bN(t),SA(e)):Yq(bN(),SA())}function POt(){return JIe(),nLe(),dne()}const MOt=/^(data:|([A-Za-z]+:)?\/\/)/,ROt=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,DOt=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,Tpe="file://";function IOt(t,e){return n=>({options:n||{},sanitize:$Ot,load:LOt,fileAccess:!!e,file:FOt(e),http:zOt(t)})}async function LOt(t,e){const n=await this.sanitize(t,e),r=n.href;return n.localFile?this.file(r):this.http(r,e)}async function $Ot(t,e){e=un({},this.options,e);const n=this.fileAccess,r={href:null};let i,o,s;const a=ROt.test(t.replace(DOt,""));(t==null||typeof t!="string"||!a)&&je("Sanitize failure, invalid URI: "+rt(t));const l=MOt.test(t);return(s=e.baseURL)&&!l&&(!t.startsWith("/")&&!s.endsWith("/")&&(t="/"+t),t=s+t),o=(i=t.startsWith(Tpe))||e.mode==="file"||e.mode!=="http"&&!l&&n,i?t=t.slice(Tpe.length):t.startsWith("//")&&(e.defaultProtocol==="file"?(t=t.slice(2),o=!0):t=(e.defaultProtocol||"http")+":"+t),Object.defineProperty(r,"localFile",{value:!!o}),r.href=t,e.target&&(r.target=e.target+""),e.rel&&(r.rel=e.rel+""),e.context==="image"&&e.crossOrigin&&(r.crossOrigin=e.crossOrigin+""),r}function FOt(t){return t?e=>new Promise((n,r)=>{t.readFile(e,(i,o)=>{i?r(i):n(o)})}):NOt}async function NOt(){je("No file system access.")}function zOt(t){return t?async function(e,n){const r=un({},this.options.http,n),i=n&&n.response,o=await t(e,r);return o.ok?fn(o[i])?o[i]():o.text():je(o.status+""+o.statusText)}:jOt}async function jOt(){je("No HTTP fetch method available.")}const BOt=t=>t!=null&&t===t,UOt=t=>t==="true"||t==="false"||t===!0||t===!1,WOt=t=>!Number.isNaN(Date.parse(t)),oLe=t=>!Number.isNaN(+t)&&!(t instanceof Date),VOt=t=>oLe(t)&&Number.isInteger(+t),Qq={boolean:tne,integer:qs,number:qs,date:nne,string:rne,unknown:ea},EI=[UOt,VOt,oLe,WOt],GOt=["boolean","integer","number","date"];function sLe(t,e){if(!t||!t.length)return"unknown";const n=t.length,r=EI.length,i=EI.map((o,s)=>s+1);for(let o=0,s=0,a,l;oo===0?s:o,0)-1]}function aLe(t,e){return e.reduce((n,r)=>(n[r]=sLe(t,r),n),{})}function kpe(t){const e=function(n,r){const i={delimiter:t};return hne(n,r?un(r,i):i)};return e.responseType="text",e}function hne(t,e){return e.header&&(t=e.header.map(rt).join(e.delimiter)+` +`+t),OSt(e.delimiter).parse(t+"")}hne.responseType="text";function HOt(t){return typeof Buffer=="function"&&fn(Buffer.isBuffer)?Buffer.isBuffer(t):!1}function pne(t,e){const n=e&&e.property?Ec(e.property):ea;return ht(t)&&!HOt(t)?qOt(n(t),e):n(JSON.parse(t))}pne.responseType="json";function qOt(t,e){return!We(t)&&JDe(t)&&(t=[...t]),e&&e.copy?JSON.parse(JSON.stringify(t)):t}const XOt={interior:(t,e)=>t!==e,exterior:(t,e)=>t===e};function lLe(t,e){let n,r,i,o;return t=pne(t,e),e&&e.feature?(n=ASt,i=e.feature):e&&e.mesh?(n=MSt,i=e.mesh,o=XOt[e.filter]):je("Missing TopoJSON feature or mesh parameter."),r=(r=t.objects[i])?n(t,r,o):je("Invalid TopoJSON object: "+i),r&&r.features||[r]}lLe.responseType="json";const c3={dsv:hne,csv:kpe(","),tsv:kpe(" "),json:pne,topojson:lLe};function gne(t,e){return arguments.length>1?(c3[t]=e,this):vt(c3,t)?c3[t]:null}function uLe(t){const e=gne(t);return e&&e.responseType||"text"}function cLe(t,e,n,r){e=e||{};const i=gne(e.type||"json");return i||je("Unknown data format type: "+e.type),t=i(t,e),e.parse&&YOt(t,e.parse,n,r),vt(t,"columns")&&delete t.columns,t}function YOt(t,e,n,r){if(!t.length)return;const i=SA();n=n||i.timeParse,r=r||i.utcParse;let o=t.columns||Object.keys(t[0]),s,a,l,u,c,f;e==="auto"&&(e=aLe(t,o)),o=Object.keys(e);const d=o.map(h=>{const p=e[h];let g,m;if(p&&(p.startsWith("date:")||p.startsWith("utc:")))return g=p.split(/:(.+)?/,2),m=g[1],(m[0]==="'"&&m[m.length-1]==="'"||m[0]==='"'&&m[m.length-1]==='"')&&(m=m.slice(1,-1)),(g[0]==="utc"?r:n)(m);if(!Qq[p])throw Error("Illegal format pattern: "+h+":"+p);return Qq[p]});for(l=0,c=t.length,f=o.length;l{const o=e(i);return r[o]||(r[o]=1,n.push(i)),n},n.remove=i=>{const o=e(i);if(r[o]){r[o]=0;const s=n.indexOf(i);s>=0&&n.splice(s,1)}return n},n}async function f3(t,e){try{await e(t)}catch(n){t.error(n)}}const fLe=Symbol("vega_id");let QOt=1;function tB(t){return!!(t&&zt(t))}function zt(t){return t[fLe]}function dLe(t,e){return t[fLe]=e,t}function ur(t){const e=t===Object(t)?t:{data:t};return zt(e)?e:dLe(e,QOt++)}function mne(t){return nB(t,ur({}))}function nB(t,e){for(const n in t)e[n]=t[n];return e}function hLe(t,e){return dLe(e,zt(t))}function ob(t,e){return t?e?(n,r)=>t(n,r)||zt(e(n))-zt(e(r)):(n,r)=>t(n,r)||zt(n)-zt(r):null}function pLe(t){return t&&t.constructor===sb}function sb(){const t=[],e=[],n=[],r=[],i=[];let o=null,s=!1;return{constructor:sb,insert(a){const l=pt(a),u=l.length;for(let c=0;c{p(y)&&(u[zt(y)]=-1)});for(f=0,d=t.length;f0&&(v(g,p,h.value),a.modifies(p));for(f=0,d=i.length;f{p(y)&&u[zt(y)]>0&&v(y,h.field,h.value)}),a.modifies(h.field);if(s)a.mod=e.length||r.length?l.filter(y=>u[zt(y)]>0):l.slice();else for(m in c)a.mod.push(c[m]);return(o||o==null&&(e.length||r.length))&&a.clean(!0),a}}}const d3="_:mod:_";function rB(){Object.defineProperty(this,d3,{writable:!0,value:{}})}rB.prototype={set(t,e,n,r){const i=this,o=i[t],s=i[d3];return e!=null&&e>=0?(o[e]!==n||r)&&(o[e]=n,s[e+":"+t]=-1,s[t]=-1):(o!==n||r)&&(i[t]=n,s[t]=We(n)?1+n.length:-1),i},modified(t,e){const n=this[d3];if(arguments.length){if(We(t)){for(let r=0;r=0?e+1{h instanceof Ir?(h!==this&&(e&&h.targets().add(this),o.push(h)),i.push({op:h,name:f,index:d})):r.set(f,d,h)};for(s in t)if(a=t[s],s===ZOt)pt(a).forEach(f=>{f instanceof Ir?f!==this&&(f.targets().add(this),o.push(f)):je("Pulse parameters must be operator instances.")}),this.source=a;else if(We(a))for(r.set(s,-1,Array(l=a.length)),u=0;u{const n=Date.now();return n-e>t?(e=n,1):0})},debounce(t){const e=Mm();return this.targets().add(Mm(null,null,Jte(t,n=>{const r=n.dataflow;e.receive(n),r&&r.run&&r.run()}))),e},between(t,e){let n=!1;return t.targets().add(Mm(null,null,()=>n=!0)),e.targets().add(Mm(null,null,()=>n=!1)),this.filter(()=>n)},detach(){this._filter=Tc,this._targets=null}};function oEt(t,e,n,r){const i=this,o=Mm(n,r),s=function(u){u.dataflow=i;try{o.receive(u)}catch(c){i.error(c)}finally{i.run()}};let a;typeof t=="string"&&typeof document<"u"?a=document.querySelectorAll(t):a=pt(t);const l=a.length;for(let u=0;ue=r);return n.requests=0,n.done=()=>{--n.requests===0&&(t._pending=null,e(t))},t._pending=n}const fEt={skip:!0};function dEt(t,e,n,r,i){return(t instanceof Ir?pEt:hEt)(this,t,e,n,r,i),this}function hEt(t,e,n,r,i,o){const s=un({},o,fEt);let a,l;fn(n)||(n=ta(n)),r===void 0?a=u=>t.touch(n(u)):fn(r)?(l=new Ir(null,r,i,!1),a=u=>{l.evaluate(u);const c=n(u),f=l.value;pLe(f)?t.pulse(c,f,o):t.update(c,f,s)}):a=u=>t.update(n(u),r,s),e.apply(a)}function pEt(t,e,n,r,i,o){if(r===void 0)e.targets().add(n);else{const s=o||{},a=new Ir(null,gEt(n,r),i,!1);a.modified(s.force),a.rank=e.rank,e.targets().add(a),n&&(a.skip(!0),a.value=n.value,a.targets().add(n),t.connect(n,[a]))}}function gEt(t,e){return e=fn(e)?e:ta(e),t?function(n,r){const i=e(n,r);return t.skip()||(t.skip(i!==this.value).value=i),i}:e}function mEt(t){t.rank=++this._rank}function vEt(t){const e=[t];let n,r,i;for(;e.length;)if(this.rank(n=e.pop()),r=n._targets)for(i=r.length;--i>=0;)e.push(n=r[i]),n===t&&je("Cycle detected in dataflow graph.")}const wN={},Ad=1,Hm=2,Tp=4,yEt=Ad|Hm,Ppe=Ad|Tp,Gb=Ad|Hm|Tp,Mpe=8,qE=16,Rpe=32,Dpe=64;function zv(t,e,n){this.dataflow=t,this.stamp=e??-1,this.add=[],this.rem=[],this.mod=[],this.fields=null,this.encode=n||null}function BW(t,e){const n=[];return Gm(t,e,r=>n.push(r)),n}function Ipe(t,e){const n={};return t.visit(e,r=>{n[zt(r)]=1}),r=>n[zt(r)]?null:r}function TI(t,e){return t?(n,r)=>t(n,r)&&e(n,r):e}zv.prototype={StopPropagation:wN,ADD:Ad,REM:Hm,MOD:Tp,ADD_REM:yEt,ADD_MOD:Ppe,ALL:Gb,REFLOW:Mpe,SOURCE:qE,NO_SOURCE:Rpe,NO_FIELDS:Dpe,fork(t){return new zv(this.dataflow).init(this,t)},clone(){const t=this.fork(Gb);return t.add=t.add.slice(),t.rem=t.rem.slice(),t.mod=t.mod.slice(),t.source&&(t.source=t.source.slice()),t.materialize(Gb|qE)},addAll(){let t=this;return!t.source||t.add===t.rem||!t.rem.length&&t.source.length===t.add.length||(t=new zv(this.dataflow).init(this),t.add=t.source,t.rem=[]),t},init(t,e){const n=this;return n.stamp=t.stamp,n.encode=t.encode,t.fields&&!(e&Dpe)&&(n.fields=t.fields),e&Ad?(n.addF=t.addF,n.add=t.add):(n.addF=null,n.add=[]),e&Hm?(n.remF=t.remF,n.rem=t.rem):(n.remF=null,n.rem=[]),e&Tp?(n.modF=t.modF,n.mod=t.mod):(n.modF=null,n.mod=[]),e&Rpe?(n.srcF=null,n.source=null):(n.srcF=t.srcF,n.source=t.source,t.cleans&&(n.cleans=t.cleans)),n},runAfter(t){this.dataflow.runAfter(t)},changed(t){const e=t||Gb;return e&Ad&&this.add.length||e&Hm&&this.rem.length||e&Tp&&this.mod.length},reflow(t){if(t)return this.fork(Gb).reflow();const e=this.add.length,n=this.source&&this.source.length;return n&&n!==e&&(this.mod=this.source,e&&this.filter(Tp,Ipe(this,Ad))),this},clean(t){return arguments.length?(this.cleans=!!t,this):this.cleans},modifies(t){const e=this.fields||(this.fields={});return We(t)?t.forEach(n=>e[n]=!0):e[t]=!0,this},modified(t,e){const n=this.fields;return(e||this.mod.length)&&n?arguments.length?We(t)?t.some(r=>n[r]):n[t]:!!n:!1},filter(t,e){const n=this;return t&Ad&&(n.addF=TI(n.addF,e)),t&Hm&&(n.remF=TI(n.remF,e)),t&Tp&&(n.modF=TI(n.modF,e)),t&qE&&(n.srcF=TI(n.srcF,e)),n},materialize(t){t=t||Gb;const e=this;return t&Ad&&e.addF&&(e.add=BW(e.add,e.addF),e.addF=null),t&Hm&&e.remF&&(e.rem=BW(e.rem,e.remF),e.remF=null),t&Tp&&e.modF&&(e.mod=BW(e.mod,e.modF),e.modF=null),t&qE&&e.srcF&&(e.source=e.source.filter(e.srcF),e.srcF=null),e},visit(t,e){const n=this,r=e;if(t&qE)return Gm(n.source,n.srcF,r),n;t&Ad&&Gm(n.add,n.addF,r),t&Hm&&Gm(n.rem,n.remF,r),t&Tp&&Gm(n.mod,n.modF,r);const i=n.source;if(t&Mpe&&i){const o=n.add.length+n.mod.length;o===i.length||(o?Gm(i,Ipe(n,Ppe),r):Gm(i,n.srcF,r))}return n}};function vne(t,e,n,r){const i=this;let o=0;this.dataflow=t,this.stamp=e,this.fields=null,this.encode=r||null,this.pulses=n;for(const s of n)if(s.stamp===e){if(s.fields){const a=i.fields||(i.fields={});for(const l in s.fields)a[l]=1}s.changed(i.ADD)&&(o|=i.ADD),s.changed(i.REM)&&(o|=i.REM),s.changed(i.MOD)&&(o|=i.MOD)}this.changes=o}it(vne,zv,{fork(t){const e=new zv(this.dataflow).init(this,t&this.NO_FIELDS);return t!==void 0&&(t&e.ADD&&this.visit(e.ADD,n=>e.add.push(n)),t&e.REM&&this.visit(e.REM,n=>e.rem.push(n)),t&e.MOD&&this.visit(e.MOD,n=>e.mod.push(n))),e},changed(t){return this.changes&t},modified(t){const e=this,n=e.fields;return n&&e.changes&e.MOD?We(t)?t.some(r=>n[r]):n[t]:0},filter(){je("MultiPulse does not support filtering.")},materialize(){je("MultiPulse does not support materialization.")},visit(t,e){const n=this,r=n.pulses,i=r.length;let o=0;if(t&n.SOURCE)for(;or._enqueue(c,!0)),r._touched=eB(eR);let s=0,a,l,u;try{for(;r._heap.size()>0;){if(a=r._heap.pop(),a.rank!==a.qrank){r._enqueue(a,!0);continue}l=a.run(r._getPulse(a,t)),l.then?l=await l:l.async&&(i.push(l.async),l=wN),l!==wN&&a._targets&&a._targets.forEach(c=>r._enqueue(c)),++s}}catch(c){r._heap.clear(),u=c}if(r._input={},r._pulse=null,r.debug(`Pulse ${o}: ${s} operators`),u&&(r._postrun=[],r.error(u)),r._postrun.length){const c=r._postrun.sort((f,d)=>d.priority-f.priority);r._postrun=[];for(let f=0;fr.runAsync(null,()=>{c.forEach(f=>{try{f(r)}catch(d){r.error(d)}})})),r}async function bEt(t,e,n){for(;this._running;)await this._running;const r=()=>this._running=null;return(this._running=this.evaluate(t,e,n)).then(r,r),this._running}function wEt(t,e,n){return this._pulse?gLe(this):(this.evaluate(t,e,n),this)}function _Et(t,e,n){if(this._pulse||e)this._postrun.push({priority:n||0,callback:t});else try{t(this)}catch(r){this.error(r)}}function gLe(t){return t.error("Dataflow already running. Use runAsync() to chain invocations."),t}function SEt(t,e){const n=t.stampi.pulse),e):this._input[t.id]||OEt(this._pulse,n&&n.pulse)}function OEt(t,e){return e&&e.stamp===t.stamp?e:(t=t.fork(),e&&e!==wN&&(t.source=e.source),t)}const yne={skip:!1,force:!1};function EEt(t,e){const n=e||yne;return this._pulse?this._enqueue(t):this._touched.add(t),n.skip&&t.skip(!0),this}function TEt(t,e,n){const r=n||yne;return(t.set(e)||r.force)&&this.touch(t,r),this}function kEt(t,e,n){this.touch(t,n||yne);const r=new zv(this,this._clock+(this._pulse?0:1)),i=t.pulse&&t.pulse.source||[];return r.target=t,this._input[t.id]=e.pulse(r,i),this}function AEt(t){let e=[];return{clear:()=>e=[],size:()=>e.length,peek:()=>e[0],push:n=>(e.push(n),mLe(e,0,e.length-1,t)),pop:()=>{const n=e.pop();let r;return e.length?(r=e[0],e[0]=n,PEt(e,0,t)):r=n,r}}}function mLe(t,e,n,r){let i,o;const s=t[n];for(;n>e;){if(o=n-1>>1,i=t[o],r(s,i)<0){t[n]=i,n=o;continue}break}return t[n]=s}function PEt(t,e,n){const r=e,i=t.length,o=t[e];let s=(e<<1)+1,a;for(;s=0&&(s=a),t[e]=t[s],e=s,s=(e<<1)+1;return t[e]=o,mLe(t,r,e,n)}function M_(){this.logger(Xte()),this.logLevel(Hte),this._clock=0,this._rank=0,this._locale=dne();try{this._loader=J4()}catch{}this._touched=eB(eR),this._input={},this._pulse=null,this._heap=AEt((t,e)=>t.qrank-e.qrank),this._postrun=[]}function XE(t){return function(){return this._log[t].apply(this,arguments)}}M_.prototype={stamp(){return this._clock},loader(t){return arguments.length?(this._loader=t,this):this._loader},locale(t){return arguments.length?(this._locale=t,this):this._locale},logger(t){return arguments.length?(this._log=t,this):this._log},error:XE("error"),warn:XE("warn"),info:XE("info"),debug:XE("debug"),logLevel:XE("level"),cleanThreshold:1e4,add:nEt,connect:rEt,rank:mEt,rerank:vEt,pulse:kEt,touch:EEt,update:TEt,changeset:sb,ingest:aEt,parse:sEt,preload:uEt,request:lEt,events:oEt,on:dEt,evaluate:xEt,run:wEt,runAsync:bEt,runAfter:_Et,_enqueue:SEt,_getPulse:CEt};function Re(t,e){Ir.call(this,t,null,e)}it(Re,Ir,{run(t){if(t.stampthis.pulse=n):e!==t.StopPropagation&&(this.pulse=e),e},evaluate(t){const e=this.marshall(t.stamp),n=this.transform(e,t);return e.clear(),n},transform(){}});const RS={};function vLe(t){const e=yLe(t);return e&&e.Definition||null}function yLe(t){return t=t&&t.toLowerCase(),vt(RS,t)?RS[t]:null}function*xLe(t,e){if(e==null)for(let n of t)n!=null&&n!==""&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)r=e(r,++n,t),r!=null&&r!==""&&(r=+r)>=r&&(yield r)}}function xne(t,e,n){const r=Float64Array.from(xLe(t,n));return r.sort(hh),e.map(i=>gIe(r,i))}function bne(t,e){return xne(t,[.25,.5,.75],e)}function wne(t,e){const n=t.length,r=zSt(t,e),i=bne(t,e),o=(i[2]-i[0])/1.34;return 1.06*(Math.min(r,o)||r||Math.abs(i[0])||1)*Math.pow(n,-.2)}function bLe(t){const e=t.maxbins||20,n=t.base||10,r=Math.log(n),i=t.divide||[5,2];let o=t.extent[0],s=t.extent[1],a,l,u,c,f,d;const h=t.span||s-o||Math.abs(o)||1;if(t.step)a=t.step;else if(t.steps){for(c=h/e,f=0,d=t.steps.length;fe;)a*=n;for(f=0,d=i.length;f=u&&h/c<=e&&(a=c)}c=Math.log(a);const p=c>=0?0:~~(-c/r)+1,g=Math.pow(n,-p-1);return(t.nice||t.nice===void 0)&&(c=Math.floor(o/a+g)*a,o=od);const i=t.length,o=new Float64Array(i);let s=0,a=1,l=r(t[0]),u=l,c=l+e,f;for(;a=c){for(u=(l+u)/2;s>1);si;)t[s--]=t[r]}r=i,i=o}return t}function DEt(t){return function(){return t=(1103515245*t+12345)%2147483647,t/2147483647}}function IEt(t,e){e==null&&(e=t,t=0);let n,r,i;const o={min(s){return arguments.length?(n=s||0,i=r-n,o):n},max(s){return arguments.length?(r=s||0,i=r-n,o):r},sample(){return n+Math.floor(i*Ac())},pdf(s){return s===Math.floor(s)&&s>=n&&s=r?1:(a-n+1)/i},icdf(s){return s>=0&&s<=1?n-1+Math.floor(s*i):NaN}};return o.min(t).max(e)}const SLe=Math.sqrt(2*Math.PI),LEt=Math.SQRT2;let YE=NaN;function oB(t,e){t=t||0,e=e??1;let n=0,r=0,i,o;if(YE===YE)n=YE,YE=NaN;else{do n=Ac()*2-1,r=Ac()*2-1,i=n*n+r*r;while(i===0||i>1);o=Math.sqrt(-2*Math.log(i)/i),n*=o,YE=r*o}return t+n*e}function _ne(t,e,n){n=n??1;const r=(t-(e||0))/n;return Math.exp(-.5*r*r)/(n*SLe)}function sB(t,e,n){e=e||0,n=n??1;const r=(t-e)/n,i=Math.abs(r);let o;if(i>37)o=0;else{const s=Math.exp(-i*i/2);let a;i<7.07106781186547?(a=.0352624965998911*i+.700383064443688,a=a*i+6.37396220353165,a=a*i+33.912866078383,a=a*i+112.079291497871,a=a*i+221.213596169931,a=a*i+220.206867912376,o=s*a,a=.0883883476483184*i+1.75566716318264,a=a*i+16.064177579207,a=a*i+86.7807322029461,a=a*i+296.564248779674,a=a*i+637.333633378831,a=a*i+793.826512519948,a=a*i+440.413735824752,o=o/a):(a=i+.65,a=i+4/a,a=i+3/a,a=i+2/a,a=i+1/a,o=s/a/2.506628274631)}return r>0?1-o:o}function aB(t,e,n){return t<0||t>1?NaN:(e||0)+(n??1)*LEt*$Et(2*t-1)}function $Et(t){let e=-Math.log((1-t)*(1+t)),n;return e<6.25?(e-=3.125,n=-364441206401782e-35,n=-16850591381820166e-35+n*e,n=128584807152564e-32+n*e,n=11157877678025181e-33+n*e,n=-1333171662854621e-31+n*e,n=20972767875968562e-33+n*e,n=6637638134358324e-30+n*e,n=-4054566272975207e-29+n*e,n=-8151934197605472e-29+n*e,n=26335093153082323e-28+n*e,n=-12975133253453532e-27+n*e,n=-5415412054294628e-26+n*e,n=10512122733215323e-25+n*e,n=-4112633980346984e-24+n*e,n=-29070369957882005e-24+n*e,n=42347877827932404e-23+n*e,n=-13654692000834679e-22+n*e,n=-13882523362786469e-21+n*e,n=.00018673420803405714+n*e,n=-.000740702534166267+n*e,n=-.006033670871430149+n*e,n=.24015818242558962+n*e,n=1.6536545626831027+n*e):e<16?(e=Math.sqrt(e)-3.25,n=22137376921775787e-25,n=9075656193888539e-23+n*e,n=-27517406297064545e-23+n*e,n=18239629214389228e-24+n*e,n=15027403968909828e-22+n*e,n=-4013867526981546e-21+n*e,n=29234449089955446e-22+n*e,n=12475304481671779e-21+n*e,n=-47318229009055734e-21+n*e,n=6828485145957318e-20+n*e,n=24031110387097894e-21+n*e,n=-.0003550375203628475+n*e,n=.0009532893797373805+n*e,n=-.0016882755560235047+n*e,n=.002491442096107851+n*e,n=-.003751208507569241+n*e,n=.005370914553590064+n*e,n=1.0052589676941592+n*e,n=3.0838856104922208+n*e):Number.isFinite(e)?(e=Math.sqrt(e)-5,n=-27109920616438573e-27,n=-2555641816996525e-25+n*e,n=15076572693500548e-25+n*e,n=-3789465440126737e-24+n*e,n=761570120807834e-23+n*e,n=-1496002662714924e-23+n*e,n=2914795345090108e-23+n*e,n=-6771199775845234e-23+n*e,n=22900482228026655e-23+n*e,n=-99298272942317e-20+n*e,n=4526062597223154e-21+n*e,n=-1968177810553167e-20+n*e,n=7599527703001776e-20+n*e,n=-.00021503011930044477+n*e,n=-.00013871931833623122+n*e,n=1.0103004648645344+n*e,n=4.849906401408584+n*e):n=1/0,n*t}function Sne(t,e){let n,r;const i={mean(o){return arguments.length?(n=o||0,i):n},stdev(o){return arguments.length?(r=o??1,i):r},sample:()=>oB(n,r),pdf:o=>_ne(o,n,r),cdf:o=>sB(o,n,r),icdf:o=>aB(o,n,r)};return i.mean(t).stdev(e)}function Cne(t,e){const n=Sne();let r=0;const i={data(o){return arguments.length?(t=o,r=o?o.length:0,i.bandwidth(e)):t},bandwidth(o){return arguments.length?(e=o,!e&&t&&(e=wne(t)),i):e},sample(){return t[~~(Ac()*r)]+e*n.sample()},pdf(o){let s=0,a=0;for(;aOne(n,r),pdf:o=>Ene(o,n,r),cdf:o=>Tne(o,n,r),icdf:o=>kne(o,n,r)};return i.mean(t).stdev(e)}function OLe(t,e){let n=0,r;function i(s){const a=[];let l=0,u;for(u=0;u=e&&t<=n?1/(n-e):0}function Mne(t,e,n){return n==null&&(n=e??1,e=0),tn?1:(t-e)/(n-e)}function Rne(t,e,n){return n==null&&(n=e??1,e=0),t>=0&&t<=1?e+t*(n-e):NaN}function ELe(t,e){let n,r;const i={min(o){return arguments.length?(n=o||0,i):n},max(o){return arguments.length?(r=o??1,i):r},sample:()=>Ane(n,r),pdf:o=>Pne(o,n,r),cdf:o=>Mne(o,n,r),icdf:o=>Rne(o,n,r)};return e==null&&(e=t??1,t=0),i.min(t).max(e)}function Dne(t,e,n){let r=0,i=0;for(const o of t){const s=n(o);e(o)==null||s==null||isNaN(s)||(r+=(s-r)/++i)}return{coef:[r],predict:()=>r,rSquared:0}}function nR(t,e,n,r){const i=r-t*t,o=Math.abs(i)<1e-24?0:(n-t*e)/i;return[e-o*t,o]}function lB(t,e,n,r){t=t.filter(h=>{let p=e(h),g=n(h);return p!=null&&(p=+p)>=p&&g!=null&&(g=+g)>=g}),r&&t.sort((h,p)=>e(h)-e(p));const i=t.length,o=new Float64Array(i),s=new Float64Array(i);let a=0,l=0,u=0,c,f,d;for(d of t)o[a]=c=+e(d),s[a]=f=+n(d),++a,l+=(c-l)/a,u+=(f-u)/a;for(a=0;a=o&&s!=null&&(s=+s)>=s&&r(o,s,++i)}function SO(t,e,n,r,i){let o=0,s=0;return rR(t,e,n,(a,l)=>{const u=l-i(a),c=l-r;o+=u*u,s+=c*c}),1-o/s}function Ine(t,e,n){let r=0,i=0,o=0,s=0,a=0;rR(t,e,n,(c,f)=>{++a,r+=(c-r)/a,i+=(f-i)/a,o+=(c*f-o)/a,s+=(c*c-s)/a});const l=nR(r,i,o,s),u=c=>l[0]+l[1]*c;return{coef:l,predict:u,rSquared:SO(t,e,n,i,u)}}function TLe(t,e,n){let r=0,i=0,o=0,s=0,a=0;rR(t,e,n,(c,f)=>{++a,c=Math.log(c),r+=(c-r)/a,i+=(f-i)/a,o+=(c*f-o)/a,s+=(c*c-s)/a});const l=nR(r,i,o,s),u=c=>l[0]+l[1]*Math.log(c);return{coef:l,predict:u,rSquared:SO(t,e,n,i,u)}}function kLe(t,e,n){const[r,i,o,s]=lB(t,e,n);let a=0,l=0,u=0,c=0,f=0,d,h,p;rR(t,e,n,(y,x)=>{d=r[f++],h=Math.log(x),p=d*x,a+=(x*h-a)/f,l+=(p-l)/f,u+=(p*h-u)/f,c+=(d*p-c)/f});const[g,m]=nR(l/s,a/s,u/s,c/s),v=y=>Math.exp(g+m*(y-o));return{coef:[Math.exp(g-m*o),m],predict:v,rSquared:SO(t,e,n,s,v)}}function ALe(t,e,n){let r=0,i=0,o=0,s=0,a=0,l=0;rR(t,e,n,(f,d)=>{const h=Math.log(f),p=Math.log(d);++l,r+=(h-r)/l,i+=(p-i)/l,o+=(h*p-o)/l,s+=(h*h-s)/l,a+=(d-a)/l});const u=nR(r,i,o,s),c=f=>u[0]*Math.pow(f,u[1]);return u[0]=Math.exp(u[0]),{coef:u,predict:c,rSquared:SO(t,e,n,a,c)}}function Lne(t,e,n){const[r,i,o,s]=lB(t,e,n),a=r.length;let l=0,u=0,c=0,f=0,d=0,h,p,g,m;for(h=0;h(S=S-o,x*S*S+b*S+w+s);return{coef:[w-b*o+x*o*o+s,b-2*x*o,x],predict:_,rSquared:SO(t,e,n,s,_)}}function PLe(t,e,n,r){if(r===0)return Dne(t,e,n);if(r===1)return Ine(t,e,n);if(r===2)return Lne(t,e,n);const[i,o,s,a]=lB(t,e,n),l=i.length,u=[],c=[],f=r+1;let d,h,p,g,m;for(d=0;d{x-=s;let b=a+v[0]+v[1]*x+v[2]*x*x;for(d=3;d=0;--o)for(a=e[o],l=1,i[o]+=a,s=1;s<=o;++s)l*=(o+1-s)/s,i[o-s]+=a*Math.pow(n,s)*l;return i[0]+=r,i}function NEt(t){const e=t.length-1,n=[];let r,i,o,s,a;for(r=0;rMath.abs(t[r][s])&&(s=i);for(o=r;o=r;o--)t[o][i]-=t[o][r]*t[r][i]/t[r][r]}for(i=e-1;i>=0;--i){for(a=0,o=i+1;oi[x]-v?y:x;let w=0,_=0,S=0,O=0,k=0;const E=1/Math.abs(i[b]-v||1);for(let P=y;P<=x;++P){const T=i[P],R=o[P],I=zEt(Math.abs(v-T)*E)*d[P],B=T*I;w+=I,_+=B,S+=R*I,O+=R*B,k+=T*B}const[M,A]=nR(_/w,S/w,O/w,k/w);c[m]=M+A*v,f[m]=Math.abs(o[m]-c[m]),jEt(i,m+1,p)}if(h===Lpe)break;const g=mIe(f);if(Math.abs(g)<$pe)break;for(let m=0,v,y;m=1?$pe:(y=1-v*v)*y}return BEt(i,c,s,a)}function zEt(t){return(t=1-t*t*t)*t*t}function jEt(t,e,n){const r=t[e];let i=n[0],o=n[1]+1;if(!(o>=t.length))for(;e>i&&t[o]-r<=r-t[i];)n[0]=++i,n[1]=o,++o}function BEt(t,e,n,r){const i=t.length,o=[];let s=0,a=0,l=[],u;for(;s[g,t(g)],o=e[0],s=e[1],a=s-o,l=a/r,u=[i(o)],c=[];if(n===r){for(let g=1;g0;)c.push(i(o+g/n*a))}let f=u[0],d=c[c.length-1];const h=1/a,p=WEt(f[1],c);for(;d;){const g=i((f[0]+d[0])/2);g[0]-f[0]>=l&&VEt(f,g,d,h,p)>UEt?c.push(g):(f=d,u.push(d),c.pop()),d=c[c.length-1]}return u}function WEt(t,e){let n=t,r=t;const i=e.length;for(let o=0;or&&(r=s)}return 1/(r-n)}function VEt(t,e,n,r,i){const o=Math.atan2(i*(n[1]-t[1]),r*(n[0]-t[0])),s=Math.atan2(i*(e[1]-t[1]),r*(e[0]-t[0]));return Math.abs(o-s)}function GEt(t){return e=>{const n=t.length;let r=1,i=String(t[0](e));for(;r{},HEt={init:UW,add:UW,rem:UW,idx:0},CA={values:{init:t=>t.cell.store=!0,value:t=>t.cell.data.values(),idx:-1},count:{value:t=>t.cell.num},__count__:{value:t=>t.missing+t.valid},missing:{value:t=>t.missing},valid:{value:t=>t.valid},sum:{init:t=>t.sum=0,value:t=>t.valid?t.sum:void 0,add:(t,e)=>t.sum+=+e,rem:(t,e)=>t.sum-=e},product:{init:t=>t.product=1,value:t=>t.valid?t.product:void 0,add:(t,e)=>t.product*=e,rem:(t,e)=>t.product/=e},mean:{init:t=>t.mean=0,value:t=>t.valid?t.mean:void 0,add:(t,e)=>(t.mean_d=e-t.mean,t.mean+=t.mean_d/t.valid),rem:(t,e)=>(t.mean_d=e-t.mean,t.mean-=t.valid?t.mean_d/t.valid:t.mean)},average:{value:t=>t.valid?t.mean:void 0,req:["mean"],idx:1},variance:{init:t=>t.dev=0,value:t=>t.valid>1?t.dev/(t.valid-1):void 0,add:(t,e)=>t.dev+=t.mean_d*(e-t.mean),rem:(t,e)=>t.dev-=t.mean_d*(e-t.mean),req:["mean"],idx:1},variancep:{value:t=>t.valid>1?t.dev/t.valid:void 0,req:["variance"],idx:2},stdev:{value:t=>t.valid>1?Math.sqrt(t.dev/(t.valid-1)):void 0,req:["variance"],idx:2},stdevp:{value:t=>t.valid>1?Math.sqrt(t.dev/t.valid):void 0,req:["variance"],idx:2},stderr:{value:t=>t.valid>1?Math.sqrt(t.dev/(t.valid*(t.valid-1))):void 0,req:["variance"],idx:2},distinct:{value:t=>t.cell.data.distinct(t.get),req:["values"],idx:3},ci0:{value:t=>t.cell.data.ci0(t.get),req:["values"],idx:3},ci1:{value:t=>t.cell.data.ci1(t.get),req:["values"],idx:3},median:{value:t=>t.cell.data.q2(t.get),req:["values"],idx:3},q1:{value:t=>t.cell.data.q1(t.get),req:["values"],idx:3},q3:{value:t=>t.cell.data.q3(t.get),req:["values"],idx:3},min:{init:t=>t.min=void 0,value:t=>t.min=Number.isNaN(t.min)?t.cell.data.min(t.get):t.min,add:(t,e)=>{(e{e<=t.min&&(t.min=NaN)},req:["values"],idx:4},max:{init:t=>t.max=void 0,value:t=>t.max=Number.isNaN(t.max)?t.cell.data.max(t.get):t.max,add:(t,e)=>{(e>t.max||t.max===void 0)&&(t.max=e)},rem:(t,e)=>{e>=t.max&&(t.max=NaN)},req:["values"],idx:4},argmin:{init:t=>t.argmin=void 0,value:t=>t.argmin||t.cell.data.argmin(t.get),add:(t,e,n)=>{e{e<=t.min&&(t.argmin=void 0)},req:["min","values"],idx:3},argmax:{init:t=>t.argmax=void 0,value:t=>t.argmax||t.cell.data.argmax(t.get),add:(t,e,n)=>{e>t.max&&(t.argmax=n)},rem:(t,e)=>{e>=t.max&&(t.argmax=void 0)},req:["max","values"],idx:3},exponential:{init:(t,e)=>{t.exp=0,t.exp_r=e},value:t=>t.valid?t.exp*(1-t.exp_r)/(1-t.exp_r**t.valid):void 0,add:(t,e)=>t.exp=t.exp_r*t.exp+e,rem:(t,e)=>t.exp=(t.exp-e/t.exp_r**(t.valid-1))/t.exp_r},exponentialb:{value:t=>t.valid?t.exp*(1-t.exp_r):void 0,req:["exponential"],idx:1}},iR=Object.keys(CA).filter(t=>t!=="__count__");function qEt(t,e){return(n,r)=>un({name:t,aggregate_param:r,out:n||t},HEt,e)}[...iR,"__count__"].forEach(t=>{CA[t]=qEt(t,CA[t])});function DLe(t,e,n){return CA[t](n,e)}function ILe(t,e){return t.idx-e.idx}function XEt(t){const e={};t.forEach(r=>e[r.name]=r);const n=r=>{r.req&&r.req.forEach(i=>{e[i]||n(e[i]=CA[i]())})};return t.forEach(n),Object.values(e).sort(ILe)}function YEt(){this.valid=0,this.missing=0,this._ops.forEach(t=>t.aggregate_param==null?t.init(this):t.init(this,t.aggregate_param))}function QEt(t,e){if(t==null||t===""){++this.missing;return}t===t&&(++this.valid,this._ops.forEach(n=>n.add(this,t,e)))}function KEt(t,e){if(t==null||t===""){--this.missing;return}t===t&&(--this.valid,this._ops.forEach(n=>n.rem(this,t,e)))}function ZEt(t){return this._out.forEach(e=>t[e.out]=e.value(this)),t}function LLe(t,e){const n=e||ea,r=XEt(t),i=t.slice().sort(ILe);function o(s){this._ops=r,this._out=i,this.cell=s,this.init()}return o.prototype.init=YEt,o.prototype.add=QEt,o.prototype.rem=KEt,o.prototype.set=ZEt,o.prototype.get=n,o.fields=t.map(s=>s.out),o}function $ne(t){this._key=t?Ec(t):zt,this.reset()}const Cs=$ne.prototype;Cs.reset=function(){this._add=[],this._rem=[],this._ext=null,this._get=null,this._q=null};Cs.add=function(t){this._add.push(t)};Cs.rem=function(t){this._rem.push(t)};Cs.values=function(){if(this._get=null,this._rem.length===0)return this._add;const t=this._add,e=this._rem,n=this._key,r=t.length,i=e.length,o=Array(r-i),s={};let a,l,u;for(a=0;a=0;)o=t(e[r])+"",vt(n,o)||(n[o]=1,++i);return i};Cs.extent=function(t){if(this._get!==t||!this._ext){const e=this.values(),n=KDe(e,t);this._ext=[e[n[0]],e[n[1]]],this._get=t}return this._ext};Cs.argmin=function(t){return this.extent(t)[0]||{}};Cs.argmax=function(t){return this.extent(t)[1]||{}};Cs.min=function(t){const e=this.extent(t)[0];return e!=null?t(e):void 0};Cs.max=function(t){const e=this.extent(t)[1];return e!=null?t(e):void 0};Cs.quartile=function(t){return(this._get!==t||!this._q)&&(this._q=bne(this.values(),t),this._get=t),this._q};Cs.q1=function(t){return this.quartile(t)[0]};Cs.q2=function(t){return this.quartile(t)[1]};Cs.q3=function(t){return this.quartile(t)[2]};Cs.ci=function(t){return(this._get!==t||!this._ci)&&(this._ci=wLe(this.values(),1e3,.05,t),this._get=t),this._ci};Cs.ci0=function(t){return this.ci(t)[0]};Cs.ci1=function(t){return this.ci(t)[1]};function ry(t){Re.call(this,null,t),this._adds=[],this._mods=[],this._alen=0,this._mlen=0,this._drop=!0,this._cross=!1,this._dims=[],this._dnames=[],this._measures=[],this._countOnly=!1,this._counts=null,this._prev=null,this._inputs=null,this._outputs=null}ry.Definition={type:"Aggregate",metadata:{generates:!0,changes:!0},params:[{name:"groupby",type:"field",array:!0},{name:"ops",type:"enum",array:!0,values:iR},{name:"aggregate_params",type:"number",null:!0,array:!0},{name:"fields",type:"field",null:!0,array:!0},{name:"as",type:"string",null:!0,array:!0},{name:"drop",type:"boolean",default:!0},{name:"cross",type:"boolean",default:!1},{name:"key",type:"field"}]};it(ry,Re,{transform(t,e){const n=this,r=e.fork(e.NO_SOURCE|e.NO_FIELDS),i=t.modified();return n.stamp=r.stamp,n.value&&(i||e.modified(n._inputs,!0))?(n._prev=n.value,n.value=i?n.init(t):Object.create(null),e.visit(e.SOURCE,o=>n.add(o))):(n.value=n.value||n.init(t),e.visit(e.REM,o=>n.rem(o)),e.visit(e.ADD,o=>n.add(o))),r.modifies(n._outputs),n._drop=t.drop!==!1,t.cross&&n._dims.length>1&&(n._drop=!1,n.cross()),e.clean()&&n._drop&&r.clean(!0).runAfter(()=>this.clean()),n.changes(r)},cross(){const t=this,e=t.value,n=t._dnames,r=n.map(()=>({})),i=n.length;function o(a){let l,u,c,f;for(l in a)for(c=a[l].tuple,u=0;u{const x=Ni(y);return i(y),n.push(x),x}),this.cellkey=t.key?t.key:Kq(this._dims),this._countOnly=!0,this._counts=[],this._measures=[];const o=t.fields||[null],s=t.ops||["count"],a=t.aggregate_params||[null],l=t.as||[],u=o.length,c={};let f,d,h,p,g,m,v;for(u!==s.length&&je("Unmatched number of fields and aggregate ops."),v=0;vLLe(y,y.field)),Object.create(null)},cellkey:Kq(),cell(t,e){let n=this.value[t];return n?n.num===0&&this._drop&&n.stamp{const f=r(c);c[a]=f,c[l]=f==null?null:i+o*(1+(f-i)/o)}:c=>c[a]=r(c)),e.modifies(n?s:a)},_bins(t){if(this.value&&!t.modified())return this.value;const e=t.field,n=bLe(t),r=n.step;let i=n.start,o=i+Math.ceil((n.stop-i)/r)*r,s,a;(s=t.anchor)!=null&&(a=s-(i+r*Math.floor((s-i)/r)),i+=a,o+=a);const l=function(u){let c=qs(e(u));return c==null?null:co?1/0:(c=Math.max(i,Math.min(c,o-r)),i+r*Math.floor(JEt+(c-i)/r))};return l.start=i,l.stop=n.stop,l.step=r,this.value=kl(l,Ys(e),t.name||"bin_"+Ni(e))}});function $Le(t,e,n){const r=t;let i=e||[],o=n||[],s={},a=0;return{add:l=>o.push(l),remove:l=>s[r(l)]=++a,size:()=>i.length,data:(l,u)=>(a&&(i=i.filter(c=>!s[r(c)]),s={},a=0),u&&l&&i.sort(l),o.length&&(i=l?rIe(l,i,o.sort(l)):i.concat(o),o=[]),i)}}function Nne(t){Re.call(this,[],t)}Nne.Definition={type:"Collect",metadata:{source:!0},params:[{name:"sort",type:"compare"}]};it(Nne,Re,{transform(t,e){const n=e.fork(e.ALL),r=$Le(zt,this.value,n.materialize(n.ADD).add),i=t.sort,o=e.changed()||i&&(t.modified("sort")||e.modified(i.fields));return n.visit(n.REM,r.remove),this.modified(o),this.value=n.source=r.data(ob(i),o),e.source&&e.source.root&&(this.value.root=e.source.root),n}});function FLe(t){Ir.call(this,null,e2t,t)}it(FLe,Ir);function e2t(t){return this.value&&!t.modified()?this.value:Zte(t.fields,t.orders)}function zne(t){Re.call(this,null,t)}zne.Definition={type:"CountPattern",metadata:{generates:!0,changes:!0},params:[{name:"field",type:"field",required:!0},{name:"case",type:"enum",values:["upper","lower","mixed"],default:"mixed"},{name:"pattern",type:"string",default:'[\\w"]+'},{name:"stopwords",type:"string",default:""},{name:"as",type:"string",array:!0,length:2,default:["text","count"]}]};function t2t(t,e,n){switch(e){case"upper":t=t.toUpperCase();break;case"lower":t=t.toLowerCase();break}return t.match(n)}it(zne,Re,{transform(t,e){const n=f=>d=>{for(var h=t2t(a(d),t.case,o)||[],p,g=0,m=h.length;gi[f]=1+(i[f]||0)),c=n(f=>i[f]-=1);return r?e.visit(e.SOURCE,u):(e.visit(e.ADD,u),e.visit(e.REM,c)),this._finish(e,l)},_parameterCheck(t,e){let n=!1;return(t.modified("stopwords")||!this._stop)&&(this._stop=new RegExp("^"+(t.stopwords||"")+"$","i"),n=!0),(t.modified("pattern")||!this._match)&&(this._match=new RegExp(t.pattern||"[\\w']+","g"),n=!0),(t.modified("field")||e.modified(t.field.fields))&&(n=!0),n&&(this._counts={}),n},_finish(t,e){const n=this._counts,r=this._tuples||(this._tuples={}),i=e[0],o=e[1],s=t.fork(t.NO_SOURCE|t.NO_FIELDS);let a,l,u;for(a in n)l=r[a],u=n[a]||0,!l&&u?(r[a]=l=ur({}),l[i]=a,l[o]=u,s.add.push(l)):u===0?(l&&s.rem.push(l),n[a]=null,r[a]=null):l[o]!==u&&(l[o]=u,s.mod.push(l));return s.modifies(e)}});function jne(t){Re.call(this,null,t)}jne.Definition={type:"Cross",metadata:{generates:!0},params:[{name:"filter",type:"expr"},{name:"as",type:"string",array:!0,length:2,default:["a","b"]}]};it(jne,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE),r=t.as||["a","b"],i=r[0],o=r[1],s=!this.value||e.changed(e.ADD_REM)||t.modified("as")||t.modified("filter");let a=this.value;return s?(a&&(n.rem=a),a=e.materialize(e.SOURCE).source,n.add=this.value=n2t(a,i,o,t.filter||Tc)):n.mod=a,n.source=this.value,n.modifies(r)}});function n2t(t,e,n,r){for(var i=[],o={},s=t.length,a=0,l,u;aNLe(o,e))):typeof r[i]===Npe&&r[i](t[i]);return r}function Bne(t){Re.call(this,null,t)}const zLe=[{key:{function:"normal"},params:[{name:"mean",type:"number",default:0},{name:"stdev",type:"number",default:1}]},{key:{function:"lognormal"},params:[{name:"mean",type:"number",default:0},{name:"stdev",type:"number",default:1}]},{key:{function:"uniform"},params:[{name:"min",type:"number",default:0},{name:"max",type:"number",default:1}]},{key:{function:"kde"},params:[{name:"field",type:"field",required:!0},{name:"from",type:"data"},{name:"bandwidth",type:"number",default:0}]}],o2t={key:{function:"mixture"},params:[{name:"distributions",type:"param",array:!0,params:zLe},{name:"weights",type:"number",array:!0}]};Bne.Definition={type:"Density",metadata:{generates:!0},params:[{name:"extent",type:"number",array:!0,length:2},{name:"steps",type:"number"},{name:"minsteps",type:"number",default:25},{name:"maxsteps",type:"number",default:200},{name:"method",type:"string",default:"pdf",values:["pdf","cdf"]},{name:"distribution",type:"param",params:zLe.concat(o2t)},{name:"as",type:"string",array:!0,default:["value","density"]}]};it(Bne,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE|e.NO_FIELDS);if(!this.value||e.changed()||t.modified()){const r=NLe(t.distribution,s2t(e)),i=t.steps||t.minsteps||25,o=t.steps||t.maxsteps||200;let s=t.method||"pdf";s!=="pdf"&&s!=="cdf"&&je("Invalid density method: "+s),!t.extent&&!r.data&&je("Missing density extent parameter."),s=r[s];const a=t.as||["value","density"],l=t.extent||Ch(r.data()),u=uB(s,l,i,o).map(c=>{const f={};return f[a[0]]=c[0],f[a[1]]=c[1],ur(f)});this.value&&(n.rem=this.value),this.value=n.add=n.source=u}return n}});function s2t(t){return()=>t.materialize(t.SOURCE).source}function jLe(t,e){return t?t.map((n,r)=>e[r]||Ni(n)):null}function Une(t,e,n){const r=[],i=f=>f(l);let o,s,a,l,u,c;if(e==null)r.push(t.map(n));else for(o={},s=0,a=t.length;stR(Ch(t,e))/30;it(Wne,Re,{transform(t,e){if(this.value&&!(t.modified()||e.changed()))return e;const n=e.materialize(e.SOURCE).source,r=Une(e.source,t.groupby,ea),i=t.smooth||!1,o=t.field,s=t.step||a2t(n,o),a=ob((p,g)=>o(p)-o(g)),l=t.as||BLe,u=r.length;let c=1/0,f=-1/0,d=0,h;for(;df&&(f=g),p[++h][l]=g}return this.value={start:c,stop:f,step:s},e.reflow(!0).modifies(l)}});function ULe(t){Ir.call(this,null,l2t,t),this.modified(!0)}it(ULe,Ir);function l2t(t){const e=t.expr;return this.value&&!t.modified("expr")?this.value:kl(n=>e(n,t),Ys(e),Ni(e))}function Vne(t){Re.call(this,[void 0,void 0],t)}Vne.Definition={type:"Extent",metadata:{},params:[{name:"field",type:"field",required:!0}]};it(Vne,Re,{transform(t,e){const n=this.value,r=t.field,i=e.changed()||e.modified(r.fields)||t.modified("field");let o=n[0],s=n[1];if((i||o==null)&&(o=1/0,s=-1/0),e.visit(i?e.SOURCE:e.ADD,a=>{const l=qs(r(a));l!=null&&(ls&&(s=l))}),!Number.isFinite(o)||!Number.isFinite(s)){let a=Ni(r);a&&(a=` for field "${a}"`),e.dataflow.warn(`Infinite extent${a}: [${o}, ${s}]`),o=s=void 0}this.value=[o,s]}});function Gne(t,e){Ir.call(this,t),this.parent=e,this.count=0}it(Gne,Ir,{connect(t){return this.detachSubflow=t.detachSubflow,this.targets().add(t),t.source=this},add(t){this.count+=1,this.value.add.push(t)},rem(t){this.count-=1,this.value.rem.push(t)},mod(t){this.value.mod.push(t)},init(t){this.value.init(t,t.NO_SOURCE)},evaluate(){return this.value}});function cB(t){Re.call(this,{},t),this._keys=vO();const e=this._targets=[];e.active=0,e.forEach=n=>{for(let r=0,i=e.active;rr&&r.count>0);this.initTargets(n)}},initTargets(t){const e=this._targets,n=e.length,r=t?t.length:0;let i=0;for(;ithis.subflow(l,i,e);return this._group=t.group||{},this.initTargets(),e.visit(e.REM,l=>{const u=zt(l),c=o.get(u);c!==void 0&&(o.delete(u),a(c).rem(l))}),e.visit(e.ADD,l=>{const u=r(l);o.set(zt(l),u),a(u).add(l)}),s||e.modified(r.fields)?e.visit(e.MOD,l=>{const u=zt(l),c=o.get(u),f=r(l);c===f?a(f).mod(l):(o.set(u,f),a(c).rem(l),a(f).add(l))}):e.changed(e.MOD)&&e.visit(e.MOD,l=>{a(o.get(zt(l))).mod(l)}),s&&e.visit(e.REFLOW,l=>{const u=zt(l),c=o.get(u),f=r(l);c!==f&&(o.set(u,f),a(c).rem(l),a(f).add(l))}),e.clean()?n.runAfter(()=>{this.clean(),o.clean()}):o.empty>n.cleanThreshold&&n.runAfter(o.clean),e}});function WLe(t){Ir.call(this,null,u2t,t)}it(WLe,Ir);function u2t(t){return this.value&&!t.modified()?this.value:We(t.name)?pt(t.name).map(e=>Ec(e)):Ec(t.name,t.as)}function Hne(t){Re.call(this,vO(),t)}Hne.Definition={type:"Filter",metadata:{changes:!0},params:[{name:"expr",type:"expr",required:!0}]};it(Hne,Re,{transform(t,e){const n=e.dataflow,r=this.value,i=e.fork(),o=i.add,s=i.rem,a=i.mod,l=t.expr;let u=!0;e.visit(e.REM,f=>{const d=zt(f);r.has(d)?r.delete(d):s.push(f)}),e.visit(e.ADD,f=>{l(f,t)?o.push(f):r.set(zt(f),1)});function c(f){const d=zt(f),h=l(f,t),p=r.get(d);h&&p?(r.delete(d),o.push(f)):!h&&!p?(r.set(d,1),s.push(f)):u&&h&&!p&&a.push(f)}return e.visit(e.MOD,c),t.modified()&&(u=!1,e.visit(e.REFLOW,c)),r.empty>n.cleanThreshold&&n.runAfter(r.clean),i}});function qne(t){Re.call(this,[],t)}qne.Definition={type:"Flatten",metadata:{generates:!0},params:[{name:"fields",type:"field",array:!0,required:!0},{name:"index",type:"string"},{name:"as",type:"string",array:!0}]};it(qne,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE),r=t.fields,i=jLe(r,t.as||[]),o=t.index||null,s=i.length;return n.rem=this.value,e.visit(e.SOURCE,a=>{const l=r.map(p=>p(a)),u=l.reduce((p,g)=>Math.max(p,g.length),0);let c=0,f,d,h;for(;c{for(let c=0,f;cs[r]=n(s,t))}});function VLe(t){Re.call(this,[],t)}it(VLe,Re,{transform(t,e){const n=e.fork(e.ALL),r=t.generator;let i=this.value,o=t.size-i.length,s,a,l;if(o>0){for(s=[];--o>=0;)s.push(l=ur(r(t))),i.push(l);n.add=n.add.length?n.materialize(n.ADD).add.concat(s):s}else a=i.slice(0,-o),n.rem=n.rem.length?n.materialize(n.REM).rem.concat(a):a,i=i.slice(-o);return n.source=this.value=i,n}});const kI={value:"value",median:mIe,mean:GSt,min:Bq,max:Ix},c2t=[];function Qne(t){Re.call(this,[],t)}Qne.Definition={type:"Impute",metadata:{changes:!0},params:[{name:"field",type:"field",required:!0},{name:"key",type:"field",required:!0},{name:"keyvals",array:!0},{name:"groupby",type:"field",array:!0},{name:"method",type:"enum",default:"value",values:["value","mean","median","max","min"]},{name:"value",default:0}]};function f2t(t){var e=t.method||kI.value,n;if(kI[e]==null)je("Unrecognized imputation method: "+e);else return e===kI.value?(n=t.value!==void 0?t.value:0,()=>n):kI[e]}function d2t(t){const e=t.field;return n=>n?e(n):NaN}it(Qne,Re,{transform(t,e){var n=e.fork(e.ALL),r=f2t(t),i=d2t(t),o=Ni(t.field),s=Ni(t.key),a=(t.groupby||[]).map(Ni),l=h2t(e.source,t.groupby,t.key,t.keyvals),u=[],c=this.value,f=l.domain.length,d,h,p,g,m,v,y,x,b,w;for(m=0,x=l.length;mv(m),o=[],s=r?r.slice():[],a={},l={},u,c,f,d,h,p,g,m;for(s.forEach((v,y)=>a[v]=y+1),d=0,g=t.length;dn.add(o))):(i=n.value=n.value||this.init(t),e.visit(e.REM,o=>n.rem(o)),e.visit(e.ADD,o=>n.add(o))),n.changes(),e.visit(e.SOURCE,o=>{un(o,i[n.cellkey(o)].tuple)}),e.reflow(r).modifies(this._outputs)},changes(){const t=this._adds,e=this._mods;let n,r;for(n=0,r=this._alen;n{const p=Cne(h,s)[a],g=t.counts?h.length:1,m=c||Ch(h);uB(p,m,f,d).forEach(v=>{const y={};for(let x=0;x(this._pending=pt(i.data),o=>o.touch(this)))}:n.request(t.url,t.format).then(r=>WW(this,e,pt(r.data)))}});function g2t(t){return t.modified("async")&&!(t.modified("values")||t.modified("url")||t.modified("format"))}function WW(t,e,n){n.forEach(ur);const r=e.fork(e.NO_FIELDS&e.NO_SOURCE);return r.rem=t.value,t.value=r.source=r.add=n,t._pending=null,r.rem.length&&r.clean(!0),r}function Jne(t){Re.call(this,{},t)}Jne.Definition={type:"Lookup",metadata:{modifies:!0},params:[{name:"index",type:"index",params:[{name:"from",type:"data",required:!0},{name:"key",type:"field",required:!0}]},{name:"values",type:"field",array:!0},{name:"fields",type:"field",array:!0,required:!0},{name:"as",type:"string",array:!0},{name:"default",default:null}]};it(Jne,Re,{transform(t,e){const n=t.fields,r=t.index,i=t.values,o=t.default==null?null:t.default,s=t.modified(),a=n.length;let l=s?e.SOURCE:e.ADD,u=e,c=t.as,f,d,h;return i?(d=i.length,a>1&&!c&&je('Multi-field lookup requires explicit "as" parameter.'),c&&c.length!==a*d&&je('The "as" parameter has too few output field names.'),c=c||i.map(Ni),f=function(p){for(var g=0,m=0,v,y;ge.modified(p.fields)),l|=h?e.MOD:0),e.visit(l,f),u.modifies(c)}});function qLe(t){Ir.call(this,null,m2t,t)}it(qLe,Ir);function m2t(t){if(this.value&&!t.modified())return this.value;const e=t.extents,n=e.length;let r=1/0,i=-1/0,o,s;for(o=0;oi&&(i=s[1]);return[r,i]}function XLe(t){Ir.call(this,null,v2t,t)}it(XLe,Ir);function v2t(t){return this.value&&!t.modified()?this.value:t.values.reduce((e,n)=>e.concat(n),[])}function YLe(t){Re.call(this,null,t)}it(YLe,Re,{transform(t,e){return this.modified(t.modified()),this.value=t,e.fork(e.NO_SOURCE|e.NO_FIELDS)}});function ere(t){ry.call(this,t)}ere.Definition={type:"Pivot",metadata:{generates:!0,changes:!0},params:[{name:"groupby",type:"field",array:!0},{name:"field",type:"field",required:!0},{name:"value",type:"field",required:!0},{name:"op",type:"enum",values:iR,default:"sum"},{name:"limit",type:"number",default:0},{name:"key",type:"field"}]};it(ere,ry,{_transform:ry.prototype.transform,transform(t,e){return this._transform(y2t(t,e),e)}});function y2t(t,e){const n=t.field,r=t.value,i=(t.op==="count"?"__count__":t.op)||"sum",o=Ys(n).concat(Ys(r)),s=b2t(n,t.limit||0,e);return e.changed()&&t.set("__pivot__",null,null,!0),{key:t.key,groupby:t.groupby,ops:s.map(()=>i),fields:s.map(a=>x2t(a,n,r,o)),as:s.map(a=>a+""),modified:t.modified.bind(t)}}function x2t(t,e,n,r){return kl(i=>e(i)===t?n(i):NaN,r,t+"")}function b2t(t,e,n){const r={},i=[];return n.visit(n.SOURCE,o=>{const s=t(o);r[s]||(r[s]=1,i.push(s))}),i.sort(H4),e?i.slice(0,e):i}function QLe(t){cB.call(this,t)}it(QLe,cB,{transform(t,e){const n=t.subflow,r=t.field,i=o=>this.subflow(zt(o),n,e,o);return(t.modified("field")||r&&e.modified(Ys(r)))&&je("PreFacet does not support field modification."),this.initTargets(),r?(e.visit(e.MOD,o=>{const s=i(o);r(o).forEach(a=>s.mod(a))}),e.visit(e.ADD,o=>{const s=i(o);r(o).forEach(a=>s.add(ur(a)))}),e.visit(e.REM,o=>{const s=i(o);r(o).forEach(a=>s.rem(a))})):(e.visit(e.MOD,o=>i(o).mod(o)),e.visit(e.ADD,o=>i(o).add(o)),e.visit(e.REM,o=>i(o).rem(o))),e.clean()&&e.runAfter(()=>this.clean()),e}});function tre(t){Re.call(this,null,t)}tre.Definition={type:"Project",metadata:{generates:!0,changes:!0},params:[{name:"fields",type:"field",array:!0},{name:"as",type:"string",null:!0,array:!0}]};it(tre,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE),r=t.fields,i=jLe(t.fields,t.as||[]),o=r?(a,l)=>w2t(a,l,r,i):nB;let s;return this.value?s=this.value:(e=e.addAll(),s=this.value={}),e.visit(e.REM,a=>{const l=zt(a);n.rem.push(s[l]),s[l]=null}),e.visit(e.ADD,a=>{const l=o(a,ur({}));s[zt(a)]=l,n.add.push(l)}),e.visit(e.MOD,a=>{n.mod.push(o(a,s[zt(a)]))}),n}});function w2t(t,e,n,r){for(let i=0,o=n.length;i{const d=xne(f,u);for(let h=0;h{const o=zt(i);n.rem.push(r[o]),r[o]=null}),e.visit(e.ADD,i=>{const o=mne(i);r[zt(i)]=o,n.add.push(o)}),e.visit(e.MOD,i=>{const o=r[zt(i)];for(const s in i)o[s]=i[s],n.modifies(s);n.mod.push(o)})),n}});function rre(t){Re.call(this,[],t),this.count=0}rre.Definition={type:"Sample",metadata:{},params:[{name:"size",type:"number",default:1e3}]};it(rre,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE),r=t.modified("size"),i=t.size,o=this.value.reduce((c,f)=>(c[zt(f)]=1,c),{});let s=this.value,a=this.count,l=0;function u(c){let f,d;s.length=l&&(f=s[d],o[zt(f)]&&n.rem.push(f),s[d]=c)),++a}if(e.rem.length&&(e.visit(e.REM,c=>{const f=zt(c);o[f]&&(o[f]=-1,n.rem.push(c)),--a}),s=s.filter(c=>o[zt(c)]!==-1)),(e.rem.length||r)&&s.length{o[zt(c)]||u(c)}),l=-1),r&&s.length>i){const c=s.length-i;for(let f=0;f{o[zt(c)]&&n.mod.push(c)}),e.add.length&&e.visit(e.ADD,u),(e.add.length||l<0)&&(n.add=s.filter(c=>!o[zt(c)])),this.count=a,this.value=n.source=s,n}});function ire(t){Re.call(this,null,t)}ire.Definition={type:"Sequence",metadata:{generates:!0,changes:!0},params:[{name:"start",type:"number",required:!0},{name:"stop",type:"number",required:!0},{name:"step",type:"number",default:1},{name:"as",type:"string",default:"data"}]};it(ire,Re,{transform(t,e){if(this.value&&!t.modified())return;const n=e.materialize().fork(e.MOD),r=t.as||"data";return n.rem=this.value?e.rem.concat(this.value):e.rem,this.value=ol(t.start,t.stop,t.step||1).map(i=>{const o={};return o[r]=i,ur(o)}),n.add=e.add.concat(this.value),n}});function JLe(t){Re.call(this,null,t),this.modified(!0)}it(JLe,Re,{transform(t,e){return this.value=e.source,e.changed()?e.fork(e.NO_SOURCE|e.NO_FIELDS):e.StopPropagation}});function ore(t){Re.call(this,null,t)}const e$e=["unit0","unit1"];ore.Definition={type:"TimeUnit",metadata:{modifies:!0},params:[{name:"field",type:"field",required:!0},{name:"interval",type:"boolean",default:!0},{name:"units",type:"enum",values:ane,array:!0},{name:"step",type:"number",default:1},{name:"maxbins",type:"number",default:40},{name:"extent",type:"date",array:!0},{name:"timezone",type:"enum",default:"local",values:["local","utc"]},{name:"as",type:"string",array:!0,length:2,default:e$e}]};it(ore,Re,{transform(t,e){const n=t.field,r=t.interval!==!1,i=t.timezone==="utc",o=this._floor(t,e),s=(i?_O:wO)(o.unit).offset,a=t.as||e$e,l=a[0],u=a[1],c=o.step;let f=o.start||1/0,d=o.stop||-1/0,h=e.ADD;return(t.modified()||e.changed(e.REM)||e.modified(Ys(n)))&&(e=e.reflow(!0),h=e.SOURCE,f=1/0,d=-1/0),e.visit(h,p=>{const g=n(p);let m,v;g==null?(p[l]=null,r&&(p[u]=null)):(p[l]=m=v=o(g),r&&(p[u]=v=s(m,c)),md&&(d=v))}),o.start=f,o.stop=d,e.modifies(r?a:l)},_floor(t,e){const n=t.timezone==="utc",{units:r,step:i}=t.units?{units:t.units,step:t.step||1}:VIe({extent:t.extent||Ch(e.materialize(e.SOURCE).source,t.field),maxbins:t.maxbins}),o=lne(r),s=this.value||{},a=(n?LIe:IIe)(o,i);return a.unit=$n(o),a.units=o,a.step=i,a.start=s.start,a.stop=s.stop,this.value=a}});function t$e(t){Re.call(this,vO(),t)}it(t$e,Re,{transform(t,e){const n=e.dataflow,r=t.field,i=this.value,o=a=>i.set(r(a),a);let s=!0;return t.modified("field")||e.modified(r.fields)?(i.clear(),e.visit(e.SOURCE,o)):e.changed()?(e.visit(e.REM,a=>i.delete(r(a))),e.visit(e.ADD,o)):s=!1,this.modified(s),i.empty>n.cleanThreshold&&n.runAfter(i.clean),e.fork()}});function n$e(t){Re.call(this,null,t)}it(n$e,Re,{transform(t,e){(!this.value||t.modified("field")||t.modified("sort")||e.changed()||t.sort&&e.modified(t.sort.fields))&&(this.value=(t.sort?e.source.slice().sort(ob(t.sort)):e.source).map(t.field))}});function S2t(t,e,n,r){const i=OA[t](e,n);return{init:i.init||nv,update:function(o,s){s[r]=i.next(o)}}}const OA={row_number:function(){return{next:t=>t.index+1}},rank:function(){let t;return{init:()=>t=1,next:e=>{const n=e.index,r=e.data;return n&&e.compare(r[n-1],r[n])?t=n+1:t}}},dense_rank:function(){let t;return{init:()=>t=1,next:e=>{const n=e.index,r=e.data;return n&&e.compare(r[n-1],r[n])?++t:t}}},percent_rank:function(){const t=OA.rank(),e=t.next;return{init:t.init,next:n=>(e(n)-1)/(n.data.length-1)}},cume_dist:function(){let t;return{init:()=>t=0,next:e=>{const n=e.data,r=e.compare;let i=e.index;if(t0||je("ntile num must be greater than zero.");const n=OA.cume_dist(),r=n.next;return{init:n.init,next:i=>Math.ceil(e*r(i))}},lag:function(t,e){return e=+e||1,{next:n=>{const r=n.index-e;return r>=0?t(n.data[r]):null}}},lead:function(t,e){return e=+e||1,{next:n=>{const r=n.index+e,i=n.data;return rt(e.data[e.i0])}},last_value:function(t){return{next:e=>t(e.data[e.i1-1])}},nth_value:function(t,e){return e=+e,e>0||je("nth_value nth must be greater than zero."),{next:n=>{const r=n.i0+(e-1);return re=null,next:n=>{const r=t(n.data[n.index]);return r!=null?e=r:e}}},next_value:function(t){let e,n;return{init:()=>(e=null,n=-1),next:r=>{const i=r.data;return r.index<=n?e:(n=C2t(t,i,r.index))<0?(n=i.length,e=null):e=t(i[n])}}}};function C2t(t,e,n){for(let r=e.length;nl[g]=1)}h(t.sort),e.forEach((p,g)=>{const m=n[g],v=r[g],y=i[g]||null,x=Ni(m),b=RLe(p,x,o[g]);if(h(m),s.push(b),vt(OA,p))a.push(S2t(p,m,v,b));else{if(m==null&&p!=="count"&&je("Null aggregate field specified."),p==="count"){c.push(b);return}d=!1;let w=u[x];w||(w=u[x]=[],w.field=m,f.push(w)),w.push(DLe(p,y,b))}}),(c.length||f.length)&&(this.cell=E2t(f,c,d)),this.inputs=Object.keys(l)}const i$e=r$e.prototype;i$e.init=function(){this.windows.forEach(t=>t.init()),this.cell&&this.cell.init()};i$e.update=function(t,e){const n=this.cell,r=this.windows,i=t.data,o=r&&r.length;let s;if(n){for(s=t.p0;sLLe(l,l.field));const r={num:0,agg:null,store:!1,count:e};if(!n)for(var i=t.length,o=r.agg=Array(i),s=0;sthis.group(i(a));let s=this.state;(!s||n)&&(s=this.state=new r$e(t)),n||e.modified(s.inputs)?(this.value={},e.visit(e.SOURCE,a=>o(a).add(a))):(e.visit(e.REM,a=>o(a).remove(a)),e.visit(e.ADD,a=>o(a).add(a)));for(let a=0,l=this._mlen;a0&&!i(o[n],o[n-1])&&(t.i0=e.left(o,o[n])),r1?0:t<-1?iy:Math.acos(t)}function jpe(t){return t>=1?_N:t<=-1?-_N:Math.asin(t)}const Zq=Math.PI,Jq=2*Zq,z0=1e-6,D2t=Jq-z0;function o$e(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return o$e;const n=10**e;return function(r){this._+=r[0];for(let i=1,o=r.length;iz0)if(!(Math.abs(f*l-u*c)>z0)||!o)this._append`L${this._x1=e},${this._y1=n}`;else{let h=r-s,p=i-a,g=l*l+u*u,m=h*h+p*p,v=Math.sqrt(g),y=Math.sqrt(d),x=o*Math.tan((Zq-Math.acos((g+d-m)/(2*v*y)))/2),b=x/y,w=x/v;Math.abs(b-1)>z0&&this._append`L${e+b*c},${n+b*f}`,this._append`A${o},${o},0,0,${+(f*h>c*p)},${this._x1=e+w*l},${this._y1=n+w*u}`}}arc(e,n,r,i,o,s){if(e=+e,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let a=r*Math.cos(i),l=r*Math.sin(i),u=e+a,c=n+l,f=1^s,d=s?i-o:o-i;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>z0||Math.abs(this._y1-c)>z0)&&this._append`L${u},${c}`,r&&(d<0&&(d=d%Jq+Jq),d>D2t?this._append`A${r},${r},0,1,${f},${e-a},${n-l}A${r},${r},0,1,${f},${this._x1=u},${this._y1=c}`:d>z0&&this._append`A${r},${r},0,${+(d>=Zq)},${f},${this._x1=e+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(e,n,r,i){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}};function fB(){return new are}fB.prototype=are.prototype;function dB(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(n==null)e=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);e=r}return t},()=>new are(e)}function L2t(t){return t.innerRadius}function $2t(t){return t.outerRadius}function F2t(t){return t.startAngle}function N2t(t){return t.endAngle}function z2t(t){return t&&t.padAngle}function j2t(t,e,n,r,i,o,s,a){var l=n-t,u=r-e,c=s-i,f=a-o,d=f*l-c*u;if(!(d*d<$s))return d=(c*(e-o)-f*(t-i))/d,[t+d*l,e+d*u]}function AI(t,e,n,r,i,o,s){var a=t-n,l=e-r,u=(s?o:-o)/ds(a*a+l*l),c=u*l,f=-u*a,d=t+c,h=e+f,p=n+c,g=r+f,m=(d+p)/2,v=(h+g)/2,y=p-d,x=g-h,b=y*y+x*x,w=i-o,_=d*g-p*h,S=(x<0?-1:1)*ds(M2t(0,w*w*b-_*_)),O=(_*x-y*S)/b,k=(-_*y-x*S)/b,E=(_*x+y*S)/b,M=(-_*y+x*S)/b,A=O-m,P=k-v,T=E-m,R=M-v;return A*A+P*P>T*T+R*R&&(O=E,k=M),{cx:O,cy:k,x01:-c,y01:-f,x11:O*(i/w-1),y11:k*(i/w-1)}}function B2t(){var t=L2t,e=$2t,n=Nn(0),r=null,i=F2t,o=N2t,s=z2t,a=null,l=dB(u);function u(){var c,f,d=+t.apply(this,arguments),h=+e.apply(this,arguments),p=i.apply(this,arguments)-_N,g=o.apply(this,arguments)-_N,m=zpe(g-p),v=g>p;if(a||(a=c=l()),h$s))a.moveTo(0,0);else if(m>oR-$s)a.moveTo(h*kp(p),h*Va(p)),a.arc(0,0,h,p,g,!v),d>$s&&(a.moveTo(d*kp(g),d*Va(g)),a.arc(0,0,d,g,p,v));else{var y=p,x=g,b=p,w=g,_=m,S=m,O=s.apply(this,arguments)/2,k=O>$s&&(r?+r.apply(this,arguments):ds(d*d+h*h)),E=VW(zpe(h-d)/2,+n.apply(this,arguments)),M=E,A=E,P,T;if(k>$s){var R=jpe(k/d*Va(O)),I=jpe(k/h*Va(O));(_-=R*2)>$s?(R*=v?1:-1,b+=R,w-=R):(_=0,b=w=(p+g)/2),(S-=I*2)>$s?(I*=v?1:-1,y+=I,x-=I):(S=0,y=x=(p+g)/2)}var B=h*kp(y),$=h*Va(y),z=d*kp(w),L=d*Va(w);if(E>$s){var j=h*kp(x),N=h*Va(x),F=d*kp(b),H=d*Va(b),q;if(m$s?A>$s?(P=AI(F,H,B,$,h,A,v),T=AI(j,N,z,L,h,A,v),a.moveTo(P.cx+P.x01,P.cy+P.y01),A$s)||!(_>$s)?a.lineTo(z,L):M>$s?(P=AI(z,L,j,N,d,-M,v),T=AI(B,$,F,H,d,-M,v),a.lineTo(P.cx+P.x01,P.cy+P.y01),M=h;--p)a.point(x[p],b[p]);a.lineEnd(),a.areaEnd()}v&&(x[d]=+t(m,d,f),b[d]=+e(m,d,f),a.point(r?+r(m,d,f):x[d],n?+n(m,d,f):b[d]))}if(y)return a=null,y+""||null}function c(){return ure().defined(i).curve(s).context(o)}return u.x=function(f){return arguments.length?(t=typeof f=="function"?f:Nn(+f),r=null,u):t},u.x0=function(f){return arguments.length?(t=typeof f=="function"?f:Nn(+f),u):t},u.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:Nn(+f),u):r},u.y=function(f){return arguments.length?(e=typeof f=="function"?f:Nn(+f),n=null,u):e},u.y0=function(f){return arguments.length?(e=typeof f=="function"?f:Nn(+f),u):e},u.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:Nn(+f),u):n},u.lineX0=u.lineY0=function(){return c().x(t).y(e)},u.lineY1=function(){return c().x(t).y(n)},u.lineX1=function(){return c().x(r).y(e)},u.defined=function(f){return arguments.length?(i=typeof f=="function"?f:Nn(!!f),u):i},u.curve=function(f){return arguments.length?(s=f,o!=null&&(a=s(o)),u):s},u.context=function(f){return arguments.length?(f==null?o=a=null:a=s(o=f),u):o},u}class u$e{constructor(e,n){this._context=e,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,n){switch(e=+e,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(e,n):this._context.moveTo(e,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,n,e,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,e,this._y0,e,n);break}}this._x0=e,this._y0=n}}function U2t(t){return new u$e(t,!0)}function W2t(t){return new u$e(t,!1)}const cre={draw(t,e){const n=ds(e/iy);t.moveTo(n,0),t.arc(0,0,n,0,oR)}},V2t={draw(t,e){const n=ds(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},c$e=ds(1/3),G2t=c$e*2,H2t={draw(t,e){const n=ds(e/G2t),r=n*c$e;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},q2t={draw(t,e){const n=ds(e),r=-n/2;t.rect(r,r,n,n)}},X2t=.8908130915292852,f$e=Va(iy/10)/Va(7*iy/10),Y2t=Va(oR/10)*f$e,Q2t=-kp(oR/10)*f$e,K2t={draw(t,e){const n=ds(e*X2t),r=Y2t*n,i=Q2t*n;t.moveTo(0,-n),t.lineTo(r,i);for(let o=1;o<5;++o){const s=oR*o/5,a=kp(s),l=Va(s);t.lineTo(l*n,-a*n),t.lineTo(a*r-l*i,l*r+a*i)}t.closePath()}},GW=ds(3),Z2t={draw(t,e){const n=-ds(e/(GW*3));t.moveTo(0,n*2),t.lineTo(-GW*n,-n),t.lineTo(GW*n,-n),t.closePath()}},$u=-.5,Fu=ds(3)/2,eX=1/ds(12),J2t=(eX/2+1)*3,eTt={draw(t,e){const n=ds(e/J2t),r=n/2,i=n*eX,o=r,s=n*eX+n,a=-o,l=s;t.moveTo(r,i),t.lineTo(o,s),t.lineTo(a,l),t.lineTo($u*r-Fu*i,Fu*r+$u*i),t.lineTo($u*o-Fu*s,Fu*o+$u*s),t.lineTo($u*a-Fu*l,Fu*a+$u*l),t.lineTo($u*r+Fu*i,$u*i-Fu*r),t.lineTo($u*o+Fu*s,$u*s-Fu*o),t.lineTo($u*a+Fu*l,$u*l-Fu*a),t.closePath()}};function d$e(t,e){let n=null,r=dB(i);t=typeof t=="function"?t:Nn(t||cre),e=typeof e=="function"?e:Nn(e===void 0?64:+e);function i(){let o;if(n||(n=o=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(t=typeof o=="function"?o:Nn(o),i):t},i.size=function(o){return arguments.length?(e=typeof o=="function"?o:Nn(+o),i):e},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function oy(){}function SN(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function hB(t){this._context=t}hB.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:SN(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:SN(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function h$e(t){return new hB(t)}function p$e(t){this._context=t}p$e.prototype={areaStart:oy,areaEnd:oy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:SN(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function g$e(t){return new p$e(t)}function m$e(t){this._context=t}m$e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:SN(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function v$e(t){return new m$e(t)}function y$e(t,e){this._basis=new hB(t),this._beta=e}y$e.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r=t[0],i=e[0],o=t[n]-r,s=e[n]-i,a=-1,l;++a<=n;)l=a/n,this._basis.point(this._beta*t[a]+(1-this._beta)*(r+l*o),this._beta*e[a]+(1-this._beta)*(i+l*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const tTt=function t(e){function n(r){return e===1?new hB(r):new y$e(r,e)}return n.beta=function(r){return t(+r)},n}(.85);function CN(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function fre(t,e){this._context=t,this._k=(1-e)/6}fre.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:CN(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:CN(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const nTt=function t(e){function n(r){return new fre(r,e)}return n.tension=function(r){return t(+r)},n}(0);function dre(t,e){this._context=t,this._k=(1-e)/6}dre.prototype={areaStart:oy,areaEnd:oy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:CN(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const rTt=function t(e){function n(r){return new dre(r,e)}return n.tension=function(r){return t(+r)},n}(0);function hre(t,e){this._context=t,this._k=(1-e)/6}hre.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:CN(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const iTt=function t(e){function n(r){return new hre(r,e)}return n.tension=function(r){return t(+r)},n}(0);function pre(t,e,n){var r=t._x1,i=t._y1,o=t._x2,s=t._y2;if(t._l01_a>$s){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>$s){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/c,s=(s*u+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,o,s,t._x2,t._y2)}function x$e(t,e){this._context=t,this._alpha=e}x$e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:pre(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const oTt=function t(e){function n(r){return e?new x$e(r,e):new fre(r,0)}return n.alpha=function(r){return t(+r)},n}(.5);function b$e(t,e){this._context=t,this._alpha=e}b$e.prototype={areaStart:oy,areaEnd:oy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:pre(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const sTt=function t(e){function n(r){return e?new b$e(r,e):new dre(r,0)}return n.alpha=function(r){return t(+r)},n}(.5);function w$e(t,e){this._context=t,this._alpha=e}w$e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:pre(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const aTt=function t(e){function n(r){return e?new w$e(r,e):new hre(r,0)}return n.alpha=function(r){return t(+r)},n}(.5);function _$e(t){this._context=t}_$e.prototype={areaStart:oy,areaEnd:oy,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function S$e(t){return new _$e(t)}function Bpe(t){return t<0?-1:1}function Upe(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),s=(n-t._y1)/(i||r<0&&-0),a=(o*i+s*r)/(r+i);return(Bpe(o)+Bpe(s))*Math.min(Math.abs(o),Math.abs(s),.5*Math.abs(a))||0}function Wpe(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function HW(t,e,n){var r=t._x0,i=t._y0,o=t._x1,s=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*e,o-a,s-a*n,o,s)}function ON(t){this._context=t}ON.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:HW(this,this._t0,Wpe(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,HW(this,Wpe(this,n=Upe(this,t,e)),n);break;default:HW(this,this._t0,n=Upe(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}};function C$e(t){this._context=new O$e(t)}(C$e.prototype=Object.create(ON.prototype)).point=function(t,e){ON.prototype.point.call(this,e,t)};function O$e(t){this._context=t}O$e.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}};function E$e(t){return new ON(t)}function T$e(t){return new C$e(t)}function k$e(t){this._context=t}k$e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),n===2)this._context.lineTo(t[1],e[1]);else for(var r=Vpe(t),i=Vpe(e),o=0,s=1;s=0;--e)i[e]=(s[e]-i[e+1])/o[e];for(o[n-1]=(t[n]+i[n-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}}this._x=t,this._y=e}};function P$e(t){return new pB(t,.5)}function M$e(t){return new pB(t,0)}function R$e(t){return new pB(t,1)}function DS(t,e){if((s=t.length)>1)for(var n=1,r,i,o=t[e[0]],s,a=o.length;n=0;)n[e]=e;return n}function lTt(t,e){return t[e]}function uTt(t){const e=[];return e.key=t,e}function cTt(){var t=Nn([]),e=tX,n=DS,r=lTt;function i(o){var s=Array.from(t.apply(this,arguments),uTt),a,l=s.length,u=-1,c;for(const f of o)for(a=0,++u;a0){for(var n,r,i=0,o=t[0].length,s;i0){for(var n=0,r=t[e[0]],i,o=r.length;n0)||!((o=(i=t[e[0]]).length)>0))){for(var n=0,r=1,i,o,s;rtypeof Image<"u"?Image:null;function Nc(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}function qg(t,e){switch(arguments.length){case 0:break;case 1:{typeof t=="function"?this.interpolator(t):this.range(t);break}default:{this.domain(t),typeof e=="function"?this.interpolator(e):this.range(e);break}}return this}const EN=Symbol("implicit");function aR(){var t=new ape,e=[],n=[],r=EN;function i(o){let s=t.get(o);if(s===void 0){if(r!==EN)return r;t.set(o,s=e.push(o)-1)}return n[s%n.length]}return i.domain=function(o){if(!arguments.length)return e.slice();e=[],t=new ape;for(const s of o)t.has(s)||t.set(s,e.push(s)-1);return i},i.range=function(o){return arguments.length?(n=Array.from(o),i):n.slice()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return aR(e,n).unknown(r)},Nc.apply(i,arguments),i}function EA(){var t=aR().unknown(void 0),e=t.domain,n=t.range,r=0,i=1,o,s,a=!1,l=0,u=0,c=.5;delete t.unknown;function f(){var d=e().length,h=i>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?PI(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?PI(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=mTt.exec(t))?new Lo(e[1],e[2],e[3],1):(e=vTt.exec(t))?new Lo(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=yTt.exec(t))?PI(e[1],e[2],e[3],e[4]):(e=xTt.exec(t))?PI(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=bTt.exec(t))?Kpe(e[1],e[2]/100,e[3]/100,1):(e=wTt.exec(t))?Kpe(e[1],e[2]/100,e[3]/100,e[4]):Gpe.hasOwnProperty(t)?Xpe(Gpe[t]):t==="transparent"?new Lo(NaN,NaN,NaN,0):null}function Xpe(t){return new Lo(t>>16&255,t>>8&255,t&255,1)}function PI(t,e,n,r){return r<=0&&(t=e=n=NaN),new Lo(t,e,n,r)}function gre(t){return t instanceof zy||(t=kA(t)),t?(t=t.rgb(),new Lo(t.r,t.g,t.b,t.opacity)):new Lo}function sy(t,e,n,r){return arguments.length===1?gre(t):new Lo(t,e,n,r??1)}function Lo(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}CO(Lo,sy,lR(zy,{brighter(t){return t=t==null?IS:Math.pow(IS,t),new Lo(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?l1:Math.pow(l1,t),new Lo(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Lo(Lx(this.r),Lx(this.g),Lx(this.b),TN(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ype,formatHex:Ype,formatHex8:CTt,formatRgb:Qpe,toString:Qpe}));function Ype(){return`#${dx(this.r)}${dx(this.g)}${dx(this.b)}`}function CTt(){return`#${dx(this.r)}${dx(this.g)}${dx(this.b)}${dx((isNaN(this.opacity)?1:this.opacity)*255)}`}function Qpe(){const t=TN(this.opacity);return`${t===1?"rgb(":"rgba("}${Lx(this.r)}, ${Lx(this.g)}, ${Lx(this.b)}${t===1?")":`, ${t})`}`}function TN(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Lx(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function dx(t){return t=Lx(t),(t<16?"0":"")+t.toString(16)}function Kpe(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Sf(t,e,n,r)}function I$e(t){if(t instanceof Sf)return new Sf(t.h,t.s,t.l,t.opacity);if(t instanceof zy||(t=kA(t)),!t)return new Sf;if(t instanceof Sf)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=NaN,a=o-i,l=(o+i)/2;return a?(e===o?s=(n-r)/a+(n0&&l<1?0:s,new Sf(s,a,l,t.opacity)}function kN(t,e,n,r){return arguments.length===1?I$e(t):new Sf(t,e,n,r??1)}function Sf(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}CO(Sf,kN,lR(zy,{brighter(t){return t=t==null?IS:Math.pow(IS,t),new Sf(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?l1:Math.pow(l1,t),new Sf(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Lo(qW(t>=240?t-240:t+120,i,r),qW(t,i,r),qW(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Sf(Zpe(this.h),MI(this.s),MI(this.l),TN(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=TN(this.opacity);return`${t===1?"hsl(":"hsla("}${Zpe(this.h)}, ${MI(this.s)*100}%, ${MI(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Zpe(t){return t=(t||0)%360,t<0?t+360:t}function MI(t){return Math.max(0,Math.min(1,t||0))}function qW(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const L$e=Math.PI/180,$$e=180/Math.PI,AN=18,F$e=.96422,N$e=1,z$e=.82521,j$e=4/29,D_=6/29,B$e=3*D_*D_,OTt=D_*D_*D_;function U$e(t){if(t instanceof gh)return new gh(t.l,t.a,t.b,t.opacity);if(t instanceof Xp)return W$e(t);t instanceof Lo||(t=gre(t));var e=KW(t.r),n=KW(t.g),r=KW(t.b),i=XW((.2225045*e+.7168786*n+.0606169*r)/N$e),o,s;return e===n&&n===r?o=s=i:(o=XW((.4360747*e+.3850649*n+.1430804*r)/F$e),s=XW((.0139322*e+.0971045*n+.7141733*r)/z$e)),new gh(116*i-16,500*(o-i),200*(i-s),t.opacity)}function PN(t,e,n,r){return arguments.length===1?U$e(t):new gh(t,e,n,r??1)}function gh(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}CO(gh,PN,lR(zy,{brighter(t){return new gh(this.l+AN*(t??1),this.a,this.b,this.opacity)},darker(t){return new gh(this.l-AN*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=F$e*YW(e),t=N$e*YW(t),n=z$e*YW(n),new Lo(QW(3.1338561*e-1.6168667*t-.4906146*n),QW(-.9787684*e+1.9161415*t+.033454*n),QW(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function XW(t){return t>OTt?Math.pow(t,1/3):t/B$e+j$e}function YW(t){return t>D_?t*t*t:B$e*(t-j$e)}function QW(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function KW(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ETt(t){if(t instanceof Xp)return new Xp(t.h,t.c,t.l,t.opacity);if(t instanceof gh||(t=U$e(t)),t.a===0&&t.b===0)return new Xp(NaN,0=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],s=r>0?t[r-1]:2*i-o,a=r()=>t;function X$e(t,e){return function(n){return t+n*e}}function kTt(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function vB(t,e){var n=e-t;return n?X$e(t,n>180||n<-180?n-360*Math.round(n/360):n):mB(isNaN(t)?e:t)}function ATt(t){return(t=+t)==1?$o:function(e,n){return n-e?kTt(e,n,t):mB(isNaN(e)?n:e)}}function $o(t,e){var n=e-t;return n?X$e(t,n):mB(isNaN(t)?e:t)}const rX=function t(e){var n=ATt(e);function r(i,o){var s=n((i=sy(i)).r,(o=sy(o)).r),a=n(i.g,o.g),l=n(i.b,o.b),u=$o(i.opacity,o.opacity);return function(c){return i.r=s(c),i.g=a(c),i.b=l(c),i.opacity=u(c),i+""}}return r.gamma=t,r}(1);function Y$e(t){return function(e){var n=e.length,r=new Array(n),i=new Array(n),o=new Array(n),s,a;for(s=0;sn&&(o=e.slice(n,o),a[s]?a[s]+=o:a[++s]=o),(r=r[0])===(i=i[0])?a[s]?a[s]+=i:a[++s]=i:(a[++s]=null,l.push({i:s,x:yf(r,i)})),n=ZW.lastIndex;return n180?c+=360:c-u>180&&(u+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:yf(u,c)})):c&&f.push(i(f)+"rotate("+c+r)}function a(u,c,f,d){u!==c?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:yf(u,c)}):c&&f.push(i(f)+"skewX("+c+r)}function l(u,c,f,d,h,p){if(u!==f||c!==d){var g=h.push(i(h)+"scale(",null,",",null,")");p.push({i:g-4,x:yf(u,f)},{i:g-2,x:yf(c,d)})}else(f!==1||d!==1)&&h.push(i(h)+"scale("+f+","+d+")")}return function(u,c){var f=[],d=[];return u=t(u),c=t(c),o(u.translateX,u.translateY,c.translateX,c.translateY,f,d),s(u.rotate,c.rotate,f,d),a(u.skewX,c.skewX,f,d),l(u.scaleX,u.scaleY,c.scaleX,c.scaleY,f,d),u=c=null,function(h){for(var p=-1,g=d.length,m;++pe&&(n=t,t=e,e=n),function(r){return Math.max(t,Math.min(e,r))}}function nkt(t,e,n){var r=t[0],i=t[1],o=e[0],s=e[1];return i2?rkt:nkt,l=u=null,f}function f(d){return d==null||isNaN(d=+d)?o:(l||(l=a(t.map(r),e,n)))(r(s(d)))}return f.invert=function(d){return s(i((u||(u=a(e,t.map(r),yf)))(d)))},f.domain=function(d){return arguments.length?(t=Array.from(d,RN),c()):t.slice()},f.range=function(d){return arguments.length?(e=Array.from(d),c()):e.slice()},f.rangeRound=function(d){return e=Array.from(d),n=uR,c()},f.clamp=function(d){return arguments.length?(s=d?!0:ba,c()):s!==ba},f.interpolate=function(d){return arguments.length?(n=d,c()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,h){return r=d,i=h,c()}}function bre(){return yB()(ba,ba)}function wre(t,e,n,r){var i=ny(t,e,n),o;switch(r=a1(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(t),Math.abs(e));return r.precision==null&&!isNaN(o=_Ie(i,s))&&(r.precision=o),one(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=SIe(i,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=wIe(i))&&(r.precision=o-(r.type==="%")*2);break}}return q4(r)}function By(t){var e=t.domain;return t.ticks=function(n){var r=e();return zq(r[0],r[r.length-1],n??10)},t.tickFormat=function(n,r){var i=e();return wre(i[0],i[i.length-1],n??10,r)},t.nice=function(n){n==null&&(n=10);var r=e(),i=0,o=r.length-1,s=r[i],a=r[o],l,u,c=10;for(a0;){if(u=jq(s,a,n),u===l)return r[i]=s,r[o]=a,e(r);if(u>0)s=Math.floor(s/u)*u,a=Math.ceil(a/u)*u;else if(u<0)s=Math.ceil(s*u)/u,a=Math.floor(a*u)/u;else break;l=u}return t},t}function PA(){var t=bre();return t.copy=function(){return cR(t,PA())},Nc.apply(t,arguments),By(t)}function _re(t){var e;function n(r){return r==null||isNaN(r=+r)?e:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(t=Array.from(r,RN),n):t.slice()},n.unknown=function(r){return arguments.length?(e=r,n):e},n.copy=function(){return _re(t).unknown(e)},t=arguments.length?Array.from(t,RN):[0,1],By(n)}function s3e(t,e){t=t.slice();var n=0,r=t.length-1,i=t[n],o=t[r],s;return oMath.pow(t,e)}function lkt(t){return t===Math.E?Math.log:t===10&&Math.log10||t===2&&Math.log2||(t=Math.log(t),e=>Math.log(e)/t)}function age(t){return(e,n)=>-t(-e,n)}function Sre(t){const e=t(oge,sge),n=e.domain;let r=10,i,o;function s(){return i=lkt(r),o=akt(r),n()[0]<0?(i=age(i),o=age(o),t(ikt,okt)):t(oge,sge),e}return e.base=function(a){return arguments.length?(r=+a,s()):r},e.domain=function(a){return arguments.length?(n(a),s()):n()},e.ticks=a=>{const l=n();let u=l[0],c=l[l.length-1];const f=c0){for(;d<=h;++d)for(p=1;pc)break;v.push(g)}}else for(;d<=h;++d)for(p=r-1;p>=1;--p)if(g=d>0?p/o(-d):p*o(d),!(gc)break;v.push(g)}v.length*2{if(a==null&&(a=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=a1(l)).precision==null&&(l.trim=!0),l=q4(l)),a===1/0)return l;const u=Math.max(1,r*a/e.ticks().length);return c=>{let f=c/o(Math.round(i(c)));return f*rn(s3e(n(),{floor:a=>o(Math.floor(i(a))),ceil:a=>o(Math.ceil(i(a)))})),e}function Cre(){const t=Sre(yB()).domain([1,10]);return t.copy=()=>cR(t,Cre()).base(t.base()),Nc.apply(t,arguments),t}function lge(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function uge(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Ore(t){var e=1,n=t(lge(e),uge(e));return n.constant=function(r){return arguments.length?t(lge(e=+r),uge(e)):e},By(n)}function Ere(){var t=Ore(yB());return t.copy=function(){return cR(t,Ere()).constant(t.constant())},Nc.apply(t,arguments)}function cge(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function ukt(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function ckt(t){return t<0?-t*t:t*t}function Tre(t){var e=t(ba,ba),n=1;function r(){return n===1?t(ba,ba):n===.5?t(ukt,ckt):t(cge(n),cge(1/n))}return e.exponent=function(i){return arguments.length?(n=+i,r()):n},By(e)}function xB(){var t=Tre(yB());return t.copy=function(){return cR(t,xB()).exponent(t.exponent())},Nc.apply(t,arguments),t}function a3e(){return xB.apply(null,arguments).exponent(.5)}function fge(t){return Math.sign(t)*t*t}function fkt(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function l3e(){var t=bre(),e=[0,1],n=!1,r;function i(o){var s=fkt(t(o));return isNaN(s)?r:n?Math.round(s):s}return i.invert=function(o){return t.invert(fge(o))},i.domain=function(o){return arguments.length?(t.domain(o),i):t.domain()},i.range=function(o){return arguments.length?(t.range((e=Array.from(o,RN)).map(fge)),i):e.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(t.clamp(o),i):t.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return l3e(t.domain(),e).round(n).clamp(t.clamp()).unknown(r)},Nc.apply(i,arguments),By(i)}function kre(){var t=[],e=[],n=[],r;function i(){var s=0,a=Math.max(1,e.length);for(n=new Array(a-1);++s0?n[a-1]:t[0],a=n?[r[n-1],e]:[r[u-1],r[u]]},s.unknown=function(l){return arguments.length&&(o=l),s},s.thresholds=function(){return r.slice()},s.copy=function(){return Are().domain([t,e]).range(i).unknown(o)},Nc.apply(By(s),arguments)}function Pre(){var t=[.5],e=[0,1],n,r=1;function i(o){return o!=null&&o<=o?e[Rg(t,o,0,r)]:n}return i.domain=function(o){return arguments.length?(t=Array.from(o),r=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(o){return arguments.length?(e=Array.from(o),r=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(o){var s=e.indexOf(o);return[t[s-1],t[s]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return Pre().domain(t).range(e).unknown(n)},Nc.apply(i,arguments)}function dkt(t){return new Date(t)}function hkt(t){return t instanceof Date?+t:+new Date(+t)}function Mre(t,e,n,r,i,o,s,a,l,u){var c=bre(),f=c.invert,d=c.domain,h=u(".%L"),p=u(":%S"),g=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),y=u("%b %d"),x=u("%B"),b=u("%Y");function w(_){return(l(_)<_?h:a(_)<_?p:s(_)<_?g:o(_)<_?m:r(_)<_?i(_)<_?v:y:n(_)<_?x:b)(_)}return c.invert=function(_){return new Date(f(_))},c.domain=function(_){return arguments.length?d(Array.from(_,hkt)):d().map(dkt)},c.ticks=function(_){var S=d();return t(S[0],S[S.length-1],_??10)},c.tickFormat=function(_,S){return S==null?w:u(S)},c.nice=function(_){var S=d();return(!_||typeof _.range!="function")&&(_=e(S[0],S[S.length-1],_??10)),_?d(s3e(S,_)):c},c.copy=function(){return cR(c,Mre(t,e,n,r,i,o,s,a,l,u))},c}function u3e(){return Nc.apply(Mre(hCt,pCt,Oh,wA,xO,ig,Q4,X4,qp,cne).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function c3e(){return Nc.apply(Mre(fCt,dCt,Eh,_A,bO,Nv,K4,Y4,qp,fne).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function bB(){var t=0,e=1,n,r,i,o,s=ba,a=!1,l;function u(f){return f==null||isNaN(f=+f)?l:s(i===0?.5:(f=(o(f)-n)*i,a?Math.max(0,Math.min(1,f)):f))}u.domain=function(f){return arguments.length?([t,e]=f,n=o(t=+t),r=o(e=+e),i=n===r?0:1/(r-n),u):[t,e]},u.clamp=function(f){return arguments.length?(a=!!f,u):a},u.interpolator=function(f){return arguments.length?(s=f,u):s};function c(f){return function(d){var h,p;return arguments.length?([h,p]=d,s=f(h,p),u):[s(0),s(1)]}}return u.range=c(jy),u.rangeRound=c(uR),u.unknown=function(f){return arguments.length?(l=f,u):l},function(f){return o=f,n=f(t),r=f(e),i=n===r?0:1/(r-n),u}}function Uy(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function wB(){var t=By(bB()(ba));return t.copy=function(){return Uy(t,wB())},qg.apply(t,arguments)}function Rre(){var t=Sre(bB()).domain([1,10]);return t.copy=function(){return Uy(t,Rre()).base(t.base())},qg.apply(t,arguments)}function Dre(){var t=Ore(bB());return t.copy=function(){return Uy(t,Dre()).constant(t.constant())},qg.apply(t,arguments)}function _B(){var t=Tre(bB());return t.copy=function(){return Uy(t,_B()).exponent(t.exponent())},qg.apply(t,arguments)}function f3e(){return _B.apply(null,arguments).exponent(.5)}function d3e(){var t=[],e=ba;function n(r){if(r!=null&&!isNaN(r=+r))return e((Rg(t,r,1)-1)/(t.length-1))}return n.domain=function(r){if(!arguments.length)return t.slice();t=[];for(let i of r)i!=null&&!isNaN(i=+i)&&t.push(i);return t.sort(hh),n},n.interpolator=function(r){return arguments.length?(e=r,n):e},n.range=function(){return t.map((r,i)=>e(i/(t.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>mN(t,o/r))},n.copy=function(){return d3e(e).domain(t)},qg.apply(n,arguments)}function SB(){var t=0,e=.5,n=1,r=1,i,o,s,a,l,u=ba,c,f=!1,d;function h(g){return isNaN(g=+g)?d:(g=.5+((g=+c(g))-o)*(r*g0?r:1:0}const Ckt="identity",LS="linear",Ig="log",fR="pow",dR="sqrt",OB="symlog",u1="time",c1="utc",mh="sequential",OO="diverging",$S="quantile",EB="quantize",TB="threshold",Nre="ordinal",aX="point",p3e="band",zre="bin-ordinal",To="continuous",hR="discrete",pR="discretizing",zc="interpolating",jre="temporal";function Okt(t){return function(e){let n=e[0],r=e[1],i;return r=r&&n[l]<=i&&(o<0&&(o=l),s=l);if(!(o<0))return r=t.invertExtent(n[o]),i=t.invertExtent(n[s]),[r[0]===void 0?r[1]:r[0],i[1]===void 0?i[0]:i[1]]}}function Bre(){const t=aR().unknown(void 0),e=t.domain,n=t.range;let r=[0,1],i,o,s=!1,a=0,l=0,u=.5;delete t.unknown;function c(){const f=e().length,d=r[1]g+i*v);return n(d?m.reverse():m)}return t.domain=function(f){return arguments.length?(e(f),c()):e()},t.range=function(f){return arguments.length?(r=[+f[0],+f[1]],c()):r.slice()},t.rangeRound=function(f){return r=[+f[0],+f[1]],s=!0,c()},t.bandwidth=function(){return o},t.step=function(){return i},t.round=function(f){return arguments.length?(s=!!f,c()):s},t.padding=function(f){return arguments.length?(l=Math.max(0,Math.min(1,f)),a=l,c()):a},t.paddingInner=function(f){return arguments.length?(a=Math.max(0,Math.min(1,f)),c()):a},t.paddingOuter=function(f){return arguments.length?(l=Math.max(0,Math.min(1,f)),c()):l},t.align=function(f){return arguments.length?(u=Math.max(0,Math.min(1,f)),c()):u},t.invertRange=function(f){if(f[0]==null||f[1]==null)return;const d=r[1]r[1-d])))return v=Math.max(0,Rg(h,g)-1),y=g===m?v:Rg(h,m)-1,g-h[v]>o+1e-10&&++v,d&&(x=v,v=p-y,y=p-x),v>y?void 0:e().slice(v,y+1)},t.invert=function(f){const d=t.invertRange([f,f]);return d&&d[0]},t.copy=function(){return Bre().domain(e()).range(r).round(s).paddingInner(a).paddingOuter(l).align(u)},c()}function g3e(t){const e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,t.copy=function(){return g3e(e())},t}function Tkt(){return g3e(Bre().paddingInner(1))}var kkt=Array.prototype.map;function Akt(t){return kkt.call(t,qs)}const Pkt=Array.prototype.slice;function m3e(){let t=[],e=[];function n(r){return r==null||r!==r?void 0:e[(Rg(t,r)-1)%e.length]}return n.domain=function(r){return arguments.length?(t=Akt(r),n):t.slice()},n.range=function(r){return arguments.length?(e=Pkt.call(r),n):e.slice()},n.tickFormat=function(r,i){return wre(t[0],$n(t),r??10,i)},n.copy=function(){return m3e().domain(n.domain()).range(n.range())},n}const DN=new Map,v3e=Symbol("vega_scale");function y3e(t){return t[v3e]=!0,t}function Mkt(t){return t&&t[v3e]===!0}function Rkt(t,e,n){const r=function(){const o=e();return o.invertRange||(o.invertRange=o.invert?Okt(o):o.invertExtent?Ekt(o):void 0),o.type=t,y3e(o)};return r.metadata=Wf(pt(n)),r}function tr(t,e,n){return arguments.length>1?(DN.set(t,Rkt(t,e,n)),this):x3e(t)?DN.get(t):void 0}tr(Ckt,_re);tr(LS,PA,To);tr(Ig,Cre,[To,Ig]);tr(fR,xB,To);tr(dR,a3e,To);tr(OB,Ere,To);tr(u1,u3e,[To,jre]);tr(c1,c3e,[To,jre]);tr(mh,wB,[To,zc]);tr(`${mh}-${LS}`,wB,[To,zc]);tr(`${mh}-${Ig}`,Rre,[To,zc,Ig]);tr(`${mh}-${fR}`,_B,[To,zc]);tr(`${mh}-${dR}`,f3e,[To,zc]);tr(`${mh}-${OB}`,Dre,[To,zc]);tr(`${OO}-${LS}`,Ire,[To,zc]);tr(`${OO}-${Ig}`,Lre,[To,zc,Ig]);tr(`${OO}-${fR}`,CB,[To,zc]);tr(`${OO}-${dR}`,h3e,[To,zc]);tr(`${OO}-${OB}`,$re,[To,zc]);tr($S,kre,[pR,$S]);tr(EB,Are,pR);tr(TB,Pre,pR);tr(zre,m3e,[hR,pR]);tr(Nre,aR,hR);tr(p3e,Bre,hR);tr(aX,Tkt,hR);function x3e(t){return DN.has(t)}function ab(t,e){const n=DN.get(t);return n&&n.metadata[e]}function Ure(t){return ab(t,To)}function FS(t){return ab(t,hR)}function lX(t){return ab(t,pR)}function b3e(t){return ab(t,Ig)}function Dkt(t){return ab(t,jre)}function w3e(t){return ab(t,zc)}function _3e(t){return ab(t,$S)}const Ikt=["clamp","base","constant","exponent"];function S3e(t,e){const n=e[0],r=$n(e)-n;return function(i){return t(n+i*r)}}function kB(t,e,n){return xre(Wre(e||"rgb",n),t)}function C3e(t,e){const n=new Array(e),r=e+1;for(let i=0;it[a]?s[a](t[a]()):0),s)}function Wre(t,e){const n=JTt[Lkt(t)];return e!=null&&n&&n.gamma?n.gamma(e):n}function Lkt(t){return"interpolate"+t.toLowerCase().split("-").map(e=>e[0].toUpperCase()+e.slice(1)).join("")}const $kt={blues:"cfe1f2bed8eca8cee58fc1de74b2d75ba3cf4592c63181bd206fb2125ca40a4a90",greens:"d3eecdc0e6baabdda594d3917bc77d60ba6c46ab5e329a512089430e7735036429",greys:"e2e2e2d4d4d4c4c4c4b1b1b19d9d9d8888887575756262624d4d4d3535351e1e1e",oranges:"fdd8b3fdc998fdb87bfda55efc9244f87f2cf06b18e4580bd14904b93d029f3303",purples:"e2e1efd4d4e8c4c5e0b4b3d6a3a0cc928ec3827cb97566ae684ea25c3696501f8c",reds:"fdc9b4fcb49afc9e80fc8767fa7051f6573fec3f2fdc2a25c81b1db21218970b13",blueGreen:"d5efedc1e8e0a7ddd18bd2be70c6a958ba9144ad77319c5d2089460e7736036429",bluePurple:"ccddecbad0e4a8c2dd9ab0d4919cc98d85be8b6db28a55a6873c99822287730f71",greenBlue:"d3eecec5e8c3b1e1bb9bd8bb82cec269c2ca51b2cd3c9fc7288abd1675b10b60a1",orangeRed:"fddcaffdcf9bfdc18afdad77fb9562f67d53ee6545e24932d32d1ebf130da70403",purpleBlue:"dbdaebc8cee4b1c3de97b7d87bacd15b9fc93a90c01e7fb70b70ab056199045281",purpleBlueGreen:"dbd8eac8cee4b0c3de93b7d872acd1549fc83892bb1c88a3097f8702736b016353",purpleRed:"dcc9e2d3b3d7ce9eccd186c0da6bb2e14da0e23189d91e6fc61159ab07498f023a",redPurple:"fccfccfcbec0faa9b8f98faff571a5ec539ddb3695c41b8aa908808d0179700174",yellowGreen:"e4f4acd1eca0b9e2949ed68880c97c62bb6e47aa5e3297502083440e723b036034",yellowOrangeBrown:"feeaa1fedd84fecc63feb746fca031f68921eb7215db5e0bc54c05ab3d038f3204",yellowOrangeRed:"fee087fed16ffebd59fea849fd903efc7335f9522bee3423de1b20ca0b22af0225",blueOrange:"134b852f78b35da2cb9dcae1d2e5eff2f0ebfce0bafbbf74e8932fc5690d994a07",brownBlueGreen:"704108a0651ac79548e3c78af3e6c6eef1eac9e9e48ed1c74da79e187a72025147",purpleGreen:"5b1667834792a67fb6c9aed3e6d6e8eff0efd9efd5aedda971bb75368e490e5e29",purpleOrange:"4114696647968f83b7b9b4d6dadbebf3eeeafce0bafbbf74e8932fc5690d994a07",redBlue:"8c0d25bf363adf745ef4ae91fbdbc9f2efeed2e5ef9dcae15da2cb2f78b3134b85",redGrey:"8c0d25bf363adf745ef4ae91fcdccbfaf4f1e2e2e2c0c0c0969696646464343434",yellowGreenBlue:"eff9bddbf1b4bde5b594d5b969c5be45b4c22c9ec02182b82163aa23479c1c3185",redYellowBlue:"a50026d4322cf16e43fcac64fedd90faf8c1dcf1ecabd6e875abd04a74b4313695",redYellowGreen:"a50026d4322cf16e43fcac63fedd8df9f7aed7ee8ea4d86e64bc6122964f006837",pinkYellowGreen:"8e0152c0267edd72adf0b3d6faddedf5f3efe1f2cab6de8780bb474f9125276419",spectral:"9e0142d13c4bf0704afcac63fedd8dfbf8b0e0f3a1a9dda269bda94288b55e4fa2",viridis:"440154470e61481a6c482575472f7d443a834144873d4e8a39568c35608d31688e2d708e2a788e27818e23888e21918d1f988b1fa08822a8842ab07f35b77943bf7154c56866cc5d7ad1518fd744a5db36bcdf27d2e21be9e51afde725",magma:"0000040404130b0924150e3720114b2c11603b0f704a107957157e651a80721f817f24828c29819a2e80a8327db6377ac43c75d1426fde4968e95462f1605df76f5cfa7f5efc8f65fe9f6dfeaf78febf84fece91fddea0fcedaffcfdbf",inferno:"0000040403130c0826170c3b240c4f330a5f420a68500d6c5d126e6b176e781c6d86216b932667a12b62ae305cbb3755c73e4cd24644dd513ae65c30ed6925f3771af8850ffb9506fca50afcb519fac62df6d645f2e661f3f484fcffa4",plasma:"0d088723069033059742039d5002a25d01a66a00a87801a88405a7900da49c179ea72198b12a90ba3488c33d80cb4779d35171da5a69e16462e76e5bed7953f2834cf68f44fa9a3dfca636fdb32ffec029fcce25f9dc24f5ea27f0f921",cividis:"00205100235800265d002961012b65042e670831690d346b11366c16396d1c3c6e213f6e26426e2c456e31476e374a6e3c4d6e42506e47536d4c566d51586e555b6e5a5e6e5e616e62646f66676f6a6a706e6d717270717573727976737c79747f7c75827f758682768985778c8877908b78938e789691789a94789e9778a19b78a59e77a9a177aea575b2a874b6ab73bbaf71c0b26fc5b66dc9b96acebd68d3c065d8c462ddc85fe2cb5ce7cf58ebd355f0d652f3da4ff7de4cfae249fce647",rainbow:"6e40aa883eb1a43db3bf3cafd83fa4ee4395fe4b83ff576eff6659ff7847ff8c38f3a130e2b72fcfcc36bee044aff05b8ff4576ff65b52f6673af27828ea8d1ddfa319d0b81cbecb23abd82f96e03d82e14c6edb5a5dd0664dbf6e40aa",sinebow:"ff4040fc582af47218e78d0bd5a703bfbf00a7d5038de70b72f41858fc2a40ff402afc5818f4720be78d03d5a700bfbf03a7d50b8de71872f42a58fc4040ff582afc7218f48d0be7a703d5bf00bfd503a7e70b8df41872fc2a58ff4040",turbo:"23171b32204a3e2a71453493493eae4b49c54a53d7485ee44569ee4074f53c7ff8378af93295f72e9ff42ba9ef28b3e926bce125c5d925cdcf27d5c629dcbc2de3b232e9a738ee9d3ff39347f68950f9805afc7765fd6e70fe667cfd5e88fc5795fb51a1f84badf545b9f140c5ec3cd0e637dae034e4d931ecd12ef4c92bfac029ffb626ffad24ffa223ff9821ff8d1fff821dff771cfd6c1af76118f05616e84b14df4111d5380fcb2f0dc0260ab61f07ac1805a313029b0f00950c00910b00",browns:"eedbbdecca96e9b97ae4a865dc9856d18954c7784cc0673fb85536ad44339f3632",tealBlues:"bce4d89dd3d181c3cb65b3c245a2b9368fae347da0306a932c5985",teals:"bbdfdfa2d4d58ac9c975bcbb61b0af4da5a43799982b8b8c1e7f7f127273006667",warmGreys:"dcd4d0cec5c1c0b8b4b3aaa7a59c9998908c8b827f7e7673726866665c5a59504e",goldGreen:"f4d166d5ca60b6c35c98bb597cb25760a6564b9c533f8f4f33834a257740146c36",goldOrange:"f4d166f8be5cf8aa4cf5983bf3852aef701be2621fd65322c54923b142239e3a26",goldRed:"f4d166f6be59f9aa51fc964ef6834bee734ae56249db5247cf4244c43141b71d3e",lightGreyRed:"efe9e6e1dad7d5cbc8c8bdb9bbaea9cd967ddc7b43e15f19df4011dc000b",lightGreyTeal:"e4eaead6dcddc8ced2b7c2c7a6b4bc64b0bf22a6c32295c11f85be1876bc",lightMulti:"e0f1f2c4e9d0b0de9fd0e181f6e072f6c053f3993ef77440ef4a3c",lightOrange:"f2e7daf7d5baf9c499fab184fa9c73f68967ef7860e8645bde515bd43d5b",lightTealBlue:"e3e9e0c0dccf9aceca7abfc859afc0389fb9328dad2f7ca0276b95255988",darkBlue:"3232322d46681a5c930074af008cbf05a7ce25c0dd38daed50f3faffffff",darkGold:"3c3c3c584b37725e348c7631ae8b2bcfa424ecc31ef9de30fff184ffffff",darkGreen:"3a3a3a215748006f4d048942489e4276b340a6c63dd2d836ffeb2cffffaa",darkMulti:"3737371f5287197d8c29a86995ce3fffe800ffffff",darkRed:"3434347036339e3c38cc4037e75d1eec8620eeab29f0ce32ffeb2c"},Fkt={accent:gkt,category10:pkt,category20:"1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5",category20b:"393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6",category20c:"3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9",dark2:mkt,observable10:vkt,paired:ykt,pastel1:xkt,pastel2:bkt,set1:wkt,set2:_kt,set3:Skt,tableau10:"4c78a8f58518e4575672b7b254a24beeca3bb279a2ff9da69d755dbab0ac",tableau20:"4c78a89ecae9f58518ffbf7954a24b88d27ab79a20f2cf5b43989483bcb6e45756ff9d9879706ebab0acd67195fcbfd2b279a2d6a5c99e765fd8b5a5"};function E3e(t){if(We(t))return t;const e=t.length/6|0,n=new Array(e);for(let r=0;rkB(E3e(t)));function Vre(t,e){return t=t&&t.toLowerCase(),arguments.length>1?(dge[t]=e,this):dge[t]}const h3="symbol",Nkt="discrete",zkt="gradient",jkt=t=>We(t)?t.map(e=>String(e)):String(t),Bkt=(t,e)=>t[1]-e[1],Ukt=(t,e)=>e[1]-t[1];function Gre(t,e,n){let r;return Jn(e)&&(t.bins&&(e=Math.max(e,t.bins.length)),n!=null&&(e=Math.min(e,Math.floor(tR(t.domain())/n||1)+1))),ht(e)&&(r=e.step,e=e.interval),gt(e)&&(e=t.type===u1?wO(e):t.type==c1?_O(e):je("Only time and utc scales accept interval strings."),r&&(e=e.every(r))),e}function k3e(t,e,n){let r=t.range(),i=r[0],o=$n(r),s=Bkt;if(i>o&&(r=o,o=i,i=r,s=Ukt),i=Math.floor(i),o=Math.ceil(o),e=e.map(a=>[a,t(a)]).filter(a=>i<=a[1]&&a[1]<=o).sort(s).map(a=>a[0]),n>0&&e.length>1){const a=[e[0],$n(e)];for(;e.length>n&&e.length>=3;)e=e.filter((l,u)=>!(u%2));e.length<3&&(e=a)}return e}function Hre(t,e){return t.bins?k3e(t,t.bins,e):t.ticks?t.ticks(e):t.domain()}function A3e(t,e,n,r,i,o){const s=e.type;let a=jkt;if(s===u1||i===u1)a=t.timeFormat(r);else if(s===c1||i===c1)a=t.utcFormat(r);else if(b3e(s)){const l=t.formatFloat(r);if(o||e.bins)a=l;else{const u=P3e(e,n,!1);a=c=>u(c)?l(c):""}}else if(e.tickFormat){const l=e.domain();a=t.formatSpan(l[0],l[l.length-1],n,r)}else r&&(a=t.format(r));return a}function P3e(t,e,n){const r=Hre(t,e),i=t.base(),o=Math.log(i),s=Math.max(1,i*e/r.length),a=l=>{let u=l/Math.pow(i,Math.round(Math.log(l)/o));return u*i1?r[1]-r[0]:r[0],s;for(s=1;suX[t.type]||t.bins;function D3e(t,e,n,r,i,o,s){const a=M3e[e.type]&&o!==u1&&o!==c1?Wkt(t,e,i):A3e(t,e,n,i,o,s);return r===h3&&Hkt(e)?qkt(a):r===Nkt?Xkt(a):Ykt(a)}const qkt=t=>(e,n,r)=>{const i=hge(r[n+1],hge(r.max,1/0)),o=pge(e,t),s=pge(i,t);return o&&s?o+" – "+s:s?"< "+s:"≥ "+o},hge=(t,e)=>t??e,Xkt=t=>(e,n)=>n?t(e):null,Ykt=t=>e=>t(e),pge=(t,e)=>Number.isFinite(t)?e(t):null;function Qkt(t){const e=t.domain(),n=e.length-1;let r=+e[0],i=+$n(e),o=i-r;if(t.type===TB){const s=n?o/n:.1;r-=s,i+=s,o=i-r}return s=>(s-r)/o}function Kkt(t,e,n,r){const i=r||e.type;return gt(n)&&Dkt(i)&&(n=n.replace(/%a/g,"%A").replace(/%b/g,"%B")),!n&&i===u1?t.timeFormat("%A, %d %B %Y, %X"):!n&&i===c1?t.utcFormat("%A, %d %B %Y, %X UTC"):D3e(t,e,5,null,n,r,!0)}function I3e(t,e,n){n=n||{};const r=Math.max(3,n.maxlen||7),i=Kkt(t,e,n.format,n.formatType);if(lX(e.type)){const o=R3e(e).slice(1).map(i),s=o.length;return`${s} boundar${s===1?"y":"ies"}: ${o.join(", ")}`}else if(FS(e.type)){const o=e.domain(),s=o.length,a=s>r?o.slice(0,r-2).map(i).join(", ")+", ending with "+o.slice(-1).map(i):o.map(i).join(", ");return`${s} value${s===1?"":"s"}: ${a}`}else{const o=e.domain();return`values from ${i(o[0])} to ${i($n(o))}`}}let L3e=0;function Zkt(){L3e=0}const IN="p_";function qre(t){return t&&t.gradient}function $3e(t,e,n){const r=t.gradient;let i=t.id,o=r==="radial"?IN:"";return i||(i=t.id="gradient_"+L3e++,r==="radial"?(t.x1=md(t.x1,.5),t.y1=md(t.y1,.5),t.r1=md(t.r1,0),t.x2=md(t.x2,.5),t.y2=md(t.y2,.5),t.r2=md(t.r2,.5),o=IN):(t.x1=md(t.x1,0),t.y1=md(t.y1,0),t.x2=md(t.x2,1),t.y2=md(t.y2,0))),e[i]=t,"url("+(n||"")+"#"+o+i+")"}function md(t,e){return t??e}function F3e(t,e){var n=[],r;return r={gradient:"linear",x1:t?t[0]:0,y1:t?t[1]:0,x2:e?e[0]:1,y2:e?e[1]:0,stops:n,stop:function(i,o){return n.push({offset:i,color:o}),r}}}const gge={basis:{curve:h$e},"basis-closed":{curve:g$e},"basis-open":{curve:v$e},bundle:{curve:tTt,tension:"beta",value:.85},cardinal:{curve:nTt,tension:"tension",value:0},"cardinal-open":{curve:iTt,tension:"tension",value:0},"cardinal-closed":{curve:rTt,tension:"tension",value:0},"catmull-rom":{curve:oTt,tension:"alpha",value:.5},"catmull-rom-closed":{curve:sTt,tension:"alpha",value:.5},"catmull-rom-open":{curve:aTt,tension:"alpha",value:.5},linear:{curve:sR},"linear-closed":{curve:S$e},monotone:{horizontal:T$e,vertical:E$e},natural:{curve:A$e},step:{curve:P$e},"step-after":{curve:R$e},"step-before":{curve:M$e}};function Xre(t,e,n){var r=vt(gge,t)&&gge[t],i=null;return r&&(i=r.curve||r[e||"vertical"],r.tension&&n!=null&&(i=i[r.tension](n))),i}const Jkt={m:2,l:2,h:1,v:1,z:0,c:6,s:4,q:4,t:2,a:7},eAt=/[mlhvzcsqta]([^mlhvzcsqta]+|$)/gi,tAt=/^[+-]?(([0-9]*\.[0-9]+)|([0-9]+\.)|([0-9]+))([eE][+-]?[0-9]+)?/,nAt=/^((\s+,?\s*)|(,\s*))/,rAt=/^[01]/;function NS(t){const e=[];return(t.match(eAt)||[]).forEach(r=>{let i=r[0];const o=i.toLowerCase(),s=Jkt[o],a=iAt(o,s,r.slice(1).trim()),l=a.length;if(l1&&(g=Math.sqrt(g),n*=g,r*=g);const m=d/n,v=f/n,y=-f/r,x=d/r,b=m*a+v*l,w=y*a+x*l,_=m*t+v*e,S=y*t+x*e;let k=1/((_-b)*(_-b)+(S-w)*(S-w))-.25;k<0&&(k=0);let E=Math.sqrt(k);o==i&&(E=-E);const M=.5*(b+_)-E*(S-w),A=.5*(w+S)+E*(_-b),P=Math.atan2(w-A,b-M);let R=Math.atan2(S-A,_-M)-P;R<0&&o===1?R+=Bd:R>0&&o===0&&(R-=Bd);const I=Math.ceil(Math.abs(R/(X0+.001))),B=[];for(let $=0;$+t}function DI(t,e,n){return Math.max(e,Math.min(t,n))}function j3e(){var t=cAt,e=fAt,n=dAt,r=hAt,i=ap(0),o=i,s=i,a=i,l=null;function u(c,f,d){var h,p=f??+t.call(this,c),g=d??+e.call(this,c),m=+n.call(this,c),v=+r.call(this,c),y=Math.min(m,v)/2,x=DI(+i.call(this,c),0,y),b=DI(+o.call(this,c),0,y),w=DI(+s.call(this,c),0,y),_=DI(+a.call(this,c),0,y);if(l||(l=h=fB()),x<=0&&b<=0&&w<=0&&_<=0)l.rect(p,g,m,v);else{var S=p+m,O=g+v;l.moveTo(p+x,g),l.lineTo(S-b,g),l.bezierCurveTo(S-gm*b,g,S,g+gm*b,S,g+b),l.lineTo(S,O-_),l.bezierCurveTo(S,O-gm*_,S-gm*_,O,S-_,O),l.lineTo(p+w,O),l.bezierCurveTo(p+gm*w,O,p,O-gm*w,p,O-w),l.lineTo(p,g+x),l.bezierCurveTo(p,g+gm*x,p+gm*x,g,p+x,g),l.closePath()}if(h)return l=null,h+""||null}return u.x=function(c){return arguments.length?(t=ap(c),u):t},u.y=function(c){return arguments.length?(e=ap(c),u):e},u.width=function(c){return arguments.length?(n=ap(c),u):n},u.height=function(c){return arguments.length?(r=ap(c),u):r},u.cornerRadius=function(c,f,d,h){return arguments.length?(i=ap(c),o=f!=null?ap(f):i,a=d!=null?ap(d):i,s=h!=null?ap(h):o,u):i},u.context=function(c){return arguments.length?(l=c??null,u):l},u}function B3e(){var t,e,n,r,i=null,o,s,a,l;function u(f,d,h){const p=h/2;if(o){var g=a-d,m=f-s;if(g||m){var v=Math.hypot(g,m),y=(g/=v)*l,x=(m/=v)*l,b=Math.atan2(m,g);i.moveTo(s-y,a-x),i.lineTo(f-g*p,d-m*p),i.arc(f,d,p,b-Math.PI,b),i.lineTo(s+y,a+x),i.arc(s,a,l,b,b+Math.PI)}else i.arc(f,d,p,0,Bd);i.closePath()}else o=1;s=f,a=d,l=p}function c(f){var d,h=f.length,p,g=!1,m;for(i==null&&(i=m=fB()),d=0;d<=h;++d)!(dt.x||0,vR=t=>t.y||0,pAt=t=>t.width||0,gAt=t=>t.height||0,mAt=t=>(t.x||0)+(t.width||0),vAt=t=>(t.y||0)+(t.height||0),yAt=t=>t.startAngle||0,xAt=t=>t.endAngle||0,bAt=t=>t.padAngle||0,wAt=t=>t.innerRadius||0,_At=t=>t.outerRadius||0,SAt=t=>t.cornerRadius||0,CAt=t=>gR(t.cornerRadiusTopLeft,t.cornerRadius)||0,OAt=t=>gR(t.cornerRadiusTopRight,t.cornerRadius)||0,EAt=t=>gR(t.cornerRadiusBottomRight,t.cornerRadius)||0,TAt=t=>gR(t.cornerRadiusBottomLeft,t.cornerRadius)||0,kAt=t=>gR(t.size,64),AAt=t=>t.size||1,AB=t=>t.defined!==!1,PAt=t=>z3e(t.shape||"circle"),MAt=B2t().startAngle(yAt).endAngle(xAt).padAngle(bAt).innerRadius(wAt).outerRadius(_At).cornerRadius(SAt),RAt=o_().x(mR).y1(vR).y0(vAt).defined(AB),DAt=o_().y(vR).x1(mR).x0(mAt).defined(AB),IAt=ure().x(mR).y(vR).defined(AB),LAt=j3e().x(mR).y(vR).width(pAt).height(gAt).cornerRadius(CAt,OAt,EAt,TAt),$At=d$e().type(PAt).size(kAt),FAt=B3e().x(mR).y(vR).defined(AB).size(AAt);function Yre(t){return t.cornerRadius||t.cornerRadiusTopLeft||t.cornerRadiusTopRight||t.cornerRadiusBottomRight||t.cornerRadiusBottomLeft}function NAt(t,e){return MAt.context(t)(e)}function zAt(t,e){const n=e[0],r=n.interpolate||"linear";return(n.orient==="horizontal"?DAt:RAt).curve(Xre(r,n.orient,n.tension)).context(t)(e)}function jAt(t,e){const n=e[0],r=n.interpolate||"linear";return IAt.curve(Xre(r,n.orient,n.tension)).context(t)(e)}function EO(t,e,n,r){return LAt.context(t)(e,n,r)}function BAt(t,e){return(e.mark.shape||e.shape).context(t)(e)}function UAt(t,e){return $At.context(t)(e)}function WAt(t,e){return FAt.context(t)(e)}var U3e=1;function W3e(){U3e=1}function Qre(t,e,n){var r=e.clip,i=t._defs,o=e.clip_id||(e.clip_id="clip"+U3e++),s=i.clipping[o]||(i.clipping[o]={id:o});return fn(r)?s.path=r(null):Yre(n)?s.path=EO(null,n,0,0):(s.width=n.width||0,s.height=n.height||0),"url(#"+o+")"}function co(t){this.clear(),t&&this.union(t)}co.prototype={clone(){return new co(this)},clear(){return this.x1=+Number.MAX_VALUE,this.y1=+Number.MAX_VALUE,this.x2=-Number.MAX_VALUE,this.y2=-Number.MAX_VALUE,this},empty(){return this.x1===+Number.MAX_VALUE&&this.y1===+Number.MAX_VALUE&&this.x2===-Number.MAX_VALUE&&this.y2===-Number.MAX_VALUE},equals(t){return this.x1===t.x1&&this.y1===t.y1&&this.x2===t.x2&&this.y2===t.y2},set(t,e,n,r){return nthis.x2&&(this.x2=t),e>this.y2&&(this.y2=e),this},expand(t){return this.x1-=t,this.y1-=t,this.x2+=t,this.y2+=t,this},round(){return this.x1=Math.floor(this.x1),this.y1=Math.floor(this.y1),this.x2=Math.ceil(this.x2),this.y2=Math.ceil(this.y2),this},scale(t){return this.x1*=t,this.y1*=t,this.x2*=t,this.y2*=t,this},translate(t,e){return this.x1+=t,this.x2+=t,this.y1+=e,this.y2+=e,this},rotate(t,e,n){const r=this.rotatedPoints(t,e,n);return this.clear().add(r[0],r[1]).add(r[2],r[3]).add(r[4],r[5]).add(r[6],r[7])},rotatedPoints(t,e,n){var{x1:r,y1:i,x2:o,y2:s}=this,a=Math.cos(t),l=Math.sin(t),u=e-e*a+n*l,c=n-e*l-n*a;return[a*r-l*i+u,l*r+a*i+c,a*r-l*s+u,l*r+a*s+c,a*o-l*i+u,l*o+a*i+c,a*o-l*s+u,l*o+a*s+c]},union(t){return t.x1this.x2&&(this.x2=t.x2),t.y2>this.y2&&(this.y2=t.y2),this},intersect(t){return t.x1>this.x1&&(this.x1=t.x1),t.y1>this.y1&&(this.y1=t.y1),t.x2=t.x2&&this.y1<=t.y1&&this.y2>=t.y2},alignsWith(t){return t&&(this.x1==t.x1||this.x2==t.x2||this.y1==t.y1||this.y2==t.y2)},intersects(t){return t&&!(this.x2t.x2||this.y2t.y2)},contains(t,e){return!(tthis.x2||ethis.y2)},width(){return this.x2-this.x1},height(){return this.y2-this.y1}};function PB(t){this.mark=t,this.bounds=this.bounds||new co}function MB(t){PB.call(this,t),this.items=this.items||[]}it(MB,PB);class V3e{constructor(e){this._pending=0,this._loader=e||J4()}pending(){return this._pending}sanitizeURL(e){const n=this;return xge(n),n._loader.sanitize(e,{context:"href"}).then(r=>(QE(n),r)).catch(()=>(QE(n),null))}loadImage(e){const n=this,r=pTt();return xge(n),n._loader.sanitize(e,{context:"image"}).then(i=>{const o=i.href;if(!o||!r)throw{url:o};const s=new r,a=vt(i,"crossOrigin")?i.crossOrigin:"anonymous";return a!=null&&(s.crossOrigin=a),s.onload=()=>QE(n),s.onerror=()=>QE(n),s.src=o,s}).catch(i=>(QE(n),{complete:!1,width:0,height:0,src:i&&i.url||""}))}ready(){const e=this;return new Promise(n=>{function r(i){e.pending()?setTimeout(()=>{r(!0)},10):n(i)}r(!1)})}}function xge(t){t._pending+=1}function QE(t){t._pending-=1}function Xg(t,e,n){if(e.stroke&&e.opacity!==0&&e.strokeOpacity!==0){const r=e.strokeWidth!=null?+e.strokeWidth:1;t.expand(r+(n?VAt(e,r):0))}return t}function VAt(t,e){return t.strokeJoin&&t.strokeJoin!=="miter"?0:e}const GAt=Bd-1e-8;let RB,p3,g3,hx,cX,m3,fX,dX;const fv=(t,e)=>RB.add(t,e),v3=(t,e)=>fv(p3=t,g3=e),bge=t=>fv(t,RB.y1),wge=t=>fv(RB.x1,t),Y0=(t,e)=>cX*t+fX*e,Q0=(t,e)=>m3*t+dX*e,nV=(t,e)=>fv(Y0(t,e),Q0(t,e)),rV=(t,e)=>v3(Y0(t,e),Q0(t,e));function yR(t,e){return RB=t,e?(hx=e*ay,cX=dX=Math.cos(hx),m3=Math.sin(hx),fX=-m3):(cX=dX=1,hx=m3=fX=0),HAt}const HAt={beginPath(){},closePath(){},moveTo:rV,lineTo:rV,rect(t,e,n,r){hx?(nV(t+n,e),nV(t+n,e+r),nV(t,e+r),rV(t,e)):(fv(t+n,e+r),v3(t,e))},quadraticCurveTo(t,e,n,r){const i=Y0(t,e),o=Q0(t,e),s=Y0(n,r),a=Q0(n,r);_ge(p3,i,s,bge),_ge(g3,o,a,wge),v3(s,a)},bezierCurveTo(t,e,n,r,i,o){const s=Y0(t,e),a=Q0(t,e),l=Y0(n,r),u=Q0(n,r),c=Y0(i,o),f=Q0(i,o);Sge(p3,s,l,c,bge),Sge(g3,a,u,f,wge),v3(c,f)},arc(t,e,n,r,i,o){if(r+=hx,i+=hx,p3=n*Math.cos(i)+t,g3=n*Math.sin(i)+e,Math.abs(i-r)>GAt)fv(t-n,e-n),fv(t+n,e+n);else{const s=u=>fv(n*Math.cos(u)+t,n*Math.sin(u)+e);let a,l;if(s(r),s(i),i!==r)if(r=r%Bd,r<0&&(r+=Bd),i=i%Bd,i<0&&(i+=Bd),ii;++l,a-=X0)s(a);else for(a=r-r%X0+X0,l=0;l<4&&aoAt?(c=s*s+a*o,c>=0&&(c=Math.sqrt(c),l=(-s+c)/o,u=(-s-c)/o)):l=.5*a/s,0d)return!1;g>f&&(f=g)}else if(h>0){if(g0?(t.globalAlpha=n,t.fillStyle=q3e(t,e,e.fill),!0):!1}var XAt=[];function jS(t,e,n){var r=(r=e.strokeWidth)!=null?r:1;return r<=0?!1:(n*=e.strokeOpacity==null?1:e.strokeOpacity,n>0?(t.globalAlpha=n,t.strokeStyle=q3e(t,e,e.stroke),t.lineWidth=r,t.lineCap=e.strokeCap||"butt",t.lineJoin=e.strokeJoin||"miter",t.miterLimit=e.strokeMiterLimit||10,t.setLineDash&&(t.setLineDash(e.strokeDash||XAt),t.lineDashOffset=e.strokeDashOffset||0),!0):!1)}function YAt(t,e){return t.zindex-e.zindex||t.index-e.index}function Jre(t){if(!t.zdirty)return t.zitems;var e=t.items,n=[],r,i,o;for(i=0,o=e.length;i=0;)if(r=e(n[i]))return r;if(n===o){for(n=t.items,i=n.length;--i>=0;)if(!n[i].zindex&&(r=e(n[i])))return r}return null}function eie(t){return function(e,n,r){Gf(n,i=>{(!r||r.intersects(i.bounds))&&X3e(t,e,i,i)})}}function QAt(t){return function(e,n,r){n.items.length&&(!r||r.intersects(n.bounds))&&X3e(t,e,n.items[0],n.items)}}function X3e(t,e,n,r){var i=n.opacity==null?1:n.opacity;i!==0&&(t(e,r)||(zS(e,n),n.fill&&LN(e,n,i)&&e.fill(),n.stroke&&jS(e,n,i)&&e.stroke()))}function DB(t){return t=t||Tc,function(e,n,r,i,o,s){return r*=e.pixelRatio,i*=e.pixelRatio,$N(n,a=>{const l=a.bounds;if(!(l&&!l.contains(o,s)||!l)&&t(e,a,r,i,o,s))return a})}}function xR(t,e){return function(n,r,i,o){var s=Array.isArray(r)?r[0]:r,a=e??s.fill,l=s.stroke&&n.isPointInStroke,u,c;return l&&(u=s.strokeWidth,c=s.strokeCap,n.lineWidth=u??1,n.lineCap=c??"butt"),t(n,r)?!1:a&&n.isPointInPath(i,o)||l&&n.isPointInStroke(i,o)}}function tie(t){return DB(xR(t))}function Fx(t,e){return"translate("+t+","+e+")"}function nie(t){return"rotate("+t+")"}function KAt(t,e){return"scale("+t+","+e+")"}function Y3e(t){return Fx(t.x||0,t.y||0)}function ZAt(t){return Fx(t.x||0,t.y||0)+(t.angle?" "+nie(t.angle):"")}function JAt(t){return Fx(t.x||0,t.y||0)+(t.angle?" "+nie(t.angle):"")+(t.scaleX||t.scaleY?" "+KAt(t.scaleX||1,t.scaleY||1):"")}function rie(t,e,n){function r(s,a){s("transform",ZAt(a)),s("d",e(null,a))}function i(s,a){return e(yR(s,a.angle),a),Xg(s,a).translate(a.x||0,a.y||0)}function o(s,a){var l=a.x||0,u=a.y||0,c=a.angle||0;s.translate(l,u),c&&s.rotate(c*=ay),s.beginPath(),e(s,a),c&&s.rotate(-c),s.translate(-l,-u)}return{type:t,tag:"path",nested:!1,attr:r,bound:i,draw:eie(o),pick:tie(o),isect:n||Kre(o)}}var ePt=rie("arc",NAt);function tPt(t,e){for(var n=t[0].orient==="horizontal"?e[1]:e[0],r=t[0].orient==="horizontal"?"y":"x",i=t.length,o=1/0,s,a;--i>=0;)t[i].defined!==!1&&(a=Math.abs(t[i][r]-n),a=0;)if(t[r].defined!==!1&&(i=t[r].x-e[0],o=t[r].y-e[1],s=i*i+o*o,s=0;)if(t[n].defined!==!1&&(r=t[n].x-e[0],i=t[n].y-e[1],o=r*r+i*i,r=t[n].size||1,o.5&&e<1.5?.5-Math.abs(e-1):0}function sPt(t,e){t("transform",Y3e(e))}function Z3e(t,e){const n=K3e(e);t("d",EO(null,e,n,n))}function aPt(t,e){t("class","background"),t("aria-hidden",!0),Z3e(t,e)}function lPt(t,e){t("class","foreground"),t("aria-hidden",!0),e.strokeForeground?Z3e(t,e):t("d","")}function uPt(t,e,n){const r=e.clip?Qre(n,e,e):null;t("clip-path",r)}function cPt(t,e){if(!e.clip&&e.items){const n=e.items,r=n.length;for(let i=0;i{const o=i.x||0,s=i.y||0,a=i.strokeForeground,l=i.opacity==null?1:i.opacity;(i.stroke||i.fill)&&l&&(RA(t,i,o,s),zS(t,i),i.fill&&LN(t,i,l)&&t.fill(),i.stroke&&!a&&jS(t,i,l)&&t.stroke()),t.save(),t.translate(o,s),i.clip&&Q3e(t,i),n&&n.translate(-o,-s),Gf(i,u=>{(u.marktype==="group"||r==null||r.includes(u.marktype))&&this.draw(t,u,n,r)}),n&&n.translate(o,s),t.restore(),a&&i.stroke&&l&&(RA(t,i,o,s),zS(t,i),jS(t,i,l)&&t.stroke())})}function gPt(t,e,n,r,i,o){if(e.bounds&&!e.bounds.contains(i,o)||!e.items)return null;const s=n*t.pixelRatio,a=r*t.pixelRatio;return $N(e,l=>{let u,c,f;const d=l.bounds;if(d&&!d.contains(i,o))return;c=l.x||0,f=l.y||0;const h=c+(l.width||0),p=f+(l.height||0),g=l.clip;if(g&&(ih||op))return;if(t.save(),t.translate(c,f),c=i-c,f=o-f,g&&Yre(l)&&!hPt(t,l,s,a))return t.restore(),null;const m=l.strokeForeground,v=e.interactive!==!1;return v&&m&&l.stroke&&dPt(t,l,s,a)?(t.restore(),l):(u=$N(l,y=>mPt(y,c,f)?this.pick(y,n,r,c,f):null),!u&&v&&(l.fill||!m&&l.stroke)&&fPt(t,l,s,a)&&(u=l),t.restore(),u||null)})}function mPt(t,e,n){return(t.interactive!==!1||t.marktype==="group")&&t.bounds&&t.bounds.contains(e,n)}var vPt={type:"group",tag:"g",nested:!1,attr:sPt,bound:cPt,draw:pPt,pick:gPt,isect:G3e,content:uPt,background:aPt,foreground:lPt},DA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"};function oie(t,e){var n=t.image;return(!n||t.url&&t.url!==n.url)&&(n={complete:!1,width:0,height:0},e.loadImage(t.url).then(r=>{t.image=r,t.image.url=t.url})),n}function sie(t,e){return t.width!=null?t.width:!e||!e.width?0:t.aspect!==!1&&t.height?t.height*e.width/e.height:e.width}function aie(t,e){return t.height!=null?t.height:!e||!e.height?0:t.aspect!==!1&&t.width?t.width*e.height/e.width:e.height}function IB(t,e){return t==="center"?e/2:t==="right"?e:0}function LB(t,e){return t==="middle"?e/2:t==="bottom"?e:0}function yPt(t,e,n){const r=oie(e,n),i=sie(e,r),o=aie(e,r),s=(e.x||0)-IB(e.align,i),a=(e.y||0)-LB(e.baseline,o),l=!r.src&&r.toDataURL?r.toDataURL():r.src||"";t("href",l,DA["xmlns:xlink"],"xlink:href"),t("transform",Fx(s,a)),t("width",i),t("height",o),t("preserveAspectRatio",e.aspect===!1?"none":"xMidYMid")}function xPt(t,e){const n=e.image,r=sie(e,n),i=aie(e,n),o=(e.x||0)-IB(e.align,r),s=(e.y||0)-LB(e.baseline,i);return t.set(o,s,o+r,s+i)}function bPt(t,e,n){Gf(e,r=>{if(n&&!n.intersects(r.bounds))return;const i=oie(r,this);let o=sie(r,i),s=aie(r,i);if(o===0||s===0)return;let a=(r.x||0)-IB(r.align,o),l=(r.y||0)-LB(r.baseline,s),u,c,f,d;r.aspect!==!1&&(c=i.width/i.height,f=r.width/r.height,c===c&&f===f&&c!==f&&(f{if(!(n&&!n.intersects(r.bounds))){var i=r.opacity==null?1:r.opacity;i&&J3e(t,r,i)&&(zS(t,r),t.stroke())}})}function RPt(t,e,n,r){return t.isPointInStroke?J3e(t,e,1)&&t.isPointInStroke(n,r):!1}var DPt={type:"rule",tag:"line",nested:!1,attr:APt,bound:PPt,draw:MPt,pick:DB(RPt),isect:H3e},IPt=rie("shape",BAt),LPt=rie("symbol",UAt,Zre);const Tge=nIe();var du={height:Bh,measureWidth:lie,estimateWidth:FN,width:FN,canvas:eFe};eFe(!0);function eFe(t){du.width=t&&Bv?lie:FN}function FN(t,e){return tFe(uy(t,e),Bh(t))}function tFe(t,e){return~~(.8*t.length*e)}function lie(t,e){return Bh(t)<=0||!(e=uy(t,e))?0:nFe(e,$B(t))}function nFe(t,e){const n=`(${e}) ${t}`;let r=Tge.get(n);return r===void 0&&(Bv.font=e,r=Bv.measureText(t).width,Tge.set(n,r)),r}function Bh(t){return t.fontSize!=null?+t.fontSize||0:11}function ly(t){return t.lineHeight!=null?t.lineHeight:Bh(t)+2}function $Pt(t){return We(t)?t.length>1?t:t[0]:t}function bR(t){return $Pt(t.lineBreak&&t.text&&!We(t.text)?t.text.split(t.lineBreak):t.text)}function uie(t){const e=bR(t);return(We(e)?e.length-1:0)*ly(t)}function uy(t,e){const n=e==null?"":(e+"").trim();return t.limit>0&&n.length?NPt(t,n):n}function FPt(t){if(du.width===lie){const e=$B(t);return n=>nFe(n,e)}else if(du.width===FN){const e=Bh(t);return n=>tFe(n,e)}else return e=>du.width(t,e)}function NPt(t,e){var n=+t.limit,r=FPt(t);if(r(e)>>1,r(e.slice(l))>n?s=l+1:a=l;return i+e.slice(s)}else{for(;s>>1),r(e.slice(0,l))Math.max(d,du.width(e,h)),0)):f=du.width(e,c),i==="center"?l-=f/2:i==="right"&&(l-=f),t.set(l+=s,u+=a,l+f,u+r),e.angle&&!n)t.rotate(e.angle*ay,s,a);else if(n===2)return t.rotatedPoints(e.angle*ay,s,a);return t}function BPt(t,e,n){Gf(e,r=>{var i=r.opacity==null?1:r.opacity,o,s,a,l,u,c,f;if(!(n&&!n.intersects(r.bounds)||i===0||r.fontSize<=0||r.text==null||r.text.length===0)){if(t.font=$B(r),t.textAlign=r.align||"left",o=FB(r),s=o.x1,a=o.y1,r.angle&&(t.save(),t.translate(s,a),t.rotate(r.angle*ay),s=a=0),s+=r.dx||0,a+=(r.dy||0)+cie(r),c=bR(r),zS(t,r),We(c))for(u=ly(r),l=0;le;)t.removeChild(n[--r]);return t}function lFe(t){return"mark-"+t.marktype+(t.role?" role-"+t.role:"")+(t.name?" "+t.name:"")}function NB(t,e){const n=e.getBoundingClientRect();return[t.clientX-n.left-(e.clientLeft||0),t.clientY-n.top-(e.clientTop||0)]}function qPt(t,e,n,r){var i=t&&t.mark,o,s;if(i&&(o=Eu[i.marktype]).tip){for(s=NB(e,n),s[0]-=r[0],s[1]-=r[1];t=t.mark.group;)s[0]-=t.x||0,s[1]-=t.y||0;t=o.tip(i.items,s)}return t}let hie=class{constructor(e,n){this._active=null,this._handlers={},this._loader=e||J4(),this._tooltip=n||XPt}initialize(e,n,r){return this._el=e,this._obj=r||null,this.origin(n)}element(){return this._el}canvas(){return this._el&&this._el.firstChild}origin(e){return arguments.length?(this._origin=e||[0,0],this):this._origin.slice()}scene(e){return arguments.length?(this._scene=e,this):this._scene}on(){}off(){}_handlerIndex(e,n,r){for(let i=e?e.length:0;--i>=0;)if(e[i].type===n&&(!r||e[i].handler===r))return i;return-1}handlers(e){const n=this._handlers,r=[];if(e)r.push(...n[this.eventName(e)]);else for(const i in n)r.push(...n[i]);return r}eventName(e){const n=e.indexOf(".");return n<0?e:e.slice(0,n)}handleHref(e,n,r){this._loader.sanitize(r,{context:"href"}).then(i=>{const o=new MouseEvent(e.type,e),s=dv(null,"a");for(const a in i)s.setAttribute(a,i[a]);s.dispatchEvent(o)}).catch(()=>{})}handleTooltip(e,n,r){if(n&&n.tooltip!=null){n=qPt(n,e,this.canvas(),this._origin);const i=r&&n&&n.tooltip||null;this._tooltip.call(this._obj,this,e,n,i)}}getItemBoundingClientRect(e){const n=this.canvas();if(!n)return;const r=n.getBoundingClientRect(),i=this._origin,o=e.bounds,s=o.width(),a=o.height();let l=o.x1+i[0]+r.left,u=o.y1+i[1]+r.top;for(;e.mark&&(e=e.mark.group);)l+=e.x||0,u+=e.y||0;return{x:l,y:u,width:s,height:a,left:l,top:u,right:l+s,bottom:u+a}}};function XPt(t,e,n,r){t.element().setAttribute("title",r||"")}class _R{constructor(e){this._el=null,this._bgcolor=null,this._loader=new V3e(e)}initialize(e,n,r,i,o){return this._el=e,this.resize(n,r,i,o)}element(){return this._el}canvas(){return this._el&&this._el.firstChild}background(e){return arguments.length===0?this._bgcolor:(this._bgcolor=e,this)}resize(e,n,r,i){return this._width=e,this._height=n,this._origin=r||[0,0],this._scale=i||1,this}dirty(){}render(e,n){const r=this;return r._call=function(){r._render(e,n)},r._call(),r._call=null,r}_render(){}renderAsync(e,n){const r=this.render(e,n);return this._ready?this._ready.then(()=>r):Promise.resolve(r)}_load(e,n){var r=this,i=r._loader[e](n);if(!r._ready){const o=r._call;r._ready=r._loader.ready().then(s=>{s&&o(),r._ready=null})}return i}sanitizeURL(e){return this._load("sanitizeURL",e)}loadImage(e){return this._load("loadImage",e)}}const YPt="keydown",QPt="keypress",KPt="keyup",uFe="dragenter",x3="dragleave",cFe="dragover",gX="pointerdown",ZPt="pointerup",NN="pointermove",b3="pointerout",fFe="pointerover",mX="mousedown",JPt="mouseup",dFe="mousemove",zN="mouseout",hFe="mouseover",jN="click",eMt="dblclick",tMt="wheel",pFe="mousewheel",BN="touchstart",UN="touchmove",WN="touchend",nMt=[YPt,QPt,KPt,uFe,x3,cFe,gX,ZPt,NN,b3,fFe,mX,JPt,dFe,zN,hFe,jN,eMt,tMt,pFe,BN,UN,WN],vX=NN,ok=zN,yX=jN;class SR extends hie{constructor(e,n){super(e,n),this._down=null,this._touch=null,this._first=!0,this._events={},this.events=nMt,this.pointermove=Mge([NN,dFe],[fFe,hFe],[b3,zN]),this.dragover=Mge([cFe],[uFe],[x3]),this.pointerout=Rge([b3,zN]),this.dragleave=Rge([x3])}initialize(e,n,r){return this._canvas=e&&die(e,"canvas"),[jN,mX,gX,NN,b3,x3].forEach(i=>Pge(this,i)),super.initialize(e,n,r)}canvas(){return this._canvas}context(){return this._canvas.getContext("2d")}DOMMouseScroll(e){this.fire(pFe,e)}pointerdown(e){this._down=this._active,this.fire(gX,e)}mousedown(e){this._down=this._active,this.fire(mX,e)}click(e){this._down===this._active&&(this.fire(jN,e),this._down=null)}touchstart(e){this._touch=this.pickEvent(e.changedTouches[0]),this._first&&(this._active=this._touch,this._first=!1),this.fire(BN,e,!0)}touchmove(e){this.fire(UN,e,!0)}touchend(e){this.fire(WN,e,!0),this._touch=null}fire(e,n,r){const i=r?this._touch:this._active,o=this._handlers[e];if(n.vegaType=e,e===yX&&i&&i.href?this.handleHref(n,i,i.href):(e===vX||e===ok)&&this.handleTooltip(n,i,e!==ok),o)for(let s=0,a=o.length;s=0&&i.splice(o,1),this}pickEvent(e){const n=NB(e,this._canvas),r=this._origin;return this.pick(this._scene,n[0],n[1],n[0]-r[0],n[1]-r[1])}pick(e,n,r,i,o){const s=this.context();return Eu[e.marktype].pick.call(this,s,e,n,r,i,o)}}const rMt=t=>t===BN||t===UN||t===WN?[BN,UN,WN]:[t];function Pge(t,e){rMt(e).forEach(n=>iMt(t,n))}function iMt(t,e){const n=t.canvas();n&&!t._events[e]&&(t._events[e]=1,n.addEventListener(e,t[e]?r=>t[e](r):r=>t.fire(e,r)))}function aT(t,e,n){e.forEach(r=>t.fire(r,n))}function Mge(t,e,n){return function(r){const i=this._active,o=this.pickEvent(r);o===i?aT(this,t,r):((!i||!i.exit)&&aT(this,n,r),this._active=o,aT(this,e,r),aT(this,t,r))}}function Rge(t){return function(e){aT(this,t,e),this._active=null}}function oMt(){return typeof window<"u"&&window.devicePixelRatio||1}function sMt(t,e,n,r,i,o){const s=typeof HTMLElement<"u"&&t instanceof HTMLElement&&t.parentNode!=null,a=t.getContext("2d"),l=s?oMt():i;t.width=e*l,t.height=n*l;for(const u in o)a[u]=o[u];return s&&l!==1&&(t.style.width=e+"px",t.style.height=n+"px"),a.pixelRatio=l,a.setTransform(l,0,0,l,l*r[0],l*r[1]),t}class VN extends _R{constructor(e){super(e),this._options={},this._redraw=!1,this._dirty=new co,this._tempb=new co}initialize(e,n,r,i,o,s){return this._options=s||{},this._canvas=this._options.externalContext?null:jv(1,1,this._options.type),e&&this._canvas&&(qu(e,0).appendChild(this._canvas),this._canvas.setAttribute("class","marks")),super.initialize(e,n,r,i,o)}resize(e,n,r,i){if(super.resize(e,n,r,i),this._canvas)sMt(this._canvas,this._width,this._height,this._origin,this._scale,this._options.context);else{const o=this._options.externalContext;o||je("CanvasRenderer is missing a valid canvas or context"),o.scale(this._scale,this._scale),o.translate(this._origin[0],this._origin[1])}return this._redraw=!0,this}canvas(){return this._canvas}context(){return this._options.externalContext||(this._canvas?this._canvas.getContext("2d"):null)}dirty(e){const n=this._tempb.clear().union(e.bounds);let r=e.mark.group;for(;r;)n.translate(r.x||0,r.y||0),r=r.mark.group;this._dirty.union(n)}_render(e,n){const r=this.context(),i=this._origin,o=this._width,s=this._height,a=this._dirty,l=aMt(i,o,s);r.save();const u=this._redraw||a.empty()?(this._redraw=!1,l.expand(1)):lMt(r,l.intersect(a),i);return this.clear(-i[0],-i[1],o,s),this.draw(r,e,u,n),r.restore(),a.clear(),this}draw(e,n,r,i){if(n.marktype!=="group"&&i!=null&&!i.includes(n.marktype))return;const o=Eu[n.marktype];n.clip&&oPt(e,n),o.draw.call(this,e,n,r,i),n.clip&&e.restore()}clear(e,n,r,i){const o=this._options,s=this.context();o.type!=="pdf"&&!o.externalContext&&s.clearRect(e,n,r,i),this._bgcolor!=null&&(s.fillStyle=this._bgcolor,s.fillRect(e,n,r,i))}}const aMt=(t,e,n)=>new co().set(0,0,e,n).translate(-t[0],-t[1]);function lMt(t,e,n){return e.expand(1).round(),t.pixelRatio%1&&e.scale(t.pixelRatio).round().scale(1/t.pixelRatio),e.translate(-(n[0]%1),-(n[1]%1)),t.beginPath(),t.rect(e.x1,e.y1,e.width(),e.height()),t.clip(),e}class gFe extends hie{constructor(e,n){super(e,n);const r=this;r._hrefHandler=iV(r,(i,o)=>{o&&o.href&&r.handleHref(i,o,o.href)}),r._tooltipHandler=iV(r,(i,o)=>{r.handleTooltip(i,o,i.type!==ok)})}initialize(e,n,r){let i=this._svg;return i&&(i.removeEventListener(yX,this._hrefHandler),i.removeEventListener(vX,this._tooltipHandler),i.removeEventListener(ok,this._tooltipHandler)),this._svg=i=e&&die(e,"svg"),i&&(i.addEventListener(yX,this._hrefHandler),i.addEventListener(vX,this._tooltipHandler),i.addEventListener(ok,this._tooltipHandler)),super.initialize(e,n,r)}canvas(){return this._svg}on(e,n){const r=this.eventName(e),i=this._handlers;if(this._handlerIndex(i[r],e,n)<0){const s={type:e,handler:n,listener:iV(this,n)};(i[r]||(i[r]=[])).push(s),this._svg&&this._svg.addEventListener(r,s.listener)}return this}off(e,n){const r=this.eventName(e),i=this._handlers[r],o=this._handlerIndex(i,e,n);return o>=0&&(this._svg&&this._svg.removeEventListener(r,i[o].listener),i.splice(o,1)),this}}const iV=(t,e)=>n=>{let r=n.target.__data__;r=Array.isArray(r)?r[0]:r,n.vegaType=n.type,e.call(t._obj,n,r)},mFe="aria-hidden",pie="aria-label",gie="role",mie="aria-roledescription",vFe="graphics-object",vie="graphics-symbol",yFe=(t,e,n)=>({[gie]:t,[mie]:e,[pie]:n||void 0}),uMt=Wf(["axis-domain","axis-grid","axis-label","axis-tick","axis-title","legend-band","legend-entry","legend-gradient","legend-label","legend-title","legend-symbol","title"]),Dge={axis:{desc:"axis",caption:dMt},legend:{desc:"legend",caption:hMt},"title-text":{desc:"title",caption:t=>`Title text '${Lge(t)}'`},"title-subtitle":{desc:"subtitle",caption:t=>`Subtitle text '${Lge(t)}'`}},Ige={ariaRole:gie,ariaRoleDescription:mie,description:pie};function xFe(t,e){const n=e.aria===!1;if(t(mFe,n||void 0),n||e.description==null)for(const r in Ige)t(Ige[r],void 0);else{const r=e.mark.marktype;t(pie,e.description),t(gie,e.ariaRole||(r==="group"?vFe:vie)),t(mie,e.ariaRoleDescription||`${r} mark`)}}function bFe(t){return t.aria===!1?{[mFe]:!0}:uMt[t.role]?null:Dge[t.role]?fMt(t,Dge[t.role]):cMt(t)}function cMt(t){const e=t.marktype,n=e==="group"||e==="text"||t.items.some(r=>r.description!=null&&r.aria!==!1);return yFe(n?vFe:vie,`${e} mark container`,t.description)}function fMt(t,e){try{const n=t.items[0],r=e.caption||(()=>"");return yFe(e.role||vie,e.desc,n.description||r(n))}catch{return null}}function Lge(t){return pt(t.text).join(" ")}function dMt(t){const e=t.datum,n=t.orient,r=e.title?wFe(t):null,i=t.context,o=i.scales[e.scale].value,s=i.dataflow.locale(),a=o.type;return`${n==="left"||n==="right"?"Y":"X"}-axis`+(r?` titled '${r}'`:"")+` for a ${FS(a)?"discrete":a} scale with ${I3e(s,o,t)}`}function hMt(t){const e=t.datum,n=e.title?wFe(t):null,r=`${e.type||""} legend`.trim(),i=e.scales,o=Object.keys(i),s=t.context,a=s.scales[i[o[0]]].value,l=s.dataflow.locale();return gMt(r)+(n?` titled '${n}'`:"")+` for ${pMt(o)} with ${I3e(l,a,t)}`}function wFe(t){try{return pt($n(t.items).items[0].text).join(" ")}catch{return null}}function pMt(t){return t=t.map(e=>e+(e==="fill"||e==="stroke"?" color":"")),t.length<2?t[0]:t.slice(0,-1).join(", ")+" and "+$n(t)}function gMt(t){return t.length?t[0].toUpperCase()+t.slice(1):t}const _Fe=t=>(t+"").replace(/&/g,"&").replace(//g,">"),mMt=t=>_Fe(t).replace(/"/g,""").replace(/\t/g," ").replace(/\n/g," ").replace(/\r/g," ");function yie(){let t="",e="",n="";const r=[],i=()=>e=n="",o=l=>{e&&(t+=`${e}>${n}`,i()),r.push(l)},s=(l,u)=>(u!=null&&(e+=` ${l}="${mMt(u)}"`),a),a={open(l){o(l),e="<"+l;for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f${n}`:"/>"):t+=``,i(),a},attr:s,text:l=>(n+=_Fe(l),a),toString:()=>t};return a}const SFe=t=>CFe(yie(),t)+"";function CFe(t,e){if(t.open(e.tagName),e.hasAttributes()){const n=e.attributes,r=n.length;for(let i=0;i{c.dirty=n})),!i.zdirty){if(r.exit){s.nested&&i.items.length?(u=i.items[0],u._svg&&this._update(s,u._svg,u)):r._svg&&(u=r._svg.parentNode,u&&u.removeChild(r._svg)),r._svg=null;continue}r=s.nested?i.items[0]:r,r._update!==n&&(!r._svg||!r._svg.ownerSVGElement?(this._dirtyAll=!1,Fge(r,n)):this._update(s,r._svg,r),r._update=n)}return!this._dirtyAll}mark(e,n,r,i){if(!this.isDirty(n))return n._svg;const o=this._svg,s=n.marktype,a=Eu[s],l=n.interactive===!1?"none":null,u=a.tag==="g",c=Nge(n,e,r,"g",o);if(s!=="group"&&i!=null&&!i.includes(s))return qu(c,0),n._svg;c.setAttribute("class",lFe(n));const f=bFe(n);for(const g in f)da(c,g,f[g]);u||da(c,"pointer-events",l),da(c,"clip-path",n.clip?Qre(this,n,n.group):null);let d=null,h=0;const p=g=>{const m=this.isDirty(g),v=Nge(g,c,d,a.tag,o);m&&(this._update(a,v,g),u&&xMt(this,v,g,i)),d=v,++h};return a.nested?n.items.length&&p(n.items[0]):Gf(n,p),qu(c,h),c}_update(e,n,r){Yp=n,zs=n.__values__,xFe(sk,r),e.attr(sk,r,this);const i=wMt[e.type];i&&i.call(this,e,n,r),Yp&&this.style(Yp,r)}style(e,n){if(n!=null){for(const r in GN){let i=r==="font"?wR(n):n[r];if(i===zs[r])continue;const o=GN[r];i==null?e.removeAttribute(o):(qre(i)&&(i=$3e(i,this._defs.gradient,EFe())),e.setAttribute(o,i+"")),zs[r]=i}for(const r in HN)w3(e,HN[r],n[r])}}defs(){const e=this._svg,n=this._defs;let r=n.el,i=0;for(const o in n.gradient)r||(n.el=r=xo(e,KE+1,"defs",vo)),i=vMt(r,n.gradient[o],i);for(const o in n.clipping)r||(n.el=r=xo(e,KE+1,"defs",vo)),i=yMt(r,n.clipping[o],i);r&&(i===0?(e.removeChild(r),n.el=null):qu(r,i))}_clearDefs(){const e=this._defs;e.gradient={},e.clipping={}}}function Fge(t,e){for(;t&&t.dirty!==e;t=t.mark.group)if(t.dirty=e,t.mark&&t.mark.dirty!==e)t.mark.dirty=e;else return}function vMt(t,e,n){let r,i,o;if(e.gradient==="radial"){let s=xo(t,n++,"pattern",vo);hv(s,{id:IN+e.id,viewBox:"0,0,1,1",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid slice"}),s=xo(s,0,"rect",vo),hv(s,{width:1,height:1,fill:`url(${EFe()}#${e.id})`}),t=xo(t,n++,"radialGradient",vo),hv(t,{id:e.id,fx:e.x1,fy:e.y1,fr:e.r1,cx:e.x2,cy:e.y2,r:e.r2})}else t=xo(t,n++,"linearGradient",vo),hv(t,{id:e.id,x1:e.x1,x2:e.x2,y1:e.y1,y2:e.y2});for(r=0,i=e.stops.length;r{i=t.mark(e,s,i,r),++o}),qu(e,1+o)}function Nge(t,e,n,r,i){let o=t._svg,s;if(!o&&(s=e.ownerDocument,o=dv(s,r,vo),t._svg=o,t.mark&&(o.__data__=t,o.__values__={fill:"default"},r==="g"))){const a=dv(s,"path",vo);o.appendChild(a),a.__data__=t;const l=dv(s,"g",vo);o.appendChild(l),l.__data__=t;const u=dv(s,"path",vo);o.appendChild(u),u.__data__=t,u.__values__={fill:"default"}}return(o.ownerSVGElement!==i||bMt(o,n))&&e.insertBefore(o,n?n.nextSibling:e.firstChild),o}function bMt(t,e){return t.parentNode&&t.parentNode.childNodes.length>1&&t.previousSibling!=e}let Yp=null,zs=null;const wMt={group(t,e,n){const r=Yp=e.childNodes[2];zs=r.__values__,t.foreground(sk,n,this),zs=e.__values__,Yp=e.childNodes[1],t.content(sk,n,this);const i=Yp=e.childNodes[0];t.background(sk,n,this);const o=n.mark.interactive===!1?"none":null;if(o!==zs.events&&(da(r,"pointer-events",o),da(i,"pointer-events",o),zs.events=o),n.strokeForeground&&n.stroke){const s=n.fill;da(r,"display",null),this.style(i,n),da(i,"stroke",null),s&&(n.fill=null),zs=r.__values__,this.style(r,n),s&&(n.fill=s),Yp=null}else da(r,"display","none")},image(t,e,n){n.smooth===!1?(w3(e,"image-rendering","optimizeSpeed"),w3(e,"image-rendering","pixelated")):w3(e,"image-rendering",null)},text(t,e,n){const r=bR(n);let i,o,s,a;We(r)?(o=r.map(l=>uy(n,l)),i=o.join(` +`),i!==zs.text&&(qu(e,0),s=e.ownerDocument,a=ly(n),o.forEach((l,u)=>{const c=dv(s,"tspan",vo);c.__data__=n,c.textContent=l,u&&(c.setAttribute("x",0),c.setAttribute("dy",a)),e.appendChild(c)}),zs.text=i)):(o=uy(n,r),o!==zs.text&&(e.textContent=o,zs.text=o)),da(e,"font-family",wR(n)),da(e,"font-size",Bh(n)+"px"),da(e,"font-style",n.fontStyle),da(e,"font-variant",n.fontVariant),da(e,"font-weight",n.fontWeight)}};function sk(t,e,n){e!==zs[t]&&(n?_Mt(Yp,t,e,n):da(Yp,t,e),zs[t]=e)}function w3(t,e,n){n!==zs[e]&&(n==null?t.style.removeProperty(e):t.style.setProperty(e,n+""),zs[e]=n)}function hv(t,e){for(const n in e)da(t,n,e[n])}function da(t,e,n){n!=null?t.setAttribute(e,n):t.removeAttribute(e)}function _Mt(t,e,n,r){n!=null?t.setAttributeNS(r,e,n):t.removeAttributeNS(r,e)}function EFe(){let t;return typeof window>"u"?"":(t=window.location).hash?t.href.slice(0,-t.hash.length):t.href}class TFe extends _R{constructor(e){super(e),this._text=null,this._defs={gradient:{},clipping:{}}}svg(){return this._text}_render(e){const n=yie();n.open("svg",un({},DA,{class:"marks",width:this._width*this._scale,height:this._height*this._scale,viewBox:`0 0 ${this._width} ${this._height}`}));const r=this._bgcolor;return r&&r!=="transparent"&&r!=="none"&&n.open("rect",{width:this._width,height:this._height,fill:r}).close(),n.open("g",OFe,{transform:"translate("+this._origin+")"}),this.mark(n,e),n.close(),this.defs(n),this._text=n.close()+"",this}mark(e,n){const r=Eu[n.marktype],i=r.tag,o=[xFe,r.attr];e.open("g",{class:lFe(n),"clip-path":n.clip?Qre(this,n,n.group):null},bFe(n),{"pointer-events":i!=="g"&&n.interactive===!1?"none":null});const s=a=>{const l=this.href(a);if(l&&e.open("a",l),e.open(i,this.attr(n,a,o,i!=="g"?i:null)),i==="text"){const u=bR(a);if(We(u)){const c={x:0,dy:ly(a)};for(let f=0;fthis.mark(e,d)),e.close(),u&&f?(c&&(a.fill=null),a.stroke=f,e.open("path",this.attr(n,a,r.foreground,"bgrect")).close(),c&&(a.fill=c)):e.open("path",this.attr(n,a,r.foreground,"bgfore")).close()}e.close(),l&&e.close()};return r.nested?n.items&&n.items.length&&s(n.items[0]):Gf(n,s),e.close()}href(e){const n=e.href;let r;if(n){if(r=this._hrefs&&this._hrefs[n])return r;this.sanitizeURL(n).then(i=>{i["xlink:href"]=i.href,i.href=null,(this._hrefs||(this._hrefs={}))[n]=i})}return null}attr(e,n,r,i){const o={},s=(a,l,u,c)=>{o[c||a]=l};return Array.isArray(r)?r.forEach(a=>a(s,n,this)):r(s,n,this),i&&SMt(o,n,e,i,this._defs),o}defs(e){const n=this._defs.gradient,r=this._defs.clipping;if(Object.keys(n).length+Object.keys(r).length!==0){e.open("defs");for(const o in n){const s=n[o],a=s.stops;s.gradient==="radial"?(e.open("pattern",{id:IN+o,viewBox:"0,0,1,1",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid slice"}),e.open("rect",{width:"1",height:"1",fill:"url(#"+o+")"}).close(),e.close(),e.open("radialGradient",{id:o,fx:s.x1,fy:s.y1,fr:s.r1,cx:s.x2,cy:s.y2,r:s.r2})):e.open("linearGradient",{id:o,x1:s.x1,x2:s.x2,y1:s.y1,y2:s.y2});for(let l=0;l!df.svgMarkTypes.includes(o));this._svgRenderer.render(e,df.svgMarkTypes),this._canvasRenderer.render(e,i)}resize(e,n,r,i){return super.resize(e,n,r,i),this._svgRenderer.resize(e,n,r,i),this._canvasRenderer.resize(e,n,r,i),this}background(e){return df.svgOnTop?this._canvasRenderer.background(e):this._svgRenderer.background(e),this}}class kFe extends SR{constructor(e,n){super(e,n)}initialize(e,n,r){const i=xo(xo(e,0,"div"),df.svgOnTop?0:1,"div");return super.initialize(i,n,r)}}const AFe="canvas",PFe="hybrid",MFe="png",RFe="svg",DFe="none",pv={Canvas:AFe,PNG:MFe,SVG:RFe,Hybrid:PFe,None:DFe},f1={};f1[AFe]=f1[MFe]={renderer:VN,headless:VN,handler:SR};f1[RFe]={renderer:xie,headless:TFe,handler:gFe};f1[PFe]={renderer:xX,headless:xX,handler:kFe};f1[DFe]={};function zB(t,e){return t=String(t||"").toLowerCase(),arguments.length>1?(f1[t]=e,this):f1[t]}function IFe(t,e,n){const r=[],i=new co().union(e),o=t.marktype;return o?LFe(t,i,n,r):o==="group"?$Fe(t,i,n,r):je("Intersect scene must be mark node or group item.")}function LFe(t,e,n,r){if(OMt(t,e,n)){const i=t.items,o=t.marktype,s=i.length;let a=0;if(o==="group")for(;a=0;o--)if(n[o]!=r[o])return!1;for(o=n.length-1;o>=0;o--)if(i=n[o],!bie(t[i],e[i],i))return!1;return typeof t==typeof e}function kMt(){W3e(),Zkt()}const BS="top",Cf="left",Of="right",cy="bottom",AMt="top-left",PMt="top-right",MMt="bottom-left",RMt="bottom-right",wie="start",bX="middle",pa="end",DMt="x",IMt="y",jB="group",_ie="axis",Sie="title",LMt="frame",$Mt="scope",Cie="legend",jFe="row-header",BFe="row-footer",UFe="row-title",WFe="column-header",VFe="column-footer",GFe="column-title",FMt="padding",NMt="symbol",HFe="fit",qFe="fit-x",XFe="fit-y",zMt="pad",Oie="none",II="all",wX="each",Eie="flush",gv="column",mv="row";function YFe(t){Re.call(this,null,t)}it(YFe,Re,{transform(t,e){const n=e.dataflow,r=t.mark,i=r.marktype,o=Eu[i],s=o.bound;let a=r.bounds,l;if(o.nested)r.items.length&&n.dirty(r.items[0]),a=LI(r,s),r.items.forEach(u=>{u.bounds.clear().union(a)});else if(i===jB||t.modified())switch(e.visit(e.MOD,u=>n.dirty(u)),a.clear(),r.items.forEach(u=>a.union(LI(u,s))),r.role){case _ie:case Cie:case Sie:e.reflow()}else l=e.changed(e.REM),e.visit(e.ADD,u=>{a.union(LI(u,s))}),e.visit(e.MOD,u=>{l=l||a.alignsWith(u.bounds),n.dirty(u),a.union(LI(u,s))}),l&&(a.clear(),r.items.forEach(u=>a.union(u.bounds)));return NFe(r),e.modifies("bounds")}});function LI(t,e,n){return e(t.bounds.clear(),t,n)}const zge=":vega_identifier:";function Tie(t){Re.call(this,0,t)}Tie.Definition={type:"Identifier",metadata:{modifies:!0},params:[{name:"as",type:"string",required:!0}]};it(Tie,Re,{transform(t,e){const n=jMt(e.dataflow),r=t.as;let i=n.value;return e.visit(e.ADD,o=>o[r]=o[r]||++i),n.set(this.value=i),e}});function jMt(t){return t._signals[zge]||(t._signals[zge]=t.add(0))}function QFe(t){Re.call(this,null,t)}it(QFe,Re,{transform(t,e){let n=this.value;n||(n=e.dataflow.scenegraph().mark(t.markdef,BMt(t),t.index),n.group.context=t.context,t.context.group||(t.context.group=n.group),n.source=this.source,n.clip=t.clip,n.interactive=t.interactive,this.value=n);const r=n.marktype===jB?MB:PB;return e.visit(e.ADD,i=>r.call(i,n)),(t.modified("clip")||t.modified("interactive"))&&(n.clip=t.clip,n.interactive=!!t.interactive,n.zdirty=!0,e.reflow()),n.items=e.source,e}});function BMt(t){const e=t.groups,n=t.parent;return e&&e.size===1?e.get(Object.keys(e.object)[0]):e&&n?e.lookup(n):null}function KFe(t){Re.call(this,null,t)}const jge={parity:t=>t.filter((e,n)=>n%2?e.opacity=0:1),greedy:(t,e)=>{let n;return t.filter((r,i)=>!i||!ZFe(n.bounds,r.bounds,e)?(n=r,1):r.opacity=0)}},ZFe=(t,e,n)=>n>Math.max(e.x1-t.x2,t.x1-e.x2,e.y1-t.y2,t.y1-e.y2),Bge=(t,e)=>{for(var n=1,r=t.length,i=t[0].bounds,o;n{const e=t.bounds;return e.width()>1&&e.height()>1},WMt=(t,e,n)=>{var r=t.range(),i=new co;return e===BS||e===cy?i.set(r[0],-1/0,r[1],1/0):i.set(-1/0,r[0],1/0,r[1]),i.expand(n||1),o=>i.encloses(o.bounds)},Uge=t=>(t.forEach(e=>e.opacity=1),t),Wge=(t,e)=>t.reflow(e.modified()).modifies("opacity");it(KFe,Re,{transform(t,e){const n=jge[t.method]||jge.parity,r=t.separation||0;let i=e.materialize(e.SOURCE).source,o,s;if(!i||!i.length)return;if(!t.method)return t.modified("method")&&(Uge(i),e=Wge(e,t)),e;if(i=i.filter(UMt),!i.length)return;if(t.sort&&(i=i.slice().sort(t.sort)),o=Uge(i),e=Wge(e,t),o.length>=3&&Bge(o,r)){do o=n(o,r);while(o.length>=3&&Bge(o,r));o.length<3&&!$n(i).opacity&&(o.length>1&&($n(o).opacity=0),$n(i).opacity=1)}t.boundScale&&t.boundTolerance>=0&&(s=WMt(t.boundScale,t.boundOrient,+t.boundTolerance),i.forEach(l=>{s(l)||(l.opacity=0)}));const a=o[0].mark.bounds.clear();return i.forEach(l=>{l.opacity&&a.union(l.bounds)}),e}});function JFe(t){Re.call(this,null,t)}it(JFe,Re,{transform(t,e){const n=e.dataflow;if(e.visit(e.ALL,r=>n.dirty(r)),e.fields&&e.fields.zindex){const r=e.source&&e.source[0];r&&(r.mark.zdirty=!0)}}});const Fs=new co;function a_(t,e,n){return t[e]===n?0:(t[e]=n,1)}function VMt(t){var e=t.items[0].orient;return e===Cf||e===Of}function GMt(t){let e=+t.grid;return[t.ticks?e++:-1,t.labels?e++:-1,e+ +t.domain]}function HMt(t,e,n,r){var i=e.items[0],o=i.datum,s=i.translate!=null?i.translate:.5,a=i.orient,l=GMt(o),u=i.range,c=i.offset,f=i.position,d=i.minExtent,h=i.maxExtent,p=o.title&&i.items[l[2]].items[0],g=i.titlePadding,m=i.bounds,v=p&&uie(p),y=0,x=0,b,w;switch(Fs.clear().union(m),m.clear(),(b=l[0])>-1&&m.union(i.items[b].bounds),(b=l[1])>-1&&m.union(i.items[b].bounds),a){case BS:y=f||0,x=-c,w=Math.max(d,Math.min(h,-m.y1)),m.add(0,-w).add(u,0),p&&$I(t,p,w,g,v,0,-1,m);break;case Cf:y=-c,x=f||0,w=Math.max(d,Math.min(h,-m.x1)),m.add(-w,0).add(0,u),p&&$I(t,p,w,g,v,1,-1,m);break;case Of:y=n+c,x=f||0,w=Math.max(d,Math.min(h,m.x2)),m.add(0,0).add(w,u),p&&$I(t,p,w,g,v,1,1,m);break;case cy:y=f||0,x=r+c,w=Math.max(d,Math.min(h,m.y2)),m.add(0,0).add(u,w),p&&$I(t,p,w,g,0,0,1,m);break;default:y=i.x,x=i.y}return Xg(m.translate(y,x),i),a_(i,"x",y+s)|a_(i,"y",x+s)&&(i.bounds=Fs,t.dirty(i),i.bounds=m,t.dirty(i)),i.mark.bounds.clear().union(m)}function $I(t,e,n,r,i,o,s,a){const l=e.bounds;if(e.auto){const u=s*(n+i+r);let c=0,f=0;t.dirty(e),o?c=(e.x||0)-(e.x=u):f=(e.y||0)-(e.y=u),e.mark.bounds.clear().union(l.translate(-c,-f)),t.dirty(e)}a.union(l)}const Vge=(t,e)=>Math.floor(Math.min(t,e)),Gge=(t,e)=>Math.ceil(Math.max(t,e));function qMt(t){var e=t.items,n=e.length,r=0,i,o;const s={marks:[],rowheaders:[],rowfooters:[],colheaders:[],colfooters:[],rowtitle:null,coltitle:null};for(;r1)for(S=0;S0&&(x[S]+=T/2);if(a&&ai(n.center,mv)&&c!==1)for(S=0;S0&&(b[S]+=R/2);for(S=0;Si&&(t.warn("Grid headers exceed limit: "+i),e=e.slice(0,i)),g+=o,y=0,b=e.length;y=0&&(S=n[x])==null;x-=d);a?(O=h==null?S.x:Math.round(S.bounds.x1+h*S.bounds.width()),k=g):(O=g,k=h==null?S.y:Math.round(S.bounds.y1+h*S.bounds.height())),w.union(_.bounds.translate(O-(_.x||0),k-(_.y||0))),_.x=O,_.y=k,t.dirty(_),m=s(m,w[u])}return m}function qge(t,e,n,r,i,o){if(e){t.dirty(e);var s=n,a=n;r?s=Math.round(i.x1+o*i.width()):a=Math.round(i.y1+o*i.height()),e.bounds.translate(s-(e.x||0),a-(e.y||0)),e.mark.bounds.clear().union(e.bounds),e.x=s,e.y=a,t.dirty(e)}}function JMt(t,e){const n=t[e]||{};return(r,i)=>n[r]!=null?n[r]:t[r]!=null?t[r]:i}function eRt(t,e){let n=-1/0;return t.forEach(r=>{r.offset!=null&&(n=Math.max(n,r.offset))}),n>-1/0?n:e}function tRt(t,e,n,r,i,o,s){const a=JMt(n,e),l=eRt(t,a("offset",0)),u=a("anchor",wie),c=u===pa?1:u===bX?.5:0,f={align:wX,bounds:a("bounds",Eie),columns:a("direction")==="vertical"?1:t.length,padding:a("margin",8),center:a("center"),nodirty:!0};switch(e){case Cf:f.anchor={x:Math.floor(r.x1)-l,column:pa,y:c*(s||r.height()+2*r.y1),row:u};break;case Of:f.anchor={x:Math.ceil(r.x2)+l,y:c*(s||r.height()+2*r.y1),row:u};break;case BS:f.anchor={y:Math.floor(i.y1)-l,row:pa,x:c*(o||i.width()+2*i.x1),column:u};break;case cy:f.anchor={y:Math.ceil(i.y2)+l,x:c*(o||i.width()+2*i.x1),column:u};break;case AMt:f.anchor={x:l,y:l};break;case PMt:f.anchor={x:o-l,y:l,column:pa};break;case MMt:f.anchor={x:l,y:s-l,row:pa};break;case RMt:f.anchor={x:o-l,y:s-l,column:pa,row:pa};break}return f}function nRt(t,e){var n=e.items[0],r=n.datum,i=n.orient,o=n.bounds,s=n.x,a=n.y,l,u;return n._bounds?n._bounds.clear().union(o):n._bounds=o.clone(),o.clear(),iRt(t,n,n.items[0].items[0]),o=rRt(n,o),l=2*n.padding,u=2*n.padding,o.empty()||(l=Math.ceil(o.width()+l),u=Math.ceil(o.height()+u)),r.type===NMt&&oRt(n.items[0].items[0].items[0].items),i!==Oie&&(n.x=s=0,n.y=a=0),n.width=l,n.height=u,Xg(o.set(s,a,s+l,a+u),n),n.mark.bounds.clear().union(o),n}function rRt(t,e){return t.items.forEach(n=>e.union(n.bounds)),e.x1=t.padding,e.y1=t.padding,e}function iRt(t,e,n){var r=e.padding,i=r-n.x,o=r-n.y;if(!e.datum.title)(i||o)&&ZE(t,n,i,o);else{var s=e.items[1].items[0],a=s.anchor,l=e.titlePadding||0,u=r-s.x,c=r-s.y;switch(s.orient){case Cf:i+=Math.ceil(s.bounds.width())+l;break;case Of:case cy:break;default:o+=s.bounds.height()+l}switch((i||o)&&ZE(t,n,i,o),s.orient){case Cf:c+=qb(e,n,s,a,1,1);break;case Of:u+=qb(e,n,s,pa,0,0)+l,c+=qb(e,n,s,a,1,1);break;case cy:u+=qb(e,n,s,a,0,0),c+=qb(e,n,s,pa,-1,0,1)+l;break;default:u+=qb(e,n,s,a,0,0)}(u||c)&&ZE(t,s,u,c),(u=Math.round(s.bounds.x1-r))<0&&(ZE(t,n,-u,0),ZE(t,s,-u,0))}}function qb(t,e,n,r,i,o,s){const a=t.datum.type!=="symbol",l=n.datum.vgrad,u=a&&(o||!l)&&!s?e.items[0]:e,c=u.bounds[i?"y2":"x2"]-t.padding,f=l&&o?c:0,d=l&&o?0:c,h=i<=0?0:uie(n);return Math.round(r===wie?f:r===pa?d-h:.5*(c-h))}function ZE(t,e,n,r){e.x+=n,e.y+=r,e.bounds.translate(n,r),e.mark.bounds.translate(n,r),t.dirty(e)}function oRt(t){const e=t.reduce((n,r)=>(n[r.column]=Math.max(r.bounds.x2-r.x,n[r.column]||0),n),{});t.forEach(n=>{n.width=e[n.column],n.height=n.bounds.y2-n.y})}function sRt(t,e,n,r,i){var o=e.items[0],s=o.frame,a=o.orient,l=o.anchor,u=o.offset,c=o.padding,f=o.items[0].items[0],d=o.items[1]&&o.items[1].items[0],h=a===Cf||a===Of?r:n,p=0,g=0,m=0,v=0,y=0,x;if(s!==jB?a===Cf?(p=i.y2,h=i.y1):a===Of?(p=i.y1,h=i.y2):(p=i.x1,h=i.x2):a===Cf&&(p=r,h=0),x=l===wie?p:l===pa?h:(p+h)/2,d&&d.text){switch(a){case BS:case cy:y=f.bounds.height()+c;break;case Cf:v=f.bounds.width()+c;break;case Of:v=-f.bounds.width()-c;break}Fs.clear().union(d.bounds),Fs.translate(v-(d.x||0),y-(d.y||0)),a_(d,"x",v)|a_(d,"y",y)&&(t.dirty(d),d.bounds.clear().union(Fs),d.mark.bounds.clear().union(Fs),t.dirty(d)),Fs.clear().union(d.bounds)}else Fs.clear();switch(Fs.union(f.bounds),a){case BS:g=x,m=i.y1-Fs.height()-u;break;case Cf:g=i.x1-Fs.width()-u,m=x;break;case Of:g=i.x2+Fs.width()+u,m=x;break;case cy:g=x,m=i.y2+u;break;default:g=o.x,m=o.y}return a_(o,"x",g)|a_(o,"y",m)&&(Fs.translate(g,m),t.dirty(o),o.bounds.clear().union(Fs),e.bounds.clear().union(Fs),t.dirty(o)),o.bounds}function tNe(t){Re.call(this,null,t)}it(tNe,Re,{transform(t,e){const n=e.dataflow;return t.mark.items.forEach(r=>{t.layout&&QMt(n,r,t.layout),lRt(n,r,t)}),aRt(t.mark.group)?e.reflow():e}});function aRt(t){return t&&t.mark.role!=="legend-entry"}function lRt(t,e,n){var r=e.items,i=Math.max(0,e.width||0),o=Math.max(0,e.height||0),s=new co().set(0,0,i,o),a=s.clone(),l=s.clone(),u=[],c,f,d,h,p,g;for(p=0,g=r.length;p{d=v.orient||Of,d!==Oie&&(m[d]||(m[d]=[])).push(v)});for(const v in m){const y=m[v];eNe(t,y,tRt(y,v,n.legends,a,l,i,o))}u.forEach(v=>{const y=v.bounds;if(y.equals(v._bounds)||(v.bounds=v._bounds,t.dirty(v),v.bounds=y,t.dirty(v)),n.autosize&&(n.autosize.type===HFe||n.autosize.type===qFe||n.autosize.type===XFe))switch(v.orient){case Cf:case Of:s.add(y.x1,0).add(y.x2,0);break;case BS:case cy:s.add(0,y.y1).add(0,y.y2)}else s.union(y)})}s.union(a).union(l),c&&s.union(sRt(t,c,i,o,s)),e.clip&&s.set(0,0,e.width||0,e.height||0),uRt(t,e,s,n)}function uRt(t,e,n,r){const i=r.autosize||{},o=i.type;if(t._autosize<1||!o)return;let s=t._width,a=t._height,l=Math.max(0,e.width||0),u=Math.max(0,Math.ceil(-n.x1)),c=Math.max(0,e.height||0),f=Math.max(0,Math.ceil(-n.y1));const d=Math.max(0,Math.ceil(n.x2-l)),h=Math.max(0,Math.ceil(n.y2-c));if(i.contains===FMt){const p=t.padding();s-=p.left+p.right,a-=p.top+p.bottom}o===Oie?(u=0,f=0,l=s,c=a):o===HFe?(l=Math.max(0,s-u-d),c=Math.max(0,a-f-h)):o===qFe?(l=Math.max(0,s-u-d),a=c+f+h):o===XFe?(s=l+u+d,c=Math.max(0,a-f-h)):o===zMt&&(s=l+u+d,a=c+f+h),t._resizeView(s,a,l,c,[u,f],i.resize)}const cRt=Object.freeze(Object.defineProperty({__proto__:null,bound:YFe,identifier:Tie,mark:QFe,overlap:KFe,render:JFe,viewlayout:tNe},Symbol.toStringTag,{value:"Module"}));function nNe(t){Re.call(this,null,t)}it(nNe,Re,{transform(t,e){if(this.value&&!t.modified())return e.StopPropagation;var n=e.dataflow.locale(),r=e.fork(e.NO_SOURCE|e.NO_FIELDS),i=this.value,o=t.scale,s=t.count==null?t.values?t.values.length:10:t.count,a=Gre(o,s,t.minstep),l=t.format||A3e(n,o,a,t.formatSpecifier,t.formatType,!!t.values),u=t.values?k3e(o,t.values,a):Hre(o,a);return i&&(r.rem=i),i=u.map((c,f)=>ur({index:f/(u.length-1||1),value:c,label:l(c)})),t.extra&&i.length&&i.push(ur({index:-1,extra:{value:i[0].value},label:""})),r.source=i,r.add=i,this.value=i,r}});function rNe(t){Re.call(this,null,t)}function fRt(){return ur({})}function dRt(t){const e=vO().test(n=>n.exit);return e.lookup=n=>e.get(t(n)),e}it(rNe,Re,{transform(t,e){var n=e.dataflow,r=e.fork(e.NO_SOURCE|e.NO_FIELDS),i=t.item||fRt,o=t.key||zt,s=this.value;return We(r.encode)&&(r.encode=null),s&&(t.modified("key")||e.modified(o))&&je("DataJoin does not support modified key function or fields."),s||(e=e.addAll(),this.value=s=dRt(o)),e.visit(e.ADD,a=>{const l=o(a);let u=s.get(l);u?u.exit?(s.empty--,r.add.push(u)):r.mod.push(u):(u=i(a),s.set(l,u),r.add.push(u)),u.datum=a,u.exit=!1}),e.visit(e.MOD,a=>{const l=o(a),u=s.get(l);u&&(u.datum=a,r.mod.push(u))}),e.visit(e.REM,a=>{const l=o(a),u=s.get(l);a===u.datum&&!u.exit&&(r.rem.push(u),u.exit=!0,++s.empty)}),e.changed(e.ADD_MOD)&&r.modifies("datum"),(e.clean()||t.clean&&s.empty>n.cleanThreshold)&&n.runAfter(s.clean),r}});function iNe(t){Re.call(this,null,t)}it(iNe,Re,{transform(t,e){var n=e.fork(e.ADD_REM),r=t.mod||!1,i=t.encoders,o=e.encode;if(We(o))if(n.changed()||o.every(f=>i[f]))o=o[0],n.encode=null;else return e.StopPropagation;var s=o==="enter",a=i.update||Pm,l=i.enter||Pm,u=i.exit||Pm,c=(o&&!s?i[o]:a)||Pm;if(e.changed(e.ADD)&&(e.visit(e.ADD,f=>{l(f,t),a(f,t)}),n.modifies(l.output),n.modifies(a.output),c!==Pm&&c!==a&&(e.visit(e.ADD,f=>{c(f,t)}),n.modifies(c.output))),e.changed(e.REM)&&u!==Pm&&(e.visit(e.REM,f=>{u(f,t)}),n.modifies(u.output)),s||c!==Pm){const f=e.MOD|(t.modified()?e.REFLOW:0);s?(e.visit(f,d=>{const h=l(d,t)||r;(c(d,t)||h)&&n.mod.push(d)}),n.mod.length&&n.modifies(l.output)):e.visit(f,d=>{(c(d,t)||r)&&n.mod.push(d)}),n.mod.length&&n.modifies(c.output)}return n.changed()?n:e.StopPropagation}});function oNe(t){Re.call(this,[],t)}it(oNe,Re,{transform(t,e){if(this.value!=null&&!t.modified())return e.StopPropagation;var n=e.dataflow.locale(),r=e.fork(e.NO_SOURCE|e.NO_FIELDS),i=this.value,o=t.type||h3,s=t.scale,a=+t.limit,l=Gre(s,t.count==null?5:t.count,t.minstep),u=!!t.values||o===h3,c=t.format||D3e(n,s,l,o,t.formatSpecifier,t.formatType,u),f=t.values||R3e(s,l),d,h,p,g,m;return i&&(r.rem=i),o===h3?(a&&f.length>a?(e.dataflow.warn("Symbol legend count exceeds limit, filtering items."),i=f.slice(0,a-1),m=!0):i=f,fn(p=t.size)?(!t.values&&s(i[0])===0&&(i=i.slice(1)),g=i.reduce((v,y)=>Math.max(v,p(y,t)),0)):p=ta(g=p||8),i=i.map((v,y)=>ur({index:y,label:c(v,y,i),value:v,offset:g,size:p(v,t)})),m&&(m=f[i.length],i.push(ur({index:i.length,label:`…${f.length-i.length} entries`,value:m,offset:g,size:p(m,t)})))):o===zkt?(d=s.domain(),h=O3e(s,d[0],$n(d)),f.length<3&&!t.values&&d[0]!==$n(d)&&(f=[d[0],$n(d)]),i=f.map((v,y)=>ur({index:y,label:c(v,y,f),value:v,perc:h(v)}))):(p=f.length-1,h=Qkt(s),i=f.map((v,y)=>ur({index:y,label:c(v,y,f),value:v,perc:y?h(v):0,perc2:y===p?1:h(f[y+1])}))),r.source=i,r.add=i,this.value=i,r}});const hRt=t=>t.source.x,pRt=t=>t.source.y,gRt=t=>t.target.x,mRt=t=>t.target.y;function kie(t){Re.call(this,{},t)}kie.Definition={type:"LinkPath",metadata:{modifies:!0},params:[{name:"sourceX",type:"field",default:"source.x"},{name:"sourceY",type:"field",default:"source.y"},{name:"targetX",type:"field",default:"target.x"},{name:"targetY",type:"field",default:"target.y"},{name:"orient",type:"enum",default:"vertical",values:["horizontal","vertical","radial"]},{name:"shape",type:"enum",default:"line",values:["line","arc","curve","diagonal","orthogonal"]},{name:"require",type:"signal"},{name:"as",type:"string",default:"path"}]};it(kie,Re,{transform(t,e){var n=t.sourceX||hRt,r=t.sourceY||pRt,i=t.targetX||gRt,o=t.targetY||mRt,s=t.as||"path",a=t.orient||"vertical",l=t.shape||"line",u=Xge.get(l+"-"+a)||Xge.get(l);return u||je("LinkPath unsupported type: "+t.shape+(t.orient?"-"+t.orient:"")),e.visit(e.SOURCE,c=>{c[s]=u(n(c),r(c),i(c),o(c))}),e.reflow(t.modified()).modifies(s)}});const sNe=(t,e,n,r)=>"M"+t+","+e+"L"+n+","+r,vRt=(t,e,n,r)=>sNe(e*Math.cos(t),e*Math.sin(t),r*Math.cos(n),r*Math.sin(n)),aNe=(t,e,n,r)=>{var i=n-t,o=r-e,s=Math.hypot(i,o)/2,a=180*Math.atan2(o,i)/Math.PI;return"M"+t+","+e+"A"+s+","+s+" "+a+" 0 1 "+n+","+r},yRt=(t,e,n,r)=>aNe(e*Math.cos(t),e*Math.sin(t),r*Math.cos(n),r*Math.sin(n)),lNe=(t,e,n,r)=>{const i=n-t,o=r-e,s=.2*(i+o),a=.2*(o-i);return"M"+t+","+e+"C"+(t+s)+","+(e+a)+" "+(n+a)+","+(r-s)+" "+n+","+r},xRt=(t,e,n,r)=>lNe(e*Math.cos(t),e*Math.sin(t),r*Math.cos(n),r*Math.sin(n)),bRt=(t,e,n,r)=>"M"+t+","+e+"V"+r+"H"+n,wRt=(t,e,n,r)=>"M"+t+","+e+"H"+n+"V"+r,_Rt=(t,e,n,r)=>{const i=Math.cos(t),o=Math.sin(t),s=Math.cos(n),a=Math.sin(n),l=Math.abs(n-t)>Math.PI?n<=t:n>t;return"M"+e*i+","+e*o+"A"+e+","+e+" 0 0,"+(l?1:0)+" "+e*s+","+e*a+"L"+r*s+","+r*a},SRt=(t,e,n,r)=>{const i=(t+n)/2;return"M"+t+","+e+"C"+i+","+e+" "+i+","+r+" "+n+","+r},CRt=(t,e,n,r)=>{const i=(e+r)/2;return"M"+t+","+e+"C"+t+","+i+" "+n+","+i+" "+n+","+r},ORt=(t,e,n,r)=>{const i=Math.cos(t),o=Math.sin(t),s=Math.cos(n),a=Math.sin(n),l=(e+r)/2;return"M"+e*i+","+e*o+"C"+l*i+","+l*o+" "+l*s+","+l*a+" "+r*s+","+r*a},Xge=vO({line:sNe,"line-radial":vRt,arc:aNe,"arc-radial":yRt,curve:lNe,"curve-radial":xRt,"orthogonal-horizontal":bRt,"orthogonal-vertical":wRt,"orthogonal-radial":_Rt,"diagonal-horizontal":SRt,"diagonal-vertical":CRt,"diagonal-radial":ORt});function Aie(t){Re.call(this,null,t)}Aie.Definition={type:"Pie",metadata:{modifies:!0},params:[{name:"field",type:"field"},{name:"startAngle",type:"number",default:0},{name:"endAngle",type:"number",default:6.283185307179586},{name:"sort",type:"boolean",default:!1},{name:"as",type:"string",array:!0,length:2,default:["startAngle","endAngle"]}]};it(Aie,Re,{transform(t,e){var n=t.as||["startAngle","endAngle"],r=n[0],i=n[1],o=t.field||pO,s=t.startAngle||0,a=t.endAngle!=null?t.endAngle:2*Math.PI,l=e.source,u=l.map(o),c=u.length,f=s,d=(a-s)/yIe(u),h=ol(c),p,g,m;for(t.sort&&h.sort((v,y)=>u[v]-u[y]),p=0;p-1)return r;var i=e.domain,o=t.type,s=e.zero||e.zero===void 0&&TRt(t),a,l;if(!i)return 0;if((s||e.domainMin!=null||e.domainMax!=null||e.domainMid!=null)&&(a=(i=i.slice()).length-1||1,s&&(i[0]>0&&(i[0]=0),i[a]<0&&(i[a]=0)),e.domainMin!=null&&(i[0]=e.domainMin),e.domainMax!=null&&(i[a]=e.domainMax),e.domainMid!=null)){l=e.domainMid;const u=l>i[a]?a+1:li+(o<0?-1:o>0?1:0),0));r!==e.length&&n.warn("Log scale domain includes zero: "+rt(e))}return e}function IRt(t,e,n){let r=e.bins;if(r&&!We(r)){const i=t.domain(),o=i[0],s=$n(i),a=r.step;let l=r.start==null?o:r.start,u=r.stop==null?s:r.stop;a||je("Scale bins parameter missing step property."),ls&&(u=a*Math.floor(s/a)),r=ol(l,u+a/2,a)}return r?t.bins=r:t.bins&&delete t.bins,t.type===zre&&(r?!e.domain&&!e.domainRaw&&(t.domain(r),n=r.length):t.bins=t.domain()),n}function LRt(t,e,n){var r=t.type,i=e.round||!1,o=e.range;if(e.rangeStep!=null)o=$Rt(r,e,n);else if(e.scheme&&(o=FRt(r,e,n),fn(o))){if(t.interpolator)return t.interpolator(o);je(`Scale type ${r} does not support interpolating color schemes.`)}if(o&&w3e(r))return t.interpolator(kB(_X(o,e.reverse),e.interpolate,e.interpolateGamma));o&&e.interpolate&&t.interpolate?t.interpolate(Wre(e.interpolate,e.interpolateGamma)):fn(t.round)?t.round(i):fn(t.rangeRound)&&t.interpolate(i?uR:jy),o&&t.range(_X(o,e.reverse))}function $Rt(t,e,n){t!==p3e&&t!==aX&&je("Only band and point scales support rangeStep.");var r=(e.paddingOuter!=null?e.paddingOuter:e.padding)||0,i=t===aX?1:(e.paddingInner!=null?e.paddingInner:e.padding)||0;return[0,e.rangeStep*Fre(n,i,r)]}function FRt(t,e,n){var r=e.schemeExtent,i,o;return We(e.scheme)?o=kB(e.scheme,e.interpolate,e.interpolateGamma):(i=e.scheme.toLowerCase(),o=Vre(i),o||je(`Unrecognized scheme name: ${e.scheme}`)),n=t===TB?n+1:t===zre?n-1:t===$S||t===EB?+e.schemeCount||ERt:n,w3e(t)?Yge(o,r,e.reverse):fn(o)?C3e(Yge(o,r),n):t===Nre?o:o.slice(0,n)}function Yge(t,e,n){return fn(t)&&(e||n)?S3e(t,_X(e||[0,1],n)):t}function _X(t,e){return e?t.slice().reverse():t}function dNe(t){Re.call(this,null,t)}it(dNe,Re,{transform(t,e){const n=t.modified("sort")||e.changed(e.ADD)||e.modified(t.sort.fields)||e.modified("datum");return n&&e.source.sort(ob(t.sort)),this.modified(n),e}});const Qge="zero",hNe="center",pNe="normalize",gNe=["y0","y1"];function Pie(t){Re.call(this,null,t)}Pie.Definition={type:"Stack",metadata:{modifies:!0},params:[{name:"field",type:"field"},{name:"groupby",type:"field",array:!0},{name:"sort",type:"compare"},{name:"offset",type:"enum",default:Qge,values:[Qge,hNe,pNe]},{name:"as",type:"string",array:!0,length:2,default:gNe}]};it(Pie,Re,{transform(t,e){var n=t.as||gNe,r=n[0],i=n[1],o=ob(t.sort),s=t.field||pO,a=t.offset===hNe?NRt:t.offset===pNe?zRt:jRt,l,u,c,f;for(l=BRt(e.source,t.groupby,o,s),u=0,c=l.length,f=l.max;ug(c),s,a,l,u,c,f,d,h,p;if(e==null)i.push(t.slice());else for(s={},a=0,l=t.length;ap&&(p=h),n&&d.sort(n)}return i.max=p,i}const URt=Object.freeze(Object.defineProperty({__proto__:null,axisticks:nNe,datajoin:rNe,encode:iNe,legendentries:oNe,linkpath:kie,pie:Aie,scale:cNe,sortitems:dNe,stack:Pie},Symbol.toStringTag,{value:"Module"}));var Ut=1e-6,qN=1e-12,xn=Math.PI,$i=xn/2,XN=xn/4,ka=xn*2,Ui=180/xn,vn=xn/180,Ln=Math.abs,TO=Math.atan,Pc=Math.atan2,Vt=Math.cos,NI=Math.ceil,mNe=Math.exp,SX=Math.hypot,YN=Math.log,sV=Math.pow,jt=Math.sin,oc=Math.sign||function(t){return t>0?1:t<0?-1:0},Aa=Math.sqrt,Mie=Math.tan;function vNe(t){return t>1?0:t<-1?xn:Math.acos(t)}function _l(t){return t>1?$i:t<-1?-$i:Math.asin(t)}function hs(){}function QN(t,e){t&&Zge.hasOwnProperty(t.type)&&Zge[t.type](t,e)}var Kge={Feature:function(t,e){QN(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,o=Vt(e),s=jt(e),a=TX*s,l=EX*o+a*Vt(i),u=a*r*jt(i);KN.add(Pc(u,l)),OX=t,EX=o,TX=s}function HRt(t){return ZN=new Ca,jp(t,kh),ZN*2}function JN(t){return[Pc(t[1],t[0]),_l(t[2])]}function d1(t){var e=t[0],n=t[1],r=Vt(n);return[r*Vt(e),r*jt(e),jt(n)]}function zI(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function US(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function aV(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function jI(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function e5(t){var e=Aa(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var xi,Ya,Ri,Ql,j0,wNe,_Ne,I_,ak,qm,Lg,Ip={point:kX,lineStart:eme,lineEnd:tme,polygonStart:function(){Ip.point=CNe,Ip.lineStart=qRt,Ip.lineEnd=XRt,ak=new Ca,kh.polygonStart()},polygonEnd:function(){kh.polygonEnd(),Ip.point=kX,Ip.lineStart=eme,Ip.lineEnd=tme,KN<0?(xi=-(Ri=180),Ya=-(Ql=90)):ak>Ut?Ql=90:ak<-Ut&&(Ya=-90),Lg[0]=xi,Lg[1]=Ri},sphere:function(){xi=-(Ri=180),Ya=-(Ql=90)}};function kX(t,e){qm.push(Lg=[xi=t,Ri=t]),eQl&&(Ql=e)}function SNe(t,e){var n=d1([t*vn,e*vn]);if(I_){var r=US(I_,n),i=[r[1],-r[0],0],o=US(i,r);e5(o),o=JN(o);var s=t-j0,a=s>0?1:-1,l=o[0]*Ui*a,u,c=Ln(s)>180;c^(a*j0Ql&&(Ql=u)):(l=(l+360)%360-180,c^(a*j0Ql&&(Ql=e))),c?tql(xi,Ri)&&(Ri=t):ql(t,Ri)>ql(xi,Ri)&&(xi=t):Ri>=xi?(tRi&&(Ri=t)):t>j0?ql(xi,t)>ql(xi,Ri)&&(Ri=t):ql(t,Ri)>ql(xi,Ri)&&(xi=t)}else qm.push(Lg=[xi=t,Ri=t]);eQl&&(Ql=e),I_=n,j0=t}function eme(){Ip.point=SNe}function tme(){Lg[0]=xi,Lg[1]=Ri,Ip.point=kX,I_=null}function CNe(t,e){if(I_){var n=t-j0;ak.add(Ln(n)>180?n+(n>0?360:-360):n)}else wNe=t,_Ne=e;kh.point(t,e),SNe(t,e)}function qRt(){kh.lineStart()}function XRt(){CNe(wNe,_Ne),kh.lineEnd(),Ln(ak)>Ut&&(xi=-(Ri=180)),Lg[0]=xi,Lg[1]=Ri,I_=null}function ql(t,e){return(e-=t)<0?e+360:e}function YRt(t,e){return t[0]-e[0]}function nme(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eql(r[0],r[1])&&(r[1]=i[1]),ql(i[0],r[1])>ql(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(s=-1/0,n=o.length-1,e=0,r=o[n];e<=n;r=i,++e)i=o[e],(a=ql(r[1],i[0]))>s&&(s=a,xi=i[0],Ri=r[1])}return qm=Lg=null,xi===1/0||Ya===1/0?[[NaN,NaN],[NaN,NaN]]:[[xi,Ya],[Ri,Ql]]}var lT,t5,n5,r5,i5,o5,s5,a5,AX,PX,MX,ONe,ENe,ma,va,ya,Ef={sphere:hs,point:Rie,lineStart:rme,lineEnd:ime,polygonStart:function(){Ef.lineStart=JRt,Ef.lineEnd=eDt},polygonEnd:function(){Ef.lineStart=rme,Ef.lineEnd=ime}};function Rie(t,e){t*=vn,e*=vn;var n=Vt(e);CR(n*Vt(t),n*jt(t),jt(e))}function CR(t,e,n){++lT,n5+=(t-n5)/lT,r5+=(e-r5)/lT,i5+=(n-i5)/lT}function rme(){Ef.point=KRt}function KRt(t,e){t*=vn,e*=vn;var n=Vt(e);ma=n*Vt(t),va=n*jt(t),ya=jt(e),Ef.point=ZRt,CR(ma,va,ya)}function ZRt(t,e){t*=vn,e*=vn;var n=Vt(e),r=n*Vt(t),i=n*jt(t),o=jt(e),s=Pc(Aa((s=va*o-ya*i)*s+(s=ya*r-ma*o)*s+(s=ma*i-va*r)*s),ma*r+va*i+ya*o);t5+=s,o5+=s*(ma+(ma=r)),s5+=s*(va+(va=i)),a5+=s*(ya+(ya=o)),CR(ma,va,ya)}function ime(){Ef.point=Rie}function JRt(){Ef.point=tDt}function eDt(){TNe(ONe,ENe),Ef.point=Rie}function tDt(t,e){ONe=t,ENe=e,t*=vn,e*=vn,Ef.point=TNe;var n=Vt(e);ma=n*Vt(t),va=n*jt(t),ya=jt(e),CR(ma,va,ya)}function TNe(t,e){t*=vn,e*=vn;var n=Vt(e),r=n*Vt(t),i=n*jt(t),o=jt(e),s=va*o-ya*i,a=ya*r-ma*o,l=ma*i-va*r,u=SX(s,a,l),c=_l(u),f=u&&-c/u;AX.add(f*s),PX.add(f*a),MX.add(f*l),t5+=c,o5+=c*(ma+(ma=r)),s5+=c*(va+(va=i)),a5+=c*(ya+(ya=o)),CR(ma,va,ya)}function nDt(t){lT=t5=n5=r5=i5=o5=s5=a5=0,AX=new Ca,PX=new Ca,MX=new Ca,jp(t,Ef);var e=+AX,n=+PX,r=+MX,i=SX(e,n,r);return ixn&&(t-=Math.round(t/ka)*ka),[t,e]}DX.invert=DX;function kNe(t,e,n){return(t%=ka)?e||n?RX(sme(t),ame(e,n)):sme(t):e||n?ame(e,n):DX}function ome(t){return function(e,n){return e+=t,Ln(e)>xn&&(e-=Math.round(e/ka)*ka),[e,n]}}function sme(t){var e=ome(t);return e.invert=ome(-t),e}function ame(t,e){var n=Vt(t),r=jt(t),i=Vt(e),o=jt(e);function s(a,l){var u=Vt(l),c=Vt(a)*u,f=jt(a)*u,d=jt(l),h=d*n+c*r;return[Pc(f*i-h*o,c*n-d*r),_l(h*i+f*o)]}return s.invert=function(a,l){var u=Vt(l),c=Vt(a)*u,f=jt(a)*u,d=jt(l),h=d*i-f*o;return[Pc(f*i+d*o,c*n+h*r),_l(h*n-c*r)]},s}function rDt(t){t=kNe(t[0]*vn,t[1]*vn,t.length>2?t[2]*vn:0);function e(n){return n=t(n[0]*vn,n[1]*vn),n[0]*=Ui,n[1]*=Ui,n}return e.invert=function(n){return n=t.invert(n[0]*vn,n[1]*vn),n[0]*=Ui,n[1]*=Ui,n},e}function iDt(t,e,n,r,i,o){if(n){var s=Vt(e),a=jt(e),l=r*n;i==null?(i=e+r*ka,o=e-l/2):(i=lme(s,i),o=lme(s,o),(r>0?io)&&(i+=r*ka));for(var u,c=i;r>0?c>o:c1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function _3(t,e){return Ln(t[0]-e[0])=0;--a)i.point((f=c[a])[0],f[1]);else r(d.x,d.p.x,-1,i);d=d.p}d=d.o,c=d.z,h=!h}while(!d.v);i.lineEnd()}}}function ume(t){if(e=t.length){for(var e,n=0,r=t[0],i;++n=0?1:-1,E=k*O,M=E>xn,A=m*_;if(l.add(Pc(A*k*jt(E),v*S+A*Vt(E))),s+=M?O+k*ka:O,M^p>=n^b>=n){var P=US(d1(h),d1(x));e5(P);var T=US(o,P);e5(T);var R=(M^O>=0?-1:1)*_l(T[2]);(r>R||r===R&&(P[0]||P[1]))&&(a+=M^O>=0?1:-1)}}return(s<-Ut||s0){for(l||(i.polygonStart(),l=!0),i.lineStart(),_=0;_1&&b&2&&w.push(w.pop().concat(w.shift())),c.push(w.filter(sDt))}}return d}}function sDt(t){return t.length>1}function aDt(t,e){return((t=t.x)[0]<0?t[1]-$i-Ut:$i-t[1])-((e=e.x)[0]<0?e[1]-$i-Ut:$i-e[1])}const cme=MNe(function(){return!0},lDt,cDt,[-xn,-$i]);function lDt(t){var e=NaN,n=NaN,r=NaN,i;return{lineStart:function(){t.lineStart(),i=1},point:function(o,s){var a=o>0?xn:-xn,l=Ln(o-e);Ln(l-xn)0?$i:-$i),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(a,n),t.point(o,n),i=0):r!==a&&l>=xn&&(Ln(e-r)Ut?TO((jt(e)*(o=Vt(r))*jt(n)-jt(r)*(i=Vt(e))*jt(t))/(i*o*s)):(e+r)/2}function cDt(t,e,n,r){var i;if(t==null)i=n*$i,r.point(-xn,i),r.point(0,i),r.point(xn,i),r.point(xn,0),r.point(xn,-i),r.point(0,-i),r.point(-xn,-i),r.point(-xn,0),r.point(-xn,i);else if(Ln(t[0]-e[0])>Ut){var o=t[0]0,i=Ln(e)>Ut;function o(c,f,d,h){iDt(h,t,n,d,c,f)}function s(c,f){return Vt(c)*Vt(f)>e}function a(c){var f,d,h,p,g;return{lineStart:function(){p=h=!1,g=1},point:function(m,v){var y=[m,v],x,b=s(m,v),w=r?b?0:u(m,v):b?u(m+(m<0?xn:-xn),v):0;if(!f&&(p=h=b)&&c.lineStart(),b!==h&&(x=l(f,y),(!x||_3(f,x)||_3(y,x))&&(y[2]=1)),b!==h)g=0,b?(c.lineStart(),x=l(y,f),c.point(x[0],x[1])):(x=l(f,y),c.point(x[0],x[1],2),c.lineEnd()),f=x;else if(i&&f&&r^b){var _;!(w&d)&&(_=l(y,f,!0))&&(g=0,r?(c.lineStart(),c.point(_[0][0],_[0][1]),c.point(_[1][0],_[1][1]),c.lineEnd()):(c.point(_[1][0],_[1][1]),c.lineEnd(),c.lineStart(),c.point(_[0][0],_[0][1],3)))}b&&(!f||!_3(f,y))&&c.point(y[0],y[1]),f=y,h=b,d=w},lineEnd:function(){h&&c.lineEnd(),f=null},clean:function(){return g|(p&&h)<<1}}}function l(c,f,d){var h=d1(c),p=d1(f),g=[1,0,0],m=US(h,p),v=zI(m,m),y=m[0],x=v-y*y;if(!x)return!d&&c;var b=e*v/x,w=-e*y/x,_=US(g,m),S=jI(g,b),O=jI(m,w);aV(S,O);var k=_,E=zI(S,k),M=zI(k,k),A=E*E-M*(zI(S,S)-1);if(!(A<0)){var P=Aa(A),T=jI(k,(-E-P)/M);if(aV(T,S),T=JN(T),!d)return T;var R=c[0],I=f[0],B=c[1],$=f[1],z;I0^T[1]<(Ln(T[0]-R)xn^(R<=T[0]&&T[0]<=I)){var F=jI(k,(-E+P)/M);return aV(F,S),[T,JN(F)]}}}function u(c,f){var d=r?t:xn-t,h=0;return c<-d?h|=1:c>d&&(h|=2),f<-d?h|=4:f>d&&(h|=8),h}return MNe(s,a,o,r?[0,-t]:[-xn,t-xn])}function dDt(t,e,n,r,i,o){var s=t[0],a=t[1],l=e[0],u=e[1],c=0,f=1,d=l-s,h=u-a,p;if(p=n-s,!(!d&&p>0)){if(p/=d,d<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=i-s,!(!d&&p<0)){if(p/=d,d<0){if(p>f)return;p>c&&(c=p)}else if(d>0){if(p0)){if(p/=h,h<0){if(p0){if(p>f)return;p>c&&(c=p)}if(p=o-a,!(!h&&p<0)){if(p/=h,h<0){if(p>f)return;p>c&&(c=p)}else if(h>0){if(p0&&(t[0]=s+c*d,t[1]=a+c*h),f<1&&(e[0]=s+f*d,e[1]=a+f*h),!0}}}}}var uT=1e9,UI=-uT;function RNe(t,e,n,r){function i(u,c){return t<=u&&u<=n&&e<=c&&c<=r}function o(u,c,f,d){var h=0,p=0;if(u==null||(h=s(u,f))!==(p=s(c,f))||l(u,c)<0^f>0)do d.point(h===0||h===3?t:n,h>1?r:e);while((h=(h+f+4)%4)!==p);else d.point(c[0],c[1])}function s(u,c){return Ln(u[0]-t)0?0:3:Ln(u[0]-n)0?2:1:Ln(u[1]-e)0?1:0:c>0?3:2}function a(u,c){return l(u.x,c.x)}function l(u,c){var f=s(u,1),d=s(c,1);return f!==d?f-d:f===0?c[1]-u[1]:f===1?u[0]-c[0]:f===2?u[1]-c[1]:c[0]-u[0]}return function(u){var c=u,f=ANe(),d,h,p,g,m,v,y,x,b,w,_,S={point:O,lineStart:A,lineEnd:P,polygonStart:E,polygonEnd:M};function O(R,I){i(R,I)&&c.point(R,I)}function k(){for(var R=0,I=0,B=h.length;Ir&&(H-N)*(r-F)>(q-F)*(t-N)&&++R:q<=r&&(H-N)*(r-F)<(q-F)*(t-N)&&--R;return R}function E(){c=f,d=[],h=[],_=!0}function M(){var R=k(),I=_&&R,B=(d=vIe(d)).length;(I||B)&&(u.polygonStart(),I&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),B&&PNe(d,a,R,o,u),u.polygonEnd()),c=u,d=h=p=null}function A(){S.point=T,h&&h.push(p=[]),w=!0,b=!1,y=x=NaN}function P(){d&&(T(g,m),v&&b&&f.rejoin(),d.push(f.result())),S.point=O,b&&c.lineEnd()}function T(R,I){var B=i(R,I);if(h&&p.push([R,I]),w)g=R,m=I,v=B,w=!1,B&&(c.lineStart(),c.point(R,I));else if(B&&b)c.point(R,I);else{var $=[y=Math.max(UI,Math.min(uT,y)),x=Math.max(UI,Math.min(uT,x))],z=[R=Math.max(UI,Math.min(uT,R)),I=Math.max(UI,Math.min(uT,I))];dDt($,z,t,e,n,r)?(b||(c.lineStart(),c.point($[0],$[1])),c.point(z[0],z[1]),B||c.lineEnd(),_=!1):B&&(c.lineStart(),c.point(R,I),_=!1)}y=R,x=I,b=B}return S}}function fme(t,e,n){var r=ol(t,e-Ut,n).concat(e);return function(i){return r.map(function(o){return[i,o]})}}function dme(t,e,n){var r=ol(t,e-Ut,n).concat(e);return function(i){return r.map(function(o){return[o,i]})}}function hDt(){var t,e,n,r,i,o,s,a,l=10,u=l,c=90,f=360,d,h,p,g,m=2.5;function v(){return{type:"MultiLineString",coordinates:y()}}function y(){return ol(NI(r/c)*c,n,c).map(p).concat(ol(NI(a/f)*f,s,f).map(g)).concat(ol(NI(e/l)*l,t,l).filter(function(x){return Ln(x%c)>Ut}).map(d)).concat(ol(NI(o/u)*u,i,u).filter(function(x){return Ln(x%f)>Ut}).map(h))}return v.lines=function(){return y().map(function(x){return{type:"LineString",coordinates:x}})},v.outline=function(){return{type:"Polygon",coordinates:[p(r).concat(g(s).slice(1),p(n).reverse().slice(1),g(a).reverse().slice(1))]}},v.extent=function(x){return arguments.length?v.extentMajor(x).extentMinor(x):v.extentMinor()},v.extentMajor=function(x){return arguments.length?(r=+x[0][0],n=+x[1][0],a=+x[0][1],s=+x[1][1],r>n&&(x=r,r=n,n=x),a>s&&(x=a,a=s,s=x),v.precision(m)):[[r,a],[n,s]]},v.extentMinor=function(x){return arguments.length?(e=+x[0][0],t=+x[1][0],o=+x[0][1],i=+x[1][1],e>t&&(x=e,e=t,t=x),o>i&&(x=o,o=i,i=x),v.precision(m)):[[e,o],[t,i]]},v.step=function(x){return arguments.length?v.stepMajor(x).stepMinor(x):v.stepMinor()},v.stepMajor=function(x){return arguments.length?(c=+x[0],f=+x[1],v):[c,f]},v.stepMinor=function(x){return arguments.length?(l=+x[0],u=+x[1],v):[l,u]},v.precision=function(x){return arguments.length?(m=+x,d=fme(o,i,90),h=dme(e,t,m),p=fme(a,s,90),g=dme(r,n,m),v):m},v.extentMajor([[-180,-90+Ut],[180,90-Ut]]).extentMinor([[-180,-80-Ut],[180,80+Ut]])}const IA=t=>t;var uV=new Ca,IX=new Ca,DNe,INe,LX,$X,Bp={point:hs,lineStart:hs,lineEnd:hs,polygonStart:function(){Bp.lineStart=pDt,Bp.lineEnd=mDt},polygonEnd:function(){Bp.lineStart=Bp.lineEnd=Bp.point=hs,uV.add(Ln(IX)),IX=new Ca},result:function(){var t=uV/2;return uV=new Ca,t}};function pDt(){Bp.point=gDt}function gDt(t,e){Bp.point=LNe,DNe=LX=t,INe=$X=e}function LNe(t,e){IX.add($X*t-LX*e),LX=t,$X=e}function mDt(){LNe(DNe,INe)}var WS=1/0,l5=WS,LA=-WS,u5=LA,c5={point:vDt,lineStart:hs,lineEnd:hs,polygonStart:hs,polygonEnd:hs,result:function(){var t=[[WS,l5],[LA,u5]];return LA=u5=-(l5=WS=1/0),t}};function vDt(t,e){tLA&&(LA=t),eu5&&(u5=e)}var FX=0,NX=0,cT=0,f5=0,d5=0,l_=0,zX=0,jX=0,fT=0,$Ne,FNe,Ud,Wd,Zu={point:h1,lineStart:hme,lineEnd:pme,polygonStart:function(){Zu.lineStart=bDt,Zu.lineEnd=wDt},polygonEnd:function(){Zu.point=h1,Zu.lineStart=hme,Zu.lineEnd=pme},result:function(){var t=fT?[zX/fT,jX/fT]:l_?[f5/l_,d5/l_]:cT?[FX/cT,NX/cT]:[NaN,NaN];return FX=NX=cT=f5=d5=l_=zX=jX=fT=0,t}};function h1(t,e){FX+=t,NX+=e,++cT}function hme(){Zu.point=yDt}function yDt(t,e){Zu.point=xDt,h1(Ud=t,Wd=e)}function xDt(t,e){var n=t-Ud,r=e-Wd,i=Aa(n*n+r*r);f5+=i*(Ud+t)/2,d5+=i*(Wd+e)/2,l_+=i,h1(Ud=t,Wd=e)}function pme(){Zu.point=h1}function bDt(){Zu.point=_Dt}function wDt(){NNe($Ne,FNe)}function _Dt(t,e){Zu.point=NNe,h1($Ne=Ud=t,FNe=Wd=e)}function NNe(t,e){var n=t-Ud,r=e-Wd,i=Aa(n*n+r*r);f5+=i*(Ud+t)/2,d5+=i*(Wd+e)/2,l_+=i,i=Wd*t-Ud*e,zX+=i*(Ud+t),jX+=i*(Wd+e),fT+=i*3,h1(Ud=t,Wd=e)}function zNe(t){this._context=t}zNe.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:{this._context.moveTo(t,e),this._point=1;break}case 1:{this._context.lineTo(t,e);break}default:{this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,ka);break}}},result:hs};var BX=new Ca,cV,jNe,BNe,dT,hT,$A={point:hs,lineStart:function(){$A.point=SDt},lineEnd:function(){cV&&UNe(jNe,BNe),$A.point=hs},polygonStart:function(){cV=!0},polygonEnd:function(){cV=null},result:function(){var t=+BX;return BX=new Ca,t}};function SDt(t,e){$A.point=UNe,jNe=dT=t,BNe=hT=e}function UNe(t,e){dT-=t,hT-=e,BX.add(Aa(dT*dT+hT*hT)),dT=t,hT=e}let gme,h5,mme,vme;class yme{constructor(e){this._append=e==null?WNe:CDt(e),this._radius=4.5,this._=""}pointRadius(e){return this._radius=+e,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(e,n){switch(this._point){case 0:{this._append`M${e},${n}`,this._point=1;break}case 1:{this._append`L${e},${n}`;break}default:{if(this._append`M${e},${n}`,this._radius!==mme||this._append!==h5){const r=this._radius,i=this._;this._="",this._append`m0,${r}a${r},${r} 0 1,1 0,${-2*r}a${r},${r} 0 1,1 0,${2*r}z`,mme=r,h5=this._append,vme=this._,this._=i}this._+=vme;break}}}result(){const e=this._;return this._="",e.length?e:null}}function WNe(t){let e=1;this._+=t[0];for(const n=t.length;e=0))throw new RangeError(`invalid digits: ${t}`);if(e>15)return WNe;if(e!==gme){const n=10**e;gme=e,h5=function(i){let o=1;this._+=i[0];for(const s=i.length;o=0))throw new RangeError(`invalid digits: ${a}`);n=l}return e===null&&(o=new yme(n)),s},s.projection(t).digits(n).context(e)}function BB(t){return function(e){var n=new UX;for(var r in t)n[r]=t[r];return n.stream=e,n}}function UX(){}UX.prototype={constructor:UX,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Die(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),r!=null&&t.clipExtent(null),jp(n,t.stream(c5)),e(c5.result()),r!=null&&t.clipExtent(r),t}function UB(t,e,n){return Die(t,function(r){var i=e[1][0]-e[0][0],o=e[1][1]-e[0][1],s=Math.min(i/(r[1][0]-r[0][0]),o/(r[1][1]-r[0][1])),a=+e[0][0]+(i-s*(r[1][0]+r[0][0]))/2,l=+e[0][1]+(o-s*(r[1][1]+r[0][1]))/2;t.scale(150*s).translate([a,l])},n)}function Iie(t,e,n){return UB(t,[[0,0],e],n)}function Lie(t,e,n){return Die(t,function(r){var i=+e,o=i/(r[1][0]-r[0][0]),s=(i-o*(r[1][0]+r[0][0]))/2,a=-o*r[0][1];t.scale(150*o).translate([s,a])},n)}function $ie(t,e,n){return Die(t,function(r){var i=+e,o=i/(r[1][1]-r[0][1]),s=-o*r[0][0],a=(i-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([s,a])},n)}var xme=16,ODt=Vt(30*vn);function bme(t,e){return+e?TDt(t,e):EDt(t)}function EDt(t){return BB({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function TDt(t,e){function n(r,i,o,s,a,l,u,c,f,d,h,p,g,m){var v=u-r,y=c-i,x=v*v+y*y;if(x>4*e&&g--){var b=s+d,w=a+h,_=l+p,S=Aa(b*b+w*w+_*_),O=_l(_/=S),k=Ln(Ln(_)-1)e||Ln((v*P+y*T)/x-.5)>.3||s*d+a*h+l*p2?R[2]%360*vn:0,P()):[a*Ui,l*Ui,u*Ui]},M.angle=function(R){return arguments.length?(f=R%360*vn,P()):f*Ui},M.reflectX=function(R){return arguments.length?(d=R?-1:1,P()):d<0},M.reflectY=function(R){return arguments.length?(h=R?-1:1,P()):h<0},M.precision=function(R){return arguments.length?(_=bme(S,w=R*R),T()):Aa(w)},M.fitExtent=function(R,I){return UB(M,R,I)},M.fitSize=function(R,I){return Iie(M,R,I)},M.fitWidth=function(R,I){return Lie(M,R,I)},M.fitHeight=function(R,I){return $ie(M,R,I)};function P(){var R=wme(n,0,0,d,h,f).apply(null,e(o,s)),I=wme(n,r-R[0],i-R[1],d,h,f);return c=kNe(a,l,u),S=RX(e,I),O=RX(c,S),_=bme(S,w),T()}function T(){return k=E=null,M}return function(){return e=t.apply(this,arguments),M.invert=e.invert&&A,P()}}function Fie(t){var e=0,n=xn/3,r=GNe(t),i=r(e,n);return i.parallels=function(o){return arguments.length?r(e=o[0]*vn,n=o[1]*vn):[e*Ui,n*Ui]},i}function MDt(t){var e=Vt(t);function n(r,i){return[r*e,jt(i)/e]}return n.invert=function(r,i){return[r/e,_l(i*e)]},n}function RDt(t,e){var n=jt(t),r=(n+jt(e))/2;if(Ln(r)=.12&&m<.234&&g>=-.425&&g<-.214?i:m>=.166&&m<.234&&g>=-.214&&g<-.115?s:n).invert(d)},c.stream=function(d){return t&&e===d?t:t=DDt([n.stream(e=d),i.stream(d),s.stream(d)])},c.precision=function(d){return arguments.length?(n.precision(d),i.precision(d),s.precision(d),f()):n.precision()},c.scale=function(d){return arguments.length?(n.scale(d),i.scale(d*.35),s.scale(d),c.translate(n.translate())):n.scale()},c.translate=function(d){if(!arguments.length)return n.translate();var h=n.scale(),p=+d[0],g=+d[1];return r=n.translate(d).clipExtent([[p-.455*h,g-.238*h],[p+.455*h,g+.238*h]]).stream(u),o=i.translate([p-.307*h,g+.201*h]).clipExtent([[p-.425*h+Ut,g+.12*h+Ut],[p-.214*h-Ut,g+.234*h-Ut]]).stream(u),a=s.translate([p-.205*h,g+.212*h]).clipExtent([[p-.214*h+Ut,g+.166*h+Ut],[p-.115*h-Ut,g+.234*h-Ut]]).stream(u),f()},c.fitExtent=function(d,h){return UB(c,d,h)},c.fitSize=function(d,h){return Iie(c,d,h)},c.fitWidth=function(d,h){return Lie(c,d,h)},c.fitHeight=function(d,h){return $ie(c,d,h)};function f(){return t=e=null,c}return c.scale(1070)}function qNe(t){return function(e,n){var r=Vt(e),i=Vt(n),o=t(r*i);return o===1/0?[2,0]:[o*i*jt(e),o*jt(n)]}}function OR(t){return function(e,n){var r=Aa(e*e+n*n),i=t(r),o=jt(i),s=Vt(i);return[Pc(e*o,r*s),_l(r&&n*o/r)]}}var XNe=qNe(function(t){return Aa(2/(1+t))});XNe.invert=OR(function(t){return 2*_l(t/2)});function LDt(){return Uh(XNe).scale(124.75).clipAngle(180-.001)}var YNe=qNe(function(t){return(t=vNe(t))&&t/jt(t)});YNe.invert=OR(function(t){return t});function $Dt(){return Uh(YNe).scale(79.4188).clipAngle(180-.001)}function WB(t,e){return[t,YN(Mie(($i+e)/2))]}WB.invert=function(t,e){return[t,2*TO(mNe(e))-$i]};function FDt(){return QNe(WB).scale(961/ka)}function QNe(t){var e=Uh(t),n=e.center,r=e.scale,i=e.translate,o=e.clipExtent,s=null,a,l,u;e.scale=function(f){return arguments.length?(r(f),c()):r()},e.translate=function(f){return arguments.length?(i(f),c()):i()},e.center=function(f){return arguments.length?(n(f),c()):n()},e.clipExtent=function(f){return arguments.length?(f==null?s=a=l=u=null:(s=+f[0][0],a=+f[0][1],l=+f[1][0],u=+f[1][1]),c()):s==null?null:[[s,a],[l,u]]};function c(){var f=xn*r(),d=e(rDt(e.rotate()).invert([0,0]));return o(s==null?[[d[0]-f,d[1]-f],[d[0]+f,d[1]+f]]:t===WB?[[Math.max(d[0]-f,s),a],[Math.min(d[0]+f,l),u]]:[[s,Math.max(d[1]-f,a)],[l,Math.min(d[1]+f,u)]])}return c()}function WI(t){return Mie(($i+t)/2)}function NDt(t,e){var n=Vt(t),r=t===e?jt(t):YN(n/Vt(e))/YN(WI(e)/WI(t)),i=n*sV(WI(t),r)/r;if(!r)return WB;function o(s,a){i>0?a<-$i+Ut&&(a=-$i+Ut):a>$i-Ut&&(a=$i-Ut);var l=i/sV(WI(a),r);return[l*jt(r*s),i-l*Vt(r*s)]}return o.invert=function(s,a){var l=i-a,u=oc(r)*Aa(s*s+l*l),c=Pc(s,Ln(l))*oc(l);return l*r<0&&(c-=xn*oc(s)*oc(l)),[c/r,2*TO(sV(i/u,1/r))-$i]},o}function zDt(){return Fie(NDt).scale(109.5).parallels([30,30])}function g5(t,e){return[t,e]}g5.invert=g5;function jDt(){return Uh(g5).scale(152.63)}function BDt(t,e){var n=Vt(t),r=t===e?jt(t):(n-Vt(e))/(e-t),i=n/r+t;if(Ln(r)Ut&&--r>0);return[t/(.8707+(o=n*n)*(-.131979+o*(-.013791+o*o*o*(.003971-.001529*o)))),n]};function qDt(){return Uh(JNe).scale(175.295)}function e5e(t,e){return[Vt(e)*jt(t),jt(e)]}e5e.invert=OR(_l);function XDt(){return Uh(e5e).scale(249.5).clipAngle(90+Ut)}function t5e(t,e){var n=Vt(e),r=1+Vt(t)*n;return[n*jt(t)/r,jt(e)/r]}t5e.invert=OR(function(t){return 2*TO(t)});function YDt(){return Uh(t5e).scale(250).clipAngle(142)}function n5e(t,e){return[YN(Mie(($i+e)/2)),-t]}n5e.invert=function(t,e){return[-e,2*TO(mNe(t))-$i]};function QDt(){var t=QNe(n5e),e=t.center,n=t.rotate;return t.center=function(r){return arguments.length?e([-r[1],r[0]]):(r=e(),[r[1],-r[0]])},t.rotate=function(r){return arguments.length?n([r[0],r[1],r.length>2?r[2]+90:90]):(r=n(),[r[0],r[1],r[2]-90])},n([0,0,90]).scale(159.155)}var KDt=Math.abs,WX=Math.cos,v5=Math.sin,ZDt=1e-6,r5e=Math.PI,VX=r5e/2,_me=JDt(2);function Sme(t){return t>1?VX:t<-1?-VX:Math.asin(t)}function JDt(t){return t>0?Math.sqrt(t):0}function eIt(t,e){var n=t*v5(e),r=30,i;do e-=i=(e+v5(e)-n)/(1+WX(e));while(KDt(i)>ZDt&&--r>0);return e/2}function tIt(t,e,n){function r(i,o){return[t*i*WX(o=eIt(n,o)),e*v5(o)]}return r.invert=function(i,o){return o=Sme(o/e),[i/(t*WX(o)),Sme((2*o+v5(2*o))/n)]},r}var nIt=tIt(_me/VX,_me,r5e);function rIt(){return Uh(nIt).scale(169.529)}const iIt=VNe(),GX=["clipAngle","clipExtent","scale","translate","center","rotate","parallels","precision","reflectX","reflectY","coefficient","distance","fraction","lobes","parallel","radius","ratio","spacing","tilt"];function oIt(t,e){return function n(){const r=e();return r.type=t,r.path=VNe().projection(r),r.copy=r.copy||function(){const i=n();return GX.forEach(o=>{r[o]&&i[o](r[o]())}),i.path.pointRadius(r.path.pointRadius()),i},y3e(r)}}function Nie(t,e){if(!t||typeof t!="string")throw new Error("Projection type must be a name string.");return t=t.toLowerCase(),arguments.length>1?(y5[t]=oIt(t,e),this):y5[t]||null}function i5e(t){return t&&t.path||iIt}const y5={albers:HNe,albersusa:IDt,azimuthalequalarea:LDt,azimuthalequidistant:$Dt,conicconformal:zDt,conicequalarea:p5,conicequidistant:UDt,equalEarth:VDt,equirectangular:jDt,gnomonic:GDt,identity:HDt,mercator:FDt,mollweide:rIt,naturalEarth1:qDt,orthographic:XDt,stereographic:YDt,transversemercator:QDt};for(const t in y5)Nie(t,y5[t]);function sIt(){}const lp=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function o5e(){var t=1,e=1,n=a;function r(l,u){return u.map(c=>i(l,c))}function i(l,u){var c=[],f=[];return o(l,u,d=>{n(d,l,u),aIt(d)>0?c.push([d]):f.push(d)}),f.forEach(d=>{for(var h=0,p=c.length,g;h=u,lp[m<<1].forEach(x);++h=u,lp[g|m<<1].forEach(x);for(lp[m<<0].forEach(x);++p=u,v=l[p*t]>=u,lp[m<<1|v<<2].forEach(x);++h=u,y=v,v=l[p*t+h+1]>=u,lp[g|m<<1|v<<2|y<<3].forEach(x);lp[m|v<<3].forEach(x)}for(h=-1,v=l[p*t]>=u,lp[v<<2].forEach(x);++h=u,lp[v<<2|y<<3].forEach(x);lp[v<<3].forEach(x);function x(b){var w=[b[0][0]+h,b[0][1]+p],_=[b[1][0]+h,b[1][1]+p],S=s(w),O=s(_),k,E;(k=d[S])?(E=f[O])?(delete d[k.end],delete f[E.start],k===E?(k.ring.push(_),c(k.ring)):f[k.start]=d[E.end]={start:k.start,end:E.end,ring:k.ring.concat(E.ring)}):(delete d[k.end],k.ring.push(_),d[k.end=O]=k):(k=f[O])?(E=d[S])?(delete f[k.start],delete d[E.end],k===E?(k.ring.push(_),c(k.ring)):f[E.start]=d[k.end]={start:E.start,end:k.end,ring:E.ring.concat(k.ring)}):(delete f[k.start],k.ring.unshift(w),f[k.start=S]=k):f[S]=d[O]={start:S,end:O,ring:[w,_]}}}function s(l){return l[0]*2+l[1]*(t+1)*4}function a(l,u,c){l.forEach(f=>{var d=f[0],h=f[1],p=d|0,g=h|0,m,v=u[g*t+p];d>0&&d0&&h=0&&c>=0||je("invalid size"),t=u,e=c,r},r.smooth=function(l){return arguments.length?(n=l?a:sIt,r):n===a},r}function aIt(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++er!=h>r&&n<(d-u)*(r-c)/(h-c)+u&&(i=-i)}return i}function cIt(t,e,n){var r;return fIt(t,e,n)&&dIt(t[r=+(t[0]===e[0])],n[r],e[r])}function fIt(t,e,n){return(e[0]-t[0])*(n[1]-t[1])===(n[0]-t[0])*(e[1]-t[1])}function dIt(t,e,n){return t<=e&&e<=n||n<=e&&e<=t}function s5e(t,e,n){return function(r){var i=Ch(r),o=n?Math.min(i[0],0):i[0],s=i[1],a=s-o,l=e?ny(o,s,t):a/(t+1);return ol(o+l,s,l)}}function zie(t){Re.call(this,null,t)}zie.Definition={type:"Isocontour",metadata:{generates:!0},params:[{name:"field",type:"field"},{name:"thresholds",type:"number",array:!0},{name:"levels",type:"number"},{name:"nice",type:"boolean",default:!1},{name:"resolve",type:"enum",values:["shared","independent"],default:"independent"},{name:"zero",type:"boolean",default:!0},{name:"smooth",type:"boolean",default:!0},{name:"scale",type:"number",expr:!0},{name:"translate",type:"number",array:!0,expr:!0},{name:"as",type:"string",null:!0,default:"contour"}]};it(zie,Re,{transform(t,e){if(this.value&&!e.changed()&&!t.modified())return e.StopPropagation;var n=e.fork(e.NO_SOURCE|e.NO_FIELDS),r=e.materialize(e.SOURCE).source,i=t.field||ea,o=o5e().smooth(t.smooth!==!1),s=t.thresholds||hIt(r,i,t),a=t.as===null?null:t.as||"contour",l=[];return r.forEach(u=>{const c=i(u),f=o.size([c.width,c.height])(c.values,We(s)?s:s(c.values));pIt(f,c,u,t),f.forEach(d=>{l.push(nB(u,ur(a!=null?{[a]:d}:d)))})}),this.value&&(n.rem=this.value),this.value=n.source=n.add=l,n}});function hIt(t,e,n){const r=s5e(n.levels||10,n.nice,n.zero!==!1);return n.resolve!=="shared"?r:r(t.map(i=>Ix(e(i).values)))}function pIt(t,e,n,r){let i=r.scale||e.scale,o=r.translate||e.translate;if(fn(i)&&(i=i(n,r)),fn(o)&&(o=o(n,r)),(i===1||i==null)&&!o)return;const s=(Jn(i)?i:i[0])||1,a=(Jn(i)?i:i[1])||1,l=o&&o[0]||0,u=o&&o[1]||0;t.forEach(a5e(e,s,a,l,u))}function a5e(t,e,n,r,i){const o=t.x1||0,s=t.y1||0,a=e*n<0;function l(f){f.forEach(u)}function u(f){a&&f.reverse(),f.forEach(c)}function c(f){f[0]=(f[0]-o)*e+r,f[1]=(f[1]-s)*n+i}return function(f){return f.coordinates.forEach(l),f}}function Cme(t,e,n){const r=t>=0?t:wne(e,n);return Math.round((Math.sqrt(4*r*r+1)-1)/2)}function fV(t){return fn(t)?t:ta(+t)}function l5e(){var t=l=>l[0],e=l=>l[1],n=pO,r=[-1,-1],i=960,o=500,s=2;function a(l,u){const c=Cme(r[0],l,t)>>s,f=Cme(r[1],l,e)>>s,d=c?c+2:0,h=f?f+2:0,p=2*d+(i>>s),g=2*h+(o>>s),m=new Float32Array(p*g),v=new Float32Array(p*g);let y=m;l.forEach(b=>{const w=d+(+t(b)>>s),_=h+(+e(b)>>s);w>=0&&w=0&&_0&&f>0?(Xb(p,g,m,v,c),Yb(p,g,v,m,f),Xb(p,g,m,v,c),Yb(p,g,v,m,f),Xb(p,g,m,v,c),Yb(p,g,v,m,f)):c>0?(Xb(p,g,m,v,c),Xb(p,g,v,m,c),Xb(p,g,m,v,c),y=v):f>0&&(Yb(p,g,m,v,f),Yb(p,g,v,m,f),Yb(p,g,m,v,f),y=v);const x=u?Math.pow(2,-2*s):1/yIe(y);for(let b=0,w=p*g;b>s),y2:h+(o>>s)}}return a.x=function(l){return arguments.length?(t=fV(l),a):t},a.y=function(l){return arguments.length?(e=fV(l),a):e},a.weight=function(l){return arguments.length?(n=fV(l),a):n},a.size=function(l){if(!arguments.length)return[i,o];var u=+l[0],c=+l[1];return u>=0&&c>=0||je("invalid size"),i=u,o=c,a},a.cellSize=function(l){return arguments.length?((l=+l)>=1||je("invalid cell size"),s=Math.floor(Math.log(l)/Math.LN2),a):1<=i&&(a>=o&&(l-=n[a-o+s*t]),r[a-i+s*t]=l/Math.min(a+1,t-1+o-a,o))}function Yb(t,e,n,r,i){const o=(i<<1)+1;for(let s=0;s=i&&(a>=o&&(l-=n[s+(a-o)*t]),r[s+(a-i)*t]=l/Math.min(a+1,e-1+o-a,o))}function jie(t){Re.call(this,null,t)}jie.Definition={type:"KDE2D",metadata:{generates:!0},params:[{name:"size",type:"number",array:!0,length:2,required:!0},{name:"x",type:"field",required:!0},{name:"y",type:"field",required:!0},{name:"weight",type:"field"},{name:"groupby",type:"field",array:!0},{name:"cellSize",type:"number"},{name:"bandwidth",type:"number",array:!0,length:2},{name:"counts",type:"boolean",default:!1},{name:"as",type:"string",default:"grid"}]};const gIt=["x","y","weight","size","cellSize","bandwidth"];function u5e(t,e){return gIt.forEach(n=>e[n]!=null?t[n](e[n]):0),t}it(jie,Re,{transform(t,e){if(this.value&&!e.changed()&&!t.modified())return e.StopPropagation;var n=e.fork(e.NO_SOURCE|e.NO_FIELDS),r=e.materialize(e.SOURCE).source,i=mIt(r,t.groupby),o=(t.groupby||[]).map(Ni),s=u5e(l5e(),t),a=t.as||"grid",l=[];function u(c,f){for(let d=0;dur(u({[a]:s(c,t.counts)},c.dims))),this.value&&(n.rem=this.value),this.value=n.source=n.add=l,n}});function mIt(t,e){var n=[],r=c=>c(a),i,o,s,a,l,u;if(e==null)n.push(t);else for(i={},o=0,s=t.length;on.push(a(c))),o&&s&&(e.visit(l,c=>{var f=o(c),d=s(c);f!=null&&d!=null&&(f=+f)===f&&(d=+d)===d&&r.push([f,d])}),n=n.concat({type:HX,geometry:{type:vIt,coordinates:r}})),this.value={type:Uie,features:n}}});function Vie(t){Re.call(this,null,t)}Vie.Definition={type:"GeoPath",metadata:{modifies:!0},params:[{name:"projection",type:"projection"},{name:"field",type:"field"},{name:"pointRadius",type:"number",expr:!0},{name:"as",type:"string",default:"path"}]};it(Vie,Re,{transform(t,e){var n=e.fork(e.ALL),r=this.value,i=t.field||ea,o=t.as||"path",s=n.SOURCE;!r||t.modified()?(this.value=r=i5e(t.projection),n.materialize().reflow()):s=i===ea||e.modified(i.fields)?n.ADD_MOD:n.ADD;const a=yIt(r,t.pointRadius);return n.visit(s,l=>l[o]=r(i(l))),r.pointRadius(a),n.modifies(o)}});function yIt(t,e){const n=t.pointRadius();return t.context(null),e!=null&&t.pointRadius(e),n}function Gie(t){Re.call(this,null,t)}Gie.Definition={type:"GeoPoint",metadata:{modifies:!0},params:[{name:"projection",type:"projection",required:!0},{name:"fields",type:"field",array:!0,required:!0,length:2},{name:"as",type:"string",array:!0,length:2,default:["x","y"]}]};it(Gie,Re,{transform(t,e){var n=t.projection,r=t.fields[0],i=t.fields[1],o=t.as||["x","y"],s=o[0],a=o[1],l;function u(c){const f=n([r(c),i(c)]);f?(c[s]=f[0],c[a]=f[1]):(c[s]=void 0,c[a]=void 0)}return t.modified()?e=e.materialize().reflow(!0).visit(e.SOURCE,u):(l=e.modified(r.fields)||e.modified(i.fields),e.visit(l?e.ADD_MOD:e.ADD,u)),e.modifies(o)}});function Hie(t){Re.call(this,null,t)}Hie.Definition={type:"GeoShape",metadata:{modifies:!0,nomod:!0},params:[{name:"projection",type:"projection"},{name:"field",type:"field",default:"datum"},{name:"pointRadius",type:"number",expr:!0},{name:"as",type:"string",default:"shape"}]};it(Hie,Re,{transform(t,e){var n=e.fork(e.ALL),r=this.value,i=t.as||"shape",o=n.ADD;return(!r||t.modified())&&(this.value=r=xIt(i5e(t.projection),t.field||Ec("datum"),t.pointRadius),n.materialize().reflow(),o=n.SOURCE),n.visit(o,s=>s[i]=r),n.modifies(i)}});function xIt(t,e,n){const r=n==null?i=>t(e(i)):i=>{var o=t.pointRadius(),s=t.pointRadius(n)(e(i));return t.pointRadius(o),s};return r.context=i=>(t.context(i),r),r}function qie(t){Re.call(this,[],t),this.generator=hDt()}qie.Definition={type:"Graticule",metadata:{changes:!0,generates:!0},params:[{name:"extent",type:"array",array:!0,length:2,content:{type:"number",array:!0,length:2}},{name:"extentMajor",type:"array",array:!0,length:2,content:{type:"number",array:!0,length:2}},{name:"extentMinor",type:"array",array:!0,length:2,content:{type:"number",array:!0,length:2}},{name:"step",type:"number",array:!0,length:2},{name:"stepMajor",type:"number",array:!0,length:2,default:[90,360]},{name:"stepMinor",type:"number",array:!0,length:2,default:[10,10]},{name:"precision",type:"number",default:2.5}]};it(qie,Re,{transform(t,e){var n=this.value,r=this.generator,i;if(!n.length||t.modified())for(const o in t)fn(r[o])&&r[o](t[o]);return i=r(),n.length?e.mod.push(hLe(n[0],i)):e.add.push(ur(i)),n[0]=i,e}});function Xie(t){Re.call(this,null,t)}Xie.Definition={type:"heatmap",metadata:{modifies:!0},params:[{name:"field",type:"field"},{name:"color",type:"string",expr:!0},{name:"opacity",type:"number",expr:!0},{name:"resolve",type:"enum",values:["shared","independent"],default:"independent"},{name:"as",type:"string",default:"image"}]};it(Xie,Re,{transform(t,e){if(!e.changed()&&!t.modified())return e.StopPropagation;var n=e.materialize(e.SOURCE).source,r=t.resolve==="shared",i=t.field||ea,o=wIt(t.opacity,t),s=bIt(t.color,t),a=t.as||"image",l={$x:0,$y:0,$value:0,$max:r?Ix(n.map(u=>Ix(i(u).values))):0};return n.forEach(u=>{const c=i(u),f=un({},u,l);r||(f.$max=Ix(c.values||[])),u[a]=_It(c,f,s.dep?s:ta(s(f)),o.dep?o:ta(o(f)))}),e.reflow(!0).modifies(a)}});function bIt(t,e){let n;return fn(t)?(n=r=>sy(t(r,e)),n.dep=c5e(t)):n=ta(sy(t||"#888")),n}function wIt(t,e){let n;return fn(t)?(n=r=>t(r,e),n.dep=c5e(t)):t?n=ta(t):(n=r=>r.$value/r.$max||0,n.dep=!0),n}function c5e(t){if(!fn(t))return!1;const e=Wf(Ys(t));return e.$x||e.$y||e.$value||e.$max}function _It(t,e,n,r){const i=t.width,o=t.height,s=t.x1||0,a=t.y1||0,l=t.x2||i,u=t.y2||o,c=t.values,f=c?m=>c[m]:nv,d=jv(l-s,u-a),h=d.getContext("2d"),p=h.getImageData(0,0,l-s,u-a),g=p.data;for(let m=a,v=0;m{t[r]!=null&&Ome(n,r,t[r])})):GX.forEach(r=>{t.modified(r)&&Ome(n,r,t[r])}),t.pointRadius!=null&&n.path.pointRadius(t.pointRadius),t.fit&&SIt(n,t),e.fork(e.NO_SOURCE|e.NO_FIELDS)}});function SIt(t,e){const n=OIt(e.fit);e.extent?t.fitExtent(e.extent,n):e.size&&t.fitSize(e.size,n)}function CIt(t){const e=Nie((t||"mercator").toLowerCase());return e||je("Unrecognized projection type: "+t),e()}function Ome(t,e,n){fn(t[e])&&t[e](n)}function OIt(t){return t=pt(t),t.length===1?t[0]:{type:Uie,features:t.reduce((e,n)=>e.concat(EIt(n)),[])}}function EIt(t){return t.type===Uie?t.features:pt(t).filter(e=>e!=null).map(e=>e.type===HX?e:{type:HX,geometry:e})}const TIt=Object.freeze(Object.defineProperty({__proto__:null,contour:Bie,geojson:Wie,geopath:Vie,geopoint:Gie,geoshape:Hie,graticule:qie,heatmap:Xie,isocontour:zie,kde2d:jie,projection:f5e},Symbol.toStringTag,{value:"Module"}));function kIt(t,e){var n,r=1;t==null&&(t=0),e==null&&(e=0);function i(){var o,s=n.length,a,l=0,u=0;for(o=0;o=(f=(a+u)/2))?a=f:u=f,(m=n>=(d=(l+c)/2))?l=d:c=d,i=o,!(o=o[v=m<<1|g]))return i[v]=s,t;if(h=+t._x.call(null,o.data),p=+t._y.call(null,o.data),e===h&&n===p)return s.next=o,i?i[v]=s:t._root=s,t;do i=i?i[v]=new Array(4):t._root=new Array(4),(g=e>=(f=(a+u)/2))?a=f:u=f,(m=n>=(d=(l+c)/2))?l=d:c=d;while((v=m<<1|g)===(y=(p>=d)<<1|h>=f));return i[y]=o,i[v]=s,t}function PIt(t){var e,n,r=t.length,i,o,s=new Array(r),a=new Array(r),l=1/0,u=1/0,c=-1/0,f=-1/0;for(n=0;nc&&(c=i),of&&(f=o));if(l>c||u>f)return this;for(this.cover(l,u).cover(c,f),n=0;nt||t>=i||r>e||e>=o;)switch(u=(ec||(a=p.y0)>f||(l=p.x1)=v)<<1|t>=m)&&(p=d[d.length-1],d[d.length-1]=d[d.length-1-g],d[d.length-1-g]=p)}else{var y=t-+this._x.call(null,h.data),x=e-+this._y.call(null,h.data),b=y*y+x*x;if(b=(d=(s+l)/2))?s=d:l=d,(g=f>=(h=(a+u)/2))?a=h:u=h,e=n,!(n=n[m=g<<1|p]))return this;if(!n.length)break;(e[m+1&3]||e[m+2&3]||e[m+3&3])&&(r=e,v=m)}for(;n.data!==t;)if(i=n,!(n=n.next))return this;return(o=n.next)&&delete n.next,i?(o?i.next=o:delete i.next,this):e?(o?e[m]=o:delete e[m],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[v]=n:this._root=n),this):(this._root=o,this)}function $It(t){for(var e=0,n=t.length;ed.index){var M=h-O.x-O.vx,A=p-O.y-O.vy,P=M*M+A*A;Ph+E||_p+E||Su.r&&(u.r=u[c].r)}function l(){if(e){var u,c=e.length,f;for(n=new Array(c),u=0;u[e(w,_,s),w])),b;for(m=0,a=new Array(v);m{}};function h5e(){for(var t=0,e=arguments.length,n={},r;t=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}S3.prototype=h5e.prototype={constructor:S3,on:function(t,e){var n=this._,r=KIt(t+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&t._call.call(void 0,e),t=t._next;--VS}function Ame(){p1=(b5=FA.now())+VB,VS=pT=0;try{eLt()}finally{VS=0,nLt(),p1=0}}function tLt(){var t=FA.now(),e=t-b5;e>p5e&&(VB-=e,b5=t)}function nLt(){for(var t,e=x5,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:x5=n);gT=t,qX(r)}function qX(t){if(!VS){pT&&(pT=clearTimeout(pT));var e=t-p1;e>24?(t<1/0&&(pT=setTimeout(Ame,t-FA.now()-VB)),JE&&(JE=clearInterval(JE))):(JE||(b5=FA.now(),JE=setInterval(tLt,p5e)),VS=1,g5e(Ame))}}function rLt(t,e,n){var r=new w5,i=e;return e==null?(r.restart(t,e,n),r):(r._restart=r.restart,r.restart=function(o,s,a){s=+s,a=a==null?Kie():+a,r._restart(function l(u){u+=i,r._restart(l,i+=s,a),o(u)},s,a)},r.restart(t,e,n),r)}const iLt=1664525,oLt=1013904223,Pme=4294967296;function sLt(){let t=1;return()=>(t=(iLt*t+oLt)%Pme)/Pme}function aLt(t){return t.x}function lLt(t){return t.y}var uLt=10,cLt=Math.PI*(3-Math.sqrt(5));function fLt(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,s=.6,a=new Map,l=m5e(f),u=h5e("tick","end"),c=sLt();t==null&&(t=[]);function f(){d(),u.call("tick",e),n1?(m==null?a.delete(g):a.set(g,p(m)),e):a.get(g)},find:function(g,m,v){var y=0,x=t.length,b,w,_,S,O;for(v==null?v=1/0:v*=v,y=0;y1?(u.on(g,m),e):u.on(g)}}}function dLt(){var t,e,n,r,i=wa(-30),o,s=1,a=1/0,l=.81;function u(h){var p,g=t.length,m=Yie(t,aLt,lLt).visitAfter(f);for(r=h,p=0;p=a)return;(h.data!==e||h.next)&&(v===0&&(v=vv(n),b+=v*v),y===0&&(y=vv(n),b+=y*y),b=0;)n.tick();else if(n.stopped()&&n.restart(),!r)return e.StopPropagation}return this.finish(t,e)},finish(t,e){const n=e.dataflow;for(let a=this._argops,l=0,u=a.length,c;lt.touch(e).run()}function vLt(t,e){const n=fLt(t),r=n.stop,i=n.restart;let o=!1;return n.stopped=()=>o,n.restart=()=>(o=!1,i()),n.stop=()=>(o=!0,r()),y5e(n,e,!0).on("end",()=>o=!0)}function y5e(t,e,n,r){var i=pt(e.forces),o,s,a,l;for(o=0,s=XX.length;oe(r,n):e)}const wLt=Object.freeze(Object.defineProperty({__proto__:null,force:Zie},Symbol.toStringTag,{value:"Module"}));function _Lt(t,e){return t.parent===e.parent?1:2}function SLt(t){return t.reduce(CLt,0)/t.length}function CLt(t,e){return t+e.x}function OLt(t){return 1+t.reduce(ELt,0)}function ELt(t,e){return Math.max(t,e.y)}function TLt(t){for(var e;e=t.children;)t=e[0];return t}function kLt(t){for(var e;e=t.children;)t=e[e.length-1];return t}function ALt(){var t=_Lt,e=1,n=1,r=!1;function i(o){var s,a=0;o.eachAfter(function(d){var h=d.children;h?(d.x=SLt(h),d.y=OLt(h)):(d.x=s?a+=t(d,s):0,d.y=0,s=d)});var l=TLt(o),u=kLt(o),c=l.x-t(l,u)/2,f=u.x+t(u,l)/2;return o.eachAfter(r?function(d){d.x=(d.x-o.x)*e,d.y=(o.y-d.y)*n}:function(d){d.x=(d.x-c)/(f-c)*e,d.y=(1-(o.y?d.y/o.y:1))*n})}return i.separation=function(o){return arguments.length?(t=o,i):t},i.size=function(o){return arguments.length?(r=!1,e=+o[0],n=+o[1],i):r?null:[e,n]},i.nodeSize=function(o){return arguments.length?(r=!0,e=+o[0],n=+o[1],i):r?[e,n]:null},i}function PLt(t){var e=0,n=t.children,r=n&&n.length;if(!r)e=1;else for(;--r>=0;)e+=n[r].value;t.value=e}function MLt(){return this.eachAfter(PLt)}function RLt(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this}function DLt(t,e){for(var n=this,r=[n],i,o,s=-1;n=r.pop();)if(t.call(e,n,++s,this),i=n.children)for(o=i.length-1;o>=0;--o)r.push(i[o]);return this}function ILt(t,e){for(var n=this,r=[n],i=[],o,s,a,l=-1;n=r.pop();)if(i.push(n),o=n.children)for(s=0,a=o.length;s=0;)n+=r[i].value;e.value=n})}function FLt(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function NLt(t){for(var e=this,n=zLt(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r}function zLt(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}function jLt(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function BLt(){return Array.from(this)}function ULt(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function WLt(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}function*VLt(){var t=this,e,n=[t],r,i,o;do for(e=n.reverse(),n=[];t=e.pop();)if(yield t,r=t.children)for(i=0,o=r.length;i=0;--a)i.push(o=s[a]=new GS(s[a])),o.parent=r,o.depth=r.depth+1;return n.eachBefore(x5e)}function GLt(){return Jie(this).eachBefore(XLt)}function HLt(t){return t.children}function qLt(t){return Array.isArray(t)?t[1]:null}function XLt(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function x5e(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function GS(t){this.data=t,this.depth=this.height=0,this.parent=null}GS.prototype=Jie.prototype={constructor:GS,count:MLt,each:RLt,eachAfter:ILt,eachBefore:DLt,find:LLt,sum:$Lt,sort:FLt,path:NLt,ancestors:jLt,descendants:BLt,leaves:ULt,links:WLt,copy:GLt,[Symbol.iterator]:VLt};function C3(t){return t==null?null:b5e(t)}function b5e(t){if(typeof t!="function")throw new Error;return t}function K0(){return 0}function Lw(t){return function(){return t}}const YLt=1664525,QLt=1013904223,Rme=4294967296;function KLt(){let t=1;return()=>(t=(YLt*t+QLt)%Rme)/Rme}function ZLt(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function JLt(t,e){let n=t.length,r,i;for(;n;)i=e()*n--|0,r=t[n],t[n]=t[i],t[i]=r;return t}function e$t(t,e){for(var n=0,r=(t=JLt(Array.from(t),e)).length,i=[],o,s;n0&&n*n>r*r+i*i}function dV(t,e){for(var n=0;n1e-6?(M+Math.sqrt(M*M-4*E*A))/(2*E):A/M);return{x:r+_+S*P,y:i+O+k*P,r:P}}function Dme(t,e,n){var r=t.x-e.x,i,o,s=t.y-e.y,a,l,u=r*r+s*s;u?(o=e.r+n.r,o*=o,l=t.r+n.r,l*=l,o>l?(i=(u+l-o)/(2*u),a=Math.sqrt(Math.max(0,l/u-i*i)),n.x=t.x-i*r-a*s,n.y=t.y-i*s+a*r):(i=(u+o-l)/(2*u),a=Math.sqrt(Math.max(0,o/u-i*i)),n.x=e.x+i*r-a*s,n.y=e.y+i*s+a*r)):(n.x=e.x+n.r,n.y=e.y)}function Ime(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function Lme(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function GI(t){this._=t,this.next=null,this.previous=null}function i$t(t,e){if(!(o=(t=ZLt(t)).length))return 0;var n,r,i,o,s,a,l,u,c,f,d;if(n=t[0],n.x=0,n.y=0,!(o>1))return n.r;if(r=t[1],n.x=-r.r,r.x=n.r,r.y=0,!(o>2))return n.r+r.r;Dme(r,n,i=t[2]),n=new GI(n),r=new GI(r),i=new GI(i),n.next=i.previous=r,r.next=n.previous=i,i.next=r.previous=n;e:for(l=3;lf$t(n(b,w,i))),y=v.map(jme),x=new Set(v).add("");for(const b of y)x.has(b)||(x.add(b),v.push(b),y.push(jme(b)),o.push(pV));s=(b,w)=>v[w],a=(b,w)=>y[w]}for(c=0,l=o.length;c=0&&(h=o[v],h.data===pV);--v)h.data=null}if(f.parent=l$t,f.eachBefore(function(v){v.depth=v.parent.depth+1,--l}).eachBefore(x5e),f.parent=null,l>0)throw new Error("cycle");return f}return r.id=function(i){return arguments.length?(t=C3(i),r):t},r.parentId=function(i){return arguments.length?(e=C3(i),r):e},r.path=function(i){return arguments.length?(n=C3(i),r):n},r}function f$t(t){t=`${t}`;let e=t.length;return YX(t,e-1)&&!YX(t,e-2)&&(t=t.slice(0,-1)),t[0]==="/"?t:`/${t}`}function jme(t){let e=t.length;if(e<2)return"";for(;--e>1&&!YX(t,e););return t.slice(0,e)}function YX(t,e){if(t[e]==="/"){let n=0;for(;e>0&&t[--e]==="\\";)++n;if(!(n&1))return!0}return!1}function d$t(t,e){return t.parent===e.parent?1:2}function gV(t){var e=t.children;return e?e[0]:t.t}function mV(t){var e=t.children;return e?e[e.length-1]:t.t}function h$t(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function p$t(t){for(var e=0,n=0,r=t.children,i=r.length,o;--i>=0;)o=r[i],o.z+=e,o.m+=e,e+=o.s+(n+=o.c)}function g$t(t,e,n){return t.a.parent===e.parent?t.a:n}function O3(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}O3.prototype=Object.create(GS.prototype);function m$t(t){for(var e=new O3(t,0),n,r=[e],i,o,s,a;n=r.pop();)if(o=n._.children)for(n.children=new Array(a=o.length),s=a-1;s>=0;--s)r.push(i=n.children[s]=new O3(o[s],s)),i.parent=n;return(e.parent=new O3(null,0)).children=[e],e}function v$t(){var t=d$t,e=1,n=1,r=null;function i(u){var c=m$t(u);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(s),r)u.eachBefore(l);else{var f=u,d=u,h=u;u.eachBefore(function(y){y.xd.x&&(d=y),y.depth>h.depth&&(h=y)});var p=f===d?1:t(f,d)/2,g=p-f.x,m=e/(d.x+p+g),v=n/(h.depth||1);u.eachBefore(function(y){y.x=(y.x+g)*m,y.y=y.depth*v})}return u}function o(u){var c=u.children,f=u.parent.children,d=u.i?f[u.i-1]:null;if(c){p$t(u);var h=(c[0].z+c[c.length-1].z)/2;d?(u.z=d.z+t(u._,d._),u.m=u.z-h):u.z=h}else d&&(u.z=d.z+t(u._,d._));u.parent.A=a(u,d,u.parent.A||f[0])}function s(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function a(u,c,f){if(c){for(var d=u,h=u,p=c,g=d.parent.children[0],m=d.m,v=h.m,y=p.m,x=g.m,b;p=mV(p),d=gV(d),p&&d;)g=gV(g),h=mV(h),h.a=u,b=p.z+y-d.z-m+t(p._,d._),b>0&&(h$t(g$t(p,u,f),u,b),m+=b,v+=b),y+=p.m,m+=d.m,x+=g.m,v+=h.m;p&&!mV(h)&&(h.t=p,h.m+=y-v),d&&!gV(g)&&(g.t=d,g.m+=m-x,f=u)}return f}function l(u){u.x*=e,u.y=u.depth*n}return i.separation=function(u){return arguments.length?(t=u,i):t},i.size=function(u){return arguments.length?(r=!1,e=+u[0],n=+u[1],i):r?null:[e,n]},i.nodeSize=function(u){return arguments.length?(r=!0,e=+u[0],n=+u[1],i):r?[e,n]:null},i}function GB(t,e,n,r,i){for(var o=t.children,s,a=-1,l=o.length,u=t.value&&(i-n)/t.value;++ay&&(y=u),_=m*m*w,x=Math.max(y/_,_/v),x>b){m-=u;break}b=x}s.push(l={value:m,dice:h1?r:1)},n}(C5e);function y$t(){var t=E5e,e=!1,n=1,r=1,i=[0],o=K0,s=K0,a=K0,l=K0,u=K0;function c(d){return d.x0=d.y0=0,d.x1=n,d.y1=r,d.eachBefore(f),i=[0],e&&d.eachBefore(S5e),d}function f(d){var h=i[d.depth],p=d.x0+h,g=d.y0+h,m=d.x1-h,v=d.y1-h;m=d-1){var y=o[f];y.x0=p,y.y0=g,y.x1=m,y.y1=v;return}for(var x=u[f],b=h/2+x,w=f+1,_=d-1;w<_;){var S=w+_>>>1;u[S]v-g){var E=h?(p*k+m*O)/h:m;c(f,w,O,p,g,E,v),c(w,d,k,E,g,m,v)}else{var M=h?(g*k+v*O)/h:v;c(f,w,O,p,g,m,M),c(w,d,k,p,M,m,v)}}}function b$t(t,e,n,r,i){(t.depth&1?GB:ER)(t,e,n,r,i)}const w$t=function t(e){function n(r,i,o,s,a){if((l=r._squarify)&&l.ratio===e)for(var l,u,c,f,d=-1,h,p=l.length,g=r.value;++d1?r:1)},n}(C5e);function QX(t,e,n){const r={};return t.each(i=>{const o=i.data;n(o)&&(r[e(o)]=i)}),t.lookup=r,t}function eoe(t){Re.call(this,null,t)}eoe.Definition={type:"Nest",metadata:{treesource:!0,changes:!0},params:[{name:"keys",type:"field",array:!0},{name:"generate",type:"boolean"}]};const _$t=t=>t.values;it(eoe,Re,{transform(t,e){e.source||je("Nest transform requires an upstream data source.");var n=t.generate,r=t.modified(),i=e.clone(),o=this.value;return(!o||r||e.changed())&&(o&&o.each(s=>{s.children&&tB(s.data)&&i.rem.push(s.data)}),this.value=o=Jie({values:pt(t.keys).reduce((s,a)=>(s.key(a),s),S$t()).entries(i.source)},_$t),n&&o.each(s=>{s.children&&(s=ur(s.data),i.add.push(s),i.source.push(s))}),QX(o,zt,zt)),i.source.root=o,i}});function S$t(){const t=[],e={entries:i=>r(n(i,0),0),key:i=>(t.push(i),e)};function n(i,o){if(o>=t.length)return i;const s=i.length,a=t[o++],l={},u={};let c=-1,f,d,h;for(;++ct.length)return i;const s=[];for(const a in i)s.push({key:a,values:r(i[a],o)});return s}return e}function Yg(t){Re.call(this,null,t)}const C$t=(t,e)=>t.parent===e.parent?1:2;it(Yg,Re,{transform(t,e){(!e.source||!e.source.root)&&je(this.constructor.name+" transform requires a backing tree data source.");const n=this.layout(t.method),r=this.fields,i=e.source.root,o=t.as||r;t.field?i.sum(t.field):i.count(),t.sort&&i.sort(ob(t.sort,s=>s.data)),O$t(n,this.params,t),n.separation&&n.separation(t.separation!==!1?C$t:pO);try{this.value=n(i)}catch(s){je(s)}return i.each(s=>E$t(s,r,o)),e.reflow(t.modified()).modifies(o).modifies("leaf")}});function O$t(t,e,n){for(let r,i=0,o=e.length;io[zt(s)]=1),r.each(s=>{const a=s.data,l=s.parent&&s.parent.data;l&&o[zt(a)]&&o[zt(l)]&&i.add.push(ur({source:l,target:a}))}),this.value=i.add):e.changed(e.MOD)&&(e.visit(e.MOD,s=>o[zt(s)]=1),n.forEach(s=>{(o[zt(s.source)]||o[zt(s.target)])&&i.mod.push(s)})),i}});const Ume={binary:x$t,dice:ER,slice:GB,slicedice:b$t,squarify:E5e,resquarify:w$t},eY=["x0","y0","x1","y1","depth","children"];function soe(t){Yg.call(this,t)}soe.Definition={type:"Treemap",metadata:{tree:!0,modifies:!0},params:[{name:"field",type:"field"},{name:"sort",type:"compare"},{name:"method",type:"enum",default:"squarify",values:["squarify","resquarify","binary","dice","slice","slicedice"]},{name:"padding",type:"number",default:0},{name:"paddingInner",type:"number",default:0},{name:"paddingOuter",type:"number",default:0},{name:"paddingTop",type:"number",default:0},{name:"paddingRight",type:"number",default:0},{name:"paddingBottom",type:"number",default:0},{name:"paddingLeft",type:"number",default:0},{name:"ratio",type:"number",default:1.618033988749895},{name:"round",type:"boolean",default:!1},{name:"size",type:"number",array:!0,length:2},{name:"as",type:"string",array:!0,length:eY.length,default:eY}]};it(soe,Yg,{layout(){const t=y$t();return t.ratio=e=>{const n=t.tile();n.ratio&&t.tile(n.ratio(e))},t.method=e=>{vt(Ume,e)?t.tile(Ume[e]):je("Unrecognized Treemap layout method: "+e)},t},params:["method","ratio","size","round","padding","paddingInner","paddingOuter","paddingTop","paddingRight","paddingBottom","paddingLeft"],fields:eY});const T$t=Object.freeze(Object.defineProperty({__proto__:null,nest:eoe,pack:toe,partition:noe,stratify:roe,tree:ioe,treelinks:ooe,treemap:soe},Symbol.toStringTag,{value:"Module"})),vV=4278190080;function k$t(t,e){const n=t.bitmap();return(e||[]).forEach(r=>n.set(t(r.boundary[0]),t(r.boundary[3]))),[n,void 0]}function A$t(t,e,n,r,i){const o=t.width,s=t.height,a=r||i,l=jv(o,s).getContext("2d"),u=jv(o,s).getContext("2d"),c=a&&jv(o,s).getContext("2d");n.forEach(O=>E3(l,O,!1)),E3(u,e,!1),a&&E3(c,e,!0);const f=yV(l,o,s),d=yV(u,o,s),h=a&&yV(c,o,s),p=t.bitmap(),g=a&&t.bitmap();let m,v,y,x,b,w,_,S;for(v=0;v{i.items.forEach(o=>E3(t,o.items,n))}):Eu[r].draw(t,{items:n?e.map(P$t):e})}function P$t(t){const e=nB(t,{});return e.stroke&&e.strokeOpacity!==0||e.fill&&e.fillOpacity!==0?{...e,strokeOpacity:1,stroke:"#000",fillOpacity:0}:e}const up=5,sa=31,NA=32,Xm=new Uint32Array(NA+1),xf=new Uint32Array(NA+1);xf[0]=0;Xm[0]=~xf[0];for(let t=1;t<=NA;++t)xf[t]=xf[t-1]<<1|1,Xm[t]=~xf[t];function M$t(t,e){const n=new Uint32Array(~~((t*e+NA)/NA));function r(o,s){n[o]|=s}function i(o,s){n[o]&=s}return{array:n,get:(o,s)=>{const a=s*t+o;return n[a>>>up]&1<<(a&sa)},set:(o,s)=>{const a=s*t+o;r(a>>>up,1<<(a&sa))},clear:(o,s)=>{const a=s*t+o;i(a>>>up,~(1<<(a&sa)))},getRange:(o,s,a,l)=>{let u=l,c,f,d,h;for(;u>=s;--u)if(c=u*t+o,f=u*t+a,d=c>>>up,h=f>>>up,d===h){if(n[d]&Xm[c&sa]&xf[(f&sa)+1])return!0}else{if(n[d]&Xm[c&sa]||n[h]&xf[(f&sa)+1])return!0;for(let p=d+1;p{let u,c,f,d,h;for(;s<=l;++s)if(u=s*t+o,c=s*t+a,f=u>>>up,d=c>>>up,f===d)r(f,Xm[u&sa]&xf[(c&sa)+1]);else for(r(f,Xm[u&sa]),r(d,xf[(c&sa)+1]),h=f+1;h{let u,c,f,d,h;for(;s<=l;++s)if(u=s*t+o,c=s*t+a,f=u>>>up,d=c>>>up,f===d)i(f,xf[u&sa]|Xm[(c&sa)+1]);else for(i(f,xf[u&sa]),i(d,Xm[(c&sa)+1]),h=f+1;ho<0||s<0||l>=e||a>=t}}function R$t(t,e,n){const r=Math.max(1,Math.sqrt(t*e/1e6)),i=~~((t+2*n+r)/r),o=~~((e+2*n+r)/r),s=a=>~~((a+n)/r);return s.invert=a=>a*r-n,s.bitmap=()=>M$t(i,o),s.ratio=r,s.padding=n,s.width=t,s.height=e,s}function D$t(t,e,n,r){const i=t.width,o=t.height;return function(s){const a=s.datum.datum.items[r].items,l=a.length,u=s.datum.fontSize,c=du.width(s.datum,s.datum.text);let f=0,d,h,p,g,m,v,y;for(let x=0;x=f&&(f=y,s.x=m,s.y=v);return m=c/2,v=u/2,d=s.x-m,h=s.x+m,p=s.y-v,g=s.y+v,s.align="center",d<0&&h<=i?s.align="left":0<=d&&ii||e-(s=r/2)<0||e+s>o}function yv(t,e,n,r,i,o,s,a){const l=i*o/(r*2),u=t(e-l),c=t(e+l),f=t(n-(o=o/2)),d=t(n+o);return s.outOfBounds(u,f,c,d)||s.getRange(u,f,c,d)||a&&a.getRange(u,f,c,d)}function I$t(t,e,n,r){const i=t.width,o=t.height,s=e[0],a=e[1];function l(u,c,f,d,h){const p=t.invert(u),g=t.invert(c);let m=f,v=o,y;if(!_5(p,g,d,h,i,o)&&!yv(t,p,g,h,d,m,s,a)&&!yv(t,p,g,h,d,h,s,null)){for(;v-m>=1;)y=(m+v)/2,yv(t,p,g,h,d,y,s,a)?v=y:m=y;if(m>f)return[p,g,m,!0]}}return function(u){const c=u.datum.datum.items[r].items,f=c.length,d=u.datum.fontSize,h=du.width(u.datum,u.datum.text);let p=n?d:0,g=!1,m=!1,v=0,y,x,b,w,_,S,O,k,E,M,A,P,T,R,I,B,$;for(let z=0;zx&&($=y,y=x,x=$),b>w&&($=b,b=w,w=$),E=t(y),A=t(x),M=~~((E+A)/2),P=t(b),R=t(w),T=~~((P+R)/2),O=M;O>=E;--O)for(k=T;k>=P;--k)B=l(O,k,p,h,d),B&&([u.x,u.y,p,g]=B);for(O=M;O<=A;++O)for(k=T;k<=R;++k)B=l(O,k,p,h,d),B&&([u.x,u.y,p,g]=B);!g&&!n&&(I=Math.abs(x-y+w-b),_=(y+x)/2,S=(b+w)/2,I>=v&&!_5(_,S,h,d,i,o)&&!yv(t,_,S,d,h,d,s,null)&&(v=I,u.x=_,u.y=S,m=!0))}return g||m?(_=h/2,S=d/2,s.setRange(t(u.x-_),t(u.y-S),t(u.x+_),t(u.y+S)),u.align="center",u.baseline="middle",!0):!1}}const L$t=[-1,-1,1,1],$$t=[-1,1,-1,1];function F$t(t,e,n,r){const i=t.width,o=t.height,s=e[0],a=e[1],l=t.bitmap();return function(u){const c=u.datum.datum.items[r].items,f=c.length,d=u.datum.fontSize,h=du.width(u.datum,u.datum.text),p=[];let g=n?d:0,m=!1,v=!1,y=0,x,b,w,_,S,O,k,E,M,A,P,T;for(let R=0;R=1;)P=(M+A)/2,yv(t,S,O,d,h,P,s,a)?A=P:M=P;M>g&&(u.x=S,u.y=O,g=M,m=!0)}}!m&&!n&&(T=Math.abs(b-x+_-w),S=(x+b)/2,O=(w+_)/2,T>=y&&!_5(S,O,h,d,i,o)&&!yv(t,S,O,d,h,d,s,null)&&(y=T,u.x=S,u.y=O,v=!0))}return m||v?(S=h/2,O=d/2,s.setRange(t(u.x-S),t(u.y-O),t(u.x+S),t(u.y+O)),u.align="center",u.baseline="middle",!0):!1}}const N$t=["right","center","left"],z$t=["bottom","middle","top"];function j$t(t,e,n,r){const i=t.width,o=t.height,s=e[0],a=e[1],l=r.length;return function(u){const c=u.boundary,f=u.datum.fontSize;if(c[2]<0||c[5]<0||c[0]>i||c[3]>o)return!1;let d=u.textWidth??0,h,p,g,m,v,y,x,b,w,_,S,O,k,E,M;for(let A=0;A>>2&3)-1,g=h===0&&p===0||r[A]<0,m=h&&p?Math.SQRT1_2:1,v=r[A]<0?-1:1,y=c[1+h]+r[A]*h*m,S=c[4+p]+v*f*p/2+r[A]*p*m,b=S-f/2,w=S+f/2,O=t(y),E=t(b),M=t(w),!d)if(Wme(O,O,E,M,s,a,y,y,b,w,c,g))d=du.width(u.datum,u.datum.text);else continue;if(_=y+v*d*h/2,y=_-d/2,x=_+d/2,O=t(y),k=t(x),Wme(O,k,E,M,s,a,y,x,b,w,c,g))return u.x=h?h*v<0?x:y:_,u.y=p?p*v<0?w:b:S,u.align=N$t[h*v+1],u.baseline=z$t[p*v+1],s.setRange(O,E,k,M),!0}return!1}}function Wme(t,e,n,r,i,o,s,a,l,u,c,f){return!(i.outOfBounds(t,n,e,r)||(f&&o||i).getRange(t,n,e,r))}const xV=0,bV=4,wV=8,_V=0,SV=1,CV=2,B$t={"top-left":xV+_V,top:xV+SV,"top-right":xV+CV,left:bV+_V,middle:bV+SV,right:bV+CV,"bottom-left":wV+_V,bottom:wV+SV,"bottom-right":wV+CV},U$t={naive:D$t,"reduced-search":I$t,floodfill:F$t};function W$t(t,e,n,r,i,o,s,a,l,u,c){if(!t.length)return t;const f=Math.max(r.length,i.length),d=V$t(r,f),h=G$t(i,f),p=H$t(t[0].datum),g=p==="group"&&t[0].datum.items[l].marktype,m=g==="area",v=q$t(p,g,a,l),y=u===null||u===1/0,x=m&&c==="naive";let b=-1,w=-1;const _=t.map(E=>{const M=y?du.width(E,E.text):void 0;return b=Math.max(b,M),w=Math.max(w,E.fontSize),{datum:E,opacity:0,x:void 0,y:void 0,align:void 0,baseline:void 0,boundary:v(E),textWidth:M}});u=u===null||u===1/0?Math.max(b,w)+Math.max(...r):u;const S=R$t(e[0],e[1],u);let O;if(!x){n&&_.sort((A,P)=>n(A.datum,P.datum));let E=!1;for(let A=0;AA.datum);O=o.length||M?A$t(S,M||[],o,E,m):k$t(S,s&&_)}const k=m?U$t[c](S,O,s,l):j$t(S,O,h,d);return _.forEach(E=>E.opacity=+k(E)),_}function V$t(t,e){const n=new Float64Array(e),r=t.length;for(let i=0;i[o.x,o.x,o.x,o.y,o.y,o.y];return t?t==="line"||t==="area"?o=>i(o.datum):e==="line"?o=>{const s=o.datum.items[r].items;return i(s.length?s[n==="start"?0:s.length-1]:{x:NaN,y:NaN})}:o=>{const s=o.datum.bounds;return[s.x1,(s.x1+s.x2)/2,s.x2,s.y1,(s.y1+s.y2)/2,s.y2]}:i}const tY=["x","y","opacity","align","baseline"],T5e=["top-left","left","bottom-left","top","bottom","top-right","right","bottom-right"];function aoe(t){Re.call(this,null,t)}aoe.Definition={type:"Label",metadata:{modifies:!0},params:[{name:"size",type:"number",array:!0,length:2,required:!0},{name:"sort",type:"compare"},{name:"anchor",type:"string",array:!0,default:T5e},{name:"offset",type:"number",array:!0,default:[1]},{name:"padding",type:"number",default:0,null:!0},{name:"lineAnchor",type:"string",values:["start","end"],default:"end"},{name:"markIndex",type:"number",default:0},{name:"avoidBaseMark",type:"boolean",default:!0},{name:"avoidMarks",type:"data",array:!0},{name:"method",type:"string",default:"naive"},{name:"as",type:"string",array:!0,length:tY.length,default:tY}]};it(aoe,Re,{transform(t,e){function n(o){const s=t[o];return fn(s)&&e.modified(s.fields)}const r=t.modified();if(!(r||e.changed(e.ADD_REM)||n("sort")))return;(!t.size||t.size.length!==2)&&je("Size parameter should be specified as a [width, height] array.");const i=t.as||tY;return W$t(e.materialize(e.SOURCE).source||[],t.size,t.sort,pt(t.offset==null?1:t.offset),pt(t.anchor||T5e),t.avoidMarks||[],t.avoidBaseMark!==!1,t.lineAnchor||"end",t.markIndex||0,t.padding===void 0?0:t.padding,t.method||"naive").forEach(o=>{const s=o.datum;s[i[0]]=o.x,s[i[1]]=o.y,s[i[2]]=o.opacity,s[i[3]]=o.align,s[i[4]]=o.baseline}),e.reflow(r).modifies(i)}});const X$t=Object.freeze(Object.defineProperty({__proto__:null,label:aoe},Symbol.toStringTag,{value:"Module"}));function k5e(t,e){var n=[],r=function(c){return c(a)},i,o,s,a,l,u;if(e==null)n.push(t);else for(i={},o=0,s=t.length;o{MLe(u,t.x,t.y,t.bandwidth||.3).forEach(c=>{const f={};for(let d=0;dt==="poly"?e:t==="quad"?2:1;function uoe(t){Re.call(this,null,t)}uoe.Definition={type:"Regression",metadata:{generates:!0},params:[{name:"x",type:"field",required:!0},{name:"y",type:"field",required:!0},{name:"groupby",type:"field",array:!0},{name:"method",type:"string",default:"linear",values:Object.keys(nY)},{name:"order",type:"number",default:3},{name:"extent",type:"number",array:!0,length:2},{name:"params",type:"boolean",default:!1},{name:"as",type:"string",array:!0}]};it(uoe,Re,{transform(t,e){const n=e.fork(e.NO_SOURCE|e.NO_FIELDS);if(!this.value||e.changed()||t.modified()){const r=e.materialize(e.SOURCE).source,i=k5e(r,t.groupby),o=(t.groupby||[]).map(Ni),s=t.method||"linear",a=t.order==null?3:t.order,l=Y$t(s,a),u=t.as||[Ni(t.x),Ni(t.y)],c=nY[s],f=[];let d=t.extent;vt(nY,s)||je("Invalid regression method: "+s),d!=null&&s==="log"&&d[0]<=0&&(e.dataflow.warn("Ignoring extent with values <= 0 for log regression."),d=null),i.forEach(h=>{if(h.length<=l){e.dataflow.warn("Skipping regression with more parameters than data points.");return}const g=c(h,t.x,t.y,a);if(t.params){f.push(ur({keys:h.dims,coef:g.coef,rSquared:g.rSquared}));return}const m=d||Ch(h,t.x),v=y=>{const x={};for(let b=0;bv([y,g.predict(y)])):uB(g.predict,m,25,200).forEach(v)}),this.value&&(n.rem=this.value),this.value=n.add=n.source=f}return n}});const Q$t=Object.freeze(Object.defineProperty({__proto__:null,loess:loe,regression:uoe},Symbol.toStringTag,{value:"Module"})),og=11102230246251565e-32,Ps=134217729,K$t=(3+8*og)*og;function OV(t,e,n,r,i){let o,s,a,l,u=e[0],c=r[0],f=0,d=0;c>u==c>-u?(o=u,u=e[++f]):(o=c,c=r[++d]);let h=0;if(fu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d-(d-l),p=l-h,d=Ps*u,g=d-(d-u),m=u-g,S=p*m-(_-h*g-p*g-h*m),v=w-S,f=w-v,aa[0]=w-(v+f)+(f-S),y=b+v,f=y-b,x=b-(y-f)+(v-f),v=x-_,f=x-v,aa[1]=x-(v+f)+(f-_),O=y+v,f=O-y,aa[2]=y-(O-f)+(v-f),aa[3]=O;const B=OV(I,Gme,4,aa,Hme);return Hme[B-1]}function HI(t,e,n,r,i,o){const s=(e-o)*(n-i),a=(t-i)*(r-o),l=s-a,u=Math.abs(s+a);return Math.abs(l)>=J$t*u?l:-n3t(t,e,n,r,i,o,u)}const qme=Math.pow(2,-52),qI=new Uint32Array(512);class S5{static from(e,n=a3t,r=l3t){const i=e.length,o=new Float64Array(i*2);for(let s=0;s>1;if(n>0&&typeof e[0]!="number")throw new Error("Expected coords to contain numbers.");this.coords=e;const r=Math.max(2*n-5,0);this._triangles=new Uint32Array(r*3),this._halfedges=new Int32Array(r*3),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:e,_hullPrev:n,_hullNext:r,_hullTri:i,_hullHash:o}=this,s=e.length>>1;let a=1/0,l=1/0,u=-1/0,c=-1/0;for(let k=0;ku&&(u=E),M>c&&(c=M),this._ids[k]=k}const f=(a+u)/2,d=(l+c)/2;let h,p,g;for(let k=0,E=1/0;k0&&(p=k,E=M)}let y=e[2*p],x=e[2*p+1],b=1/0;for(let k=0;kA&&(k[E++]=P,A=T)}this.hull=k.subarray(0,E),this.triangles=new Uint32Array(0),this.halfedges=new Uint32Array(0);return}if(HI(m,v,y,x,w,_)<0){const k=p,E=y,M=x;p=g,y=w,x=_,g=k,w=E,_=M}const S=s3t(m,v,y,x,w,_);this._cx=S.x,this._cy=S.y;for(let k=0;k0&&Math.abs(P-E)<=qme&&Math.abs(T-M)<=qme||(E=P,M=T,A===h||A===p||A===g))continue;let R=0;for(let L=0,j=this._hashKey(P,T);L=0;)if(I=B,I===R){I=-1;break}if(I===-1)continue;let $=this._addTriangle(I,A,r[I],-1,-1,i[I]);i[A]=this._legalize($+2),i[I]=$,O++;let z=r[I];for(;B=r[z],HI(P,T,e[2*z],e[2*z+1],e[2*B],e[2*B+1])<0;)$=this._addTriangle(z,A,B,i[A],-1,i[z]),i[A]=this._legalize($+2),r[z]=z,O--,z=B;if(I===R)for(;B=n[I],HI(P,T,e[2*B],e[2*B+1],e[2*I],e[2*I+1])<0;)$=this._addTriangle(B,A,I,-1,i[I],i[B]),this._legalize($+2),i[B]=$,r[I]=I,O--,I=B;this._hullStart=n[A]=I,r[I]=n[z]=A,r[A]=z,o[this._hashKey(P,T)]=A,o[this._hashKey(e[2*I],e[2*I+1])]=I}this.hull=new Uint32Array(O);for(let k=0,E=this._hullStart;k0?3-n:1+n)/4}function EV(t,e,n,r){const i=t-n,o=e-r;return i*i+o*o}function i3t(t,e,n,r,i,o,s,a){const l=t-s,u=e-a,c=n-s,f=r-a,d=i-s,h=o-a,p=l*l+u*u,g=c*c+f*f,m=d*d+h*h;return l*(f*m-g*h)-u*(c*m-g*d)+p*(c*h-f*d)<0}function o3t(t,e,n,r,i,o){const s=n-t,a=r-e,l=i-t,u=o-e,c=s*s+a*a,f=l*l+u*u,d=.5/(s*u-a*l),h=(u*c-a*f)*d,p=(s*f-l*c)*d;return h*h+p*p}function s3t(t,e,n,r,i,o){const s=n-t,a=r-e,l=i-t,u=o-e,c=s*s+a*a,f=l*l+u*u,d=.5/(s*u-a*l),h=t+(u*c-a*f)*d,p=e+(s*f-l*c)*d;return{x:h,y:p}}function u_(t,e,n,r){if(r-n<=20)for(let i=n+1;i<=r;i++){const o=t[i],s=e[o];let a=i-1;for(;a>=n&&e[t[a]]>s;)t[a+1]=t[a--];t[a+1]=o}else{const i=n+r>>1;let o=n+1,s=r;e2(t,i,o),e[t[n]]>e[t[r]]&&e2(t,n,r),e[t[o]]>e[t[r]]&&e2(t,o,r),e[t[n]]>e[t[o]]&&e2(t,n,o);const a=t[o],l=e[a];for(;;){do o++;while(e[t[o]]l);if(s=s-n?(u_(t,e,o,r),u_(t,e,n,s-1)):(u_(t,e,n,s-1),u_(t,e,o,r))}}function e2(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function a3t(t){return t[0]}function l3t(t){return t[1]}const Xme=1e-6;class px{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,n){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,n){this._+=`L${this._x1=+e},${this._y1=+n}`}arc(e,n,r){e=+e,n=+n,r=+r;const i=e+r,o=n;if(r<0)throw new Error("negative radius");this._x1===null?this._+=`M${i},${o}`:(Math.abs(this._x1-i)>Xme||Math.abs(this._y1-o)>Xme)&&(this._+="L"+i+","+o),r&&(this._+=`A${r},${r},0,1,1,${e-r},${n}A${r},${r},0,1,1,${this._x1=i},${this._y1=o}`)}rect(e,n,r,i){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+n}h${+r}v${+i}h${-r}Z`}value(){return this._||null}}class rY{constructor(){this._=[]}moveTo(e,n){this._.push([e,n])}closePath(){this._.push(this._[0].slice())}lineTo(e,n){this._.push([e,n])}value(){return this._.length?this._:null}}let u3t=class{constructor(e,[n,r,i,o]=[0,0,960,500]){if(!((i=+i)>=(n=+n))||!((o=+o)>=(r=+r)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(e.points.length*2),this.vectors=new Float64Array(e.points.length*2),this.xmax=i,this.xmin=n,this.ymax=o,this.ymin=r,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:n,triangles:r},vectors:i}=this;let o,s;const a=this.circumcenters=this._circumcenters.subarray(0,r.length/3*2);for(let g=0,m=0,v=r.length,y,x;g1;)o-=2;for(let s=2;s0){if(n>=this.ymax)return null;(s=(this.ymax-n)/i)0){if(e>=this.xmax)return null;(s=(this.xmax-e)/r)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let n=0;n1e-10)return!1}return!0}function p3t(t,e,n){return[t+Math.sin(t+e)*n,e+Math.cos(t-e)*n]}class coe{static from(e,n=f3t,r=d3t,i){return new coe("length"in e?g3t(e,n,r,i):Float64Array.from(m3t(e,n,r,i)))}constructor(e){this._delaunator=new S5(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,n=this.points;if(e.hull&&e.hull.length>2&&h3t(e)){this.collinear=Int32Array.from({length:n.length/2},(d,h)=>h).sort((d,h)=>n[2*d]-n[2*h]||n[2*d+1]-n[2*h+1]);const l=this.collinear[0],u=this.collinear[this.collinear.length-1],c=[n[2*l],n[2*l+1],n[2*u],n[2*u+1]],f=1e-8*Math.hypot(c[3]-c[1],c[2]-c[0]);for(let d=0,h=n.length/2;d0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=i[0],s[i[0]]=1,i.length===2&&(s[i[1]]=0,this.triangles[1]=i[1],this.triangles[2]=i[1]))}voronoi(e){return new u3t(this,e)}*neighbors(e){const{inedges:n,hull:r,_hullIndex:i,halfedges:o,triangles:s,collinear:a}=this;if(a){const f=a.indexOf(e);f>0&&(yield a[f-1]),f=0&&o!==r&&o!==i;)r=o;return o}_step(e,n,r){const{inedges:i,hull:o,_hullIndex:s,halfedges:a,triangles:l,points:u}=this;if(i[e]===-1||!u.length)return(e+1)%(u.length>>1);let c=e,f=Kb(n-u[e*2],2)+Kb(r-u[e*2+1],2);const d=i[e];let h=d;do{let p=l[h];const g=Kb(n-u[p*2],2)+Kb(r-u[p*2+1],2);if(g>5)*t[1]),m=null,v=u.length,y=-1,x=[],b=u.map(_=>({text:e(_),font:n(_),style:i(_),weight:o(_),rotate:s(_),size:~~(r(_)+1e-14),padding:a(_),xoff:0,yoff:0,x1:0,y1:0,x0:0,y0:0,hasText:!1,sprite:null,datum:_})).sort((_,S)=>S.size-_.size);++y>1,w.y=t[1]*(c()+.5)>>1,_3t(p,w,b,y),w.hasText&&h(g,w,m)&&(x.push(w),m?C3t(m,w):m=[{x:w.x+w.x0,y:w.y+w.y0},{x:w.x+w.x1,y:w.y+w.y1}],w.x-=t[0]>>1,w.y-=t[1]>>1)}return x};function d(p){p.width=p.height=1;var g=Math.sqrt(p.getContext("2d").getImageData(0,0,1,1).data.length>>2);p.width=(yT<<5)/g,p.height=T3/g;var m=p.getContext("2d");return m.fillStyle=m.strokeStyle="red",m.textAlign="center",{context:m,ratio:g}}function h(p,g,m){for(var v=g.x,y=g.y,x=Math.hypot(t[0],t[1]),b=l(t),w=c()<.5?1:-1,_=-w,S,O,k;(S=b(_+=w))&&(O=~~S[0],k=~~S[1],!(Math.min(Math.abs(O),Math.abs(k))>=x));)if(g.x=v+O,g.y=y+k,!(g.x+g.x0<0||g.y+g.y0<0||g.x+g.x1>t[0]||g.y+g.y1>t[1])&&(!m||!S3t(g,p,t[0]))&&(!m||O3t(g,m))){for(var E=g.sprite,M=g.width>>5,A=t[0]>>5,P=g.x-(M<<4),T=P&127,R=32-T,I=g.y1-g.y0,B=(g.y+g.y0)*A+(P>>5),$,z=0;z>>T:0);B+=A}return g.sprite=null,!0}return!1}return f.words=function(p){return arguments.length?(u=p,f):u},f.size=function(p){return arguments.length?(t=[+p[0],+p[1]],f):t},f.font=function(p){return arguments.length?(n=d0(p),f):n},f.fontStyle=function(p){return arguments.length?(i=d0(p),f):i},f.fontWeight=function(p){return arguments.length?(o=d0(p),f):o},f.rotate=function(p){return arguments.length?(s=d0(p),f):s},f.text=function(p){return arguments.length?(e=d0(p),f):e},f.spiral=function(p){return arguments.length?(l=k3t[p]||p,f):l},f.fontSize=function(p){return arguments.length?(r=d0(p),f):r},f.padding=function(p){return arguments.length?(a=d0(p),f):a},f.random=function(p){return arguments.length?(c=p,f):c},f}function _3t(t,e,n,r){if(!e.sprite){var i=t.context,o=t.ratio;i.clearRect(0,0,(yT<<5)/o,T3/o);var s=0,a=0,l=0,u=n.length,c,f,d,h,p;for(--r;++r>5<<5,d=~~Math.max(Math.abs(y+x),Math.abs(y-x))}else c=c+31>>5<<5;if(d>l&&(l=d),s+c>=yT<<5&&(s=0,a+=l,l=0),a+d>=T3)break;i.translate((s+(c>>1))/o,(a+(d>>1))/o),e.rotate&&i.rotate(e.rotate*TV),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=c,e.height=d,e.xoff=s,e.yoff=a,e.x1=c>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=c}for(var w=i.getImageData(0,0,(yT<<5)/o,T3/o).data,_=[];--r>=0;)if(e=n[r],!!e.hasText){for(c=e.width,f=c>>5,d=e.y1-e.y0,h=0;h>5),E=w[(a+p)*(yT<<5)+(s+h)<<2]?1<<31-h%32:0;_[k]|=E,S|=E}S?O=p:(e.y0++,d--,p--,a++)}e.y1=e.y0+O,e.sprite=_.slice(0,(e.y1-e.y0)*f)}}}function S3t(t,e,n){n>>=5;for(var r=t.sprite,i=t.width>>5,o=t.x-(i<<4),s=o&127,a=32-s,l=t.y1-t.y0,u=(t.y+t.y0)*n+(o>>5),c,f=0;f>>s:0))&e[u+d])return!0;u+=n}return!1}function C3t(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function O3t(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0g(p(m))}i.forEach(p=>{p[s[0]]=NaN,p[s[1]]=NaN,p[s[3]]=0});const u=o.words(i).text(t.text).size(t.size||[500,500]).padding(t.padding||1).spiral(t.spiral||"archimedean").rotate(t.rotate||0).font(t.font||"sans-serif").fontStyle(t.fontStyle||"normal").fontWeight(t.fontWeight||"normal").fontSize(a).random(Ac).layout(),c=o.size(),f=c[0]>>1,d=c[1]>>1,h=u.length;for(let p=0,g,m;pnew Uint8Array(t),R3t=t=>new Uint16Array(t),dk=t=>new Uint32Array(t);function D3t(){let t=8,e=[],n=dk(0),r=XI(0,t),i=XI(0,t);return{data:()=>e,seen:()=>n=I3t(n,e.length),add(o){for(let s=0,a=e.length,l=o.length,u;se.length,curr:()=>r,prev:()=>i,reset:o=>i[o]=r[o],all:()=>t<257?255:t<65537?65535:4294967295,set(o,s){r[o]|=s},clear(o,s){r[o]&=~s},resize(o,s){const a=r.length;(o>a||s>t)&&(t=Math.max(s,t),r=XI(o,t,r),i=XI(o,t))}}}function I3t(t,e,n){return t.length>=e?t:(n=n||new t.constructor(e),n.set(t),n)}function XI(t,e,n){const r=(e<257?M3t:e<65537?R3t:dk)(t);return n&&r.set(n),r}function Yme(t,e,n){const r=1<0)for(m=0;mt,size:()=>n}}function L3t(t,e){return t.sort.call(e,(n,r)=>{const i=t[n],o=t[r];return io?1:0}),jSt(t,e)}function $3t(t,e,n,r,i,o,s,a,l){let u=0,c=0,f;for(f=0;ue.modified(r.fields));return n?this.reinit(t,e):this.eval(t,e)}else return this.init(t,e)},init(t,e){const n=t.fields,r=t.query,i=this._indices={},o=this._dims=[],s=r.length;let a=0,l,u;for(;a{const o=i.remove(e,n);for(const s in r)r[s].reindex(o)})},update(t,e,n){const r=this._dims,i=t.query,o=e.stamp,s=r.length;let a=0,l,u;for(n.filters=0,u=0;uh)for(m=h,v=Math.min(f,p);mp)for(m=Math.max(f,p),v=d;mf)for(p=f,g=Math.min(u,d);pd)for(p=Math.max(u,d),g=c;pa[c]&n?null:s[c];return o.filter(o.MOD,u),i&i-1?(o.filter(o.ADD,c=>{const f=a[c]&n;return!f&&f^l[c]&n?s[c]:null}),o.filter(o.REM,c=>{const f=a[c]&n;return f&&!(f^(f^l[c]&n))?s[c]:null})):(o.filter(o.ADD,u),o.filter(o.REM,c=>(a[c]&n)===i?s[c]:null)),o.filter(o.SOURCE,c=>u(c._index))}});const F3t=Object.freeze(Object.defineProperty({__proto__:null,crossfilter:hoe,resolvefilter:poe},Symbol.toStringTag,{value:"Module"})),N3t="RawCode",g1="Literal",z3t="Property",j3t="Identifier",B3t="ArrayExpression",U3t="BinaryExpression",M5e="CallExpression",W3t="ConditionalExpression",V3t="LogicalExpression",G3t="MemberExpression",H3t="ObjectExpression",q3t="UnaryExpression";function td(t){this.type=t}td.prototype.visit=function(t){let e,n,r;if(t(this))return 1;for(e=X3t(this),n=0,r=e.length;n";Wh[m1]="Identifier";Wh[Wy]="Keyword";Wh[qB]="Null";Wh[lb]="Numeric";Wh[Ha]="Punctuator";Wh[AR]="String";Wh[Y3t]="RegularExpression";var Q3t="ArrayExpression",K3t="BinaryExpression",Z3t="CallExpression",J3t="ConditionalExpression",R5e="Identifier",eFt="Literal",tFt="LogicalExpression",nFt="MemberExpression",rFt="ObjectExpression",iFt="Property",oFt="UnaryExpression",Fo="Unexpected token %0",sFt="Unexpected number",aFt="Unexpected string",lFt="Unexpected identifier",uFt="Unexpected reserved word",cFt="Unexpected end of input",iY="Invalid regular expression",kV="Invalid regular expression: missing /",D5e="Octal literals are not allowed in strict mode.",fFt="Duplicate data property in object literal not allowed in strict mode",ps="ILLEGAL",zA="Disabled.",dFt=new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67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u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\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u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");function XB(t,e){if(!t)throw new Error("ASSERT: "+e)}function Lp(t){return t>=48&&t<=57}function goe(t){return"0123456789abcdefABCDEF".includes(t)}function hk(t){return"01234567".includes(t)}function pFt(t){return t===32||t===9||t===11||t===12||t===160||t>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t)}function jA(t){return t===10||t===13||t===8232||t===8233}function PR(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t===92||t>=128&&dFt.test(String.fromCharCode(t))}function C5(t){return t===36||t===95||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===92||t>=128&&hFt.test(String.fromCharCode(t))}const gFt={if:1,in:1,do:1,var:1,for:1,new:1,try:1,let:1,this:1,else:1,case:1,void:1,with:1,enum:1,while:1,break:1,catch:1,throw:1,const:1,yield:1,class:1,super:1,return:1,typeof:1,delete:1,switch:1,export:1,import:1,public:1,static:1,default:1,finally:1,extends:1,package:1,private:1,function:1,continue:1,debugger:1,interface:1,protected:1,instanceof:1,implements:1};function I5e(){for(;ze1114111||t!=="}")&&Zn({},Fo,ps),e<=65535?String.fromCharCode(e):(n=(e-65536>>10)+55296,r=(e-65536&1023)+56320,String.fromCharCode(n,r))}function L5e(){var t,e;for(t=Pt.charCodeAt(ze++),e=String.fromCharCode(t),t===92&&(Pt.charCodeAt(ze)!==117&&Zn({},Fo,ps),++ze,t=oY("u"),(!t||t==="\\"||!PR(t.charCodeAt(0)))&&Zn({},Fo,ps),e=t);ze>>=")return ze+=4,{type:Ha,value:s,start:t,end:ze};if(o=s.substr(0,3),o===">>>"||o==="<<="||o===">>=")return ze+=3,{type:Ha,value:o,start:t,end:ze};if(i=o.substr(0,2),r===i[1]&&"+-<>&|".includes(r)||i==="=>")return ze+=2,{type:Ha,value:i,start:t,end:ze};if(i==="//"&&Zn({},Fo,ps),"<>=!+-*%&|^/".includes(r))return++ze,{type:Ha,value:r,start:t,end:ze};Zn({},Fo,ps)}function xFt(t){let e="";for(;ze{if(parseInt(i,16)<=1114111)return"x";Zn({},iY)}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"));try{new RegExp(n)}catch{Zn({},iY)}try{return new RegExp(t,e)}catch{return null}}function SFt(){var t,e,n,r,i;for(t=Pt[ze],XB(t==="/","Regular expression literal must start with a slash"),e=Pt[ze++],n=!1,r=!1;ze=0&&Zn({},iY,n),{value:n,literal:e}}function OFt(){var t,e,n,r;return xr=null,I5e(),t=ze,e=SFt(),n=CFt(),r=_Ft(e.value,n.value),{literal:e.literal+n.literal,value:r,regex:{pattern:e.value,flags:n.value},start:t,end:ze}}function EFt(t){return t.type===m1||t.type===Wy||t.type===HB||t.type===qB}function $5e(){if(I5e(),ze>=Ks)return{type:kR,start:ze,end:ze};const t=Pt.charCodeAt(ze);return PR(t)?yFt():t===40||t===41||t===59?AV():t===39||t===34?wFt():t===46?Lp(Pt.charCodeAt(ze+1))?Kme():AV():Lp(t)?Kme():AV()}function nl(){const t=xr;return ze=t.end,xr=$5e(),ze=t.end,t}function F5e(){const t=ze;xr=$5e(),ze=t}function TFt(t){const e=new td(Q3t);return e.elements=t,e}function Zme(t,e,n){const r=new td(t==="||"||t==="&&"?tFt:K3t);return r.operator=t,r.left=e,r.right=n,r}function kFt(t,e){const n=new td(Z3t);return n.callee=t,n.arguments=e,n}function AFt(t,e,n){const r=new td(J3t);return r.test=t,r.consequent=e,r.alternate=n,r}function moe(t){const e=new td(R5e);return e.name=t,e}function xT(t){const e=new td(eFt);return e.value=t.value,e.raw=Pt.slice(t.start,t.end),t.regex&&(e.raw==="//"&&(e.raw="/(?:)/"),e.regex=t.regex),e}function Jme(t,e,n){const r=new td(nFt);return r.computed=t==="[",r.object=e,r.property=n,r.computed||(n.member=!0),r}function PFt(t){const e=new td(rFt);return e.properties=t,e}function eve(t,e,n){const r=new td(iFt);return r.key=e,r.value=n,r.kind=t,r}function MFt(t,e){const n=new td(oFt);return n.operator=t,n.argument=e,n.prefix=!0,n}function Zn(t,e){var n,r=Array.prototype.slice.call(arguments,2),i=e.replace(/%(\d)/g,(o,s)=>(XB(s":case"<=":case">=":case"instanceof":case"in":e=7;break;case"<<":case">>":case">>>":e=8;break;case"+":case"-":e=9;break;case"*":case"/":case"%":e=11;break}return e}function WFt(){var t,e,n,r,i,o,s,a,l,u;if(t=xr,l=k3(),r=xr,i=rve(r),i===0)return l;for(r.prec=i,nl(),e=[t,xr],s=k3(),o=[l,r,s];(i=rve(xr))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)s=o.pop(),a=o.pop().value,l=o.pop(),e.pop(),n=Zme(a,l,s),o.push(n);r=nl(),r.prec=i,o.push(r),e.push(xr),n=k3(),o.push(n)}for(u=o.length-1,n=o[u],e.pop();u>1;)e.pop(),n=Zme(o[u-1].value,o[u-2],n),u-=2;return n}function v1(){var t,e,n;return t=WFt(),Zr("?")&&(nl(),e=v1(),Zs(":"),n=v1(),t=AFt(t,e,n)),t}function voe(){const t=v1();if(Zr(","))throw new Error(zA);return t}function yoe(t){Pt=t,ze=0,Ks=Pt.length,xr=null,F5e();const e=voe();if(xr.type!==kR)throw new Error("Unexpect token after expression.");return e}var N5e={NaN:"NaN",E:"Math.E",LN2:"Math.LN2",LN10:"Math.LN10",LOG2E:"Math.LOG2E",LOG10E:"Math.LOG10E",PI:"Math.PI",SQRT1_2:"Math.SQRT1_2",SQRT2:"Math.SQRT2",MIN_VALUE:"Number.MIN_VALUE",MAX_VALUE:"Number.MAX_VALUE"};function z5e(t){function e(s,a,l,u){let c=t(a[0]);return l&&(c=l+"("+c+")",l.lastIndexOf("new ",0)===0&&(c="("+c+")")),c+"."+s+(u<0?"":u===0?"()":"("+a.slice(1).map(t).join(",")+")")}function n(s,a,l){return u=>e(s,u,a,l)}const r="new Date",i="String",o="RegExp";return{isNaN:"Number.isNaN",isFinite:"Number.isFinite",abs:"Math.abs",acos:"Math.acos",asin:"Math.asin",atan:"Math.atan",atan2:"Math.atan2",ceil:"Math.ceil",cos:"Math.cos",exp:"Math.exp",floor:"Math.floor",hypot:"Math.hypot",log:"Math.log",max:"Math.max",min:"Math.min",pow:"Math.pow",random:"Math.random",round:"Math.round",sin:"Math.sin",sqrt:"Math.sqrt",tan:"Math.tan",clamp:function(s){s.length<3&&je("Missing arguments to clamp function."),s.length>3&&je("Too many arguments to clamp function.");const a=s.map(t);return"Math.max("+a[1]+", Math.min("+a[2]+","+a[0]+"))"},now:"Date.now",utc:"Date.UTC",datetime:r,date:n("getDate",r,0),day:n("getDay",r,0),year:n("getFullYear",r,0),month:n("getMonth",r,0),hours:n("getHours",r,0),minutes:n("getMinutes",r,0),seconds:n("getSeconds",r,0),milliseconds:n("getMilliseconds",r,0),time:n("getTime",r,0),timezoneoffset:n("getTimezoneOffset",r,0),utcdate:n("getUTCDate",r,0),utcday:n("getUTCDay",r,0),utcyear:n("getUTCFullYear",r,0),utcmonth:n("getUTCMonth",r,0),utchours:n("getUTCHours",r,0),utcminutes:n("getUTCMinutes",r,0),utcseconds:n("getUTCSeconds",r,0),utcmilliseconds:n("getUTCMilliseconds",r,0),length:n("length",null,-1),parseFloat:"parseFloat",parseInt:"parseInt",upper:n("toUpperCase",i,0),lower:n("toLowerCase",i,0),substring:n("substring",i),split:n("split",i),trim:n("trim",i,0),regexp:o,test:n("test",o),if:function(s){s.length<3&&je("Missing arguments to if function."),s.length>3&&je("Too many arguments to if function.");const a=s.map(t);return"("+a[0]+"?"+a[1]+":"+a[2]+")"}}}function VFt(t){const e=t&&t.length-1;return e&&(t[0]==='"'&&t[e]==='"'||t[0]==="'"&&t[e]==="'")?t.slice(1,-1):t}function j5e(t){t=t||{};const e=t.allowed?Wf(t.allowed):{},n=t.forbidden?Wf(t.forbidden):{},r=t.constants||N5e,i=(t.functions||z5e)(f),o=t.globalvar,s=t.fieldvar,a=fn(o)?o:p=>`${o}["${p}"]`;let l={},u={},c=0;function f(p){if(gt(p))return p;const g=d[p.type];return g==null&&je("Unsupported type: "+p.type),g(p)}const d={Literal:p=>p.raw,Identifier:p=>{const g=p.name;return c>0?g:vt(n,g)?je("Illegal identifier: "+g):vt(r,g)?r[g]:vt(e,g)?g:(l[g]=1,a(g))},MemberExpression:p=>{const g=!p.computed,m=f(p.object);g&&(c+=1);const v=f(p.property);return m===s&&(u[VFt(v)]=1),g&&(c-=1),m+(g?"."+v:"["+v+"]")},CallExpression:p=>{p.callee.type!=="Identifier"&&je("Illegal callee type: "+p.callee.type);const g=p.callee.name,m=p.arguments,v=vt(i,g)&&i[g];return v||je("Unrecognized function: "+g),fn(v)?v(m):v+"("+m.map(f).join(",")+")"},ArrayExpression:p=>"["+p.elements.map(f).join(",")+"]",BinaryExpression:p=>"("+f(p.left)+" "+p.operator+" "+f(p.right)+")",UnaryExpression:p=>"("+p.operator+f(p.argument)+")",ConditionalExpression:p=>"("+f(p.test)+"?"+f(p.consequent)+":"+f(p.alternate)+")",LogicalExpression:p=>"("+f(p.left)+p.operator+f(p.right)+")",ObjectExpression:p=>"{"+p.properties.map(f).join(",")+"}",Property:p=>{c+=1;const g=f(p.key);return c-=1,g+":"+f(p.value)}};function h(p){const g={code:f(p),globals:Object.keys(l),fields:Object.keys(u)};return l={},u={},g}return h.functions=i,h.constants=r,h}const ive=Symbol("vega_selection_getter");function B5e(t){return(!t.getter||!t.getter[ive])&&(t.getter=Ec(t.field),t.getter[ive]=!0),t.getter}const xoe="intersect",ove="union",GFt="vlMulti",HFt="vlPoint",sve="or",qFt="and",Id="_vgsid_",BA=Ec(Id),XFt="E",YFt="R",QFt="R-E",KFt="R-LE",ZFt="R-RE",O5="index:unit";function ave(t,e){for(var n=e.fields,r=e.values,i=n.length,o=0,s,a;oun(e.fields?{values:e.fields.map(r=>B5e(r)(n.datum))}:{[Id]:BA(n.datum)},e))}function iNt(t,e,n,r){for(var i=this.context.data[t],o=i?i.values.value:[],s={},a={},l={},u,c,f,d,h,p,g,m,v,y,x=o.length,b=0,w,_;b(S[c[k].field]=O,S),{})))}else h=Id,p=BA(u),g=s[h]||(s[h]={}),m=g[d]||(g[d]=[]),m.push(p),n&&(m=a[d]||(a[d]=[]),m.push({[Id]:p}));if(e=e||ove,s[Id]?s[Id]=MV[`${Id}_${e}`](...Object.values(s[Id])):Object.keys(s).forEach(S=>{s[S]=Object.keys(s[S]).map(O=>s[S][O]).reduce((O,k)=>O===void 0?k:MV[`${l[S]}_${e}`](O,k))}),o=Object.keys(a),n&&o.length){const S=r?HFt:GFt;s[S]=e===ove?{[sve]:o.reduce((O,k)=>(O.push(...a[k]),O),[])}:{[qFt]:o.map(O=>({[sve]:a[O]}))}}return s}var MV={[`${Id}_union`]:YSt,[`${Id}_intersect`]:qSt,E_union:function(t,e){if(!t.length)return e;for(var n=0,r=e.length;ne.indexOf(n)>=0):e},R_union:function(t,e){var n=qs(e[0]),r=qs(e[1]);return n>r&&(n=e[1],r=e[0]),t.length?(t[0]>n&&(t[0]=n),t[1]r&&(n=e[1],r=e[0]),t.length?rr&&(t[1]=r),t):[n,r]}};const oNt=":",sNt="@";function boe(t,e,n,r){e[0].type!==g1&&je("First argument to selection functions must be a string literal.");const i=e[0].value,o=e.length>=2&&$n(e).value,s="unit",a=sNt+s,l=oNt+i;o===xoe&&!vt(r,a)&&(r[a]=n.getData(i).indataRef(n,s)),vt(r,l)||(r[l]=n.getData(i).tuplesRef())}function W5e(t){const e=this.context.data[t];return e?e.values.value:[]}function aNt(t,e,n){const r=this.context.data[t]["index:"+e],i=r?r.value.get(n):void 0;return i&&i.count}function lNt(t,e){const n=this.context.dataflow,r=this.context.data[t],i=r.input;return n.pulse(i,n.changeset().remove(Tc).insert(e)),1}function uNt(t,e,n){if(t){const r=this.context.dataflow,i=t.mark.source;r.pulse(i,r.changeset().encode(t,e))}return n!==void 0?n:t}const MR=t=>function(e,n){const r=this.context.dataflow.locale();return e===null?"null":r[t](n)(e)},cNt=MR("format"),V5e=MR("timeFormat"),fNt=MR("utcFormat"),dNt=MR("timeParse"),hNt=MR("utcParse"),YI=new Date(2e3,0,1);function QB(t,e,n){return!Number.isInteger(t)||!Number.isInteger(e)?"":(YI.setYear(2e3),YI.setMonth(t),YI.setDate(e),V5e.call(this,YI,n))}function pNt(t){return QB.call(this,t,1,"%B")}function gNt(t){return QB.call(this,t,1,"%b")}function mNt(t){return QB.call(this,0,2+t,"%A")}function vNt(t){return QB.call(this,0,2+t,"%a")}const yNt=":",xNt="@",sY="%",G5e="$";function woe(t,e,n,r){e[0].type!==g1&&je("First argument to data functions must be a string literal.");const i=e[0].value,o=yNt+i;if(!vt(o,r))try{r[o]=n.getData(i).tuplesRef()}catch{}}function bNt(t,e,n,r){e[0].type!==g1&&je("First argument to indata must be a string literal."),e[1].type!==g1&&je("Second argument to indata must be a string literal.");const i=e[0].value,o=e[1].value,s=xNt+o;vt(s,r)||(r[s]=n.getData(i).indataRef(n,o))}function Oa(t,e,n,r){if(e[0].type===g1)lve(n,r,e[0].value);else for(t in n.scales)lve(n,r,t)}function lve(t,e,n){const r=sY+n;if(!vt(e,r))try{e[r]=t.scaleRef(n)}catch{}}function Vh(t,e){if(fn(t))return t;if(gt(t)){const n=e.scales[t];return n&&Mkt(n.value)?n.value:void 0}}function wNt(t,e,n){e.__bandwidth=i=>i&&i.bandwidth?i.bandwidth():0,n._bandwidth=Oa,n._range=Oa,n._scale=Oa;const r=i=>"_["+(i.type===g1?rt(sY+i.value):rt(sY)+"+"+t(i))+"]";return{_bandwidth:i=>`this.__bandwidth(${r(i[0])})`,_range:i=>`${r(i[0])}.range()`,_scale:i=>`${r(i[0])}(${t(i[1])})`}}function _oe(t,e){return function(n,r,i){if(n){const o=Vh(n,(i||this).context);return o&&o.path[t](r)}else return e(r)}}const _Nt=_oe("area",HRt),SNt=_oe("bounds",QRt),CNt=_oe("centroid",nDt);function ONt(t,e){const n=Vh(t,(e||this).context);return n&&n.scale()}function ENt(t){const e=this.context.group;let n=!1;if(e)for(;t;){if(t===e){n=!0;break}t=t.mark.group}return n}function Soe(t,e,n){try{t[e].apply(t,["EXPRESSION"].concat([].slice.call(n)))}catch(r){t.warn(r)}return n[n.length-1]}function TNt(){return Soe(this.context.dataflow,"warn",arguments)}function kNt(){return Soe(this.context.dataflow,"info",arguments)}function ANt(){return Soe(this.context.dataflow,"debug",arguments)}function RV(t){const e=t/255;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}function aY(t){const e=sy(t),n=RV(e.r),r=RV(e.g),i=RV(e.b);return .2126*n+.7152*r+.0722*i}function PNt(t,e){const n=aY(t),r=aY(e),i=Math.max(n,r),o=Math.min(n,r);return(i+.05)/(o+.05)}function MNt(){const t=[].slice.call(arguments);return t.unshift({}),un(...t)}function H5e(t,e){return t===e||t!==t&&e!==e?!0:We(t)?We(e)&&t.length===e.length?RNt(t,e):!1:ht(t)&&ht(e)?q5e(t,e):!1}function RNt(t,e){for(let n=0,r=t.length;nq5e(t,e)}function DNt(t,e,n,r,i,o){const s=this.context.dataflow,a=this.context.data[t],l=a.input,u=s.stamp();let c=a.changes,f,d;if(s._trigger===!1||!(l.value.length||e||r))return 0;if((!c||c.stamp{a.modified=!0,s.pulse(l,c).run()},!0,1)),n&&(f=n===!0?Tc:We(n)||tB(n)?n:uve(n),c.remove(f)),e&&c.insert(e),r&&(f=uve(r),l.value.some(f)?c.remove(f):c.insert(r)),i)for(d in o)c.modify(i,d,o[d]);return 1}function INt(t){const e=t.touches,n=e[0].clientX-e[1].clientX,r=e[0].clientY-e[1].clientY;return Math.hypot(n,r)}function LNt(t){const e=t.touches;return Math.atan2(e[0].clientY-e[1].clientY,e[0].clientX-e[1].clientX)}const cve={};function $Nt(t,e){const n=cve[e]||(cve[e]=Ec(e));return We(t)?t.map(n):n(t)}function Coe(t){return We(t)||ArrayBuffer.isView(t)?t:null}function Ooe(t){return Coe(t)||(gt(t)?t:null)}function FNt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;r1?e-1:0),r=1;ro.stop(u(c),t(c))),o}function KNt(t,e,n){const r=Vh(t,(n||this).context);return function(i){return r?r.path.context(i)(e):""}}function ZNt(t){let e=null;return function(n){return n?MA(n,e=e||NS(t)):t}}const X5e=t=>t.data;function Y5e(t,e){const n=W5e.call(e,t);return n.root&&n.root.lookup||{}}function JNt(t,e,n){const r=Y5e(t,this),i=r[e],o=r[n];return i&&o?i.path(o).map(X5e):void 0}function e5t(t,e){const n=Y5e(t,this)[e];return n?n.ancestors().map(X5e):void 0}const Q5e=()=>typeof window<"u"&&window||null;function t5t(){const t=Q5e();return t?t.screen:{}}function n5t(){const t=Q5e();return t?[t.innerWidth,t.innerHeight]:[void 0,void 0]}function r5t(){const t=this.context.dataflow,e=t.container&&t.container();return e?[e.clientWidth,e.clientHeight]:[void 0,void 0]}function K5e(t,e,n){if(!t)return[];const[r,i]=t,o=new co().set(r[0],r[1],i[0],i[1]),s=n||this.context.dataflow.scenegraph().root;return IFe(s,o,i5t(e))}function i5t(t){let e=null;if(t){const n=pt(t.marktype),r=pt(t.markname);e=i=>(!n.length||n.some(o=>i.marktype===o))&&(!r.length||r.some(o=>i.name===o))}return e}function o5t(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5;t=pt(t);const i=t[t.length-1];return i===void 0||Math.hypot(i[0]-e,i[1]-n)>r?[...t,[e,n]]:t}function s5t(t){return pt(t).reduce((e,n,r)=>{let[i,o]=n;return e+=r==0?`M ${i},${o} `:r===t.length-1?" Z":`L ${i},${o} `},"")}function a5t(t,e,n){const{x:r,y:i,mark:o}=n,s=new co().set(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER,Number.MIN_SAFE_INTEGER,Number.MIN_SAFE_INTEGER);for(const[l,u]of e)ls.x2&&(s.x2=l),us.y2&&(s.y2=u);return s.translate(r,i),K5e([[s.x1,s.y1],[s.x2,s.y2]],t,o).filter(l=>l5t(l.x,l.y,e))}function l5t(t,e,n){let r=0;for(let i=0,o=n.length-1;ie!=a>e&&t<(s-l)*(e-u)/(a-u)+l&&r++}return r&1}const UA={random(){return Ac()},cumulativeNormal:sB,cumulativeLogNormal:Tne,cumulativeUniform:Mne,densityNormal:_ne,densityLogNormal:Ene,densityUniform:Pne,quantileNormal:aB,quantileLogNormal:kne,quantileUniform:Rne,sampleNormal:oB,sampleLogNormal:One,sampleUniform:Ane,isArray:We,isBoolean:Ny,isDate:Fv,isDefined(t){return t!==void 0},isNumber:Jn,isObject:ht,isRegExp:eIe,isString:gt,isTuple:tB,isValid(t){return t!=null&&t===t},toBoolean:tne,toDate(t){return nne(t)},toNumber:qs,toString:rne,indexof:NNt,join:FNt,lastindexof:zNt,replace:BNt,reverse:UNt,slice:jNt,flush:ZDe,lerp:tIe,merge:MNt,pad:iIe,peek:$n,pluck:$Nt,span:tR,inrange:i_,truncate:oIe,rgb:sy,lab:PN,hcl:MN,hsl:kN,luminance:aY,contrast:PNt,sequence:ol,format:cNt,utcFormat:fNt,utcParse:hNt,utcOffset:NIe,utcSequence:BIe,timeFormat:V5e,timeParse:dNt,timeOffset:FIe,timeSequence:jIe,timeUnitSpecifier:EIe,monthFormat:pNt,monthAbbrevFormat:gNt,dayFormat:mNt,dayAbbrevFormat:vNt,quarter:XDe,utcquarter:YDe,week:kIe,utcweek:MIe,dayofyear:TIe,utcdayofyear:PIe,warn:TNt,info:kNt,debug:ANt,extent(t){return Ch(t)},inScope:ENt,intersect:K5e,clampRange:QDe,pinchDistance:INt,pinchAngle:LNt,screen:t5t,containerSize:r5t,windowSize:n5t,bandspace:WNt,setdata:lNt,pathShape:ZNt,panLinear:VDe,panLog:GDe,panPow:HDe,panSymlog:qDe,zoomLinear:Yte,zoomLog:Qte,zoomPow:hN,zoomSymlog:Kte,encode:uNt,modify:DNt,lassoAppend:o5t,lassoPath:s5t,intersectLasso:a5t},u5t=["view","item","group","xy","x","y"],c5t="event.vega.",Z5e="this.",Eoe={},J5e={forbidden:["_"],allowed:["datum","event","item"],fieldvar:"datum",globalvar:t=>`_[${rt(G5e+t)}]`,functions:f5t,constants:N5e,visitors:Eoe},lY=j5e(J5e);function f5t(t){const e=z5e(t);u5t.forEach(n=>e[n]=c5t+n);for(const n in UA)e[n]=Z5e+n;return un(e,wNt(t,UA,Eoe)),e}function Ki(t,e,n){return arguments.length===1?UA[t]:(UA[t]=e,n&&(Eoe[t]=n),lY&&(lY.functions[t]=Z5e+t),this)}Ki("bandwidth",VNt,Oa);Ki("copy",GNt,Oa);Ki("domain",HNt,Oa);Ki("range",XNt,Oa);Ki("invert",qNt,Oa);Ki("scale",YNt,Oa);Ki("gradient",QNt,Oa);Ki("geoArea",_Nt,Oa);Ki("geoBounds",SNt,Oa);Ki("geoCentroid",CNt,Oa);Ki("geoShape",KNt,Oa);Ki("geoScale",ONt,Oa);Ki("indata",aNt,bNt);Ki("data",W5e,woe);Ki("treePath",JNt,woe);Ki("treeAncestors",e5t,woe);Ki("vlSelectionTest",JFt,boe);Ki("vlSelectionIdTest",nNt,boe);Ki("vlSelectionResolve",iNt,boe);Ki("vlSelectionTuples",rNt);function Ah(t,e){const n={};let r;try{t=gt(t)?t:rt(t)+"",r=yoe(t)}catch{je("Expression parse error: "+t)}r.visit(o=>{if(o.type!==M5e)return;const s=o.callee.name,a=J5e.visitors[s];a&&a(s,o.arguments,e,n)});const i=lY(r);return i.globals.forEach(o=>{const s=G5e+o;!vt(n,s)&&e.getSignal(o)&&(n[s]=e.signalRef(o))}),{$expr:un({code:i.code},e.options.ast?{ast:r}:null),$fields:i.fields,$params:n}}function d5t(t){const e=this,n=t.operators||[];return t.background&&(e.background=t.background),t.eventConfig&&(e.eventConfig=t.eventConfig),t.locale&&(e.locale=t.locale),n.forEach(r=>e.parseOperator(r)),n.forEach(r=>e.parseOperatorParameters(r)),(t.streams||[]).forEach(r=>e.parseStream(r)),(t.updates||[]).forEach(r=>e.parseUpdate(r)),e.resolve()}const h5t=Wf(["rule"]),fve=Wf(["group","image","rect"]);function p5t(t,e){let n="";return h5t[e]||(t.x2&&(t.x?(fve[e]&&(n+="if(o.x>o.x2)$=o.x,o.x=o.x2,o.x2=$;"),n+="o.width=o.x2-o.x;"):n+="o.x=o.x2-(o.width||0);"),t.xc&&(n+="o.x=o.xc-(o.width||0)/2;"),t.y2&&(t.y?(fve[e]&&(n+="if(o.y>o.y2)$=o.y,o.y=o.y2,o.y2=$;"),n+="o.height=o.y2-o.y;"):n+="o.y=o.y2-(o.height||0);"),t.yc&&(n+="o.y=o.yc-(o.height||0)/2;")),n}function Toe(t){return(t+"").toLowerCase()}function g5t(t){return Toe(t)==="operator"}function m5t(t){return Toe(t)==="collect"}function t2(t,e,n){n.endsWith(";")||(n="return("+n+");");const r=Function(...e.concat(n));return t&&t.functions?r.bind(t.functions):r}function v5t(t,e,n,r){return`((u = ${t}) < (v = ${e}) || u == null) && v != null ? ${n} + : (u > v || v == null) && u != null ? ${r} + : ((v = v instanceof Date ? +v : v), (u = u instanceof Date ? +u : u)) !== u && v === v ? ${n} + : v !== v && u === u ? ${r} : `}var y5t={operator:(t,e)=>t2(t,["_"],e.code),parameter:(t,e)=>t2(t,["datum","_"],e.code),event:(t,e)=>t2(t,["event"],e.code),handler:(t,e)=>{const n=`var datum=event.item&&event.item.datum;return ${e.code};`;return t2(t,["_","event"],n)},encode:(t,e)=>{const{marktype:n,channels:r}=e;let i="var o=item,datum=o.datum,m=0,$;";for(const o in r){const s="o["+rt(o)+"]";i+=`$=${r[o].code};if(${s}!==$)${s}=$,m=1;`}return i+=p5t(r,n),i+="return m;",t2(t,["item","_"],i)},codegen:{get(t){const e=`[${t.map(rt).join("][")}]`,n=Function("_",`return _${e};`);return n.path=e,n},comparator(t,e){let n;const r=(o,s)=>{const a=e[s];let l,u;return o.path?(l=`a${o.path}`,u=`b${o.path}`):((n=n||{})["f"+s]=o,l=`this.f${s}(a)`,u=`this.f${s}(b)`),v5t(l,u,-a,a)},i=Function("a","b","var u, v; return "+t.map(r).join("")+"0;");return n?i.bind(n):i}}};function x5t(t){const e=this;g5t(t.type)||!t.type?e.operator(t,t.update?e.operatorExpression(t.update):null):e.transform(t,t.type)}function b5t(t){const e=this;if(t.params){const n=e.get(t.id);n||je("Invalid operator id: "+t.id),e.dataflow.connect(n,n.parameters(e.parseParameters(t.params),t.react,t.initonly))}}function w5t(t,e){e=e||{};const n=this;for(const r in t){const i=t[r];e[r]=We(i)?i.map(o=>dve(o,n,e)):dve(i,n,e)}return e}function dve(t,e,n){if(!t||!ht(t))return t;for(let r=0,i=hve.length,o;ri&&i.$tupleid?zt:i);return e.fn[n]||(e.fn[n]=Zte(r,t.$order,e.expr.codegen))}function T5t(t,e){const n=t.$encode,r={};for(const i in n){const o=n[i];r[i]=kl(e.encodeExpression(o.$expr),o.$fields),r[i].output=o.$output}return r}function k5t(t,e){return e}function A5t(t,e){const n=t.$subflow;return function(r,i,o){const s=e.fork().parse(n),a=s.get(n.operators[0].id),l=s.signals.parent;return l&&l.set(o),a.detachSubflow=()=>e.detach(s),a}}function P5t(){return zt}function M5t(t){var e=this,n=t.filter!=null?e.eventExpression(t.filter):void 0,r=t.stream!=null?e.get(t.stream):void 0,i;t.source?r=e.events(t.source,t.type,n):t.merge&&(i=t.merge.map(o=>e.get(o)),r=i[0].merge.apply(i[0],i.slice(1))),t.between&&(i=t.between.map(o=>e.get(o)),r=r.between(i[0],i[1])),t.filter&&(r=r.filter(n)),t.throttle!=null&&(r=r.throttle(+t.throttle)),t.debounce!=null&&(r=r.debounce(+t.debounce)),r==null&&je("Invalid stream definition: "+JSON.stringify(t)),t.consume&&r.consume(!0),e.stream(t,r)}function R5t(t){var e=this,n=ht(n=t.source)?n.$ref:n,r=e.get(n),i=null,o=t.update,s=void 0;r||je("Source not defined: "+t.source),i=t.target&&t.target.$expr?e.eventExpression(t.target.$expr):e.get(t.target),o&&o.$expr&&(o.$params&&(s=e.parseParameters(o.$params)),o=e.handlerExpression(o.$expr)),e.update(t,r,i,o,s)}const D5t={skip:!0};function I5t(t){var e=this,n={};if(t.signals){var r=n.signals={};Object.keys(e.signals).forEach(o=>{const s=e.signals[o];t.signals(o,s)&&(r[o]=s.value)})}if(t.data){var i=n.data={};Object.keys(e.data).forEach(o=>{const s=e.data[o];t.data(o,s)&&(i[o]=s.input.value)})}return e.subcontext&&t.recurse!==!1&&(n.subcontext=e.subcontext.map(o=>o.getState(t))),n}function L5t(t){var e=this,n=e.dataflow,r=t.data,i=t.signals;Object.keys(i||{}).forEach(o=>{n.update(e.signals[o],i[o],D5t)}),Object.keys(r||{}).forEach(o=>{n.pulse(e.data[o].input,n.changeset().remove(Tc).insert(r[o]))}),(t.subcontext||[]).forEach((o,s)=>{const a=e.subcontext[s];a&&a.setState(o)})}function eze(t,e,n,r){return new tze(t,e,n,r)}function tze(t,e,n,r){this.dataflow=t,this.transforms=e,this.events=t.events.bind(t),this.expr=r||y5t,this.signals={},this.scales={},this.nodes={},this.data={},this.fn={},n&&(this.functions=Object.create(n),this.functions.context=this)}function pve(t){this.dataflow=t.dataflow,this.transforms=t.transforms,this.events=t.events,this.expr=t.expr,this.signals=Object.create(t.signals),this.scales=Object.create(t.scales),this.nodes=Object.create(t.nodes),this.data=Object.create(t.data),this.fn=Object.create(t.fn),t.functions&&(this.functions=Object.create(t.functions),this.functions.context=this)}tze.prototype=pve.prototype={fork(){const t=new pve(this);return(this.subcontext||(this.subcontext=[])).push(t),t},detach(t){this.subcontext=this.subcontext.filter(n=>n!==t);const e=Object.keys(t.nodes);for(const n of e)t.nodes[n]._targets=null;for(const n of e)t.nodes[n].detach();t.nodes=null},get(t){return this.nodes[t]},set(t,e){return this.nodes[t]=e},add(t,e){const n=this,r=n.dataflow,i=t.value;if(n.set(t.id,e),m5t(t.type)&&i&&(i.$ingest?r.ingest(e,i.$ingest,i.$format):i.$request?r.preload(e,i.$request,i.$format):r.pulse(e,r.changeset().insert(i))),t.root&&(n.root=e),t.parent){let o=n.get(t.parent.$ref);o?(r.connect(o,[e]),e.targets().add(o)):(n.unresolved=n.unresolved||[]).push(()=>{o=n.get(t.parent.$ref),r.connect(o,[e]),e.targets().add(o)})}if(t.signal&&(n.signals[t.signal]=e),t.scale&&(n.scales[t.scale]=e),t.data)for(const o in t.data){const s=n.data[o]||(n.data[o]={});t.data[o].forEach(a=>s[a]=e)}},resolve(){return(this.unresolved||[]).forEach(t=>t()),delete this.unresolved,this},operator(t,e){this.add(t,this.dataflow.add(t.value,e))},transform(t,e){this.add(t,this.dataflow.add(this.transforms[Toe(e)]))},stream(t,e){this.set(t.id,e)},update(t,e,n,r,i){this.dataflow.on(e,n,r,i,t.options)},operatorExpression(t){return this.expr.operator(this,t)},parameterExpression(t){return this.expr.parameter(this,t)},eventExpression(t){return this.expr.event(this,t)},handlerExpression(t){return this.expr.handler(this,t)},encodeExpression(t){return this.expr.encode(this,t)},parse:d5t,parseOperator:x5t,parseOperatorParameters:b5t,parseParameters:w5t,parseStream:M5t,parseUpdate:R5t,getState:I5t,setState:L5t};function $5t(t){const e=t.container();e&&(e.setAttribute("role","graphics-document"),e.setAttribute("aria-roleDescription","visualization"),nze(e,t.description()))}function nze(t,e){t&&(e==null?t.removeAttribute("aria-label"):t.setAttribute("aria-label",e))}function F5t(t){t.add(null,e=>(t._background=e.bg,t._resize=1,e.bg),{bg:t._signals.background})}const DV="default";function N5t(t){const e=t._signals.cursor||(t._signals.cursor=t.add({user:DV,item:null}));t.on(t.events("view","pointermove"),e,(n,r)=>{const i=e.value,o=i?gt(i)?i:i.user:DV,s=r.item&&r.item.cursor||null;return i&&o===i.user&&s==i.item?i:{user:o,item:s}}),t.add(null,function(n){let r=n.cursor,i=this.value;return gt(r)||(i=r.item,r=r.user),uY(t,r&&r!==DV?r:i||r),i},{cursor:e})}function uY(t,e){const n=t.globalCursor()?typeof document<"u"&&document.body:t.container();if(n)return e==null?n.style.removeProperty("cursor"):n.style.cursor=e}function E5(t,e){var n=t._runtime.data;return vt(n,e)||je("Unrecognized data set: "+e),n[e]}function z5t(t,e){return arguments.length<2?E5(this,t).values.value:KB.call(this,t,sb().remove(Tc).insert(e))}function KB(t,e){pLe(e)||je("Second argument to changes must be a changeset.");const n=E5(this,t);return n.modified=!0,this.pulse(n.input,e)}function j5t(t,e){return KB.call(this,t,sb().insert(e))}function B5t(t,e){return KB.call(this,t,sb().remove(e))}function rze(t){var e=t.padding();return Math.max(0,t._viewWidth+e.left+e.right)}function ize(t){var e=t.padding();return Math.max(0,t._viewHeight+e.top+e.bottom)}function ZB(t){var e=t.padding(),n=t._origin;return[e.left+n[0],e.top+n[1]]}function U5t(t){var e=ZB(t),n=rze(t),r=ize(t);t._renderer.background(t.background()),t._renderer.resize(n,r,e),t._handler.origin(e),t._resizeListeners.forEach(i=>{try{i(n,r)}catch(o){t.error(o)}})}function W5t(t,e,n){var r=t._renderer,i=r&&r.canvas(),o,s,a;return i&&(a=ZB(t),s=e.changedTouches?e.changedTouches[0]:e,o=NB(s,i),o[0]-=a[0],o[1]-=a[1]),e.dataflow=t,e.item=n,e.vega=V5t(t,n,o),e}function V5t(t,e,n){const r=e?e.mark.marktype==="group"?e:e.mark.group:null;function i(s){var a=r,l;if(s){for(l=e;l;l=l.mark.group)if(l.mark.name===s){a=l;break}}return a&&a.mark&&a.mark.interactive?a:{}}function o(s){if(!s)return n;gt(s)&&(s=i(s));const a=n.slice();for(;s;)a[0]-=s.x||0,a[1]-=s.y||0,s=s.mark&&s.mark.group;return a}return{view:ta(t),item:ta(e||{}),group:i,xy:o,x:s=>o(s)[0],y:s=>o(s)[1]}}const gve="view",G5t="timer",H5t="window",q5t={trap:!1};function X5t(t){const e=un({defaults:{}},t),n=(r,i)=>{i.forEach(o=>{We(r[o])&&(r[o]=Wf(r[o]))})};return n(e.defaults,["prevent","allow"]),n(e,["view","window","selector"]),e}function oze(t,e,n,r){t._eventListeners.push({type:n,sources:pt(e),handler:r})}function Y5t(t,e){var n=t._eventConfig.defaults,r=n.prevent,i=n.allow;return r===!1||i===!0?!1:r===!0||i===!1?!0:r?r[e]:i?!i[e]:t.preventDefault()}function QI(t,e,n){const r=t._eventConfig&&t._eventConfig[e];return r===!1||ht(r)&&!r[n]?(t.warn(`Blocked ${e} ${n} event listener.`),!1):!0}function Q5t(t,e,n){var r=this,i=new iB(n),o=function(u,c){r.runAsync(null,()=>{t===gve&&Y5t(r,e)&&u.preventDefault(),i.receive(W5t(r,u,c))})},s;if(t===G5t)QI(r,"timer",e)&&r.timer(o,e);else if(t===gve)QI(r,"view",e)&&r.addEventListener(e,o,q5t);else if(t===H5t?QI(r,"window",e)&&typeof window<"u"&&(s=[window]):typeof document<"u"&&QI(r,"selector",e)&&(s=Array.from(document.querySelectorAll(t))),!s)r.warn("Can not resolve event source: "+t);else{for(var a=0,l=s.length;a=0;)e[i].stop();for(i=r.length;--i>=0;)for(s=r[i],o=s.sources.length;--o>=0;)s.sources[o].removeEventListener(s.type,s.handler);for(t&&t.call(this,this._handler,null,null,null),i=n.length;--i>=0;)l=n[i].type,a=n[i].handler,this._handler.off(l,a);return this}function hu(t,e,n){const r=document.createElement(t);for(const i in e)r.setAttribute(i,e[i]);return n!=null&&(r.textContent=n),r}const J5t="vega-bind",ezt="vega-bind-name",tzt="vega-bind-radio";function nzt(t,e,n){if(!e)return;const r=n.param;let i=n.state;return i||(i=n.state={elements:null,active:!1,set:null,update:s=>{s!=t.signal(r.signal)&&t.runAsync(null,()=>{i.source=!0,t.signal(r.signal,s)})}},r.debounce&&(i.update=Jte(r.debounce,i.update))),(r.input==null&&r.element?rzt:ozt)(i,e,r,t),i.active||(t.on(t._signals[r.signal],null,()=>{i.source?i.source=!1:i.set(t.signal(r.signal))}),i.active=!0),i}function rzt(t,e,n,r){const i=n.event||"input",o=()=>t.update(e.value);r.signal(n.signal,e.value),e.addEventListener(i,o),oze(r,e,i,o),t.set=s=>{e.value=s,e.dispatchEvent(izt(i))}}function izt(t){return typeof Event<"u"?new Event(t):{type:t}}function ozt(t,e,n,r){const i=r.signal(n.signal),o=hu("div",{class:J5t}),s=n.input==="radio"?o:o.appendChild(hu("label"));s.appendChild(hu("span",{class:ezt},n.name||n.signal)),e.appendChild(o);let a=szt;switch(n.input){case"checkbox":a=azt;break;case"select":a=lzt;break;case"radio":a=uzt;break;case"range":a=czt;break}a(t,s,n,i)}function szt(t,e,n,r){const i=hu("input");for(const o in n)o!=="signal"&&o!=="element"&&i.setAttribute(o==="input"?"type":o,n[o]);i.setAttribute("name",n.signal),i.value=r,e.appendChild(i),i.addEventListener("input",()=>t.update(i.value)),t.elements=[i],t.set=o=>i.value=o}function azt(t,e,n,r){const i={type:"checkbox",name:n.signal};r&&(i.checked=!0);const o=hu("input",i);e.appendChild(o),o.addEventListener("change",()=>t.update(o.checked)),t.elements=[o],t.set=s=>o.checked=!!s||null}function lzt(t,e,n,r){const i=hu("select",{name:n.signal}),o=n.labels||[];n.options.forEach((s,a)=>{const l={value:s};T5(s,r)&&(l.selected=!0),i.appendChild(hu("option",l,(o[a]||s)+""))}),e.appendChild(i),i.addEventListener("change",()=>{t.update(n.options[i.selectedIndex])}),t.elements=[i],t.set=s=>{for(let a=0,l=n.options.length;a{const l={type:"radio",name:n.signal,value:s};T5(s,r)&&(l.checked=!0);const u=hu("input",l);u.addEventListener("change",()=>t.update(s));const c=hu("label",{},(o[a]||s)+"");return c.prepend(u),i.appendChild(c),u}),t.set=s=>{const a=t.elements,l=a.length;for(let u=0;u{l.textContent=a.value,t.update(+a.value)};a.addEventListener("input",u),a.addEventListener("change",u),t.elements=[a],t.set=c=>{a.value=c,l.textContent=c}}function T5(t,e){return t===e||t+""==e+""}function sze(t,e,n,r,i,o){return e=e||new r(t.loader()),e.initialize(n,rze(t),ize(t),ZB(t),i,o).background(t.background())}function koe(t,e){return e?function(){try{e.apply(this,arguments)}catch(n){t.error(n)}}:null}function fzt(t,e,n,r){const i=new r(t.loader(),koe(t,t.tooltip())).scene(t.scenegraph().root).initialize(n,ZB(t),t);return e&&e.handlers().forEach(o=>{i.on(o.type,o.handler)}),i}function dzt(t,e){const n=this,r=n._renderType,i=n._eventConfig.bind,o=zB(r);t=n._el=t?IV(n,t,!0):null,$5t(n),o||n.error("Unrecognized renderer type: "+r);const s=o.handler||SR,a=t?o.renderer:o.headless;return n._renderer=a?sze(n,n._renderer,t,a):null,n._handler=fzt(n,n._handler,t,s),n._redraw=!0,t&&i!=="none"&&(e=e?n._elBind=IV(n,e,!0):t.appendChild(hu("form",{class:"vega-bindings"})),n._bind.forEach(l=>{l.param.element&&i!=="container"&&(l.element=IV(n,l.param.element,!!l.param.input))}),n._bind.forEach(l=>{nzt(n,l.element||e,l)})),n}function IV(t,e,n){if(typeof e=="string")if(typeof document<"u"){if(e=document.querySelector(e),!e)return t.error("Signal bind element not found: "+e),null}else return t.error("DOM document instance not found."),null;if(e&&n)try{e.textContent=""}catch(r){e=null,t.error(r)}return e}const n2=t=>+t||0,hzt=t=>({top:t,bottom:t,left:t,right:t});function xve(t){return ht(t)?{top:n2(t.top),bottom:n2(t.bottom),left:n2(t.left),right:n2(t.right)}:hzt(n2(t))}async function Aoe(t,e,n,r){const i=zB(e),o=i&&i.headless;return o||je("Unrecognized renderer type: "+e),await t.runAsync(),sze(t,null,null,o,n,r).renderAsync(t._scenegraph.root)}async function pzt(t,e){t!==pv.Canvas&&t!==pv.SVG&&t!==pv.PNG&&je("Unrecognized image type: "+t);const n=await Aoe(this,t,e);return t===pv.SVG?gzt(n.svg(),"image/svg+xml"):n.canvas().toDataURL("image/png")}function gzt(t,e){const n=new Blob([t],{type:e});return window.URL.createObjectURL(n)}async function mzt(t,e){return(await Aoe(this,pv.Canvas,t,e)).canvas()}async function vzt(t){return(await Aoe(this,pv.SVG,t)).svg()}function yzt(t,e,n){return eze(t,RS,UA,n).parse(e)}function xzt(t){var e=this._runtime.scales;return vt(e,t)||je("Unrecognized scale or projection: "+t),e[t].value}var aze="width",lze="height",Poe="padding",bve={skip:!0};function uze(t,e){var n=t.autosize(),r=t.padding();return e-(n&&n.contains===Poe?r.left+r.right:0)}function cze(t,e){var n=t.autosize(),r=t.padding();return e-(n&&n.contains===Poe?r.top+r.bottom:0)}function bzt(t){var e=t._signals,n=e[aze],r=e[lze],i=e[Poe];function o(){t._autosize=t._resize=1}t._resizeWidth=t.add(null,a=>{t._width=a.size,t._viewWidth=uze(t,a.size),o()},{size:n}),t._resizeHeight=t.add(null,a=>{t._height=a.size,t._viewHeight=cze(t,a.size),o()},{size:r});const s=t.add(null,o,{pad:i});t._resizeWidth.rank=n.rank+1,t._resizeHeight.rank=r.rank+1,s.rank=i.rank+1}function wzt(t,e,n,r,i,o){this.runAfter(s=>{let a=0;s._autosize=0,s.width()!==n&&(a=1,s.signal(aze,n,bve),s._resizeWidth.skip(!0)),s.height()!==r&&(a=1,s.signal(lze,r,bve),s._resizeHeight.skip(!0)),s._viewWidth!==t&&(s._resize=1,s._viewWidth=t),s._viewHeight!==e&&(s._resize=1,s._viewHeight=e),(s._origin[0]!==i[0]||s._origin[1]!==i[1])&&(s._resize=1,s._origin=i),a&&s.run("enter"),o&&s.runAfter(l=>l.resize())},!1,1)}function _zt(t){return this._runtime.getState(t||{data:Szt,signals:Czt,recurse:!0})}function Szt(t,e){return e.modified&&We(e.input.value)&&!t.startsWith("_:vega:_")}function Czt(t,e){return!(t==="parent"||e instanceof RS.proxy)}function Ozt(t){return this.runAsync(null,e=>{e._trigger=!1,e._runtime.setState(t)},e=>{e._trigger=!0}),this}function Ezt(t,e){function n(r){t({timestamp:Date.now(),elapsed:r})}this._timers.push(rLt(n,e))}function Tzt(t,e,n,r){const i=t.element();i&&i.setAttribute("title",kzt(r))}function kzt(t){return t==null?"":We(t)?fze(t):ht(t)&&!Fv(t)?Azt(t):t+""}function Azt(t){return Object.keys(t).map(e=>{const n=t[e];return e+": "+(We(n)?fze(n):dze(n))}).join(` +`)}function fze(t){return"["+t.map(dze).join(", ")+"]"}function dze(t){return We(t)?"[…]":ht(t)&&!Fv(t)?"{…}":t}function Pzt(){if(this.renderer()==="canvas"&&this._renderer._canvas){let t=null;const e=()=>{t!=null&&t();const n=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`);n.addEventListener("change",e),t=()=>{n.removeEventListener("change",e)},this._renderer._canvas.getContext("2d").pixelRatio=window.devicePixelRatio||1,this._redraw=!0,this._resize=1,this.resize().runAsync()};e()}}function hze(t,e){const n=this;if(e=e||{},M_.call(n),e.loader&&n.loader(e.loader),e.logger&&n.logger(e.logger),e.logLevel!=null&&n.logLevel(e.logLevel),e.locale||t.locale){const o=un({},t.locale,e.locale);n.locale(iLe(o.number,o.time))}n._el=null,n._elBind=null,n._renderType=e.renderer||pv.Canvas,n._scenegraph=new aFe;const r=n._scenegraph.root;n._renderer=null,n._tooltip=e.tooltip||Tzt,n._redraw=!0,n._handler=new SR().scene(r),n._globalCursor=!1,n._preventDefault=!1,n._timers=[],n._eventListeners=[],n._resizeListeners=[],n._eventConfig=X5t(t.eventConfig),n.globalCursor(n._eventConfig.globalCursor);const i=yzt(n,t,e.expr);n._runtime=i,n._signals=i.signals,n._bind=(t.bindings||[]).map(o=>({state:null,param:un({},o)})),i.root&&i.root.set(r),r.source=i.data.root.input,n.pulse(i.data.root.input,n.changeset().insert(r.items)),n._width=n.width(),n._height=n.height(),n._viewWidth=uze(n,n._width),n._viewHeight=cze(n,n._height),n._origin=[0,0],n._resize=0,n._autosize=1,bzt(n),F5t(n),N5t(n),n.description(t.description),e.hover&&n.hover(),e.container&&n.initialize(e.container,e.bind),e.watchPixelRatio&&n._watchPixelRatio()}function KI(t,e){return vt(t._signals,e)?t._signals[e]:je("Unrecognized signal name: "+rt(e))}function pze(t,e){const n=(t._targets||[]).filter(r=>r._update&&r._update.handler===e);return n.length?n[0]:null}function wve(t,e,n,r){let i=pze(n,r);return i||(i=koe(t,()=>r(e,n.value)),i.handler=r,t.on(n,null,i)),t}function _ve(t,e,n){const r=pze(e,n);return r&&e._targets.remove(r),t}it(hze,M_,{async evaluate(t,e,n){if(await M_.prototype.evaluate.call(this,t,e),this._redraw||this._resize)try{this._renderer&&(this._resize&&(this._resize=0,U5t(this)),await this._renderer.renderAsync(this._scenegraph.root)),this._redraw=!1}catch(r){this.error(r)}return n&&f3(this,n),this},dirty(t){this._redraw=!0,this._renderer&&this._renderer.dirty(t)},description(t){if(arguments.length){const e=t!=null?t+"":null;return e!==this._desc&&nze(this._el,this._desc=e),this}return this._desc},container(){return this._el},scenegraph(){return this._scenegraph},origin(){return this._origin.slice()},signal(t,e,n){const r=KI(this,t);return arguments.length===1?r.value:this.update(r,e,n)},width(t){return arguments.length?this.signal("width",t):this.signal("width")},height(t){return arguments.length?this.signal("height",t):this.signal("height")},padding(t){return arguments.length?this.signal("padding",xve(t)):xve(this.signal("padding"))},autosize(t){return arguments.length?this.signal("autosize",t):this.signal("autosize")},background(t){return arguments.length?this.signal("background",t):this.signal("background")},renderer(t){return arguments.length?(zB(t)||je("Unrecognized renderer type: "+t),t!==this._renderType&&(this._renderType=t,this._resetRenderer()),this):this._renderType},tooltip(t){return arguments.length?(t!==this._tooltip&&(this._tooltip=t,this._resetRenderer()),this):this._tooltip},loader(t){return arguments.length?(t!==this._loader&&(M_.prototype.loader.call(this,t),this._resetRenderer()),this):this._loader},resize(){return this._autosize=1,this.touch(KI(this,"autosize"))},_resetRenderer(){this._renderer&&(this._renderer=null,this.initialize(this._el,this._elBind))},_resizeView:wzt,addEventListener(t,e,n){let r=e;return n&&n.trap===!1||(r=koe(this,e),r.raw=e),this._handler.on(t,r),this},removeEventListener(t,e){for(var n=this._handler.handlers(t),r=n.length,i,o;--r>=0;)if(o=n[r].type,i=n[r].handler,t===o&&(e===i||e===i.raw)){this._handler.off(o,i);break}return this},addResizeListener(t){const e=this._resizeListeners;return e.includes(t)||e.push(t),this},removeResizeListener(t){var e=this._resizeListeners,n=e.indexOf(t);return n>=0&&e.splice(n,1),this},addSignalListener(t,e){return wve(this,t,KI(this,t),e)},removeSignalListener(t,e){return _ve(this,KI(this,t),e)},addDataListener(t,e){return wve(this,t,E5(this,t).values,e)},removeDataListener(t,e){return _ve(this,E5(this,t).values,e)},globalCursor(t){if(arguments.length){if(this._globalCursor!==!!t){const e=uY(this,null);this._globalCursor=!!t,e&&uY(this,e)}return this}else return this._globalCursor},preventDefault(t){return arguments.length?(this._preventDefault=t,this):this._preventDefault},timer:Ezt,events:Q5t,finalize:Z5t,hover:K5t,data:z5t,change:KB,insert:j5t,remove:B5t,scale:xzt,initialize:dzt,toImageURL:pzt,toCanvas:mzt,toSVG:vzt,getState:_zt,setState:Ozt,_watchPixelRatio:Pzt});const Mzt="view",k5="[",A5="]",gze="{",mze="}",Rzt=":",vze=",",Dzt="@",Izt=">",Lzt=/[[\]{}]/,$zt={"*":1,arc:1,area:1,group:1,image:1,line:1,path:1,rect:1,rule:1,shape:1,symbol:1,text:1,trail:1};let yze,xze;function Vy(t,e,n){return yze=e||Mzt,xze=n||$zt,bze(t.trim()).map(cY)}function Fzt(t){return xze[t]}function pk(t,e,n,r,i){const o=t.length;let s=0,a;for(;e=0?--s:r&&r.indexOf(a)>=0&&++s}return e}function bze(t){const e=[],n=t.length;let r=0,i=0;for(;i' after between selector: "+t;r=r.map(cY);const i=cY(t.slice(1).trim());return i.between?{between:r,stream:i}:(i.between=r,i)}function zzt(t){const e={source:yze},n=[];let r=[0,0],i=0,o=0,s=t.length,a=0,l,u;if(t[s-1]===mze){if(a=t.lastIndexOf(gze),a>=0){try{r=jzt(t.substring(a+1,s-1))}catch{throw"Invalid throttle specification: "+t}t=t.slice(0,a).trim(),s=t.length}else throw"Unmatched right brace: "+t;a=0}if(!s)throw t;if(t[0]===Dzt&&(i=++a),l=pk(t,a,Rzt),l1?(e.type=n[1],i?e.markname=n[0].slice(1):Fzt(n[0])?e.marktype=n[0]:e.source=n[0]):e.type=n[0],e.type.slice(-1)==="!"&&(e.consume=!0,e.type=e.type.slice(0,-1)),u!=null&&(e.filter=u),r[0]&&(e.throttle=r[0]),r[1]&&(e.debounce=r[1]),e}function jzt(t){const e=t.split(vze);if(!t.length||e.length>2)throw t;return e.map(n=>{const r=+n;if(r!==r)throw t;return r})}function Bzt(t){return ht(t)?t:{type:t||"pad"}}const r2=t=>+t||0,Uzt=t=>({top:t,bottom:t,left:t,right:t});function Wzt(t){return ht(t)?t.signal?t:{top:r2(t.top),bottom:r2(t.bottom),left:r2(t.left),right:r2(t.right)}:Uzt(r2(t))}const No=t=>ht(t)&&!We(t)?un({},t):{value:t};function Sve(t,e,n,r){return n!=null?(ht(n)&&!We(n)||We(n)&&n.length&&ht(n[0])?t.update[e]=n:t[r||"enter"][e]={value:n},1):0}function _s(t,e,n){for(const r in e)Sve(t,r,e[r]);for(const r in n)Sve(t,r,n[r],"update")}function kO(t,e,n){for(const r in e)n&&vt(n,r)||(t[r]=un(t[r]||{},e[r]));return t}function $w(t,e){return e&&(e.enter&&e.enter[t]||e.update&&e.update[t])}const Moe="mark",Roe="frame",Doe="scope",Vzt="axis",Gzt="axis-domain",Hzt="axis-grid",qzt="axis-label",Xzt="axis-tick",Yzt="axis-title",Qzt="legend",Kzt="legend-band",Zzt="legend-entry",Jzt="legend-gradient",wze="legend-label",ejt="legend-symbol",tjt="legend-title",njt="title",rjt="title-text",ijt="title-subtitle";function ojt(t,e,n,r,i){const o={},s={};let a,l,u,c;l="lineBreak",e==="text"&&i[l]!=null&&!$w(l,t)&&LV(o,l,i[l]),(n=="legend"||String(n).startsWith("axis"))&&(n=null),c=n===Roe?i.group:n===Moe?un({},i.mark,i[e]):null;for(l in c)u=$w(l,t)||(l==="fill"||l==="stroke")&&($w("fill",t)||$w("stroke",t)),u||LV(o,l,c[l]);pt(r).forEach(f=>{const d=i.style&&i.style[f];for(const h in d)$w(h,t)||LV(o,h,d[h])}),t=un({},t);for(l in o)c=o[l],c.signal?(a=a||{})[l]=c:s[l]=c;return t.enter=un(s,t.enter),a&&(t.update=un(a,t.update)),t}function LV(t,e,n){t[e]=n&&n.signal?{signal:n.signal}:{value:n}}const _ze=t=>gt(t)?rt(t):t.signal?`(${t.signal})`:Sze(t);function JB(t){if(t.gradient!=null)return ajt(t);let e=t.signal?`(${t.signal})`:t.color?sjt(t.color):t.field!=null?Sze(t.field):t.value!==void 0?rt(t.value):void 0;return t.scale!=null&&(e=ljt(t,e)),e===void 0&&(e=null),t.exponent!=null&&(e=`pow(${e},${A3(t.exponent)})`),t.mult!=null&&(e+=`*${A3(t.mult)}`),t.offset!=null&&(e+=`+${A3(t.offset)}`),t.round&&(e=`round(${e})`),e}const ZI=(t,e,n,r)=>`(${t}(${[e,n,r].map(JB).join(",")})+'')`;function sjt(t){return t.c?ZI("hcl",t.h,t.c,t.l):t.h||t.s?ZI("hsl",t.h,t.s,t.l):t.l||t.a?ZI("lab",t.l,t.a,t.b):t.r||t.g||t.b?ZI("rgb",t.r,t.g,t.b):null}function ajt(t){const e=[t.start,t.stop,t.count].map(n=>n==null?null:rt(n));for(;e.length&&$n(e)==null;)e.pop();return e.unshift(_ze(t.gradient)),`gradient(${e.join(",")})`}function A3(t){return ht(t)?"("+JB(t)+")":t}function Sze(t){return Cze(ht(t)?t:{datum:t})}function Cze(t){let e,n,r;if(t.signal)e="datum",r=t.signal;else if(t.group||t.parent){for(n=Math.max(1,t.level||1),e="item";n-- >0;)e+=".mark.group";t.parent?(r=t.parent,e+=".datum"):r=t.group}else t.datum?(e="datum",r=t.datum):je("Invalid field reference: "+rt(t));return t.signal||(r=gt(r)?zh(r).map(rt).join("]["):Cze(r)),e+"["+r+"]"}function ljt(t,e){const n=_ze(t.scale);return t.range!=null?e=`lerp(_range(${n}), ${+t.range})`:(e!==void 0&&(e=`_scale(${n}, ${e})`),t.band&&(e=(e?e+"+":"")+`_bandwidth(${n})`+(+t.band==1?"":"*"+A3(t.band)),t.extra&&(e=`(datum.extra ? _scale(${n}, datum.extra.value) : ${e})`)),e==null&&(e="0")),e}function ujt(t){let e="";return t.forEach(n=>{const r=JB(n);e+=n.test?`(${n.test})?${r}:`:r}),$n(e)===":"&&(e+="null"),e}function Oze(t,e,n,r,i,o){const s={};o=o||{},o.encoders={$encode:s},t=ojt(t,e,n,r,i.config);for(const a in t)s[a]=cjt(t[a],e,o,i);return o}function cjt(t,e,n,r){const i={},o={};for(const s in t)t[s]!=null&&(i[s]=djt(fjt(t[s]),r,n,o));return{$expr:{marktype:e,channels:i},$fields:Object.keys(o),$output:Object.keys(t)}}function fjt(t){return We(t)?ujt(t):JB(t)}function djt(t,e,n,r){const i=Ah(t,e);return i.$fields.forEach(o=>r[o]=1),un(n,i.$params),i.$expr}const hjt="outer",pjt=["value","update","init","react","bind"];function Cve(t,e){je(t+' for "outer" push: '+rt(e))}function Eze(t,e){const n=t.name;if(t.push===hjt)e.signals[n]||Cve("No prior signal definition",n),pjt.forEach(r=>{t[r]!==void 0&&Cve("Invalid property ",r)});else{const r=e.addSignal(n,t.value);t.react===!1&&(r.react=!1),t.bind&&e.addBinding(n,t.bind)}}function fY(t,e,n,r){this.id=-1,this.type=t,this.value=e,this.params=n,r&&(this.parent=r)}function e6(t,e,n,r){return new fY(t,e,n,r)}function P5(t,e){return e6("operator",t,e)}function Nt(t){const e={$ref:t.id};return t.id<0&&(t.refs=t.refs||[]).push(e),e}function WA(t,e){return e?{$field:t,$name:e}:{$field:t}}const dY=WA("key");function Ove(t,e){return{$compare:t,$order:e}}function gjt(t,e){const n={$key:t};return e&&(n.$flat=!0),n}const mjt="ascending",vjt="descending";function yjt(t){return ht(t)?(t.order===vjt?"-":"+")+t6(t.op,t.field):""}function t6(t,e){return(t&&t.signal?"$"+t.signal:t||"")+(t&&e?"_":"")+(e&&e.signal?"$"+e.signal:e||"")}const Ioe="scope",hY="view";function Co(t){return t&&t.signal}function xjt(t){return t&&t.expr}function P3(t){if(Co(t))return!0;if(ht(t)){for(const e in t)if(P3(t[e]))return!0}return!1}function hf(t,e){return t??e}function Nx(t){return t&&t.signal||t}const Eve="timer";function VA(t,e){return(t.merge?wjt:t.stream?_jt:t.type?Sjt:je("Invalid stream specification: "+rt(t)))(t,e)}function bjt(t){return t===Ioe?hY:t||hY}function wjt(t,e){const n=t.merge.map(i=>VA(i,e)),r=Loe({merge:n},t,e);return e.addStream(r).id}function _jt(t,e){const n=VA(t.stream,e),r=Loe({stream:n},t,e);return e.addStream(r).id}function Sjt(t,e){let n;t.type===Eve?(n=e.event(Eve,t.throttle),t={between:t.between,filter:t.filter}):n=e.event(bjt(t.source),t.type);const r=Loe({stream:n},t,e);return Object.keys(r).length===1?n:e.addStream(r).id}function Loe(t,e,n){let r=e.between;return r&&(r.length!==2&&je('Stream "between" parameter must have 2 entries: '+rt(e)),t.between=[VA(r[0],n),VA(r[1],n)]),r=e.filter?[].concat(e.filter):[],(e.marktype||e.markname||e.markrole)&&r.push(Cjt(e.marktype,e.markname,e.markrole)),e.source===Ioe&&r.push("inScope(event.item)"),r.length&&(t.filter=Ah("("+r.join(")&&(")+")",n).$expr),(r=e.throttle)!=null&&(t.throttle=+r),(r=e.debounce)!=null&&(t.debounce=+r),e.consume&&(t.consume=!0),t}function Cjt(t,e,n){const r="event.item";return r+(t&&t!=="*"?"&&"+r+".mark.marktype==='"+t+"'":"")+(n?"&&"+r+".mark.role==='"+n+"'":"")+(e?"&&"+r+".mark.name==='"+e+"'":"")}const Ojt={code:"_.$value",ast:{type:"Identifier",value:"value"}};function Ejt(t,e,n){const r=t.encode,i={target:n};let o=t.events,s=t.update,a=[];o||je("Signal update missing events specification."),gt(o)&&(o=Vy(o,e.isSubscope()?Ioe:hY)),o=pt(o).filter(l=>l.signal||l.scale?(a.push(l),0):1),a.length>1&&(a=[kjt(a)]),o.length&&a.push(o.length>1?{merge:o}:o[0]),r!=null&&(s&&je("Signal encode and update are mutually exclusive."),s="encode(item(),"+rt(r)+")"),i.update=gt(s)?Ah(s,e):s.expr!=null?Ah(s.expr,e):s.value!=null?s.value:s.signal!=null?{$expr:Ojt,$params:{$value:e.signalRef(s.signal)}}:je("Invalid signal update specification."),t.force&&(i.options={force:!0}),a.forEach(l=>e.addUpdate(un(Tjt(l,e),i)))}function Tjt(t,e){return{source:t.signal?e.signalRef(t.signal):t.scale?e.scaleRef(t.scale):VA(t,e)}}function kjt(t){return{signal:"["+t.map(e=>e.scale?'scale("'+e.scale+'")':e.signal)+"]"}}function Ajt(t,e){const n=e.getSignal(t.name);let r=t.update;t.init&&(r?je("Signals can not include both init and update expressions."):(r=t.init,n.initonly=!0)),r&&(r=Ah(r,e),n.update=r.$expr,n.params=r.$params),t.on&&t.on.forEach(i=>Ejt(i,e,n.id))}const Ar=t=>(e,n,r)=>e6(t,n,e||void 0,r),Tze=Ar("aggregate"),Pjt=Ar("axisticks"),kze=Ar("bound"),nd=Ar("collect"),Tve=Ar("compare"),Mjt=Ar("datajoin"),Aze=Ar("encode"),Rjt=Ar("expression"),Djt=Ar("facet"),Ijt=Ar("field"),Ljt=Ar("key"),$jt=Ar("legendentries"),Fjt=Ar("load"),Njt=Ar("mark"),zjt=Ar("multiextent"),jjt=Ar("multivalues"),Bjt=Ar("overlap"),Ujt=Ar("params"),Pze=Ar("prefacet"),Wjt=Ar("projection"),Vjt=Ar("proxy"),Gjt=Ar("relay"),Mze=Ar("render"),Hjt=Ar("scale"),ub=Ar("sieve"),qjt=Ar("sortitems"),Rze=Ar("viewlayout"),Xjt=Ar("values");let Yjt=0;const Dze={min:"min",max:"max",count:"sum"};function Qjt(t,e){const n=t.type||"linear";x3e(n)||je("Unrecognized scale type: "+rt(n)),e.addScale(t.name,{type:n,domain:void 0})}function Kjt(t,e){const n=e.getScale(t.name).params;let r;n.domain=Ize(t.domain,t,e),t.range!=null&&(n.range=$ze(t,e,n)),t.interpolate!=null&&a4t(t.interpolate,n),t.nice!=null&&(n.nice=s4t(t.nice,e)),t.bins!=null&&(n.bins=o4t(t.bins,e));for(r in t)vt(n,r)||r==="name"||(n[r]=sc(t[r],e))}function sc(t,e){return ht(t)?t.signal?e.signalRef(t.signal):je("Unsupported object: "+rt(t)):t}function M3(t,e){return t.signal?e.signalRef(t.signal):t.map(n=>sc(n,e))}function n6(t){je("Can not find data set: "+rt(t))}function Ize(t,e,n){if(!t){(e.domainMin!=null||e.domainMax!=null)&&je("No scale domain defined for domainMin/domainMax to override.");return}return t.signal?n.signalRef(t.signal):(We(t)?Zjt:t.fields?e4t:Jjt)(t,e,n)}function Zjt(t,e,n){return t.map(r=>sc(r,n))}function Jjt(t,e,n){const r=n.getData(t.data);return r||n6(t.data),FS(e.type)?r.valuesRef(n,t.field,Lze(t.sort,!1)):_3e(e.type)?r.domainRef(n,t.field):r.extentRef(n,t.field)}function e4t(t,e,n){const r=t.data,i=t.fields.reduce((o,s)=>(s=gt(s)?{data:r,field:s}:We(s)||s.signal?t4t(s,n):s,o.push(s),o),[]);return(FS(e.type)?n4t:_3e(e.type)?r4t:i4t)(t,n,i)}function t4t(t,e){const n="_:vega:_"+Yjt++,r=nd({});if(We(t))r.value={$ingest:t};else if(t.signal){const i="setdata("+rt(n)+","+t.signal+")";r.params.input=e.signalRef(i)}return e.addDataPipeline(n,[r,ub({})]),{data:n,field:"data"}}function n4t(t,e,n){const r=Lze(t.sort,!0);let i,o;const s=n.map(u=>{const c=e.getData(u.data);return c||n6(u.data),c.countsRef(e,u.field,r)}),a={groupby:dY,pulse:s};r&&(i=r.op||"count",o=r.field?t6(i,r.field):"count",a.ops=[Dze[i]],a.fields=[e.fieldRef(o)],a.as=[o]),i=e.add(Tze(a));const l=e.add(nd({pulse:Nt(i)}));return o=e.add(Xjt({field:dY,sort:e.sortRef(r),pulse:Nt(l)})),Nt(o)}function Lze(t,e){return t&&(!t.field&&!t.op?ht(t)?t.field="key":t={field:"key"}:!t.field&&t.op!=="count"?je("No field provided for sort aggregate op: "+t.op):e&&t.field&&t.op&&!Dze[t.op]&&je("Multiple domain scales can not be sorted using "+t.op)),t}function r4t(t,e,n){const r=n.map(i=>{const o=e.getData(i.data);return o||n6(i.data),o.domainRef(e,i.field)});return Nt(e.add(jjt({values:r})))}function i4t(t,e,n){const r=n.map(i=>{const o=e.getData(i.data);return o||n6(i.data),o.extentRef(e,i.field)});return Nt(e.add(zjt({extents:r})))}function o4t(t,e){return t.signal||We(t)?M3(t,e):e.objectProperty(t)}function s4t(t,e){return t.signal?e.signalRef(t.signal):ht(t)?{interval:sc(t.interval),step:sc(t.step)}:sc(t)}function a4t(t,e){e.interpolate=sc(t.type||t),t.gamma!=null&&(e.interpolateGamma=sc(t.gamma))}function $ze(t,e,n){const r=e.config.range;let i=t.range;if(i.signal)return e.signalRef(i.signal);if(gt(i)){if(r&&vt(r,i))return t=un({},t,{range:r[i]}),$ze(t,e,n);i==="width"?i=[0,{signal:"width"}]:i==="height"?i=FS(t.type)?[0,{signal:"height"}]:[{signal:"height"},0]:je("Unrecognized scale range value: "+rt(i))}else if(i.scheme){n.scheme=We(i.scheme)?M3(i.scheme,e):sc(i.scheme,e),i.extent&&(n.schemeExtent=M3(i.extent,e)),i.count&&(n.schemeCount=sc(i.count,e));return}else if(i.step){n.rangeStep=sc(i.step,e);return}else{if(FS(t.type)&&!We(i))return Ize(i,t,e);We(i)||je("Unsupported range type: "+rt(i))}return i.map(o=>(We(o)?M3:sc)(o,e))}function l4t(t,e){const n=e.config.projection||{},r={};for(const i in t)i!=="name"&&(r[i]=pY(t[i],i,e));for(const i in n)r[i]==null&&(r[i]=pY(n[i],i,e));e.addProjection(t.name,r)}function pY(t,e,n){return We(t)?t.map(r=>pY(r,e,n)):ht(t)?t.signal?n.signalRef(t.signal):e==="fit"?t:je("Unsupported parameter object: "+rt(t)):t}const rd="top",AO="left",PO="right",fy="bottom",Fze="center",u4t="vertical",c4t="start",f4t="middle",d4t="end",gY="index",$oe="label",h4t="offset",HS="perc",p4t="perc2",pc="value",RR="guide-label",Foe="guide-title",g4t="group-title",m4t="group-subtitle",kve="symbol",R3="gradient",mY="discrete",vY="size",v4t="shape",y4t="fill",x4t="stroke",b4t="strokeWidth",w4t="strokeDash",_4t="opacity",Noe=[vY,v4t,y4t,x4t,b4t,w4t,_4t],DR={name:1,style:1,interactive:1},jn={value:0},gc={value:1},r6="group",Nze="rect",zoe="rule",S4t="symbol",cb="text";function GA(t){return t.type=r6,t.interactive=t.interactive||!1,t}function Al(t,e){const n=(r,i)=>hf(t[r],hf(e[r],i));return n.isVertical=r=>u4t===hf(t.direction,e.direction||(r?e.symbolDirection:e.gradientDirection)),n.gradientLength=()=>hf(t.gradientLength,e.gradientLength||e.gradientWidth),n.gradientThickness=()=>hf(t.gradientThickness,e.gradientThickness||e.gradientHeight),n.entryColumns=()=>hf(t.columns,hf(e.columns,+n.isVertical(!0))),n}function zze(t,e){const n=e&&(e.update&&e.update[t]||e.enter&&e.enter[t]);return n&&n.signal?n:n?n.value:null}function C4t(t,e,n){const r=e.config.style[n];return r&&r[t]}function i6(t,e,n){return`item.anchor === '${c4t}' ? ${t} : item.anchor === '${d4t}' ? ${e} : ${n}`}const joe=i6(rt(AO),rt(PO),rt(Fze));function O4t(t){const e=t("tickBand");let n=t("tickOffset"),r,i;return e?e.signal?(r={signal:`(${e.signal}) === 'extent' ? 1 : 0.5`},i={signal:`(${e.signal}) === 'extent'`},ht(n)||(n={signal:`(${e.signal}) === 'extent' ? 0 : ${n}`})):e==="extent"?(r=1,i=!0,n=0):(r=.5,i=!1):(r=t("bandPosition"),i=t("tickExtra")),{extra:i,band:r,offset:n}}function jze(t,e){return e?t?ht(t)?Object.assign({},t,{offset:jze(t.offset,e)}):{value:t,offset:e}:e:t}function Tu(t,e){return e?(t.name=e.name,t.style=e.style||t.style,t.interactive=!!e.interactive,t.encode=kO(t.encode,e,DR)):t.interactive=!1,t}function E4t(t,e,n,r){const i=Al(t,n),o=i.isVertical(),s=i.gradientThickness(),a=i.gradientLength();let l,u,c,f,d;o?(u=[0,1],c=[0,0],f=s,d=a):(u=[0,0],c=[1,0],f=a,d=s);const h={enter:l={opacity:jn,x:jn,y:jn,width:No(f),height:No(d)},update:un({},l,{opacity:gc,fill:{gradient:e,start:u,stop:c}}),exit:{opacity:jn}};return _s(h,{stroke:i("gradientStrokeColor"),strokeWidth:i("gradientStrokeWidth")},{opacity:i("gradientOpacity")}),Tu({type:Nze,role:Jzt,encode:h},r)}function T4t(t,e,n,r,i){const o=Al(t,n),s=o.isVertical(),a=o.gradientThickness(),l=o.gradientLength();let u,c,f,d,h="";s?(u="y",f="y2",c="x",d="width",h="1-"):(u="x",f="x2",c="y",d="height");const p={opacity:jn,fill:{scale:e,field:pc}};p[u]={signal:h+"datum."+HS,mult:l},p[c]=jn,p[f]={signal:h+"datum."+p4t,mult:l},p[d]=No(a);const g={enter:p,update:un({},p,{opacity:gc}),exit:{opacity:jn}};return _s(g,{stroke:o("gradientStrokeColor"),strokeWidth:o("gradientStrokeWidth")},{opacity:o("gradientOpacity")}),Tu({type:Nze,role:Kzt,key:pc,from:i,encode:g},r)}const k4t=`datum.${HS}<=0?"${AO}":datum.${HS}>=1?"${PO}":"${Fze}"`,A4t=`datum.${HS}<=0?"${fy}":datum.${HS}>=1?"${rd}":"${f4t}"`;function Ave(t,e,n,r){const i=Al(t,e),o=i.isVertical(),s=No(i.gradientThickness()),a=i.gradientLength();let l=i("labelOverlap"),u,c,f,d,h="";const p={enter:u={opacity:jn},update:c={opacity:gc,text:{field:$oe}},exit:{opacity:jn}};return _s(p,{fill:i("labelColor"),fillOpacity:i("labelOpacity"),font:i("labelFont"),fontSize:i("labelFontSize"),fontStyle:i("labelFontStyle"),fontWeight:i("labelFontWeight"),limit:hf(t.labelLimit,e.gradientLabelLimit)}),o?(u.align={value:"left"},u.baseline=c.baseline={signal:A4t},f="y",d="x",h="1-"):(u.align=c.align={signal:k4t},u.baseline={value:"top"},f="x",d="y"),u[f]=c[f]={signal:h+"datum."+HS,mult:a},u[d]=c[d]=s,s.offset=hf(t.labelOffset,e.gradientLabelOffset)||0,l=l?{separation:i("labelSeparation"),method:l,order:"datum."+gY}:void 0,Tu({type:cb,role:wze,style:RR,key:pc,from:r,encode:p,overlap:l},n)}function P4t(t,e,n,r,i){const o=Al(t,e),s=n.entries,a=!!(s&&s.interactive),l=s?s.name:void 0,u=o("clipHeight"),c=o("symbolOffset"),f={data:"value"},d=`(${i}) ? datum.${h4t} : datum.${vY}`,h=u?No(u):{field:vY},p=`datum.${gY}`,g=`max(1, ${i})`;let m,v,y,x,b;h.mult=.5,m={enter:v={opacity:jn,x:{signal:d,mult:.5,offset:c},y:h},update:y={opacity:gc,x:v.x,y:v.y},exit:{opacity:jn}};let w=null,_=null;t.fill||(w=e.symbolBaseFillColor,_=e.symbolBaseStrokeColor),_s(m,{fill:o("symbolFillColor",w),shape:o("symbolType"),size:o("symbolSize"),stroke:o("symbolStrokeColor",_),strokeDash:o("symbolDash"),strokeDashOffset:o("symbolDashOffset"),strokeWidth:o("symbolStrokeWidth")},{opacity:o("symbolOpacity")}),Noe.forEach(E=>{t[E]&&(y[E]=v[E]={scale:t[E],field:pc})});const S=Tu({type:S4t,role:ejt,key:pc,from:f,clip:u?!0:void 0,encode:m},n.symbols),O=No(c);O.offset=o("labelOffset"),m={enter:v={opacity:jn,x:{signal:d,offset:O},y:h},update:y={opacity:gc,text:{field:$oe},x:v.x,y:v.y},exit:{opacity:jn}},_s(m,{align:o("labelAlign"),baseline:o("labelBaseline"),fill:o("labelColor"),fillOpacity:o("labelOpacity"),font:o("labelFont"),fontSize:o("labelFontSize"),fontStyle:o("labelFontStyle"),fontWeight:o("labelFontWeight"),limit:o("labelLimit")});const k=Tu({type:cb,role:wze,style:RR,key:pc,from:f,encode:m},n.labels);return m={enter:{noBound:{value:!u},width:jn,height:u?No(u):jn,opacity:jn},exit:{opacity:jn},update:y={opacity:gc,row:{signal:null},column:{signal:null}}},o.isVertical(!0)?(x=`ceil(item.mark.items.length / ${g})`,y.row.signal=`${p}%${x}`,y.column.signal=`floor(${p} / ${x})`,b={field:["row",p]}):(y.row.signal=`floor(${p} / ${g})`,y.column.signal=`${p} % ${g}`,b={field:p}),y.column.signal=`(${i})?${y.column.signal}:${p}`,r={facet:{data:r,name:"value",groupby:gY}},GA({role:Doe,from:r,encode:kO(m,s,DR),marks:[S,k],name:l,interactive:a,sort:b})}function M4t(t,e){const n=Al(t,e);return{align:n("gridAlign"),columns:n.entryColumns(),center:{row:!0,column:!1},padding:{row:n("rowPadding"),column:n("columnPadding")}}}const Boe='item.orient === "left"',Uoe='item.orient === "right"',o6=`(${Boe} || ${Uoe})`,R4t=`datum.vgrad && ${o6}`,D4t=i6('"top"','"bottom"','"middle"'),I4t=i6('"right"','"left"','"center"'),L4t=`datum.vgrad && ${Uoe} ? (${I4t}) : (${o6} && !(datum.vgrad && ${Boe})) ? "left" : ${joe}`,$4t=`item._anchor || (${o6} ? "middle" : "start")`,F4t=`${R4t} ? (${Boe} ? -90 : 90) : 0`,N4t=`${o6} ? (datum.vgrad ? (${Uoe} ? "bottom" : "top") : ${D4t}) : "top"`;function z4t(t,e,n,r){const i=Al(t,e),o={enter:{opacity:jn},update:{opacity:gc,x:{field:{group:"padding"}},y:{field:{group:"padding"}}},exit:{opacity:jn}};return _s(o,{orient:i("titleOrient"),_anchor:i("titleAnchor"),anchor:{signal:$4t},angle:{signal:F4t},align:{signal:L4t},baseline:{signal:N4t},text:t.title,fill:i("titleColor"),fillOpacity:i("titleOpacity"),font:i("titleFont"),fontSize:i("titleFontSize"),fontStyle:i("titleFontStyle"),fontWeight:i("titleFontWeight"),limit:i("titleLimit"),lineHeight:i("titleLineHeight")},{align:i("titleAlign"),baseline:i("titleBaseline")}),Tu({type:cb,role:tjt,style:Foe,from:r,encode:o},n)}function j4t(t,e){let n;return ht(t)&&(t.signal?n=t.signal:t.path?n="pathShape("+Pve(t.path)+")":t.sphere&&(n="geoShape("+Pve(t.sphere)+', {type: "Sphere"})')),n?e.signalRef(n):!!t}function Pve(t){return ht(t)&&t.signal?t.signal:rt(t)}function Bze(t){const e=t.role||"";return e.startsWith("axis")||e.startsWith("legend")||e.startsWith("title")?e:t.type===r6?Doe:e||Moe}function B4t(t){return{marktype:t.type,name:t.name||void 0,role:t.role||Bze(t),zindex:+t.zindex||void 0,aria:t.aria,description:t.description}}function U4t(t,e){return t&&t.signal?e.signalRef(t.signal):t!==!1}function Woe(t,e){const n=vLe(t.type);n||je("Unrecognized transform type: "+rt(t.type));const r=e6(n.type.toLowerCase(),null,Uze(n,t,e));return t.signal&&e.addSignal(t.signal,e.proxy(r)),r.metadata=n.metadata||{},r}function Uze(t,e,n){const r={},i=t.params.length;for(let o=0;oMve(t,o,n)):Mve(t,i,n)}function Mve(t,e,n){const r=t.type;if(Co(e))return Dve(r)?je("Expression references can not be signals."):$V(r)?n.fieldRef(e):Ive(r)?n.compareRef(e):n.signalRef(e.signal);{const i=t.expr||$V(r);return i&&H4t(e)?n.exprRef(e.expr,e.as):i&&q4t(e)?WA(e.field,e.as):Dve(r)?Ah(e,n):X4t(r)?Nt(n.getData(e).values):$V(r)?WA(e):Ive(r)?n.compareRef(e):e}}function V4t(t,e,n){return gt(e.from)||je('Lookup "from" parameter must be a string literal.'),n.getData(e.from).lookupRef(n,e.key)}function G4t(t,e,n){const r=e[t.name];return t.array?(We(r)||je("Expected an array of sub-parameters. Instead: "+rt(r)),r.map(i=>Rve(t,i,n))):Rve(t,r,n)}function Rve(t,e,n){const r=t.params.length;let i;for(let s=0;st&&t.expr,q4t=t=>t&&t.field,X4t=t=>t==="data",Dve=t=>t==="expr",$V=t=>t==="field",Ive=t=>t==="compare";function Y4t(t,e,n){let r,i,o,s,a;return t?(r=t.facet)&&(e||je("Only group marks can be faceted."),r.field!=null?s=a=D3(r,n):(t.data?a=Nt(n.getData(t.data).aggregate):(o=Woe(un({type:"aggregate",groupby:pt(r.groupby)},r.aggregate),n),o.params.key=n.keyRef(r.groupby),o.params.pulse=D3(r,n),s=a=Nt(n.add(o))),i=n.keyRef(r.groupby,!0))):s=Nt(n.add(nd(null,[{}]))),s||(s=D3(t,n)),{key:i,pulse:s,parent:a}}function D3(t,e){return t.$ref?t:t.data&&t.data.$ref?t.data:Nt(e.getData(t.data).output)}function y1(t,e,n,r,i){this.scope=t,this.input=e,this.output=n,this.values=r,this.aggregate=i,this.index={}}y1.fromEntries=function(t,e){const n=e.length,r=e[n-1],i=e[n-2];let o=e[0],s=null,a=1;for(o&&o.type==="load"&&(o=e[1]),t.add(e[0]);af??"null").join(",")+"),0)",c=Ah(u,e);l.update=c.$expr,l.params=c.$params}function s6(t,e){const n=Bze(t),r=t.type===r6,i=t.from&&t.from.facet,o=t.overlap;let s=t.layout||n===Doe||n===Roe,a,l,u,c,f,d,h;const p=n===Moe||s||i,g=Y4t(t.from,r,e);l=e.add(Mjt({key:g.key||(t.key?WA(t.key):void 0),pulse:g.pulse,clean:!r}));const m=Nt(l);l=u=e.add(nd({pulse:m})),l=e.add(Njt({markdef:B4t(t),interactive:U4t(t.interactive,e),clip:j4t(t.clip,e),context:{$context:!0},groups:e.lookup(),parent:e.signals.parent?e.signalRef("parent"):null,index:e.markpath(),pulse:Nt(l)}));const v=Nt(l);l=c=e.add(Aze(Oze(t.encode,t.type,n,t.style,e,{mod:!1,pulse:v}))),l.params.parent=e.encode(),t.transform&&t.transform.forEach(_=>{const S=Woe(_,e),O=S.metadata;(O.generates||O.changes)&&je("Mark transforms should not generate new data."),O.nomod||(c.params.mod=!0),S.params.pulse=Nt(l),e.add(l=S)}),t.sort&&(l=e.add(qjt({sort:e.compareRef(t.sort),pulse:Nt(l)})));const y=Nt(l);(i||s)&&(s=e.add(Rze({layout:e.objectProperty(t.layout),legends:e.legends,mark:v,pulse:y})),d=Nt(s));const x=e.add(kze({mark:v,pulse:d||y}));h=Nt(x),r&&(p&&(a=e.operators,a.pop(),s&&a.pop()),e.pushState(y,d||h,m),i?Q4t(t,e,g):p?K4t(t,e,g):e.parse(t),e.popState(),p&&(s&&a.push(s),a.push(x))),o&&(h=Z4t(o,h,e));const b=e.add(Mze({pulse:h})),w=e.add(ub({pulse:Nt(b)},void 0,e.parent()));t.name!=null&&(f=t.name,e.addData(f,new y1(e,u,b,w)),t.on&&t.on.forEach(_=>{(_.insert||_.remove||_.toggle)&&je("Marks only support modify triggers."),Vze(_,e,f)}))}function Z4t(t,e,n){const r=t.method,i=t.bound,o=t.separation,s={separation:Co(o)?n.signalRef(o.signal):o,method:Co(r)?n.signalRef(r.signal):r,pulse:e};if(t.order&&(s.sort=n.compareRef({field:t.order})),i){const a=i.tolerance;s.boundTolerance=Co(a)?n.signalRef(a.signal):+a,s.boundScale=n.scaleRef(i.scale),s.boundOrient=i.orient}return Nt(n.add(Bjt(s)))}function J4t(t,e){const n=e.config.legend,r=t.encode||{},i=Al(t,n),o=r.legend||{},s=o.name||void 0,a=o.interactive,l=o.style,u={};let c=0,f,d,h;Noe.forEach(x=>t[x]?(u[x]=t[x],c=c||t[x]):0),c||je("Missing valid scale for legend.");const p=eBt(t,e.scaleType(c)),g={title:t.title!=null,scales:u,type:p,vgrad:p!=="symbol"&&i.isVertical()},m=Nt(e.add(nd(null,[g]))),v={enter:{x:{value:0},y:{value:0}}},y=Nt(e.add($jt(d={type:p,scale:e.scaleRef(c),count:e.objectProperty(i("tickCount")),limit:e.property(i("symbolLimit")),values:e.objectProperty(t.values),minstep:e.property(t.tickMinStep),formatType:e.property(t.formatType),formatSpecifier:e.property(t.format)})));return p===R3?(h=[E4t(t,c,n,r.gradient),Ave(t,n,r.labels,y)],d.count=d.count||e.signalRef(`max(2,2*floor((${Nx(i.gradientLength())})/100))`)):p===mY?h=[T4t(t,c,n,r.gradient,y),Ave(t,n,r.labels,y)]:(f=M4t(t,n),h=[P4t(t,n,r,y,Nx(f.columns))],d.size=rBt(t,e,h[0].marks)),h=[GA({role:Zzt,from:m,encode:v,marks:h,layout:f,interactive:a})],g.title&&h.push(z4t(t,n,r.title,m)),s6(GA({role:Qzt,from:m,encode:kO(nBt(i,t,n),o,DR),marks:h,aria:i("aria"),description:i("description"),zindex:i("zindex"),name:s,interactive:a,style:l}),e)}function eBt(t,e){let n=t.type||kve;return!t.type&&tBt(t)===1&&(t.fill||t.stroke)&&(n=Ure(e)?R3:lX(e)?mY:kve),n!==R3?n:lX(e)?mY:R3}function tBt(t){return Noe.reduce((e,n)=>e+(t[n]?1:0),0)}function nBt(t,e,n){const r={enter:{},update:{}};return _s(r,{orient:t("orient"),offset:t("offset"),padding:t("padding"),titlePadding:t("titlePadding"),cornerRadius:t("cornerRadius"),fill:t("fillColor"),stroke:t("strokeColor"),strokeWidth:n.strokeWidth,strokeDash:n.strokeDash,x:t("legendX"),y:t("legendY"),format:e.format,formatType:e.formatType}),r}function rBt(t,e,n){const r=Nx($ve("size",t,n)),i=Nx($ve("strokeWidth",t,n)),o=Nx(iBt(n[1].encode,e,RR));return Ah(`max(ceil(sqrt(${r})+${i}),${o})`,e)}function $ve(t,e,n){return e[t]?`scale("${e[t]}",datum)`:zze(t,n[0].encode)}function iBt(t,e,n){return zze("fontSize",t)||C4t("fontSize",e,n)}const oBt=`item.orient==="${AO}"?-90:item.orient==="${PO}"?90:0`;function sBt(t,e){t=gt(t)?{text:t}:t;const n=Al(t,e.config.title),r=t.encode||{},i=r.group||{},o=i.name||void 0,s=i.interactive,a=i.style,l=[],u={},c=Nt(e.add(nd(null,[u])));return l.push(uBt(t,n,aBt(t),c)),t.subtitle&&l.push(cBt(t,n,r.subtitle,c)),s6(GA({role:njt,from:c,encode:lBt(n,i),marks:l,aria:n("aria"),description:n("description"),zindex:n("zindex"),name:o,interactive:s,style:a}),e)}function aBt(t){const e=t.encode;return e&&e.title||un({name:t.name,interactive:t.interactive,style:t.style},e)}function lBt(t,e){const n={enter:{},update:{}};return _s(n,{orient:t("orient"),anchor:t("anchor"),align:{signal:joe},angle:{signal:oBt},limit:t("limit"),frame:t("frame"),offset:t("offset")||0,padding:t("subtitlePadding")}),kO(n,e,DR)}function uBt(t,e,n,r){const i={value:0},o=t.text,s={enter:{opacity:i},update:{opacity:{value:1}},exit:{opacity:i}};return _s(s,{text:o,align:{signal:"item.mark.group.align"},angle:{signal:"item.mark.group.angle"},limit:{signal:"item.mark.group.limit"},baseline:"top",dx:e("dx"),dy:e("dy"),fill:e("color"),font:e("font"),fontSize:e("fontSize"),fontStyle:e("fontStyle"),fontWeight:e("fontWeight"),lineHeight:e("lineHeight")},{align:e("align"),angle:e("angle"),baseline:e("baseline")}),Tu({type:cb,role:rjt,style:g4t,from:r,encode:s},n)}function cBt(t,e,n,r){const i={value:0},o=t.subtitle,s={enter:{opacity:i},update:{opacity:{value:1}},exit:{opacity:i}};return _s(s,{text:o,align:{signal:"item.mark.group.align"},angle:{signal:"item.mark.group.angle"},limit:{signal:"item.mark.group.limit"},baseline:"top",dx:e("dx"),dy:e("dy"),fill:e("subtitleColor"),font:e("subtitleFont"),fontSize:e("subtitleFontSize"),fontStyle:e("subtitleFontStyle"),fontWeight:e("subtitleFontWeight"),lineHeight:e("subtitleLineHeight")},{align:e("align"),angle:e("angle"),baseline:e("baseline")}),Tu({type:cb,role:ijt,style:m4t,from:r,encode:s},n)}function fBt(t,e){const n=[];t.transform&&t.transform.forEach(r=>{n.push(Woe(r,e))}),t.on&&t.on.forEach(r=>{Vze(r,e,t.name)}),e.addDataPipeline(t.name,dBt(t,e,n))}function dBt(t,e,n){const r=[];let i=null,o=!1,s=!1,a,l,u,c,f;for(t.values?Co(t.values)||P3(t.format)?(r.push(Fve(e,t)),r.push(i=h0())):r.push(i=h0({$ingest:t.values,$format:t.format})):t.url?P3(t.url)||P3(t.format)?(r.push(Fve(e,t)),r.push(i=h0())):r.push(i=h0({$request:t.url,$format:t.format})):t.source&&(i=a=pt(t.source).map(d=>Nt(e.getData(d).output)),r.push(null)),l=0,u=n.length;lt===fy||t===rd,a6=(t,e,n)=>Co(t)?mBt(t.signal,e,n):t===AO||t===rd?e:n,zo=(t,e,n)=>Co(t)?pBt(t.signal,e,n):Gze(t)?e:n,Lf=(t,e,n)=>Co(t)?gBt(t.signal,e,n):Gze(t)?n:e,Hze=(t,e,n)=>Co(t)?vBt(t.signal,e,n):t===rd?{value:e}:{value:n},hBt=(t,e,n)=>Co(t)?yBt(t.signal,e,n):t===PO?{value:e}:{value:n},pBt=(t,e,n)=>qze(`${t} === '${rd}' || ${t} === '${fy}'`,e,n),gBt=(t,e,n)=>qze(`${t} !== '${rd}' && ${t} !== '${fy}'`,e,n),mBt=(t,e,n)=>Voe(`${t} === '${AO}' || ${t} === '${rd}'`,e,n),vBt=(t,e,n)=>Voe(`${t} === '${rd}'`,e,n),yBt=(t,e,n)=>Voe(`${t} === '${PO}'`,e,n),qze=(t,e,n)=>(e=e!=null?No(e):e,n=n!=null?No(n):n,Nve(e)&&Nve(n)?(e=e?e.signal||rt(e.value):null,n=n?n.signal||rt(n.value):null,{signal:`${t} ? (${e}) : (${n})`}):[un({test:t},e)].concat(n||[])),Nve=t=>t==null||Object.keys(t).length===1,Voe=(t,e,n)=>({signal:`${t} ? (${c_(e)}) : (${c_(n)})`}),xBt=(t,e,n,r,i)=>({signal:(r!=null?`${t} === '${AO}' ? (${c_(r)}) : `:"")+(n!=null?`${t} === '${fy}' ? (${c_(n)}) : `:"")+(i!=null?`${t} === '${PO}' ? (${c_(i)}) : `:"")+(e!=null?`${t} === '${rd}' ? (${c_(e)}) : `:"")+"(null)"}),c_=t=>Co(t)?t.signal:t==null?null:rt(t),bBt=(t,e)=>e===0?0:Co(t)?{signal:`(${t.signal}) * ${e}`}:{value:t*e},L_=(t,e)=>{const n=t.signal;return n&&n.endsWith("(null)")?{signal:n.slice(0,-6)+e.signal}:t};function Zb(t,e,n,r){let i;if(e&&vt(e,t))return e[t];if(vt(n,t))return n[t];if(t.startsWith("title")){switch(t){case"titleColor":i="fill";break;case"titleFont":case"titleFontSize":case"titleFontWeight":i=t[5].toLowerCase()+t.slice(6)}return r[Foe][i]}else if(t.startsWith("label")){switch(t){case"labelColor":i="fill";break;case"labelFont":case"labelFontSize":i=t[5].toLowerCase()+t.slice(6)}return r[RR][i]}return null}function zve(t){const e={};for(const n of t)if(n)for(const r in n)e[r]=1;return Object.keys(e)}function wBt(t,e){var n=e.config,r=n.style,i=n.axis,o=e.scaleType(t.scale)==="band"&&n.axisBand,s=t.orient,a,l,u;if(Co(s)){const f=zve([n.axisX,n.axisY]),d=zve([n.axisTop,n.axisBottom,n.axisLeft,n.axisRight]);a={};for(u of f)a[u]=zo(s,Zb(u,n.axisX,i,r),Zb(u,n.axisY,i,r));l={};for(u of d)l[u]=xBt(s.signal,Zb(u,n.axisTop,i,r),Zb(u,n.axisBottom,i,r),Zb(u,n.axisLeft,i,r),Zb(u,n.axisRight,i,r))}else a=s===rd||s===fy?n.axisX:n.axisY,l=n["axis"+s[0].toUpperCase()+s.slice(1)];return a||l||o?un({},i,a,l,o):i}function _Bt(t,e,n,r){const i=Al(t,e),o=t.orient;let s,a;const l={enter:s={opacity:jn},update:a={opacity:gc},exit:{opacity:jn}};_s(l,{stroke:i("domainColor"),strokeCap:i("domainCap"),strokeDash:i("domainDash"),strokeDashOffset:i("domainDashOffset"),strokeWidth:i("domainWidth"),strokeOpacity:i("domainOpacity")});const u=jve(t,0),c=jve(t,1);return s.x=a.x=zo(o,u,jn),s.x2=a.x2=zo(o,c),s.y=a.y=Lf(o,u,jn),s.y2=a.y2=Lf(o,c),Tu({type:zoe,role:Gzt,from:r,encode:l},n)}function jve(t,e){return{scale:t.scale,range:e}}function SBt(t,e,n,r,i){const o=Al(t,e),s=t.orient,a=t.gridScale,l=a6(s,1,-1),u=CBt(t.offset,l);let c,f,d;const h={enter:c={opacity:jn},update:d={opacity:gc},exit:f={opacity:jn}};_s(h,{stroke:o("gridColor"),strokeCap:o("gridCap"),strokeDash:o("gridDash"),strokeDashOffset:o("gridDashOffset"),strokeOpacity:o("gridOpacity"),strokeWidth:o("gridWidth")});const p={scale:t.scale,field:pc,band:i.band,extra:i.extra,offset:i.offset,round:o("tickRound")},g=zo(s,{signal:"height"},{signal:"width"}),m=a?{scale:a,range:0,mult:l,offset:u}:{value:0,offset:u},v=a?{scale:a,range:1,mult:l,offset:u}:un(g,{mult:l,offset:u});return c.x=d.x=zo(s,p,m),c.y=d.y=Lf(s,p,m),c.x2=d.x2=Lf(s,v),c.y2=d.y2=zo(s,v),f.x=zo(s,p),f.y=Lf(s,p),Tu({type:zoe,role:Hzt,key:pc,from:r,encode:h},n)}function CBt(t,e){if(e!==1)if(!ht(t))t=Co(e)?{signal:`(${e.signal}) * (${t||0})`}:e*(t||0);else{let n=t=un({},t);for(;n.mult!=null;)if(ht(n.mult))n=n.mult=un({},n.mult);else return n.mult=Co(e)?{signal:`(${n.mult}) * (${e.signal})`}:n.mult*e,t;n.mult=e}return t}function OBt(t,e,n,r,i,o){const s=Al(t,e),a=t.orient,l=a6(a,-1,1);let u,c,f;const d={enter:u={opacity:jn},update:f={opacity:gc},exit:c={opacity:jn}};_s(d,{stroke:s("tickColor"),strokeCap:s("tickCap"),strokeDash:s("tickDash"),strokeDashOffset:s("tickDashOffset"),strokeOpacity:s("tickOpacity"),strokeWidth:s("tickWidth")});const h=No(i);h.mult=l;const p={scale:t.scale,field:pc,band:o.band,extra:o.extra,offset:o.offset,round:s("tickRound")};return f.y=u.y=zo(a,jn,p),f.y2=u.y2=zo(a,h),c.x=zo(a,p),f.x=u.x=Lf(a,jn,p),f.x2=u.x2=Lf(a,h),c.y=Lf(a,p),Tu({type:zoe,role:Xzt,key:pc,from:r,encode:d},n)}function FV(t,e,n,r,i){return{signal:'flush(range("'+t+'"), scale("'+t+'", datum.value), '+e+","+n+","+r+","+i+")"}}function EBt(t,e,n,r,i,o){const s=Al(t,e),a=t.orient,l=t.scale,u=a6(a,-1,1),c=Nx(s("labelFlush")),f=Nx(s("labelFlushOffset")),d=s("labelAlign"),h=s("labelBaseline");let p=c===0||!!c,g;const m=No(i);m.mult=u,m.offset=No(s("labelPadding")||0),m.offset.mult=u;const v={scale:l,field:pc,band:.5,offset:jze(o.offset,s("labelOffset"))},y=zo(a,p?FV(l,c,'"left"','"right"','"center"'):{value:"center"},hBt(a,"left","right")),x=zo(a,Hze(a,"bottom","top"),p?FV(l,c,'"top"','"bottom"','"middle"'):{value:"middle"}),b=FV(l,c,`-(${f})`,f,0);p=p&&f;const w={opacity:jn,x:zo(a,v,m),y:Lf(a,v,m)},_={enter:w,update:g={opacity:gc,text:{field:$oe},x:w.x,y:w.y,align:y,baseline:x},exit:{opacity:jn,x:w.x,y:w.y}};_s(_,{dx:!d&&p?zo(a,b):null,dy:!h&&p?Lf(a,b):null}),_s(_,{angle:s("labelAngle"),fill:s("labelColor"),fillOpacity:s("labelOpacity"),font:s("labelFont"),fontSize:s("labelFontSize"),fontWeight:s("labelFontWeight"),fontStyle:s("labelFontStyle"),limit:s("labelLimit"),lineHeight:s("labelLineHeight")},{align:d,baseline:h});const S=s("labelBound");let O=s("labelOverlap");return O=O||S?{separation:s("labelSeparation"),method:O,order:"datum.index",bound:S?{scale:l,orient:a,tolerance:S}:null}:void 0,g.align!==y&&(g.align=L_(g.align,y)),g.baseline!==x&&(g.baseline=L_(g.baseline,x)),Tu({type:cb,role:qzt,style:RR,key:pc,from:r,encode:_,overlap:O},n)}function TBt(t,e,n,r){const i=Al(t,e),o=t.orient,s=a6(o,-1,1);let a,l;const u={enter:a={opacity:jn,anchor:No(i("titleAnchor",null)),align:{signal:joe}},update:l=un({},a,{opacity:gc,text:No(t.title)}),exit:{opacity:jn}},c={signal:`lerp(range("${t.scale}"), ${i6(0,1,.5)})`};return l.x=zo(o,c),l.y=Lf(o,c),a.angle=zo(o,jn,bBt(s,90)),a.baseline=zo(o,Hze(o,fy,rd),{value:fy}),l.angle=a.angle,l.baseline=a.baseline,_s(u,{fill:i("titleColor"),fillOpacity:i("titleOpacity"),font:i("titleFont"),fontSize:i("titleFontSize"),fontStyle:i("titleFontStyle"),fontWeight:i("titleFontWeight"),limit:i("titleLimit"),lineHeight:i("titleLineHeight")},{align:i("titleAlign"),angle:i("titleAngle"),baseline:i("titleBaseline")}),kBt(i,o,u,n),u.update.align=L_(u.update.align,a.align),u.update.angle=L_(u.update.angle,a.angle),u.update.baseline=L_(u.update.baseline,a.baseline),Tu({type:cb,role:Yzt,style:Foe,from:r,encode:u},n)}function kBt(t,e,n,r){const i=(a,l)=>a!=null?(n.update[l]=L_(No(a),n.update[l]),!1):!$w(l,r),o=i(t("titleX"),"x"),s=i(t("titleY"),"y");n.enter.auto=s===o?No(s):zo(e,No(s),No(o))}function ABt(t,e){const n=wBt(t,e),r=t.encode||{},i=r.axis||{},o=i.name||void 0,s=i.interactive,a=i.style,l=Al(t,n),u=O4t(l),c={scale:t.scale,ticks:!!l("ticks"),labels:!!l("labels"),grid:!!l("grid"),domain:!!l("domain"),title:t.title!=null},f=Nt(e.add(nd({},[c]))),d=Nt(e.add(Pjt({scale:e.scaleRef(t.scale),extra:e.property(u.extra),count:e.objectProperty(t.tickCount),values:e.objectProperty(t.values),minstep:e.property(t.tickMinStep),formatType:e.property(t.formatType),formatSpecifier:e.property(t.format)}))),h=[];let p;return c.grid&&h.push(SBt(t,n,r.grid,d,u)),c.ticks&&(p=l("tickSize"),h.push(OBt(t,n,r.ticks,d,p,u))),c.labels&&(p=c.ticks?p:0,h.push(EBt(t,n,r.labels,d,p,u))),c.domain&&h.push(_Bt(t,n,r.domain,f)),c.title&&h.push(TBt(t,n,r.title,f)),s6(GA({role:Vzt,from:f,encode:kO(PBt(l,t),i,DR),marks:h,aria:l("aria"),description:l("description"),zindex:l("zindex"),name:o,interactive:s,style:a}),e)}function PBt(t,e){const n={enter:{},update:{}};return _s(n,{orient:t("orient"),offset:t("offset")||0,position:hf(e.position,0),titlePadding:t("titlePadding"),minExtent:t("minExtent"),maxExtent:t("maxExtent"),range:{signal:`abs(span(range("${e.scale}")))`},translate:t("translate"),format:e.format,formatType:e.formatType}),n}function Xze(t,e,n){const r=pt(t.signals),i=pt(t.scales);return n||r.forEach(o=>Eze(o,e)),pt(t.projections).forEach(o=>l4t(o,e)),i.forEach(o=>Qjt(o,e)),pt(t.data).forEach(o=>fBt(o,e)),i.forEach(o=>Kjt(o,e)),(n||r).forEach(o=>Ajt(o,e)),pt(t.axes).forEach(o=>ABt(o,e)),pt(t.marks).forEach(o=>s6(o,e)),pt(t.legends).forEach(o=>J4t(o,e)),t.title&&sBt(t.title,e),e.parseLambdas(),e}const MBt=t=>kO({enter:{x:{value:0},y:{value:0}},update:{width:{signal:"width"},height:{signal:"height"}}},t);function RBt(t,e){const n=e.config,r=Nt(e.root=e.add(P5())),i=DBt(t,n);i.forEach(u=>Eze(u,e)),e.description=t.description||n.description,e.eventConfig=n.events,e.legends=e.objectProperty(n.legend&&n.legend.layout),e.locale=n.locale;const o=e.add(nd()),s=e.add(Aze(Oze(MBt(t.encode),r6,Roe,t.style,e,{pulse:Nt(o)}))),a=e.add(Rze({layout:e.objectProperty(t.layout),legends:e.legends,autosize:e.signalRef("autosize"),mark:r,pulse:Nt(s)}));e.operators.pop(),e.pushState(Nt(s),Nt(a),null),Xze(t,e,i),e.operators.push(a);let l=e.add(kze({mark:r,pulse:Nt(a)}));return l=e.add(Mze({pulse:Nt(l)})),l=e.add(ub({pulse:Nt(l)})),e.addData("root",new y1(e,o,o,l)),e}function o2(t,e){return e&&e.signal?{name:t,update:e.signal}:{name:t,value:e}}function DBt(t,e){const n=s=>hf(t[s],e[s]),r=[o2("background",n("background")),o2("autosize",Bzt(n("autosize"))),o2("padding",Wzt(n("padding"))),o2("width",n("width")||0),o2("height",n("height")||0)],i=r.reduce((s,a)=>(s[a.name]=a,s),{}),o={};return pt(t.signals).forEach(s=>{vt(i,s.name)?s=un(i[s.name],s):r.push(s),o[s.name]=s}),pt(e.signals).forEach(s=>{!vt(o,s.name)&&!vt(i,s.name)&&r.push(s)}),r}function Yze(t,e){this.config=t||{},this.options=e||{},this.bindings=[],this.field={},this.signals={},this.lambdas={},this.scales={},this.events={},this.data={},this.streams=[],this.updates=[],this.operators=[],this.eventConfig=null,this.locale=null,this._id=0,this._subid=0,this._nextsub=[0],this._parent=[],this._encode=[],this._lookup=[],this._markpath=[]}function Bve(t){this.config=t.config,this.options=t.options,this.legends=t.legends,this.field=Object.create(t.field),this.signals=Object.create(t.signals),this.lambdas=Object.create(t.lambdas),this.scales=Object.create(t.scales),this.events=Object.create(t.events),this.data=Object.create(t.data),this.streams=[],this.updates=[],this.operators=[],this._id=0,this._subid=++t._nextsub[0],this._nextsub=t._nextsub,this._parent=t._parent.slice(),this._encode=t._encode.slice(),this._lookup=t._lookup.slice(),this._markpath=t._markpath}Yze.prototype=Bve.prototype={parse(t){return Xze(t,this)},fork(){return new Bve(this)},isSubscope(){return this._subid>0},toRuntime(){return this.finish(),{description:this.description,operators:this.operators,streams:this.streams,updates:this.updates,bindings:this.bindings,eventConfig:this.eventConfig,locale:this.locale}},id(){return(this._subid?this._subid+":":0)+this._id++},add(t){return this.operators.push(t),t.id=this.id(),t.refs&&(t.refs.forEach(e=>{e.$ref=t.id}),t.refs=null),t},proxy(t){const e=t instanceof fY?Nt(t):t;return this.add(Vjt({value:e}))},addStream(t){return this.streams.push(t),t.id=this.id(),t},addUpdate(t){return this.updates.push(t),t},finish(){let t,e;this.root&&(this.root.root=!0);for(t in this.signals)this.signals[t].signal=t;for(t in this.scales)this.scales[t].scale=t;function n(r,i,o){let s,a;r&&(s=r.data||(r.data={}),a=s[i]||(s[i]=[]),a.push(o))}for(t in this.data){e=this.data[t],n(e.input,t,"input"),n(e.output,t,"output"),n(e.values,t,"values");for(const r in e.index)n(e.index[r],t,"index:"+r)}return this},pushState(t,e,n){this._encode.push(Nt(this.add(ub({pulse:t})))),this._parent.push(e),this._lookup.push(n?Nt(this.proxy(n)):null),this._markpath.push(-1)},popState(){this._encode.pop(),this._parent.pop(),this._lookup.pop(),this._markpath.pop()},parent(){return $n(this._parent)},encode(){return $n(this._encode)},lookup(){return $n(this._lookup)},markpath(){const t=this._markpath;return++t[t.length-1]},fieldRef(t,e){if(gt(t))return WA(t,e);t.signal||je("Unsupported field reference: "+rt(t));const n=t.signal;let r=this.field[n];if(!r){const i={name:this.signalRef(n)};e&&(i.as=e),this.field[n]=r=Nt(this.add(Ijt(i)))}return r},compareRef(t){let e=!1;const n=o=>Co(o)?(e=!0,this.signalRef(o.signal)):xjt(o)?(e=!0,this.exprRef(o.expr)):o,r=pt(t.field).map(n),i=pt(t.order).map(n);return e?Nt(this.add(Tve({fields:r,orders:i}))):Ove(r,i)},keyRef(t,e){let n=!1;const r=o=>Co(o)?(n=!0,Nt(i[o.signal])):o,i=this.signals;return t=pt(t).map(r),n?Nt(this.add(Ljt({fields:t,flat:e}))):gjt(t,e)},sortRef(t){if(!t)return t;const e=t6(t.op,t.field),n=t.order||mjt;return n.signal?Nt(this.add(Tve({fields:e,orders:this.signalRef(n.signal)}))):Ove(e,n)},event(t,e){const n=t+":"+e;if(!this.events[n]){const r=this.id();this.streams.push({id:r,source:t,type:e}),this.events[n]=r}return this.events[n]},hasOwnSignal(t){return vt(this.signals,t)},addSignal(t,e){this.hasOwnSignal(t)&&je("Duplicate signal name: "+rt(t));const n=e instanceof fY?e:this.add(P5(e));return this.signals[t]=n},getSignal(t){return this.signals[t]||je("Unrecognized signal name: "+rt(t)),this.signals[t]},signalRef(t){return this.signals[t]?Nt(this.signals[t]):(vt(this.lambdas,t)||(this.lambdas[t]=this.add(P5(null))),Nt(this.lambdas[t]))},parseLambdas(){const t=Object.keys(this.lambdas);for(let e=0,n=t.length;e0?",":"")+(ht(i)?i.signal||Goe(i):rt(i))}return n+"]"}function LBt(t){let e="{",n=0,r,i;for(r in t)i=t[r],e+=(++n>1?",":"")+rt(r)+":"+(ht(i)?i.signal||Goe(i):rt(i));return e+"}"}function $Bt(){const t="sans-serif",r="#4c78a8",i="#000",o="#888",s="#ddd";return{description:"Vega visualization",padding:0,autosize:"pad",background:null,events:{defaults:{allow:["wheel"]}},group:null,mark:null,arc:{fill:r},area:{fill:r},image:null,line:{stroke:r,strokeWidth:2},path:{stroke:r},rect:{fill:r},rule:{stroke:i},shape:{stroke:r},symbol:{fill:r,size:64},text:{fill:i,font:t,fontSize:11},trail:{fill:r,size:2},style:{"guide-label":{fill:i,font:t,fontSize:10},"guide-title":{fill:i,font:t,fontSize:11,fontWeight:"bold"},"group-title":{fill:i,font:t,fontSize:13,fontWeight:"bold"},"group-subtitle":{fill:i,font:t,fontSize:12},point:{size:30,strokeWidth:2,shape:"circle"},circle:{size:30,strokeWidth:2},square:{size:30,strokeWidth:2,shape:"square"},cell:{fill:"transparent",stroke:s},view:{fill:"transparent"}},title:{orient:"top",anchor:"middle",offset:4,subtitlePadding:3},axis:{minExtent:0,maxExtent:200,bandPosition:.5,domain:!0,domainWidth:1,domainColor:o,grid:!1,gridWidth:1,gridColor:s,labels:!0,labelAngle:0,labelLimit:180,labelOffset:0,labelPadding:2,ticks:!0,tickColor:o,tickOffset:0,tickRound:!0,tickSize:5,tickWidth:1,titlePadding:4},axisBand:{tickOffset:-.5},projection:{type:"mercator"},legend:{orient:"right",padding:0,gridAlign:"each",columnPadding:10,rowPadding:2,symbolDirection:"vertical",gradientDirection:"vertical",gradientLength:200,gradientThickness:16,gradientStrokeColor:s,gradientStrokeWidth:0,gradientLabelOffset:2,labelAlign:"left",labelBaseline:"middle",labelLimit:160,labelOffset:4,labelOverlap:!0,symbolLimit:30,symbolType:"circle",symbolSize:100,symbolOffset:0,symbolStrokeWidth:1.5,symbolBaseFillColor:"transparent",symbolBaseStrokeColor:o,titleLimit:180,titleOrient:"top",titlePadding:5,layout:{offset:18,direction:"horizontal",left:{direction:"vertical"},right:{direction:"vertical"}}},range:{category:{scheme:"tableau10"},ordinal:{scheme:"blues"},heatmap:{scheme:"yellowgreenblue"},ramp:{scheme:"blues"},diverging:{scheme:"blueorange",extent:[1,0]},symbol:["circle","square","triangle-up","cross","diamond","triangle-right","triangle-down","triangle-left"]}}}function FBt(t,e,n){return ht(t)||je("Input Vega specification must be an object."),e=gO($Bt(),e,t.config),RBt(t,new Yze(e,n)).toRuntime()}var NBt="5.30.0";un(RS,P2t,cRt,URt,TIt,wLt,X$t,T$t,Q$t,b3t,P3t,F3t);const zBt=Object.freeze(Object.defineProperty({__proto__:null,Bounds:co,CanvasHandler:SR,CanvasRenderer:VN,DATE:wl,DAY:Gs,DAYOFYEAR:Th,Dataflow:M_,Debug:zDe,Error:Hte,EventStream:iB,Gradient:F3e,GroupItem:MB,HOURS:Cu,Handler:hie,HybridHandler:kFe,HybridRenderer:xX,Info:NDe,Item:PB,MILLISECONDS:Vf,MINUTES:Ou,MONTH:Qs,Marks:Eu,MultiPulse:vne,None:FDe,Operator:Ir,Parameters:rB,Pulse:zv,QUARTER:bl,RenderType:pv,Renderer:_R,ResourceLoader:V3e,SECONDS:kc,SVGHandler:gFe,SVGRenderer:xie,SVGStringRenderer:TFe,Scenegraph:aFe,TIME_UNITS:ane,Transform:Re,View:hze,WEEK:wo,Warn:qte,YEAR:xs,accessor:kl,accessorFields:Ys,accessorName:Ni,array:pt,ascending:H4,bandwidthNRD:wne,bin:bLe,bootstrapCI:wLe,boundClip:NFe,boundContext:yR,boundItem:pX,boundMark:rFe,boundStroke:Xg,changeset:sb,clampRange:QDe,codegenExpression:j5e,compare:Zte,constant:ta,cumulativeLogNormal:Tne,cumulativeNormal:sB,cumulativeUniform:Mne,dayofyear:TIe,debounce:Jte,defaultLocale:dne,definition:vLe,densityLogNormal:Ene,densityNormal:_ne,densityUniform:Pne,domChild:xo,domClear:qu,domCreate:dv,domFind:die,dotbin:_Le,error:je,expressionFunction:Ki,extend:un,extent:Ch,extentIndex:KDe,falsy:Pm,fastmap:vO,field:Ec,flush:ZDe,font:$B,fontFamily:wR,fontSize:Bh,format:c3,formatLocale:bN,formats:gne,hasOwnProperty:vt,id:eR,identity:ea,inferType:sLe,inferTypes:aLe,ingest:ur,inherits:it,inrange:i_,interpolate:Wre,interpolateColors:kB,interpolateRange:S3e,intersect:IFe,intersectBoxLine:s_,intersectPath:Kre,intersectPoint:Zre,intersectRule:H3e,isArray:We,isBoolean:Ny,isDate:Fv,isFunction:fn,isIterable:JDe,isNumber:Jn,isObject:ht,isRegExp:eIe,isString:gt,isTuple:tB,key:ene,lerp:tIe,lineHeight:ly,loader:J4,locale:iLe,logger:Xte,lruCache:nIe,markup:yie,merge:rIe,mergeConfig:gO,multiLineOffset:uie,one:pO,pad:iIe,panLinear:VDe,panLog:GDe,panPow:HDe,panSymlog:qDe,parse:FBt,parseExpression:yoe,parseSelector:Vy,path:fB,pathCurves:Xre,pathEqual:zFe,pathParse:NS,pathRectangle:j3e,pathRender:MA,pathSymbols:z3e,pathTrail:B3e,peek:$n,point:NB,projection:Nie,quantileLogNormal:kne,quantileNormal:aB,quantileUniform:Rne,quantiles:xne,quantizeInterpolator:C3e,quarter:XDe,quartiles:bne,get random(){return Ac},randomInteger:IEt,randomKDE:Cne,randomLCG:DEt,randomLogNormal:CLe,randomMixture:OLe,randomNormal:Sne,randomUniform:ELe,read:cLe,regressionConstant:Dne,regressionExp:kLe,regressionLinear:Ine,regressionLoess:MLe,regressionLog:TLe,regressionPoly:PLe,regressionPow:ALe,regressionQuad:Lne,renderModule:zB,repeat:J2,resetDefaultLocale:POt,resetSVGClipId:W3e,resetSVGDefIds:kMt,responseType:uLe,runtimeContext:eze,sampleCurve:uB,sampleLogNormal:One,sampleNormal:oB,sampleUniform:Ane,scale:tr,sceneEqual:bie,sceneFromJSON:oFe,scenePickVisit:$N,sceneToJSON:iFe,sceneVisit:Gf,sceneZOrder:Jre,scheme:Vre,serializeXML:SFe,setHybridRendererOptions:CMt,setRandom:MEt,span:tR,splitAccessPath:zh,stringValue:rt,textMetrics:du,timeBin:VIe,timeFloor:IIe,timeFormatLocale:SA,timeInterval:wO,timeOffset:FIe,timeSequence:jIe,timeUnitSpecifier:EIe,timeUnits:lne,toBoolean:tne,toDate:nne,toNumber:qs,toSet:Wf,toString:rne,transform:yLe,transforms:RS,truncate:oIe,truthy:Tc,tupleid:zt,typeParsers:Qq,utcFloor:LIe,utcInterval:_O,utcOffset:NIe,utcSequence:BIe,utcdayofyear:PIe,utcquarter:YDe,utcweek:MIe,version:NBt,visitArray:Gm,week:kIe,writeConfig:mO,zero:nv,zoomLinear:Yte,zoomLog:Qte,zoomPow:hN,zoomSymlog:Kte},Symbol.toStringTag,{value:"Module"}));function jBt(t,e,n){let r;e.x2&&(e.x?(n&&t.x>t.x2&&(r=t.x,t.x=t.x2,t.x2=r),t.width=t.x2-t.x):t.x=t.x2-(t.width||0)),e.xc&&(t.x=t.xc-(t.width||0)/2),e.y2&&(e.y?(n&&t.y>t.y2&&(r=t.y,t.y=t.y2,t.y2=r),t.height=t.y2-t.y):t.y=t.y2-(t.height||0)),e.yc&&(t.y=t.yc-(t.height||0)/2)}var BBt={NaN:NaN,E:Math.E,LN2:Math.LN2,LN10:Math.LN10,LOG2E:Math.LOG2E,LOG10E:Math.LOG10E,PI:Math.PI,SQRT1_2:Math.SQRT1_2,SQRT2:Math.SQRT2,MIN_VALUE:Number.MIN_VALUE,MAX_VALUE:Number.MAX_VALUE},UBt={"*":(t,e)=>t*e,"+":(t,e)=>t+e,"-":(t,e)=>t-e,"/":(t,e)=>t/e,"%":(t,e)=>t%e,">":(t,e)=>t>e,"<":(t,e)=>tt<=e,">=":(t,e)=>t>=e,"==":(t,e)=>t==e,"!=":(t,e)=>t!=e,"===":(t,e)=>t===e,"!==":(t,e)=>t!==e,"&":(t,e)=>t&e,"|":(t,e)=>t|e,"^":(t,e)=>t^e,"<<":(t,e)=>t<>":(t,e)=>t>>e,">>>":(t,e)=>t>>>e},WBt={"+":t=>+t,"-":t=>-t,"~":t=>~t,"!":t=>!t};const VBt=Array.prototype.slice,p0=(t,e,n)=>{const r=n?n(e[0]):e[0];return r[t].apply(r,VBt.call(e,1))},GBt=(t,e,n,r,i,o,s)=>new Date(t,e||0,n??1,r||0,i||0,o||0,s||0);var HBt={isNaN:Number.isNaN,isFinite:Number.isFinite,abs:Math.abs,acos:Math.acos,asin:Math.asin,atan:Math.atan,atan2:Math.atan2,ceil:Math.ceil,cos:Math.cos,exp:Math.exp,floor:Math.floor,log:Math.log,max:Math.max,min:Math.min,pow:Math.pow,random:Math.random,round:Math.round,sin:Math.sin,sqrt:Math.sqrt,tan:Math.tan,clamp:(t,e,n)=>Math.max(e,Math.min(n,t)),now:Date.now,utc:Date.UTC,datetime:GBt,date:t=>new Date(t).getDate(),day:t=>new Date(t).getDay(),year:t=>new Date(t).getFullYear(),month:t=>new Date(t).getMonth(),hours:t=>new Date(t).getHours(),minutes:t=>new Date(t).getMinutes(),seconds:t=>new Date(t).getSeconds(),milliseconds:t=>new Date(t).getMilliseconds(),time:t=>new Date(t).getTime(),timezoneoffset:t=>new Date(t).getTimezoneOffset(),utcdate:t=>new Date(t).getUTCDate(),utcday:t=>new Date(t).getUTCDay(),utcyear:t=>new Date(t).getUTCFullYear(),utcmonth:t=>new Date(t).getUTCMonth(),utchours:t=>new Date(t).getUTCHours(),utcminutes:t=>new Date(t).getUTCMinutes(),utcseconds:t=>new Date(t).getUTCSeconds(),utcmilliseconds:t=>new Date(t).getUTCMilliseconds(),length:t=>t.length,join:function(){return p0("join",arguments)},indexof:function(){return p0("indexOf",arguments)},lastindexof:function(){return p0("lastIndexOf",arguments)},slice:function(){return p0("slice",arguments)},reverse:t=>t.slice().reverse(),parseFloat,parseInt,upper:t=>String(t).toUpperCase(),lower:t=>String(t).toLowerCase(),substring:function(){return p0("substring",arguments,String)},split:function(){return p0("split",arguments,String)},replace:function(){return p0("replace",arguments,String)},trim:t=>String(t).trim(),regexp:RegExp,test:(t,e)=>RegExp(t).test(e)};const qBt=["view","item","group","xy","x","y"],yY=new Set([Function,eval,setTimeout,setInterval]);typeof setImmediate=="function"&&yY.add(setImmediate);const XBt={Literal:(t,e)=>e.value,Identifier:(t,e)=>{const n=e.name;return t.memberDepth>0?n:n==="datum"?t.datum:n==="event"?t.event:n==="item"?t.item:BBt[n]||t.params["$"+n]},MemberExpression:(t,e)=>{const n=!e.computed,r=t(e.object);n&&(t.memberDepth+=1);const i=t(e.property);if(n&&(t.memberDepth-=1),yY.has(r[i])){console.error(`Prevented interpretation of member "${i}" which could lead to insecure code execution`);return}return r[i]},CallExpression:(t,e)=>{const n=e.arguments;let r=e.callee.name;return r.startsWith("_")&&(r=r.slice(1)),r==="if"?t(n[0])?t(n[1]):t(n[2]):(t.fn[r]||HBt[r]).apply(t.fn,n.map(t))},ArrayExpression:(t,e)=>e.elements.map(t),BinaryExpression:(t,e)=>UBt[e.operator](t(e.left),t(e.right)),UnaryExpression:(t,e)=>WBt[e.operator](t(e.argument)),ConditionalExpression:(t,e)=>t(e.test)?t(e.consequent):t(e.alternate),LogicalExpression:(t,e)=>e.operator==="&&"?t(e.left)&&t(e.right):t(e.left)||t(e.right),ObjectExpression:(t,e)=>e.properties.reduce((n,r)=>{t.memberDepth+=1;const i=t(r.key);return t.memberDepth-=1,yY.has(t(r.value))?console.error(`Prevented interpretation of property "${i}" which could lead to insecure code execution`):n[i]=t(r.value),n},{})};function s2(t,e,n,r,i,o){const s=a=>XBt[a.type](s,a);return s.memberDepth=0,s.fn=Object.create(e),s.params=n,s.datum=r,s.event=i,s.item=o,qBt.forEach(a=>s.fn[a]=function(){return i.vega[a](...arguments)}),s(t)}var YBt={operator(t,e){const n=e.ast,r=t.functions;return i=>s2(n,r,i)},parameter(t,e){const n=e.ast,r=t.functions;return(i,o)=>s2(n,r,o,i)},event(t,e){const n=e.ast,r=t.functions;return i=>s2(n,r,void 0,void 0,i)},handler(t,e){const n=e.ast,r=t.functions;return(i,o)=>{const s=o.item&&o.item.datum;return s2(n,r,i,s,o)}},encode(t,e){const{marktype:n,channels:r}=e,i=t.functions,o=n==="group"||n==="image"||n==="rect";return(s,a)=>{const l=s.datum;let u=0,c;for(const f in r)c=s2(r[f].ast,i,a,l,void 0,s),s[f]!==c&&(s[f]=c,u=1);return n!=="rule"&&jBt(s,r,o),u}}};const QBt="vega-lite",KBt='Dominik Moritz, Kanit "Ham" Wongsuphasawat, Arvind Satyanarayan, Jeffrey Heer',ZBt="5.21.0",JBt=["Kanit Wongsuphasawat (http://kanitw.yellowpigz.com)","Dominik Moritz (https://www.domoritz.de)","Arvind Satyanarayan (https://arvindsatya.com)","Jeffrey Heer (https://jheer.org)"],e6t="https://vega.github.io/vega-lite/",t6t="Vega-Lite is a concise high-level language for interactive visualization.",n6t=["vega","chart","visualization"],r6t="build/vega-lite.js",i6t="build/vega-lite.min.js",o6t="build/vega-lite.min.js",s6t="build/src/index",a6t="build/src/index.d.ts",l6t={vl2pdf:"./bin/vl2pdf",vl2png:"./bin/vl2png",vl2svg:"./bin/vl2svg",vl2vg:"./bin/vl2vg"},u6t=["bin","build","src","vega-lite*","tsconfig.json"],c6t={changelog:"conventional-changelog -p angular -r 2",prebuild:"yarn clean:build",build:"yarn build:only","build:only":"tsc -p tsconfig.build.json && rollup -c","prebuild:examples":"yarn build:only","build:examples":"yarn data && TZ=America/Los_Angeles scripts/build-examples.sh","prebuild:examples-full":"yarn build:only","build:examples-full":"TZ=America/Los_Angeles scripts/build-examples.sh 1","build:example":"TZ=America/Los_Angeles scripts/build-example.sh","build:toc":"yarn build:jekyll && scripts/generate-toc","build:site":"rollup -c site/rollup.config.mjs","build:jekyll":"pushd site && bundle exec jekyll build -q && popd","build:versions":"scripts/update-version.sh",clean:"yarn clean:build && del-cli 'site/data/*' 'examples/compiled/*.png' && find site/examples ! -name 'index.md' ! -name 'data' -type f -delete","clean:build":"del-cli 'build/*' !build/vega-lite-schema.json",data:"rsync -r node_modules/vega-datasets/data/* site/data","build-editor-preview":"scripts/build-editor-preview.sh",schema:"mkdir -p build && ts-json-schema-generator -f tsconfig.json -p src/index.ts -t TopLevelSpec --no-type-check --no-ref-encode > build/vega-lite-schema.json && yarn renameschema && cp build/vega-lite-schema.json site/_data/",renameschema:"scripts/rename-schema.sh",presite:"yarn data && yarn schema && yarn build:site && yarn build:versions && scripts/create-example-pages.sh",site:"yarn site:only","site:only":"pushd site && bundle exec jekyll serve -I -l && popd",prettierbase:"prettier '**/*.{md,css,yml}'",format:"eslint . --fix && yarn prettierbase --write",lint:"eslint . && yarn prettierbase --check",test:"yarn jest test/ && yarn lint && yarn schema && yarn jest examples/ && yarn test:runtime","test:cover":"yarn jest --collectCoverage test/","test:inspect":"node --inspect-brk ./node_modules/.bin/jest --runInBand test","test:runtime":"TZ=America/Los_Angeles npx jest test-runtime/ --config test-runtime/jest-config.json","test:runtime:generate":"yarn build:only && del-cli test-runtime/resources && VL_GENERATE_TESTS=true yarn test:runtime",watch:"tsc -p tsconfig.build.json -w","watch:site":"yarn build:site -w","watch:test":"yarn jest --watch test/","watch:test:runtime":"TZ=America/Los_Angeles npx jest --watch test-runtime/ --config test-runtime/jest-config.json",release:"release-it"},f6t={type:"git",url:"https://github.com/vega/vega-lite.git"},d6t="BSD-3-Clause",h6t={url:"https://github.com/vega/vega-lite/issues"},p6t={"@babel/core":"^7.24.9","@babel/preset-env":"^7.25.0","@babel/preset-typescript":"^7.24.7","@release-it/conventional-changelog":"^8.0.1","@rollup/plugin-alias":"^5.1.0","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@types/d3":"^7.4.3","@types/jest":"^29.5.12","@types/pako":"^2.0.3","@typescript-eslint/eslint-plugin":"^7.17.0","@typescript-eslint/parser":"^7.17.0",ajv:"^8.17.1","ajv-formats":"^3.0.1",cheerio:"^1.0.0-rc.12","conventional-changelog-cli":"^5.0.0",d3:"^7.9.0","del-cli":"^5.1.0",eslint:"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^27.9.0","eslint-plugin-prettier":"^5.2.1","fast-json-stable-stringify":"~2.1.0","highlight.js":"^11.10.0",jest:"^29.7.0","jest-dev-server":"^10.0.0",mkdirp:"^3.0.1",pako:"^2.1.0",prettier:"^3.3.3",puppeteer:"^15.0.0","release-it":"17.6.0",rollup:"^4.19.1","rollup-plugin-bundle-size":"^1.0.3",serve:"^14.2.3",terser:"^5.31.3","ts-jest":"^29.2.3","ts-json-schema-generator":"^2.3.0",typescript:"~5.5.4","vega-cli":"^5.28.0","vega-datasets":"^2.8.1","vega-embed":"^6.26.0","vega-tooltip":"^0.34.0","yaml-front-matter":"^4.1.1"},g6t={"json-stringify-pretty-compact":"~3.0.0",tslib:"~2.6.3","vega-event-selector":"~3.0.1","vega-expression":"~5.1.1","vega-util":"~1.17.2",yargs:"~17.7.2"},m6t={vega:"^5.24.0"},v6t={node:">=18"},y6t="yarn@1.22.19",x6t={name:QBt,author:KBt,version:ZBt,collaborators:JBt,homepage:e6t,description:t6t,keywords:n6t,main:r6t,unpkg:i6t,jsdelivr:o6t,module:s6t,types:a6t,bin:l6t,files:u6t,scripts:c6t,repository:f6t,license:d6t,bugs:h6t,devDependencies:p6t,dependencies:g6t,peerDependencies:m6t,engines:v6t,packageManager:y6t};function Hoe(t){return Ke(t,"or")}function qoe(t){return Ke(t,"and")}function Xoe(t){return Ke(t,"not")}function I3(t,e){if(Xoe(t))I3(t.not,e);else if(qoe(t))for(const n of t.and)I3(n,e);else if(Hoe(t))for(const n of t.or)I3(n,e);else e(t)}function $_(t,e){return Xoe(t)?{not:$_(t.not,e)}:qoe(t)?{and:t.and.map(n=>$_(n,e))}:Hoe(t)?{or:t.or.map(n=>$_(n,e))}:e(t)}const Kt=structuredClone;function Qze(t){throw new Error(t)}function qS(t,e){const n={};for(const r of e)vt(t,r)&&(n[r]=t[r]);return n}function hl(t,e){const n={...t};for(const r of e)delete n[r];return n}Set.prototype.toJSON=function(){return`Set(${[...this].map(t=>Tr(t)).join(",")})`};function Mn(t){if(Jn(t))return t;const e=gt(t)?t:Tr(t);if(e.length<250)return e;let n=0;for(let r=0;ra===0?s:`[${s}]`),o=i.map((s,a)=>i.slice(0,a+1).join(""));for(const s of o)e.add(s)}return e}function Koe(t,e){return t===void 0||e===void 0?!0:Qoe(bY(t),bY(e))}function Er(t){return Qe(t).length===0}const Qe=Object.keys,bs=Object.values,dy=Object.entries;function HA(t){return t===!0||t===!1}function hi(t){const e=t.replace(/\W/g,"_");return(t.match(/^\d+/)?"_":"")+e}function gk(t,e){return Xoe(t)?`!(${gk(t.not,e)})`:qoe(t)?`(${t.and.map(n=>gk(n,e)).join(") && (")})`:Hoe(t)?`(${t.or.map(n=>gk(n,e)).join(") || (")})`:e(t)}function M5(t,e){if(e.length===0)return!0;const n=e.shift();return n in t&&M5(t[n],e)&&delete t[n],Er(t)}function IR(t){return t.charAt(0).toUpperCase()+t.substr(1)}function Zoe(t,e="datum"){const n=zh(t),r=[];for(let i=1;i<=n.length;i++){const o=`[${n.slice(0,i).map(rt).join("][")}]`;r.push(`${e}${o}`)}return r.join(" && ")}function Jze(t,e="datum"){return`${e}[${rt(zh(t).join("."))}]`}function _6t(t){return t.replace(/(\[|\]|\.|'|")/g,"\\$1")}function Mc(t){return`${zh(t).map(_6t).join("\\.")}`}function x1(t,e,n){return t.replace(new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"g"),n)}function MO(t){return`${zh(t).join(".")}`}function YS(t){return t?zh(t).length:0}function qi(...t){return t.find(e=>e!==void 0)}let eje=42;function tje(t){const e=++eje;return t?String(t)+e:e}function S6t(){eje=42}function nje(t){return rje(t)?t:`__${t}`}function rje(t){return t.startsWith("__")}function qA(t){if(t!==void 0)return(t%360+360)%360}function l6(t){return Jn(t)?!0:!isNaN(t)&&!isNaN(parseFloat(t))}const Uve=Object.getPrototypeOf(structuredClone({}));function su(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor.name!==e.constructor.name)return!1;let n,r;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(!su(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(const o of t.entries())if(!e.has(o[0]))return!1;for(const o of t.entries())if(!su(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(const o of t.entries())if(!e.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(n=t.length,n!=e.length)return!1;for(r=n;r--!==0;)if(t[r]!==e[r])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&t.valueOf!==Uve.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&t.toString!==Uve.toString)return t.toString()===e.toString();const i=Object.keys(t);if(n=i.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!su(t[o],e[o]))return!1}return!0}return t!==t&&e!==e}function Tr(t){const e=[];return function n(r){if(r&&r.toJSON&&typeof r.toJSON=="function"&&(r=r.toJSON()),r===void 0)return;if(typeof r=="number")return isFinite(r)?""+r:"null";if(typeof r!="object")return JSON.stringify(r);let i,o;if(Array.isArray(r)){for(o="[",i=0;im6(t[e])?hi(`_${e}_${dy(t[e])}`):hi(`_${e}_${t[e]}`)).join("")}function Gr(t){return t===!0||hb(t)&&!t.binned}function ns(t){return t==="binned"||hb(t)&&t.binned===!0}function hb(t){return ht(t)}function m6(t){return Ke(t,"param")}function Wve(t){switch(t){case sg:case ag:case Zg:case Sl:case Hh:case qh:case Xy:case Jg:case Hy:case qy:case Cl:return 6;case Yy:return 4;default:return 10}}function NR(t){return Ke(t,"expr")}function is(t,{level:e}={level:0}){const n=Qe(t||{}),r={};for(const i of n)r[i]=e===0?eu(t[i]):is(t[i],{level:e-1});return r}function vje(t){const{anchor:e,frame:n,offset:r,orient:i,angle:o,limit:s,color:a,subtitleColor:l,subtitleFont:u,subtitleFontSize:c,subtitleFontStyle:f,subtitleFontWeight:d,subtitleLineHeight:h,subtitlePadding:p,...g}=t,m={...g,...a?{fill:a}:{}},v={...e?{anchor:e}:{},...n?{frame:n}:{},...r?{offset:r}:{},...i?{orient:i}:{},...o!==void 0?{angle:o}:{},...s!==void 0?{limit:s}:{}},y={...l?{subtitleColor:l}:{},...u?{subtitleFont:u}:{},...c?{subtitleFontSize:c}:{},...f?{subtitleFontStyle:f}:{},...d?{subtitleFontWeight:d}:{},...h?{subtitleLineHeight:h}:{},...p?{subtitlePadding:p}:{}},x=qS(t,["align","baseline","dx","dy","limit"]);return{titleMarkConfig:m,subtitleMarkConfig:x,nonMarkTitleProperties:v,subtitle:y}}function Ym(t){return gt(t)||We(t)&>(t[0])}function Mt(t){return Ke(t,"signal")}function pb(t){return Ke(t,"step")}function q6t(t){return We(t)?!1:Ke(t,"fields")&&!Ke(t,"data")}function X6t(t){return We(t)?!1:Ke(t,"fields")&&Ke(t,"data")}function Qp(t){return We(t)?!1:Ke(t,"field")&&Ke(t,"data")}const Y6t={aria:1,description:1,ariaRole:1,ariaRoleDescription:1,blend:1,opacity:1,fill:1,fillOpacity:1,stroke:1,strokeCap:1,strokeWidth:1,strokeOpacity:1,strokeDash:1,strokeDashOffset:1,strokeJoin:1,strokeOffset:1,strokeMiterLimit:1,startAngle:1,endAngle:1,padAngle:1,innerRadius:1,outerRadius:1,size:1,shape:1,interpolate:1,tension:1,orient:1,align:1,baseline:1,text:1,dir:1,dx:1,dy:1,ellipsis:1,limit:1,radius:1,theta:1,angle:1,font:1,fontSize:1,fontWeight:1,fontStyle:1,lineBreak:1,lineHeight:1,cursor:1,href:1,tooltip:1,cornerRadius:1,cornerRadiusTopLeft:1,cornerRadiusTopRight:1,cornerRadiusBottomLeft:1,cornerRadiusBottomRight:1,aspect:1,width:1,height:1,url:1,smooth:1},Q6t=Qe(Y6t),K6t={arc:1,area:1,group:1,image:1,line:1,path:1,rect:1,rule:1,shape:1,symbol:1,text:1,trail:1},wY=["cornerRadius","cornerRadiusTopLeft","cornerRadiusTopRight","cornerRadiusBottomLeft","cornerRadiusBottomRight"];function yje(t){const e=We(t.condition)?t.condition.map(Vve):Vve(t.condition);return{...eu(t),condition:e}}function eu(t){if(NR(t)){const{expr:e,...n}=t;return{signal:e,...n}}return t}function Vve(t){if(NR(t)){const{expr:e,...n}=t;return{signal:e,...n}}return t}function Jr(t){if(NR(t)){const{expr:e,...n}=t;return{signal:e,...n}}return Mt(t)?t:t!==void 0?{value:t}:void 0}function Z6t(t){return Mt(t)?t.signal:rt(t)}function Gve(t){return Mt(t)?t.signal:rt(t.value)}function Tf(t){return Mt(t)?t.signal:t==null?null:rt(t)}function J6t(t,e,n){for(const r of n){const i=Ph(r,e.markDef,e.config);i!==void 0&&(t[r]=Jr(i))}return t}function xje(t){return[].concat(t.type,t.style??[])}function Or(t,e,n,r={}){const{vgChannel:i,ignoreVgConfig:o}=r;return i&&Ke(e,i)?e[i]:e[t]!==void 0?e[t]:o&&(!i||i===t)?void 0:Ph(t,e,n,r)}function Ph(t,e,n,{vgChannel:r}={}){const i=_Y(t,e,n.style);return qi(r?i:void 0,i,r?n[e.type][r]:void 0,n[e.type][t],r?n.mark[r]:n.mark[t])}function _Y(t,e,n){return bje(t,xje(e),n)}function bje(t,e,n){e=pt(e);let r;for(const i of e){const o=n[i];Ke(o,t)&&(r=o[t])}return r}function wje(t,e){return pt(t).reduce((n,r)=>(n.field.push(lt(r,e)),n.order.push(r.sort??"ascending"),n),{field:[],order:[]})}function _je(t,e){const n=[...t];return e.forEach(r=>{for(const i of n)if(su(i,r))return;n.push(r)}),n}function Sje(t,e){return su(t,e)||!e?t:t?[...pt(t),...pt(e)].join(", "):e}function Cje(t,e){const n=t.value,r=e.value;if(n==null||r===null)return{explicit:t.explicit,value:null};if((Ym(n)||Mt(n))&&(Ym(r)||Mt(r)))return{explicit:t.explicit,value:Sje(n,r)};if(Ym(n)||Mt(n))return{explicit:t.explicit,value:n};if(Ym(r)||Mt(r))return{explicit:t.explicit,value:r};if(!Ym(n)&&!Mt(n)&&!Ym(r)&&!Mt(r))return{explicit:t.explicit,value:_je(n,r)};throw new Error("It should never reach here")}function lse(t){return`Invalid specification ${Tr(t)}. Make sure the specification includes at least one of the following properties: "mark", "layer", "facet", "hconcat", "vconcat", "concat", or "repeat".`}const eUt='Autosize "fit" only works for single views and layered views.';function Hve(t){return`${t=="width"?"Width":"Height"} "container" only works for single views and layered views.`}function qve(t){const e=t=="width"?"Width":"Height",n=t=="width"?"x":"y";return`${e} "container" only works well with autosize "fit" or "fit-${n}".`}function Xve(t){return t?`Dropping "fit-${t}" because spec has discrete ${Ol(t)}.`:'Dropping "fit" because spec has discrete size.'}function use(t){return`Unknown field for ${t}. Cannot calculate view size.`}function Yve(t){return`Cannot project a selection on encoding channel "${t}", which has no field.`}function tUt(t,e){return`Cannot project a selection on encoding channel "${t}" as it uses an aggregate function ("${e}").`}function nUt(t){return`The "nearest" transform is not supported for ${t} marks.`}function Oje(t){return`Selection not supported for ${t} yet.`}function rUt(t){return`Cannot find a selection named "${t}".`}const iUt="Scale bindings are currently only supported for scales with unbinned, continuous domains.",oUt="Sequntial scales are deprecated. The available quantitative scale type values are linear, log, pow, sqrt, symlog, time and utc",sUt="Legend bindings are only supported for selections over an individual field or encoding channel.";function aUt(t){return`Lookups can only be performed on selection parameters. "${t}" is a variable parameter.`}function lUt(t){return`Cannot define and lookup the "${t}" selection in the same view. Try moving the lookup into a second, layered view?`}const uUt="The same selection must be used to override scale domains in a layered view.",cUt='Interval selections should be initialized using "x", "y", "longitude", or "latitude" keys.';function fUt(t){return`Unknown repeated value "${t}".`}function Qve(t){return`The "columns" property cannot be used when "${t}" has nested row/column.`}const dUt="Axes cannot be shared in concatenated or repeated views yet (https://github.com/vega/vega-lite/issues/2415).";function hUt(t){return`Unrecognized parse "${t}".`}function Kve(t,e,n){return`An ancestor parsed field "${t}" as ${n} but a child wants to parse the field as ${e}.`}const pUt="Attempt to add the same child twice.";function gUt(t){return`Ignoring an invalid transform: ${Tr(t)}.`}const mUt='If "from.fields" is not specified, "as" has to be a string that specifies the key to be used for the data from the secondary source.';function Zve(t){return`Config.customFormatTypes is not true, thus custom format type and format for channel ${t} are dropped.`}function vUt(t){const{parentProjection:e,projection:n}=t;return`Layer's shared projection ${Tr(e)} is overridden by a child projection ${Tr(n)}.`}const yUt="Arc marks uses theta channel rather than angle, replacing angle with theta.";function xUt(t){return`${t}Offset dropped because ${t} is continuous`}function bUt(t,e,n){return`Channel ${t} is a ${e}. Converted to {value: ${Tr(n)}}.`}function Eje(t){return`Invalid field type "${t}".`}function wUt(t,e){return`Invalid field type "${t}" for aggregate: "${e}", using "quantitative" instead.`}function _Ut(t){return`Invalid aggregation operator "${t}".`}function Tje(t,e){const{fill:n,stroke:r}=e;return`Dropping color ${t} as the plot also has ${n&&r?"fill and stroke":n?"fill":"stroke"}.`}function SUt(t){return`Position range does not support relative band size for ${t}.`}function SY(t,e){return`Dropping ${Tr(t)} from channel "${e}" since it does not contain any data field, datum, value, or signal.`}const CUt="Line marks cannot encode size with a non-groupby field. You may want to use trail marks instead.";function v6(t,e,n){return`${t} dropped as it is incompatible with "${e}".`}function OUt(t){return`${t}-encoding is dropped as ${t} is not a valid encoding channel.`}function EUt(t){return`${t} encoding should be discrete (ordinal / nominal / binned).`}function TUt(t){return`${t} encoding should be discrete (ordinal / nominal / binned) or use a discretizing scale (e.g. threshold).`}function kUt(t){return`Facet encoding dropped as ${t.join(" and ")} ${t.length>1?"are":"is"} also specified.`}function zV(t,e){return`Using discrete channel "${t}" to encode "${e}" field can be misleading as it does not encode ${e==="ordinal"?"order":"magnitude"}.`}function AUt(t){return`The ${t} for range marks cannot be an expression`}function PUt(t,e){return`Line mark is for continuous lines and thus cannot be used with ${t&&e?"x2 and y2":t?"x2":"y2"}. We will use the rule mark (line segments) instead.`}function MUt(t,e){return`Specified orient "${t}" overridden with "${e}".`}function RUt(t){return`Cannot use the scale property "${t}" with non-color channel.`}function DUt(t){return`Cannot use the relative band size with ${t} scale.`}function IUt(t){return`Using unaggregated domain with raw field has no effect (${Tr(t)}).`}function LUt(t){return`Unaggregated domain not applicable for "${t}" since it produces values outside the origin domain of the source data.`}function $Ut(t){return`Unaggregated domain is currently unsupported for log scale (${Tr(t)}).`}function FUt(t){return`Cannot apply size to non-oriented mark "${t}".`}function NUt(t,e,n){return`Channel "${t}" does not work with "${e}" scale. We are using "${n}" scale instead.`}function zUt(t,e){return`FieldDef does not work with "${t}" scale. We are using "${e}" scale instead.`}function kje(t,e,n){return`${n}-scale's "${e}" is dropped as it does not work with ${t} scale.`}function Aje(t){return`The step for "${t}" is dropped because the ${t==="width"?"x":"y"} is continuous.`}function jUt(t,e,n,r){return`Conflicting ${e.toString()} property "${t.toString()}" (${Tr(n)} and ${Tr(r)}). Using ${Tr(n)}.`}function BUt(t,e,n,r){return`Conflicting ${e.toString()} property "${t.toString()}" (${Tr(n)} and ${Tr(r)}). Using the union of the two domains.`}function UUt(t){return`Setting the scale to be independent for "${t}" means we also have to set the guide (axis or legend) to be independent.`}function WUt(t){return`Dropping sort property ${Tr(t)} as unioned domains only support boolean or op "count", "min", and "max".`}const Jve="Domains that should be unioned has conflicting sort properties. Sort will be set to true.",VUt="Detected faceted independent scales that union domain of multiple fields from different data sources. We will use the first field. The result view size may be incorrect.",GUt="Detected faceted independent scales that union domain of the same fields from different source. We will assume that this is the same field from a different fork of the same data source. However, if this is not the case, the result view size may be incorrect.",HUt="Detected faceted independent scales that union domain of multiple fields from the same data source. We will use the first field. The result view size may be incorrect.";function qUt(t){return`Cannot stack "${t}" if there is already "${t}2".`}function XUt(t){return`Stack is applied to a non-linear scale (${t}).`}function YUt(t){return`Stacking is applied even though the aggregate function is non-summative ("${t}").`}function R5(t,e){return`Invalid ${t}: ${Tr(e)}.`}function QUt(t){return`Dropping day from datetime ${Tr(t)} as day cannot be combined with other units.`}function KUt(t,e){return`${e?"extent ":""}${e&&t?"and ":""}${t?"center ":""}${e&&t?"are ":"is "}not needed when data are aggregated.`}function ZUt(t,e,n){return`${t} is not usually used with ${e} for ${n}.`}function JUt(t,e){return`Continuous axis should not have customized aggregation function ${t}; ${e} already agregates the axis.`}function eye(t){return`1D error band does not support ${t}.`}function Pje(t){return`Channel ${t} is required for "binned" bin.`}function e8t(t){return`Channel ${t} should not be used with "binned" bin.`}function t8t(t){return`Domain for ${t} is required for threshold scale.`}const Mje=Xte(qte);let KS=Mje;function n8t(t){return KS=t,KS}function r8t(){return KS=Mje,KS}function Ze(...t){KS.warn(...t)}function i8t(...t){KS.debug(...t)}function gb(t){if(t&&ht(t)){for(const e of fse)if(Ke(t,e))return!0}return!1}const Rje=["january","february","march","april","may","june","july","august","september","october","november","december"],o8t=Rje.map(t=>t.substr(0,3)),Dje=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"],s8t=Dje.map(t=>t.substr(0,3));function a8t(t){if(l6(t)&&(t=+t),Jn(t))return t>4&&Ze(R5("quarter",t)),t-1;throw new Error(R5("quarter",t))}function l8t(t){if(l6(t)&&(t=+t),Jn(t))return t-1;{const e=t.toLowerCase(),n=Rje.indexOf(e);if(n!==-1)return n;const r=e.substr(0,3),i=o8t.indexOf(r);if(i!==-1)return i;throw new Error(R5("month",t))}}function u8t(t){if(l6(t)&&(t=+t),Jn(t))return t%7;{const e=t.toLowerCase(),n=Dje.indexOf(e);if(n!==-1)return n;const r=e.substr(0,3),i=s8t.indexOf(r);if(i!==-1)return i;throw new Error(R5("day",t))}}function cse(t,e){const n=[];if(e&&t.day!==void 0&&Qe(t).length>1&&(Ze(QUt(t)),t=Kt(t),delete t.day),t.year!==void 0?n.push(t.year):n.push(2012),t.month!==void 0){const r=e?l8t(t.month):t.month;n.push(r)}else if(t.quarter!==void 0){const r=e?a8t(t.quarter):t.quarter;n.push(Jn(r)?r*3:`${r}*3`)}else n.push(0);if(t.date!==void 0)n.push(t.date);else if(t.day!==void 0){const r=e?u8t(t.day):t.day;n.push(Jn(r)?r+1:`${r}+1`)}else n.push(1);for(const r of["hours","minutes","seconds","milliseconds"]){const i=t[r];n.push(typeof i>"u"?0:i)}return n}function w1(t){const n=cse(t,!0).join(", ");return t.utc?`utc(${n})`:`datetime(${n})`}function c8t(t){const n=cse(t,!1).join(", ");return t.utc?`utc(${n})`:`datetime(${n})`}function f8t(t){const e=cse(t,!0);return t.utc?+new Date(Date.UTC(...e)):+new Date(...e)}const Ije={year:1,quarter:1,month:1,week:1,day:1,dayofyear:1,date:1,hours:1,minutes:1,seconds:1,milliseconds:1},fse=Qe(Ije);function d8t(t){return vt(Ije,t)}function mb(t){return ht(t)?t.binned:Lje(t)}function Lje(t){return t&&t.startsWith("binned")}function dse(t){return t.startsWith("utc")}function h8t(t){return t.substring(3)}const p8t={"year-month":"%b %Y ","year-month-date":"%b %d, %Y "};function y6(t){return fse.filter(e=>Fje(t,e))}function $je(t){const e=y6(t);return e[e.length-1]}function Fje(t,e){const n=t.indexOf(e);return!(n<0||n>0&&e==="seconds"&&t.charAt(n-1)==="i"||t.length>n+3&&e==="day"&&t.charAt(n+3)==="o"||n>0&&e==="year"&&t.charAt(n-1)==="f")}function g8t(t,e,{end:n}={end:!1}){const r=Zoe(e),i=dse(t)?"utc":"";function o(l){return l==="quarter"?`(${i}quarter(${r})-1)`:`${i}${l}(${r})`}let s;const a={};for(const l of fse)Fje(t,l)&&(a[l]=o(l),s=l);return n&&(a[s]+="+1"),c8t(a)}function Nje(t){if(!t)return;const e=y6(t);return`timeUnitSpecifier(${Tr(e)}, ${Tr(p8t)})`}function m8t(t,e,n){if(!t)return;const r=Nje(t);return`${n||dse(t)?"utc":"time"}Format(${e}, ${r})`}function Uo(t){if(!t)return;let e;return gt(t)?Lje(t)?e={unit:t.substring(6),binned:!0}:e={unit:t}:ht(t)&&(e={...t,...t.unit?{unit:t.unit}:{}}),dse(e.unit)&&(e.utc=!0,e.unit=h8t(e.unit)),e}function v8t(t){const{utc:e,...n}=Uo(t);return n.unit?(e?"utc":"")+Qe(n).map(r=>hi(`${r==="unit"?"":`_${r}_`}${n[r]}`)).join(""):(e?"utc":"")+"timeunit"+Qe(n).map(r=>hi(`_${r}_${n[r]}`)).join("")}function zje(t,e=n=>n){const n=Uo(t),r=$je(n.unit);if(r&&r!=="day"){const i={year:2001,month:1,date:1,hours:0,minutes:0,seconds:0,milliseconds:0},{step:o,part:s}=jje(r,n.step),a={...i,[s]:+i[s]+o};return`${e(w1(a))} - ${e(w1(i))}`}}const y8t={year:1,month:1,date:1,hours:1,minutes:1,seconds:1,milliseconds:1};function x8t(t){return vt(y8t,t)}function jje(t,e=1){if(x8t(t))return{part:t,step:e};switch(t){case"day":case"dayofyear":return{part:"date",step:e};case"quarter":return{part:"month",step:e*3};case"week":return{part:"date",step:e*7}}}function b8t(t){return Ke(t,"param")}function hse(t){return!!(t!=null&&t.field)&&t.equal!==void 0}function pse(t){return!!(t!=null&&t.field)&&t.lt!==void 0}function gse(t){return!!(t!=null&&t.field)&&t.lte!==void 0}function mse(t){return!!(t!=null&&t.field)&&t.gt!==void 0}function vse(t){return!!(t!=null&&t.field)&&t.gte!==void 0}function yse(t){if(t!=null&&t.field){if(We(t.range)&&t.range.length===2)return!0;if(Mt(t.range))return!0}return!1}function xse(t){return!!(t!=null&&t.field)&&(We(t.oneOf)||We(t.in))}function w8t(t){return!!(t!=null&&t.field)&&t.valid!==void 0}function Bje(t){return xse(t)||hse(t)||yse(t)||pse(t)||mse(t)||gse(t)||vse(t)}function bd(t,e){return k6(t,{timeUnit:e,wrapTime:!0})}function _8t(t,e){return t.map(n=>bd(n,e))}function Uje(t,e=!0){const{field:n}=t,r=Uo(t.timeUnit),{unit:i,binned:o}=r||{},s=lt(t,{expr:"datum"}),a=i?`time(${o?s:g8t(i,n)})`:s;if(hse(t))return`${a}===${bd(t.equal,i)}`;if(pse(t)){const l=t.lt;return`${a}<${bd(l,i)}`}else if(mse(t)){const l=t.gt;return`${a}>${bd(l,i)}`}else if(gse(t)){const l=t.lte;return`${a}<=${bd(l,i)}`}else if(vse(t)){const l=t.gte;return`${a}>=${bd(l,i)}`}else{if(xse(t))return`indexof([${_8t(t.oneOf,i).join(",")}], ${a}) !== -1`;if(w8t(t))return x6(a,t.valid);if(yse(t)){const{range:l}=is(t),u=Mt(l)?{signal:`${l.signal}[0]`}:l[0],c=Mt(l)?{signal:`${l.signal}[1]`}:l[1];if(u!==null&&c!==null&&e)return"inrange("+a+", ["+bd(u,i)+", "+bd(c,i)+"])";const f=[];return u!==null&&f.push(`${a} >= ${bd(u,i)}`),c!==null&&f.push(`${a} <= ${bd(c,i)}`),f.length>0?f.join(" && "):"true"}}throw new Error(`Invalid field predicate: ${Tr(t)}`)}function x6(t,e=!0){return e?`isValid(${t}) && isFinite(+${t})`:`!isValid(${t}) || !isFinite(+${t})`}function S8t(t){return Bje(t)&&t.timeUnit?{...t,timeUnit:Uo(t.timeUnit)}:t}const zR={quantitative:"quantitative",ordinal:"ordinal",temporal:"temporal",nominal:"nominal",geojson:"geojson"};function C8t(t){return t==="quantitative"||t==="temporal"}function Wje(t){return t==="ordinal"||t==="nominal"}const _1=zR.quantitative,bse=zR.ordinal,ZS=zR.temporal,wse=zR.nominal,DO=zR.geojson;function O8t(t){if(t)switch(t=t.toLowerCase(),t){case"q":case _1:return"quantitative";case"t":case ZS:return"temporal";case"o":case bse:return"ordinal";case"n":case wse:return"nominal";case DO:return"geojson"}}const os={LINEAR:"linear",LOG:"log",POW:"pow",SQRT:"sqrt",SYMLOG:"symlog",IDENTITY:"identity",SEQUENTIAL:"sequential",TIME:"time",UTC:"utc",QUANTILE:"quantile",QUANTIZE:"quantize",THRESHOLD:"threshold",BIN_ORDINAL:"bin-ordinal",ORDINAL:"ordinal",POINT:"point",BAND:"band"},CY={linear:"numeric",log:"numeric",pow:"numeric",sqrt:"numeric",symlog:"numeric",identity:"numeric",sequential:"numeric",time:"time",utc:"time",ordinal:"ordinal","bin-ordinal":"bin-ordinal",point:"ordinal-position",band:"ordinal-position",quantile:"discretizing",quantize:"discretizing",threshold:"discretizing"};function E8t(t,e){const n=CY[t],r=CY[e];return n===r||n==="ordinal-position"&&r==="time"||r==="ordinal-position"&&n==="time"}const T8t={linear:0,log:1,pow:1,sqrt:1,symlog:1,identity:1,sequential:1,time:0,utc:0,point:10,band:11,ordinal:0,"bin-ordinal":0,quantile:0,quantize:0,threshold:0};function tye(t){return T8t[t]}const Vje=new Set(["linear","log","pow","sqrt","symlog"]),Gje=new Set([...Vje,"time","utc"]);function Hje(t){return Vje.has(t)}const qje=new Set(["quantile","quantize","threshold"]),k8t=new Set([...Gje,...qje,"sequential","identity"]),A8t=new Set(["ordinal","bin-ordinal","point","band"]);function Wo(t){return A8t.has(t)}function Hf(t){return k8t.has(t)}function Zd(t){return Gje.has(t)}function JS(t){return qje.has(t)}const P8t={pointPadding:.5,barBandPaddingInner:.1,rectBandPaddingInner:0,tickBandPaddingInner:.25,bandWithNestedOffsetPaddingInner:.2,bandWithNestedOffsetPaddingOuter:.2,minBandSize:2,minFontSize:8,maxFontSize:40,minOpacity:.3,maxOpacity:.8,minSize:4,minStrokeWidth:1,maxStrokeWidth:4,quantileCount:4,quantizeCount:4,zero:!0};function M8t(t){return!gt(t)&&Ke(t,"name")}function Xje(t){return Ke(t,"param")}function R8t(t){return Ke(t,"unionWith")}function D8t(t){return ht(t)&&"field"in t}const I8t={type:1,domain:1,domainMax:1,domainMin:1,domainMid:1,domainRaw:1,align:1,range:1,rangeMax:1,rangeMin:1,scheme:1,bins:1,reverse:1,round:1,clamp:1,nice:1,base:1,exponent:1,constant:1,interpolate:1,zero:1,padding:1,paddingInner:1,paddingOuter:1},{type:DXn,domain:IXn,range:LXn,rangeMax:$Xn,rangeMin:FXn,scheme:NXn,...L8t}=I8t,$8t=Qe(L8t);function OY(t,e){switch(e){case"type":case"domain":case"reverse":case"range":return!0;case"scheme":case"interpolate":return!["point","band","identity"].includes(t);case"bins":return!["point","band","identity","ordinal"].includes(t);case"round":return Zd(t)||t==="band"||t==="point";case"padding":case"rangeMin":case"rangeMax":return Zd(t)||["point","band"].includes(t);case"paddingOuter":case"align":return["point","band"].includes(t);case"paddingInner":return t==="band";case"domainMax":case"domainMid":case"domainMin":case"domainRaw":case"clamp":return Zd(t);case"nice":return Zd(t)||t==="quantize"||t==="threshold";case"exponent":return t==="pow";case"base":return t==="log";case"constant":return t==="symlog";case"zero":return Hf(t)&&!En(["log","time","utc","threshold","quantile"],t)}}function Yje(t,e){switch(e){case"interpolate":case"scheme":case"domainMid":return F_(t)?void 0:RUt(e);case"align":case"type":case"bins":case"domain":case"domainMax":case"domainMin":case"domainRaw":case"range":case"base":case"exponent":case"constant":case"nice":case"padding":case"paddingInner":case"paddingOuter":case"rangeMax":case"rangeMin":case"reverse":case"round":case"clamp":case"zero":return}}function F8t(t,e){return En([bse,wse],e)?t===void 0||Wo(t):e===ZS?En([os.TIME,os.UTC,void 0],t):e===_1?Hje(t)||JS(t)||t===void 0:!0}function N8t(t,e,n=!1){if(!Yh(t))return!1;switch(t){case vi:case Yo:case Gy:case RO:case jc:case od:return Zd(e)||e==="band"?!0:e==="point"?!n:!1;case Zg:case Xy:case Jg:case Hy:case qy:case fb:return Zd(e)||JS(e)||En(["band","point","ordinal"],e);case Sl:case Hh:case qh:return e!=="band";case Yy:case Cl:return e==="ordinal"||JS(e)}}function z8t(t){return ht(t)&&"value"in t}const ja={arc:"arc",area:"area",bar:"bar",image:"image",line:"line",point:"point",rect:"rect",rule:"rule",text:"text",tick:"tick",trail:"trail",circle:"circle",square:"square",geoshape:"geoshape"},Qje=ja.arc,b6=ja.area,w6=ja.bar,j8t=ja.image,_6=ja.line,S6=ja.point,B8t=ja.rect,D5=ja.rule,Kje=ja.text,_se=ja.tick,U8t=ja.trail,Sse=ja.circle,Cse=ja.square,Zje=ja.geoshape;function Ky(t){return["line","area","trail"].includes(t)}function XA(t){return["rect","bar","image","arc","tick"].includes(t)}const W8t=new Set(Qe(ja));function Mh(t){return Ke(t,"type")}const V8t=["stroke","strokeWidth","strokeDash","strokeDashOffset","strokeOpacity","strokeJoin","strokeMiterLimit"],G8t=["fill","fillOpacity"],H8t=[...V8t,...G8t],q8t={color:1,filled:1,invalid:1,order:1,radius2:1,theta2:1,timeUnitBandSize:1,timeUnitBandPosition:1},nye=Qe(q8t),jV=["binSpacing","continuousBandSize","discreteBandSize","minBandSize"],X8t={area:["line","point"],bar:jV,rect:jV,line:["point"],tick:["bandSize","thickness",...jV]},Y8t={color:"#4c78a8",invalid:"break-paths-show-path-domains",timeUnitBandSize:1},Q8t={mark:1,arc:1,area:1,bar:1,circle:1,image:1,line:1,point:1,rect:1,rule:1,square:1,text:1,tick:1,trail:1,geoshape:1},Jje=Qe(Q8t);function S1(t){return Ke(t,"band")}const K8t={horizontal:["cornerRadiusTopRight","cornerRadiusBottomRight"],vertical:["cornerRadiusTopLeft","cornerRadiusTopRight"]},Z8t=5,Ose={binSpacing:0,continuousBandSize:Z8t,minBandSize:.25,timeUnitBandPosition:.5},J8t={...Ose,binSpacing:1},eWt={...Ose,thickness:1};function tWt(t){return Mh(t)?t.type:t}function e4e(t,{isPath:e}){return t===void 0||t==="break-paths-show-path-domains"?e?"break-paths-show-domains":"filter":t===null?"show":t}function Ese({markDef:t,config:e,scaleChannel:n,scaleType:r,isCountAggregate:i}){var a,l;if(!r||!Hf(r)||i)return"always-valid";const o=e4e(Or("invalid",t,e),{isPath:Ky(t.type)});return((l=(a=e.scale)==null?void 0:a.invalid)==null?void 0:l[n])!==void 0?"show":o}function nWt(t){return t==="break-paths-filter-domains"||t==="break-paths-show-domains"}function t4e({scaleName:t,scale:e,mode:n}){const r=`domain('${t}')`;if(!e||!t)return;const i=`${r}[0]`,o=`peek(${r})`,s=e.domainHasZero();return s==="definitely"?{scale:t,value:0}:s==="maybe"?{signal:`scale('${t}', inrange(0, ${r}) ? 0 : ${n==="zeroOrMin"?i:o})`}:{signal:`scale('${t}', ${n==="zeroOrMin"?i:o})`}}function n4e({scaleChannel:t,channelDef:e,scale:n,scaleName:r,markDef:i,config:o}){var c;const s=n==null?void 0:n.get("type"),a=Xf(e),l=g6(a==null?void 0:a.aggregate),u=Ese({scaleChannel:t,markDef:i,config:o,scaleType:s,isCountAggregate:l});if(a&&u==="show"){const f=((c=o.scale.invalid)==null?void 0:c[t])??"zero-or-min";return{test:x6(lt(a,{expr:"datum"}),!1),...rWt(f,n,r)}}}function rWt(t,e,n){if(z8t(t)){const{value:r}=t;return Mt(r)?{signal:r.signal}:{value:r}}return t4e({scale:e,scaleName:n,mode:"zeroOrMin"})}function Tse(t){const{channel:e,channelDef:n,markDef:r,scale:i,scaleName:o,config:s}=t,a=db(e),l=kse(t),u=n4e({scaleChannel:a,channelDef:n,scale:i,scaleName:o,markDef:r,config:s});return u!==void 0?[u,l]:l}function iWt(t){const{datum:e}=t;return gb(e)?w1(e):`${Tr(e)}`}function zx(t,e,n,r){const i={};if(e&&(i.scale=e),Qh(t)){const{datum:o}=t;gb(o)?i.signal=w1(o):Mt(o)?i.signal=o.signal:NR(o)?i.signal=o.expr:i.value=o}else i.field=lt(t,n);if(r){const{offset:o,band:s}=r;o&&(i.offset=o),s&&(i.band=s)}return i}function I5({scaleName:t,fieldOrDatumDef:e,fieldOrDatumDef2:n,offset:r,startSuffix:i,endSuffix:o="end",bandPosition:s=.5}){const a=!Mt(s)&&0{switch(e.fieldTitle){case"plain":return t.field;case"functional":return xWt(t);default:return yWt(t,e)}};let g4e=p4e;function m4e(t){g4e=t}function bWt(){m4e(p4e)}function N_(t,e,{allowDisabling:n,includeDefault:r=!0}){var a;const i=(a=Rse(t))==null?void 0:a.title;if(!Je(t))return i??t.title;const o=t,s=r?Dse(o,e):void 0;return n?qi(i,o.title,s):i??o.title??s}function Rse(t){if(tC(t)&&t.axis)return t.axis;if(d4e(t)&&t.legend)return t.legend;if(Pse(t)&&t.header)return t.header}function Dse(t,e){return g4e(t,e)}function F5(t){if(h4e(t)){const{format:e,formatType:n}=t;return{format:e,formatType:n}}else{const e=Rse(t)??{},{format:n,formatType:r}=e;return{format:n,formatType:r}}}function wWt(t,e){var o;switch(e){case"latitude":case"longitude":return"quantitative";case"row":case"column":case"facet":case"shape":case"strokeDash":return"nominal";case"order":return"ordinal"}if(Mse(t)&&We(t.sort))return"ordinal";const{aggregate:n,bin:r,timeUnit:i}=t;if(i)return"temporal";if(r||n&&!Qy(n)&&!$g(n))return"quantitative";if(vb(t)&&((o=t.scale)!=null&&o.type))switch(CY[t.scale.type]){case"numeric":case"discretizing":return"quantitative";case"time":return"temporal"}return"nominal"}function Xf(t){if(Je(t))return t;if(E6(t))return t.condition}function _o(t){if(en(t))return t;if(WR(t))return t.condition}function v4e(t,e,n,r={}){if(gt(t)||Jn(t)||Ny(t)){const i=gt(t)?"string":Jn(t)?"number":"boolean";return Ze(bUt(e,i,t)),{value:t}}return en(t)?N5(t,e,n,r):WR(t)?{...t,condition:N5(t.condition,e,n,r)}:t}function N5(t,e,n,r){if(h4e(t)){const{format:i,formatType:o,...s}=t;if(C1(o)&&!n.customFormatTypes)return Ze(Zve(e)),N5(s,e,n,r)}else{const i=tC(t)?"axis":d4e(t)?"legend":Pse(t)?"header":null;if(i&&t[i]){const{format:o,formatType:s,...a}=t[i];if(C1(s)&&!n.customFormatTypes)return Ze(Zve(e)),N5({...t,[i]:a},e,n,r)}}return Je(t)?Ise(t,e,r):_Wt(t)}function _Wt(t){let e=t.type;if(e)return t;const{datum:n}=t;return e=Jn(n)?"quantitative":gt(n)?"nominal":gb(n)?"temporal":void 0,{...t,type:e}}function Ise(t,e,{compositeMark:n=!1}={}){const{aggregate:r,timeUnit:i,bin:o,field:s}=t,a={...t};if(!n&&r&&!ase(r)&&!Qy(r)&&!$g(r)&&(Ze(_Ut(r)),delete a.aggregate),i&&(a.timeUnit=Uo(i)),s&&(a.field=`${s}`),Gr(o)&&(a.bin=T6(o,e)),ns(o)&&!Xi(e)&&Ze(e8t(e)),Pa(a)){const{type:l}=a,u=O8t(l);l!==u&&(a.type=u),l!=="quantitative"&&g6(r)&&(Ze(wUt(l,r)),a.type="quantitative")}else if(!cje(e)){const l=wWt(a,e);a.type=l}if(Pa(a)){const{compatible:l,warning:u}=SWt(a,e)||{};l===!1&&Ze(u)}if(Mse(a)&>(a.sort)){const{sort:l}=a;if(iye(l))return{...a,sort:{encoding:l}};const u=l.substring(1);if(l.charAt(0)==="-"&&iye(u))return{...a,sort:{encoding:u,order:"descending"}}}if(Pse(a)){const{header:l}=a;if(l){const{orient:u,...c}=l;if(u)return{...a,header:{...c,labelOrient:l.labelOrient||u,titleOrient:l.titleOrient||u}}}}return a}function T6(t,e){return Ny(t)?{maxbins:Wve(e)}:t==="binned"?{binned:!0}:!t.maxbins&&!t.step?{...t,maxbins:Wve(e)}:t}const Jb={compatible:!0};function SWt(t,e){const n=t.type;if(n==="geojson"&&e!=="shape")return{compatible:!1,warning:`Channel ${e} should not be used with a geojson data.`};switch(e){case sg:case ag:case u6:return $5(t)?Jb:{compatible:!1,warning:EUt(e)};case vi:case Yo:case Gy:case RO:case Sl:case Hh:case qh:case LR:case $R:case c6:case b1:case f6:case d6:case fb:case jc:case od:case h6:return Jb;case ad:case Rc:case sd:case ld:return n!==_1?{compatible:!1,warning:`Channel ${e} should be used with a quantitative field only, not ${t.type} field.`}:Jb;case Jg:case Hy:case qy:case Xy:case Zg:case Kg:case Qg:case id:case Gh:return n==="nominal"&&!t.sort?{compatible:!1,warning:`Channel ${e} should not be used with an unsorted discrete field.`}:Jb;case Cl:case Yy:return!$5(t)&&!mWt(t)?{compatible:!1,warning:TUt(e)}:Jb;case QS:return t.type==="nominal"&&!("sort"in t)?{compatible:!1,warning:"Channel order is inappropriate for nominal field, which has no inherent order."}:Jb}}function nC(t){const{formatType:e}=F5(t);return e==="time"||!e&&CWt(t)}function CWt(t){return t&&(t.type==="temporal"||Je(t)&&!!t.timeUnit)}function k6(t,{timeUnit:e,type:n,wrapTime:r,undefinedIfExprNotRequired:i}){var l;const o=e&&((l=Uo(e))==null?void 0:l.unit);let s=o||n==="temporal",a;return NR(t)?a=t.expr:Mt(t)?a=t.signal:gb(t)?(s=!0,a=w1(t)):(gt(t)||Jn(t))&&s&&(a=`datetime(${Tr(t)})`,d8t(o)&&(Jn(t)&&t<1e4||gt(t)&&isNaN(Date.parse(t)))&&(a=w1({[o]:t}))),a?r&&s?`time(${a})`:a:i?void 0:Tr(t)}function y4e(t,e){const{type:n}=t;return e.map(r=>{const i=Je(t)&&!mb(t.timeUnit)?t.timeUnit:void 0,o=k6(r,{timeUnit:i,type:n,undefinedIfExprNotRequired:!0});return o!==void 0?{signal:o}:r})}function VR(t,e){return Gr(t.bin)?Yh(e)&&["ordinal","nominal"].includes(t.type):(console.warn("Only call this method for binned field defs."),!1)}const aye={labelAlign:{part:"labels",vgProp:"align"},labelBaseline:{part:"labels",vgProp:"baseline"},labelColor:{part:"labels",vgProp:"fill"},labelFont:{part:"labels",vgProp:"font"},labelFontSize:{part:"labels",vgProp:"fontSize"},labelFontStyle:{part:"labels",vgProp:"fontStyle"},labelFontWeight:{part:"labels",vgProp:"fontWeight"},labelOpacity:{part:"labels",vgProp:"opacity"},labelOffset:null,labelPadding:null,gridColor:{part:"grid",vgProp:"stroke"},gridDash:{part:"grid",vgProp:"strokeDash"},gridDashOffset:{part:"grid",vgProp:"strokeDashOffset"},gridOpacity:{part:"grid",vgProp:"opacity"},gridWidth:{part:"grid",vgProp:"strokeWidth"},tickColor:{part:"ticks",vgProp:"stroke"},tickDash:{part:"ticks",vgProp:"strokeDash"},tickDashOffset:{part:"ticks",vgProp:"strokeDashOffset"},tickOpacity:{part:"ticks",vgProp:"opacity"},tickSize:null,tickWidth:{part:"ticks",vgProp:"strokeWidth"}};function GR(t){return t==null?void 0:t.condition}const x4e=["domain","grid","labels","ticks","title"],OWt={grid:"grid",gridCap:"grid",gridColor:"grid",gridDash:"grid",gridDashOffset:"grid",gridOpacity:"grid",gridScale:"grid",gridWidth:"grid",orient:"main",bandPosition:"both",aria:"main",description:"main",domain:"main",domainCap:"main",domainColor:"main",domainDash:"main",domainDashOffset:"main",domainOpacity:"main",domainWidth:"main",format:"main",formatType:"main",labelAlign:"main",labelAngle:"main",labelBaseline:"main",labelBound:"main",labelColor:"main",labelFlush:"main",labelFlushOffset:"main",labelFont:"main",labelFontSize:"main",labelFontStyle:"main",labelFontWeight:"main",labelLimit:"main",labelLineHeight:"main",labelOffset:"main",labelOpacity:"main",labelOverlap:"main",labelPadding:"main",labels:"main",labelSeparation:"main",maxExtent:"main",minExtent:"main",offset:"both",position:"main",tickCap:"main",tickColor:"main",tickDash:"main",tickDashOffset:"main",tickMinStep:"both",tickOffset:"both",tickOpacity:"main",tickRound:"both",ticks:"main",tickSize:"main",tickWidth:"both",title:"main",titleAlign:"main",titleAnchor:"main",titleAngle:"main",titleBaseline:"main",titleColor:"main",titleFont:"main",titleFontSize:"main",titleFontStyle:"main",titleFontWeight:"main",titleLimit:"main",titleLineHeight:"main",titleOpacity:"main",titlePadding:"main",titleX:"main",titleY:"main",encode:"both",scale:"both",tickBand:"both",tickCount:"both",tickExtra:"both",translate:"both",values:"both",zindex:"both"},b4e={orient:1,aria:1,bandPosition:1,description:1,domain:1,domainCap:1,domainColor:1,domainDash:1,domainDashOffset:1,domainOpacity:1,domainWidth:1,format:1,formatType:1,grid:1,gridCap:1,gridColor:1,gridDash:1,gridDashOffset:1,gridOpacity:1,gridWidth:1,labelAlign:1,labelAngle:1,labelBaseline:1,labelBound:1,labelColor:1,labelFlush:1,labelFlushOffset:1,labelFont:1,labelFontSize:1,labelFontStyle:1,labelFontWeight:1,labelLimit:1,labelLineHeight:1,labelOffset:1,labelOpacity:1,labelOverlap:1,labelPadding:1,labels:1,labelSeparation:1,maxExtent:1,minExtent:1,offset:1,position:1,tickBand:1,tickCap:1,tickColor:1,tickCount:1,tickDash:1,tickDashOffset:1,tickExtra:1,tickMinStep:1,tickOffset:1,tickOpacity:1,tickRound:1,ticks:1,tickSize:1,tickWidth:1,title:1,titleAlign:1,titleAnchor:1,titleAngle:1,titleBaseline:1,titleColor:1,titleFont:1,titleFontSize:1,titleFontStyle:1,titleFontWeight:1,titleLimit:1,titleLineHeight:1,titleOpacity:1,titlePadding:1,titleX:1,titleY:1,translate:1,values:1,zindex:1},EWt={...b4e,style:1,labelExpr:1,encoding:1};function lye(t){return vt(EWt,t)}const TWt={axis:1,axisBand:1,axisBottom:1,axisDiscrete:1,axisLeft:1,axisPoint:1,axisQuantitative:1,axisRight:1,axisTemporal:1,axisTop:1,axisX:1,axisXBand:1,axisXDiscrete:1,axisXPoint:1,axisXQuantitative:1,axisXTemporal:1,axisY:1,axisYBand:1,axisYDiscrete:1,axisYPoint:1,axisYQuantitative:1,axisYTemporal:1},w4e=Qe(TWt);function tm(t){return Ke(t,"mark")}class A6{constructor(e,n){this.name=e,this.run=n}hasMatchingType(e){return tm(e)?tWt(e.mark)===this.name:!1}}function jx(t,e){const n=t&&t[e];return n?We(n)?XS(n,r=>!!r.field):Je(n)||E6(n):!1}function _4e(t,e){const n=t&&t[e];return n?We(n)?XS(n,r=>!!r.field):Je(n)||Qh(n)||WR(n):!1}function S4e(t,e){if(Xi(e)){const n=t[e];if((Je(n)||Qh(n))&&(Wje(n.type)||Je(n)&&n.timeUnit)){const r=nse(e);return _4e(t,r)}}return!1}function C4e(t){return XS(E6t,e=>{if(jx(t,e)){const n=t[e];if(We(n))return XS(n,r=>!!r.aggregate);{const r=Xf(n);return r&&!!r.aggregate}}return!1})}function O4e(t,e){const n=[],r=[],i=[],o=[],s={};return Lse(t,(a,l)=>{if(Je(a)){const{field:u,aggregate:c,bin:f,timeUnit:d,...h}=a;if(c||d||f){const p=Rse(a),g=p==null?void 0:p.title;let m=lt(a,{forAs:!0});const v={...g?[]:{title:N_(a,e,{allowDisabling:!0})},...h,field:m};if(c){let y;if(Qy(c)?(y="argmax",m=lt({op:"argmax",field:c.argmax},{forAs:!0}),v.field=`${m}.${u}`):$g(c)?(y="argmin",m=lt({op:"argmin",field:c.argmin},{forAs:!0}),v.field=`${m}.${u}`):c!=="boxplot"&&c!=="errorbar"&&c!=="errorband"&&(y=c),y){const x={op:y,as:m};u&&(x.field=u),o.push(x)}}else if(n.push(m),Pa(a)&&Gr(f)){if(r.push({bin:f,field:u,as:m}),n.push(lt(a,{binSuffix:"end"})),VR(a,l)&&n.push(lt(a,{binSuffix:"range"})),Xi(l)){const y={field:`${m}_end`};s[`${l}2`]=y}v.bin="binned",cje(l)||(v.type=_1)}else if(d&&!mb(d)){i.push({timeUnit:d,field:u,as:m});const y=Pa(a)&&a.type!==ZS&&"time";y&&(l===LR||l===b1?v.formatType=y:$6t(l)?v.legend={formatType:y,...v.legend}:Xi(l)&&(v.axis={formatType:y,...v.axis}))}s[l]=v}else n.push(u),s[l]=t[l]}else s[l]=t[l]}),{bins:r,timeUnits:i,aggregate:o,groupby:n,encoding:s}}function kWt(t,e,n){const r=N6t(e,n);if(r){if(r==="binned"){const i=t[e===id?vi:Yo];return!!(Je(i)&&Je(t[e])&&ns(i.bin))}}else return!1;return!0}function AWt(t,e,n,r){const i={};for(const o of Qe(t))uje(o)||Ze(OUt(o));for(let o of R6t){if(!t[o])continue;const s=t[o];if(FR(o)){const a=M6t(o),l=i[a];if(Je(l)&&C8t(l.type)&&Je(s)&&!l.timeUnit){Ze(xUt(a));continue}}if(o==="angle"&&e==="arc"&&!t.theta&&(Ze(yUt),o=jc),!kWt(t,o,e)){Ze(v6(o,e));continue}if(o===Zg&&e==="line"){const a=Xf(t[o]);if(a!=null&&a.aggregate){Ze(CUt);continue}}if(o===Sl&&(n?"fill"in t:"stroke"in t)){Ze(Tje("encoding",{fill:"fill"in t,stroke:"stroke"in t}));continue}if(o===$R||o===QS&&!We(s)&&!qf(s)||o===b1&&We(s)){if(s){if(o===QS){const a=t[o];if(f4e(a)){i[o]=a;continue}}i[o]=pt(s).reduce((a,l)=>(Je(l)?a.push(Ise(l,o)):Ze(SY(l,o)),a),[])}}else{if(o===b1&&s===null)i[o]=null;else if(!Je(s)&&!Qh(s)&&!qf(s)&&!UR(s)&&!Mt(s)){Ze(SY(s,o));continue}i[o]=v4e(s,o,r)}}return i}function P6(t,e){const n={};for(const r of Qe(t)){const i=v4e(t[r],r,e,{compositeMark:!0});n[r]=i}return n}function PWt(t){const e=[];for(const n of Qe(t))if(jx(t,n)){const r=t[n],i=pt(r);for(const o of i)Je(o)?e.push(o):E6(o)&&e.push(o.condition)}return e}function Lse(t,e,n){if(t)for(const r of Qe(t)){const i=t[r];if(We(i))for(const o of i)e.call(n,o,r);else e.call(n,i,r)}}function MWt(t,e,n,r){return t?Qe(t).reduce((i,o)=>{const s=t[o];return We(s)?s.reduce((a,l)=>e.call(r,a,l,o),i):e.call(r,i,s,o)},n):n}function E4e(t,e){return Qe(e).reduce((n,r)=>{switch(r){case vi:case Yo:case f6:case h6:case d6:case id:case Gh:case Gy:case RO:case jc:case Kg:case od:case Qg:case sd:case ad:case ld:case Rc:case LR:case Cl:case fb:case b1:return n;case QS:if(t==="line"||t==="trail")return n;case $R:case c6:{const i=e[r];if(We(i)||Je(i))for(const o of pt(i))o.aggregate||n.push(lt(o,{}));return n}case Zg:if(t==="trail")return n;case Sl:case Hh:case qh:case Jg:case Hy:case qy:case Yy:case Xy:{const i=Xf(e[r]);return i&&!i.aggregate&&n.push(lt(i,{})),n}}},[])}function RWt(t){const{tooltip:e,...n}=t;if(!e)return{filteredEncoding:n};let r,i;if(We(e)){for(const o of e)o.aggregate?(r||(r=[]),r.push(o)):(i||(i=[]),i.push(o));r&&(n.tooltip=r)}else e.aggregate?n.tooltip=e:i=e;return We(i)&&i.length===1&&(i=i[0]),{customTooltipWithoutAggregatedField:i,filteredEncoding:n}}function TY(t,e,n,r=!0){if("tooltip"in n)return{tooltip:n.tooltip};const i=t.map(({fieldPrefix:s,titlePrefix:a})=>{const l=r?` of ${$se(e)}`:"";return{field:s+e.field,type:e.type,title:Mt(a)?{signal:`${a}"${escape(l)}"`}:a+l}}),o=PWt(n).map(pWt);return{tooltip:[...i,...Kd(o,Mn)]}}function $se(t){const{title:e,field:n}=t;return qi(e,n)}function Fse(t,e,n,r,i){const{scale:o,axis:s}=n;return({partName:a,mark:l,positionPrefix:u,endPositionPrefix:c=void 0,extraEncoding:f={}})=>{const d=$se(n);return T4e(t,a,i,{mark:l,encoding:{[e]:{field:`${u}_${n.field}`,type:n.type,...d!==void 0?{title:d}:{},...o!==void 0?{scale:o}:{},...s!==void 0?{axis:s}:{}},...gt(c)?{[`${e}2`]:{field:`${c}_${n.field}`}}:{},...r,...f}})}}function T4e(t,e,n,r){const{clip:i,color:o,opacity:s}=t,a=t.type;return t[e]||t[e]===void 0&&n[e]?[{...r,mark:{...n[e],...i?{clip:i}:{},...o?{color:o}:{},...s?{opacity:s}:{},...Mh(r.mark)?r.mark:{type:r.mark},style:`${a}-${String(e)}`,...Ny(t[e])?{}:t[e]}}]:[]}function k4e(t,e,n){const{encoding:r}=t,i=e==="vertical"?"y":"x",o=r[i],s=r[`${i}2`],a=r[`${i}Error`],l=r[`${i}Error2`];return{continuousAxisChannelDef:JI(o,n),continuousAxisChannelDef2:JI(s,n),continuousAxisChannelDefError:JI(a,n),continuousAxisChannelDefError2:JI(l,n),continuousAxis:i}}function JI(t,e){if(t!=null&&t.aggregate){const{aggregate:n,...r}=t;return n!==e&&Ze(JUt(n,e)),r}else return t}function A4e(t,e){const{mark:n,encoding:r}=t,{x:i,y:o}=r;if(Mh(n)&&n.orient)return n.orient;if(xv(i)){if(xv(o)){const s=Je(i)&&i.aggregate,a=Je(o)&&o.aggregate;if(!s&&a===e)return"vertical";if(!a&&s===e)return"horizontal";if(s===e&&a===e)throw new Error("Both x and y cannot have aggregate");return nC(o)&&!nC(i)?"horizontal":"vertical"}return"horizontal"}else{if(xv(o))return"vertical";throw new Error(`Need a valid continuous axis for ${e}s`)}}const z5="boxplot",DWt=["box","median","outliers","rule","ticks"],IWt=new A6(z5,M4e);function P4e(t){return Jn(t)?"tukey":t}function M4e(t,{config:e}){t={...t,encoding:P6(t.encoding,e)};const{mark:n,encoding:r,params:i,projection:o,...s}=t,a=Mh(n)?n:{type:n};i&&Ze(Oje("boxplot"));const l=a.extent??e.boxplot.extent,u=Or("size",a,e),c=a.invalid,f=P4e(l),{bins:d,timeUnits:h,transform:p,continuousAxisChannelDef:g,continuousAxis:m,groupby:v,aggregate:y,encodingWithoutContinuousAxis:x,ticksOrient:b,boxOrient:w,customTooltipWithoutAggregatedField:_}=LWt(t,l,e),S=MO(g.field),{color:O,size:k,...E}=x,M=X=>Fse(a,m,g,X,e.boxplot),A=M(E),P=M(x),T=(ht(e.boxplot.box)?e.boxplot.box.color:e.mark.color)||"#4c78a8",R=M({...E,...k?{size:k}:{},color:{condition:{test:`datum['lower_box_${g.field}'] >= datum['upper_box_${g.field}']`,...O||{value:T}}}}),I=TY([{fieldPrefix:f==="min-max"?"upper_whisker_":"max_",titlePrefix:"Max"},{fieldPrefix:"upper_box_",titlePrefix:"Q3"},{fieldPrefix:"mid_box_",titlePrefix:"Median"},{fieldPrefix:"lower_box_",titlePrefix:"Q1"},{fieldPrefix:f==="min-max"?"lower_whisker_":"min_",titlePrefix:"Min"}],g,x),B={type:"tick",color:"black",opacity:1,orient:b,invalid:c,aria:!1},$=f==="min-max"?I:TY([{fieldPrefix:"upper_whisker_",titlePrefix:"Upper Whisker"},{fieldPrefix:"lower_whisker_",titlePrefix:"Lower Whisker"}],g,x),z=[...A({partName:"rule",mark:{type:"rule",invalid:c,aria:!1},positionPrefix:"lower_whisker",endPositionPrefix:"lower_box",extraEncoding:$}),...A({partName:"rule",mark:{type:"rule",invalid:c,aria:!1},positionPrefix:"upper_box",endPositionPrefix:"upper_whisker",extraEncoding:$}),...A({partName:"ticks",mark:B,positionPrefix:"lower_whisker",extraEncoding:$}),...A({partName:"ticks",mark:B,positionPrefix:"upper_whisker",extraEncoding:$})],L=[...f!=="tukey"?z:[],...P({partName:"box",mark:{type:"bar",...u?{size:u}:{},orient:w,invalid:c,ariaRoleDescription:"box"},positionPrefix:"lower_box",endPositionPrefix:"upper_box",extraEncoding:I}),...R({partName:"median",mark:{type:"tick",invalid:c,...ht(e.boxplot.median)&&e.boxplot.median.color?{color:e.boxplot.median.color}:{},...u?{size:u}:{},orient:b,aria:!1},positionPrefix:"mid_box",extraEncoding:I})];if(f==="min-max")return{...s,transform:(s.transform??[]).concat(p),layer:L};const j=`datum["lower_box_${g.field}"]`,N=`datum["upper_box_${g.field}"]`,F=`(${N} - ${j})`,H=`${j} - ${l} * ${F}`,q=`${N} + ${l} * ${F}`,Y=`datum["${g.field}"]`,le={joinaggregate:R4e(g.field),groupby:v},K={transform:[{filter:`(${H} <= ${Y}) && (${Y} <= ${q})`},{aggregate:[{op:"min",field:g.field,as:`lower_whisker_${S}`},{op:"max",field:g.field,as:`upper_whisker_${S}`},{op:"min",field:`lower_box_${g.field}`,as:`lower_box_${S}`},{op:"max",field:`upper_box_${g.field}`,as:`upper_box_${S}`},...y],groupby:v}],layer:z},{tooltip:ee,...re}=E,{scale:ge,axis:te}=g,ae=$se(g),U=hl(te,["title"]),oe=T4e(a,"outliers",e.boxplot,{transform:[{filter:`(${Y} < ${H}) || (${Y} > ${q})`}],mark:"point",encoding:{[m]:{field:g.field,type:g.type,...ae!==void 0?{title:ae}:{},...ge!==void 0?{scale:ge}:{},...Er(U)?{}:{axis:U}},...re,...O?{color:O}:{},..._?{tooltip:_}:{}}})[0];let ne;const V=[...d,...h,le];return oe?ne={transform:V,layer:[oe,K]}:(ne=K,ne.transform.unshift(...V)),{...s,layer:[ne,{transform:p,layer:L}]}}function R4e(t){const e=MO(t);return[{op:"q1",field:t,as:`lower_box_${e}`},{op:"q3",field:t,as:`upper_box_${e}`}]}function LWt(t,e,n){const r=A4e(t,z5),{continuousAxisChannelDef:i,continuousAxis:o}=k4e(t,r,z5),s=i.field,a=MO(s),l=P4e(e),u=[...R4e(s),{op:"median",field:s,as:`mid_box_${a}`},{op:"min",field:s,as:(l==="min-max"?"lower_whisker_":"min_")+a},{op:"max",field:s,as:(l==="min-max"?"upper_whisker_":"max_")+a}],c=l==="min-max"||l==="tukey"?[]:[{calculate:`datum["upper_box_${a}"] - datum["lower_box_${a}"]`,as:`iqr_${a}`},{calculate:`min(datum["upper_box_${a}"] + datum["iqr_${a}"] * ${e}, datum["max_${a}"])`,as:`upper_whisker_${a}`},{calculate:`max(datum["lower_box_${a}"] - datum["iqr_${a}"] * ${e}, datum["min_${a}"])`,as:`lower_whisker_${a}`}],{[o]:f,...d}=t.encoding,{customTooltipWithoutAggregatedField:h,filteredEncoding:p}=RWt(d),{bins:g,timeUnits:m,aggregate:v,groupby:y,encoding:x}=O4e(p,n),b=r==="vertical"?"horizontal":"vertical",w=r,_=[...g,...m,{aggregate:[...v,...u],groupby:y},...c];return{bins:g,timeUnits:m,transform:_,groupby:y,aggregate:v,continuousAxisChannelDef:i,continuousAxis:o,encodingWithoutContinuousAxis:x,ticksOrient:b,boxOrient:w,customTooltipWithoutAggregatedField:h}}const Nse="errorbar",$Wt=["ticks","rule"],FWt=new A6(Nse,D4e);function D4e(t,{config:e}){t={...t,encoding:P6(t.encoding,e)};const{transform:n,continuousAxisChannelDef:r,continuousAxis:i,encodingWithoutContinuousAxis:o,ticksOrient:s,markDef:a,outerSpec:l,tooltipEncoding:u}=I4e(t,Nse,e);delete o.size;const c=Fse(a,i,r,o,e.errorbar),f=a.thickness,d=a.size,h={type:"tick",orient:s,aria:!1,...f!==void 0?{thickness:f}:{},...d!==void 0?{size:d}:{}},p=[...c({partName:"ticks",mark:h,positionPrefix:"lower",extraEncoding:u}),...c({partName:"ticks",mark:h,positionPrefix:"upper",extraEncoding:u}),...c({partName:"rule",mark:{type:"rule",ariaRoleDescription:"errorbar",...f!==void 0?{size:f}:{}},positionPrefix:"lower",endPositionPrefix:"upper",extraEncoding:u})];return{...l,transform:n,...p.length>1?{layer:p}:{...p[0]}}}function NWt(t,e){const{encoding:n}=t;if(zWt(n))return{orient:A4e(t,e),inputType:"raw"};const r=jWt(n),i=BWt(n),o=n.x,s=n.y;if(r){if(i)throw new Error(`${e} cannot be both type aggregated-upper-lower and aggregated-error`);const a=n.x2,l=n.y2;if(en(a)&&en(l))throw new Error(`${e} cannot have both x2 and y2`);if(en(a)){if(xv(o))return{orient:"horizontal",inputType:"aggregated-upper-lower"};throw new Error(`Both x and x2 have to be quantitative in ${e}`)}else if(en(l)){if(xv(s))return{orient:"vertical",inputType:"aggregated-upper-lower"};throw new Error(`Both y and y2 have to be quantitative in ${e}`)}throw new Error("No ranged axis")}else{const a=n.xError,l=n.xError2,u=n.yError,c=n.yError2;if(en(l)&&!en(a))throw new Error(`${e} cannot have xError2 without xError`);if(en(c)&&!en(u))throw new Error(`${e} cannot have yError2 without yError`);if(en(a)&&en(u))throw new Error(`${e} cannot have both xError and yError with both are quantiative`);if(en(a)){if(xv(o))return{orient:"horizontal",inputType:"aggregated-error"};throw new Error("All x, xError, and xError2 (if exist) have to be quantitative")}else if(en(u)){if(xv(s))return{orient:"vertical",inputType:"aggregated-error"};throw new Error("All y, yError, and yError2 (if exist) have to be quantitative")}throw new Error("No ranged axis")}}function zWt(t){return(en(t.x)||en(t.y))&&!en(t.x2)&&!en(t.y2)&&!en(t.xError)&&!en(t.xError2)&&!en(t.yError)&&!en(t.yError2)}function jWt(t){return en(t.x2)||en(t.y2)}function BWt(t){return en(t.xError)||en(t.xError2)||en(t.yError)||en(t.yError2)}function I4e(t,e,n){const{mark:r,encoding:i,params:o,projection:s,...a}=t,l=Mh(r)?r:{type:r};o&&Ze(Oje(e));const{orient:u,inputType:c}=NWt(t,e),{continuousAxisChannelDef:f,continuousAxisChannelDef2:d,continuousAxisChannelDefError:h,continuousAxisChannelDefError2:p,continuousAxis:g}=k4e(t,u,e),{errorBarSpecificAggregate:m,postAggregateCalculates:v,tooltipSummary:y,tooltipTitleWithFieldName:x}=UWt(l,f,d,h,p,c,e,n),{[g]:b,[g==="x"?"x2":"y2"]:w,[g==="x"?"xError":"yError"]:_,[g==="x"?"xError2":"yError2"]:S,...O}=i,{bins:k,timeUnits:E,aggregate:M,groupby:A,encoding:P}=O4e(O,n),T=[...M,...m],R=c!=="raw"?[]:A,I=TY(y,f,P,x);return{transform:[...a.transform??[],...k,...E,...T.length===0?[]:[{aggregate:T,groupby:R}],...v],groupby:R,continuousAxisChannelDef:f,continuousAxis:g,encodingWithoutContinuousAxis:P,ticksOrient:u==="vertical"?"horizontal":"vertical",markDef:l,outerSpec:a,tooltipEncoding:I}}function UWt(t,e,n,r,i,o,s,a){let l=[],u=[];const c=e.field;let f,d=!1;if(o==="raw"){const h=t.center?t.center:t.extent?t.extent==="iqr"?"median":"mean":a.errorbar.center,p=t.extent?t.extent:h==="mean"?"stderr":"iqr";if(h==="median"!=(p==="iqr")&&Ze(ZUt(h,p,s)),p==="stderr"||p==="stdev")l=[{op:p,field:c,as:`extent_${c}`},{op:h,field:c,as:`center_${c}`}],u=[{calculate:`datum["center_${c}"] + datum["extent_${c}"]`,as:`upper_${c}`},{calculate:`datum["center_${c}"] - datum["extent_${c}"]`,as:`lower_${c}`}],f=[{fieldPrefix:"center_",titlePrefix:IR(h)},{fieldPrefix:"upper_",titlePrefix:uye(h,p,"+")},{fieldPrefix:"lower_",titlePrefix:uye(h,p,"-")}],d=!0;else{let g,m,v;p==="ci"?(g="mean",m="ci0",v="ci1"):(g="median",m="q1",v="q3"),l=[{op:m,field:c,as:`lower_${c}`},{op:v,field:c,as:`upper_${c}`},{op:g,field:c,as:`center_${c}`}],f=[{fieldPrefix:"upper_",titlePrefix:N_({field:c,aggregate:v,type:"quantitative"},a,{allowDisabling:!1})},{fieldPrefix:"lower_",titlePrefix:N_({field:c,aggregate:m,type:"quantitative"},a,{allowDisabling:!1})},{fieldPrefix:"center_",titlePrefix:N_({field:c,aggregate:g,type:"quantitative"},a,{allowDisabling:!1})}]}}else{(t.center||t.extent)&&Ze(KUt(t.center,t.extent)),o==="aggregated-upper-lower"?(f=[],u=[{calculate:`datum["${n.field}"]`,as:`upper_${c}`},{calculate:`datum["${c}"]`,as:`lower_${c}`}]):o==="aggregated-error"&&(f=[{fieldPrefix:"",titlePrefix:c}],u=[{calculate:`datum["${c}"] + datum["${r.field}"]`,as:`upper_${c}`}],i?u.push({calculate:`datum["${c}"] + datum["${i.field}"]`,as:`lower_${c}`}):u.push({calculate:`datum["${c}"] - datum["${r.field}"]`,as:`lower_${c}`}));for(const h of u)f.push({fieldPrefix:h.as.substring(0,6),titlePrefix:x1(x1(h.calculate,'datum["',""),'"]',"")})}return{postAggregateCalculates:u,errorBarSpecificAggregate:l,tooltipSummary:f,tooltipTitleWithFieldName:d}}function uye(t,e,n){return`${IR(t)} ${n} ${e}`}const zse="errorband",WWt=["band","borders"],VWt=new A6(zse,L4e);function L4e(t,{config:e}){t={...t,encoding:P6(t.encoding,e)};const{transform:n,continuousAxisChannelDef:r,continuousAxis:i,encodingWithoutContinuousAxis:o,markDef:s,outerSpec:a,tooltipEncoding:l}=I4e(t,zse,e),u=s,c=Fse(u,i,r,o,e.errorband),f=t.encoding.x!==void 0&&t.encoding.y!==void 0;let d={type:f?"area":"rect"},h={type:f?"line":"rule"};const p={...u.interpolate?{interpolate:u.interpolate}:{},...u.tension&&u.interpolate?{tension:u.tension}:{}};return f?(d={...d,...p,ariaRoleDescription:"errorband"},h={...h,...p,aria:!1}):u.interpolate?Ze(eye("interpolate")):u.tension&&Ze(eye("tension")),{...a,transform:n,layer:[...c({partName:"band",mark:d,positionPrefix:"lower",endPositionPrefix:"upper",extraEncoding:l}),...c({partName:"borders",mark:h,positionPrefix:"lower",extraEncoding:l}),...c({partName:"borders",mark:h,positionPrefix:"upper",extraEncoding:l})]}}const $4e={};function jse(t,e,n){const r=new A6(t,e);$4e[t]={normalizer:r,parts:n}}function GWt(){return Qe($4e)}jse(z5,M4e,DWt);jse(Nse,D4e,$Wt);jse(zse,L4e,WWt);const HWt=["gradientHorizontalMaxLength","gradientHorizontalMinLength","gradientVerticalMaxLength","gradientVerticalMinLength","unselectedOpacity"],F4e={titleAlign:"align",titleAnchor:"anchor",titleAngle:"angle",titleBaseline:"baseline",titleColor:"color",titleFont:"font",titleFontSize:"fontSize",titleFontStyle:"fontStyle",titleFontWeight:"fontWeight",titleLimit:"limit",titleLineHeight:"lineHeight",titleOrient:"orient",titlePadding:"offset"},N4e={labelAlign:"align",labelAnchor:"anchor",labelAngle:"angle",labelBaseline:"baseline",labelColor:"color",labelFont:"font",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelLimit:"limit",labelLineHeight:"lineHeight",labelOrient:"orient",labelPadding:"offset"},qWt=Qe(F4e),XWt=Qe(N4e),YWt={header:1,headerRow:1,headerColumn:1,headerFacet:1},z4e=Qe(YWt),j4e=["size","shape","fill","stroke","strokeDash","strokeWidth","opacity"],QWt={gradientHorizontalMaxLength:200,gradientHorizontalMinLength:100,gradientVerticalMaxLength:200,gradientVerticalMinLength:64,unselectedOpacity:.35},KWt={aria:1,clipHeight:1,columnPadding:1,columns:1,cornerRadius:1,description:1,direction:1,fillColor:1,format:1,formatType:1,gradientLength:1,gradientOpacity:1,gradientStrokeColor:1,gradientStrokeWidth:1,gradientThickness:1,gridAlign:1,labelAlign:1,labelBaseline:1,labelColor:1,labelFont:1,labelFontSize:1,labelFontStyle:1,labelFontWeight:1,labelLimit:1,labelOffset:1,labelOpacity:1,labelOverlap:1,labelPadding:1,labelSeparation:1,legendX:1,legendY:1,offset:1,orient:1,padding:1,rowPadding:1,strokeColor:1,symbolDash:1,symbolDashOffset:1,symbolFillColor:1,symbolLimit:1,symbolOffset:1,symbolOpacity:1,symbolSize:1,symbolStrokeColor:1,symbolStrokeWidth:1,symbolType:1,tickCount:1,tickMinStep:1,title:1,titleAlign:1,titleAnchor:1,titleBaseline:1,titleColor:1,titleFont:1,titleFontSize:1,titleFontStyle:1,titleFontWeight:1,titleLimit:1,titleLineHeight:1,titleOpacity:1,titleOrient:1,titlePadding:1,type:1,values:1,zindex:1},Yf="_vgsid_",ZWt={point:{on:"click",fields:[Yf],toggle:"event.shiftKey",resolve:"global",clear:"dblclick"},interval:{on:"[pointerdown, window:pointerup] > window:pointermove!",encodings:["x","y"],translate:"[pointerdown, window:pointerup] > window:pointermove!",zoom:"wheel!",mark:{fill:"#333",fillOpacity:.125,stroke:"white"},resolve:"global",clear:"dblclick"}};function Bse(t){return t==="legend"||!!(t!=null&&t.legend)}function BV(t){return Bse(t)&&ht(t)}function Use(t){return!!(t!=null&&t.select)}function B4e(t){const e=[];for(const n of t||[]){if(Use(n))continue;const{expr:r,bind:i,...o}=n;if(i&&r){const s={...o,bind:i,init:r};e.push(s)}else{const s={...o,...r?{update:r}:{},...i?{bind:i}:{}};e.push(s)}}return e}function JWt(t){return M6(t)||Vse(t)||Wse(t)}function Wse(t){return Ke(t,"concat")}function M6(t){return Ke(t,"vconcat")}function Vse(t){return Ke(t,"hconcat")}function U4e({step:t,offsetIsDiscrete:e}){return e?t.for??"offset":"position"}function Rh(t){return Ke(t,"step")}function cye(t){return Ke(t,"view")||Ke(t,"width")||Ke(t,"height")}const fye=20,eVt={align:1,bounds:1,center:1,columns:1,spacing:1},tVt=Qe(eVt);function nVt(t,e,n){const r=n[e],i={},{spacing:o,columns:s}=r;o!==void 0&&(i.spacing=o),s!==void 0&&(O6(t)&&!BR(t.facet)||Wse(t))&&(i.columns=s),M6(t)&&(i.columns=1);for(const a of tVt)if(t[a]!==void 0)if(a==="spacing"){const l=t[a];i[a]=Jn(l)?l:{row:l.row??o,column:l.column??o}}else i[a]=t[a];return i}function kY(t,e){return t[e]??t[e==="width"?"continuousWidth":"continuousHeight"]}function AY(t,e){const n=j5(t,e);return Rh(n)?n.step:W4e}function j5(t,e){const n=t[e]??t[e==="width"?"discreteWidth":"discreteHeight"];return qi(n,{step:t.step})}const W4e=20,rVt={continuousWidth:200,continuousHeight:200,step:W4e},iVt={background:"white",padding:5,timeFormat:"%b %d, %Y",countTitle:"Count of Records",view:rVt,mark:Y8t,arc:{},area:{},bar:J8t,circle:{},geoshape:{},image:{},line:{},point:{},rect:Ose,rule:{color:"black"},square:{},text:{color:"black"},tick:eWt,trail:{},boxplot:{size:14,extent:1.5,box:{},median:{color:"white"},outliers:{},rule:{},ticks:null},errorbar:{center:"mean",rule:!0,ticks:!1},errorband:{band:{opacity:.3},borders:!1},scale:P8t,projection:{},legend:QWt,header:{titlePadding:10,labelPadding:10},headerColumn:{},headerRow:{},headerFacet:{},selection:ZWt,style:{},title:{},facet:{spacing:fye},concat:{spacing:fye},normalizedNumberFormat:".0%"},cp=["#4c78a8","#f58518","#e45756","#72b7b2","#54a24b","#eeca3b","#b279a2","#ff9da6","#9d755d","#bab0ac"],dye={text:11,guideLabel:10,guideTitle:11,groupTitle:13,groupSubtitle:12},hye={blue:cp[0],orange:cp[1],red:cp[2],teal:cp[3],green:cp[4],yellow:cp[5],purple:cp[6],pink:cp[7],brown:cp[8],gray0:"#000",gray1:"#111",gray2:"#222",gray3:"#333",gray4:"#444",gray5:"#555",gray6:"#666",gray7:"#777",gray8:"#888",gray9:"#999",gray10:"#aaa",gray11:"#bbb",gray12:"#ccc",gray13:"#ddd",gray14:"#eee",gray15:"#fff"};function oVt(t={}){return{signals:[{name:"color",value:ht(t)?{...hye,...t}:hye}],mark:{color:{signal:"color.blue"}},rule:{color:{signal:"color.gray0"}},text:{color:{signal:"color.gray0"}},style:{"guide-label":{fill:{signal:"color.gray0"}},"guide-title":{fill:{signal:"color.gray0"}},"group-title":{fill:{signal:"color.gray0"}},"group-subtitle":{fill:{signal:"color.gray0"}},cell:{stroke:{signal:"color.gray8"}}},axis:{domainColor:{signal:"color.gray13"},gridColor:{signal:"color.gray8"},tickColor:{signal:"color.gray13"}},range:{category:[{signal:"color.blue"},{signal:"color.orange"},{signal:"color.red"},{signal:"color.teal"},{signal:"color.green"},{signal:"color.yellow"},{signal:"color.purple"},{signal:"color.pink"},{signal:"color.brown"},{signal:"color.grey8"}]}}}function sVt(t){return{signals:[{name:"fontSize",value:ht(t)?{...dye,...t}:dye}],text:{fontSize:{signal:"fontSize.text"}},style:{"guide-label":{fontSize:{signal:"fontSize.guideLabel"}},"guide-title":{fontSize:{signal:"fontSize.guideTitle"}},"group-title":{fontSize:{signal:"fontSize.groupTitle"}},"group-subtitle":{fontSize:{signal:"fontSize.groupSubtitle"}}}}}function aVt(t){return{text:{font:t},style:{"guide-label":{font:t},"guide-title":{font:t},"group-title":{font:t},"group-subtitle":{font:t}}}}function V4e(t){const e=Qe(t||{}),n={};for(const r of e){const i=t[r];n[r]=GR(i)?yje(i):eu(i)}return n}function lVt(t){const e=Qe(t),n={};for(const r of e)n[r]=V4e(t[r]);return n}const uVt=[...Jje,...w4e,...z4e,"background","padding","legend","lineBreak","scale","style","title","view"];function G4e(t={}){const{color:e,font:n,fontSize:r,selection:i,...o}=t,s=gO({},Kt(iVt),n?aVt(n):{},e?oVt(e):{},r?sVt(r):{},o||{});i&&mO(s,"selection",i,!0);const a=hl(s,uVt);for(const l of["background","lineBreak","padding"])s[l]&&(a[l]=eu(s[l]));for(const l of Jje)s[l]&&(a[l]=is(s[l]));for(const l of w4e)s[l]&&(a[l]=V4e(s[l]));for(const l of z4e)s[l]&&(a[l]=is(s[l]));if(s.legend&&(a.legend=is(s.legend)),s.scale){const{invalid:l,...u}=s.scale,c=is(l,{level:1});a.scale={...is(u),...Qe(c).length>0?{invalid:c}:{}}}return s.style&&(a.style=lVt(s.style)),s.title&&(a.title=is(s.title)),s.view&&(a.view=is(s.view)),a}const cVt=new Set(["view",...W8t]),fVt=["color","fontSize","background","padding","facet","concat","numberFormat","numberFormatType","normalizedNumberFormat","normalizedNumberFormatType","timeFormat","countTitle","header","axisQuantitative","axisTemporal","axisDiscrete","axisPoint","axisXBand","axisXPoint","axisXDiscrete","axisXQuantitative","axisXTemporal","axisYBand","axisYPoint","axisYDiscrete","axisYQuantitative","axisYTemporal","scale","selection","overlay"],dVt={view:["continuousWidth","continuousHeight","discreteWidth","discreteHeight","step"],...X8t};function hVt(t){t=Kt(t);for(const e of fVt)delete t[e];if(t.axis)for(const e in t.axis)GR(t.axis[e])&&delete t.axis[e];if(t.legend)for(const e of HWt)delete t.legend[e];if(t.mark){for(const e of nye)delete t.mark[e];t.mark.tooltip&&ht(t.mark.tooltip)&&delete t.mark.tooltip}t.params&&(t.signals=(t.signals||[]).concat(B4e(t.params)),delete t.params);for(const e of cVt){for(const r of nye)delete t[e][r];const n=dVt[e];if(n)for(const r of n)delete t[e][r];gVt(t,e)}for(const e of GWt())delete t[e];pVt(t);for(const e in t)ht(t[e])&&Er(t[e])&&delete t[e];return Er(t)?void 0:t}function pVt(t){const{titleMarkConfig:e,subtitleMarkConfig:n,subtitle:r}=vje(t.title);Er(e)||(t.style["group-title"]={...t.style["group-title"],...e}),Er(n)||(t.style["group-subtitle"]={...t.style["group-subtitle"],...n}),Er(r)?delete t.title:t.title=r}function gVt(t,e,n,r){const i=t[e];e==="view"&&(n="cell");const o={...i,...t.style[n??e]};Er(o)||(t.style[n??e]=o),delete t[e]}function R6(t){return Ke(t,"layer")}function mVt(t){return Ke(t,"repeat")}function vVt(t){return!We(t.repeat)&&Ke(t.repeat,"layer")}class Gse{map(e,n){return O6(e)?this.mapFacet(e,n):mVt(e)?this.mapRepeat(e,n):Vse(e)?this.mapHConcat(e,n):M6(e)?this.mapVConcat(e,n):Wse(e)?this.mapConcat(e,n):this.mapLayerOrUnit(e,n)}mapLayerOrUnit(e,n){if(R6(e))return this.mapLayer(e,n);if(tm(e))return this.mapUnit(e,n);throw new Error(lse(e))}mapLayer(e,n){return{...e,layer:e.layer.map(r=>this.mapLayerOrUnit(r,n))}}mapHConcat(e,n){return{...e,hconcat:e.hconcat.map(r=>this.map(r,n))}}mapVConcat(e,n){return{...e,vconcat:e.vconcat.map(r=>this.map(r,n))}}mapConcat(e,n){const{concat:r,...i}=e;return{...i,concat:r.map(o=>this.map(o,n))}}mapFacet(e,n){return{...e,spec:this.map(e.spec,n)}}mapRepeat(e,n){return{...e,spec:this.map(e.spec,n)}}}const yVt={zero:1,center:1,normalize:1};function xVt(t){return vt(yVt,t)}const bVt=new Set([Qje,w6,b6,D5,S6,Sse,Cse,_6,Kje,_se]),wVt=new Set([w6,b6,Qje]);function ew(t){return Je(t)&&eC(t)==="quantitative"&&!t.bin}function pye(t,e,{orient:n,type:r}){const i=e==="x"?"y":"radius",o=e==="x"&&["bar","area"].includes(r),s=t[e],a=t[i];if(Je(s)&&Je(a))if(ew(s)&&ew(a)){if(s.stack)return e;if(a.stack)return i;const l=Je(s)&&!!s.aggregate,u=Je(a)&&!!a.aggregate;if(l!==u)return l?e:i;if(o){if(n==="vertical")return i;if(n==="horizontal")return e}}else{if(ew(s))return e;if(ew(a))return i}else{if(ew(s))return o&&n==="vertical"?void 0:e;if(ew(a))return o&&n==="horizontal"?void 0:i}}function _Vt(t){switch(t){case"x":return"y";case"y":return"x";case"theta":return"radius";case"radius":return"theta"}}function H4e(t,e){var g,m;const n=Mh(t)?t:{type:t},r=n.type;if(!bVt.has(r))return null;const i=pye(e,"x",n)||pye(e,"theta",n);if(!i)return null;const o=e[i],s=Je(o)?lt(o,{}):void 0,a=_Vt(i),l=[],u=new Set;if(e[a]){const v=e[a],y=Je(v)?lt(v,{}):void 0;y&&y!==s&&(l.push(a),u.add(y))}const c=a==="x"?"xOffset":"yOffset",f=e[c],d=Je(f)?lt(f,{}):void 0;d&&d!==s&&(l.push(c),u.add(d));const h=D6t.reduce((v,y)=>{if(y!=="tooltip"&&jx(e,y)){const x=e[y];for(const b of pt(x)){const w=Xf(b);if(w.aggregate)continue;const _=lt(w,{});(!_||!u.has(_))&&v.push({channel:y,fieldDef:w})}}return v},[]);let p;return o.stack!==void 0?Ny(o.stack)?p=o.stack?"zero":null:p=o.stack:wVt.has(r)&&(p="zero"),!p||!xVt(p)||C4e(e)&&h.length===0?null:((g=o==null?void 0:o.scale)!=null&&g.type&&((m=o==null?void 0:o.scale)==null?void 0:m.type)!==os.LINEAR&&o!=null&&o.stack&&Ze(XUt(o.scale.type)),en(e[Xh(i)])?(o.stack!==void 0&&Ze(qUt(i)),null):(Je(o)&&o.aggregate&&!G6t.has(o.aggregate)&&Ze(YUt(o.aggregate)),{groupbyChannels:l,groupbyFields:u,fieldChannel:i,impute:o.impute===null?!1:Ky(r),stackBy:h,offset:p}))}function q4e(t,e,n){const r=is(t),i=Or("orient",r,n);if(r.orient=EVt(r.type,e,i),i!==void 0&&i!==r.orient&&Ze(MUt(r.orient,i)),r.type==="bar"&&r.orient){const l=Or("cornerRadiusEnd",r,n);if(l!==void 0){const u=r.orient==="horizontal"&&e.x2||r.orient==="vertical"&&e.y2?["cornerRadius"]:K8t[r.orient];for(const c of u)r[c]=l;r.cornerRadiusEnd!==void 0&&delete r.cornerRadiusEnd}}const o=Or("opacity",r,n),s=Or("fillOpacity",r,n);return o===void 0&&s===void 0&&(r.opacity=CVt(r.type,e)),Or("cursor",r,n)===void 0&&(r.cursor=SVt(r,e,n)),r}function SVt(t,e,n){return e.href||t.href||Or("href",t,n)?"pointer":t.cursor}function CVt(t,e){if(En([S6,_se,Sse,Cse],t)&&!C4e(e))return .7}function OVt(t,e,{graticule:n}){if(n)return!1;const r=Ph("filled",t,e),i=t.type;return qi(r,i!==S6&&i!==_6&&i!==D5)}function EVt(t,e,n){switch(t){case S6:case Sse:case Cse:case Kje:case B8t:case j8t:return}const{x:r,y:i,x2:o,y2:s}=e;switch(t){case w6:if(Je(r)&&(ns(r.bin)||Je(i)&&i.aggregate&&!r.aggregate))return"vertical";if(Je(i)&&(ns(i.bin)||Je(r)&&r.aggregate&&!i.aggregate))return"horizontal";if(s||o){if(n)return n;if(!o)return(Je(r)&&r.type===_1&&!Gr(r.bin)||L5(r))&&Je(i)&&ns(i.bin)?"horizontal":"vertical";if(!s)return(Je(i)&&i.type===_1&&!Gr(i.bin)||L5(i))&&Je(r)&&ns(r.bin)?"vertical":"horizontal"}case D5:if(o&&!(Je(r)&&ns(r.bin))&&s&&!(Je(i)&&ns(i.bin)))return;case b6:if(s)return Je(i)&&ns(i.bin)?"horizontal":"vertical";if(o)return Je(r)&&ns(r.bin)?"vertical":"horizontal";if(t===D5){if(r&&!i)return"vertical";if(i&&!r)return"horizontal"}case _6:case _se:{const a=sye(r),l=sye(i);if(n)return n;if(a&&!l)return t!=="tick"?"horizontal":"vertical";if(!a&&l)return t!=="tick"?"vertical":"horizontal";if(a&&l)return"vertical";{const u=Pa(r)&&r.type===ZS,c=Pa(i)&&i.type===ZS;if(u&&!c)return"vertical";if(!u&&c)return"horizontal"}return}}return"vertical"}function TVt(t){const{point:e,line:n,...r}=t;return Qe(r).length>1?r:r.type}function kVt(t){for(const e of["line","area","rule","trail"])t[e]&&(t={...t,[e]:hl(t[e],["point","line"])});return t}function UV(t,e={},n){return t.point==="transparent"?{opacity:0}:t.point?ht(t.point)?t.point:{}:t.point!==void 0?null:e.point||n.shape?ht(e.point)?e.point:{}:void 0}function gye(t,e={}){return t.line?t.line===!0?{}:t.line:t.line!==void 0?null:e.line?e.line===!0?{}:e.line:void 0}class AVt{constructor(){this.name="path-overlay"}hasMatchingType(e,n){if(tm(e)){const{mark:r,encoding:i}=e,o=Mh(r)?r:{type:r};switch(o.type){case"line":case"rule":case"trail":return!!UV(o,n[o.type],i);case"area":return!!UV(o,n[o.type],i)||!!gye(o,n[o.type])}}return!1}run(e,n,r){const{config:i}=n,{params:o,projection:s,mark:a,name:l,encoding:u,...c}=e,f=P6(u,i),d=Mh(a)?a:{type:a},h=UV(d,i[d.type],f),p=d.type==="area"&&gye(d,i[d.type]),g=[{name:l,...o?{params:o}:{},mark:TVt({...d.type==="area"&&d.opacity===void 0&&d.fillOpacity===void 0?{opacity:.7}:{},...d}),encoding:hl(f,["shape"])}],m=H4e(q4e(d,f,i),f);let v=f;if(m){const{fieldChannel:y,offset:x}=m;v={...f,[y]:{...f[y],...x?{stack:x}:{}}}}return v=hl(v,["y2","x2"]),p&&g.push({...s?{projection:s}:{},mark:{type:"line",...qS(d,["clip","interpolate","tension","tooltip"]),...p},encoding:v}),h&&g.push({...s?{projection:s}:{},mark:{type:"point",opacity:1,filled:!0,...qS(d,["clip","tooltip"]),...h},encoding:v}),r({...c,layer:g},{...n,config:kVt(i)})}}function PVt(t,e){return e?BR(t)?Y4e(t,e):X4e(t,e):t}function WV(t,e){return e?Y4e(t,e):t}function PY(t,e,n){const r=e[t];if(dWt(r)){if(r.repeat in n)return{...e,[t]:n[r.repeat]};Ze(fUt(r.repeat));return}return e}function X4e(t,e){if(t=PY("field",t,e),t!==void 0){if(t===null)return null;if(Mse(t)&&lg(t.sort)){const n=PY("field",t.sort,e);t={...t,...n?{sort:n}:{}}}return t}}function mye(t,e){if(Je(t))return X4e(t,e);{const n=PY("datum",t,e);return n!==t&&!n.type&&(n.type="nominal"),n}}function vye(t,e){if(en(t)){const n=mye(t,e);if(n)return n;if(UR(t))return{condition:t.condition}}else{if(WR(t)){const n=mye(t.condition,e);if(n)return{...t,condition:n};{const{condition:r,...i}=t;return i}}return t}}function Y4e(t,e){const n={};for(const r in t)if(Ke(t,r)){const i=t[r];if(We(i))n[r]=i.map(o=>vye(o,e)).filter(o=>o);else{const o=vye(i,e);o!==void 0&&(n[r]=o)}}return n}class MVt{constructor(){this.name="RuleForRangedLine"}hasMatchingType(e){if(tm(e)){const{encoding:n,mark:r}=e;if(r==="line"||Mh(r)&&r.type==="line")for(const i of P6t){const o=db(i),s=n[o];if(n[i]&&(Je(s)&&!ns(s.bin)||Qh(s)))return!0}}return!1}run(e,n,r){const{encoding:i,mark:o}=e;return Ze(PUt(!!i.x2,!!i.y2)),r({...e,mark:ht(o)?{...o,type:"rule"}:"rule"},n)}}class RVt extends Gse{constructor(){super(...arguments),this.nonFacetUnitNormalizers=[IWt,FWt,VWt,new AVt,new MVt]}map(e,n){if(tm(e)){const r=jx(e.encoding,sg),i=jx(e.encoding,ag),o=jx(e.encoding,u6);if(r||i||o)return this.mapFacetedUnit(e,n)}return super.map(e,n)}mapUnit(e,n){const{parentEncoding:r,parentProjection:i}=n,o=WV(e.encoding,n.repeater),s={...e,...e.name?{name:[n.repeaterPrefix,e.name].filter(l=>l).join("_")}:{},...o?{encoding:o}:{}};if(r||i)return this.mapUnitWithParentEncodingOrProjection(s,n);const a=this.mapLayerOrUnit.bind(this);for(const l of this.nonFacetUnitNormalizers)if(l.hasMatchingType(s,n.config))return l.run(s,n,a);return s}mapRepeat(e,n){return vVt(e)?this.mapLayerRepeat(e,n):this.mapNonLayerRepeat(e,n)}mapLayerRepeat(e,n){const{repeat:r,spec:i,...o}=e,{row:s,column:a,layer:l}=r,{repeater:u={},repeaterPrefix:c=""}=n;return s||a?this.mapRepeat({...e,repeat:{...s?{row:s}:{},...a?{column:a}:{}},spec:{repeat:{layer:l},spec:i}},n):{...o,layer:l.map(f=>{const d={...u,layer:f},h=`${(i.name?`${i.name}_`:"")+c}child__layer_${hi(f)}`,p=this.mapLayerOrUnit(i,{...n,repeater:d,repeaterPrefix:h});return p.name=h,p})}}mapNonLayerRepeat(e,n){const{repeat:r,spec:i,data:o,...s}=e;!We(r)&&e.columns&&(e=hl(e,["columns"]),Ze(Qve("repeat")));const a=[],{repeater:l={},repeaterPrefix:u=""}=n,c=!We(r)&&r.row||[l?l.row:null],f=!We(r)&&r.column||[l?l.column:null],d=We(r)&&r||[l?l.repeat:null];for(const p of d)for(const g of c)for(const m of f){const v={repeat:p,row:g,column:m,layer:l.layer},y=(i.name?`${i.name}_`:"")+u+"child__"+(We(r)?`${hi(p)}`:(r.row?`row_${hi(g)}`:"")+(r.column?`column_${hi(m)}`:"")),x=this.map(i,{...n,repeater:v,repeaterPrefix:y});x.name=y,a.push(hl(x,["data"]))}const h=We(r)?e.columns:r.column?r.column.length:1;return{data:i.data??o,align:"all",...s,columns:h,concat:a}}mapFacet(e,n){const{facet:r}=e;return BR(r)&&e.columns&&(e=hl(e,["columns"]),Ze(Qve("facet"))),super.mapFacet(e,n)}mapUnitWithParentEncodingOrProjection(e,n){const{encoding:r,projection:i}=e,{parentEncoding:o,parentProjection:s,config:a}=n,l=xye({parentProjection:s,projection:i}),u=yye({parentEncoding:o,encoding:WV(r,n.repeater)});return this.mapUnit({...e,...l?{projection:l}:{},...u?{encoding:u}:{}},{config:a})}mapFacetedUnit(e,n){const{row:r,column:i,facet:o,...s}=e.encoding,{mark:a,width:l,projection:u,height:c,view:f,params:d,encoding:h,...p}=e,{facetMapping:g,layout:m}=this.getFacetMappingAndLayout({row:r,column:i,facet:o},n),v=WV(s,n.repeater);return this.mapFacet({...p,...m,facet:g,spec:{...l?{width:l}:{},...c?{height:c}:{},...f?{view:f}:{},...u?{projection:u}:{},mark:a,encoding:v,...d?{params:d}:{}}},n)}getFacetMappingAndLayout(e,n){const{row:r,column:i,facet:o}=e;if(r||i){o&&Ze(kUt([...r?[sg]:[],...i?[ag]:[]]));const s={},a={};for(const l of[sg,ag]){const u=e[l];if(u){const{align:c,center:f,spacing:d,columns:h,...p}=u;s[l]=p;for(const g of["align","center","spacing"])u[g]!==void 0&&(a[g]??(a[g]={}),a[g][l]=u[g])}}return{facetMapping:s,layout:a}}else{const{align:s,center:a,spacing:l,columns:u,...c}=o;return{facetMapping:PVt(c,n.repeater),layout:{...s?{align:s}:{},...a?{center:a}:{},...l?{spacing:l}:{},...u?{columns:u}:{}}}}}mapLayer(e,{parentEncoding:n,parentProjection:r,...i}){const{encoding:o,projection:s,...a}=e,l={...i,parentEncoding:yye({parentEncoding:n,encoding:o,layer:!0}),parentProjection:xye({parentProjection:r,projection:s})};return super.mapLayer({...a,...e.name?{name:[l.repeaterPrefix,e.name].filter(u=>u).join("_")}:{}},l)}}function yye({parentEncoding:t,encoding:e={},layer:n}){let r={};if(t){const i=new Set([...Qe(t),...Qe(e)]);for(const o of i){const s=e[o],a=t[o];if(en(s)){const l={...a,...s};r[o]=l}else WR(s)?r[o]={...s,condition:{...a,...s.condition}}:s||s===null?r[o]=s:(n||qf(a)||Mt(a)||en(a)||We(a))&&(r[o]=a)}}else r=e;return!r||Er(r)?void 0:r}function xye(t){const{parentProjection:e,projection:n}=t;return e&&n&&Ze(vUt({parentProjection:e,projection:n})),n??e}function Hse(t){return Ke(t,"filter")}function DVt(t){return Ke(t,"stop")}function Q4e(t){return Ke(t,"lookup")}function IVt(t){return Ke(t,"data")}function LVt(t){return Ke(t,"param")}function $Vt(t){return Ke(t,"pivot")}function FVt(t){return Ke(t,"density")}function NVt(t){return Ke(t,"quantile")}function zVt(t){return Ke(t,"regression")}function jVt(t){return Ke(t,"loess")}function BVt(t){return Ke(t,"sample")}function UVt(t){return Ke(t,"window")}function WVt(t){return Ke(t,"joinaggregate")}function VVt(t){return Ke(t,"flatten")}function GVt(t){return Ke(t,"calculate")}function K4e(t){return Ke(t,"bin")}function HVt(t){return Ke(t,"impute")}function qVt(t){return Ke(t,"timeUnit")}function XVt(t){return Ke(t,"aggregate")}function YVt(t){return Ke(t,"stack")}function QVt(t){return Ke(t,"fold")}function KVt(t){return Ke(t,"extent")&&!Ke(t,"density")&&!Ke(t,"regression")}function ZVt(t){return t.map(e=>Hse(e)?{filter:$_(e.filter,S8t)}:e)}class JVt extends Gse{map(e,n){return n.emptySelections??(n.emptySelections={}),n.selectionPredicates??(n.selectionPredicates={}),e=bye(e,n),super.map(e,n)}mapLayerOrUnit(e,n){if(e=bye(e,n),e.encoding){const r={};for(const[i,o]of dy(e.encoding))r[i]=Z4e(o,n);e={...e,encoding:r}}return super.mapLayerOrUnit(e,n)}mapUnit(e,n){const{selection:r,...i}=e;return r?{...i,params:dy(r).map(([o,s])=>{const{init:a,bind:l,empty:u,...c}=s;c.type==="single"?(c.type="point",c.toggle=!1):c.type==="multi"&&(c.type="point"),n.emptySelections[o]=u!=="none";for(const f of bs(n.selectionPredicates[o]??{}))f.empty=u!=="none";return{name:o,value:a,select:c,bind:l}})}:e}}function bye(t,e){const{transform:n,...r}=t;if(n){const i=n.map(o=>{if(Hse(o))return{filter:MY(o,e)};if(K4e(o)&&hb(o.bin))return{...o,bin:J4e(o.bin)};if(Q4e(o)){const{selection:s,...a}=o.from;return s?{...o,from:{param:s,...a}}:o}return o});return{...r,transform:i}}return t}function Z4e(t,e){var r,i;const n=Kt(t);if(Je(n)&&hb(n.bin)&&(n.bin=J4e(n.bin)),vb(n)&&((i=(r=n.scale)==null?void 0:r.domain)!=null&&i.selection)){const{selection:o,...s}=n.scale.domain;n.scale.domain={...s,...o?{param:o}:{}}}if(UR(n))if(We(n.condition))n.condition=n.condition.map(o=>{const{selection:s,param:a,test:l,...u}=o;return a?o:{...u,test:MY(o,e)}});else{const{selection:o,param:s,test:a,...l}=Z4e(n.condition,e);n.condition=s?n.condition:{...l,test:MY(n.condition,e)}}return n}function J4e(t){const e=t.extent;if(e!=null&&e.selection){const{selection:n,...r}=e;return{...t,extent:{...r,param:n}}}return t}function MY(t,e){const n=r=>$_(r,i=>{var o;const s=e.emptySelections[i]??!0,a={param:i,empty:s};return(o=e.selectionPredicates)[i]??(o[i]=[]),e.selectionPredicates[i].push(a),a});return t.selection?n(t.selection):$_(t.test||t.filter,r=>r.selection?n(r.selection):r)}class RY extends Gse{map(e,n){const r=n.selections??[];if(e.params&&!tm(e)){const i=[];for(const o of e.params)Use(o)?r.push(o):i.push(o);e.params=i}return n.selections=r,super.map(e,n)}mapUnit(e,n){const r=n.selections;if(!r||!r.length)return e;const i=(n.path??[]).concat(e.name),o=[];for(const s of r)if(!s.views||!s.views.length)o.push(s);else for(const a of s.views)(gt(a)&&(a===e.name||i.includes(a))||We(a)&&a.map(l=>i.indexOf(l)).every((l,u,c)=>l!==-1&&(u===0||l>c[u-1])))&&o.push(s);return o.length&&(e.params=o),e}}for(const t of["mapFacet","mapRepeat","mapHConcat","mapVConcat","mapLayer"]){const e=RY.prototype[t];RY.prototype[t]=function(n,r){return e.call(this,n,e9t(n,r))}}function e9t(t,e){return t.name?{...e,path:(e.path??[]).concat(t.name)}:e}function eBe(t,e){e===void 0&&(e=G4e(t.config));const n=i9t(t,e),{width:r,height:i}=t,o=o9t(n,{width:r,height:i,autosize:t.autosize},e);return{...n,...o?{autosize:o}:{}}}const t9t=new RVt,n9t=new JVt,r9t=new RY;function i9t(t,e={}){const n={config:e};return r9t.map(t9t.map(n9t.map(t,n),n),n)}function wye(t){return gt(t)?{type:t}:t??{}}function o9t(t,e,n){let{width:r,height:i}=e;const o=tm(t)||R6(t),s={};o?r=="container"&&i=="container"?(s.type="fit",s.contains="padding"):r=="container"?(s.type="fit-x",s.contains="padding"):i=="container"&&(s.type="fit-y",s.contains="padding"):(r=="container"&&(Ze(Hve("width")),r=void 0),i=="container"&&(Ze(Hve("height")),i=void 0));const a={type:"pad",...s,...n?wye(n.autosize):{},...wye(t.autosize)};if(a.type==="fit"&&!o&&(Ze(eUt),a.type="pad"),r=="container"&&!(a.type=="fit"||a.type=="fit-x")&&Ze(qve("width")),i=="container"&&!(a.type=="fit"||a.type=="fit-y")&&Ze(qve("height")),!su(a,{type:"pad"}))return a}function s9t(t){return["fit","fit-x","fit-y"].includes(t)}function a9t(t){return t?`fit-${p6(t)}`:"fit"}const l9t=["background","padding"];function _ye(t,e){const n={};for(const r of l9t)t&&t[r]!==void 0&&(n[r]=eu(t[r]));return e&&(n.params=t.params),n}class nm{constructor(e={},n={}){this.explicit=e,this.implicit=n}clone(){return new nm(Kt(this.explicit),Kt(this.implicit))}combine(){return{...this.explicit,...this.implicit}}get(e){return qi(this.explicit[e],this.implicit[e])}getWithExplicit(e){return this.explicit[e]!==void 0?{explicit:!0,value:this.explicit[e]}:this.implicit[e]!==void 0?{explicit:!1,value:this.implicit[e]}:{explicit:!1,value:void 0}}setWithExplicit(e,{value:n,explicit:r}){n!==void 0&&this.set(e,n,r)}set(e,n,r){return delete this[r?"implicit":"explicit"][e],this[r?"explicit":"implicit"][e]=n,this}copyKeyFromSplit(e,{explicit:n,implicit:r}){n[e]!==void 0?this.set(e,n[e],!0):r[e]!==void 0&&this.set(e,r[e],!1)}copyKeyFromObject(e,n){n[e]!==void 0&&this.set(e,n[e],!0)}copyAll(e){for(const n of Qe(e.combine())){const r=e.getWithExplicit(n);this.setWithExplicit(n,r)}}}function Pd(t){return{explicit:!0,value:t}}function Wl(t){return{explicit:!1,value:t}}function tBe(t){return(e,n,r,i)=>{const o=t(e.value,n.value);return o>0?e:o<0?n:D6(e,n,r,i)}}function D6(t,e,n,r){return t.explicit&&e.explicit&&Ze(jUt(n,r,t.value,e.value)),t}function gy(t,e,n,r,i=D6){return t===void 0||t.value===void 0?e:t.explicit&&!e.explicit?t:e.explicit&&!t.explicit?e:su(t.value,e.value)?t:i(t,e,n,r)}class u9t extends nm{constructor(e={},n={},r=!1){super(e,n),this.explicit=e,this.implicit=n,this.parseNothing=r}clone(){const e=super.clone();return e.parseNothing=this.parseNothing,e}}function rC(t){return Ke(t,"url")}function YA(t){return Ke(t,"values")}function nBe(t){return Ke(t,"name")&&!rC(t)&&!YA(t)&&!Uv(t)}function Uv(t){return t&&(rBe(t)||iBe(t)||qse(t))}function rBe(t){return Ke(t,"sequence")}function iBe(t){return Ke(t,"sphere")}function qse(t){return Ke(t,"graticule")}var Fi;(function(t){t[t.Raw=0]="Raw",t[t.Main=1]="Main",t[t.Row=2]="Row",t[t.Column=3]="Column",t[t.Lookup=4]="Lookup",t[t.PreFilterInvalid=5]="PreFilterInvalid",t[t.PostFilterInvalid=6]="PostFilterInvalid"})(Fi||(Fi={}));function oBe({invalid:t,isPath:e}){switch(e4e(t,{isPath:e})){case"filter":return{marks:"exclude-invalid-values",scales:"exclude-invalid-values"};case"break-paths-show-domains":return{marks:e?"include-invalid-values":"exclude-invalid-values",scales:"include-invalid-values"};case"break-paths-filter-domains":return{marks:e?"include-invalid-values":"exclude-invalid-values",scales:"exclude-invalid-values"};case"show":return{marks:"include-invalid-values",scales:"include-invalid-values"}}}function c9t(t){const{marks:e,scales:n}=oBe(t);return e===n?Fi.Main:n==="include-invalid-values"?Fi.PreFilterInvalid:Fi.PostFilterInvalid}function sBe(t){const{signals:e,hasLegend:n,index:r,...i}=t;return i.field=Mc(i.field),i}function O1(t,e=!0,n=ea){if(We(t)){const r=t.map(i=>O1(i,e,n));return e?`[${r.join(", ")}]`:r}else if(gb(t))return n(e?w1(t):f8t(t));return e?n(Tr(t)):t}function f9t(t,e){for(const n of bs(t.component.selection??{})){const r=n.name;let i=`${r}${my}, ${n.resolve==="global"?"true":`{unit: ${Bx(t)}}`}`;for(const o of F6)o.defined(n)&&(o.signals&&(e=o.signals(t,n,e)),o.modifyExpr&&(i=o.modifyExpr(t,n,i)));e.push({name:r+B9t,on:[{events:{signal:n.name+my},update:`modify(${rt(n.name+E1)}, ${i})`}]})}return Xse(e)}function d9t(t,e){if(t.component.selection&&Qe(t.component.selection).length){const n=rt(t.getName("cell"));e.unshift({name:"facet",value:{},on:[{events:Vy("pointermove","scope"),update:`isTuple(facet) ? facet : group(${n}).datum`}]})}return Xse(e)}function h9t(t,e){let n=!1;for(const r of bs(t.component.selection??{})){const i=r.name,o=rt(i+E1);if(e.filter(a=>a.name===i).length===0){const a=r.resolve==="global"?"union":r.resolve,l=r.type==="point"?", true, true)":")";e.push({name:r.name,update:`${CBe}(${o}, ${rt(a)}${l}`})}n=!0;for(const a of F6)a.defined(r)&&a.topLevelSignals&&(e=a.topLevelSignals(t,r,e))}return n&&e.filter(i=>i.name==="unit").length===0&&e.unshift({name:"unit",value:{},on:[{events:"pointermove",update:"isTuple(group()) ? group() : unit"}]}),Xse(e)}function p9t(t,e){const n=[...e],r=Bx(t,{escape:!1});for(const i of bs(t.component.selection??{})){const o={name:i.name+E1};if(i.project.hasSelectionId&&(o.transform=[{type:"collect",sort:{field:Yf}}]),i.init){const a=i.project.items.map(sBe);o.values=i.project.hasSelectionId?i.init.map(l=>({unit:r,[Yf]:O1(l,!1)[0]})):i.init.map(l=>({unit:r,fields:a,values:O1(l,!1)}))}n.filter(a=>a.name===i.name+E1).length||n.push(o)}return n}function aBe(t,e){for(const n of bs(t.component.selection??{}))for(const r of F6)r.defined(n)&&r.marks&&(e=r.marks(t,n,e));return e}function g9t(t,e){for(const n of t.children)wi(n)&&(e=aBe(n,e));return e}function m9t(t,e,n,r){const i=ABe(t,e.param,e);return{signal:Hf(n.get("type"))&&We(r)&&r[0]>r[1]?`isValid(${i}) && reverse(${i})`:i}}function Xse(t){return t.map(e=>(e.on&&!e.on.length&&delete e.on,e))}class _r{constructor(e,n){this.debugName=n,this._children=[],this._parent=null,e&&(this.parent=e)}clone(){throw new Error("Cannot clone node")}get parent(){return this._parent}set parent(e){this._parent=e,e&&e.addChild(this)}get children(){return this._children}numChildren(){return this._children.length}addChild(e,n){if(this._children.includes(e)){Ze(pUt);return}n!==void 0?this._children.splice(n,0,e):this._children.push(e)}removeChild(e){const n=this._children.indexOf(e);return this._children.splice(n,1),n}remove(){let e=this._parent.removeChild(this);for(const n of this._children)n._parent=this._parent,this._parent.addChild(n,e++)}insertAsParentOf(e){const n=e.parent;n.removeChild(this),this.parent=n,e.parent=this}swapWithParent(){const e=this._parent,n=e.parent;for(const i of this._children)i.parent=e;this._children=[],e.removeChild(this);const r=e.parent.removeChild(e);this._parent=n,n.addChild(this,r),e.parent=this}}class pl extends _r{clone(){const e=new this.constructor;return e.debugName=`clone_${this.debugName}`,e._source=this._source,e._name=`clone_${this._name}`,e.type=this.type,e.refCounts=this.refCounts,e.refCounts[e._name]=0,e}constructor(e,n,r,i){super(e,n),this.type=r,this.refCounts=i,this._source=this._name=n,this.refCounts&&!(this._name in this.refCounts)&&(this.refCounts[this._name]=0)}dependentFields(){return new Set}producedFields(){return new Set}hash(){return this._hash===void 0&&(this._hash=`Output ${tje()}`),this._hash}getSource(){return this.refCounts[this._name]++,this._source}isRequired(){return!!this.refCounts[this._name]}setSource(e){this._source=e}}function VV(t){return t.as!==void 0}function Sye(t){return`${t}_end`}class vh extends _r{clone(){return new vh(null,Kt(this.timeUnits))}constructor(e,n){super(e),this.timeUnits=n}static makeFromEncoding(e,n){const r=n.reduceFieldDef((i,o,s)=>{const{field:a,timeUnit:l}=o;if(l){let u;if(mb(l)){if(wi(n)){const{mark:c,markDef:f,config:d}=n,h=py({fieldDef:o,markDef:f,config:d});(XA(c)||h)&&(u={timeUnit:Uo(l),field:a})}}else u={as:lt(o,{forAs:!0}),field:a,timeUnit:l};if(wi(n)){const{mark:c,markDef:f,config:d}=n,h=py({fieldDef:o,markDef:f,config:d});XA(c)&&Xi(s)&&h!==.5&&(u.rectBandPosition=h)}u&&(i[Mn(u)]=u)}return i},{});return Er(r)?null:new vh(e,r)}static makeFromTransform(e,n){const{timeUnit:r,...i}={...n},o=Uo(r),s={...i,timeUnit:o};return new vh(e,{[Mn(s)]:s})}merge(e){this.timeUnits={...this.timeUnits};for(const n in e.timeUnits)this.timeUnits[n]||(this.timeUnits[n]=e.timeUnits[n]);for(const n of e.children)e.removeChild(n),n.parent=this;e.remove()}removeFormulas(e){const n={};for(const[r,i]of dy(this.timeUnits)){const o=VV(i)?i.as:`${i.field}_end`;e.has(o)||(n[r]=i)}this.timeUnits=n}producedFields(){return new Set(bs(this.timeUnits).map(e=>VV(e)?e.as:Sye(e.field)))}dependentFields(){return new Set(bs(this.timeUnits).map(e=>e.field))}hash(){return`TimeUnit ${Mn(this.timeUnits)}`}assemble(){const e=[];for(const n of bs(this.timeUnits)){const{rectBandPosition:r}=n,i=Uo(n.timeUnit);if(VV(n)){const{field:o,as:s}=n,{unit:a,utc:l,...u}=i,c=[s,`${s}_end`];e.push({field:Mc(o),type:"timeunit",...a?{units:y6(a)}:{},...l?{timezone:"utc"}:{},...u,as:c}),e.push(...Cye(c,r,i))}else if(n){const{field:o}=n,s=o.replaceAll("\\.","."),a=lBe({timeUnit:i,field:s}),l=Sye(s);e.push({type:"formula",expr:a,as:l}),e.push(...Cye([s,l],r,i))}}return e}}const I6="offsetted_rect_start",L6="offsetted_rect_end";function lBe({timeUnit:t,field:e,reverse:n}){const{unit:r,utc:i}=t,o=$je(r),{part:s,step:a}=jje(o,t.step);return`${i?"utcOffset":"timeOffset"}('${s}', datum['${e}'], ${n?-a:a})`}function Cye([t,e],n,r){if(n!==void 0&&n!==.5){const i=`datum['${t}']`,o=`datum['${e}']`;return[{type:"formula",expr:Oye([lBe({timeUnit:r,field:t,reverse:!0}),i],n+.5),as:`${t}_${I6}`},{type:"formula",expr:Oye([i,o],n+.5),as:`${t}_${L6}`}]}return[]}function Oye([t,e],n){return`${1-n} * ${t} + ${n} * ${e}`}const HR="_tuple_fields";class v9t{constructor(...e){this.items=e,this.hasChannel={},this.hasField={},this.hasSelectionId=!1}}const y9t={defined:()=>!0,parse:(t,e,n)=>{const r=e.name,i=e.project??(e.project=new v9t),o={},s={},a=new Set,l=(p,g)=>{const m=g==="visual"?p.channel:p.field;let v=hi(`${r}_${m}`);for(let y=1;a.has(v);y++)v=hi(`${r}_${m}_${y}`);return a.add(v),{[g]:v}},u=e.type,c=t.config.selection[u],f=n.value!==void 0?pt(n.value):null;let{fields:d,encodings:h}=ht(n.select)?n.select:{};if(!d&&!h&&f){for(const p of f)if(ht(p))for(const g of Qe(p))A6t(g)?(h||(h=[])).push(g):u==="interval"?(Ze(cUt),h=c.encodings):(d??(d=[])).push(g)}!d&&!h&&(h=c.encodings,"fields"in c&&(d=c.fields));for(const p of h??[]){const g=t.fieldDef(p);if(g){let m=g.field;if(g.aggregate){Ze(tUt(p,g.aggregate));continue}else if(!m){Ze(Yve(p));continue}if(g.timeUnit&&!mb(g.timeUnit)){m=t.vgField(p);const v={timeUnit:g.timeUnit,as:m,field:g.field};s[Mn(v)]=v}if(!o[m]){const v=u==="interval"&&Yh(p)&&Hf(t.getScaleComponent(p).get("type"))?"R":g.bin?"R-RE":"E",y={field:m,channel:p,type:v,index:i.items.length};y.signals={...l(y,"data"),...l(y,"visual")},i.items.push(o[m]=y),i.hasField[m]=o[m],i.hasSelectionId=i.hasSelectionId||m===Yf,aje(p)?(y.geoChannel=p,y.channel=sje(p),i.hasChannel[y.channel]=o[m]):i.hasChannel[p]=o[m]}}else Ze(Yve(p))}for(const p of d??[]){if(i.hasField[p])continue;const g={type:"E",field:p,index:i.items.length};g.signals={...l(g,"data")},i.items.push(g),i.hasField[p]=g,i.hasSelectionId=i.hasSelectionId||p===Yf}f&&(e.init=f.map(p=>i.items.map(g=>ht(p)?p[g.geoChannel||g.channel]!==void 0?p[g.geoChannel||g.channel]:p[g.field]:p))),Er(s)||(i.timeUnit=new vh(null,s))},signals:(t,e,n)=>{const r=e.name+HR;return n.filter(o=>o.name===r).length>0||e.project.hasSelectionId?n:n.concat({name:r,value:e.project.items.map(sBe)})}},ug={defined:t=>t.type==="interval"&&t.resolve==="global"&&t.bind&&t.bind==="scales",parse:(t,e)=>{const n=e.scales=[];for(const r of e.project.items){const i=r.channel;if(!Yh(i))continue;const o=t.getScaleComponent(i),s=o?o.get("type"):void 0;if(s=="sequential"&&Ze(oUt),!o||!Hf(s)){Ze(iUt);continue}o.set("selectionExtent",{param:e.name,field:r.field},!0),n.push(r)}},topLevelSignals:(t,e,n)=>{const r=e.scales.filter(s=>n.filter(a=>a.name===s.signals.data).length===0);if(!t.parent||Eye(t)||r.length===0)return n;const i=n.find(s=>s.name===e.name);let o=i.update;if(o.includes(CBe))i.update=`{${r.map(s=>`${rt(Mc(s.field))}: ${s.signals.data}`).join(", ")}}`;else{for(const s of r){const a=`${rt(Mc(s.field))}: ${s.signals.data}`;o.includes(a)||(o=`${o.substring(0,o.length-1)}, ${a}}`)}i.update=o}return n.concat(r.map(s=>({name:s.signals.data})))},signals:(t,e,n)=>{if(t.parent&&!Eye(t))for(const r of e.scales){const i=n.find(o=>o.name===r.signals.data);i.push="outer",delete i.value,delete i.update}return n}};function DY(t,e){return`domain(${rt(t.scaleName(e))})`}function Eye(t){return t.parent&&NO(t.parent)&&!t.parent.parent}const z_="_brush",uBe="_scale_trigger",a2="geo_interval_init_tick",cBe="_init",x9t="_center",b9t={defined:t=>t.type==="interval",parse:(t,e,n)=>{var r;if(t.hasProjection){const i={...ht(n.select)?n.select:{}};i.fields=[Yf],i.encodings||(i.encodings=n.value?Qe(n.value):[ad,sd]),n.select={type:"interval",...i}}if(e.translate&&!ug.defined(e)){const i=`!event.item || event.item.mark.name !== ${rt(e.name+z_)}`;for(const o of e.events){if(!o.between){Ze(`${o} is not an ordered event stream for interval selections.`);continue}const s=pt((r=o.between[0]).filter??(r.filter=[]));s.includes(i)||s.push(i)}}},signals:(t,e,n)=>{const r=e.name,i=r+my,o=bs(e.project.hasChannel).filter(a=>a.channel===vi||a.channel===Yo),s=e.init?e.init[0]:null;if(n.push(...o.reduce((a,l)=>a.concat(w9t(t,e,l,s&&s[l.index])),[])),t.hasProjection){const a=rt(t.projectionName()),l=t.projectionName()+x9t,{x:u,y:c}=e.project.hasChannel,f=u&&u.signals.visual,d=c&&c.signals.visual,h=u?s&&s[u.index]:`${l}[0]`,p=c?s&&s[c.index]:`${l}[1]`,g=w=>t.getSizeSignalRef(w).signal,m=`[[${f?f+"[0]":"0"}, ${d?d+"[0]":"0"}],[${f?f+"[1]":g("width")}, ${d?d+"[1]":g("height")}]]`;s&&(n.unshift({name:r+cBe,init:`[scale(${a}, [${u?h[0]:h}, ${c?p[0]:p}]), scale(${a}, [${u?h[1]:h}, ${c?p[1]:p}])]`}),(!u||!c)&&(n.find(_=>_.name===l)||n.unshift({name:l,update:`invert(${a}, [${g("width")}/2, ${g("height")}/2])`})));const v=`intersect(${m}, {markname: ${rt(t.getName("marks"))}}, unit.mark)`,y=`{unit: ${Bx(t)}}`,x=`vlSelectionTuples(${v}, ${y})`,b=o.map(w=>w.signals.visual);return n.concat({name:i,on:[{events:[...b.length?[{signal:b.join(" || ")}]:[],...s?[{signal:a2}]:[]],update:x}]})}else{if(!ug.defined(e)){const u=r+uBe,c=o.map(f=>{const d=f.channel,{data:h,visual:p}=f.signals,g=rt(t.scaleName(d)),m=t.getScaleComponent(d).get("type"),v=Hf(m)?"+":"";return`(!isArray(${h}) || (${v}invert(${g}, ${p})[0] === ${v}${h}[0] && ${v}invert(${g}, ${p})[1] === ${v}${h}[1]))`});c.length&&n.push({name:u,value:{},on:[{events:o.map(f=>({scale:t.scaleName(f.channel)})),update:c.join(" && ")+` ? ${u} : {}`}]})}const a=o.map(u=>u.signals.data),l=`unit: ${Bx(t)}, fields: ${r+HR}, values`;return n.concat({name:i,...s?{init:`{${l}: ${O1(s)}}`}:{},...a.length?{on:[{events:[{signal:a.join(" || ")}],update:`${a.join(" && ")} ? {${l}: [${a}]} : null`}]}:{}})}},topLevelSignals:(t,e,n)=>(wi(t)&&t.hasProjection&&e.init&&(n.filter(i=>i.name===a2).length||n.unshift({name:a2,value:null,on:[{events:"timer{1}",update:`${a2} === null ? {} : ${a2}`}]})),n),marks:(t,e,n)=>{const r=e.name,{x:i,y:o}=e.project.hasChannel,s=i==null?void 0:i.signals.visual,a=o==null?void 0:o.signals.visual,l=`data(${rt(e.name+E1)})`;if(ug.defined(e)||!i&&!o)return n;const u={x:i!==void 0?{signal:`${s}[0]`}:{value:0},y:o!==void 0?{signal:`${a}[0]`}:{value:0},x2:i!==void 0?{signal:`${s}[1]`}:{field:{group:"width"}},y2:o!==void 0?{signal:`${a}[1]`}:{field:{group:"height"}}};if(e.resolve==="global")for(const m of Qe(u))u[m]=[{test:`${l}.length && ${l}[0].unit === ${Bx(t)}`,...u[m]},{value:0}];const{fill:c,fillOpacity:f,cursor:d,...h}=e.mark,p=Qe(h).reduce((m,v)=>(m[v]=[{test:[i!==void 0&&`${s}[0] !== ${s}[1]`,o!==void 0&&`${a}[0] !== ${a}[1]`].filter(y=>y).join(" && "),value:h[v]},{value:null}],m),{}),g=d??(e.translate?"move":null);return[{name:`${r+z_}_bg`,type:"rect",clip:!0,encode:{enter:{fill:{value:c},fillOpacity:{value:f}},update:u}},...n,{name:r+z_,type:"rect",clip:!0,encode:{enter:{...g?{cursor:{value:g}}:{},fill:{value:"transparent"}},update:{...u,...p}}}]}};function w9t(t,e,n,r){const i=!t.hasProjection,o=n.channel,s=n.signals.visual,a=rt(i?t.scaleName(o):t.projectionName()),l=d=>`scale(${a}, ${d})`,u=t.getSizeSignalRef(o===vi?"width":"height").signal,c=`${o}(unit)`,f=e.events.reduce((d,h)=>[...d,{events:h.between[0],update:`[${c}, ${c}]`},{events:h,update:`[${s}[0], clamp(${c}, 0, ${u})]`}],[]);if(i){const d=n.signals.data,h=ug.defined(e),p=t.getScaleComponent(o),g=p?p.get("type"):void 0,m=r?{init:O1(r,!0,l)}:{value:[]};return f.push({events:{signal:e.name+uBe},update:Hf(g)?`[${l(`${d}[0]`)}, ${l(`${d}[1]`)}]`:"[0, 0]"}),h?[{name:d,on:[]}]:[{name:s,...m,on:f},{name:d,...r?{init:O1(r)}:{},on:[{events:{signal:s},update:`${s}[0] === ${s}[1] ? null : invert(${a}, ${s})`}]}]}else{const d=o===vi?0:1,h=e.name+cBe,p=r?{init:`[${h}[0][${d}], ${h}[1][${d}]]`}:{value:[]};return[{name:s,...p,on:f}]}}const _9t={defined:t=>t.type==="point",signals:(t,e,n)=>{const r=e.name,i=r+HR,o=e.project,s="(item().isVoronoi ? datum.datum : datum)",a=bs(t.component.selection??{}).reduce((f,d)=>d.type==="interval"?f.concat(d.name+z_):f,[]).map(f=>`indexof(item().mark.name, '${f}') < 0`).join(" && "),l=`datum && item().mark.marktype !== 'group' && indexof(item().mark.role, 'legend') < 0${a?` && ${a}`:""}`;let u=`unit: ${Bx(t)}, `;if(e.project.hasSelectionId)u+=`${Yf}: ${s}[${rt(Yf)}]`;else{const f=o.items.map(d=>{const h=t.fieldDef(d.channel);return h!=null&&h.bin?`[${s}[${rt(t.vgField(d.channel,{}))}], ${s}[${rt(t.vgField(d.channel,{binSuffix:"end"}))}]]`:`${s}[${rt(d.field)}]`}).join(", ");u+=`fields: ${i}, values: [${f}]`}const c=e.events;return n.concat([{name:r+my,on:c?[{events:c,update:`${l} ? {${u}} : null`,force:!0}]:[]}])}};function IO({model:t,channelDef:e,vgChannel:n,invalidValueRef:r,mainRefFn:i}){const o=UR(e)&&e.condition;let s=[];o&&(s=pt(o).map(u=>{const c=i(u);if(fWt(u)){const{param:f,empty:d}=u;return{test:kBe(t,{param:f,empty:d}),...c}}else return{test:W5(t,u.test),...c}})),r!==void 0&&s.push(r);const a=i(e);return a!==void 0&&s.push(a),s.length>1||s.length===1&&s[0].test?{[n]:s}:s.length===1?{[n]:s[0]}:{}}function Yse(t,e="text"){const n=t.encoding[e];return IO({model:t,channelDef:n,vgChannel:e,mainRefFn:r=>$6(r,t.config),invalidValueRef:void 0})}function $6(t,e,n="datum"){if(t){if(qf(t))return Jr(t.value);if(en(t)){const{format:r,formatType:i}=F5(t);return Ase({fieldOrDatumDef:t,format:r,formatType:i,expr:n,config:e})}}}function fBe(t,e={}){const{encoding:n,markDef:r,config:i,stack:o}=t,s=n.tooltip;if(We(s))return{tooltip:Tye({tooltip:s},o,i,e)};{const a=e.reactiveGeom?"datum.datum":"datum";return IO({model:t,channelDef:s,vgChannel:"tooltip",mainRefFn:u=>{const c=$6(u,i,a);if(c)return c;if(u===null)return;let f=Or("tooltip",r,i);if(f===!0&&(f={content:"encoding"}),gt(f))return{value:f};if(ht(f))return Mt(f)?f:f.content==="encoding"?Tye(n,o,i,e):{signal:a}},invalidValueRef:void 0})}}function dBe(t,e,n,{reactiveGeom:r}={}){const i={...n,...n.tooltipFormat},o=new Set,s=r?"datum.datum":"datum",a=[];function l(c,f){const d=db(f),h=Pa(c)?c:{...c,type:t[d].type},p=h.title||Dse(h,i),g=pt(p).join(", ").replaceAll(/"/g,'\\"');let m;if(Xi(f)){const v=f==="x"?"x2":"y2",y=Xf(t[v]);if(ns(h.bin)&&y){const x=lt(h,{expr:s}),b=lt(y,{expr:s}),{format:w,formatType:_}=F5(h);m=jR(x,b,w,_,i),o.add(v)}}if((Xi(f)||f===jc||f===od)&&e&&e.fieldChannel===f&&e.offset==="normalize"){const{format:v,formatType:y}=F5(h);m=Ase({fieldOrDatumDef:h,format:v,formatType:y,expr:s,config:i,normalizeStack:!0}).signal}m??(m=$6(h,i,s).signal),a.push({channel:f,key:g,value:m})}Lse(t,(c,f)=>{Je(c)?l(c,f):E6(c)&&l(c.condition,f)});const u={};for(const{channel:c,key:f,value:d}of a)!o.has(c)&&!u[f]&&(u[f]=d);return u}function Tye(t,e,n,{reactiveGeom:r}={}){const i=dBe(t,e,n,{reactiveGeom:r}),o=dy(i).map(([s,a])=>`"${s}": ${a}`);return o.length>0?{signal:`{${o.join(", ")}}`}:void 0}function S9t(t){const{markDef:e,config:n}=t,r=Or("aria",e,n);return r===!1?{}:{...r?{aria:r}:{},...C9t(t),...O9t(t)}}function C9t(t){const{mark:e,markDef:n,config:r}=t;if(r.aria===!1)return{};const i=Or("ariaRoleDescription",n,r);return i!=null?{ariaRoleDescription:{value:i}}:vt(K6t,e)?{}:{ariaRoleDescription:{value:e}}}function O9t(t){const{encoding:e,markDef:n,config:r,stack:i}=t,o=e.description;if(o)return IO({model:t,channelDef:o,vgChannel:"description",mainRefFn:l=>$6(l,t.config),invalidValueRef:void 0});const s=Or("description",n,r);if(s!=null)return{description:Jr(s)};if(r.aria===!1)return{};const a=dBe(e,i,r);if(!Er(a))return{description:{signal:dy(a).map(([l,u],c)=>`"${c>0?"; ":""}${l}: " + (${u})`).join(" + ")}}}function us(t,e,n={}){const{markDef:r,encoding:i,config:o}=e,{vgChannel:s}=n;let{defaultRef:a,defaultValue:l}=n;const u=i[t];a===void 0&&(l??(l=Or(t,r,o,{vgChannel:s,ignoreVgConfig:!UR(u)})),l!==void 0&&(a=Jr(l)));const c={markDef:r,config:o,scaleName:e.scaleName(t),scale:e.getScaleComponent(t)},f=n4e({...c,scaleChannel:t,channelDef:u});return IO({model:e,channelDef:u,vgChannel:s??t,invalidValueRef:f,mainRefFn:h=>kse({...c,channel:t,channelDef:h,stack:null,defaultRef:a})})}function hBe(t,e={filled:void 0}){const{markDef:n,encoding:r,config:i}=t,{type:o}=n,s=e.filled??Or("filled",n,i),a=En(["bar","point","circle","square","geoshape"],o)?"transparent":void 0,l=Or(s===!0?"color":void 0,n,i,{vgChannel:"fill"})??i.mark[s===!0&&"color"]??a,u=Or(s===!1?"color":void 0,n,i,{vgChannel:"stroke"})??i.mark[s===!1&&"color"],c=s?"fill":"stroke",f={...l?{fill:Jr(l)}:{},...u?{stroke:Jr(u)}:{}};return n.color&&(s?n.fill:n.stroke)&&Ze(Tje("property",{fill:"fill"in n,stroke:"stroke"in n})),{...f,...us("color",t,{vgChannel:c,defaultValue:s?l:u}),...us("fill",t,{defaultValue:r.fill?l:void 0}),...us("stroke",t,{defaultValue:r.stroke?u:void 0})}}function E9t(t){const{encoding:e,mark:n}=t,r=e.order;return!Ky(n)&&qf(r)?IO({model:t,channelDef:r,vgChannel:"zindex",mainRefFn:i=>Jr(i.value),invalidValueRef:void 0}):{}}function iC({channel:t,markDef:e,encoding:n={},model:r,bandPosition:i}){const o=`${t}Offset`,s=e[o],a=n[o];if((o==="xOffset"||o==="yOffset")&&a)return{offsetType:"encoding",offset:kse({channel:o,channelDef:a,markDef:e,config:r==null?void 0:r.config,scaleName:r.scaleName(o),scale:r.getScaleComponent(o),stack:null,defaultRef:Jr(s),bandPosition:i})};const l=e[o];return l?{offsetType:"visual",offset:l}:{}}function _a(t,e,{defaultPos:n,vgChannel:r}){const{encoding:i,markDef:o,config:s,stack:a}=e,l=i[t],u=i[Xh(t)],c=e.scaleName(t),f=e.getScaleComponent(t),{offset:d,offsetType:h}=iC({channel:t,markDef:o,encoding:i,model:e,bandPosition:.5}),p=Qse({model:e,defaultPos:n,channel:t,scaleName:c,scale:f}),g=!l&&Xi(t)&&(i.latitude||i.longitude)?{field:e.getName(t)}:T9t({channel:t,channelDef:l,channel2Def:u,markDef:o,config:s,scaleName:c,scale:f,stack:a,offset:d,defaultRef:p,bandPosition:h==="encoding"?0:void 0});return g?{[r||t]:g}:void 0}function T9t(t){const{channel:e,channelDef:n,scaleName:r,stack:i,offset:o,markDef:s}=t;if(en(n)&&i&&e===i.fieldChannel){if(Je(n)){let a=n.bandPosition;if(a===void 0&&s.type==="text"&&(e==="radius"||e==="theta")&&(a=.5),a!==void 0)return I5({scaleName:r,fieldOrDatumDef:n,startSuffix:"start",bandPosition:a,offset:o})}return zx(n,r,{suffix:"end"},{offset:o})}return Tse(t)}function Qse({model:t,defaultPos:e,channel:n,scaleName:r,scale:i}){const{markDef:o,config:s}=t;return()=>{const a=db(n),l=hy(n),u=Or(n,o,s,{vgChannel:l});if(u!==void 0)return mk(n,u);switch(e){case"zeroOrMin":return kye({scaleName:r,scale:i,mode:"zeroOrMin",mainChannel:a,config:s});case"zeroOrMax":return kye({scaleName:r,scale:i,mode:{zeroOrMax:{widthSignal:t.width.signal,heightSignal:t.height.signal}},mainChannel:a,config:s});case"mid":return{...t[Ol(n)],mult:.5}}}}function kye({mainChannel:t,config:e,...n}){const r=t4e(n),{mode:i}=n;if(r)return r;switch(t){case"radius":{if(i==="zeroOrMin")return{value:0};const{widthSignal:o,heightSignal:s}=i.zeroOrMax;return{signal:`min(${o},${s})/2`}}case"theta":return i==="zeroOrMin"?{value:0}:{signal:"2*PI"};case"x":return i==="zeroOrMin"?{value:0}:{field:{group:"width"}};case"y":return i==="zeroOrMin"?{field:{group:"height"}}:{value:0}}}const k9t={left:"x",center:"xc",right:"x2"},A9t={top:"y",middle:"yc",bottom:"y2"};function pBe(t,e,n,r="middle"){if(t==="radius"||t==="theta")return hy(t);const i=t==="x"?"align":"baseline",o=Or(i,e,n);let s;return Mt(o)?(Ze(AUt(i)),s=void 0):s=o,t==="x"?k9t[s||(r==="top"?"left":"center")]:A9t[s||r]}function B5(t,e,{defaultPos:n,defaultPos2:r,range:i}){return i?gBe(t,e,{defaultPos:n,defaultPos2:r}):_a(t,e,{defaultPos:n})}function gBe(t,e,{defaultPos:n,defaultPos2:r}){const{markDef:i,config:o}=e,s=Xh(t),a=Ol(t),l=P9t(e,r,s),u=l[a]?pBe(t,i,o):hy(t);return{..._a(t,e,{defaultPos:n,vgChannel:u}),...l}}function P9t(t,e,n){const{encoding:r,mark:i,markDef:o,stack:s,config:a}=t,l=db(n),u=Ol(n),c=hy(n),f=r[l],d=t.scaleName(l),h=t.getScaleComponent(l),{offset:p}=n in r||n in o?iC({channel:n,markDef:o,encoding:r,model:t}):iC({channel:l,markDef:o,encoding:r,model:t});if(!f&&(n==="x2"||n==="y2")&&(r.latitude||r.longitude)){const m=Ol(n),v=t.markDef[m];return v!=null?{[m]:{value:v}}:{[c]:{field:t.getName(n)}}}const g=M9t({channel:n,channelDef:f,channel2Def:r[n],markDef:o,config:a,scaleName:d,scale:h,stack:s,offset:p,defaultRef:void 0});return g!==void 0?{[c]:g}:eL(n,o)||eL(n,{[n]:_Y(n,o,a.style),[u]:_Y(u,o,a.style)})||eL(n,a[i])||eL(n,a.mark)||{[c]:Qse({model:t,defaultPos:e,channel:n,scaleName:d,scale:h})()}}function M9t({channel:t,channelDef:e,channel2Def:n,markDef:r,config:i,scaleName:o,scale:s,stack:a,offset:l,defaultRef:u}){return en(e)&&a&&t.charAt(0)===a.fieldChannel.charAt(0)?zx(e,o,{suffix:"start"},{offset:l}):Tse({channel:t,channelDef:n,scaleName:o,scale:s,stack:a,markDef:r,config:i,offset:l,defaultRef:u})}function eL(t,e){const n=Ol(t),r=hy(t);if(e[r]!==void 0)return{[r]:mk(t,e[r])};if(e[t]!==void 0)return{[r]:mk(t,e[t])};if(e[n]){const i=e[n];if(S1(i))Ze(SUt(n));else return{[n]:mk(t,i)}}}function Fg(t,e){const{config:n,encoding:r,markDef:i}=t,o=i.type,s=Xh(e),a=Ol(e),l=r[e],u=r[s],c=t.getScaleComponent(e),f=c?c.get("type"):void 0,d=i.orient,h=r[a]??r.size??Or("size",i,n,{vgChannel:a}),p=fje(e),g=o==="bar"&&(e==="x"?d==="vertical":d==="horizontal")||o==="tick"&&(e==="y"?d==="vertical":d==="horizontal");return Je(l)&&(Gr(l.bin)||ns(l.bin)||l.timeUnit&&!u)&&!(h&&!S1(h))&&!r[p]&&!Wo(f)?I9t({fieldDef:l,fieldDef2:u,channel:e,model:t}):(en(l)&&Wo(f)||g)&&!u?D9t(l,e,t):gBe(e,t,{defaultPos:"zeroOrMax",defaultPos2:"zeroOrMin"})}function R9t(t,e,n,r,i,o,s){if(S1(i))if(n){const l=n.get("type");if(l==="band"){let u=`bandwidth('${e}')`;i.band!==1&&(u=`${i.band} * ${u}`);const c=Ph("minBandSize",{type:s},r);return{signal:c?`max(${Tf(c)}, ${u})`:u}}else i.band!==1&&(Ze(DUt(l)),i=void 0)}else return{mult:i.band,field:{group:t}};else{if(Mt(i))return i;if(i)return{value:i}}if(n){const l=n.get("range");if(pb(l)&&Jn(l.step))return{value:l.step-2}}if(!o){const{bandPaddingInner:l,barBandPaddingInner:u,rectBandPaddingInner:c,tickBandPaddingInner:f}=r.scale,d=qi(l,s==="tick"?f:s==="bar"?u:c);if(Mt(d))return{signal:`(1 - (${d.signal})) * ${t}`};if(Jn(d))return{signal:`${1-d} * ${t}`}}return{value:AY(r.view,t)-2}}function D9t(t,e,n){var k,E;const{markDef:r,encoding:i,config:o,stack:s}=n,a=r.orient,l=n.scaleName(e),u=n.getScaleComponent(e),c=Ol(e),f=Xh(e),d=fje(e),h=n.scaleName(d),p=n.getScaleComponent(nse(e)),g=r.type==="tick"||a==="horizontal"&&e==="y"||a==="vertical"&&e==="x";let m;(i.size||r.size)&&(g?m=us("size",n,{vgChannel:c,defaultRef:Jr(r.size)}):Ze(FUt(r.type)));const v=!!m,y=u4e({channel:e,fieldDef:t,markDef:r,config:o,scaleType:(k=u||p)==null?void 0:k.get("type"),useVlSizeChannel:g});m=m||{[c]:R9t(c,h||l,p||u,o,y,!!t,r.type)};const x=((E=u||p)==null?void 0:E.get("type"))==="band"&&S1(y)&&!v?"top":"middle",b=pBe(e,r,o,x),w=b==="xc"||b==="yc",{offset:_,offsetType:S}=iC({channel:e,markDef:r,encoding:i,model:n,bandPosition:w?.5:0}),O=Tse({channel:e,channelDef:t,markDef:r,config:o,scaleName:l,scale:u,stack:s,offset:_,defaultRef:Qse({model:n,defaultPos:"mid",channel:e,scaleName:l,scale:u}),bandPosition:w?S==="encoding"?0:.5:Mt(y)?{signal:`(1-${y})/2`}:S1(y)?(1-y.band)/2:0});if(c)return{[b]:O,...m};{const M=hy(f),A=m[c],P=_?{...A,offset:_}:A;return{[b]:O,[M]:We(O)?[O[0],{...O[1],offset:P}]:{...O,offset:P}}}}function Aye(t,e,n,r,i,o,s){if(oje(t))return 0;const a=t==="x"||t==="y2",l=a?-e/2:e/2;if(Mt(n)||Mt(i)||Mt(r)||o){const u=Tf(n),c=Tf(i),f=Tf(r),d=Tf(o),p=o?`(${s} < ${d} ? ${a?"":"-"}0.5 * (${d} - (${s})) : ${l})`:l,g=f?`${f} + `:"",m=u?`(${u} ? -1 : 1) * `:"",v=c?`(${c} + ${p})`:p;return{signal:g+m+v}}else return i=i||0,r+(n?-i-l:+i+l)}function I9t({fieldDef:t,fieldDef2:e,channel:n,model:r}){var E;const{config:i,markDef:o,encoding:s}=r,a=r.getScaleComponent(n),l=r.scaleName(n),u=a?a.get("type"):void 0,c=a.get("reverse"),f=u4e({channel:n,fieldDef:t,markDef:o,config:i,scaleType:u}),d=(E=r.component.axes[n])==null?void 0:E[0],h=(d==null?void 0:d.get("translate"))??.5,p=Xi(n)?Or("binSpacing",o,i)??0:0,g=Xh(n),m=hy(n),v=hy(g),y=Ph("minBandSize",o,i),{offset:x}=iC({channel:n,markDef:o,encoding:s,model:r,bandPosition:0}),{offset:b}=iC({channel:g,markDef:o,encoding:s,model:r,bandPosition:0}),w=oWt({fieldDef:t,scaleName:l}),_=Aye(n,p,c,h,x,y,w),S=Aye(g,p,c,h,b??x,y,w),O=Mt(f)?{signal:`(1-${f.signal})/2`}:S1(f)?(1-f.band)/2:.5,k=py({fieldDef:t,fieldDef2:e,markDef:o,config:i});if(Gr(t.bin)||t.timeUnit){const M=t.timeUnit&&k!==.5;return{[v]:Pye({fieldDef:t,scaleName:l,bandPosition:O,offset:S,useRectOffsetField:M}),[m]:Pye({fieldDef:t,scaleName:l,bandPosition:Mt(O)?{signal:`1-${O.signal}`}:1-O,offset:_,useRectOffsetField:M})}}else if(ns(t.bin)){const M=zx(t,l,{},{offset:S});if(Je(e))return{[v]:M,[m]:zx(e,l,{},{offset:_})};if(hb(t.bin)&&t.bin.step)return{[v]:M,[m]:{signal:`scale("${l}", ${lt(t,{expr:"datum"})} + ${t.bin.step})`,offset:_}}}Ze(Pje(g))}function Pye({fieldDef:t,scaleName:e,bandPosition:n,offset:r,useRectOffsetField:i}){return I5({scaleName:e,fieldOrDatumDef:t,bandPosition:n,offset:r,...i?{startSuffix:I6,endSuffix:L6}:{}})}const L9t=new Set(["aria","width","height"]);function Bc(t,e){const{fill:n=void 0,stroke:r=void 0}=e.color==="include"?hBe(t):{};return{...$9t(t.markDef,e),...Mye("fill",n),...Mye("stroke",r),...us("opacity",t),...us("fillOpacity",t),...us("strokeOpacity",t),...us("strokeWidth",t),...us("strokeDash",t),...E9t(t),...fBe(t),...Yse(t,"href"),...S9t(t)}}function Mye(t,e){return e?{[t]:e}:{}}function $9t(t,e){return Q6t.reduce((n,r)=>(!L9t.has(r)&&Ke(t,r)&&e[r]!=="ignore"&&(n[r]=Jr(t[r])),n),{})}function Kse(t){const{config:e,markDef:n}=t,r=new Set;if(t.forEachFieldDef((i,o)=>{var u;let s;if(!Yh(o)||!(s=t.getScaleType(o)))return;const a=g6(i.aggregate),l=Ese({scaleChannel:o,markDef:n,config:e,scaleType:s,isCountAggregate:a});if(nWt(l)){const c=t.vgField(o,{expr:"datum",binSuffix:(u=t.stack)!=null&&u.impute?"mid":void 0});c&&r.add(c)}}),r.size>0)return{defined:{signal:[...r].map(o=>x6(o,!0)).join(" && ")}}}function Rye(t,e){if(e!==void 0)return{[t]:Jr(e)}}const GV="voronoi",mBe={defined:t=>t.type==="point"&&t.nearest,parse:(t,e)=>{if(e.events)for(const n of e.events)n.markname=t.getName(GV)},marks:(t,e,n)=>{const{x:r,y:i}=e.project.hasChannel,o=t.mark;if(Ky(o))return Ze(nUt(o)),n;const s={name:t.getName(GV),type:"path",interactive:!0,from:{data:t.getName("marks")},encode:{update:{fill:{value:"transparent"},strokeWidth:{value:.35},stroke:{value:"transparent"},isVoronoi:{value:!0},...fBe(t,{reactiveGeom:!0})}},transform:[{type:"voronoi",x:{expr:r||!i?"datum.datum.x || 0":"0"},y:{expr:i||!r?"datum.datum.y || 0":"0"},size:[t.getSizeSignalRef("width"),t.getSizeSignalRef("height")]}]};let a=0,l=!1;return n.forEach((u,c)=>{const f=u.name??"";f===t.component.mark[0].name?a=c:f.includes(GV)&&(l=!0)}),l||n.splice(a+1,0,s),n}},vBe={defined:t=>t.type==="point"&&t.resolve==="global"&&t.bind&&t.bind!=="scales"&&!Bse(t.bind),parse:(t,e,n)=>OBe(e,n),topLevelSignals:(t,e,n)=>{const r=e.name,i=e.project,o=e.bind,s=e.init&&e.init[0],a=mBe.defined(e)?"(item().isVoronoi ? datum.datum : datum)":"datum";return i.items.forEach((l,u)=>{const c=hi(`${r}_${l.field}`);n.filter(d=>d.name===c).length||n.unshift({name:c,...s?{init:O1(s[u])}:{value:null},on:e.events?[{events:e.events,update:`datum && item().mark.marktype !== 'group' ? ${a}[${rt(l.field)}] : null`}]:[],bind:o[l.field]??o[l.channel]??o})}),n},signals:(t,e,n)=>{const r=e.name,i=e.project,o=n.find(u=>u.name===r+my),s=r+HR,a=i.items.map(u=>hi(`${r}_${u.field}`)),l=a.map(u=>`${u} !== null`).join(" && ");return a.length&&(o.update=`${l} ? {fields: ${s}, values: [${a.join(", ")}]} : null`),delete o.value,delete o.on,n}},U5="_toggle",yBe={defined:t=>t.type==="point"&&!!t.toggle,signals:(t,e,n)=>n.concat({name:e.name+U5,value:!1,on:[{events:e.events,update:e.toggle}]}),modifyExpr:(t,e)=>{const n=e.name+my,r=e.name+U5;return`${r} ? null : ${n}, `+(e.resolve==="global"?`${r} ? null : true, `:`${r} ? null : {unit: ${Bx(t)}}, `)+`${r} ? ${n} : null`}},F9t={defined:t=>t.clear!==void 0&&t.clear!==!1,parse:(t,e)=>{e.clear&&(e.clear=gt(e.clear)?Vy(e.clear,"view"):e.clear)},topLevelSignals:(t,e,n)=>{if(vBe.defined(e))for(const r of e.project.items){const i=n.findIndex(o=>o.name===hi(`${e.name}_${r.field}`));i!==-1&&n[i].on.push({events:e.clear,update:"null"})}return n},signals:(t,e,n)=>{function r(i,o){i!==-1&&n[i].on&&n[i].on.push({events:e.clear,update:o})}if(e.type==="interval")for(const i of e.project.items){const o=n.findIndex(s=>s.name===i.signals.visual);if(r(o,"[0, 0]"),o===-1){const s=n.findIndex(a=>a.name===i.signals.data);r(s,"null")}}else{let i=n.findIndex(o=>o.name===e.name+my);r(i,"null"),yBe.defined(e)&&(i=n.findIndex(o=>o.name===e.name+U5),r(i,"false"))}return n}},xBe={defined:t=>{const e=t.resolve==="global"&&t.bind&&Bse(t.bind),n=t.project.items.length===1&&t.project.items[0].field!==Yf;return e&&!n&&Ze(sUt),e&&n},parse:(t,e,n)=>{const r=Kt(n);if(r.select=gt(r.select)?{type:r.select,toggle:e.toggle}:{...r.select,toggle:e.toggle},OBe(e,r),ht(n.select)&&(n.select.on||n.select.clear)){const s='event.item && indexof(event.item.mark.role, "legend") < 0';for(const a of e.events)a.filter=pt(a.filter??[]),a.filter.includes(s)||a.filter.push(s)}const i=BV(e.bind)?e.bind.legend:"click",o=gt(i)?Vy(i,"view"):pt(i);e.bind={legend:{merge:o}}},topLevelSignals:(t,e,n)=>{const r=e.name,i=BV(e.bind)&&e.bind.legend,o=s=>a=>{const l=Kt(a);return l.markname=s,l};for(const s of e.project.items){if(!s.hasLegend)continue;const a=`${hi(s.field)}_legend`,l=`${r}_${a}`;if(n.filter(c=>c.name===l).length===0){const c=i.merge.map(o(`${a}_symbols`)).concat(i.merge.map(o(`${a}_labels`))).concat(i.merge.map(o(`${a}_entries`)));n.unshift({name:l,...e.init?{}:{value:null},on:[{events:c,update:"isDefined(datum.value) ? datum.value : item().items[0].items[0].datum.value",force:!0},{events:i.merge,update:`!event.item || !datum ? null : ${l}`,force:!0}]})}}return n},signals:(t,e,n)=>{const r=e.name,i=e.project,o=n.find(d=>d.name===r+my),s=r+HR,a=i.items.filter(d=>d.hasLegend).map(d=>hi(`${r}_${hi(d.field)}_legend`)),u=`${a.map(d=>`${d} !== null`).join(" && ")} ? {fields: ${s}, values: [${a.join(", ")}]} : null`;e.events&&a.length>0?o.on.push({events:a.map(d=>({signal:d})),update:u}):a.length>0&&(o.update=u,delete o.value,delete o.on);const c=n.find(d=>d.name===r+U5),f=BV(e.bind)&&e.bind.legend;return c&&(e.events?c.on.push({...c.on[0],events:f}):c.on[0].events=f),n}};function N9t(t,e,n){var i;const r=(i=t.fieldDef(e))==null?void 0:i.field;for(const o of bs(t.component.selection??{})){const s=o.project.hasField[r]??o.project.hasChannel[e];if(s&&xBe.defined(o)){const a=n.get("selections")??[];a.push(o.name),n.set("selections",a,!1),s.hasLegend=!0}}}const bBe="_translate_anchor",wBe="_translate_delta",z9t={defined:t=>t.type==="interval"&&t.translate,signals:(t,e,n)=>{const r=e.name,i=ug.defined(e),o=r+bBe,{x:s,y:a}=e.project.hasChannel;let l=Vy(e.translate,"scope");return i||(l=l.map(u=>(u.between[0].markname=r+z_,u))),n.push({name:o,value:{},on:[{events:l.map(u=>u.between[0]),update:"{x: x(unit), y: y(unit)"+(s!==void 0?`, extent_x: ${i?DY(t,vi):`slice(${s.signals.visual})`}`:"")+(a!==void 0?`, extent_y: ${i?DY(t,Yo):`slice(${a.signals.visual})`}`:"")+"}"}]},{name:r+wBe,value:{},on:[{events:l,update:`{x: ${o}.x - x(unit), y: ${o}.y - y(unit)}`}]}),s!==void 0&&Dye(t,e,s,"width",n),a!==void 0&&Dye(t,e,a,"height",n),n}};function Dye(t,e,n,r,i){const o=e.name,s=o+bBe,a=o+wBe,l=n.channel,u=ug.defined(e),c=i.find(w=>w.name===n.signals[u?"data":"visual"]),f=t.getSizeSignalRef(r).signal,d=t.getScaleComponent(l),h=d&&d.get("type"),p=d&&d.get("reverse"),g=u?l===vi?p?"":"-":p?"-":"":"",m=`${s}.extent_${l}`,v=`${g}${a}.${l} / ${u?`${f}`:`span(${m})`}`,y=!u||!d?"panLinear":h==="log"?"panLog":h==="symlog"?"panSymlog":h==="pow"?"panPow":"panLinear",x=u?h==="pow"?`, ${d.get("exponent")??1}`:h==="symlog"?`, ${d.get("constant")??1}`:"":"",b=`${y}(${m}, ${v}${x})`;c.on.push({events:{signal:a},update:u?b:`clampRange(${b}, 0, ${f})`})}const _Be="_zoom_anchor",SBe="_zoom_delta",j9t={defined:t=>t.type==="interval"&&t.zoom,signals:(t,e,n)=>{const r=e.name,i=ug.defined(e),o=r+SBe,{x:s,y:a}=e.project.hasChannel,l=rt(t.scaleName(vi)),u=rt(t.scaleName(Yo));let c=Vy(e.zoom,"scope");return i||(c=c.map(f=>(f.markname=r+z_,f))),n.push({name:r+_Be,on:[{events:c,update:i?"{"+[l?`x: invert(${l}, x(unit))`:"",u?`y: invert(${u}, y(unit))`:""].filter(f=>f).join(", ")+"}":"{x: x(unit), y: y(unit)}"}]},{name:o,on:[{events:c,force:!0,update:"pow(1.001, event.deltaY * pow(16, event.deltaMode))"}]}),s!==void 0&&Iye(t,e,s,"width",n),a!==void 0&&Iye(t,e,a,"height",n),n}};function Iye(t,e,n,r,i){const o=e.name,s=n.channel,a=ug.defined(e),l=i.find(y=>y.name===n.signals[a?"data":"visual"]),u=t.getSizeSignalRef(r).signal,c=t.getScaleComponent(s),f=c&&c.get("type"),d=a?DY(t,s):l.name,h=o+SBe,p=`${o}${_Be}.${s}`,g=!a||!c?"zoomLinear":f==="log"?"zoomLog":f==="symlog"?"zoomSymlog":f==="pow"?"zoomPow":"zoomLinear",m=a?f==="pow"?`, ${c.get("exponent")??1}`:f==="symlog"?`, ${c.get("constant")??1}`:"":"",v=`${g}(${d}, ${p}, ${h}${m})`;l.on.push({events:{signal:h},update:a?v:`clampRange(${v}, 0, ${u})`})}const E1="_store",my="_tuple",B9t="_modify",CBe="vlSelectionResolve",F6=[_9t,b9t,y9t,yBe,vBe,ug,xBe,F9t,z9t,j9t,mBe];function U9t(t){let e=t.parent;for(;e&&!pu(e);)e=e.parent;return e}function Bx(t,{escape:e}={escape:!0}){let n=e?rt(t.name):t.name;const r=U9t(t);if(r){const{facet:i}=r;for(const o of ac)i[o]&&(n+=` + '__facet_${o}_' + (facet[${rt(r.vgField(o))}])`)}return n}function Zse(t){return bs(t.component.selection??{}).reduce((e,n)=>e||n.project.hasSelectionId,!1)}function OBe(t,e){(gt(e.select)||!e.select.on)&&delete t.events,(gt(e.select)||!e.select.clear)&&delete t.clear,(gt(e.select)||!e.select.toggle)&&delete t.toggle}function IY(t){const e=[];return t.type==="Identifier"?[t.name]:t.type==="Literal"?[t.value]:(t.type==="MemberExpression"&&(e.push(...IY(t.object)),e.push(...IY(t.property))),e)}function EBe(t){return t.object.type==="MemberExpression"?EBe(t.object):t.object.name==="datum"}function TBe(t){const e=yoe(t),n=new Set;return e.visit(r=>{r.type==="MemberExpression"&&EBe(r)&&n.add(IY(r).slice(1).join("."))}),n}class LO extends _r{clone(){return new LO(null,this.model,Kt(this.filter))}constructor(e,n,r){super(e),this.model=n,this.filter=r,this.expr=W5(this.model,this.filter,this),this._dependentFields=TBe(this.expr)}dependentFields(){return this._dependentFields}producedFields(){return new Set}assemble(){return{type:"filter",expr:this.expr}}hash(){return`Filter ${this.expr}`}}function W9t(t,e){const n={},r=t.config.selection;if(!e||!e.length)return n;for(const i of e){const o=hi(i.name),s=i.select,a=gt(s)?s:s.type,l=ht(s)?Kt(s):{type:a},u=r[a];for(const d in u)d==="fields"||d==="encodings"||(d==="mark"&&(l.mark={...u.mark,...l.mark}),(l[d]===void 0||l[d]===!0)&&(l[d]=Kt(u[d]??l[d])));const c=n[o]={...l,name:o,type:a,init:i.value,bind:i.bind,events:gt(l.on)?Vy(l.on,"scope"):pt(Kt(l.on))},f=Kt(i);for(const d of F6)d.defined(c)&&d.parse&&d.parse(t,c,f)}return n}function kBe(t,e,n,r="datum"){const i=gt(e)?e:e.param,o=hi(i),s=rt(o+E1);let a;try{a=t.getSelectionComponent(o,i)}catch{return`!!${o}`}if(a.project.timeUnit){const d=n??t.component.data.raw,h=a.project.timeUnit.clone();d.parent?h.insertAsParentOf(d):d.parent=h}const l=a.project.hasSelectionId?"vlSelectionIdTest(":"vlSelectionTest(",u=a.resolve==="global"?")":`, ${rt(a.resolve)})`,c=`${l}${s}, ${r}${u}`,f=`length(data(${s}))`;return e.empty===!1?`${f} && ${c}`:`!${f} || ${c}`}function ABe(t,e,n){const r=hi(e),i=n.encoding;let o=n.field,s;try{s=t.getSelectionComponent(r,e)}catch{return r}if(!i&&!o)o=s.project.items[0].field,s.project.items.length>1&&Ze(`A "field" or "encoding" must be specified when using a selection as a scale domain. Using "field": ${rt(o)}.`);else if(i&&!o){const a=s.project.items.filter(l=>l.channel===i);!a.length||a.length>1?(o=s.project.items[0].field,Ze((a.length?"Multiple ":"No ")+`matching ${rt(i)} encoding found for selection ${rt(n.param)}. Using "field": ${rt(o)}.`)):o=a[0].field}return`${s.name}[${rt(Mc(o))}]`}function V9t(t,e){for(const[n,r]of dy(t.component.selection??{})){const i=t.getName(`lookup_${n}`);t.component.data.outputNodes[i]=r.materialized=new pl(new LO(e,t,{param:n}),i,Fi.Lookup,t.component.data.outputNodeRefCounts)}}function W5(t,e,n){return gk(e,r=>gt(r)?r:b8t(r)?kBe(t,r,n):Uje(r))}function G9t(t,e){if(t)return We(t)&&!Ym(t)?t.map(n=>Dse(n,e)).join(", "):t}function HV(t,e,n,r){var i,o;t.encode??(t.encode={}),(i=t.encode)[e]??(i[e]={}),(o=t.encode[e]).update??(o.update={}),t.encode[e].update[n]=r}function bT(t,e,n,r={header:!1}){var f,d;const{disable:i,orient:o,scale:s,labelExpr:a,title:l,zindex:u,...c}=t.combine();if(!i){for(const h in c){const p=h,g=OWt[p],m=c[p];if(g&&g!==e&&g!=="both")delete c[p];else if(GR(m)){const{condition:v,...y}=m,x=pt(v),b=aye[p];if(b){const{vgProp:w,part:_}=b,S=[...x.map(O=>{const{test:k,...E}=O;return{test:W5(null,k),...E}}),y];HV(c,_,w,S),delete c[p]}else if(b===null){const w={signal:x.map(_=>{const{test:S,...O}=_;return`${W5(null,S)} ? ${Gve(O)} : `}).join("")+Gve(y)};c[p]=w}}else if(Mt(m)){const v=aye[p];if(v){const{vgProp:y,part:x}=v;HV(c,x,y,m),delete c[p]}}En(["labelAlign","labelBaseline"],p)&&c[p]===null&&delete c[p]}if(e==="grid"){if(!c.grid)return;if(c.encode){const{grid:h}=c.encode;c.encode={...h?{grid:h}:{}},Er(c.encode)&&delete c.encode}return{scale:s,orient:o,...c,domain:!1,labels:!1,aria:!1,maxExtent:0,minExtent:0,ticks:!1,zindex:qi(u,0)}}else{if(!r.header&&t.mainExtracted)return;if(a!==void 0){let p=a;(d=(f=c.encode)==null?void 0:f.labels)!=null&&d.update&&Mt(c.encode.labels.update.text)&&(p=x1(a,"datum.label",c.encode.labels.update.text.signal)),HV(c,"labels","text",{signal:p})}if(c.labelAlign===null&&delete c.labelAlign,c.encode){for(const p of x4e)t.hasAxisPart(p)||delete c.encode[p];Er(c.encode)&&delete c.encode}const h=G9t(l,n);return{scale:s,orient:o,grid:!1,...h?{title:h}:{},...c,...n.aria===!1?{aria:!1}:{},zindex:qi(u,0)}}}}function PBe(t){const{axes:e}=t.component,n=[];for(const r of em)if(e[r]){for(const i of e[r])if(!i.get("disable")&&!i.get("gridScale")){const o=r==="x"?"height":"width",s=t.getSizeSignalRef(o).signal;o!==s&&n.push({name:o,update:s})}}return n}function H9t(t,e){const{x:n=[],y:r=[]}=t;return[...n.map(i=>bT(i,"grid",e)),...r.map(i=>bT(i,"grid",e)),...n.map(i=>bT(i,"main",e)),...r.map(i=>bT(i,"main",e))].filter(i=>i)}function Lye(t,e,n,r){return Object.assign.apply(null,[{},...t.map(i=>{if(i==="axisOrient"){const o=n==="x"?"bottom":"left",s=e[n==="x"?"axisBottom":"axisLeft"]||{},a=e[n==="x"?"axisTop":"axisRight"]||{},l=new Set([...Qe(s),...Qe(a)]),u={};for(const c of l.values())u[c]={signal:`${r.signal} === "${o}" ? ${Tf(s[c])} : ${Tf(a[c])}`};return u}return e[i]})])}function q9t(t,e,n,r){const i=e==="band"?["axisDiscrete","axisBand"]:e==="point"?["axisDiscrete","axisPoint"]:Hje(e)?["axisQuantitative"]:e==="time"||e==="utc"?["axisTemporal"]:[],o=t==="x"?"axisX":"axisY",s=Mt(n)?"axisOrient":`axis${IR(n)}`,a=[...i,...i.map(u=>o+u.substr(4))],l=["axis",s,o];return{vlOnlyAxisConfig:Lye(a,r,t,n),vgAxisConfig:Lye(l,r,t,n),axisConfigStyle:X9t([...l,...a],r)}}function X9t(t,e){var r;const n=[{}];for(const i of t){let o=(r=e[i])==null?void 0:r.style;if(o){o=pt(o);for(const s of o)n.push(e.style[s])}}return Object.assign.apply(null,n)}function LY(t,e,n,r={}){var o;const i=bje(t,n,e);if(i!==void 0)return{configFrom:"style",configValue:i};for(const s of["vlOnlyAxisConfig","vgAxisConfig","axisConfigStyle"])if(((o=r[s])==null?void 0:o[t])!==void 0)return{configFrom:s,configValue:r[s][t]};return{}}const $ye={scale:({model:t,channel:e})=>t.scaleName(e),format:({format:t})=>t,formatType:({formatType:t})=>t,grid:({fieldOrDatumDef:t,axis:e,scaleType:n})=>e.grid??Y9t(n,t),gridScale:({model:t,channel:e})=>Q9t(t,e),labelAlign:({axis:t,labelAngle:e,orient:n,channel:r})=>t.labelAlign||RBe(e,n,r),labelAngle:({labelAngle:t})=>t,labelBaseline:({axis:t,labelAngle:e,orient:n,channel:r})=>t.labelBaseline||MBe(e,n,r),labelFlush:({axis:t,fieldOrDatumDef:e,channel:n})=>t.labelFlush??Z9t(e.type,n),labelOverlap:({axis:t,fieldOrDatumDef:e,scaleType:n})=>t.labelOverlap??J9t(e.type,n,Je(e)&&!!e.timeUnit,Je(e)?e.sort:void 0),orient:({orient:t})=>t,tickCount:({channel:t,model:e,axis:n,fieldOrDatumDef:r,scaleType:i})=>{const o=t==="x"?"width":t==="y"?"height":void 0,s=o?e.getSizeSignalRef(o):void 0;return n.tickCount??t7t({fieldOrDatumDef:r,scaleType:i,size:s,values:n.values})},tickMinStep:n7t,title:({axis:t,model:e,channel:n})=>{if(t.title!==void 0)return t.title;const r=DBe(e,n);if(r!==void 0)return r;const i=e.typedFieldDef(n),o=n==="x"?"x2":"y2",s=e.fieldDef(o);return _je(i?[oye(i)]:[],Je(s)?[oye(s)]:[])},values:({axis:t,fieldOrDatumDef:e})=>r7t(t,e),zindex:({axis:t,fieldOrDatumDef:e,mark:n})=>t.zindex??i7t(n,e)};function Y9t(t,e){return!Wo(t)&&Je(e)&&!Gr(e==null?void 0:e.bin)&&!ns(e==null?void 0:e.bin)}function Q9t(t,e){const n=e==="x"?"y":"x";if(t.getScaleComponent(n))return t.scaleName(n)}function K9t(t,e,n,r,i){const o=e==null?void 0:e.labelAngle;if(o!==void 0)return Mt(o)?o:qA(o);{const{configValue:s}=LY("labelAngle",r,e==null?void 0:e.style,i);return s!==void 0?qA(s):n===vi&&En([wse,bse],t.type)&&!(Je(t)&&t.timeUnit)?270:void 0}}function $Y(t){return`(((${t.signal} % 360) + 360) % 360)`}function MBe(t,e,n,r){if(t!==void 0)if(n==="x"){if(Mt(t)){const i=$Y(t),o=Mt(e)?`(${e.signal} === "top")`:e==="top";return{signal:`(45 < ${i} && ${i} < 135) || (225 < ${i} && ${i} < 315) ? "middle" :(${i} <= 45 || 315 <= ${i}) === ${o} ? "bottom" : "top"`}}if(45{if(vb(r)&&l4e(r.sort)){const{field:o,timeUnit:s}=r,a=r.sort,l=a.map((u,c)=>`${Uje({field:o,timeUnit:s,equal:u})} ? ${c} : `).join("")+a.length;e=new oC(e,{calculate:l,as:sC(r,i,{forAs:!0})})}}),e}producedFields(){return new Set([this.transform.as])}dependentFields(){return this._dependentFields}assemble(){return{type:"formula",expr:this.transform.calculate,as:this.transform.as}}hash(){return`Calculate ${Mn(this.transform)}`}}function sC(t,e,n){return lt(t,{prefix:e,suffix:"sort_index",...n})}function N6(t,e){return En(["top","bottom"],e)?"column":En(["left","right"],e)||t==="row"?"row":"column"}function aC(t,e,n,r){const i=r==="row"?n.headerRow:r==="column"?n.headerColumn:n.headerFacet;return qi((e||{})[t],i[t],n.header[t])}function z6(t,e,n,r){const i={};for(const o of t){const s=aC(o,e||{},n,r);s!==void 0&&(i[o]=s)}return i}const Jse=["row","column"],eae=["header","footer"];function o7t(t,e){const n=t.component.layoutHeaders[e].title,r=t.config?t.config:void 0,i=t.component.layoutHeaders[e].facetFieldDef?t.component.layoutHeaders[e].facetFieldDef:void 0,{titleAnchor:o,titleAngle:s,titleOrient:a}=z6(["titleAnchor","titleAngle","titleOrient"],i.header,r,e),l=N6(e,a),u=qA(s);return{name:`${e}-title`,type:"group",role:`${l}-title`,title:{text:n,...e==="row"?{orient:"left"}:{},style:"guide-title",...LBe(u,l),...IBe(l,u,o),...$Be(r,i,e,qWt,F4e)}}}function IBe(t,e,n="middle"){switch(n){case"start":return{align:"left"};case"end":return{align:"right"}}const r=RBe(e,t==="row"?"left":"top",t==="row"?"y":"x");return r?{align:r}:{}}function LBe(t,e){const n=MBe(t,e==="row"?"left":"top",e==="row"?"y":"x",!0);return n?{baseline:n}:{}}function s7t(t,e){const n=t.component.layoutHeaders[e],r=[];for(const i of eae)if(n[i])for(const o of n[i]){const s=l7t(t,e,i,n,o);s!=null&&r.push(s)}return r}function a7t(t,e){const{sort:n}=t;return lg(n)?{field:lt(n,{expr:"datum"}),order:n.order??"ascending"}:We(n)?{field:sC(t,e,{expr:"datum"}),order:"ascending"}:{field:lt(t,{expr:"datum"}),order:n??"ascending"}}function FY(t,e,n){const{format:r,formatType:i,labelAngle:o,labelAnchor:s,labelOrient:a,labelExpr:l}=z6(["format","formatType","labelAngle","labelAnchor","labelOrient","labelExpr"],t.header,n,e),u=Ase({fieldOrDatumDef:t,format:r,formatType:i,expr:"parent",config:n}).signal,c=N6(e,a);return{text:{signal:l?x1(x1(l,"datum.label",u),"datum.value",lt(t,{expr:"parent"})):u},...e==="row"?{orient:"left"}:{},style:"guide-label",frame:"group",...LBe(o,c),...IBe(c,o,s),...$Be(n,t,e,XWt,N4e)}}function l7t(t,e,n,r,i){if(i){let o=null;const{facetFieldDef:s}=r,a=t.config?t.config:void 0;if(s&&i.labels){const{labelOrient:f}=z6(["labelOrient"],s.header,a,e);(e==="row"&&!En(["top","bottom"],f)||e==="column"&&!En(["left","right"],f))&&(o=FY(s,e,a))}const l=pu(t)&&!BR(t.facet),u=i.axes,c=(u==null?void 0:u.length)>0;if(o||c){const f=e==="row"?"height":"width";return{name:t.getName(`${e}_${n}`),type:"group",role:`${e}-${n}`,...r.facetFieldDef?{from:{data:t.getName(`${e}_domain`)},sort:a7t(s,e)}:{},...c&&l?{from:{data:t.getName(`facet_domain_${e}`)}}:{},...o?{title:o}:{},...i.sizeSignal?{encode:{update:{[f]:i.sizeSignal}}}:{},...c?{axes:u}:{}}}}return null}const u7t={column:{start:0,end:1},row:{start:1,end:0}};function c7t(t,e){return u7t[e][t]}function f7t(t,e){const n={};for(const r of ac){const i=t[r];if(i!=null&&i.facetFieldDef){const{titleAnchor:o,titleOrient:s}=z6(["titleAnchor","titleOrient"],i.facetFieldDef.header,e,r),a=N6(r,s),l=c7t(o,a);l!==void 0&&(n[a]=l)}}return Er(n)?void 0:n}function $Be(t,e,n,r,i){const o={};for(const s of r){if(!i[s])continue;const a=aC(s,e==null?void 0:e.header,t,n);a!==void 0&&(o[i[s]]=a)}return o}function tae(t){return[...tL(t,"width"),...tL(t,"height"),...tL(t,"childWidth"),...tL(t,"childHeight")]}function tL(t,e){const n=e==="width"?"x":"y",r=t.component.layoutSize.get(e);if(!r||r==="merged")return[];const i=t.getSizeSignalRef(e).signal;if(r==="step"){const o=t.getScaleComponent(n);if(o){const s=o.get("type"),a=o.get("range");if(Wo(s)&&pb(a)){const l=t.scaleName(n);return pu(t.parent)&&t.parent.component.resolve.scale[n]==="independent"?[Fye(l,a)]:[Fye(l,a),{name:i,update:FBe(l,o,`domain('${l}').length`)}]}}throw new Error("layout size is step although width/height is not step.")}else if(r=="container"){const o=i.endsWith("width"),s=o?"containerSize()[0]":"containerSize()[1]",a=kY(t.config.view,o?"width":"height"),l=`isFinite(${s}) ? ${s} : ${a}`;return[{name:i,init:l,on:[{update:l,events:"window:resize"}]}]}else return[{name:i,value:r}]}function Fye(t,e){const n=`${t}_step`;return Mt(e.step)?{name:n,update:e.step.signal}:{name:n,value:e.step}}function FBe(t,e,n){const r=e.get("type"),i=e.get("padding"),o=qi(e.get("paddingOuter"),i);let s=e.get("paddingInner");return s=r==="band"?s!==void 0?s:i:1,`bandspace(${n}, ${Tf(s)}, ${Tf(o)}) * ${t}_step`}function NBe(t){return t==="childWidth"?"width":t==="childHeight"?"height":t}function zBe(t,e){return Qe(t).reduce((n,r)=>({...n,...IO({model:e,channelDef:t[r],vgChannel:r,mainRefFn:i=>Jr(i.value),invalidValueRef:void 0})}),{})}function jBe(t,e){if(pu(e))return t==="theta"?"independent":"shared";if(NO(e))return"shared";if(lae(e))return Xi(t)||t==="theta"||t==="radius"?"independent":"shared";throw new Error("invalid model type for resolve")}function nae(t,e){const n=t.scale[e],r=Xi(e)?"axis":"legend";return n==="independent"?(t[r][e]==="shared"&&Ze(UUt(e)),"independent"):t[r][e]||"shared"}const d7t={...KWt,disable:1,labelExpr:1,selections:1,opacity:1,shape:1,stroke:1,fill:1,size:1,strokeWidth:1,strokeDash:1,encode:1},BBe=Qe(d7t);class h7t extends nm{}const Nye={symbols:p7t,gradient:g7t,labels:m7t,entries:v7t};function p7t(t,{fieldOrDatumDef:e,model:n,channel:r,legendCmpt:i,legendType:o}){if(o!=="symbol")return;const{markDef:s,encoding:a,config:l,mark:u}=n,c=s.filled&&u!=="trail";let f={...J6t({},n,H8t),...hBe(n,{filled:c})};const d=i.get("symbolOpacity")??l.legend.symbolOpacity,h=i.get("symbolFillColor")??l.legend.symbolFillColor,p=i.get("symbolStrokeColor")??l.legend.symbolStrokeColor,g=d===void 0?UBe(a.opacity)??s.opacity:void 0;if(f.fill){if(r==="fill"||c&&r===Sl)delete f.fill;else if(Ke(f.fill,"field"))h?delete f.fill:(f.fill=Jr(l.legend.symbolBaseFillColor??"black"),f.fillOpacity=Jr(g??1));else if(We(f.fill)){const m=NY(a.fill??a.color)??s.fill??(c&&s.color);m&&(f.fill=Jr(m))}}if(f.stroke){if(r==="stroke"||!c&&r===Sl)delete f.stroke;else if(Ke(f.stroke,"field")||p)delete f.stroke;else if(We(f.stroke)){const m=qi(NY(a.stroke||a.color),s.stroke,c?s.color:void 0);m&&(f.stroke={value:m})}}if(r!==Jg){const m=Je(e)&&VBe(n,i,e);m?f.opacity=[{test:m,...Jr(g??1)},Jr(l.legend.unselectedOpacity)]:g&&(f.opacity=Jr(g))}return f={...f,...t},Er(f)?void 0:f}function g7t(t,{model:e,legendType:n,legendCmpt:r}){if(n!=="gradient")return;const{config:i,markDef:o,encoding:s}=e;let a={};const u=(r.get("gradientOpacity")??i.legend.gradientOpacity)===void 0?UBe(s.opacity)||o.opacity:void 0;return u&&(a.opacity=Jr(u)),a={...a,...t},Er(a)?void 0:a}function m7t(t,{fieldOrDatumDef:e,model:n,channel:r,legendCmpt:i}){const o=n.legend(r)||{},s=n.config,a=Je(e)?VBe(n,i,e):void 0,l=a?[{test:a,value:1},{value:s.legend.unselectedOpacity}]:void 0,{format:u,formatType:c}=o;let f;C1(c)?f=kf({fieldOrDatumDef:e,field:"datum.value",format:u,formatType:c,config:s}):u===void 0&&c===void 0&&s.customFormatTypes&&(e.type==="quantitative"&&s.numberFormatType?f=kf({fieldOrDatumDef:e,field:"datum.value",format:s.numberFormat,formatType:s.numberFormatType,config:s}):e.type==="temporal"&&s.timeFormatType&&Je(e)&&e.timeUnit===void 0&&(f=kf({fieldOrDatumDef:e,field:"datum.value",format:s.timeFormat,formatType:s.timeFormatType,config:s})));const d={...l?{opacity:l}:{},...f?{text:f}:{},...t};return Er(d)?void 0:d}function v7t(t,{legendCmpt:e}){const n=e.get("selections");return n!=null&&n.length?{...t,fill:{value:"transparent"}}:t}function UBe(t){return WBe(t,(e,n)=>Math.max(e,n.value))}function NY(t){return WBe(t,(e,n)=>qi(e,n.value))}function WBe(t,e){if(hWt(t))return pt(t.condition).reduce(e,t.value);if(qf(t))return t.value}function VBe(t,e,n){const r=e.get("selections");if(!(r!=null&&r.length))return;const i=rt(n.field);return r.map(o=>`(!length(data(${rt(hi(o)+E1)})) || (${o}[${i}] && indexof(${o}[${i}], datum.value) >= 0))`).join(" || ")}const zye={direction:({direction:t})=>t,format:({fieldOrDatumDef:t,legend:e,config:n})=>{const{format:r,formatType:i}=e;return o4e(t,t.type,r,i,n,!1)},formatType:({legend:t,fieldOrDatumDef:e,scaleType:n})=>{const{formatType:r}=t;return s4e(r,e,n)},gradientLength:t=>{const{legend:e,legendConfig:n}=t;return e.gradientLength??n.gradientLength??C7t(t)},labelOverlap:({legend:t,legendConfig:e,scaleType:n})=>t.labelOverlap??e.labelOverlap??O7t(n),symbolType:({legend:t,markDef:e,channel:n,encoding:r})=>t.symbolType??x7t(e.type,n,r.shape,e.shape),title:({fieldOrDatumDef:t,config:e})=>N_(t,e,{allowDisabling:!0}),type:({legendType:t,scaleType:e,channel:n})=>{if(F_(n)&&Zd(e)){if(t==="gradient")return}else if(t==="symbol")return;return t},values:({fieldOrDatumDef:t,legend:e})=>y7t(e,t)};function y7t(t,e){const n=t.values;if(We(n))return y4e(e,n);if(Mt(n))return n}function x7t(t,e,n,r){if(e!=="shape"){const i=NY(n)??r;if(i)return i}switch(t){case"bar":case"rect":case"image":case"square":return"square";case"line":case"trail":case"rule":return"stroke";case"arc":case"point":case"circle":case"tick":case"geoshape":case"area":case"text":return"circle"}}function b7t(t){const{legend:e}=t;return qi(e.type,w7t(t))}function w7t({channel:t,timeUnit:e,scaleType:n}){if(F_(t)){if(En(["quarter","month","day"],e))return"symbol";if(Zd(n))return"gradient"}return"symbol"}function _7t({legendConfig:t,legendType:e,orient:n,legend:r}){return r.direction??t[e?"gradientDirection":"symbolDirection"]??S7t(n,e)}function S7t(t,e){switch(t){case"top":case"bottom":return"horizontal";case"left":case"right":case"none":case void 0:return;default:return e==="gradient"?"horizontal":void 0}}function C7t({legendConfig:t,model:e,direction:n,orient:r,scaleType:i}){const{gradientHorizontalMaxLength:o,gradientHorizontalMinLength:s,gradientVerticalMaxLength:a,gradientVerticalMinLength:l}=t;if(Zd(i))return n==="horizontal"?r==="top"||r==="bottom"?jye(e,"width",s,o):s:jye(e,"height",l,a)}function jye(t,e,n,r){return{signal:`clamp(${t.getSizeSignalRef(e).signal}, ${n}, ${r})`}}function O7t(t){if(En(["quantile","threshold","log","symlog"],t))return"greedy"}function GBe(t){const e=wi(t)?E7t(t):P7t(t);return t.component.legends=e,e}function E7t(t){const{encoding:e}=t,n={};for(const r of[Sl,...j4e]){const i=_o(e[r]);!i||!t.getScaleComponent(r)||r===Cl&&Je(i)&&i.type===DO||(n[r]=A7t(t,r))}return n}function T7t(t,e){const n=t.scaleName(e);if(t.mark==="trail"){if(e==="color")return{stroke:n};if(e==="size")return{strokeWidth:n}}return e==="color"?t.markDef.filled?{fill:n}:{stroke:n}:{[e]:n}}function k7t(t,e,n,r){switch(e){case"disable":return n!==void 0;case"values":return!!(n!=null&&n.values);case"title":if(e==="title"&&t===(r==null?void 0:r.title))return!0}return t===(n||{})[e]}function A7t(t,e){var b;let n=t.legend(e);const{markDef:r,encoding:i,config:o}=t,s=o.legend,a=new h7t({},T7t(t,e));N9t(t,e,a);const l=n!==void 0?!n:s.disable;if(a.set("disable",l,n!==void 0),l)return a;n=n||{};const u=t.getScaleComponent(e).get("type"),c=_o(i[e]),f=Je(c)?(b=Uo(c.timeUnit))==null?void 0:b.unit:void 0,d=n.orient||o.legend.orient||"right",h=b7t({legend:n,channel:e,timeUnit:f,scaleType:u}),p=_7t({legend:n,legendType:h,orient:d,legendConfig:s}),g={legend:n,channel:e,model:t,markDef:r,encoding:i,fieldOrDatumDef:c,legendConfig:s,config:o,scaleType:u,orient:d,legendType:h,direction:p};for(const w of BBe){if(h==="gradient"&&w.startsWith("symbol")||h==="symbol"&&w.startsWith("gradient"))continue;const _=w in zye?zye[w](g):n[w];if(_!==void 0){const S=k7t(_,w,n,t.fieldDef(e));(S||o.legend[w]===void 0)&&a.set(w,_,S)}}const m=(n==null?void 0:n.encoding)??{},v=a.get("selections"),y={},x={fieldOrDatumDef:c,model:t,channel:e,legendCmpt:a,legendType:h};for(const w of["labels","legend","title","symbols","gradient","entries"]){const _=zBe(m[w]??{},t),S=w in Nye?Nye[w](_,x):_;S!==void 0&&!Er(S)&&(y[w]={...v!=null&&v.length&&Je(c)?{name:`${hi(c.field)}_legend_${w}`}:{},...v!=null&&v.length?{interactive:!!v}:{},update:S})}return Er(y)||a.set("encode",y,!!(n!=null&&n.encoding)),a}function P7t(t){const{legends:e,resolve:n}=t.component;for(const r of t.children){GBe(r);for(const i of Qe(r.component.legends))n.legend[i]=nae(t.component.resolve,i),n.legend[i]==="shared"&&(e[i]=HBe(e[i],r.component.legends[i]),e[i]||(n.legend[i]="independent",delete e[i]))}for(const r of Qe(e))for(const i of t.children)i.component.legends[r]&&n.legend[r]==="shared"&&delete i.component.legends[r];return e}function HBe(t,e){var o,s,a,l;if(!t)return e.clone();const n=t.getWithExplicit("orient"),r=e.getWithExplicit("orient");if(n.explicit&&r.explicit&&n.value!==r.value)return;let i=!1;for(const u of BBe){const c=gy(t.getWithExplicit(u),e.getWithExplicit(u),u,"legend",(f,d)=>{switch(u){case"symbolType":return M7t(f,d);case"title":return Cje(f,d);case"type":return i=!0,Wl("symbol")}return D6(f,d,u,"legend")});t.setWithExplicit(u,c)}return i&&((s=(o=t.implicit)==null?void 0:o.encode)!=null&&s.gradient&&M5(t.implicit,["encode","gradient"]),(l=(a=t.explicit)==null?void 0:a.encode)!=null&&l.gradient&&M5(t.explicit,["encode","gradient"])),t}function M7t(t,e){return e.value==="circle"?e:t}function R7t(t,e,n,r){var i,o;t.encode??(t.encode={}),(i=t.encode)[e]??(i[e]={}),(o=t.encode[e]).update??(o.update={}),t.encode[e].update[n]=r}function qBe(t){const e=t.component.legends,n={};for(const i of Qe(e)){const o=t.getScaleComponent(i),s=Tr(o.get("domains"));if(n[s])for(const a of n[s])HBe(a,e[i])||n[s].push(e[i]);else n[s]=[e[i].clone()]}return bs(n).flat().map(i=>D7t(i,t.config)).filter(i=>i!==void 0)}function D7t(t,e){var s,a,l;const{disable:n,labelExpr:r,selections:i,...o}=t.combine();if(!n){if(e.aria===!1&&o.aria==null&&(o.aria=!1),(s=o.encode)!=null&&s.symbols){const u=o.encode.symbols.update;u.fill&&u.fill.value!=="transparent"&&!u.stroke&&!o.stroke&&(u.stroke={value:"transparent"});for(const c of j4e)o[c]&&delete u[c]}if(o.title||delete o.title,r!==void 0){let u=r;(l=(a=o.encode)==null?void 0:a.labels)!=null&&l.update&&Mt(o.encode.labels.update.text)&&(u=x1(r,"datum.label",o.encode.labels.update.text.signal)),R7t(o,"labels","text",{signal:u})}return o}}function I7t(t){return NO(t)||lae(t)?L7t(t):XBe(t)}function L7t(t){return t.children.reduce((e,n)=>e.concat(n.assembleProjections()),XBe(t))}function XBe(t){const e=t.component.projection;if(!e||e.merged)return[];const n=e.combine(),{name:r}=n;if(e.data){const i={signal:`[${e.size.map(s=>s.signal).join(", ")}]`},o=e.data.reduce((s,a)=>{const l=Mt(a)?a.signal:`data('${t.lookupDataSource(a)}')`;return En(s,l)||s.push(l),s},[]);if(o.length<=0)throw new Error("Projection's fit didn't find any data sources");return[{name:r,size:i,fit:{signal:o.length>1?`[${o.join(", ")}]`:o[0]},...n}]}else return[{name:r,translate:{signal:"[width / 2, height / 2]"},...n}]}const $7t=["type","clipAngle","clipExtent","center","rotate","precision","reflectX","reflectY","coefficient","distance","fraction","lobes","parallel","radius","ratio","spacing","tilt"];class YBe extends nm{constructor(e,n,r,i){super({...n},{name:e}),this.specifiedProjection=n,this.size=r,this.data=i,this.merged=!1}get isFit(){return!!this.data}}function QBe(t){t.component.projection=wi(t)?F7t(t):j7t(t)}function F7t(t){if(t.hasProjection){const e=is(t.specifiedProjection),n=!(e&&(e.scale!=null||e.translate!=null)),r=n?[t.getSizeSignalRef("width"),t.getSizeSignalRef("height")]:void 0,i=n?N7t(t):void 0,o=new YBe(t.projectionName(!0),{...is(t.config.projection),...e},r,i);return o.get("type")||o.set("type","equalEarth",!1),o}}function N7t(t){const e=[],{encoding:n}=t;for(const r of[[ad,sd],[Rc,ld]])(_o(n[r[0]])||_o(n[r[1]]))&&e.push({signal:t.getName(`geojson_${e.length}`)});return t.channelHasField(Cl)&&t.typedFieldDef(Cl).type===DO&&e.push({signal:t.getName(`geojson_${e.length}`)}),e.length===0&&e.push(t.requestDataName(Fi.Main)),e}function z7t(t,e){const n=Yoe($7t,i=>!!(!vt(t.explicit,i)&&!vt(e.explicit,i)||vt(t.explicit,i)&&vt(e.explicit,i)&&su(t.get(i),e.get(i))));if(su(t.size,e.size)){if(n)return t;if(su(t.explicit,{}))return e;if(su(e.explicit,{}))return t}return null}function j7t(t){if(t.children.length===0)return;let e;for(const r of t.children)QBe(r);const n=Yoe(t.children,r=>{const i=r.component.projection;if(i)if(e){const o=z7t(e,i);return o&&(e=o),!!o}else return e=i,!0;else return!0});if(e&&n){const r=t.projectionName(!0),i=new YBe(r,e.specifiedProjection,e.size,Kt(e.data));for(const o of t.children){const s=o.component.projection;s&&(s.isFit&&i.data.push(...o.component.projection.data),o.renameProjection(s.get("name"),r),s.merged=!0)}return i}}function B7t(t,e,n,r){if(VR(e,n)){const i=wi(t)?t.axis(n)??t.legend(n)??{}:{},o=lt(e,{expr:"datum"}),s=lt(e,{expr:"datum",binSuffix:"end"});return{formulaAs:lt(e,{binSuffix:"range",forAs:!0}),formula:jR(o,s,i.format,i.formatType,r)}}return{}}function KBe(t,e){return`${mje(t)}_${e}`}function U7t(t,e){return{signal:t.getName(`${e}_bins`),extentSignal:t.getName(`${e}_extent`)}}function rae(t,e,n){const r=T6(n,void 0)??{},i=KBe(r,e);return t.getName(`${i}_bins`)}function W7t(t){return"as"in t}function Bye(t,e,n){let r,i;W7t(t)?r=gt(t.as)?[t.as,`${t.as}_end`]:[t.as[0],t.as[1]]:r=[lt(t,{forAs:!0}),lt(t,{binSuffix:"end",forAs:!0})];const o={...T6(e,void 0)},s=KBe(o,t.field),{signal:a,extentSignal:l}=U7t(n,s);if(m6(o.extent)){const c=o.extent;i=ABe(n,c.param,c),delete o.extent}const u={bin:o,field:t.field,as:[r],...a?{signal:a}:{},...l?{extentSignal:l}:{},...i?{span:i}:{}};return{key:s,binComponent:u}}class yh extends _r{clone(){return new yh(null,Kt(this.bins))}constructor(e,n){super(e),this.bins=n}static makeFromEncoding(e,n){const r=n.reduceFieldDef((i,o,s)=>{if(Pa(o)&&Gr(o.bin)){const{key:a,binComponent:l}=Bye(o,o.bin,n);i[a]={...l,...i[a],...B7t(n,o,s,n.config)}}return i},{});return Er(r)?null:new yh(e,r)}static makeFromTransform(e,n,r){const{key:i,binComponent:o}=Bye(n,n.bin,r);return new yh(e,{[i]:o})}merge(e,n){for(const r of Qe(e.bins))r in this.bins?(n(e.bins[r].signal,this.bins[r].signal),this.bins[r].as=Kd([...this.bins[r].as,...e.bins[r].as],Mn)):this.bins[r]=e.bins[r];for(const r of e.children)e.removeChild(r),r.parent=this;e.remove()}producedFields(){return new Set(bs(this.bins).map(e=>e.as).flat(2))}dependentFields(){return new Set(bs(this.bins).map(e=>e.field))}hash(){return`Bin ${Mn(this.bins)}`}assemble(){return bs(this.bins).flatMap(e=>{const n=[],[r,...i]=e.as,{extent:o,...s}=e.bin,a={type:"bin",field:Mc(e.field),as:r,signal:e.signal,...m6(o)?{extent:null}:{extent:o},...e.span?{span:{signal:`span(${e.span})`}}:{},...s};!o&&e.extentSignal&&(n.push({type:"extent",field:Mc(e.field),signal:e.extentSignal}),a.extent={signal:e.extentSignal}),n.push(a);for(const l of i)for(let u=0;u<2;u++)n.push({type:"formula",expr:lt({field:r[u]},{expr:"datum"}),as:l[u]});return e.formula&&n.push({type:"formula",expr:e.formula,as:e.formulaAs}),n})}}function V7t(t,e,n,r){var o;const i=wi(r)?r.encoding[Xh(e)]:void 0;if(Pa(n)&&wi(r)&&c4e(n,i,r.markDef,r.config)){t.add(lt(n,{})),t.add(lt(n,{suffix:"end"}));const{mark:s,markDef:a,config:l}=r,u=py({fieldDef:n,markDef:a,config:l});XA(s)&&u!==.5&&Xi(e)&&(t.add(lt(n,{suffix:I6})),t.add(lt(n,{suffix:L6}))),n.bin&&VR(n,e)&&t.add(lt(n,{binSuffix:"range"}))}else if(aje(e)){const s=sje(e);t.add(r.getName(s))}else t.add(lt(n));return vb(n)&&D8t((o=n.scale)==null?void 0:o.range)&&t.add(n.scale.range.field),t}function G7t(t,e){for(const n of Qe(e)){const r=e[n];for(const i of Qe(r))n in t?t[n][i]=new Set([...t[n][i]??[],...r[i]]):t[n]={[i]:r[i]}}}class $f extends _r{clone(){return new $f(null,new Set(this.dimensions),Kt(this.measures))}constructor(e,n,r){super(e),this.dimensions=n,this.measures=r}get groupBy(){return this.dimensions}static makeFromEncoding(e,n){let r=!1;n.forEachFieldDef(s=>{s.aggregate&&(r=!0)});const i={},o=new Set;return!r||(n.forEachFieldDef((s,a)=>{const{aggregate:l,field:u}=s;if(l)if(l==="count")i["*"]??(i["*"]={}),i["*"].count=new Set([lt(s,{forAs:!0})]);else{if($g(l)||Qy(l)){const c=$g(l)?"argmin":"argmax",f=l[c];i[f]??(i[f]={}),i[f][c]=new Set([lt({op:c,field:f},{forAs:!0})])}else i[u]??(i[u]={}),i[u][l]=new Set([lt(s,{forAs:!0})]);Yh(a)&&n.scaleDomain(a)==="unaggregated"&&(i[u]??(i[u]={}),i[u].min=new Set([lt({field:u,aggregate:"min"},{forAs:!0})]),i[u].max=new Set([lt({field:u,aggregate:"max"},{forAs:!0})]))}else V7t(o,a,s,n)}),o.size+Qe(i).length===0)?null:new $f(e,o,i)}static makeFromTransform(e,n){var r;const i=new Set,o={};for(const s of n.aggregate){const{op:a,field:l,as:u}=s;a&&(a==="count"?(o["*"]??(o["*"]={}),o["*"].count=new Set([u||lt(s,{forAs:!0})])):(o[l]??(o[l]={}),(r=o[l])[a]??(r[a]=new Set),o[l][a].add(u||lt(s,{forAs:!0}))))}for(const s of n.groupby??[])i.add(s);return i.size+Qe(o).length===0?null:new $f(e,i,o)}merge(e){return Zze(this.dimensions,e.dimensions)?(G7t(this.measures,e.measures),!0):(i8t("different dimensions, cannot merge"),!1)}addDimensions(e){e.forEach(this.dimensions.add,this.dimensions)}dependentFields(){return new Set([...this.dimensions,...Qe(this.measures)])}producedFields(){const e=new Set;for(const n of Qe(this.measures))for(const r of Qe(this.measures[n])){const i=this.measures[n][r];i.size===0?e.add(`${r}_${n}`):i.forEach(e.add,e)}return e}hash(){return`Aggregate ${Mn({dimensions:this.dimensions,measures:this.measures})}`}assemble(){const e=[],n=[],r=[];for(const o of Qe(this.measures))for(const s of Qe(this.measures[o]))for(const a of this.measures[o][s])r.push(a),e.push(s),n.push(o==="*"?null:Mc(o));return{type:"aggregate",groupby:[...this.dimensions].map(Mc),ops:e,fields:n,as:r}}}class $O extends _r{constructor(e,n,r,i){super(e),this.model=n,this.name=r,this.data=i;for(const o of ac){const s=n.facet[o];if(s){const{bin:a,sort:l}=s;this[o]={name:n.getName(`${o}_domain`),fields:[lt(s),...Gr(a)?[lt(s,{binSuffix:"end"})]:[]],...lg(l)?{sortField:l}:We(l)?{sortIndexField:sC(s,o)}:{}}}}this.childModel=n.child}hash(){let e="Facet";for(const n of ac)this[n]&&(e+=` ${n.charAt(0)}:${Mn(this[n])}`);return e}get fields(){var n;const e=[];for(const r of ac)(n=this[r])!=null&&n.fields&&e.push(...this[r].fields);return e}dependentFields(){const e=new Set(this.fields);for(const n of ac)this[n]&&(this[n].sortField&&e.add(this[n].sortField.field),this[n].sortIndexField&&e.add(this[n].sortIndexField));return e}producedFields(){return new Set}getSource(){return this.name}getChildIndependentFieldsWithStep(){const e={};for(const n of em){const r=this.childModel.component.scales[n];if(r&&!r.merged){const i=r.get("type"),o=r.get("range");if(Wo(i)&&pb(o)){const s=j6(this.childModel,n),a=aae(s);a?e[n]=a:Ze(use(n))}}}return e}assembleRowColumnHeaderData(e,n,r){const i={row:"y",column:"x",facet:void 0}[e],o=[],s=[],a=[];i&&r&&r[i]&&(n?(o.push(`distinct_${r[i]}`),s.push("max")):(o.push(r[i]),s.push("distinct")),a.push(`distinct_${r[i]}`));const{sortField:l,sortIndexField:u}=this[e];if(l){const{op:c=C6,field:f}=l;o.push(f),s.push(c),a.push(lt(l,{forAs:!0}))}else u&&(o.push(u),s.push("max"),a.push(u));return{name:this[e].name,source:n??this.data,transform:[{type:"aggregate",groupby:this[e].fields,...o.length?{fields:o,ops:s,as:a}:{}}]}}assembleFacetHeaderData(e){var l;const{columns:n}=this.model.layout,{layoutHeaders:r}=this.model.component,i=[],o={};for(const u of Jse){for(const c of eae){const f=(r[u]&&r[u][c])??[];for(const d of f)if(((l=d.axes)==null?void 0:l.length)>0){o[u]=!0;break}}if(o[u]){const c=`length(data("${this.facet.name}"))`,f=u==="row"?n?{signal:`ceil(${c} / ${n})`}:1:n?{signal:`min(${c}, ${n})`}:{signal:c};i.push({name:`${this.facet.name}_${u}`,transform:[{type:"sequence",start:0,stop:f}]})}}const{row:s,column:a}=o;return(s||a)&&i.unshift(this.assembleRowColumnHeaderData("facet",null,e)),i}assemble(){const e=[];let n=null;const r=this.getChildIndependentFieldsWithStep(),{column:i,row:o,facet:s}=this;if(i&&o&&(r.x||r.y)){n=`cross_${this.column.name}_${this.row.name}`;const a=[].concat(r.x??[],r.y??[]),l=a.map(()=>"distinct");e.push({name:n,source:this.data,transform:[{type:"aggregate",groupby:this.fields,fields:a,ops:l}]})}for(const a of[ag,sg])this[a]&&e.push(this.assembleRowColumnHeaderData(a,n,r));if(s){const a=this.assembleFacetHeaderData(r);a&&e.push(...a)}return e}}function Uye(t){return t.startsWith("'")&&t.endsWith("'")||t.startsWith('"')&&t.endsWith('"')?t.slice(1,-1):t}function H7t(t,e){const n=Zoe(t);if(e==="number")return`toNumber(${n})`;if(e==="boolean")return`toBoolean(${n})`;if(e==="string")return`toString(${n})`;if(e==="date")return`toDate(${n})`;if(e==="flatten")return n;if(e.startsWith("date:")){const r=Uye(e.slice(5,e.length));return`timeParse(${n},'${r}')`}else if(e.startsWith("utc:")){const r=Uye(e.slice(4,e.length));return`utcParse(${n},'${r}')`}else return Ze(hUt(e)),null}function q7t(t){const e={};return I3(t.filter,n=>{if(Bje(n)){let r=null;hse(n)?r=eu(n.equal):gse(n)?r=eu(n.lte):pse(n)?r=eu(n.lt):mse(n)?r=eu(n.gt):vse(n)?r=eu(n.gte):yse(n)?r=n.range[0]:xse(n)&&(r=(n.oneOf??n.in)[0]),r&&(gb(r)?e[n.field]="date":Jn(r)?e[n.field]="number":gt(r)&&(e[n.field]="string")),n.timeUnit&&(e[n.field]="date")}}),e}function X7t(t){const e={};function n(r){nC(r)?e[r.field]="date":r.type==="quantitative"&&V6t(r.aggregate)?e[r.field]="number":YS(r.field)>1?r.field in e||(e[r.field]="flatten"):vb(r)&&lg(r.sort)&&YS(r.sort.field)>1&&(r.sort.field in e||(e[r.sort.field]="flatten"))}if((wi(t)||pu(t))&&t.forEachFieldDef((r,i)=>{if(Pa(r))n(r);else{const o=db(i),s=t.fieldDef(o);n({...r,type:s.type})}}),wi(t)){const{mark:r,markDef:i,encoding:o}=t;if(Ky(r)&&!t.encoding.order){const s=i.orient==="horizontal"?"y":"x",a=o[s];Je(a)&&a.type==="quantitative"&&!(a.field in e)&&(e[a.field]="number")}}return e}function Y7t(t){const e={};if(wi(t)&&t.component.selection)for(const n of Qe(t.component.selection)){const r=t.component.selection[n];for(const i of r.project.items)!i.channel&&YS(i.field)>1&&(e[i.field]="flatten")}return e}class Xs extends _r{clone(){return new Xs(null,Kt(this._parse))}constructor(e,n){super(e),this._parse=n}hash(){return`Parse ${Mn(this._parse)}`}static makeExplicit(e,n,r){var s;let i={};const o=n.data;return!Uv(o)&&((s=o==null?void 0:o.format)!=null&&s.parse)&&(i=o.format.parse),this.makeWithAncestors(e,i,{},r)}static makeWithAncestors(e,n,r,i){for(const a of Qe(r)){const l=i.getWithExplicit(a);l.value!==void 0&&(l.explicit||l.value===r[a]||l.value==="derived"||r[a]==="flatten"?delete r[a]:Ze(Kve(a,r[a],l.value)))}for(const a of Qe(n)){const l=i.get(a);l!==void 0&&(l===n[a]?delete n[a]:Ze(Kve(a,n[a],l)))}const o=new nm(n,r);i.copyAll(o);const s={};for(const a of Qe(o.combine())){const l=o.get(a);l!==null&&(s[a]=l)}return Qe(s).length===0||i.parseNothing?null:new Xs(e,s)}get parse(){return this._parse}merge(e){this._parse={...this._parse,...e.parse},e.remove()}assembleFormatParse(){const e={};for(const n of Qe(this._parse)){const r=this._parse[n];YS(n)===1&&(e[n]=r)}return e}producedFields(){return new Set(Qe(this._parse))}dependentFields(){return new Set(Qe(this._parse))}assembleTransforms(e=!1){return Qe(this._parse).filter(n=>e?YS(n)>1:!0).map(n=>{const r=H7t(n,this._parse[n]);return r?{type:"formula",expr:r,as:MO(n)}:null}).filter(n=>n!==null)}}class vy extends _r{clone(){return new vy(null)}constructor(e){super(e)}dependentFields(){return new Set}producedFields(){return new Set([Yf])}hash(){return"Identifier"}assemble(){return{type:"identifier",as:Yf}}}class qR extends _r{clone(){return new qR(null,this.params)}constructor(e,n){super(e),this.params=n}dependentFields(){return new Set}producedFields(){}hash(){return`Graticule ${Mn(this.params)}`}assemble(){return{type:"graticule",...this.params===!0?{}:this.params}}}class XR extends _r{clone(){return new XR(null,this.params)}constructor(e,n){super(e),this.params=n}dependentFields(){return new Set}producedFields(){return new Set([this.params.as??"data"])}hash(){return`Hash ${Mn(this.params)}`}assemble(){return{type:"sequence",...this.params}}}class T1 extends _r{constructor(e){super(null),e??(e={name:"source"});let n;if(Uv(e)||(n=e.format?{...hl(e.format,["parse"])}:{}),YA(e))this._data={values:e.values};else if(rC(e)){if(this._data={url:e.url},!n.type){let r=/(?:\.([^.]+))?$/.exec(e.url)[1];En(["json","csv","tsv","dsv","topojson"],r)||(r="json"),n.type=r}}else iBe(e)?this._data={values:[{type:"Sphere"}]}:(nBe(e)||Uv(e))&&(this._data={});this._generator=Uv(e),e.name&&(this._name=e.name),n&&!Er(n)&&(this._data.format=n)}dependentFields(){return new Set}producedFields(){}get data(){return this._data}hasName(){return!!this._name}get isGenerator(){return this._generator}get dataName(){return this._name}set dataName(e){this._name=e}set parent(e){throw new Error("Source nodes have to be roots.")}remove(){throw new Error("Source nodes are roots and cannot be removed.")}hash(){throw new Error("Cannot hash sources")}assemble(){return{name:this._name,...this._data,transform:[]}}}var Wye=function(t,e,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(t,n):i?i.value=n:e.set(t,n),n},Q7t=function(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)},wT;function iae(t){return t instanceof T1||t instanceof qR||t instanceof XR}class oae{constructor(){wT.set(this,void 0),Wye(this,wT,!1,"f")}setModified(){Wye(this,wT,!0,"f")}get modifiedFlag(){return Q7t(this,wT,"f")}}wT=new WeakMap;class yb extends oae{getNodeDepths(e,n,r){r.set(e,n);for(const i of e.children)this.getNodeDepths(i,n+1,r);return r}optimize(e){const r=[...this.getNodeDepths(e,0,new Map).entries()].sort((i,o)=>o[1]-i[1]);for(const i of r)this.run(i[0]);return this.modifiedFlag}}class sae extends oae{optimize(e){this.run(e);for(const n of e.children)this.optimize(n);return this.modifiedFlag}}class K7t extends sae{mergeNodes(e,n){const r=n.shift();for(const i of n)e.removeChild(i),i.parent=r,i.remove()}run(e){const n=e.children.map(i=>i.hash()),r={};for(let i=0;i1&&(this.setModified(),this.mergeNodes(e,r[i]))}}class Z7t extends sae{constructor(e){super(),this.requiresSelectionId=e&&Zse(e)}run(e){e instanceof vy&&(this.requiresSelectionId&&(iae(e.parent)||e.parent instanceof $f||e.parent instanceof Xs)||(this.setModified(),e.remove()))}}class J7t extends oae{optimize(e){return this.run(e,new Set),this.modifiedFlag}run(e,n){let r=new Set;e instanceof vh&&(r=e.producedFields(),Qoe(r,n)&&(this.setModified(),e.removeFormulas(n),e.producedFields.length===0&&e.remove()));for(const i of e.children)this.run(i,new Set([...n,...r]))}}class eGt extends sae{constructor(){super()}run(e){e instanceof pl&&!e.isRequired()&&(this.setModified(),e.remove())}}class tGt extends yb{run(e){if(!iae(e)&&!(e.numChildren()>1)){for(const n of e.children)if(n instanceof Xs)if(e instanceof Xs)this.setModified(),e.merge(n);else{if(Koe(e.producedFields(),n.dependentFields()))continue;this.setModified(),n.swapWithParent()}}}}class nGt extends yb{run(e){const n=[...e.children],r=e.children.filter(i=>i instanceof Xs);if(e.numChildren()>1&&r.length>=1){const i={},o=new Set;for(const s of r){const a=s.parse;for(const l of Qe(a))l in i?i[l]!==a[l]&&o.add(l):i[l]=a[l]}for(const s of o)delete i[s];if(!Er(i)){this.setModified();const s=new Xs(e,i);for(const a of n){if(a instanceof Xs)for(const l of Qe(i))delete a.parse[l];e.removeChild(a),a.parent=s,a instanceof Xs&&Qe(a.parse).length===0&&a.remove()}}}}}class rGt extends yb{run(e){e instanceof pl||e.numChildren()>0||e instanceof $O||e instanceof T1||(this.setModified(),e.remove())}}class iGt extends yb{run(e){const n=e.children.filter(i=>i instanceof vh),r=n.pop();for(const i of n)this.setModified(),r.merge(i)}}class oGt extends yb{run(e){const n=e.children.filter(i=>i instanceof $f),r={};for(const i of n){const o=Mn(i.groupBy);o in r||(r[o]=[]),r[o].push(i)}for(const i of Qe(r)){const o=r[i];if(o.length>1){const s=o.pop();for(const a of o)s.merge(a)&&(e.removeChild(a),a.parent=s,a.remove(),this.setModified())}}}}class sGt extends yb{constructor(e){super(),this.model=e}run(e){const n=!(iae(e)||e instanceof LO||e instanceof Xs||e instanceof vy),r=[],i=[];for(const o of e.children)o instanceof yh&&(n&&!Koe(e.producedFields(),o.dependentFields())?r.push(o):i.push(o));if(r.length>0){const o=r.pop();for(const s of r)o.merge(s,this.model.renameSignal.bind(this.model));this.setModified(),e instanceof yh?e.merge(o,this.model.renameSignal.bind(this.model)):o.swapWithParent()}if(i.length>1){const o=i.pop();for(const s of i)o.merge(s,this.model.renameSignal.bind(this.model));this.setModified()}}}class aGt extends yb{run(e){const n=[...e.children];if(!XS(n,s=>s instanceof pl)||e.numChildren()<=1)return;const i=[];let o;for(const s of n)if(s instanceof pl){let a=s;for(;a.numChildren()===1;){const[l]=a.children;if(l instanceof pl)a=l;else break}i.push(...a.children),o?(e.removeChild(s),s.parent=o.parent,o.parent.removeChild(o),o.parent=a,this.setModified()):o=a}else i.push(s);if(i.length){this.setModified();for(const s of i)s.parent.removeChild(s),s.parent=o}}}class xb extends _r{clone(){return new xb(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n}addDimensions(e){this.transform.groupby=Kd(this.transform.groupby.concat(e),n=>n)}dependentFields(){const e=new Set;return this.transform.groupby&&this.transform.groupby.forEach(e.add,e),this.transform.joinaggregate.map(n=>n.field).filter(n=>n!==void 0).forEach(e.add,e),e}producedFields(){return new Set(this.transform.joinaggregate.map(this.getDefaultName))}getDefaultName(e){return e.as??lt(e)}hash(){return`JoinAggregateTransform ${Mn(this.transform)}`}assemble(){const e=[],n=[],r=[];for(const o of this.transform.joinaggregate)n.push(o.op),r.push(this.getDefaultName(o)),e.push(o.field===void 0?null:o.field);const i=this.transform.groupby;return{type:"joinaggregate",as:r,ops:n,fields:e,...i!==void 0?{groupby:i}:{}}}}class lC extends _r{clone(){return new lC(null,{...this.filter})}constructor(e,n){super(e),this.filter=n}static make(e,n,r){const{config:i,markDef:o}=n,{marks:s,scales:a}=r;if(s==="include-invalid-values"&&a==="include-invalid-values")return null;const l=n.reduceFieldDef((u,c,f)=>{const d=Yh(f)&&n.getScaleComponent(f);if(d){const h=d.get("type"),{aggregate:p}=c,g=Ese({scaleChannel:f,markDef:o,config:i,scaleType:h,isCountAggregate:g6(p)});g!=="show"&&g!=="always-valid"&&(u[c.field]=c)}return u},{});return Qe(l).length?new lC(e,l):null}dependentFields(){return new Set(Qe(this.filter))}producedFields(){return new Set}hash(){return`FilterInvalid ${Mn(this.filter)}`}assemble(){const e=Qe(this.filter).reduce((n,r)=>{const i=this.filter[r],o=lt(i,{expr:"datum"});return i!==null&&(i.type==="temporal"?n.push(`(isDate(${o}) || (${zY(o)}))`):i.type==="quantitative"&&n.push(zY(o))),n},[]);return e.length>0?{type:"filter",expr:e.join(" && ")}:null}}function zY(t){return`isValid(${t}) && isFinite(+${t})`}function lGt(t){return t.stack.stackBy.reduce((e,n)=>{const r=n.fieldDef,i=lt(r);return i&&e.push(i),e},[])}function uGt(t){return We(t)&&t.every(e=>gt(e))&&t.length>1}class cg extends _r{clone(){return new cg(null,Kt(this._stack))}constructor(e,n){super(e),this._stack=n}static makeFromTransform(e,n){const{stack:r,groupby:i,as:o,offset:s="zero"}=n,a=[],l=[];if(n.sort!==void 0)for(const f of n.sort)a.push(f.field),l.push(qi(f.order,"ascending"));const u={field:a,order:l};let c;return uGt(o)?c=o:gt(o)?c=[o,`${o}_end`]:c=[`${n.stack}_start`,`${n.stack}_end`],new cg(e,{dimensionFieldDefs:[],stackField:r,groupby:i,offset:s,sort:u,facetby:[],as:c})}static makeFromEncoding(e,n){const r=n.stack,{encoding:i}=n;if(!r)return null;const{groupbyChannels:o,fieldChannel:s,offset:a,impute:l}=r,u=o.map(h=>{const p=i[h];return Xf(p)}).filter(h=>!!h),c=lGt(n),f=n.encoding.order;let d;if(We(f)||Je(f))d=wje(f);else{const h=f4e(f)?f.sort:s==="y"?"descending":"ascending";d=c.reduce((p,g)=>(p.field.includes(g)||(p.field.push(g),p.order.push(h)),p),{field:[],order:[]})}return new cg(e,{dimensionFieldDefs:u,stackField:n.vgField(s),facetby:[],stackby:c,sort:d,offset:a,impute:l,as:[n.vgField(s,{suffix:"start",forAs:!0}),n.vgField(s,{suffix:"end",forAs:!0})]})}get stack(){return this._stack}addDimensions(e){this._stack.facetby.push(...e)}dependentFields(){const e=new Set;return e.add(this._stack.stackField),this.getGroupbyFields().forEach(e.add,e),this._stack.facetby.forEach(e.add,e),this._stack.sort.field.forEach(e.add,e),e}producedFields(){return new Set(this._stack.as)}hash(){return`Stack ${Mn(this._stack)}`}getGroupbyFields(){const{dimensionFieldDefs:e,impute:n,groupby:r}=this._stack;return e.length>0?e.map(i=>i.bin?n?[lt(i,{binSuffix:"mid"})]:[lt(i,{}),lt(i,{binSuffix:"end"})]:[lt(i)]).flat():r??[]}assemble(){const e=[],{facetby:n,dimensionFieldDefs:r,stackField:i,stackby:o,sort:s,offset:a,impute:l,as:u}=this._stack;if(l)for(const c of r){const{bandPosition:f=.5,bin:d}=c;if(d){const h=lt(c,{expr:"datum"}),p=lt(c,{expr:"datum",binSuffix:"end"});e.push({type:"formula",expr:`${zY(h)} ? ${f}*${h}+${1-f}*${p} : ${h}`,as:lt(c,{binSuffix:"mid",forAs:!0})})}e.push({type:"impute",field:i,groupby:[...o,...n],key:lt(c,{binSuffix:"mid"}),method:"value",value:0})}return e.push({type:"stack",groupby:[...this.getGroupbyFields(),...n],field:i,sort:s,as:u,offset:a}),e}}class FO extends _r{clone(){return new FO(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n}addDimensions(e){this.transform.groupby=Kd(this.transform.groupby.concat(e),n=>n)}dependentFields(){const e=new Set;return(this.transform.groupby??[]).forEach(e.add,e),(this.transform.sort??[]).forEach(n=>e.add(n.field)),this.transform.window.map(n=>n.field).filter(n=>n!==void 0).forEach(e.add,e),e}producedFields(){return new Set(this.transform.window.map(this.getDefaultName))}getDefaultName(e){return e.as??lt(e)}hash(){return`WindowTransform ${Mn(this.transform)}`}assemble(){const e=[],n=[],r=[],i=[];for(const f of this.transform.window)n.push(f.op),r.push(this.getDefaultName(f)),i.push(f.param===void 0?null:f.param),e.push(f.field===void 0?null:f.field);const o=this.transform.frame,s=this.transform.groupby;if(o&&o[0]===null&&o[1]===null&&n.every(f=>ase(f)))return{type:"joinaggregate",as:r,ops:n,fields:e,...s!==void 0?{groupby:s}:{}};const a=[],l=[];if(this.transform.sort!==void 0)for(const f of this.transform.sort)a.push(f.field),l.push(f.order??"ascending");const u={field:a,order:l},c=this.transform.ignorePeers;return{type:"window",params:i,as:r,ops:n,fields:e,sort:u,...c!==void 0?{ignorePeers:c}:{},...s!==void 0?{groupby:s}:{},...o!==void 0?{frame:o}:{}}}}function cGt(t){function e(n){if(!(n instanceof $O)){const r=n.clone();if(r instanceof pl){const i=BY+r.getSource();r.setSource(i),t.model.component.data.outputNodes[i]=r}else(r instanceof $f||r instanceof cg||r instanceof FO||r instanceof xb)&&r.addDimensions(t.fields);for(const i of n.children.flatMap(e))i.parent=r;return[r]}return n.children.flatMap(e)}return e}function jY(t){if(t instanceof $O)if(t.numChildren()===1&&!(t.children[0]instanceof pl)){const e=t.children[0];(e instanceof $f||e instanceof cg||e instanceof FO||e instanceof xb)&&e.addDimensions(t.fields),e.swapWithParent(),jY(t)}else{const e=t.model.component.data.main;ZBe(e);const n=cGt(t),r=t.children.map(n).flat();for(const i of r)i.parent=e}else t.children.map(jY)}function ZBe(t){if(t instanceof pl&&t.type===Fi.Main&&t.numChildren()===1){const e=t.children[0];e instanceof $O||(e.swapWithParent(),ZBe(t))}}const BY="scale_",nL=5;function UY(t){for(const e of t){for(const n of e.children)if(n.parent!==e)return!1;if(!UY(e.children))return!1}return!0}function Yc(t,e){let n=!1;for(const r of e)n=t.optimize(r)||n;return n}function Vye(t,e,n){let r=t.sources,i=!1;return i=Yc(new eGt,r)||i,i=Yc(new Z7t(e),r)||i,r=r.filter(o=>o.numChildren()>0),i=Yc(new rGt,r)||i,r=r.filter(o=>o.numChildren()>0),n||(i=Yc(new tGt,r)||i,i=Yc(new sGt(e),r)||i,i=Yc(new J7t,r)||i,i=Yc(new nGt,r)||i,i=Yc(new oGt,r)||i,i=Yc(new iGt,r)||i,i=Yc(new K7t,r)||i,i=Yc(new aGt,r)||i),t.sources=r,i}function fGt(t,e){UY(t.sources);let n=0,r=0;for(let i=0;ie(n))}}function JBe(t){wi(t)?dGt(t):hGt(t)}function dGt(t){const e=t.component.scales;for(const n of Qe(e)){const r=gGt(t,n);if(e[n].setWithExplicit("domains",r),vGt(t,n),t.component.data.isFaceted){let o=t;for(;!pu(o)&&o.parent;)o=o.parent;if(o.component.resolve.scale[n]==="shared")for(const a of r.value)Qp(a)&&(a.data=BY+a.data.replace(BY,""))}}}function hGt(t){for(const n of t.children)JBe(n);const e=t.component.scales;for(const n of Qe(e)){let r,i=null;for(const o of t.children){const s=o.component.scales[n];if(s){r===void 0?r=s.getWithExplicit("domains"):r=gy(r,s.getWithExplicit("domains"),"domains","scale",WY);const a=s.get("selectionExtent");i&&a&&i.param!==a.param&&Ze(uUt),i=a}}e[n].setWithExplicit("domains",r),i&&e[n].set("selectionExtent",i,!0)}}function pGt(t,e,n,r){if(t==="unaggregated"){const{valid:i,reason:o}=Gye(e,n);if(!i){Ze(o);return}}else if(t===void 0&&r.useUnaggregatedDomain){const{valid:i}=Gye(e,n);if(i)return"unaggregated"}return t}function gGt(t,e){const n=t.getScaleComponent(e).get("type"),{encoding:r}=t,i=pGt(t.scaleDomain(e),t.typedFieldDef(e),n,t.config.scale);return i!==t.scaleDomain(e)&&(t.specifiedScales[e]={...t.specifiedScales[e],domain:i}),e==="x"&&_o(r.x2)?_o(r.x)?gy(Rm(n,i,t,"x"),Rm(n,i,t,"x2"),"domain","scale",WY):Rm(n,i,t,"x2"):e==="y"&&_o(r.y2)?_o(r.y)?gy(Rm(n,i,t,"y"),Rm(n,i,t,"y2"),"domain","scale",WY):Rm(n,i,t,"y2"):Rm(n,i,t,e)}function mGt(t,e,n){return t.map(r=>({signal:`{data: ${k6(r,{timeUnit:n,type:e})}}`}))}function qV(t,e,n){var i;const r=(i=Uo(n))==null?void 0:i.unit;return e==="temporal"||r?mGt(t,e,r):[t]}function Rm(t,e,n,r){const{encoding:i,markDef:o,mark:s,config:a,stack:l}=n,u=_o(i[r]),{type:c}=u,f=u.timeUnit,d=c9t({invalid:Ph("invalid",o,a),isPath:Ky(s)});if(R8t(e)){const g=Rm(t,void 0,n,r),m=qV(e.unionWith,c,f);return Pd([...m,...g.value])}else{if(Mt(e))return Pd([e]);if(e&&e!=="unaggregated"&&!Xje(e))return Pd(qV(e,c,f))}if(l&&r===l.fieldChannel){if(l.offset==="normalize")return Wl([[0,1]]);const g=n.requestDataName(d);return Wl([{data:g,field:n.vgField(r,{suffix:"start"})},{data:g,field:n.vgField(r,{suffix:"end"})}])}const h=Yh(r)&&Je(u)?yGt(n,r,t):void 0;if(Qh(u)){const g=qV([u.datum],c,f);return Wl(g)}const p=u;if(e==="unaggregated"){const{field:g}=u;return Wl([{data:n.requestDataName(d),field:lt({field:g,aggregate:"min"})},{data:n.requestDataName(d),field:lt({field:g,aggregate:"max"})}])}else if(Gr(p.bin)){if(Wo(t))return Wl(t==="bin-ordinal"?[]:[{data:HA(h)?n.requestDataName(d):n.requestDataName(Fi.Raw),field:n.vgField(r,VR(p,r)?{binSuffix:"range"}:{}),sort:h===!0||!ht(h)?{field:n.vgField(r,{}),op:"min"}:h}]);{const{bin:g}=p;if(Gr(g)){const m=rae(n,p.field,g);return Wl([new Do(()=>{const v=n.getSignalName(m);return`[${v}.start, ${v}.stop]`})])}else return Wl([{data:n.requestDataName(d),field:n.vgField(r,{})}])}}else if(p.timeUnit&&En(["time","utc"],t)){const g=i[Xh(r)];if(c4e(p,g,o,a)){const m=n.requestDataName(d),v=py({fieldDef:p,fieldDef2:g,markDef:o,config:a}),y=XA(s)&&v!==.5&&Xi(r);return Wl([{data:m,field:n.vgField(r,y?{suffix:I6}:{})},{data:m,field:n.vgField(r,{suffix:y?L6:"end"})}])}}return Wl(h?[{data:HA(h)?n.requestDataName(d):n.requestDataName(Fi.Raw),field:n.vgField(r),sort:h}]:[{data:n.requestDataName(d),field:n.vgField(r)}])}function XV(t,e){const{op:n,field:r,order:i}=t;return{op:n??(e?"sum":C6),...r?{field:Mc(r)}:{},...i?{order:i}:{}}}function vGt(t,e){var a;const n=t.component.scales[e],r=t.specifiedScales[e].domain,i=(a=t.fieldDef(e))==null?void 0:a.bin,o=Xje(r)?r:void 0,s=hb(i)&&m6(i.extent)?i.extent:void 0;(o||s)&&n.set("selectionExtent",o??s,!0)}function yGt(t,e,n){if(!Wo(n))return;const r=t.fieldDef(e),i=r.sort;if(l4e(i))return{op:"min",field:sC(r,e),order:"ascending"};const{stack:o}=t,s=o?new Set([...o.groupbyFields,...o.stackBy.map(a=>a.fieldDef.field)]):void 0;if(lg(i)){const a=o&&!s.has(i.field);return XV(i,a)}else if(cWt(i)){const{encoding:a,order:l}=i,u=t.fieldDef(a),{aggregate:c,field:f}=u,d=o&&!s.has(f);if($g(c)||Qy(c))return XV({field:lt(u),order:l},d);if(ase(c)||!c)return XV({op:c,field:f,order:l},d)}else{if(i==="descending")return{op:"min",field:t.vgField(e),order:"descending"};if(En(["ascending",void 0],i))return!0}}function Gye(t,e){const{aggregate:n,type:r}=t;return n?gt(n)&&!H6t.has(n)?{valid:!1,reason:LUt(n)}:r==="quantitative"&&e==="log"?{valid:!1,reason:$Ut(t)}:{valid:!0}:{valid:!1,reason:IUt(t)}}function WY(t,e,n,r){return t.explicit&&e.explicit&&Ze(BUt(n,r,t.value,e.value)),{explicit:t.explicit,value:[...t.value,...e.value]}}function xGt(t){const e=Kd(t.map(s=>{if(Qp(s)){const{sort:a,...l}=s;return l}return s}),Mn),n=Kd(t.map(s=>{if(Qp(s)){const a=s.sort;return a!==void 0&&!HA(a)&&("op"in a&&a.op==="count"&&delete a.field,a.order==="ascending"&&delete a.order),a}}).filter(s=>s!==void 0),Mn);if(e.length===0)return;if(e.length===1){const s=t[0];if(Qp(s)&&n.length>0){let a=n[0];if(n.length>1){Ze(Jve);const l=n.filter(u=>ht(u)&&"op"in u&&u.op!=="min");n.every(u=>ht(u)&&"op"in u)&&l.length===1?a=l[0]:a=!0}else if(ht(a)&&"field"in a){const l=a.field;s.field===l&&(a=a.order?{order:a.order}:!0)}return{...s,sort:a}}return s}const r=Kd(n.map(s=>HA(s)||!("op"in s)||gt(s.op)&&vt(U6t,s.op)?s:(Ze(WUt(s)),!0)),Mn);let i;r.length===1?i=r[0]:r.length>1&&(Ze(Jve),i=!0);const o=Kd(t.map(s=>Qp(s)?s.data:null),s=>s);return o.length===1&&o[0]!==null?{data:o[0],fields:e.map(a=>a.field),...i?{sort:i}:{}}:{fields:e,...i?{sort:i}:{}}}function aae(t){if(Qp(t)&>(t.field))return t.field;if(q6t(t)){let e;for(const n of t.fields)if(Qp(n)&>(n.field)){if(!e)e=n.field;else if(e!==n.field)return Ze(VUt),e}return Ze(GUt),e}else if(X6t(t)){Ze(HUt);const e=t.fields[0];return gt(e)?e:void 0}}function j6(t,e){const r=t.component.scales[e].get("domains").map(i=>(Qp(i)&&(i.data=t.lookupDataSource(i.data)),i));return xGt(r)}function e6e(t){return NO(t)||lae(t)?t.children.reduce((e,n)=>e.concat(e6e(n)),Hye(t)):Hye(t)}function Hye(t){return Qe(t.component.scales).reduce((e,n)=>{const r=t.component.scales[n];if(r.merged)return e;const i=r.combine(),{name:o,type:s,selectionExtent:a,domains:l,range:u,reverse:c,...f}=i,d=bGt(i.range,o,n,t),h=j6(t,n),p=a?m9t(t,a,r,h):null;return e.push({name:o,type:s,...h?{domain:h}:{},...p?{domainRaw:p}:{},range:d,...c!==void 0?{reverse:c}:{},...f}),e},[])}function bGt(t,e,n,r){if(Xi(n)){if(pb(t))return{step:{signal:`${e}_step`}}}else if(ht(t)&&Qp(t))return{...t,data:r.lookupDataSource(t.data)};return t}class t6e extends nm{constructor(e,n){super({},{name:e}),this.merged=!1,this.setWithExplicit("type",n)}domainHasZero(){const e=this.get("type");if(En([os.LOG,os.TIME,os.UTC],e))return"definitely-not";const n=this.get("zero");if(n===!0||n===void 0&&En([os.LINEAR,os.SQRT,os.POW],e))return"definitely";const r=this.get("domains");if(r.length>0){let i=!1,o=!1,s=!1;for(const a of r){if(We(a)){const l=a[0],u=a[a.length-1];if(Jn(l)&&Jn(u))if(l<=0&&u>=0){i=!0;continue}else{o=!0;continue}}s=!0}if(i)return"definitely";if(o&&!s)return"definitely-not"}return"maybe"}}const wGt=["range","scheme"];function _Gt(t){const e=t.component.scales;for(const n of sse){const r=e[n];if(!r)continue;const i=SGt(n,t);r.setWithExplicit("range",i)}}function qye(t,e){const n=t.fieldDef(e);if(n!=null&&n.bin){const{bin:r,field:i}=n,o=Ol(e),s=t.getName(o);if(ht(r)&&r.binned&&r.step!==void 0)return new Do(()=>{const a=t.scaleName(e),l=`(domain("${a}")[1] - domain("${a}")[0]) / ${r.step}`;return`${t.getSignalName(s)} / (${l})`});if(Gr(r)){const a=rae(t,i,r);return new Do(()=>{const l=t.getSignalName(a),u=`(${l}.stop - ${l}.start) / ${l}.step`;return`${t.getSignalName(s)} / (${u})`})}}}function SGt(t,e){const n=e.specifiedScales[t],{size:r}=e,o=e.getScaleComponent(t).get("type");for(const f of wGt)if(n[f]!==void 0){const d=OY(o,f),h=Yje(t,f);if(!d)Ze(kje(o,f,t));else if(h)Ze(h);else switch(f){case"range":{const p=n.range;if(We(p)){if(Xi(t))return Pd(p.map(g=>{if(g==="width"||g==="height"){const m=e.getName(g),v=e.getSignalName.bind(e);return Do.fromName(v,m)}return g}))}else if(ht(p))return Pd({data:e.requestDataName(Fi.Main),field:p.field,sort:{op:"min",field:e.vgField(t)}});return Pd(p)}case"scheme":return Pd(CGt(n[f]))}}const s=t===vi||t==="xOffset"?"width":"height",a=r[s];if(Rh(a)){if(Xi(t))if(Wo(o)){const f=r6e(a,e,t);if(f)return Pd({step:f})}else Ze(Aje(s));else if(FR(t)){const f=t===Gy?"x":"y";if(e.getScaleComponent(f).get("type")==="band"){const p=i6e(a,o);if(p)return Pd(p)}}}const{rangeMin:l,rangeMax:u}=n,c=OGt(t,e);return(l!==void 0||u!==void 0)&&OY(o,"rangeMin")&&We(c)&&c.length===2?Pd([l??c[0],u??c[1]]):Wl(c)}function CGt(t){return M8t(t)?{scheme:t.name,...hl(t,["name"])}:{scheme:t}}function n6e(t,e,n,{center:r}={}){const i=Ol(t),o=e.getName(i),s=e.getSignalName.bind(e);return t===Yo&&Hf(n)?r?[Do.fromName(a=>`${s(a)}/2`,o),Do.fromName(a=>`-${s(a)}/2`,o)]:[Do.fromName(s,o),0]:r?[Do.fromName(a=>`-${s(a)}/2`,o),Do.fromName(a=>`${s(a)}/2`,o)]:[0,Do.fromName(s,o)]}function OGt(t,e){const{size:n,config:r,mark:i,encoding:o}=e,{type:s}=_o(o[t]),l=e.getScaleComponent(t).get("type"),{domain:u,domainMid:c}=e.specifiedScales[t];switch(t){case vi:case Yo:{if(En(["point","band"],l)){const f=o6e(t,n,r.view);if(Rh(f))return{step:r6e(f,e,t)}}return n6e(t,e,l)}case Gy:case RO:return EGt(t,e,l);case Zg:{const f=AGt(i,r),d=PGt(i,n,e,r);return JS(l)?kGt(f,d,TGt(l,r,u,t)):[f,d]}case jc:return[0,Math.PI*2];case fb:return[0,360];case od:return[0,new Do(()=>{const f=e.getSignalName(pu(e.parent)?"child_width":"width"),d=e.getSignalName(pu(e.parent)?"child_height":"height");return`min(${f},${d})/2`})];case Xy:return[r.scale.minStrokeWidth,r.scale.maxStrokeWidth];case Yy:return[[1,0],[4,2],[2,1],[1,1],[1,2,4,2]];case Cl:return"symbol";case Sl:case Hh:case qh:return l==="ordinal"?s==="nominal"?"category":"ordinal":c!==void 0?"diverging":i==="rect"||i==="geoshape"?"heatmap":"ramp";case Jg:case Hy:case qy:return[r.scale.minOpacity,r.scale.maxOpacity]}}function r6e(t,e,n){const{encoding:r}=e,i=e.getScaleComponent(n),o=nse(n),s=r[o];if(U4e({step:t,offsetIsDiscrete:en(s)&&Wje(s.type)})==="offset"&&_4e(r,o)){const l=e.getScaleComponent(o);let c=`domain('${e.scaleName(o)}').length`;if(l.get("type")==="band"){const d=l.get("paddingInner")??l.get("padding")??0,h=l.get("paddingOuter")??l.get("padding")??0;c=`bandspace(${c}, ${d}, ${h})`}const f=i.get("paddingInner")??i.get("padding");return{signal:`${t.step} * ${c} / (1-${Z6t(f)})`}}else return t.step}function i6e(t,e){if(U4e({step:t,offsetIsDiscrete:Wo(e)})==="offset")return{step:t.step}}function EGt(t,e,n){const r=t===Gy?"x":"y",i=e.getScaleComponent(r);if(!i)return n6e(r,e,n,{center:!0});const o=i.get("type"),s=e.scaleName(r),{markDef:a,config:l}=e;if(o==="band"){const u=o6e(r,e.size,e.config.view);if(Rh(u)){const c=i6e(u,n);if(c)return c}return[0,{signal:`bandwidth('${s}')`}]}else{const u=e.encoding[r];if(Je(u)&&u.timeUnit){const c=zje(u.timeUnit,p=>`scale('${s}', ${p})`),f=e.config.scale.bandWithNestedOffsetPaddingInner,d=py({fieldDef:u,markDef:a,config:l})-.5,h=d!==0?` + ${d}`:"";if(f){const p=Mt(f)?`${f.signal}/2`+h:`${f/2+d}`,g=Mt(f)?`(1 - ${f.signal}/2)`+h:`${1-f/2+d}`;return[{signal:`${p} * (${c})`},{signal:`${g} * (${c})`}]}return[0,{signal:c}]}return Qze(`Cannot use ${t} scale if ${r} scale is not discrete.`)}}function o6e(t,e,n){const r=t===vi?"width":"height",i=e[r];return i||j5(n,r)}function TGt(t,e,n,r){switch(t){case"quantile":return e.scale.quantileCount;case"quantize":return e.scale.quantizeCount;case"threshold":return n!==void 0&&We(n)?n.length+1:(Ze(t8t(r)),3)}}function kGt(t,e,n){const r=()=>{const i=Tf(e),o=Tf(t),s=`(${i} - ${o}) / (${n} - 1)`;return`sequence(${o}, ${i} + ${s}, ${s})`};return Mt(e)?new Do(r):{signal:r()}}function AGt(t,e){switch(t){case"bar":case"tick":return e.scale.minBandSize;case"line":case"trail":case"rule":return e.scale.minStrokeWidth;case"text":return e.scale.minFontSize;case"point":case"square":case"circle":return e.scale.minSize}throw new Error(v6("size",t))}const Xye=.95;function PGt(t,e,n,r){const i={x:qye(n,"x"),y:qye(n,"y")};switch(t){case"bar":case"tick":{if(r.scale.maxBandSize!==void 0)return r.scale.maxBandSize;const o=Yye(e,i,r.view);return Jn(o)?o-1:new Do(()=>`${o.signal} - 1`)}case"line":case"trail":case"rule":return r.scale.maxStrokeWidth;case"text":return r.scale.maxFontSize;case"point":case"square":case"circle":{if(r.scale.maxSize)return r.scale.maxSize;const o=Yye(e,i,r.view);return Jn(o)?Math.pow(Xye*o,2):new Do(()=>`pow(${Xye} * ${o.signal}, 2)`)}}throw new Error(v6("size",t))}function Yye(t,e,n){const r=Rh(t.width)?t.width.step:AY(n,"width"),i=Rh(t.height)?t.height.step:AY(n,"height");return e.x||e.y?new Do(()=>`min(${[e.x?e.x.signal:r,e.y?e.y.signal:i].join(", ")})`):Math.min(r,i)}function s6e(t,e){wi(t)?MGt(t,e):l6e(t,e)}function MGt(t,e){const n=t.component.scales,{config:r,encoding:i,markDef:o,specifiedScales:s}=t;for(const a of Qe(n)){const l=s[a],u=n[a],c=t.getScaleComponent(a),f=_o(i[a]),d=l[e],h=c.get("type"),p=c.get("padding"),g=c.get("paddingInner"),m=OY(h,e),v=Yje(a,e);if(d!==void 0&&(m?v&&Ze(v):Ze(kje(h,e,a))),m&&v===void 0)if(d!==void 0){const y=f.timeUnit,x=f.type;switch(e){case"domainMax":case"domainMin":gb(l[e])||x==="temporal"||y?u.set(e,{signal:k6(l[e],{type:x,timeUnit:y})},!0):u.set(e,l[e],!0);break;default:u.copyKeyFromObject(e,l)}}else{const y=Ke(Qye,e)?Qye[e]({model:t,channel:a,fieldOrDatumDef:f,scaleType:h,scalePadding:p,scalePaddingInner:g,domain:l.domain,domainMin:l.domainMin,domainMax:l.domainMax,markDef:o,config:r,hasNestedOffsetScale:S4e(i,a),hasSecondaryRangeChannel:!!i[Xh(a)]}):r.scale[e];y!==void 0&&u.set(e,y,!1)}}}const Qye={bins:({model:t,fieldOrDatumDef:e})=>Je(e)?RGt(t,e):void 0,interpolate:({channel:t,fieldOrDatumDef:e})=>DGt(t,e.type),nice:({scaleType:t,channel:e,domain:n,domainMin:r,domainMax:i,fieldOrDatumDef:o})=>IGt(t,e,n,r,i,o),padding:({channel:t,scaleType:e,fieldOrDatumDef:n,markDef:r,config:i})=>LGt(t,e,i.scale,n,r,i.bar),paddingInner:({scalePadding:t,channel:e,markDef:n,scaleType:r,config:i,hasNestedOffsetScale:o})=>$Gt(t,e,n.type,r,i.scale,o),paddingOuter:({scalePadding:t,channel:e,scaleType:n,scalePaddingInner:r,config:i,hasNestedOffsetScale:o})=>FGt(t,e,n,r,i.scale,o),reverse:({fieldOrDatumDef:t,scaleType:e,channel:n,config:r})=>{const i=Je(t)?t.sort:void 0;return NGt(e,i,n,r.scale)},zero:({channel:t,fieldOrDatumDef:e,domain:n,markDef:r,scaleType:i,config:o,hasSecondaryRangeChannel:s})=>zGt(t,e,n,r,i,o.scale,s)};function a6e(t){wi(t)?_Gt(t):l6e(t,"range")}function l6e(t,e){const n=t.component.scales;for(const r of t.children)e==="range"?a6e(r):s6e(r,e);for(const r of Qe(n)){let i;for(const o of t.children){const s=o.component.scales[r];if(s){const a=s.getWithExplicit(e);i=gy(i,a,e,"scale",tBe((l,u)=>{switch(e){case"range":return l.step&&u.step?l.step-u.step:0}return 0}))}}n[r].setWithExplicit(e,i)}}function RGt(t,e){const n=e.bin;if(Gr(n)){const r=rae(t,e.field,n);return new Do(()=>t.getSignalName(r))}else if(ns(n)&&hb(n)&&n.step!==void 0)return{step:n.step}}function DGt(t,e){if(En([Sl,Hh,qh],t)&&e!=="nominal")return"hcl"}function IGt(t,e,n,r,i,o){var s;if(!((s=Xf(o))!=null&&s.bin||We(n)||i!=null||r!=null||En([os.TIME,os.UTC],t)))return Xi(e)?!0:void 0}function LGt(t,e,n,r,i,o){if(Xi(t)){if(Zd(e)){if(n.continuousPadding!==void 0)return n.continuousPadding;const{type:s,orient:a}=i;if(s==="bar"&&!(Je(r)&&(r.bin||r.timeUnit))&&(a==="vertical"&&t==="x"||a==="horizontal"&&t==="y"))return o.continuousBandSize}if(e===os.POINT)return n.pointPadding}}function $Gt(t,e,n,r,i,o=!1){if(t===void 0){if(Xi(e)){const{bandPaddingInner:s,barBandPaddingInner:a,rectBandPaddingInner:l,tickBandPaddingInner:u,bandWithNestedOffsetPaddingInner:c}=i;return o?c:qi(s,n==="bar"?a:n==="tick"?u:l)}else if(FR(e)&&r===os.BAND)return i.offsetBandPaddingInner}}function FGt(t,e,n,r,i,o=!1){if(t===void 0){if(Xi(e)){const{bandPaddingOuter:s,bandWithNestedOffsetPaddingOuter:a}=i;if(o)return a;if(n===os.BAND)return qi(s,Mt(r)?{signal:`${r.signal}/2`}:r/2)}else if(FR(e)){if(n===os.POINT)return .5;if(n===os.BAND)return i.offsetBandPaddingOuter}}}function NGt(t,e,n,r){if(n==="x"&&r.xReverse!==void 0)return Hf(t)&&e==="descending"?Mt(r.xReverse)?{signal:`!${r.xReverse.signal}`}:!r.xReverse:r.xReverse;if(Hf(t)&&e==="descending")return!0}function zGt(t,e,n,r,i,o,s){if(!!n&&n!=="unaggregated"&&Hf(i)){if(We(n)){const l=n[0],u=n[n.length-1];if(Jn(l)&&l<=0&&Jn(u)&&u>=0)return!0}return!1}if(t==="size"&&e.type==="quantitative"&&!JS(i))return!0;if(!(Je(e)&&e.bin)&&En([...em,...I6t],t)){const{orient:l,type:u}=r;return En(["bar","area","line","trail"],u)&&(l==="horizontal"&&t==="y"||l==="vertical"&&t==="x")?!1:En(["bar","area"],u)&&!s?!0:o==null?void 0:o.zero}return!1}function jGt(t,e,n,r,i=!1){const o=BGt(e,n,r,i),{type:s}=t;return Yh(e)?s!==void 0?N8t(e,s)?Je(n)&&!F8t(s,n.type)?(Ze(zUt(s,o)),o):s:(Ze(NUt(e,s,o)),o):o:null}function BGt(t,e,n,r){var i;switch(e.type){case"nominal":case"ordinal":{if(F_(t)||NV(t)==="discrete")return t==="shape"&&e.type==="ordinal"&&Ze(zV(t,"ordinal")),"ordinal";if(Xi(t)||FR(t)){if(En(["rect","bar","image","rule","tick"],n.type)||r)return"band"}else if(n.type==="arc"&&t in ose)return"band";const o=n[Ol(t)];return S1(o)||tC(e)&&((i=e.axis)!=null&&i.tickBand)?"band":"point"}case"temporal":return F_(t)?"time":NV(t)==="discrete"?(Ze(zV(t,"temporal")),"ordinal"):Je(e)&&e.timeUnit&&Uo(e.timeUnit).utc?"utc":"time";case"quantitative":return F_(t)?Je(e)&&Gr(e.bin)?"bin-ordinal":"linear":NV(t)==="discrete"?(Ze(zV(t,"quantitative")),"ordinal"):"linear";case"geojson":return}throw new Error(Eje(e.type))}function UGt(t,{ignoreRange:e}={}){u6e(t),JBe(t);for(const n of $8t)s6e(t,n);e||a6e(t)}function u6e(t){wi(t)?t.component.scales=WGt(t):t.component.scales=GGt(t)}function WGt(t){const{encoding:e,mark:n,markDef:r}=t,i={};for(const o of sse){const s=_o(e[o]);if(s&&n===Zje&&o===Cl&&s.type===DO)continue;let a=s&&s.scale;if(s&&a!==null&&a!==!1){a??(a={});const l=S4e(e,o),u=jGt(a,o,s,r,l);i[o]=new t6e(t.scaleName(`${o}`,!0),{value:u,explicit:a.type===u})}}return i}const VGt=tBe((t,e)=>tye(t)-tye(e));function GGt(t){var e;const n=t.component.scales={},r={},i=t.component.resolve;for(const o of t.children){u6e(o);for(const s of Qe(o.component.scales))if((e=i.scale)[s]??(e[s]=jBe(s,t)),i.scale[s]==="shared"){const a=r[s],l=o.component.scales[s].getWithExplicit("type");a?E8t(a.value,l.value)?r[s]=gy(a,l,"type","scale",VGt):(i.scale[s]="independent",delete r[s]):r[s]=l}}for(const o of Qe(r)){const s=t.scaleName(o,!0),a=r[o];n[o]=new t6e(s,a);for(const l of t.children){const u=l.component.scales[o];u&&(l.renameScale(u.get("name"),s),u.merged=!0)}}return n}class YV{constructor(){this.nameMap={}}rename(e,n){this.nameMap[e]=n}has(e){return this.nameMap[e]!==void 0}get(e){for(;this.nameMap[e]&&e!==this.nameMap[e];)e=this.nameMap[e];return e}}function wi(t){return(t==null?void 0:t.type)==="unit"}function pu(t){return(t==null?void 0:t.type)==="facet"}function lae(t){return(t==null?void 0:t.type)==="concat"}function NO(t){return(t==null?void 0:t.type)==="layer"}class uae{constructor(e,n,r,i,o,s,a){this.type=n,this.parent=r,this.config=o,this.correctDataNames=l=>{var u,c,f;return(u=l.from)!=null&&u.data&&(l.from.data=this.lookupDataSource(l.from.data)),(f=(c=l.from)==null?void 0:c.facet)!=null&&f.data&&(l.from.facet.data=this.lookupDataSource(l.from.facet.data)),l},this.parent=r,this.config=o,this.view=is(a),this.name=e.name??i,this.title=Ym(e.title)?{text:e.title}:e.title?is(e.title):void 0,this.scaleNameMap=r?r.scaleNameMap:new YV,this.projectionNameMap=r?r.projectionNameMap:new YV,this.signalNameMap=r?r.signalNameMap:new YV,this.data=e.data,this.description=e.description,this.transforms=ZVt(e.transform??[]),this.layout=n==="layer"||n==="unit"?{}:nVt(e,n,o),this.component={data:{sources:r?r.component.data.sources:[],outputNodes:r?r.component.data.outputNodes:{},outputNodeRefCounts:r?r.component.data.outputNodeRefCounts:{},isFaceted:O6(e)||(r==null?void 0:r.component.data.isFaceted)&&e.data===void 0},layoutSize:new nm,layoutHeaders:{row:{},column:{},facet:{}},mark:null,resolve:{scale:{},axis:{},legend:{},...s?Kt(s):{}},selection:null,scales:null,projection:null,axes:{},legends:{}}}get width(){return this.getSizeSignalRef("width")}get height(){return this.getSizeSignalRef("height")}parse(){this.parseScale(),this.parseLayoutSize(),this.renameTopLevelLayoutSizeSignal(),this.parseSelections(),this.parseProjection(),this.parseData(),this.parseAxesAndHeaders(),this.parseLegends(),this.parseMarkGroup()}parseScale(){UGt(this)}parseProjection(){QBe(this)}renameTopLevelLayoutSizeSignal(){this.getName("width")!=="width"&&this.renameSignal(this.getName("width"),"width"),this.getName("height")!=="height"&&this.renameSignal(this.getName("height"),"height")}parseLegends(){GBe(this)}assembleEncodeFromView(e){const{style:n,...r}=e,i={};for(const o of Qe(r)){const s=r[o];s!==void 0&&(i[o]=Jr(s))}return i}assembleGroupEncodeEntry(e){let n={};return this.view&&(n=this.assembleEncodeFromView(this.view)),!e&&(this.description&&(n.description=Jr(this.description)),this.type==="unit"||this.type==="layer")?{width:this.getSizeSignalRef("width"),height:this.getSizeSignalRef("height"),...n}:Er(n)?void 0:n}assembleLayout(){if(!this.layout)return;const{spacing:e,...n}=this.layout,{component:r,config:i}=this,o=f7t(r.layoutHeaders,i);return{padding:e,...this.assembleDefaultLayout(),...n,...o?{titleBand:o}:{}}}assembleDefaultLayout(){return{}}assembleHeaderMarks(){const{layoutHeaders:e}=this.component;let n=[];for(const r of ac)e[r].title&&n.push(o7t(this,r));for(const r of Jse)n=n.concat(s7t(this,r));return n}assembleAxes(){return H9t(this.component.axes,this.config)}assembleLegends(){return qBe(this)}assembleProjections(){return I7t(this)}assembleTitle(){const{encoding:e,...n}=this.title??{},r={...vje(this.config.title).nonMarkTitleProperties,...n,...e?{encode:{update:e}}:{}};if(r.text)return En(["unit","layer"],this.type)?En(["middle",void 0],r.anchor)&&(r.frame??(r.frame="group")):r.anchor??(r.anchor="start"),Er(r)?void 0:r}assembleGroup(e=[]){const n={};e=e.concat(this.assembleSignals()),e.length>0&&(n.signals=e);const r=this.assembleLayout();r&&(n.layout=r),n.marks=[].concat(this.assembleHeaderMarks(),this.assembleMarks());const i=!this.parent||pu(this.parent)?e6e(this):[];i.length>0&&(n.scales=i);const o=this.assembleAxes();o.length>0&&(n.axes=o);const s=this.assembleLegends();return s.length>0&&(n.legends=s),n}getName(e){return hi((this.name?`${this.name}_`:"")+e)}getDataName(e){return this.getName(Fi[e].toLowerCase())}requestDataName(e){const n=this.getDataName(e),r=this.component.data.outputNodeRefCounts;return r[n]=(r[n]||0)+1,n}getSizeSignalRef(e){if(pu(this.parent)){const n=NBe(e),r=p6(n),i=this.component.scales[r];if(i&&!i.merged){const o=i.get("type"),s=i.get("range");if(Wo(o)&&pb(s)){const a=i.get("name"),l=j6(this,r),u=aae(l);if(u){const c=lt({aggregate:"distinct",field:u},{expr:"datum"});return{signal:FBe(a,i,c)}}else return Ze(use(r)),null}}}return{signal:this.signalNameMap.get(this.getName(e))}}lookupDataSource(e){const n=this.component.data.outputNodes[e];return n?n.getSource():e}getSignalName(e){return this.signalNameMap.get(e)}renameSignal(e,n){this.signalNameMap.rename(e,n)}renameScale(e,n){this.scaleNameMap.rename(e,n)}renameProjection(e,n){this.projectionNameMap.rename(e,n)}scaleName(e,n){if(n)return this.getName(e);if(uje(e)&&Yh(e)&&this.component.scales[e]||this.scaleNameMap.has(this.getName(e)))return this.scaleNameMap.get(this.getName(e))}projectionName(e){if(e)return this.getName("projection");if(this.component.projection&&!this.component.projection.merged||this.projectionNameMap.has(this.getName("projection")))return this.projectionNameMap.get(this.getName("projection"))}getScaleComponent(e){if(!this.component.scales)throw new Error("getScaleComponent cannot be called before parseScale(). Make sure you have called parseScale or use parseUnitModelWithScale().");const n=this.component.scales[e];return n&&!n.merged?n:this.parent?this.parent.getScaleComponent(e):void 0}getScaleType(e){const n=this.getScaleComponent(e);return n?n.get("type"):void 0}getSelectionComponent(e,n){let r=this.component.selection[e];if(!r&&this.parent&&(r=this.parent.getSelectionComponent(e,n)),!r)throw new Error(rUt(n));return r}hasAxisOrientSignalRef(){var e,n;return((e=this.component.axes.x)==null?void 0:e.some(r=>r.hasOrientSignalRef()))||((n=this.component.axes.y)==null?void 0:n.some(r=>r.hasOrientSignalRef()))}}class c6e extends uae{vgField(e,n={}){const r=this.fieldDef(e);if(r)return lt(r,n)}reduceFieldDef(e,n){return MWt(this.getMapping(),(r,i,o)=>{const s=Xf(i);return s?e(r,s,o):r},n)}forEachFieldDef(e,n){Lse(this.getMapping(),(r,i)=>{const o=Xf(r);o&&e(o,i)},n)}}class B6 extends _r{clone(){return new B6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const r=this.transform.as??[void 0,void 0];this.transform.as=[r[0]??"value",r[1]??"density"];const i=this.transform.resolve??"shared";this.transform.resolve=i}dependentFields(){return new Set([this.transform.density,...this.transform.groupby??[]])}producedFields(){return new Set(this.transform.as)}hash(){return`DensityTransform ${Mn(this.transform)}`}assemble(){const{density:e,...n}=this.transform,r={type:"kde",field:e,...n};return r.resolve=this.transform.resolve,r}}class U6 extends _r{clone(){return new U6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n)}dependentFields(){return new Set([this.transform.extent])}producedFields(){return new Set([])}hash(){return`ExtentTransform ${Mn(this.transform)}`}assemble(){const{extent:e,param:n}=this.transform;return{type:"extent",field:e,signal:n}}}class W6 extends _r{clone(){return new W6(this.parent,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const{flatten:r,as:i=[]}=this.transform;this.transform.as=r.map((o,s)=>i[s]??o)}dependentFields(){return new Set(this.transform.flatten)}producedFields(){return new Set(this.transform.as)}hash(){return`FlattenTransform ${Mn(this.transform)}`}assemble(){const{flatten:e,as:n}=this.transform;return{type:"flatten",fields:e,as:n}}}class V6 extends _r{clone(){return new V6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const r=this.transform.as??[void 0,void 0];this.transform.as=[r[0]??"key",r[1]??"value"]}dependentFields(){return new Set(this.transform.fold)}producedFields(){return new Set(this.transform.as)}hash(){return`FoldTransform ${Mn(this.transform)}`}assemble(){const{fold:e,as:n}=this.transform;return{type:"fold",fields:e,as:n}}}class j_ extends _r{clone(){return new j_(null,Kt(this.fields),this.geojson,this.signal)}static parseAll(e,n){if(n.component.projection&&!n.component.projection.isFit)return e;let r=0;for(const i of[[ad,sd],[Rc,ld]]){const o=i.map(s=>{const a=_o(n.encoding[s]);return Je(a)?a.field:Qh(a)?{expr:`${a.datum}`}:qf(a)?{expr:`${a.value}`}:void 0});(o[0]||o[1])&&(e=new j_(e,o,null,n.getName(`geojson_${r++}`)))}if(n.channelHasField(Cl)){const i=n.typedFieldDef(Cl);i.type===DO&&(e=new j_(e,null,i.field,n.getName(`geojson_${r++}`)))}return e}constructor(e,n,r,i){super(e),this.fields=n,this.geojson=r,this.signal=i}dependentFields(){const e=(this.fields??[]).filter(gt);return new Set([...this.geojson?[this.geojson]:[],...e])}producedFields(){return new Set}hash(){return`GeoJSON ${this.geojson} ${this.signal} ${Mn(this.fields)}`}assemble(){return[...this.geojson?[{type:"filter",expr:`isValid(datum["${this.geojson}"])`}]:[],{type:"geojson",...this.fields?{fields:this.fields}:{},...this.geojson?{geojson:this.geojson}:{},signal:this.signal}]}}class QA extends _r{clone(){return new QA(null,this.projection,Kt(this.fields),Kt(this.as))}constructor(e,n,r,i){super(e),this.projection=n,this.fields=r,this.as=i}static parseAll(e,n){if(!n.projectionName())return e;for(const r of[[ad,sd],[Rc,ld]]){const i=r.map(s=>{const a=_o(n.encoding[s]);return Je(a)?a.field:Qh(a)?{expr:`${a.datum}`}:qf(a)?{expr:`${a.value}`}:void 0}),o=r[0]===Rc?"2":"";(i[0]||i[1])&&(e=new QA(e,n.projectionName(),i,[n.getName(`x${o}`),n.getName(`y${o}`)]))}return e}dependentFields(){return new Set(this.fields.filter(gt))}producedFields(){return new Set(this.as)}hash(){return`Geopoint ${this.projection} ${Mn(this.fields)} ${Mn(this.as)}`}assemble(){return{type:"geopoint",projection:this.projection,fields:this.fields,as:this.as}}}class Ux extends _r{clone(){return new Ux(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n}dependentFields(){return new Set([this.transform.impute,this.transform.key,...this.transform.groupby??[]])}producedFields(){return new Set([this.transform.impute])}processSequence(e){const{start:n=0,stop:r,step:i}=e;return{signal:`sequence(${[n,r,...i?[i]:[]].join(",")})`}}static makeFromTransform(e,n){return new Ux(e,n)}static makeFromEncoding(e,n){const r=n.encoding,i=r.x,o=r.y;if(Je(i)&&Je(o)){const s=i.impute?i:o.impute?o:void 0;if(s===void 0)return;const a=i.impute?o:o.impute?i:void 0,{method:l,value:u,frame:c,keyvals:f}=s.impute,d=E4e(n.mark,r);return new Ux(e,{impute:s.field,key:a.field,...l?{method:l}:{},...u!==void 0?{value:u}:{},...c?{frame:c}:{},...f!==void 0?{keyvals:f}:{},...d.length?{groupby:d}:{}})}return null}hash(){return`Impute ${Mn(this.transform)}`}assemble(){const{impute:e,key:n,keyvals:r,method:i,groupby:o,value:s,frame:a=[null,null]}=this.transform,l={type:"impute",field:e,key:n,...r?{keyvals:DVt(r)?this.processSequence(r):r}:{},method:"value",...o?{groupby:o}:{},value:!i||i==="value"?s:null};if(i&&i!=="value"){const u={type:"window",as:[`imputed_${e}_value`],ops:[i],fields:[e],frame:a,ignorePeers:!1,...o?{groupby:o}:{}},c={type:"formula",expr:`datum.${e} === null ? datum.imputed_${e}_value : datum.${e}`,as:e};return[l,u,c]}else return[l]}}class G6 extends _r{clone(){return new G6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const r=this.transform.as??[void 0,void 0];this.transform.as=[r[0]??n.on,r[1]??n.loess]}dependentFields(){return new Set([this.transform.loess,this.transform.on,...this.transform.groupby??[]])}producedFields(){return new Set(this.transform.as)}hash(){return`LoessTransform ${Mn(this.transform)}`}assemble(){const{loess:e,on:n,...r}=this.transform;return{type:"loess",x:n,y:e,...r}}}class KA extends _r{clone(){return new KA(null,Kt(this.transform),this.secondary)}constructor(e,n,r){super(e),this.transform=n,this.secondary=r}static make(e,n,r,i){const o=n.component.data.sources,{from:s}=r;let a=null;if(IVt(s)){let l=h6e(s.data,o);l||(l=new T1(s.data),o.push(l));const u=n.getName(`lookup_${i}`);a=new pl(l,u,Fi.Lookup,n.component.data.outputNodeRefCounts),n.component.data.outputNodes[u]=a}else if(LVt(s)){const l=s.param;r={as:l,...r};let u;try{u=n.getSelectionComponent(hi(l),l)}catch{throw new Error(aUt(l))}if(a=u.materialized,!a)throw new Error(lUt(l))}return new KA(e,r,a.getSource())}dependentFields(){return new Set([this.transform.lookup])}producedFields(){return new Set(this.transform.as?pt(this.transform.as):this.transform.from.fields)}hash(){return`Lookup ${Mn({transform:this.transform,secondary:this.secondary})}`}assemble(){let e;if(this.transform.from.fields)e={values:this.transform.from.fields,...this.transform.as?{as:pt(this.transform.as)}:{}};else{let n=this.transform.as;gt(n)||(Ze(mUt),n="_lookup"),e={as:[n]}}return{type:"lookup",from:this.secondary,key:this.transform.from.key,fields:[this.transform.lookup],...e,...this.transform.default?{default:this.transform.default}:{}}}}class H6 extends _r{clone(){return new H6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const r=this.transform.as??[void 0,void 0];this.transform.as=[r[0]??"prob",r[1]??"value"]}dependentFields(){return new Set([this.transform.quantile,...this.transform.groupby??[]])}producedFields(){return new Set(this.transform.as)}hash(){return`QuantileTransform ${Mn(this.transform)}`}assemble(){const{quantile:e,...n}=this.transform;return{type:"quantile",field:e,...n}}}class q6 extends _r{clone(){return new q6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n,this.transform=Kt(n);const r=this.transform.as??[void 0,void 0];this.transform.as=[r[0]??n.on,r[1]??n.regression]}dependentFields(){return new Set([this.transform.regression,this.transform.on,...this.transform.groupby??[]])}producedFields(){return new Set(this.transform.as)}hash(){return`RegressionTransform ${Mn(this.transform)}`}assemble(){const{regression:e,on:n,...r}=this.transform;return{type:"regression",x:n,y:e,...r}}}class X6 extends _r{clone(){return new X6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n}addDimensions(e){this.transform.groupby=Kd((this.transform.groupby??[]).concat(e),n=>n)}producedFields(){}dependentFields(){return new Set([this.transform.pivot,this.transform.value,...this.transform.groupby??[]])}hash(){return`PivotTransform ${Mn(this.transform)}`}assemble(){const{pivot:e,value:n,groupby:r,limit:i,op:o}=this.transform;return{type:"pivot",field:e,value:n,...i!==void 0?{limit:i}:{},...o!==void 0?{op:o}:{},...r!==void 0?{groupby:r}:{}}}}class Y6 extends _r{clone(){return new Y6(null,Kt(this.transform))}constructor(e,n){super(e),this.transform=n}dependentFields(){return new Set}producedFields(){return new Set}hash(){return`SampleTransform ${Mn(this.transform)}`}assemble(){return{type:"sample",size:this.transform.sample}}}function f6e(t){let e=0;function n(r,i){if(r instanceof T1&&!r.isGenerator&&!rC(r.data)&&(t.push(i),i={name:null,source:i.name,transform:[]}),r instanceof Xs&&(r.parent instanceof T1&&!i.source?(i.format={...i.format,parse:r.assembleFormatParse()},i.transform.push(...r.assembleTransforms(!0))):i.transform.push(...r.assembleTransforms())),r instanceof $O){i.name||(i.name=`data_${e++}`),!i.source||i.transform.length>0?(t.push(i),r.data=i.name):r.data=i.source,t.push(...r.assemble());return}switch((r instanceof qR||r instanceof XR||r instanceof lC||r instanceof LO||r instanceof oC||r instanceof QA||r instanceof $f||r instanceof KA||r instanceof FO||r instanceof xb||r instanceof V6||r instanceof W6||r instanceof B6||r instanceof G6||r instanceof H6||r instanceof q6||r instanceof vy||r instanceof Y6||r instanceof X6||r instanceof U6)&&i.transform.push(r.assemble()),(r instanceof yh||r instanceof vh||r instanceof Ux||r instanceof cg||r instanceof j_)&&i.transform.push(...r.assemble()),r instanceof pl&&(i.source&&i.transform.length===0?r.setSource(i.source):r.parent instanceof pl?r.setSource(i.name):(i.name||(i.name=`data_${e++}`),r.setSource(i.name),r.numChildren()===1&&(t.push(i),i={name:null,source:i.name,transform:[]}))),r.numChildren()){case 0:r instanceof pl&&(!i.source||i.transform.length>0)&&t.push(i);break;case 1:n(r.children[0],i);break;default:{i.name||(i.name=`data_${e++}`);let o=i.name;!i.source||i.transform.length>0?t.push(i):o=i.source;for(const s of r.children)n(s,{name:null,source:o,transform:[]});break}}}return n}function HGt(t){const e=[],n=f6e(e);for(const r of t.children)n(r,{source:t.name,name:null,transform:[]});return e}function qGt(t,e){const n=[],r=f6e(n);let i=0;for(const s of t.sources){s.hasName()||(s.dataName=`source_${i++}`);const a=s.assemble();r(s,a)}for(const s of n)s.transform.length===0&&delete s.transform;let o=0;for(const[s,a]of n.entries())(a.transform??[]).length===0&&!a.source&&n.splice(o++,0,n.splice(s,1)[0]);for(const s of n)for(const a of s.transform??[])a.type==="lookup"&&(a.from=t.outputNodes[a.from].getSource());for(const s of n)s.name in e&&(s.values=e[s.name]);return n}function XGt(t){return t==="top"||t==="left"||Mt(t)?"header":"footer"}function YGt(t){for(const e of ac)QGt(t,e);Kye(t,"x"),Kye(t,"y")}function QGt(t,e){var s;const{facet:n,config:r,child:i,component:o}=t;if(t.channelHasField(e)){const a=n[e],l=aC("title",null,r,e);let u=N_(a,r,{allowDisabling:!0,includeDefault:l===void 0||!!l});i.component.layoutHeaders[e].title&&(u=We(u)?u.join(", "):u,u+=` / ${i.component.layoutHeaders[e].title}`,i.component.layoutHeaders[e].title=null);const c=aC("labelOrient",a.header,r,e),f=a.header!==null?qi((s=a.header)==null?void 0:s.labels,r.header.labels,!0):!1,d=En(["bottom","right"],c)?"footer":"header";o.layoutHeaders[e]={title:a.header!==null?u:null,facetFieldDef:a,[d]:e==="facet"?[]:[d6e(t,e,f)]}}}function d6e(t,e,n){const r=e==="row"?"height":"width";return{labels:n,sizeSignal:t.child.component.layoutSize.get(r)?t.child.getSizeSignalRef(r):void 0,axes:[]}}function Kye(t,e){const{child:n}=t;if(n.component.axes[e]){const{layoutHeaders:r,resolve:i}=t.component;if(i.axis[e]=nae(i,e),i.axis[e]==="shared"){const o=e==="x"?"column":"row",s=r[o];for(const a of n.component.axes[e]){const l=XGt(a.get("orient"));s[l]??(s[l]=[d6e(t,o,!1)]);const u=bT(a,"main",t.config,{header:!0});u&&s[l][0].axes.push(u),a.mainExtracted=!0}}}}function KGt(t){cae(t),V5(t,"width"),V5(t,"height")}function ZGt(t){cae(t);const e=t.layout.columns===1?"width":"childWidth",n=t.layout.columns===void 0?"height":"childHeight";V5(t,e),V5(t,n)}function cae(t){for(const e of t.children)e.parseLayoutSize()}function V5(t,e){const n=NBe(e),r=p6(n),i=t.component.resolve,o=t.component.layoutSize;let s;for(const a of t.children){const l=a.component.layoutSize.getWithExplicit(n),u=i.scale[r]??jBe(r,t);if(u==="independent"&&l.value==="step"){s=void 0;break}if(s){if(u==="independent"&&s.value!==l.value){s=void 0;break}s=gy(s,l,n,"")}else s=l}if(s){for(const a of t.children)t.renameSignal(a.getName(n),t.getName(e)),a.component.layoutSize.set(n,"merged",!1);o.setWithExplicit(e,s)}else o.setWithExplicit(e,{explicit:!1,value:void 0})}function JGt(t){const{size:e,component:n}=t;for(const r of em){const i=Ol(r);if(e[i]){const o=e[i];n.layoutSize.set(i,Rh(o)?"step":o,!0)}else{const o=eHt(t,i);n.layoutSize.set(i,o,!1)}}}function eHt(t,e){const n=e==="width"?"x":"y",r=t.config,i=t.getScaleComponent(n);if(i){const o=i.get("type"),s=i.get("range");if(Wo(o)){const a=j5(r.view,e);return pb(s)||Rh(a)?"step":a}else return kY(r.view,e)}else{if(t.hasProjection||t.mark==="arc")return kY(r.view,e);{const o=j5(r.view,e);return Rh(o)?o.step:o}}}function VY(t,e,n){return lt(e,{suffix:`by_${lt(t)}`,...n})}class vk extends c6e{constructor(e,n,r,i){super(e,"facet",n,r,i,e.resolve),this.child=gae(e.spec,this,this.getName("child"),void 0,i),this.children=[this.child],this.facet=this.initFacet(e.facet)}initFacet(e){if(!BR(e))return{facet:this.initFacetFieldDef(e,"facet")};const n=Qe(e),r={};for(const i of n){if(![sg,ag].includes(i)){Ze(v6(i,"facet"));break}const o=e[i];if(o.field===void 0){Ze(SY(o,i));break}r[i]=this.initFacetFieldDef(o,i)}return r}initFacetFieldDef(e,n){const r=Ise(e,n);return r.header?r.header=is(r.header):r.header===null&&(r.header=null),r}channelHasField(e){return Ke(this.facet,e)}fieldDef(e){return this.facet[e]}parseData(){this.component.data=Q6(this),this.child.parseData()}parseLayoutSize(){cae(this)}parseSelections(){this.child.parseSelections(),this.component.selection=this.child.component.selection}parseMarkGroup(){this.child.parseMarkGroup()}parseAxesAndHeaders(){this.child.parseAxesAndHeaders(),YGt(this)}assembleSelectionTopLevelSignals(e){return this.child.assembleSelectionTopLevelSignals(e)}assembleSignals(){return this.child.assembleSignals(),[]}assembleSelectionData(e){return this.child.assembleSelectionData(e)}getHeaderLayoutMixins(){const e={};for(const n of ac)for(const r of eae){const i=this.component.layoutHeaders[n],o=i[r],{facetFieldDef:s}=i;if(s){const a=aC("titleOrient",s.header,this.config,n);if(["right","bottom"].includes(a)){const l=N6(n,a);e.titleAnchor??(e.titleAnchor={}),e.titleAnchor[l]="end"}}if(o!=null&&o[0]){const a=n==="row"?"height":"width",l=r==="header"?"headerBand":"footerBand";n!=="facet"&&!this.child.component.layoutSize.get(a)&&(e[l]??(e[l]={}),e[l][n]=.5),i.title&&(e.offset??(e.offset={}),e.offset[n==="row"?"rowTitle":"columnTitle"]=10)}}return e}assembleDefaultLayout(){const{column:e,row:n}=this.facet,r=e?this.columnDistinctSignal():n?1:void 0;let i="all";return(!n&&this.component.resolve.scale.x==="independent"||!e&&this.component.resolve.scale.y==="independent")&&(i="none"),{...this.getHeaderLayoutMixins(),...r?{columns:r}:{},bounds:"full",align:i}}assembleLayoutSignals(){return this.child.assembleLayoutSignals()}columnDistinctSignal(){if(!(this.parent&&this.parent instanceof vk))return{signal:`length(data('${this.getName("column_domain")}'))`}}assembleGroupStyle(){}assembleGroup(e){return this.parent&&this.parent instanceof vk?{...this.channelHasField("column")?{encode:{update:{columns:{field:lt(this.facet.column,{prefix:"distinct"})}}}}:{},...super.assembleGroup(e)}:super.assembleGroup(e)}getCardinalityAggregateForChild(){const e=[],n=[],r=[];if(this.child instanceof vk){if(this.child.channelHasField("column")){const i=lt(this.child.facet.column);e.push(i),n.push("distinct"),r.push(`distinct_${i}`)}}else for(const i of em){const o=this.child.component.scales[i];if(o&&!o.merged){const s=o.get("type"),a=o.get("range");if(Wo(s)&&pb(a)){const l=j6(this.child,i),u=aae(l);u?(e.push(u),n.push("distinct"),r.push(`distinct_${u}`)):Ze(use(i))}}}return{fields:e,ops:n,as:r}}assembleFacet(){const{name:e,data:n}=this.component.data.facetRoot,{row:r,column:i}=this.facet,{fields:o,ops:s,as:a}=this.getCardinalityAggregateForChild(),l=[];for(const c of ac){const f=this.facet[c];if(f){l.push(lt(f));const{bin:d,sort:h}=f;if(Gr(d)&&l.push(lt(f,{binSuffix:"end"})),lg(h)){const{field:p,op:g=C6}=h,m=VY(f,h);r&&i?(o.push(m),s.push("max"),a.push(m)):(o.push(p),s.push(g),a.push(m))}else if(We(h)){const p=sC(f,c);o.push(p),s.push("max"),a.push(p)}}}const u=!!r&&!!i;return{name:e,data:n,groupby:l,...u||o.length>0?{aggregate:{...u?{cross:u}:{},...o.length?{fields:o,ops:s,as:a}:{}}}:{}}}facetSortFields(e){const{facet:n}=this,r=n[e];return r?lg(r.sort)?[VY(r,r.sort,{expr:"datum"})]:We(r.sort)?[sC(r,e,{expr:"datum"})]:[lt(r,{expr:"datum"})]:[]}facetSortOrder(e){const{facet:n}=this,r=n[e];if(r){const{sort:i}=r;return[(lg(i)?i.order:!We(i)&&i)||"ascending"]}return[]}assembleLabelTitle(){var i;const{facet:e,config:n}=this;if(e.facet)return FY(e.facet,"facet",n);const r={row:["top","bottom"],column:["left","right"]};for(const o of Jse)if(e[o]){const s=aC("labelOrient",(i=e[o])==null?void 0:i.header,n,o);if(r[o].includes(s))return FY(e[o],o,n)}}assembleMarks(){const{child:e}=this,n=this.component.data.facetRoot,r=HGt(n),i=e.assembleGroupEncodeEntry(!1),o=this.assembleLabelTitle()||e.assembleTitle(),s=e.assembleGroupStyle();return[{name:this.getName("cell"),type:"group",...o?{title:o}:{},...s?{style:s}:{},from:{facet:this.assembleFacet()},sort:{field:ac.map(l=>this.facetSortFields(l)).flat(),order:ac.map(l=>this.facetSortOrder(l)).flat()},...r.length>0?{data:r}:{},...i?{encode:{update:i}}:{},...e.assembleGroup(d9t(this,[]))}]}getMapping(){return this.facet}}function tHt(t,e){const{row:n,column:r}=e;if(n&&r){let i=null;for(const o of[n,r])if(lg(o.sort)){const{field:s,op:a=C6}=o.sort;t=i=new xb(t,{joinaggregate:[{op:a,field:s,as:VY(o,o.sort,{forAs:!0})}],groupby:[lt(o)]})}return i}return null}function h6e(t,e){var n,r,i,o;for(const s of e){const a=s.data;if(t.name&&s.hasName()&&t.name!==s.dataName)continue;const l=(n=t.format)==null?void 0:n.mesh,u=(r=a.format)==null?void 0:r.feature;if(l&&u)continue;const c=(i=t.format)==null?void 0:i.feature;if((c||u)&&c!==u)continue;const f=(o=a.format)==null?void 0:o.mesh;if(!((l||f)&&l!==f)){if(YA(t)&&YA(a)){if(su(t.values,a.values))return s}else if(rC(t)&&rC(a)){if(t.url===a.url)return s}else if(nBe(t)&&t.name===s.dataName)return s}}return null}function nHt(t,e){if(t.data||!t.parent){if(t.data===null){const r=new T1({values:[]});return e.push(r),r}const n=h6e(t.data,e);if(n)return Uv(t.data)||(n.data.format=Kze({},t.data.format,n.data.format)),!n.hasName()&&t.data.name&&(n.dataName=t.data.name),n;{const r=new T1(t.data);return e.push(r),r}}else return t.parent.component.data.facetRoot?t.parent.component.data.facetRoot:t.parent.component.data.main}function rHt(t,e,n){let r=0;for(const i of e.transforms){let o,s;if(GVt(i))s=t=new oC(t,i),o="derived";else if(Hse(i)){const a=q7t(i);s=t=Xs.makeWithAncestors(t,{},a,n)??t,t=new LO(t,e,i.filter)}else if(K4e(i))s=t=yh.makeFromTransform(t,i,e),o="number";else if(qVt(i))o="date",n.getWithExplicit(i.field).value===void 0&&(t=new Xs(t,{[i.field]:o}),n.set(i.field,o,!1)),s=t=vh.makeFromTransform(t,i);else if(XVt(i))s=t=$f.makeFromTransform(t,i),o="number",Zse(e)&&(t=new vy(t));else if(Q4e(i))s=t=KA.make(t,e,i,r++),o="derived";else if(UVt(i))s=t=new FO(t,i),o="number";else if(WVt(i))s=t=new xb(t,i),o="number";else if(YVt(i))s=t=cg.makeFromTransform(t,i),o="derived";else if(QVt(i))s=t=new V6(t,i),o="derived";else if(KVt(i))s=t=new U6(t,i),o="derived";else if(VVt(i))s=t=new W6(t,i),o="derived";else if($Vt(i))s=t=new X6(t,i),o="derived";else if(BVt(i))t=new Y6(t,i);else if(HVt(i))s=t=Ux.makeFromTransform(t,i),o="derived";else if(FVt(i))s=t=new B6(t,i),o="derived";else if(NVt(i))s=t=new H6(t,i),o="derived";else if(zVt(i))s=t=new q6(t,i),o="derived";else if(jVt(i))s=t=new G6(t,i),o="derived";else{Ze(gUt(i));continue}if(s&&o!==void 0)for(const a of s.producedFields()??[])n.set(a,o,!1)}return t}function Q6(t){var m;let e=nHt(t,t.component.data.sources);const{outputNodes:n,outputNodeRefCounts:r}=t.component.data,i=t.data,s=!(i&&(Uv(i)||rC(i)||YA(i)))&&t.parent?t.parent.component.data.ancestorParse.clone():new u9t;Uv(i)?(rBe(i)?e=new XR(e,i.sequence):qse(i)&&(e=new qR(e,i.graticule)),s.parseNothing=!0):((m=i==null?void 0:i.format)==null?void 0:m.parse)===null&&(s.parseNothing=!0),e=Xs.makeExplicit(e,t,s)??e,e=new vy(e);const a=t.parent&&NO(t.parent);(wi(t)||pu(t))&&a&&(e=yh.makeFromEncoding(e,t)??e),t.transforms.length>0&&(e=rHt(e,t,s));const l=Y7t(t),u=X7t(t);e=Xs.makeWithAncestors(e,{},{...l,...u},s)??e,wi(t)&&(e=j_.parseAll(e,t),e=QA.parseAll(e,t)),(wi(t)||pu(t))&&(a||(e=yh.makeFromEncoding(e,t)??e),e=vh.makeFromEncoding(e,t)??e,e=oC.parseAllForSortIndex(e,t));const c=e=rL(Fi.Raw,t,e);if(wi(t)){const v=$f.makeFromEncoding(e,t);v&&(e=v,Zse(t)&&(e=new vy(e))),e=Ux.makeFromEncoding(e,t)??e,e=cg.makeFromEncoding(e,t)??e}let f,d;if(wi(t)){const{markDef:v,mark:y,config:x}=t,b=Or("invalid",v,x),{marks:w,scales:_}=d=oBe({invalid:b,isPath:Ky(y)});w!==_&&_==="include-invalid-values"&&(f=e=rL(Fi.PreFilterInvalid,t,e)),w==="exclude-invalid-values"&&(e=lC.make(e,t,d)??e)}const h=e=rL(Fi.Main,t,e);let p;if(wi(t)&&d){const{marks:v,scales:y}=d;v==="include-invalid-values"&&y==="exclude-invalid-values"&&(e=lC.make(e,t,d)??e,p=e=rL(Fi.PostFilterInvalid,t,e))}wi(t)&&V9t(t,h);let g=null;if(pu(t)){const v=t.getName("facet");e=tHt(e,t.facet)??e,g=new $O(e,t,v,h.getSource()),n[v]=g}return{...t.component.data,outputNodes:n,outputNodeRefCounts:r,raw:c,main:h,facetRoot:g,ancestorParse:s,preFilterInvalid:f,postFilterInvalid:p}}function rL(t,e,n){const{outputNodes:r,outputNodeRefCounts:i}=e.component.data,o=e.getDataName(t),s=new pl(n,o,t,i);return r[o]=s,s}class iHt extends uae{constructor(e,n,r,i){var o,s,a,l;super(e,"concat",n,r,i,e.resolve),(((s=(o=e.resolve)==null?void 0:o.axis)==null?void 0:s.x)==="shared"||((l=(a=e.resolve)==null?void 0:a.axis)==null?void 0:l.y)==="shared")&&Ze(dUt),this.children=this.getChildren(e).map((u,c)=>gae(u,this,this.getName(`concat_${c}`),void 0,i))}parseData(){this.component.data=Q6(this);for(const e of this.children)e.parseData()}parseSelections(){this.component.selection={};for(const e of this.children){e.parseSelections();for(const n of Qe(e.component.selection))this.component.selection[n]=e.component.selection[n]}}parseMarkGroup(){for(const e of this.children)e.parseMarkGroup()}parseAxesAndHeaders(){for(const e of this.children)e.parseAxesAndHeaders()}getChildren(e){return M6(e)?e.vconcat:Vse(e)?e.hconcat:e.concat}parseLayoutSize(){ZGt(this)}parseAxisGroup(){return null}assembleSelectionTopLevelSignals(e){return this.children.reduce((n,r)=>r.assembleSelectionTopLevelSignals(n),e)}assembleSignals(){return this.children.forEach(e=>e.assembleSignals()),[]}assembleLayoutSignals(){const e=tae(this);for(const n of this.children)e.push(...n.assembleLayoutSignals());return e}assembleSelectionData(e){return this.children.reduce((n,r)=>r.assembleSelectionData(n),e)}assembleMarks(){return this.children.map(e=>{const n=e.assembleTitle(),r=e.assembleGroupStyle(),i=e.assembleGroupEncodeEntry(!1);return{type:"group",name:e.getName("group"),...n?{title:n}:{},...r?{style:r}:{},...i?{encode:{update:i}}:{},...e.assembleGroup()}})}assembleGroupStyle(){}assembleDefaultLayout(){const e=this.layout.columns;return{...e!=null?{columns:e}:{},bounds:"full",align:"each"}}}function oHt(t){return t===!1||t===null}const sHt={disable:1,gridScale:1,scale:1,...b4e,labelExpr:1,encode:1},p6e=Qe(sHt);class fae extends nm{constructor(e={},n={},r=!1){super(),this.explicit=e,this.implicit=n,this.mainExtracted=r}clone(){return new fae(Kt(this.explicit),Kt(this.implicit),this.mainExtracted)}hasAxisPart(e){return e==="axis"?!0:e==="grid"||e==="title"?!!this.get(e):!oHt(this.get(e))}hasOrientSignalRef(){return Mt(this.explicit.orient)}}function aHt(t,e,n){const{encoding:r,config:i}=t,o=_o(r[e])??_o(r[Xh(e)]),s=t.axis(e)||{},{format:a,formatType:l}=s;if(C1(l))return{text:kf({fieldOrDatumDef:o,field:"datum.value",format:a,formatType:l,config:i}),...n};if(a===void 0&&l===void 0&&i.customFormatTypes){if(eC(o)==="quantitative"){if(tC(o)&&o.stack==="normalize"&&i.normalizedNumberFormatType)return{text:kf({fieldOrDatumDef:o,field:"datum.value",format:i.normalizedNumberFormat,formatType:i.normalizedNumberFormatType,config:i}),...n};if(i.numberFormatType)return{text:kf({fieldOrDatumDef:o,field:"datum.value",format:i.numberFormat,formatType:i.numberFormatType,config:i}),...n}}if(eC(o)==="temporal"&&i.timeFormatType&&Je(o)&&!o.timeUnit)return{text:kf({fieldOrDatumDef:o,field:"datum.value",format:i.timeFormat,formatType:i.timeFormatType,config:i}),...n}}return n}function lHt(t){return em.reduce((e,n)=>(t.component.scales[n]&&(e[n]=[gHt(n,t)]),e),{})}const uHt={bottom:"top",top:"bottom",left:"right",right:"left"};function cHt(t){const{axes:e,resolve:n}=t.component,r={top:0,bottom:0,right:0,left:0};for(const i of t.children){i.parseAxesAndHeaders();for(const o of Qe(i.component.axes))n.axis[o]=nae(t.component.resolve,o),n.axis[o]==="shared"&&(e[o]=fHt(e[o],i.component.axes[o]),e[o]||(n.axis[o]="independent",delete e[o]))}for(const i of em){for(const o of t.children)if(o.component.axes[i]){if(n.axis[i]==="independent"){e[i]=(e[i]??[]).concat(o.component.axes[i]);for(const s of o.component.axes[i]){const{value:a,explicit:l}=s.getWithExplicit("orient");if(!Mt(a)){if(r[a]>0&&!l){const u=uHt[a];r[a]>r[u]&&s.set("orient",u,!1)}r[a]++}}}delete o.component.axes[i]}if(n.axis[i]==="independent"&&e[i]&&e[i].length>1)for(const[o,s]of(e[i]||[]).entries())o>0&&s.get("grid")&&!s.explicit.grid&&(s.implicit.grid=!1)}}function fHt(t,e){if(t){if(t.length!==e.length)return;const n=t.length;for(let r=0;rn.clone());return t}function dHt(t,e){for(const n of p6e){const r=gy(t.getWithExplicit(n),e.getWithExplicit(n),n,"axis",(i,o)=>{switch(n){case"title":return Cje(i,o);case"gridScale":return{explicit:i.explicit,value:qi(i.value,o.value)}}return D6(i,o,n,"axis")});t.setWithExplicit(n,r)}return t}function hHt(t,e,n,r,i){if(e==="disable")return n!==void 0;switch(n=n||{},e){case"titleAngle":case"labelAngle":return t===(Mt(n.labelAngle)?n.labelAngle:qA(n.labelAngle));case"values":return!!n.values;case"encode":return!!n.encoding||!!n.labelAngle;case"title":if(t===DBe(r,i))return!0}return t===n[e]}const pHt=new Set(["grid","translate","format","formatType","orient","labelExpr","tickCount","position","tickMinStep"]);function gHt(t,e){var v,y;let n=e.axis(t);const r=new fae,i=_o(e.encoding[t]),{mark:o,config:s}=e,a=(n==null?void 0:n.orient)||((v=s[t==="x"?"axisX":"axisY"])==null?void 0:v.orient)||((y=s.axis)==null?void 0:y.orient)||e7t(t),l=e.getScaleComponent(t).get("type"),u=q9t(t,l,a,e.config),c=n!==void 0?!n:LY("disable",s.style,n==null?void 0:n.style,u).configValue;if(r.set("disable",c,n!==void 0),c)return r;n=n||{};const f=K9t(i,n,t,s.style,u),d=s4e(n.formatType,i,l),h=o4e(i,i.type,n.format,n.formatType,s,!0),p={fieldOrDatumDef:i,axis:n,channel:t,model:e,scaleType:l,orient:a,labelAngle:f,format:h,formatType:d,mark:o,config:s};for(const x of p6e){const b=x in $ye?$ye[x](p):lye(x)?n[x]:void 0,w=b!==void 0,_=hHt(b,x,n,e,t);if(w&&_)r.set(x,b,_);else{const{configValue:S=void 0,configFrom:O=void 0}=lye(x)&&x!=="values"?LY(x,s.style,n.style,u):{},k=S!==void 0;w&&!k?r.set(x,b,_):(O!=="vgAxisConfig"||pHt.has(x)&&k||GR(S)||Mt(S))&&r.set(x,S,!1)}}const g=n.encoding??{},m=x4e.reduce((x,b)=>{if(!r.hasAxisPart(b))return x;const w=zBe(g[b]??{},e),_=b==="labels"?aHt(e,t,w):w;return _!==void 0&&!Er(_)&&(x[b]={update:_}),x},{});return Er(m)||r.set("encode",m,!!n.encoding||n.labelAngle!==void 0),r}function mHt({encoding:t,size:e}){for(const n of em){const r=Ol(n);Rh(e[r])&&xv(t[n])&&(delete e[r],Ze(Aje(r)))}return e}const vHt={vgMark:"arc",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"}),..._a("x",t,{defaultPos:"mid"}),..._a("y",t,{defaultPos:"mid"}),...Fg(t,"radius"),...Fg(t,"theta")})},yHt={vgMark:"area",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",orient:"include",size:"ignore",theta:"ignore"}),...B5("x",t,{defaultPos:"zeroOrMin",defaultPos2:"zeroOrMin",range:t.markDef.orient==="horizontal"}),...B5("y",t,{defaultPos:"zeroOrMin",defaultPos2:"zeroOrMin",range:t.markDef.orient==="vertical"}),...Kse(t)})},xHt={vgMark:"rect",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"}),...Fg(t,"x"),...Fg(t,"y")})},bHt={vgMark:"shape",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"})}),postEncodingTransform:t=>{const{encoding:e}=t,n=e.shape;return[{type:"geoshape",projection:t.projectionName(),...n&&Je(n)&&n.type===DO?{field:lt(n,{expr:"datum"})}:{}}]}},wHt={vgMark:"image",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"ignore",orient:"ignore",size:"ignore",theta:"ignore"}),...Fg(t,"x"),...Fg(t,"y"),...Yse(t,"url")})},_Ht={vgMark:"line",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",size:"ignore",orient:"ignore",theta:"ignore"}),..._a("x",t,{defaultPos:"mid"}),..._a("y",t,{defaultPos:"mid"}),...us("size",t,{vgChannel:"strokeWidth"}),...Kse(t)})},SHt={vgMark:"trail",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",size:"include",orient:"ignore",theta:"ignore"}),..._a("x",t,{defaultPos:"mid"}),..._a("y",t,{defaultPos:"mid"}),...us("size",t),...Kse(t)})};function dae(t,e){const{config:n}=t;return{...Bc(t,{align:"ignore",baseline:"ignore",color:"include",size:"include",orient:"ignore",theta:"ignore"}),..._a("x",t,{defaultPos:"mid"}),..._a("y",t,{defaultPos:"mid"}),...us("size",t),...us("angle",t),...CHt(t,n,e)}}function CHt(t,e,n){return n?{shape:{value:n}}:us("shape",t)}const OHt={vgMark:"symbol",encodeEntry:t=>dae(t)},EHt={vgMark:"symbol",encodeEntry:t=>dae(t,"circle")},THt={vgMark:"symbol",encodeEntry:t=>dae(t,"square")},kHt={vgMark:"rect",encodeEntry:t=>({...Bc(t,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"}),...Fg(t,"x"),...Fg(t,"y")})},AHt={vgMark:"rule",encodeEntry:t=>{const{markDef:e}=t,n=e.orient;return!t.encoding.x&&!t.encoding.y&&!t.encoding.latitude&&!t.encoding.longitude?{}:{...Bc(t,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"}),...B5("x",t,{defaultPos:n==="horizontal"?"zeroOrMax":"mid",defaultPos2:"zeroOrMin",range:n!=="vertical"}),...B5("y",t,{defaultPos:n==="vertical"?"zeroOrMax":"mid",defaultPos2:"zeroOrMin",range:n!=="horizontal"}),...us("size",t,{vgChannel:"strokeWidth"})}}},PHt={vgMark:"text",encodeEntry:t=>{const{config:e,encoding:n}=t;return{...Bc(t,{align:"include",baseline:"include",color:"include",size:"ignore",orient:"ignore",theta:"include"}),..._a("x",t,{defaultPos:"mid"}),..._a("y",t,{defaultPos:"mid"}),...Yse(t),...us("size",t,{vgChannel:"fontSize"}),...us("angle",t),...Rye("align",MHt(t.markDef,n,e)),...Rye("baseline",RHt(t.markDef,n,e)),..._a("radius",t,{defaultPos:null}),..._a("theta",t,{defaultPos:null})}}};function MHt(t,e,n){if(Or("align",t,n)===void 0)return"center"}function RHt(t,e,n){if(Or("baseline",t,n)===void 0)return"middle"}const DHt={vgMark:"rect",encodeEntry:t=>{const{config:e,markDef:n}=t,r=n.orient,i=r==="horizontal"?"x":"y",o=r==="horizontal"?"y":"x",s=r==="horizontal"?"height":"width";return{...Bc(t,{align:"ignore",baseline:"ignore",color:"include",orient:"ignore",size:"ignore",theta:"ignore"}),...Fg(t,i),..._a(o,t,{defaultPos:"mid",vgChannel:o==="y"?"yc":"xc"}),[s]:Jr(Or("thickness",n,e))}}},iL={arc:vHt,area:yHt,bar:xHt,circle:EHt,geoshape:bHt,image:wHt,line:_Ht,point:OHt,rect:kHt,rule:AHt,square:THt,text:PHt,tick:DHt,trail:SHt};function IHt(t){if(En([_6,b6,U8t],t.mark)){const e=E4e(t.mark,t.encoding);if(e.length>0)return LHt(t,e)}else if(t.mark===w6){const e=wY.some(n=>Or(n,t.markDef,t.config));if(t.stack&&!t.fieldDef("size")&&e)return $Ht(t)}return hae(t)}const Zye="faceted_path_";function LHt(t,e){return[{name:t.getName("pathgroup"),type:"group",from:{facet:{name:Zye+t.requestDataName(Fi.Main),data:t.requestDataName(Fi.Main),groupby:e}},encode:{update:{width:{field:{group:"width"}},height:{field:{group:"height"}}}},marks:hae(t,{fromPrefix:Zye})}]}const Jye="stack_group_";function $Ht(t){var u;const[e]=hae(t,{fromPrefix:Jye}),n=t.scaleName(t.stack.fieldChannel),r=(c={})=>t.vgField(t.stack.fieldChannel,c),i=(c,f)=>{const d=[r({prefix:"min",suffix:"start",expr:f}),r({prefix:"max",suffix:"start",expr:f}),r({prefix:"min",suffix:"end",expr:f}),r({prefix:"max",suffix:"end",expr:f})];return`${c}(${d.map(h=>`scale('${n}',${h})`).join(",")})`};let o,s;t.stack.fieldChannel==="x"?(o={...qS(e.encode.update,["y","yc","y2","height",...wY]),x:{signal:i("min","datum")},x2:{signal:i("max","datum")},clip:{value:!0}},s={x:{field:{group:"x"},mult:-1},height:{field:{group:"height"}}},e.encode.update={...hl(e.encode.update,["y","yc","y2"]),height:{field:{group:"height"}}}):(o={...qS(e.encode.update,["x","xc","x2","width"]),y:{signal:i("min","datum")},y2:{signal:i("max","datum")},clip:{value:!0}},s={y:{field:{group:"y"},mult:-1},width:{field:{group:"width"}}},e.encode.update={...hl(e.encode.update,["x","xc","x2"]),width:{field:{group:"width"}}});for(const c of wY){const f=Ph(c,t.markDef,t.config);e.encode.update[c]?(o[c]=e.encode.update[c],delete e.encode.update[c]):f&&(o[c]=Jr(f)),f&&(e.encode.update[c]={value:0})}const a=[];if(((u=t.stack.groupbyChannels)==null?void 0:u.length)>0)for(const c of t.stack.groupbyChannels){const f=t.fieldDef(c),d=lt(f);d&&a.push(d),(f!=null&&f.bin||f!=null&&f.timeUnit)&&a.push(lt(f,{binSuffix:"end"}))}return o=["stroke","strokeWidth","strokeJoin","strokeCap","strokeDash","strokeDashOffset","strokeMiterLimit","strokeOpacity"].reduce((c,f)=>{if(e.encode.update[f])return{...c,[f]:e.encode.update[f]};{const d=Ph(f,t.markDef,t.config);return d!==void 0?{...c,[f]:Jr(d)}:c}},o),o.stroke&&(o.strokeForeground={value:!0},o.strokeOffset={value:0}),[{type:"group",from:{facet:{data:t.requestDataName(Fi.Main),name:Jye+t.requestDataName(Fi.Main),groupby:a,aggregate:{fields:[r({suffix:"start"}),r({suffix:"start"}),r({suffix:"end"}),r({suffix:"end"})],ops:["min","max","min","max"]}}},encode:{update:o},marks:[{type:"group",encode:{update:s},marks:[e]}]}]}function FHt(t){const{encoding:e,stack:n,mark:r,markDef:i,config:o}=t,s=e.order;if(!(!We(s)&&qf(s)&&xY(s.value)||!s&&xY(Or("order",i,o)))){if((We(s)||Je(s))&&!n)return wje(s,{expr:"datum"});if(Ky(r)){const a=i.orient==="horizontal"?"y":"x",l=e[a];if(Je(l))return{field:a}}}}function hae(t,e={fromPrefix:""}){const{mark:n,markDef:r,encoding:i,config:o}=t,s=qi(r.clip,NHt(t),zHt(t)),a=xje(r),l=i.key,u=FHt(t),c=jHt(t),f=Or("aria",r,o),d=iL[n].postEncodingTransform?iL[n].postEncodingTransform(t):null;return[{name:t.getName("marks"),type:iL[n].vgMark,...s?{clip:s}:{},...a?{style:a}:{},...l?{key:l.field}:{},...u?{sort:u}:{},...c||{},...f===!1?{aria:f}:{},from:{data:e.fromPrefix+t.requestDataName(Fi.Main)},encode:{update:iL[n].encodeEntry(t)},...d?{transform:d}:{}}]}function NHt(t){const e=t.getScaleComponent("x"),n=t.getScaleComponent("y");return e!=null&&e.get("selectionExtent")||n!=null&&n.get("selectionExtent")?!0:void 0}function zHt(t){const e=t.component.projection;return e&&!e.isFit?!0:void 0}function jHt(t){if(!t.component.selection)return null;const e=Qe(t.component.selection).length;let n=e,r=t.parent;for(;r&&n===0;)n=Qe(r.component.selection).length,r=r.parent;return n?{interactive:e>0||t.mark==="geoshape"||!!t.encoding.tooltip||!!t.markDef.tooltip}:null}class g6e extends c6e{constructor(e,n,r,i={},o){super(e,"unit",n,r,o,void 0,cye(e)?e.view:void 0),this.specifiedScales={},this.specifiedAxes={},this.specifiedLegends={},this.specifiedProjection={},this.selection=[],this.children=[];const s=Mh(e.mark)?{...e.mark}:{type:e.mark},a=s.type;s.filled===void 0&&(s.filled=OVt(s,o,{graticule:e.data&&qse(e.data)}));const l=this.encoding=AWt(e.encoding||{},a,s.filled,o);this.markDef=q4e(s,l,o),this.size=mHt({encoding:l,size:cye(e)?{...i,...e.width?{width:e.width}:{},...e.height?{height:e.height}:{}}:i}),this.stack=H4e(this.markDef,l),this.specifiedScales=this.initScales(a,l),this.specifiedAxes=this.initAxes(l),this.specifiedLegends=this.initLegends(l),this.specifiedProjection=e.projection,this.selection=(e.params??[]).filter(u=>Use(u))}get hasProjection(){const{encoding:e}=this,n=this.mark===Zje,r=e&&O6t.some(i=>en(e[i]));return n||r}scaleDomain(e){const n=this.specifiedScales[e];return n?n.domain:void 0}axis(e){return this.specifiedAxes[e]}legend(e){return this.specifiedLegends[e]}initScales(e,n){return sse.reduce((r,i)=>{const o=_o(n[i]);return o&&(r[i]=this.initScale(o.scale??{})),r},{})}initScale(e){const{domain:n,range:r}=e,i=is(e);return We(n)&&(i.domain=n.map(eu)),We(r)&&(i.range=r.map(eu)),i}initAxes(e){return em.reduce((n,r)=>{const i=e[r];if(en(i)||r===vi&&en(e.x2)||r===Yo&&en(e.y2)){const o=en(i)?i.axis:void 0;n[r]=o&&this.initAxis({...o})}return n},{})}initAxis(e){const n=Qe(e),r={};for(const i of n){const o=e[i];r[i]=GR(o)?yje(o):eu(o)}return r}initLegends(e){return L6t.reduce((n,r)=>{const i=_o(e[r]);if(i&&F6t(r)){const o=i.legend;n[r]=o&&is(o)}return n},{})}parseData(){this.component.data=Q6(this)}parseLayoutSize(){JGt(this)}parseSelections(){this.component.selection=W9t(this,this.selection)}parseMarkGroup(){this.component.mark=IHt(this)}parseAxesAndHeaders(){this.component.axes=lHt(this)}assembleSelectionTopLevelSignals(e){return h9t(this,e)}assembleSignals(){return[...PBe(this),...f9t(this,[])]}assembleSelectionData(e){return p9t(this,e)}assembleLayout(){return null}assembleLayoutSignals(){return tae(this)}assembleMarks(){let e=this.component.mark??[];return(!this.parent||!NO(this.parent))&&(e=aBe(this,e)),e.map(this.correctDataNames)}assembleGroupStyle(){const{style:e}=this.view||{};return e!==void 0?e:this.encoding.x||this.encoding.y?"cell":"view"}getMapping(){return this.encoding}get mark(){return this.markDef.type}channelHasField(e){return jx(this.encoding,e)}fieldDef(e){const n=this.encoding[e];return Xf(n)}typedFieldDef(e){const n=this.fieldDef(e);return Pa(n)?n:null}}class pae extends uae{constructor(e,n,r,i,o){super(e,"layer",n,r,o,e.resolve,e.view);const s={...i,...e.width?{width:e.width}:{},...e.height?{height:e.height}:{}};this.children=e.layer.map((a,l)=>{if(R6(a))return new pae(a,this,this.getName(`layer_${l}`),s,o);if(tm(a))return new g6e(a,this,this.getName(`layer_${l}`),s,o);throw new Error(lse(a))})}parseData(){this.component.data=Q6(this);for(const e of this.children)e.parseData()}parseLayoutSize(){KGt(this)}parseSelections(){this.component.selection={};for(const e of this.children){e.parseSelections();for(const n of Qe(e.component.selection))this.component.selection[n]=e.component.selection[n]}}parseMarkGroup(){for(const e of this.children)e.parseMarkGroup()}parseAxesAndHeaders(){cHt(this)}assembleSelectionTopLevelSignals(e){return this.children.reduce((n,r)=>r.assembleSelectionTopLevelSignals(n),e)}assembleSignals(){return this.children.reduce((e,n)=>e.concat(n.assembleSignals()),PBe(this))}assembleLayoutSignals(){return this.children.reduce((e,n)=>e.concat(n.assembleLayoutSignals()),tae(this))}assembleSelectionData(e){return this.children.reduce((n,r)=>r.assembleSelectionData(n),e)}assembleGroupStyle(){const e=new Set;for(const r of this.children)for(const i of pt(r.assembleGroupStyle()))e.add(i);const n=Array.from(e);return n.length>1?n:n.length===1?n[0]:void 0}assembleTitle(){let e=super.assembleTitle();if(e)return e;for(const n of this.children)if(e=n.assembleTitle(),e)return e}assembleLayout(){return null}assembleMarks(){return g9t(this,this.children.flatMap(e=>e.assembleMarks()))}assembleLegends(){return this.children.reduce((e,n)=>e.concat(n.assembleLegends()),qBe(this))}}function gae(t,e,n,r,i){if(O6(t))return new vk(t,e,n,i);if(R6(t))return new pae(t,e,n,r,i);if(tm(t))return new g6e(t,e,n,r,i);if(JWt(t))return new iHt(t,e,n,i);throw new Error(lse(t))}function BHt(t,e={}){e.logger&&n8t(e.logger),e.fieldTitle&&m4e(e.fieldTitle);try{const n=G4e(gO(e.config,t.config)),r=eBe(t,n),i=gae(r,null,"",void 0,n);return i.parse(),fGt(i.component.data,i),{spec:WHt(i,UHt(t,r.autosize,n,i),t.datasets,t.usermeta),normalized:r}}finally{e.logger&&r8t(),e.fieldTitle&&bWt()}}function UHt(t,e,n,r){const i=r.component.layoutSize.get("width"),o=r.component.layoutSize.get("height");if(e===void 0?(e={type:"pad"},r.hasAxisOrientSignalRef()&&(e.resize=!0)):gt(e)&&(e={type:e}),i&&o&&s9t(e.type)){if(i==="step"&&o==="step")Ze(Xve()),e.type="pad";else if(i==="step"||o==="step"){const s=i==="step"?"width":"height";Ze(Xve(p6(s)));const a=s==="width"?"height":"width";e.type=a9t(a)}}return{...Qe(e).length===1&&e.type?e.type==="pad"?{}:{autosize:e.type}:{autosize:e},..._ye(n,!1),..._ye(t,!0)}}function WHt(t,e,n={},r){const i=t.config?hVt(t.config):void 0,o=[].concat(t.assembleSelectionData([]),qGt(t.component.data,n)),s=t.assembleProjections(),a=t.assembleTitle(),l=t.assembleGroupStyle(),u=t.assembleGroupEncodeEntry(!0);let c=t.assembleLayoutSignals();c=c.filter(h=>(h.name==="width"||h.name==="height")&&h.value!==void 0?(e[h.name]=+h.value,!1):!0);const{params:f,...d}=e;return{$schema:"https://vega.github.io/schema/vega/v5.json",...t.description?{description:t.description}:{},...d,...a?{title:a}:{},...l?{style:l}:{},...u?{encode:{update:u}}:{},data:o,...s.length>0?{projections:s}:{},...t.assembleGroup([...c,...t.assembleSelectionTopLevelSignals([]),...B4e(f)]),...i?{config:i}:{},...r?{usermeta:r}:{}}}const VHt=x6t.version,GHt=Object.freeze(Object.defineProperty({__proto__:null,accessPathDepth:YS,accessPathWithDatum:Zoe,compile:BHt,contains:En,deepEqual:su,deleteNestedProperty:M5,duplicate:Kt,entries:dy,every:Yoe,fieldIntersection:Koe,flatAccessWithDatum:Jze,getFirstDefined:qi,hasIntersection:Qoe,hasProperty:Ke,hash:Mn,internalField:nje,isBoolean:HA,isEmpty:Er,isEqual:w6t,isInternalField:rje,isNullOrFalse:xY,isNumeric:l6,keys:Qe,logicalExpr:gk,mergeDeep:Kze,never:Qze,normalize:eBe,normalizeAngle:qA,omit:hl,pick:qS,prefixGenerator:bY,removePathFromField:MO,replaceAll:x1,replacePathInField:Mc,resetIdCounter:S6t,setEqual:Zze,some:XS,stringify:Tr,titleCase:IR,unique:Kd,uniqueId:tje,vals:bs,varName:hi,version:VHt},Symbol.toStringTag,{value:"Module"}));function m6e(t){const[e,n]=/schema\/([\w-]+)\/([\w\.\-]+)\.json$/g.exec(t).slice(1,3);return{library:e,version:n}}var HHt="vega-themes",qHt="2.15.0",XHt="Themes for stylized Vega and Vega-Lite visualizations.",YHt=["vega","vega-lite","themes","style"],QHt="BSD-3-Clause",KHt={name:"UW Interactive Data Lab",url:"https://idl.cs.washington.edu"},ZHt=[{name:"Emily Gu",url:"https://github.com/emilygu"},{name:"Arvind Satyanarayan",url:"http://arvindsatya.com"},{name:"Jeffrey Heer",url:"https://idl.cs.washington.edu"},{name:"Dominik Moritz",url:"https://www.domoritz.de"}],JHt="build/vega-themes.js",eqt="build/vega-themes.module.js",tqt="build/vega-themes.min.js",nqt="build/vega-themes.min.js",rqt="build/vega-themes.module.d.ts",iqt={type:"git",url:"https://github.com/vega/vega-themes.git"},oqt=["src","build"],sqt={prebuild:"yarn clean",build:"rollup -c",clean:"rimraf build && rimraf examples/build","copy:data":"rsync -r node_modules/vega-datasets/data/* examples/data","copy:build":"rsync -r build/* examples/build","deploy:gh":"yarn build && mkdir -p examples/build && rsync -r build/* examples/build && gh-pages -d examples",preversion:"yarn lint",serve:"browser-sync start -s -f build examples --serveStatic examples",start:"yarn build && concurrently --kill-others -n Server,Rollup 'yarn serve' 'rollup -c -w'",format:"eslint . --fix",lint:"eslint .",release:"release-it"},aqt={"@babel/core":"^7.24.6","@babel/plugin-transform-runtime":"^7.24.6","@babel/preset-env":"^7.24.6","@babel/preset-typescript":"^7.24.6","@release-it/conventional-changelog":"^8.0.1","@rollup/plugin-json":"^6.1.0","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@typescript-eslint/eslint-plugin":"^7.11.0","@typescript-eslint/parser":"^7.11.0","browser-sync":"^3.0.2",concurrently:"^8.2.2",eslint:"^8.45.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","gh-pages":"^6.1.1",prettier:"^3.2.5","release-it":"^17.3.0",rollup:"^4.18.0","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-ts":"^3.4.5",typescript:"^5.4.5",vega:"^5.25.0","vega-lite":"^5.9.3"},lqt={vega:"*","vega-lite":"*"},uqt={},cqt={name:HHt,version:qHt,description:XHt,keywords:YHt,license:QHt,author:KHt,contributors:ZHt,main:JHt,module:eqt,unpkg:tqt,jsdelivr:nqt,types:rqt,repository:iqt,files:oqt,scripts:sqt,devDependencies:aqt,peerDependencies:lqt,dependencies:uqt};const tw="#fff",e0e="#888",fqt={background:"#333",view:{stroke:e0e},title:{color:tw,subtitleColor:tw},style:{"guide-label":{fill:tw},"guide-title":{fill:tw}},axis:{domainColor:tw,gridColor:e0e,tickColor:tw}},g0="#4572a7",dqt={background:"#fff",arc:{fill:g0},area:{fill:g0},line:{stroke:g0,strokeWidth:2},path:{stroke:g0},rect:{fill:g0},shape:{stroke:g0},symbol:{fill:g0,strokeWidth:1.5,size:50},axis:{bandPosition:.5,grid:!0,gridColor:"#000000",gridOpacity:1,gridWidth:.5,labelPadding:10,tickSize:5,tickWidth:.5},axisBand:{grid:!1,tickExtra:!0},legend:{labelBaseline:"middle",labelFontSize:11,symbolSize:50,symbolType:"square"},range:{category:["#4572a7","#aa4643","#8aa453","#71598e","#4598ae","#d98445","#94aace","#d09393","#b9cc98","#a99cbc"]}},m0="#30a2da",QV="#cbcbcb",hqt="#999",pqt="#333",t0e="#f0f0f0",n0e="#333",gqt={arc:{fill:m0},area:{fill:m0},axis:{domainColor:QV,grid:!0,gridColor:QV,gridWidth:1,labelColor:hqt,labelFontSize:10,titleColor:pqt,tickColor:QV,tickSize:10,titleFontSize:14,titlePadding:10,labelPadding:4},axisBand:{grid:!1},background:t0e,group:{fill:t0e},legend:{labelColor:n0e,labelFontSize:11,padding:1,symbolSize:30,symbolType:"square",titleColor:n0e,titleFontSize:14,titlePadding:10},line:{stroke:m0,strokeWidth:2},path:{stroke:m0,strokeWidth:.5},rect:{fill:m0},range:{category:["#30a2da","#fc4f30","#e5ae38","#6d904f","#8b8b8b","#b96db8","#ff9e27","#56cc60","#52d2ca","#52689e","#545454","#9fe4f8"],diverging:["#cc0020","#e77866","#f6e7e1","#d6e8ed","#91bfd9","#1d78b5"],heatmap:["#d6e8ed","#cee0e5","#91bfd9","#549cc6","#1d78b5"]},point:{filled:!0,shape:"circle"},shape:{stroke:m0},bar:{binSpacing:2,fill:m0,stroke:null},title:{anchor:"start",fontSize:24,fontWeight:600,offset:20}},v0="#000",mqt={group:{fill:"#e5e5e5"},arc:{fill:v0},area:{fill:v0},line:{stroke:v0},path:{stroke:v0},rect:{fill:v0},shape:{stroke:v0},symbol:{fill:v0,size:40},axis:{domain:!1,grid:!0,gridColor:"#FFFFFF",gridOpacity:1,labelColor:"#7F7F7F",labelPadding:4,tickColor:"#7F7F7F",tickSize:5.67,titleFontSize:16,titleFontWeight:"normal"},legend:{labelBaseline:"middle",labelFontSize:11,symbolSize:40},range:{category:["#000000","#7F7F7F","#1A1A1A","#999999","#333333","#B0B0B0","#4D4D4D","#C9C9C9","#666666","#DCDCDC"]}},vqt=22,yqt="normal",r0e="Benton Gothic, sans-serif",i0e=11.5,xqt="normal",y0="#82c6df",KV="Benton Gothic Bold, sans-serif",o0e="normal",s0e=13,l2={"category-6":["#ec8431","#829eb1","#c89d29","#3580b1","#adc839","#ab7fb4"],"fire-7":["#fbf2c7","#f9e39c","#f8d36e","#f4bb6a","#e68a4f","#d15a40","#ab4232"],"fireandice-6":["#e68a4f","#f4bb6a","#f9e39c","#dadfe2","#a6b7c6","#849eae"],"ice-7":["#edefee","#dadfe2","#c4ccd2","#a6b7c6","#849eae","#607785","#47525d"]},bqt={background:"#ffffff",title:{anchor:"start",color:"#000000",font:KV,fontSize:vqt,fontWeight:yqt},arc:{fill:y0},area:{fill:y0},line:{stroke:y0,strokeWidth:2},path:{stroke:y0},rect:{fill:y0},shape:{stroke:y0},symbol:{fill:y0,size:30},axis:{labelFont:r0e,labelFontSize:i0e,labelFontWeight:xqt,titleFont:KV,titleFontSize:s0e,titleFontWeight:o0e},axisX:{labelAngle:0,labelPadding:4,tickSize:3},axisY:{labelBaseline:"middle",maxExtent:45,minExtent:45,tickSize:2,titleAlign:"left",titleAngle:0,titleX:-45,titleY:-11},legend:{labelFont:r0e,labelFontSize:i0e,symbolType:"square",titleFont:KV,titleFontSize:s0e,titleFontWeight:o0e},range:{category:l2["category-6"],diverging:l2["fireandice-6"],heatmap:l2["fire-7"],ordinal:l2["fire-7"],ramp:l2["fire-7"]}},x0="#ab5787",oL="#979797",wqt={background:"#f9f9f9",arc:{fill:x0},area:{fill:x0},line:{stroke:x0},path:{stroke:x0},rect:{fill:x0},shape:{stroke:x0},symbol:{fill:x0,size:30},axis:{domainColor:oL,domainWidth:.5,gridWidth:.2,labelColor:oL,tickColor:oL,tickWidth:.2,titleColor:oL},axisBand:{grid:!1},axisX:{grid:!0,tickSize:10},axisY:{domain:!1,grid:!0,tickSize:0},legend:{labelFontSize:11,padding:1,symbolSize:30,symbolType:"square"},range:{category:["#ab5787","#51b2e5","#703c5c","#168dd9","#d190b6","#00609f","#d365ba","#154866","#666666","#c4c4c4"]}},b0="#3e5c69",_qt={background:"#fff",arc:{fill:b0},area:{fill:b0},line:{stroke:b0},path:{stroke:b0},rect:{fill:b0},shape:{stroke:b0},symbol:{fill:b0},axis:{domainWidth:.5,grid:!0,labelPadding:2,tickSize:5,tickWidth:.5,titleFontWeight:"normal"},axisBand:{grid:!1},axisX:{gridWidth:.2},axisY:{gridDash:[3],gridWidth:.4},legend:{labelFontSize:11,padding:1,symbolType:"square"},range:{category:["#3e5c69","#6793a6","#182429","#0570b0","#3690c0","#74a9cf","#a6bddb","#e2ddf2"]}},zu="#1696d2",a0e="#000000",Sqt="#FFFFFF",sL="Lato",ZV="Lato",Cqt="Lato",Oqt="#DEDDDD",Eqt=18,u2={"main-colors":["#1696d2","#d2d2d2","#000000","#fdbf11","#ec008b","#55b748","#5c5859","#db2b27"],"shades-blue":["#CFE8F3","#A2D4EC","#73BFE2","#46ABDB","#1696D2","#12719E","#0A4C6A","#062635"],"shades-gray":["#F5F5F5","#ECECEC","#E3E3E3","#DCDBDB","#D2D2D2","#9D9D9D","#696969","#353535"],"shades-yellow":["#FFF2CF","#FCE39E","#FDD870","#FCCB41","#FDBF11","#E88E2D","#CA5800","#843215"],"shades-magenta":["#F5CBDF","#EB99C2","#E46AA7","#E54096","#EC008B","#AF1F6B","#761548","#351123"],"shades-green":["#DCEDD9","#BCDEB4","#98CF90","#78C26D","#55B748","#408941","#2C5C2D","#1A2E19"],"shades-black":["#D5D5D4","#ADABAC","#848081","#5C5859","#332D2F","#262223","#1A1717","#0E0C0D"],"shades-red":["#F8D5D4","#F1AAA9","#E9807D","#E25552","#DB2B27","#A4201D","#6E1614","#370B0A"],"one-group":["#1696d2","#000000"],"two-groups-cat-1":["#1696d2","#000000"],"two-groups-cat-2":["#1696d2","#fdbf11"],"two-groups-cat-3":["#1696d2","#db2b27"],"two-groups-seq":["#a2d4ec","#1696d2"],"three-groups-cat":["#1696d2","#fdbf11","#000000"],"three-groups-seq":["#a2d4ec","#1696d2","#0a4c6a"],"four-groups-cat-1":["#000000","#d2d2d2","#fdbf11","#1696d2"],"four-groups-cat-2":["#1696d2","#ec0008b","#fdbf11","#5c5859"],"four-groups-seq":["#cfe8f3","#73bf42","#1696d2","#0a4c6a"],"five-groups-cat-1":["#1696d2","#fdbf11","#d2d2d2","#ec008b","#000000"],"five-groups-cat-2":["#1696d2","#0a4c6a","#d2d2d2","#fdbf11","#332d2f"],"five-groups-seq":["#cfe8f3","#73bf42","#1696d2","#0a4c6a","#000000"],"six-groups-cat-1":["#1696d2","#ec008b","#fdbf11","#000000","#d2d2d2","#55b748"],"six-groups-cat-2":["#1696d2","#d2d2d2","#ec008b","#fdbf11","#332d2f","#0a4c6a"],"six-groups-seq":["#cfe8f3","#a2d4ec","#73bfe2","#46abdb","#1696d2","#12719e"],"diverging-colors":["#ca5800","#fdbf11","#fdd870","#fff2cf","#cfe8f3","#73bfe2","#1696d2","#0a4c6a"]},Tqt={background:Sqt,title:{anchor:"start",fontSize:Eqt,font:sL},axisX:{domain:!0,domainColor:a0e,domainWidth:1,grid:!1,labelFontSize:12,labelFont:ZV,labelAngle:0,tickColor:a0e,tickSize:5,titleFontSize:12,titlePadding:10,titleFont:sL},axisY:{domain:!1,domainWidth:1,grid:!0,gridColor:Oqt,gridWidth:1,labelFontSize:12,labelFont:ZV,labelPadding:8,ticks:!1,titleFontSize:12,titlePadding:10,titleFont:sL,titleAngle:0,titleY:-10,titleX:18},legend:{labelFontSize:12,labelFont:ZV,symbolSize:100,titleFontSize:12,titlePadding:10,titleFont:sL,orient:"right",offset:10},view:{stroke:"transparent"},range:{category:u2["six-groups-cat-1"],diverging:u2["diverging-colors"],heatmap:u2["diverging-colors"],ordinal:u2["six-groups-seq"],ramp:u2["shades-blue"]},area:{fill:zu},rect:{fill:zu},line:{color:zu,stroke:zu,strokeWidth:5},trail:{color:zu,stroke:zu,strokeWidth:0,size:1},path:{stroke:zu,strokeWidth:.5},point:{filled:!0},text:{font:Cqt,color:zu,fontSize:11,align:"center",fontWeight:400,size:11},style:{bar:{fill:zu,stroke:null}},arc:{fill:zu},shape:{stroke:zu},symbol:{fill:zu,size:30}},w0="#3366CC",l0e="#ccc",aL="Arial, sans-serif",kqt={arc:{fill:w0},area:{fill:w0},path:{stroke:w0},rect:{fill:w0},shape:{stroke:w0},symbol:{stroke:w0},circle:{fill:w0},background:"#fff",padding:{top:10,right:10,bottom:10,left:10},style:{"guide-label":{font:aL,fontSize:12},"guide-title":{font:aL,fontSize:12},"group-title":{font:aL,fontSize:12}},title:{font:aL,fontSize:14,fontWeight:"bold",dy:-3,anchor:"start"},axis:{gridColor:l0e,tickColor:l0e,domain:!1,grid:!0},range:{category:["#4285F4","#DB4437","#F4B400","#0F9D58","#AB47BC","#00ACC1","#FF7043","#9E9D24","#5C6BC0","#F06292","#00796B","#C2185B"],heatmap:["#c6dafc","#5e97f6","#2a56c6"]}},mae=t=>t*(1/3+1),u0e=mae(9),c0e=mae(10),f0e=mae(12),c2="Segoe UI",d0e="wf_standard-font, helvetica, arial, sans-serif",h0e="#252423",f2="#605E5C",p0e="transparent",Aqt="#C8C6C4",of="#118DFF",Pqt="#12239E",Mqt="#E66C37",Rqt="#6B007B",Dqt="#E044A7",Iqt="#744EC2",Lqt="#D9B300",$qt="#D64550",v6e=of,y6e="#DEEFFF",g0e=[y6e,v6e],Fqt=[y6e,"#c7e4ff","#b0d9ff","#9aceff","#83c3ff","#6cb9ff","#55aeff","#3fa3ff","#2898ff",v6e],Nqt={view:{stroke:p0e},background:p0e,font:c2,header:{titleFont:d0e,titleFontSize:f0e,titleColor:h0e,labelFont:c2,labelFontSize:c0e,labelColor:f2},axis:{ticks:!1,grid:!1,domain:!1,labelColor:f2,labelFontSize:u0e,titleFont:d0e,titleColor:h0e,titleFontSize:f0e,titleFontWeight:"normal"},axisQuantitative:{tickCount:3,grid:!0,gridColor:Aqt,gridDash:[1,5],labelFlush:!1},axisBand:{tickExtra:!0},axisX:{labelPadding:5},axisY:{labelPadding:10},bar:{fill:of},line:{stroke:of,strokeWidth:3,strokeCap:"round",strokeJoin:"round"},text:{font:c2,fontSize:u0e,fill:f2},arc:{fill:of},area:{fill:of,line:!0,opacity:.6},path:{stroke:of},rect:{fill:of},point:{fill:of,filled:!0,size:75},shape:{stroke:of},symbol:{fill:of,strokeWidth:1.5,size:50},legend:{titleFont:c2,titleFontWeight:"bold",titleColor:f2,labelFont:c2,labelFontSize:c0e,labelColor:f2,symbolType:"circle",symbolSize:75},range:{category:[of,Pqt,Mqt,Rqt,Dqt,Iqt,Lqt,$qt],diverging:g0e,heatmap:g0e,ordinal:Fqt}},JV='IBM Plex Sans,system-ui,-apple-system,BlinkMacSystemFont,".sfnstext-regular",sans-serif',zqt='IBM Plex Sans Condensed, system-ui, -apple-system, BlinkMacSystemFont, ".SFNSText-Regular", sans-serif',e9=400,lL={textPrimary:{g90:"#f4f4f4",g100:"#f4f4f4",white:"#161616",g10:"#161616"},textSecondary:{g90:"#c6c6c6",g100:"#c6c6c6",white:"#525252",g10:"#525252"},layerAccent01:{white:"#e0e0e0",g10:"#e0e0e0",g90:"#525252",g100:"#393939"},gridBg:{white:"#ffffff",g10:"#ffffff",g90:"#161616",g100:"#161616"}},jqt=["#8a3ffc","#33b1ff","#007d79","#ff7eb6","#fa4d56","#fff1f1","#6fdc8c","#4589ff","#d12771","#d2a106","#08bdba","#bae6ff","#ba4e00","#d4bbff"],Bqt=["#6929c4","#1192e8","#005d5d","#9f1853","#fa4d56","#570408","#198038","#002d9c","#ee538b","#b28600","#009d9a","#012749","#8a3800","#a56eff"];function K6({theme:t,background:e}){const n=["white","g10"].includes(t)?"light":"dark",r=lL.gridBg[t],i=lL.textPrimary[t],o=lL.textSecondary[t],s=n==="dark"?jqt:Bqt,a=n==="dark"?"#d4bbff":"#6929c4";return{background:e,arc:{fill:a},area:{fill:a},path:{stroke:a},rect:{fill:a},shape:{stroke:a},symbol:{stroke:a},circle:{fill:a},view:{fill:r,stroke:r},group:{fill:r},title:{color:i,anchor:"start",dy:-15,fontSize:16,font:JV,fontWeight:600},axis:{labelColor:o,labelFontSize:12,labelFont:zqt,labelFontWeight:e9,titleColor:i,titleFontWeight:600,titleFontSize:12,grid:!0,gridColor:lL.layerAccent01[t],labelAngle:0},axisX:{titlePadding:10},axisY:{titlePadding:2.5},style:{"guide-label":{font:JV,fill:o,fontWeight:e9},"guide-title":{font:JV,fill:o,fontWeight:e9}},range:{category:s,diverging:["#750e13","#a2191f","#da1e28","#fa4d56","#ff8389","#ffb3b8","#ffd7d9","#fff1f1","#e5f6ff","#bae6ff","#82cfff","#33b1ff","#1192e8","#0072c3","#00539a","#003a6d"],heatmap:["#f6f2ff","#e8daff","#d4bbff","#be95ff","#a56eff","#8a3ffc","#6929c4","#491d8b","#31135e","#1c0f30"]}}}const Uqt=K6({theme:"white",background:"#ffffff"}),Wqt=K6({theme:"g10",background:"#f4f4f4"}),Vqt=K6({theme:"g90",background:"#262626"}),Gqt=K6({theme:"g100",background:"#161616"}),Hqt=cqt.version,qqt=Object.freeze(Object.defineProperty({__proto__:null,carbong10:Wqt,carbong100:Gqt,carbong90:Vqt,carbonwhite:Uqt,dark:fqt,excel:dqt,fivethirtyeight:gqt,ggplot2:mqt,googlecharts:kqt,latimes:bqt,powerbi:Nqt,quartz:wqt,urbaninstitute:Tqt,version:Hqt,vox:_qt},Symbol.toStringTag,{value:"Module"}));function Xqt(t,e,n,r){if(We(t))return`[${t.map(i=>e(gt(i)?i:m0e(i,n))).join(", ")}]`;if(ht(t)){let i="";const{title:o,image:s,...a}=t;o&&(i+=`

${e(o)}

`),s&&(i+=``);const l=Object.keys(a);if(l.length>0){i+="";for(const u of l){let c=a[u];c!==void 0&&(ht(c)&&(c=m0e(c,n)),i+=``)}i+="
${e(u)}${e(c)}
"}return i||"{}"}return e(t)}function Yqt(t){const e=[];return function(n,r){if(typeof r!="object"||r===null)return r;const i=e.indexOf(this)+1;return e.length=i,e.length>t?"[Object]":e.indexOf(r)>=0?"[Circular]":(e.push(r),r)}}function m0e(t,e){return JSON.stringify(t,Yqt(e))}var Qqt=`#vg-tooltip-element { + visibility: hidden; + padding: 8px; + position: fixed; + z-index: 1000; + font-family: sans-serif; + font-size: 11px; + border-radius: 3px; + box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); + /* The default theme is the light theme. */ + background-color: rgba(255, 255, 255, 0.95); + border: 1px solid #d9d9d9; + color: black; +} +#vg-tooltip-element.visible { + visibility: visible; +} +#vg-tooltip-element h2 { + margin-top: 0; + margin-bottom: 10px; + font-size: 13px; +} +#vg-tooltip-element table { + border-spacing: 0; +} +#vg-tooltip-element table tr { + border: none; +} +#vg-tooltip-element table tr td { + overflow: hidden; + text-overflow: ellipsis; + padding-top: 2px; + padding-bottom: 2px; +} +#vg-tooltip-element table tr td.key { + color: #808080; + max-width: 150px; + text-align: right; + padding-right: 4px; +} +#vg-tooltip-element table tr td.value { + display: block; + max-width: 300px; + max-height: 7em; + text-align: left; +} +#vg-tooltip-element.dark-theme { + background-color: rgba(32, 32, 32, 0.9); + border: 1px solid #f5f5f5; + color: white; +} +#vg-tooltip-element.dark-theme td.key { + color: #bfbfbf; +} +`;const x6e="vg-tooltip-element",Kqt={offsetX:10,offsetY:10,id:x6e,styleId:"vega-tooltip-style",theme:"light",disableDefaultStyle:!1,sanitize:Zqt,maxDepth:2,formatTooltip:Xqt,baseURL:""};function Zqt(t){return String(t).replace(/&/g,"&").replace(/window.innerWidth&&(i=+t.clientX-n-e.width);let o=t.clientY+r;return o+e.height>window.innerHeight&&(o=+t.clientY-r-e.height),{x:i,y:o}}class tXt{constructor(e){this.options={...Kqt,...e};const n=this.options.id;if(this.el=null,this.call=this.tooltipHandler.bind(this),!this.options.disableDefaultStyle&&!document.getElementById(this.options.styleId)){const r=document.createElement("style");r.setAttribute("id",this.options.styleId),r.innerHTML=Jqt(n);const i=document.head;i.childNodes.length>0?i.insertBefore(r,i.childNodes[0]):i.appendChild(r)}}tooltipHandler(e,n,r,i){if(this.el=document.getElementById(this.options.id),this.el||(this.el=document.createElement("div"),this.el.setAttribute("id",this.options.id),this.el.classList.add("vg-tooltip"),(document.fullscreenElement??document.body).appendChild(this.el)),i==null||i===""){this.el.classList.remove("visible",`${this.options.theme}-theme`);return}this.el.innerHTML=this.options.formatTooltip(i,this.options.sanitize,this.options.maxDepth,this.options.baseURL),this.el.classList.add("visible",`${this.options.theme}-theme`);const{x:o,y:s}=eXt(n,this.el.getBoundingClientRect(),this.options.offsetX,this.options.offsetY);this.el.style.top=`${s}px`,this.el.style.left=`${o}px`}}var t9={};function nXt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}class rXt{constructor(){this.max=1e3,this.map=new Map}get(e){const n=this.map.get(e);if(n!==void 0)return this.map.delete(e),this.map.set(e,n),n}delete(e){return this.map.delete(e)}set(e,n){if(!this.delete(e)&&n!==void 0){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(e,n)}return this}}var iXt=rXt;const oXt=Object.freeze({loose:!0}),sXt=Object.freeze({}),aXt=t=>t?typeof t!="object"?oXt:t:sXt;var vae=aXt,GY={exports:{}};const lXt="2.0.0",b6e=256,uXt=Number.MAX_SAFE_INTEGER||9007199254740991,cXt=16,fXt=b6e-6,dXt=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var yae={MAX_LENGTH:b6e,MAX_SAFE_COMPONENT_LENGTH:cXt,MAX_SAFE_BUILD_LENGTH:fXt,MAX_SAFE_INTEGER:uXt,RELEASE_TYPES:dXt,SEMVER_SPEC_VERSION:lXt,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const hXt=typeof process=="object"&&t9&&t9.NODE_DEBUG&&/\bsemver\b/i.test(t9.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};var Z6=hXt;(function(t,e){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=yae,o=Z6;e=t.exports={};const s=e.re=[],a=e.safeRe=[],l=e.src=[],u=e.t={};let c=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",i],[f,r]],h=g=>{for(const[m,v]of d)g=g.split(`${m}*`).join(`${m}{0,${v}}`).split(`${m}+`).join(`${m}{1,${v}}`);return g},p=(g,m,v)=>{const y=h(m),x=c++;o(g,x,m),u[g]=x,l[x]=m,s[x]=new RegExp(m,v?"g":void 0),a[x]=new RegExp(y,v?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})\\.(${l[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})\\.(${l[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[u.NUMERICIDENTIFIER]}|${l[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[u.NUMERICIDENTIFIERLOOSE]}|${l[u.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${l[u.PRERELEASEIDENTIFIER]}(?:\\.${l[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${l[u.BUILDIDENTIFIER]}(?:\\.${l[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[u.MAINVERSION]}${l[u.PRERELEASE]}?${l[u.BUILD]}?`),p("FULL",`^${l[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[u.MAINVERSIONLOOSE]}${l[u.PRERELEASELOOSE]}?${l[u.BUILD]}?`),p("LOOSE",`^${l[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[u.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:\\.(${l[u.XRANGEIDENTIFIER]})(?:${l[u.PRERELEASE]})?${l[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[u.XRANGEIDENTIFIERLOOSE]})(?:${l[u.PRERELEASELOOSE]})?${l[u.BUILD]}?)?)?`),p("XRANGE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[u.GTLT]}\\s*${l[u.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${l[u.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[u.COERCEPLAIN]+`(?:${l[u.PRERELEASE]})?(?:${l[u.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[u.COERCE],!0),p("COERCERTLFULL",l[u.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[u.LONETILDE]}${l[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${l[u.LONECARET]}${l[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[u.LONECARET]}${l[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[u.GTLT]}\\s*(${l[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[u.GTLT]}\\s*(${l[u.LOOSEPLAIN]}|${l[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[u.XRANGEPLAIN]})\\s+-\\s+(${l[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(GY,GY.exports);var xae=GY.exports;const v0e=/^[0-9]+$/,w6e=(t,e)=>{const n=v0e.test(t),r=v0e.test(e);return n&&r&&(t=+t,e=+e),t===e?0:n&&!r?-1:r&&!n?1:tw6e(e,t);var gXt={compareIdentifiers:w6e,rcompareIdentifiers:pXt};const uL=Z6,{MAX_LENGTH:y0e,MAX_SAFE_INTEGER:cL}=yae,{safeRe:x0e,t:b0e}=xae,mXt=vae,{compareIdentifiers:nw}=gXt;let vXt=class wd{constructor(e,n){if(n=mXt(n),e instanceof wd){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>y0e)throw new TypeError(`version is longer than ${y0e} characters`);uL("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=e.trim().match(n.loose?x0e[b0e.LOOSE]:x0e[b0e.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>cL||this.major<0)throw new TypeError("Invalid major version");if(this.minor>cL||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>cL||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const o=+i;if(o>=0&&o=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(n){let o=[n,i];r===!1&&(o=[n]),nw(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var bae=vXt;const w0e=bae,yXt=(t,e,n)=>new w0e(t,n).compare(new w0e(e,n));var zO=yXt;const xXt=zO,bXt=(t,e,n)=>xXt(t,e,n)===0;var wXt=bXt;const _Xt=zO,SXt=(t,e,n)=>_Xt(t,e,n)!==0;var CXt=SXt;const OXt=zO,EXt=(t,e,n)=>OXt(t,e,n)>0;var TXt=EXt;const kXt=zO,AXt=(t,e,n)=>kXt(t,e,n)>=0;var PXt=AXt;const MXt=zO,RXt=(t,e,n)=>MXt(t,e,n)<0;var DXt=RXt;const IXt=zO,LXt=(t,e,n)=>IXt(t,e,n)<=0;var $Xt=LXt;const FXt=wXt,NXt=CXt,zXt=TXt,jXt=PXt,BXt=DXt,UXt=$Xt,WXt=(t,e,n,r)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t===n;case"!==":return typeof t=="object"&&(t=t.version),typeof n=="object"&&(n=n.version),t!==n;case"":case"=":case"==":return FXt(t,n,r);case"!=":return NXt(t,n,r);case">":return zXt(t,n,r);case">=":return jXt(t,n,r);case"<":return BXt(t,n,r);case"<=":return UXt(t,n,r);default:throw new TypeError(`Invalid operator: ${e}`)}};var VXt=WXt,n9,_0e;function GXt(){if(_0e)return n9;_0e=1;const t=Symbol("SemVer ANY");class e{static get ANY(){return t}constructor(c,f){if(f=n(f),c instanceof e){if(c.loose===!!f.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,f),this.options=f,this.loose=!!f.loose,this.parse(c),this.semver===t?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){const f=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],d=c.match(f);if(!d)throw new TypeError(`Invalid comparator: ${c}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=t}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===t||c===t)return!0;if(typeof c=="string")try{c=new a(c,this.options)}catch{return!1}return o(c,this.operator,this.semver,this.options)}intersects(c,f){if(!(c instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(c.value,f).test(this.value):c.operator===""?c.value===""?!0:new l(this.value,f).test(c.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||o(this.semver,"<",c.semver,f)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||o(this.semver,">",c.semver,f)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}n9=e;const n=vae,{safeRe:r,t:i}=xae,o=VXt,s=Z6,a=bae,l=_6e();return n9}var r9,S0e;function _6e(){if(S0e)return r9;S0e=1;class t{constructor(T,R){if(R=r(R),T instanceof t)return T.loose===!!R.loose&&T.includePrerelease===!!R.includePrerelease?T:new t(T.raw,R);if(T instanceof i)return this.raw=T.value,this.set=[[T]],this.format(),this;if(this.options=R,this.loose=!!R.loose,this.includePrerelease=!!R.includePrerelease,this.raw=T.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(B=>!p(B[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const B of this.set)if(B.length===1&&g(B[0])){this.set=[B];break}}}this.format()}format(){return this.range=this.set.map(T=>T.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(T){const I=((this.options.includePrerelease&&d)|(this.options.loose&&h))+":"+T,B=n.get(I);if(B)return B;const $=this.options.loose,z=$?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];T=T.replace(z,M(this.options.includePrerelease)),o("hyphen replace",T),T=T.replace(a[l.COMPARATORTRIM],u),o("comparator trim",T),T=T.replace(a[l.TILDETRIM],c),o("tilde trim",T),T=T.replace(a[l.CARETTRIM],f),o("caret trim",T);let L=T.split(" ").map(H=>v(H,this.options)).join(" ").split(/\s+/).map(H=>E(H,this.options));$&&(L=L.filter(H=>(o("loose invalid filter",H,this.options),!!H.match(a[l.COMPARATORLOOSE])))),o("range list",L);const j=new Map,N=L.map(H=>new i(H,this.options));for(const H of N){if(p(H))return[H];j.set(H.value,H)}j.size>1&&j.has("")&&j.delete("");const F=[...j.values()];return n.set(I,F),F}intersects(T,R){if(!(T instanceof t))throw new TypeError("a Range is required");return this.set.some(I=>m(I,R)&&T.set.some(B=>m(B,R)&&I.every($=>B.every(z=>$.intersects(z,R)))))}test(T){if(!T)return!1;if(typeof T=="string")try{T=new s(T,this.options)}catch{return!1}for(let R=0;RP.value==="<0.0.0-0",g=P=>P.value==="",m=(P,T)=>{let R=!0;const I=P.slice();let B=I.pop();for(;R&&I.length;)R=I.every($=>B.intersects($,T)),B=I.pop();return R},v=(P,T)=>(o("comp",P,T),P=w(P,T),o("caret",P),P=x(P,T),o("tildes",P),P=S(P,T),o("xrange",P),P=k(P,T),o("stars",P),P),y=P=>!P||P.toLowerCase()==="x"||P==="*",x=(P,T)=>P.trim().split(/\s+/).map(R=>b(R,T)).join(" "),b=(P,T)=>{const R=T.loose?a[l.TILDELOOSE]:a[l.TILDE];return P.replace(R,(I,B,$,z,L)=>{o("tilde",P,I,B,$,z,L);let j;return y(B)?j="":y($)?j=`>=${B}.0.0 <${+B+1}.0.0-0`:y(z)?j=`>=${B}.${$}.0 <${B}.${+$+1}.0-0`:L?(o("replaceTilde pr",L),j=`>=${B}.${$}.${z}-${L} <${B}.${+$+1}.0-0`):j=`>=${B}.${$}.${z} <${B}.${+$+1}.0-0`,o("tilde return",j),j})},w=(P,T)=>P.trim().split(/\s+/).map(R=>_(R,T)).join(" "),_=(P,T)=>{o("caret",P,T);const R=T.loose?a[l.CARETLOOSE]:a[l.CARET],I=T.includePrerelease?"-0":"";return P.replace(R,(B,$,z,L,j)=>{o("caret",P,B,$,z,L,j);let N;return y($)?N="":y(z)?N=`>=${$}.0.0${I} <${+$+1}.0.0-0`:y(L)?$==="0"?N=`>=${$}.${z}.0${I} <${$}.${+z+1}.0-0`:N=`>=${$}.${z}.0${I} <${+$+1}.0.0-0`:j?(o("replaceCaret pr",j),$==="0"?z==="0"?N=`>=${$}.${z}.${L}-${j} <${$}.${z}.${+L+1}-0`:N=`>=${$}.${z}.${L}-${j} <${$}.${+z+1}.0-0`:N=`>=${$}.${z}.${L}-${j} <${+$+1}.0.0-0`):(o("no pr"),$==="0"?z==="0"?N=`>=${$}.${z}.${L}${I} <${$}.${z}.${+L+1}-0`:N=`>=${$}.${z}.${L}${I} <${$}.${+z+1}.0-0`:N=`>=${$}.${z}.${L} <${+$+1}.0.0-0`),o("caret return",N),N})},S=(P,T)=>(o("replaceXRanges",P,T),P.split(/\s+/).map(R=>O(R,T)).join(" ")),O=(P,T)=>{P=P.trim();const R=T.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return P.replace(R,(I,B,$,z,L,j)=>{o("xRange",P,I,B,$,z,L,j);const N=y($),F=N||y(z),H=F||y(L),q=H;return B==="="&&q&&(B=""),j=T.includePrerelease?"-0":"",N?B===">"||B==="<"?I="<0.0.0-0":I="*":B&&q?(F&&(z=0),L=0,B===">"?(B=">=",F?($=+$+1,z=0,L=0):(z=+z+1,L=0)):B==="<="&&(B="<",F?$=+$+1:z=+z+1),B==="<"&&(j="-0"),I=`${B+$}.${z}.${L}${j}`):F?I=`>=${$}.0.0${j} <${+$+1}.0.0-0`:H&&(I=`>=${$}.${z}.0${j} <${$}.${+z+1}.0-0`),o("xRange return",I),I})},k=(P,T)=>(o("replaceStars",P,T),P.trim().replace(a[l.STAR],"")),E=(P,T)=>(o("replaceGTE0",P,T),P.trim().replace(a[T.includePrerelease?l.GTE0PRE:l.GTE0],"")),M=P=>(T,R,I,B,$,z,L,j,N,F,H,q)=>(y(I)?R="":y(B)?R=`>=${I}.0.0${P?"-0":""}`:y($)?R=`>=${I}.${B}.0${P?"-0":""}`:z?R=`>=${R}`:R=`>=${R}${P?"-0":""}`,y(N)?j="":y(F)?j=`<${+N+1}.0.0-0`:y(H)?j=`<${N}.${+F+1}.0-0`:q?j=`<=${N}.${F}.${H}-${q}`:P?j=`<${N}.${F}.${+H+1}-0`:j=`<=${j}`,`${R} ${j}`.trim()),A=(P,T,R)=>{for(let I=0;I0){const B=P[I].semver;if(B.major===T.major&&B.minor===T.minor&&B.patch===T.patch)return!0}return!1}return!0};return r9}const HXt=_6e(),qXt=(t,e,n)=>{try{e=new HXt(e,n)}catch{return!1}return e.test(t)};var XXt=qXt,S6e=nXt(XXt);function YXt(t,e,n){const r=t.open(e),i=1e4,o=250,{origin:s}=new URL(e);let a=~~(i/o);function l(c){c.source===r&&(a=0,t.removeEventListener("message",l,!1))}t.addEventListener("message",l,!1);function u(){a<=0||(r.postMessage(n,s),setTimeout(u,o),a-=1)}setTimeout(u,o)}var QXt=`.vega-embed { + position: relative; + display: inline-block; + box-sizing: border-box; +} +.vega-embed.has-actions { + padding-right: 38px; +} +.vega-embed details:not([open]) > :not(summary) { + display: none !important; +} +.vega-embed summary { + list-style: none; + position: absolute; + top: 0; + right: 0; + padding: 6px; + z-index: 1000; + background: white; + box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); + color: #1b1e23; + border: 1px solid #aaa; + border-radius: 999px; + opacity: 0.2; + transition: opacity 0.4s ease-in; + cursor: pointer; + line-height: 0px; +} +.vega-embed summary::-webkit-details-marker { + display: none; +} +.vega-embed summary:active { + box-shadow: #aaa 0px 0px 0px 1px inset; +} +.vega-embed summary svg { + width: 14px; + height: 14px; +} +.vega-embed details[open] summary { + opacity: 0.7; +} +.vega-embed:hover summary, .vega-embed:focus-within summary { + opacity: 1 !important; + transition: opacity 0.2s ease; +} +.vega-embed .vega-actions { + position: absolute; + z-index: 1001; + top: 35px; + right: -9px; + display: flex; + flex-direction: column; + padding-bottom: 8px; + padding-top: 8px; + border-radius: 4px; + box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2); + border: 1px solid #d9d9d9; + background: white; + animation-duration: 0.15s; + animation-name: scale-in; + animation-timing-function: cubic-bezier(0.2, 0, 0.13, 1.5); + text-align: left; +} +.vega-embed .vega-actions a { + padding: 8px 16px; + font-family: sans-serif; + font-size: 14px; + font-weight: 600; + white-space: nowrap; + color: #434a56; + text-decoration: none; +} +.vega-embed .vega-actions a:hover, .vega-embed .vega-actions a:focus { + background-color: #f7f7f9; + color: black; +} +.vega-embed .vega-actions::before, .vega-embed .vega-actions::after { + content: ""; + display: inline-block; + position: absolute; +} +.vega-embed .vega-actions::before { + left: auto; + right: 14px; + top: -16px; + border: 8px solid rgba(0, 0, 0, 0); + border-bottom-color: #d9d9d9; +} +.vega-embed .vega-actions::after { + left: auto; + right: 15px; + top: -14px; + border: 7px solid rgba(0, 0, 0, 0); + border-bottom-color: #fff; +} +.vega-embed .chart-wrapper.fit-x { + width: 100%; +} +.vega-embed .chart-wrapper.fit-y { + height: 100%; +} + +.vega-embed-wrapper { + max-width: 100%; + overflow: auto; + padding-right: 14px; +} + +@keyframes scale-in { + from { + opacity: 0; + transform: scale(0.6); + } + to { + opacity: 1; + transform: scale(1); + } +} +`;function C6e(t,...e){for(const n of e)KXt(t,n);return t}function KXt(t,e){for(const n of Object.keys(e))mO(t,n,e[n],!0)}const cf=zBt;let ZA=GHt;const fL=typeof window<"u"?window:void 0;var AEe;ZA===void 0&&((AEe=fL==null?void 0:fL.vl)!=null&&AEe.compile)&&(ZA=fL.vl);const ZXt={export:{svg:!0,png:!0},source:!0,compiled:!0,editor:!0},JXt={CLICK_TO_VIEW_ACTIONS:"Click to view actions",COMPILED_ACTION:"View Compiled Vega",EDITOR_ACTION:"Open in Vega Editor",PNG_ACTION:"Save as PNG",SOURCE_ACTION:"View Source",SVG_ACTION:"Save as SVG"},_T={vega:"Vega","vega-lite":"Vega-Lite"},G5={vega:cf.version,"vega-lite":ZA?ZA.version:"not available"},eYt={vega:t=>t,"vega-lite":(t,e)=>ZA.compile(t,{config:e}).spec},tYt=` + + + + +`,nYt="chart-wrapper";function rYt(t){return typeof t=="function"}function C0e(t,e,n,r){const i=`${e}
`,o=`
${n}`,s=window.open("");s.document.write(i+t+o),s.document.title=`${_T[r]} JSON Source`}function iYt(t,e){if(t.$schema){const n=m6e(t.$schema);e&&e!==n.library&&console.warn(`The given visualization spec is written in ${_T[n.library]}, but mode argument sets ${_T[e]??e}.`);const r=n.library;return S6e(G5[r],`^${n.version.slice(1)}`)||console.warn(`The input spec uses ${_T[r]} ${n.version}, but the current version of ${_T[r]} is v${G5[r]}.`),r}return"mark"in t||"encoding"in t||"layer"in t||"hconcat"in t||"vconcat"in t||"facet"in t||"repeat"in t?"vega-lite":"marks"in t||"signals"in t||"scales"in t||"axes"in t?"vega":e??"vega"}function O6e(t){return!!(t&&"load"in t)}function O0e(t){return O6e(t)?t:cf.loader(t)}function oYt(t){var n;const e=((n=t.usermeta)==null?void 0:n.embedOptions)??{};return gt(e.defaultStyle)&&(e.defaultStyle=!1),e}async function sYt(t,e,n={}){let r,i;gt(e)?(i=O0e(n.loader),r=JSON.parse(await i.load(e))):r=e;const o=oYt(r),s=o.loader;(!i||s)&&(i=O0e(n.loader??s));const a=await E0e(o,i),l=await E0e(n,i),u={...C6e(l,a),config:gO(l.config??{},a.config??{})};return await lYt(t,r,u,i)}async function E0e(t,e){const n=gt(t.config)?JSON.parse(await e.load(t.config)):t.config??{},r=gt(t.patch)?JSON.parse(await e.load(t.patch)):t.patch;return{...t,...r?{patch:r}:{},...n?{config:n}:{}}}function aYt(t){const e=t.getRootNode?t.getRootNode():document;return e instanceof ShadowRoot?{root:e,rootContainer:e}:{root:document,rootContainer:document.head??document.body}}async function lYt(t,e,n={},r){const i=n.theme?gO(qqt[n.theme],n.config??{}):n.config,o=Ny(n.actions)?n.actions:C6e({},ZXt,n.actions??{}),s={...JXt,...n.i18n},a=n.renderer??"canvas",l=n.logLevel??cf.Warn,u=n.downloadFileName??"visualization",c=typeof t=="string"?document.querySelector(t):t;if(!c)throw new Error(`${t} does not exist`);if(n.defaultStyle!==!1){const w="vega-embed-style",{root:_,rootContainer:S}=aYt(c);if(!_.getElementById(w)){const O=document.createElement("style");O.id=w,O.innerHTML=n.defaultStyle===void 0||n.defaultStyle===!0?QXt.toString():n.defaultStyle,S.appendChild(O)}}const f=iYt(e,n.mode);let d=eYt[f](e,i);if(f==="vega-lite"&&d.$schema){const w=m6e(d.$schema);S6e(G5.vega,`^${w.version.slice(1)}`)||console.warn(`The compiled spec uses Vega ${w.version}, but current version is v${G5.vega}.`)}c.classList.add("vega-embed"),o&&c.classList.add("has-actions"),c.innerHTML="";let h=c;if(o){const w=document.createElement("div");w.classList.add(nYt),c.appendChild(w),h=w}const p=n.patch;if(p&&(d=p instanceof Function?p(d):W4(d,p,!0,!1).newDocument),n.formatLocale&&cf.formatLocale(n.formatLocale),n.timeFormatLocale&&cf.timeFormatLocale(n.timeFormatLocale),n.expressionFunctions)for(const w in n.expressionFunctions){const _=n.expressionFunctions[w];"fn"in _?cf.expressionFunction(w,_.fn,_.visitor):_ instanceof Function&&cf.expressionFunction(w,_)}const{ast:g}=n,m=cf.parse(d,f==="vega-lite"?{}:i,{ast:g}),v=new(n.viewClass||cf.View)(m,{loader:r,logLevel:l,renderer:a,...g?{expr:cf.expressionInterpreter??n.expr??YBt}:{}});if(v.addSignalListener("autosize",(w,_)=>{const{type:S}=_;S=="fit-x"?(h.classList.add("fit-x"),h.classList.remove("fit-y")):S=="fit-y"?(h.classList.remove("fit-x"),h.classList.add("fit-y")):S=="fit"?h.classList.add("fit-x","fit-y"):h.classList.remove("fit-x","fit-y")}),n.tooltip!==!1){const{loader:w,tooltip:_}=n,S=w&&!O6e(w)?w==null?void 0:w.baseURL:void 0,O=rYt(_)?_:new tXt({baseURL:S,..._===!0?{}:_}).call;v.tooltip(O)}let{hover:y}=n;if(y===void 0&&(y=f==="vega"),y){const{hoverSet:w,updateSet:_}=typeof y=="boolean"?{}:y;v.hover(w,_)}n&&(n.width!=null&&v.width(n.width),n.height!=null&&v.height(n.height),n.padding!=null&&v.padding(n.padding)),await v.initialize(h,n.bind).runAsync();let x;if(o!==!1){let w=c;if(n.defaultStyle!==!1||n.forceActionsMenu){const S=document.createElement("details");S.title=s.CLICK_TO_VIEW_ACTIONS,c.append(S),w=S;const O=document.createElement("summary");O.innerHTML=tYt,S.append(O),x=k=>{S.contains(k.target)||S.removeAttribute("open")},document.addEventListener("click",x)}const _=document.createElement("div");if(w.append(_),_.classList.add("vega-actions"),o===!0||o.export!==!1){for(const S of["svg","png"])if(o===!0||o.export===!0||o.export[S]){const O=s[`${S.toUpperCase()}_ACTION`],k=document.createElement("a"),E=ht(n.scaleFactor)?n.scaleFactor[S]:n.scaleFactor;k.text=O,k.href="#",k.target="_blank",k.download=`${u}.${S}`,k.addEventListener("mousedown",async function(M){M.preventDefault();const A=await v.toImageURL(S,E);this.href=A}),_.append(k)}}if(o===!0||o.source!==!1){const S=document.createElement("a");S.text=s.SOURCE_ACTION,S.href="#",S.addEventListener("click",function(O){C0e(MW(e),n.sourceHeader??"",n.sourceFooter??"",f),O.preventDefault()}),_.append(S)}if(f==="vega-lite"&&(o===!0||o.compiled!==!1)){const S=document.createElement("a");S.text=s.COMPILED_ACTION,S.href="#",S.addEventListener("click",function(O){C0e(MW(d),n.sourceHeader??"",n.sourceFooter??"","vega"),O.preventDefault()}),_.append(S)}if(o===!0||o.editor!==!1){const S=n.editorUrl??"https://vega.github.io/editor/",O=document.createElement("a");O.text=s.EDITOR_ACTION,O.href="#",O.addEventListener("click",function(k){YXt(window,S,{config:i,mode:p?"vega":f,renderer:a,spec:MW(p?d:e)}),k.preventDefault()}),_.append(O)}}function b(){x&&document.removeEventListener("click",x),v.finalize()}return{view:v,spec:e,vgSpec:d,finalize:b,embedOptions:n}}function uYt(t){return!!t&&{}.toString.call(t)==="[object Function]"}function cYt(t,e,n){n&&(uYt(n)?n(t.data(e)):t.change(e,cf.changeset().remove(()=>!0).insert(n)))}function fYt(t,e){Object.keys(e).forEach(n=>{cYt(t,n,e[n])})}function E6e(t){const e=new Set;return t.forEach(n=>{Object.keys(n).forEach(r=>{e.add(r)})}),e}const T6e=()=>{};function i9(t,e){const n=Object.keys(e);return n.forEach(r=>{try{t.addSignalListener(r,e[r])}catch(i){console.warn("Cannot add invalid signal listener.",i)}}),n.length>0}var dYt=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var s=o[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n};const hYt=on(dYt);function pYt(t,e){if(t===e)return!1;const n={width:!1,height:!1,isExpensive:!1},r=E6e([t,e]);return r.has("width")&&(!("width"in t)||!("width"in e)||t.width!==e.width)&&("width"in t&&typeof t.width=="number"?n.width=t.width:n.isExpensive=!0),r.has("height")&&(!("height"in t)||!("height"in e)||t.height!==e.height)&&("height"in t&&typeof t.height=="number"?n.height=t.height:n.isExpensive=!0),r.delete("width"),r.delete("height"),[...r].some(i=>!(i in t)||!(i in e)||!hYt(t[i],e[i]))&&(n.isExpensive=!0),n.width!==!1||n.height!==!1||n.isExpensive?n:!1}function T0e(t,e){const n=Object.keys(e);return n.forEach(r=>{try{t.removeSignalListener(r,e[r])}catch(i){console.warn("Cannot remove invalid signal listener.",i)}}),n.length>0}function o9(t){const{spec:e,width:n,height:r}=t;return typeof n<"u"&&typeof r<"u"?{...e,width:n,height:r}:typeof n<"u"?{...e,width:n}:typeof r<"u"?{...e,height:r}:e}function ST(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class k6e extends de.PureComponent{constructor(){super(...arguments),ST(this,"containerRef",de.createRef()),ST(this,"resultPromise",void 0),ST(this,"handleError",e=>{const{onError:n=T6e}=this.props;n(e,this.containerRef.current),console.warn(e)}),ST(this,"modifyView",e=>{this.resultPromise&&this.resultPromise.then(n=>(n&&e(n.view),!0)).catch(this.handleError)})}componentDidMount(){this.createView()}componentDidUpdate(e){const n=E6e([this.props,e]);if(n.delete("className"),n.delete("signalListeners"),n.delete("spec"),n.delete("style"),n.delete("width"),n.delete("height"),Array.from(n).some(r=>this.props[r]!==e[r]))this.clearView(),this.createView();else{const r=pYt(o9(this.props),o9(e)),{signalListeners:i}=this.props,{signalListeners:o}=e;if(r)if(r.isExpensive)this.clearView(),this.createView();else{const s=!Rq(i,o);this.modifyView(a=>{r.width!==!1&&a.width(r.width),r.height!==!1&&a.height(r.height),s&&(o&&T0e(a,o),i&&i9(a,i)),a.run()})}else Rq(i,o)||this.modifyView(s=>{o&&T0e(s,o),i&&i9(s,i),s.run()})}}componentWillUnmount(){this.clearView()}createView(){const{spec:e,onNewView:n,signalListeners:r={},width:i,height:o,...s}=this.props;if(this.containerRef.current){const a=o9(this.props);this.resultPromise=sYt(this.containerRef.current,a,s).then(l=>{if(l){const{view:u}=l;i9(u,r)&&u.run()}return l}).catch(this.handleError),n&&this.modifyView(n)}}clearView(){return this.resultPromise&&this.resultPromise.then(e=>{e&&e.finalize()}).catch(this.handleError),this.resultPromise=void 0,this}render(){const{className:e,style:n}=this.props;return de.createElement("div",{ref:this.containerRef,className:e,style:n})}}ST(k6e,"propTypes",{className:pe.string,onError:pe.func});function HY(){return HY=Object.assign||function(t){for(var e=1;e{this.update();const{onNewView:n=T6e}=this.props;n(e)})}componentDidMount(){this.update()}componentDidUpdate(e){Rq(this.props.data,e.data)||this.update()}update(){const{data:e}=this.props;this.vegaEmbed.current&&e&&Object.keys(e).length>0&&this.vegaEmbed.current.modifyView(n=>{fYt(n,e),n.resize().run()})}render(){const{data:e,...n}=this.props;return de.createElement(k6e,HY({ref:this.vegaEmbed},n,{onNewView:this.handleNewView}))}}qY(A6e,"defaultProps",{data:gYt});function XY(){return XY=Object.assign||function(t){for(var e=1;ee in t?vYt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,xYt=(t,e,n)=>yYt(t,e+"",n);const Ss=H_t(()=>({configuration:{},extensions:[],contributionsResult:{},contributionsRecord:{}}));function B_(t){return typeof t=="object"&&t!==null}function uC(t,e){e=cC(e);let n=t;for(const r of e)if(B_(n))n=n[r];else return;return n}function P6e(t,e,n){return M6e(t,cC(e),n)}function M6e(t,e,n){if(e.length===1){const r=e[0];if(B_(t)){const i=t[r];if(n===i)return t;const o=Array.isArray(t)?[...t]:{...t};return o[r]=n,o}else if(t===void 0){const i=typeof r=="number"?[]:{};return i[r]=n,i}}else if(e.length>1&&B_(t)){const r=e[0],i=t[r];if(B_(i)||i===void 0){const o=M6e(i,e.slice(1),n);if(i!==o){const s=Array.isArray(t)?[...t]:{...t};return s[r]=o,s}}}return t}function cC(t){if(Array.isArray(t))return t;if(!t||t==="")return[];if(typeof t=="number")return[t];{const e=t.split(".");for(let n=0;ni===r[o])}function R6e(t,e){const n={};return Object.getOwnPropertyNames(t).forEach(r=>{n[r]=e(t[r],r)}),n}function wYt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}const _Yt="http://localhost:8888",SYt="dashi";async function wae(t,...e){try{return{status:"ok",data:await t(...e)}}catch(n){return n instanceof L3?{status:"failed",error:n.apiError}:{status:"failed",error:{message:`${n.message||n}`}}}}async function _ae(t,e,n){const r=await fetch(t,e),i=await r.json();if(typeof i=="object"){if(i.error)throw new L3(i.error);if(!r.ok)throw new L3({status:r.status,message:r.statusText});if(wYt(i,"result"))return n?n(i.result):i.result}throw new L3({message:`unexpected response from ${t}`})}class L3 extends Error{constructor(e){super(e.message),xYt(this,"apiError"),this.apiError=e}}function Sae(t,e){const n=(e==null?void 0:e.serverUrl)||_Yt,r=(e==null?void 0:e.endpointName)||SYt;return`${n}/${r}/${t}`}async function CYt(t){return wae(OYt,t)}async function OYt(t){return _ae(Sae("contributions",t),void 0,EYt)}function EYt(t){return{...t,contributions:R6e(t.contributions,e=>e.map(n=>({...n,layout:n.layout?D6e(n.layout):void 0,callbacks:TYt(n.callbacks)})))}}function TYt(t){return t?t.map(D6e):[]}function D6e(t){return{...t,inputs:t.inputs?k0e(t.inputs):[],outputs:t.outputs?k0e(t.outputs):[]}}function k0e(t){return t?t.map(kYt):[]}function kYt(t){return{...t,property:cC(t.property)}}const s9="color:light-dark(lightblue, lightblue)",a9="font-weight:bold",l9="color:light-dark(darkgrey, lightgray)";let dL;function AYt(t){dL&&(dL(),dL=void 0),(!t||t.enabled)&&(dL=Ss.subscribe(PYt))}function PYt(t,e){const n=RDe(e,t),r=n.length;console.groupCollapsed(`dashi: state changed (${r} difference${r===1?"":"s"})`),n.forEach(MYt),console.debug("dashi: change details:",{prev:e,next:t,delta:n}),console.groupEnd()}function MYt(t,e){const n=`%c${e+1} %c${t.type} %c${t.path.join(".")}`;t.type==="CREATE"?console.debug("dashi:",n,s9,a9,l9,{value:t.value}):t.type==="CHANGE"?console.debug("dashi:",n,s9,a9,l9,{value:t.value,oldValue:t.oldValue}):t.type==="REMOVE"&&console.debug("dashi:",n,s9,a9,l9,{oldValue:t.oldValue})}function I6e(t){return!!t.components}function Cae(t,e,n){return t.map(r=>RYt(r,e,n))}const YY={};function RYt(t,e,n){let r;const i=t.link||"component";return i==="component"&&e.component?r=L6e(t,e.component):i==="container"&&e.container?r=A0e(t,e.container):i==="app"&&n?(console.log(),r=A0e(t,n)):console.warn("input with unknown data source:",t),(r===void 0||r===YY)&&(r=null,console.warn("value is undefined for input",t)),r}function L6e(t,e){if(e.id===t.id)return uC(e,t.property);if(I6e(e))for(let n=0;n{i=z6e(i,o.stateChanges.filter(s=>s.link==="app"))}),i!==r&&n.setState(i)}}function $Yt(t,e){let n=t;return n&&e.forEach(r=>{n=N6e(n,r)}),n}function FYt(t,e){return e.forEach(({contribPoint:n,contribIndex:r,stateChanges:i})=>{const o=t[n][r],s=z6e(o.container,i.filter(l=>l.link==="container")),a=$Yt(o.component,i.filter(l=>!l.link||l.link==="component"));(s!==o.container||a!==o.component)&&(t={...t,[n]:$6e(t[n],r,{...o,container:s,component:a})})}),t}function N6e(t,e){if(t.id===e.id){const n=e.property,r=uC(t,n),i=e.value;if(r!==i)return P6e(t,n,i)}else if(I6e(t)){const n=t;let r=n;for(let i=0;i{(!t||uC(t,n.property)!==n.value)&&(t=P6e(t,n.property,n.value))}),t}function j6e(t){var e;const{configuration:n}=Ss.getState(),r=(e=n.logging)==null?void 0:e.enabled;if(!t.length){r&&console.info("dashi: invokeCallbacks - no requests",t);return}const i=zYt();r&&console.info(`dashi: invokeCallbacks (${i})-->`,t),DYt(t,n.api).then(o=>{o.data?(r&&console.info(`dashi: invokeCallbacks <--(${i})`,o.data),F6e(o.data)):console.error("callback failed:",o.error,"for call requests:",t)})}let NYt=0;function zYt(){return NYt++}function jYt(t,e){const{contributionsRecord:n}=Ss.getState(),r=BYt(n,t,e);j6e(r)}function BYt(t,e,n){return UYt().filter(r=>WYt(r.propertyPath,e,n)).map(r=>{const i=t[r.contribPoint][r.contribIndex],o=i.callbacks[r.callbackIndex],s=Cae(o.inputs,i,e);return{...r,inputValues:s}})}function UYt(){const{contributionsRecord:t}=Ss.getState(),e=[];return Object.getOwnPropertyNames(t).forEach(n=>{t[n].forEach((r,i)=>{(r.callbacks||[]).forEach((o,s)=>(o.inputs||[]).forEach((a,l)=>{!a.noTrigger&&a.link==="app"&&e.push({contribPoint:n,contribIndex:i,callbackIndex:s,inputIndex:l,propertyPath:cC(a.property)})}),[])})}),e}function WYt(t,e,n){const r=uC(e,t),i=uC(n,t);return!Object.is(r,i)}function VYt(t){t.logging&&AYt(t.logging),t.hostStore&&t.hostStore.subscribe(jYt),Ss.setState({configuration:{...t}})}function GYt(t){t&&VYt(t);const{configuration:e}=Ss.getState();Ss.setState({contributionsResult:{status:"pending"}}),CYt(e.api).then(HYt)}function HYt(t){let e={contributionsResult:t};if(t.data){const{extensions:n,contributions:r}=t.data;e={...e,extensions:n,contributionsRecord:R6e(r,i=>i.map(qYt))}}Ss.setState(e)}function qYt(t){return{...t,container:{...t.initialState},componentResult:{}}}function XYt(t,e,n){F6e([{contribPoint:t,contribIndex:e,stateChanges:[{link:"component",id:n.id,property:n.property,value:n.value}]}]);const r=YYt(t,e,n);j6e(r)}function YYt(t,e,n){const{configuration:r,contributionsRecord:i}=Ss.getState(),{hostStore:o}=r,s=o==null?void 0:o.getState(),a=i[t][e],l=[];return(a.callbacks||[]).forEach((u,c)=>{if(u.inputs&&u.inputs.length){const f=u.inputs,d=f.findIndex(h=>!h.noTrigger&&(!h.link||h.link==="component")&&h.id===n.id&&bYt(h.property,n.property));d>=0&&l.push({contribPoint:t,contribIndex:e,callbackIndex:c,inputIndex:d,inputValues:Cae(f,a,s)})}}),l}async function QYt(t,e,n,r){return wae(KYt,t,e,n,r)}async function KYt(t,e,n,r){return _ae(Sae(`layout/${t}/${e}`,r),{body:JSON.stringify({inputValues:n}),method:"post"})}function ZYt(t,e,n,r=!0){const{configuration:i,contributionsRecord:o}=Ss.getState(),s=o[t][e];if(s.container===n)return;const a=!!s.componentResult.status;if(!r||a)u9(t,e,{container:n});else if(!a){u9(t,e,{container:n,componentResult:{status:"pending"}});const l=JYt(t,e);QYt(t,e,l,i.api).then(u=>{u9(t,e,{componentResult:u,component:u.data})})}}function JYt(t,e){const{configuration:n,contributionsRecord:r}=Ss.getState(),{hostStore:i}=n,o=r[t][e],s=o.layout.inputs;return s&&s.length>0?Cae(s,o,i==null?void 0:i.getState()):[]}function u9(t,e,n){const{contributionsRecord:r}=Ss.getState(),i=r[t],o=i[e],s=n.container?{...n,container:{...o.container,...n.container}}:n;Ss.setState({contributionsRecord:{...r,[t]:$6e(i,e,s)}})}var B6e={exports:{}},d2={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var P0e;function eQt(){if(P0e)return d2;P0e=1;var t=de,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(a,l,u){var c,f={},d=null,h=null;u!==void 0&&(d=""+u),l.key!==void 0&&(d=""+l.key),l.ref!==void 0&&(h=l.ref);for(c in l)r.call(l,c)&&!o.hasOwnProperty(c)&&(f[c]=l[c]);if(a&&a.defaultProps)for(c in l=a.defaultProps,l)f[c]===void 0&&(f[c]=l[c]);return{$$typeof:e,type:a,key:d,ref:h,props:f,_owner:i.current}}return d2.Fragment=n,d2.jsx=s,d2.jsxs=s,d2}B6e.exports=eQt();var Li=B6e.exports;function tQt({id:t,name:e,style:n,text:r,disabled:i,onChange:o}){const s=a=>{t&&o({componentType:"Button",id:t,property:"n_clicks",value:a.buttons})};return Li.jsx(Vr,{id:t,name:e,style:n,disabled:i,onClick:s,children:r})}function nQt({components:t,onChange:e}){return!t||t.length===0?null:Li.jsx(Li.Fragment,{children:t.map((n,r)=>{const i=n.id||r;return Li.jsx(U6e,{...n,onChange:e},i)})})}function rQt({id:t,style:e,components:n,onChange:r}){return Li.jsx(ot,{id:t,style:e,children:Li.jsx(nQt,{components:n,onChange:r})})}function iQt({id:t,name:e,value:n,disabled:r,style:i,label:o,onChange:s}){const a=l=>{if(t)return s({componentType:"Checkbox",id:t,property:"value",value:l.currentTarget.checked})};return Li.jsx(Wg,{variant:"filled",size:"small",style:i,children:Li.jsx(kx,{label:o,control:Li.jsx($F,{id:t,name:e,checked:!!n,disabled:r,onChange:a})})})}function oQt({id:t,name:e,value:n,options:r,disabled:i,style:o,label:s,onChange:a}){const l=u=>{if(!t)return;let c=u.target.value;return typeof n=="number"&&(c=Number.parseInt(c)),a({componentType:"Dropdown",id:t,property:"value",value:c})};return Li.jsxs(Wg,{variant:"filled",size:"small",style:o,children:[s&&Li.jsx(Iy,{id:`${t}-label`,children:s}),Li.jsx(Vg,{labelId:`${t}-label`,id:t,name:e,value:`${n}`,disabled:i,onChange:l,children:r&&r.map(([u,c],f)=>Li.jsx(_i,{value:c,children:u},f))})]})}function sQt({id:t,style:e,chart:n,onChange:r}){if(!n)return Li.jsx("div",{id:t,style:e});const{datasets:i,...o}=n,s=(a,l)=>{if(t)return r({componentType:"Plot",id:t,property:"points",value:l})};return Li.jsx(mYt,{spec:o,data:i,style:e,signalListeners:{onClick:s},actions:!1})}function aQt({id:t,style:e,text:n}){return Li.jsx(Jt,{id:t,style:e,children:n})}function U6e({type:t,...e}){if(t==="Plot")return Li.jsx(sQt,{...e});if(t==="Dropdown")return Li.jsx(oQt,{...e});if(t==="Button")return Li.jsx(tQt,{...e});if(t==="Box")return Li.jsx(rQt,{...e});if(t==="Checkbox")return Li.jsx(iQt,{...e});if(t==="Typography")return Li.jsx(aQt,{...e})}const lQt=t=>t.contributionsRecord,uQt=Ss,cQt=()=>uQt(lQt),W6e="POST_MESSAGE";function gu(t,e){return{type:W6e,messageType:t,messageText:typeof e=="string"?e:e.message}}const V6e="HIDE_MESSAGE";function fQt(t){return{type:V6e,messageId:t}}var dQt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const M0e=on(dQt);var R0e={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function hQt(t){var e,n=[],r=1,i;if(typeof t=="string")if(t=t.toLowerCase(),M0e[t])n=M0e[t].slice(),i="rgb";else if(t==="transparent")r=0,i="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var o=t.slice(1),s=o.length,a=s<=4;r=1,a?(n=[parseInt(o[0]+o[0],16),parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16)],s===4&&(r=parseInt(o[3]+o[3],16)/255)):(n=[parseInt(o[0]+o[1],16),parseInt(o[2]+o[3],16),parseInt(o[4]+o[5],16)],s===8&&(r=parseInt(o[6]+o[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),i="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var l=e[1],u=l==="rgb",o=l.replace(/a$/,"");i=o;var s=o==="cmyk"?4:o==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(d,h){if(/%$/.test(d))return h===s?parseFloat(d)/100:o==="rgb"?parseFloat(d)*255/100:parseFloat(d);if(o[h]==="h"){if(/deg$/.test(d))return parseFloat(d);if(R0e[d]!==void 0)return R0e[d]}return parseFloat(d)}),l===o&&n.push(1),r=u||n[s]===void 0?1:n[s],n=n.slice(0,s)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(c){return parseFloat(c)}),i=t.match(/([a-z])/ig).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(n=[t[0],t[1],t[2]],i="rgb",r=t.length===4?t[3]:1):t instanceof Object&&(t.r!=null||t.red!=null||t.R!=null?(i="rgb",n=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(i="hsl",n=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),r=t.a||t.alpha||t.opacity||1,t.opacity!=null&&(r/=100)):(i="rgb",n=[t>>>16,(t&65280)>>>8,t&255]);return{space:i,values:n,alpha:r}}const QY={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},c9={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100,i,o,s,a,l,u=0;if(n===0)return l=r*255,[l,l,l];for(o=r<.5?r*(1+n):r+n-r*n,i=2*r-o,a=[0,0,0];u<3;)s=e+1/3*-(u-1),s<0?s++:s>1&&s--,l=6*s<1?i+(o-i)*6*s:2*s<1?o:3*s<2?i+(o-i)*(2/3-s)*6:i,a[u++]=l*255;return a}};QY.hsl=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),s=o-i,a,l,u;return o===i?a=0:e===o?a=(n-r)/s:n===o?a=2+(r-e)/s:r===o&&(a=4+(e-n)/s),a=Math.min(a*60,360),a<0&&(a+=360),u=(i+o)/2,o===i?l=0:u<=.5?l=s/(o+i):l=s/(2-o-i),[a,l*100,u*100]};function pQt(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,n=hQt(t);if(!n.space)return[];const r=n.space[0]==="h"?c9.min:QY.min,i=n.space[0]==="h"?c9.max:QY.max;return e=Array(3),e[0]=Math.min(Math.max(n.values[0],r[0]),i[0]),e[1]=Math.min(Math.max(n.values[1],r[1]),i[1]),e[2]=Math.min(Math.max(n.values[2],r[2]),i[2]),n.space[0]==="h"&&(e=c9.rgb(e)),e.push(Math.min(Math.max(n.alpha,0),1)),e}function Oae(t,e,n,r="circle"){if(t.getGeometry()instanceof fh)t.setStyle(gQt(7,e,"white",2,r));else{n=typeof n=="number"?n:.25;let i=pQt(e);Array.isArray(i)?i=[i[0],i[1],i[2],n]:i=[255,255,255,n],t.setStyle(vQt(i,e,2))}}function gQt(t,e,n,r,i="circle"){return new Qd({image:mQt(t,e,n,r,i)})}function mQt(t,e,n,r,i){const o=new o1({color:e}),s=new dh({color:n,width:r});switch(i){case"square":return new gq({fill:o,stroke:s,radius:t,points:4,angle:Math.PI/4,rotation:0});case"diamond":return new gq({fill:o,stroke:s,radius:t,points:4,angle:Math.PI/4,rotation:Math.PI/4});default:return new WM({fill:o,stroke:s,radius:t})}}function vQt(t,e,n){const r=new o1({color:t}),i=new dh({color:e,width:n});return new Qd({fill:r,stroke:i})}function yQt(t,e,n){Ku[t]}function xQt(t,e,n){if(Ku[t]){const i=Ku[t].getSource(),o=i==null?void 0:i.getFeatureById(e);o&&Oae(o,n.color,n.opacity)}}function bQt(t,e,n){if(Ku[t]){const r=Ku[t],i=r.getView().getProjection(),s=(Array.isArray(e)?lq(e):e).transform(oO,i);s.getType()==="Point"?r.getView().setCenter(s.getFirstCoordinate()):n?r.getView().fit(s,{size:r.getSize()}):r.getView().setCenter(ey(s.getExtent()))}}const H5="UPDATE_SERVER_INFO";function wQt(){return(t,e)=>{const n=Oo(e());t(nU(H5,me.get("Connecting to server"))),Jpt(n.url).then(r=>{t(_Qt(r))}).catch(r=>{t(gu("error",r))}).then(()=>{t(rU(H5))})}}function _Qt(t){return{type:H5,serverInfo:t}}const D0e="UPDATE_RESOURCES";function G6e(){return(t,e)=>{const n=Oo(e());t(nU(D0e,me.get("Updating resources"))),rgt(n.url,e().userAuthState.accessToken).then(r=>{r&&window.location.reload()}).finally(()=>t(rU(D0e)))}}const JA="UPDATE_DATASETS";function H6e(){return(t,e)=>{const n=Oo(e());t(nU(JA,me.get("Loading data"))),Xpt(n.url,e().userAuthState.accessToken).then(r=>{const i=uwt();if(r=r.map(o=>({...o,variables:[...o.variables,...i[o.id]||[]]})),t(I0e(r)),r.length>0){const o=e().controlState.selectedDatasetId||r[0].id;t(hUe(o,r,!0))}}).catch(r=>{t(gu("error",r)),t(I0e([]))}).then(()=>{t(rU(JA))})}}function I0e(t){return{type:JA,datasets:t}}function SQt(t,e){return(n,r)=>{n(CQt(t,e));const i={};r().dataState.datasets.forEach(o=>{const[s,a]=ate(o);a.length>=0&&(i[o.id]=a)}),lwt(i)}}const q6e="UPDATE_DATASET_USER_VARIABLES";function CQt(t,e){return{type:q6e,datasetId:t,userVariables:e}}const Eae="UPDATE_DATASET_PLACE_GROUP";function OQt(t,e){return{type:Eae,datasetId:t,placeGroup:e}}const Tae="ADD_DRAWN_USER_PLACE";function EQt(t,e,n,r,i){return(o,s)=>{o(TQt(t,e,n,r,i)),s().controlState.autoShowTimeSeries&&s().controlState.selectedPlaceId===e&&o(J6())}}function TQt(t,e,n,r,i){return{type:Tae,placeGroupTitle:t,id:e,properties:n,geometry:r,selected:i}}const kae="ADD_IMPORTED_USER_PLACES";function kQt(t,e,n){return{type:kae,placeGroups:t,mapProjection:e,selected:n}}function X6e(t){return(e,n)=>{const r=Fwt(n());let i;try{if(r==="csv"){const o=Nwt(n());i=Xbt(t,o)}else if(r==="geojson"){const o=zwt(n());i=Jbt(t,o)}else if(r==="wkt"){const o=jwt(n());i=rwt(t,o)}else i=[]}catch(o){e(gu("error",o)),e(bb("addUserPlacesFromText")),i=[]}if(i.length>0){if(e(kQt(i,$y(n()),!0)),i.length===1&&i[0].features.length===1){const s=i[0].features[0];e(eU(s.id,ZM(n()),!0)),n().controlState.autoShowTimeSeries&&e(J6())}let o=0;i.forEach(s=>{o+=s.features?s.features.length:0}),e(gu("info",me.get(`Imported ${o} place(s) in ${i.length} groups(s), 1 selected`)))}else e(gu("warning",me.get("No places imported")))}}const Aae="RENAME_USER_PLACE_GROUP";function AQt(t,e){return{type:Aae,placeGroupId:t,newName:e}}const Y6e="RENAME_USER_PLACE";function PQt(t,e,n){return r=>{r(MQt(t,e,n)),yQt(t)}}function MQt(t,e,n){return{type:Y6e,placeGroupId:t,placeId:e,newName:n}}const Q6e="RESTYLE_USER_PLACE";function RQt(t,e,n){return r=>{r(DQt(t,e,n)),xQt(t,e,n)}}function DQt(t,e,n){return{type:Q6e,placeGroupId:t,placeId:e,placeStyle:n}}const Pae="REMOVE_USER_PLACE";function IQt(t,e,n){return{type:Pae,placeGroupId:t,placeId:e,places:n}}const K6e="REMOVE_USER_PLACE_GROUP";function LQt(t){return{type:K6e,placeGroupId:t}}function Z6e(){return(t,e)=>{const n=Oo(e()),r=fo(e()),i=Na(e()),o=JM(e()),s=hO(e()),a=e().controlState.sidebarOpen,l=e().controlState.sidebarPanelId;r&&i&&o&&(l!=="stats"&&t($ae("stats")),a||t(Lae(!0)),t(L0e(null)),tgt(n.url,r,i,o,s,e().userAuthState.accessToken).then(u=>t(L0e(u))).catch(u=>{t(gu("error",u))}))}}const J6e="ADD_STATISTICS";function L0e(t){return{type:J6e,statistics:t}}const eUe="REMOVE_STATISTICS";function $Qt(t){return{type:eUe,index:t}}function J6(){return(t,e)=>{const n=Oo(e()),r=fo(e()),i=dO(e()),o=Na(e()),s=cO(e()),a=dDe(e()),l=e().controlState.timeSeriesUpdateMode,u=e().controlState.timeSeriesUseMedian,c=e().controlState.timeSeriesIncludeStdev;let f=h_t(e());const d=e().controlState.sidebarOpen,h=e().controlState.sidebarPanelId,p=kRe(e());if(r&&o&&s&&i){h!=="timeSeries"&&t($ae("timeSeries")),d||t(Lae(!0));const g=i.labels,m=g.length;f=f>0?f:m;let v=m-1,y=v-f+1;const x=()=>{const w=y>=0?g[y]:null,_=g[v];return egt(n.url,r,o,a.id,a.geometry,w,_,u,c,e().userAuthState.accessToken)},b=w=>{if(w!==null&&$0e(p,a.id)){const _=y>0,S=_?(m-y)/m:1;t(FQt({...w,dataProgress:S},l,v===m-1?"new":"append")),_&&$0e(p,a.id)&&(y-=f,v-=f,x().then(b))}else t(gu("info","No data found here"))};x().then(b).catch(w=>{t(gu("error",w))})}}}function $0e(t,e){return fte(t,e)!==null}const tUe="UPDATE_TIME_SERIES";function FQt(t,e,n){return{type:tUe,timeSeries:t,updateMode:e,dataMode:n}}const nUe="ADD_PLACE_GROUP_TIME_SERIES";function NQt(t,e){return{type:nUe,timeSeriesGroupId:t,timeSeries:e}}const rUe="REMOVE_TIME_SERIES";function zQt(t,e){return{type:rUe,groupId:t,index:e}}const iUe="REMOVE_TIME_SERIES_GROUP";function jQt(t){return{type:iUe,id:t}}const oUe="REMOVE_ALL_TIME_SERIES";function BQt(){return{type:oUe}}const Mae="CONFIGURE_SERVERS";function UQt(t,e,n){return(r,i)=>{i().controlState.selectedServerId!==e?(r(BQt()),r(F0e(t,e)),r(Rae(n))):i().dataState.userServers!==t&&r(F0e(t,e))}}function F0e(t,e){return{type:Mae,servers:t,selectedServerId:e}}function Rae(t){return(e,n)=>{e(wQt()),e(H6e()),e(VQt()),e(HQt());const r=Oo(n());GYt({hostStore:WQt(t),logging:{enabled:!1},api:{serverUrl:r.url,endpointName:"viewer/ext"}})}}function WQt(t){return{_initialState:t.getState(),getInitialState(){return this._initialState},getState(){return t.getState()},setState(e,n){throw new Error("Changing the host state from contributions is not yet supported")},_prevState:t.getState(),subscribe(e){return t.subscribe(()=>{const n=t.getState();n!==this._prevState&&(e(n,this._prevState),this._prevState=n)})}}}const sUe="UPDATE_EXPRESSION_CAPABILITIES";function VQt(){return(t,e)=>{const n=Oo(e());Zpt(n.url).then(r=>{t(GQt(r))}).catch(r=>{t(gu("error",r))})}}function GQt(t){return{type:sUe,expressionCapabilities:t}}const aUe="UPDATE_COLOR_BARS";function HQt(){return(t,e)=>{const n=Oo(e());Vpt(n.url).then(r=>{t(qQt(r))}).catch(r=>{t(gu("error",r))})}}function qQt(t){return{type:aUe,colorBars:t}}const lUe="UPDATE_VARIABLE_COLOR_BAR";function XQt(t,e,n,r){return(i,o)=>{const s=o().controlState.selectedDatasetId,a=o().controlState.selectedVariableName;s&&a&&i(uUe(s,a,t,e,n,r))}}function YQt(t,e,n,r){return(i,o)=>{const s=o().controlState.selectedDatasetId,a=o().controlState.selectedVariable2Name;s&&a&&i(uUe(s,a,t,e,n,r))}}function uUe(t,e,n,r,i,o){if(i==="log"){let[s,a]=r;s<=0&&(s=.001),a<=s&&(a=1),r=[s,a]}return{type:lUe,datasetId:t,variableName:e,colorBarName:n,colorBarMinMax:r,colorBarNorm:i,opacity:o}}const cUe="UPDATE_VARIABLE_VOLUME";function QQt(t,e,n,r,i){return{type:cUe,datasetId:t,variableName:e,variableColorBar:n,volumeRenderMode:r,volumeIsoThreshold:i}}function KQt(){return(t,e)=>{const{exportTimeSeries:n,exportTimeSeriesSeparator:r,exportPlaces:i,exportPlacesAsCollection:o,exportZipArchive:s,exportFileName:a}=e().controlState;let l=[];n?(l=[],qM(e()).forEach(c=>{c.placeGroups&&(l=l.concat(c.placeGroups))}),l=[...l,...XM(e())]):i&&(l=fO(e())),eKt(e().dataState.timeSeriesGroups,l,{includeTimeSeries:n,includePlaces:i,separator:r,placesAsCollection:o,zip:s,fileName:a})}}class fUe{}class ZQt extends fUe{constructor(n){super();gn(this,"fileName");gn(this,"zipArchive");this.fileName=n,this.zipArchive=new U_t}write(n,r){this.zipArchive.file(n,r)}close(){this.zipArchive.generateAsync({type:"blob"}).then(n=>MDe.saveAs(n,this.fileName))}}class JQt extends fUe{write(e,n){const r=new Blob([n],{type:"text/plain;charset=utf-8"});MDe.saveAs(r,e)}close(){}}function eKt(t,e,n){const{includeTimeSeries:r,includePlaces:i,placesAsCollection:o,zip:s}=n;let{separator:a,fileName:l}=n;if(a=a||"TAB",a.toUpperCase()==="TAB"&&(a=" "),l=l||"export",!r&&!i)return;let u;s?u=new ZQt(`${l}.zip`):u=new JQt;let c;if(r){const{colNames:f,dataRows:d,referencedPlaces:h}=gbt(t,e),p={number:!0,string:!0},g=f.join(a),m=d.map(y=>y.map(x=>p[typeof x]?x+"":"").join(a)),v=[g].concat(m).join(` +`);u.write(`${l}.txt`,v),c=h}else c={},e.forEach(f=>{f.features&&f.features.forEach(d=>{c[d.id]=d})});if(i)if(o){const f={type:"FeatureCollection",features:Object.keys(c).map(d=>c[d])};u.write(`${l}.geojson`,JSON.stringify(f,null,2))}else Object.keys(c).forEach(f=>{u.write(`${f}.geojson`,JSON.stringify(c[f],null,2))});u.close()}const dUe="SELECT_DATASET";function hUe(t,e,n){return(r,i)=>{r(tKt(t,e));const o=i().controlState.datasetLocateMode;t&&n&&o!=="doNothing"&&r(pUe(t,i().controlState.datasetLocateMode==="panAndZoom"))}}function tKt(t,e){return{type:dUe,selectedDatasetId:t,datasets:e}}function nKt(){return(t,e)=>{const n=YM(e());n&&t(pUe(n,!0))}}function rKt(){return(t,e)=>{const n=cO(e());n&&t(gUe(n,!0))}}function pUe(t,e){return(n,r)=>{const i=qM(r()),o=fA(i,t);o&&o.bbox&&n(KY(o.bbox,e))}}const iKt=["Point","LineString","LinearRing","Polygon","MultiPoint","MultiLineString","MultiPolygon","Circle"];function gUe(t,e){return(n,r)=>{const i=fO(r()),o=fte(i,t);o&&(o.bbox&&o.bbox.length===4?n(KY(o.bbox,e)):o.geometry&&iKt.includes(o.geometry.type)&&n(KY(new tb().readGeometry(o.geometry),e)))}}function KY(t,e){return n=>{if(t!==null){const r="map";n(oKt(r,t)),bQt(r,t,e)}}}const mUe="FLY_TO";function oKt(t,e){return{type:mUe,mapId:t,location:e}}const vUe="SELECT_PLACE_GROUPS";function sKt(t){return(e,n)=>{const r=Oo(n());e(aKt(t));const i=fo(n()),o=fDe(n());if(i!==null&&o.length>0){for(const s of o)if(!tO(s)){const a=i.id,l=s.id,u=`${Eae}-${a}-${l}`;e(nU(u,me.get("Loading places"))),Kpt(r.url,a,l,n().userAuthState.accessToken).then(c=>{e(OQt(i.id,c))}).catch(c=>{e(gu("error",c))}).finally(()=>{e(rU(u))})}}}}function aKt(t){return{type:vUe,selectedPlaceGroupIds:t}}const yUe="SELECT_PLACE";function eU(t,e,n){return(r,i)=>{r(lKt(t,e));const o=i().controlState.placeLocateMode;n&&t&&o!=="doNothing"&&r(gUe(t,i().controlState.placeLocateMode==="panAndZoom"))}}function lKt(t,e){return{type:yUe,placeId:t,places:e}}const xUe="SET_LAYER_VISIBILITY";function uKt(t,e){return{type:xUe,layerId:t,visible:e}}const bUe="SET_MAP_POINT_INFO_BOX_ENABLED";function cKt(t){return{type:bUe,mapPointInfoBoxEnabled:t}}const wUe="SET_VARIABLE_COMPARE_MODE";function fKt(t){return{type:wUe,variableCompareMode:t}}const Dae="SET_VARIABLE_SPLIT_POS";function dKt(t){return{type:Dae,variableSplitPos:t}}const _Ue="SELECT_VARIABLE";function SUe(t){return{type:_Ue,selectedVariableName:t}}const CUe="SELECT_VARIABLE_2";function hKt(t,e){return{type:CUe,selectedDataset2Id:t,selectedVariable2Name:e}}const OUe="SELECT_TIME";function tU(t){return{type:OUe,selectedTime:t}}const EUe="INC_SELECTED_TIME";function pKt(t){return{type:EUe,increment:t}}const Iae="SELECT_TIME_RANGE";function TUe(t,e,n){return{type:Iae,selectedTimeRange:t,selectedGroupId:e,selectedValueRange:n}}const gKt="SELECT_TIME_SERIES_UPDATE_MODE",kUe="UPDATE_TIME_ANIMATION";function mKt(t,e){return{type:kUe,timeAnimationActive:t,timeAnimationInterval:e}}const AUe="SET_MAP_INTERACTION";function PUe(t){return{type:AUe,mapInteraction:t}}const MUe="SET_LAYER_MENU_OPEN";function RUe(t){return{type:MUe,layerMenuOpen:t}}const DUe="SET_SIDEBAR_POSITION";function vKt(t){return{type:DUe,sidebarPosition:t}}const IUe="SET_SIDEBAR_OPEN";function Lae(t){return{type:IUe,sidebarOpen:t}}const LUe="SET_SIDEBAR_PANEL_ID";function $ae(t){return{type:LUe,sidebarPanelId:t}}const $Ue="SET_VOLUME_RENDER_MODE";function yKt(t){return{type:$Ue,volumeRenderMode:t}}const FUe="UPDATE_VOLUME_STATE";function xKt(t,e){return{type:FUe,volumeId:t,volumeState:e}}const NUe="SET_VISIBLE_INFO_CARD_ELEMENTS";function bKt(t){return{type:NUe,visibleElements:t}}const zUe="UPDATE_INFO_CARD_ELEMENT_VIEW_MODE";function wKt(t,e){return{type:zUe,elementType:t,viewMode:e}}const jUe="ADD_ACTIVITY";function nU(t,e){return{type:jUe,id:t,message:e}}const BUe="REMOVE_ACTIVITY";function rU(t){return{type:BUe,id:t}}const UUe="CHANGE_LOCALE";function WUe(t){return{type:UUe,locale:t}}const VUe="OPEN_DIALOG";function bb(t){return{type:VUe,dialogId:t}}const GUe="CLOSE_DIALOG";function jO(t){return{type:GUe,dialogId:t}}const Fae="UPDATE_SETTINGS";function YR(t){return{type:Fae,settings:t}}const HUe="STORE_SETTINGS";function qUe(){return{type:HUe}}function XUe(t){return e=>{e(_Kt(t)),e(SKt(t))}}const YUe="ADD_USER_COLOR_BAR";function _Kt(t){return{type:YUe,colorBarId:t}}const QUe="REMOVE_USER_COLOR_BAR";function KUe(t){return{type:QUe,colorBarId:t}}function ZUe(t){return e=>{e(e8e(t)),e(Nae(t))}}const JUe="UPDATE_USER_COLOR_BAR";function e8e(t){return{type:JUe,userColorBar:t}}function SKt(t){return(e,n)=>{const r=n().controlState.userColorBars.find(i=>i.id===t);r&&e(Nae(r))}}function Nae(t){return e=>{Ogt(t).then(({imageData:n,errorMessage:r})=>{e(e8e({...t,imageData:n,errorMessage:r}))})}}function CKt(){return(t,e)=>{e().controlState.userColorBars.forEach(n=>{n.imageData||t(Nae(n))})}}function t8e(t){return{type:Fae,settings:{userColorBars:t}}}const N0e=["http","https","mailto","tel"];function OKt(t){const e=(t||"").trim(),n=e.charAt(0);if(n==="#"||n==="/")return e;const r=e.indexOf(":");if(r===-1)return e;let i=-1;for(;++ii||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */var EKt=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)};const n8e=on(EKt);function yk(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?z0e(t.position):"start"in t||"end"in t?z0e(t):"line"in t||"column"in t?ZY(t):""}function ZY(t){return j0e(t&&t.line)+":"+j0e(t&&t.column)}function z0e(t){return ZY(t&&t.start)+"-"+ZY(t&&t.end)}function j0e(t){return t&&typeof t=="number"?t:1}class Uc extends Error{constructor(e,n,r){const i=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const s=r.indexOf(":");s===-1?i[1]=r:(i[0]=r.slice(0,s),i[1]=r.slice(s+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=yk(n)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Uc.prototype.file="";Uc.prototype.name="";Uc.prototype.reason="";Uc.prototype.message="";Uc.prototype.stack="";Uc.prototype.fatal=null;Uc.prototype.column=null;Uc.prototype.line=null;Uc.prototype.source=null;Uc.prototype.ruleId=null;Uc.prototype.position=null;const Td={basename:TKt,dirname:kKt,extname:AKt,join:PKt,sep:"/"};function TKt(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');QR(t);let n=0,r=-1,i=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let s=-1,a=e.length-1;for(;i--;)if(t.charCodeAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),a>-1&&(t.charCodeAt(i)===e.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=t.length),t.slice(n,r)}function kKt(t){if(QR(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.charCodeAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function AKt(t){QR(t);let e=t.length,n=-1,r=0,i=-1,o=0,s;for(;e--;){const a=t.charCodeAt(e);if(a===47){if(s){r=e+1;break}continue}n<0&&(s=!0,n=e+1),a===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function PKt(...t){let e=-1,n;for(;++e0&&t.charCodeAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function RKt(t,e){let n="",r=0,i=-1,o=0,s=-1,a,l;for(;++s<=t.length;){if(s2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,s):n=t.slice(i+1,s),r=s-i-1;i=s,o=0}else a===46&&o>-1?o++:o=-1}return n}function QR(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const DKt={cwd:IKt};function IKt(){return"/"}function JY(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function LKt(t){if(typeof t=="string")t=new URL(t);else if(!JY(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return $Kt(t)}function $Kt(t){if(t.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=t.pathname;let n=-1;for(;++n"u"||$3.call(e,i)},q0e=function(e,n){W0e&&n.name==="__proto__"?W0e(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},X0e=function(e,n){if(n==="__proto__")if($3.call(e,n)){if(V0e)return V0e(e,n).value}else return;return e[n]},NKt=function t(){var e,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});ls.length;let l;a&&s.push(i);try{l=t.apply(this,s)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(s,...a){n||(n=!0,e(s,...a))}function o(s){i(null,s)}}const BKt=s8e().freeze(),o8e={}.hasOwnProperty;function s8e(){const t=zKt(),e=[];let n={},r,i=-1;return o.data=s,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=e,o.use=l,o.parse=u,o.stringify=c,o.run=f,o.runSync=d,o.process=h,o.processSync=p,o;function o(){const g=s8e();let m=-1;for(;++m{if(_||!S||!O)w(_);else{const k=o.stringify(S,O);k==null||(VKt(k)?O.value=k:O.result=k),w(_,O)}});function w(_,S){_||!S?x(_):y?y(S):m(null,S)}}}function p(g){let m;o.freeze(),p9("processSync",o.Parser),g9("processSync",o.Compiler);const v=h2(g);return o.process(v,y),Z0e("processSync","process",m),v;function y(x){m=!0,U0e(x)}}}function Q0e(t,e){return typeof t=="function"&&t.prototype&&(UKt(t.prototype)||e in t.prototype)}function UKt(t){let e;for(e in t)if(o8e.call(t,e))return!0;return!1}function p9(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function g9(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function m9(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function K0e(t){if(!eQ(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function Z0e(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function h2(t){return WKt(t)?t:new r8e(t)}function WKt(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function VKt(t){return typeof t=="string"||n8e(t)}const GKt={};function HKt(t,e){const n=GKt,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return a8e(t,r,i)}function a8e(t,e,n){if(qKt(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return J0e(t.children,e,n)}return Array.isArray(t)?J0e(t,e,n):""}function J0e(t,e,n){const r=[];let i=-1;for(;++ii?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(e,n),t.splice(...s);else for(n&&t.splice(e,n);o0?(Dh(t,t.length,0,e),t):e}const exe={}.hasOwnProperty;function XKt(t){const e={};let n=-1;for(;++ns))return;const S=e.events.length;let O=S,k,E;for(;O--;)if(e.events[O][0]==="exit"&&e.events[O][1].type==="chunkFlow"){if(k){E=e.events[O][1].end;break}k=!0}for(v(r),_=S;_x;){const w=n[b];e.containerState=w[1],w[0].exit.call(e,t)}n.length=x}function y(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function aZt(t,e,n){return Br(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function nxe(t){if(t===null||gl(t)||nZt(t))return 1;if(tZt(t))return 2}function zae(t,e,n){const r=[];let i=-1;for(;++i1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const f=Object.assign({},t[r][1].end),d=Object.assign({},t[n][1].start);rxe(f,-l),rxe(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[r][1].end)},a={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},a.end)},t[r][1].end=Object.assign({},s.start),t[n][1].start=Object.assign({},a.end),u=[],t[r][1].end.offset-t[r][1].start.offset&&(u=Xu(u,[["enter",t[r][1],e],["exit",t[r][1],e]])),u=Xu(u,[["enter",i,e],["enter",s,e],["exit",s,e],["enter",o,e]]),u=Xu(u,zae(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),u=Xu(u,[["exit",o,e],["enter",a,e],["exit",a,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(c=2,u=Xu(u,[["enter",t[n][1],e],["exit",t[n][1],e]])):c=0,Dh(t,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n0&&sr(_)?Br(t,y,"linePrefix",o+1)(_):y(_)}function y(_){return _===null||Qt(_)?t.check(oxe,g,b)(_):(t.enter("codeFlowValue"),x(_))}function x(_){return _===null||Qt(_)?(t.exit("codeFlowValue"),y(_)):(t.consume(_),x)}function b(_){return t.exit("codeFenced"),e(_)}function w(_,S,O){let k=0;return E;function E(R){return _.enter("lineEnding"),_.consume(R),_.exit("lineEnding"),M}function M(R){return _.enter("codeFencedFence"),sr(R)?Br(_,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):A(R)}function A(R){return R===a?(_.enter("codeFencedFenceSequence"),P(R)):O(R)}function P(R){return R===a?(k++,_.consume(R),P):k>=s?(_.exit("codeFencedFenceSequence"),sr(R)?Br(_,T,"whitespace")(R):T(R)):O(R)}function T(R){return R===null||Qt(R)?(_.exit("codeFencedFence"),S(R)):O(R)}}}function xZt(t,e,n){const r=this;return i;function i(s){return s===null?n(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):e(s)}}const v9={name:"codeIndented",tokenize:wZt},bZt={tokenize:_Zt,partial:!0};function wZt(t,e,n){const r=this;return i;function i(u){return t.enter("codeIndented"),Br(t,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?l(u):Qt(u)?t.attempt(bZt,s,l)(u):(t.enter("codeFlowValue"),a(u))}function a(u){return u===null||Qt(u)?(t.exit("codeFlowValue"),s(u)):(t.consume(u),a)}function l(u){return t.exit("codeIndented"),e(u)}}function _Zt(t,e,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):Qt(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i):Br(t,o,"linePrefix",5)(s)}function o(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?e(s):Qt(s)?i(s):n(s)}}const SZt={name:"codeText",tokenize:EZt,resolve:CZt,previous:OZt};function CZt(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r=4?e(s):t.interrupt(r.parser.constructs.flow,n,e)(s)}}function d8e(t,e,n,r,i,o,s,a,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return f;function f(v){return v===60?(t.enter(r),t.enter(i),t.enter(o),t.consume(v),t.exit(o),d):v===null||v===32||v===41||tQ(v)?n(v):(t.enter(r),t.enter(s),t.enter(a),t.enter("chunkString",{contentType:"string"}),g(v))}function d(v){return v===62?(t.enter(o),t.consume(v),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(a),t.enter("chunkString",{contentType:"string"}),h(v))}function h(v){return v===62?(t.exit("chunkString"),t.exit(a),d(v)):v===null||v===60||Qt(v)?n(v):(t.consume(v),v===92?p:h)}function p(v){return v===60||v===62||v===92?(t.consume(v),h):h(v)}function g(v){return!c&&(v===null||v===41||gl(v))?(t.exit("chunkString"),t.exit(a),t.exit(s),t.exit(r),e(v)):c999||h===null||h===91||h===93&&!l||h===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):h===93?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):Qt(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),c):(t.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||Qt(h)||a++>999?(t.exit("chunkString"),c(h)):(t.consume(h),l||(l=!sr(h)),h===92?d:f)}function d(h){return h===91||h===92||h===93?(t.consume(h),a++,f):f(h)}}function p8e(t,e,n,r,i,o){let s;return a;function a(d){return d===34||d===39||d===40?(t.enter(r),t.enter(i),t.consume(d),t.exit(i),s=d===40?41:d,l):n(d)}function l(d){return d===s?(t.enter(i),t.consume(d),t.exit(i),t.exit(r),e):(t.enter(o),u(d))}function u(d){return d===s?(t.exit(o),l(s)):d===null?n(d):Qt(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),Br(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),c(d))}function c(d){return d===s||d===null||Qt(d)?(t.exit("chunkString"),u(d)):(t.consume(d),d===92?f:c)}function f(d){return d===s||d===92?(t.consume(d),c):c(d)}}function xk(t,e){let n;return r;function r(i){return Qt(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):sr(i)?Br(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}function U_(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const DZt={name:"definition",tokenize:LZt},IZt={tokenize:$Zt,partial:!0};function LZt(t,e,n){const r=this;let i;return o;function o(h){return t.enter("definition"),s(h)}function s(h){return h8e.call(r,t,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return i=U_(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),l):n(h)}function l(h){return gl(h)?xk(t,u)(h):u(h)}function u(h){return d8e(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return t.attempt(IZt,f,f)(h)}function f(h){return sr(h)?Br(t,d,"whitespace")(h):d(h)}function d(h){return h===null||Qt(h)?(t.exit("definition"),r.parser.defined.push(i),e(h)):n(h)}}function $Zt(t,e,n){return r;function r(a){return gl(a)?xk(t,i)(a):n(a)}function i(a){return p8e(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return sr(a)?Br(t,s,"whitespace")(a):s(a)}function s(a){return a===null||Qt(a)?e(a):n(a)}}const FZt={name:"hardBreakEscape",tokenize:NZt};function NZt(t,e,n){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return Qt(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}const zZt={name:"headingAtx",tokenize:BZt,resolve:jZt};function jZt(t,e){let n=t.length-2,r=3,i,o;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},o={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},Dh(t,r,n-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),t}function BZt(t,e,n){let r=0;return i;function i(c){return t.enter("atxHeading"),o(c)}function o(c){return t.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&r++<6?(t.consume(c),s):c===null||gl(c)?(t.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(t.enter("atxHeadingSequence"),l(c)):c===null||Qt(c)?(t.exit("atxHeading"),e(c)):sr(c)?Br(t,a,"whitespace")(c):(t.enter("atxHeadingText"),u(c))}function l(c){return c===35?(t.consume(c),l):(t.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||gl(c)?(t.exit("atxHeadingText"),a(c)):(t.consume(c),u)}}const UZt=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],axe=["pre","script","style","textarea"],WZt={name:"htmlFlow",tokenize:qZt,resolveTo:HZt,concrete:!0},VZt={tokenize:YZt,partial:!0},GZt={tokenize:XZt,partial:!0};function HZt(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function qZt(t,e,n){const r=this;let i,o,s,a,l;return u;function u(F){return c(F)}function c(F){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(F),f}function f(F){return F===33?(t.consume(F),d):F===47?(t.consume(F),o=!0,g):F===63?(t.consume(F),i=3,r.interrupt?e:L):Vd(F)?(t.consume(F),s=String.fromCharCode(F),m):n(F)}function d(F){return F===45?(t.consume(F),i=2,h):F===91?(t.consume(F),i=5,a=0,p):Vd(F)?(t.consume(F),i=4,r.interrupt?e:L):n(F)}function h(F){return F===45?(t.consume(F),r.interrupt?e:L):n(F)}function p(F){const H="CDATA[";return F===H.charCodeAt(a++)?(t.consume(F),a===H.length?r.interrupt?e:A:p):n(F)}function g(F){return Vd(F)?(t.consume(F),s=String.fromCharCode(F),m):n(F)}function m(F){if(F===null||F===47||F===62||gl(F)){const H=F===47,q=s.toLowerCase();return!H&&!o&&axe.includes(q)?(i=1,r.interrupt?e(F):A(F)):UZt.includes(s.toLowerCase())?(i=6,H?(t.consume(F),v):r.interrupt?e(F):A(F)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):o?y(F):x(F))}return F===45||au(F)?(t.consume(F),s+=String.fromCharCode(F),m):n(F)}function v(F){return F===62?(t.consume(F),r.interrupt?e:A):n(F)}function y(F){return sr(F)?(t.consume(F),y):E(F)}function x(F){return F===47?(t.consume(F),E):F===58||F===95||Vd(F)?(t.consume(F),b):sr(F)?(t.consume(F),x):E(F)}function b(F){return F===45||F===46||F===58||F===95||au(F)?(t.consume(F),b):w(F)}function w(F){return F===61?(t.consume(F),_):sr(F)?(t.consume(F),w):x(F)}function _(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(t.consume(F),l=F,S):sr(F)?(t.consume(F),_):O(F)}function S(F){return F===l?(t.consume(F),l=null,k):F===null||Qt(F)?n(F):(t.consume(F),S)}function O(F){return F===null||F===34||F===39||F===47||F===60||F===61||F===62||F===96||gl(F)?w(F):(t.consume(F),O)}function k(F){return F===47||F===62||sr(F)?x(F):n(F)}function E(F){return F===62?(t.consume(F),M):n(F)}function M(F){return F===null||Qt(F)?A(F):sr(F)?(t.consume(F),M):n(F)}function A(F){return F===45&&i===2?(t.consume(F),I):F===60&&i===1?(t.consume(F),B):F===62&&i===4?(t.consume(F),j):F===63&&i===3?(t.consume(F),L):F===93&&i===5?(t.consume(F),z):Qt(F)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(VZt,N,P)(F)):F===null||Qt(F)?(t.exit("htmlFlowData"),P(F)):(t.consume(F),A)}function P(F){return t.check(GZt,T,N)(F)}function T(F){return t.enter("lineEnding"),t.consume(F),t.exit("lineEnding"),R}function R(F){return F===null||Qt(F)?P(F):(t.enter("htmlFlowData"),A(F))}function I(F){return F===45?(t.consume(F),L):A(F)}function B(F){return F===47?(t.consume(F),s="",$):A(F)}function $(F){if(F===62){const H=s.toLowerCase();return axe.includes(H)?(t.consume(F),j):A(F)}return Vd(F)&&s.length<8?(t.consume(F),s+=String.fromCharCode(F),$):A(F)}function z(F){return F===93?(t.consume(F),L):A(F)}function L(F){return F===62?(t.consume(F),j):F===45&&i===2?(t.consume(F),L):A(F)}function j(F){return F===null||Qt(F)?(t.exit("htmlFlowData"),N(F)):(t.consume(F),j)}function N(F){return t.exit("htmlFlow"),e(F)}}function XZt(t,e,n){const r=this;return i;function i(s){return Qt(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):n(s)}function o(s){return r.parser.lazy[r.now().line]?n(s):e(s)}}function YZt(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(iU,e,n)}}const QZt={name:"htmlText",tokenize:KZt};function KZt(t,e,n){const r=this;let i,o,s;return a;function a(L){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(L),l}function l(L){return L===33?(t.consume(L),u):L===47?(t.consume(L),w):L===63?(t.consume(L),x):Vd(L)?(t.consume(L),O):n(L)}function u(L){return L===45?(t.consume(L),c):L===91?(t.consume(L),o=0,p):Vd(L)?(t.consume(L),y):n(L)}function c(L){return L===45?(t.consume(L),h):n(L)}function f(L){return L===null?n(L):L===45?(t.consume(L),d):Qt(L)?(s=f,B(L)):(t.consume(L),f)}function d(L){return L===45?(t.consume(L),h):f(L)}function h(L){return L===62?I(L):L===45?d(L):f(L)}function p(L){const j="CDATA[";return L===j.charCodeAt(o++)?(t.consume(L),o===j.length?g:p):n(L)}function g(L){return L===null?n(L):L===93?(t.consume(L),m):Qt(L)?(s=g,B(L)):(t.consume(L),g)}function m(L){return L===93?(t.consume(L),v):g(L)}function v(L){return L===62?I(L):L===93?(t.consume(L),v):g(L)}function y(L){return L===null||L===62?I(L):Qt(L)?(s=y,B(L)):(t.consume(L),y)}function x(L){return L===null?n(L):L===63?(t.consume(L),b):Qt(L)?(s=x,B(L)):(t.consume(L),x)}function b(L){return L===62?I(L):x(L)}function w(L){return Vd(L)?(t.consume(L),_):n(L)}function _(L){return L===45||au(L)?(t.consume(L),_):S(L)}function S(L){return Qt(L)?(s=S,B(L)):sr(L)?(t.consume(L),S):I(L)}function O(L){return L===45||au(L)?(t.consume(L),O):L===47||L===62||gl(L)?k(L):n(L)}function k(L){return L===47?(t.consume(L),I):L===58||L===95||Vd(L)?(t.consume(L),E):Qt(L)?(s=k,B(L)):sr(L)?(t.consume(L),k):I(L)}function E(L){return L===45||L===46||L===58||L===95||au(L)?(t.consume(L),E):M(L)}function M(L){return L===61?(t.consume(L),A):Qt(L)?(s=M,B(L)):sr(L)?(t.consume(L),M):k(L)}function A(L){return L===null||L===60||L===61||L===62||L===96?n(L):L===34||L===39?(t.consume(L),i=L,P):Qt(L)?(s=A,B(L)):sr(L)?(t.consume(L),A):(t.consume(L),T)}function P(L){return L===i?(t.consume(L),i=void 0,R):L===null?n(L):Qt(L)?(s=P,B(L)):(t.consume(L),P)}function T(L){return L===null||L===34||L===39||L===60||L===61||L===96?n(L):L===47||L===62||gl(L)?k(L):(t.consume(L),T)}function R(L){return L===47||L===62||gl(L)?k(L):n(L)}function I(L){return L===62?(t.consume(L),t.exit("htmlTextData"),t.exit("htmlText"),e):n(L)}function B(L){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(L),t.exit("lineEnding"),$}function $(L){return sr(L)?Br(t,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):z(L)}function z(L){return t.enter("htmlTextData"),s(L)}}const Bae={name:"labelEnd",tokenize:rJt,resolveTo:nJt,resolveAll:tJt},ZZt={tokenize:iJt},JZt={tokenize:oJt},eJt={tokenize:sJt};function tJt(t){let e=-1;for(;++e=3&&(u===null||Qt(u))?(t.exit("thematicBreak"),e(u)):n(u)}function l(u){return u===i?(t.consume(u),r++,l):(t.exit("thematicBreakSequence"),sr(u)?Br(t,a,"whitespace")(u):a(u))}}const Ua={name:"list",tokenize:gJt,continuation:{tokenize:mJt},exit:yJt},hJt={tokenize:xJt,partial:!0},pJt={tokenize:vJt,partial:!0};function gJt(t,e,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(h){const p=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:nQ(h)){if(r.containerState.type||(r.containerState.type=p,t.enter(p,{_container:!0})),p==="listUnordered")return t.enter("listItemPrefix"),h===42||h===45?t.check(F3,n,u)(h):u(h);if(!r.interrupt||h===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(h)}return n(h)}function l(h){return nQ(h)&&++s<10?(t.consume(h),l):(!r.interrupt||s<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(t.exit("listItemValue"),u(h)):n(h)}function u(h){return t.enter("listItemMarker"),t.consume(h),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,t.check(iU,r.interrupt?n:c,t.attempt(hJt,d,f))}function c(h){return r.containerState.initialBlankLine=!0,o++,d(h)}function f(h){return sr(h)?(t.enter("listItemPrefixWhitespace"),t.consume(h),t.exit("listItemPrefixWhitespace"),d):n(h)}function d(h){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(h)}}function mJt(t,e,n){const r=this;return r.containerState._closeFlow=void 0,t.check(iU,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Br(t,e,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!sr(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(pJt,e,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Br(t,t.attempt(Ua,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function vJt(t,e,n){const r=this;return Br(t,i,"listItemIndent",r.containerState.size+1);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?e(o):n(o)}}function yJt(t){t.exit(this.containerState.type)}function xJt(t,e,n){const r=this;return Br(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const s=r.events[r.events.length-1];return!sr(o)&&s&&s[1].type==="listItemPrefixWhitespace"?e(o):n(o)}}const lxe={name:"setextUnderline",tokenize:wJt,resolveTo:bJt};function bJt(t,e){let n=t.length,r,i,o;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!o&&t[n][1].type==="definition"&&(o=n);const s={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",s,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=s,t.push(["exit",s,e]),t}function wJt(t,e,n){const r=this;let i;return o;function o(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(t.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return t.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(t.consume(u),a):(t.exit("setextHeadingLineSequence"),sr(u)?Br(t,l,"lineSuffix")(u):l(u))}function l(u){return u===null||Qt(u)?(t.exit("setextHeadingLine"),e(u)):n(u)}}const _Jt={tokenize:SJt};function SJt(t){const e=this,n=t.attempt(iU,r,t.attempt(this.parser.constructs.flowInitial,i,Br(t,t.attempt(this.parser.constructs.flow,i,t.attempt(kZt,i)),"linePrefix")));return n;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const CJt={resolveAll:m8e()},OJt=g8e("string"),EJt=g8e("text");function g8e(t){return{tokenize:e,resolveAll:m8e(t==="text"?TJt:void 0)};function e(n){const r=this,i=this.parser.constructs[t],o=n.attempt(i,s,a);return s;function s(c){return u(c)?o(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),l)}function u(c){if(c===null)return!0;const f=i[c];let d=-1;if(f)for(;++d-1){const a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(t[i].slice(0,o))}return s}function PJt(t,e){let n=-1;const r=[];let i;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const VJt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function GJt(t){return t.replace(VJt,HJt)}function HJt(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return v8e(n.slice(o?2:1),o?16:10)}return jae(n)||t}const y8e={}.hasOwnProperty,qJt=function(t,e,n){return typeof e!="string"&&(n=e,e=void 0),XJt(n)(WJt(BJt(n).document().write(UJt()(t,e,!0))))};function XJt(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(he),autolinkProtocol:M,autolinkEmail:M,atxHeading:a(ne),blockQuote:a(ge),characterEscape:M,characterReference:M,codeFenced:a(te),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(te,l),codeText:a(ae,l),codeTextData:M,data:M,codeFlowValue:M,definition:a(U),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(oe),hardBreakEscape:a(V),hardBreakTrailing:a(V),htmlFlow:a(X,l),htmlFlowData:M,htmlText:a(X,l),htmlTextData:M,image:a(Z),label:l,link:a(he),listItem:a(G),listItemValue:p,listOrdered:a(xe,h),listUnordered:a(xe),paragraph:a(W),reference:q,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(ne),strong:a(J),thematicBreak:a(ye)},exit:{atxHeading:c(),atxHeadingSequence:S,autolink:c(),autolinkEmail:re,autolinkProtocol:ee,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:le,characterReferenceMarkerNumeric:le,characterReferenceValue:K,codeFenced:c(y),codeFencedFence:v,codeFencedFenceInfo:g,codeFencedFenceMeta:m,codeFlowValue:A,codeIndented:c(x),codeText:c(B),codeTextData:A,data:A,definition:c(),definitionDestinationString:_,definitionLabelString:b,definitionTitleString:w,emphasis:c(),hardBreakEscape:c(T),hardBreakTrailing:c(T),htmlFlow:c(R),htmlFlowData:A,htmlText:c(I),htmlTextData:A,image:c(z),label:j,labelText:L,lineEnding:P,link:c($),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Y,resourceDestinationString:N,resourceTitleString:F,resource:H,setextHeading:c(E),setextHeadingLineSequence:k,setextHeadingText:O,strong:c(),thematicBreak:c()}};x8e(e,(t||{}).mdastExtensions||[]);const n={};return r;function r(ie){let fe={type:"root",children:[]};const Q={stack:[fe],tokenStack:[],config:e,enter:u,exit:f,buffer:l,resume:d,setData:o,getData:s},_e=[];let we=-1;for(;++we0){const Ie=Q.tokenStack[Q.tokenStack.length-1];(Ie[1]||cxe).call(Q,void 0,Ie[0])}for(fe.position={start:mm(ie.length>0?ie[0][1].start:{line:1,column:1,offset:0}),end:mm(ie.length>0?ie[ie.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we{const r=this.data("settings");return qJt(n,Object.assign({},r,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function KJt(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function ZJt(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:` +`}]}function JJt(t,e){const n=e.value?e.value+` +`:"",r=e.lang?e.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return e.meta&&(o.data={meta:e.meta}),t.patch(e,o),o=t.applyData(e,o),o={type:"element",tagName:"pre",properties:{},children:[o]},t.patch(e,o),o}function een(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function ten(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function BO(t){const e=[];let n=-1,r=0,i=0;for(;++n55295&&o<57344){const a=t.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),i=1):s="�"}else s=String.fromCharCode(o);s&&(e.push(t.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return e.join("")+t.slice(r)}function b8e(t,e){const n=String(e.identifier).toUpperCase(),r=BO(n.toLowerCase()),i=t.footnoteOrder.indexOf(n);let o;i===-1?(t.footnoteOrder.push(n),t.footnoteCounts[n]=1,o=t.footnoteOrder.length):(t.footnoteCounts[n]++,o=i+1);const s=t.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+r,id:t.clobberPrefix+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};t.patch(e,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return t.patch(e,l),t.applyData(e,l)}function nen(t,e){const n=t.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},b8e(t,{type:"footnoteReference",identifier:i,position:e.position})}function ren(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function ien(t,e){if(t.dangerous){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}return null}function w8e(t,e){const n=e.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return{type:"text",value:"!["+e.alt+r};const i=t.all(e),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function oen(t,e){const n=t.definition(e.identifier);if(!n)return w8e(t,e);const r={src:BO(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,i),t.applyData(e,i)}function sen(t,e){const n={src:BO(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,r),t.applyData(e,r)}function aen(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,r),t.applyData(e,r)}function len(t,e){const n=t.definition(e.identifier);if(!n)return w8e(t,e);const r={href:BO(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function uen(t,e){const n={href:BO(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const r={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function cen(t,e,n){const r=t.all(e),i=n?fen(n):_8e(e),o={},s=[];if(typeof e.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a1}function den(t,e){const n={},r=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i-1?r.offset:null}}}function ven(t,e){const n=t.all(e),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:t.wrap([r],!0)};t.patch(e.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},a=Uae(e.children[1]),l=Wae(e.children[e.children.length-1]);a.line&&l.line&&(s.position={start:a,end:l}),i.push(s)}const o={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,o),t.applyData(e,o)}function yen(t,e,n){const r=n?n.children:void 0,o=(r?r.indexOf(e):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,a=s?s.length:e.children.length;let l=-1;const u=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(e);return o.push(hxe(e.slice(i),i>0,!1)),o.join("")}function hxe(t,e,n){let r=0,i=t.length;if(e){let o=t.codePointAt(r);for(;o===fxe||o===dxe;)r++,o=t.codePointAt(r)}if(n){let o=t.codePointAt(i-1);for(;o===fxe||o===dxe;)i--,o=t.codePointAt(i-1)}return i>r?t.slice(r,i):""}function wen(t,e){const n={type:"text",value:ben(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function _en(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const Sen={blockquote:KJt,break:ZJt,code:JJt,delete:een,emphasis:ten,footnoteReference:b8e,footnote:nen,heading:ren,html:ien,imageReference:oen,image:sen,inlineCode:aen,linkReference:len,link:uen,listItem:cen,list:den,paragraph:hen,root:pen,strong:gen,table:ven,tableCell:xen,tableRow:yen,text:wen,thematicBreak:_en,toml:hL,yaml:hL,definition:hL,footnoteDefinition:hL};function hL(){return null}const C8e=function(t){if(t==null)return Ten;if(typeof t=="string")return Een(t);if(typeof t=="object")return Array.isArray(t)?Cen(t):Oen(t);if(typeof t=="function")return oU(t);throw new Error("Expected function, string, or object as test")};function Cen(t){const e=[];let n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],h,p,g;if((!e||i(a,l,u[u.length-1]||null))&&(d=Men(n(a,u)),d[0]===pxe))return d;if(a.children&&d[0]!==Aen)for(p=(r?a.children.length:-1)+o,g=u.concat(a);p>-1&&p{const i=mxe(r.identifier);i&&!gxe.call(e,i)&&(e[i]=r)}),n;function n(r){const i=mxe(r);return i&&gxe.call(e,i)?e[i]:null}}function mxe(t){return String(t||"").toUpperCase()}const q5={}.hasOwnProperty;function Ien(t,e){const n=e||{},r=n.allowDangerousHtml||!1,i={};return s.dangerous=r,s.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,s.footnoteLabel=n.footnoteLabel||"Footnotes",s.footnoteLabelTagName=n.footnoteLabelTagName||"h2",s.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},s.footnoteBackLabel=n.footnoteBackLabel||"Back to content",s.unknownHandler=n.unknownHandler,s.passThrough=n.passThrough,s.handlers={...Sen,...n.handlers},s.definition=Den(t),s.footnoteById=i,s.footnoteOrder=[],s.footnoteCounts={},s.patch=Len,s.applyData=$en,s.one=a,s.all=l,s.wrap=Nen,s.augment=o,Vae(t,"footnoteDefinition",u=>{const c=String(u.identifier).toUpperCase();q5.call(i,c)||(i[c]=u)}),s;function o(u,c){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};Ren(f)||(c.position={start:Uae(f),end:Wae(f)})}return c}function s(u,c,f,d){return Array.isArray(f)&&(d=f,f={}),o(u,{type:"element",tagName:c,properties:f||{},children:d||[]})}function a(u,c){return O8e(s,u,c)}function l(u){return Gae(s,u)}}function Len(t,e){t.position&&(e.position=men(t))}function $en(t,e){let n=e;if(t&&t.data){const r=t.data.hName,i=t.data.hChildren,o=t.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function O8e(t,e,n){const r=e&&e.type;if(!r)throw new Error("Expected node, got `"+e+"`");return q5.call(t.handlers,r)?t.handlers[r](t,e,n):t.passThrough&&t.passThrough.includes(r)?"children"in e?{...e,children:Gae(t,e)}:e:t.unknownHandler?t.unknownHandler(t,e,n):Fen(t,e)}function Gae(t,e){const n=[];if("children"in e){const r=e.children;let i=-1;for(;++i0&&n.push({type:"text",value:` +`}),n}function zen(t){const e=[];let n=-1;for(;++n1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const u=i[i.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const f=u.children[u.children.length-1];f&&f.type==="text"?f.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else i.push(...l);const c={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+s},children:t.wrap(i,!0)};t.patch(r,c),e.push(c)}if(e.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:t.wrap(e,!0)},{type:"text",value:` +`}]}}function E8e(t,e){const n=Ien(t,e),r=n.one(t,null),i=zen(n);return i&&r.children.push({type:"text",value:` +`},i),Array.isArray(r)?{type:"root",children:r}:r}const jen=function(t,e){return t&&"run"in t?Ben(t,e):Uen(t||e)};function Ben(t,e){return(n,r,i)=>{t.run(E8e(n,e),r,o=>{i(o)})}}function Uen(t){return e=>E8e(e,t)}class KR{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}}KR.prototype.property={};KR.prototype.normal={};KR.prototype.space=null;function T8e(t,e){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&qen.test(e)){if(e.charAt(4)==="-"){const o=e.slice(5).replace(yxe,Ken);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=e.slice(4);if(!yxe.test(o)){let s=o.replace(Xen,Qen);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}i=Hae}return new i(r,e)}function Qen(t){return"-"+t.toLowerCase()}function Ken(t){return t.charAt(1).toUpperCase()}const xxe={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Zen=T8e([P8e,A8e,D8e,I8e,Gen],"html"),Jen=T8e([P8e,A8e,D8e,I8e,Hen],"svg");function etn(t){if(t.allowedElements&&t.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(t.allowedElements||t.disallowedElements||t.allowElement)return e=>{Vae(e,"element",(n,r,i)=>{const o=i;let s;if(t.allowedElements?s=!t.allowedElements.includes(n.tagName):t.disallowedElements&&(s=t.disallowedElements.includes(n.tagName)),!s&&t.allowElement&&typeof r=="number"&&(s=!t.allowElement(n,r,o)),s&&typeof r=="number")return t.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}var L8e={exports:{}},Sr={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qae=Symbol.for("react.element"),Xae=Symbol.for("react.portal"),sU=Symbol.for("react.fragment"),aU=Symbol.for("react.strict_mode"),lU=Symbol.for("react.profiler"),uU=Symbol.for("react.provider"),cU=Symbol.for("react.context"),ttn=Symbol.for("react.server_context"),fU=Symbol.for("react.forward_ref"),dU=Symbol.for("react.suspense"),hU=Symbol.for("react.suspense_list"),pU=Symbol.for("react.memo"),gU=Symbol.for("react.lazy"),ntn=Symbol.for("react.offscreen"),$8e;$8e=Symbol.for("react.module.reference");function Vc(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case qae:switch(t=t.type,t){case sU:case lU:case aU:case dU:case hU:return t;default:switch(t=t&&t.$$typeof,t){case ttn:case cU:case fU:case gU:case pU:case uU:return t;default:return e}}case Xae:return e}}}Sr.ContextConsumer=cU;Sr.ContextProvider=uU;Sr.Element=qae;Sr.ForwardRef=fU;Sr.Fragment=sU;Sr.Lazy=gU;Sr.Memo=pU;Sr.Portal=Xae;Sr.Profiler=lU;Sr.StrictMode=aU;Sr.Suspense=dU;Sr.SuspenseList=hU;Sr.isAsyncMode=function(){return!1};Sr.isConcurrentMode=function(){return!1};Sr.isContextConsumer=function(t){return Vc(t)===cU};Sr.isContextProvider=function(t){return Vc(t)===uU};Sr.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===qae};Sr.isForwardRef=function(t){return Vc(t)===fU};Sr.isFragment=function(t){return Vc(t)===sU};Sr.isLazy=function(t){return Vc(t)===gU};Sr.isMemo=function(t){return Vc(t)===pU};Sr.isPortal=function(t){return Vc(t)===Xae};Sr.isProfiler=function(t){return Vc(t)===lU};Sr.isStrictMode=function(t){return Vc(t)===aU};Sr.isSuspense=function(t){return Vc(t)===dU};Sr.isSuspenseList=function(t){return Vc(t)===hU};Sr.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===sU||t===lU||t===aU||t===dU||t===hU||t===ntn||typeof t=="object"&&t!==null&&(t.$$typeof===gU||t.$$typeof===pU||t.$$typeof===uU||t.$$typeof===cU||t.$$typeof===fU||t.$$typeof===$8e||t.getModuleId!==void 0)};Sr.typeOf=Vc;L8e.exports=Sr;var rtn=L8e.exports;const itn=on(rtn);function otn(t){const e=t&&typeof t=="object"&&t.type==="text"?t.value||"":t;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}function stn(t){return t.join(" ").trim()}function atn(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Yae={exports:{}},bxe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ltn=/\n/g,utn=/^\s*/,ctn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ftn=/^:\s*/,dtn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,htn=/^[;\s]*/,ptn=/^\s+|\s+$/g,gtn=` +`,wxe="/",_xe="*",Z0="",mtn="comment",vtn="declaration",ytn=function(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,r=1;function i(p){var g=p.match(ltn);g&&(n+=g.length);var m=p.lastIndexOf(gtn);r=~m?p.length-m:r+p.length}function o(){var p={line:n,column:r};return function(g){return g.position=new s(p),u(),g}}function s(p){this.start=p,this.end={line:n,column:r},this.source=e.source}s.prototype.content=t;function a(p){var g=new Error(e.source+":"+n+":"+r+": "+p);if(g.reason=p,g.filename=e.source,g.line=n,g.column=r,g.source=t,!e.silent)throw g}function l(p){var g=p.exec(t);if(g){var m=g[0];return i(m),t=t.slice(m.length),g}}function u(){l(utn)}function c(p){var g;for(p=p||[];g=f();)g!==!1&&p.push(g);return p}function f(){var p=o();if(!(wxe!=t.charAt(0)||_xe!=t.charAt(1))){for(var g=2;Z0!=t.charAt(g)&&(_xe!=t.charAt(g)||wxe!=t.charAt(g+1));)++g;if(g+=2,Z0===t.charAt(g-1))return a("End of comment missing");var m=t.slice(2,g-2);return r+=2,i(m),t=t.slice(g),r+=2,p({type:mtn,comment:m})}}function d(){var p=o(),g=l(ctn);if(g){if(f(),!l(ftn))return a("property missing ':'");var m=l(dtn),v=p({type:vtn,property:Sxe(g[0].replace(bxe,Z0)),value:m?Sxe(m[0].replace(bxe,Z0)):Z0});return l(htn),v}}function h(){var p=[];c(p);for(var g;g=d();)g!==!1&&(p.push(g),c(p));return p}return u(),h()};function Sxe(t){return t?t.replace(ptn,Z0):Z0}var xtn=ytn;function F8e(t,e){var n=null;if(!t||typeof t!="string")return n;for(var r,i=xtn(t),o=typeof e=="function",s,a,l=0,u=i.length;l0?de.createElement(h,l,f):de.createElement(h,l)}function Ctn(t){let e=-1;for(;++e for more info)`),delete pL[o]}const e=BKt().use(QJt).use(t.remarkPlugins||[]).use(jen,{...t.remarkRehypeOptions,allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(etn,t),n=new r8e;typeof t.children=="string"?n.value=t.children:t.children!==void 0&&t.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${t.children}\`)`);const r=e.runSync(e.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=de.createElement(de.Fragment,{},N8e({options:t,schema:Zen,listDepth:0},r));return t.className&&(i=de.createElement("div",{className:t.className},i)),i}mU.propTypes={children:pe.string,className:pe.string,allowElement:pe.func,allowedElements:pe.arrayOf(pe.string),disallowedElements:pe.arrayOf(pe.string),unwrapDisallowed:pe.bool,remarkPlugins:pe.arrayOf(pe.oneOfType([pe.object,pe.func,pe.arrayOf(pe.oneOfType([pe.bool,pe.string,pe.object,pe.func,pe.arrayOf(pe.any)]))])),rehypePlugins:pe.arrayOf(pe.oneOfType([pe.object,pe.func,pe.arrayOf(pe.oneOfType([pe.bool,pe.string,pe.object,pe.func,pe.arrayOf(pe.any)]))])),sourcePos:pe.bool,rawSourcePos:pe.bool,skipHtml:pe.bool,includeElementIndex:pe.bool,transformLinkUri:pe.oneOfType([pe.func,pe.bool]),linkTarget:pe.oneOfType([pe.func,pe.string]),transformImageUri:pe.func,components:pe.object};const WO=ut(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function z8e(t){const[e,n]=D.useState();return D.useEffect(()=>{t?fetch(t).then(r=>r.text()).then(r=>n(r)).catch(r=>{console.error(r)}):n(void 0)},[t]),e}const w9={dialog:t=>({backgroundColor:t.palette.grey[200]}),appBar:{position:"relative"},title:t=>({marginLeft:t.spacing(2),flex:1})},Ptn=ra("div")(({theme:t})=>({marginTop:t.spacing(4),marginLeft:t.spacing(40),marginRight:t.spacing(40)})),Mtn=de.forwardRef(function(e,n){return C.jsx(uat,{direction:"up",ref:n,...e})}),Rtn=({title:t,href:e,open:n,onClose:r})=>{const i=z8e(e);return C.jsxs(ed,{fullScreen:!0,open:n,onClose:r,TransitionComponent:Mtn,PaperProps:{tabIndex:-1},children:[C.jsx(mAe,{sx:w9.appBar,children:C.jsxs(w4,{children:[C.jsx(Xt,{edge:"start",color:"inherit",onClick:r,"aria-label":"close",size:"large",children:C.jsx(WO,{})}),C.jsx(Jt,{variant:"h6",sx:w9.title,children:t})]})}),C.jsx(zf,{sx:w9.dialog,children:C.jsx(Ptn,{children:C.jsx(mU,{children:i||"",linkTarget:"_blank"})})})]})},Oxe=ut(C.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"Person"),Dtn=({userInfo:t})=>C.jsxs(rW,{container:!0,justifyContent:"center",spacing:1,children:[C.jsx(rW,{item:!0,children:C.jsx("img",{src:t.picture,width:84,alt:me.get("User Profile")})}),C.jsx(rW,{item:!0,children:C.jsx(Tl,{elevation:3,children:C.jsxs(RM,{children:[C.jsx(A_,{children:C.jsx(dc,{primary:t.name,secondary:me.get("User name")})}),C.jsx(Sh,{light:!0}),C.jsx(A_,{children:C.jsx(dc,{primary:`${t.email} (${t.email_verified?me.get("verified"):me.get("not verified")})`,secondary:me.get("E-mail")})}),C.jsx(Sh,{light:!0}),C.jsx(A_,{children:C.jsx(dc,{primary:t.nickname,secondary:me.get("Nickname")})})]})})})]}),p2={imageAvatar:{width:32,height:32,color:"#fff",backgroundColor:Ox[300]},letterAvatar:{width:32,height:32,color:"#fff",backgroundColor:Ox[300]},signInProgress:{color:Ox[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:-12,marginLeft:-12},iconButton:{padding:0}},Itn=ra("div")(({theme:t})=>({margin:t.spacing(1),position:"relative"})),Ltn=({updateAccessToken:t})=>{const e=Ddt(),[n,r]=D.useState(null),[i,o]=D.useState(!1);D.useEffect(()=>{e.user&&e.user.access_token?t(e.user.access_token):t(null)},[e.user,t]);const s=()=>{u(),o(!0)},a=()=>{o(!1)},l=d=>{r(d.currentTarget)},u=()=>{r(null)},c=()=>{e.signinRedirect().then(()=>{}).catch(d=>{console.error(d)})},f=()=>{u(),e.signoutRedirect().then(()=>{}).catch(d=>{console.error(d)})};if(e.user){const d=e.user.profile;let h,p=C.jsx(Oxe,{});if(!d)h=C.jsx(eW,{sx:p2.letterAvatar,children:"?"});else if(d.picture)h=C.jsx(eW,{sx:p2.imageAvatar,src:d.picture,alt:d.name});else{const g=d.given_name||d.name||d.nickname,m=d.family_name;let v=null;g&&m?v=g[0]+m[0]:g?v=g[0]:m&&(v=m[0]),v!==null&&(p=v.toUpperCase()),h=C.jsx(eW,{sx:p2.letterAvatar,children:p})}return C.jsxs(D.Fragment,{children:[C.jsx(Xt,{onClick:l,"aria-controls":"user-menu","aria-haspopup":"true",size:"small",sx:p2.iconButton,children:h}),C.jsxs(Q1,{id:"user-menu",anchorEl:n,keepMounted:!0,open:!!n,onClose:u,children:[C.jsx(_i,{onClick:s,children:me.get("Profile")}),C.jsx(_i,{onClick:f,children:me.get("Log out")})]}),C.jsxs(ed,{open:i,keepMounted:!0,onClose:a,"aria-labelledby":"alert-dialog-slide-title","aria-describedby":"alert-dialog-slide-description",children:[C.jsx(Dy,{id:"alert-dialog-slide-title",children:me.get("User Profile")}),C.jsx(zf,{children:C.jsx(Dtn,{userInfo:e.user.profile})}),C.jsx(X1,{children:C.jsx(Vr,{onClick:a,children:"OK"})})]})]})}else{let d=C.jsx(Xt,{onClick:e.isLoading?void 0:c,size:"small",children:C.jsx(Oxe,{})});return e.isLoading&&(d=C.jsxs(Itn,{children:[d,C.jsx(q1,{size:24,sx:p2.signInProgress})]})),d}},$tn=t=>Pn.instance.authClient?C.jsx(Ltn,{...t}):null,Ftn=$tn,j8e="UPDATE_ACCESS_TOKEN";function Ntn(t){return(e,n)=>{const r=n().userAuthState.accessToken;r!==t&&(e(ztn(t)),(t===null||r===null)&&e(H6e()))}}function ztn(t){return{type:j8e,accessToken:t}}const jtn=t=>({}),Btn={updateAccessToken:Ntn},Utn=Rn(jtn,Btn)(Ftn),Wtn=t=>({locale:t.controlState.locale,appName:Pn.instance.branding.appBarTitle,allowRefresh:Pn.instance.branding.allowRefresh}),Vtn={openDialog:bb,updateResources:G6e},Gtn={appBar:t=>({zIndex:t.zIndex.drawer+1,transition:t.transitions.create(["width","margin"],{easing:t.transitions.easing.sharp,duration:t.transitions.duration.leavingScreen})})},Htn=be("a")(()=>({display:"flex",alignItems:"center"})),qtn=be("img")(({theme:t})=>({marginLeft:t.spacing(1)})),_0={toolbar:t=>({backgroundColor:Pn.instance.branding.headerBackgroundColor,paddingRight:t.spacing(1)}),logo:t=>({marginLeft:t.spacing(1)}),title:t=>({flexGrow:1,marginLeft:t.spacing(1),...Pn.instance.branding.headerTitleStyle}),imageAvatar:{width:24,height:24,color:"#fff",backgroundColor:Ox[300]},letterAvatar:{width:24,height:24,color:"#fff",backgroundColor:Ox[300]},signInWrapper:t=>({margin:t.spacing(1),position:"relative"}),signInProgress:{color:Ox[300],position:"absolute",top:"50%",left:"50%",zIndex:1,marginTop:"-12px",marginLeft:"-12px"},iconButton:t=>({marginLeft:t.spacing(2),...Pn.instance.branding.headerIconStyle})},Xtn=({appName:t,openDialog:e,allowRefresh:n,updateResources:r})=>{const[i,o]=D.useState(!1),s=()=>{e("settings")},a=()=>{window.open("https://xcube-dev.github.io/xcube-viewer/","Manual")},l=()=>{o(!0)},u=()=>{o(!1)};return C.jsxs(mAe,{position:"absolute",sx:Gtn.appBar,elevation:0,children:[C.jsxs(w4,{disableGutters:!0,sx:_0.toolbar,variant:"dense",children:[C.jsx(Htn,{href:Pn.instance.branding.organisationUrl||"",target:"_blank",rel:"noreferrer",children:C.jsx(qtn,{src:Pn.instance.branding.logoImage,width:Pn.instance.branding.logoWidth,alt:"xcube logo"})}),C.jsx(Jt,{component:"h1",variant:"h6",color:"inherit",noWrap:!0,sx:_0.title,children:t}),C.jsx(Utn,{}),n&&C.jsx(Bt,{arrow:!0,title:me.get("Refresh"),children:C.jsx(Xt,{onClick:r,size:"small",sx:_0.iconButton,children:C.jsx(vPe,{})})}),Pn.instance.branding.allowDownloads&&C.jsx(Bt,{arrow:!0,title:me.get("Export data"),children:C.jsx(Xt,{onClick:()=>e("export"),size:"small",sx:_0.iconButton,children:C.jsx(yPe,{})})}),C.jsx(Bt,{arrow:!0,title:me.get("Help"),children:C.jsx(Xt,{onClick:a,size:"small",sx:_0.iconButton,children:C.jsx(gPe,{})})}),C.jsx(Bt,{arrow:!0,title:me.get("Imprint"),children:C.jsx(Xt,{onClick:l,size:"small",sx:_0.iconButton,children:C.jsx(Bdt,{})})}),C.jsx(Bt,{arrow:!0,title:me.get("Settings"),children:C.jsx(Xt,{onClick:s,size:"small",sx:_0.iconButton,children:C.jsx(mPe,{})})})]}),C.jsx(Rtn,{title:me.get("Imprint"),href:"docs/imprint.md",open:i,onClose:u})]})},Ytn=Rn(Wtn,Vtn)(Xtn),Qtn=ra("form")(({theme:t})=>({display:"flex",flexWrap:"wrap",paddingTop:t.spacing(1),paddingLeft:t.spacing(1),paddingRight:t.spacing(1),flexGrow:0}));function Ktn({children:t}){return C.jsx(Qtn,{autoComplete:"off",children:t})}const B8e=ut(C.jsx("path",{d:"M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5M12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07c-.64-2.46-2.4-4.47-4.73-5.41V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8"}),"TravelExplore"),lc=({sx:t,className:e,disabled:n,onClick:r,icon:i,tooltipText:o,toggle:s,value:a,selected:l})=>{const u=f=>{s?r(f,a):r(f)},c=o?C.jsx(Bt,{arrow:!0,title:o,children:i}):i;return s?C.jsx(yr,{sx:{padding:.3,...t},className:e,disabled:n,size:"small",onClick:u,value:a||"",selected:l,children:c}):C.jsx(Xt,{sx:t,className:e,disabled:n,size:"small",onClick:u,children:c})},Ztn=ra(Wg)(({theme:t})=>({marginRight:t.spacing(1)}));function eP({label:t,control:e,actions:n}){return C.jsx(Ztn,{variant:"standard",children:C.jsxs(ot,{children:[t,e,n]})})}function Jtn({selectedDatasetId:t,datasets:e,selectDataset:n,locateSelectedDataset:r}){const i=D.useMemo(()=>e.sort((d,h)=>{const p=d.groupTitle||"zzz",g=h.groupTitle||"zzz",m=p.localeCompare(g);return m!==0?m:d.title.localeCompare(h.title)}),[e]),o=i.length>0&&!!i[0].groupTitle,s=d=>{const h=d.target.value||null;n(h,e,!0)};t=t||"",e=e||[];const a=C.jsx(Iy,{shrink:!0,htmlFor:"dataset-select",children:me.get("Dataset")}),l=[];let u;i.forEach(d=>{if(o){const h=d.groupTitle||me.get("Others");h!==u&&l.push(C.jsx(Sh,{children:C.jsx(Jt,{fontSize:"small",color:"text.secondary",children:h})},h)),u=h}l.push(C.jsx(_i,{value:d.id,selected:d.id===t,children:d.title},d.id))});const c=C.jsx(Vg,{variant:"standard",value:t,onChange:s,input:C.jsx(Pg,{name:"dataset",id:"dataset-select"}),displayEmpty:!0,name:"dataset",children:l}),f=C.jsx(lc,{onClick:r,tooltipText:me.get("Locate dataset in map"),icon:C.jsx(B8e,{})});return C.jsx(eP,{label:a,control:c,actions:f})}const enn=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,datasets:t.dataState.datasets}),tnn={selectDataset:hUe,locateSelectedDataset:nKt},nnn=Rn(enn,tnn)(Jtn),aQ=ut(C.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5.97 4.06L14.09 6l1.41 1.41L16.91 6l1.06 1.06-1.41 1.41 1.41 1.41-1.06 1.06-1.41-1.4-1.41 1.41-1.06-1.06 1.41-1.41zm-6.78.66h5v1.5h-5zM11.5 16h-2v2H8v-2H6v-1.5h2v-2h1.5v2h2zm6.5 1.25h-5v-1.5h5zm0-2.5h-5v-1.5h5z"}),"Calculate"),U8e=ut(C.jsx("path",{d:"M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"}),"Functions"),lQ=ut(C.jsx("path",{fillRule:"evenodd",d:"M16 9V4h1c.55 0 1-.45 1-1s-.45-1-1-1H7c-.55 0-1 .45-1 1s.45 1 1 1h1v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1 1-1v-7H19v-2c-1.66 0-3-1.34-3-3"}),"PushPin"),rnn=ut(C.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),rl={toggleButton:{padding:.3}},X5="userVariablesDialog";function inn(){return{id:Uf("user"),name:"",title:"",units:"",expression:"",colorBarName:"bone",colorBarMin:0,colorBarMax:1,shape:[],dims:[],dtype:"float64",timeChunkSize:null,attrs:{}}}function onn(t){return{...t,id:Uf("user"),name:`${t.name}_copy`,title:t.title?`${t.title} Copy`:""}}const snn={variables:!0,constants:!1,arrayOperators:!1,otherOperators:!1,arrayFunctions:!1,otherFunctions:!1},W8e=["variables","constants","arrayOperators","otherOperators","arrayFunctions","otherFunctions"],ann={variables:"Variables",constants:"Constants",arrayOperators:"Array operators",otherOperators:"Other operators",arrayFunctions:"Array functions",otherFunctions:"Other functions"};function lnn({selectedDatasetId:t,selectedVariableName:e,selectedDataset2Id:n,selectedVariable2Name:r,variables:i,userVariablesAllowed:o,canAddTimeSeries:s,addTimeSeries:a,canAddStatistics:l,addStatistics:u,selectVariable:c,selectVariable2:f,openDialog:d}){const h=O=>{c(O.target.value||null)},p=()=>{d(X5)},g=()=>{a()},m=()=>{u()},v=t===n&&e===r,y=C.jsx(Iy,{shrink:!0,htmlFor:"variable-select",children:me.get("Variable")}),x=C.jsx(Vg,{variant:"standard",value:e||"",onChange:h,input:C.jsx(Pg,{name:"variable",id:"variable-select"}),displayEmpty:!0,name:"variable",renderValue:()=>Exe(i.find(O=>O.name===e)),children:(i||[]).map(O=>C.jsxs(_i,{value:O.name,selected:O.name===e,children:[zM(O)&&C.jsx(jAe,{children:C.jsx(aQ,{fontSize:"small"})}),C.jsx(dc,{children:Exe(O)}),t===n&&O.name===r&&C.jsx(lQ,{fontSize:"small",color:"secondary"})]},O.name))}),b=o&&C.jsx(lc,{onClick:p,tooltipText:me.get("Create and manage user variables"),icon:C.jsx(aQ,{})},"userVariables"),w=C.jsx(lc,{disabled:!s,onClick:g,tooltipText:me.get("Show time-series diagram"),icon:C.jsx(rnn,{})},"timeSeries"),_=C.jsx(lc,{disabled:!l,onClick:m,tooltipText:me.get("Add statistics"),icon:C.jsx(U8e,{})},"statistics"),S=C.jsx(yr,{selected:v,value:"comparison",size:"small",sx:{...rl.toggleButton,marginLeft:.4},onClick:()=>f(t,e),children:C.jsx(Bt,{arrow:!0,title:me.get("Make it 2nd variable for comparison"),children:C.jsx(lQ,{fontSize:"small"})})},"variable2");return C.jsx(eP,{label:y,control:x,actions:[S,b,w,_]})}function Exe(t){return t?t.title||t.name:"?"}const unn=t=>({locale:t.controlState.locale,selectedDatasetId:t.controlState.selectedDatasetId,selectedVariableName:t.controlState.selectedVariableName,selectedDataset2Id:t.controlState.selectedDataset2Id,selectedVariable2Name:t.controlState.selectedVariable2Name,userVariablesAllowed:Bwt(),canAddTimeSeries:hDe(t),canAddStatistics:pDe(t),variables:Qwt(t)}),cnn={openDialog:bb,selectVariable:SUe,selectVariable2:hKt,addTimeSeries:J6,addStatistics:Z6e},fnn=Rn(unn,cnn)(lnn),VO=ut(C.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),vU=ut(C.jsx("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline"),V8e=({itemValue:t,setItemValue:e,validateItemValue:n,editMode:r,setEditMode:i,labelText:o,select:s,actions:a})=>{const l=D.useRef(null),[u,c]=D.useState("");D.useEffect(()=>{r&&c(t)},[r,t,c]),D.useEffect(()=>{if(r){const p=l.current;p!==null&&(p.focus(),p.select())}},[r]);const f=C.jsx(Iy,{shrink:!0,htmlFor:"place-select",children:o});if(!r)return C.jsx(eP,{label:f,control:s,actions:a});const d=n?n(u):!0,h=C.jsx(Pg,{value:u,error:!d,inputRef:l,onBlur:()=>i(!1),onKeyUp:p=>{p.code==="Escape"?i(!1):p.code==="Enter"&&d&&(i(!1),e(u))},onChange:p=>{c(p.currentTarget.value)}});return C.jsx(eP,{label:f,control:h})},dnn={select:{minWidth:"5em"}};function hnn({placeGroups:t,selectPlaceGroups:e,renameUserPlaceGroup:n,removeUserPlaceGroup:r,selectedPlaceGroupIds:i,selectedPlaceGroupsTitle:o}){const[s,a]=D.useState(!1);if(t=t||[],i=i||[],t.length===0)return null;const l=i.length===1?i[0]:null,u=g=>{n(l,g)},c=g=>{e(g.target.value||null)},f=()=>o,d=C.jsx(Vg,{variant:"standard",multiple:!0,displayEmpty:!0,onChange:c,input:C.jsx(Pg,{name:"place-groups",id:"place-groups-select"}),value:i,renderValue:f,name:"place-groups",sx:dnn.select,children:t.map(g=>C.jsxs(_i,{value:g.id,children:[C.jsx($F,{checked:i.indexOf(g.id)>-1}),C.jsx(dc,{primary:g.title})]},g.id))});let h=!1;l!==null&&l.startsWith(eO)&&(h=!!t.find(g=>g.id===l&&g.features&&g.features.length>=0));let p;if(h){const g=()=>{a(!0)},m=()=>{r(l)};p=[C.jsx(lc,{onClick:g,tooltipText:me.get("Rename place group"),icon:C.jsx(VO,{})},"editPlaceGroup"),C.jsx(lc,{onClick:m,tooltipText:me.get("Remove places"),icon:C.jsx(vU,{})},"removePlaceGroup")]}return C.jsx(V8e,{itemValue:o,setItemValue:u,validateItemValue:g=>g.trim().length>0,editMode:s,setEditMode:a,labelText:me.get("Places"),select:d,actions:p})}const pnn=t=>({locale:t.controlState.locale,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,placeGroups:U4(t),selectedPlaceGroupsTitle:l_t(t)}),gnn={selectPlaceGroups:sKt,renameUserPlaceGroup:AQt,removeUserPlaceGroup:LQt},mnn=Rn(pnn,gnn)(hnn),vnn=ut(C.jsx("path",{d:"M16.56 8.94 7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.59-.59 1.54 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.58.59-1.53 0-2.12M5.21 10 10 5.21 14.79 10zM19 11.5s-2 2.17-2 3.5c0 1.1.9 2 2 2s2-.9 2-2c0-1.33-2-3.5-2-3.5M2 20h20v4H2z"}),"FormatColorFill"),S0={container:{display:"grid",gridTemplateColumns:"auto 120px",gridTemplateRows:"auto",gridTemplateAreas:"'colorLabel colorValue' 'opacityLabel opacityValue'",rowGap:1,columnGap:2.5,padding:1},colorLabel:{gridArea:"colorLabel",alignSelf:"center"},colorValue:{gridArea:"colorValue",alignSelf:"center",width:"100%",height:"22px",borderWidth:1,borderStyle:"solid",borderColor:"black"},opacityLabel:{gridArea:"opacityLabel",alignSelf:"center"},opacityValue:{gridArea:"opacityValue",alignSelf:"center",width:"100%"},colorMenuItem:{padding:"4px 8px 4px 8px"},colorMenuItemBox:{width:"104px",height:"18px"}},ynn=({anchorEl:t,setAnchorEl:e,isPoint:n,placeStyle:r,updatePlaceStyle:i})=>{const[o,s]=D.useState(null);function a(l){s(l.currentTarget)}return C.jsxs(C.Fragment,{children:[C.jsx(Y1,{open:t!==null,anchorEl:t,onClose:()=>e(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:C.jsxs(ot,{sx:S0.container,children:[C.jsx(Jt,{sx:S0.colorLabel,children:me.get("Color")}),C.jsx(Jt,{sx:S0.opacityLabel,color:n?"text.secondary":"text.primary",children:me.get("Opacity")}),C.jsx(ot,{sx:S0.colorValue,style:{backgroundColor:r.color},onClick:a}),C.jsx(XC,{sx:S0.opacityValue,disabled:n,size:"small",min:0,max:1,step:.05,value:r.opacity,onChange:(l,u)=>i({...r,opacity:u})})]})}),C.jsx(Q1,{open:!!o,anchorEl:o,onClose:()=>s(null),children:Ree.map(([l,u])=>C.jsx(_i,{selected:r.color===l,sx:S0.colorMenuItem,onClick:()=>i({...r,color:l}),children:C.jsx(Bt,{title:l,children:C.jsx(ot,{sx:{...S0.colorMenuItemBox,backgroundColor:l}})})},l))})]})},xnn={select:{minWidth:"5em"}};function bnn({selectPlace:t,placeLabels:e,selectedPlaceId:n,selectedPlaceGroupIds:r,selectedPlaceInfo:i,renameUserPlace:o,restyleUserPlace:s,removeUserPlace:a,places:l,locateSelectedPlace:u}){const[c,f]=D.useState(!1),[d,h]=D.useState(null);l=l||[],e=e||[],n=n||"",r=r||[];const p=r.length===1?r[0]:null,g=l.findIndex(S=>S.id===n),m=g>=0?e[g]:"",v=S=>{o(p,n,S)},y=S=>{s(p,n,S)},x=S=>{t(S.target.value||null,l,!0)},b=C.jsx(Vg,{variant:"standard",value:n,onChange:x,input:C.jsx(Pg,{name:"place",id:"place-select"}),displayEmpty:!0,name:"place",sx:xnn.select,disabled:l.length===0,children:l.map((S,O)=>C.jsx(_i,{value:S.id,selected:S.id===n,children:e[O]},S.id))}),w=p!==null&&p.startsWith(eO)&&n!=="";let _=[C.jsx(lc,{onClick:u,tooltipText:me.get("Locate place in map"),icon:C.jsx(B8e,{})},"locatePlace")];if(!c&&w){const S=()=>{f(!0)},O=E=>{h(E.currentTarget)},k=()=>{a(p,n,l)};_=[C.jsx(lc,{onClick:S,tooltipText:me.get("Rename place"),icon:C.jsx(VO,{})},"editButton"),C.jsx(lc,{onClick:O,tooltipText:me.get("Style place"),icon:C.jsx(vnn,{})},"styleButton"),C.jsx(lc,{onClick:k,tooltipText:me.get("Remove place"),icon:C.jsx(vU,{})},"removeButton")].concat(_)}return C.jsxs(C.Fragment,{children:[C.jsx(V8e,{itemValue:m,setItemValue:v,validateItemValue:S=>S.trim().length>0,editMode:c,setEditMode:f,labelText:me.get("Place"),select:b,actions:_}),i&&C.jsx(ynn,{anchorEl:d,setAnchorEl:h,isPoint:i.place.geometry.type==="Point",placeStyle:i,updatePlaceStyle:y})]})}const wnn=t=>({locale:t.controlState.locale,datasets:t.dataState.datasets,selectedPlaceGroupIds:t.controlState.selectedPlaceGroupIds,selectedPlaceId:t.controlState.selectedPlaceId,selectedPlaceInfo:JM(t),places:ZM(t),placeLabels:d_t(t)}),_nn={selectPlace:eU,renameUserPlace:PQt,restyleUserPlace:RQt,removeUserPlace:IQt,locateSelectedPlace:rKt,openDialog:bb},Snn=Rn(wnn,_nn)(bnn),Cnn=ut(C.jsx("path",{d:"M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7m4 8h-3v3h-2v-3H8V8h3V5h2v3h3z"}),"AddLocation"),Onn=ut(C.jsx("path",{d:"M11.71 17.99C8.53 17.84 6 15.22 6 12c0-3.31 2.69-6 6-6 3.22 0 5.84 2.53 5.99 5.71l-2.1-.63C15.48 9.31 13.89 8 12 8c-2.21 0-4 1.79-4 4 0 1.89 1.31 3.48 3.08 3.89zM22 12c0 .3-.01.6-.04.9l-1.97-.59c.01-.1.01-.21.01-.31 0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8c.1 0 .21 0 .31-.01l.59 1.97c-.3.03-.6.04-.9.04-5.52 0-10-4.48-10-10S6.48 2 12 2s10 4.48 10 10m-3.77 4.26L22 15l-10-3 3 10 1.26-3.77 4.27 4.27 1.98-1.98z"}),"AdsClick"),Enn=ut([C.jsx("path",{d:"m12 2-5.5 9h11z"},"0"),C.jsx("circle",{cx:"17.5",cy:"17.5",r:"4.5"},"1"),C.jsx("path",{d:"M3 13.5h8v8H3z"},"2")],"Category"),Tnn=ut(C.jsx("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord"),knn=ut(C.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),Ann=ra(Wg)(({theme:t})=>({marginTop:t.spacing(2),marginLeft:t.spacing(1),marginRight:t.spacing(2)}));function Pnn({mapInteraction:t,setMapInteraction:e}){function n(r,i){e(i!==null?i:"Select")}return C.jsx(Ann,{variant:"standard",children:C.jsxs(YC,{size:"small",value:t,exclusive:!0,onChange:n,children:[C.jsx(yr,{value:"Select",size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Select a place in map"),children:C.jsx(Onn,{})})},0),C.jsx(yr,{value:"Point",size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Add a point location in map"),children:C.jsx(Cnn,{})})},1),C.jsx(yr,{value:"Polygon",size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Draw a polygon area in map"),children:C.jsx(Enn,{})})},2),C.jsx(yr,{value:"Circle",size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Draw a circular area in map"),children:C.jsx(Tnn,{})})},3),C.jsx(yr,{value:"Geometry",size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Import places"),children:C.jsx(knn,{})})},4)]})})}const Mnn=t=>({mapInteraction:t.controlState.mapInteraction}),Rnn={setMapInteraction:PUe},Dnn=Rn(Mnn,Rnn)(Pnn);var Txe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ZR=(typeof window>"u"?"undefined":Txe(window))==="object"&&(typeof document>"u"?"undefined":Txe(document))==="object"&&document.nodeType===9,Inn={}.constructor;function uQ(t){if(t==null||typeof t!="object")return t;if(Array.isArray(t))return t.map(uQ);if(t.constructor!==Inn)return t;var e={};for(var n in t)e[n]=uQ(t[n]);return e}function Qae(t,e,n){t===void 0&&(t="unnamed");var r=n.jss,i=uQ(e),o=r.plugins.onCreateRule(t,i,n);return o||(t[0],null)}var kxe=function(e,n){for(var r="",i=0;i<+~=|^:(),"'`\s])/g,Axe=typeof CSS<"u"&&CSS.escape,Kae=function(t){return Axe?Axe(t):t.replace(Lnn,"\\$1")},G8e=function(){function t(n,r,i){this.type="style",this.isProcessed=!1;var o=i.sheet,s=i.Renderer;this.key=n,this.options=i,this.style=r,o?this.renderer=o.renderer:s&&(this.renderer=new s)}var e=t.prototype;return e.prop=function(r,i,o){if(i===void 0)return this.style[r];var s=o?o.force:!1;if(!s&&this.style[r]===i)return this;var a=i;(!o||o.process!==!1)&&(a=this.options.jss.plugins.onChangeValue(i,r,this));var l=a==null||a===!1,u=r in this.style;if(l&&!u&&!s)return this;var c=l&&u;if(c?delete this.style[r]:this.style[r]=a,this.renderable&&this.renderer)return c?this.renderer.removeProperty(this.renderable,r):this.renderer.setProperty(this.renderable,r,a),this;var f=this.options.sheet;return f&&f.attached,this},t}(),cQ=function(t){kM(e,t);function e(r,i,o){var s;s=t.call(this,r,i,o)||this;var a=o.selector,l=o.scoped,u=o.sheet,c=o.generateId;return a?s.selectorText=a:l!==!1&&(s.id=c(bt(bt(s)),u),s.selectorText="."+Kae(s.id)),s}var n=e.prototype;return n.applyTo=function(i){var o=this.renderer;if(o){var s=this.toJSON();for(var a in s)o.setProperty(i,a,s[a])}return this},n.toJSON=function(){var i={};for(var o in this.style){var s=this.style[o];typeof s!="object"?i[o]=s:Array.isArray(s)&&(i[o]=Wx(s))}return i},n.toString=function(i){var o=this.options.sheet,s=o?o.options.link:!1,a=s?ve({},i,{allowEmpty:!0}):i;return tP(this.selectorText,this.style,a)},An(e,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,s=this.renderable;if(!(!s||!o)){var a=o.setSelector(s,i);a||o.replaceRule(s,this)}}},get:function(){return this.selectorText}}]),e}(G8e),$nn={onCreateRule:function(e,n,r){return e[0]==="@"||r.parent&&r.parent.type==="keyframes"?null:new cQ(e,n,r)}},_9={indent:1,children:!0},Fnn=/@([\w-]+)/,Nnn=function(){function t(n,r,i){this.type="conditional",this.isProcessed=!1,this.key=n;var o=n.match(Fnn);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new yU(ve({},i,{parent:this}));for(var s in r)this.rules.add(s,r[s]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.indexOf=function(r){return this.rules.indexOf(r)},e.addRule=function(r,i,o){var s=this.rules.add(r,i,o);return s?(this.options.jss.plugins.onProcessRule(s),s):null},e.replaceRule=function(r,i,o){var s=this.rules.replace(r,i,o);return s&&this.options.jss.plugins.onProcessRule(s),s},e.toString=function(r){r===void 0&&(r=_9);var i=GO(r),o=i.linebreak;if(r.indent==null&&(r.indent=_9.indent),r.children==null&&(r.children=_9.children),r.children===!1)return this.query+" {}";var s=this.rules.toString(r);return s?this.query+" {"+o+s+o+"}":""},t}(),znn=/@container|@media|@supports\s+/,jnn={onCreateRule:function(e,n,r){return znn.test(e)?new Nnn(e,n,r):null}},S9={indent:1,children:!0},Bnn=/@keyframes\s+([\w-]+)/,fQ=function(){function t(n,r,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=n.match(Bnn);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=i;var s=i.scoped,a=i.sheet,l=i.generateId;this.id=s===!1?this.name:Kae(l(this,a)),this.rules=new yU(ve({},i,{parent:this}));for(var u in r)this.rules.add(u,r[u],ve({},i,{parent:this}));this.rules.process()}var e=t.prototype;return e.toString=function(r){r===void 0&&(r=S9);var i=GO(r),o=i.linebreak;if(r.indent==null&&(r.indent=S9.indent),r.children==null&&(r.children=S9.children),r.children===!1)return this.at+" "+this.id+" {}";var s=this.rules.toString(r);return s&&(s=""+o+s+o),this.at+" "+this.id+" {"+s+"}"},t}(),Unn=/@keyframes\s+/,Wnn=/\$([\w-]+)/g,dQ=function(e,n){return typeof e=="string"?e.replace(Wnn,function(r,i){return i in n?n[i]:r}):e},Pxe=function(e,n,r){var i=e[n],o=dQ(i,r);o!==i&&(e[n]=o)},Vnn={onCreateRule:function(e,n,r){return typeof e=="string"&&Unn.test(e)?new fQ(e,n,r):null},onProcessStyle:function(e,n,r){return n.type!=="style"||!r||("animation-name"in e&&Pxe(e,"animation-name",r.keyframes),"animation"in e&&Pxe(e,"animation",r.keyframes)),e},onChangeValue:function(e,n,r){var i=r.options.sheet;if(!i)return e;switch(n){case"animation":return dQ(e,i.keyframes);case"animation-name":return dQ(e,i.keyframes);default:return e}}},Gnn=function(t){kM(e,t);function e(){return t.apply(this,arguments)||this}var n=e.prototype;return n.toString=function(i){var o=this.options.sheet,s=o?o.options.link:!1,a=s?ve({},i,{allowEmpty:!0}):i;return tP(this.key,this.style,a)},e}(G8e),Hnn={onCreateRule:function(e,n,r){return r.parent&&r.parent.type==="keyframes"?new Gnn(e,n,r):null}},qnn=function(){function t(n,r,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=r,this.options=i}var e=t.prototype;return e.toString=function(r){var i=GO(r),o=i.linebreak;if(Array.isArray(this.style)){for(var s="",a=0;a=this.index){i.push(r);return}for(var s=0;so){i.splice(s,0,r);return}}},e.reset=function(){this.registry=[]},e.remove=function(r){var i=this.registry.indexOf(r);this.registry.splice(i,1)},e.toString=function(r){for(var i=r===void 0?{}:r,o=i.attached,s=Rt(i,["attached"]),a=GO(s),l=a.linebreak,u="",c=0;c-1?i.substr(0,o-1):i;e.style.setProperty(n,s,o>-1?"important":"")}}catch{return!1}return!0},srn=function(e,n){try{e.attributeStyleMap?e.attributeStyleMap.delete(n):e.style.removeProperty(n)}catch{}},arn=function(e,n){return e.selectorText=n,e.selectorText===n},X8e=q8e(function(){return document.querySelector("head")});function lrn(t,e){for(var n=0;ne.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}function urn(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}function crn(t){for(var e=X8e(),n=0;n0){var n=lrn(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=urn(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&typeof r=="string"){var i=crn(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}function drn(t,e){var n=e.insertionPoint,r=frn(e);if(r!==!1&&r.parent){r.parent.insertBefore(t,r.node);return}if(n&&typeof n.nodeType=="number"){var i=n,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling);return}X8e().appendChild(t)}var hrn=q8e(function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null}),Lxe=function(e,n,r){try{"insertRule"in e?e.insertRule(n,r):"appendRule"in e&&e.appendRule(n)}catch{return!1}return e.cssRules[r]},$xe=function(e,n){var r=e.cssRules.length;return n===void 0||n>r?r:n},prn=function(){var e=document.createElement("style");return e.textContent=` +`,e},grn=function(){function t(n){this.getPropertyValue=irn,this.setProperty=orn,this.removeProperty=srn,this.setSelector=arn,this.hasInsertedRules=!1,this.cssRules=[],n&&bk.add(n),this.sheet=n;var r=this.sheet?this.sheet.options:{},i=r.media,o=r.meta,s=r.element;this.element=s||prn(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var a=hrn();a&&this.element.setAttribute("nonce",a)}var e=t.prototype;return e.attach=function(){if(!(this.element.parentNode||!this.sheet)){drn(this.element,this.sheet.options);var r=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&r&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var r=this.element.parentNode;r&&r.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=` +`)}},e.deploy=function(){var r=this.sheet;if(r){if(r.options.link){this.insertRules(r.rules);return}this.element.textContent=` +`+r.toString()+` +`}},e.insertRules=function(r,i){for(var o=0;o{n[o]&&(i[o]=`${e[o]} ${n[o]}`)}),i}const f_={set:(t,e,n,r)=>{let i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)},get:(t,e,n)=>{const r=t.get(e);return r?r.get(n):void 0},delete:(t,e,n)=>{t.get(e).delete(n)}};function Z8e(){const t=Jj();return(t==null?void 0:t.$$material)??t}const yrn=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function xrn(t={}){const{disableGlobal:e=!1,productionPrefix:n="jss",seed:r=""}=t,i=r===""?"":`${r}-`;let o=0;const s=()=>(o+=1,o);return(a,l)=>{const u=l.options.name;if(u&&u.startsWith("Mui")&&!l.options.link&&!e){if(yrn.includes(a.key))return`Mui-${a.key}`;const c=`${i}${u}-${a.key}`;return!l.options.theme[nAe]||r!==""?c:`${c}-${s()}`}return`${i}${n}${s()}`}}var J8e=Date.now(),C9="fnValues"+J8e,O9="fnStyle"+ ++J8e,brn=function(){return{onCreateRule:function(n,r,i){if(typeof r!="function")return null;var o=Qae(n,{},i);return o[O9]=r,o},onProcessStyle:function(n,r){if(C9 in r||O9 in r)return n;var i={};for(var o in n){var s=n[o];typeof s=="function"&&(delete n[o],i[o]=s)}return r[C9]=i,n},onUpdate:function(n,r,i,o){var s=r,a=s[O9];a&&(s.style=a(n)||{});var l=s[C9];if(l)for(var u in l)s.prop(u,l[u](n),o)}}},Wv="@global",gQ="@global ",wrn=function(){function t(n,r,i){this.type="global",this.at=Wv,this.isProcessed=!1,this.key=n,this.options=i,this.rules=new yU(ve({},i,{parent:this}));for(var o in r)this.rules.add(o,r[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(r){return this.rules.get(r)},e.addRule=function(r,i,o){var s=this.rules.add(r,i,o);return s&&this.options.jss.plugins.onProcessRule(s),s},e.replaceRule=function(r,i,o){var s=this.rules.replace(r,i,o);return s&&this.options.jss.plugins.onProcessRule(s),s},e.indexOf=function(r){return this.rules.indexOf(r)},e.toString=function(r){return this.rules.toString(r)},t}(),_rn=function(){function t(n,r,i){this.type="global",this.at=Wv,this.isProcessed=!1,this.key=n,this.options=i;var o=n.substr(gQ.length);this.rule=i.jss.createRule(o,r,ve({},i,{parent:this}))}var e=t.prototype;return e.toString=function(r){return this.rule?this.rule.toString(r):""},t}(),Srn=/\s*,\s*/g;function eWe(t,e){for(var n=t.split(Srn),r="",i=0;i-1){var o=oWe[e];if(!Array.isArray(o))return cn.js+yy(o)in n?cn.css+o:!1;if(!i)return!1;for(var s=0;sr?1:-1:n.length-r.length};return{onProcessStyle:function(n,r){if(r.type!=="style")return n;for(var i={},o=Object.keys(n).sort(t),s=0;s"u"?null:min(),vin()]}}const xin=Y8e(yin()),bin=xrn(),win=new Map,_in={disableGeneration:!1,generateClassName:bin,jss:xin,sheetsCache:null,sheetsManager:win,sheetsRegistry:null},Sin=D.createContext(_in);let jxe=-1e9;function Cin(){return jxe+=1,jxe}function Bxe(t){return t.length===0}function Oin(t){const{variant:e,...n}=t;let r=e||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Bxe(r)?t[i]:De(t[i]):r+=`${Bxe(r)?i:De(i)}${De(t[i].toString())}`}),r}const Ein={};function Tin(t){const e=typeof t=="function";return{create:(n,r)=>{let i;try{i=e?t(n):t}catch(l){throw l}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return i;const o=n.components[r].styleOverrides||{},s=n.components[r].variants||[],a={...i};return Object.keys(o).forEach(l=>{a[l]=Bo(a[l]||{},o[l])}),s.forEach(l=>{const u=Oin(l.props);a[u]=Bo(a[u]||{},l.style)}),a},options:{}}}function kin({state:t,stylesOptions:e},n,r){if(e.disableGeneration)return n||{};t.cacheClasses||(t.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return t.classes!==t.cacheClasses.lastJSS&&(t.cacheClasses.lastJSS=t.classes,i=!0),n!==t.cacheClasses.lastProp&&(t.cacheClasses.lastProp=n,i=!0),i&&(t.cacheClasses.value=K8e({baseClasses:t.cacheClasses.lastJSS,newClasses:n,Component:r})),t.cacheClasses.value}function Ain({state:t,theme:e,stylesOptions:n,stylesCreator:r,name:i},o){if(n.disableGeneration)return;let s=f_.get(n.sheetsManager,r,e);s||(s={refs:0,staticSheet:null,dynamicStyles:null},f_.set(n.sheetsManager,r,e,s));const a={...r.options,...n,theme:e,flip:typeof n.flip=="boolean"?n.flip:e.direction==="rtl"};a.generateId=a.serverGenerateClassName||a.generateClassName;const l=n.sheetsRegistry;if(s.refs===0){let u;n.sheetsCache&&(u=f_.get(n.sheetsCache,r,e));const c=r.create(e,i);u||(u=n.jss.createStyleSheet(c,{link:!1,...a}),u.attach(),n.sheetsCache&&f_.set(n.sheetsCache,r,e,u)),l&&l.add(u),s.staticSheet=u,s.dynamicStyles=Q8e(c)}if(s.dynamicStyles){const u=n.jss.createStyleSheet(s.dynamicStyles,{link:!0,...a});u.update(o),u.attach(),t.dynamicSheet=u,t.classes=K8e({baseClasses:s.staticSheet.classes,newClasses:u.classes}),l&&l.add(u)}else t.classes=s.staticSheet.classes;s.refs+=1}function Pin({state:t},e){t.dynamicSheet&&t.dynamicSheet.update(e)}function Min({state:t,theme:e,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=f_.get(n.sheetsManager,r,e);i.refs-=1;const o=n.sheetsRegistry;i.refs===0&&(f_.delete(n.sheetsManager,r,e),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),t.dynamicSheet&&(n.jss.removeStyleSheet(t.dynamicSheet),o&&o.remove(t.dynamicSheet))}function Rin(t,e){const n=D.useRef([]);let r;const i=D.useMemo(()=>({}),e);n.current!==i&&(n.current=i,r=t()),D.useEffect(()=>()=>{r&&r()},[i])}function Din(t,e={}){const{name:n,classNamePrefix:r,Component:i,defaultTheme:o=Ein,...s}=e,a=Tin(t),l=n||r||"makeStyles";return a.options={index:Cin(),name:n,meta:l,classNamePrefix:l},(c={})=>{const f=Z8e()||o,d={...D.useContext(Sin),...s},h=D.useRef(),p=D.useRef();return Rin(()=>{const m={name:n,state:{},stylesCreator:a,stylesOptions:d,theme:f};return Ain(m,c),p.current=!1,h.current=m,()=>{Min(m)}},[f,a]),D.useEffect(()=>{p.current&&Pin(h.current,c),p.current=!0}),kin(h.current,c.classes,i)}}function Iin(t){const{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n]||!e.components[n].defaultProps)return r;const i={...r},o=e.components[n].defaultProps;let s;for(s in o)i[s]===void 0&&(i[s]=o[s]);return i}const Lin=(t,e={})=>n=>{const{defaultTheme:r,withTheme:i=!1,name:o,...s}=e;let a=o;const l=Din(t,{defaultTheme:r,Component:n,name:o||n.displayName,classNamePrefix:a,...s}),u=D.forwardRef(function(f,d){const{classes:h,...p}=f,g=l({...n.defaultProps,...f});let m,v=p;return(typeof o=="string"||i)&&(m=Z8e()||r,o&&(v=Iin({theme:m,name:o,props:p})),i&&!v.theme&&(v.theme=m)),C.jsx(n,{ref:d,classes:g,...v})});return kH(u,n),u},$in=["localeText"],yQ=D.createContext(null),aWe=function(e){const{localeText:n}=e,r=Rt(e,$in),{utils:i,localeText:o}=D.useContext(yQ)??{utils:void 0,localeText:void 0},s=kn({props:r,name:"MuiLocalizationProvider"}),{children:a,dateAdapter:l,dateFormats:u,dateLibInstance:c,adapterLocale:f,localeText:d}=s,h=D.useMemo(()=>ve({},d,o,n),[d,o,n]),p=D.useMemo(()=>{if(!l)return i||null;const v=new l({locale:f,formats:u,instance:c});if(!v.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` +`));return v},[l,f,u,c,i]),g=D.useMemo(()=>p?{minDate:p.date("1900-01-01T00:00:00.000"),maxDate:p.date("2099-12-31T00:00:00.000")}:null,[p]),m=D.useMemo(()=>({utils:p,defaultDates:g,localeText:h}),[g,p,h]);return C.jsx(yQ.Provider,{value:m,children:a})};var xQ={exports:{}};(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(l,u){switch(l){case"P":return u.date({width:"short"});case"PP":return u.date({width:"medium"});case"PPP":return u.date({width:"long"});case"PPPP":default:return u.date({width:"full"})}},r=function(l,u){switch(l){case"p":return u.time({width:"short"});case"pp":return u.time({width:"medium"});case"ppp":return u.time({width:"long"});case"pppp":default:return u.time({width:"full"})}},i=function(l,u){var c=l.match(/(P+)(p+)?/)||[],f=c[1],d=c[2];if(!d)return n(l,u);var h;switch(f){case"P":h=u.dateTime({width:"short"});break;case"PP":h=u.dateTime({width:"medium"});break;case"PPP":h=u.dateTime({width:"long"});break;case"PPPP":default:h=u.dateTime({width:"full"});break}return h.replace("{{date}}",n(f,u)).replace("{{time}}",r(d,u))},o={p:r,P:i},s=o;e.default=s,t.exports=e.default})(xQ,xQ.exports);var Fin=xQ.exports;const Nin=on(Fin),zin={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},jin={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",dayOfMonthFull:"do",weekday:"EEEE",weekdayShort:"EEEEEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class Bin{constructor(e){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib=void 0,this.locale=void 0,this.formats=void 0,this.formatTokenMap=zin,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=s=>typeof s>"u"?new Date:s===null?null:new Date(s),this.getInvalidDate=()=>new Date("Invalid Date"),this.getTimezone=()=>"default",this.setTimezone=s=>s,this.toJsDate=s=>s,this.getCurrentLocaleCode=()=>this.locale.code,this.is12HourCycleInCurrentLocale=()=>/a/.test(this.locale.formatLong.time({width:"short"})),this.expandFormat=s=>{const a=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return s.match(a).map(l=>{const u=l[0];if(u==="p"||u==="P"){const c=this.longFormatters[u];return c(l,this.locale.formatLong)}return l}).join("")},this.formatNumber=s=>s,this.getDayOfWeek=s=>s.getDay()+1;const{locale:n,formats:r,longFormatters:i,lib:o}=e;this.locale=n,this.formats=ve({},jin,r),this.longFormatters=i,this.lib=o||"date-fns"}}class Uin extends Bin{constructor({locale:e,formats:n}={}){super({locale:e??Rte,formats:n,longFormatters:Nin}),this.parse=(r,i)=>r===""?null:N1t(r,i,new Date,{locale:this.locale}),this.isValid=r=>r==null?!1:aRe(r),this.format=(r,i)=>this.formatByString(r,this.formats[i]),this.formatByString=(r,i)=>Axt(r,i,{locale:this.locale}),this.isEqual=(r,i)=>r===null&&i===null?!0:r===null||i===null?!1:Wxt(r,i),this.isSameYear=(r,i)=>U1t(r,i),this.isSameMonth=(r,i)=>B1t(r,i),this.isSameDay=(r,i)=>P0t(r,i),this.isSameHour=(r,i)=>j1t(r,i),this.isAfter=(r,i)=>EW(r,i),this.isAfterYear=(r,i)=>EW(r,Ghe(i)),this.isAfterDay=(r,i)=>EW(r,Vhe(i)),this.isBefore=(r,i)=>TW(r,i),this.isBeforeYear=(r,i)=>TW(r,this.startOfYear(i)),this.isBeforeDay=(r,i)=>TW(r,this.startOfDay(i)),this.isWithinRange=(r,[i,o])=>W1t(r,{start:i,end:o}),this.startOfYear=r=>I0t(r),this.startOfMonth=r=>D0t(r),this.startOfWeek=r=>yA(r,{locale:this.locale}),this.startOfDay=r=>Sq(r),this.endOfYear=r=>Ghe(r),this.endOfMonth=r=>R0t(r),this.endOfWeek=r=>L0t(r,{locale:this.locale}),this.endOfDay=r=>Vhe(r),this.addYears=(r,i)=>k0t(r,i),this.addMonths=(r,i)=>oRe(r,i),this.addWeeks=(r,i)=>T0t(r,i),this.addDays=(r,i)=>iRe(r,i),this.addHours=(r,i)=>_0t(r,i),this.addMinutes=(r,i)=>O0t(r,i),this.addSeconds=(r,i)=>E0t(r,i),this.getYear=r=>Uxt(r),this.getMonth=r=>$xt(r),this.getDate=r=>Rxt(r),this.getHours=r=>Dxt(r),this.getMinutes=r=>Lxt(r),this.getSeconds=r=>Fxt(r),this.getMilliseconds=r=>Ixt(r),this.setYear=(r,i)=>dbt(r,i),this.setMonth=(r,i)=>sbt(r,i),this.setDate=(r,i)=>abt(r,i),this.setHours=(r,i)=>lbt(r,i),this.setMinutes=(r,i)=>cbt(r,i),this.setSeconds=(r,i)=>fbt(r,i),this.setMilliseconds=(r,i)=>ubt(r,i),this.getDaysInMonth=r=>gRe(r),this.getWeekArray=r=>{const i=this.startOfWeek(this.startOfMonth(r)),o=this.endOfWeek(this.endOfMonth(r));let s=0,a=i;const l=[];for(;this.isBefore(a,o);){const u=Math.floor(s/7);l[u]=l[u]||[],l[u].push(a),a=this.addDays(a,1),s+=1}return l},this.getWeekNumber=r=>Bxt(r,{locale:this.locale}),this.getYearRange=([r,i])=>{const o=this.startOfYear(r),s=this.endOfYear(i),a=[];let l=o;for(;this.isBefore(l,s);)a.push(l),l=this.addYears(l,1);return a}}}const Gd=(t,e)=>t.length!==e.length?!1:e.every(n=>t.includes(n)),Win=({openTo:t,defaultOpenTo:e,views:n,defaultViews:r})=>{const i=n??r;let o;if(t!=null)o=t;else if(i.includes(e))o=e;else if(i.length>0)o=i[0];else throw new Error("MUI X: The `views` prop must contain at least one view.");return{views:i,openTo:o}},Q5=(t,e,n)=>{let r=e;return r=t.setHours(r,t.getHours(n)),r=t.setMinutes(r,t.getMinutes(n)),r=t.setSeconds(r,t.getSeconds(n)),r=t.setMilliseconds(r,t.getMilliseconds(n)),r},_k=({date:t,disableFuture:e,disablePast:n,maxDate:r,minDate:i,isDateDisabled:o,utils:s,timezone:a})=>{const l=Q5(s,s.date(void 0,a),t);n&&s.isBefore(i,l)&&(i=l),e&&s.isAfter(r,l)&&(r=l);let u=t,c=t;for(s.isBefore(t,i)&&(u=i,c=null),s.isAfter(t,r)&&(c&&(c=r),u=null);u||c;){if(u&&s.isAfter(u,r)&&(u=null),c&&s.isBefore(c,i)&&(c=null),u){if(!o(u))return u;u=s.addDays(u,1)}if(c){if(!o(c))return c;c=s.addDays(c,-1)}}return null},Vin=(t,e)=>e==null||!t.isValid(e)?null:e,Dc=(t,e,n)=>e==null||!t.isValid(e)?n:e,Gin=(t,e,n)=>!t.isValid(e)&&e!=null&&!t.isValid(n)&&n!=null?!0:t.isEqual(e,n),ele=(t,e)=>{const r=[t.startOfYear(e)];for(;r.length<12;){const i=r[r.length-1];r.push(t.addMonths(i,1))}return r},tle=(t,e,n)=>n==="date"?t.startOfDay(t.date(void 0,e)):t.date(void 0,e),Kp=(t,e)=>{const n=t.setHours(t.date(),e==="am"?2:14);return t.format(n,"meridiem")},Hin=["year","month","day"],fC=t=>Hin.includes(t),Uxe=(t,{format:e,views:n},r)=>{if(e!=null)return e;const i=t.formats;return Gd(n,["year"])?i.year:Gd(n,["month"])?i.month:Gd(n,["day"])?i.dayOfMonth:Gd(n,["month","year"])?`${i.month} ${i.year}`:Gd(n,["day","month"])?`${i.month} ${i.dayOfMonth}`:i.keyboardDate},qin=(t,e)=>{const n=t.startOfWeek(e);return[0,1,2,3,4,5,6].map(r=>t.addDays(n,r))},lWe=["hours","minutes","seconds"],dC=t=>lWe.includes(t),ET=t=>lWe.includes(t)||t==="meridiem",Xin=(t,e)=>t?e.getHours(t)>=12?"pm":"am":null,nP=(t,e,n)=>n&&(t>=12?"pm":"am")!==e?e==="am"?t-12:t+12:t,Yin=(t,e,n,r)=>{const i=nP(r.getHours(t),e,n);return r.setHours(t,i)},Wxe=(t,e)=>e.getHours(t)*3600+e.getMinutes(t)*60+e.getSeconds(t),JR=(t,e)=>(n,r)=>t?e.isAfter(n,r):Wxe(n,e)>Wxe(r,e),Vxe=(t,{format:e,views:n,ampm:r})=>{if(e!=null)return e;const i=t.formats;return Gd(n,["hours"])?r?`${i.hours12h} ${i.meridiem}`:i.hours24h:Gd(n,["minutes"])?i.minutes:Gd(n,["seconds"])?i.seconds:Gd(n,["minutes","seconds"])?`${i.minutes}:${i.seconds}`:Gd(n,["hours","minutes","seconds"])?r?`${i.hours12h}:${i.minutes}:${i.seconds} ${i.meridiem}`:`${i.hours24h}:${i.minutes}:${i.seconds}`:r?`${i.hours12h}:${i.minutes} ${i.meridiem}`:`${i.hours24h}:${i.minutes}`},bf={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},Qin=t=>Math.max(...t.map(e=>bf[e.type]??1)),m2=(t,e,n)=>{if(e===bf.year)return t.startOfYear(n);if(e===bf.month)return t.startOfMonth(n);if(e===bf.day)return t.startOfDay(n);let r=n;return e{let o=i?i():m2(e,n,tle(e,r));t.minDate!=null&&e.isAfterDay(t.minDate,o)&&(o=m2(e,n,t.minDate)),t.maxDate!=null&&e.isBeforeDay(t.maxDate,o)&&(o=m2(e,n,t.maxDate));const s=JR(t.disableIgnoringDatePartForTimeValidation??!1,e);return t.minTime!=null&&s(t.minTime,o)&&(o=m2(e,n,t.disableIgnoringDatePartForTimeValidation?t.minTime:Q5(e,o,t.minTime))),t.maxTime!=null&&s(o,t.maxTime)&&(o=m2(e,n,t.disableIgnoringDatePartForTimeValidation?t.maxTime:Q5(e,o,t.maxTime))),o},uWe=(t,e)=>{const n=t.formatTokenMap[e];if(n==null)throw new Error([`MUI X: The token "${e}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join(` +`));return typeof n=="string"?{type:n,contentType:n==="meridiem"?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},Zin=t=>{switch(t){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}},xU=(t,e)=>{const n=[],r=t.date(void 0,"default"),i=t.startOfWeek(r),o=t.endOfWeek(r);let s=i;for(;t.isBefore(s,o);)n.push(s),s=t.addDays(s,1);return n.map(a=>t.formatByString(a,e))},cWe=(t,e,n,r)=>{switch(n){case"month":return ele(t,t.date(void 0,e)).map(i=>t.formatByString(i,r));case"weekDay":return xU(t,r);case"meridiem":{const i=t.date(void 0,e);return[t.startOfDay(i),t.endOfDay(i)].map(o=>t.formatByString(o,r))}default:return[]}},Gxe="s",Jin=["0","1","2","3","4","5","6","7","8","9"],eon=t=>{const e=t.date(void 0);return t.formatByString(t.setSeconds(e,0),Gxe)==="0"?Jin:Array.from({length:10}).map((r,i)=>t.formatByString(t.setSeconds(e,i),Gxe))},k1=(t,e)=>{if(e[0]==="0")return t;const n=[];let r="";for(let i=0;i-1&&(n.push(o.toString()),r="")}return n.join("")},nle=(t,e)=>e[0]==="0"?t:t.split("").map(n=>e[Number(n)]).join(""),Hxe=(t,e)=>{const n=k1(t,e);return n!==" "&&!Number.isNaN(Number(n))},fWe=(t,e)=>{let n=t;for(n=Number(n).toString();n.length{if(i.type==="day"&&i.contentType==="digit-with-letter"){const s=t.setDate(n.longestMonth,e);return t.formatByString(s,i.format)}let o=e.toString();return i.hasLeadingZerosInInput&&(o=fWe(o,i.maxLength)),nle(o,r)},ton=(t,e,n,r,i,o,s,a)=>{const l=Zin(r),u=r==="Home",c=r==="End",f=n.value===""||u||c,d=()=>{const p=i[n.type]({currentDate:s,format:n.format,contentType:n.contentType}),g=x=>dWe(t,x,p,o,n),m=n.type==="minutes"&&(a!=null&&a.minutesStep)?a.minutesStep:1;let y=parseInt(k1(n.value,o),10)+l*m;if(f){if(n.type==="year"&&!c&&!u)return t.formatByString(t.date(void 0,e),n.format);l>0||u?y=p.minimum:y=p.maximum}return y%m!==0&&((l<0||u)&&(y+=m-(m+y)%m),(l>0||c)&&(y-=y%m)),y>p.maximum?g(p.minimum+(y-p.maximum-1)%(p.maximum-p.minimum+1)):y{const p=cWe(t,e,n.type,n.format);if(p.length===0)return n.value;if(f)return l>0||u?p[0]:p[p.length-1];const v=((p.indexOf(n.value)+l)%p.length+p.length)%p.length;return p[v]};return n.contentType==="digit"||n.contentType==="digit-with-letter"?d():h()},rle=(t,e,n)=>{let r=t.value||t.placeholder;const i=e==="non-input"?t.hasLeadingZerosInFormat:t.hasLeadingZerosInInput;return e==="non-input"&&t.hasLeadingZerosInInput&&!t.hasLeadingZerosInFormat&&(r=Number(k1(r,n)).toString()),["input-rtl","input-ltr"].includes(e)&&t.contentType==="digit"&&!i&&r.length===1&&(r=`${r}‎`),e==="input-rtl"&&(r=`⁨${r}⁩`),r},qxe=(t,e,n,r)=>t.formatByString(t.parse(e,n),r),hWe=(t,e)=>t.formatByString(t.date(void 0,"system"),e).length===4,pWe=(t,e,n,r)=>{if(e!=="digit")return!1;const i=t.date(void 0,"default");switch(n){case"year":return hWe(t,r)?t.formatByString(t.setYear(i,1),r)==="0001":t.formatByString(t.setYear(i,2001),r)==="01";case"month":return t.formatByString(t.startOfYear(i),r).length>1;case"day":return t.formatByString(t.startOfMonth(i),r).length>1;case"weekDay":return t.formatByString(t.startOfWeek(i),r).length>1;case"hours":return t.formatByString(t.setHours(i,1),r).length>1;case"minutes":return t.formatByString(t.setMinutes(i,1),r).length>1;case"seconds":return t.formatByString(t.setSeconds(i,1),r).length>1;default:throw new Error("Invalid section type")}},non=(t,e,n)=>{const r=e.some(l=>l.type==="day"),i=[],o=[];for(let l=0;lt.map(e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`).join(""),ion=(t,e,n)=>{const i=t.map(o=>{const s=rle(o,n?"input-rtl":"input-ltr",e);return`${o.startSeparator}${s}${o.endSeparator}`}).join("");return n?`⁦${i}⁩`:i},oon=(t,e,n)=>{const r=t.date(void 0,n),i=t.endOfYear(r),o=t.endOfDay(r),{maxDaysInMonth:s,longestMonth:a}=ele(t,r).reduce((l,u)=>{const c=t.getDaysInMonth(u);return c>l.maxDaysInMonth?{maxDaysInMonth:c,longestMonth:u}:l},{maxDaysInMonth:0,longestMonth:null});return{year:({format:l})=>({minimum:0,maximum:hWe(t,l)?9999:99}),month:()=>({minimum:1,maximum:t.getMonth(i)+1}),day:({currentDate:l})=>({minimum:1,maximum:l!=null&&t.isValid(l)?t.getDaysInMonth(l):s,longestMonth:a}),weekDay:({format:l,contentType:u})=>{if(u==="digit"){const c=xU(t,l).map(Number);return{minimum:Math.min(...c),maximum:Math.max(...c)}}return{minimum:1,maximum:7}},hours:({format:l})=>{const u=t.getHours(o);return k1(t.formatByString(t.endOfDay(r),l),e)!==u.toString()?{minimum:1,maximum:Number(k1(t.formatByString(t.startOfDay(r),l),e))}:{minimum:0,maximum:u}},minutes:()=>({minimum:0,maximum:t.getMinutes(o)}),seconds:()=>({minimum:0,maximum:t.getSeconds(o)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}},son=(t,e,n,r)=>{switch(e.type){case"year":return t.setYear(r,t.getYear(n));case"month":return t.setMonth(r,t.getMonth(n));case"weekDay":{const i=xU(t,e.format),o=t.formatByString(n,e.format),s=i.indexOf(o),l=i.indexOf(e.value)-s;return t.addDays(n,l)}case"day":return t.setDate(r,t.getDate(n));case"meridiem":{const i=t.getHours(n)<12,o=t.getHours(r);return i&&o>=12?t.addHours(r,-12):!i&&o<12?t.addHours(r,12):r}case"hours":return t.setHours(r,t.getHours(n));case"minutes":return t.setMinutes(r,t.getMinutes(n));case"seconds":return t.setSeconds(r,t.getSeconds(n));default:return r}},Xxe={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},Yxe=(t,e,n,r,i)=>[...n].sort((o,s)=>Xxe[o.type]-Xxe[s.type]).reduce((o,s)=>!i||s.modified?son(t,s,e,o):o,r),aon=()=>navigator.userAgent.toLowerCase().includes("android"),lon=(t,e)=>{const n={};if(!e)return t.forEach((l,u)=>{const c=u===0?null:u-1,f=u===t.length-1?null:u+1;n[u]={leftIndex:c,rightIndex:f}}),{neighbors:n,startIndex:0,endIndex:t.length-1};const r={},i={};let o=0,s=0,a=t.length-1;for(;a>=0;){s=t.findIndex((l,u)=>{var c;return u>=o&&((c=l.endSeparator)==null?void 0:c.includes(" "))&&l.endSeparator!==" / "}),s===-1&&(s=t.length-1);for(let l=s;l>=o;l-=1)i[l]=a,r[a]=l,a-=1;o=s+1}return t.forEach((l,u)=>{const c=i[u],f=c===0?null:r[c-1],d=c===t.length-1?null:r[c+1];n[u]={leftIndex:f,rightIndex:d}}),{neighbors:n,startIndex:r[0],endIndex:r[t.length-1]}},bQ=(t,e)=>t==null?null:t==="all"?"all":typeof t=="string"?e.findIndex(n=>n.type===t):t,uon=(t,e)=>{if(t.value)switch(t.type){case"month":{if(t.contentType==="digit")return e.format(e.setMonth(e.date(),Number(t.value)-1),"month");const n=e.parse(t.value,t.format);return n?e.format(n,"month"):void 0}case"day":return t.contentType==="digit"?e.format(e.setDate(e.startOfYear(e.date()),Number(t.value)),"dayOfMonthFull"):t.value;case"weekDay":return;default:return}},con=(t,e)=>{if(t.value)switch(t.type){case"weekDay":return t.contentType==="letter"?void 0:Number(t.value);case"meridiem":{const n=e.parse(`01:00 ${t.value}`,`${e.formats.hours12h}:${e.formats.minutes} ${t.format}`);return n?e.getHours(n)>=12?1:0:void 0}case"day":return t.contentType==="digit-with-letter"?parseInt(t.value,10):Number(t.value);case"month":{if(t.contentType==="digit")return Number(t.value);const n=e.parse(t.value,t.format);return n?e.getMonth(n)+1:void 0}default:return t.contentType!=="letter"?Number(t.value):void 0}},fon=["value","referenceDate"],na={emptyValue:null,getTodayValue:tle,getInitialReferenceValue:t=>{let{value:e,referenceDate:n}=t,r=Rt(t,fon);return e!=null&&r.utils.isValid(e)?e:n??Kin(r)},cleanValue:Vin,areValuesEqual:Gin,isSameError:(t,e)=>t===e,hasError:t=>t!=null,defaultErrorState:null,getTimezone:(t,e)=>e==null||!t.isValid(e)?null:t.getTimezone(e),setTimezone:(t,e,n)=>n==null?null:t.setTimezone(n,e)},don={updateReferenceValue:(t,e,n)=>e==null||!t.isValid(e)?n:e,getSectionsFromValue:(t,e,n,r)=>!t.isValid(e)&&!!n?n:r(e),getV7HiddenInputValueFromSections:ron,getV6InputValueFromSections:ion,getActiveDateManager:(t,e)=>({date:e.value,referenceDate:e.referenceValue,getSections:n=>n,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:n==null||!t.isValid(n)?e.referenceValue:n})}),parseValueStr:(t,e,n)=>n(t.trim(),e)},ile=({props:t,value:e,timezone:n,adapter:r})=>{if(e===null)return null;const{shouldDisableDate:i,shouldDisableMonth:o,shouldDisableYear:s,disablePast:a,disableFuture:l}=t,u=r.utils.date(void 0,n),c=Dc(r.utils,t.minDate,r.defaultDates.minDate),f=Dc(r.utils,t.maxDate,r.defaultDates.maxDate);switch(!0){case!r.utils.isValid(e):return"invalidDate";case!!(i&&i(e)):return"shouldDisableDate";case!!(o&&o(e)):return"shouldDisableMonth";case!!(s&&s(e)):return"shouldDisableYear";case!!(l&&r.utils.isAfterDay(e,u)):return"disableFuture";case!!(a&&r.utils.isBeforeDay(e,u)):return"disablePast";case!!(c&&r.utils.isBeforeDay(e,c)):return"minDate";case!!(f&&r.utils.isAfterDay(e,f)):return"maxDate";default:return null}};ile.valueManager=na;const gWe=({adapter:t,value:e,timezone:n,props:r})=>{if(e===null)return null;const{minTime:i,maxTime:o,minutesStep:s,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:l=!1,disablePast:u,disableFuture:c}=r,f=t.utils.date(void 0,n),d=JR(l,t.utils);switch(!0){case!t.utils.isValid(e):return"invalidDate";case!!(i&&d(i,e)):return"minTime";case!!(o&&d(e,o)):return"maxTime";case!!(c&&t.utils.isAfter(e,f)):return"disableFuture";case!!(u&&t.utils.isBefore(e,f)):return"disablePast";case!!(a&&a(e,"hours")):return"shouldDisableTime-hours";case!!(a&&a(e,"minutes")):return"shouldDisableTime-minutes";case!!(a&&a(e,"seconds")):return"shouldDisableTime-seconds";case!!(s&&t.utils.getMinutes(e)%s!==0):return"minutesStep";default:return null}};gWe.valueManager=na;const bU=({adapter:t,value:e,timezone:n,props:r})=>{const i=ile({adapter:t,value:e,timezone:n,props:r});return i!==null?i:gWe({adapter:t,value:e,timezone:n,props:r})};bU.valueManager=na;const mWe=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],vWe=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],yWe=["minDateTime","maxDateTime"],hon=[...mWe,...vWe,...yWe],xWe=t=>hon.reduce((e,n)=>(t.hasOwnProperty(n)&&(e[n]=t[n]),e),{}),pon=t=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:ve({},t)}}}}),bWe=t=>{const{utils:e,formatKey:n,contextTranslation:r,propsTranslation:i}=t;return o=>{const s=o!==null&&e.isValid(o)?e.format(o,n):null;return(i??r)(o,e,s)}},wWe={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:t=>t==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(t,e,n,r)=>`Select ${t}. ${!r&&(e===null||!n.isValid(e))?"No time selected":`Selected time is ${r??n.format(e,"fullTime")}`}`,hoursClockNumberText:t=>`${t} hours`,minutesClockNumberText:t=>`${t} minutes`,secondsClockNumberText:t=>`${t} seconds`,selectViewText:t=>`Select ${t}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:t=>`Week ${t}`,calendarWeekNumberText:t=>`${t}`,openDatePickerDialogue:(t,e,n)=>n||t!==null&&e.isValid(t)?`Choose date, selected date is ${n??e.format(t,"fullDate")}`:"Choose date",openTimePickerDialogue:(t,e,n)=>n||t!==null&&e.isValid(t)?`Choose time, selected time is ${n??e.format(t,"fullTime")}`:"Choose time",fieldClearLabel:"Clear",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:t=>"Y".repeat(t.digitAmount),fieldMonthPlaceholder:t=>t.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:t=>t.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},gon=wWe;pon(wWe);const _b=()=>{const t=D.useContext(yQ);if(t===null)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join(` +`));if(t.utils===null)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join(` +`));const e=D.useMemo(()=>ve({},gon,t.localeText),[t.localeText]);return D.useMemo(()=>ve({},t,{localeText:e}),[t,e])},pr=()=>_b().utils,eD=()=>_b().defaultDates,Sb=t=>{const e=pr(),n=D.useRef();return n.current===void 0&&(n.current=e.date(void 0,t)),n.current};function _We(t){const{props:e,validator:n,value:r,timezone:i,onError:o}=t,s=_b(),a=D.useRef(n.valueManager.defaultErrorState),l=n({adapter:s,value:r,timezone:i,props:e}),u=n.valueManager.hasError(l);D.useEffect(()=>{o&&!n.valueManager.isSameError(l,a.current)&&o(l,r),a.current=l},[n,o,l,r]);const c=st(f=>n({adapter:s,value:f,timezone:i,props:e}));return{validationError:l,hasValidationError:u,getValidationErrorForNewValue:c}}const Pl=()=>_b().localeText,mon=({utils:t,format:e})=>{let n=10,r=e,i=t.expandFormat(e);for(;i!==r;)if(r=i,i=t.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return i},von=({utils:t,expandedFormat:e})=>{const n=[],{start:r,end:i}=t.escapedCharacters,o=new RegExp(`(\\${r}[^\\${i}]*\\${i})+`,"g");let s=null;for(;s=o.exec(e);)n.push({start:s.index,end:o.lastIndex-1});return n},yon=(t,e,n,r)=>{switch(n.type){case"year":return e.fieldYearPlaceholder({digitAmount:t.formatByString(t.date(void 0,"default"),r).length,format:r});case"month":return e.fieldMonthPlaceholder({contentType:n.contentType,format:r});case"day":return e.fieldDayPlaceholder({format:r});case"weekDay":return e.fieldWeekDayPlaceholder({contentType:n.contentType,format:r});case"hours":return e.fieldHoursPlaceholder({format:r});case"minutes":return e.fieldMinutesPlaceholder({format:r});case"seconds":return e.fieldSecondsPlaceholder({format:r});case"meridiem":return e.fieldMeridiemPlaceholder({format:r});default:return r}},xon=({utils:t,date:e,shouldRespectLeadingZeros:n,localeText:r,localizedDigits:i,now:o,token:s,startSeparator:a})=>{if(s==="")throw new Error("MUI X: Should not call `commitToken` with an empty token");const l=uWe(t,s),u=pWe(t,l.contentType,l.type,s),c=n?u:l.contentType==="digit",f=e!=null&&t.isValid(e);let d=f?t.formatByString(e,s):"",h=null;if(c)if(u)h=d===""?t.formatByString(o,s).length:d.length;else{if(l.maxLength==null)throw new Error(`MUI X: The token ${s} should have a 'maxDigitNumber' property on it's adapter`);h=l.maxLength,f&&(d=nle(fWe(k1(d,i),h),i))}return ve({},l,{format:s,maxLength:h,value:d,placeholder:yon(t,r,l,s),hasLeadingZerosInFormat:u,hasLeadingZerosInInput:c,startSeparator:a,endSeparator:"",modified:!1})},bon=t=>{var h;const{utils:e,expandedFormat:n,escapedParts:r}=t,i=e.date(void 0),o=[];let s="";const a=Object.keys(e.formatTokenMap).sort((p,g)=>g.length-p.length),l=/^([a-zA-Z]+)/,u=new RegExp(`^(${a.join("|")})*$`),c=new RegExp(`^(${a.join("|")})`),f=p=>r.find(g=>g.start<=p&&g.end>=p);let d=0;for(;d0;){const y=c.exec(v)[1];v=v.slice(y.length),o.push(xon(ve({},t,{now:i,token:y,startSeparator:s}))),s=""}d+=m.length}else{const v=n[d];g&&(p==null?void 0:p.start)===d||(p==null?void 0:p.end)===d||(o.length===0?s+=v:o[o.length-1].endSeparator+=v),d+=1}}return o.length===0&&s.length>0&&o.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:s,endSeparator:"",modified:!1}),o},won=({isRtl:t,formatDensity:e,sections:n})=>n.map(r=>{const i=o=>{let s=o;return t&&s!==null&&s.includes(" ")&&(s=`⁩${s}⁦`),e==="spacious"&&["/",".","-"].includes(s)&&(s=` ${s} `),s};return r.startSeparator=i(r.startSeparator),r.endSeparator=i(r.endSeparator),r}),Qxe=t=>{let e=mon(t);t.isRtl&&t.enableAccessibleFieldDOMStructure&&(e=e.split(" ").reverse().join(" "));const n=von(ve({},t,{expandedFormat:e})),r=bon(ve({},t,{expandedFormat:e,escapedParts:n}));return won(ve({},t,{sections:r}))},ole=({timezone:t,value:e,defaultValue:n,onChange:r,valueManager:i})=>{const o=pr(),s=D.useRef(n),a=e??s.current??i.emptyValue,l=D.useMemo(()=>i.getTimezone(o,a),[o,i,a]),u=st(h=>l==null?h:i.setTimezone(o,l,h)),c=t??l??"default",f=D.useMemo(()=>i.setTimezone(o,c,a),[i,o,c,a]),d=st((h,...p)=>{const g=u(h);r==null||r(g,...p)});return{value:f,handleValueChange:d,timezone:c}},HO=({name:t,timezone:e,value:n,defaultValue:r,onChange:i,valueManager:o})=>{const[s,a]=bu({name:t,state:"value",controlled:n,default:r??o.emptyValue}),l=st((u,...c)=>{a(u),i==null||i(u,...c)});return ole({timezone:e,value:s,defaultValue:void 0,onChange:l,valueManager:o})},_on=t=>{const e=pr(),n=Pl(),r=_b(),i=Ho(),{valueManager:o,fieldValueManager:s,valueType:a,validator:l,internalProps:u,internalProps:{value:c,defaultValue:f,referenceDate:d,onChange:h,format:p,formatDensity:g="dense",selectedSections:m,onSelectedSectionsChange:v,shouldRespectLeadingZeros:y=!1,timezone:x,enableAccessibleFieldDOMStructure:b=!1}}=t,{timezone:w,value:_,handleValueChange:S}=ole({timezone:x,value:c,defaultValue:f,onChange:h,valueManager:o}),O=D.useMemo(()=>eon(e),[e]),k=D.useMemo(()=>oon(e,O,w),[e,O,w]),E=D.useCallback((q,Y=null)=>s.getSectionsFromValue(e,q,Y,le=>Qxe({utils:e,localeText:n,localizedDigits:O,format:p,date:le,formatDensity:g,shouldRespectLeadingZeros:y,enableAccessibleFieldDOMStructure:b,isRtl:i})),[s,p,n,O,i,y,e,g,b]),[M,A]=D.useState(()=>{const q=E(_),Y={sections:q,value:_,referenceValue:o.emptyValue,tempValueStrAndroid:null},le=Qin(q),K=o.getInitialReferenceValue({referenceDate:d,value:_,utils:e,props:u,granularity:le,timezone:w});return ve({},Y,{referenceValue:K})}),[P,T]=bu({controlled:m,default:null,name:"useField",state:"selectedSections"}),R=q=>{T(q),v==null||v(q)},I=D.useMemo(()=>bQ(P,M.sections),[P,M.sections]),B=I==="all"?0:I,$=({value:q,referenceValue:Y,sections:le})=>{if(A(ee=>ve({},ee,{sections:le,value:q,referenceValue:Y,tempValueStrAndroid:null})),o.areValuesEqual(e,M.value,q))return;const K={validationError:l({adapter:r,value:q,timezone:w,props:u})};S(q,K)},z=(q,Y)=>{const le=[...M.sections];return le[q]=ve({},le[q],{value:Y,modified:!0}),le},L=()=>{$({value:o.emptyValue,referenceValue:M.referenceValue,sections:E(o.emptyValue)})},j=()=>{if(B==null)return;const q=M.sections[B],Y=s.getActiveDateManager(e,M,q),K=Y.getSections(M.sections).filter(te=>te.value!=="").length===(q.value===""?0:1),ee=z(B,""),re=K?null:e.getInvalidDate(),ge=Y.getNewValuesFromNewActiveDate(re);$(ve({},ge,{sections:ee}))},N=q=>{const Y=(ee,re)=>{const ge=e.parse(ee,p);if(ge==null||!e.isValid(ge))return null;const te=Qxe({utils:e,localeText:n,localizedDigits:O,format:p,date:ge,formatDensity:g,shouldRespectLeadingZeros:y,enableAccessibleFieldDOMStructure:b,isRtl:i});return Yxe(e,ge,te,re,!1)},le=s.parseValueStr(q,M.referenceValue,Y),K=s.updateReferenceValue(e,le,M.referenceValue);$({value:le,referenceValue:K,sections:E(le,M.sections)})},F=({activeSection:q,newSectionValue:Y,shouldGoToNextSection:le})=>{le&&Bve({},U,te,{sections:ee,tempValueStrAndroid:null}))},H=q=>A(Y=>ve({},Y,{tempValueStrAndroid:q}));return D.useEffect(()=>{const q=E(M.value);A(Y=>ve({},Y,{sections:q}))},[p,e.locale,i]),D.useEffect(()=>{let q;o.areValuesEqual(e,M.value,_)?q=o.getTimezone(e,M.value)!==o.getTimezone(e,_):q=!0,q&&A(Y=>ve({},Y,{value:_,referenceValue:s.updateReferenceValue(e,_,Y.referenceValue),sections:E(_)}))},[_]),{state:M,activeSectionIndex:B,parsedSelectedSections:I,setSelectedSections:R,clearValue:L,clearActiveSection:j,updateSectionValue:F,updateValueFromValueStr:N,setTempAndroidValueStr:H,getSectionsFromValue:E,sectionsValueBoundaries:k,localizedDigits:O,timezone:w}},Son=5e3,ow=t=>t.saveQuery!=null,Con=({sections:t,updateSectionValue:e,sectionsValueBoundaries:n,localizedDigits:r,setTempAndroidValueStr:i,timezone:o})=>{const s=pr(),[a,l]=D.useState(null),u=st(()=>l(null));D.useEffect(()=>{var p;a!=null&&((p=t[a.sectionIndex])==null?void 0:p.type)!==a.sectionType&&u()},[t,a,u]),D.useEffect(()=>{if(a!=null){const p=setTimeout(()=>u(),Son);return()=>{clearTimeout(p)}}return()=>{}},[a,u]);const c=({keyPressed:p,sectionIndex:g},m,v)=>{const y=p.toLowerCase(),x=t[g];if(a!=null&&(!v||v(a.value))&&a.sectionIndex===g){const w=`${a.value}${y}`,_=m(w,x);if(!ow(_))return l({sectionIndex:g,value:w,sectionType:x.type}),_}const b=m(y,x);return ow(b)&&!b.saveQuery?(u(),null):(l({sectionIndex:g,value:y,sectionType:x.type}),ow(b)?null:b)},f=p=>{const g=(y,x,b)=>{const w=x.filter(_=>_.toLowerCase().startsWith(b));return w.length===0?{saveQuery:!1}:{sectionValue:w[0],shouldGoToNextSection:w.length===1}},m=(y,x,b,w)=>{const _=S=>cWe(s,o,x.type,S);if(x.contentType==="letter")return g(x.format,_(x.format),y);if(b&&w!=null&&uWe(s,b).contentType==="letter"){const S=_(b),O=g(b,S,y);return ow(O)?{saveQuery:!1}:ve({},O,{sectionValue:w(O.sectionValue,S)})}return{saveQuery:!1}};return c(p,(y,x)=>{switch(x.type){case"month":{const b=w=>qxe(s,w,s.formats.month,x.format);return m(y,x,s.formats.month,b)}case"weekDay":{const b=(w,_)=>_.indexOf(w).toString();return m(y,x,s.formats.weekday,b)}case"meridiem":return m(y,x);default:return{saveQuery:!1}}})},d=p=>{const g=(v,y)=>{const x=k1(v,r),b=Number(x),w=n[y.type]({currentDate:null,format:y.format,contentType:y.contentType});if(b>w.maximum)return{saveQuery:!1};if(bw.maximum||x.length===w.maximum.toString().length;return{sectionValue:dWe(s,b,w,r,y),shouldGoToNextSection:_}};return c(p,(v,y)=>{if(y.contentType==="digit"||y.contentType==="digit-with-letter")return g(v,y);if(y.type==="month"){const x=pWe(s,"digit","month","MM"),b=g(v,{type:y.type,format:"MM",hasLeadingZerosInFormat:x,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(ow(b))return b;const w=qxe(s,b.sectionValue,"MM",y.format);return ve({},b,{sectionValue:w})}if(y.type==="weekDay"){const x=g(v,y);if(ow(x))return x;const b=xU(s,y.format)[Number(x.sectionValue)-1];return ve({},x,{sectionValue:b})}return{saveQuery:!1}},v=>Hxe(v,r))};return{applyCharacterEditing:st(p=>{const g=t[p.sectionIndex],v=Hxe(p.keyPressed,r)?d(ve({},p,{keyPressed:nle(p.keyPressed,r)})):f(p);if(v==null){i(null);return}e({activeSection:g,newSectionValue:v.sectionValue,shouldGoToNextSection:v.shouldGoToNextSection})}),resetCharacterQuery:u}};function Oon(t,e){return Array.isArray(e)?e.every(n=>t.indexOf(n)!==-1):t.indexOf(e)!==-1}const Eon=(t,e)=>n=>{(n.key==="Enter"||n.key===" ")&&(t(n),n.preventDefault(),n.stopPropagation())},Qa=(t=document)=>{const e=t.activeElement;return e?e.shadowRoot?Qa(e.shadowRoot):e:null},K5=t=>Array.from(t.children).indexOf(Qa(document)),Ton="@media (pointer: fine)",kon=t=>{const{internalProps:{disabled:e,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:i,onClick:o,onFocus:s,onInput:a,onPaste:l,focused:u,autoFocus:c=!1},fieldValueManager:f,applyCharacterEditing:d,resetCharacterQuery:h,setSelectedSections:p,parsedSelectedSections:g,state:m,clearActiveSection:v,clearValue:y,updateSectionValue:x,updateValueFromValueStr:b,sectionOrder:w,areAllSectionsEmpty:_,sectionsValueBoundaries:S}=t,O=D.useRef(null),k=dn(r,O),E=Pl(),M=pr(),A=Jf(),[P,T]=D.useState(!1),R=D.useMemo(()=>({syncSelectionToDOM:()=>{if(!O.current)return;const ae=document.getSelection();if(!ae)return;if(g==null){ae.rangeCount>0&&O.current.getRoot().contains(ae.getRangeAt(0).startContainer)&&ae.removeAllRanges(),P&&O.current.getRoot().blur();return}if(!O.current.getRoot().contains(Qa(document)))return;const U=new window.Range;let oe;g==="all"?oe=O.current.getRoot():m.sections[g].type==="empty"?oe=O.current.getSectionContainer(g):oe=O.current.getSectionContent(g),U.selectNodeContents(oe),oe.focus(),ae.removeAllRanges(),ae.addRange(U)},getActiveSectionIndexFromDOM:()=>{const ae=Qa(document);return!ae||!O.current||!O.current.getRoot().contains(ae)?null:O.current.getSectionIndexFromDOMElement(ae)},focusField:(ae=0)=>{if(!O.current)return;const U=bQ(ae,m.sections);T(!0),O.current.getSectionContent(U).focus()},setSelectedSections:ae=>{if(!O.current)return;const U=bQ(ae,m.sections);T((U==="all"?0:U)!==null),p(ae)},isFieldFocused:()=>{const ae=Qa(document);return!!O.current&&O.current.getRoot().contains(ae)}}),[g,p,m.sections,P]),I=st(ae=>{if(!O.current)return;const U=m.sections[ae];O.current.getSectionContent(ae).innerHTML=U.value||U.placeholder,R.syncSelectionToDOM()}),B=st((ae,...U)=>{ae.isDefaultPrevented()||!O.current||(T(!0),o==null||o(ae,...U),g==="all"?setTimeout(()=>{const oe=document.getSelection().getRangeAt(0).startOffset;if(oe===0){p(w.startIndex);return}let ne=0,V=0;for(;V{if(a==null||a(ae),!O.current||g!=="all")return;const oe=ae.target.textContent??"";O.current.getRoot().innerHTML=m.sections.map(ne=>`${ne.startSeparator}${ne.value||ne.placeholder}${ne.endSeparator}`).join(""),R.syncSelectionToDOM(),oe.length===0||oe.charCodeAt(0)===10?(h(),y(),p("all")):oe.length>1?b(oe):d({keyPressed:oe,sectionIndex:0})}),z=st(ae=>{if(l==null||l(ae),n||g!=="all"){ae.preventDefault();return}const U=ae.clipboardData.getData("text");ae.preventDefault(),h(),b(U)}),L=st((...ae)=>{if(s==null||s(...ae),P||!O.current)return;T(!0),O.current.getSectionIndexFromDOMElement(Qa(document))!=null||p(w.startIndex)}),j=st((...ae)=>{i==null||i(...ae),setTimeout(()=>{if(!O.current)return;const U=Qa(document);!O.current.getRoot().contains(U)&&(T(!1),p(null))})}),N=st(ae=>U=>{U.isDefaultPrevented()||p(ae)}),F=st(ae=>{ae.preventDefault()}),H=st(ae=>()=>{p(ae)}),q=st(ae=>{if(ae.preventDefault(),n||e||typeof g!="number")return;const U=m.sections[g],oe=ae.clipboardData.getData("text"),ne=/^[a-zA-Z]+$/.test(oe),V=/^[0-9]+$/.test(oe),X=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(oe);U.contentType==="letter"&&ne||U.contentType==="digit"&&V||U.contentType==="digit-with-letter"&&X?(h(),x({activeSection:U,newSectionValue:oe,shouldGoToNextSection:!0})):!ne&&!V&&(h(),b(oe))}),Y=st(ae=>{ae.preventDefault(),ae.dataTransfer.dropEffect="none"}),le=st(ae=>{if(!O.current)return;const U=ae.target,oe=U.textContent??"",ne=O.current.getSectionIndexFromDOMElement(U),V=m.sections[ne];if(n||!O.current){I(ne);return}if(oe.length===0){if(V.value===""){I(ne);return}const X=ae.nativeEvent.inputType;if(X==="insertParagraph"||X==="insertLineBreak"){I(ne);return}h(),v();return}d({keyPressed:oe,sectionIndex:ne}),I(ne)});Ei(()=>{if(!(!P||!O.current)){if(g==="all")O.current.getRoot().focus();else if(typeof g=="number"){const ae=O.current.getSectionContent(g);ae&&ae.focus()}}},[g,P]);const K=D.useMemo(()=>m.sections.reduce((ae,U)=>(ae[U.type]=S[U.type]({currentDate:null,contentType:U.contentType,format:U.format}),ae),{}),[S,m.sections]),ee=g==="all",re=D.useMemo(()=>m.sections.map((ae,U)=>{const oe=!ee&&!e&&!n;return{container:{"data-sectionindex":U,onClick:N(U)},content:{tabIndex:ee||U>0?-1:0,contentEditable:!ee&&!e&&!n,role:"spinbutton",id:`${A}-${ae.type}`,"aria-labelledby":`${A}-${ae.type}`,"aria-readonly":n,"aria-valuenow":con(ae,M),"aria-valuemin":K[ae.type].minimum,"aria-valuemax":K[ae.type].maximum,"aria-valuetext":ae.value?uon(ae,M):E.empty,"aria-label":E[ae.type],"aria-disabled":e,spellCheck:oe?!1:void 0,autoCapitalize:oe?"off":void 0,autoCorrect:oe?"off":void 0,[parseInt(D.version,10)>=17?"enterKeyHint":"enterkeyhint"]:oe?"next":void 0,children:ae.value||ae.placeholder,onInput:le,onPaste:q,onFocus:H(U),onDragOver:Y,onMouseUp:F,inputMode:ae.contentType==="letter"?"text":"numeric"},before:{children:ae.startSeparator},after:{children:ae.endSeparator}}}),[m.sections,H,q,Y,le,N,F,e,n,ee,E,M,K,A]),ge=st(ae=>{b(ae.target.value)}),te=D.useMemo(()=>_?"":f.getV7HiddenInputValueFromSections(m.sections),[_,m.sections,f]);return D.useEffect(()=>{if(O.current==null)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `` element instead of a `PickersSectionList`.","","If you want to keep using an `` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join(` +`));c&&O.current&&O.current.getSectionContent(w.startIndex).focus()},[]),{interactions:R,returnedValue:{autoFocus:c,readOnly:n,focused:u??P,sectionListRef:k,onBlur:j,onClick:B,onFocus:L,onInput:$,onPaste:z,enableAccessibleFieldDOMStructure:!0,elements:re,tabIndex:g===0?-1:0,contentEditable:ee,value:te,onChange:ge,areAllSectionsEmpty:_}}},d_=t=>t.replace(/[\u2066\u2067\u2068\u2069]/g,""),Aon=(t,e,n)=>{let r=0,i=n?1:0;const o=[];for(let s=0;s{const e=Ho(),n=D.useRef(),r=D.useRef(),{forwardedProps:{onFocus:i,onClick:o,onPaste:s,onBlur:a,inputRef:l,placeholder:u},internalProps:{readOnly:c=!1,disabled:f=!1},parsedSelectedSections:d,activeSectionIndex:h,state:p,fieldValueManager:g,valueManager:m,applyCharacterEditing:v,resetCharacterQuery:y,updateSectionValue:x,updateValueFromValueStr:b,clearActiveSection:w,clearValue:_,setTempAndroidValueStr:S,setSelectedSections:O,getSectionsFromValue:k,areAllSectionsEmpty:E,localizedDigits:M}=t,A=D.useRef(null),P=dn(l,A),T=D.useMemo(()=>Aon(p.sections,M,e),[p.sections,M,e]),R=D.useMemo(()=>({syncSelectionToDOM:()=>{if(!A.current)return;if(d==null){A.current.scrollLeft&&(A.current.scrollLeft=0);return}if(A.current!==Qa(document))return;const le=A.current.scrollTop;if(d==="all")A.current.select();else{const K=T[d],ee=K.type==="empty"?K.startInInput-K.startSeparator.length:K.startInInput,re=K.type==="empty"?K.endInInput+K.endSeparator.length:K.endInInput;(ee!==A.current.selectionStart||re!==A.current.selectionEnd)&&A.current===Qa(document)&&A.current.setSelectionRange(ee,re),clearTimeout(r.current),r.current=setTimeout(()=>{A.current&&A.current===Qa(document)&&A.current.selectionStart===A.current.selectionEnd&&(A.current.selectionStart!==ee||A.current.selectionEnd!==re)&&R.syncSelectionToDOM()})}A.current.scrollTop=le},getActiveSectionIndexFromDOM:()=>{const le=A.current.selectionStart??0,K=A.current.selectionEnd??0;if(le===0&&K===0)return null;const ee=le<=T[0].startInInput?1:T.findIndex(re=>re.startInInput-re.startSeparator.length>le);return ee===-1?T.length-1:ee-1},focusField:(le=0)=>{var K;(K=A.current)==null||K.focus(),O(le)},setSelectedSections:le=>O(le),isFieldFocused:()=>A.current===Qa(document)}),[A,d,T,O]),I=()=>{const le=A.current.selectionStart??0;let K;le<=T[0].startInInput||le>=T[T.length-1].endInInput?K=1:K=T.findIndex(re=>re.startInInput-re.startSeparator.length>le);const ee=K===-1?T.length-1:K-1;O(ee)},B=st((...le)=>{i==null||i(...le);const K=A.current;clearTimeout(n.current),n.current=setTimeout(()=>{!K||K!==A.current||h==null&&(K.value.length&&Number(K.selectionEnd)-Number(K.selectionStart)===K.value.length?O("all"):I())})}),$=st((le,...K)=>{le.isDefaultPrevented()||(o==null||o(le,...K),I())}),z=st(le=>{if(s==null||s(le),le.preventDefault(),c||f)return;const K=le.clipboardData.getData("text");if(typeof d=="number"){const ee=p.sections[d],re=/^[a-zA-Z]+$/.test(K),ge=/^[0-9]+$/.test(K),te=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(K);if(ee.contentType==="letter"&&re||ee.contentType==="digit"&&ge||ee.contentType==="digit-with-letter"&&te){y(),x({activeSection:ee,newSectionValue:K,shouldGoToNextSection:!0});return}if(re||ge)return}y(),b(K)}),L=st((...le)=>{a==null||a(...le),O(null)}),j=st(le=>{if(c)return;const K=le.target.value;if(K===""){y(),_();return}const ee=le.nativeEvent.data,re=ee&&ee.length>1,ge=re?ee:K,te=d_(ge);if(h==null||re){b(re?ee:te);return}let ae;if(d==="all"&&te.length===1)ae=te;else{const U=d_(g.getV6InputValueFromSections(T,M,e));let oe=-1,ne=-1;for(let he=0;heV.end)return;const Z=te.length-U.length+V.end-d_(V.endSeparator||"").length;ae=te.slice(V.start+d_(V.startSeparator||"").length,Z)}if(ae.length===0){aon()&&S(ge),y(),w();return}v({keyPressed:ae,sectionIndex:h})}),N=D.useMemo(()=>u!==void 0?u:g.getV6InputValueFromSections(k(m.emptyValue),M,e),[u,g,k,m.emptyValue,M,e]),F=D.useMemo(()=>p.tempValueStrAndroid??g.getV6InputValueFromSections(p.sections,M,e),[p.sections,g,p.tempValueStrAndroid,M,e]);D.useEffect(()=>(A.current&&A.current===Qa(document)&&O("all"),()=>{clearTimeout(n.current),clearTimeout(r.current)}),[]);const H=D.useMemo(()=>h==null||p.sections[h].contentType==="letter"?"text":"numeric",[h,p.sections]),Y=!(A.current&&A.current===Qa(document))&&E;return{interactions:R,returnedValue:{readOnly:c,onBlur:L,onClick:$,onFocus:B,onPaste:z,inputRef:P,enableAccessibleFieldDOMStructure:!1,placeholder:N,inputMode:H,autoComplete:"off",value:Y?"":F,onChange:j}}},Mon=t=>{const e=pr(),{internalProps:n,internalProps:{unstableFieldRef:r,minutesStep:i,enableAccessibleFieldDOMStructure:o=!1,disabled:s=!1,readOnly:a=!1},forwardedProps:{onKeyDown:l,error:u,clearable:c,onClear:f},fieldValueManager:d,valueManager:h,validator:p}=t,g=Ho(),m=_on(t),{state:v,activeSectionIndex:y,parsedSelectedSections:x,setSelectedSections:b,clearValue:w,clearActiveSection:_,updateSectionValue:S,setTempAndroidValueStr:O,sectionsValueBoundaries:k,localizedDigits:E,timezone:M}=m,A=Con({sections:v.sections,updateSectionValue:S,sectionsValueBoundaries:k,localizedDigits:E,setTempAndroidValueStr:O,timezone:M}),{resetCharacterQuery:P}=A,T=h.areValuesEqual(e,v.value,h.emptyValue),R=o?kon:Pon,I=D.useMemo(()=>lon(v.sections,g&&!o),[v.sections,g,o]),{returnedValue:B,interactions:$}=R(ve({},t,m,A,{areAllSectionsEmpty:T,sectionOrder:I})),z=st(q=>{if(l==null||l(q),!s)switch(!0){case((q.ctrlKey||q.metaKey)&&String.fromCharCode(q.keyCode)==="A"&&!q.shiftKey&&!q.altKey):{q.preventDefault(),b("all");break}case q.key==="ArrowRight":{if(q.preventDefault(),x==null)b(I.startIndex);else if(x==="all")b(I.endIndex);else{const Y=I.neighbors[x].rightIndex;Y!==null&&b(Y)}break}case q.key==="ArrowLeft":{if(q.preventDefault(),x==null)b(I.endIndex);else if(x==="all")b(I.startIndex);else{const Y=I.neighbors[x].leftIndex;Y!==null&&b(Y)}break}case q.key==="Delete":{if(q.preventDefault(),a)break;x==null||x==="all"?w():_(),P();break}case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(q.key):{if(q.preventDefault(),a||y==null)break;const Y=v.sections[y],le=d.getActiveDateManager(e,v,Y),K=ton(e,M,Y,q.key,k,E,le.date,{minutesStep:i});S({activeSection:Y,newSectionValue:K,shouldGoToNextSection:!1});break}}});Ei(()=>{$.syncSelectionToDOM()});const{hasValidationError:L}=_We({props:n,validator:p,timezone:M,value:v.value,onError:n.onError}),j=D.useMemo(()=>u!==void 0?u:L,[L,u]);D.useEffect(()=>{!j&&y==null&&P()},[v.referenceValue,y,j]),D.useEffect(()=>{v.tempValueStrAndroid!=null&&y!=null&&(P(),_())},[v.sections]),D.useImperativeHandle(r,()=>({getSections:()=>v.sections,getActiveSectionIndex:$.getActiveSectionIndexFromDOM,setSelectedSections:$.setSelectedSections,focusField:$.focusField,isFieldFocused:$.isFieldFocused}));const N=st((q,...Y)=>{q.preventDefault(),f==null||f(q,...Y),w(),$.isFieldFocused()?b(I.startIndex):$.focusField(0)}),F={onKeyDown:z,onClear:N,error:j,clearable:!!(c&&!T&&!a&&!s)},H={disabled:s,readOnly:a};return ve({},t.forwardedProps,F,H,B)},Ron=ut(C.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Don=ut(C.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),Ion=ut(C.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),Lon=ut(C.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar");ut(C.jsxs(D.Fragment,{children:[C.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),C.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock");const $on=ut(C.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),Fon=ut(C.jsxs(D.Fragment,{children:[C.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),C.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),Non=ut(C.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear"),zon=["clearable","onClear","InputProps","sx","slots","slotProps"],jon=["ownerState"],Bon=t=>{const e=Pl(),{clearable:n,onClear:r,InputProps:i,sx:o,slots:s,slotProps:a}=t,l=Rt(t,zon),u=(s==null?void 0:s.clearButton)??Xt,c=Zt({elementType:u,externalSlotProps:a==null?void 0:a.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:e.fieldClearLabel}}),f=Rt(c,jon),d=(s==null?void 0:s.clearIcon)??Non,h=Zt({elementType:d,externalSlotProps:a==null?void 0:a.clearIcon,ownerState:{}});return ve({},l,{InputProps:ve({},i,{endAdornment:C.jsxs(D.Fragment,{children:[n&&C.jsx(NAe,{position:"end",sx:{marginRight:i!=null&&i.endAdornment?-1:-1.5},children:C.jsx(u,ve({},f,{onClick:r,children:C.jsx(d,ve({fontSize:"small"},h))}))}),i==null?void 0:i.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(o)?o:[o]]})},Uon=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],Won=(t,e)=>D.useMemo(()=>{const n=ve({},t),r={},i=o=>{n.hasOwnProperty(o)&&(r[o]=n[o],delete n[o])};return Uon.forEach(i),mWe.forEach(i),vWe.forEach(i),yWe.forEach(i),{forwardedProps:n,internalProps:r}},[t,e]),Von=D.createContext(null);function SWe(t){const{contextValue:e,localeText:n,children:r}=t;return C.jsx(Von.Provider,{value:e,children:C.jsx(aWe,{localeText:n,children:r})})}const Gon=t=>{const e=pr(),n=eD(),i=t.ampm??e.is12HourCycleInCurrentLocale()?e.formats.keyboardDateTime12h:e.formats.keyboardDateTime24h;return ve({},t,{disablePast:t.disablePast??!1,disableFuture:t.disableFuture??!1,format:t.format??i,disableIgnoringDatePartForTimeValidation:!!(t.minDateTime||t.maxDateTime),minDate:Dc(e,t.minDateTime??t.minDate,n.minDate),maxDate:Dc(e,t.maxDateTime??t.maxDate,n.maxDate),minTime:t.minDateTime??t.minTime,maxTime:t.maxDateTime??t.maxTime})},Hon=t=>{const e=Gon(t),{forwardedProps:n,internalProps:r}=Won(e,"date-time");return Mon({forwardedProps:n,internalProps:r,valueManager:na,fieldValueManager:don,validator:bU,valueType:"date-time"})};function qon(t){return Ye("MuiPickersTextField",t)}qe("MuiPickersTextField",["root","focused","disabled","error","required"]);function Xon(t){return Ye("MuiPickersInputBase",t)}const V_=qe("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function Yon(t){return Ye("MuiPickersSectionList",t)}const v2=qe("MuiPickersSectionList",["root","section","sectionContent"]),Qon=["slots","slotProps","elements","sectionListRef"],CWe=be("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(t,e)=>e.root})({direction:"ltr /*! @noflip */",outline:"none"}),OWe=be("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(t,e)=>e.section})({}),EWe=be("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(t,e)=>e.sectionSeparator})({whiteSpace:"pre"}),TWe=be("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(t,e)=>e.sectionContent})({outline:"none"}),Kon=t=>{const{classes:e}=t;return Xe({root:["root"],section:["section"],sectionContent:["sectionContent"]},Yon,e)};function Zon(t){const{slots:e,slotProps:n,element:r,classes:i}=t,o=(e==null?void 0:e.section)??OWe,s=Zt({elementType:o,externalSlotProps:n==null?void 0:n.section,externalForwardedProps:r.container,className:i.section,ownerState:{}}),a=(e==null?void 0:e.sectionContent)??TWe,l=Zt({elementType:a,externalSlotProps:n==null?void 0:n.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:i.sectionContent,ownerState:{}}),u=(e==null?void 0:e.sectionSeparator)??EWe,c=Zt({elementType:u,externalSlotProps:n==null?void 0:n.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),f=Zt({elementType:u,externalSlotProps:n==null?void 0:n.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return C.jsxs(o,ve({},s,{children:[C.jsx(u,ve({},c)),C.jsx(a,ve({},l)),C.jsx(u,ve({},f))]}))}const Jon=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersSectionList"}),{slots:i,slotProps:o,elements:s,sectionListRef:a}=r,l=Rt(r,Qon),u=Kon(r),c=D.useRef(null),f=dn(n,c),d=g=>{if(!c.current)throw new Error(`MUI X: Cannot call sectionListRef.${g} before the mount of the component.`);return c.current};D.useImperativeHandle(a,()=>({getRoot(){return d("getRoot")},getSectionContainer(g){return d("getSectionContainer").querySelector(`.${v2.section}[data-sectionindex="${g}"]`)},getSectionContent(g){return d("getSectionContent").querySelector(`.${v2.section}[data-sectionindex="${g}"] .${v2.sectionContent}`)},getSectionIndexFromDOMElement(g){const m=d("getSectionIndexFromDOMElement");if(g==null||!m.contains(g))return null;let v=null;return g.classList.contains(v2.section)?v=g:g.classList.contains(v2.sectionContent)&&(v=g.parentElement),v==null?null:Number(v.dataset.sectionindex)}}));const h=(i==null?void 0:i.root)??CWe,p=Zt({elementType:h,externalSlotProps:o==null?void 0:o.root,externalForwardedProps:l,additionalProps:{ref:f,suppressContentEditableWarning:!0},className:u.root,ownerState:{}});return C.jsx(h,ve({},p,{children:p.contentEditable?s.map(({content:g,before:m,after:v})=>`${m.children}${g.children}${v.children}`).join(""):C.jsx(D.Fragment,{children:s.map((g,m)=>C.jsx(Zon,{slots:i,slotProps:o,element:g,classes:u},m))})}))}),esn=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],tsn=t=>Math.round(t*1e5)/1e5,wU=be("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>ve({},t.typography.body1,{color:(t.vars||t).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:`${tsn(.15/16)}em`,variants:[{props:{fullWidth:!0},style:{width:"100%"}}]})),sle=be(CWe,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(t,e)=>e.sectionsContainer})(({theme:t})=>({padding:"4px 0 5px",fontFamily:t.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:n,filled:r,label:i})=>!e&&!n&&!r&&i==null,style:t.vars?{opacity:t.vars.opacity.inputPlaceholder}:{opacity:t.palette.mode==="light"?.42:.5}}]})),nsn=be(OWe,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(t,e)=>e.section})(({theme:t})=>({fontFamily:t.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"})),rsn=be(TWe,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(t,e)=>e.content})(({theme:t})=>({fontFamily:t.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"})),isn=be(EWe,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(t,e)=>e.separator})(()=>({whiteSpace:"pre",letterSpacing:"inherit"})),osn=be("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(t,e)=>e.hiddenInput})(ve({},Jke)),ssn=t=>{const{focused:e,disabled:n,error:r,classes:i,fullWidth:o,readOnly:s,color:a,size:l,endAdornment:u,startAdornment:c}=t,f={root:["root",e&&!n&&"focused",n&&"disabled",s&&"readOnly",r&&"error",o&&"fullWidth",`color${De(a)}`,l==="small"&&"inputSizeSmall",!!c&&"adornedStart",!!u&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return Xe(f,Xon,i)},ale=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersInputBase"}),{elements:i,areAllSectionsEmpty:o,value:s,onChange:a,id:l,endAdornment:u,startAdornment:c,renderSuffix:f,slots:d,slotProps:h,contentEditable:p,tabIndex:g,onInput:m,onPaste:v,onKeyDown:y,name:x,readOnly:b,inputProps:w,inputRef:_,sectionListRef:S}=r,O=Rt(r,esn),k=D.useRef(null),E=dn(n,k),M=dn(w==null?void 0:w.ref,_),A=Ho(),P=Fa();if(!P)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");const T=L=>{var j;if(P.disabled){L.stopPropagation();return}(j=P.onFocus)==null||j.call(P,L)};D.useEffect(()=>{P&&P.setAdornedStart(!!c)},[P,c]),D.useEffect(()=>{P&&(o?P.onEmpty():P.onFilled())},[P,o]);const R=ve({},r,P,{isRtl:A}),I=ssn(R),B=(d==null?void 0:d.root)||wU,$=Zt({elementType:B,externalSlotProps:h==null?void 0:h.root,externalForwardedProps:O,additionalProps:{"aria-invalid":P.error,ref:E},className:I.root,ownerState:R}),z=(d==null?void 0:d.input)||sle;return C.jsxs(B,ve({},$,{children:[c,C.jsx(Jon,{sectionListRef:S,elements:i,contentEditable:p,tabIndex:g,className:I.sectionsContainer,onFocus:T,onBlur:P.onBlur,onInput:m,onPaste:v,onKeyDown:y,slots:{root:z,section:nsn,sectionContent:rsn,sectionSeparator:isn},slotProps:{root:{ownerState:R},sectionContent:{className:V_.sectionContent},sectionSeparator:({position:L})=>({className:L==="before"?V_.sectionBefore:V_.sectionAfter})}}),u,f?f(ve({},P)):null,C.jsx(osn,ve({name:x,className:I.input,value:s,onChange:a,id:l,"aria-hidden":"true",tabIndex:-1,readOnly:b,required:P.required,disabled:P.disabled},w,{ref:M}))]}))});function asn(t){return Ye("MuiPickersOutlinedInput",t)}const Qc=ve({},V_,qe("MuiPickersOutlinedInput",["root","notchedOutline","input"])),lsn=["children","className","label","notched","shrink"],usn=be("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(t,e)=>e.notchedOutline})(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%",borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}}),Kxe=be("span")(({theme:t})=>({fontFamily:t.typography.fontFamily,fontSize:"inherit"})),csn=be("legend")(({theme:t})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}]}));function fsn(t){const{className:e,label:n}=t,r=Rt(t,lsn),i=n!=null&&n!=="",o=ve({},t,{withLabel:i});return C.jsx(usn,ve({"aria-hidden":!0,className:e},r,{ownerState:o,children:C.jsx(csn,{ownerState:o,children:i?C.jsx(Kxe,{children:n}):C.jsx(Kxe,{className:"notranslate",children:"​"})})}))}const dsn=["label","autoFocus","ownerState","notched"],hsn=be(wU,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{const e=t.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(t.vars||t).shape.borderRadius,[`&:hover .${Qc.notchedOutline}`]:{borderColor:(t.vars||t).palette.text.primary},"@media (hover: none)":{[`&:hover .${Qc.notchedOutline}`]:{borderColor:t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)`:e}},[`&.${Qc.focused} .${Qc.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${Qc.disabled}`]:{[`& .${Qc.notchedOutline}`]:{borderColor:(t.vars||t).palette.action.disabled},"*":{color:(t.vars||t).palette.action.disabled}},[`&.${Qc.error} .${Qc.notchedOutline}`]:{borderColor:(t.vars||t).palette.error.main},variants:Object.keys((t.vars??t).palette).filter(n=>{var r;return((r=(t.vars??t).palette[n])==null?void 0:r.main)??!1}).map(n=>({props:{color:n},style:{[`&.${Qc.focused}:not(.${Qc.error}) .${Qc.notchedOutline}`]:{borderColor:(t.vars||t).palette[n].main}}}))}}),psn=be(sle,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(t,e)=>e.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),gsn=t=>{const{classes:e}=t,r=Xe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},asn,e);return ve({},e,r)},kWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersOutlinedInput"}),{label:i,ownerState:o,notched:s}=r,a=Rt(r,dsn),l=Fa(),u=ve({},r,o,l,{color:(l==null?void 0:l.color)||"primary"}),c=gsn(u);return C.jsx(ale,ve({slots:{root:hsn,input:psn},renderSuffix:f=>C.jsx(fsn,{shrink:!!(s||f.adornedStart||f.focused||f.filled),notched:!!(s||f.adornedStart||f.focused||f.filled),className:c.notchedOutline,label:i!=null&&i!==""&&(l!=null&&l.required)?C.jsxs(D.Fragment,{children:[i," ","*"]}):i,ownerState:u})},a,{label:i,classes:c,ref:n}))});kWe.muiName="Input";function msn(t){return Ye("MuiPickersFilledInput",t)}const C0=ve({},V_,qe("MuiPickersFilledInput",["root","underline","input"])),vsn=["label","autoFocus","disableUnderline","ownerState"],ysn=be(wU,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(t,e)=>e.root,shouldForwardProp:t=>t3(t)&&t!=="disableUnderline"})(({theme:t})=>{const e=t.palette.mode==="light",n=e?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=e?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=e?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=e?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(t.vars||t).shape.borderRadius,borderTopRightRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),"&:hover":{backgroundColor:t.vars?t.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r}},[`&.${C0.focused}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.bg:r},[`&.${C0.disabled}`]:{backgroundColor:t.vars?t.vars.palette.FilledInput.disabledBg:o},variants:[...Object.keys((t.vars??t).palette).filter(s=>(t.vars??t).palette[s].main).map(s=>{var a;return{props:{color:s,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(a=(t.vars||t).palette[s])==null?void 0:a.main}`}}}}),{props:{disableUnderline:!1},style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${C0.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${C0.error}`]:{"&:before, &:after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${t.vars?`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${C0.disabled}, .${C0.error}):before`]:{borderBottom:`1px solid ${(t.vars||t).palette.text.primary}`},[`&.${C0.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:s})=>!!s,style:{paddingLeft:12}},{props:({endAdornment:s})=>!!s,style:{paddingRight:12}}]}}),xsn=be(sle,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(t,e)=>e.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:t})=>!!t,style:{paddingLeft:0}},{props:({endAdornment:t})=>!!t,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),bsn=t=>{const{classes:e,disableUnderline:n}=t,i=Xe({root:["root",!n&&"underline"],input:["input"]},msn,e);return ve({},e,i)},AWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersFilledInput"}),{label:i,disableUnderline:o=!1,ownerState:s}=r,a=Rt(r,vsn),l=Fa(),u=ve({},r,s,l,{color:(l==null?void 0:l.color)||"primary"}),c=bsn(u);return C.jsx(ale,ve({slots:{root:ysn,input:xsn},slotProps:{root:{disableUnderline:o}}},a,{label:i,classes:c,ref:n}))});AWe.muiName="Input";function wsn(t){return Ye("MuiPickersFilledInput",t)}const y2=ve({},V_,qe("MuiPickersInput",["root","input"])),_sn=["label","autoFocus","disableUnderline","ownerState"],Ssn=be(wU,{name:"MuiPickersInput",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>{let n=t.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return t.vars&&(n=`rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((t.vars??t).palette).filter(r=>(t.vars??t).palette[r].main).map(r=>({props:{color:r},style:{"&::after":{borderBottom:`2px solid ${(t.vars||t).palette[r].main}`}}})),{props:{disableUnderline:!1},style:{"&::after":{background:"red",left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${y2.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${y2.error}`]:{"&:before, &:after":{borderBottomColor:(t.vars||t).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:t.transitions.create("border-bottom-color",{duration:t.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${y2.disabled}, .${y2.error}):before`]:{borderBottom:`2px solid ${(t.vars||t).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${y2.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}}),Csn=t=>{const{classes:e,disableUnderline:n}=t,i=Xe({root:["root",!n&&"underline"],input:["input"]},wsn,e);return ve({},e,i)},PWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersInput"}),{label:i,disableUnderline:o=!1,ownerState:s}=r,a=Rt(r,_sn),l=Fa(),u=ve({},r,s,l,{disableUnderline:o,color:(l==null?void 0:l.color)||"primary"}),c=Csn(u);return C.jsx(ale,ve({slots:{root:Ssn}},a,{label:i,classes:c,ref:n}))});PWe.muiName="Input";const Osn=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],Esn={standard:PWe,filled:AWe,outlined:kWe},Tsn=be(Wg,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(t,e)=>e.root})({}),ksn=t=>{const{focused:e,disabled:n,classes:r,required:i}=t;return Xe({root:["root",e&&!n&&"focused",n&&"disabled",i&&"required"]},qon,r)},Asn=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersTextField"}),{onFocus:i,onBlur:o,className:s,color:a="primary",disabled:l=!1,error:u=!1,variant:c="outlined",required:f=!1,InputProps:d,inputProps:h,inputRef:p,sectionListRef:g,elements:m,areAllSectionsEmpty:v,onClick:y,onKeyDown:x,onKeyUp:b,onPaste:w,onInput:_,endAdornment:S,startAdornment:O,tabIndex:k,contentEditable:E,focused:M,value:A,onChange:P,fullWidth:T,id:R,name:I,helperText:B,FormHelperTextProps:$,label:z,InputLabelProps:L}=r,j=Rt(r,Osn),N=D.useRef(null),F=dn(n,N),H=Jf(R),q=B&&H?`${H}-helper-text`:void 0,Y=z&&H?`${H}-label`:void 0,le=ve({},r,{color:a,disabled:l,error:u,focused:M,required:f,variant:c}),K=ksn(le),ee=Esn[c];return C.jsxs(Tsn,ve({className:Oe(K.root,s),ref:F,focused:M,onFocus:i,onBlur:o,disabled:l,variant:c,error:u,color:a,fullWidth:T,required:f,ownerState:le},j,{children:[C.jsx(Iy,ve({htmlFor:H,id:Y},L,{children:z})),C.jsx(ee,ve({elements:m,areAllSectionsEmpty:v,onClick:y,onKeyDown:x,onKeyUp:b,onInput:_,onPaste:w,endAdornment:S,startAdornment:O,tabIndex:k,contentEditable:E,value:A,onChange:P,id:H,fullWidth:T,inputProps:h,inputRef:p,sectionListRef:g,label:z,name:I,role:"group","aria-labelledby":Y},d)),B&&C.jsx(Oee,ve({id:q},$,{children:B}))]}))}),Psn=["enableAccessibleFieldDOMStructure"],Msn=["InputProps","readOnly"],Rsn=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],Dsn=t=>{let{enableAccessibleFieldDOMStructure:e}=t,n=Rt(t,Psn);if(e){const{InputProps:f,readOnly:d}=n,h=Rt(n,Msn);return ve({},h,{InputProps:ve({},f??{},{readOnly:d})})}const{onPaste:r,onKeyDown:i,inputMode:o,readOnly:s,InputProps:a,inputProps:l,inputRef:u}=n,c=Rt(n,Rsn);return ve({},c,{InputProps:ve({},a??{},{readOnly:s}),inputProps:ve({},l??{},{inputMode:o,onPaste:r,onKeyDown:i,ref:u})})},Isn=["slots","slotProps","InputProps","inputProps"],MWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiDateTimeField"}),{slots:i,slotProps:o,InputProps:s,inputProps:a}=r,l=Rt(r,Isn),u=r,c=(i==null?void 0:i.textField)??(e.enableAccessibleFieldDOMStructure?Asn:ci),f=Zt({elementType:c,externalSlotProps:o==null?void 0:o.textField,externalForwardedProps:l,ownerState:u,additionalProps:{ref:n}});f.inputProps=ve({},a,f.inputProps),f.InputProps=ve({},s,f.InputProps);const d=Hon(f),h=Dsn(d),p=Bon(ve({},h,{slots:i,slotProps:o}));return C.jsx(c,ve({},p))});function Lsn(t){return Ye("MuiDateTimePickerTabs",t)}qe("MuiDateTimePickerTabs",["root"]);const $sn=t=>fC(t)?"date":"time",Fsn=t=>t==="date"?"day":"hours",Nsn=t=>{const{classes:e}=t;return Xe({root:["root"]},Lsn,e)},zsn=be(Mee,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({boxShadow:`0 -1px 0 0 inset ${(t.vars||t).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(t.vars||t).palette.divider}`,[`& .${s3.indicator}`]:{bottom:"auto",top:0}}})),jsn=function(e){const n=kn({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:r=C.jsx($on,{}),onViewChange:i,timeIcon:o=C.jsx(Fon,{}),view:s,hidden:a=typeof window>"u"||window.innerHeight<667,className:l,sx:u}=n,c=Pl(),f=Nsn(n),d=(h,p)=>{i(Fsn(p))};return a?null:C.jsxs(zsn,{ownerState:n,variant:"fullWidth",value:$sn(s),onChange:d,className:Oe(l,f.root),sx:u,children:[C.jsx(wS,{value:"date","aria-label":c.dateTableLabel,icon:C.jsx(D.Fragment,{children:r})}),C.jsx(wS,{value:"time","aria-label":c.timeTableLabel,icon:C.jsx(D.Fragment,{children:o})})]})};function Bsn(t){return Ye("MuiPickersToolbarText",t)}const wQ=qe("MuiPickersToolbarText",["root","selected"]),Usn=["className","selected","value"],Wsn=t=>{const{classes:e,selected:n}=t;return Xe({root:["root",n&&"selected"]},Bsn,e)},Vsn=be(Jt,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${wQ.selected}`]:e.selected}]})(({theme:t})=>({transition:t.transitions.create("color"),color:(t.vars||t).palette.text.secondary,[`&.${wQ.selected}`]:{color:(t.vars||t).palette.text.primary}})),RWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersToolbarText"}),{className:i,value:o}=r,s=Rt(r,Usn),a=Wsn(r);return C.jsx(Vsn,ve({ref:n,className:Oe(a.root,i),component:"span"},s,{children:o}))});function DWe(t){return Ye("MuiPickersToolbar",t)}const Gsn=qe("MuiPickersToolbar",["root","content"]),Hsn=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],qsn=t=>{const{classes:e,isLandscape:n}=t;return Xe({root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]},DWe,e)},Xsn=be("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:t.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]})),Ysn=be("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(t,e)=>e.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),Qsn=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersToolbar"}),{children:i,className:o,toolbarTitle:s,hidden:a,titleId:l}=r,u=Rt(r,Hsn),c=r,f=qsn(c);return a?null:C.jsxs(Xsn,ve({ref:n,className:Oe(f.root,o),ownerState:c},u,{children:[C.jsx(Jt,{color:"text.secondary",variant:"overline",id:l,children:s}),C.jsx(Ysn,{className:f.content,ownerState:c,children:i})]}))}),Ksn=["align","className","selected","typographyClassName","value","variant","width"],Zsn=t=>{const{classes:e}=t;return Xe({root:["root"]},DWe,e)},Jsn=be(Vr,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(t,e)=>e.root})({padding:0,minWidth:16,textTransform:"none"}),vm=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersToolbarButton"}),{align:i,className:o,selected:s,typographyClassName:a,value:l,variant:u,width:c}=r,f=Rt(r,Ksn),d=Zsn(r);return C.jsx(Jsn,ve({variant:"text",ref:n,className:Oe(d.root,o)},c?{sx:{width:c}}:{},f,{children:C.jsx(RWe,{align:i,className:a,variant:u,value:l,selected:s})}))});function ean(t){return Ye("MuiDateTimePickerToolbar",t)}const R9=qe("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]);function tan(t,{disableFuture:e,maxDate:n,timezone:r}){const i=pr();return D.useMemo(()=>{const o=i.date(void 0,r),s=i.startOfMonth(e&&i.isBefore(o,n)?o:n);return!i.isAfter(s,t)},[e,n,t,i,r])}function nan(t,{disablePast:e,minDate:n,timezone:r}){const i=pr();return D.useMemo(()=>{const o=i.date(void 0,r),s=i.startOfMonth(e&&i.isAfter(o,n)?o:n);return!i.isBefore(s,t)},[e,n,t,i,r])}function lle(t,e,n,r){const i=pr(),o=Xin(t,i),s=D.useCallback(a=>{const l=t==null?null:Yin(t,a,!!e,i);n(l,r??"partial")},[e,t,n,r,i]);return{meridiemMode:o,handleMeridiemChange:s}}const rP=36,_U=2,SU=320,ran=280,CU=336,IWe=232,TT=48,ian=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],oan=t=>{const{classes:e,isLandscape:n,isRtl:r}=t;return Xe({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]},ean,e)},san=be(Qsn,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,[`& .${Gsn.content} .${wQ.selected}`]:{color:(t.vars||t).palette.primary.main,fontWeight:t.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(t.vars||t).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]})),aan=be("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(t,e)=>e.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),lan=be("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(t,e)=>e.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:t,toolbarVariant:e})=>t&&e!=="desktop",style:{flexDirection:"column"}},{props:({isLandscape:t,toolbarVariant:e,isRtl:n})=>t&&e!=="desktop"&&n,style:{flexDirection:"column-reverse"}}]}),uan=be("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(t,e)=>e.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),Zxe=be(RWe,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(t,e)=>e.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),can=be("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(t,e)=>[{[`.${R9.ampmLabel}`]:e.ampmLabel},{[`&.${R9.ampmLandscape}`]:e.ampmLandscape},e.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${R9.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function fan(t){const e=kn({props:t,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:i,onChange:o,view:s,isLandscape:a,onViewChange:l,toolbarFormat:u,toolbarPlaceholder:c="––",views:f,disabled:d,readOnly:h,toolbarVariant:p="mobile",toolbarTitle:g,className:m}=e,v=Rt(e,ian),y=Ho(),x=ve({},e,{isRtl:y}),b=pr(),{meridiemMode:w,handleMeridiemChange:_}=lle(i,n,o),S=!!(n&&!r),O=p==="desktop",k=Pl(),E=oan(x),M=g??k.dateTimePickerToolbarTitle,A=T=>n?b.format(T,"hours12h"):b.format(T,"hours24h"),P=D.useMemo(()=>i?u?b.formatByString(i,u):b.format(i,"shortDate"):c,[i,u,c,b]);return C.jsxs(san,ve({isLandscape:a,className:Oe(E.root,m),toolbarTitle:M},v,{ownerState:x,children:[C.jsxs(aan,{className:E.dateContainer,ownerState:x,children:[f.includes("year")&&C.jsx(vm,{tabIndex:-1,variant:"subtitle1",onClick:()=>l("year"),selected:s==="year",value:i?b.format(i,"year"):"–"}),f.includes("day")&&C.jsx(vm,{tabIndex:-1,variant:O?"h5":"h4",onClick:()=>l("day"),selected:s==="day",value:P})]}),C.jsxs(lan,{className:E.timeContainer,ownerState:x,children:[C.jsxs(uan,{className:E.timeDigitsContainer,ownerState:x,children:[f.includes("hours")&&C.jsxs(D.Fragment,{children:[C.jsx(vm,{variant:O?"h5":"h3",width:O&&!a?TT:void 0,onClick:()=>l("hours"),selected:s==="hours",value:i?A(i):"--"}),C.jsx(Zxe,{variant:O?"h5":"h3",value:":",className:E.separator,ownerState:x}),C.jsx(vm,{variant:O?"h5":"h3",width:O&&!a?TT:void 0,onClick:()=>l("minutes"),selected:s==="minutes"||!f.includes("minutes")&&s==="hours",value:i?b.format(i,"minutes"):"--",disabled:!f.includes("minutes")})]}),f.includes("seconds")&&C.jsxs(D.Fragment,{children:[C.jsx(Zxe,{variant:O?"h5":"h3",value:":",className:E.separator,ownerState:x}),C.jsx(vm,{variant:O?"h5":"h3",width:O&&!a?TT:void 0,onClick:()=>l("seconds"),selected:s==="seconds",value:i?b.format(i,"seconds"):"--"})]})]}),S&&!O&&C.jsxs(can,{className:E.ampmSelection,ownerState:x,children:[C.jsx(vm,{variant:"subtitle2",selected:w==="am",typographyClassName:E.ampmLabel,value:Kp(b,"am"),onClick:h?void 0:()=>_("am"),disabled:d}),C.jsx(vm,{variant:"subtitle2",selected:w==="pm",typographyClassName:E.ampmLabel,value:Kp(b,"pm"),onClick:h?void 0:()=>_("pm"),disabled:d})]}),n&&O&&C.jsx(vm,{variant:"h5",onClick:()=>l("meridiem"),selected:s==="meridiem",value:i&&w?Kp(b,w):"--",width:TT})]})]}))}function LWe(t,e){var a;const n=pr(),r=eD(),i=kn({props:t,name:e}),o=i.ampm??n.is12HourCycleInCurrentLocale(),s=D.useMemo(()=>{var l;return((l=i.localeText)==null?void 0:l.toolbarTitle)==null?i.localeText:ve({},i.localeText,{dateTimePickerToolbarTitle:i.localeText.toolbarTitle})},[i.localeText]);return ve({},i,Win({views:i.views,openTo:i.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:o,localeText:s,orientation:i.orientation??"portrait",disableIgnoringDatePartForTimeValidation:i.disableIgnoringDatePartForTimeValidation??!!(i.minDateTime||i.maxDateTime||i.disablePast||i.disableFuture),disableFuture:i.disableFuture??!1,disablePast:i.disablePast??!1,minDate:Dc(n,i.minDateTime??i.minDate,r.minDate),maxDate:Dc(n,i.maxDateTime??i.maxDate,r.maxDate),minTime:i.minDateTime??i.minTime,maxTime:i.maxDateTime??i.maxTime,slots:ve({toolbar:fan,tabs:jsn},i.slots),slotProps:ve({},i.slotProps,{toolbar:ve({ampm:o},(a=i.slotProps)==null?void 0:a.toolbar)})})}const $We=({shouldDisableDate:t,shouldDisableMonth:e,shouldDisableYear:n,minDate:r,maxDate:i,disableFuture:o,disablePast:s,timezone:a})=>{const l=_b();return D.useCallback(u=>ile({adapter:l,value:u,timezone:a,props:{shouldDisableDate:t,shouldDisableMonth:e,shouldDisableYear:n,minDate:r,maxDate:i,disableFuture:o,disablePast:s}})!==null,[l,t,e,n,r,i,o,s,a])},dan=(t,e,n)=>(r,i)=>{switch(i.type){case"changeMonth":return ve({},r,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!t});case"finishMonthSwitchingAnimation":return ve({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(r.focusedDay!=null&&i.focusedDay!=null&&n.isSameDay(i.focusedDay,r.focusedDay))return r;const o=i.focusedDay!=null&&!e&&!n.isSameMonth(r.currentMonth,i.focusedDay);return ve({},r,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:o&&!t&&!i.withoutMonthSwitchingAnimation,currentMonth:o?n.startOfMonth(i.focusedDay):r.currentMonth,slideDirection:i.focusedDay!=null&&n.isAfterDay(i.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},han=t=>{const{value:e,referenceDate:n,disableFuture:r,disablePast:i,disableSwitchToMonthOnDayFocus:o=!1,maxDate:s,minDate:a,onMonthChange:l,reduceAnimations:u,shouldDisableDate:c,timezone:f}=t,d=pr(),h=D.useRef(dan(!!u,o,d)).current,p=D.useMemo(()=>na.getInitialReferenceValue({value:e,utils:d,timezone:f,props:t,referenceDate:n,granularity:bf.day}),[]),[g,m]=D.useReducer(h,{isMonthSwitchingAnimating:!1,focusedDay:p,currentMonth:d.startOfMonth(p),slideDirection:"left"}),v=D.useCallback(_=>{m(ve({type:"changeMonth"},_)),l&&l(_.newMonth)},[l]),y=D.useCallback(_=>{const S=_;d.isSameMonth(S,g.currentMonth)||v({newMonth:d.startOfMonth(S),direction:d.isAfterDay(S,g.currentMonth)?"left":"right"})},[g.currentMonth,v,d]),x=$We({shouldDisableDate:c,minDate:a,maxDate:s,disableFuture:r,disablePast:i,timezone:f}),b=D.useCallback(()=>{m({type:"finishMonthSwitchingAnimation"})},[]),w=st((_,S)=>{x(_)||m({type:"changeFocusedDay",focusedDay:_,withoutMonthSwitchingAnimation:S})});return{referenceDate:p,calendarState:g,changeMonth:y,changeFocusedDay:w,isDateDisabled:x,onMonthSwitchingAnimationEnd:b,handleChangeMonth:v}},pan=t=>Ye("MuiPickersFadeTransitionGroup",t);qe("MuiPickersFadeTransitionGroup",["root"]);const gan=t=>{const{classes:e}=t;return Xe({root:["root"]},pan,e)},man=be(AM,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"block",position:"relative"});function FWe(t){const e=kn({props:t,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:i,transKey:o}=e,s=gan(e),a=$a();return i?n:C.jsx(man,{className:Oe(s.root,r),children:C.jsx(qC,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:a.transitions.duration.enteringScreen,enter:a.transitions.duration.enteringScreen,exit:0},children:n},o)})}function van(t){return Ye("MuiPickersDay",t)}const O0=qe("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),yan=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],xan=t=>{const{selected:e,disableMargin:n,disableHighlightToday:r,today:i,disabled:o,outsideCurrentMonth:s,showDaysOutsideCurrentMonth:a,classes:l}=t,u=s&&!a;return Xe({root:["root",e&&!u&&"selected",o&&"disabled",!n&&"dayWithMargin",!r&&i&&"today",s&&a&&"dayOutsideMonth",u&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},van,l)},NWe=({theme:t})=>ve({},t.typography.caption,{width:rP,height:rP,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:t.transitions.create("background-color",{duration:t.transitions.duration.short}),color:(t.vars||t).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.primary.main,t.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette.primary.main,t.palette.action.focusOpacity),[`&.${O0.selected}`]:{willChange:"background-color",backgroundColor:(t.vars||t).palette.primary.dark}},[`&.${O0.selected}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,fontWeight:t.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(t.vars||t).palette.primary.dark}},[`&.${O0.disabled}:not(.${O0.selected})`]:{color:(t.vars||t).palette.text.disabled},[`&.${O0.disabled}&.${O0.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:`0 ${_U}px`}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(t.vars||t).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${O0.selected})`]:{border:`1px solid ${(t.vars||t).palette.text.secondary}`}}}]}),zWe=(t,e)=>{const{ownerState:n}=t;return[e.root,!n.disableMargin&&e.dayWithMargin,!n.disableHighlightToday&&n.today&&e.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&e.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&e.hiddenDaySpacingFiller]},ban=be(Nf,{name:"MuiPickersDay",slot:"Root",overridesResolver:zWe})(NWe),wan=be("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:zWe})(({theme:t})=>ve({},NWe({theme:t}),{opacity:0,pointerEvents:"none"})),x2=()=>{},_an=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersDay"}),{autoFocus:i=!1,className:o,day:s,disabled:a=!1,disableHighlightToday:l=!1,disableMargin:u=!1,isAnimating:c,onClick:f,onDaySelect:d,onFocus:h=x2,onBlur:p=x2,onKeyDown:g=x2,onMouseDown:m=x2,onMouseEnter:v=x2,outsideCurrentMonth:y,selected:x=!1,showDaysOutsideCurrentMonth:b=!1,children:w,today:_=!1}=r,S=Rt(r,yan),O=ve({},r,{autoFocus:i,disabled:a,disableHighlightToday:l,disableMargin:u,selected:x,showDaysOutsideCurrentMonth:b,today:_}),k=xan(O),E=pr(),M=D.useRef(null),A=dn(M,n);Ei(()=>{i&&!a&&!c&&!y&&M.current.focus()},[i,a,c,y]);const P=R=>{m(R),y&&R.preventDefault()},T=R=>{a||d(s),y&&R.currentTarget.focus(),f&&f(R)};return y&&!b?C.jsx(wan,{className:Oe(k.root,k.hiddenDaySpacingFiller,o),ownerState:O,role:S.role}):C.jsx(ban,ve({className:Oe(k.root,o),ref:A,centerRipple:!0,disabled:a,tabIndex:x?0:-1,onKeyDown:R=>g(R,s),onFocus:R=>h(R,s),onBlur:R=>p(R,s),onMouseEnter:R=>v(R,s),onClick:T,onMouseDown:P},S,{ownerState:O,children:w||E.format(s,"dayOfMonth")}))}),San=D.memo(_an),Can=t=>Ye("MuiPickersSlideTransition",t),ju=qe("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),Oan=["children","className","reduceAnimations","slideDirection","transKey","classes"],Ean=t=>{const{classes:e,slideDirection:n}=t,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return Xe(r,Can,e)},Tan=be(AM,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`.${ju["slideEnter-left"]}`]:e["slideEnter-left"]},{[`.${ju["slideEnter-right"]}`]:e["slideEnter-right"]},{[`.${ju.slideEnterActive}`]:e.slideEnterActive},{[`.${ju.slideExit}`]:e.slideExit},{[`.${ju["slideExitActiveLeft-left"]}`]:e["slideExitActiveLeft-left"]},{[`.${ju["slideExitActiveLeft-right"]}`]:e["slideExitActiveLeft-right"]}]})(({theme:t})=>{const e=t.transitions.create("transform",{duration:t.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${ju["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${ju["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${ju.slideEnterActive}`]:{transform:"translate(0%)",transition:e},[`& .${ju.slideExit}`]:{transform:"translate(0%)"},[`& .${ju["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:e,zIndex:0},[`& .${ju["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:e,zIndex:0}}});function kan(t){const e=kn({props:t,name:"MuiPickersSlideTransition"}),{children:n,className:r,reduceAnimations:i,transKey:o}=e,s=Rt(e,Oan),a=Ean(e),l=$a();if(i)return C.jsx("div",{className:Oe(a.root,r),children:n});const u={exit:a.exit,enterActive:a.enterActive,enter:a.enter,exitActive:a.exitActive};return C.jsx(Tan,{className:Oe(a.root,r),childFactory:c=>D.cloneElement(c,{classNames:u}),role:"presentation",children:C.jsx(dee,ve({mountOnEnter:!0,unmountOnExit:!0,timeout:l.transitions.duration.complex,classNames:u},s,{children:n}),o)})}const Aan=t=>Ye("MuiDayCalendar",t);qe("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]);const Pan=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],Man=["ownerState"],Ran=t=>{const{classes:e}=t;return Xe({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},Aan,e)},jWe=(rP+_U*2)*6,Dan=be("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(t,e)=>e.root})({}),Ian=be("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(t,e)=>e.header})({display:"flex",justifyContent:"center",alignItems:"center"}),Lan=be(Jt,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(t,e)=>e.weekDayLabel})(({theme:t})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(t.vars||t).palette.text.secondary})),$an=be(Jt,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(t,e)=>e.weekNumberLabel})(({theme:t})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:t.palette.text.disabled})),Fan=be(Jt,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(t,e)=>e.weekNumber})(({theme:t})=>ve({},t.typography.caption,{width:rP,height:rP,padding:0,margin:`0 ${_U}px`,color:t.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})),Nan=be("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(t,e)=>e.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:jWe}),zan=be(kan,{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(t,e)=>e.slideTransition})({minHeight:jWe}),jan=be("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(t,e)=>e.monthContainer})({overflow:"hidden"}),Ban=be("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(t,e)=>e.weekContainer})({margin:`${_U}px 0`,display:"flex",justifyContent:"center"});function Uan(t){let{parentProps:e,day:n,focusableDay:r,selectedDays:i,isDateDisabled:o,currentMonthNumber:s,isViewFocused:a}=t,l=Rt(t,Pan);const{disabled:u,disableHighlightToday:c,isMonthSwitchingAnimating:f,showDaysOutsideCurrentMonth:d,slots:h,slotProps:p,timezone:g}=e,m=pr(),v=Sb(g),y=r!==null&&m.isSameDay(n,r),x=i.some(A=>m.isSameDay(A,n)),b=m.isSameDay(n,v),w=(h==null?void 0:h.day)??San,_=Zt({elementType:w,externalSlotProps:p==null?void 0:p.day,additionalProps:ve({disableHighlightToday:c,showDaysOutsideCurrentMonth:d,role:"gridcell",isAnimating:f,"data-timestamp":m.toJsDate(n).valueOf()},l),ownerState:ve({},e,{day:n,selected:x})}),S=Rt(_,Man),O=D.useMemo(()=>u||o(n),[u,o,n]),k=D.useMemo(()=>m.getMonth(n)!==s,[m,n,s]),E=D.useMemo(()=>{const A=m.startOfMonth(m.setMonth(n,s));return d?m.isSameDay(n,m.startOfWeek(A)):m.isSameDay(n,A)},[s,n,d,m]),M=D.useMemo(()=>{const A=m.endOfMonth(m.setMonth(n,s));return d?m.isSameDay(n,m.endOfWeek(A)):m.isSameDay(n,A)},[s,n,d,m]);return C.jsx(w,ve({},S,{day:n,disabled:O,autoFocus:a&&y,today:b,outsideCurrentMonth:k,isFirstVisibleCell:E,isLastVisibleCell:M,selected:x,tabIndex:y?0:-1,"aria-selected":x,"aria-current":b?"date":void 0}))}function Wan(t){const e=kn({props:t,name:"MuiDayCalendar"}),n=pr(),{onFocusedDayChange:r,className:i,currentMonth:o,selectedDays:s,focusedDay:a,loading:l,onSelectedDaysChange:u,onMonthSwitchingAnimationEnd:c,readOnly:f,reduceAnimations:d,renderLoading:h=()=>C.jsx("span",{children:"..."}),slideDirection:p,TransitionProps:g,disablePast:m,disableFuture:v,minDate:y,maxDate:x,shouldDisableDate:b,shouldDisableMonth:w,shouldDisableYear:_,dayOfWeekFormatter:S=ne=>n.format(ne,"weekdayShort").charAt(0).toUpperCase(),hasFocus:O,onFocusedViewChange:k,gridLabelId:E,displayWeekNumber:M,fixedWeekNumber:A,autoFocus:P,timezone:T}=e,R=Sb(T),I=Ran(e),B=Ho(),$=$We({shouldDisableDate:b,shouldDisableMonth:w,shouldDisableYear:_,minDate:y,maxDate:x,disablePast:m,disableFuture:v,timezone:T}),z=Pl(),[L,j]=bu({name:"DayCalendar",state:"hasFocus",controlled:O,default:P??!1}),[N,F]=D.useState(()=>a||R),H=st(ne=>{f||u(ne)}),q=ne=>{$(ne)||(r(ne),F(ne),k==null||k(!0),j(!0))},Y=st((ne,V)=>{switch(ne.key){case"ArrowUp":q(n.addDays(V,-7)),ne.preventDefault();break;case"ArrowDown":q(n.addDays(V,7)),ne.preventDefault();break;case"ArrowLeft":{const X=n.addDays(V,B?1:-1),Z=n.addMonths(V,B?1:-1),he=_k({utils:n,date:X,minDate:B?X:n.startOfMonth(Z),maxDate:B?n.endOfMonth(Z):X,isDateDisabled:$,timezone:T});q(he||X),ne.preventDefault();break}case"ArrowRight":{const X=n.addDays(V,B?-1:1),Z=n.addMonths(V,B?-1:1),he=_k({utils:n,date:X,minDate:B?n.startOfMonth(Z):X,maxDate:B?X:n.endOfMonth(Z),isDateDisabled:$,timezone:T});q(he||X),ne.preventDefault();break}case"Home":q(n.startOfWeek(V)),ne.preventDefault();break;case"End":q(n.endOfWeek(V)),ne.preventDefault();break;case"PageUp":q(n.addMonths(V,1)),ne.preventDefault();break;case"PageDown":q(n.addMonths(V,-1)),ne.preventDefault();break}}),le=st((ne,V)=>q(V)),K=st((ne,V)=>{L&&n.isSameDay(N,V)&&(k==null||k(!1))}),ee=n.getMonth(o),re=n.getYear(o),ge=D.useMemo(()=>s.filter(ne=>!!ne).map(ne=>n.startOfDay(ne)),[n,s]),te=`${re}-${ee}`,ae=D.useMemo(()=>D.createRef(),[te]),U=D.useMemo(()=>{const ne=n.startOfMonth(o),V=n.endOfMonth(o);return $(N)||n.isAfterDay(N,V)||n.isBeforeDay(N,ne)?_k({utils:n,date:N,minDate:ne,maxDate:V,disablePast:m,disableFuture:v,isDateDisabled:$,timezone:T}):N},[o,v,m,N,$,n,T]),oe=D.useMemo(()=>{const ne=n.setTimezone(o,T),V=n.getWeekArray(ne);let X=n.addMonths(ne,1);for(;A&&V.length{V.lengthC.jsx(Lan,{variant:"caption",role:"columnheader","aria-label":n.format(ne,"weekday"),className:I.weekDayLabel,children:S(ne)},V.toString()))]}),l?C.jsx(Nan,{className:I.loadingContainer,children:h()}):C.jsx(zan,ve({transKey:te,onExited:c,reduceAnimations:d,slideDirection:p,className:Oe(i,I.slideTransition)},g,{nodeRef:ae,children:C.jsx(jan,{ref:ae,role:"rowgroup",className:I.monthContainer,children:oe.map((ne,V)=>C.jsxs(Ban,{role:"row",className:I.weekContainer,"aria-rowindex":V+1,children:[M&&C.jsx(Fan,{className:I.weekNumber,role:"rowheader","aria-label":z.calendarWeekNumberAriaLabelText(n.getWeekNumber(ne[0])),children:z.calendarWeekNumberText(n.getWeekNumber(ne[0]))}),ne.map((X,Z)=>C.jsx(Uan,{parentProps:e,day:X,selectedDays:ge,focusableDay:U,onKeyDown:Y,onFocus:le,onBlur:K,onDaySelect:H,isDateDisabled:$,currentMonthNumber:ee,isViewFocused:L,"aria-colindex":Z+1},X.toString()))]},`week-${ne[0]}`))})}))]})}function Van(t){return Ye("MuiPickersMonth",t)}const mL=qe("MuiPickersMonth",["root","monthButton","disabled","selected"]),Gan=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],Han=t=>{const{disabled:e,selected:n,classes:r}=t;return Xe({root:["root"],monthButton:["monthButton",e&&"disabled",n&&"selected"]},Van,r)},qan=be("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(t,e)=>[e.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),Xan=be("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(t,e)=>[e.monthButton,{[`&.${mL.disabled}`]:e.disabled},{[`&.${mL.selected}`]:e.selected}]})(({theme:t})=>ve({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity)},"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${mL.disabled}`]:{color:(t.vars||t).palette.text.secondary},[`&.${mL.selected}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,"&:focus, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}}})),Yan=D.memo(function(e){const n=kn({props:e,name:"MuiPickersMonth"}),{autoFocus:r,className:i,children:o,disabled:s,selected:a,value:l,tabIndex:u,onClick:c,onKeyDown:f,onFocus:d,onBlur:h,"aria-current":p,"aria-label":g,slots:m,slotProps:v}=n,y=Rt(n,Gan),x=D.useRef(null),b=Han(n);Ei(()=>{var S;r&&((S=x.current)==null||S.focus())},[r]);const w=(m==null?void 0:m.monthButton)??Xan,_=Zt({elementType:w,externalSlotProps:v==null?void 0:v.monthButton,additionalProps:{children:o,disabled:s,tabIndex:u,ref:x,type:"button",role:"radio","aria-current":p,"aria-checked":a,"aria-label":g,onClick:S=>c(S,l),onKeyDown:S=>f(S,l),onFocus:S=>d(S,l),onBlur:S=>h(S,l)},ownerState:n,className:b.monthButton});return C.jsx(qan,ve({className:Oe(b.root,i),ownerState:n},y,{children:C.jsx(w,ve({},_))}))});function Qan(t){return Ye("MuiMonthCalendar",t)}qe("MuiMonthCalendar",["root"]);const Kan=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"],Zan=t=>{const{classes:e}=t;return Xe({root:["root"]},Qan,e)};function Jan(t,e){const n=pr(),r=eD(),i=kn({props:t,name:e});return ve({disableFuture:!1,disablePast:!1},i,{minDate:Dc(n,i.minDate,r.minDate),maxDate:Dc(n,i.maxDate,r.maxDate)})}const eln=be("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:SU,boxSizing:"border-box"}),tln=D.forwardRef(function(e,n){const r=Jan(e,"MuiMonthCalendar"),{className:i,value:o,defaultValue:s,referenceDate:a,disabled:l,disableFuture:u,disablePast:c,maxDate:f,minDate:d,onChange:h,shouldDisableMonth:p,readOnly:g,autoFocus:m=!1,onMonthFocus:v,hasFocus:y,onFocusedViewChange:x,monthsPerRow:b=3,timezone:w,gridLabelId:_,slots:S,slotProps:O}=r,k=Rt(r,Kan),{value:E,handleValueChange:M,timezone:A}=HO({name:"MonthCalendar",timezone:w,value:o,defaultValue:s,onChange:h,valueManager:na}),P=Sb(A),T=Ho(),R=pr(),I=D.useMemo(()=>na.getInitialReferenceValue({value:E,utils:R,props:r,timezone:A,referenceDate:a,granularity:bf.month}),[]),B=r,$=Zan(B),z=D.useMemo(()=>R.getMonth(P),[R,P]),L=D.useMemo(()=>E!=null?R.getMonth(E):null,[E,R]),[j,N]=D.useState(()=>L||R.getMonth(I)),[F,H]=bu({name:"MonthCalendar",state:"hasFocus",controlled:y,default:m??!1}),q=st(te=>{H(te),x&&x(te)}),Y=D.useCallback(te=>{const ae=R.startOfMonth(c&&R.isAfter(P,d)?P:d),U=R.startOfMonth(u&&R.isBefore(P,f)?P:f),oe=R.startOfMonth(te);return R.isBefore(oe,ae)||R.isAfter(oe,U)?!0:p?p(oe):!1},[u,c,f,d,P,p,R]),le=st((te,ae)=>{if(g)return;const U=R.setMonth(E??I,ae);M(U)}),K=st(te=>{Y(R.setMonth(E??I,te))||(N(te),q(!0),v&&v(te))});D.useEffect(()=>{N(te=>L!==null&&te!==L?L:te)},[L]);const ee=st((te,ae)=>{switch(te.key){case"ArrowUp":K((12+ae-3)%12),te.preventDefault();break;case"ArrowDown":K((12+ae+3)%12),te.preventDefault();break;case"ArrowLeft":K((12+ae+(T?1:-1))%12),te.preventDefault();break;case"ArrowRight":K((12+ae+(T?-1:1))%12),te.preventDefault();break}}),re=st((te,ae)=>{K(ae)}),ge=st((te,ae)=>{j===ae&&q(!1)});return C.jsx(eln,ve({ref:n,className:Oe($.root,i),ownerState:B,role:"radiogroup","aria-labelledby":_},k,{children:ele(R,E??I).map(te=>{const ae=R.getMonth(te),U=R.format(te,"monthShort"),oe=R.format(te,"month"),ne=ae===L,V=l||Y(te);return C.jsx(Yan,{selected:ne,value:ae,onClick:le,onKeyDown:ee,autoFocus:F&&ae===j,disabled:V,tabIndex:ae===j&&!V?0:-1,onFocus:re,onBlur:ge,"aria-current":z===ae?"date":void 0,"aria-label":oe,monthsPerRow:b,slots:S,slotProps:O,children:U},U)})}))});function nln(t){return Ye("MuiPickersYear",t)}const vL=qe("MuiPickersYear",["root","yearButton","selected","disabled"]),rln=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],iln=t=>{const{disabled:e,selected:n,classes:r}=t;return Xe({root:["root"],yearButton:["yearButton",e&&"disabled",n&&"selected"]},nln,r)},oln=be("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(t,e)=>[e.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),sln=be("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(t,e)=>[e.yearButton,{[`&.${vL.disabled}`]:e.disabled},{[`&.${vL.selected}`]:e.selected}]})(({theme:t})=>ve({color:"unset",backgroundColor:"transparent",border:0,outline:0},t.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette.action.active,t.palette.action.focusOpacity)},"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.action.active,t.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${vL.disabled}`]:{color:(t.vars||t).palette.text.secondary},[`&.${vL.selected}`]:{color:(t.vars||t).palette.primary.contrastText,backgroundColor:(t.vars||t).palette.primary.main,"&:focus, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}}})),aln=D.memo(function(e){const n=kn({props:e,name:"MuiPickersYear"}),{autoFocus:r,className:i,children:o,disabled:s,selected:a,value:l,tabIndex:u,onClick:c,onKeyDown:f,onFocus:d,onBlur:h,"aria-current":p,slots:g,slotProps:m}=n,v=Rt(n,rln),y=D.useRef(null),x=iln(n);Ei(()=>{var _;r&&((_=y.current)==null||_.focus())},[r]);const b=(g==null?void 0:g.yearButton)??sln,w=Zt({elementType:b,externalSlotProps:m==null?void 0:m.yearButton,additionalProps:{children:o,disabled:s,tabIndex:u,ref:y,type:"button",role:"radio","aria-current":p,"aria-checked":a,onClick:_=>c(_,l),onKeyDown:_=>f(_,l),onFocus:_=>d(_,l),onBlur:_=>h(_,l)},ownerState:n,className:x.yearButton});return C.jsx(oln,ve({className:Oe(x.root,i),ownerState:n},v,{children:C.jsx(b,ve({},w))}))});function lln(t){return Ye("MuiYearCalendar",t)}qe("MuiYearCalendar",["root"]);const uln=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsOrder","yearsPerRow","timezone","gridLabelId","slots","slotProps"],cln=t=>{const{classes:e}=t;return Xe({root:["root"]},lln,e)};function fln(t,e){const n=pr(),r=eD(),i=kn({props:t,name:e});return ve({disablePast:!1,disableFuture:!1},i,{yearsPerRow:i.yearsPerRow??3,minDate:Dc(n,i.minDate,r.minDate),maxDate:Dc(n,i.maxDate,r.maxDate)})}const dln=be("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:SU,maxHeight:ran,boxSizing:"border-box",position:"relative"}),hln=D.forwardRef(function(e,n){const r=fln(e,"MuiYearCalendar"),{autoFocus:i,className:o,value:s,defaultValue:a,referenceDate:l,disabled:u,disableFuture:c,disablePast:f,maxDate:d,minDate:h,onChange:p,readOnly:g,shouldDisableYear:m,onYearFocus:v,hasFocus:y,onFocusedViewChange:x,yearsOrder:b="asc",yearsPerRow:w,timezone:_,gridLabelId:S,slots:O,slotProps:k}=r,E=Rt(r,uln),{value:M,handleValueChange:A,timezone:P}=HO({name:"YearCalendar",timezone:_,value:s,defaultValue:a,onChange:p,valueManager:na}),T=Sb(P),R=Ho(),I=pr(),B=D.useMemo(()=>na.getInitialReferenceValue({value:M,utils:I,props:r,timezone:P,referenceDate:l,granularity:bf.year}),[]),$=r,z=cln($),L=D.useMemo(()=>I.getYear(T),[I,T]),j=D.useMemo(()=>M!=null?I.getYear(M):null,[M,I]),[N,F]=D.useState(()=>j||I.getYear(B)),[H,q]=bu({name:"YearCalendar",state:"hasFocus",controlled:y,default:i??!1}),Y=st(X=>{q(X),x&&x(X)}),le=D.useCallback(X=>{if(f&&I.isBeforeYear(X,T)||c&&I.isAfterYear(X,T)||h&&I.isBeforeYear(X,h)||d&&I.isAfterYear(X,d))return!0;if(!m)return!1;const Z=I.startOfYear(X);return m(Z)},[c,f,d,h,T,m,I]),K=st((X,Z)=>{if(g)return;const he=I.setYear(M??B,Z);A(he)}),ee=st(X=>{le(I.setYear(M??B,X))||(F(X),Y(!0),v==null||v(X))});D.useEffect(()=>{F(X=>j!==null&&X!==j?j:X)},[j]);const re=b!=="desc"?w*1:w*-1,ge=R&&b==="asc"||!R&&b==="desc"?-1:1,te=st((X,Z)=>{switch(X.key){case"ArrowUp":ee(Z-re),X.preventDefault();break;case"ArrowDown":ee(Z+re),X.preventDefault();break;case"ArrowLeft":ee(Z-ge),X.preventDefault();break;case"ArrowRight":ee(Z+ge),X.preventDefault();break}}),ae=st((X,Z)=>{ee(Z)}),U=st((X,Z)=>{N===Z&&Y(!1)}),oe=D.useRef(null),ne=dn(n,oe);D.useEffect(()=>{if(i||oe.current===null)return;const X=oe.current.querySelector('[tabindex="0"]');if(!X)return;const Z=X.offsetHeight,he=X.offsetTop,xe=oe.current.clientHeight,G=oe.current.scrollTop,W=he+Z;Z>xe||he{const Z=I.getYear(X),he=Z===j,xe=u||le(X);return C.jsx(aln,{selected:he,value:Z,onClick:K,onKeyDown:te,autoFocus:H&&Z===N,disabled:xe,tabIndex:Z===N&&!xe?0:-1,onFocus:ae,onBlur:U,"aria-current":L===Z?"date":void 0,yearsPerRow:w,slots:O,slotProps:k,children:I.format(X,"year")},I.format(X,"year"))})}))});function tD({onChange:t,onViewChange:e,openTo:n,view:r,views:i,autoFocus:o,focusedView:s,onFocusedViewChange:a}){const l=D.useRef(n),u=D.useRef(i),c=D.useRef(i.includes(n)?n:i[0]),[f,d]=bu({name:"useViews",state:"view",controlled:r,default:c.current}),h=D.useRef(o?f:null),[p,g]=bu({name:"useViews",state:"focusedView",controlled:s,default:h.current});D.useEffect(()=>{(l.current&&l.current!==n||u.current&&u.current.some(S=>!i.includes(S)))&&(d(i.includes(n)?n:i[0]),u.current=i,l.current=n)},[n,d,f,i]);const m=i.indexOf(f),v=i[m-1]??null,y=i[m+1]??null,x=st((S,O)=>{g(O?S:k=>S===k?null:k),a==null||a(S,O)}),b=st(S=>{x(S,!0),S!==f&&(d(S),e&&e(S))}),w=st(()=>{y&&b(y)}),_=st((S,O,k)=>{const E=O==="finish",M=k?i.indexOf(k)Ye("MuiPickersCalendarHeader",t),gln=qe("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]);function mln(t){return Ye("MuiPickersArrowSwitcher",t)}qe("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);const vln=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],yln=["ownerState"],xln=["ownerState"],bln=be("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex"}),wln=be("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})(({theme:t})=>({width:t.spacing(3)})),Jxe=be(Xt,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(t,e)=>e.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),_ln=t=>{const{classes:e}=t;return Xe({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},mln,e)},BWe=D.forwardRef(function(e,n){const r=Ho(),i=kn({props:e,name:"MuiPickersArrowSwitcher"}),{children:o,className:s,slots:a,slotProps:l,isNextDisabled:u,isNextHidden:c,onGoToNext:f,nextLabel:d,isPreviousDisabled:h,isPreviousHidden:p,onGoToPrevious:g,previousLabel:m,labelId:v}=i,y=Rt(i,vln),x=i,b=_ln(x),w={isDisabled:u,isHidden:c,goTo:f,label:d},_={isDisabled:h,isHidden:p,goTo:g,label:m},S=(a==null?void 0:a.previousIconButton)??Jxe,O=Zt({elementType:S,externalSlotProps:l==null?void 0:l.previousIconButton,additionalProps:{size:"medium",title:_.label,"aria-label":_.label,disabled:_.isDisabled,edge:"end",onClick:_.goTo},ownerState:ve({},x,{hidden:_.isHidden}),className:Oe(b.button,b.previousIconButton)}),k=(a==null?void 0:a.nextIconButton)??Jxe,E=Zt({elementType:k,externalSlotProps:l==null?void 0:l.nextIconButton,additionalProps:{size:"medium",title:w.label,"aria-label":w.label,disabled:w.isDisabled,edge:"start",onClick:w.goTo},ownerState:ve({},x,{hidden:w.isHidden}),className:Oe(b.button,b.nextIconButton)}),M=(a==null?void 0:a.leftArrowIcon)??Don,A=Zt({elementType:M,externalSlotProps:l==null?void 0:l.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:x,className:b.leftArrowIcon}),P=Rt(A,yln),T=(a==null?void 0:a.rightArrowIcon)??Ion,R=Zt({elementType:T,externalSlotProps:l==null?void 0:l.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:x,className:b.rightArrowIcon}),I=Rt(R,xln);return C.jsxs(bln,ve({ref:n,className:Oe(b.root,s),ownerState:x},y,{children:[C.jsx(S,ve({},O,{children:r?C.jsx(T,ve({},I)):C.jsx(M,ve({},P))})),o?C.jsx(Jt,{variant:"subtitle1",component:"span",id:v,children:o}):C.jsx(wln,{className:b.spacer,ownerState:x}),C.jsx(k,ve({},E,{children:r?C.jsx(M,ve({},P)):C.jsx(T,ve({},I))}))]}))}),Sln=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],Cln=["ownerState"],Oln=t=>{const{classes:e}=t;return Xe({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},pln,e)},Eln=be("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),Tln=be("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(t,e)=>e.labelContainer})(({theme:t})=>ve({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},t.typography.body1,{fontWeight:t.typography.fontWeightMedium})),kln=be("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(t,e)=>e.label})({marginRight:6}),Aln=be(Xt,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(t,e)=>e.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${gln.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),Pln=be(Ron,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(t,e)=>e.switchViewIcon})(({theme:t})=>({willChange:"transform",transition:t.transitions.create("transform"),transform:"rotate(0deg)"})),Mln=D.forwardRef(function(e,n){const r=Pl(),i=pr(),o=kn({props:e,name:"MuiPickersCalendarHeader"}),{slots:s,slotProps:a,currentMonth:l,disabled:u,disableFuture:c,disablePast:f,maxDate:d,minDate:h,onMonthChange:p,onViewChange:g,view:m,reduceAnimations:v,views:y,labelId:x,className:b,timezone:w,format:_=`${i.formats.month} ${i.formats.year}`}=o,S=Rt(o,Sln),O=o,k=Oln(o),E=(s==null?void 0:s.switchViewButton)??Aln,M=Zt({elementType:E,externalSlotProps:a==null?void 0:a.switchViewButton,additionalProps:{size:"small","aria-label":r.calendarViewSwitchingButtonAriaLabel(m)},ownerState:O,className:k.switchViewButton}),A=(s==null?void 0:s.switchViewIcon)??Pln,P=Zt({elementType:A,externalSlotProps:a==null?void 0:a.switchViewIcon,ownerState:O,className:k.switchViewIcon}),T=Rt(P,Cln),R=()=>p(i.addMonths(l,1),"left"),I=()=>p(i.addMonths(l,-1),"right"),B=tan(l,{disableFuture:c,maxDate:d,timezone:w}),$=nan(l,{disablePast:f,minDate:h,timezone:w}),z=()=>{if(!(y.length===1||!g||u))if(y.length===2)g(y.find(j=>j!==m)||y[0]);else{const j=y.indexOf(m)!==0?0:1;g(y[j])}};if(y.length===1&&y[0]==="year")return null;const L=i.formatByString(l,_);return C.jsxs(Eln,ve({},S,{ownerState:O,className:Oe(k.root,b),ref:n,children:[C.jsxs(Tln,{role:"presentation",onClick:z,ownerState:O,"aria-live":"polite",className:k.labelContainer,children:[C.jsx(FWe,{reduceAnimations:v,transKey:L,children:C.jsx(kln,{id:x,ownerState:O,className:k.label,children:L})}),y.length>1&&!u&&C.jsx(E,ve({},M,{children:C.jsx(A,ve({},T))}))]}),C.jsx(qC,{in:m==="day",children:C.jsx(BWe,{slots:s,slotProps:a,onGoToPrevious:I,isPreviousDisabled:$,previousLabel:r.previousMonth,onGoToNext:R,isNextDisabled:B,nextLabel:r.nextMonth})})]}))}),OU=be("div")({overflow:"hidden",width:SU,maxHeight:CU,display:"flex",flexDirection:"column",margin:"0 auto"}),Rln="@media (prefers-reduced-motion: reduce)",G_=typeof navigator<"u"&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),e1e=G_&&G_[1]?parseInt(G_[1],10):null,t1e=G_&&G_[2]?parseInt(G_[2],10):null,Dln=e1e&&e1e<10||t1e&&t1e<13||!1,UWe=()=>qke(Rln,{defaultMatches:!1})||Dln,Iln=t=>Ye("MuiDateCalendar",t);qe("MuiDateCalendar",["root","viewTransitionContainer"]);const Lln=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsOrder","yearsPerRow","monthsPerRow","timezone"],$ln=t=>{const{classes:e}=t;return Xe({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},Iln,e)};function Fln(t,e){const n=pr(),r=eD(),i=UWe(),o=kn({props:t,name:e});return ve({},o,{loading:o.loading??!1,disablePast:o.disablePast??!1,disableFuture:o.disableFuture??!1,openTo:o.openTo??"day",views:o.views??["year","day"],reduceAnimations:o.reduceAnimations??i,renderLoading:o.renderLoading??(()=>C.jsx("span",{children:"..."})),minDate:Dc(n,o.minDate,r.minDate),maxDate:Dc(n,o.maxDate,r.maxDate)})}const Nln=be(OU,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",height:CU}),zln=be(FWe,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(t,e)=>e.viewTransitionContainer})({}),jln=D.forwardRef(function(e,n){const r=pr(),i=Jf(),o=Fln(e,"MuiDateCalendar"),{autoFocus:s,onViewChange:a,value:l,defaultValue:u,referenceDate:c,disableFuture:f,disablePast:d,onChange:h,onYearChange:p,onMonthChange:g,reduceAnimations:m,shouldDisableDate:v,shouldDisableMonth:y,shouldDisableYear:x,view:b,views:w,openTo:_,className:S,disabled:O,readOnly:k,minDate:E,maxDate:M,disableHighlightToday:A,focusedView:P,onFocusedViewChange:T,showDaysOutsideCurrentMonth:R,fixedWeekNumber:I,dayOfWeekFormatter:B,slots:$,slotProps:z,loading:L,renderLoading:j,displayWeekNumber:N,yearsOrder:F,yearsPerRow:H,monthsPerRow:q,timezone:Y}=o,le=Rt(o,Lln),{value:K,handleValueChange:ee,timezone:re}=HO({name:"DateCalendar",timezone:Y,value:l,defaultValue:u,onChange:h,valueManager:na}),{view:ge,setView:te,focusedView:ae,setFocusedView:U,goToNextView:oe,setValueAndGoToNextView:ne}=tD({view:b,views:w,openTo:_,onChange:ee,onViewChange:a,autoFocus:s,focusedView:P,onFocusedViewChange:T}),{referenceDate:V,calendarState:X,changeFocusedDay:Z,changeMonth:he,handleChangeMonth:xe,isDateDisabled:G,onMonthSwitchingAnimationEnd:W}=han({value:K,referenceDate:c,reduceAnimations:m,onMonthChange:g,minDate:E,maxDate:M,shouldDisableDate:v,disablePast:d,disableFuture:f,timezone:re}),J=O&&K||E,se=O&&K||M,ye=`${i}-grid-label`,ie=ae!==null,fe=($==null?void 0:$.calendarHeader)??Mln,Q=Zt({elementType:fe,externalSlotProps:z==null?void 0:z.calendarHeader,additionalProps:{views:w,view:ge,currentMonth:X.currentMonth,onViewChange:te,onMonthChange:(Se,He)=>xe({newMonth:Se,direction:He}),minDate:J,maxDate:se,disabled:O,disablePast:d,disableFuture:f,reduceAnimations:m,timezone:re,labelId:ye},ownerState:o}),_e=st(Se=>{const He=r.startOfMonth(Se),tt=r.endOfMonth(Se),ct=G(Se)?_k({utils:r,date:Se,minDate:r.isBefore(E,He)?He:E,maxDate:r.isAfter(M,tt)?tt:M,disablePast:d,disableFuture:f,isDateDisabled:G,timezone:re}):Se;ct?(ne(ct,"finish"),g==null||g(He)):(oe(),he(He)),Z(ct,!0)}),we=st(Se=>{const He=r.startOfYear(Se),tt=r.endOfYear(Se),ct=G(Se)?_k({utils:r,date:Se,minDate:r.isBefore(E,He)?He:E,maxDate:r.isAfter(M,tt)?tt:M,disablePast:d,disableFuture:f,isDateDisabled:G,timezone:re}):Se;ct?(ne(ct,"finish"),p==null||p(ct)):(oe(),he(He)),Z(ct,!0)}),Ie=st(Se=>ee(Se&&Q5(r,Se,K??V),"finish",ge));D.useEffect(()=>{K!=null&&r.isValid(K)&&he(K)},[K]);const Pe=o,Me=$ln(Pe),Te={disablePast:d,disableFuture:f,maxDate:M,minDate:E},Le={disableHighlightToday:A,readOnly:k,disabled:O,timezone:re,gridLabelId:ye,slots:$,slotProps:z},ce=D.useRef(ge);D.useEffect(()=>{ce.current!==ge&&(ae===ce.current&&U(ge,!0),ce.current=ge)},[ae,U,ge]);const $e=D.useMemo(()=>[K],[K]);return C.jsxs(Nln,ve({ref:n,className:Oe(Me.root,S),ownerState:Pe},le,{children:[C.jsx(fe,ve({},Q,{slots:$,slotProps:z})),C.jsx(zln,{reduceAnimations:m,className:Me.viewTransitionContainer,transKey:ge,ownerState:Pe,children:C.jsxs("div",{children:[ge==="year"&&C.jsx(hln,ve({},Te,Le,{value:K,onChange:we,shouldDisableYear:x,hasFocus:ie,onFocusedViewChange:Se=>U("year",Se),yearsOrder:F,yearsPerRow:H,referenceDate:V})),ge==="month"&&C.jsx(tln,ve({},Te,Le,{hasFocus:ie,className:S,value:K,onChange:_e,shouldDisableMonth:y,onFocusedViewChange:Se=>U("month",Se),monthsPerRow:q,referenceDate:V})),ge==="day"&&C.jsx(Wan,ve({},X,Te,Le,{onMonthSwitchingAnimationEnd:W,onFocusedDayChange:Z,reduceAnimations:m,selectedDays:$e,onSelectedDaysChange:Ie,shouldDisableDate:v,shouldDisableMonth:y,shouldDisableYear:x,hasFocus:ie,onFocusedViewChange:Se=>U("day",Se),showDaysOutsideCurrentMonth:R,fixedWeekNumber:I,dayOfWeekFormatter:B,displayWeekNumber:N,loading:L,renderLoading:j}))]})})]}))}),H_=({view:t,onViewChange:e,views:n,focusedView:r,onFocusedViewChange:i,value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minDate:h,maxDate:p,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:v,reduceAnimations:y,onMonthChange:x,monthsPerRow:b,onYearChange:w,yearsOrder:_,yearsPerRow:S,slots:O,slotProps:k,loading:E,renderLoading:M,disableHighlightToday:A,readOnly:P,disabled:T,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:B,autoFocus:$,fixedWeekNumber:z,displayWeekNumber:L,timezone:j})=>C.jsx(jln,{view:t,onViewChange:e,views:n.filter(fC),focusedView:r&&fC(r)?r:null,onFocusedViewChange:i,value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minDate:h,maxDate:p,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:v,reduceAnimations:y,onMonthChange:x,monthsPerRow:b,onYearChange:w,yearsOrder:_,yearsPerRow:S,slots:O,slotProps:k,loading:E,renderLoading:M,disableHighlightToday:A,readOnly:P,disabled:T,showDaysOutsideCurrentMonth:R,dayOfWeekFormatter:I,sx:B,autoFocus:$,fixedWeekNumber:z,displayWeekNumber:L,timezone:j});function Bln(t){return Ye("MuiPickersPopper",t)}qe("MuiPickersPopper",["root","paper"]);const Uln=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],Wln=t=>{const{classes:e}=t;return Xe({root:["root"],paper:["paper"]},Bln,e)},Vln=be(_ee,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({zIndex:t.zIndex.modal})),Gln=be(Tl,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(t,e)=>e.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:t})=>["top","top-start","top-end"].includes(t),style:{transformOrigin:"bottom center"}}]});function Hln(t,e){return e.documentElement.clientWidth{if(!t)return;function l(){o.current=!0}return document.addEventListener("mousedown",l,!0),document.addEventListener("touchstart",l,!0),()=>{document.removeEventListener("mousedown",l,!0),document.removeEventListener("touchstart",l,!0),o.current=!1}},[t]);const s=st(l=>{if(!o.current)return;const u=r.current;r.current=!1;const c=mi(i.current);if(!i.current||"clientX"in l&&Hln(l,c))return;if(n.current){n.current=!1;return}let f;l.composedPath?f=l.composedPath().indexOf(i.current)>-1:f=!c.documentElement.contains(l.target)||i.current.contains(l.target),!f&&!u&&e(l)}),a=()=>{r.current=!0};return D.useEffect(()=>{if(t){const l=mi(i.current),u=()=>{n.current=!0};return l.addEventListener("touchstart",s),l.addEventListener("touchmove",u),()=>{l.removeEventListener("touchstart",s),l.removeEventListener("touchmove",u)}}},[t,s]),D.useEffect(()=>{if(t){const l=mi(i.current);return l.addEventListener("click",s),()=>{l.removeEventListener("click",s),r.current=!1}}},[t,s]),[i,a,a]}const Xln=D.forwardRef((t,e)=>{const{PaperComponent:n,popperPlacement:r,ownerState:i,children:o,paperSlotProps:s,paperClasses:a,onPaperClick:l,onPaperTouchStart:u}=t,c=Rt(t,Uln),f=ve({},i,{placement:r}),d=Zt({elementType:n,externalSlotProps:s,additionalProps:{tabIndex:-1,elevation:8,ref:e},className:a,ownerState:f});return C.jsx(n,ve({},c,d,{onClick:h=>{var p;l(h),(p=d.onClick)==null||p.call(d,h)},onTouchStart:h=>{var p;u(h),(p=d.onTouchStart)==null||p.call(d,h)},ownerState:f,children:o}))});function Yln(t){const e=kn({props:t,name:"MuiPickersPopper"}),{anchorEl:n,children:r,containerRef:i=null,shouldRestoreFocus:o,onBlur:s,onDismiss:a,open:l,role:u,placement:c,slots:f,slotProps:d,reduceAnimations:h}=e;D.useEffect(()=>{function R(I){l&&I.key==="Escape"&&a()}return document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}},[a,l]);const p=D.useRef(null);D.useEffect(()=>{u==="tooltip"||o&&!o()||(l?p.current=Qa(document):p.current&&p.current instanceof HTMLElement&&setTimeout(()=>{p.current instanceof HTMLElement&&p.current.focus()}))},[l,u,o]);const[g,m,v]=qln(l,s??a),y=D.useRef(null),x=dn(y,i),b=dn(x,g),w=e,_=Wln(w),S=UWe(),O=h??S,k=R=>{R.key==="Escape"&&(R.stopPropagation(),a())},E=(f==null?void 0:f.desktopTransition)??O?qC:e1,M=(f==null?void 0:f.desktopTrapFocus)??IAe,A=(f==null?void 0:f.desktopPaper)??Gln,P=(f==null?void 0:f.popper)??Vln,T=Zt({elementType:P,externalSlotProps:d==null?void 0:d.popper,additionalProps:{transition:!0,role:u,open:l,anchorEl:n,placement:c,onKeyDown:k},className:_.root,ownerState:e});return C.jsx(P,ve({},T,{children:({TransitionProps:R,placement:I})=>C.jsx(M,ve({open:l,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:u==="tooltip",isEnabled:()=>!0},d==null?void 0:d.desktopTrapFocus,{children:C.jsx(E,ve({},R,d==null?void 0:d.desktopTransition,{children:C.jsx(Xln,{PaperComponent:A,ownerState:w,popperPlacement:I,ref:b,onPaperClick:m,onPaperTouchStart:v,paperClasses:_.paper,paperSlotProps:d==null?void 0:d.desktopPaper,children:r})}))}))}))}const Qln=({open:t,onOpen:e,onClose:n})=>{const r=D.useRef(typeof t=="boolean").current,[i,o]=D.useState(!1);D.useEffect(()=>{if(r){if(typeof t!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");o(t)}},[r,t]);const s=D.useCallback(a=>{r||o(a),a&&e&&e(),!a&&n&&n()},[r,e,n]);return{isOpen:i,setIsOpen:s}},Kln=t=>{const{action:e,hasChanged:n,dateState:r,isControlled:i}=t,o=!i&&!r.hasBeenModifiedSinceMount;return e.name==="setValueFromField"?!0:e.name==="setValueFromAction"?o&&["accept","today","clear"].includes(e.pickerAction)?!0:n(r.lastPublishedValue):e.name==="setValueFromView"&&e.selectionState!=="shallow"||e.name==="setValueFromShortcut"?o?!0:n(r.lastPublishedValue):!1},Zln=t=>{const{action:e,hasChanged:n,dateState:r,isControlled:i,closeOnSelect:o}=t,s=!i&&!r.hasBeenModifiedSinceMount;return e.name==="setValueFromAction"?s&&["accept","today","clear"].includes(e.pickerAction)?!0:n(r.lastCommittedValue):e.name==="setValueFromView"&&e.selectionState==="finish"&&o?s?!0:n(r.lastCommittedValue):e.name==="setValueFromShortcut"?e.changeImportance==="accept"&&n(r.lastCommittedValue):!1},Jln=t=>{const{action:e,closeOnSelect:n}=t;return e.name==="setValueFromAction"?!0:e.name==="setValueFromView"?e.selectionState==="finish"&&n:e.name==="setValueFromShortcut"?e.changeImportance==="accept":!1},eun=({props:t,valueManager:e,valueType:n,wrapperVariant:r,validator:i})=>{const{onAccept:o,onChange:s,value:a,defaultValue:l,closeOnSelect:u=r==="desktop",timezone:c}=t,{current:f}=D.useRef(l),{current:d}=D.useRef(a!==void 0),h=pr(),p=_b(),{isOpen:g,setIsOpen:m}=Qln(t),{timezone:v,value:y,handleValueChange:x}=ole({timezone:c,value:a,defaultValue:f,onChange:s,valueManager:e}),[b,w]=D.useState(()=>{let q;return y!==void 0?q=y:f!==void 0?q=f:q=e.emptyValue,{draft:q,lastPublishedValue:q,lastCommittedValue:q,lastControlledValue:y,hasBeenModifiedSinceMount:!1}}),{getValidationErrorForNewValue:_}=_We({props:t,validator:i,timezone:v,value:b.draft,onError:t.onError}),S=st(q=>{const Y={action:q,dateState:b,hasChanged:te=>!e.areValuesEqual(h,q.value,te),isControlled:d,closeOnSelect:u},le=Kln(Y),K=Zln(Y),ee=Jln(Y);w(te=>ve({},te,{draft:q.value,lastPublishedValue:le?q.value:te.lastPublishedValue,lastCommittedValue:K?q.value:te.lastCommittedValue,hasBeenModifiedSinceMount:!0}));let re=null;const ge=()=>(re||(re={validationError:q.name==="setValueFromField"?q.context.validationError:_(q.value)},q.name==="setValueFromShortcut"&&(re.shortcut=q.shortcut)),re);le&&x(q.value,ge()),K&&o&&o(q.value,ge()),ee&&m(!1)});if(y!==void 0&&(b.lastControlledValue===void 0||!e.areValuesEqual(h,b.lastControlledValue,y))){const q=e.areValuesEqual(h,b.draft,y);w(Y=>ve({},Y,{lastControlledValue:y},q?{}:{lastCommittedValue:y,lastPublishedValue:y,draft:y,hasBeenModifiedSinceMount:!0}))}const O=st(()=>{S({value:e.emptyValue,name:"setValueFromAction",pickerAction:"clear"})}),k=st(()=>{S({value:b.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})}),E=st(()=>{S({value:b.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})}),M=st(()=>{S({value:b.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})}),A=st(()=>{S({value:e.getTodayValue(h,v,n),name:"setValueFromAction",pickerAction:"today"})}),P=st(q=>{q.preventDefault(),m(!0)}),T=st(q=>{q==null||q.preventDefault(),m(!1)}),R=st((q,Y="partial")=>S({name:"setValueFromView",value:q,selectionState:Y})),I=st((q,Y,le)=>S({name:"setValueFromShortcut",value:q,changeImportance:Y,shortcut:le})),B=st((q,Y)=>S({name:"setValueFromField",value:q,context:Y})),$={onClear:O,onAccept:k,onDismiss:E,onCancel:M,onSetToday:A,onOpen:P,onClose:T},z={value:b.draft,onChange:B},L=D.useMemo(()=>e.cleanValue(h,b.draft),[h,e,b.draft]),j={value:L,onChange:R,onClose:T,open:g},F=ve({},$,{value:L,onChange:R,onSelectShortcut:I,isValid:q=>{const Y=i({adapter:p,value:q,timezone:v,props:t});return!e.hasError(Y)}}),H=D.useMemo(()=>({onOpen:P,onClose:T,open:g}),[g,T,P]);return{open:g,fieldProps:z,viewProps:j,layoutProps:F,actions:$,contextValue:H}},tun=["className","sx"],nun=({props:t,propsFromPickerValue:e,additionalViewProps:n,autoFocusView:r,rendererInterceptor:i,fieldRef:o})=>{const{onChange:s,open:a,onClose:l}=e,{view:u,views:c,openTo:f,onViewChange:d,viewRenderers:h,timezone:p}=t,g=Rt(t,tun),{view:m,setView:v,defaultView:y,focusedView:x,setFocusedView:b,setValueAndGoToNextView:w}=tD({view:u,views:c,openTo:f,onChange:s,onViewChange:d,autoFocus:r}),{hasUIView:_,viewModeLookup:S}=D.useMemo(()=>c.reduce((T,R)=>{let I;return h[R]!=null?I="UI":I="field",T.viewModeLookup[R]=I,I==="UI"&&(T.hasUIView=!0),T},{hasUIView:!1,viewModeLookup:{}}),[h,c]),O=D.useMemo(()=>c.reduce((T,R)=>h[R]!=null&&dC(R)?T+1:T,0),[h,c]),k=S[m],E=st(()=>k==="UI"),[M,A]=D.useState(k==="UI"?m:null);return M!==m&&S[m]==="UI"&&A(m),Ei(()=>{k==="field"&&a&&(l(),setTimeout(()=>{var T,R;(T=o==null?void 0:o.current)==null||T.setSelectedSections(m),(R=o==null?void 0:o.current)==null||R.focusField(m)}))},[m]),Ei(()=>{if(!a)return;let T=m;k==="field"&&M!=null&&(T=M),T!==y&&S[T]==="UI"&&S[y]==="UI"&&(T=y),T!==m&&v(T),b(T,!0)},[a]),{hasUIView:_,shouldRestoreFocus:E,layoutProps:{views:c,view:M,onViewChange:v},renderCurrentView:()=>{if(M==null)return null;const T=h[M];if(T==null)return null;const R=ve({},g,n,e,{views:c,timezone:p,onChange:w,view:M,onViewChange:v,focusedView:x,onFocusedViewChange:b,showViewSwitcher:O>1,timeViewsCount:O});return i?i(h,M,R):T(R)}}};function n1e(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const run=(t,e)=>{const[n,r]=D.useState(n1e);return Ei(()=>{const o=()=>{r(n1e())};return window.addEventListener("orientationchange",o),()=>{window.removeEventListener("orientationchange",o)}},[]),Oon(t,["hours","minutes","seconds"])?!1:(e||n)==="landscape"},iun=({props:t,propsFromPickerValue:e,propsFromPickerViews:n,wrapperVariant:r})=>{const{orientation:i}=t,o=run(n.views,i),s=Ho();return{layoutProps:ve({},n,e,{isLandscape:o,isRtl:s,wrapperVariant:r,disabled:t.disabled,readOnly:t.readOnly})}};function oun(t){const{props:e,pickerValueResponse:n}=t;return D.useMemo(()=>({value:n.viewProps.value,open:n.open,disabled:e.disabled??!1,readOnly:e.readOnly??!1}),[n.viewProps.value,n.open,e.disabled,e.readOnly])}const WWe=({props:t,valueManager:e,valueType:n,wrapperVariant:r,additionalViewProps:i,validator:o,autoFocusView:s,rendererInterceptor:a,fieldRef:l})=>{const u=eun({props:t,valueManager:e,valueType:n,wrapperVariant:r,validator:o}),c=nun({props:t,additionalViewProps:i,autoFocusView:s,fieldRef:l,propsFromPickerValue:u.viewProps,rendererInterceptor:a}),f=iun({props:t,wrapperVariant:r,propsFromPickerValue:u.layoutProps,propsFromPickerViews:c.layoutProps}),d=oun({props:t,pickerValueResponse:u});return{open:u.open,actions:u.actions,fieldProps:u.fieldProps,renderCurrentView:c.renderCurrentView,hasUIView:c.hasUIView,shouldRestoreFocus:c.shouldRestoreFocus,layoutProps:f.layoutProps,contextValue:u.contextValue,ownerState:d}};function VWe(t){return Ye("MuiPickersLayout",t)}const pf=qe("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),sun=["onAccept","onClear","onCancel","onSetToday","actions"];function aun(t){const{onAccept:e,onClear:n,onCancel:r,onSetToday:i,actions:o}=t,s=Rt(t,sun),a=Pl();if(o==null||o.length===0)return null;const l=o==null?void 0:o.map(u=>{switch(u){case"clear":return C.jsx(Vr,{onClick:n,children:a.clearButtonLabel},u);case"cancel":return C.jsx(Vr,{onClick:r,children:a.cancelButtonLabel},u);case"accept":return C.jsx(Vr,{onClick:e,children:a.okButtonLabel},u);case"today":return C.jsx(Vr,{onClick:i,children:a.todayButtonLabel},u);default:return null}});return C.jsx(X1,ve({},s,{children:l}))}const lun=["items","changeImportance","isLandscape","onChange","isValid"],uun=["getValue"];function cun(t){const{items:e,changeImportance:n="accept",onChange:r,isValid:i}=t,o=Rt(t,lun);if(e==null||e.length===0)return null;const s=e.map(a=>{let{getValue:l}=a,u=Rt(a,uun);const c=l({isValid:i});return ve({},u,{label:u.label,onClick:()=>{r(c,n,u)},disabled:!i(c)})});return C.jsx(RM,ve({dense:!0,sx:[{maxHeight:CU,maxWidth:200,overflow:"auto"},...Array.isArray(o.sx)?o.sx:[o.sx]]},o,{children:s.map(a=>C.jsx(A_,{children:C.jsx(TAe,ve({},a))},a.id??a.label))}))}function fun(t){return t.view!==null}const dun=t=>{const{classes:e,isLandscape:n}=t;return Xe({root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},VWe,e)},GWe=t=>{const{wrapperVariant:e,onAccept:n,onClear:r,onCancel:i,onSetToday:o,view:s,views:a,onViewChange:l,value:u,onChange:c,onSelectShortcut:f,isValid:d,isLandscape:h,disabled:p,readOnly:g,children:m,slots:v,slotProps:y}=t,x=dun(t),b=(v==null?void 0:v.actionBar)??aun,w=Zt({elementType:b,externalSlotProps:y==null?void 0:y.actionBar,additionalProps:{onAccept:n,onClear:r,onCancel:i,onSetToday:o,actions:e==="desktop"?[]:["cancel","accept"]},className:x.actionBar,ownerState:ve({},t,{wrapperVariant:e})}),_=C.jsx(b,ve({},w)),S=v==null?void 0:v.toolbar,O=Zt({elementType:S,externalSlotProps:y==null?void 0:y.toolbar,additionalProps:{isLandscape:h,onChange:c,value:u,view:s,onViewChange:l,views:a,disabled:p,readOnly:g},className:x.toolbar,ownerState:ve({},t,{wrapperVariant:e})}),k=fun(O)&&S?C.jsx(S,ve({},O)):null,E=m,M=v==null?void 0:v.tabs,A=s&&M?C.jsx(M,ve({view:s,onViewChange:l,className:x.tabs},y==null?void 0:y.tabs)):null,P=(v==null?void 0:v.shortcuts)??cun,T=Zt({elementType:P,externalSlotProps:y==null?void 0:y.shortcuts,additionalProps:{isValid:d,isLandscape:h,onChange:f},className:x.shortcuts,ownerState:{isValid:d,isLandscape:h,onChange:f,wrapperVariant:e}}),R=s&&P?C.jsx(P,ve({},T)):null;return{toolbar:k,content:E,tabs:A,actionBar:_,shortcuts:R}},hun=t=>{const{isLandscape:e,classes:n}=t;return Xe({root:["root",e&&"landscape"],contentWrapper:["contentWrapper"]},VWe,n)},HWe=be("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${pf.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${pf.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${pf.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${pf.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${pf.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${pf.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${pf.shortcuts}`]:{gridColumn:3}}}]}),qWe=be("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(t,e)=>e.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),XWe=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiPickersLayout"}),{toolbar:i,content:o,tabs:s,actionBar:a,shortcuts:l}=GWe(r),{sx:u,className:c,isLandscape:f,wrapperVariant:d}=r,h=hun(r);return C.jsxs(HWe,{ref:n,sx:u,className:Oe(h.root,c),ownerState:r,children:[f?l:i,f?i:l,C.jsx(qWe,{className:h.contentWrapper,children:d==="desktop"?C.jsxs(D.Fragment,{children:[o,s]}):C.jsxs(D.Fragment,{children:[s,o]})}),a]})}),pun=["props","getOpenDialogAriaText"],gun=["ownerState"],mun=["ownerState"],vun=t=>{var oe;let{props:e,getOpenDialogAriaText:n}=t,r=Rt(t,pun);const{slots:i,slotProps:o,className:s,sx:a,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:c,selectedSections:f,onSelectedSectionsChange:d,timezone:h,name:p,label:g,inputRef:m,readOnly:v,disabled:y,autoFocus:x,localeText:b,reduceAnimations:w}=e,_=D.useRef(null),S=D.useRef(null),O=Jf(),k=((oe=o==null?void 0:o.toolbar)==null?void 0:oe.hidden)??!1,{open:E,actions:M,hasUIView:A,layoutProps:P,renderCurrentView:T,shouldRestoreFocus:R,fieldProps:I,contextValue:B,ownerState:$}=WWe(ve({},r,{props:e,fieldRef:S,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),z=i.inputAdornment??NAe,L=Zt({elementType:z,externalSlotProps:o==null?void 0:o.inputAdornment,additionalProps:{position:"end"},ownerState:e}),j=Rt(L,gun),N=i.openPickerButton??Xt,F=Zt({elementType:N,externalSlotProps:o==null?void 0:o.openPickerButton,additionalProps:{disabled:y||v,onClick:E?M.onClose:M.onOpen,"aria-label":n(I.value),edge:j.position},ownerState:e}),H=Rt(F,mun),q=i.openPickerIcon,Y=Zt({elementType:q,externalSlotProps:o==null?void 0:o.openPickerIcon,ownerState:$}),le=i.field,K=Zt({elementType:le,externalSlotProps:o==null?void 0:o.field,additionalProps:ve({},I,k&&{id:O},{readOnly:v,disabled:y,className:s,sx:a,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:c,selectedSections:f,onSelectedSectionsChange:d,timezone:h,label:g,name:p,autoFocus:x&&!e.open,focused:E?!0:void 0},m?{inputRef:m}:{}),ownerState:e});A&&(K.InputProps=ve({},K.InputProps,{ref:_},!e.disableOpenPicker&&{[`${j.position}Adornment`]:C.jsx(z,ve({},j,{children:C.jsx(N,ve({},H,{children:C.jsx(q,ve({},Y))}))}))}));const ee=ve({textField:i.textField,clearIcon:i.clearIcon,clearButton:i.clearButton},K.slots),re=i.layout??XWe;let ge=O;k&&(g?ge=`${O}-label`:ge=void 0);const te=ve({},o,{toolbar:ve({},o==null?void 0:o.toolbar,{titleId:O}),popper:ve({"aria-labelledby":ge},o==null?void 0:o.popper)}),ae=dn(S,K.unstableFieldRef);return{renderPicker:()=>C.jsxs(SWe,{contextValue:B,localeText:b,children:[C.jsx(le,ve({},K,{slots:ee,slotProps:te,unstableFieldRef:ae})),C.jsx(Yln,ve({role:"dialog",placement:"bottom-start",anchorEl:_.current},M,{open:E,slots:i,slotProps:te,shouldRestoreFocus:R,reduceAnimations:w,children:C.jsx(re,ve({},P,te==null?void 0:te.layout,{slots:i,slotProps:te,children:T()}))}))]})}},yun=["views","format"],YWe=(t,e,n)=>{let{views:r,format:i}=e,o=Rt(e,yun);if(i)return i;const s=[],a=[];if(r.forEach(c=>{dC(c)?a.push(c):fC(c)&&s.push(c)}),a.length===0)return Uxe(t,ve({views:s},o));if(s.length===0)return Vxe(t,ve({views:a},o));const l=Vxe(t,ve({views:a},o));return`${Uxe(t,ve({views:s},o))} ${l}`},xun=(t,e,n)=>n?e.filter(r=>!ET(r)||r==="hours"):t?[...e,"meridiem"]:e,bun=(t,e)=>24*60/((t.hours??1)*(t.minutes??5))<=e;function wun({thresholdToRenderTimeInASingleColumn:t,ampm:e,timeSteps:n,views:r}){const i=t??24,o=ve({hours:1,minutes:5,seconds:5},n),s=bun(o,i);return{thresholdToRenderTimeInASingleColumn:i,timeSteps:o,shouldRenderTimeInASingleColumn:s,views:xun(e,r,s)}}function _un(t){return Ye("MuiTimeClock",t)}qe("MuiTimeClock",["root","arrowSwitcher"]);const hC=220,fg=36,iP={x:hC/2,y:hC/2},QWe={x:iP.x,y:0},Sun=QWe.x-iP.x,Cun=QWe.y-iP.y,Oun=t=>t*(180/Math.PI),KWe=(t,e,n)=>{const r=e-iP.x,i=n-iP.y,o=Math.atan2(Sun,Cun)-Math.atan2(r,i);let s=Oun(o);s=Math.round(s/t)*t,s%=360;const a=Math.floor(s/t)||0,l=r**2+i**2,u=Math.sqrt(l);return{value:a,distance:u}},Eun=(t,e,n=1)=>{const r=n*6;let{value:i}=KWe(r,t,e);return i=i*n%60,i},Tun=(t,e,n)=>{const{value:r,distance:i}=KWe(30,t,e);let o=r||12;return n?o%=12:i{const{classes:e}=t;return Xe({root:["root"],thumb:["thumb"]},kun,e)},Mun=be("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({width:2,backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:t.transitions.create(["transform","height"])}}]})),Run=be("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(t,e)=>e.thumb})(({theme:t})=>({width:4,height:4,backgroundColor:(t.vars||t).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:`calc(50% - ${fg/2}px)`,border:`${(fg-4)/2}px solid ${(t.vars||t).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(t.vars||t).palette.primary.main}}]}));function Dun(t){const e=kn({props:t,name:"MuiClockPointer"}),{className:n,isInner:r,type:i,viewValue:o}=e,s=Rt(e,Aun),a=D.useRef(i);D.useEffect(()=>{a.current=i},[i]);const l=ve({},e,{shouldAnimate:a.current!==i}),u=Pun(l),c=()=>{let d=360/(i==="hours"?12:60)*o;return i==="hours"&&o>12&&(d-=360),{height:Math.round((r?.26:.4)*hC),transform:`rotateZ(${d}deg)`}};return C.jsx(Mun,ve({style:c(),className:Oe(u.root,n),ownerState:l},s,{children:C.jsx(Run,{ownerState:l,className:u.thumb})}))}function Iun(t){return Ye("MuiClock",t)}qe("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText","selected"]);const Lun=t=>{const{classes:e,meridiemMode:n}=t;return Xe({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton",n==="am"&&"selected"],pmButton:["pmButton",n==="pm"&&"selected"],meridiemText:["meridiemText"]},Iun,e)},$un=be("div",{name:"MuiClock",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:t.spacing(2)})),Fun=be("div",{name:"MuiClock",slot:"Clock",overridesResolver:(t,e)=>e.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),Nun=be("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(t,e)=>e.wrapper})({"&:focus":{outline:"none"}}),zun=be("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(t,e)=>e.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),jun=be("div",{name:"MuiClock",slot:"Pin",overridesResolver:(t,e)=>e.pin})(({theme:t})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(t.vars||t).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"})),ZWe=(t,e)=>({zIndex:1,bottom:8,paddingLeft:4,paddingRight:4,width:fg,variants:[{props:{meridiemMode:e},style:{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:hover":{backgroundColor:(t.vars||t).palette.primary.light}}}]}),Bun=be(Xt,{name:"MuiClock",slot:"AmButton",overridesResolver:(t,e)=>e.amButton})(({theme:t})=>ve({},ZWe(t,"am"),{position:"absolute",left:8})),Uun=be(Xt,{name:"MuiClock",slot:"PmButton",overridesResolver:(t,e)=>e.pmButton})(({theme:t})=>ve({},ZWe(t,"pm"),{position:"absolute",right:8})),r1e=be(Jt,{name:"MuiClock",slot:"meridiemText",overridesResolver:(t,e)=>e.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function Wun(t){const e=kn({props:t,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:i,children:o,value:s,handleMeridiemChange:a,isTimeDisabled:l,meridiemMode:u,minutesStep:c=1,onChange:f,selectedId:d,type:h,viewValue:p,disabled:g=!1,readOnly:m,className:v}=e,y=e,x=pr(),b=Pl(),w=D.useRef(!1),_=Lun(y),S=l(p,h),O=!n&&h==="hours"&&(p<1||p>12),k=(z,L)=>{g||m||l(z,h)||f(z,L)},E=(z,L)=>{let{offsetX:j,offsetY:N}=z;if(j===void 0){const H=z.target.getBoundingClientRect();j=z.changedTouches[0].clientX-H.left,N=z.changedTouches[0].clientY-H.top}const F=h==="seconds"||h==="minutes"?Eun(j,N,c):Tun(j,N,!!n);k(F,L)},M=z=>{w.current=!0,E(z,"shallow")},A=z=>{w.current&&(E(z,"finish"),w.current=!1)},P=z=>{z.buttons>0&&E(z.nativeEvent,"shallow")},T=z=>{w.current&&(w.current=!1),E(z.nativeEvent,"finish")},R=D.useMemo(()=>h==="hours"?!0:p%5===0,[h,p]),I=h==="minutes"?c:1,B=D.useRef(null);Ei(()=>{i&&B.current.focus()},[i]);const $=z=>{if(!w.current)switch(z.key){case"Home":k(0,"partial"),z.preventDefault();break;case"End":k(h==="minutes"?59:23,"partial"),z.preventDefault();break;case"ArrowUp":k(p+I,"partial"),z.preventDefault();break;case"ArrowDown":k(p-I,"partial"),z.preventDefault();break;case"PageUp":k(p+5,"partial"),z.preventDefault();break;case"PageDown":k(p-5,"partial"),z.preventDefault();break;case"Enter":case" ":k(p,"finish"),z.preventDefault();break}};return C.jsxs($un,{className:Oe(_.root,v),children:[C.jsxs(Fun,{className:_.clock,children:[C.jsx(zun,{onTouchMove:M,onTouchStart:M,onTouchEnd:A,onMouseUp:T,onMouseMove:P,ownerState:{disabled:g},className:_.squareMask}),!S&&C.jsxs(D.Fragment,{children:[C.jsx(jun,{className:_.pin}),s!=null&&C.jsx(Dun,{type:h,viewValue:p,isInner:O,hasSelected:R})]}),C.jsx(Nun,{"aria-activedescendant":d,"aria-label":b.clockLabelText(h,s,x,s==null?null:x.format(s,"fullTime")),ref:B,role:"listbox",onKeyDown:$,tabIndex:0,className:_.wrapper,children:o})]}),n&&r&&C.jsxs(D.Fragment,{children:[C.jsx(Bun,{onClick:m?void 0:()=>a("am"),disabled:g||u===null,ownerState:y,className:_.amButton,title:Kp(x,"am"),children:C.jsx(r1e,{variant:"caption",className:_.meridiemText,children:Kp(x,"am")})}),C.jsx(Uun,{disabled:g||u===null,onClick:m?void 0:()=>a("pm"),ownerState:y,className:_.pmButton,title:Kp(x,"pm"),children:C.jsx(r1e,{variant:"caption",className:_.meridiemText,children:Kp(x,"pm")})})]})]})}function Vun(t){return Ye("MuiClockNumber",t)}const yL=qe("MuiClockNumber",["root","selected","disabled"]),Gun=["className","disabled","index","inner","label","selected"],Hun=t=>{const{classes:e,selected:n,disabled:r}=t;return Xe({root:["root",n&&"selected",r&&"disabled"]},Vun,e)},qun=be("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(t,e)=>[e.root,{[`&.${yL.disabled}`]:e.disabled},{[`&.${yL.selected}`]:e.selected}]})(({theme:t})=>({height:fg,width:fg,position:"absolute",left:`calc((100% - ${fg}px) / 2)`,display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(t.vars||t).palette.text.primary,fontFamily:t.typography.fontFamily,"&:focused":{backgroundColor:(t.vars||t).palette.background.paper},[`&.${yL.selected}`]:{color:(t.vars||t).palette.primary.contrastText},[`&.${yL.disabled}`]:{pointerEvents:"none",color:(t.vars||t).palette.text.disabled},variants:[{props:{inner:!0},style:ve({},t.typography.body2,{color:(t.vars||t).palette.text.secondary})}]}));function JWe(t){const e=kn({props:t,name:"MuiClockNumber"}),{className:n,disabled:r,index:i,inner:o,label:s,selected:a}=e,l=Rt(e,Gun),u=e,c=Hun(u),f=i%12/12*Math.PI*2-Math.PI/2,d=(hC-fg-2)/2*(o?.65:1),h=Math.round(Math.cos(f)*d),p=Math.round(Math.sin(f)*d);return C.jsx(qun,ve({className:Oe(c.root,n),"aria-disabled":r?!0:void 0,"aria-selected":a?!0:void 0,role:"option",style:{transform:`translate(${h}px, ${p+(hC-fg)/2}px`},ownerState:u},l,{children:s}))}const Xun=({ampm:t,value:e,getClockNumberText:n,isDisabled:r,selectedId:i,utils:o})=>{const s=e?o.getHours(e):null,a=[],l=t?1:0,u=t?12:23,c=f=>s===null?!1:t?f===12?s===12||s===0:s===f||s-12===f:s===f;for(let f=l;f<=u;f+=1){let d=f.toString();f===0&&(d="00");const h=!t&&(f===0||f>12);d=o.formatNumber(d);const p=c(f);a.push(C.jsx(JWe,{id:p?i:void 0,index:f,inner:h,selected:p,disabled:r(f),label:d,"aria-label":n(d)},f))}return a},i1e=({utils:t,value:e,isDisabled:n,getClockNumberText:r,selectedId:i})=>{const o=t.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map(([s,a],l)=>{const u=s===e;return C.jsx(JWe,{label:a,id:u?i:void 0,index:l+1,inner:!1,disabled:n(s),selected:u,"aria-label":r(a)},s)})},ule=({value:t,referenceDate:e,utils:n,props:r,timezone:i})=>{const o=D.useMemo(()=>na.getInitialReferenceValue({value:t,utils:n,props:r,referenceDate:e,granularity:bf.day,timezone:i,getTodayDate:()=>tle(n,i,"date")}),[]);return t??o},Yun=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],Qun=t=>{const{classes:e}=t;return Xe({root:["root"],arrowSwitcher:["arrowSwitcher"]},_un,e)},Kun=be(OU,{name:"MuiTimeClock",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"flex",flexDirection:"column",position:"relative"}),Zun=be(BWe,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(t,e)=>e.arrowSwitcher})({position:"absolute",right:12,top:15}),Jun=["hours","minutes"],ecn=D.forwardRef(function(e,n){const r=pr(),i=kn({props:e,name:"MuiTimeClock"}),{ampm:o=r.is12HourCycleInCurrentLocale(),ampmInClock:s=!1,autoFocus:a,slots:l,slotProps:u,value:c,defaultValue:f,referenceDate:d,disableIgnoringDatePartForTimeValidation:h=!1,maxTime:p,minTime:g,disableFuture:m,disablePast:v,minutesStep:y=1,shouldDisableTime:x,showViewSwitcher:b,onChange:w,view:_,views:S=Jun,openTo:O,onViewChange:k,focusedView:E,onFocusedViewChange:M,className:A,disabled:P,readOnly:T,timezone:R}=i,I=Rt(i,Yun),{value:B,handleValueChange:$,timezone:z}=HO({name:"TimeClock",timezone:R,value:c,defaultValue:f,onChange:w,valueManager:na}),L=ule({value:B,referenceDate:d,utils:r,props:i,timezone:z}),j=Pl(),N=Sb(z),{view:F,setView:H,previousView:q,nextView:Y,setValueAndGoToNextView:le}=tD({view:_,views:S,openTo:O,onViewChange:k,onChange:$,focusedView:E,onFocusedViewChange:M}),{meridiemMode:K,handleMeridiemChange:ee}=lle(L,o,le),re=D.useCallback((oe,ne)=>{const V=JR(h,r),X=ne==="hours"||ne==="minutes"&&S.includes("seconds"),Z=({start:xe,end:G})=>!(g&&V(g,G)||p&&V(xe,p)||m&&V(xe,N)||v&&V(N,X?G:xe)),he=(xe,G=1)=>{if(xe%G!==0)return!1;if(x)switch(ne){case"hours":return!x(r.setHours(L,xe),"hours");case"minutes":return!x(r.setMinutes(L,xe),"minutes");case"seconds":return!x(r.setSeconds(L,xe),"seconds");default:return!1}return!0};switch(ne){case"hours":{const xe=nP(oe,K,o),G=r.setHours(L,xe),W=r.setSeconds(r.setMinutes(G,0),0),J=r.setSeconds(r.setMinutes(G,59),59);return!Z({start:W,end:J})||!he(xe)}case"minutes":{const xe=r.setMinutes(L,oe),G=r.setSeconds(xe,0),W=r.setSeconds(xe,59);return!Z({start:G,end:W})||!he(oe,y)}case"seconds":{const xe=r.setSeconds(L,oe);return!Z({start:xe,end:xe})||!he(oe)}default:throw new Error("not supported")}},[o,L,h,p,K,g,y,x,r,m,v,N,S]),ge=Jf(),te=D.useMemo(()=>{switch(F){case"hours":{const oe=(ne,V)=>{const X=nP(ne,K,o);le(r.setHours(L,X),V,"hours")};return{onChange:oe,viewValue:r.getHours(L),children:Xun({value:B,utils:r,ampm:o,onChange:oe,getClockNumberText:j.hoursClockNumberText,isDisabled:ne=>P||re(ne,"hours"),selectedId:ge})}}case"minutes":{const oe=r.getMinutes(L),ne=(V,X)=>{le(r.setMinutes(L,V),X,"minutes")};return{viewValue:oe,onChange:ne,children:i1e({utils:r,value:oe,onChange:ne,getClockNumberText:j.minutesClockNumberText,isDisabled:V=>P||re(V,"minutes"),selectedId:ge})}}case"seconds":{const oe=r.getSeconds(L),ne=(V,X)=>{le(r.setSeconds(L,V),X,"seconds")};return{viewValue:oe,onChange:ne,children:i1e({utils:r,value:oe,onChange:ne,getClockNumberText:j.secondsClockNumberText,isDisabled:V=>P||re(V,"seconds"),selectedId:ge})}}default:throw new Error("You must provide the type for ClockView")}},[F,r,B,o,j.hoursClockNumberText,j.minutesClockNumberText,j.secondsClockNumberText,K,le,L,re,ge,P]),ae=i,U=Qun(ae);return C.jsxs(Kun,ve({ref:n,className:Oe(U.root,A),ownerState:ae},I,{children:[C.jsx(Wun,ve({autoFocus:a??!!E,ampmInClock:s&&S.includes("hours"),value:B,type:F,ampm:o,minutesStep:y,isTimeDisabled:re,meridiemMode:K,handleMeridiemChange:ee,selectedId:ge,disabled:P,readOnly:T},te)),b&&C.jsx(Zun,{className:U.arrowSwitcher,slots:l,slotProps:u,onGoToPrevious:()=>H(q),isPreviousDisabled:!q,previousLabel:j.openPreviousView,onGoToNext:()=>H(Y),isNextDisabled:!Y,nextLabel:j.openNextView,ownerState:ae})]}))});function tcn(t){return Ye("MuiDigitalClock",t)}const ncn=qe("MuiDigitalClock",["root","list","item"]),rcn=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],icn=t=>{const{classes:e}=t;return Xe({root:["root"],list:["list"],item:["item"]},tcn,e)},ocn=be(OU,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(t,e)=>e.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:IWe,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),scn=be(x4,{name:"MuiDigitalClock",slot:"List",overridesResolver:(t,e)=>e.list})({padding:0}),acn=be(_i,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(t,e)=>e.item})(({theme:t})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.primary.main,t.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette.primary.main,t.palette.action.focusOpacity)}})),lcn=D.forwardRef(function(e,n){const r=pr(),i=D.useRef(null),o=dn(n,i),s=D.useRef(null),a=kn({props:e,name:"MuiDigitalClock"}),{ampm:l=r.is12HourCycleInCurrentLocale(),timeStep:u=30,autoFocus:c,slots:f,slotProps:d,value:h,defaultValue:p,referenceDate:g,disableIgnoringDatePartForTimeValidation:m=!1,maxTime:v,minTime:y,disableFuture:x,disablePast:b,minutesStep:w=1,shouldDisableTime:_,onChange:S,view:O,openTo:k,onViewChange:E,focusedView:M,onFocusedViewChange:A,className:P,disabled:T,readOnly:R,views:I=["hours"],skipDisabled:B=!1,timezone:$}=a,z=Rt(a,rcn),{value:L,handleValueChange:j,timezone:N}=HO({name:"DigitalClock",timezone:$,value:h,defaultValue:p,onChange:S,valueManager:na}),F=Pl(),H=Sb(N),q=D.useMemo(()=>ve({},a,{alreadyRendered:!!i.current}),[a]),Y=icn(q),le=(f==null?void 0:f.digitalClockItem)??acn,K=Zt({elementType:le,externalSlotProps:d==null?void 0:d.digitalClockItem,ownerState:{},className:Y.item}),ee=ule({value:L,referenceDate:g,utils:r,props:a,timezone:N}),re=st(V=>j(V,"finish","hours")),{setValueAndGoToNextView:ge}=tD({view:O,views:I,openTo:k,onViewChange:E,onChange:re,focusedView:M,onFocusedViewChange:A}),te=st(V=>{ge(V,"finish")});D.useEffect(()=>{if(i.current===null)return;const V=i.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!V)return;const X=V.offsetTop;(c||M)&&V.focus(),i.current.scrollTop=X-4});const ae=D.useCallback(V=>{const X=JR(m,r),Z=()=>!(y&&X(y,V)||v&&X(V,v)||x&&X(V,H)||b&&X(H,V)),he=()=>r.getMinutes(V)%w!==0?!1:_?!_(V,"hours"):!0;return!Z()||!he()},[m,r,y,v,x,H,b,w,_]),U=D.useMemo(()=>{const V=r.startOfDay(ee);return[V,...Array.from({length:Math.ceil(24*60/u)-1},(X,Z)=>r.addMinutes(V,u*(Z+1)))]},[ee,u,r]),oe=U.findIndex(V=>r.isEqual(V,ee)),ne=V=>{switch(V.key){case"PageUp":{const X=K5(s.current)-5,Z=s.current.children,he=Math.max(0,X),xe=Z[he];xe&&xe.focus(),V.preventDefault();break}case"PageDown":{const X=K5(s.current)+5,Z=s.current.children,he=Math.min(Z.length-1,X),xe=Z[he];xe&&xe.focus(),V.preventDefault();break}}};return C.jsx(ocn,ve({ref:o,className:Oe(Y.root,P),ownerState:q},z,{children:C.jsx(scn,{ref:s,role:"listbox","aria-label":F.timePickerToolbarTitle,className:Y.list,onKeyDown:ne,children:U.map((V,X)=>{if(B&&ae(V))return null;const Z=r.isEqual(V,L),he=r.format(V,l?"fullTime12h":"fullTime24h"),xe=oe===X||oe===-1&&X===0?0:-1;return C.jsx(le,ve({onClick:()=>!R&&te(V),selected:Z,disabled:T||ae(V),disableRipple:R,role:"option","aria-disabled":R,"aria-selected":Z,tabIndex:xe},K,{children:he}),he)})})}))});function ucn(t){return Ye("MuiMultiSectionDigitalClock",t)}const o1e=qe("MuiMultiSectionDigitalClock",["root"]);function ccn(t){return Ye("MuiMultiSectionDigitalClockSection",t)}const fcn=qe("MuiMultiSectionDigitalClockSection",["root","item"]),dcn=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],hcn=t=>{const{classes:e}=t;return Xe({root:["root"],item:["item"]},ccn,e)},pcn=be(x4,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({maxHeight:IWe,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(t.vars||t).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]})),gcn=be(_i,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(t,e)=>e.item})(({theme:t})=>({padding:8,margin:"2px 4px",width:TT,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:Tt(t.palette.primary.main,t.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(t.vars||t).palette.primary.main,color:(t.vars||t).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(t.vars||t).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.focusOpacity})`:Tt(t.palette.primary.main,t.palette.action.focusOpacity)}})),mcn=D.forwardRef(function(e,n){const r=D.useRef(null),i=dn(n,r),o=D.useRef(null),s=kn({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:a,onChange:l,className:u,disabled:c,readOnly:f,items:d,active:h,slots:p,slotProps:g,skipDisabled:m}=s,v=Rt(s,dcn),y=D.useMemo(()=>ve({},s,{alreadyRendered:!!r.current}),[s]),x=hcn(y),b=(p==null?void 0:p.digitalClockSectionItem)??gcn;D.useEffect(()=>{if(r.current===null)return;const S=r.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(h&&a&&S&&S.focus(),!S||o.current===S)return;o.current=S;const O=S.offsetTop;r.current.scrollTop=O-4});const w=d.findIndex(S=>S.isFocused(S.value)),_=S=>{switch(S.key){case"PageUp":{const O=K5(r.current)-5,k=r.current.children,E=Math.max(0,O),M=k[E];M&&M.focus(),S.preventDefault();break}case"PageDown":{const O=K5(r.current)+5,k=r.current.children,E=Math.min(k.length-1,O),M=k[E];M&&M.focus(),S.preventDefault();break}}};return C.jsx(pcn,ve({ref:i,className:Oe(x.root,u),ownerState:y,autoFocusItem:a&&h,role:"listbox",onKeyDown:_},v,{children:d.map((S,O)=>{var P;const k=(P=S.isDisabled)==null?void 0:P.call(S,S.value),E=c||k;if(m&&E)return null;const M=S.isSelected(S.value),A=w===O||w===-1&&O===0?0:-1;return C.jsx(b,ve({onClick:()=>!f&&l(S.value),selected:M,disabled:E,disableRipple:f,role:"option","aria-disabled":f||E||void 0,"aria-label":S.ariaLabel,"aria-selected":M,tabIndex:A,className:x.item},g==null?void 0:g.digitalClockSectionItem,{children:S.label}),S.label)})}))}),vcn=({now:t,value:e,utils:n,ampm:r,isDisabled:i,resolveAriaLabel:o,timeStep:s,valueOrReferenceDate:a})=>{const l=e?n.getHours(e):null,u=[],c=(h,p)=>{const g=p??l;return g===null?!1:r?h===12?g===12||g===0:g===h||g-12===h:g===h},f=h=>c(h,n.getHours(a)),d=r?11:23;for(let h=0;h<=d;h+=s){let p=n.format(n.setHours(t,h),r?"hours12h":"hours24h");const g=o(parseInt(p,10).toString());p=n.formatNumber(p),u.push({value:h,label:p,isSelected:c,isDisabled:i,isFocused:f,ariaLabel:g})}return u},s1e=({value:t,utils:e,isDisabled:n,timeStep:r,resolveLabel:i,resolveAriaLabel:o,hasValue:s=!0})=>{const a=u=>t===null?!1:s&&t===u,l=u=>t===u;return[...Array.from({length:Math.ceil(60/r)},(u,c)=>{const f=r*c;return{value:f,label:e.formatNumber(i(f)),isDisabled:n,isSelected:a,isFocused:l,ariaLabel:o(f.toString())}})]},ycn=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],xcn=t=>{const{classes:e}=t;return Xe({root:["root"]},ucn,e)},bcn=be(OU,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(t.vars||t).palette.divider}`})),wcn=D.forwardRef(function(e,n){const r=pr(),i=Ho(),o=kn({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:s=r.is12HourCycleInCurrentLocale(),timeSteps:a,autoFocus:l,slots:u,slotProps:c,value:f,defaultValue:d,referenceDate:h,disableIgnoringDatePartForTimeValidation:p=!1,maxTime:g,minTime:m,disableFuture:v,disablePast:y,minutesStep:x=1,shouldDisableTime:b,onChange:w,view:_,views:S=["hours","minutes"],openTo:O,onViewChange:k,focusedView:E,onFocusedViewChange:M,className:A,disabled:P,readOnly:T,skipDisabled:R=!1,timezone:I}=o,B=Rt(o,ycn),{value:$,handleValueChange:z,timezone:L}=HO({name:"MultiSectionDigitalClock",timezone:I,value:f,defaultValue:d,onChange:w,valueManager:na}),j=Pl(),N=Sb(L),F=D.useMemo(()=>ve({hours:1,minutes:5,seconds:5},a),[a]),H=ule({value:$,referenceDate:h,utils:r,props:o,timezone:L}),q=st((Z,he,xe)=>z(Z,he,xe)),Y=D.useMemo(()=>!s||!S.includes("hours")||S.includes("meridiem")?S:[...S,"meridiem"],[s,S]),{view:le,setValueAndGoToNextView:K,focusedView:ee}=tD({view:_,views:Y,openTo:O,onViewChange:k,onChange:q,focusedView:E,onFocusedViewChange:M}),re=st(Z=>{K(Z,"finish","meridiem")}),{meridiemMode:ge,handleMeridiemChange:te}=lle(H,s,re,"finish"),ae=D.useCallback((Z,he)=>{const xe=JR(p,r),G=he==="hours"||he==="minutes"&&Y.includes("seconds"),W=({start:se,end:ye})=>!(m&&xe(m,ye)||g&&xe(se,g)||v&&xe(se,N)||y&&xe(N,G?ye:se)),J=(se,ye=1)=>{if(se%ye!==0)return!1;if(b)switch(he){case"hours":return!b(r.setHours(H,se),"hours");case"minutes":return!b(r.setMinutes(H,se),"minutes");case"seconds":return!b(r.setSeconds(H,se),"seconds");default:return!1}return!0};switch(he){case"hours":{const se=nP(Z,ge,s),ye=r.setHours(H,se),ie=r.setSeconds(r.setMinutes(ye,0),0),fe=r.setSeconds(r.setMinutes(ye,59),59);return!W({start:ie,end:fe})||!J(se)}case"minutes":{const se=r.setMinutes(H,Z),ye=r.setSeconds(se,0),ie=r.setSeconds(se,59);return!W({start:ye,end:ie})||!J(Z,x)}case"seconds":{const se=r.setSeconds(H,Z);return!W({start:se,end:se})||!J(Z)}default:throw new Error("not supported")}},[s,H,p,g,ge,m,x,b,r,v,y,N,Y]),U=D.useCallback(Z=>{switch(Z){case"hours":return{onChange:he=>{const xe=nP(he,ge,s);K(r.setHours(H,xe),"finish","hours")},items:vcn({now:N,value:$,ampm:s,utils:r,isDisabled:he=>ae(he,"hours"),timeStep:F.hours,resolveAriaLabel:j.hoursClockNumberText,valueOrReferenceDate:H})};case"minutes":return{onChange:he=>{K(r.setMinutes(H,he),"finish","minutes")},items:s1e({value:r.getMinutes(H),utils:r,isDisabled:he=>ae(he,"minutes"),resolveLabel:he=>r.format(r.setMinutes(N,he),"minutes"),timeStep:F.minutes,hasValue:!!$,resolveAriaLabel:j.minutesClockNumberText})};case"seconds":return{onChange:he=>{K(r.setSeconds(H,he),"finish","seconds")},items:s1e({value:r.getSeconds(H),utils:r,isDisabled:he=>ae(he,"seconds"),resolveLabel:he=>r.format(r.setSeconds(N,he),"seconds"),timeStep:F.seconds,hasValue:!!$,resolveAriaLabel:j.secondsClockNumberText})};case"meridiem":{const he=Kp(r,"am"),xe=Kp(r,"pm");return{onChange:te,items:[{value:"am",label:he,isSelected:()=>!!$&&ge==="am",isFocused:()=>!!H&&ge==="am",ariaLabel:he},{value:"pm",label:xe,isSelected:()=>!!$&&ge==="pm",isFocused:()=>!!H&&ge==="pm",ariaLabel:xe}]}}default:throw new Error(`Unknown view: ${Z} found.`)}},[N,$,s,r,F.hours,F.minutes,F.seconds,j.hoursClockNumberText,j.minutesClockNumberText,j.secondsClockNumberText,ge,K,H,ae,te]),oe=D.useMemo(()=>{if(!i)return Y;const Z=Y.filter(he=>he!=="meridiem");return Z.reverse(),Y.includes("meridiem")&&Z.push("meridiem"),Z},[i,Y]),ne=D.useMemo(()=>Y.reduce((Z,he)=>ve({},Z,{[he]:U(he)}),{}),[Y,U]),V=o,X=xcn(V);return C.jsx(bcn,ve({ref:n,className:Oe(X.root,A),ownerState:V,role:"group"},B,{children:oe.map(Z=>C.jsx(mcn,{items:ne[Z].items,onChange:ne[Z].onChange,active:le===Z,autoFocus:l??ee===Z,disabled:P,readOnly:T,slots:u,slotProps:c,skipDisabled:R,"aria-label":j.selectViewText(Z)},Z))}))}),D9=({view:t,onViewChange:e,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,ampmInClock:y,slots:x,slotProps:b,readOnly:w,disabled:_,sx:S,autoFocus:O,showViewSwitcher:k,disableIgnoringDatePartForTimeValidation:E,timezone:M})=>C.jsx(ecn,{view:t,onViewChange:e,focusedView:n&&dC(n)?n:null,onFocusedViewChange:r,views:i.filter(dC),value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,ampmInClock:y,slots:x,slotProps:b,readOnly:w,disabled:_,sx:S,autoFocus:O,showViewSwitcher:k,disableIgnoringDatePartForTimeValidation:E,timezone:M}),_cn=({view:t,onViewChange:e,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,slots:y,slotProps:x,readOnly:b,disabled:w,sx:_,autoFocus:S,disableIgnoringDatePartForTimeValidation:O,timeSteps:k,skipDisabled:E,timezone:M})=>C.jsx(lcn,{view:t,onViewChange:e,focusedView:n,onFocusedViewChange:r,views:i.filter(dC),value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,slots:y,slotProps:x,readOnly:b,disabled:w,sx:_,autoFocus:S,disableIgnoringDatePartForTimeValidation:O,timeStep:k==null?void 0:k.minutes,skipDisabled:E,timezone:M}),a1e=({view:t,onViewChange:e,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,slots:y,slotProps:x,readOnly:b,disabled:w,sx:_,autoFocus:S,disableIgnoringDatePartForTimeValidation:O,timeSteps:k,skipDisabled:E,timezone:M})=>C.jsx(wcn,{view:t,onViewChange:e,focusedView:n,onFocusedViewChange:r,views:i.filter(dC),value:o,defaultValue:s,referenceDate:a,onChange:l,className:u,classes:c,disableFuture:f,disablePast:d,minTime:h,maxTime:p,shouldDisableTime:g,minutesStep:m,ampm:v,slots:y,slotProps:x,readOnly:b,disabled:w,sx:_,autoFocus:S,disableIgnoringDatePartForTimeValidation:O,timeSteps:k,skipDisabled:E,timezone:M}),Scn=D.forwardRef(function(e,n){var g;const r=Ho(),{toolbar:i,tabs:o,content:s,actionBar:a,shortcuts:l}=GWe(e),{sx:u,className:c,isLandscape:f,classes:d}=e,h=a&&(((g=a.props.actions)==null?void 0:g.length)??0)>0,p=ve({},e,{isRtl:r});return C.jsxs(HWe,{ref:n,className:Oe(pf.root,d==null?void 0:d.root,c),sx:[{[`& .${pf.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${pf.actionBar}`]:{gridRow:5}},...Array.isArray(u)?u:[u]],ownerState:p,children:[f?l:i,f?i:l,C.jsxs(qWe,{className:Oe(pf.contentWrapper,d==null?void 0:d.contentWrapper),sx:{display:"grid"},children:[s,o,h&&C.jsx(Sh,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),a]})}),Ccn=["openTo","focusedView","timeViewsCount"],Ocn=function(e,n,r){var c,f;const{openTo:i,focusedView:o,timeViewsCount:s}=r,a=Rt(r,Ccn),l=ve({},a,{focusedView:null,sx:[{[`&.${o1e.root}`]:{borderBottom:0},[`&.${o1e.root}, .${fcn.root}, &.${ncn.root}`]:{maxHeight:CU}}]}),u=ET(n);return C.jsxs(D.Fragment,{children:[(c=e[u?"day":n])==null?void 0:c.call(e,ve({},r,{view:u?"day":n,focusedView:o&&fC(o)?o:null,views:r.views.filter(fC),sx:[{gridColumn:1},...l.sx]})),s>0&&C.jsxs(D.Fragment,{children:[C.jsx(Sh,{orientation:"vertical",sx:{gridColumn:2}}),(f=e[u?n:"hours"])==null?void 0:f.call(e,ve({},l,{view:u?n:"hours",focusedView:o&&ET(o)?o:null,openTo:ET(i)?i:"hours",views:r.views.filter(ET),sx:[{gridColumn:3},...l.sx]}))]})]})},eVe=D.forwardRef(function(e,n){var y,x,b,w;const r=Pl(),i=pr(),o=LWe(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:s,thresholdToRenderTimeInASingleColumn:a,views:l,timeSteps:u}=wun(o),c=s?_cn:a1e,f=ve({day:H_,month:H_,year:H_,hours:c,minutes:c,seconds:c,meridiem:c},o.viewRenderers),d=o.ampmInClock??!0,p=((y=f.hours)==null?void 0:y.name)===a1e.name?l:l.filter(_=>_!=="meridiem"),g=s?[]:["accept"],m=ve({},o,{viewRenderers:f,format:YWe(i,o),views:p,yearsPerRow:o.yearsPerRow??4,ampmInClock:d,timeSteps:u,thresholdToRenderTimeInASingleColumn:a,shouldRenderTimeInASingleColumn:s,slots:ve({field:MWe,layout:Scn,openPickerIcon:Lon},o.slots),slotProps:ve({},o.slotProps,{field:_=>{var S;return ve({},nA((S=o.slotProps)==null?void 0:S.field,_),xWe(o),{ref:n})},toolbar:ve({hidden:!0,ampmInClock:d,toolbarVariant:"desktop"},(x=o.slotProps)==null?void 0:x.toolbar),tabs:ve({hidden:!0},(b=o.slotProps)==null?void 0:b.tabs),actionBar:_=>{var S;return ve({actions:g},nA((S=o.slotProps)==null?void 0:S.actionBar,_))}})}),{renderPicker:v}=vun({props:m,valueManager:na,valueType:"date-time",getOpenDialogAriaText:bWe({utils:i,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(w=m.localeText)==null?void 0:w.openDatePickerDialogue}),validator:bU,rendererInterceptor:Ocn});return v()});eVe.propTypes={ampm:pe.bool,ampmInClock:pe.bool,autoFocus:pe.bool,className:pe.string,closeOnSelect:pe.bool,dayOfWeekFormatter:pe.func,defaultValue:pe.object,disabled:pe.bool,disableFuture:pe.bool,disableHighlightToday:pe.bool,disableIgnoringDatePartForTimeValidation:pe.bool,disableOpenPicker:pe.bool,disablePast:pe.bool,displayWeekNumber:pe.bool,enableAccessibleFieldDOMStructure:pe.any,fixedWeekNumber:pe.number,format:pe.string,formatDensity:pe.oneOf(["dense","spacious"]),inputRef:Qke,label:pe.node,loading:pe.bool,localeText:pe.object,maxDate:pe.object,maxDateTime:pe.object,maxTime:pe.object,minDate:pe.object,minDateTime:pe.object,minTime:pe.object,minutesStep:pe.number,monthsPerRow:pe.oneOf([3,4]),name:pe.string,onAccept:pe.func,onChange:pe.func,onClose:pe.func,onError:pe.func,onMonthChange:pe.func,onOpen:pe.func,onSelectedSectionsChange:pe.func,onViewChange:pe.func,onYearChange:pe.func,open:pe.bool,openTo:pe.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:pe.oneOf(["landscape","portrait"]),readOnly:pe.bool,reduceAnimations:pe.bool,referenceDate:pe.object,renderLoading:pe.func,selectedSections:pe.oneOfType([pe.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pe.number]),shouldDisableDate:pe.func,shouldDisableMonth:pe.func,shouldDisableTime:pe.func,shouldDisableYear:pe.func,showDaysOutsideCurrentMonth:pe.bool,skipDisabled:pe.bool,slotProps:pe.object,slots:pe.object,sx:pe.oneOfType([pe.arrayOf(pe.oneOfType([pe.func,pe.object,pe.bool])),pe.func,pe.object]),thresholdToRenderTimeInASingleColumn:pe.number,timeSteps:pe.shape({hours:pe.number,minutes:pe.number,seconds:pe.number}),timezone:pe.string,value:pe.object,view:pe.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:pe.shape({day:pe.func,hours:pe.func,meridiem:pe.func,minutes:pe.func,month:pe.func,seconds:pe.func,year:pe.func}),views:pe.arrayOf(pe.oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:pe.oneOf(["asc","desc"]),yearsPerRow:pe.oneOf([3,4])};const Ecn=be(ed)({[`& .${KT.container}`]:{outline:0},[`& .${KT.paper}`]:{outline:0,minWidth:SU}}),Tcn=be(zf)({"&:first-of-type":{padding:0}});function kcn(t){const{children:e,onDismiss:n,open:r,slots:i,slotProps:o}=t,s=(i==null?void 0:i.dialog)??Ecn,a=(i==null?void 0:i.mobileTransition)??qC;return C.jsx(s,ve({open:r,onClose:n},o==null?void 0:o.dialog,{TransitionComponent:a,TransitionProps:o==null?void 0:o.mobileTransition,PaperComponent:i==null?void 0:i.mobilePaper,PaperProps:o==null?void 0:o.mobilePaper,children:C.jsx(Tcn,{children:e})}))}const Acn=["props","getOpenDialogAriaText"],Pcn=t=>{var j;let{props:e,getOpenDialogAriaText:n}=t,r=Rt(t,Acn);const{slots:i,slotProps:o,className:s,sx:a,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:c,selectedSections:f,onSelectedSectionsChange:d,timezone:h,name:p,label:g,inputRef:m,readOnly:v,disabled:y,localeText:x}=e,b=D.useRef(null),w=Jf(),_=((j=o==null?void 0:o.toolbar)==null?void 0:j.hidden)??!1,{open:S,actions:O,layoutProps:k,renderCurrentView:E,fieldProps:M,contextValue:A}=WWe(ve({},r,{props:e,fieldRef:b,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),P=i.field,T=Zt({elementType:P,externalSlotProps:o==null?void 0:o.field,additionalProps:ve({},M,_&&{id:w},!(y||v)&&{onClick:O.onOpen,onKeyDown:Eon(O.onOpen)},{readOnly:v??!0,disabled:y,className:s,sx:a,format:l,formatDensity:u,enableAccessibleFieldDOMStructure:c,selectedSections:f,onSelectedSectionsChange:d,timezone:h,label:g,name:p},m?{inputRef:m}:{}),ownerState:e});T.inputProps=ve({},T.inputProps,{"aria-label":n(M.value)});const R=ve({textField:i.textField},T.slots),I=i.layout??XWe;let B=w;_&&(g?B=`${w}-label`:B=void 0);const $=ve({},o,{toolbar:ve({},o==null?void 0:o.toolbar,{titleId:w}),mobilePaper:ve({"aria-labelledby":B},o==null?void 0:o.mobilePaper)}),z=dn(b,T.unstableFieldRef);return{renderPicker:()=>C.jsxs(SWe,{contextValue:A,localeText:x,children:[C.jsx(P,ve({},T,{slots:R,slotProps:$,unstableFieldRef:z})),C.jsx(kcn,ve({},O,{open:S,slots:i,slotProps:$,children:C.jsx(I,ve({},k,$==null?void 0:$.layout,{slots:i,slotProps:$,children:E()}))}))]})}},tVe=D.forwardRef(function(e,n){var c,f,d;const r=Pl(),i=pr(),o=LWe(e,"MuiMobileDateTimePicker"),s=ve({day:H_,month:H_,year:H_,hours:D9,minutes:D9,seconds:D9},o.viewRenderers),a=o.ampmInClock??!1,l=ve({},o,{viewRenderers:s,format:YWe(i,o),ampmInClock:a,slots:ve({field:MWe},o.slots),slotProps:ve({},o.slotProps,{field:h=>{var p;return ve({},nA((p=o.slotProps)==null?void 0:p.field,h),xWe(o),{ref:n})},toolbar:ve({hidden:!1,ampmInClock:a},(c=o.slotProps)==null?void 0:c.toolbar),tabs:ve({hidden:!1},(f=o.slotProps)==null?void 0:f.tabs)})}),{renderPicker:u}=Pcn({props:l,valueManager:na,valueType:"date-time",getOpenDialogAriaText:bWe({utils:i,formatKey:"fullDate",contextTranslation:r.openDatePickerDialogue,propsTranslation:(d=l.localeText)==null?void 0:d.openDatePickerDialogue}),validator:bU});return u()});tVe.propTypes={ampm:pe.bool,ampmInClock:pe.bool,autoFocus:pe.bool,className:pe.string,closeOnSelect:pe.bool,dayOfWeekFormatter:pe.func,defaultValue:pe.object,disabled:pe.bool,disableFuture:pe.bool,disableHighlightToday:pe.bool,disableIgnoringDatePartForTimeValidation:pe.bool,disableOpenPicker:pe.bool,disablePast:pe.bool,displayWeekNumber:pe.bool,enableAccessibleFieldDOMStructure:pe.any,fixedWeekNumber:pe.number,format:pe.string,formatDensity:pe.oneOf(["dense","spacious"]),inputRef:Qke,label:pe.node,loading:pe.bool,localeText:pe.object,maxDate:pe.object,maxDateTime:pe.object,maxTime:pe.object,minDate:pe.object,minDateTime:pe.object,minTime:pe.object,minutesStep:pe.number,monthsPerRow:pe.oneOf([3,4]),name:pe.string,onAccept:pe.func,onChange:pe.func,onClose:pe.func,onError:pe.func,onMonthChange:pe.func,onOpen:pe.func,onSelectedSectionsChange:pe.func,onViewChange:pe.func,onYearChange:pe.func,open:pe.bool,openTo:pe.oneOf(["day","hours","minutes","month","seconds","year"]),orientation:pe.oneOf(["landscape","portrait"]),readOnly:pe.bool,reduceAnimations:pe.bool,referenceDate:pe.object,renderLoading:pe.func,selectedSections:pe.oneOfType([pe.oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pe.number]),shouldDisableDate:pe.func,shouldDisableMonth:pe.func,shouldDisableTime:pe.func,shouldDisableYear:pe.func,showDaysOutsideCurrentMonth:pe.bool,slotProps:pe.object,slots:pe.object,sx:pe.oneOfType([pe.arrayOf(pe.oneOfType([pe.func,pe.object,pe.bool])),pe.func,pe.object]),timezone:pe.string,value:pe.object,view:pe.oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:pe.shape({day:pe.func,hours:pe.func,minutes:pe.func,month:pe.func,seconds:pe.func,year:pe.func}),views:pe.arrayOf(pe.oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsOrder:pe.oneOf(["asc","desc"]),yearsPerRow:pe.oneOf([3,4])};const Mcn=["desktopModeMediaQuery"],Rcn=D.forwardRef(function(e,n){const r=kn({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:i=Ton}=r,o=Rt(r,Mcn);return qke(i,{defaultMatches:!0})?C.jsx(eVe,ve({ref:n},o)):C.jsx(tVe,ve({ref:n},o))}),Dcn=t=>({dateTimePicker:{marginTop:t.spacing(2)}}),Icn=({classes:t,hasTimeDimension:e,selectedTime:n,selectedTimeRange:r,selectTime:i})=>{const o=d=>{i(d!==null?hbt(d):null)},s=C.jsx(Iy,{shrink:!0,htmlFor:"time-select",children:`${me.get("Time")} (UTC)`}),l=typeof n=="number"?AW(n):null;let u,c;Array.isArray(r)&&(u=AW(r[0]),c=AW(r[1]));const f=C.jsx(aWe,{dateAdapter:Uin,children:C.jsx(Rcn,{disabled:!e,className:t.dateTimePicker,format:"yyyy-MM-dd hh:mm:ss",value:l,minDateTime:u,maxDateTime:c,onChange:o,ampm:!1,slotProps:{textField:{variant:"standard",size:"small"}},viewRenderers:{hours:null,minutes:null,seconds:null}})});return C.jsx(eP,{label:s,control:f})},Lcn=Lin(Dcn)(Icn),$cn=t=>({locale:t.controlState.locale,hasTimeDimension:!!dO(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),Fcn={selectTime:tU},Ncn=Rn($cn,Fcn)(Lcn),l1e=5,zcn={box:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(l1e),marginRight:t.spacing(l1e),minWidth:200}),label:{color:"grey",fontSize:"1em"}};function jcn({hasTimeDimension:t,selectedTime:e,selectTime:n,selectedTimeRange:r}){const[i,o]=D.useState(e);if(D.useEffect(()=>{o(e||(r?r[0]:0))},[e,r]),!t)return null;const s=(f,d)=>{typeof d=="number"&&o(d)},a=(f,d)=>{n&&typeof d=="number"&&n(d)},l=Array.isArray(r);l||(r=[Date.now()-2*ORe.years,Date.now()]);const u=[{value:r[0],label:xA(r[0])},{value:r[1],label:xA(r[1])}];function c(f){return aO(f)}return C.jsx(ot,{sx:zcn.box,children:C.jsx(Bt,{arrow:!0,title:me.get("Select time in dataset"),children:C.jsx(XC,{disabled:!l,min:r[0],max:r[1],value:i||0,valueLabelDisplay:"off",valueLabelFormat:c,marks:u,onChange:s,onChangeCommitted:a,size:"small"})})})}const Bcn=t=>({locale:t.controlState.locale,hasTimeDimension:!!dO(t),selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange}),Ucn={selectTime:tU,selectTimeRange:TUe},Wcn=Rn(Bcn,Ucn)(jcn),Vcn=ut(C.jsx("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),Gcn=ut(C.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight"),Hcn=ut(C.jsx("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),qcn=ut(C.jsx("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),Xcn=ut(C.jsx("path",{d:"M9 16h2V8H9zm3-14C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m1-4h2V8h-2z"}),"PauseCircleOutline"),Ycn=ut(C.jsx("path",{d:"m10 16.5 6-4.5-6-4.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"PlayCircleOutline"),sw={formControl:t=>({marginTop:t.spacing(2.5),marginLeft:t.spacing(1),marginRight:t.spacing(1)}),iconButton:{padding:"2px"}};function Qcn({timeAnimationActive:t,timeAnimationInterval:e,updateTimeAnimation:n,selectedTime:r,selectedTimeRange:i,selectTime:o,incSelectedTime:s}){const a=D.useRef(null);D.useEffect(()=>(p(),m));const l=()=>{s(1)},u=()=>{n(!t,e)},c=()=>{s(1)},f=()=>{s(-1)},d=()=>{o(i?i[0]:null)},h=()=>{o(i?i[1]:null)},p=()=>{t?g():m()},g=()=>{m(),a.current=window.setInterval(l,e)},m=()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},v=typeof r=="number",y=t?C.jsx(Xcn,{}):C.jsx(Ycn,{}),x=C.jsx(Xt,{disabled:!v,onClick:u,size:"small",sx:sw.iconButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Auto-step through times in the dataset"),children:y})}),b=C.jsx(Xt,{disabled:!v||t,onClick:d,size:"small",sx:sw.iconButton,children:C.jsx(Bt,{arrow:!0,title:me.get("First time step"),children:C.jsx(Hcn,{})})}),w=C.jsx(Xt,{disabled:!v||t,onClick:f,size:"small",sx:sw.iconButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Previous time step"),children:C.jsx(Vcn,{})})}),_=C.jsx(Xt,{disabled:!v||t,onClick:c,size:"small",sx:sw.iconButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Next time step"),children:C.jsx(Gcn,{})})}),S=C.jsx(Xt,{disabled:!v||t,onClick:h,size:"small",sx:sw.iconButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Last time step"),children:C.jsx(qcn,{})})});return C.jsx(Wg,{sx:sw.formControl,variant:"standard",children:C.jsxs(ot,{children:[b,w,x,_,S]})})}const Kcn=t=>({locale:t.controlState.locale,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,timeAnimationActive:t.controlState.timeAnimationActive,timeAnimationInterval:t.controlState.timeAnimationInterval}),Zcn={selectTime:tU,incSelectedTime:pKt,updateTimeAnimation:mKt},Jcn=Rn(Kcn,Zcn)(Qcn),efn=ut(C.jsx("path",{d:"M16 20H2V4h14zm2-12h4V4h-4zm0 12h4v-4h-4zm0-6h4v-4h-4z"}),"ViewSidebar"),tfn=ra(Wg)(({theme:t})=>({marginTop:t.spacing(2),marginRight:t.spacing(.5),marginLeft:"auto"}));function nfn({visible:t,sidebarOpen:e,setSidebarOpen:n,openDialog:r,allowRefresh:i,updateResources:o,compact:s}){if(!t)return null;const a=C.jsx(yr,{value:"sidebar",selected:e,onClick:()=>n(!e),size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Show or hide sidebar"),children:C.jsx(efn,{})})});let l,u,c;return s&&(l=i&&C.jsx(Xt,{onClick:o,size:"small",children:C.jsx(Bt,{arrow:!0,title:me.get("Refresh"),children:C.jsx(vPe,{})})}),u=Pn.instance.branding.allowDownloads&&C.jsx(Xt,{onClick:()=>r("export"),size:"small",children:C.jsx(Bt,{arrow:!0,title:me.get("Export data"),children:C.jsx(yPe,{})})}),c=C.jsx(Xt,{onClick:()=>r("settings"),size:"small",children:C.jsx(Bt,{arrow:!0,title:me.get("Settings"),children:C.jsx(mPe,{})})})),C.jsx(tfn,{variant:"standard",children:C.jsxs(ot,{children:[l,u,c,a]})})}const rfn=t=>({locale:t.controlState.locale,visible:!!(t.controlState.selectedDatasetId||t.controlState.selectedPlaceId),sidebarOpen:t.controlState.sidebarOpen,compact:Pn.instance.branding.compact,allowRefresh:Pn.instance.branding.allowRefresh}),ifn={setSidebarOpen:Lae,openDialog:bb,updateResources:G6e},ofn=Rn(rfn,ifn)(nfn),sfn=t=>({locale:t.controlState.locale,show:t.dataState.datasets.length>0}),afn={},lfn=({show:t})=>t?C.jsxs(Ktn,{children:[C.jsx(nnn,{}),C.jsx(fnn,{}),C.jsx(mnn,{}),C.jsx(Snn,{}),C.jsx(Dnn,{}),C.jsx(Ncn,{}),C.jsx(Jcn,{}),C.jsx(Wcn,{}),C.jsx(ofn,{})]}):null,ufn=Rn(sfn,afn)(lfn);function nVe(t){const e=D.useRef(null),n=D.useRef(o=>{if(o.buttons===1&&e.current!==null){o.preventDefault();const{screenX:s,screenY:a}=o,[l,u]=e.current,c=[s-l,a-u];e.current=[s,a],t(c)}}),r=D.useRef(o=>{o.buttons===1&&(o.preventDefault(),document.body.addEventListener("mousemove",n.current),document.body.addEventListener("mouseup",i.current),document.body.addEventListener("onmouseleave",i.current),e.current=[o.screenX,o.screenY])}),i=D.useRef(o=>{e.current!==null&&(o.preventDefault(),e.current=null,document.body.removeEventListener("mousemove",n.current),document.body.removeEventListener("mouseup",i.current),document.body.removeEventListener("onmouseleave",i.current))});return r.current}const u1e={hor:t=>({flex:"none",border:"none",outline:"none",width:"8px",minHeight:"100%",maxHeight:"100%",cursor:"col-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0}),ver:t=>({flex:"none",border:"none",outline:"none",height:"8px",minWidth:"100%",maxWidth:"100%",cursor:"row-resize",backgroundColor:t.palette.mode==="dark"?"white":"black",opacity:0})};function cfn({dir:t,onChange:e}){const r=nVe(([i,o])=>{e(i)});return C.jsx(ot,{sx:t==="hor"?u1e.hor:u1e.ver,onMouseDown:r})}const xL={hor:{display:"flex",flexFlow:"row nowrap",flex:"auto"},ver:{height:"100%",display:"flex",flexFlow:"column nowrap",flex:"auto"},childHor:{flex:"none"},childVer:{flex:"none"}};function ffn({dir:t,splitPosition:e,setSplitPosition:n,children:r,style:i,child1Style:o,child2Style:s}){const a=D.useRef(null);if(!r||!Array.isArray(r)||r.length!==2)return null;const l=t==="hor"?xL.childHor:xL.childVer,u=t==="hor"?{width:e}:{height:e},c=f=>{a.current&&vr(a.current.clientWidth)&&n(a.current.clientWidth+f)};return C.jsxs("div",{id:"SplitPane",style:{...i,...t==="hor"?xL.hor:xL.ver},children:[C.jsx("div",{ref:a,id:"SplitPane-Child-1",style:{...l,...o,...u},children:r[0]}),C.jsx(cfn,{dir:t,onChange:c}),C.jsx("div",{id:"SplitPane-Child-2",style:{...l,...s},children:r[1]})]})}const dfn=({placeGroup:t,mapProjection:e,visible:n})=>{const r=D.useRef(new GM);return D.useEffect(()=>{const i=r.current,o=t.features;if(o.length===0)i.clear();else{const s=i.getFeatures(),a=new Set(s.map(f=>f.getId())),l=new Set(o.map(f=>f.id)),u=o.filter(f=>!a.has(f.id));s.filter(f=>!l.has(f.getId()+"")).forEach(f=>i.removeFeature(f)),u.forEach(f=>{const d=new tb().readFeature(f,{dataProjection:"EPSG:4326",featureProjection:e});d.getId()!==f.id&&d.setId(f.id);const h=(f.properties||{}).color||"red",p=(f.properties||{}).opacity,g=(f.properties||{}).source?"diamond":"circle";Oae(d,h,Dee(p),g),i.addFeature(d)})}},[t,e]),C.jsx($4,{id:t.id,opacity:t.id===_f?1:.8,visible:n,zIndex:501,source:r.current})};class hfn extends sO{addMapObject(e){const n=new eyt(this.getOptions());return e.addControl(n),n}updateMapObject(e,n,r){return n.setProperties(this.getOptions()),n}removeMapObject(e,n){e.removeControl(n)}}class I9 extends sO{addMapObject(e){const n=new Pyt(this.getOptions()),r=!!this.props.active;return n.setActive(r),e.addInteraction(n),r&&this.listen(n,this.props),n}updateMapObject(e,n,r){n.setProperties(this.getOptions());const i=!!this.props.active;return n.setActive(i),this.unlisten(n,r),i&&this.listen(n,this.props),n}removeMapObject(e,n){this.unlisten(n,this.props),e.removeInteraction(n)}getOptions(){const e=super.getOptions();delete e.layerId,delete e.active,delete e.onDrawStart,delete e.onDrawEnd;const n=this.props.layerId;if(n&&!e.source){const r=this.getMapObject(n);r&&(e.source=r.getSource())}return e}listen(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.on("drawstart",r),i&&e.on("drawend",i)}unlisten(e,n){const{onDrawStart:r,onDrawEnd:i}=n;r&&e.un("drawstart",r),i&&e.un("drawend",i)}}class pfn extends sO{addMapObject(e){return this.updateView(e)}removeMapObject(e,n){}updateMapObject(e,n){return this.updateView(e)}updateView(e){const n=this.props.projection;let r=e.getView().getProjection();if(typeof n=="string"&&r&&(r=r.getCode()),n&&n!==r){const i=e.getView(),o=new zp({...this.props,center:O4(i.getCenter()||[0,0],r,n),minZoom:i.getMinZoom(),zoom:i.getZoom()});e.getLayers().forEach(s=>{s instanceof R4&&s.getSource().forEachFeature(a=>{var l;(l=a.getGeometry())==null||l.transform(r,n)})}),e.setView(o)}else e.getView().setProperties(this.props);return e.getView()}}function bL(t,e){const n=t.getLayers();for(let r=0;r{if(P){const j=O||null;if(j!==R&&Ku[L9]){const F=Ku[L9].getSource();if(F.clear(),j){const H=xfn(P,j);if(H){const q=H.clone();q.setId("select-"+H.getId()),q.setStyle(void 0),F.addFeature(q)}}I(j)}}},[P,O,R]),D.useEffect(()=>{P&&P.getLayers().forEach(j=>{j instanceof ZMe?j.getSource().changed():j.changed()})},[P,E]),D.useEffect(()=>{if(P===null||!vr(M))return;const j=ee=>{f1e(P,ee,M,0)},N=ee=>{f1e(P,ee,M,1)},F=ee=>{ee.context.restore()},H=bL(P,"rgb2"),q=bL(P,"variable2"),Y=bL(P,"rgb"),le=bL(P,"variable"),K=[[H,j],[q,j],[Y,N],[le,N]];for(const[ee,re]of K)ee&&(ee.on("prerender",re),ee.on("postrender",F));return()=>{for(const[ee,re]of K)ee&&(ee.un("prerender",re),ee.un("postrender",F))}});const B=j=>{if(n==="Select"){const N=j.map;let F=null;const H=N.getFeaturesAtPixel(j.pixel);if(H){for(const q of H)if(typeof q.getId=="function"){F=q.getId()+"";break}}S&&S(F,k,!1)}},$=j=>{var N;if(P!==null&&y&&n!=="Select"){const F=j.feature;let H=F.getGeometry();if(!H)return;const q=Uf(eO+n.toLowerCase()+"-"),Y=P.getView().getProjection();if(H instanceof Cte){const te=bpt(H);F.setGeometry(te)}H=F.clone().getGeometry().transform(Y,oO);const le=new tb().writeGeometryObject(H);F.setId(q);let K=0;if(Ku[_f]){const te=Ku[_f],ae=(N=te==null?void 0:te.getSource())==null?void 0:N.getFeatures();ae&&(K=ae.length)}const ee=bfn(b,n),re=t1(K),ge=tPe(re,t.palette.mode);Oae(F,ge,Dee()),y(v,q,{label:ee,color:re},le,!0)}return!0};function z(j){A&&A(j),T(j)}const L=j=>{x&&j.forEach(N=>{const F=new FileReader;F.onloadend=()=>{typeof F.result=="string"&&x(F.result)},F.readAsText(N,"UTF-8")})};return C.jsx(pPe,{children:C.jsxs(x0t,{id:e,onClick:j=>B(j),onMapRef:z,mapObjects:Ku,isStale:!0,onDropFiles:L,children:[C.jsx(pfn,{id:"view",projection:r}),C.jsxs(KMe,{children:[i,o,s,a,l,f,u,C.jsx($4,{id:L9,opacity:.7,zIndex:500,style:vfn,source:gfn}),C.jsx(C.Fragment,{children:b.map(j=>C.jsx(dfn,{placeGroup:j,mapProjection:r,visible:_&&w[j.id]},j.id))})]}),c,C.jsx(I9,{id:"drawPoint",layerId:_f,active:n==="Point",type:"Point",wrapX:!0,stopClick:!0,onDrawEnd:$}),C.jsx(I9,{id:"drawPolygon",layerId:_f,active:n==="Polygon",type:"Polygon",wrapX:!0,stopClick:!0,onDrawEnd:$}),C.jsx(I9,{id:"drawCircle",layerId:_f,active:n==="Circle",type:"Circle",wrapX:!0,stopClick:!0,onDrawEnd:$}),d,h,g,m,p,C.jsx(hfn,{bar:!1})]})})}function xfn(t,e){var n;for(const r of t.getLayers().getArray())if(r instanceof R4){const o=(n=r.getSource())==null?void 0:n.getFeatureById(e);if(o)return o}return null}function bfn(t,e){const n=me.get(e),r=t.find(i=>i.id===_f);if(r)for(let i=1;;i++){const o=`${n} ${i}`;if(!!!r.features.find(a=>a.properties?a.properties.label===o:!1))return o}return`${n} 1`}function f1e(t,e,n,r){const i=t.getSize();if(!i)return;const o=i[0],s=i[1];let a,l,u,c;r===0?(a=dm(e,[0,0]),l=dm(e,[n,0]),u=dm(e,[0,s]),c=dm(e,[n,s])):(a=dm(e,[n,0]),l=dm(e,[o,0]),u=dm(e,[n,s]),c=dm(e,[o,s]));const f=e.context;f.save(),f.beginPath(),f.moveTo(a[0],a[1]),f.lineTo(u[0],u[1]),f.lineTo(c[0],c[1]),f.lineTo(l[0],l[1]),f.closePath(),f.clip()}const wL=1,oP=.2,qO=240,iVe=20,_L={container:{width:qO},itemContainer:{display:"flex",alignItems:"center",justifyContent:"flex-start"},itemLabelBox:{paddingLeft:1,fontSize:"small"},itemColorBox:t=>({width:"48px",height:"16px",borderStyle:"solid",borderColor:t.palette.mode==="dark"?"lightgray":"darkgray",borderWidth:1})};function wfn({categories:t,onOpenColorBarEditor:e}){return!t||t.length===0?null:C.jsx(ot,{sx:_L.container,children:t.map((n,r)=>C.jsxs(ot,{onClick:e,sx:_L.itemContainer,children:[C.jsx(ot,{sx:_L.itemColorBox,style:{backgroundColor:n.color}}),C.jsx(ot,{component:"span",sx:_L.itemLabelBox,children:`${n.label||`Category ${r+1}`} (${n.value})`})]},r))})}const d1e={nominal:{cursor:"pointer"},error:{cursor:"pointer",border:"0.5px solid red"}};function _fn({colorBar:t,opacity:e,width:n,height:r,onClick:i}){const o=D.useRef(null);D.useEffect(()=>{const u=o.current;u!==null&&ywt(t,e,u)},[t,e]);const{baseName:s,imageData:a}=t,l=a?s:me.get("Unknown color bar")+`: ${s}`;return C.jsx(Bt,{title:l,children:C.jsx("canvas",{ref:o,width:n||qO,height:r||iVe+4,onClick:i,style:a?d1e.nominal:d1e.error})})}function Sfn(t,e,n=5,r=!1,i=!1){return _Q(Ofn(t,e,n,r),i)}function _Q(t,e=!1){return t.map(n=>xy(n,void 0,e))}function xy(t,e,n){if(e===void 0&&(e=n?2:Cfn(t)),n)return t.toExponential(e);const r=Math.round(t);if(r===t||Math.abs(r-t)<1e-8)return r+"";{let i=t.toFixed(e);if(i.includes("."))for(;i.endsWith("0")&&!i.endsWith(".0");)i=i.substring(0,i.length-1);return i}}function Cfn(t){if(t===0||t===Math.floor(t))return 0;const e=Math.floor(Math.log10(Math.abs(t)));return Math.min(16,Math.max(2,e<0?1-e:0))}function Ofn(t,e,n,r){const i=new Array(n);if(r){const o=Math.log10(t),a=(Math.log10(e)-o)/(n-1);for(let l=1;lSfn(t,e,n,r),[t,e,n,r]);return C.jsx(ot,{sx:Efn.container,onClick:i,children:o.map((s,a)=>C.jsx("span",{children:s},a))})}const kfn=ut(C.jsx("path",{d:"M8 19h3v3h2v-3h3l-4-4zm8-15h-3V1h-2v3H8l4 4zM4 9v2h16V9zm0 3h16v2H4z"}),"Compress"),h1e=t=>t,Afn=t=>Math.pow(10,t),Pfn=Math.log10,p1e=(t,e)=>typeof t=="number"?e(t):t.map(e);class Mfn{constructor(e){gn(this,"_fn");gn(this,"_invFn");e?(this._fn=Pfn,this._invFn=Afn):(this._fn=h1e,this._invFn=h1e)}scale(e){return p1e(e,this._fn)}scaleInv(e){return p1e(e,this._invFn)}}function Rfn({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableOpacity:r,updateVariableColorBar:i,originalColorBarMinMax:o}){const s=D.useMemo(()=>new Mfn(n==="log"),[n]),[a,l]=D.useState(()=>s.scale(e));D.useEffect(()=>{l(s.scale(e))},[s,e]);const u=(k,E)=>{Array.isArray(E)&&l(E)},c=(k,E)=>{if(Array.isArray(E)){const A=_Q(s.scaleInv(E)).map(P=>Number.parseFloat(P));i(t,A,n,r)}},[f,d]=s.scale(o),h=f=2?v=Math.max(2,Math.round(m/2)):(v=4,m=8);const y=f({value:S[E],label:k}));return C.jsx(XC,{min:b,max:w,value:a,marks:O,step:_,valueLabelFormat:k=>xy(s.scaleInv(k)),onChange:u,onChangeCommitted:c,valueLabelDisplay:"auto",size:"small"})}const $9=5,ym={container:t=>({marginTop:t.spacing(2),marginBottom:t.spacing(2),display:"flex",flexDirection:"column",gap:1}),header:{display:"flex",alignItems:"center",justifyContent:"space-between"},title:{paddingLeft:2,fontWeight:"bold"},sliderBox:t=>({marginTop:t.spacing(1),marginLeft:t.spacing($9),marginRight:t.spacing($9),minWidth:320,width:`calc(100% - ${t.spacing(2*($9+1))}px)`}),logLabel:{margin:0,paddingRight:2,fontWeight:"bold"},minMaxBox:{display:"flex",justifyContent:"center"},minTextField:{maxWidth:"8em",marginRight:2},maxTextField:{maxWidth:"8em",marginLeft:2}};function Dfn({variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o}){const[s,a]=D.useState(n),[l,u]=D.useState(n),[c,f]=D.useState(g1e(n)),[d,h]=D.useState([!1,!1]);D.useEffect(()=>{f(g1e(n))},[n]);const p=y=>{const x=y.target.value;f([x,c[1]]);const b=Number.parseFloat(x);let w=!1;if(!Number.isNaN(b)&&b{const x=y.target.value;f([c[0],x]);const b=Number.parseFloat(x);let w=!1;if(!Number.isNaN(b)&&b>s[0]){if(b!==s[1]){const _=[s[0],b];a(_),u(_),o(e,_,r,i)}}else w=!0;h([d[0],w])},m=()=>{const y=t.colorRecords,x=y[0].value,b=y[y.length-1].value,w=[x,b];a(w),u(w),o(e,w,r,i),h([!1,!1])},v=(y,x)=>{o(e,n,x?"log":"lin",i)};return C.jsxs(ot,{sx:ym.container,children:[C.jsxs(ot,{sx:ym.header,children:[C.jsx(Jt,{sx:ym.title,children:me.get("Value Range")}),C.jsx("span",{style:{flexGrow:1}}),t.colorRecords&&C.jsx(lc,{sx:{marginRight:1},icon:C.jsx(kfn,{}),onClick:m,tooltipText:me.get("Set min/max from color mapping values")}),C.jsx(kx,{sx:ym.logLabel,control:C.jsx(Bt,{title:me.get("Logarithmic scaling"),children:C.jsx(YAe,{checked:r==="log",onChange:v,size:"small"})}),label:C.jsx(Jt,{variant:"body2",children:me.get("Log-scaled")}),labelPlacement:"start"})]}),C.jsx(ot,{sx:ym.sliderBox,children:C.jsx(Rfn,{variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,updateVariableColorBar:o,originalColorBarMinMax:l,variableOpacity:i})}),C.jsxs(ot,{component:"form",sx:ym.minMaxBox,children:[C.jsx(ci,{sx:ym.minTextField,label:"Minimum",variant:"filled",size:"small",value:c[0],error:d[0],onChange:y=>p(y)}),C.jsx(ci,{sx:ym.maxTextField,label:"Maximum",variant:"filled",size:"small",value:c[1],error:d[1],onChange:y=>g(y)})]})]})}function g1e(t){return[t[0]+"",t[1]+""]}function Ifn({variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o,onOpenColorBarEditor:s}){const[a,l]=D.useState(null),u=f=>{l(f.currentTarget)},c=()=>{l(null)};return C.jsxs(C.Fragment,{children:[C.jsx(_fn,{colorBar:t,opacity:i,onClick:s}),C.jsx(Tfn,{minValue:n[0],maxValue:n[1],numTicks:5,logScaled:r==="log",onClick:u}),C.jsx(Y1,{anchorEl:a,open:!!a,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:C.jsx(Dfn,{variableColorBar:t,variableColorBarName:e,variableColorBarMinMax:n,variableColorBarNorm:r,variableOpacity:i,updateVariableColorBar:o})})]})}const Lfn=ut(C.jsx("path",{d:"M12 4.81V19c-3.31 0-6-2.63-6-5.87 0-1.56.62-3.03 1.75-4.14zM6.35 7.56C4.9 8.99 4 10.96 4 13.13 4 17.48 7.58 21 12 21s8-3.52 8-7.87c0-2.17-.9-4.14-2.35-5.57L12 2z"}),"InvertColors"),$fn=ut(C.jsx("path",{d:"M17.66 8 12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8M6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14z"}),"Opacity"),b2={container:{display:"flex",alignItems:"center",justifyContent:"space-between"},settingsBar:{display:"flex",gap:"1px"},toggleButton:{paddingTop:"2px",paddingBottom:"2px"},opacityContainer:{display:"flex",alignItems:"center"},opacityLabel:t=>({color:t.palette.text.secondary}),opacitySlider:{flexGrow:"1px",marginLeft:"10px",marginRight:"10px"}};function Ffn({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o}){const s=()=>{const u=!r.isAlpha;t=uN({...r,isAlpha:u}),o(t,e,n,i)},a=()=>{const u=!r.isReversed;t=uN({...r,isReversed:u}),o(t,e,n,i)},l=(u,c)=>{o(t,e,n,c)};return C.jsxs(C.Fragment,{children:[C.jsx(ot,{sx:b2.container,children:C.jsxs(ot,{sx:b2.settingsBar,children:[C.jsx(Bt,{arrow:!0,title:me.get("Hide small values"),children:C.jsx(yr,{value:"alpha",selected:r.isAlpha,onChange:s,size:"small",children:C.jsx($fn,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Reverse"),children:C.jsx(yr,{value:"reverse",selected:r.isReversed,onChange:a,size:"small",children:C.jsx(Lfn,{fontSize:"inherit"})})})]})}),C.jsxs(ot,{component:"div",sx:b2.opacityContainer,children:[C.jsx(ot,{component:"span",fontSize:"small",sx:b2.opacityLabel,children:me.get("Opacity")}),C.jsx(XC,{min:0,max:1,value:i,step:.01,sx:b2.opacitySlider,onChange:l,size:"small"})]})]})}const Nfn={colorBarGroupTitle:t=>({marginTop:t.spacing(2*oP),fontSize:"small",color:t.palette.text.secondary})};function oVe({title:t,description:e}){return C.jsx(Bt,{arrow:!0,title:e,placement:"left",children:C.jsx(ot,{sx:Nfn.colorBarGroupTitle,children:t})})}const m1e=t=>({marginTop:t.spacing(oP),height:20,borderWidth:1,borderStyle:"solid",cursor:"pointer"}),v1e={colorBarItem:t=>({...m1e(t),borderColor:t.palette.mode==="dark"?"lightgray":"darkgray"}),colorBarItemSelected:t=>({...m1e(t),borderColor:"blue"})};function cle({imageData:t,selected:e,onSelect:n,width:r,title:i}){let o=C.jsx("img",{src:t?`data:image/png;base64,${t}`:void 0,alt:t?"color bar":"error",width:"100%",height:"100%",onClick:n});return i&&(o=C.jsx(Bt,{arrow:!0,title:i,placement:"left",children:o})),C.jsx(ot,{width:r||qO,sx:e?v1e.colorBarItemSelected:v1e.colorBarItem,children:o})}function zfn({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,images:r}){return C.jsxs(C.Fragment,{children:[C.jsx(oVe,{title:t.title,description:t.description}),t.names.map(i=>C.jsx(cle,{title:i,imageData:r[i],selected:i===e,onSelect:()=>n(i)},i))]})}const EU=ut(C.jsx("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline");function sVe(){const t=D.useRef(),e=D.useRef(()=>{t.current&&(t.current(),t.current=void 0)}),n=D.useRef(r=>{t.current=r});return D.useEffect(()=>e.current,[]),[e.current,n.current]}const jfn=ut(C.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel"),Bfn=ut(C.jsx("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done");function Ufn({anchorEl:t,markdownText:e,open:n,onClose:r}){if(!e)return null;const i={code:o=>{const{node:s,...a}=o;return C.jsx("code",{...a,style:{color:"green"}})}};return C.jsx(Y1,{anchorEl:t,open:n,onClose:r,children:C.jsx(Tl,{sx:{width:"32em",overflowY:"auto",fontSize:"smaller",paddingLeft:2,paddingRight:2},children:C.jsx(mU,{children:e,components:i,linkTarget:"_blank"})})})}function aVe({size:t,helpUrl:e}){const[n,r]=D.useState(null),i=D.useRef(null),o=z8e(e),s=()=>{r(i.current)},a=()=>{r(null)};return C.jsxs(C.Fragment,{children:[C.jsx(Xt,{onClick:s,size:t,ref:i,children:C.jsx(gPe,{fontSize:"inherit"})}),C.jsx(Ufn,{anchorEl:n,open:!!n,onClose:a,markdownText:o})]})}const y1e={container:{display:"flex",justifyContent:"space-between",gap:.2},doneCancel:{display:"flex",gap:.2}};function nD({onDone:t,onCancel:e,doneDisabled:n,cancelDisabled:r,size:i,helpUrl:o}){return C.jsxs(ot,{sx:y1e.container,children:[C.jsx(ot,{children:o&&C.jsx(aVe,{size:i,helpUrl:o})}),C.jsxs(ot,{sx:y1e.doneCancel,children:[C.jsx(Xt,{onClick:t,color:"primary",disabled:n,size:i,children:C.jsx(Bfn,{fontSize:"inherit"})}),C.jsx(Xt,{onClick:e,color:"primary",disabled:r,size:i,children:C.jsx(jfn,{fontSize:"inherit"})})]})]})}const F9={radioGroup:{marginLeft:1},radio:{padding:"4px"},label:{fontSize:"small"}},Wfn=[["continuous","Contin.","Continuous color assignment, where each value represents a support point of a color gradient"],["stepwise","Stepwise","Stepwise color mapping where values are bounds of value ranges mapped to the same single color"],["categorical","Categ.","Values represent unique categories or indexes that are mapped to a color"]];function Vfn({colorMapType:t,setColorMapType:e}){return C.jsx(Tee,{row:!0,value:t,onChange:(n,r)=>{e(r)},sx:F9.radioGroup,children:Wfn.map(([n,r,i])=>C.jsx(Bt,{arrow:!0,title:me.get(i),children:C.jsx(kx,{value:n,control:C.jsx(JT,{size:"small",sx:F9.radio}),label:C.jsx(ot,{component:"span",sx:F9.label,children:me.get(r)})})},n))})}function Gfn({userColorBar:t,updateUserColorBar:e,selected:n,onSelect:r,onDone:i,onCancel:o}){const s=l=>{e({...t,code:l.currentTarget.value})},a=l=>{e({...t,type:l})};return C.jsxs(ot,{children:[C.jsx(cle,{imageData:t.imageData,title:t.errorMessage,selected:n,onSelect:r}),C.jsx(Vfn,{colorMapType:t.type,setColorMapType:a}),C.jsx(ci,{label:"Color mapping",placeholder:sMe,multiline:!0,fullWidth:!0,size:"small",minRows:3,sx:{marginTop:1,fontFamily:"monospace"},value:t.code,onChange:s,color:t.errorMessage?"error":"primary",inputProps:{style:{fontFamily:"monospace",fontSize:12}}}),C.jsx(nD,{onDone:i,onCancel:o,doneDisabled:!!t.errorMessage,size:"small",helpUrl:me.get("docs/color-mappings.en.md")})]})}const Hfn=ut(C.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),qfn={container:{display:"flex",alignItems:"center",width:qO,height:iVe,gap:oP,marginTop:oP}};function Xfn({imageData:t,title:e,selected:n,onEdit:r,onRemove:i,onSelect:o,disabled:s}){const[a,l]=D.useState(null),u=p=>{l(p.currentTarget)},c=()=>{l(null)},f=()=>{l(null),r()},d=()=>{l(null),i()},h=!!a;return C.jsxs(C.Fragment,{children:[C.jsxs(ot,{sx:qfn.container,children:[C.jsx(cle,{imageData:t,selected:n,onSelect:o,width:qO-20,title:e}),C.jsx(Xt,{size:"small",onClick:u,children:C.jsx(Hfn,{fontSize:"inherit"})})]}),C.jsx(Y1,{anchorOrigin:{vertical:"center",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},open:h,anchorEl:a,onClose:c,children:C.jsxs(ot,{children:[C.jsx(Xt,{onClick:f,size:"small",disabled:s,children:C.jsx(VO,{fontSize:"inherit"})}),C.jsx(Xt,{onClick:d,size:"small",disabled:s,children:C.jsx(vU,{fontSize:"inherit"})})]})})]})}const Yfn={container:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:1}};function Qfn({colorBarGroup:t,selectedColorBarName:e,onSelectColorBar:n,userColorBars:r,addUserColorBar:i,removeUserColorBar:o,updateUserColorBar:s,updateUserColorBars:a,storeSettings:l}){const[u,c]=D.useState({}),[f,d]=sVe(),h=D.useMemo(()=>r.findIndex(x=>x.id===u.colorBarId),[r,u.colorBarId]),p=()=>{d(()=>a(r));const x=Uf("ucb");i(x),c({action:"add",colorBarId:x})},g=x=>{d(()=>a(r)),c({action:"edit",colorBarId:x})},m=x=>{d(void 0),o(x)},v=()=>{d(void 0),c({}),l()},y=()=>{f(),c({})};return C.jsxs(C.Fragment,{children:[C.jsxs(ot,{sx:Yfn.container,children:[C.jsx(oVe,{title:me.get(t.title),description:me.get(t.description)}),C.jsx(Xt,{onClick:p,size:"small",color:"primary",disabled:!!u.action,children:C.jsx(EU,{fontSize:"inherit"})})]}),r.map(x=>x.id===u.colorBarId&&h>=0?C.jsx(Gfn,{userColorBar:x,updateUserColorBar:s,selected:x.id===e,onSelect:()=>n(x.id),onDone:v,onCancel:y},x.id):C.jsx(Xfn,{imageData:x.imageData,title:x.errorMessage,disabled:!!u.action,selected:x.id===e,onSelect:()=>n(x.id),onEdit:()=>g(x.id),onRemove:()=>m(x.id)},x.id))]})}function Kfn({variableColorBarName:t,variableColorBarMinMax:e,variableColorBarNorm:n,variableColorBar:r,variableOpacity:i,updateVariableColorBar:o,colorBars:s,userColorBars:a,addUserColorBar:l,removeUserColorBar:u,updateUserColorBar:c,updateUserColorBars:f,storeSettings:d}){const h=p=>{t=uN({...r,baseName:p}),o(t,e,n,i)};return C.jsx(C.Fragment,{children:s.groups.map(p=>p.title===oMe?C.jsx(Qfn,{colorBarGroup:p,selectedColorBarName:r.baseName,onSelectColorBar:h,userColorBars:a,addUserColorBar:l,removeUserColorBar:u,updateUserColorBar:c,updateUserColorBars:f,storeSettings:d},p.title):C.jsx(zfn,{colorBarGroup:p,selectedColorBarName:r.baseName,onSelectColorBar:h,images:s.images},p.title))})}const Zfn={colorBarBox:t=>({marginTop:t.spacing(wL-2*oP),marginLeft:t.spacing(wL),marginRight:t.spacing(wL),marginBottom:t.spacing(wL)})};function Jfn(t){const{colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:s,...a}=t;return C.jsxs(ot,{sx:Zfn.colorBarBox,children:[C.jsx(Ffn,{...a}),C.jsx(Kfn,{...a,colorBars:e,userColorBars:n,addUserColorBar:r,removeUserColorBar:i,updateUserColorBar:o,updateUserColorBars:s})]})}const x1e={container:t=>({position:"absolute",zIndex:1e3,top:10,borderRadius:"5px",borderWidth:"1px",borderStyle:"solid",borderColor:"#00000020",backgroundColor:"#FFFFFFAA",color:"black",maxWidth:`${qO+20}px`,paddingLeft:t.spacing(1.5),paddingRight:t.spacing(1.5),paddingBottom:t.spacing(.5),paddingTop:t.spacing(.5)}),title:t=>({fontSize:"small",fontWeight:"bold",width:"100%",display:"flex",wordBreak:"break-word",wordWrap:"break-word",justifyContent:"center",paddingBottom:t.spacing(.5)})};function lVe(t){const{variableName:e,variableTitle:n,variableUnits:r,variableColorBar:i,style:o}=t,s=D.useRef(null),[a,l]=D.useState(null),u=()=>{l(s.current)},c=()=>{l(null)};if(!e)return null;const f=i.type==="categorical"?n||e:`${n||e} (${r||"-"})`;return C.jsxs(ot,{sx:x1e.container,style:o,ref:s,children:[C.jsx(Jt,{sx:x1e.title,children:f}),i.type==="categorical"?C.jsx(wfn,{categories:i.colorRecords,onOpenColorBarEditor:u,...t}):C.jsx(Ifn,{onOpenColorBarEditor:u,...t}),C.jsx(Y1,{anchorEl:a,open:!!a,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:C.jsx(Jfn,{...t})})]})}const edn=t=>({variableName:uO(t),variableTitle:Zwt(t),variableUnits:e_t(t),variableColorBarName:z4(t),variableColorBarMinMax:ZRe(t),variableColorBarNorm:tDe(t),variableColorBar:jte(t),variableOpacity:aDe(t),userColorBars:nb(t),colorBars:B4(t),style:{right:10}}),tdn={updateVariableColorBar:XQt,addUserColorBar:XUe,removeUserColorBar:KUe,updateUserColorBar:ZUe,updateUserColorBars:t8e,storeSettings:qUe},ndn=Rn(edn,tdn)(lVe),rdn=t=>{const e=t.controlState.variableSplitPos;return{variableName:e?VRe(t):null,variableTitle:Jwt(t),variableUnits:t_t(t),variableColorBarName:j4(t),variableColorBarMinMax:JRe(t),variableColorBarNorm:nDe(t),variableColorBar:iDe(t),variableOpacity:lDe(t),userColorBars:nb(t),colorBars:B4(t),style:{left:e?e-280:0}}},idn={updateVariableColorBar:YQt,addUserColorBar:XUe,removeUserColorBar:KUe,updateUserColorBar:ZUe,updateUserColorBars:t8e,storeSettings:qUe},odn=Rn(rdn,idn)(lVe),sdn={splitter:{position:"absolute",top:0,left:"50%",width:"6px",height:"100%",backgroundColor:"#ffffff60",zIndex:999,borderLeft:"0.5px solid #ffffffd0",borderRight:"0.5px solid #ffffffd0",cursor:"col-resize",boxShadow:"0px 0px 1px 0px black"}};function adn({hidden:t,position:e,onPositionChange:n}){const r=D.useRef(null),i=D.useRef(([s,a])=>{r.current!==null&&n(r.current.offsetLeft+s)}),o=nVe(i.current);return D.useEffect(()=>{!t&&!vr(e)&&r.current!==null&&r.current.parentElement!==null&&n(Math.round(r.current.parentElement.clientWidth/2))},[t,e,n]),t?null:C.jsx(ot,{id:"MapSplitter",ref:r,sx:sdn.splitter,style:{left:vr(e)?e:"50%"},onMouseDown:o})}const ldn=t=>({hidden:!t.controlState.variableCompareMode,position:t.controlState.variableSplitPos}),udn={onPositionChange:dKt},cdn=Rn(ldn,udn)(adn);function fdn(t,e,n,r,i,o,s){const a=D.useRef(0),[l,u]=D.useState(),[c,f]=D.useState(),[d,h]=D.useState(),p=D.useCallback(async(v,y,x,b,w)=>{w({dataset:v,variable:y,result:{fetching:!0}});try{const _=await ngt(e,v,y,x,b,s,null);console.info(y.name,"=",_),w({dataset:v,variable:y,result:{value:_.value}})}catch(_){w({dataset:v,variable:y,result:{error:_}})}},[e,s]),g=D.useCallback(v=>{const y=v.map;if(!t||!n||!r||!y){f(void 0),h(void 0);return}const x=v.pixel[0],b=v.pixel[1],w=O4(v.coordinate,y.getView().getProjection().getCode(),"EPSG:4326"),_=w[0],S=w[1];u({pixelX:x,pixelY:b,lon:_,lat:S});const O=new Date().getTime();O-a.current>=500&&(a.current=O,p(n,r,_,S,f).finally(()=>{i&&o&&p(i,o,_,S,h)}))},[p,t,n,r,i,o]),m=Ku.map;return D.useEffect(()=>{if(t&&m){const v=y=>{y.dragging?u(void 0):g(y)};return m.on("pointermove",v),()=>{m.un("pointermove",v)}}else u(void 0)},[t,m,g]),D.useMemo(()=>l&&c?{location:l,payload:c,payload2:d}:null,[l,c,d])}const fp={container:{display:"grid",gridTemplateColumns:"auto minmax(60px, auto)",gap:0,padding:1,fontSize:"small"},labelItem:{paddingRight:1},valueItem:{textAlign:"right",fontFamily:"monospace"}};function ddn({location:t,payload:e,payload2:n}){return C.jsxs(ot,{sx:fp.container,children:[C.jsx(ot,{sx:fp.labelItem,children:"Longitude"}),C.jsx(ot,{sx:fp.valueItem,children:xy(t.lon,4)}),C.jsx(ot,{sx:fp.labelItem,children:"Latitude"}),C.jsx(ot,{sx:fp.valueItem,children:xy(t.lat,4)}),C.jsx(ot,{sx:fp.labelItem,children:b1e(e)}),C.jsx(ot,{sx:fp.valueItem,children:w1e(e)}),n&&C.jsx(ot,{sx:fp.labelItem,children:b1e(n)}),n&&C.jsx(ot,{sx:fp.valueItem,children:w1e(n)})]})}function b1e(t){const e=t.variable;return e.title||e.name}function w1e(t){const e=t.result;return e.error?`${e.error}`:e.fetching?"...":vr(e.value)?xy(e.value,4):"---"}const hdn={container:{position:"absolute",zIndex:1e3,backgroundColor:"#000000A0",color:"#fff",border:"1px solid #FFFFFF50",borderRadius:"4px",transform:"translateX(3%)",pointerEvents:"none"}};function pdn({enabled:t,serverUrl:e,dataset1:n,variable1:r,dataset2:i,variable2:o,time:s}){const a=fdn(t,e,n,r,i,o,s);if(!a)return null;const{pixelX:l,pixelY:u}=a.location;return C.jsx(ot,{sx:{...hdn.container,left:l,top:u},children:C.jsx(ddn,{...a})})}const gdn=t=>({enabled:t.controlState.mapPointInfoBoxEnabled,serverUrl:Oo(t).url,dataset1:fo(t),variable1:Na(t),dataset2:Fy(t),variable2:Hg(t),time:hO(t)}),mdn={},vdn=Rn(gdn,mdn)(pdn),ydn=ut(C.jsx("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2zm0 15H5l5-6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"Compare"),uVe=ut(C.jsx("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"}),"Layers"),xdn=ut(C.jsx("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 12H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Message"),_1e={position:"absolute",display:"flex",flexDirection:"column",zIndex:1e3};function bdn({style:t,sx:e,children:n}){return C.jsx(ot,{className:"ol-unselectable ol-control",sx:e,style:t?{..._1e,...t}:_1e,children:n})}const cVe={width:"1.375em",height:"1.375em"},wdn={...cVe,backgroundColor:"rgba(0,80,180,0.9)"},_dn={tooltip:{sx:{backgroundColor:"#4A4A4A",border:"1px solid white",borderRadius:0}}};function N9({icon:t,tooltipTitle:e,onClick:n,selected:r,onSelect:i}){const o=s=>{i&&i(s,!r),n&&n(s)};return e&&(t=C.jsx(Bt,{title:e,componentsProps:_dn,children:t})),C.jsx(Xt,{onClick:o,style:r?wdn:cVe,children:t})}const Sdn={left:"0.5em",top:65};function Cdn({layerMenuOpen:t,setLayerMenuOpen:e,variableCompareMode:n,setVariableCompareMode:r,mapPointInfoBoxEnabled:i,setMapPointInfoBoxEnabled:o}){return C.jsxs(bdn,{style:Sdn,children:[C.jsx(N9,{icon:C.jsx(uVe,{fontSize:"small"}),tooltipTitle:me.get("Show or hide layers panel"),selected:t,onSelect:(s,a)=>void e(a)}),C.jsx(N9,{icon:C.jsx(ydn,{fontSize:"small"}),tooltipTitle:me.get("Turn layer split mode on or off"),selected:n,onSelect:(s,a)=>void r(a)}),C.jsx(N9,{icon:C.jsx(xdn,{fontSize:"small"}),tooltipTitle:me.get("Turn info box on or off"),selected:i,onSelect:(s,a)=>void o(a)})]})}const Odn=t=>({layerMenuOpen:t.controlState.layerMenuOpen,variableCompareMode:t.controlState.variableCompareMode,mapPointInfoBoxEnabled:t.controlState.mapPointInfoBoxEnabled}),Edn={setLayerMenuOpen:RUe,setVariableCompareMode:fKt,setMapPointInfoBoxEnabled:cKt},Tdn=Rn(Odn,Edn)(Cdn),kdn=(t,e)=>({mapId:"map",locale:t.controlState.locale,variableLayer:O_t(t),variable2Layer:E_t(t),rgbLayer:T_t(t),rgb2Layer:k_t(t),datasetBoundaryLayer:C_t(t),placeGroupLayers:R_t(t),colorBarLegend:C.jsx(ndn,{}),colorBarLegend2:C.jsx(odn,{}),mapSplitter:C.jsx(cdn,{}),mapPointInfoBox:C.jsx(vdn,{}),mapControlActions:C.jsx(Tdn,{}),userDrawnPlaceGroupName:t.controlState.userDrawnPlaceGroupName,userPlaceGroups:XM(t),userPlaceGroupsVisibility:a_t(t),showUserPlaces:GRe(t),mapInteraction:t.controlState.mapInteraction,mapProjection:$y(t),selectedPlaceId:t.controlState.selectedPlaceId,places:ZM(t),baseMapLayer:$_t(t),overlayLayer:F_t(t),imageSmoothing:KM(t),variableSplitPos:t.controlState.variableSplitPos,onMapRef:e.onMapRef}),Adn={addDrawnUserPlace:EQt,importUserPlacesFromText:X6e,selectPlace:eU},S1e=Rn(kdn,Adn)(yfn),fVe=ut(C.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info"),Pdn=ut(C.jsx("path",{d:"m2 19.99 7.5-7.51 4 4 7.09-7.97L22 9.92l-8.5 9.56-4-4-6 6.01zm1.5-4.5 6-6.01 4 4L22 3.92l-1.41-1.41-7.09 7.97-4-4L2 13.99z"}),"StackedLineChart"),Mdn=ut(C.jsx("path",{d:"M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95s.33.5.56.69c.24.18.51.32.82.41q.45.15.96.15c.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72.2-.61.2-.97c0-.19-.02-.38-.07-.56s-.12-.35-.23-.51c-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33s.27-.27.37-.42.17-.3.22-.46.07-.32.07-.48q0-.54-.18-.96t-.51-.69c-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3q0-.255.09-.45c.09-.195.14-.25.25-.34s.23-.17.38-.22.3-.08.48-.08c.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49s-.14.27-.25.37-.25.18-.41.24-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4s.1.35.1.57c0 .41-.12.72-.35.93-.23.23-.55.33-.95.33m8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27s.84-.43 1.16-.76.57-.73.74-1.19c.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57q-.27-.705-.75-1.2m-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85s-.43.41-.71.53q-.435.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0"}),"ThreeDRotation"),Rdn=({contribution:t,panelIndex:e})=>{const n=t.componentResult;return n.status==="pending"?C.jsx(q1,{},t.name):n.error?C.jsx("div",{children:C.jsx(Jt,{color:"error",children:n.error.message})},t.name):t.component?C.jsx(U6e,{...t.component,onChange:r=>{XYt("panels",e,r)}},t.name):null},Ddn=ut(C.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"}),"DataObject"),Idn=ut(C.jsx("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt"),Ldn=ut(C.jsx("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"Place"),$dn=ut(C.jsx("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"}),"TextFields"),Fdn=ut(C.jsx("path",{d:"M13 13v8h8v-8zM3 21h8v-8H3zM3 3v8h8V3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66z"}),"Widgets");let ar=class dVe{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=pC(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),Hd.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=pC(this,e,n);let r=[];return this.decompose(e,n,r,0),Hd.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new Sk(this),o=new Sk(e);for(let s=n,a=n;;){if(i.next(s),o.next(s),s=0,i.lineBreak!=o.lineBreak||i.done!=o.done||i.value!=o.value)return!1;if(a+=i.value.length,i.done||a>=r)return!0}}iter(e=1){return new Sk(this,e)}iterRange(e,n=this.length){return new hVe(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new pVe(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?dVe.empty:e.length<=32?new Wi(e):Hd.from(Wi.split(e,[]))}};class Wi extends ar{constructor(e,n=Ndn(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let o=0;;o++){let s=this.text[o],a=i+s.length;if((n?r:a)>=e)return new zdn(i,a,r,s);i=a+1,r++}}decompose(e,n,r,i){let o=e<=0&&n>=this.length?this:new Wi(C1e(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let s=r.pop(),a=N3(o.text,s.text.slice(),0,o.length);if(a.length<=32)r.push(new Wi(a,s.length+o.length));else{let l=a.length>>1;r.push(new Wi(a.slice(0,l)),new Wi(a.slice(l)))}}else r.push(o)}replace(e,n,r){if(!(r instanceof Wi))return super.replace(e,n,r);[e,n]=pC(this,e,n);let i=N3(this.text,N3(r.text,C1e(this.text,0,e)),n),o=this.length+r.length-(n-e);return i.length<=32?new Wi(i,o):Hd.from(Wi.split(i,[]),o)}sliceString(e,n=this.length,r=` +`){[e,n]=pC(this,e,n);let i="";for(let o=0,s=0;o<=n&&se&&s&&(i+=r),eo&&(i+=a.slice(Math.max(0,e-o),n-o)),o=l+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let o of e)r.push(o),i+=o.length+1,r.length==32&&(n.push(new Wi(r,i)),r=[],i=-1);return i>-1&&n.push(new Wi(r,i)),n}}class Hd extends ar{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let o=0;;o++){let s=this.children[o],a=i+s.length,l=r+s.lines-1;if((n?l:a)>=e)return s.lineInner(e,n,r,i);i=a+1,r=l+1}}decompose(e,n,r,i){for(let o=0,s=0;s<=n&&o=s){let u=i&((s<=e?1:0)|(l>=n?2:0));s>=e&&l<=n&&!u?r.push(a):a.decompose(e-s,n-s,r,u)}s=l+1}}replace(e,n,r){if([e,n]=pC(this,e,n),r.lines=o&&n<=a){let l=s.replace(e-o,n-o,r),u=this.lines-s.lines+l.lines;if(l.lines>4&&l.lines>u>>6){let c=this.children.slice();return c[i]=l,new Hd(c,this.length-(n-e)+r.length)}return super.replace(o,a,l)}o=a+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=` +`){[e,n]=pC(this,e,n);let i="";for(let o=0,s=0;oe&&o&&(i+=r),es&&(i+=a.sliceString(e-s,n-s,r)),s=l+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof Hd))return 0;let r=0,[i,o,s,a]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,o+=n){if(i==s||o==a)return r;let l=this.children[i],u=e.children[o];if(l!=u)return r+l.scanIdentical(u,n);r+=l.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let h of e)r+=h.lines;if(r<32){let h=[];for(let p of e)p.flatten(h);return new Wi(h,n)}let i=Math.max(32,r>>5),o=i<<1,s=i>>1,a=[],l=0,u=-1,c=[];function f(h){let p;if(h.lines>o&&h instanceof Hd)for(let g of h.children)f(g);else h.lines>s&&(l>s||!l)?(d(),a.push(h)):h instanceof Wi&&l&&(p=c[c.length-1])instanceof Wi&&h.lines+p.lines<=32?(l+=h.lines,u+=h.length+1,c[c.length-1]=new Wi(p.text.concat(h.text),p.length+1+h.length)):(l+h.lines>i&&d(),l+=h.lines,u+=h.length+1,c.push(h))}function d(){l!=0&&(a.push(c.length==1?c[0]:Hd.from(c,u)),u=-1,l=c.length=0)}for(let h of e)f(h);return d(),a.length==1?a[0]:new Hd(a,n)}}ar.empty=new Wi([""],0);function Ndn(t){let e=-1;for(let n of t)e+=n.length+1;return e}function N3(t,e,n=0,r=1e9){for(let i=0,o=0,s=!0;o=n&&(l>r&&(a=a.slice(0,r-i)),i0?1:(e instanceof Wi?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],o=this.offsets[r],s=o>>1,a=i instanceof Wi?i.text.length:i.children.length;if(s==(n>0?a:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((o&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(i instanceof Wi){let l=i.text[s+(n<0?-1:0)];if(this.offsets[r]+=n,l.length>Math.max(0,e))return this.value=e==0?l:n>0?l.slice(e):l.slice(0,l.length-e),this;e-=l.length}else{let l=i.children[s+(n<0?-1:0)];e>l.length?(e-=l.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(l),this.offsets.push(n>0?1:(l instanceof Wi?l.text.length:l.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class hVe{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new Sk(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class pVe{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ar.prototype[Symbol.iterator]=function(){return this.iter()},Sk.prototype[Symbol.iterator]=hVe.prototype[Symbol.iterator]=pVe.prototype[Symbol.iterator]=function(){return this});let zdn=class{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};function pC(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}let q_="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,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,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return q_[e-1]<=t;return!1}function O1e(t){return t>=127462&&t<=127487}const E1e=8205;function gs(t,e,n=!0,r=!0){return(n?gVe:Bdn)(t,e,r)}function gVe(t,e,n){if(e==t.length)return e;e&&mVe(t.charCodeAt(e))&&vVe(t.charCodeAt(e-1))&&e--;let r=ss(t,e);for(e+=Ju(r);e=0&&O1e(ss(t,s));)o++,s-=2;if(o%2==0)break;e+=2}else break}return e}function Bdn(t,e,n){for(;e>0;){let r=gVe(t,e-2,n);if(r=56320&&t<57344}function vVe(t){return t>=55296&&t<56320}function ss(t,e){let n=t.charCodeAt(e);if(!vVe(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return mVe(r)?(n-55296<<10)+(r-56320)+65536:n}function fle(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function Ju(t){return t<65536?1:2}const SQ=/\r\n?|\n/;var cs=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(cs||(cs={}));class xh{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return o+(e-i);o+=a}else{if(r!=cs.Simple&&u>=e&&(r==cs.TrackDel&&ie||r==cs.TrackBefore&&ie))return null;if(u>e||u==e&&n<0&&!a)return e==i||n<0?o:o+l;o+=l}i=u}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return o}touchesRange(e,n=e){for(let r=0,i=0;r=0&&i<=n&&a>=e)return in?"cover":!0;i=a}return!1}toString(){let e="";for(let n=0;n=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new xh(e)}static create(e){return new xh(e)}}class mo extends xh{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return CQ(this,(n,r,i,o,s)=>e=e.replace(i,i+(r-n),s),!1),e}mapDesc(e,n=!1){return OQ(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,o=0;i=0){n[i]=a,n[i+1]=s;let l=i>>1;for(;r.length0&&bv(r,n,o.text),o.forward(c),a+=c}let u=e[s++];for(;a>1].toJSON()))}return e}static of(e,n,r){let i=[],o=[],s=0,a=null;function l(c=!1){if(!c&&!i.length)return;sd||f<0||d>n)throw new RangeError(`Invalid change range ${f} to ${d} (in doc of length ${n})`);let p=h?typeof h=="string"?ar.of(h.split(r||SQ)):h:ar.empty,g=p.length;if(f==d&&g==0)return;fs&&Bs(i,f-s,-1),Bs(i,d-f,g),bv(o,i,p),s=d}}return u(e),l(!a),a}static empty(e){return new mo(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;ia&&typeof s!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(o.length==1)n.push(o[0],0);else{for(;r.length=0&&n<=0&&n==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}function bv(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r>1])),!(n||s==t.sections.length||t.sections[s+1]<0);)a=t.sections[s++],l=t.sections[s++];e(i,u,o,c,f),i=u,o=c}}}function OQ(t,e,n,r=!1){let i=[],o=r?[]:null,s=new sP(t),a=new sP(e);for(let l=-1;;)if(s.ins==-1&&a.ins==-1){let u=Math.min(s.len,a.len);Bs(i,u,-1),s.forward(u),a.forward(u)}else if(a.ins>=0&&(s.ins<0||l==s.i||s.off==0&&(a.len=0&&l=0){let u=0,c=s.len;for(;c;)if(a.ins==-1){let f=Math.min(c,a.len);u+=f,c-=f,a.forward(f)}else if(a.ins==0&&a.lenl||s.ins>=0&&s.len>l)&&(a||r.length>u),o.forward2(l),s.forward(l)}}}}class sP{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?ar.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?ar.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class gx{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new gx(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return Ve.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return Ve.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Ve.range(e.anchor,e.head)}static create(e,n,r){return new gx(e,n,r)}}class Ve{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:Ve.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Ve(e.ranges.map(n=>gx.fromJSON(n)),e.main)}static single(e,n=e){return new Ve([Ve.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;ie?8:0)|o)}static normalized(e,n=0){let r=e[n];e.sort((i,o)=>i.from-o.from),n=e.indexOf(r);for(let i=1;io.head?Ve.range(l,a):Ve.range(a,l))}}return new Ve(e,n)}}function xVe(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let dle=0;class _t{constructor(e,n,r,i,o){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=dle++,this.default=e([]),this.extensions=typeof o=="function"?o(this):o}get reader(){return this}static define(e={}){return new _t(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:hle),!!e.static,e.enables)}of(e){return new z3([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new z3(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new z3(e,this,2,n)}from(e,n){return n||(n=r=>r),this.compute([e],r=>n(r.field(e)))}}function hle(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}class z3{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=dle++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,o=this.id,s=e[o]>>1,a=this.type==2,l=!1,u=!1,c=[];for(let f of this.dependencies)f=="doc"?l=!0:f=="selection"?u=!0:((n=e[f.id])!==null&&n!==void 0?n:1)&1||c.push(e[f.id]);return{create(f){return f.values[s]=r(f),1},update(f,d){if(l&&d.docChanged||u&&(d.docChanged||d.selection)||EQ(f,c)){let h=r(f);if(a?!T1e(h,f.values[s],i):!i(h,f.values[s]))return f.values[s]=h,1}return 0},reconfigure:(f,d)=>{let h,p=d.config.address[o];if(p!=null){let g=J5(d,p);if(this.dependencies.every(m=>m instanceof _t?d.facet(m)===f.facet(m):m instanceof Qo?d.field(m,!1)==f.field(m,!1):!0)||(a?T1e(h=r(f),g,i):i(h=r(f),g)))return f.values[s]=g,0}else h=r(f);return f.values[s]=h,1}}}}function T1e(t,e,n){if(t.length!=e.length)return!1;for(let r=0;rt[l.id]),i=n.map(l=>l.type),o=r.filter(l=>!(l&1)),s=t[e.id]>>1;function a(l){let u=[];for(let c=0;cr===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(k1e).find(r=>r.field==this);return((n==null?void 0:n.create)||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let o=r.values[n],s=this.updateF(o,i);return this.compareF(o,s)?0:(r.values[n]=s,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(e){return[this,k1e.of({field:this,create:e})]}get extension(){return this}}const ex={lowest:4,low:3,default:2,high:1,highest:0};function w2(t){return e=>new bVe(e,t)}const Jy={highest:w2(ex.highest),high:w2(ex.high),default:w2(ex.default),low:w2(ex.low),lowest:w2(ex.lowest)};class bVe{constructor(e,n){this.inner=e,this.prec=n}}class TU{of(e){return new TQ(this,e)}reconfigure(e){return TU.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class TQ{constructor(e,n){this.compartment=e,this.inner=n}}class Z5{constructor(e,n,r,i,o,s){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=o,this.facets=s,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,r){let i=[],o=Object.create(null),s=new Map;for(let d of Wdn(e,n,s))d instanceof Qo?i.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d);let a=Object.create(null),l=[],u=[];for(let d of i)a[d.id]=u.length<<1,u.push(h=>d.slot(h));let c=r==null?void 0:r.config.facets;for(let d in o){let h=o[d],p=h[0].facet,g=c&&c[d]||[];if(h.every(m=>m.type==0))if(a[p.id]=l.length<<1|1,hle(g,h))l.push(r.facet(p));else{let m=p.combine(h.map(v=>v.value));l.push(r&&p.compare(m,r.facet(p))?r.facet(p):m)}else{for(let m of h)m.type==0?(a[m.id]=l.length<<1|1,l.push(m.value)):(a[m.id]=u.length<<1,u.push(v=>m.dynamicSlot(v)));a[p.id]=u.length<<1,u.push(m=>Udn(m,p,h))}}let f=u.map(d=>d(a));return new Z5(e,s,f,a,l,o)}}function Wdn(t,e,n){let r=[[],[],[],[],[]],i=new Map;function o(s,a){let l=i.get(s);if(l!=null){if(l<=a)return;let u=r[l].indexOf(s);u>-1&&r[l].splice(u,1),s instanceof TQ&&n.delete(s.compartment)}if(i.set(s,a),Array.isArray(s))for(let u of s)o(u,a);else if(s instanceof TQ){if(n.has(s.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(s.compartment)||s.inner;n.set(s.compartment,u),o(u,a)}else if(s instanceof bVe)o(s.inner,s.prec);else if(s instanceof Qo)r[a].push(s),s.provides&&o(s.provides,a);else if(s instanceof z3)r[a].push(s),s.facet.extensions&&o(s.facet.extensions,ex.default);else{let u=s.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${s}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);o(u,a)}}return o(t,ex.default),r.reduce((s,a)=>s.concat(a))}function Ck(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}function J5(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const wVe=_t.define(),kQ=_t.define({combine:t=>t.some(e=>e),static:!0}),_Ve=_t.define({combine:t=>t.length?t[0]:void 0,static:!0}),SVe=_t.define(),CVe=_t.define(),OVe=_t.define(),EVe=_t.define({combine:t=>t.length?t[0]:!1});class Kh{constructor(e,n){this.type=e,this.value=n}static define(){return new Vdn}}class Vdn{of(e){return new Kh(this,e)}}class Gdn{constructor(e){this.map=e}of(e){return new rn(this,e)}}class rn{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new rn(this.type,n)}is(e){return this.type==e}static define(e={}){return new Gdn(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let o=i.map(n);o&&r.push(o)}return r}}rn.reconfigure=rn.define();rn.appendConfig=rn.define();class ao{constructor(e,n,r,i,o,s){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=o,this.scrollIntoView=s,this._doc=null,this._state=null,r&&xVe(r,n.newLength),o.some(a=>a.type==ao.time)||(this.annotations=o.concat(ao.time.of(Date.now())))}static create(e,n,r,i,o,s){return new ao(e,n,r,i,o,s)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(ao.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}}ao.time=Kh.define();ao.userEvent=Kh.define();ao.addToHistory=Kh.define();ao.remote=Kh.define();function Hdn(t,e){let n=[];for(let r=0,i=0;;){let o,s;if(r=t[r]))o=t[r++],s=t[r++];else if(i=0;i--){let o=r[i](t);o instanceof ao?t=o:Array.isArray(o)&&o.length==1&&o[0]instanceof ao?t=o[0]:t=kVe(e,X_(o),!1)}return t}function Xdn(t){let e=t.startState,n=e.facet(OVe),r=t;for(let i=n.length-1;i>=0;i--){let o=n[i](t);o&&Object.keys(o).length&&(r=TVe(r,AQ(e,o,t.changes.newLength),!0))}return r==t?t:ao.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}const Ydn=[];function X_(t){return t==null?Ydn:Array.isArray(t)?t:[t]}var pi=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(pi||(pi={}));const Qdn=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let PQ;try{PQ=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Kdn(t){if(PQ)return PQ.test(t);for(let e=0;e"€"&&(n.toUpperCase()!=n.toLowerCase()||Qdn.test(n)))return!0}return!1}function Zdn(t){return e=>{if(!/\S/.test(e))return pi.Space;if(Kdn(e))return pi.Word;for(let n=0;n-1)return pi.Word;return pi.Other}}class In{constructor(e,n,r,i,o,s){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=o,s&&(s._state=this);for(let a=0;ai.set(u,l)),n=null),i.set(a.value.compartment,a.value.extension)):a.is(rn.reconfigure)?(n=null,r=a.value):a.is(rn.appendConfig)&&(n=null,r=X_(r).concat(a.value));let o;n?o=e.startState.values.slice():(n=Z5.resolve(r,i,this),o=new In(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(l,u)=>u.reconfigure(l,this),null).values);let s=e.startState.facet(kQ)?e.newSelection:e.newSelection.asSingle();new In(n,e.newDoc,s,o,(a,l)=>l.update(a,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:Ve.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),o=[r.range],s=X_(r.effects);for(let a=1;as.spec.fromJSON(a,l)))}}return In.create({doc:e.doc,selection:Ve.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=Z5.resolve(e.extensions||[],new Map),r=e.doc instanceof ar?e.doc:ar.of((e.doc||"").split(n.staticFacet(In.lineSeparator)||SQ)),i=e.selection?e.selection instanceof Ve?e.selection:Ve.single(e.selection.anchor,e.selection.head):Ve.single(0);return xVe(i,r.length),n.staticFacet(kQ)||(i=i.asSingle()),new In(n,r,i,n.dynamicSlots.map(()=>null),(o,s)=>s.create(o),null)}get tabSize(){return this.facet(In.tabSize)}get lineBreak(){return this.facet(In.lineSeparator)||` +`}get readOnly(){return this.facet(EVe)}phrase(e,...n){for(let r of this.facet(In.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let o=+(i||1);return!o||o>n.length?r:n[o-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let o of this.facet(wVe))for(let s of o(this,n,r))Object.prototype.hasOwnProperty.call(s,e)&&i.push(s[e]);return i}charCategorizer(e){return Zdn(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),o=this.charCategorizer(e),s=e-r,a=e-r;for(;s>0;){let l=gs(n,s,!1);if(o(n.slice(l,s))!=pi.Word)break;s=l}for(;at.length?t[0]:4});In.lineSeparator=_Ve;In.readOnly=EVe;In.phrases=_t.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}});In.languageData=wVe;In.changeFilter=SVe;In.transactionFilter=CVe;In.transactionExtender=OVe;TU.reconfigure=rn.define();function Zh(t,e,n={}){let r={};for(let i of t)for(let o of Object.keys(i)){let s=i[o],a=r[o];if(a===void 0)r[o]=s;else if(!(a===s||s===void 0))if(Object.hasOwnProperty.call(n,o))r[o]=n[o](a,s);else throw new Error("Config merge conflict for field "+o)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}class A1{eq(e){return this==e}range(e,n=e){return MQ.create(e,n,this)}}A1.prototype.startSide=A1.prototype.endSide=0;A1.prototype.point=!1;A1.prototype.mapMode=cs.TrackDel;let MQ=class AVe{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new AVe(e,n,r)}};function RQ(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class ple{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let o=r?this.to:this.from;for(let s=i,a=o.length;;){if(s==a)return s;let l=s+a>>1,u=o[l]-e||(r?this.value[l].endSide:this.value[l].startSide)-n;if(l==s)return u>=0?s:a;u>=0?a=l:s=l+1}}between(e,n,r,i){for(let o=this.findIndex(n,-1e9,!0),s=this.findIndex(r,1e9,!1,o);oh||d==h&&u.startSide>0&&u.endSide<=0)continue;(h-d||u.endSide-u.startSide)<0||(s<0&&(s=d),u.point&&(a=Math.max(a,h-d)),r.push(u),i.push(d-s),o.push(h-s))}return{mapped:r.length?new ple(i,o,r,a):null,pos:s}}}class Gn{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new Gn(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:o=this.length}=e,s=e.filter;if(n.length==0&&!s)return this;if(r&&(n=n.slice().sort(RQ)),this.isEmpty)return n.length?Gn.of(n):this;let a=new PVe(this,null,-1).goto(0),l=0,u=[],c=new by;for(;a.value||l=0){let f=n[l++];c.addInner(f.from,f.to,f.value)||u.push(f)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||oa.to||o=o&&e<=o+s.length&&s.between(o,e-o,n-o,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return aP.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return aP.from(e).goto(n)}static compare(e,n,r,i,o=-1){let s=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),a=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=o),l=A1e(s,a,r),u=new _2(s,l,o),c=new _2(a,l,o);r.iterGaps((f,d,h)=>P1e(u,f,c,d,h,i)),r.empty&&r.length==0&&P1e(u,0,c,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let o=e.filter(c=>!c.isEmpty&&n.indexOf(c)<0),s=n.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(o.length!=s.length)return!1;if(!o.length)return!0;let a=A1e(o,s),l=new _2(o,a,0).goto(r),u=new _2(s,a,0).goto(r);for(;;){if(l.to!=u.to||!DQ(l.active,u.active)||l.point&&(!u.point||!l.point.eq(u.point)))return!1;if(l.to>i)return!0;l.next(),u.next()}}static spans(e,n,r,i,o=-1){let s=new _2(e,null,o).goto(n),a=n,l=s.openStart;for(;;){let u=Math.min(s.to,r);if(s.point){let c=s.activeForPoint(s.to),f=s.pointFroma&&(i.span(a,u,s.active,l),l=s.openEnd(u));if(s.to>r)return l+(s.point&&s.to>r?1:0);a=s.to,s.next()}}static of(e,n=!1){let r=new by;for(let i of e instanceof MQ?[e]:n?Jdn(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return Gn.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=Gn.empty;i=i.nextLayer)n=new Gn(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}}Gn.empty=new Gn([],[],null,-1);function Jdn(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(RQ);e=r}return t}Gn.empty.nextLayer=Gn.empty;class by{finishChunk(e){this.chunks.push(new ple(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new by)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(Gn.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=Gn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}}function A1e(t,e,n){let r=new Map;for(let o of t)for(let s=0;s=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new PVe(s,n,r,o));return i.length==1?i[0]:new aP(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)z9(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)z9(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),z9(this.heap,0)}}}function z9(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];if(r+1=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}class _2{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=aP.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){SL(this.active,e),SL(this.activeTo,e),SL(this.activeRank,e),this.minActive=M1e(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:o}=this.cursor;for(;n0;)n++;CL(this.active,n,r),CL(this.activeTo,n,i),CL(this.activeRank,n,o),e&&CL(e,n,this.cursor.from),this.minActive=M1e(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&SL(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let o=this.cursor.value;if(!o.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}}function P1e(t,e,n,r,i,o){t.goto(e),n.goto(r);let s=r+i,a=r,l=r-e;for(;;){let u=t.to+l-n.to||t.endSide-n.endSide,c=u<0?t.to+l:n.to,f=Math.min(c,s);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&DQ(t.activeForPoint(t.to),n.activeForPoint(n.to))||o.comparePoint(a,f,t.point,n.point):f>a&&!DQ(t.active,n.active)&&o.compareRange(a,f,t.active,n.active),c>s)break;a=c,u<=0&&t.next(),u>=0&&n.next()}}function DQ(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;r--)t[r+1]=t[r];t[e]=n}function M1e(t,e){let n=-1,r=1e9;for(let i=0;i=e)return i;if(i==t.length)break;o+=t.charCodeAt(i)==9?n-o%n:1,i=gs(t,i)}return r===!0?-1:t.length}const LQ="ͼ",R1e=typeof Symbol>"u"?"__"+LQ:Symbol.for(LQ),$Q=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),D1e=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class wy{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(s){return/^@/.test(s)?[s]:s.split(/,\s*/)}function o(s,a,l,u){let c=[],f=/^@(\w+)\b/.exec(s[0]),d=f&&f[1]=="keyframes";if(f&&a==null)return l.push(s[0]+";");for(let h in a){let p=a[h];if(/&/.test(h))o(h.split(/,\s*/).map(g=>s.map(m=>g.replace(/&/,m))).reduce((g,m)=>g.concat(m)),p,l);else if(p&&typeof p=="object"){if(!f)throw new RangeError("The value of a property ("+h+") should be a primitive value.");o(i(h),p,c,d)}else p!=null&&c.push(h.replace(/_.*/,"").replace(/[A-Z]/g,g=>"-"+g.toLowerCase())+": "+p+";")}(c.length||d)&&l.push((r&&!f&&!u?s.map(r):s).join(", ")+" {"+c.join(" ")+"}")}for(let s in e)o(i(s),e[s],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=D1e[R1e]||1;return D1e[R1e]=e+1,LQ+e.toString(36)}static mount(e,n,r){let i=e[$Q],o=r&&r.nonce;i?o&&i.setNonce(o):i=new ehn(e,o),i.mount(Array.isArray(n)?n:[n],e)}}let I1e=new Map;class ehn{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let o=I1e.get(r);if(o)return e[$Q]=o;this.sheet=new i.CSSStyleSheet,I1e.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[$Q]=this}mount(e,n){let r=this.sheet,i=0,o=0;for(let s=0;s-1&&(this.modules.splice(l,1),o--,l=-1),l==-1){if(this.modules.splice(o++,0,a),r)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},thn=typeof navigator<"u"&&/Mac/.test(navigator.platform),nhn=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var as=0;as<10;as++)_y[48+as]=_y[96+as]=String(as);for(var as=1;as<=24;as++)_y[as+111]="F"+as;for(var as=65;as<=90;as++)_y[as]=String.fromCharCode(as+32),lP[as]=String.fromCharCode(as);for(var j9 in _y)lP.hasOwnProperty(j9)||(lP[j9]=_y[j9]);function rhn(t){var e=thn&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||nhn&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?lP:_y)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}function uP(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function FQ(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function ihn(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function j3(t,e){if(!e.anchorNode)return!1;try{return FQ(t,e.anchorNode)}catch{return!1}}function gC(t){return t.nodeType==3?M1(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Ok(t,e,n,r){return n?L1e(t,e,n,r,-1)||L1e(t,e,n,r,1):!1}function P1(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function ez(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}function L1e(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Ng(t))){if(t.nodeName=="DIV")return!1;let o=t.parentNode;if(!o||o.nodeType!=1)return!1;e=P1(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?Ng(t):0}else return!1}}function Ng(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function rD(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}function ohn(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function MVe(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}function shn(t,e,n,r,i,o,s,a){let l=t.ownerDocument,u=l.defaultView||window;for(let c=t,f=!1;c&&!f;)if(c.nodeType==1){let d,h=c==l.body,p=1,g=1;if(h)d=ohn(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(f=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let y=c.getBoundingClientRect();({scaleX:p,scaleY:g}=MVe(c,y)),d={left:y.left,right:y.left+c.clientWidth*p,top:y.top,bottom:y.top+c.clientHeight*g}}let m=0,v=0;if(i=="nearest")e.top0&&e.bottom>d.bottom+v&&(v=e.bottom-d.bottom+v+s)):e.bottom>d.bottom&&(v=e.bottom-d.bottom+s,n<0&&e.top-v0&&e.right>d.right+m&&(m=e.right-d.right+m+o)):e.right>d.right&&(m=e.right-d.right+o,n<0&&e.lefti.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}class lhn{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?Ng(n):0),r,Math.min(e.focusOffset,r?Ng(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}}let aw=null;function RVe(t){if(t.setActive)return t.setActive();if(aw)return t.focus(aw);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(aw==null?{get preventScroll(){return aw={preventScroll:!0},!0}}:void 0),!aw){aw=!1;for(let n=0;nMath.max(1,t.scrollHeight-t.clientHeight-4)}function LVe(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=Ng(n)}else if(n.parentNode&&!ez(n))r=P1(n),n=n.parentNode;else return null}}function $Ve(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&rn)return f.domBoundsAround(e,n,u);if(d>=e&&i==-1&&(i=l,o=u),u>n&&f.dom.parentNode==this.dom){s=l,a=c;break}c=d,u=d+f.breakAfter}return{from:o,to:a<0?r+this.length:a,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:s=0?this.children[s].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.flags|=2),n.flags&1)return;n.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,r=gle){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}}function NVe(t,e,n,r,i,o,s,a,l){let{children:u}=t,c=u.length?u[e]:null,f=o.length?o[o.length-1]:null,d=f?f.breakAfter:s;if(!(e==r&&c&&!s&&!d&&o.length<2&&c.merge(n,i,o.length?f:null,n==0,a,l))){if(r0&&(!s&&o.length&&c.merge(n,c.length,o[0],!1,a,0)?c.breakAfter=o.shift().breakAfter:(n2);var St={mac:j1e||/Mac/.test(Ka.platform),windows:/Win/.test(Ka.platform),linux:/Linux|X11/.test(Ka.platform),ie:kU,ie_version:jVe?NQ.documentMode||6:jQ?+jQ[1]:zQ?+zQ[1]:0,gecko:N1e,gecko_version:N1e?+(/Firefox\/(\d+)/.exec(Ka.userAgent)||[0,0])[1]:0,chrome:!!B9,chrome_version:B9?+B9[1]:0,ios:j1e,android:/Android\b/.test(Ka.userAgent),webkit:z1e,safari:BVe,webkit_version:z1e?+(/\bAppleWebKit\/(\d+)/.exec(Ka.userAgent)||[0,0])[1]:0,tabSize:NQ.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const fhn=256;class Qf extends Dr{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,r){return this.flags&8||r&&(!(r instanceof Qf)||this.length-(n-e)+r.length>fhn||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Qf(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new Hs(this.dom,e)}domBoundsAround(e,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return dhn(this.dom,e,n)}}class zg extends Dr{constructor(e,n=[],r=0){super(),this.mark=e,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(e){if(DVe(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,n)}merge(e,n,r,i,o,s){return r&&(!(r instanceof zg&&r.mark.eq(this.mark))||e&&o<=0||ne&&n.push(r=e&&(i=o),r=l,o++}let s=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new zg(this.mark,n,s)}domAtPos(e){return UVe(this,e)}coordsAt(e,n){return VVe(this,e,n)}}function dhn(t,e,n){let r=t.nodeValue.length;e>r&&(e=r);let i=e,o=e,s=0;e==0&&n<0||e==r&&n>=0?St.chrome||St.gecko||(e?(i--,s=1):o=0)?0:a.length-1];return St.safari&&!s&&l.width==0&&(l=Array.prototype.find.call(a,u=>u.width)||l),s?rD(l,s<0):l||null}class wv extends Dr{static create(e,n,r){return new wv(e,n,r)}constructor(e,n,r){super(),this.widget=e,this.length=n,this.side=r,this.prevWidget=null}split(e){let n=wv.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,n,r,i,o,s){return r&&(!(r instanceof wv)||!this.widget.compare(r.widget)||e>0&&o<=0||n0)?Hs.before(this.dom):Hs.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,n){let r=this.widget.coordsAt(this.dom,e,n);if(r)return r;let i=this.dom.getClientRects(),o=null;if(!i.length)return null;let s=this.side?this.side<0:e>0;for(let a=s?i.length-1:0;o=i[a],!(e>0?a==0:a==i.length-1||o.top0?Hs.before(this.dom):Hs.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ar.empty}get isHidden(){return!0}}Qf.prototype.children=wv.prototype.children=mC.prototype.children=gle;function UVe(t,e){let n=t.dom,{children:r}=t,i=0;for(let o=0;io&&e0;o--){let s=r[o-1];if(s.dom.parentNode==n)return s.domAtPos(s.length)}for(let o=i;o0&&e instanceof zg&&i.length&&(r=i[i.length-1])instanceof zg&&r.mark.eq(e.mark)?WVe(r,e.children[0],n-1):(i.push(e),e.setParent(t)),t.length+=e.length}function VVe(t,e,n){let r=null,i=-1,o=null,s=-1;function a(u,c){for(let f=0,d=0;f=c&&(h.children.length?a(h,c-d):(!o||o.isHidden&&n>0)&&(p>c||d==p&&h.getSide()>0)?(o=h,s=c-d):(d-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let o of r)if(o!=n&&(i.indexOf(o)==-1||t[o]!==e[o]))return!1;return!0}function UQ(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}function phn(t){let e=Object.create(null);for(let n=0;n0?3e8:-4e8:n>0?1e8:-1e8,new Sy(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:o,end:s}=GVe(e,n);r=(o?n?-3e8:-1:5e8)-1,i=(s?n?2e8:1:-6e8)+1}return new Sy(e,r,i,n,e.widget||null,!0)}static line(e){return new oD(e)}static set(e,n=!1){return Gn.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}Dt.none=Gn.empty;class iD extends Dt{constructor(e){let{start:n,end:r}=GVe(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var n,r;return this==e||e instanceof iD&&this.tagName==e.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&tz(this.attrs,e.attrs,"class")}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}}iD.prototype.point=!1;class oD extends Dt{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof oD&&this.spec.class==e.spec.class&&tz(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}}oD.prototype.mapMode=cs.TrackBefore;oD.prototype.point=!0;class Sy extends Dt{constructor(e,n,r,i,o,s){super(n,r,o,e),this.block=i,this.isReplace=s,this.mapMode=i?n<=0?cs.TrackBefore:cs.TrackAfter:cs.TrackDel}get type(){return this.startSide!=this.endSide?Ea.WidgetRange:this.startSide<=0?Ea.WidgetBefore:Ea.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof Sy&&ghn(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}}Sy.prototype.point=!0;function GVe(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}function ghn(t,e){return t==e||!!(t&&e&&t.compare(e))}function WQ(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}class no extends Dr{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,r,i,o,s){if(r){if(!(r instanceof no))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),zVe(this,e,n,r?r.children.slice():[],o,s),!0}split(e){let n=new no;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(e);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let o=r;o0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){tz(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){WVe(this,e,n)}addLineDeco(e){let n=e.spec.attributes,r=e.spec.class;n&&(this.attrs=BQ(n,this.attrs||{})),r&&(this.attrs=BQ({class:r},this.attrs||{}))}domAtPos(e){return UVe(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,n){var r;this.dom?this.flags&4&&(DVe(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(UQ(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,n);let i=this.dom.lastChild;for(;i&&Dr.get(i)instanceof zg;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Dr.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!St.ios||!this.children.some(o=>o instanceof Qf))){let o=document.createElement("BR");o.cmIgnore=!0,this.dom.appendChild(o)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,n;for(let r of this.children){if(!(r instanceof Qf)||/[^ -~]/.test(r.text))return null;let i=gC(r.dom);if(i.length!=1)return null;e+=i[0].width,n=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:n}:null}coordsAt(e,n){let r=VVe(this,e,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,o=r.bottom-r.top;if(Math.abs(o-i.lineHeight)<2&&i.textHeight=n){if(o instanceof no)return o;if(s>n)break}i=s+o.breakAfter}return null}}class dg extends Dr{constructor(e,n,r){super(),this.widget=e,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,n,r,i,o,s){return r&&(!(r instanceof dg)||!this.widget.compare(r.widget)||e>0&&o<=0||n0}}class VQ extends Jh{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class Ek{constructor(e,n,r,i){this.doc=e,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof dg&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new no),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(OL(new mC(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof dg)&&this.getLine()}buildText(e,n,r){for(;e>0;){if(this.textOff==this.text.length){let{value:o,lineBreak:s,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(s){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=o,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(OL(new Qf(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=0}}span(e,n,r,i){this.buildText(n-e,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(e,n,r,i,o,s){if(this.disallowBlockEffectsFor[s]&&r instanceof Sy){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=n-e;if(r instanceof Sy)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new dg(r.widget||vC.block,a,r));else{let l=wv.create(r.widget||vC.inline,a,a?0:r.startSide),u=this.atCursorPos&&!l.isEditable&&o<=i.length&&(e0),c=!l.isEditable&&(ei.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!u&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),u&&(f.append(OL(new mC(1),i),o),o=i.length+Math.max(0,o-i.length)),f.append(OL(l,i),o),this.atCursorPos=c,this.pendingBuffer=c?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=o)}static build(e,n,r,i,o){let s=new Ek(e,n,r,o);return s.openEnd=Gn.spans(i,n,r,s),s.openStart<0&&(s.openStart=s.openEnd),s.finish(s.openEnd),s}}function OL(t,e){for(let n of e)t=new zg(n,[t],t.length);return t}class vC extends Jh{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}vC.inline=new vC("span");vC.block=new vC("div");var ii=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(ii||(ii={}));const R1=ii.LTR,mle=ii.RTL;function HVe(t){let e=[];for(let n=0;n=n){if(a.level==r)return s;(o<0||(i!=0?i<0?a.fromn:e[o].level>a.level))&&(o=s)}}if(o<0)throw new RangeError("Index out of range");return o}}function XVe(t,e){if(t.length!=e.length)return!1;for(let n=0;n=0;g-=3)if(vd[g+1]==-h){let m=vd[g+2],v=m&2?i:m&4?m&1?o:i:0;v&&(Rr[f]=Rr[vd[g]]=v),a=g;break}}else{if(vd.length==189)break;vd[a++]=f,vd[a++]=d,vd[a++]=l}else if((p=Rr[f])==2||p==1){let g=p==i;l=g?0:1;for(let m=a-3;m>=0;m-=3){let v=vd[m+2];if(v&2)break;if(g)vd[m+2]|=2;else{if(v&4)break;vd[m+2]|=4}}}}}function whn(t,e,n,r){for(let i=0,o=r;i<=n.length;i++){let s=i?n[i-1].to:t,a=il;)p==m&&(p=n[--g].from,m=g?n[g-1].to:t),Rr[--p]=h;l=c}else o=u,l++}}}function HQ(t,e,n,r,i,o,s){let a=r%2?2:1;if(r%2==i%2)for(let l=e,u=0;ll&&s.push(new _v(l,g.from,h));let m=g.direction==R1!=!(h%2);qQ(t,m?r+1:r,i,g.inner,g.from,g.to,s),l=g.to}p=g.to}else{if(p==n||(c?Rr[p]!=a:Rr[p]==a))break;p++}d?HQ(t,l,p,r+1,i,d,s):le;){let c=!0,f=!1;if(!u||l>o[u-1].to){let g=Rr[l-1];g!=a&&(c=!1,f=g==16)}let d=!c&&a==1?[]:null,h=c?r:r+1,p=l;e:for(;;)if(u&&p==o[u-1].to){if(f)break e;let g=o[--u];if(!c)for(let m=g.from,v=u;;){if(m==e)break e;if(v&&o[v-1].to==m)m=o[--v].from;else{if(Rr[m-1]==a)break e;break}}if(d)d.push(g);else{g.toRr.length;)Rr[Rr.length]=256;let r=[],i=e==R1?0:1;return qQ(t,i,i,n,0,t.length,r),r}function YVe(t){return[new _v(0,t,0)]}let QVe="";function Shn(t,e,n,r,i){var o;let s=r.head-t.from,a=_v.find(e,s,(o=r.bidiLevel)!==null&&o!==void 0?o:-1,r.assoc),l=e[a],u=l.side(i,n);if(s==u){let d=a+=i?1:-1;if(d<0||d>=e.length)return null;l=e[a=d],s=l.side(!i,n),u=l.side(i,n)}let c=gs(t.text,s,l.forward(i,n));(cl.to)&&(c=u),QVe=t.text.slice(Math.min(s,c),Math.max(s,c));let f=a==(i?e.length-1:0)?null:e[a+(i?1:-1)];return f&&c==u&&f.level+(i?0:1)t.some(e=>e)}),i9e=_t.define({combine:t=>t.some(e=>e)}),o9e=_t.define();class Q_{constructor(e,n="nearest",r="nearest",i=5,o=5,s=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=o,this.isSnapshot=s}map(e){return e.empty?this:new Q_(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Q_(Ve.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const EL=rn.define({map:(t,e)=>t.map(e)}),s9e=rn.define();function sl(t,e,n){let r=t.facet(e9e);r.length?r[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}const rv=_t.define({combine:t=>t.length?t[0]:!0});let Ohn=0;const kT=_t.define();class Yi{constructor(e,n,r,i,o){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=o(this)}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:o,decorations:s}=n||{};return new Yi(Ohn++,e,r,i,a=>{let l=[kT.of(a)];return s&&l.push(cP.of(u=>{let c=u.plugin(a);return c?s(c):Dt.none})),o&&l.push(o(a)),l})}static fromClass(e,n){return Yi.define(r=>new e(r),n)}}class U9{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(sl(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){sl(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){sl(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const a9e=_t.define(),vle=_t.define(),cP=_t.define(),l9e=_t.define(),yle=_t.define(),u9e=_t.define();function U1e(t,e){let n=t.state.facet(u9e);if(!n.length)return n;let r=n.map(o=>o instanceof Function?o(t):o),i=[];return Gn.spans(r,e.from,e.to,{point(){},span(o,s,a,l){let u=o-e.from,c=s-e.from,f=i;for(let d=a.length-1;d>=0;d--,l--){let h=a[d].spec.bidiIsolate,p;if(h==null&&(h=Chn(e.text,u,c)),l>0&&f.length&&(p=f[f.length-1]).to==u&&p.direction==h)p.to=c,f=p.inner;else{let g={from:u,to:c,direction:h,inner:[]};f.push(g),f=g.inner}}}}),i}const c9e=_t.define();function f9e(t){let e=0,n=0,r=0,i=0;for(let o of t.state.facet(c9e)){let s=o(t);s&&(s.left!=null&&(e=Math.max(e,s.left)),s.right!=null&&(n=Math.max(n,s.right)),s.top!=null&&(r=Math.max(r,s.top)),s.bottom!=null&&(i=Math.max(i,s.bottom)))}return{left:e,right:n,top:r,bottom:i}}const AT=_t.define();class mc{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new mc(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toAc)break;o+=2}if(!l)return r;new mc(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),s=l.toA,a=l.toB}}}class nz{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=mo.empty(this.startState.doc.length);for(let o of r)this.changes=this.changes.compose(o.changes);let i=[];this.changes.iterChangedRanges((o,s,a,l)=>i.push(new mc(o,s,a,l))),this.changedRanges=i}static create(e,n,r){return new nz(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class W1e extends Dr{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=Dt.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new no],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new mc(0,0,0,e.state.doc.length)],0,null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:u,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!Rhn(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let o=i>-1?Thn(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:c}=this.hasComposition;r=new mc(u,c,e.changes.mapPos(u,-1),e.changes.mapPos(c,1)).addToSet(r.slice())}this.hasComposition=o?{from:o.range.fromB,to:o.range.toB}:null,(St.ie||St.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let s=this.decorations,a=this.updateDeco(),l=Phn(s,a,e.changes);return r=mc.extendWithRanges(r,l),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,o),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let s=St.chrome||St.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,s),this.flags&=-8,s&&(s.written||i.selectionRange.focusNode!=s.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(s=>s.flags&=-9);let o=[];if(this.view.viewport.from||this.view.viewport.to=0?i[s]:null;if(!a)break;let{fromA:l,toA:u,fromB:c,toB:f}=a,d,h,p,g;if(r&&r.range.fromBc){let b=Ek.build(this.view.state.doc,c,r.range.fromB,this.decorations,this.dynamicDecorationMap),w=Ek.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);h=b.breakAtStart,p=b.openStart,g=w.openEnd;let _=this.compositionView(r);w.breakAtStart?_.breakAfter=1:w.content.length&&_.merge(_.length,_.length,w.content[0],!1,w.openStart,0)&&(_.breakAfter=w.content[0].breakAfter,w.content.shift()),b.content.length&&_.merge(0,0,b.content[b.content.length-1],!0,0,b.openEnd)&&b.content.pop(),d=b.content.concat(_).concat(w.content)}else({content:d,breakAtStart:h,openStart:p,openEnd:g}=Ek.build(this.view.state.doc,c,f,this.decorations,this.dynamicDecorationMap));let{i:m,off:v}=o.findPos(u,1),{i:y,off:x}=o.findPos(l,-1);NVe(this,y,x,m,v,d,h,p,g)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let n of e.transactions)for(let r of n.effects)r.is(s9e)&&(this.editContextFormatting=r.value)}compositionView(e){let n=new Qf(e.text.nodeValue);n.flags|=8;for(let{deco:i}of e.marks)n=new zg(i,[n],n.length);let r=new no;return r.append(n,0),r}fixCompositionDOM(e){let n=(o,s)=>{s.flags|=8|(s.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(s);let a=Dr.get(o);a&&a!=s&&(a.dom=null),s.setDOM(o)},r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(let o=e.marks.length-1;o>=-1;o--)r=i.childPos(r.off,1),i=i.children[r.i],n(o>=0?e.marks[o].node:e.text,i)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,o=!i&&j3(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||o))return;let s=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),u=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(St.gecko&&a.empty&&!this.hasComposition&&Ehn(l)){let f=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(f,l.node.childNodes[l.offset]||null)),l=u=new Hs(f,0),s=!0}let c=this.view.observer.selectionRange;(s||!c.focusNode||(!Ok(l.node,l.offset,c.anchorNode,c.anchorOffset)||!Ok(u.node,u.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,a))&&(this.view.observer.ignore(()=>{St.android&&St.chrome&&this.dom.contains(c.focusNode)&&Mhn(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=uP(this.view.root);if(f)if(a.empty){if(St.gecko){let d=khn(l.node,l.offset);if(d&&d!=3){let h=(d==1?LVe:$Ve)(l.node,l.offset);h&&(l=new Hs(h.node,h.offset))}}f.collapse(l.node,l.offset),a.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=a.bidiLevel)}else if(f.extend){f.collapse(l.node,l.offset);try{f.extend(u.node,u.offset)}catch{}}else{let d=document.createRange();a.anchor>a.head&&([l,u]=[u,l]),d.setEnd(u.node,u.offset),d.setStart(l.node,l.offset),f.removeAllRanges(),f.addRange(d)}o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(l,u)),this.impreciseAnchor=l.precise?null:new Hs(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new Hs(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&Ok(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=uP(e.root),{anchorNode:i,anchorOffset:o}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let s=no.find(this,n.head);if(!s)return;let a=s.posAtStart;if(n.head==a||n.head==a+s.length)return;let l=this.coordsAt(n.head,-1),u=this.coordsAt(n.head,1);if(!l||!u||l.bottom>u.top)return;let c=this.domAtPos(n.head+n.assoc);r.collapse(c.node,c.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,o)}moveToLine(e){let n=this.dom,r;if(e.node!=n)return e;for(let i=e.offset;!r&&i=0;i--){let o=Dr.get(n.childNodes[i]);o instanceof no&&(r=o.domAtPos(o.length))}return r?new Hs(r.node,r.offset,!0):e}nearest(e){for(let n=e;n;){let r=Dr.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(e,n){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,n)+r.posAtStart}domAtPos(e){let{i:n,off:r}=this.childCursor().findPos(e,-1);for(;n=0;s--){let a=this.children[s],l=o-a.breakAfter,u=l-a.length;if(le||a.covers(1))&&(!r||a instanceof no&&!(r instanceof no&&n>=0)))r=a,i=u;else if(r&&u==e&&l==e&&a instanceof dg&&Math.abs(n)<2){if(a.deco.startSide<0)break;s&&(r=null)}o=u}return r?r.coordsAt(e-i,n):null}coordsForChar(e){let{i:n,off:r}=this.childPos(e,1),i=this.children[n];if(!(i instanceof no))return null;for(;i.children.length;){let{i:a,off:l}=i.childPos(r,1);for(;;a++){if(a==i.children.length)return null;if((i=i.children[a]).length)break}r=l}if(!(i instanceof Qf))return null;let o=gs(i.text,r);if(o==r)return null;let s=M1(i.dom,r,o).getClientRects();for(let a=0;aMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==ii.LTR;for(let u=0,c=0;ci)break;if(u>=r){let h=f.dom.getBoundingClientRect();if(n.push(h.height),s){let p=f.dom.lastChild,g=p?gC(p):[];if(g.length){let m=g[g.length-1],v=l?m.right-h.left:h.right-m.left;v>a&&(a=v,this.minWidth=o,this.minWidthFrom=u,this.minWidthTo=d)}}}u=d+f.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?ii.RTL:ii.LTR}measureTextSize(){for(let o of this.children)if(o instanceof no){let s=o.measureTextSize();if(s)return s}let e=document.createElement("div"),n,r,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let o=gC(e.firstChild)[0];n=e.getBoundingClientRect().height,r=o?o.width/27:7,i=o?o.height:n,e.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new FVe(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let o=i==n.viewports.length?null:n.viewports[i],s=o?o.from-1:this.length;if(s>r){let a=(n.lineBlockAt(s).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(Dt.replace({widget:new VQ(a),block:!0,inclusive:!0,isBlockGap:!0}).range(r,s))}if(!o)break;r=o.to+1}return Dt.set(e)}updateDeco(){let e=1,n=this.view.state.facet(cP).map(o=>(this.dynamicDecorationMap[e++]=typeof o=="function")?o(this.view):o),r=!1,i=this.view.state.facet(l9e).map((o,s)=>{let a=typeof o=="function";return a&&(r=!0),a?o(this.view):o});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(Gn.join(i))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];en.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let o=f9e(this.view),s={left:r.left-o.left,top:r.top-o.top,right:r.right+o.right,bottom:r.bottom+o.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;shn(this.view.scrollDOM,s,n.head{re.from&&(n=!0)}),n}function Dhn(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),o=e-i.from;if(i.length==0)return Ve.cursor(e);o==0?n=1:o==i.length&&(n=-1);let s=o,a=o;n<0?s=gs(i.text,o,!1):a=gs(i.text,o);let l=r(i.text.slice(s,a));for(;s>0;){let u=gs(i.text,s,!1);if(r(i.text.slice(u,s))!=l)break;s=u}for(;at?e.left-t:Math.max(0,t-e.right)}function Lhn(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function W9(t,e){return t.tope.top+1}function V1e(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function YQ(t,e,n){let r,i,o,s,a=!1,l,u,c,f;for(let p=t.firstChild;p;p=p.nextSibling){let g=gC(p);for(let m=0;mx||s==x&&o>y){r=p,i=v,o=y,s=x;let b=x?n0?m0)}y==0?n>v.bottom&&(!c||c.bottomv.top)&&(u=p,f=v):c&&W9(c,v)?c=G1e(c,v.bottom):f&&W9(f,v)&&(f=V1e(f,v.top))}}if(c&&c.bottom>=n?(r=l,i=c):f&&f.top<=n&&(r=u,i=f),!r)return{node:t,offset:0};let d=Math.max(i.left,Math.min(i.right,e));if(r.nodeType==3)return H1e(r,d,n);if(a&&r.contentEditable!="false")return YQ(r,d,n);let h=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:h}}function H1e(t,e,n){let r=t.nodeValue.length,i=-1,o=1e9,s=0;for(let a=0;an?c.top-n:n-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&f=(c.left+c.right)/2,h=d;if((St.chrome||St.gecko)&&M1(t,a).getBoundingClientRect().left==c.right&&(h=!d),f<=0)return{node:t,offset:a+(h?1:0)};i=a+(h?1:0),o=f}}}return{node:t,offset:i>-1?i:s>0?t.nodeValue.length:0}}function h9e(t,e,n,r=-1){var i,o;let s=t.contentDOM.getBoundingClientRect(),a=s.top+t.viewState.paddingTop,l,{docHeight:u}=t.viewState,{x:c,y:f}=e,d=f-a;if(d<0)return 0;if(d>u)return t.state.doc.length;for(let b=t.viewState.heightOracle.textHeight/2,w=!1;l=t.elementAtHeight(d),l.type!=Ea.Text;)for(;d=r>0?l.bottom+b:l.top-b,!(d>=0&&d<=u);){if(w)return n?null:0;w=!0,r=-r}f=a+d;let h=l.from;if(ht.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:q1e(t,s,l,c,f);let p=t.dom.ownerDocument,g=t.root.elementFromPoint?t.root:p,m=g.elementFromPoint(c,f);m&&!t.contentDOM.contains(m)&&(m=null),m||(c=Math.max(s.left+1,Math.min(s.right-1,c)),m=g.elementFromPoint(c,f),m&&!t.contentDOM.contains(m)&&(m=null));let v,y=-1;if(m&&((i=t.docView.nearest(m))===null||i===void 0?void 0:i.isEditable)!=!1){if(p.caretPositionFromPoint){let b=p.caretPositionFromPoint(c,f);b&&({offsetNode:v,offset:y}=b)}else if(p.caretRangeFromPoint){let b=p.caretRangeFromPoint(c,f);b&&({startContainer:v,startOffset:y}=b,(!t.contentDOM.contains(v)||St.safari&&$hn(v,y,c)||St.chrome&&Fhn(v,y,c))&&(v=void 0))}}if(!v||!t.docView.dom.contains(v)){let b=no.find(t.docView,h);if(!b)return d>l.top+l.height/2?l.to:l.from;({node:v,offset:y}=YQ(b.dom,c,f))}let x=t.docView.nearest(v);if(!x)return null;if(x.isWidget&&((o=x.dom)===null||o===void 0?void 0:o.nodeType)==1){let b=x.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let a=t.viewState.heightOracle.textHeight,l=Math.floor((i-n.top-(t.defaultLineHeight-a)*.5)/a);o+=l*t.viewState.heightOracle.lineLength}let s=t.state.sliceDoc(n.from,n.to);return n.from+IQ(s,o,t.state.tabSize)}function $hn(t,e,n){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return M1(t,r-1,r).getBoundingClientRect().left>n}function Fhn(t,e,n){if(e!=0)return!1;for(let i=t;;){let o=i.parentNode;if(!o||o.nodeType!=1||o.firstChild!=i)return!1;if(o.classList.contains("cm-line"))break;i=o}let r=t.nodeType==1?t.getBoundingClientRect():M1(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}function QQ(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>e||r.to==e&&(r.to==n.to||r.type==Ea.Text))return r}return n}function Nhn(t,e,n,r){let i=QQ(t,e.head),o=!r||i.type!=Ea.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(o){let s=t.dom.getBoundingClientRect(),a=t.textDirectionAt(i.from),l=t.posAtCoords({x:n==(a==ii.LTR)?s.right-1:s.left+1,y:(o.top+o.bottom)/2});if(l!=null)return Ve.cursor(l,n?-1:1)}return Ve.cursor(n?i.to:i.from,n?-1:1)}function X1e(t,e,n,r){let i=t.state.doc.lineAt(e.head),o=t.bidiSpans(i),s=t.textDirectionAt(i.from);for(let a=e,l=null;;){let u=Shn(i,o,s,a,n),c=QVe;if(!u){if(i.number==(n?t.state.doc.lines:1))return a;c=` +`,i=t.state.doc.line(i.number+(n?1:-1)),o=t.bidiSpans(i),u=t.visualLineSide(i,!n)}if(l){if(!l(c))return a}else{if(!r)return u;l=r(c)}a=u}}function zhn(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return o=>{let s=r(o);return i==pi.Space&&(i=s),i==s}}function jhn(t,e,n,r){let i=e.head,o=n?1:-1;if(i==(n?t.state.doc.length:0))return Ve.cursor(i,e.assoc);let s=e.goalColumn,a,l=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(i,e.assoc||-1),c=t.documentTop;if(u)s==null&&(s=u.left-l.left),a=o<0?u.top:u.bottom;else{let h=t.viewState.lineBlockAt(i);s==null&&(s=Math.min(l.right-l.left,t.defaultCharacterWidth*(i-h.from))),a=(o<0?h.top:h.bottom)+c}let f=l.left+s,d=r??t.viewState.heightOracle.textHeight>>1;for(let h=0;;h+=10){let p=a+(d+h)*o,g=h9e(t,{x:f,y:p},!1,o);if(pl.bottom||(o<0?gi)){let m=t.docView.coordsForChar(g),v=!m||p{if(e>o&&ei(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:Ve.cursor(r,ro)&&this.lineBreak(),i=s}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let o=-1,s=1,a;if(this.lineSeparator?(o=n.indexOf(this.lineSeparator,r),s=this.lineSeparator.length):(a=i.exec(n))&&(o=a.index,s=a[0].length),this.append(n.slice(r,o<0?n.length:o)),o<0)break;if(this.lineBreak(),s>1)for(let l of this.points)l.node==e&&l.pos>this.text.length&&(l.pos-=s-1);r=o+s}}readNode(e){if(e.cmIgnore)return;let n=Dr.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(Uhn(e,r.node,r.offset)?n:0))}}function Uhn(t,e,n){for(;;){if(!e||n-1;let{impreciseHead:o,impreciseAnchor:s}=e.docView;if(e.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=e.docView.domBoundsAround(n,r,0))){let a=o||s?[]:Hhn(e),l=new Bhn(a,e.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=qhn(a,this.bounds.from)}else{let a=e.observer.selectionRange,l=o&&o.node==a.focusNode&&o.offset==a.focusOffset||!FQ(e.contentDOM,a.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(a.focusNode,a.focusOffset),u=s&&s.node==a.anchorNode&&s.offset==a.anchorOffset||!FQ(e.contentDOM,a.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(a.anchorNode,a.anchorOffset),c=e.viewport;if((St.ios||St.chrome)&&e.state.selection.main.empty&&l!=u&&(c.from>0||c.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:s,to:a}=e.bounds,l=i.from,u=null;(o===8||St.android&&e.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:(St.mac||St.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=Ve.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:ar.of([" "])}):St.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` + `&&t.lineWrapping&&(r&&(r=Ve.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:ar.of([" "])}),n)return xle(t,n,r,o);if(r&&!r.main.eq(i)){let s=!1,a="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(s=!0),a=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:s,userEvent:a}),!0}else return!1}function xle(t,e,n,r=-1){if(St.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(St.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&Y_(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||r==8&&e.insert.lengthi.head)&&Y_(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&Y_(t.contentDOM,"Delete",46)))return!0;let o=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let s,a=()=>s||(s=Vhn(t,e,n));return t.state.facet(t9e).some(l=>l(t,e.from,e.to,o,a))||t.dispatch(a()),!0}function Vhn(t,e,n){let r,i=t.state,o=i.selection.main;if(e.from>=o.from&&e.to<=o.to&&e.to-e.from>=(o.to-o.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let a=o.frome.to?i.sliceDoc(e.to,o.to):"";r=i.replaceSelection(t.state.toText(a+e.insert.sliceString(0,void 0,t.state.lineBreak)+l))}else{let a=i.changes(e),l=n&&n.main.to<=a.newLength?n.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=o.to&&e.to>=o.to-10){let u=t.state.sliceDoc(e.from,e.to),c,f=n&&d9e(t,n.main.head);if(f){let p=e.insert.length-(e.to-e.from);c={from:f.from,to:f.to-p}}else c=t.state.doc.lineAt(o.head);let d=o.to-e.to,h=o.to-o.from;r=i.changeByRange(p=>{if(p.from==o.from&&p.to==o.to)return{changes:a,range:l||p.map(a)};let g=p.to-d,m=g-u.length;if(p.to-p.from!=h||t.state.sliceDoc(m,g)!=u||p.to>=c.from&&p.from<=c.to)return{range:p};let v=i.changes({from:m,to:g,insert:e.insert}),y=p.to-o.to;return{changes:v,range:l?Ve.range(Math.max(0,l.anchor+y),Math.max(0,l.head+y)):p.map(v)}})}else r={changes:a,selection:l&&i.selection.replaceRange(l)}}let s="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,s+=".compose",t.inputState.compositionFirstChange&&(s+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:s,scrollIntoView:!0})}function Ghn(t,e,n,r){let i=Math.min(t.length,e.length),o=0;for(;o0&&a>0&&t.charCodeAt(s-1)==e.charCodeAt(a-1);)s--,a--;if(r=="end"){let l=Math.max(0,o-Math.min(s,a));n-=s+l-o}if(s=s?o-n:0;o-=l,a=o+(a-s),s=o}else if(a=a?o-n:0;o-=l,s=o+(s-a),a=o}return{from:o,toA:s,toB:a}}function Hhn(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}=t.observer.selectionRange;return n&&(e.push(new Y1e(n,r)),(i!=n||o!=r)&&e.push(new Y1e(i,o))),e}function qhn(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?Ve.single(n+e,r+e):null}class Xhn{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,St.safari&&e.contentDOM.addEventListener("input",()=>null),St.gecko&&cpn(e.contentDOM.ownerDocument)}handleEvent(e){!npn(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=Yhn(e),r=this.handlers,i=this.view.contentDOM;for(let o in n)if(o!="scroll"){let s=!n[o].handlers.length,a=r[o];a&&s!=!a.handlers.length&&(i.removeEventListener(o,this.handleEvent),a=null),a||i.addEventListener(o,this.handleEvent,{passive:s})}for(let o in r)o!="scroll"&&!n[o]&&i.removeEventListener(o,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&m9e.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),St.android&&St.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let n;return St.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((n=g9e.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||Qhn.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from0?!0:St.safari&&!St.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Q1e(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){sl(n.state,i)}}}function Yhn(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}for(let r of t){let i=r.spec;if(i&&i.domEventHandlers)for(let o in i.domEventHandlers){let s=i.domEventHandlers[o];s&&n(o).handlers.push(Q1e(r.value,s))}if(i&&i.domEventObservers)for(let o in i.domEventObservers){let s=i.domEventObservers[o];s&&n(o).observers.push(Q1e(r.value,s))}}for(let r in Kf)n(r).handlers.push(Kf[r]);for(let r in Ic)n(r).observers.push(Ic[r]);return e}const g9e=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Qhn="dthko",m9e=[16,17,18,20,91,92,224,225],TL=6;function kL(t){return Math.max(0,t)*.7+8}function Khn(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class Zhn{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=ahn(e.contentDOM),this.atoms=e.state.facet(yle).map(s=>s(e));let o=e.contentDOM.ownerDocument;o.addEventListener("mousemove",this.move=this.move.bind(this)),o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(In.allowMultipleSelections)&&Jhn(e,n),this.dragging=tpn(e,n)&&x9e(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Khn(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,i=0,o=0,s=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:s}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:o,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=f9e(this.view);e.clientX-l.left<=i+TL?n=-kL(i-e.clientX):e.clientX+l.right>=s-TL&&(n=kL(e.clientX-s)),e.clientY-l.top<=o+TL?r=-kL(o-e.clientY):e.clientY+l.bottom>=a-TL&&(r=kL(e.clientY-a)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:n}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(e||n)&&this.view.win.scrollBy(e,n),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let n=null;for(let r=0;rn.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}}function Jhn(t,e){let n=t.state.facet(KVe);return n.length?n[0](e):St.mac?e.metaKey:e.ctrlKey}function epn(t,e){let n=t.state.facet(ZVe);return n.length?n[0](e):St.mac?!e.altKey:!e.ctrlKey}function tpn(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=uP(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let o=0;o=e.clientX&&s.top<=e.clientY&&s.bottom>=e.clientY)return!0}return!1}function npn(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Dr.get(n))&&r.ignoreEvent(e))return!1;return!0}const Kf=Object.create(null),Ic=Object.create(null),v9e=St.ie&&St.ie_version<15||St.ios&&St.webkit_version<604;function rpn(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),y9e(t,n.value)},50)}function y9e(t,e){let{state:n}=t,r,i=1,o=n.toText(e),s=o.lines==n.selection.ranges.length;if(KQ!=null&&n.selection.ranges.every(l=>l.empty)&&KQ==o.toString()){let l=-1;r=n.changeByRange(u=>{let c=n.doc.lineAt(u.from);if(c.from==l)return{range:u};l=c.from;let f=n.toText((s?o.line(i++).text:e)+n.lineBreak);return{changes:{from:c.from,insert:f},range:Ve.cursor(u.from+f.length)}})}else s?r=n.changeByRange(l=>{let u=o.line(i++);return{changes:{from:l.from,to:l.to,insert:u.text},range:Ve.cursor(l.from+u.length)}}):r=n.replaceSelection(o);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}Ic.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Kf.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1);Ic.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Ic.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Kf.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(JVe))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=spn(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new Zhn(t,e,n,r)),r&&t.observer.ignore(()=>{RVe(t.contentDOM);let o=t.root.activeElement;o&&!o.contains(t.contentDOM)&&o.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function K1e(t,e,n,r){if(r==1)return Ve.cursor(e,n);if(r==2)return Dhn(t.state,e,n);{let i=no.find(t.docView,e),o=t.state.doc.lineAt(i?i.posAtEnd:e),s=i?i.posAtStart:o.from,a=i?i.posAtEnd:o.to;return ae>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right;function ipn(t,e,n,r){let i=no.find(t.docView,e);if(!i)return 1;let o=e-i.posAtStart;if(o==0)return 1;if(o==i.length)return-1;let s=i.coordsAt(o,-1);if(s&&Z1e(n,r,s))return-1;let a=i.coordsAt(o,1);return a&&Z1e(n,r,a)?1:s&&s.bottom>=r?-1:1}function J1e(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:ipn(t,n,e.clientX,e.clientY)}}const opn=St.ie&&St.ie_version<=11;let ebe=null,tbe=0,nbe=0;function x9e(t){if(!opn)return t.detail;let e=ebe,n=nbe;return ebe=t,nbe=Date.now(),tbe=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(tbe+1)%3:1}function spn(t,e){let n=J1e(t,e),r=x9e(e),i=t.state.selection;return{update(o){o.docChanged&&(n.pos=o.changes.mapPos(n.pos),i=i.map(o.changes))},get(o,s,a){let l=J1e(t,o),u,c=K1e(t,l.pos,l.bias,r);if(n.pos!=l.pos&&!s){let f=K1e(t,n.pos,n.bias,r),d=Math.min(f.from,c.from),h=Math.max(f.to,c.to);c=d1&&(u=apn(i,l.pos))?u:a?i.addRange(c):Ve.create([c])}}}function apn(t,e){for(let n=0;n=e)return Ve.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}Kf.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let o=i.posAtStart,s=o+i.length;(o>=n.to||s<=n.from)&&(n=Ve.range(o,s))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(n.from,n.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Kf.dragend=t=>(t.inputState.draggedContent=null,!1);function rbe(t,e,n,r){if(!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:o}=t.inputState,s=r&&o&&epn(t,e)?{from:o.from,to:o.to}:null,a={from:i,insert:n},l=t.state.changes(s?[s,a]:a);t.focus(),t.dispatch({changes:l,selection:{anchor:l.mapPos(i,-1),head:l.mapPos(i,1)},userEvent:s?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Kf.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,o=()=>{++i==n.length&&rbe(t,e,r.filter(s=>s!=null).join(t.state.lineBreak),!1)};for(let s=0;s{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(r[s]=a.result),o()},a.readAsText(n[s])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return rbe(t,e,r,!0),!0}return!1};Kf.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=v9e?null:e.clipboardData;return n?(y9e(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(rpn(t),!1)};function lpn(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}function upn(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:o}of t.selection.ranges){let s=t.doc.lineAt(o);s.number>i&&(e.push(s.text),n.push({from:s.from,to:Math.min(t.doc.length,s.to+1)})),i=s.number}r=!0}return{text:e.join(t.lineBreak),ranges:n,linewise:r}}let KQ=null;Kf.copy=Kf.cut=(t,e)=>{let{text:n,ranges:r,linewise:i}=upn(t.state);if(!n&&!i)return!1;KQ=i?n:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=v9e?null:e.clipboardData;return o?(o.clearData(),o.setData("text/plain",n),!0):(lpn(t,n),!1)};const b9e=Kh.define();function w9e(t,e){let n=[];for(let r of t.facet(n9e)){let i=r(t,e);i&&n.push(i)}return n?t.update({effects:n,annotations:b9e.of(!0)}):null}function _9e(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=w9e(t.state,e);n?t.dispatch(n):t.update([])}},10)}Ic.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),_9e(t)};Ic.blur=t=>{t.observer.clearSelectionRange(),_9e(t)};Ic.compositionstart=Ic.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))};Ic.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,St.chrome&&St.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))};Ic.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Kf.beforeinput=(t,e)=>{var n,r;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let o=(n=e.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),s=e.getTargetRanges();if(o&&s.length){let a=s[0],l=t.posAtDOM(a.startContainer,a.startOffset),u=t.posAtDOM(a.endContainer,a.endOffset);return xle(t,{from:l,to:u,insert:t.state.toText(o)},null),!0}}let i;if(St.chrome&&St.android&&(i=g9e.find(o=>o.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let o=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>o+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return St.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),St.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>Ic.compositionend(t,e),20),!1};const ibe=new Set;function cpn(t){ibe.has(t)||(ibe.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const obe=["pre-wrap","normal","pre-line","break-spaces"];let yC=!1;function sbe(){yC=!1}class fpn{constructor(e){this.lineWrapping=e,this.doc=ar.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return obe.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r-1,l=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=o,l){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>U3&&(yC=!0),this.height=e)}replace(e,n,r){return Ta.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let o=this,s=r.doc;for(let a=i.length-1;a>=0;a--){let{fromA:l,toA:u,fromB:c,toB:f}=i[a],d=o.lineAt(l,Yr.ByPosNoHeight,r.setDoc(n),0,0),h=d.to>=u?d:o.lineAt(u,Yr.ByPosNoHeight,r,0,0);for(f+=h.to-u,u=h.to;a>0&&d.from<=i[a-1].toA;)l=i[a-1].fromA,c=i[a-1].fromB,a--,lo*2){let a=e[n-1];a.break?e.splice(--n,1,a.left,null,a.right):e.splice(--n,1,a.left,a.right),r+=1+a.break,i-=a.size}else if(o>i*2){let a=e[r];a.break?e.splice(r,1,a.left,null,a.right):e.splice(r,1,a.left,a.right),r+=2+a.break,o-=a.size}else break;else if(i=o&&s(this.blockAt(0,r,i,o))}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Xl extends S9e{constructor(e,n){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,n,r,i){return new qd(i,this.length,r,this.height,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof Xl||i instanceof ts&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof ts?i=new Xl(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):Ta.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(i.heights[i.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class ts extends Ta{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,o=i-r+1,s,a=0;if(e.lineWrapping){let l=Math.min(this.height,e.lineHeight*o);s=l/o,this.length>o+1&&(a=(this.height-l)/(this.length-o-1))}else s=this.height/o;return{firstLine:r,lastLine:i,perLine:s,perChar:a}}blockAt(e,n,r,i){let{firstLine:o,lastLine:s,perLine:a,perChar:l}=this.heightMetrics(n,i);if(n.lineWrapping){let u=i+(e0){let o=r[r.length-1];o instanceof ts?r[r.length-1]=new ts(o.length+i):r.push(null,new ts(i-1))}if(e>0){let o=r[0];o instanceof ts?r[0]=new ts(e+o.length):r.unshift(new ts(e-1),null)}return Ta.of(r)}decomposeLeft(e,n){n.push(new ts(e-1),null)}decomposeRight(e,n){n.push(null,new ts(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let o=n+this.length;if(i&&i.from<=n+this.length&&i.more){let s=[],a=Math.max(n,i.from),l=-1;for(i.from>n&&s.push(new ts(i.from-n-1).updateHeight(e,n));a<=o&&i.more;){let c=e.doc.lineAt(a).length;s.length&&s.push(null);let f=i.heights[i.index++];l==-1?l=f:Math.abs(f-l)>=U3&&(l=-2);let d=new Xl(c,f);d.outdated=!1,s.push(d),a+=c+1}a<=o&&s.push(null,new ts(o-a).updateHeight(e,a));let u=Ta.of(s);return(l<0||Math.abs(u.height-this.height)>=U3||Math.abs(l-this.heightMetrics(e,n).perLine)>=U3)&&(yC=!0),rz(this,u)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class hpn extends Ta{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let o=r+this.left.height;return ea))return u;let c=n==Yr.ByPosNoHeight?Yr.ByPosNoHeight:Yr.ByPos;return l?u.join(this.right.lineAt(a,c,r,s,a)):this.left.lineAt(a,c,r,i,o).join(u)}forEachLine(e,n,r,i,o,s){let a=i+this.left.height,l=o+this.left.length+this.break;if(this.break)e=l&&this.right.forEachLine(e,n,r,a,l,s);else{let u=this.lineAt(l,Yr.ByPos,r,i,o);e=e&&u.from<=n&&s(u),n>u.to&&this.right.forEachLine(u.to+1,n,r,a,l,s)}}replace(e,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let o=[];e>0&&this.decomposeLeft(e,o);let s=o.length;for(let a of r)o.push(a);if(e>0&&abe(o,s-1),n=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e2*n.size||n.size>2*e.size?Ta.of(this.break?[e,null,n]:[e,n]):(this.left=rz(this.left,e),this.right=rz(this.right,n),this.setHeight(e.height+n.height),this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:o,right:s}=this,a=n+o.length+this.break,l=null;return i&&i.from<=n+o.length&&i.more?l=o=o.updateHeight(e,n,r,i):o.updateHeight(e,n,r),i&&i.from<=a+s.length&&i.more?l=s=s.updateHeight(e,a,r,i):s.updateHeight(e,a,r),l?this.balanced(o,s):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function abe(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof ts&&(r=t[e+1])instanceof ts&&t.splice(e-1,3,new ts(n.length+1+r.length))}const ppn=5;class ble{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof Xl?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new Xl(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e=ppn)&&this.addLineDeco(i,o,s)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new Xl(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let r=new ts(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Xl)return e;let n=new Xl(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof Xl)&&!this.isCovered?this.nodes.push(new Xl(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&f.overflow!="visible"){let d=c.getBoundingClientRect();o=Math.max(o,d.left),s=Math.min(s,d.right),a=Math.max(a,d.top),l=Math.min(u==t.parentNode?i.innerHeight:l,d.bottom)}u=f.position=="absolute"||f.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:o-n.left,right:Math.max(o,s)-n.left,top:a-(n.top+e),bottom:Math.max(a,l)-(n.top+e)}}function ypn(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}class G9{constructor(e,n,r){this.from=e,this.to=n,this.size=r}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new fpn(n),this.stateDeco=e.facet(cP).filter(r=>typeof r!="function"),this.heightMap=Ta.empty().applyChanges(this.stateDeco,ar.empty,this.heightOracle.setDoc(e.doc),[new mc(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=Dt.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:o,to:s})=>i>=o&&i<=s)){let{from:o,to:s}=this.lineBlockAt(i);e.push(new AL(o,s))}}return this.viewports=e.sort((r,i)=>r.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?ube:new wle(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(MT(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(cP).filter(c=>typeof c!="function");let i=e.changedRanges,o=mc.extendWithRanges(i,gpn(r,this.stateDeco,e?e.changes:mo.empty(this.state.doc.length))),s=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);sbe(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),(this.heightMap.height!=s||yC)&&(e.flags|=2),a?(this.scrollAnchorPos=e.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=o.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,n));let u=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,e.flags|=this.updateForViewport(),(u||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(i9e)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,o=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?ii.RTL:ii.LTR;let s=this.heightOracle.mustRefreshForWrapping(o),a=n.getBoundingClientRect(),l=s||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let u=0,c=0;if(a.width&&a.height){let{scaleX:b,scaleY:w}=MVe(n,a);(b>.005&&Math.abs(this.scaleX-b)>.005||w>.005&&Math.abs(this.scaleY-w)>.005)&&(this.scaleX=b,this.scaleY=w,u|=8,s=l=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,d=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=d)&&(this.paddingTop=f,this.paddingBottom=d,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(l=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let h=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=h&&(this.scrollAnchorHeight=-1,this.scrollTop=h),this.scrolledToBottom=IVe(e.scrollDOM);let p=(this.printing?ypn:vpn)(n,this.paddingTop),g=p.top-this.pixelViewport.top,m=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let v=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(v!=this.inView&&(this.inView=v,v&&(l=!0)),!this.inView&&!this.scrollTarget)return 0;let y=a.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),l){let b=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(b)&&(s=!0),s||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:w,charWidth:_,textHeight:S}=e.docView.measureTextSize();s=w>0&&i.refresh(o,w,_,S,y/_,b),s&&(e.docView.minWidth=0,u|=8)}g>0&&m>0?c=Math.max(g,m):g<0&&m<0&&(c=Math.min(g,m)),sbe();for(let w of this.viewports){let _=w.from==this.viewport.from?b:e.docView.measureVisibleLineHeights(w);this.heightMap=(s?Ta.empty().applyChanges(this.stateDeco,ar.empty,this.heightOracle,[new mc(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,s,new dpn(w.from,_))}yC&&(u|=2)}let x=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return x&&(u&2&&(u|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),u|=this.updateForViewport()),(u&2||x)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(s?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,o=this.heightOracle,{visibleTop:s,visibleBottom:a}=this,l=new AL(i.lineAt(s-r*1e3,Yr.ByHeight,o,0,0).from,i.lineAt(a+(1-r)*1e3,Yr.ByHeight,o,0,0).to);if(n){let{head:u}=n.range;if(ul.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(u,Yr.ByPos,o,0,0),d;n.y=="center"?d=(f.top+f.bottom)/2-c/2:n.y=="start"||n.y=="nearest"&&u=a+Math.max(10,Math.min(r,250)))&&i>s-2*1e3&&o>1,s=i<<1;if(this.defaultTextDirection!=ii.LTR&&!r)return[];let a=[],l=(c,f,d,h)=>{if(f-cc&&vv.from>=d.from&&v.to<=d.to&&Math.abs(v.from-c)v.fromy));if(!m){if(fv.from<=f&&v.to>=f)){let v=n.moveToLineBoundary(Ve.cursor(f),!1,!0).head;v>c&&(f=v)}m=new G9(c,f,this.gapSize(d,c,f,h))}a.push(m)},u=c=>{if(c.lengthc.from&&l(c.from,h,c,f),pn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];Gn.spans(e,this.viewport.from,this.viewport.to,{span(i,o){n.push({from:i,to:o})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,o)=>i.from!=n[o].from||i.to!=n[o].to);return this.visibleRanges=n,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||MT(this.heightMap.lineAt(e,Yr.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=e&&n.bottom>=e)||MT(this.heightMap.lineAt(this.scaler.fromDOM(e),Yr.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return MT(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class AL{constructor(e,n){this.from=e,this.to=n}}function bpn(t,e,n){let r=[],i=t,o=0;return Gn.spans(n,t,e,{span(){},point(s,a){s>i&&(r.push({from:i,to:s}),o+=s-i),i=a}},20),i=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:o,to:s}=e[i],a=s-o;if(r<=a)return o+r;r-=a}}function ML(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}function wpn(t,e){for(let n of t)if(e(n))return n}const ube={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}};class wle{constructor(e,n,r){let i=0,o=0,s=0;this.viewports=r.map(({from:a,to:l})=>{let u=n.lineAt(a,Yr.ByPos,e,0,0).top,c=n.lineAt(l,Yr.ByPos,e,0,0).bottom;return i+=c-u,{from:a,to:l,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let a of this.viewports)a.domTop=s+(a.top-o)*this.scale,s=a.domBottom=a.domTop+(a.bottom-a.top),o=a.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let o=nn.from==e.viewports[r].from&&n.to==e.viewports[r].to):!1}}function MT(t,e){if(e.scale==1)return t;let n=e.toDOM(t.top),r=e.toDOM(t.bottom);return new qd(t.from,t.length,n,r-n,Array.isArray(t._content)?t._content.map(i=>MT(i,e)):t._content)}const RL=_t.define({combine:t=>t.join(" ")}),ZQ=_t.define({combine:t=>t.indexOf(!0)>-1}),JQ=wy.newName(),C9e=wy.newName(),O9e=wy.newName(),E9e={"&light":"."+C9e,"&dark":"."+O9e};function eK(t,e,n){return new wy(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}const _pn=eK("."+JQ,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},E9e),Spn={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},H9=St.ie&&St.ie_version<=11;class Cpn{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new lhn,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(St.ie&&St.ie_version<=11||St.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(St.chrome&&St.chrome_version<126)&&(this.editContext=new Epn(e),e.state.facet(rv)&&(e.contentDOM.editContext=this.editContext.editContext)),H9&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(rv)?r.root.activeElement!=this.dom:!j3(r.dom,i))return;let o=i.anchorNode&&r.docView.nearest(i.anchorNode);if(o&&o.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(St.ie&&St.ie_version<=11||St.android&&St.chrome)&&!r.state.selection.main.empty&&i.focusNode&&Ok(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=uP(e.root);if(!n)return!1;let r=St.safari&&e.root.nodeType==11&&ihn(this.dom.ownerDocument)==this.dom&&Opn(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=j3(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let o=this.delayedAndroidKey;o&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=o.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&o.force&&Y_(this.dom,o.key,o.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let o of e){let s=this.readMutation(o);s&&(s.typeOver&&(i=!0),n==-1?{from:n,to:r}=s:(n=Math.min(s.from,n),r=Math.max(s.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&j3(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let o=new Whn(this.view,e,n,r);return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=p9e(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!n.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.flags|=4),e.type=="childList"){let r=cbe(n,e.previousSibling||e.target.previousSibling,-1),i=cbe(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(rv)!=e.state.facet(rv)&&(e.view.contentDOM.editContext=e.state.facet(rv)?this.editContext.editContext:null))}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function cbe(t,e,n){for(;e;){let r=Dr.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}function fbe(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,s=t.docView.domAtPos(t.state.selection.main.anchor);return Ok(s.node,s.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function Opn(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return fbe(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?fbe(t,n):null}class Epn{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(e.state);let n=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:i}=e.state.selection.main,o={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:ar.of(r.text.split(` +`))};o.from==this.from&&ithis.to&&(o.to=i),!(o.from==o.to&&!o.insert.length)&&(this.pendingContextChange=o,e.state.readOnly||xle(e,o,Ve.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)))},this.handlers.characterboundsupdate=r=>{let i=[],o=null;for(let s=this.toEditorPos(r.rangeStart),a=this.toEditorPos(r.rangeEnd);s{let i=[];for(let o of r.getTextFormats()){let s=o.underlineStyle,a=o.underlineThickness;if(s!="None"&&a!="None"){let l=`text-decoration: underline ${s=="Dashed"?"dashed ":s=="Squiggle"?"wavy ":""}${a=="Thin"?1:2}px`;i.push(Dt.mark({attributes:{style:l}}).range(this.toEditorPos(o.rangeStart),this.toEditorPos(o.rangeEnd)))}}e.dispatch({effects:s9e.of(Dt.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let i=uP(r.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let n=0,r=!1,i=this.pendingContextChange;return e.changes.iterChanges((o,s,a,l,u)=>{if(r)return;let c=u.length-(s-o);if(i&&s>=i.to)if(i.from==o&&i.to==s&&i.insert.eq(u)){i=this.pendingContextChange=null,n+=c,this.to+=c;return}else i=null,this.revertPending(e.state);if(o+=n,s+=n,s<=this.from)this.from+=c,this.to+=c;else if(othis.to||this.to-this.from+u.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(o),this.toContextPos(s),u.toString()),this.to+=c}n+=c}),i&&!r&&this.revertPending(e.state),!r}update(e){let n=this.pendingContextChange;!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet||n)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:n}=e.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(e.doc.length,n+1e4)}revertPending(e){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),e.doc.sliceString(n.from,n.to))}setSelection(e){let{main:n}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),i=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(r,i)}rangeIsValid(e){let{head:n}=e.selection.main;return!(this.from>0&&n-this.from<500||this.to1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}}class mt{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(o=>r(o,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||uhn(e.parent)||document,this.viewState=new lbe(e.state||In.create(e)),e.scrollTo&&e.scrollTo.is(EL)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(kT).map(i=>new U9(i));for(let i of this.plugins)i.update(this);this.observer=new Cpn(this),this.inputState=new Xhn(this),this.inputState.ensureHandlers(this.plugins),this.docView=new W1e(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let n=e.length==1&&e[0]instanceof ao?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,o=this.state;for(let d of e){if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");o=d.state}if(this.destroyed){this.viewState.state=o;return}let s=this.hasFocus,a=0,l=null;e.some(d=>d.annotation(b9e))?(this.inputState.notifiedFocused=s,a=1):s!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=s,l=w9e(o,s),l||(a=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(c=null)):this.observer.clear(),o.facet(In.phrases)!=this.state.facet(In.phrases))return this.setState(o);i=nz.create(this,o,e),i.flags|=a;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let d of e){if(f&&(f=f.map(d.changes)),d.scrollIntoView){let{main:h}=d.state.selection;f=new Q_(h.empty?h:Ve.cursor(h.head,h.head>h.anchor?-1:1))}for(let h of d.effects)h.is(EL)&&(f=h.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=iz.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(AT)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(d=>d.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(RL)!=i.state.facet(RL)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let d of this.state.facet(XQ))try{d(i)}catch(h){sl(this.state,h,"update listener")}(l||c)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),c&&!p9e(this,c)&&u.force&&Y_(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new lbe(e),this.plugins=e.facet(kT).map(r=>new U9(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new W1e(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(kT),r=e.state.facet(kT);if(n!=r){let i=[];for(let o of r){let s=n.indexOf(o);if(s<0)i.push(new U9(o));else{let a=this.plugins[s];a.mustUpdate=e,i.push(a)}}for(let o of this.plugins)o.mustUpdate!=e&&o.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:s}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(s=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(s<0)if(IVe(r))o=-1,s=this.viewState.heightMap.height;else{let h=this.viewState.scrollAnchorAt(i);o=h.from,s=h.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];l&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(h=>{try{return h.read(this)}catch(p){return sl(this.state,p),dbe}}),f=nz.create(this,this.state,[]),d=!1;f.flags|=l,n?n.flags|=l:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),d=this.docView.update(f),d&&this.docViewUpdate());for(let h=0;h1||p<-1){i=i+p,r.scrollTop=i/this.scaleY,s=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let a of this.state.facet(XQ))a(n)}get themeClasses(){return JQ+" "+(this.state.facet(ZQ)?O9e:C9e)+" "+this.state.facet(RL)}updateAttrs(){let e=hbe(this,a9e,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(rv)?"true":"false",class:"cm-content",style:`${St.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),hbe(this,vle,n);let r=this.observer.ignore(()=>{let i=UQ(this.contentDOM,this.contentAttrs,n),o=UQ(this.dom,this.editorAttrs,e);return i||o});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(mt.announce)){n&&(this.announceDOM.textContent=""),n=!1;let o=this.announceDOM.appendChild(document.createElement("div"));o.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(AT);let e=this.state.facet(mt.cspNonce);wy.mount(this.root,this.styleModules.concat(_pn).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;nr.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return V9(this,e,X1e(this,e,n,r))}moveByGroup(e,n){return V9(this,e,X1e(this,e,n,r=>zhn(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),o=r[n?r.length-1:0];return Ve.cursor(o.side(n,i)+e.from,o.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return Nhn(this,e,n,r)}moveVertically(e,n,r){return V9(this,e,jhn(this,e,n,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),h9e(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),o=this.bidiSpans(i),s=o[_v.find(o,e-i.from,-1,n)];return rD(r,s.dir==ii.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(r9e)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Tpn)return YVe(e.length);let n=this.textDirectionAt(e.from),r;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==n&&(o.fresh||XVe(o.isolates,r=U1e(this,e))))return o.order;r||(r=U1e(this,e));let i=_hn(e.text,n,r);return this.bidiCache.push(new iz(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||St.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{RVe(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return EL.of(new Q_(typeof e=="number"?Ve.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return EL.of(new Q_(Ve.cursor(r.from),"start","start",r.top-e,n,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return Yi.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return Yi.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=wy.newName(),i=[RL.of(r),AT.of(eK(`.${r}`,e))];return n&&n.dark&&i.push(ZQ.of(!0)),i}static baseTheme(e){return Jy.lowest(AT.of(eK("."+JQ,e,E9e)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&Dr.get(r)||Dr.get(e);return((n=i==null?void 0:i.rootView)===null||n===void 0?void 0:n.view)||null}}mt.styleModule=AT;mt.inputHandler=t9e;mt.scrollHandler=o9e;mt.focusChangeEffect=n9e;mt.perLineTextDirection=r9e;mt.exceptionSink=e9e;mt.updateListener=XQ;mt.editable=rv;mt.mouseSelectionStyle=JVe;mt.dragMovesSelection=ZVe;mt.clickAddsSelectionRange=KVe;mt.decorations=cP;mt.outerDecorations=l9e;mt.atomicRanges=yle;mt.bidiIsolatedRanges=u9e;mt.scrollMargins=c9e;mt.darkTheme=ZQ;mt.cspNonce=_t.define({combine:t=>t.length?t[0]:""});mt.contentAttributes=vle;mt.editorAttributes=a9e;mt.lineWrapping=mt.contentAttributes.of({class:"cm-lineWrapping"});mt.announce=rn.define();const Tpn=4096,dbe={};class iz{constructor(e,n,r,i,o,s){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=o,this.order=s}static update(e,n){if(n.empty&&!e.some(o=>o.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:ii.LTR;for(let o=Math.max(0,e.length-10);o=0;i--){let o=r[i],s=typeof o=="function"?o(t):o;s&&BQ(s,n)}return n}const kpn=St.mac?"mac":St.windows?"win":St.linux?"linux":"key";function Apn(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,o,s,a;for(let l=0;lr.concat(i),[]))),n}function Mpn(t,e,n){return k9e(T9e(t.state),e,t,n)}let iv=null;const Rpn=4e3;function Dpn(t,e=kpn){let n=Object.create(null),r=Object.create(null),i=(s,a)=>{let l=r[s];if(l==null)r[s]=a;else if(l!=a)throw new Error("Key binding "+s+" is used both as a regular binding and as a multi-stroke prefix")},o=(s,a,l,u,c)=>{var f,d;let h=n[s]||(n[s]=Object.create(null)),p=a.split(/ (?!$)/).map(v=>Apn(v,e));for(let v=1;v{let b=iv={view:x,prefix:y,scope:s};return setTimeout(()=>{iv==b&&(iv=null)},Rpn),!0}]})}let g=p.join(" ");i(g,!1);let m=h[g]||(h[g]={preventDefault:!1,stopPropagation:!1,run:((d=(f=h._any)===null||f===void 0?void 0:f.run)===null||d===void 0?void 0:d.slice())||[]});l&&m.run.push(l),u&&(m.preventDefault=!0),c&&(m.stopPropagation=!0)};for(let s of t){let a=s.scope?s.scope.split(" "):["editor"];if(s.any)for(let u of a){let c=n[u]||(n[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=s;for(let d in c)c[d].run.push(h=>f(h,tK))}let l=s[e]||s.key;if(l)for(let u of a)o(u,l,s.run,s.preventDefault,s.stopPropagation),s.shift&&o(u,"Shift-"+l,s.shift,s.preventDefault,s.stopPropagation)}return n}let tK=null;function k9e(t,e,n,r){tK=e;let i=rhn(e),o=ss(i,0),s=Ju(o)==i.length&&i!=" ",a="",l=!1,u=!1,c=!1;iv&&iv.view==n&&iv.scope==r&&(a=iv.prefix+" ",m9e.indexOf(e.keyCode)<0&&(u=!0,iv=null));let f=new Set,d=m=>{if(m){for(let v of m.run)if(!f.has(v)&&(f.add(v),v(n)))return m.stopPropagation&&(c=!0),!0;m.preventDefault&&(m.stopPropagation&&(c=!0),u=!0)}return!1},h=t[r],p,g;return h&&(d(h[a+DL(i,e,!s)])?l=!0:s&&(e.altKey||e.metaKey||e.ctrlKey)&&!(St.windows&&e.ctrlKey&&e.altKey)&&(p=_y[e.keyCode])&&p!=i?(d(h[a+DL(p,e,!0)])||e.shiftKey&&(g=lP[e.keyCode])!=i&&g!=p&&d(h[a+DL(g,e,!1)]))&&(l=!0):s&&e.shiftKey&&d(h[a+DL(i,e,!0)])&&(l=!0),!l&&d(h._any)&&(l=!0)),u&&(l=!0),l&&c&&e.stopPropagation(),tK=null,l}class aD{constructor(e,n,r,i,o){this.className=e,this.left=n,this.top=r,this.width=i,this.height=o}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let o=A9e(e);return[new aD(n,i.left-o.left,i.top-o.top,null,i.bottom-i.top)]}else return Ipn(e,n,r)}}function A9e(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==ii.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}function gbe(t,e,n,r){let i=t.coordsAtPos(e,n*2);if(!i)return r;let o=t.dom.getBoundingClientRect(),s=(i.top+i.bottom)/2,a=t.posAtCoords({x:o.left+1,y:s}),l=t.posAtCoords({x:o.right-1,y:s});return a==null||l==null?r:{from:Math.max(r.from,Math.min(a,l)),to:Math.min(r.to,Math.max(a,l))}}function Ipn(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),o=t.textDirection==ii.LTR,s=t.contentDOM,a=s.getBoundingClientRect(),l=A9e(t),u=s.querySelector(".cm-line"),c=u&&window.getComputedStyle(u),f=a.left+(c?parseInt(c.paddingLeft)+Math.min(0,parseInt(c.textIndent)):0),d=a.right-(c?parseInt(c.paddingRight):0),h=QQ(t,r),p=QQ(t,i),g=h.type==Ea.Text?h:null,m=p.type==Ea.Text?p:null;if(g&&(t.lineWrapping||h.widgetLineBreaks)&&(g=gbe(t,r,1,g)),m&&(t.lineWrapping||p.widgetLineBreaks)&&(m=gbe(t,i,-1,m)),g&&m&&g.from==m.from&&g.to==m.to)return y(x(n.from,n.to,g));{let w=g?x(n.from,null,g):b(h,!1),_=m?x(null,n.to,m):b(p,!0),S=[];return(g||h).to<(m||p).from-(g&&m?1:0)||h.widgetLineBreaks>1&&w.bottom+t.defaultLineHeight/2<_.top?S.push(v(f,w.bottom,d,_.top)):w.bottom<_.top&&t.elementAtHeight((w.bottom+_.top)/2).type==Ea.Text&&(w.bottom=_.top=(w.bottom+_.top)/2),y(w).concat(S).concat(y(_))}function v(w,_,S,O){return new aD(e,w-l.left,_-l.top-.01,S-w,O-_+.01)}function y({top:w,bottom:_,horizontal:S}){let O=[];for(let k=0;kA&&T.from=I)break;L>R&&M(Math.max(z,R),w==null&&z<=A,Math.min(L,I),_==null&&L>=P,$.dir)}if(R=B.to+1,R>=I)break}return E.length==0&&M(A,w==null,P,_==null,t.textDirection),{top:O,bottom:k,horizontal:E}}function b(w,_){let S=a.top+(_?w.top:w.bottom);return{top:S,bottom:S,horizontal:[]}}}function Lpn(t,e){return t.constructor==e.constructor&&t.eq(e)}class $pn{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(W3)!=e.state.facet(W3)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(W3);for(;n!Lpn(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const W3=_t.define();function P9e(t){return[Yi.define(e=>new $pn(e,t)),W3.of(t)]}const M9e=!St.ios,fP=_t.define({combine(t){return Zh(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function Fpn(t={}){return[fP.of(t),Npn,zpn,jpn,i9e.of(!0)]}function R9e(t){return t.startState.facet(fP)!=t.state.facet(fP)}const Npn=P9e({above:!0,markers(t){let{state:e}=t,n=e.facet(fP),r=[];for(let i of e.selection.ranges){let o=i==e.selection.main;if(i.empty?!o||M9e:n.drawRangeCursor){let s=o?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=i.empty?i:Ve.cursor(i.head,i.head>i.anchor?-1:1);for(let l of aD.forRange(t,s,a))r.push(l)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=R9e(t);return n&&mbe(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){mbe(e.state,t)},class:"cm-cursorLayer"});function mbe(t,e){e.style.animationDuration=t.facet(fP).cursorBlinkRate+"ms"}const zpn=P9e({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:aD.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||R9e(t)},class:"cm-selectionLayer"}),nK={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};M9e&&(nK[".cm-line"].caretColor=nK[".cm-content"].caretColor="transparent !important");const jpn=Jy.highest(mt.theme(nK)),D9e=rn.define({map(t,e){return t==null?null:e.mapPos(t)}}),RT=Qo.define({create(){return null},update(t,e){return t!=null&&(t=e.changes.mapPos(t)),e.effects.reduce((n,r)=>r.is(D9e)?r.value:n,t)}}),Bpn=Yi.fromClass(class{constructor(t){this.view=t,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(t){var e;let n=t.state.field(RT);n==null?this.cursor!=null&&((e=this.cursor)===null||e===void 0||e.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(t.startState.field(RT)!=n||t.docChanged||t.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:t}=this,e=t.state.field(RT),n=e!=null&&t.coordsAtPos(e);if(!n)return null;let r=t.scrollDOM.getBoundingClientRect();return{left:n.left-r.left+t.scrollDOM.scrollLeft*t.scaleX,top:n.top-r.top+t.scrollDOM.scrollTop*t.scaleY,height:n.bottom-n.top}}drawCursor(t){if(this.cursor){let{scaleX:e,scaleY:n}=this.view;t?(this.cursor.style.left=t.left/e+"px",this.cursor.style.top=t.top/n+"px",this.cursor.style.height=t.height/n+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(t){this.view.state.field(RT)!=t&&this.view.dispatch({effects:D9e.of(t)})}},{eventObservers:{dragover(t){this.setDropPos(this.view.posAtCoords({x:t.clientX,y:t.clientY}))},dragleave(t){(t.target==this.view.contentDOM||!this.view.contentDOM.contains(t.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function Upn(){return[RT,Bpn]}function vbe(t,e,n,r,i){e.lastIndex=0;for(let o=t.iterRange(n,r),s=n,a;!o.next().done;s+=o.value.length)if(!o.lineBreak)for(;a=e.exec(o.value);)i(s+a.index,a)}function Wpn(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let r=[];for(let{from:i,to:o}of n)i=Math.max(t.state.doc.lineAt(i).from,i-e),o=Math.min(t.state.doc.lineAt(o).to,o+e),r.length&&r[r.length-1].to>=i?r[r.length-1].to=o:r.push({from:i,to:o});return r}class Vpn{constructor(e){const{regexp:n,decoration:r,decorate:i,boundary:o,maxLength:s=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(a,l,u,c)=>i(c,u,u+a[0].length,a,l);else if(typeof r=="function")this.addMatch=(a,l,u,c)=>{let f=r(a,l,u);f&&c(u,u+a[0].length,f)};else if(r)this.addMatch=(a,l,u,c)=>c(u,u+a[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=o,this.maxLength=s}createDeco(e){let n=new by,r=n.add.bind(n);for(let{from:i,to:o}of Wpn(e,this.maxLength))vbe(e.state.doc,this.regexp,i,o,(s,a)=>this.addMatch(a,e,s,r));return n.finish()}updateDeco(e,n){let r=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((o,s,a,l)=>{l>e.view.viewport.from&&a1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,n.map(e.changes),r,i):n}updateRange(e,n,r,i){for(let o of e.visibleRanges){let s=Math.max(o.from,r),a=Math.min(o.to,i);if(a>s){let l=e.state.doc.lineAt(s),u=l.tol.from;s--)if(this.boundary.test(l.text[s-1-l.from])){c=s;break}for(;ad.push(v.range(g,m));if(l==u)for(this.regexp.lastIndex=c-l.from;(h=this.regexp.exec(l.text))&&h.indexthis.addMatch(m,e,g,p));n=n.update({filterFrom:c,filterTo:f,filter:(g,m)=>gf,add:d})}}return n}}const rK=/x/.unicode!=null?"gu":"g",Gpn=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,rK),Hpn={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let q9=null;function qpn(){var t;if(q9==null&&typeof document<"u"&&document.body){let e=document.body.style;q9=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return q9||!1}const V3=_t.define({combine(t){let e=Zh(t,{render:null,specialChars:Gpn,addSpecialChars:null});return(e.replaceTabs=!qpn())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,rK)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,rK)),e}});function Xpn(t={}){return[V3.of(t),Ypn()]}let ybe=null;function Ypn(){return ybe||(ybe=Yi.fromClass(class{constructor(t){this.view=t,this.decorations=Dt.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(V3)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new Vpn({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:i}=n.state,o=ss(e[0],0);if(o==9){let s=i.lineAt(r),a=n.state.tabSize,l=XO(s.text,a,r-s.from);return Dt.replace({widget:new Jpn((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=Dt.replace({widget:new Zpn(t,o)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(V3);t.startState.facet(V3)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}const Qpn="•";function Kpn(t){return t>=32?Qpn:t==10?"␤":String.fromCharCode(9216+t)}class Zpn extends Jh{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=Kpn(this.code),r=e.state.phrase("Control character")+" "+(Hpn[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let o=document.createElement("span");return o.textContent=n,o.title=r,o.setAttribute("aria-label",r),o.className="cm-specialChar",o}ignoreEvent(){return!1}}class Jpn extends Jh{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}}function egn(){return ngn}const tgn=Dt.line({class:"cm-activeLine"}),ngn=Yi.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(tgn.range(i.from)),e=i.from)}return Dt.set(n)}},{decorations:t=>t.decorations});class rgn extends Jh{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let n=e.firstChild?gC(e.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(e.parentNode),i=rD(n[0],r.direction!="rtl"),o=parseInt(r.lineHeight);return i.bottom-i.top>o*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+o}:i}ignoreEvent(){return!1}}function ign(t){return Yi.fromClass(class{constructor(e){this.view=e,this.placeholder=t?Dt.set([Dt.widget({widget:new rgn(t),side:1}).range(0)]):Dt.none}get decorations(){return this.view.state.doc.length?Dt.none:this.placeholder}},{decorations:e=>e.decorations})}const iK=2e3;function ogn(t,e,n){let r=Math.min(e.line,n.line),i=Math.max(e.line,n.line),o=[];if(e.off>iK||n.off>iK||e.col<0||n.col<0){let s=Math.min(e.off,n.off),a=Math.max(e.off,n.off);for(let l=r;l<=i;l++){let u=t.doc.line(l);u.length<=a&&o.push(Ve.range(u.from+s,u.to+a))}}else{let s=Math.min(e.col,n.col),a=Math.max(e.col,n.col);for(let l=r;l<=i;l++){let u=t.doc.line(l),c=IQ(u.text,s,t.tabSize,!0);if(c<0)o.push(Ve.cursor(u.to));else{let f=IQ(u.text,a,t.tabSize);o.push(Ve.range(u.from+c,u.from+f))}}}return o}function sgn(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}function xbe(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),i=n-r.from,o=i>iK?-1:i==r.length?sgn(t,e.clientX):XO(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:o,off:i}}function agn(t,e){let n=xbe(t,e),r=t.state.selection;return n?{update(i){if(i.docChanged){let o=i.changes.mapPos(i.startState.doc.line(n.line).from),s=i.state.doc.lineAt(o);n={line:s.number,col:n.col,off:Math.min(n.off,s.length)},r=r.map(i.changes)}},get(i,o,s){let a=xbe(t,i);if(!a)return r;let l=ogn(t.state,n,a);return l.length?s?Ve.create(l.concat(r.ranges)):Ve.create(l):r}}:null}function lgn(t){let e=n=>n.altKey&&n.button==0;return mt.mouseSelectionStyle.of((n,r)=>e(r)?agn(n,r):null)}const ugn={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},cgn={style:"cursor: crosshair"};function fgn(t={}){let[e,n]=ugn[t.key||"Alt"],r=Yi.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||n(i))},keyup(i){(i.keyCode==e||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,mt.contentAttributes.of(i=>{var o;return!((o=i.plugin(r))===null||o===void 0)&&o.isDown?cgn:null})]}const S2="-10000px";class I9e{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(s=>s);let o=null;this.tooltipViews=this.tooltips.map(s=>o=r(s,o))}update(e,n){var r;let i=e.state.facet(this.facet),o=i.filter(l=>l);if(i===this.input){for(let l of this.tooltipViews)l.update&&l.update(e);return!1}let s=[],a=n?[]:null;for(let l=0;ln[u]=l),n.length=a.length),this.input=i,this.tooltips=o,this.tooltipViews=s,!0}}function dgn(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const X9=_t.define({combine:t=>{var e,n,r;return{position:St.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||dgn}}}),bbe=new WeakMap,_le=Yi.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(X9);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new I9e(t,Sle,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(X9);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.appendChild(i)}return n.dom.style.position=this.position,n.dom.style.top=S2,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(St.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==S2&&i.style.left=="0px"){let o=i.getBoundingClientRect();r=Math.abs(o.top+1e4)>1||Math.abs(o.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:n}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((i,o)=>{let s=this.manager.tooltipViews[o];return s.getCoords?s.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(X9).tooltipSpace(this.view),scaleX:e,scaleY:n,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:o}=t,s=[];for(let a=0;a=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){c.style.top=S2;continue}let h=l.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=h?7:0,g=d.right-d.left,m=(e=bbe.get(u))!==null&&e!==void 0?e:d.bottom-d.top,v=u.offset||pgn,y=this.view.textDirection==ii.LTR,x=d.width>r.right-r.left?y?r.left:r.right-d.width:y?Math.max(r.left,Math.min(f.left-(h?14:0)+v.x,r.right-g)):Math.min(Math.max(r.left,f.left-g+(h?14:0)-v.x),r.right-g),b=this.above[a];!l.strictSide&&(b?f.top-(d.bottom-d.top)-v.yr.bottom)&&b==r.bottom-f.bottom>f.top-r.top&&(b=this.above[a]=!b);let w=(b?f.top-r.top:r.bottom-f.bottom)-p;if(wx&&O.top<_+m&&O.bottom>_&&(_=b?O.top-m-2-p:O.bottom+p+2);if(this.position=="absolute"?(c.style.top=(_-t.parent.top)/o+"px",c.style.left=(x-t.parent.left)/i+"px"):(c.style.top=_/o+"px",c.style.left=x/i+"px"),h){let O=f.left+(y?v.x:-v.x)-(x+14-7);h.style.left=O/i+"px"}u.overlap!==!0&&s.push({left:x,top:_,right:S,bottom:_+m}),c.classList.toggle("cm-tooltip-above",b),c.classList.toggle("cm-tooltip-below",!b),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=S2}},{eventObservers:{scroll(){this.maybeMeasure()}}}),hgn=mt.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),pgn={x:0,y:0},Sle=_t.define({enables:[_le,hgn]}),oz=_t.define({combine:t=>t.reduce((e,n)=>e.concat(n),[])});class AU{static create(e){return new AU(e)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new I9e(e,oz,(n,r)=>this.createHostedView(n,r),n=>n.dom.remove())}createHostedView(e,n){let r=e.create(this.view);return r.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(r.dom,n?n.dom.nextSibling:this.dom.firstChild),this.mounted&&r.mount&&r.mount(this.view),r}mount(e){for(let n of this.manager.tooltipViews)n.mount&&n.mount(e);this.mounted=!0}positioned(e){for(let n of this.manager.tooltipViews)n.positioned&&n.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let n of this.manager.tooltipViews)(e=n.destroy)===null||e===void 0||e.call(n)}passProp(e){let n;for(let r of this.manager.tooltipViews){let i=r[e];if(i!==void 0){if(n===void 0)n=i;else if(n!==i)return}}return n}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const ggn=Sle.compute([oz],t=>{let e=t.facet(oz);return e.length===0?null:{pos:Math.min(...e.map(n=>n.pos)),end:Math.max(...e.map(n=>{var r;return(r=n.end)!==null&&r!==void 0?r:n.pos})),create:AU.create,above:e[0].above,arrow:e.some(n=>n.arrow)}});class mgn{constructor(e,n,r,i,o){this.view=e,this.source=n,this.field=r,this.setHover=i,this.hoverTime=o,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;ea.bottom||n.xa.right+e.defaultCharacterWidth)return;let l=e.bidiSpans(e.state.doc.lineAt(i)).find(c=>c.from<=i&&c.to>=i),u=l&&l.dir==ii.RTL?-1:1;o=n.x{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>sl(e.state,l,"hover tooltip"))}else s&&!(Array.isArray(s)&&!s.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(s)?s:[s])})}get tooltip(){let e=this.view.plugin(_le),n=e?e.manager.tooltips.findIndex(r=>r.create==AU.create):-1;return n>-1?e.manager.tooltipViews[n]:null}mousemove(e){var n,r;this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:i,tooltip:o}=this;if(i.length&&o&&!vgn(o.dom,e)||this.pending){let{pos:s}=i[0]||this.pending,a=(r=(n=i[0])===null||n===void 0?void 0:n.end)!==null&&r!==void 0?r:s;(s==a?this.view.posAtCoords(this.lastMove)!=s:!ygn(this.view,s,a,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:n}=this;if(n.length){let{tooltip:r}=this;r&&r.dom.contains(e.relatedTarget)?this.watchTooltipLeave(r.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let n=r=>{e.removeEventListener("mouseleave",n),this.active.length&&!this.view.dom.contains(r.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",n)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const IL=4;function vgn(t,e){let n=t.getBoundingClientRect();return e.clientX>=n.left-IL&&e.clientX<=n.right+IL&&e.clientY>=n.top-IL&&e.clientY<=n.bottom+IL}function ygn(t,e,n,r,i,o){let s=t.scrollDOM.getBoundingClientRect(),a=t.documentTop+t.documentPadding.top+t.contentHeight;if(s.left>r||s.righti||Math.min(s.bottom,a)=e&&l<=n}function xgn(t,e={}){let n=rn.define(),r=Qo.define({create(){return[]},update(i,o){if(i.length&&(e.hideOnChange&&(o.docChanged||o.selection)?i=[]:e.hideOn&&(i=i.filter(s=>!e.hideOn(o,s))),o.docChanged)){let s=[];for(let a of i){let l=o.changes.mapPos(a.pos,-1,cs.TrackDel);if(l!=null){let u=Object.assign(Object.create(null),a);u.pos=l,u.end!=null&&(u.end=o.changes.mapPos(u.end)),s.push(u)}}i=s}for(let s of o.effects)s.is(n)&&(i=s.value),s.is(bgn)&&(i=[]);return i},provide:i=>oz.from(i)});return{active:r,extension:[r,Yi.define(i=>new mgn(i,t,r,n,e.hoverTime||300)),ggn]}}function L9e(t,e){let n=t.plugin(_le);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}const bgn=rn.define(),wbe=_t.define({combine(t){let e,n;for(let r of t)e=e||r.topContainer,n=n||r.bottomContainer;return{topContainer:e,bottomContainer:n}}});function dP(t,e){let n=t.plugin($9e),r=n?n.specs.indexOf(e):-1;return r>-1?n.panels[r]:null}const $9e=Yi.fromClass(class{constructor(t){this.input=t.state.facet(hP),this.specs=this.input.filter(n=>n),this.panels=this.specs.map(n=>n(t));let e=t.state.facet(wbe);this.top=new LL(t,!0,e.topContainer),this.bottom=new LL(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(n=>n.top)),this.bottom.sync(this.panels.filter(n=>!n.top));for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}update(t){let e=t.state.facet(wbe);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new LL(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new LL(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let n=t.state.facet(hP);if(n!=this.input){let r=n.filter(l=>l),i=[],o=[],s=[],a=[];for(let l of r){let u=this.specs.indexOf(l),c;u<0?(c=l(t.view),a.push(c)):(c=this.panels[u],c.update&&c.update(t)),i.push(c),(c.top?o:s).push(c)}this.specs=r,this.panels=i,this.top.sync(o),this.bottom.sync(s);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let r of this.panels)r.update&&r.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>mt.scrollMargins.of(e=>{let n=e.plugin(t);return n&&{top:n.top.scrollMargin(),bottom:n.bottom.scrollMargin()}})});class LL{constructor(e,n,r){this.view=e,this.top=n,this.container=r,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let n of this.panels)n.destroy&&e.indexOf(n)<0&&n.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let n=this.container||this.view.dom;n.insertBefore(this.dom,this.top?n.firstChild:null)}let e=this.dom.firstChild;for(let n of this.panels)if(n.dom.parentNode==this.dom){for(;e!=n.dom;)e=_be(e);e=e.nextSibling}else this.dom.insertBefore(n.dom,e);for(;e;)e=_be(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function _be(t){let e=t.nextSibling;return t.remove(),e}const hP=_t.define({enables:$9e});class jg extends A1{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}jg.prototype.elementClass="";jg.prototype.toDOM=void 0;jg.prototype.mapMode=cs.TrackBefore;jg.prototype.startSide=jg.prototype.endSide=-1;jg.prototype.point=!0;const G3=_t.define(),wgn=_t.define(),_gn={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>Gn.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Tk=_t.define();function Sgn(t){return[F9e(),Tk.of(Object.assign(Object.assign({},_gn),t))]}const Sbe=_t.define({combine:t=>t.some(e=>e)});function F9e(t){return[Cgn]}const Cgn=Yi.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Tk).map(e=>new Obe(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(Sbe),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Sbe)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=Gn.iter(this.view.state.facet(G3),this.view.viewport.from),r=[],i=this.gutters.map(o=>new Ogn(o,this.view.viewport,-this.view.documentPadding.top));for(let o of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(o.type)){let s=!0;for(let a of o.type)if(a.type==Ea.Text&&s){oK(n,r,a.from);for(let l of i)l.line(this.view,a,r);s=!1}else if(a.widget)for(let l of i)l.widget(this.view,a)}else if(o.type==Ea.Text){oK(n,r,o.from);for(let s of i)s.line(this.view,o,r)}else if(o.widget)for(let s of i)s.widget(this.view,o);for(let o of i)o.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Tk),n=t.state.facet(Tk),r=t.docChanged||t.heightChanged||t.viewportChanged||!Gn.eq(t.startState.facet(G3),t.state.facet(G3),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let o of n){let s=e.indexOf(o);s<0?i.push(new Obe(this.view,o)):(this.gutters[s].update(t),i.push(this.gutters[s]))}for(let o of this.gutters)o.dom.remove(),i.indexOf(o)<0&&o.destroy();for(let o of i)this.dom.appendChild(o.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>mt.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==ii.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}})});function Cbe(t){return Array.isArray(t)?t:[t]}function oK(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}class Ogn{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=Gn.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,o=(n.top-this.height)/e.scaleY,s=n.height/e.scaleY;if(this.i==i.elements.length){let a=new N9e(e,s,o,r);i.elements.push(a),i.dom.appendChild(a.dom)}else i.elements[this.i].update(e,s,o,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];oK(this.cursor,i,n.from),r.length&&(i=i.concat(r));let o=this.gutter.config.lineMarker(e,n,i);o&&i.unshift(o);let s=this.gutter;i.length==0&&!s.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n),i=r?[r]:null;for(let o of e.state.facet(wgn)){let s=o(e,n.widget,n);s&&(i||(i=[])).push(s)}i&&this.addElement(e,n,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}}class Obe{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let o=i.target,s;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let l=o.getBoundingClientRect();s=(l.top+l.bottom)/2}else s=i.clientY;let a=e.lineBlockAtHeight(s-e.documentTop);n.domEventHandlers[r](e,a,i)&&i.preventDefault()});this.markers=Cbe(n.markers(e)),n.initialSpacer&&(this.spacer=new N9e(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=Cbe(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!Gn.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}}class N9e{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),Egn(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let o=0,s=0;;){let a=s,l=oo(a,l,u)||s(a,l,u):s}return r}})}});class Y9 extends jg{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}}function Q9(t,e){return t.state.facet(h_).formatNumber(e,t.state)}const Agn=Tk.compute([h_],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(Tgn)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new Y9(Q9(e,e.state.doc.lineAt(n.from).number))},widgetMarker:(e,n,r)=>{for(let i of e.state.facet(kgn)){let o=i(e,n,r);if(o)return o}return null},lineMarkerChange:e=>e.startState.facet(h_)!=e.state.facet(h_),initialSpacer(e){return new Y9(Q9(e,Ebe(e.state.doc.lines)))},updateSpacer(e,n){let r=Q9(n.view,Ebe(n.view.state.doc.lines));return r==e.number?e:new Y9(r)},domEventHandlers:t.facet(h_).domEventHandlers}));function Pgn(t={}){return[h_.of(t),F9e(),Agn]}function Ebe(t){let e=9;for(;e{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(Mgn.range(i)))}return Gn.of(e)});function Dgn(){return Rgn}const z9e=1024;let Ign=0;class K9{constructor(e,n){this.from=e,this.to=n}}class _n{constructor(e={}){this.id=Ign++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=El.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}}_n.closedBy=new _n({deserialize:t=>t.split(" ")});_n.openedBy=new _n({deserialize:t=>t.split(" ")});_n.group=new _n({deserialize:t=>t.split(" ")});_n.isolate=new _n({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});_n.contextHash=new _n({perNode:!0});_n.lookAhead=new _n({perNode:!0});_n.mounted=new _n({perNode:!0});class sz{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[_n.mounted.id]}}const Lgn=Object.create(null);class El{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):Lgn,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new El(e.name||"",n,e.id,r);if(e.props){for(let o of e.props)if(Array.isArray(o)||(o=o(i)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[o[0].id]=o[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(_n.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(_n.group),o=-1;o<(i?i.length:0);o++){let s=n[o<0?r.name:i[o]];if(s)return s}}}}El.none=new El("",Object.create(null),0,8);class Cle{constructor(e){this.types=e;for(let n=0;n0;for(let l=this.cursor(s|yo.IncludeAnonymous);;){let u=!1;if(l.from<=o&&l.to>=i&&(!a&&l.type.isAnonymous||n(l)!==!1)){if(l.firstChild())continue;u=!0}for(;u&&r&&(a||!l.type.isAnonymous)&&r(l),!l.nextSibling();){if(!l.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:Tle(El.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new lo(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new lo(El.none,n,r,i)))}static build(e){return zgn(e)}}lo.empty=new lo(El.none,[],[],0);class Ole{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new Ole(this.buffer,this.index)}}class Cy{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return El.none}toString(){let e=[];for(let n=0;n0));l=s[l+3]);return a}slice(e,n,r){let i=this.buffer,o=new Uint16Array(n-e),s=0;for(let a=e,l=0;a=e&&ne;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}function pP(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?a.length:-1;e!=u;e+=n){let c=a[e],f=l[e]+s.from;if(j9e(i,r,f,f+c.length)){if(c instanceof Cy){if(o&yo.ExcludeBuffers)continue;let d=c.findChild(0,c.buffer.length,n,r-f,i);if(d>-1)return new Jd(new $gn(s,c,e,f),null,d)}else if(o&yo.IncludeAnonymous||!c.type.isAnonymous||Ele(c)){let d;if(!(o&yo.IgnoreMounts)&&(d=sz.get(c))&&!d.overlay)return new ml(d.tree,f,e,s);let h=new ml(c,f,e,s);return o&yo.IncludeAnonymous||!h.type.isAnonymous?h:h.nextChild(n<0?c.children.length-1:0,n,r,i)}}}if(o&yo.IncludeAnonymous||!s.type.isAnonymous||(s.index>=0?e=s.index+n:e=n<0?-1:s._parent._tree.children.length,s=s._parent,!s))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let i;if(!(r&yo.IgnoreOverlays)&&(i=sz.get(this._tree))&&i.overlay){let o=e-this.from;for(let{from:s,to:a}of i.overlay)if((n>0?s<=o:s=o:a>o))return new ml(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function kbe(t,e,n,r){let i=t.cursor(),o=[];if(!i.firstChild())return o;if(n!=null){for(let s=!1;!s;)if(s=i.type.is(n),!i.nextSibling())return o}for(;;){if(r!=null&&i.type.is(r))return o;if(i.type.is(e)&&o.push(i.node),!i.nextSibling())return r==null?o:[]}}function sK(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}class $gn{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}}class Jd extends B9e{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return o<0?null:new Jd(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&yo.ExcludeBuffers)return null;let{buffer:i}=this.context,o=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return o<0?null:new Jd(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Jd(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Jd(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,o=r.buffer[this.index+3];if(o>i){let s=r.buffer[this.index+1];e.push(r.slice(i,o,s)),n.push(0)}return new lo(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function U9e(t){if(!t.length)return null;let e=0,n=t[0];for(let o=1;on.from||s.to=e){let a=new ml(s.tree,s.overlay[0].from+o.from,-1,o);(i||(i=[r])).push(pP(a,e,n,!1))}}return i?U9e(i):r}class aK{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof ml)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof ml?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,o=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return o<0?!1:(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&yo.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&yo.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&yo.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let o=n+e,s=e<0?-1:r._tree.children.length;o!=s;o+=e){let a=r._tree.children[o];if(this.mode&yo.IncludeAnonymous||a instanceof Cy||!a.type.isAnonymous||Ele(a))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let s=e;s;s=s._parent)if(s.index==i){if(i==this.index)return s;n=s,r=o+1;break e}i=this.stack[--o]}for(let i=r;i=0;o--){if(o<0)return sK(this.node,e,i);let s=r[n.buffer[this.stack[o]]];if(!s.isAnonymous){if(e[i]&&e[i]!=s.name)return!1;i--}}return!0}}function Ele(t){return t.children.some(e=>e instanceof Cy||!e.type.isAnonymous||Ele(e))}function zgn(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=z9e,reused:o=[],minRepeatType:s=r.types.length}=t,a=Array.isArray(n)?new Ole(n,n.length):n,l=r.types,u=0,c=0;function f(w,_,S,O,k,E){let{id:M,start:A,end:P,size:T}=a,R=c;for(;T<0;)if(a.next(),T==-1){let L=o[M];S.push(L),O.push(A-w);return}else if(T==-3){u=M;return}else if(T==-4){c=M;return}else throw new RangeError(`Unrecognized record size: ${T}`);let I=l[M],B,$,z=A-w;if(P-A<=i&&($=m(a.pos-_,k))){let L=new Uint16Array($.size-$.skip),j=a.pos-$.size,N=L.length;for(;a.pos>j;)N=v($.start,L,N);B=new Cy(L,P-$.start,r),z=$.start-w}else{let L=a.pos-T;a.next();let j=[],N=[],F=M>=s?M:-1,H=0,q=P;for(;a.pos>L;)F>=0&&a.id==F&&a.size>=0?(a.end<=q-i&&(p(j,N,A,H,a.end,q,F,R),H=j.length,q=a.end),a.next()):E>2500?d(A,L,j,N):f(A,L,j,N,F,E+1);if(F>=0&&H>0&&H-1&&H>0){let Y=h(I);B=Tle(I,j,N,0,j.length,0,P-A,Y,Y)}else B=g(I,j,N,P-A,R-P)}S.push(B),O.push(z)}function d(w,_,S,O){let k=[],E=0,M=-1;for(;a.pos>_;){let{id:A,start:P,end:T,size:R}=a;if(R>4)a.next();else{if(M>-1&&P=0;T-=3)A[R++]=k[T],A[R++]=k[T+1]-P,A[R++]=k[T+2]-P,A[R++]=R;S.push(new Cy(A,k[2]-P,r)),O.push(P-w)}}function h(w){return(_,S,O)=>{let k=0,E=_.length-1,M,A;if(E>=0&&(M=_[E])instanceof lo){if(!E&&M.type==w&&M.length==O)return M;(A=M.prop(_n.lookAhead))&&(k=S[E]+M.length+A)}return g(w,_,S,O,k)}}function p(w,_,S,O,k,E,M,A){let P=[],T=[];for(;w.length>O;)P.push(w.pop()),T.push(_.pop()+S-k);w.push(g(r.types[M],P,T,E-k,A-E)),_.push(k-S)}function g(w,_,S,O,k=0,E){if(u){let M=[_n.contextHash,u];E=E?[M].concat(E):[M]}if(k>25){let M=[_n.lookAhead,k];E=E?[M].concat(E):[M]}return new lo(w,_,S,O,E)}function m(w,_){let S=a.fork(),O=0,k=0,E=0,M=S.end-i,A={size:0,start:0,skip:0};e:for(let P=S.pos-w;S.pos>P;){let T=S.size;if(S.id==_&&T>=0){A.size=O,A.start=k,A.skip=E,E+=4,O+=4,S.next();continue}let R=S.pos-T;if(T<0||R=s?4:0,B=S.start;for(S.next();S.pos>R;){if(S.size<0)if(S.size==-3)I+=4;else break e;else S.id>=s&&(I+=4);S.next()}k=B,O+=T,E+=I}return(_<0||O==w)&&(A.size=O,A.start=k,A.skip=E),A.size>4?A:void 0}function v(w,_,S){let{id:O,start:k,end:E,size:M}=a;if(a.next(),M>=0&&O4){let P=a.pos-(M-4);for(;a.pos>P;)S=v(w,_,S)}_[--S]=A,_[--S]=E-w,_[--S]=k-w,_[--S]=O}else M==-3?u=O:M==-4&&(c=O);return S}let y=[],x=[];for(;a.pos>0;)f(t.start||0,t.bufferStart||0,y,x,-1,0);let b=(e=t.length)!==null&&e!==void 0?e:y.length?x[0]+y[0].length:0;return new lo(l[t.topID],y.reverse(),x.reverse(),b)}const Abe=new WeakMap;function H3(t,e){if(!t.isAnonymous||e instanceof Cy||e.type!=t)return 1;let n=Abe.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof lo)){n=1;break}n+=H3(t,r)}Abe.set(e,n)}return n}function Tle(t,e,n,r,i,o,s,a,l){let u=0;for(let p=r;p=c)break;_+=S}if(x==b+1){if(_>c){let S=p[b];h(S.children,S.positions,0,S.children.length,g[b]+y);continue}f.push(p[b])}else{let S=g[x-1]+p[x-1].length-w;f.push(Tle(t,p,g,b,x,w,S,null,l))}d.push(w+y-o)}}return h(e,n,r,i,0),(a||l)(f,d,s)}class jgn{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof Jd?this.setBuffer(e.context.buffer,e.index,n):e instanceof ml&&this.map.set(e.tree,n)}get(e){return e instanceof Jd?this.getBuffer(e.context.buffer,e.index):e instanceof ml?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class Vx{constructor(e,n,r,i,o=!1,s=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(o?1:0)|(s?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new Vx(0,e.length,e,0,!1,r)];for(let o of n)o.to>e.length&&i.push(o);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],o=1,s=e.length?e[0]:null;for(let a=0,l=0,u=0;;a++){let c=a=r)for(;s&&s.from=d.from||f<=d.to||u){let h=Math.max(d.from,l)-u,p=Math.min(d.to,f)-u;d=h>=p?null:new Vx(h,p,d.tree,d.offset+u,a>0,!!c)}if(d&&i.push(d),s.to>f)break;s=onew K9(i.from,i.to)):[new K9(0,0)]:[new K9(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let o=i.advance();if(o)return o}}}class Bgn{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}}new _n({perNode:!0});let Ugn=0;class Yu{constructor(e,n,r,i){this.name=e,this.set=n,this.base=r,this.modified=i,this.id=Ugn++}toString(){let{name:e}=this;for(let n of this.modified)n.name&&(e=`${n.name}(${e})`);return e}static define(e,n){let r=typeof e=="string"?e:"?";if(e instanceof Yu&&(n=e),n!=null&&n.base)throw new Error("Can not derive from a modified tag");let i=new Yu(r,[],null,[]);if(i.set.push(i),n)for(let o of n.set)i.set.push(o);return i}static defineModifier(e){let n=new az(e);return r=>r.modified.indexOf(n)>-1?r:az.get(r.base||r,r.modified.concat(n).sort((i,o)=>i.id-o.id))}}let Wgn=0;class az{constructor(e){this.name=e,this.instances=[],this.id=Wgn++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(a=>a.base==e&&Vgn(n,a.modified));if(r)return r;let i=[],o=new Yu(e.name,i,e,n);for(let a of n)a.instances.push(o);let s=Ggn(n);for(let a of e.set)if(!a.modified.length)for(let l of s)i.push(az.get(a,l));return o}}function Vgn(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}function Ggn(t){let e=[[]];for(let n=0;nr.length-n.length)}function kle(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let o=[],s=2,a=i;for(let f=0;;){if(a=="..."&&f>0&&f+3==i.length){s=1;break}let d=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!d)throw new RangeError("Invalid path: "+i);if(o.push(d[0]=="*"?"":d[0][0]=='"'?JSON.parse(d[0]):d[0]),f+=d[0].length,f==i.length)break;let h=i[f++];if(f==i.length&&h=="!"){s=0;break}if(h!="/")throw new RangeError("Invalid path: "+i);a=i.slice(f)}let l=o.length-1,u=o[l];if(!u)throw new RangeError("Invalid path: "+i);let c=new lz(r,s,l>0?o.slice(0,l):null);e[u]=c.sort(e[u])}}return V9e.add(e)}const V9e=new _n;class lz{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let s=i;for(let a of o)for(let l of a.set){let u=n[l.id];if(u){s=s?s+" "+u:u;break}}return s},scope:r}}function Hgn(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}function qgn(t,e,n,r=0,i=t.length){let o=new Xgn(r,Array.isArray(e)?e:[e],n);o.highlightRange(t.cursor(),r,i,"",o.highlighters),o.flush(i)}class Xgn{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,o){let{type:s,from:a,to:l}=e;if(a>=r||l<=n)return;s.isTop&&(o=this.highlighters.filter(h=>!h.scope||h.scope(s)));let u=i,c=Ygn(e)||lz.empty,f=Hgn(o,c.tags);if(f&&(u&&(u+=" "),u+=f,c.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,a),u),c.opaque)return;let d=e.tree&&e.tree.prop(_n.mounted);if(d&&d.overlay){let h=e.node.enter(d.overlay[0].from+a,1),p=this.highlighters.filter(m=>!m.scope||m.scope(d.tree.type)),g=e.firstChild();for(let m=0,v=a;;m++){let y=m=x||!e.nextSibling())););if(!y||x>r)break;v=y.to+a,v>n&&(this.highlightRange(h.cursor(),Math.max(n,y.from+a),Math.min(r,v),"",p),this.startSpan(Math.min(r,v),u))}g&&e.parent()}else if(e.firstChild()){d&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,o),this.startSpan(Math.min(r,e.to),u)}while(e.nextSibling());e.parent()}}}function Ygn(t){let e=t.type.prop(V9e);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const dt=Yu.define,FL=dt(),Qm=dt(),Pbe=dt(Qm),Mbe=dt(Qm),Km=dt(),NL=dt(Km),Z9=dt(Km),_d=dt(),E0=dt(_d),yd=dt(),xd=dt(),lK=dt(),C2=dt(lK),zL=dt(),Ee={comment:FL,lineComment:dt(FL),blockComment:dt(FL),docComment:dt(FL),name:Qm,variableName:dt(Qm),typeName:Pbe,tagName:dt(Pbe),propertyName:Mbe,attributeName:dt(Mbe),className:dt(Qm),labelName:dt(Qm),namespace:dt(Qm),macroName:dt(Qm),literal:Km,string:NL,docString:dt(NL),character:dt(NL),attributeValue:dt(NL),number:Z9,integer:dt(Z9),float:dt(Z9),bool:dt(Km),regexp:dt(Km),escape:dt(Km),color:dt(Km),url:dt(Km),keyword:yd,self:dt(yd),null:dt(yd),atom:dt(yd),unit:dt(yd),modifier:dt(yd),operatorKeyword:dt(yd),controlKeyword:dt(yd),definitionKeyword:dt(yd),moduleKeyword:dt(yd),operator:xd,derefOperator:dt(xd),arithmeticOperator:dt(xd),logicOperator:dt(xd),bitwiseOperator:dt(xd),compareOperator:dt(xd),updateOperator:dt(xd),definitionOperator:dt(xd),typeOperator:dt(xd),controlOperator:dt(xd),punctuation:lK,separator:dt(lK),bracket:C2,angleBracket:dt(C2),squareBracket:dt(C2),paren:dt(C2),brace:dt(C2),content:_d,heading:E0,heading1:dt(E0),heading2:dt(E0),heading3:dt(E0),heading4:dt(E0),heading5:dt(E0),heading6:dt(E0),contentSeparator:dt(_d),list:dt(_d),quote:dt(_d),emphasis:dt(_d),strong:dt(_d),link:dt(_d),monospace:dt(_d),strikethrough:dt(_d),inserted:dt(),deleted:dt(),changed:dt(),invalid:dt(),meta:zL,documentMeta:dt(zL),annotation:dt(zL),processingInstruction:dt(zL),definition:Yu.defineModifier("definition"),constant:Yu.defineModifier("constant"),function:Yu.defineModifier("function"),standard:Yu.defineModifier("standard"),local:Yu.defineModifier("local"),special:Yu.defineModifier("special")};for(let t in Ee){let e=Ee[t];e instanceof Yu&&(e.name=t)}G9e([{tag:Ee.link,class:"tok-link"},{tag:Ee.heading,class:"tok-heading"},{tag:Ee.emphasis,class:"tok-emphasis"},{tag:Ee.strong,class:"tok-strong"},{tag:Ee.keyword,class:"tok-keyword"},{tag:Ee.atom,class:"tok-atom"},{tag:Ee.bool,class:"tok-bool"},{tag:Ee.url,class:"tok-url"},{tag:Ee.labelName,class:"tok-labelName"},{tag:Ee.inserted,class:"tok-inserted"},{tag:Ee.deleted,class:"tok-deleted"},{tag:Ee.literal,class:"tok-literal"},{tag:Ee.string,class:"tok-string"},{tag:Ee.number,class:"tok-number"},{tag:[Ee.regexp,Ee.escape,Ee.special(Ee.string)],class:"tok-string2"},{tag:Ee.variableName,class:"tok-variableName"},{tag:Ee.local(Ee.variableName),class:"tok-variableName tok-local"},{tag:Ee.definition(Ee.variableName),class:"tok-variableName tok-definition"},{tag:Ee.special(Ee.variableName),class:"tok-variableName2"},{tag:Ee.definition(Ee.propertyName),class:"tok-propertyName tok-definition"},{tag:Ee.typeName,class:"tok-typeName"},{tag:Ee.namespace,class:"tok-namespace"},{tag:Ee.className,class:"tok-className"},{tag:Ee.macroName,class:"tok-macroName"},{tag:Ee.propertyName,class:"tok-propertyName"},{tag:Ee.operator,class:"tok-operator"},{tag:Ee.comment,class:"tok-comment"},{tag:Ee.meta,class:"tok-meta"},{tag:Ee.invalid,class:"tok-invalid"},{tag:Ee.punctuation,class:"tok-punctuation"}]);var J9;const p_=new _n;function Qgn(t){return _t.define({combine:t?e=>e.concat(t):void 0})}const Kgn=new _n;class Af{constructor(e,n,r=[],i=""){this.data=e,this.name=i,In.prototype.hasOwnProperty("tree")||Object.defineProperty(In.prototype,"tree",{get(){return Vo(this)}}),this.parser=n,this.extension=[Oy.of(this),In.languageData.of((o,s,a)=>{let l=Rbe(o,s,a),u=l.type.prop(p_);if(!u)return[];let c=o.facet(u),f=l.type.prop(Kgn);if(f){let d=l.resolve(s-l.from,a);for(let h of f)if(h.test(d,o)){let p=o.facet(h.facet);return h.type=="replace"?p:p.concat(c)}}return c})].concat(r)}isActiveAt(e,n,r=-1){return Rbe(e,n,r).type.prop(p_)==this.data}findRegions(e){let n=e.facet(Oy);if((n==null?void 0:n.data)==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=(o,s)=>{if(o.prop(p_)==this.data){r.push({from:s,to:s+o.length});return}let a=o.prop(_n.mounted);if(a){if(a.tree.prop(p_)==this.data){if(a.overlay)for(let l of a.overlay)r.push({from:l.from+s,to:l.to+s});else r.push({from:s,to:s+o.length});return}else if(a.overlay){let l=r.length;if(i(a.tree,a.overlay[0].from+s),r.length>l)return}}for(let l=0;lr.isTop?n:void 0)]}),e.name)}configure(e,n){return new gP(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Vo(t){let e=t.field(Af.state,!1);return e?e.tree:lo.empty}class Zgn{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}}let O2=null;class uz{constructor(e,n,r=[],i,o,s,a,l){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=o,this.viewport=s,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new uz(e,n,[],lo.empty,0,r,[],null)}startParse(){return this.parser.startParse(new Zgn(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=lo.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=()=>Date.now()>i}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(Vx.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=O2;O2=this;try{return e()}finally{O2=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=Dbe(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:o,viewport:s,skipped:a}=this;if(this.takeTree(),!e.empty){let l=[];if(e.iterChangedRanges((u,c,f,d)=>l.push({fromA:u,toA:c,fromB:f,toB:d})),r=Vx.applyChanges(r,l),i=lo.empty,o=0,s={from:e.mapPos(s.from,-1),to:e.mapPos(s.to,1)},this.skipped.length){a=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),f=e.mapPos(u.to,-1);ce.from&&(this.fragments=Dbe(this.fragments,i,o),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends W9e{createParse(n,r,i){let o=i[0].from,s=i[i.length-1].to;return{parsedPos:o,advance(){let l=O2;if(l){for(let u of i)l.tempSkipped.push(u);e&&(l.scheduleOn=l.scheduleOn?Promise.all([l.scheduleOn,e]):e)}return this.parsedPos=s,new lo(El.none,[],[],s-o)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return O2}}function Dbe(t,e,n){return Vx.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class xC{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new xC(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=uz.create(e.facet(Oy).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new xC(r)}}Af.state=Qo.define({create:xC.init,update(t,e){for(let n of e.effects)if(n.is(Af.setState))return n.value;return e.startState.facet(Oy)!=e.state.facet(Oy)?xC.init(e.state):t.apply(e)}});let H9e=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(H9e=t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)});const e7=typeof navigator<"u"&&(!((J9=navigator.scheduling)===null||J9===void 0)&&J9.isInputPending)?()=>navigator.scheduling.isInputPending():null,Jgn=Yi.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(Af.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(Af.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=H9e(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,l=o.context.work(()=>e7&&e7()||Date.now()>s,i+(a?0:1e5));this.chunkBudget-=Date.now()-n,(l||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Af.setState.of(new xC(o.context))})),this.chunkBudget>0&&!(l&&!a)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>sl(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Oy=_t.define({combine(t){return t.length?t[0]:null},enables:t=>[Af.state,Jgn,mt.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]});class q9e{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}}const emn=_t.define(),lD=_t.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function cz(t){let e=t.facet(lD);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function mP(t,e){let n="",r=t.tabSize,i=t.facet(lD)[0];if(i==" "){for(;e>=r;)n+=" ",e-=r;i=" "}for(let o=0;o=e?tmn(t,n,e):null}class PU{constructor(e,n={}){this.state=e,this.options=n,this.unit=cz(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:o}=this.options;return i!=null&&i>=r.from&&i<=r.to?o&&i==e?{text:"",from:e}:(n<0?i-1&&(o+=s-this.countColumn(r,r.search(/\S|$/))),o}countColumn(e,n=e.length){return XO(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),o=this.options.overrideIndentation;if(o){let s=o(i);if(s>-1)return s}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ple=new _n;function tmn(t,e,n){let r=e.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let o=[];for(let s=i;s!=r.node;s=s.parent)o.push(s);for(let s=o.length-1;s>=0;s--)r={node:o[s],next:r}}return X9e(r,t,n)}function X9e(t,e,n){for(let r=t;r;r=r.next){let i=rmn(r.node);if(i)return i(Mle.create(e,n,r))}return 0}function nmn(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function rmn(t){let e=t.type.prop(Ple);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(_n.closedBy))){let i=t.lastChild,o=i&&r.indexOf(i.name)>-1;return s=>Y9e(s,!0,1,void 0,o&&!nmn(s)?i.from:void 0)}return t.parent==null?imn:null}function imn(){return 0}class Mle extends PU{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new Mle(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(omn(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return X9e(this.context.next,this.base,this.pos)}}function omn(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}function smn(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,o=t.state.doc.lineAt(n.from),s=i==null||i<=o.from?o.to:Math.min(o.to,i);for(let a=n.to;;){let l=e.childAfter(a);if(!l||l==r)return null;if(!l.type.isSkipped)return l.fromY9e(r,e,n,t)}function Y9e(t,e,n,r,i){let o=t.textAfter,s=o.match(/^\s*/)[0].length,a=r&&o.slice(s,s+r.length)==r||i==t.pos+s,l=e?smn(t):null;return l?a?t.column(l.from):t.column(l.to):t.baseIndent+(a?0:t.unit*n)}function Ibe({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const amn=200;function lmn(){return In.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+amn)return t;let o=n.sliceString(i.from,r);if(!e.some(u=>u.test(o)))return t;let{state:s}=t,a=-1,l=[];for(let{head:u}of s.selection.ranges){let c=s.doc.lineAt(u);if(c.from==a)continue;a=c.from;let f=Ale(s,c.from);if(f==null)continue;let d=/^\s*/.exec(c.text)[0],h=mP(s,f);d!=h&&l.push({from:c.from,to:c.from+d.length,insert:h})}return l.length?[t,{changes:l,sequential:!0}]:t})}const umn=_t.define(),Rle=new _n;function Q9e(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(o&&a.from=e&&u.to>n&&(o=u)}}return o}function fmn(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function fz(t,e,n){for(let r of t.facet(umn)){let i=r(t,e,n);if(i)return i}return cmn(t,e,n)}function K9e(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}const MU=rn.define({map:K9e}),uD=rn.define({map:K9e});function Z9e(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(r=>r.from<=n&&r.to>=n)||e.push(t.lineBlockAt(n));return e}const D1=Qo.define({create(){return Dt.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(MU)&&!dmn(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(t7e),i=r?Dt.replace({widget:new xmn(r(e.state,n.value))}):Lbe;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(uD)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:r}=e.selection.main;t.between(r,r,(i,o)=>{ir&&(n=!0)}),n&&(t=t.update({filterFrom:r,filterTo:r,filter:(i,o)=>o<=r||i>=r}))}return t},provide:t=>mt.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!i||i.from>o)&&(i={from:o,to:s})}),i}function dmn(t,e,n){let r=!1;return t.between(e,e,(i,o)=>{i==e&&o==n&&(r=!0)}),r}function J9e(t,e){return t.field(D1,!1)?e:e.concat(rn.appendConfig.of(n7e()))}const hmn=t=>{for(let e of Z9e(t)){let n=fz(t.state,e.from,e.to);if(n)return t.dispatch({effects:J9e(t.state,[MU.of(n),e7e(t,n)])}),!0}return!1},pmn=t=>{if(!t.state.field(D1,!1))return!1;let e=[];for(let n of Z9e(t)){let r=dz(t.state,n.from,n.to);r&&e.push(uD.of(r),e7e(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0};function e7e(t,e,n=!0){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return mt.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}const gmn=t=>{let{state:e}=t,n=[];for(let r=0;r{let e=t.state.field(D1,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(r,i)=>{n.push(uD.of({from:r,to:i}))}),t.dispatch({effects:n}),!0},vmn=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:hmn},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:pmn},{key:"Ctrl-Alt-[",run:gmn},{key:"Ctrl-Alt-]",run:mmn}],ymn={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},t7e=_t.define({combine(t){return Zh(t,ymn)}});function n7e(t){return[D1,_mn]}function r7e(t,e){let{state:n}=t,r=n.facet(t7e),i=s=>{let a=t.lineBlockAt(t.posAtDOM(s.target)),l=dz(t.state,a.from,a.to);l&&t.dispatch({effects:uD.of(l)}),s.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",n.phrase("folded code")),o.title=n.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=i,o}const Lbe=Dt.replace({widget:new class extends Jh{toDOM(t){return r7e(t,null)}}});class xmn extends Jh{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return r7e(e,this.value)}}const bmn={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class n7 extends jg{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}}function wmn(t={}){let e=Object.assign(Object.assign({},bmn),t),n=new n7(e,!0),r=new n7(e,!1),i=Yi.fromClass(class{constructor(s){this.from=s.viewport.from,this.markers=this.buildMarkers(s)}update(s){(s.docChanged||s.viewportChanged||s.startState.facet(Oy)!=s.state.facet(Oy)||s.startState.field(D1,!1)!=s.state.field(D1,!1)||Vo(s.startState)!=Vo(s.state)||e.foldingChanged(s))&&(this.markers=this.buildMarkers(s.view))}buildMarkers(s){let a=new by;for(let l of s.viewportLineBlocks){let u=dz(s.state,l.from,l.to)?r:fz(s.state,l.from,l.to)?n:null;u&&a.add(l.from,l.from,u)}return a.finish()}}),{domEventHandlers:o}=e;return[i,Sgn({class:"cm-foldGutter",markers(s){var a;return((a=s.plugin(i))===null||a===void 0?void 0:a.markers)||Gn.empty},initialSpacer(){return new n7(e,!1)},domEventHandlers:Object.assign(Object.assign({},o),{click:(s,a,l)=>{if(o.click&&o.click(s,a,l))return!0;let u=dz(s.state,a.from,a.to);if(u)return s.dispatch({effects:uD.of(u)}),!0;let c=fz(s.state,a.from,a.to);return c?(s.dispatch({effects:MU.of(c)}),!0):!1}})}),n7e()]}const _mn=mt.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class cD{constructor(e,n){this.specs=e;let r;function i(a){let l=wy.newName();return(r||(r=Object.create(null)))["."+l]=a,l}const o=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,s=n.scope;this.scope=s instanceof Af?a=>a.prop(p_)==s.data:s?a=>a==s:void 0,this.style=G9e(e.map(a=>({tag:a.tag,class:a.class||i(Object.assign({},a,{tag:null}))})),{all:o}).style,this.module=r?new wy(r):null,this.themeType=n.themeType}static define(e,n){return new cD(e,n||{})}}const uK=_t.define(),i7e=_t.define({combine(t){return t.length?[t[0]]:null}});function r7(t){let e=t.facet(uK);return e.length?e:t.facet(i7e)}function o7e(t,e){let n=[Cmn],r;return t instanceof cD&&(t.module&&n.push(mt.styleModule.of(t.module)),r=t.themeType),e!=null&&e.fallback?n.push(i7e.of(t)):r?n.push(uK.computeN([mt.darkTheme],i=>i.facet(mt.darkTheme)==(r=="dark")?[t]:[])):n.push(uK.of(t)),n}class Smn{constructor(e){this.markCache=Object.create(null),this.tree=Vo(e.state),this.decorations=this.buildDeco(e,r7(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=Vo(e.state),r=r7(e.state),i=r!=r7(e.startState),{viewport:o}=e.view,s=e.changes.mapPos(this.decoratedTo,1);n.length=o.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=s):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=o.to)}buildDeco(e,n){if(!n||!this.tree.length)return Dt.none;let r=new by;for(let{from:i,to:o}of e.visibleRanges)qgn(this.tree,n,(s,a,l)=>{r.add(s,a,this.markCache[l]||(this.markCache[l]=Dt.mark({class:l})))},i,o);return r.finish()}}const Cmn=Jy.high(Yi.fromClass(Smn,{decorations:t=>t.decorations})),Omn=cD.define([{tag:Ee.meta,color:"#404740"},{tag:Ee.link,textDecoration:"underline"},{tag:Ee.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Ee.emphasis,fontStyle:"italic"},{tag:Ee.strong,fontWeight:"bold"},{tag:Ee.strikethrough,textDecoration:"line-through"},{tag:Ee.keyword,color:"#708"},{tag:[Ee.atom,Ee.bool,Ee.url,Ee.contentSeparator,Ee.labelName],color:"#219"},{tag:[Ee.literal,Ee.inserted],color:"#164"},{tag:[Ee.string,Ee.deleted],color:"#a11"},{tag:[Ee.regexp,Ee.escape,Ee.special(Ee.string)],color:"#e40"},{tag:Ee.definition(Ee.variableName),color:"#00f"},{tag:Ee.local(Ee.variableName),color:"#30a"},{tag:[Ee.typeName,Ee.namespace],color:"#085"},{tag:Ee.className,color:"#167"},{tag:[Ee.special(Ee.variableName),Ee.macroName],color:"#256"},{tag:Ee.definition(Ee.propertyName),color:"#00c"},{tag:Ee.comment,color:"#940"},{tag:Ee.invalid,color:"#f00"}]),Emn=mt.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),s7e=1e4,a7e="()[]{}",l7e=_t.define({combine(t){return Zh(t,{afterCursor:!0,brackets:a7e,maxScanDistance:s7e,renderMatch:Amn})}}),Tmn=Dt.mark({class:"cm-matchingBracket"}),kmn=Dt.mark({class:"cm-nonmatchingBracket"});function Amn(t){let e=[],n=t.matched?Tmn:kmn;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}const Pmn=Qo.define({create(){return Dt.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(l7e);for(let i of e.state.selection.ranges){if(!i.empty)continue;let o=eh(e.state,i.head,-1,r)||i.head>0&&eh(e.state,i.head-1,1,r)||r.afterCursor&&(eh(e.state,i.head,1,r)||i.headmt.decorations.from(t)}),Mmn=[Pmn,Emn];function Rmn(t={}){return[l7e.of(t),Mmn]}const Dmn=new _n;function cK(t,e,n){let r=t.prop(e<0?_n.openedBy:_n.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}function fK(t){let e=t.type.prop(Dmn);return e?e(t.node):t}function eh(t,e,n,r={}){let i=r.maxScanDistance||s7e,o=r.brackets||a7e,s=Vo(t),a=s.resolveInner(e,n);for(let l=a;l;l=l.parent){let u=cK(l.type,n,o);if(u&&l.from0?e>=c.from&&ec.from&&e<=c.to))return Imn(t,e,n,l,c,u,o)}}return Lmn(t,e,n,s,a.type,i,o)}function Imn(t,e,n,r,i,o,s){let a=r.parent,l={from:i.from,to:i.to},u=0,c=a==null?void 0:a.cursor();if(c&&(n<0?c.childBefore(r.from):c.childAfter(r.to)))do if(n<0?c.to<=r.from:c.from>=r.to){if(u==0&&o.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:n<0?e-1:e,to:n>0?e+1:e},c=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let d=0;!c.next().done&&d<=o;){let h=c.value;n<0&&(d+=h.length);let p=e+d*n;for(let g=n>0?0:h.length-1,m=n>0?h.length:-1;g!=m;g+=n){let v=s.indexOf(h[g]);if(!(v<0||r.resolveInner(p+g,1).type!=i))if(v%2==0==n>0)f++;else{if(f==1)return{start:u,end:{from:p+g,to:p+g+1},matched:v>>1==l>>1};f--}}n>0&&(d+=h.length)}return c.done?{start:u,matched:!1}:null}const $mn=Object.create(null),$be=[El.none],Fbe=[],Nbe=Object.create(null),Fmn=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Fmn[t]=Nmn($mn,e);function i7(t,e){Fbe.indexOf(t)>-1||(Fbe.push(t),console.warn(e))}function Nmn(t,e){let n=[];for(let a of e.split(" ")){let l=[];for(let u of a.split(".")){let c=t[u]||Ee[u];c?typeof c=="function"?l.length?l=l.map(c):i7(u,`Modifier ${u} used at start of tag`):l.length?i7(u,`Tag ${u} used as modifier`):l=Array.isArray(c)?c:[c]:i7(u,`Unknown highlighting tag ${u}`)}for(let u of l)n.push(u)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(a=>a.id),o=Nbe[i];if(o)return o.id;let s=Nbe[i]=El.define({id:$be.length,name:r,props:[kle({[r]:n})]});return $be.push(s),s.id}ii.RTL,ii.LTR;const zmn=t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=Ile(t.state,n.from);return r.line?jmn(t):r.block?Umn(t):!1};function Dle(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}const jmn=Dle(Gmn,0),Bmn=Dle(u7e,0),Umn=Dle((t,e)=>u7e(t,e,Vmn(e)),0);function Ile(t,e){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}const E2=50;function Wmn(t,{open:e,close:n},r,i){let o=t.sliceDoc(r-E2,r),s=t.sliceDoc(i,i+E2),a=/\s*$/.exec(o)[0].length,l=/^\s*/.exec(s)[0].length,u=o.length-a;if(o.slice(u-e.length,u)==e&&s.slice(l,l+n.length)==n)return{open:{pos:r-a,margin:a&&1},close:{pos:i+l,margin:l&&1}};let c,f;i-r<=2*E2?c=f=t.sliceDoc(r,i):(c=t.sliceDoc(r,r+E2),f=t.sliceDoc(i-E2,i));let d=/^\s*/.exec(c)[0].length,h=/\s*$/.exec(f)[0].length,p=f.length-h-n.length;return c.slice(d,d+e.length)==e&&f.slice(p,p+n.length)==n?{open:{pos:r+d+e.length,margin:/\s/.test(c.charAt(d+e.length))?1:0},close:{pos:i-h-n.length,margin:/\s/.test(f.charAt(p-1))?1:0}}:null}function Vmn(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to),o=e.length-1;o>=0&&e[o].to>r.from?e[o].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}function u7e(t,e,n=e.selection.ranges){let r=n.map(o=>Ile(e,o.from).block);if(!r.every(o=>o))return null;let i=n.map((o,s)=>Wmn(e,r[s],o.from,o.to));if(t!=2&&!i.every(o=>o))return{changes:e.changes(n.map((o,s)=>i[s]?[]:[{from:o.from,insert:r[s].open+" "},{from:o.to,insert:" "+r[s].close}]))};if(t!=1&&i.some(o=>o)){let o=[];for(let s=0,a;si&&(o==s||s>f.from)){i=f.from;let d=/^\s*/.exec(f.text)[0].length,h=d==f.length,p=f.text.slice(d,d+u.length)==u?d:-1;do.comment<0&&(!o.empty||o.single))){let o=[];for(let{line:a,token:l,indent:u,empty:c,single:f}of r)(f||!c)&&o.push({from:a.from+u,insert:l+" "});let s=e.changes(o);return{changes:s,selection:e.selection.map(s,1)}}else if(t!=1&&r.some(o=>o.comment>=0)){let o=[];for(let{line:s,comment:a,token:l}of r)if(a>=0){let u=s.from+a,c=u+l.length;s.text[c-s.from]==" "&&c++,o.push({from:u,to:c})}return{changes:o}}return null}const dK=Kh.define(),Hmn=Kh.define(),qmn=_t.define(),c7e=_t.define({combine(t){return Zh(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),f7e=Qo.define({create(){return th.empty},update(t,e){let n=e.state.facet(c7e),r=e.annotation(dK);if(r){let l=al.fromTransaction(e,r.selection),u=r.side,c=u==0?t.undone:t.done;return l?c=hz(c,c.length,n.minDepth,l):c=p7e(c,e.startState.selection),new th(u==0?r.rest:c,u==0?c:r.rest)}let i=e.annotation(Hmn);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(ao.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let o=al.fromTransaction(e),s=e.annotation(ao.time),a=e.annotation(ao.userEvent);return o?t=t.addChanges(o,s,a,n,e):e.selection&&(t=t.addSelection(e.startState.selection,s,a,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new th(t.done.map(al.fromJSON),t.undone.map(al.fromJSON))}});function Xmn(t={}){return[f7e,c7e.of(t),mt.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?d7e:e.inputType=="historyRedo"?hK:null;return r?(e.preventDefault(),r(n)):!1}})]}function RU(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(f7e,!1);if(!i)return!1;let o=i.pop(t,n,e);return o?(r(o),!0):!1}}const d7e=RU(0,!1),hK=RU(1,!1),Ymn=RU(0,!0),Qmn=RU(1,!0);class al{constructor(e,n,r,i,o){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=o}setSelAfter(e){return new al(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new al(e.changes&&mo.fromJSON(e.changes),[],e.mapped&&xh.fromJSON(e.mapped),e.startSelection&&Ve.fromJSON(e.startSelection),e.selectionsAfter.map(Ve.fromJSON))}static fromTransaction(e,n){let r=uc;for(let i of e.startState.facet(qmn)){let o=i(e);o.length&&(r=r.concat(o))}return!r.length&&e.changes.empty?null:new al(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,uc)}static selection(e){return new al(void 0,uc,void 0,void 0,e)}}function hz(t,e,n,r){let i=e+1>n+20?e-n-1:0,o=t.slice(i,e);return o.push(r),o}function Kmn(t,e){let n=[],r=!1;return t.iterChangedRanges((i,o)=>n.push(i,o)),e.iterChangedRanges((i,o,s,a)=>{for(let l=0;l=u&&s<=c&&(r=!0)}}),r}function Zmn(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}function h7e(t,e){return t.length?e.length?t.concat(e):t:e}const uc=[],Jmn=200;function p7e(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-Jmn));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),hz(t,t.length-1,1e9,n.setSelAfter(r)))}else return[al.selection([e])]}function evn(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}function o7(t,e){if(!t.length)return t;let n=t.length,r=uc;for(;n;){let i=tvn(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let o=t.slice(0,n);return o[n-1]=i,o}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[al.selection(r)]:uc}function tvn(t,e,n){let r=h7e(t.selectionsAfter.length?t.selectionsAfter.map(a=>a.map(e)):uc,n);if(!t.changes)return al.selection(r);let i=t.changes.map(e),o=e.mapDesc(t.changes,!0),s=t.mapped?t.mapped.composeDesc(o):o;return new al(i,rn.mapEffects(t.effects,e),s,t.startSelection.map(o),r)}const nvn=/^(input\.type|delete)($|\.)/;class th{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new th(this.done,this.undone):this}addChanges(e,n,r,i,o){let s=this.done,a=s[s.length-1];return a&&a.changes&&!a.changes.empty&&e.changes&&(!r||nvn.test(r))&&(!a.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):DU(n,e))}function ia(t){return t.textDirectionAt(t.state.selection.main.head)==ii.LTR}const m7e=t=>g7e(t,!ia(t)),v7e=t=>g7e(t,ia(t));function y7e(t,e){return ud(t,n=>n.empty?t.moveByGroup(n,e):DU(n,e))}const ivn=t=>y7e(t,!ia(t)),ovn=t=>y7e(t,ia(t));function svn(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function IU(t,e,n){let r=Vo(t).resolveInner(e.head),i=n?_n.closedBy:_n.openedBy;for(let l=e.head;;){let u=n?r.childAfter(l):r.childBefore(l);if(!u)break;svn(t,u,i)?r=u:l=n?u.to:u.from}let o=r.type.prop(i),s,a;return o&&(s=n?eh(t,r.from,1):eh(t,r.to,-1))&&s.matched?a=n?s.end.to:s.end.from:a=n?r.to:r.from,Ve.cursor(a,n?-1:1)}const avn=t=>ud(t,e=>IU(t.state,e,!ia(t))),lvn=t=>ud(t,e=>IU(t.state,e,ia(t)));function x7e(t,e){return ud(t,n=>{if(!n.empty)return DU(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}const b7e=t=>x7e(t,!1),w7e=t=>x7e(t,!0);function _7e(t){let e=t.scrollDOM.clientHeights.empty?t.moveVertically(s,e,n.height):DU(s,e));if(i.eq(r.selection))return!1;let o;if(n.selfScroll){let s=t.coordsAtPos(r.selection.main.head),a=t.scrollDOM.getBoundingClientRect(),l=a.top+n.marginTop,u=a.bottom-n.marginBottom;s&&s.top>l&&s.bottomS7e(t,!1),pK=t=>S7e(t,!0);function e0(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let o=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;o&&e.head!=r.from+o&&(i=Ve.cursor(r.from+o))}return i}const uvn=t=>ud(t,e=>e0(t,e,!0)),cvn=t=>ud(t,e=>e0(t,e,!1)),fvn=t=>ud(t,e=>e0(t,e,!ia(t))),dvn=t=>ud(t,e=>e0(t,e,ia(t))),hvn=t=>ud(t,e=>Ve.cursor(t.lineBlockAt(e.head).from,1)),pvn=t=>ud(t,e=>Ve.cursor(t.lineBlockAt(e.head).to,-1));function gvn(t,e,n){let r=!1,i=YO(t.selection,o=>{let s=eh(t,o.head,-1)||eh(t,o.head,1)||o.head>0&&eh(t,o.head-1,1)||o.headgvn(t,e);function Gc(t,e){let n=YO(t.state.selection,r=>{let i=e(r);return Ve.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(ep(t.state,n)),!0)}function C7e(t,e){return Gc(t,n=>t.moveByChar(n,e))}const O7e=t=>C7e(t,!ia(t)),E7e=t=>C7e(t,ia(t));function T7e(t,e){return Gc(t,n=>t.moveByGroup(n,e))}const vvn=t=>T7e(t,!ia(t)),yvn=t=>T7e(t,ia(t)),xvn=t=>Gc(t,e=>IU(t.state,e,!ia(t))),bvn=t=>Gc(t,e=>IU(t.state,e,ia(t)));function k7e(t,e){return Gc(t,n=>t.moveVertically(n,e))}const A7e=t=>k7e(t,!1),P7e=t=>k7e(t,!0);function M7e(t,e){return Gc(t,n=>t.moveVertically(n,e,_7e(t).height))}const jbe=t=>M7e(t,!1),Bbe=t=>M7e(t,!0),wvn=t=>Gc(t,e=>e0(t,e,!0)),_vn=t=>Gc(t,e=>e0(t,e,!1)),Svn=t=>Gc(t,e=>e0(t,e,!ia(t))),Cvn=t=>Gc(t,e=>e0(t,e,ia(t))),Ovn=t=>Gc(t,e=>Ve.cursor(t.lineBlockAt(e.head).from)),Evn=t=>Gc(t,e=>Ve.cursor(t.lineBlockAt(e.head).to)),Ube=({state:t,dispatch:e})=>(e(ep(t,{anchor:0})),!0),Wbe=({state:t,dispatch:e})=>(e(ep(t,{anchor:t.doc.length})),!0),Vbe=({state:t,dispatch:e})=>(e(ep(t,{anchor:t.selection.main.anchor,head:0})),!0),Gbe=({state:t,dispatch:e})=>(e(ep(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),Tvn=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),kvn=({state:t,dispatch:e})=>{let n=LU(t).map(({from:r,to:i})=>Ve.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:Ve.create(n),userEvent:"select"})),!0},Avn=({state:t,dispatch:e})=>{let n=YO(t.selection,r=>{var i;let o=Vo(t).resolveStack(r.from,1);for(let s=o;s;s=s.next){let{node:a}=s;if((a.from=r.to||a.to>r.to&&a.from<=r.from)&&(!((i=a.parent)===null||i===void 0)&&i.parent))return Ve.range(a.to,a.from)}return r});return e(ep(t,n)),!0},Pvn=({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=Ve.create([n.main]):n.main.empty||(r=Ve.create([Ve.cursor(n.main.head)])),r?(e(ep(t,r)),!0):!1};function fD(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(o=>{let{from:s,to:a}=o;if(s==a){let l=e(o);ls&&(n="delete.forward",l=jL(t,l,!0)),s=Math.min(s,l),a=Math.max(a,l)}else s=jL(t,s,!1),a=jL(t,a,!0);return s==a?{range:o}:{changes:{from:s,to:a},range:Ve.cursor(s,si(t)))r.between(e,e,(i,o)=>{ie&&(e=n?o:i)});return e}const R7e=(t,e,n)=>fD(t,r=>{let i=r.from,{state:o}=t,s=o.doc.lineAt(i),a,l;if(n&&!e&&i>s.from&&iR7e(t,!1,!0),D7e=t=>R7e(t,!0,!1),I7e=(t,e)=>fD(t,n=>{let r=n.head,{state:i}=t,o=i.doc.lineAt(r),s=i.charCategorizer(r);for(let a=null;;){if(r==(e?o.to:o.from)){r==n.head&&o.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let l=gs(o.text,r-o.from,e)+o.from,u=o.text.slice(Math.min(r,l)-o.from,Math.max(r,l)-o.from),c=s(u);if(a!=null&&c!=a)break;(u!=" "||r!=n.head)&&(a=c),r=l}return r}),L7e=t=>I7e(t,!1),Mvn=t=>I7e(t,!0),Rvn=t=>fD(t,e=>{let n=t.lineBlockAt(e.head).to;return e.headfD(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),Ivn=t=>fD(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:ar.of(["",""])},range:Ve.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},$vn=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,o=t.doc.lineAt(i),s=i==o.from?i-1:gs(o.text,i-o.from,!1)+o.from,a=i==o.to?i+1:gs(o.text,i-o.from,!0)+o.from;return{changes:{from:s,to:a,insert:t.doc.slice(i,a).append(t.doc.slice(s,i))},range:Ve.cursor(a)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function LU(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),o=t.doc.lineAt(r.to);if(!r.empty&&r.to==o.from&&(o=t.doc.lineAt(r.to-1)),n>=i.number){let s=e[e.length-1];s.to=o.to,s.ranges.push(r)}else e.push({from:i.from,to:o.to,ranges:[r]});n=o.number+1}return e}function $7e(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let o of LU(t)){if(n?o.to==t.doc.length:o.from==0)continue;let s=t.doc.lineAt(n?o.to+1:o.from-1),a=s.length+1;if(n){r.push({from:o.to,to:s.to},{from:o.from,insert:s.text+t.lineBreak});for(let l of o.ranges)i.push(Ve.range(Math.min(t.doc.length,l.anchor+a),Math.min(t.doc.length,l.head+a)))}else{r.push({from:s.from,to:o.from},{from:o.to,insert:t.lineBreak+s.text});for(let l of o.ranges)i.push(Ve.range(l.anchor-a,l.head-a))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:Ve.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const Fvn=({state:t,dispatch:e})=>$7e(t,e,!1),Nvn=({state:t,dispatch:e})=>$7e(t,e,!0);function F7e(t,e,n){if(t.readOnly)return!1;let r=[];for(let i of LU(t))n?r.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):r.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const zvn=({state:t,dispatch:e})=>F7e(t,e,!1),jvn=({state:t,dispatch:e})=>F7e(t,e,!0),Bvn=t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(LU(e).map(({from:i,to:o})=>(i>0?i--:o{let o;if(t.lineWrapping){let s=t.lineBlockAt(i.head),a=t.coordsAtPos(i.head,i.assoc||1);a&&(o=s.bottom+t.documentTop-a.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,o)}).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0};function Uvn(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=Vo(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),o;return r&&i&&r.to<=e&&i.from>=e&&(o=r.type.prop(_n.closedBy))&&o.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}const Wvn=N7e(!1),Vvn=N7e(!0);function N7e(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:o,to:s}=i,a=e.doc.lineAt(o),l=!t&&o==s&&Uvn(e,o);t&&(o=s=(s<=a.to?a:e.doc.lineAt(s)).to);let u=new PU(e,{simulateBreak:o,simulateDoubleBreak:!!l}),c=Ale(u,o);for(c==null&&(c=XO(/^\s*/.exec(e.doc.lineAt(o).text)[0],e.tabSize));sa.from&&o{let i=[];for(let s=r.from;s<=r.to;){let a=t.doc.lineAt(s);a.number>n&&(r.empty||r.to>a.from)&&(e(a,i,r),n=a.number),s=a.to+1}let o=t.changes(i);return{changes:i,range:Ve.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}const Gvn=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new PU(t,{overrideIndentation:o=>{let s=n[o];return s??-1}}),i=Lle(t,(o,s,a)=>{let l=Ale(r,o.from);if(l==null)return;/\S/.test(o.text)||(l=0);let u=/^\s*/.exec(o.text)[0],c=mP(t,l);(u!=c||a.fromt.readOnly?!1:(e(t.update(Lle(t,(n,r)=>{r.push({from:n.from,insert:t.facet(lD)})}),{userEvent:"input.indent"})),!0),j7e=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(Lle(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let o=XO(i,t.tabSize),s=0,a=mP(t,Math.max(0,o-cz(t)));for(;s(t.setTabFocusMode(),!0),qvn=[{key:"Ctrl-b",run:m7e,shift:O7e,preventDefault:!0},{key:"Ctrl-f",run:v7e,shift:E7e},{key:"Ctrl-p",run:b7e,shift:A7e},{key:"Ctrl-n",run:w7e,shift:P7e},{key:"Ctrl-a",run:hvn,shift:Ovn},{key:"Ctrl-e",run:pvn,shift:Evn},{key:"Ctrl-d",run:D7e},{key:"Ctrl-h",run:gK},{key:"Ctrl-k",run:Rvn},{key:"Ctrl-Alt-h",run:L7e},{key:"Ctrl-o",run:Lvn},{key:"Ctrl-t",run:$vn},{key:"Ctrl-v",run:pK}],Xvn=[{key:"ArrowLeft",run:m7e,shift:O7e,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:ivn,shift:vvn,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:fvn,shift:Svn,preventDefault:!0},{key:"ArrowRight",run:v7e,shift:E7e,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:ovn,shift:yvn,preventDefault:!0},{mac:"Cmd-ArrowRight",run:dvn,shift:Cvn,preventDefault:!0},{key:"ArrowUp",run:b7e,shift:A7e,preventDefault:!0},{mac:"Cmd-ArrowUp",run:Ube,shift:Vbe},{mac:"Ctrl-ArrowUp",run:zbe,shift:jbe},{key:"ArrowDown",run:w7e,shift:P7e,preventDefault:!0},{mac:"Cmd-ArrowDown",run:Wbe,shift:Gbe},{mac:"Ctrl-ArrowDown",run:pK,shift:Bbe},{key:"PageUp",run:zbe,shift:jbe},{key:"PageDown",run:pK,shift:Bbe},{key:"Home",run:cvn,shift:_vn,preventDefault:!0},{key:"Mod-Home",run:Ube,shift:Vbe},{key:"End",run:uvn,shift:wvn,preventDefault:!0},{key:"Mod-End",run:Wbe,shift:Gbe},{key:"Enter",run:Wvn},{key:"Mod-a",run:Tvn},{key:"Backspace",run:gK,shift:gK},{key:"Delete",run:D7e},{key:"Mod-Backspace",mac:"Alt-Backspace",run:L7e},{key:"Mod-Delete",mac:"Alt-Delete",run:Mvn},{mac:"Mod-Backspace",run:Dvn},{mac:"Mod-Delete",run:Ivn}].concat(qvn.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),Yvn=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:avn,shift:xvn},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:lvn,shift:bvn},{key:"Alt-ArrowUp",run:Fvn},{key:"Shift-Alt-ArrowUp",run:zvn},{key:"Alt-ArrowDown",run:Nvn},{key:"Shift-Alt-ArrowDown",run:jvn},{key:"Escape",run:Pvn},{key:"Mod-Enter",run:Vvn},{key:"Alt-l",mac:"Ctrl-l",run:kvn},{key:"Mod-i",run:Avn,preventDefault:!0},{key:"Mod-[",run:j7e},{key:"Mod-]",run:z7e},{key:"Mod-Alt-\\",run:Gvn},{key:"Shift-Mod-k",run:Bvn},{key:"Shift-Mod-\\",run:mvn},{key:"Mod-/",run:zmn},{key:"Alt-A",run:Bmn},{key:"Ctrl-m",mac:"Shift-Alt-m",run:Hvn}].concat(Xvn),Qvn={key:"Tab",run:z7e,shift:j7e};function Nr(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;et.normalize("NFKD"):t=>t;class bC{constructor(e,n,r=0,i=e.length,o,s){this.test=s,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=o?a=>o(Hbe(a)):Hbe,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return ss(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=fle(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=Ju(e);let i=this.normalize(n);for(let o=0,s=r;;o++){let a=i.charCodeAt(o),l=this.match(a,s,this.bufferPos+this.bufferStart);if(o==i.length-1){if(l)return this.value=l,this;break}s==r&&othis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let n=this.matchPos<=this.to&&this.re.exec(this.curLine);if(n){let r=this.curLineStart+n.index,i=r+n[0].length;if(this.matchPos=pz(this.text,i+(r==i?1:0)),r==this.curLineStart+this.curLine.length&&this.nextLine(),(rthis.value.to)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=r||i.to<=n){let a=new K_(n,e.sliceString(n,r));return s7.set(e,a),a}if(i.from==n&&i.to==r)return i;let{text:o,from:s}=i;return s>n&&(o=e.sliceString(n,s)+o,s=n),i.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,n=this.re.exec(this.flat.text);if(n&&!n[0]&&n.index==e&&(this.re.lastIndex=e+1,n=this.re.exec(this.flat.text)),n){let r=this.flat.from+n.index,i=r+n[0].length;if((this.flat.to>=this.to||n.index+n[0].length<=this.flat.text.length-10)&&(!this.test||this.test(r,i,n)))return this.value={from:r,to:i,match:n},this.matchPos=pz(this.text,i+(r==i?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=K_.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(W7e.prototype[Symbol.iterator]=V7e.prototype[Symbol.iterator]=function(){return this});function Kvn(t){try{return new RegExp(t,$le),!0}catch{return!1}}function pz(t,e){if(e>=t.length)return e;let n=t.lineAt(e),r;for(;e=56320&&r<57344;)e++;return e}function mK(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),n=Nr("input",{class:"cm-textfield",name:"line",value:e}),r=Nr("form",{class:"cm-gotoLine",onkeydown:o=>{o.keyCode==27?(o.preventDefault(),t.dispatch({effects:gz.of(!1)}),t.focus()):o.keyCode==13&&(o.preventDefault(),i())},onsubmit:o=>{o.preventDefault(),i()}},Nr("label",t.state.phrase("Go to line"),": ",n)," ",Nr("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function i(){let o=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(n.value);if(!o)return;let{state:s}=t,a=s.doc.lineAt(s.selection.main.head),[,l,u,c,f]=o,d=c?+c.slice(1):0,h=u?+u:a.number;if(u&&f){let m=h/100;l&&(m=m*(l=="-"?-1:1)+a.number/s.doc.lines),h=Math.round(s.doc.lines*m)}else u&&l&&(h=h*(l=="-"?-1:1)+a.number);let p=s.doc.line(Math.max(1,Math.min(s.doc.lines,h))),g=Ve.cursor(p.from+Math.max(0,Math.min(d,p.length)));t.dispatch({effects:[gz.of(!1),mt.scrollIntoView(g.from,{y:"center"})],selection:g}),t.focus()}return{dom:r}}const gz=rn.define(),qbe=Qo.define({create(){return!0},update(t,e){for(let n of e.effects)n.is(gz)&&(t=n.value);return t},provide:t=>hP.from(t,e=>e?mK:null)}),Zvn=t=>{let e=dP(t,mK);if(!e){let n=[gz.of(!0)];t.state.field(qbe,!1)==null&&n.push(rn.appendConfig.of([qbe,Jvn])),t.dispatch({effects:n}),e=dP(t,mK)}return e&&e.dom.querySelector("input").select(),!0},Jvn=mt.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),eyn={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},tyn=_t.define({combine(t){return Zh(t,eyn,{highlightWordAroundCursor:(e,n)=>e||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function nyn(t){return[ayn,syn]}const ryn=Dt.mark({class:"cm-selectionMatch"}),iyn=Dt.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function Xbe(t,e,n,r){return(n==0||t(e.sliceDoc(n-1,n))!=pi.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=pi.Word)}function oyn(t,e,n,r){return t(e.sliceDoc(n,n+1))==pi.Word&&t(e.sliceDoc(r-1,r))==pi.Word}const syn=Yi.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(tyn),{state:n}=t,r=n.selection;if(r.ranges.length>1)return Dt.none;let i=r.main,o,s=null;if(i.empty){if(!e.highlightWordAroundCursor)return Dt.none;let l=n.wordAt(i.head);if(!l)return Dt.none;s=n.charCategorizer(i.head),o=n.sliceDoc(l.from,l.to)}else{let l=i.to-i.from;if(l200)return Dt.none;if(e.wholeWords){if(o=n.sliceDoc(i.from,i.to),s=n.charCategorizer(i.head),!(Xbe(s,n,i.from,i.to)&&oyn(s,n,i.from,i.to)))return Dt.none}else if(o=n.sliceDoc(i.from,i.to),!o)return Dt.none}let a=[];for(let l of t.visibleRanges){let u=new bC(n.doc,o,l.from,l.to);for(;!u.next().done;){let{from:c,to:f}=u.value;if((!s||Xbe(s,n,c,f))&&(i.empty&&c<=i.from&&f>=i.to?a.push(iyn.range(c,f)):(c>=i.to||f<=i.from)&&a.push(ryn.range(c,f)),a.length>e.maxMatches))return Dt.none}}return Dt.set(a)}},{decorations:t=>t.decorations}),ayn=mt.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),lyn=({state:t,dispatch:e})=>{let{selection:n}=t,r=Ve.create(n.ranges.map(i=>t.wordAt(i.head)||Ve.cursor(i.head)),n.mainIndex);return r.eq(n)?!1:(e(t.update({selection:r})),!0)};function uyn(t,e){let{main:n,ranges:r}=t.selection,i=t.wordAt(n.head),o=i&&i.from==n.from&&i.to==n.to;for(let s=!1,a=new bC(t.doc,e,r[r.length-1].to);;)if(a.next(),a.done){if(s)return null;a=new bC(t.doc,e,0,Math.max(0,r[r.length-1].from-1)),s=!0}else{if(s&&r.some(l=>l.from==a.value.from))continue;if(o){let l=t.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const cyn=({state:t,dispatch:e})=>{let{ranges:n}=t.selection;if(n.some(o=>o.from===o.to))return lyn({state:t,dispatch:e});let r=t.sliceDoc(n[0].from,n[0].to);if(t.selection.ranges.some(o=>t.sliceDoc(o.from,o.to)!=r))return!1;let i=uyn(t,r);return i?(e(t.update({selection:t.selection.addRange(Ve.range(i.from,i.to),!1),effects:mt.scrollIntoView(i.to)})),!0):!1},QO=_t.define({combine(t){return Zh(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new _yn(e),scrollToMatch:e=>mt.scrollIntoView(e)})}});class G7e{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||Kvn(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(n,r)=>r=="n"?` +`:r=="r"?"\r":r=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new pyn(this):new dyn(this)}getCursor(e,n=0,r){let i=e.doc?e:In.create({doc:e});return r==null&&(r=i.doc.length),this.regexp?Nw(this,i,n,r):Fw(this,i,n,r)}}class H7e{constructor(e){this.spec=e}}function Fw(t,e,n,r){return new bC(e.doc,t.unquoted,n,r,t.caseSensitive?void 0:i=>i.toLowerCase(),t.wholeWord?fyn(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function fyn(t,e){return(n,r,i,o)=>((o>n||o+i.length=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Fw(this.spec,e,Math.max(0,n-this.spec.unquoted.length),Math.min(r+this.spec.unquoted.length,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}function Nw(t,e,n,r){return new W7e(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?hyn(e.charCategorizer(e.selection.main.head)):void 0},n,r)}function mz(t,e){return t.slice(gs(t,e,!1),e)}function vz(t,e){return t.slice(e,gs(t,e))}function hyn(t){return(e,n,r)=>!r[0].length||(t(mz(r.input,r.index))!=pi.Word||t(vz(r.input,r.index))!=pi.Word)&&(t(vz(r.input,r.index+r[0].length))!=pi.Word||t(mz(r.input,r.index+r[0].length))!=pi.Word)}class pyn extends H7e{nextMatch(e,n,r){let i=Nw(this.spec,e,r,e.doc.length).next();return i.done&&(i=Nw(this.spec,e,0,n).next()),i.done?null:i.value}prevMatchInRange(e,n,r){for(let i=1;;i++){let o=Math.max(n,r-i*1e4),s=Nw(this.spec,e,o,r),a=null;for(;!s.next().done;)a=s.value;if(a&&(o==n||a.from>o+10))return a;if(o==n)return null}}prevMatch(e,n,r){return this.prevMatchInRange(e,0,n)||this.prevMatchInRange(e,r,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(n,r)=>r=="$"?"$":r=="&"?e.match[0]:r!="0"&&+r=n)return null;i.push(r.value)}return i}highlight(e,n,r,i){let o=Nw(this.spec,e,Math.max(0,n-250),Math.min(r+250,e.doc.length));for(;!o.next().done;)i(o.value.from,o.value.to)}}const vP=rn.define(),Fle=rn.define(),Vv=Qo.define({create(t){return new a7(vK(t).create(),null)},update(t,e){for(let n of e.effects)n.is(vP)?t=new a7(n.value.create(),t.panel):n.is(Fle)&&(t=new a7(t.query,n.value?Nle:null));return t},provide:t=>hP.from(t,e=>e.panel)});class a7{constructor(e,n){this.query=e,this.panel=n}}const gyn=Dt.mark({class:"cm-searchMatch"}),myn=Dt.mark({class:"cm-searchMatch cm-searchMatch-selected"}),vyn=Yi.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(Vv))}update(t){let e=t.state.field(Vv);(e!=t.startState.field(Vv)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return Dt.none;let{view:n}=this,r=new by;for(let i=0,o=n.visibleRanges,s=o.length;io[i+1].from-2*250;)l=o[++i].to;t.highlight(n.state,a,l,(u,c)=>{let f=n.state.selection.ranges.some(d=>d.from==u&&d.to==c);r.add(u,c,f?myn:gyn)})}return r.finish()}},{decorations:t=>t.decorations});function dD(t){return e=>{let n=e.state.field(Vv,!1);return n&&n.query.spec.valid?t(e,n):Y7e(e)}}const yz=dD((t,{query:e})=>{let{to:n}=t.state.selection.main,r=e.nextMatch(t.state,n,n);if(!r)return!1;let i=Ve.single(r.from,r.to),o=t.state.facet(QO);return t.dispatch({selection:i,effects:[zle(t,r),o.scrollToMatch(i.main,t)],userEvent:"select.search"}),X7e(t),!0}),xz=dD((t,{query:e})=>{let{state:n}=t,{from:r}=n.selection.main,i=e.prevMatch(n,r,r);if(!i)return!1;let o=Ve.single(i.from,i.to),s=t.state.facet(QO);return t.dispatch({selection:o,effects:[zle(t,i),s.scrollToMatch(o.main,t)],userEvent:"select.search"}),X7e(t),!0}),yyn=dD((t,{query:e})=>{let n=e.matchAll(t.state,1e3);return!n||!n.length?!1:(t.dispatch({selection:Ve.create(n.map(r=>Ve.range(r.from,r.to))),userEvent:"select.search.matches"}),!0)}),xyn=({state:t,dispatch:e})=>{let n=t.selection;if(n.ranges.length>1||n.main.empty)return!1;let{from:r,to:i}=n.main,o=[],s=0;for(let a=new bC(t.doc,t.sliceDoc(r,i));!a.next().done;){if(o.length>1e3)return!1;a.value.from==r&&(s=o.length),o.push(Ve.range(a.value.from,a.value.to))}return e(t.update({selection:Ve.create(o,s),userEvent:"select.search.matches"})),!0},Ybe=dD((t,{query:e})=>{let{state:n}=t,{from:r,to:i}=n.selection.main;if(n.readOnly)return!1;let o=e.nextMatch(n,r,r);if(!o)return!1;let s=[],a,l,u=[];if(o.from==r&&o.to==i&&(l=n.toText(e.getReplacement(o)),s.push({from:o.from,to:o.to,insert:l}),o=e.nextMatch(n,o.from,o.to),u.push(mt.announce.of(n.phrase("replaced match on line $",n.doc.lineAt(r).number)+"."))),o){let c=s.length==0||s[0].from>=o.to?0:o.to-o.from-l.length;a=Ve.single(o.from-c,o.to-c),u.push(zle(t,o)),u.push(n.facet(QO).scrollToMatch(a.main,t))}return t.dispatch({changes:s,selection:a,effects:u,userEvent:"input.replace"}),!0}),byn=dD((t,{query:e})=>{if(t.state.readOnly)return!1;let n=e.matchAll(t.state,1e9).map(i=>{let{from:o,to:s}=i;return{from:o,to:s,insert:e.getReplacement(i)}});if(!n.length)return!1;let r=t.state.phrase("replaced $ matches",n.length)+".";return t.dispatch({changes:n,effects:mt.announce.of(r),userEvent:"input.replace.all"}),!0});function Nle(t){return t.state.facet(QO).createPanel(t)}function vK(t,e){var n,r,i,o,s;let a=t.selection.main,l=a.empty||a.to>a.from+100?"":t.sliceDoc(a.from,a.to);if(e&&!l)return e;let u=t.facet(QO);return new G7e({search:((n=e==null?void 0:e.literal)!==null&&n!==void 0?n:u.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(r=e==null?void 0:e.caseSensitive)!==null&&r!==void 0?r:u.caseSensitive,literal:(i=e==null?void 0:e.literal)!==null&&i!==void 0?i:u.literal,regexp:(o=e==null?void 0:e.regexp)!==null&&o!==void 0?o:u.regexp,wholeWord:(s=e==null?void 0:e.wholeWord)!==null&&s!==void 0?s:u.wholeWord})}function q7e(t){let e=dP(t,Nle);return e&&e.dom.querySelector("[main-field]")}function X7e(t){let e=q7e(t);e&&e==t.root.activeElement&&e.select()}const Y7e=t=>{let e=t.state.field(Vv,!1);if(e&&e.panel){let n=q7e(t);if(n&&n!=t.root.activeElement){let r=vK(t.state,e.query.spec);r.valid&&t.dispatch({effects:vP.of(r)}),n.focus(),n.select()}}else t.dispatch({effects:[Fle.of(!0),e?vP.of(vK(t.state,e.query.spec)):rn.appendConfig.of(Cyn)]});return!0},Q7e=t=>{let e=t.state.field(Vv,!1);if(!e||!e.panel)return!1;let n=dP(t,Nle);return n&&n.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:Fle.of(!1)}),!0},wyn=[{key:"Mod-f",run:Y7e,scope:"editor search-panel"},{key:"F3",run:yz,shift:xz,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:yz,shift:xz,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Q7e,scope:"editor search-panel"},{key:"Mod-Shift-l",run:xyn},{key:"Mod-Alt-g",run:Zvn},{key:"Mod-d",run:cyn,preventDefault:!0}];class _yn{constructor(e){this.view=e;let n=this.query=e.state.field(Vv).query.spec;this.commit=this.commit.bind(this),this.searchField=Nr("input",{value:n.search,placeholder:Dl(e,"Find"),"aria-label":Dl(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=Nr("input",{value:n.replace,placeholder:Dl(e,"Replace"),"aria-label":Dl(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=Nr("input",{type:"checkbox",name:"case",form:"",checked:n.caseSensitive,onchange:this.commit}),this.reField=Nr("input",{type:"checkbox",name:"re",form:"",checked:n.regexp,onchange:this.commit}),this.wordField=Nr("input",{type:"checkbox",name:"word",form:"",checked:n.wholeWord,onchange:this.commit});function r(i,o,s){return Nr("button",{class:"cm-button",name:i,onclick:o,type:"button"},s)}this.dom=Nr("div",{onkeydown:i=>this.keydown(i),class:"cm-search"},[this.searchField,r("next",()=>yz(e),[Dl(e,"next")]),r("prev",()=>xz(e),[Dl(e,"previous")]),r("select",()=>yyn(e),[Dl(e,"all")]),Nr("label",null,[this.caseField,Dl(e,"match case")]),Nr("label",null,[this.reField,Dl(e,"regexp")]),Nr("label",null,[this.wordField,Dl(e,"by word")]),...e.state.readOnly?[]:[Nr("br"),this.replaceField,r("replace",()=>Ybe(e),[Dl(e,"replace")]),r("replaceAll",()=>byn(e),[Dl(e,"replace all")])],Nr("button",{name:"close",onclick:()=>Q7e(e),"aria-label":Dl(e,"close"),type:"button"},["×"])])}commit(){let e=new G7e({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:vP.of(e)}))}keydown(e){Mpn(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?xz:yz)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Ybe(this.view))}update(e){for(let n of e.transactions)for(let r of n.effects)r.is(vP)&&!r.value.eq(this.query)&&this.setQuery(r.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(QO).top}}function Dl(t,e){return t.state.phrase(e)}const BL=30,UL=/[\s\.,:;?!]/;function zle(t,{from:e,to:n}){let r=t.state.doc.lineAt(e),i=t.state.doc.lineAt(n).to,o=Math.max(r.from,e-BL),s=Math.min(i,n+BL),a=t.state.sliceDoc(o,s);if(o!=r.from){for(let l=0;la.length-BL;l--)if(!UL.test(a[l-1])&&UL.test(a[l])){a=a.slice(0,l);break}}return mt.announce.of(`${t.state.phrase("current match")}. ${a} ${t.state.phrase("on line")} ${r.number}.`)}const Syn=mt.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),Cyn=[Vv,Jy.low(vyn),Syn];class K7e{constructor(e,n,r,i){this.state=e,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=Vo(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),o=i.search(J7e(e,!1));return o<0?null:{from:r+o,to:this.pos,text:i.slice(o)}}get aborted(){return this.abortListeners==null}addEventListener(e,n,r){e=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}}function Qbe(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function Oyn(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let o=1;otypeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:Oyn(e);return i=>{let o=i.matchBefore(r);return o||i.explicit?{from:o?o.from:i.pos,options:e,validFor:n}:null}}function Eyn(t,e){return n=>{for(let r=Vo(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}class Kbe{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}}function Gv(t){return t.selection.main.from}function J7e(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",o=r[r.length-1]!="$";return!i&&!o?t:new RegExp(`${i?"^":""}(?:${r})${o?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}const jle=Kh.define();function Tyn(t,e,n,r){let{main:i}=t.selection,o=n-i.from,s=r-i.from;return Object.assign(Object.assign({},t.changeByRange(a=>a!=i&&n!=r&&t.sliceDoc(a.from+o,a.from+s)!=t.sliceDoc(n,r)?{range:a}:{changes:{from:a.from+o,to:r==i.from?a.to:a.from+s,insert:e},range:Ve.cursor(a.from+o+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const Zbe=new WeakMap;function kyn(t){if(!Array.isArray(t))return t;let e=Zbe.get(t);return e||Zbe.set(t,e=Z7e(t)),e}const bz=rn.define(),yP=rn.define();class Ayn{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&w<=57||w>=97&&w<=122?2:w>=65&&w<=90?1:0:(_=fle(w))!=_.toLowerCase()?1:_!=_.toUpperCase()?2:0;(!y||S==1&&m||b==0&&S!=0)&&(n[f]==w||r[f]==w&&(d=!0)?s[f++]=y:s.length&&(v=!1)),b=S,y+=Ju(w)}return f==l&&s[0]==0&&v?this.result(-100+(d?-200:0),s,e):h==l&&p==0?this.ret(-200-e.length+(g==e.length?0:-100),[0,g]):a>-1?this.ret(-700-e.length,[a,a+this.pattern.length]):h==l?this.ret(-900-e.length,[p,g]):f==l?this.result(-100+(d?-200:0)+-700+(v?0:-1100),s,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],o=0;for(let s of n){let a=s+(this.astral?Ju(ss(r,s)):1);o&&i[o-1]==s?i[o-1]=a:(i[o++]=s,i[o++]=a)}return this.ret(e-r.length,i)}}class Pyn{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Myn,filterStrict:!1,compareCompletions:(e,n)=>e.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>Jbe(e(r),n(r)),optionClass:(e,n)=>r=>Jbe(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function Jbe(t,e){return t?e?t+" "+e:t:e}function Myn(t,e,n,r,i,o){let s=t.textDirection==ii.RTL,a=s,l=!1,u="top",c,f,d=e.left-i.left,h=i.right-e.right,p=r.right-r.left,g=r.bottom-r.top;if(a&&d=g||y>e.top?c=n.bottom-e.top:(u="bottom",c=e.bottom-n.top)}let m=(e.bottom-e.top)/o.offsetHeight,v=(e.right-e.left)/o.offsetWidth;return{style:`${u}: ${c/m}px; max-width: ${f/v}px`,class:"cm-completionInfo-"+(l?s?"left-narrow":"right-narrow":a?"left":"right")}}function Ryn(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,o){let s=document.createElement("span");s.className="cm-completionLabel";let a=n.displayLabel||n.label,l=0;for(let u=0;ul&&s.appendChild(document.createTextNode(a.slice(l,c)));let d=s.appendChild(document.createElement("span"));d.appendChild(document.createTextNode(a.slice(c,f))),d.className="cm-completionMatchedText",l=f}return ln.position-r.position).map(n=>n.render)}function l7(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}class Dyn{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:o,selected:s}=i.open,a=e.state.facet(fs);this.optionContent=Ryn(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=l7(o.length,s,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",l=>{let{options:u}=e.state.field(n).open;for(let c=l.target,f;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(f=/-(\d+)$/.exec(c.id))&&+f[1]{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(fs).closeOnBlur&&l.relatedTarget!=e.contentDOM&&e.dispatch({effects:yP.of(null)})}),this.showOptions(o,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:o,selected:s,disabled:a}=r.open;(!i.open||i.open.options!=o)&&(this.range=l7(o.length,s,e.state.facet(fs).maxRenderedOptions),this.showOptions(o,r.id)),this.updateSel(),a!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=l7(n.options.length,n.selected,this.view.state.facet(fs).maxRenderedOptions),this.showOptions(n.options,e.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let o=typeof i=="string"?document.createTextNode(i):i(r);if(!o)return;"then"in o?o.then(s=>{s&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(s,r)}).catch(s=>sl(this.view.state,s,"completion info")):this.addInfoPane(o,r)}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:o}=e;r.appendChild(i),this.infoDestroy=o||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&Lyn(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),o=this.space;if(!o){let s=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,right:s.innerWidth,bottom:s.innerHeight}}return i.top>Math.min(o.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(o=d,typeof u!="string"&&u.header)i.appendChild(u.header(u));else{let h=i.appendChild(document.createElement("completion-section"));h.textContent=d}}const c=i.appendChild(document.createElement("li"));c.id=n+"-"+s,c.setAttribute("role","option");let f=this.optionClass(a);f&&(c.className=f);for(let d of this.optionContent){let h=d(a,this.view.state,this.view,l);h&&c.appendChild(h)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew Dyn(n,t,e)}function Lyn(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.topn.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}function ewe(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function $yn(t,e){let n=[],r=null,i=u=>{n.push(u);let{section:c}=u.completion;if(c){r||(r=[]);let f=typeof c=="string"?c:c.name;r.some(d=>d.name==f)||r.push(typeof c=="string"?{name:f}:c)}},o=e.facet(fs);for(let u of t)if(u.hasResult()){let c=u.result.getMatch;if(u.result.filter===!1)for(let f of u.result.options)i(new Kbe(f,u.source,c?c(f):[],1e9-n.length));else{let f=e.sliceDoc(u.from,u.to),d,h=o.filterStrict?new Pyn(f):new Ayn(f);for(let p of u.result.options)if(d=h.match(p.label)){let g=p.displayLabel?c?c(p,d.matched):[]:d.matched;i(new Kbe(p,u.source,g,d.score+(p.boost||0)))}}}if(r){let u=Object.create(null),c=0,f=(d,h)=>{var p,g;return((p=d.rank)!==null&&p!==void 0?p:1e9)-((g=h.rank)!==null&&g!==void 0?g:1e9)||(d.namef.score-c.score||l(c.completion,f.completion))){let c=u.completion;!a||a.label!=c.label||a.detail!=c.detail||a.type!=null&&c.type!=null&&a.type!=c.type||a.apply!=c.apply||a.boost!=c.boost?s.push(u):ewe(u.completion)>ewe(a)&&(s[s.length-1]=u),a=u.completion}return s}class g_{constructor(e,n,r,i,o,s){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=o,this.disabled=s}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new g_(this.options,twe(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,o){let s=$yn(e,n);if(!s.length)return i&&e.some(l=>l.state==1)?new g_(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let a=n.facet(fs).selectOnOpen?0:-1;if(i&&i.selected!=a&&i.selected!=-1){let l=i.options[i.selected].completion;for(let u=0;uu.hasResult()?Math.min(l,u.from):l,1e8),create:Uyn,above:o.aboveCursor},i?i.timestamp:Date.now(),a,!1)}map(e){return new g_(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class wz{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new wz(jyn,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(fs),o=(r.override||n.languageDataAt("autocomplete",Gv(n)).map(kyn)).map(a=>(this.active.find(u=>u.source==a)||new tu(a,this.active.some(u=>u.state!=0)?1:0)).update(e,r));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open;s&&e.docChanged&&(s=s.map(e.changes)),e.selection||o.some(a=>a.hasResult()&&e.changes.touchesRange(a.from,a.to))||!Fyn(o,this.active)?s=g_.build(o,n,this.id,s,r):s&&s.disabled&&!o.some(a=>a.state==1)&&(s=null),!s&&o.every(a=>a.state!=1)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new tu(a.source,0):a));for(let a of e.effects)a.is(nGe)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new wz(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?Nyn:zyn}}function Fyn(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=t+"-"+e),n}const jyn=[];function eGe(t,e){if(t.isUserEvent("input.complete")){let r=t.annotation(jle);if(r&&e.activateOnCompletion(r))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class tu{constructor(e,n,r=-1){this.source=e,this.state=n,this.explicitPos=r}hasResult(){return!1}update(e,n){let r=eGe(e,n),i=this;(r&8||r&16&&this.touches(e))&&(i=new tu(i.source,0)),r&4&&i.state==0&&(i=new tu(this.source,1)),i=i.updateFor(e,r);for(let o of e.effects)if(o.is(bz))i=new tu(i.source,1,o.value?Gv(e.state):-1);else if(o.is(yP))i=new tu(i.source,0);else if(o.is(tGe))for(let s of o.value)s.source==i.source&&(i=s);return i}updateFor(e,n){return this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new tu(this.source,this.state,e.mapPos(this.explicitPos))}touches(e){return e.changes.touchesRange(Gv(e.state))}}class Z_ extends tu{constructor(e,n,r,i,o){super(e,2,n),this.result=r,this.from=i,this.to=o}hasResult(){return!0}updateFor(e,n){var r;if(!(n&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let o=e.changes.mapPos(this.from),s=e.changes.mapPos(this.to,1),a=Gv(e.state);if((this.explicitPos<0?a<=o:as||!i||n&2&&Gv(e.startState)==this.from)return new tu(this.source,n&4?1:0);let l=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return Byn(i.validFor,e.state,o,s)?new Z_(this.source,l,i,o,s):i.update&&(i=i.update(i,o,s,new K7e(e.state,a,l>=0)))?new Z_(this.source,l,i,i.from,(r=i.to)!==null&&r!==void 0?r:Gv(e.state)):new tu(this.source,1,l)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new Z_(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new tu(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}}function Byn(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):J7e(t,!0).test(i)}const tGe=rn.define({map(t,e){return t.map(n=>n.map(e))}}),nGe=rn.define(),Za=Qo.define({create(){return wz.start()},update(t,e){return t.update(e)},provide:t=>[Sle.from(t,e=>e.tooltip),mt.contentAttributes.from(t,e=>e.attrs)]});function Ble(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(Za).active.find(i=>i.source==e.source);return r instanceof Z_?(typeof n=="string"?t.dispatch(Object.assign(Object.assign({},Tyn(t.state,n,r.from,r.to)),{annotations:jle.of(e.completion)})):n(t,e.completion,r.from,r.to),!0):!1}const Uyn=Iyn(Za,Ble);function WL(t,e="option"){return n=>{let r=n.state.field(Za,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(t?1:-1):t?0:s-1;return a<0?a=e=="page"?0:s-1:a>=s&&(a=e=="page"?s-1:0),n.dispatch({effects:nGe.of(a)}),!0}}const Wyn=t=>{let e=t.state.field(Za,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(Za,!1)?(t.dispatch({effects:bz.of(!0)}),!0):!1,Gyn=t=>{let e=t.state.field(Za,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:yP.of(null)}),!0)};class Hyn{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}}const qyn=50,Xyn=1e3,Yyn=Yi.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Za).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Za),n=t.state.facet(fs);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Za)==e)return;let r=t.transactions.some(o=>{let s=eGe(o,n);return s&8||(o.selection||o.docChanged)&&!(s&3)});for(let o=0;oqyn&&Date.now()-s.time>Xyn){for(let a of s.context.abortListeners)try{a()}catch(l){sl(this.view.state,l)}s.context.abortListeners=null,this.running.splice(o--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(o=>o.effects.some(s=>s.is(bz)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(o=>o.state==1&&!this.running.some(s=>s.active.source==o.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let o of t.transactions)o.isUserEvent("input.type")?this.composing=2:this.composing==2&&o.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Za);for(let n of e.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=Gv(e),r=new K7e(e,n,t.explicitPos==n,this.view),i=new Hyn(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(o=>{i.context.aborted||(i.done=o||null,this.scheduleAccept())},o=>{this.view.dispatch({effects:yP.of(null)}),sl(this.view.state,o)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(fs).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(fs);for(let r=0;rs.source==i.active.source);if(o&&o.state==1)if(i.done==null){let s=new tu(i.active.source,0);for(let a of i.updates)s=s.update(a,n);s.state!=1&&e.push(s)}else this.startQuery(o)}e.length&&this.view.dispatch({effects:tGe.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Za,!1);if(e&&e.tooltip&&this.view.state.facet(fs).closeOnBlur){let n=e.open&&L9e(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:yP.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:bz.of(!1)}),20),this.composing=0}}}),Qyn=typeof navigator=="object"&&/Win/.test(navigator.platform),Kyn=Jy.highest(mt.domEventHandlers({keydown(t,e){let n=e.state.field(Za,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(Qyn&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(s=>s.source==r.source),o=r.completion.commitCharacters||i.result.commitCharacters;return o&&o.indexOf(t.key)>-1&&Ble(e,r),!1}})),rGe=mt.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class Zyn{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}}class Ule{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,cs.TrackDel),r=e.mapPos(this.to,1,cs.TrackDel);return n==null||r==null?null:new Ule(this.field,n,r)}}class Wle{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],o=e.doc.lineAt(n),s=/^\s*/.exec(o.text)[0];for(let l of this.lines){if(r.length){let u=s,c=/^\t*/.exec(l)[0].length;for(let f=0;fnew Ule(l.field,i[l.line]+l.from,i[l.line]+l.to));return{text:r,ranges:a}}static parse(e){let n=[],r=[],i=[],o;for(let s of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(s);){let a=o[1]?+o[1]:null,l=o[2]||o[3]||"",u=-1,c=l.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f=u&&d.field++}i.push(new Zyn(u,r.length,o.index,o.index+c.length)),s=s.slice(0,o.index)+l+s.slice(o.index+o[0].length)}s=s.replace(/\\([{}])/g,(a,l,u)=>{for(let c of i)c.line==r.length&&c.from>u&&(c.from--,c.to--);return l}),r.push(s)}return new Wle(r,i)}}let Jyn=Dt.widget({widget:new class extends Jh{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),e0n=Dt.mark({class:"cm-snippetField"});class KO{constructor(e,n){this.ranges=e,this.active=n,this.deco=Dt.set(e.map(r=>(r.from==r.to?Jyn:e0n).range(r.from,r.to)))}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new KO(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}}const hD=rn.define({map(t,e){return t&&t.map(e)}}),t0n=rn.define(),xP=Qo.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(hD))return n.value;if(n.is(t0n)&&t)return new KO(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>mt.decorations.from(t,e=>e?e.deco:Dt.none)});function Vle(t,e){return Ve.create(t.filter(n=>n.field==e).map(n=>Ve.range(n.from,n.to)))}function n0n(t){let e=Wle.parse(t);return(n,r,i,o)=>{let{text:s,ranges:a}=e.instantiate(n.state,i),l={changes:{from:i,to:o,insert:ar.of(s)},scrollIntoView:!0,annotations:r?[jle.of(r),ao.userEvent.of("input.complete")]:void 0};if(a.length&&(l.selection=Vle(a,0)),a.some(u=>u.field>0)){let u=new KO(a,0),c=l.effects=[hD.of(u)];n.state.field(xP,!1)===void 0&&c.push(rn.appendConfig.of([xP,a0n,l0n,rGe]))}n.dispatch(n.state.update(l))}}function iGe(t){return({state:e,dispatch:n})=>{let r=e.field(xP,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,o=t>0&&!r.ranges.some(s=>s.field==i+t);return n(e.update({selection:Vle(r.ranges,i),effects:hD.of(o?null:new KO(r.ranges,i)),scrollIntoView:!0})),!0}}const r0n=({state:t,dispatch:e})=>t.field(xP,!1)?(e(t.update({effects:hD.of(null)})),!0):!1,i0n=iGe(1),o0n=iGe(-1),s0n=[{key:"Tab",run:i0n,shift:o0n},{key:"Escape",run:r0n}],nwe=_t.define({combine(t){return t.length?t[0]:s0n}}),a0n=Jy.highest(sD.compute([nwe],t=>t.facet(nwe)));function dp(t,e){return Object.assign(Object.assign({},e),{apply:n0n(t)})}const l0n=mt.domEventHandlers({mousedown(t,e){let n=e.state.field(xP,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(o=>o.from<=r&&o.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:Vle(n.ranges,i.field),effects:hD.of(n.ranges.some(o=>o.field>i.field)?new KO(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),bP={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},mx=rn.define({map(t,e){let n=e.mapPos(t,-1,cs.TrackAfter);return n??void 0}}),Gle=new class extends A1{};Gle.startSide=1;Gle.endSide=-1;const oGe=Qo.define({create(){return Gn.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(mx)&&(t=t.update({add:[Gle.range(n.value,n.value+1)]}));return t}});function u0n(){return[f0n,oGe]}const u7="()[]{}<>";function sGe(t){for(let e=0;e{if((c0n?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&Ju(ss(r,0))==1||e!=i.from||n!=i.to)return!1;let o=p0n(t.state,r);return o?(t.dispatch(o),!0):!1}),d0n=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=aGe(t,t.selection.main.head).brackets||bP.brackets,i=null,o=t.changeByRange(s=>{if(s.empty){let a=g0n(t.doc,s.head);for(let l of r)if(l==a&&$U(t.doc,s.head)==sGe(ss(l,0)))return{changes:{from:s.head-l.length,to:s.head+l.length},range:Ve.cursor(s.head-l.length)}}return{range:i=s}});return i||e(t.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},h0n=[{key:"Backspace",run:d0n}];function p0n(t,e){let n=aGe(t,t.selection.main.head),r=n.brackets||bP.brackets;for(let i of r){let o=sGe(ss(i,0));if(e==i)return o==i?y0n(t,i,r.indexOf(i+i+i)>-1,n):m0n(t,i,o,n.before||bP.before);if(e==o&&lGe(t,t.selection.main.from))return v0n(t,i,o)}return null}function lGe(t,e){let n=!1;return t.field(oGe).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}function $U(t,e){let n=t.sliceString(e,e+2);return n.slice(0,Ju(ss(n,0)))}function g0n(t,e){let n=t.sliceString(e-2,e);return Ju(ss(n,0))==n.length?n:n.slice(1)}function m0n(t,e,n,r){let i=null,o=t.changeByRange(s=>{if(!s.empty)return{changes:[{insert:e,from:s.from},{insert:n,from:s.to}],effects:mx.of(s.to+e.length),range:Ve.range(s.anchor+e.length,s.head+e.length)};let a=$U(t.doc,s.head);return!a||/\s/.test(a)||r.indexOf(a)>-1?{changes:{insert:e+n,from:s.head},effects:mx.of(s.head+e.length),range:Ve.cursor(s.head+e.length)}:{range:i=s}});return i?null:t.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function v0n(t,e,n){let r=null,i=t.changeByRange(o=>o.empty&&$U(t.doc,o.head)==n?{changes:{from:o.head,to:o.head+n.length,insert:n},range:Ve.cursor(o.head+n.length)}:r={range:o});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function y0n(t,e,n,r){let i=r.stringPrefixes||bP.stringPrefixes,o=null,s=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:e,from:a.to}],effects:mx.of(a.to+e.length),range:Ve.range(a.anchor+e.length,a.head+e.length)};let l=a.head,u=$U(t.doc,l),c;if(u==e){if(rwe(t,l))return{changes:{insert:e+e,from:l},effects:mx.of(l+e.length),range:Ve.cursor(l+e.length)};if(lGe(t,l)){let d=n&&t.sliceDoc(l,l+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:l,to:l+d.length,insert:d},range:Ve.cursor(l+d.length)}}}else{if(n&&t.sliceDoc(l-2*e.length,l)==e+e&&(c=iwe(t,l-2*e.length,i))>-1&&rwe(t,c))return{changes:{insert:e+e+e+e,from:l},effects:mx.of(l+e.length),range:Ve.cursor(l+e.length)};if(t.charCategorizer(l)(u)!=pi.Word&&iwe(t,l,i)>-1&&!x0n(t,l,e,i))return{changes:{insert:e+e,from:l},effects:mx.of(l+e.length),range:Ve.cursor(l+e.length)}}return{range:o=a}});return o?null:t.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function rwe(t,e){let n=Vo(t).resolveInner(e+1);return n.parent&&n.from==e}function x0n(t,e,n,r){let i=Vo(t).resolveInner(e,-1),o=r.reduce((s,a)=>Math.max(s,a.length),0);for(let s=0;s<5;s++){let a=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+o)),l=a.indexOf(n);if(!l||l>-1&&r.indexOf(a.slice(0,l))>-1){let c=i.firstChild;for(;c&&c.from==i.from&&c.to-c.from>n.length+l;){if(t.sliceDoc(c.to-n.length,c.to)==n)return!1;c=c.firstChild}return!0}let u=i.to==e&&i.parent;if(!u)break;i=u}return!1}function iwe(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=pi.Word)return e;for(let i of n){let o=e-i.length;if(t.sliceDoc(o,e)==i&&r(t.sliceDoc(o-1,o))!=pi.Word)return o}return-1}function uGe(t={}){return[Kyn,Za,fs.of(t),Yyn,b0n,rGe]}const cGe=[{key:"Ctrl-Space",run:Vyn},{key:"Escape",run:Gyn},{key:"ArrowDown",run:WL(!0)},{key:"ArrowUp",run:WL(!1)},{key:"PageDown",run:WL(!0,"page")},{key:"PageUp",run:WL(!1,"page")},{key:"Enter",run:Wyn}],b0n=Jy.highest(sD.computeN([fs],t=>t.facet(fs).defaultKeymap?[cGe]:[]));class w0n{constructor(e,n,r){this.from=e,this.to=n,this.diagnostic=r}}class tx{constructor(e,n,r){this.diagnostics=e,this.panel=n,this.selected=r}static init(e,n,r){let i=e,o=r.facet(wP).markerFilter;o&&(i=o(i,r));let s=Dt.set(i.map(a=>a.from==a.to||a.from==a.to-1&&r.doc.lineAt(a.from).to==a.from?Dt.widget({widget:new P0n(a),diagnostic:a}).range(a.from):Dt.mark({attributes:{class:"cm-lintRange cm-lintRange-"+a.severity+(a.markClass?" "+a.markClass:"")},diagnostic:a}).range(a.from,a.to)),!0);return new tx(s,n,wC(s))}}function wC(t,e=null,n=0){let r=null;return t.between(n,1e9,(i,o,{spec:s})=>{if(!(e&&s.diagnostic!=e))return r=new w0n(i,o,s.diagnostic),!1}),r}function _0n(t,e){let n=e.pos,r=e.end||n,i=t.state.facet(wP).hideOn(t,n,r);if(i!=null)return i;let o=t.startState.doc.lineAt(e.pos);return!!(t.effects.some(s=>s.is(fGe))||t.changes.touchesRange(o.from,Math.max(o.to,r)))}function S0n(t,e){return t.field(lu,!1)?e:e.concat(rn.appendConfig.of(D0n))}const fGe=rn.define(),Hle=rn.define(),dGe=rn.define(),lu=Qo.define({create(){return new tx(Dt.none,null,null)},update(t,e){if(e.docChanged&&t.diagnostics.size){let n=t.diagnostics.map(e.changes),r=null,i=t.panel;if(t.selected){let o=e.changes.mapPos(t.selected.from,1);r=wC(n,t.selected.diagnostic,o)||wC(n,null,o)}!n.size&&i&&e.state.facet(wP).autoPanel&&(i=null),t=new tx(n,i,r)}for(let n of e.effects)if(n.is(fGe)){let r=e.state.facet(wP).autoPanel?n.value.length?_P.open:null:t.panel;t=tx.init(n.value,r,e.state)}else n.is(Hle)?t=new tx(t.diagnostics,n.value?_P.open:null,t.selected):n.is(dGe)&&(t=new tx(t.diagnostics,t.panel,n.value));return t},provide:t=>[hP.from(t,e=>e.panel),mt.decorations.from(t,e=>e.diagnostics)]}),C0n=Dt.mark({class:"cm-lintRange cm-lintRange-active"});function O0n(t,e,n){let{diagnostics:r}=t.state.field(lu),i=[],o=2e8,s=0;r.between(e-(n<0?1:0),e+(n>0?1:0),(l,u,{spec:c})=>{e>=l&&e<=u&&(l==u||(e>l||n>0)&&(epGe(t,n,!1)))}const T0n=t=>{let e=t.state.field(lu,!1);(!e||!e.panel)&&t.dispatch({effects:S0n(t.state,[Hle.of(!0)])});let n=dP(t,_P.open);return n&&n.dom.querySelector(".cm-panel-lint ul").focus(),!0},owe=t=>{let e=t.state.field(lu,!1);return!e||!e.panel?!1:(t.dispatch({effects:Hle.of(!1)}),!0)},k0n=t=>{let e=t.state.field(lu,!1);if(!e)return!1;let n=t.state.selection.main,r=e.diagnostics.iter(n.to+1);return!r.value&&(r=e.diagnostics.iter(0),!r.value||r.from==n.from&&r.to==n.to)?!1:(t.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0}),!0)},A0n=[{key:"Mod-Shift-m",run:T0n,preventDefault:!0},{key:"F8",run:k0n}],wP=_t.define({combine(t){return Object.assign({sources:t.map(e=>e.source).filter(e=>e!=null)},Zh(t.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,n)=>e?n?r=>e(r)||n(r):e:n}))}});function hGe(t){let e=[];if(t)e:for(let{name:n}of t){for(let r=0;ro.toLowerCase()==i.toLowerCase())){e.push(i);continue e}}e.push("")}return e}function pGe(t,e,n){var r;let i=n?hGe(e.actions):[];return Nr("li",{class:"cm-diagnostic cm-diagnostic-"+e.severity},Nr("span",{class:"cm-diagnosticText"},e.renderMessage?e.renderMessage(t):e.message),(r=e.actions)===null||r===void 0?void 0:r.map((o,s)=>{let a=!1,l=d=>{if(d.preventDefault(),a)return;a=!0;let h=wC(t.state.field(lu).diagnostics,e);h&&o.apply(t,h.from,h.to)},{name:u}=o,c=i[s]?u.indexOf(i[s]):-1,f=c<0?u:[u.slice(0,c),Nr("u",u.slice(c,c+1)),u.slice(c+1)];return Nr("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${u}${c<0?"":` (access key "${i[s]})"`}.`},f)}),e.source&&Nr("div",{class:"cm-diagnosticSource"},e.source))}class P0n extends Jh{constructor(e){super(),this.diagnostic=e}eq(e){return e.diagnostic==this.diagnostic}toDOM(){return Nr("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class swe{constructor(e,n){this.diagnostic=n,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=pGe(e,n,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class _P{constructor(e){this.view=e,this.items=[];let n=i=>{if(i.keyCode==27)owe(this.view),this.view.focus();else if(i.keyCode==38||i.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(i.keyCode==40||i.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(i.keyCode==36)this.moveSelection(0);else if(i.keyCode==35)this.moveSelection(this.items.length-1);else if(i.keyCode==13)this.view.focus();else if(i.keyCode>=65&&i.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:o}=this.items[this.selectedIndex],s=hGe(o.actions);for(let a=0;a{for(let o=0;oowe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(lu).selected;if(!e)return-1;for(let n=0;n{let u=-1,c;for(let f=r;fr&&(this.items.splice(r,u-r),i=!0)),n&&c.diagnostic==n.diagnostic?c.dom.hasAttribute("aria-selected")||(c.dom.setAttribute("aria-selected","true"),o=c):c.dom.hasAttribute("aria-selected")&&c.dom.removeAttribute("aria-selected"),r++});r({sel:o.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:s,panel:a})=>{let l=a.height/this.list.offsetHeight;s.topa.bottom&&(this.list.scrollTop+=(s.bottom-a.bottom)/l)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),i&&this.sync()}sync(){let e=this.list.firstChild;function n(){let r=e;e=r.nextSibling,r.remove()}for(let r of this.items)if(r.dom.parentNode==this.list){for(;e!=r.dom;)n();e=r.dom.nextSibling}else this.list.insertBefore(r.dom,e);for(;e;)n()}moveSelection(e){if(this.selectedIndex<0)return;let n=this.view.state.field(lu),r=wC(n.diagnostics,this.items[e].diagnostic);r&&this.view.dispatch({selection:{anchor:r.from,head:r.to},scrollIntoView:!0,effects:dGe.of(r)})}static open(e){return new _P(e)}}function M0n(t,e='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(t)}')`}function VL(t){return M0n(``,'width="6" height="3"')}const R0n=mt.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:VL("#d11")},".cm-lintRange-warning":{backgroundImage:VL("orange")},".cm-lintRange-info":{backgroundImage:VL("#999")},".cm-lintRange-hint":{backgroundImage:VL("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),D0n=[lu,mt.decorations.compute([lu],t=>{let{selected:e,panel:n}=t.field(lu);return!e||!n||e.from==e.to?Dt.none:Dt.set([C0n.range(e.from,e.to)])}),xgn(O0n,{hideOn:_0n}),R0n];var awe=function(e){e===void 0&&(e={});var n=[];e.closeBracketsKeymap!==!1&&(n=n.concat(h0n)),e.defaultKeymap!==!1&&(n=n.concat(Yvn)),e.searchKeymap!==!1&&(n=n.concat(wyn)),e.historyKeymap!==!1&&(n=n.concat(rvn)),e.foldKeymap!==!1&&(n=n.concat(vmn)),e.completionKeymap!==!1&&(n=n.concat(cGe)),e.lintKeymap!==!1&&(n=n.concat(A0n));var r=[];return e.lineNumbers!==!1&&r.push(Pgn()),e.highlightActiveLineGutter!==!1&&r.push(Dgn()),e.highlightSpecialChars!==!1&&r.push(Xpn()),e.history!==!1&&r.push(Xmn()),e.foldGutter!==!1&&r.push(wmn()),e.drawSelection!==!1&&r.push(Fpn()),e.dropCursor!==!1&&r.push(Upn()),e.allowMultipleSelections!==!1&&r.push(In.allowMultipleSelections.of(!0)),e.indentOnInput!==!1&&r.push(lmn()),e.syntaxHighlighting!==!1&&r.push(o7e(Omn,{fallback:!0})),e.bracketMatching!==!1&&r.push(Rmn()),e.closeBrackets!==!1&&r.push(u0n()),e.autocompletion!==!1&&r.push(uGe()),e.rectangularSelection!==!1&&r.push(lgn()),e.crosshairCursor!==!1&&r.push(fgn()),e.highlightActiveLine!==!1&&r.push(egn()),e.highlightSelectionMatches!==!1&&r.push(nyn()),e.tabSize&&typeof e.tabSize=="number"&&r.push(lD.of(" ".repeat(e.tabSize))),r.concat([sD.of(n.flat())]).filter(Boolean)};const I0n="#e5c07b",lwe="#e06c75",L0n="#56b6c2",$0n="#ffffff",q3="#abb2bf",yK="#7d8799",F0n="#61afef",N0n="#98c379",uwe="#d19a66",z0n="#c678dd",j0n="#21252b",cwe="#2c313a",fwe="#282c34",c7="#353a42",B0n="#3E4451",dwe="#528bff",U0n=mt.theme({"&":{color:q3,backgroundColor:fwe},".cm-content":{caretColor:dwe},".cm-cursor, .cm-dropCursor":{borderLeftColor:dwe},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:B0n},".cm-panels":{backgroundColor:j0n,color:q3},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:fwe,color:yK,border:"none"},".cm-activeLineGutter":{backgroundColor:cwe},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:c7},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:c7,borderBottomColor:c7},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:cwe,color:q3}}},{dark:!0}),W0n=cD.define([{tag:Ee.keyword,color:z0n},{tag:[Ee.name,Ee.deleted,Ee.character,Ee.propertyName,Ee.macroName],color:lwe},{tag:[Ee.function(Ee.variableName),Ee.labelName],color:F0n},{tag:[Ee.color,Ee.constant(Ee.name),Ee.standard(Ee.name)],color:uwe},{tag:[Ee.definition(Ee.name),Ee.separator],color:q3},{tag:[Ee.typeName,Ee.className,Ee.number,Ee.changed,Ee.annotation,Ee.modifier,Ee.self,Ee.namespace],color:I0n},{tag:[Ee.operator,Ee.operatorKeyword,Ee.url,Ee.escape,Ee.regexp,Ee.link,Ee.special(Ee.string)],color:L0n},{tag:[Ee.meta,Ee.comment],color:yK},{tag:Ee.strong,fontWeight:"bold"},{tag:Ee.emphasis,fontStyle:"italic"},{tag:Ee.strikethrough,textDecoration:"line-through"},{tag:Ee.link,color:yK,textDecoration:"underline"},{tag:Ee.heading,fontWeight:"bold",color:lwe},{tag:[Ee.atom,Ee.bool,Ee.special(Ee.variableName)],color:uwe},{tag:[Ee.processingInstruction,Ee.string,Ee.inserted],color:N0n},{tag:Ee.invalid,color:$0n}]),V0n=[U0n,o7e(W0n)];var G0n=mt.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),H0n=function(e){e===void 0&&(e={});var{indentWithTab:n=!0,editable:r=!0,readOnly:i=!1,theme:o="light",placeholder:s="",basicSetup:a=!0}=e,l=[];switch(n&&l.unshift(sD.of([Qvn])),a&&(typeof a=="boolean"?l.unshift(awe()):l.unshift(awe(a))),s&&l.unshift(ign(s)),o){case"light":l.push(G0n);break;case"dark":l.push(V0n);break;case"none":break;default:l.push(o);break}return r===!1&&l.push(mt.editable.of(!1)),i&&l.push(In.readOnly.of(!0)),[...l]},q0n=t=>({line:t.state.doc.lineAt(t.state.selection.main.from),lineCount:t.state.doc.lines,lineBreak:t.state.lineBreak,length:t.state.doc.length,readOnly:t.state.readOnly,tabSize:t.state.tabSize,selection:t.state.selection,selectionAsSingle:t.state.selection.asSingle().main,ranges:t.state.selection.ranges,selectionCode:t.state.sliceDoc(t.state.selection.main.from,t.state.selection.main.to),selections:t.state.selection.ranges.map(e=>t.state.sliceDoc(e.from,e.to)),selectedText:t.state.selection.ranges.some(e=>!e.empty)}),hwe=Kh.define(),X0n=[];function Y0n(t){var{value:e,selection:n,onChange:r,onStatistics:i,onCreateEditor:o,onUpdate:s,extensions:a=X0n,autoFocus:l,theme:u="light",height:c="",minHeight:f="",maxHeight:d="",placeholder:h="",width:p="",minWidth:g="",maxWidth:m="",editable:v=!0,readOnly:y=!1,indentWithTab:x=!0,basicSetup:b=!0,root:w,initialState:_}=t,[S,O]=D.useState(),[k,E]=D.useState(),[M,A]=D.useState(),P=mt.theme({"&":{height:c,minHeight:f,maxHeight:d,width:p,minWidth:g,maxWidth:m},"& .cm-scroller":{height:"100% !important"}}),T=mt.updateListener.of(B=>{if(B.docChanged&&typeof r=="function"&&!B.transactions.some(L=>L.annotation(hwe))){var $=B.state.doc,z=$.toString();r(z,B)}i&&i(q0n(B))}),R=H0n({theme:u,editable:v,readOnly:y,placeholder:h,indentWithTab:x,basicSetup:b}),I=[T,P,...R];return s&&typeof s=="function"&&I.push(mt.updateListener.of(s)),I=I.concat(a),D.useEffect(()=>{if(S&&!M){var B={doc:e,selection:n,extensions:I},$=_?In.fromJSON(_.json,B,_.fields):In.create(B);if(A($),!k){var z=new mt({state:$,parent:S,root:w});E(z),o&&o(z,$)}}return()=>{k&&(A(void 0),E(void 0))}},[S,M]),D.useEffect(()=>O(t.container),[t.container]),D.useEffect(()=>()=>{k&&(k.destroy(),E(void 0))},[k]),D.useEffect(()=>{l&&k&&k.focus()},[l,k]),D.useEffect(()=>{k&&k.dispatch({effects:rn.reconfigure.of(I)})},[u,a,c,f,d,p,g,m,h,v,y,x,b,r,s]),D.useEffect(()=>{if(e!==void 0){var B=k?k.state.doc.toString():"";k&&e!==B&&k.dispatch({changes:{from:0,to:B.length,insert:e||""},annotations:[hwe.of(!0)]})}},[e,k]),{state:M,setState:A,view:k,setView:E,container:S,setContainer:O}}var Q0n=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],FU=D.forwardRef((t,e)=>{var{className:n,value:r="",selection:i,extensions:o=[],onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:u,autoFocus:c,theme:f="light",height:d,minHeight:h,maxHeight:p,width:g,minWidth:m,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:w,readOnly:_,root:S,initialState:O}=t,k=Rt(t,Q0n),E=D.useRef(null),{state:M,view:A,container:P}=Y0n({container:E.current,root:S,value:r,autoFocus:c,theme:f,height:d,minHeight:h,maxHeight:p,width:g,minWidth:m,maxWidth:v,basicSetup:y,placeholder:x,indentWithTab:b,editable:w,readOnly:_,selection:i,onChange:s,onStatistics:a,onCreateEditor:l,onUpdate:u,extensions:o,initialState:O});if(D.useImperativeHandle(e,()=>({editor:E.current,state:M,view:A}),[E,P,M,A]),typeof r!="string")throw new Error("value must be typeof string but got "+typeof r);var T=typeof f=="string"?"cm-theme-"+f:"cm-theme";return C.jsx("div",ve({ref:E,className:""+T+(n?" "+n:"")},k))});FU.displayName="CodeMirror";var pwe={};let K0n=class xK{constructor(e,n,r,i,o,s,a,l,u,c=0,f){this.p=e,this.stack=n,this.state=r,this.reducePos=i,this.pos=o,this.score=s,this.buffer=a,this.bufferBase=l,this.curContext=u,this.lookAhead=c,this.parent=f}toString(){return`[${this.stack.filter((e,n)=>n%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,r=0){let i=e.parser.context;return new xK(e,[],n,r,r,0,[],0,i?new gwe(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var n;let r=e>>19,i=e&65535,{parser:o}=this.p,s=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(u==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=c):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(i,u)}storeNode(e,n,r,i=4,o=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&s.buffer[a-4]==0&&s.buffer[a-1]>-1){if(n==r)return;if(s.buffer[a-2]>=n){s.buffer[a-2]=r;return}}}if(!o||this.pos==r)this.buffer.push(e,n,r,i);else{let s=this.buffer.length;if(s>0&&this.buffer[s-4]!=0){let a=!1;for(let l=s;l>0&&this.buffer[l-2]>r;l-=4)if(this.buffer[l-1]>=0){a=!0;break}if(a)for(;s>0&&this.buffer[s-2]>r;)this.buffer[s]=this.buffer[s-4],this.buffer[s+1]=this.buffer[s-3],this.buffer[s+2]=this.buffer[s-2],this.buffer[s+3]=this.buffer[s-1],s-=4,i>4&&(i-=4)}this.buffer[s]=e,this.buffer[s+1]=n,this.buffer[s+2]=r,this.buffer[s+3]=i}}shift(e,n,r,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let o=e,{parser:s}=this.p;(i>this.pos||n<=s.maxNode)&&(this.pos=i,s.stateFlag(o,1)||(this.reducePos=i)),this.pushState(o,r),this.shiftContext(n,r),n<=s.maxNode&&this.buffer.push(n,r,i,4)}}apply(e,n,r,i){e&65536?this.reduce(e):this.shift(e,n,r,i)}useNode(e,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let r=e.buffer.slice(n),i=e.bufferBase+n;for(;e&&i==e.bufferBase;)e=e.parent;return new xK(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new Z0n(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let o=0,s;ol&1&&a==s)||i.push(n[o],s)}n=i}let r=[];for(let i=0;i>19,i=n&65535,o=this.stack.length-r*3;if(o<0||e.getGoto(this.stack[o],i,!1)<0){let s=this.findForcedReduction();if(s==null)return!1;n=s}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:e}=this.p,n=[],r=(i,o)=>{if(!n.includes(i))return n.push(i),e.allActions(i,s=>{if(!(s&393216))if(s&65536){let a=(s>>19)-o;if(a>1){let l=s&65535,u=this.stack.length-a*3;if(u>=0&&e.getGoto(this.stack[u],l,!1)>=0)return a<<19|65536|l}}else{let a=r(s,o+1);if(a!=null)return a}})};return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class gwe{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}}class Z0n{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}}class _z{constructor(e,n,r){this.stack=e,this.pos=n,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new _z(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new _z(this.stack,this.pos,this.index)}}function GL(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let r=0,i=0;r=92&&s--,s>=34&&s--;let l=s-32;if(l>=46&&(l-=46,a=!0),o+=l,a)break;o*=46}n?n[i++]=o:n=new e(o)}return n}class X3{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const mwe=new X3;class J0n{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=mwe,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let r=this.range,i=this.rangeIndex,o=this.pos+e;for(;or.to:o>=r.to;){if(i==this.ranges.length-1)return null;let s=this.ranges[++i];o+=s.from-r.to,r=s}return o}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,n.from);return this.end}peek(e){let n=this.chunkOff+e,r,i;if(n>=0&&n=this.chunk2Pos&&ra.to&&(this.chunk2=this.chunk2.slice(0,a.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(e,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=mwe,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>e&&(r+=this.input.read(Math.max(i.from,e),Math.min(i.to,n)))}return r}}class J_{constructor(e,n){this.data=e,this.id=n}token(e,n){let{parser:r}=n.p;exn(this.data,e,n,this.id,r.data,r.tokenPrecTable)}}J_.prototype.contextual=J_.prototype.fallback=J_.prototype.extend=!1;J_.prototype.fallback=J_.prototype.extend=!1;class NU{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}}function exn(t,e,n,r,i,o){let s=0,a=1<0){let p=t[h];if(l.allows(p)&&(e.token.value==-1||e.token.value==p||txn(p,e.token.value,i,o))){e.acceptToken(p);break}}let c=e.next,f=0,d=t[s+2];if(e.next<0&&d>f&&t[u+d*3-3]==65535){s=t[u+d*3-1];continue e}for(;f>1,p=u+h+(h<<1),g=t[p],m=t[p+1]||65536;if(c=m)f=h+1;else{s=t[p+2],e.advance();continue e}}break}}function vwe(t,e,n){for(let r=e,i;(i=t[r])!=65535;r++)if(i==n)return r-e;return-1}function txn(t,e,n,r){let i=vwe(n,r,e);return i<0||vwe(n,r,t)e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}class nxn{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?ywe(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?ywe(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=s,null;if(o instanceof lo){if(s==e){if(s=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(s),this.index.push(0))}else this.index[n]++,this.nextStart=s+o.length}}}class rxn{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new X3)}getActions(e){let n=0,r=null,{parser:i}=e.p,{tokenizers:o}=i,s=i.stateSlot(e.state,3),a=e.curContext?e.curContext.hash:0,l=0;for(let u=0;uf.end+25&&(l=Math.max(f.lookAhead,l)),f.value!=0)){let d=n;if(f.extended>-1&&(n=this.addActions(e,f.extended,f.end,n)),n=this.addActions(e,f.value,f.end,n),!c.extend&&(r=f,n>d))break}}for(;this.actions.length>n;)this.actions.pop();return l&&e.setLookAhead(l),!r&&e.pos==this.stream.end&&(r=new X3,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,n=this.addActions(e,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new X3,{pos:r,p:i}=e;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(e,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,e),r),e.value>-1){let{parser:o}=r.p;for(let s=0;s=0&&r.p.parser.dialect.allows(a>>1)){a&1?e.extended=a>>1:e.value=a>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,n,r,i){for(let o=0;oe.bufferLength*4?new nxn(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,r=this.stacks=[],i,o;if(this.bigReductionCount>300&&e.length==1){let[s]=e;for(;s.forceReduce()&&s.stack.length&&s.stack[s.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let s=0;sn)r.push(a);else{if(this.advanceStack(a,r,e))continue;{i||(i=[],o=[]),i.push(a);let l=this.tokens.getMainToken(a);o.push(l.value,l.end)}}break}}if(!r.length){let s=i&&axn(i);if(s)return Il&&console.log("Finish with "+this.stackID(s)),this.stackToTree(s);if(this.parser.strict)throw Il&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let s=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,o,r);if(s)return Il&&console.log("Force-finish "+this.stackID(s)),this.stackToTree(s.forceAll())}if(this.recovering){let s=this.recovering==1?1:this.recovering*3;if(r.length>s)for(r.sort((a,l)=>l.score-a.score);r.length>s;)r.pop();r.some(a=>a.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let s=0;s500&&u.buffer.length>500)if((a.score-u.score||a.buffer.length-u.buffer.length)>0)r.splice(l--,1);else{r.splice(s--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let s=1;s ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let d=this.parser.nodeSet.types[f.type.id]==f.type?o.getGoto(e.state,f.type.id):-1;if(d>-1&&f.length&&(!u||(f.prop(_n.contextHash)||0)==c))return e.useNode(f,d),Il&&console.log(s+this.stackID(e)+` (via reuse of ${o.getName(f.type.id)})`),!0;if(!(f instanceof lo)||f.children.length==0||f.positions[0]>0)break;let h=f.children[0];if(h instanceof lo&&f.positions[0]==0)f=h;else break}}let a=o.stateSlot(e.state,4);if(a>0)return e.reduce(a),Il&&console.log(s+this.stackID(e)+` (via always-reduce ${o.getName(a&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let l=this.tokens.getActions(e);for(let u=0;ui?n.push(p):r.push(p)}return!1}advanceFully(e,n){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return xwe(e,n),!0}}runRecovery(e,n,r){let i=null,o=!1;for(let s=0;s ":"";if(a.deadEnd&&(o||(o=!0,a.restart(),Il&&console.log(c+this.stackID(a)+" (restarted)"),this.advanceFully(a,r))))continue;let f=a.split(),d=c;for(let h=0;f.forceReduce()&&h<10&&(Il&&console.log(d+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));h++)Il&&(d=this.stackID(f)+" -> ");for(let h of a.recoverByInsert(l))Il&&console.log(c+this.stackID(h)+" (via recover-insert)"),this.advanceFully(h,r);this.stream.end>a.pos?(u==a.pos&&(u++,l=0),a.recoverByDelete(l,u),Il&&console.log(c+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),xwe(a,r)):(!i||i.scoret;class sxn{constructor(e){this.start=e.start,this.shift=e.shift||d7,this.reduce=e.reduce||d7,this.reuse=e.reuse||d7,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class SP extends W9e{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let a=0;ae.topRules[a][1]),i=[];for(let a=0;a=0)o(c,l,a[u++]);else{let f=a[u+-c];for(let d=-c;d>0;d--)o(a[u++],l,f);u++}}}this.nodeSet=new Cle(n.map((a,l)=>El.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:i[l],top:r.indexOf(l)>-1,error:l==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(l)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=z9e;let s=GL(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new J_(s,a):a),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,r){let i=new ixn(this,e,n,r);for(let o of this.wrappers)i=o(i,e,n,r);return i}getGoto(e,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let o=i[n+1];;){let s=i[o++],a=s&1,l=i[o++];if(a&&r)return l;for(let u=o+(s>>1);o0}validAction(e,n){return!!this.allActions(e,r=>r==n?!0:null)}allActions(e,n){let r=this.stateSlot(e,4),i=r?n(r):void 0;for(let o=this.stateSlot(e,1);i==null;o+=3){if(this.data[o]==65535)if(this.data[o+1]==1)o=$p(this.data,o+2);else break;i=n($p(this.data,o+1))}return i}nextStates(e){let n=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=$p(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((o,s)=>s&1&&o==i)||n.push(this.data[r],i)}}return n}configure(e){let n=Object.assign(Object.create(SP.prototype),this);if(e.props&&(n.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);n.top=r}return e.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=e.tokenizers.find(o=>o.from==r);return i?i.to:r})),e.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let o=e.specializers.find(a=>a.from==r.external);if(!o)return r;let s=Object.assign(Object.assign({},r),{external:o.to});return n.specializers[i]=bwe(s),s})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(e)for(let o of e.split(" ")){let s=n.indexOf(o);s>=0&&(r[s]=!0)}let i=null;for(let o=0;or)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scoret.external(n,r)<<1|e}return t.get}const lxn=kle({String:Ee.string,Number:Ee.number,"True False":Ee.bool,PropertyName:Ee.propertyName,Null:Ee.null,",":Ee.separator,"[ ]":Ee.squareBracket,"{ }":Ee.brace}),uxn=SP.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[lxn],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),cxn=gP.define({name:"json",parser:uxn.configure({props:[Ple.add({Object:Ibe({except:/^\s*\}/}),Array:Ibe({except:/^\s*\]/})}),Rle.add({"Object Array":Q9e})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function gGe(){return new q9e(cxn)}const fxn=1,mGe=194,vGe=195,dxn=196,wwe=197,hxn=198,pxn=199,gxn=200,mxn=2,yGe=3,_we=201,vxn=24,yxn=25,xxn=49,bxn=50,wxn=55,_xn=56,Sxn=57,Cxn=59,Oxn=60,Exn=61,Txn=62,kxn=63,Axn=65,Pxn=238,Mxn=71,Rxn=241,Dxn=242,Ixn=243,Lxn=244,$xn=245,Fxn=246,Nxn=247,zxn=248,xGe=72,jxn=249,Bxn=250,Uxn=251,Wxn=252,Vxn=253,Gxn=254,Hxn=255,qxn=256,Xxn=73,Yxn=77,Qxn=263,Kxn=112,Zxn=130,Jxn=151,e1n=152,t1n=155,I1=10,CP=13,qle=32,zU=9,Xle=35,n1n=40,r1n=46,bK=123,Swe=125,bGe=39,wGe=34,i1n=92,o1n=111,s1n=120,a1n=78,l1n=117,u1n=85,c1n=new Set([yxn,xxn,bxn,Qxn,Axn,Zxn,_xn,Sxn,Pxn,Txn,kxn,xGe,Xxn,Yxn,Oxn,Exn,Jxn,e1n,t1n,Kxn]);function h7(t){return t==I1||t==CP}function p7(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}const f1n=new NU((t,e)=>{let n;if(t.next<0)t.acceptToken(pxn);else if(e.context.flags&Y3)h7(t.next)&&t.acceptToken(hxn,1);else if(((n=t.peek(-1))<0||h7(n))&&e.canShift(wwe)){let r=0;for(;t.next==qle||t.next==zU;)t.advance(),r++;(t.next==I1||t.next==CP||t.next==Xle)&&t.acceptToken(wwe,-r)}else h7(t.next)&&t.acceptToken(dxn,1)},{contextual:!0}),d1n=new NU((t,e)=>{let n=e.context;if(n.flags)return;let r=t.peek(-1);if(r==I1||r==CP){let i=0,o=0;for(;;){if(t.next==qle)i++;else if(t.next==zU)i+=8-i%8;else break;t.advance(),o++}i!=n.indent&&t.next!=I1&&t.next!=CP&&t.next!=Xle&&(i[t,e|_Ge])),g1n=new sxn({start:h1n,reduce(t,e,n,r){return t.flags&Y3&&c1n.has(e)||(e==Mxn||e==xGe)&&t.flags&_Ge?t.parent:t},shift(t,e,n,r){return e==mGe?new Q3(t,p1n(r.read(r.pos,n.pos)),0):e==vGe?t.parent:e==vxn||e==wxn||e==Cxn||e==yGe?new Q3(t,0,Y3):Cwe.has(e)?new Q3(t,0,Cwe.get(e)|t.flags&Y3):t},hash(t){return t.hash}}),m1n=new NU(t=>{for(let e=0;e<5;e++){if(t.next!="print".charCodeAt(e))return;t.advance()}if(!/\w/.test(String.fromCharCode(t.next)))for(let e=0;;e++){let n=t.peek(e);if(!(n==qle||n==zU)){n!=n1n&&n!=r1n&&n!=I1&&n!=CP&&n!=Xle&&t.acceptToken(fxn);return}}}),v1n=new NU((t,e)=>{let{flags:n}=e.context,r=n&wp?wGe:bGe,i=(n&_p)>0,o=!(n&Sp),s=(n&Cp)>0,a=t.pos;for(;!(t.next<0);)if(s&&t.next==bK)if(t.peek(1)==bK)t.advance(2);else{if(t.pos==a){t.acceptToken(yGe,1);return}break}else if(o&&t.next==i1n){if(t.pos==a){t.advance();let l=t.next;l>=0&&(t.advance(),y1n(t,l)),t.acceptToken(mxn);return}break}else if(t.next==r&&(!i||t.peek(1)==r&&t.peek(2)==r)){if(t.pos==a){t.acceptToken(_we,i?3:1);return}break}else if(t.next==I1){if(i)t.advance();else if(t.pos==a){t.acceptToken(_we);return}break}else t.advance();t.pos>a&&t.acceptToken(gxn)});function y1n(t,e){if(e==o1n)for(let n=0;n<2&&t.next>=48&&t.next<=55;n++)t.advance();else if(e==s1n)for(let n=0;n<2&&p7(t.next);n++)t.advance();else if(e==l1n)for(let n=0;n<4&&p7(t.next);n++)t.advance();else if(e==u1n)for(let n=0;n<8&&p7(t.next);n++)t.advance();else if(e==a1n&&t.next==bK){for(t.advance();t.next>=0&&t.next!=Swe&&t.next!=bGe&&t.next!=wGe&&t.next!=I1;)t.advance();t.next==Swe&&t.advance()}}const x1n=kle({'async "*" "**" FormatConversion FormatSpec':Ee.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":Ee.controlKeyword,"in not and or is del":Ee.operatorKeyword,"from def class global nonlocal lambda":Ee.definitionKeyword,import:Ee.moduleKeyword,"with as print":Ee.keyword,Boolean:Ee.bool,None:Ee.null,VariableName:Ee.variableName,"CallExpression/VariableName":Ee.function(Ee.variableName),"FunctionDefinition/VariableName":Ee.function(Ee.definition(Ee.variableName)),"ClassDefinition/VariableName":Ee.definition(Ee.className),PropertyName:Ee.propertyName,"CallExpression/MemberExpression/PropertyName":Ee.function(Ee.propertyName),Comment:Ee.lineComment,Number:Ee.number,String:Ee.string,FormatString:Ee.special(Ee.string),Escape:Ee.escape,UpdateOp:Ee.updateOperator,"ArithOp!":Ee.arithmeticOperator,BitOp:Ee.bitwiseOperator,CompareOp:Ee.compareOperator,AssignOp:Ee.definitionOperator,Ellipsis:Ee.punctuation,At:Ee.meta,"( )":Ee.paren,"[ ]":Ee.squareBracket,"{ }":Ee.brace,".":Ee.derefOperator,", ;":Ee.separator}),b1n={__proto__:null,await:44,or:54,and:56,in:60,not:62,is:64,if:70,else:72,lambda:76,yield:94,from:96,async:102,for:104,None:162,True:164,False:164,del:178,pass:182,break:186,continue:190,return:194,raise:202,import:206,as:208,global:212,nonlocal:214,assert:218,type:223,elif:236,while:240,try:246,except:248,finally:250,with:254,def:258,class:268,match:279,case:285},w1n=SP.deserialize({version:14,states:"##jO`QeOOP$}OSOOO&WQtO'#HUOOQS'#Co'#CoOOQS'#Cp'#CpO'vQdO'#CnO*UQtO'#HTOOQS'#HU'#HUOOQS'#DU'#DUOOQS'#HT'#HTO*rQdO'#D_O+VQdO'#DfO+gQdO'#DjO+zOWO'#DuO,VOWO'#DvO.[QtO'#GuOOQS'#Gu'#GuO'vQdO'#GtO0ZQtO'#GtOOQS'#Eb'#EbO0rQdO'#EcOOQS'#Gs'#GsO0|QdO'#GrOOQV'#Gr'#GrO1XQdO'#FYOOQS'#G^'#G^O1^QdO'#FXOOQV'#IS'#ISOOQV'#Gq'#GqOOQV'#Fq'#FqQ`QeOOO'vQdO'#CqO1lQdO'#C}O1sQdO'#DRO2RQdO'#HYO2cQtO'#EVO'vQdO'#EWOOQS'#EY'#EYOOQS'#E['#E[OOQS'#E^'#E^O2wQdO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k!)uV&n`&hZOr%Trs!*[s#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*aV&n`Or%Trs!*vs#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!*}T&n`&jZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!+eV&n`&gZOw%Twx!+zx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,PV&n`Ow%Twx!,fx#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tk!,mT&n`&iZO#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%To!-Vi&n`&YS%uZOr%TrsNWsw%Twx! vx!Q%T!Q![JU![!c%T!c!dJU!d!eLx!e!hJU!h!i!(`!i!}JU!}#R%T#R#SJU#S#T%T#T#UJU#U#VLx#V#YJU#Y#Z!(`#Z#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUo!.}a&n`&YS%uZOr%Trs)Ysw%Twx.Ux!Q%T!Q![JU![!c%T!c!}JU!}#R%T#R#SJU#S#T%T#T#oJU#p#q%T#r$g%T$g;'SJU;'S;=`KW<%lOJUk!0ZT!XZ&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tc!0qT!WR&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%Tj!1XV%kQ&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!1sO!]~k!1zV%jR&n`O!_%T!_!`-Q!`#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T~!2fO![~i!2mT%tX&n`O#o%T#p#q%T#r;'S%T;'S;=`%i<%lO%T",tokenizers:[m1n,d1n,f1n,v1n,0,1,2,3,4],topRules:{Script:[0,5]},specialized:[{term:221,get:t=>b1n[t]||-1}],tokenPrec:7652}),Owe=new jgn,SGe=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function HL(t){return(e,n,r)=>{if(r)return!1;let i=e.node.getChild("VariableName");return i&&n(i,t),!0}}const _1n={FunctionDefinition:HL("function"),ClassDefinition:HL("class"),ForStatement(t,e,n){if(n){for(let r=t.node.firstChild;r;r=r.nextSibling)if(r.name=="VariableName")e(r,"variable");else if(r.name=="in")break}},ImportStatement(t,e){var n,r;let{node:i}=t,o=((n=i.firstChild)===null||n===void 0?void 0:n.name)=="from";for(let s=i.getChild("import");s;s=s.nextSibling)s.name=="VariableName"&&((r=s.nextSibling)===null||r===void 0?void 0:r.name)!="as"&&e(s,o?"variable":"namespace")},AssignStatement(t,e){for(let n=t.node.firstChild;n;n=n.nextSibling)if(n.name=="VariableName")e(n,"variable");else if(n.name==":"||n.name=="AssignOp")break},ParamList(t,e){for(let n=null,r=t.node.firstChild;r;r=r.nextSibling)r.name=="VariableName"&&(!n||!/\*|AssignOp/.test(n.name))&&e(r,"variable"),n=r},CapturePattern:HL("variable"),AsPattern:HL("variable"),__proto__:null};function CGe(t,e){let n=Owe.get(e);if(n)return n;let r=[],i=!0;function o(s,a){let l=t.sliceString(s.from,s.to);r.push({label:l,type:a})}return e.cursor(yo.IncludeAnonymous).iterate(s=>{if(s.name){let a=_1n[s.name];if(a&&a(s,o,i)||!i&&SGe.has(s.name))return!1;i=!1}else if(s.to-s.from>8192){for(let a of CGe(t,s.node))r.push(a);return!1}}),Owe.set(e,r),r}const Ewe=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,OGe=["String","FormatString","Comment","PropertyName"];function S1n(t){let e=Vo(t.state).resolveInner(t.pos,-1);if(OGe.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&Ewe.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let r=[];for(let i=e;i;i=i.parent)SGe.has(i.name)&&(r=r.concat(CGe(t.state.doc,i)));return{options:r,from:n?e.from:t.pos,validFor:Ewe}}const C1n=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(t=>({label:t,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(t=>({label:t,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(t=>({label:t,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(t=>({label:t,type:"function"}))),O1n=[dp("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),dp("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),dp("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),dp("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),dp(`if \${}: + +`,{label:"if",detail:"block",type:"keyword"}),dp("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),dp("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),dp("import ${module}",{label:"import",detail:"statement",type:"keyword"}),dp("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],E1n=Eyn(OGe,Z7e(C1n.concat(O1n)));function Twe(t,e){let n=t.baseIndentFor(e),r=t.lineAt(t.pos,-1),i=r.from+r.text.length;return/^\s*($|#)/.test(r.text)&&t.node.ton?null:n+t.unit}const g7=gP.define({name:"python",parser:w1n.configure({props:[Ple.add({Body:t=>{var e;return(e=Twe(t,t.node))!==null&&e!==void 0?e:t.continue()},IfStatement:t=>/^\s*(else:|elif )/.test(t.textAfter)?t.baseIndent:t.continue(),TryStatement:t=>/^\s*(except |finally:|else:)/.test(t.textAfter)?t.baseIndent:t.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":t7({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":t7({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":t7({closing:"]"}),"String FormatString":()=>null,Script:t=>{if(t.pos+/\s*/.exec(t.textAfter)[0].length>=t.node.to){let e=null;for(let n=t.node,r=n.to;n=n.lastChild,!(!n||n.to!=r);)n.type.name=="Body"&&(e=n);if(e){let n=Twe(t,e);if(n!=null)return n}}return t.continue()}}),Rle.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":Q9e,Body:(t,e)=>({from:t.from+1,to:t.to-(t.to==e.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function T1n(){return new q9e(g7,[g7.data.of({autocomplete:S1n}),g7.data.of({autocomplete:E1n})])}const k1n=""+new URL("python-bw-BV0FRHt1.png",import.meta.url).href,_C={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},table:{},keyValueTableContainer:t=>({background:t.palette.divider}),variableHtmlReprContainer:t=>({background:t.palette.divider,padding:t.spacing(1),marginTop:t.spacing(1),marginBottom:t.spacing(1)}),media:{height:200},cardContent:{padding:"8px"},code:{fontFamily:"Monospace"}},A1n=({visibleInfoCardElements:t,setVisibleInfoCardElements:e,infoCardElementViewModes:n,updateInfoCardElementViewMode:r,selectedDataset:i,selectedVariable:o,selectedPlaceInfo:s,selectedTime:a,serverConfig:l,allowViewModePython:u})=>{const c=(p,g)=>{e(g)};let f,d,h;if(i){const p="dataset",g=n[p],m=y=>r(p,y),v=t.includes(p);f=C.jsx(P1n,{isIn:v,viewMode:g,setViewMode:m,dataset:i,serverConfig:l,hasPython:u})}if(i&&o){const p="variable",g=n[p],m=y=>r(p,y),v=t.includes(p);d=C.jsx(M1n,{isIn:v,viewMode:g,setViewMode:m,variable:o,time:a,serverConfig:l,hasPython:u})}if(s){const p="place",g=n[p],m=y=>r(p,y),v=t.includes(p);h=C.jsx(R1n,{isIn:v,viewMode:g,setViewMode:m,placeInfo:s})}return C.jsxs(PAe,{sx:_C.card,children:[C.jsx(MAe,{disableSpacing:!0,children:C.jsxs(YC,{size:"small",value:t,onChange:c,children:[C.jsx(yr,{value:"dataset",disabled:i===null,size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Dataset information"),children:C.jsx(Fdn,{})})},0),C.jsx(yr,{value:"variable",disabled:o===null,size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Variable information"),children:C.jsx(uVe,{})})},1),C.jsx(yr,{value:"place",disabled:s===null,size:"small",sx:rl.toggleButton,children:C.jsx(Bt,{arrow:!0,title:me.get("Place information"),children:C.jsx(Ldn,{})})},2)]},0)}),f,d,h]})},P1n=({isIn:t,viewMode:e,setViewMode:n,dataset:r,serverConfig:i,hasPython:o})=>{let s;if(e==="code"){const a=r.dimensions.map(u=>wK(u,["name","size","dtype"])),l=wK(r,["id","title","bbox","attrs"]);l.dimensions=a,s=C.jsx(Qle,{code:JSON.stringify(l,null,2)})}else if(e==="list")s=C.jsx(hg,{children:C.jsx(OP,{data:Object.getOwnPropertyNames(r.attrs||{}).map(a=>[a,r.attrs[a]])})});else if(e==="text"){const a=[[me.get("Dimension names"),r.dimensions.map(l=>l.name).join(", ")],[me.get("Dimension data types"),r.dimensions.map(l=>l.dtype).join(", ")],[me.get("Dimension lengths"),r.dimensions.map(l=>l.size).join(", ")],[me.get("Geographical extent")+" (x1, y1, x2, y2)",r.bbox.map(l=>l+"").join(", ")],[me.get("Spatial reference system"),r.spatialRef]];s=C.jsx(hg,{children:C.jsx(OP,{data:a})})}else e==="python"&&(s=C.jsx(TGe,{code:D1n(i,r)}));return C.jsx(Yle,{title:r.title||"?",subheader:r.title&&`ID: ${r.id}`,isIn:t,viewMode:e,setViewMode:n,hasPython:o,children:s})},M1n=({isIn:t,viewMode:e,setViewMode:n,variable:r,time:i,serverConfig:o,hasPython:s})=>{let a,l;if(e==="code"){const u=wK(r,["id","name","title","units","expression","shape","dtype","shape","timeChunkSize","colorBarMin","colorBarMax","colorBarName","attrs"]);a=C.jsx(Qle,{code:JSON.stringify(u,null,2)})}else if(e==="list"){if(a=C.jsx(hg,{children:C.jsx(OP,{data:Object.getOwnPropertyNames(r.attrs||{}).map(u=>[u,r.attrs[u]])})}),r.htmlRepr){const u=c=>{c&&r.htmlRepr&&(c.innerHTML=r.htmlRepr)};l=C.jsx(hg,{children:C.jsx(Tl,{ref:u,sx:_C.variableHtmlReprContainer})})}}else if(e==="text"){let u=[[me.get("Name"),r.name],[me.get("Title"),r.title],[me.get("Units"),r.units]];zM(r)?u.push([me.get("Expression"),r.expression]):u=[...u,[me.get("Data type"),r.dtype],[me.get("Dimension names"),r.dims.join(", ")],[me.get("Dimension lengths"),r.shape.map(c=>c+"").join(", ")],[me.get("Time chunk size"),r.timeChunkSize]],a=C.jsx(hg,{children:C.jsx(OP,{data:u})})}else e==="python"&&(a=C.jsx(TGe,{code:I1n(o,r,i)}));return C.jsxs(Yle,{title:r.title||r.name,subheader:`${me.get("Name")}: ${r.name}`,isIn:t,viewMode:e,setViewMode:n,hasPython:s,children:[l,a]})},R1n=({isIn:t,viewMode:e,setViewMode:n,placeInfo:r})=>{const i=r.place;let o,s,a;if(e==="code")o=C.jsx(Qle,{code:JSON.stringify(i,null,2)});else if(e==="list")if(i.properties){const l=Object.getOwnPropertyNames(i.properties).map(u=>[u,i.properties[u]]);o=C.jsx(hg,{children:C.jsx(OP,{data:l})})}else o=C.jsx(hg,{children:C.jsx(Jt,{children:me.get("There is no information available for this location.")})});else r.image&&r.image.startsWith("http")&&(s=C.jsx(Uot,{sx:_C.media,image:r.image,title:r.label})),r.description&&(a=C.jsx(hg,{children:C.jsx(Jt,{children:r.description})}));return C.jsxs(Yle,{title:r.label,subheader:`${me.get("Geometry type")}: ${me.get(i.geometry.type)}`,isIn:t,viewMode:e,setViewMode:n,children:[s,a,o]})},Yle=({isIn:t,title:e,subheader:n,viewMode:r,setViewMode:i,hasPython:o,children:s})=>{const a=(l,u)=>{i(u)};return C.jsxs(PF,{in:t,timeout:"auto",unmountOnExit:!0,children:[C.jsx($ot,{title:e,subheader:n,titleTypographyProps:{fontSize:"1.1em"},action:C.jsxs(YC,{size:"small",value:r,exclusive:!0,onChange:a,children:[C.jsx(yr,{value:"text",size:"small",sx:rl.toggleButton,children:C.jsx($dn,{})},0),C.jsx(yr,{value:"list",size:"small",sx:rl.toggleButton,children:C.jsx(Idn,{})},1),C.jsx(yr,{value:"code",size:"small",sx:rl.toggleButton,children:C.jsx(Ddn,{})},2),o&&C.jsx(yr,{value:"python",size:"small",sx:{...rl.toggleButton,width:"30px"},children:C.jsx("img",{src:k1n,width:16,alt:"python logo"})},3)]},0)}),s]})},OP=({data:t})=>C.jsx(KAe,{component:Tl,sx:_C.keyValueTableContainer,children:C.jsx(Aee,{sx:_C.table,size:"small",children:C.jsx(Pee,{children:t.map((e,n)=>{const[r,i]=e;let o=i;return typeof i=="string"&&(i.startsWith("http://")||i.startsWith("https://"))?o=C.jsx(alt,{href:i,target:"_blank",rel:"noreferrer",children:i}):Array.isArray(i)&&(o="["+i.map(s=>s+"").join(", ")+"]"),C.jsxs(kd,{children:[C.jsx(si,{children:r}),C.jsx(si,{align:"right",children:o})]},n)})})})}),hg=({children:t})=>C.jsx(RAe,{sx:_C.cardContent,children:t}),EGe=({code:t,extension:e})=>C.jsx(hg,{children:C.jsx(FU,{theme:Pn.instance.branding.themeName||"light",height:"320px",extensions:[e],value:t,readOnly:!0})}),Qle=({code:t})=>C.jsx(EGe,{code:t,extension:gGe()}),TGe=({code:t})=>C.jsx(EGe,{code:t,extension:T1n()});function wK(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function D1n(t,e){const n=L1n(e.id);return["from xcube.core.store import new_data_store","","store = new_data_store(",' "s3",',' root="datasets", # can also use "pyramids" here'," storage_options={",' "anon": True,',' "client_kwargs": {',` "endpoint_url": "${t.url}/s3"`," }"," }",")","# store.list_data_ids()",`dataset = store.open_data(data_id="${n}")`].join(` +`)}function I1n(t,e,n){const r=e.name,i=e.colorBarMin,o=e.colorBarMax,s=e.colorBarName;let a="";n!==null&&(a=`sel(time="${aO(n)}", method="nearest")`);const l=[];if(zM(e)){const u=e.expression;l.push("from xcube.util.expression import compute_array_expr"),l.push("from xcube.util.expression import new_dataset_namespace"),l.push(""),l.push("namespace = new_dataset_namespace(dataset)"),l.push(`${r} = compute_array_expr("${u}", namespace`),a&&l.push(`${r} = ${r}.${a}`)}else a?l.push(`${r} = dataset.${r}.${a}`):l.push(`${r} = dataset.${r}`);return l.push(`${r}.plot.imshow(vmin=${i}, vmax=${o}, cmap="${s}")`),l.join(` +`)}function L1n(t){return $1n(t)[0]+".zarr"}function $1n(t){const e=t.lastIndexOf(".");return e>=0?[t.substring(0,e),t.substring(e)]:[t,""]}const F1n=t=>({locale:t.controlState.locale,visibleInfoCardElements:D_t(t),infoCardElementViewModes:I_t(t),selectedDataset:fo(t),selectedVariable:Na(t),selectedPlaceInfo:JM(t),selectedTime:QM(t),serverConfig:Oo(t),allowViewModePython:!!Pn.instance.branding.allowViewModePython}),N1n={setVisibleInfoCardElements:bKt,updateInfoCardElementViewMode:wKt},z1n=Rn(F1n,N1n)(A1n),m7=5,j1n={container:t=>({marginTop:t.spacing(1),marginLeft:t.spacing(m7),marginRight:t.spacing(m7),width:`calc(100% - ${t.spacing(3*(m7+1))})`,height:"5em",display:"flex",alignItems:"flex-end"})};function B1n({dataTimeRange:t,selectedTimeRange:e,selectTimeRange:n}){const[r,i]=D.useState(e);D.useEffect(()=>{i(e)},[e]);const o=(c,f)=>{Array.isArray(f)&&i([f[0],f[1]])},s=(c,f)=>{n&&Array.isArray(f)&&n([f[0],f[1]])};function a(c){return aO(c)}const l=Array.isArray(t);l||(t=[Date.now()-2*ORe.years,Date.now()]);const u=[{value:t[0],label:xA(t[0])},{value:t[1],label:xA(t[1])}];return C.jsx(ot,{sx:j1n.container,children:C.jsx(XC,{disabled:!l,min:t[0],max:t[1],value:r,marks:u,onChange:o,onChangeCommitted:s,size:"small",valueLabelDisplay:"on",valueLabelFormat:a})})}var U1n=Array.isArray,Ml=U1n,W1n=typeof ei=="object"&&ei&&ei.Object===Object&&ei,kGe=W1n,V1n=kGe,G1n=typeof self=="object"&&self&&self.Object===Object&&self,H1n=V1n||G1n||Function("return this")(),tp=H1n,q1n=tp,X1n=q1n.Symbol,pD=X1n,kwe=pD,AGe=Object.prototype,Y1n=AGe.hasOwnProperty,Q1n=AGe.toString,T2=kwe?kwe.toStringTag:void 0;function K1n(t){var e=Y1n.call(t,T2),n=t[T2];try{t[T2]=void 0;var r=!0}catch{}var i=Q1n.call(t);return r&&(e?t[T2]=n:delete t[T2]),i}var Z1n=K1n,J1n=Object.prototype,ebn=J1n.toString;function tbn(t){return ebn.call(t)}var nbn=tbn,Awe=pD,rbn=Z1n,ibn=nbn,obn="[object Null]",sbn="[object Undefined]",Pwe=Awe?Awe.toStringTag:void 0;function abn(t){return t==null?t===void 0?sbn:obn:Pwe&&Pwe in Object(t)?rbn(t):ibn(t)}var rm=abn;function lbn(t){return t!=null&&typeof t=="object"}var im=lbn,ubn=rm,cbn=im,fbn="[object Symbol]";function dbn(t){return typeof t=="symbol"||cbn(t)&&ubn(t)==fbn}var ZO=dbn,hbn=Ml,pbn=ZO,gbn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mbn=/^\w*$/;function vbn(t,e){if(hbn(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||pbn(t)?!0:mbn.test(t)||!gbn.test(t)||e!=null&&t in Object(e)}var Kle=vbn;function ybn(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var t0=ybn;const JO=on(t0);var xbn=rm,bbn=t0,wbn="[object AsyncFunction]",_bn="[object Function]",Sbn="[object GeneratorFunction]",Cbn="[object Proxy]";function Obn(t){if(!bbn(t))return!1;var e=xbn(t);return e==_bn||e==Sbn||e==wbn||e==Cbn}var Zle=Obn;const mn=on(Zle);var Ebn=tp,Tbn=Ebn["__core-js_shared__"],kbn=Tbn,v7=kbn,Mwe=function(){var t=/[^.]+$/.exec(v7&&v7.keys&&v7.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Abn(t){return!!Mwe&&Mwe in t}var Pbn=Abn,Mbn=Function.prototype,Rbn=Mbn.toString;function Dbn(t){if(t!=null){try{return Rbn.call(t)}catch{}try{return t+""}catch{}}return""}var PGe=Dbn,Ibn=Zle,Lbn=Pbn,$bn=t0,Fbn=PGe,Nbn=/[\\^$.*+?()[\]{}|]/g,zbn=/^\[object .+?Constructor\]$/,jbn=Function.prototype,Bbn=Object.prototype,Ubn=jbn.toString,Wbn=Bbn.hasOwnProperty,Vbn=RegExp("^"+Ubn.call(Wbn).replace(Nbn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Gbn(t){if(!$bn(t)||Lbn(t))return!1;var e=Ibn(t)?Vbn:zbn;return e.test(Fbn(t))}var Hbn=Gbn;function qbn(t,e){return t==null?void 0:t[e]}var Xbn=qbn,Ybn=Hbn,Qbn=Xbn;function Kbn(t,e){var n=Qbn(t,e);return Ybn(n)?n:void 0}var Cb=Kbn,Zbn=Cb,Jbn=Zbn(Object,"create"),jU=Jbn,Rwe=jU;function ewn(){this.__data__=Rwe?Rwe(null):{},this.size=0}var twn=ewn;function nwn(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var rwn=nwn,iwn=jU,own="__lodash_hash_undefined__",swn=Object.prototype,awn=swn.hasOwnProperty;function lwn(t){var e=this.__data__;if(iwn){var n=e[t];return n===own?void 0:n}return awn.call(e,t)?e[t]:void 0}var uwn=lwn,cwn=jU,fwn=Object.prototype,dwn=fwn.hasOwnProperty;function hwn(t){var e=this.__data__;return cwn?e[t]!==void 0:dwn.call(e,t)}var pwn=hwn,gwn=jU,mwn="__lodash_hash_undefined__";function vwn(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=gwn&&e===void 0?mwn:e,this}var ywn=vwn,xwn=twn,bwn=rwn,wwn=uwn,_wn=pwn,Swn=ywn;function eE(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e-1}var jwn=zwn,Bwn=BU;function Uwn(t,e){var n=this.__data__,r=Bwn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Wwn=Uwn,Vwn=Ewn,Gwn=Iwn,Hwn=Fwn,qwn=jwn,Xwn=Wwn;function tE(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e0?1:-1},vx=function(e){return gD(e)&&e.indexOf("%")===e.length-1},at=function(e){return hSn(e)&&!rE(e)},So=function(e){return at(e)||gD(e)},vSn=0,iE=function(e){var n=++vSn;return"".concat(e||"").concat(n)},L1=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!at(e)&&!gD(e))return r;var o;if(vx(e)){var s=e.indexOf("%");o=n*parseFloat(e.slice(0,s))/100}else o=+e;return rE(o)&&(o=r),i&&o>n&&(o=n),o},ov=function(e){if(!e)return null;var n=Object.keys(e);return n&&n.length?e[n[0]]:null},ySn=function(e){if(!Array.isArray(e))return!1;for(var n=e.length,r={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function CSn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function SK(t){"@babel/helpers - typeof";return SK=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SK(t)}var zwe={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},pg=function(e){return typeof e=="string"?e:e?e.displayName||e.name||"Component":""},jwe=null,x7=null,sue=function t(e){if(e===jwe&&Array.isArray(x7))return x7;var n=[];return D.Children.forEach(e,function(r){wn(r)||(CF.isFragment(r)?n=n.concat(t(r.props.children)):n.push(r))}),x7=n,jwe=e,n};function yc(t,e){var n=[],r=[];return Array.isArray(e)?r=e.map(function(i){return pg(i)}):r=[pg(e)],sue(t).forEach(function(i){var o=vc(i,"type.displayName")||vc(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function Yl(t,e){var n=yc(t,e);return n&&n[0]}var Bwe=function(e){if(!e||!e.props)return!1;var n=e.props,r=n.width,i=n.height;return!(!at(r)||r<=0||!at(i)||i<=0)},OSn=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],ESn=function(e){return e&&e.type&&gD(e.type)&&OSn.indexOf(e.type)>=0},NGe=function(e){return e&&SK(e)==="object"&&"cx"in e&&"cy"in e&&"r"in e},TSn=function(e,n,r,i){var o,s=(o=y7==null?void 0:y7[i])!==null&&o!==void 0?o:[];return!mn(e)&&(i&&s.includes(n)||bSn.includes(n))||r&&oue.includes(n)},pn=function(e,n,r){if(!e||typeof e=="function"||typeof e=="boolean")return null;var i=e;if(D.isValidElement(e)&&(i=e.props),!JO(i))return null;var o={};return Object.keys(i).forEach(function(s){var a;TSn((a=i)===null||a===void 0?void 0:a[s],s,n,r)&&(o[s]=i[s])}),o},CK=function t(e,n){if(e===n)return!0;var r=D.Children.count(e);if(r!==D.Children.count(n))return!1;if(r===0)return!0;if(r===1)return Uwe(Array.isArray(e)?e[0]:e,Array.isArray(n)?n[0]:n);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function RSn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function EK(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,o=t.className,s=t.style,a=t.title,l=t.desc,u=MSn(t,PSn),c=i||{width:n,height:r,x:0,y:0},f=Oe("recharts-surface",o);return de.createElement("svg",OK({},pn(u,!0,"svg"),{className:f,width:n,height:r,style:s,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height)}),de.createElement("title",null,a),de.createElement("desc",null,l),e)}var DSn=["children","className"];function TK(){return TK=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function LSn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var Ur=de.forwardRef(function(t,e){var n=t.children,r=t.className,i=ISn(t,DSn),o=Oe("recharts-layer",r);return de.createElement("g",TK({className:o},pn(i,!0),{ref:e}),n)}),gg=function(e,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;oi?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r=r?t:NSn(t,e,n)}var jSn=zSn,BSn="\\ud800-\\udfff",USn="\\u0300-\\u036f",WSn="\\ufe20-\\ufe2f",VSn="\\u20d0-\\u20ff",GSn=USn+WSn+VSn,HSn="\\ufe0e\\ufe0f",qSn="\\u200d",XSn=RegExp("["+qSn+BSn+GSn+HSn+"]");function YSn(t){return XSn.test(t)}var zGe=YSn;function QSn(t){return t.split("")}var KSn=QSn,jGe="\\ud800-\\udfff",ZSn="\\u0300-\\u036f",JSn="\\ufe20-\\ufe2f",eCn="\\u20d0-\\u20ff",tCn=ZSn+JSn+eCn,nCn="\\ufe0e\\ufe0f",rCn="["+jGe+"]",kK="["+tCn+"]",AK="\\ud83c[\\udffb-\\udfff]",iCn="(?:"+kK+"|"+AK+")",BGe="[^"+jGe+"]",UGe="(?:\\ud83c[\\udde6-\\uddff]){2}",WGe="[\\ud800-\\udbff][\\udc00-\\udfff]",oCn="\\u200d",VGe=iCn+"?",GGe="["+nCn+"]?",sCn="(?:"+oCn+"(?:"+[BGe,UGe,WGe].join("|")+")"+GGe+VGe+")*",aCn=GGe+VGe+sCn,lCn="(?:"+[BGe+kK+"?",kK,UGe,WGe,rCn].join("|")+")",uCn=RegExp(AK+"(?="+AK+")|"+lCn+aCn,"g");function cCn(t){return t.match(uCn)||[]}var fCn=cCn,dCn=KSn,hCn=zGe,pCn=fCn;function gCn(t){return hCn(t)?pCn(t):dCn(t)}var mCn=gCn,vCn=jSn,yCn=zGe,xCn=mCn,bCn=IGe;function wCn(t){return function(e){e=bCn(e);var n=yCn(e)?xCn(e):void 0,r=n?n[0]:e.charAt(0),i=n?vCn(n,1).join(""):e.slice(1);return r[t]()+i}}var _Cn=wCn,SCn=_Cn,CCn=SCn("toUpperCase"),OCn=CCn;const GU=on(OCn);function EP(t){"@babel/helpers - typeof";return EP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},EP(t)}var ECn=["type","size","sizeType"];function PK(){return PK=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function MCn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var HGe={symbolCircle:cre,symbolCross:V2t,symbolDiamond:H2t,symbolSquare:q2t,symbolStar:K2t,symbolTriangle:Z2t,symbolWye:eTt},RCn=Math.PI/180,DCn=function(e){var n="symbol".concat(GU(e));return HGe[n]||cre},ICn=function(e,n,r){if(n==="area")return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return .5*e*e/Math.sqrt(3);case"square":return e*e;case"star":{var i=18*RCn;return 1.25*e*e*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},LCn=function(e,n){HGe["symbol".concat(GU(e))]=n},aue=function(e){var n=e.type,r=n===void 0?"circle":n,i=e.size,o=i===void 0?64:i,s=e.sizeType,a=s===void 0?"area":s,l=PCn(e,ECn),u=Gwe(Gwe({},l),{},{type:r,size:o,sizeType:a}),c=function(){var m=DCn(r),v=d$e().type(m).size(ICn(o,a,r));return v()},f=u.className,d=u.cx,h=u.cy,p=pn(u,!0);return d===+d&&h===+h&&o===+o?de.createElement("path",PK({},p,{className:Oe("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(h,")"),d:c()})):null};aue.registerSymbol=LCn;function SC(t){"@babel/helpers - typeof";return SC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SC(t)}function MK(){return MK=Object.assign?Object.assign.bind():function(t){for(var e=1;e`);var y=h.inactive?u:h.color;return de.createElement("li",MK({className:m,style:f,key:"legend-item-".concat(p)},Oz(r.props,h,p)),de.createElement(EK,{width:s,height:s,viewBox:c,style:d},r.renderIcon(h)),de.createElement("span",{className:"recharts-legend-item-text",style:{color:y}},g?g(v,h,p):v))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,s=r.align;if(!i||!i.length)return null;var a={padding:0,margin:0,textAlign:o==="horizontal"?s:"left"};return de.createElement("ul",{className:"recharts-default-legend",style:a},this.renderItems())}}]),e}(D.PureComponent);TP(lue,"displayName","Legend");TP(lue,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var GCn=UU;function HCn(){this.__data__=new GCn,this.size=0}var qCn=HCn;function XCn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}var YCn=XCn;function QCn(t){return this.__data__.get(t)}var KCn=QCn;function ZCn(t){return this.__data__.has(t)}var JCn=ZCn,eOn=UU,tOn=eue,nOn=tue,rOn=200;function iOn(t,e){var n=this.__data__;if(n instanceof eOn){var r=n.__data__;if(!tOn||r.lengtha))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var f=-1,d=!0,h=n&EOn?new _On:void 0;for(o.set(t,e),o.set(e,t);++f-1&&t%1==0&&t-1&&t%1==0&&t<=PEn}var due=MEn,REn=rm,DEn=due,IEn=im,LEn="[object Arguments]",$En="[object Array]",FEn="[object Boolean]",NEn="[object Date]",zEn="[object Error]",jEn="[object Function]",BEn="[object Map]",UEn="[object Number]",WEn="[object Object]",VEn="[object RegExp]",GEn="[object Set]",HEn="[object String]",qEn="[object WeakMap]",XEn="[object ArrayBuffer]",YEn="[object DataView]",QEn="[object Float32Array]",KEn="[object Float64Array]",ZEn="[object Int8Array]",JEn="[object Int16Array]",e2n="[object Int32Array]",t2n="[object Uint8Array]",n2n="[object Uint8ClampedArray]",r2n="[object Uint16Array]",i2n="[object Uint32Array]",Xr={};Xr[QEn]=Xr[KEn]=Xr[ZEn]=Xr[JEn]=Xr[e2n]=Xr[t2n]=Xr[n2n]=Xr[r2n]=Xr[i2n]=!0;Xr[LEn]=Xr[$En]=Xr[XEn]=Xr[FEn]=Xr[YEn]=Xr[NEn]=Xr[zEn]=Xr[jEn]=Xr[BEn]=Xr[UEn]=Xr[WEn]=Xr[VEn]=Xr[GEn]=Xr[HEn]=Xr[qEn]=!1;function o2n(t){return IEn(t)&&DEn(t.length)&&!!Xr[REn(t)]}var s2n=o2n;function a2n(t){return function(e){return t(e)}}var rHe=a2n,Az={exports:{}};Az.exports;(function(t,e){var n=kGe,r=e&&!e.nodeType&&e,i=r&&!0&&t&&!t.nodeType&&t,o=i&&i.exports===r,s=o&&n.process,a=function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();t.exports=a})(Az,Az.exports);var l2n=Az.exports,u2n=s2n,c2n=rHe,Zwe=l2n,Jwe=Zwe&&Zwe.isTypedArray,f2n=Jwe?c2n(Jwe):u2n,iHe=f2n,d2n=gEn,h2n=cue,p2n=Ml,g2n=nHe,m2n=fue,v2n=iHe,y2n=Object.prototype,x2n=y2n.hasOwnProperty;function b2n(t,e){var n=p2n(t),r=!n&&h2n(t),i=!n&&!r&&g2n(t),o=!n&&!r&&!i&&v2n(t),s=n||r||i||o,a=s?d2n(t.length,String):[],l=a.length;for(var u in t)(e||x2n.call(t,u))&&!(s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||m2n(u,l)))&&a.push(u);return a}var w2n=b2n,_2n=Object.prototype;function S2n(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||_2n;return t===n}var C2n=S2n;function O2n(t,e){return function(n){return t(e(n))}}var oHe=O2n,E2n=oHe,T2n=E2n(Object.keys,Object),k2n=T2n,A2n=C2n,P2n=k2n,M2n=Object.prototype,R2n=M2n.hasOwnProperty;function D2n(t){if(!A2n(t))return P2n(t);var e=[];for(var n in Object(t))R2n.call(t,n)&&n!="constructor"&&e.push(n);return e}var I2n=D2n,L2n=Zle,$2n=due;function F2n(t){return t!=null&&$2n(t.length)&&!L2n(t)}var mD=F2n,N2n=w2n,z2n=I2n,j2n=mD;function B2n(t){return j2n(t)?N2n(t):z2n(t)}var HU=B2n,U2n=rEn,W2n=hEn,V2n=HU;function G2n(t){return U2n(t,V2n,W2n)}var H2n=G2n,e_e=H2n,q2n=1,X2n=Object.prototype,Y2n=X2n.hasOwnProperty;function Q2n(t,e,n,r,i,o){var s=n&q2n,a=e_e(t),l=a.length,u=e_e(e),c=u.length;if(l!=c&&!s)return!1;for(var f=l;f--;){var d=a[f];if(!(s?d in e:Y2n.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var g=!0;o.set(t,e),o.set(e,t);for(var m=s;++f-1}var Xkn=qkn;function Ykn(t,e,n){for(var r=-1,i=t==null?0:t.length;++r=cAn){var u=e?null:lAn(t);if(u)return uAn(u);s=!1,i=aAn,l=new iAn}else l=e?[]:a;e:for(;++r=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function OAn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function EAn(t){return t.value}function TAn(t,e){if(de.isValidElement(t))return de.cloneElement(t,e);if(typeof t=="function")return de.createElement(t,e);e.ref;var n=CAn(e,vAn);return de.createElement(lue,n)}var m_e=1,OC=function(t){_An(e,t);function e(){var n;yAn(this,e);for(var r=arguments.length,i=new Array(r),o=0;om_e||Math.abs(i.height-this.lastBoundingBox.height)>m_e)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?T0({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,s=i.align,a=i.verticalAlign,l=i.margin,u=i.chartWidth,c=i.chartHeight,f,d;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(s==="center"&&o==="vertical"){var h=this.getBBoxSnapshot();f={left:((u||0)-h.width)/2}}else f=s==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(a==="middle"){var p=this.getBBoxSnapshot();d={top:((c||0)-p.height)/2}}else d=a==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return T0(T0({},f),d)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,s=i.width,a=i.height,l=i.wrapperStyle,u=i.payloadUniqBy,c=i.payload,f=T0(T0({position:"absolute",width:s||"auto",height:a||"auto"},this.getDefaultPosition(l)),l);return de.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(h){r.wrapperNode=h}},TAn(o,T0(T0({},this.props),{},{payload:dHe(c,u,EAn)})))}}],[{key:"getWithHeight",value:function(r,i){var o=r.props.layout;return o==="vertical"&&at(r.props.height)?{height:r.props.height}:o==="horizontal"?{width:r.props.width||i}:null}}]),e}(D.PureComponent);qU(OC,"displayName","Legend");qU(OC,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var v_e=pD,kAn=cue,AAn=Ml,y_e=v_e?v_e.isConcatSpreadable:void 0;function PAn(t){return AAn(t)||kAn(t)||!!(y_e&&t&&t[y_e])}var MAn=PAn,RAn=eHe,DAn=MAn;function mHe(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=DAn),i||(i=[]);++o0&&n(a)?e>1?mHe(a,e-1,n,r,i):RAn(i,a):r||(i[i.length]=a)}return i}var vHe=mHe;function IAn(t){return function(e,n,r){for(var i=-1,o=Object(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(n(o[l],l,o)===!1)break}return e}}var LAn=IAn,$An=LAn,FAn=$An(),NAn=FAn,zAn=NAn,jAn=HU;function BAn(t,e){return t&&zAn(t,e,jAn)}var yHe=BAn,UAn=mD;function WAn(t,e){return function(n,r){if(n==null)return n;if(!UAn(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=Object(n);(e?o--:++oe||o&&s&&l&&!a&&!u||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&t=a)return l;var u=n[r];return l*(u=="desc"?-1:1)}}return t.index-e.index}var rPn=nPn,S7=rue,iPn=iue,oPn=n0,sPn=xHe,aPn=ZAn,lPn=rHe,uPn=rPn,cPn=aE,fPn=Ml;function dPn(t,e,n){e.length?e=S7(e,function(o){return fPn(o)?function(s){return iPn(s,o.length===1?o[0]:o)}:o}):e=[cPn];var r=-1;e=S7(e,lPn(oPn));var i=sPn(t,function(o,s,a){var l=S7(e,function(u){return u(o)});return{criteria:l,index:++r,value:o}});return aPn(i,function(o,s){return uPn(o,s,n)})}var hPn=dPn;function pPn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var gPn=pPn,mPn=gPn,b_e=Math.max;function vPn(t,e,n){return e=b_e(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=b_e(r.length-e,0),s=Array(o);++i0){if(++e>=TPn)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var MPn=PPn,RPn=EPn,DPn=MPn,IPn=DPn(RPn),LPn=IPn,$Pn=aE,FPn=yPn,NPn=LPn;function zPn(t,e){return NPn(FPn(t,e,$Pn),t+"")}var jPn=zPn,BPn=Jle,UPn=mD,WPn=fue,VPn=t0;function GPn(t,e,n){if(!VPn(n))return!1;var r=typeof e;return(r=="number"?UPn(n)&&WPn(e,n.length):r=="string"&&e in n)?BPn(n[e],t):!1}var XU=GPn,HPn=vHe,qPn=hPn,XPn=jPn,__e=XU,YPn=XPn(function(t,e){if(t==null)return[];var n=e.length;return n>1&&__e(t,e[0],e[1])?e=[]:n>2&&__e(e[0],e[1],e[2])&&(e=[e[0]]),qPn(t,HPn(e,1),[])}),QPn=YPn;const gue=on(QPn);function kP(t){"@babel/helpers - typeof";return kP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kP(t)}function zK(){return zK=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e.x),"".concat(k2,"-left"),at(n)&&e&&at(e.x)&&n=e.y),"".concat(k2,"-top"),at(r)&&e&&at(e.y)&&rg?Math.max(c,l[r]):Math.max(f,l[r])}function fMn(t){var e=t.translateX,n=t.translateY,r=t.useTranslate3d;return{transform:r?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")}}function dMn(t){var e=t.allowEscapeViewBox,n=t.coordinate,r=t.offsetTopLeft,i=t.position,o=t.reverseDirection,s=t.tooltipBox,a=t.useTranslate3d,l=t.viewBox,u,c,f;return s.height>0&&s.width>0&&n?(c=O_e({allowEscapeViewBox:e,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:s.width,viewBox:l,viewBoxDimension:l.width}),f=O_e({allowEscapeViewBox:e,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:s.height,viewBox:l,viewBoxDimension:l.height}),u=fMn({translateX:c,translateY:f,useTranslate3d:a})):u=uMn,{cssProperties:u,cssClasses:cMn({translateX:c,translateY:f,coordinate:n})}}function EC(t){"@babel/helpers - typeof";return EC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},EC(t)}function E_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function T_e(t){for(var e=1;ek_e||Math.abs(r.height-this.state.lastBoundingBox.height)>k_e)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,s=i.allowEscapeViewBox,a=i.animationDuration,l=i.animationEasing,u=i.children,c=i.coordinate,f=i.hasPayload,d=i.isAnimationActive,h=i.offset,p=i.position,g=i.reverseDirection,m=i.useTranslate3d,v=i.viewBox,y=i.wrapperStyle,x=dMn({allowEscapeViewBox:s,coordinate:c,offsetTopLeft:h,position:p,reverseDirection:g,tooltipBox:this.state.lastBoundingBox,useTranslate3d:m,viewBox:v}),b=x.cssClasses,w=x.cssProperties,_=T_e(T_e({transition:d&&o?"transform ".concat(a,"ms ").concat(l):void 0},w),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&f?"visible":"hidden",position:"absolute",top:0,left:0},y);return de.createElement("div",{tabIndex:-1,className:b,style:_,ref:function(O){r.wrapperNode=O}},u)}}]),e}(D.PureComponent),wMn=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},bh={isSsr:wMn(),get:function(e){return bh[e]},set:function(e,n){if(typeof e=="string")bh[e]=n;else{var r=Object.keys(e);r&&r.length&&r.forEach(function(i){bh[i]=e[i]})}}};function TC(t){"@babel/helpers - typeof";return TC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TC(t)}function A_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function P_e(t){for(var e=1;e0;return de.createElement(bMn,{allowEscapeViewBox:s,animationDuration:a,animationEasing:l,isAnimationActive:d,active:o,coordinate:c,hasPayload:_,offset:h,position:m,reverseDirection:v,useTranslate3d:y,viewBox:x,wrapperStyle:b},MMn(u,P_e(P_e({},this.props),{},{payload:w})))}}]),e}(D.PureComponent);mue(Md,"displayName","Tooltip");mue(Md,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!bh.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var RMn=tp,DMn=function(){return RMn.Date.now()},IMn=DMn,LMn=/\s/;function $Mn(t){for(var e=t.length;e--&&LMn.test(t.charAt(e)););return e}var FMn=$Mn,NMn=FMn,zMn=/^\s+/;function jMn(t){return t&&t.slice(0,NMn(t)+1).replace(zMn,"")}var BMn=jMn,UMn=BMn,M_e=t0,WMn=ZO,R_e=NaN,VMn=/^[-+]0x[0-9a-f]+$/i,GMn=/^0b[01]+$/i,HMn=/^0o[0-7]+$/i,qMn=parseInt;function XMn(t){if(typeof t=="number")return t;if(WMn(t))return R_e;if(M_e(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=M_e(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=UMn(t);var n=GMn.test(t);return n||HMn.test(t)?qMn(t.slice(2),n?2:8):VMn.test(t)?R_e:+t}var OHe=XMn,YMn=t0,O7=IMn,D_e=OHe,QMn="Expected a function",KMn=Math.max,ZMn=Math.min;function JMn(t,e,n){var r,i,o,s,a,l,u=0,c=!1,f=!1,d=!0;if(typeof t!="function")throw new TypeError(QMn);e=D_e(e)||0,YMn(n)&&(c=!!n.leading,f="maxWait"in n,o=f?KMn(D_e(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d);function h(_){var S=r,O=i;return r=i=void 0,u=_,s=t.apply(O,S),s}function p(_){return u=_,a=setTimeout(v,e),c?h(_):s}function g(_){var S=_-l,O=_-u,k=e-S;return f?ZMn(k,o-O):k}function m(_){var S=_-l,O=_-u;return l===void 0||S>=e||S<0||f&&O>=o}function v(){var _=O7();if(m(_))return y(_);a=setTimeout(v,g(_))}function y(_){return a=void 0,d&&r?h(_):(r=i=void 0,s)}function x(){a!==void 0&&clearTimeout(a),u=0,r=l=i=a=void 0}function b(){return a===void 0?s:y(O7())}function w(){var _=O7(),S=m(_);if(r=arguments,i=this,l=_,S){if(a===void 0)return p(l);if(f)return clearTimeout(a),a=setTimeout(v,e),h(l)}return a===void 0&&(a=setTimeout(v,e)),s}return w.cancel=x,w.flush=b,w}var eRn=JMn,tRn=eRn,nRn=t0,rRn="Expected a function";function iRn(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(rRn);return nRn(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),tRn(t,e,{leading:r,maxWait:e,trailing:i})}var oRn=iRn;const EHe=on(oRn);function PP(t){"@babel/helpers - typeof";return PP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PP(t)}function I_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function YL(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(P=EHe(P,g,{trailing:!0,leading:!1}));var T=new ResizeObserver(P),R=w.current.getBoundingClientRect(),I=R.width,B=R.height;return M(I,B),T.observe(w.current),function(){T.disconnect()}},[M,g]);var A=D.useMemo(function(){var P=k.containerWidth,T=k.containerHeight;if(P<0||T<0)return null;gg(vx(s)||vx(l),`The width(%s) and height(%s) are both fixed numbers, + maybe you don't need to use a ResponsiveContainer.`,s,l),gg(!n||n>0,"The aspect(%s) must be greater than zero.",n);var R=vx(s)?P:s,I=vx(l)?T:l;n&&n>0&&(R?I=R/n:I&&(R=I*n),d&&I>d&&(I=d)),gg(R>0||I>0,`The width(%s) and height(%s) of chart should be greater than 0, + please check the style of container, or the props width(%s) and height(%s), + or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the + height and width.`,R,I,s,l,c,f,n);var B=!Array.isArray(h)&&CF.isElement(h)&&pg(h.type).endsWith("Chart");return de.Children.map(h,function($){return CF.isElement($)?D.cloneElement($,YL({width:R,height:I},B?{style:YL({height:"100%",width:"100%",maxHeight:I,maxWidth:R},$.props.style)}:{})):$})},[n,h,l,d,f,c,k,s]);return de.createElement("div",{id:m?"".concat(m):void 0,className:Oe("recharts-responsive-container",v),style:YL(YL({},b),{},{width:s,height:l,minWidth:c,minHeight:f,maxHeight:d}),ref:w},A)}),kHe=function(e){return null};kHe.displayName="Cell";function MP(t){"@babel/helpers - typeof";return MP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MP(t)}function $_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function VK(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||bh.isSsr)return{width:0,height:0};var r=xRn(n),i=JSON.stringify({text:e,copyStyle:r});if(lw.widthCache[i])return lw.widthCache[i];try{var o=document.getElementById(F_e);o||(o=document.createElement("span"),o.setAttribute("id",F_e),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var s=VK(VK({},yRn),r);Object.assign(o.style,s),o.textContent="".concat(e);var a=o.getBoundingClientRect(),l={width:a.width,height:a.height};return lw.widthCache[i]=l,++lw.cacheCount>vRn&&(lw.cacheCount=0,lw.widthCache={}),l}catch{return{width:0,height:0}}},bRn=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}};function RP(t){"@babel/helpers - typeof";return RP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RP(t)}function Dz(t,e){return CRn(t)||SRn(t,e)||_Rn(t,e)||wRn()}function wRn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _Rn(t,e){if(t){if(typeof t=="string")return N_e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N_e(t,e)}}function N_e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function NRn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function V_e(t,e){return URn(t)||BRn(t,e)||jRn(t,e)||zRn()}function zRn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jRn(t,e){if(t){if(typeof t=="string")return G_e(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G_e(t,e)}}function G_e(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&arguments[0]!==void 0?arguments[0]:[];return R.reduce(function(I,B){var $=B.word,z=B.width,L=I[I.length-1];if(L&&(i==null||o||L.width+z+rB.width?I:B})};if(!c)return h;for(var g="…",m=function(R){var I=f.slice(0,R),B=RHe({breakAll:u,style:l,children:I+g}).wordsWithComputedWidth,$=d(B),z=$.length>s||p($).width>Number(i);return[z,$]},v=0,y=f.length-1,x=0,b;v<=y&&x<=f.length-1;){var w=Math.floor((v+y)/2),_=w-1,S=m(_),O=V_e(S,2),k=O[0],E=O[1],M=m(w),A=V_e(M,1),P=A[0];if(!k&&!P&&(v=w+1),k&&P&&(y=w-1),!k&&P){b=E;break}x++}return b||h},H_e=function(e){var n=wn(e)?[]:e.toString().split(MHe);return[{words:n}]},VRn=function(e){var n=e.width,r=e.scaleToFit,i=e.children,o=e.style,s=e.breakAll,a=e.maxLines;if((n||r)&&!bh.isSsr){var l,u,c=RHe({breakAll:s,children:i,style:o});if(c){var f=c.wordsWithComputedWidth,d=c.spaceWidth;l=f,u=d}else return H_e(i);return WRn({breakAll:s,children:i,maxLines:a,style:o},l,u,n,r)}return H_e(i)},q_e="#808080",Iz=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,s=e.lineHeight,a=s===void 0?"1em":s,l=e.capHeight,u=l===void 0?"0.71em":l,c=e.scaleToFit,f=c===void 0?!1:c,d=e.textAnchor,h=d===void 0?"start":d,p=e.verticalAnchor,g=p===void 0?"end":p,m=e.fill,v=m===void 0?q_e:m,y=W_e(e,$Rn),x=D.useMemo(function(){return VRn({breakAll:y.breakAll,children:y.children,maxLines:y.maxLines,scaleToFit:f,style:y.style,width:y.width})},[y.breakAll,y.children,y.maxLines,f,y.style,y.width]),b=y.dx,w=y.dy,_=y.angle,S=y.className,O=y.breakAll,k=W_e(y,FRn);if(!So(r)||!So(o))return null;var E=r+(at(b)?b:0),M=o+(at(w)?w:0),A;switch(g){case"start":A=E7("calc(".concat(u,")"));break;case"middle":A=E7("calc(".concat((x.length-1)/2," * -").concat(a," + (").concat(u," / 2))"));break;default:A=E7("calc(".concat(x.length-1," * -").concat(a,")"));break}var P=[];if(f){var T=x[0].width,R=y.width;P.push("scale(".concat((at(R)?R/T:1)/T,")"))}return _&&P.push("rotate(".concat(_,", ").concat(E,", ").concat(M,")")),P.length&&(k.transform=P.join(" ")),de.createElement("text",GK({},pn(k,!0),{x:E,y:M,className:Oe("recharts-text",S),textAnchor:h,fill:v.includes("url")?q_e:v}),x.map(function(I,B){var $=I.words.join(O?"":" ");return de.createElement("tspan",{x:E,dy:B===0?A:a,key:$},$)}))};const X_e=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:EA,scaleDiverging:Ire,scaleDivergingLog:Lre,scaleDivergingPow:CB,scaleDivergingSqrt:h3e,scaleDivergingSymlog:$re,scaleIdentity:_re,scaleImplicit:EN,scaleLinear:PA,scaleLog:Cre,scaleOrdinal:aR,scalePoint:rk,scalePow:xB,scaleQuantile:kre,scaleQuantize:Are,scaleRadial:l3e,scaleSequential:wB,scaleSequentialLog:Rre,scaleSequentialPow:_B,scaleSequentialQuantile:d3e,scaleSequentialSqrt:f3e,scaleSequentialSymlog:Dre,scaleSqrt:a3e,scaleSymlog:Ere,scaleThreshold:Pre,scaleTime:u3e,scaleUtc:c3e,tickFormat:wre},Symbol.toStringTag,{value:"Module"}));var GRn=ZO;function HRn(t,e,n){for(var r=-1,i=t.length;++re}var XRn=qRn,YRn=DHe,QRn=XRn,KRn=aE;function ZRn(t){return t&&t.length?YRn(t,KRn,QRn):void 0}var JRn=ZRn;const Sv=on(JRn);function eDn(t,e){return tt.e^o.s<0?1:-1;for(r=o.d.length,i=t.d.length,e=0,n=rt.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};Et.decimalPlaces=Et.dp=function(){var t=this,e=t.d.length-1,n=(e-t.e)*Qr;if(e=t.d[e],e)for(;e%10==0;e/=10)n--;return n<0?0:n};Et.dividedBy=Et.div=function(t){return mg(this,new this.constructor(t))};Et.dividedToIntegerBy=Et.idiv=function(t){var e=this,n=e.constructor;return Lr(mg(e,new n(t),0,1),n.precision)};Et.equals=Et.eq=function(t){return!this.cmp(t)};Et.exponent=function(){return uo(this)};Et.greaterThan=Et.gt=function(t){return this.cmp(t)>0};Et.greaterThanOrEqualTo=Et.gte=function(t){return this.cmp(t)>=0};Et.isInteger=Et.isint=function(){return this.e>this.d.length-2};Et.isNegative=Et.isneg=function(){return this.s<0};Et.isPositive=Et.ispos=function(){return this.s>0};Et.isZero=function(){return this.s===0};Et.lessThan=Et.lt=function(t){return this.cmp(t)<0};Et.lessThanOrEqualTo=Et.lte=function(t){return this.cmp(t)<1};Et.logarithm=Et.log=function(t){var e,n=this,r=n.constructor,i=r.precision,o=i+5;if(t===void 0)t=new r(10);else if(t=new r(t),t.s<1||t.eq(nu))throw Error(Lc+"NaN");if(n.s<1)throw Error(Lc+(n.s?"NaN":"-Infinity"));return n.eq(nu)?new r(0):(gi=!1,e=mg(DP(n,o),DP(t,o),o),gi=!0,Lr(e,i))};Et.minus=Et.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?FHe(e,t):LHe(e,(t.s=-t.s,t))};Et.modulo=Et.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(t=new r(t),!t.s)throw Error(Lc+"NaN");return n.s?(gi=!1,e=mg(n,t,0,1).times(t),gi=!0,n.minus(e)):Lr(new r(n),i)};Et.naturalExponential=Et.exp=function(){return $He(this)};Et.naturalLogarithm=Et.ln=function(){return DP(this)};Et.negated=Et.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t};Et.plus=Et.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?LHe(e,t):FHe(e,(t.s=-t.s,t))};Et.precision=Et.sd=function(t){var e,n,r,i=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(Gx+t);if(e=uo(i)+1,r=i.d.length-1,n=r*Qr+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n};Et.squareRoot=Et.sqrt=function(){var t,e,n,r,i,o,s,a=this,l=a.constructor;if(a.s<1){if(!a.s)return new l(0);throw Error(Lc+"NaN")}for(t=uo(a),gi=!1,i=Math.sqrt(+a),i==0||i==1/0?(e=nh(a.d),(e.length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=uE((t+1)/2)-(t<0||t%2),i==1/0?e="5e"+t:(e=i.toExponential(),e=e.slice(0,e.indexOf("e")+1)+t),r=new l(e)):r=new l(i.toString()),n=l.precision,i=s=n+3;;)if(o=r,r=o.plus(mg(a,o,s+2)).times(.5),nh(o.d).slice(0,s)===(e=nh(r.d)).slice(0,s)){if(e=e.slice(s-3,s+1),i==s&&e=="4999"){if(Lr(o,n+1,0),o.times(o).eq(a)){r=o;break}}else if(e!="9999")break;s+=4}return gi=!0,Lr(r,n)};Et.times=Et.mul=function(t){var e,n,r,i,o,s,a,l,u,c=this,f=c.constructor,d=c.d,h=(t=new f(t)).d;if(!c.s||!t.s)return new f(0);for(t.s*=c.s,n=c.e+t.e,l=d.length,u=h.length,l=0;){for(e=0,i=l+r;i>r;)a=o[i]+h[r]*d[i-r-1]+e,o[i--]=a%Mo|0,e=a/Mo|0;o[i]=(o[i]+e)%Mo|0}for(;!o[--s];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,gi?Lr(t,f.precision):t};Et.toDecimalPlaces=Et.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(Ih(t,0,lE),e===void 0?e=r.rounding:Ih(e,0,8),Lr(n,t+uo(n)+1,e))};Et.toExponential=function(t,e){var n,r=this,i=r.constructor;return t===void 0?n=$1(r,!0):(Ih(t,0,lE),e===void 0?e=i.rounding:Ih(e,0,8),r=Lr(new i(r),t+1,e),n=$1(r,!0,t+1)),n};Et.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?$1(i):(Ih(t,0,lE),e===void 0?e=o.rounding:Ih(e,0,8),r=Lr(new o(i),t+uo(i)+1,e),n=$1(r.abs(),!1,t+uo(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};Et.toInteger=Et.toint=function(){var t=this,e=t.constructor;return Lr(new e(t),uo(t)+1,e.rounding)};Et.toNumber=function(){return+this};Et.toPower=Et.pow=function(t){var e,n,r,i,o,s,a=this,l=a.constructor,u=12,c=+(t=new l(t));if(!t.s)return new l(nu);if(a=new l(a),!a.s){if(t.s<1)throw Error(Lc+"Infinity");return a}if(a.eq(nu))return a;if(r=l.precision,t.eq(nu))return Lr(a,r);if(e=t.e,n=t.d.length-1,s=e>=n,o=a.s,s){if((n=c<0?-c:c)<=IHe){for(i=new l(nu),e=Math.ceil(r/Qr+4),gi=!1;n%2&&(i=i.times(a),Q_e(i.d,e)),n=uE(n/2),n!==0;)a=a.times(a),Q_e(a.d,e);return gi=!0,t.s<0?new l(nu).div(i):Lr(i,r)}}else if(o<0)throw Error(Lc+"NaN");return o=o<0&&t.d[Math.max(e,n)]&1?-1:1,a.s=1,gi=!1,i=t.times(DP(a,r+u)),gi=!0,i=$He(i),i.s=o,i};Et.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return t===void 0?(n=uo(i),r=$1(i,n<=o.toExpNeg||n>=o.toExpPos)):(Ih(t,1,lE),e===void 0?e=o.rounding:Ih(e,0,8),i=Lr(new o(i),t,e),n=uo(i),r=$1(i,t<=n||n<=o.toExpNeg,t)),r};Et.toSignificantDigits=Et.tosd=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(Ih(t,1,lE),e===void 0?e=r.rounding:Ih(e,0,8)),Lr(new r(n),t,e)};Et.toString=Et.valueOf=Et.val=Et.toJSON=Et[Symbol.for("nodejs.util.inspect.custom")]=function(){var t=this,e=uo(t),n=t.constructor;return $1(t,e<=n.toExpNeg||e>=n.toExpPos)};function LHe(t,e){var n,r,i,o,s,a,l,u,c=t.constructor,f=c.precision;if(!t.s||!e.s)return e.s||(e=new c(t)),gi?Lr(e,f):e;if(l=t.d,u=e.d,s=t.e,i=e.e,l=l.slice(),o=s-i,o){for(o<0?(r=l,o=-o,a=u.length):(r=u,i=s,a=l.length),s=Math.ceil(f/Qr),a=s>a?s+1:a+1,o>a&&(o=a,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(a=l.length,o=u.length,a-o<0&&(o=a,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/Mo|0,l[o]%=Mo;for(n&&(l.unshift(n),++i),a=l.length;l[--a]==0;)l.pop();return e.d=l,e.e=i,gi?Lr(e,f):e}function Ih(t,e,n){if(t!==~~t||tn)throw Error(Gx+t)}function nh(t){var e,n,r,i=t.length-1,o="",s=t[0];if(i>0){for(o+=s,e=1;es?1:-1;else for(a=l=0;ai[a]?1:-1;break}return l}function n(r,i,o){for(var s=0;o--;)r[o]-=s,s=r[o]1;)r.shift()}return function(r,i,o,s){var a,l,u,c,f,d,h,p,g,m,v,y,x,b,w,_,S,O,k=r.constructor,E=r.s==i.s?1:-1,M=r.d,A=i.d;if(!r.s)return new k(r);if(!i.s)throw Error(Lc+"Division by zero");for(l=r.e-i.e,S=A.length,w=M.length,h=new k(E),p=h.d=[],u=0;A[u]==(M[u]||0);)++u;if(A[u]>(M[u]||0)&&--l,o==null?y=o=k.precision:s?y=o+(uo(r)-uo(i))+1:y=o,y<0)return new k(0);if(y=y/Qr+2|0,u=0,S==1)for(c=0,A=A[0],y++;(u1&&(A=t(A,c),M=t(M,c),S=A.length,w=M.length),b=S,g=M.slice(0,S),m=g.length;m=Mo/2&&++_;do c=0,a=e(A,g,S,m),a<0?(v=g[0],S!=m&&(v=v*Mo+(g[1]||0)),c=v/_|0,c>1?(c>=Mo&&(c=Mo-1),f=t(A,c),d=f.length,m=g.length,a=e(f,g,d,m),a==1&&(c--,n(f,S16)throw Error(vue+uo(t));if(!t.s)return new c(nu);for(e==null?(gi=!1,a=f):a=e,s=new c(.03125);t.abs().gte(.1);)t=t.times(s),u+=5;for(r=Math.log(U0(2,u))/Math.LN10*2+5|0,a+=r,n=i=o=new c(nu),c.precision=a;;){if(i=Lr(i.times(t),a),n=n.times(++l),s=o.plus(mg(i,n,a)),nh(s.d).slice(0,a)===nh(o.d).slice(0,a)){for(;u--;)o=Lr(o.times(o),a);return c.precision=f,e==null?(gi=!0,Lr(o,f)):o}o=s}}function uo(t){for(var e=t.e*Qr,n=t.d[0];n>=10;n/=10)e++;return e}function T7(t,e,n){if(e>t.LN10.sd())throw gi=!0,n&&(t.precision=n),Error(Lc+"LN10 precision limit exceeded");return Lr(new t(t.LN10),e)}function Zm(t){for(var e="";t--;)e+="0";return e}function DP(t,e){var n,r,i,o,s,a,l,u,c,f=1,d=10,h=t,p=h.d,g=h.constructor,m=g.precision;if(h.s<1)throw Error(Lc+(h.s?"NaN":"-Infinity"));if(h.eq(nu))return new g(0);if(e==null?(gi=!1,u=m):u=e,h.eq(10))return e==null&&(gi=!0),T7(g,u);if(u+=d,g.precision=u,n=nh(p),r=n.charAt(0),o=uo(h),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)h=h.times(t),n=nh(h.d),r=n.charAt(0),f++;o=uo(h),r>1?(h=new g("0."+n),o++):h=new g(r+"."+n.slice(1))}else return l=T7(g,u+2,m).times(o+""),h=DP(new g(r+"."+n.slice(1)),u-d).plus(l),g.precision=m,e==null?(gi=!0,Lr(h,m)):h;for(a=s=h=mg(h.minus(nu),h.plus(nu),u),c=Lr(h.times(h),u),i=3;;){if(s=Lr(s.times(c),u),l=a.plus(mg(s,new g(i),u)),nh(l.d).slice(0,u)===nh(a.d).slice(0,u))return a=a.times(2),o!==0&&(a=a.plus(T7(g,u+2,m).times(o+""))),a=mg(a,new g(f),u),g.precision=m,e==null?(gi=!0,Lr(a,m)):a;a=l,i+=2}}function Y_e(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;)++r;for(i=e.length;e.charCodeAt(i-1)===48;)--i;if(e=e.slice(r,i),e){if(i-=r,n=n-r-1,t.e=uE(n/Qr),t.d=[],r=(n+1)%Qr,n<0&&(r+=Qr),rLz||t.e<-Lz))throw Error(vue+n)}else t.s=0,t.e=0,t.d=[0];return t}function Lr(t,e,n){var r,i,o,s,a,l,u,c,f=t.d;for(s=1,o=f[0];o>=10;o/=10)s++;if(r=e-s,r<0)r+=Qr,i=e,u=f[c=0];else{if(c=Math.ceil((r+1)/Qr),o=f.length,c>=o)return t;for(u=o=f[c],s=1;o>=10;o/=10)s++;r%=Qr,i=r-Qr+s}if(n!==void 0&&(o=U0(10,s-i-1),a=u/o%10|0,l=e<0||f[c+1]!==void 0||u%o,l=n<4?(a||l)&&(n==0||n==(t.s<0?3:2)):a>5||a==5&&(n==4||l||n==6&&(r>0?i>0?u/U0(10,s-i):0:f[c-1])%10&1||n==(t.s<0?8:7))),e<1||!f[0])return l?(o=uo(t),f.length=1,e=e-o-1,f[0]=U0(10,(Qr-e%Qr)%Qr),t.e=uE(-e/Qr)||0):(f.length=1,f[0]=t.e=t.s=0),t;if(r==0?(f.length=c,o=1,c--):(f.length=c+1,o=U0(10,Qr-r),f[c]=i>0?(u/U0(10,s-i)%U0(10,i)|0)*o:0),l)for(;;)if(c==0){(f[0]+=o)==Mo&&(f[0]=1,++t.e);break}else{if(f[c]+=o,f[c]!=Mo)break;f[c--]=0,o=1}for(r=f.length;f[--r]===0;)f.pop();if(gi&&(t.e>Lz||t.e<-Lz))throw Error(vue+uo(t));return t}function FHe(t,e){var n,r,i,o,s,a,l,u,c,f,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),gi?Lr(e,h):e;if(l=t.d,f=e.d,r=e.e,u=t.e,l=l.slice(),s=u-r,s){for(c=s<0,c?(n=l,s=-s,a=f.length):(n=f,r=u,a=l.length),i=Math.max(Math.ceil(h/Qr),a)+2,s>i&&(s=i,n.length=1),n.reverse(),i=s;i--;)n.push(0);n.reverse()}else{for(i=l.length,a=f.length,c=i0;--i)l[a++]=0;for(i=f.length;i>s;){if(l[--i]0?o=o.charAt(0)+"."+o.slice(1)+Zm(r):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+Zm(-i-1)+o,n&&(r=n-s)>0&&(o+=Zm(r))):i>=s?(o+=Zm(i+1-s),n&&(r=n-i-1)>0&&(o=o+"."+Zm(r))):((r=i+1)0&&(i+1===s&&(o+="."),o+=Zm(r))),t.s<0?"-"+o:o}function Q_e(t,e){if(t.length>e)return t.length=e,!0}function NHe(t){var e,n,r;function i(o){var s=this;if(!(s instanceof i))return new i(o);if(s.constructor=i,o instanceof i){s.s=o.s,s.e=o.e,s.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Gx+o);if(o>0)s.s=1;else if(o<0)o=-o,s.s=-1;else{s.s=0,s.e=0,s.d=[0];return}if(o===~~o&&o<1e7){s.e=0,s.d=[o];return}return Y_e(s,o.toString())}else if(typeof o!="string")throw Error(Gx+o);if(o.charCodeAt(0)===45?(o=o.slice(1),s.s=-1):s.s=1,_Dn.test(o))Y_e(s,o);else throw Error(Gx+o)}if(i.prototype=Et,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=NHe,i.config=i.set=SDn,t===void 0&&(t={}),t)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],e=0;e=i[e+1]&&r<=i[e+2])this[n]=r;else throw Error(Gx+n+": "+r);if((r=t[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Gx+n+": "+r);return this}var yue=NHe(wDn);nu=new yue(1);const Cr=yue;function CDn(t){return kDn(t)||TDn(t)||EDn(t)||ODn()}function ODn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EDn(t,e){if(t){if(typeof t=="string")return HK(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HK(t,e)}}function TDn(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}function kDn(t){if(Array.isArray(t))return HK(t)}function HK(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=e?n.apply(void 0,i):t(e-s,K_e(function(){for(var a=arguments.length,l=new Array(a),u=0;ut.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!(Symbol.iterator in Object(t)))){var n=[],r=!0,i=!1,o=void 0;try{for(var s=t[Symbol.iterator](),a;!(r=(a=s.next()).done)&&(n.push(a.value),!(e&&n.length===e));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw o}}return n}}function WDn(t){if(Array.isArray(t))return t}function WHe(t){var e=IP(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function VHe(t,e,n){if(t.lte(0))return new Cr(0);var r=KU.getDigitCount(t.toNumber()),i=new Cr(10).pow(r),o=t.div(i),s=r!==1?.05:.1,a=new Cr(Math.ceil(o.div(s).toNumber())).add(n).mul(s),l=a.mul(i);return e?l:new Cr(Math.ceil(l))}function VDn(t,e,n){var r=1,i=new Cr(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new Cr(10).pow(KU.getDigitCount(t)-1),i=new Cr(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new Cr(Math.floor(t)))}else t===0?i=new Cr(Math.floor((e-1)/2)):n||(i=new Cr(Math.floor(t)));var s=Math.floor((e-1)/2),a=RDn(MDn(function(l){return i.add(new Cr(l-s).mul(r)).toNumber()}),qK);return a(0,e)}function GHe(t,e,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new Cr(0),tickMin:new Cr(0),tickMax:new Cr(0)};var o=VHe(new Cr(e).sub(t).div(n-1),r,i),s;t<=0&&e>=0?s=new Cr(0):(s=new Cr(t).add(e).div(2),s=s.sub(new Cr(s).mod(o)));var a=Math.ceil(s.sub(t).div(o).toNumber()),l=Math.ceil(new Cr(e).sub(s).div(o).toNumber()),u=a+l+1;return u>n?GHe(t,e,n,r,i+1):(u0?l+(n-u):l,a=e>0?a:a+(n-u)),{step:o,tickMin:s.sub(new Cr(a).mul(o)),tickMax:s.add(new Cr(l).mul(o))})}function GDn(t){var e=IP(t,2),n=e[0],r=e[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=Math.max(i,2),a=WHe([n,r]),l=IP(a,2),u=l[0],c=l[1];if(u===-1/0||c===1/0){var f=c===1/0?[u].concat(YK(qK(0,i-1).map(function(){return 1/0}))):[].concat(YK(qK(0,i-1).map(function(){return-1/0})),[c]);return n>r?XK(f):f}if(u===c)return VDn(u,i,o);var d=GHe(u,c,s,o),h=d.step,p=d.tickMin,g=d.tickMax,m=KU.rangeStep(p,g.add(new Cr(.1).mul(h)),h);return n>r?XK(m):m}function HDn(t,e){var n=IP(t,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=WHe([r,i]),a=IP(s,2),l=a[0],u=a[1];if(l===-1/0||u===1/0)return[r,i];if(l===u)return[l];var c=Math.max(e,2),f=VHe(new Cr(u).sub(l).div(c-1),o,0),d=[].concat(YK(KU.rangeStep(new Cr(l),new Cr(u).sub(new Cr(.99).mul(f)),f)),[u]);return r>i?XK(d):d}var qDn=BHe(GDn),XDn=BHe(HDn),YDn="Invariant failed";function F1(t,e){throw new Error(YDn)}var QDn=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function $z(){return $z=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function rIn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function cE(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,o=t.data,s=t.dataPointFormatter,a=t.xAxis,l=t.yAxis,u=nIn(t,QDn),c=pn(u,!1);t.direction==="x"&&a.type!=="number"&&F1();var f=o.map(function(d){var h=s(d,i),p=h.x,g=h.y,m=h.value,v=h.errorVal;if(!v)return null;var y=[],x,b;if(Array.isArray(v)){var w=KDn(v,2);x=w[0],b=w[1]}else x=b=v;if(n==="vertical"){var _=a.scale,S=g+e,O=S+r,k=S-r,E=_(m-x),M=_(m+b);y.push({x1:M,y1:O,x2:M,y2:k}),y.push({x1:E,y1:S,x2:M,y2:S}),y.push({x1:E,y1:O,x2:E,y2:k})}else if(n==="horizontal"){var A=l.scale,P=p+e,T=P-r,R=P+r,I=A(m-x),B=A(m+b);y.push({x1:T,y1:B,x2:R,y2:B}),y.push({x1:P,y1:I,x2:P,y2:B}),y.push({x1:T,y1:I,x2:R,y2:I})}return de.createElement(Ur,$z({className:"recharts-errorBar",key:"bar-".concat(y.map(function($){return"".concat($.x1,"-").concat($.x2,"-").concat($.y1,"-").concat($.y2)}))},c),y.map(function($){return de.createElement("line",$z({},$,{key:"line-".concat($.x1,"-").concat($.x2,"-").concat($.y1,"-").concat($.y2)}))}))});return de.createElement(Ur,{className:"recharts-errorBars"},f)}cE.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"};cE.displayName="ErrorBar";function LP(t){"@babel/helpers - typeof";return LP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},LP(t)}function J_e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function k7(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,s=-1,a=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(a<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,u=0;u0?i[u-1].coordinate:i[a-1].coordinate,f=i[u].coordinate,d=u>=a-1?i[0].coordinate:i[u+1].coordinate,h=void 0;if(Pf(f-c)!==Pf(d-f)){var p=[];if(Pf(d-f)===Pf(l[1]-l[0])){h=d;var g=f+l[1]-l[0];p[0]=Math.min(g,(g+c)/2),p[1]=Math.max(g,(g+c)/2)}else{h=c;var m=d+l[1]-l[0];p[0]=Math.min(f,(m+f)/2),p[1]=Math.max(f,(m+f)/2)}var v=[Math.min(f,(h+f)/2),Math.max(f,(h+f)/2)];if(e>v[0]&&e<=v[1]||e>=p[0]&&e<=p[1]){s=i[u].index;break}}else{var y=Math.min(c,d),x=Math.max(c,d);if(e>(y+f)/2&&e<=(x+f)/2){s=i[u].index;break}}}else for(var b=0;b0&&b(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){s=r[b].index;break}return s},xue=function(e){var n=e,r=n.type.displayName,i=e.props,o=i.stroke,s=i.fill,a;switch(r){case"Line":a=o;break;case"Area":case"Radar":a=o&&o!=="none"?o:s;break;default:a=s;break}return a},pIn=function(e){var n=e.barSize,r=e.totalSize,i=e.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var s={},a=Object.keys(o),l=0,u=a.length;l=0});if(v&&v.length){var y=v[0].props.barSize,x=v[0].props[m];s[x]||(s[x]=[]);var b=wn(y)?n:y;s[x].push({item:v[0],stackList:v.slice(1),barSize:wn(b)?void 0:L1(b,r,0)})}}return s},gIn=function(e){var n=e.barGap,r=e.barCategoryGap,i=e.bandSize,o=e.sizeList,s=o===void 0?[]:o,a=e.maxBarSize,l=s.length;if(l<1)return null;var u=L1(n,i,0,!0),c,f=[];if(s[0].barSize===+s[0].barSize){var d=!1,h=i/l,p=s.reduce(function(b,w){return b+w.barSize||0},0);p+=(l-1)*u,p>=i&&(p-=(l-1)*u,u=0),p>=i&&h>0&&(d=!0,h*=.9,p=l*h);var g=(i-p)/2>>0,m={offset:g-u,size:0};c=s.reduce(function(b,w){var _={item:w.item,position:{offset:m.offset+m.size+u,size:d?h:w.barSize}},S=[].concat(tSe(b),[_]);return m=S[S.length-1].position,w.stackList&&w.stackList.length&&w.stackList.forEach(function(O){S.push({item:O,position:m})}),S},f)}else{var v=L1(r,i,0,!0);i-2*v-(l-1)*u<=0&&(u=0);var y=(i-2*v-(l-1)*u)/l;y>1&&(y>>=0);var x=a===+a?Math.min(y,a):y;c=s.reduce(function(b,w,_){var S=[].concat(tSe(b),[{item:w.item,position:{offset:v+(y+u)*_+(y-x)/2,size:x}}]);return w.stackList&&w.stackList.length&&w.stackList.forEach(function(O){S.push({item:O,position:S[S.length-1].position})}),S},f)}return c},mIn=function(e,n,r,i){var o=r.children,s=r.width,a=r.margin,l=s-(a.left||0)-(a.right||0),u=HHe({children:o,legendWidth:l});if(u){var c=i||{},f=c.width,d=c.height,h=u.align,p=u.verticalAlign,g=u.layout;if((g==="vertical"||g==="horizontal"&&p==="middle")&&h!=="center"&&at(e[h]))return Qu(Qu({},e),{},tS({},h,e[h]+(f||0)));if((g==="horizontal"||g==="vertical"&&h==="center")&&p!=="middle"&&at(e[p]))return Qu(Qu({},e),{},tS({},p,e[p]+(d||0)))}return e},vIn=function(e,n,r){return wn(n)?!0:e==="horizontal"?n==="yAxis":e==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},qHe=function(e,n,r,i,o){var s=n.props.children,a=yc(s,cE).filter(function(u){return vIn(i,o,u.props.direction)});if(a&&a.length){var l=a.map(function(u){return u.props.dataKey});return e.reduce(function(u,c){var f=Ma(c,r);if(wn(f))return u;var d=Array.isArray(f)?[YU(f),Sv(f)]:[f,f],h=l.reduce(function(p,g){var m=Ma(c,g,0),v=d[0]-Math.abs(Array.isArray(m)?m[0]:m),y=d[1]+Math.abs(Array.isArray(m)?m[1]:m);return[Math.min(v,p[0]),Math.max(y,p[1])]},[1/0,-1/0]);return[Math.min(h[0],u[0]),Math.max(h[1],u[1])]},[1/0,-1/0])}return null},yIn=function(e,n,r,i,o){var s=n.map(function(a){return qHe(e,a,r,o,i)}).filter(function(a){return!wn(a)});return s&&s.length?s.reduce(function(a,l){return[Math.min(a[0],l[0]),Math.max(a[1],l[1])]},[1/0,-1/0]):null},XHe=function(e,n,r,i,o){var s=n.map(function(l){var u=l.props.dataKey;return r==="number"&&u&&qHe(e,l,u,i)||Ak(e,u,r,o)});if(r==="number")return s.reduce(function(l,u){return[Math.min(l[0],u[0]),Math.max(l[1],u[1])]},[1/0,-1/0]);var a={};return s.reduce(function(l,u){for(var c=0,f=u.length;c=2?Pf(a[0]-a[1])*2*u:u,n&&(e.ticks||e.niceTicks)){var c=(e.ticks||e.niceTicks).map(function(f){var d=o?o.indexOf(f):f;return{coordinate:i(d)+u,value:f,offset:u}});return c.filter(function(f){return!rE(f.coordinate)})}return e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map(function(f,d){return{coordinate:i(f)+u,value:f,index:d,offset:u}}):i.ticks&&!r?i.ticks(e.tickCount).map(function(f){return{coordinate:i(f)+u,value:f,offset:u}}):i.domain().map(function(f,d){return{coordinate:i(f)+u,value:o?o[f]:f,index:d,offset:u}})},A7=new WeakMap,KL=function(e,n){if(typeof n!="function")return e;A7.has(e)||A7.set(e,new WeakMap);var r=A7.get(e);if(r.has(n))return r.get(n);var i=function(){e.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},xIn=function(e,n,r){var i=e.scale,o=e.type,s=e.layout,a=e.axisType;if(i==="auto")return s==="radial"&&a==="radiusAxis"?{scale:EA(),realScaleType:"band"}:s==="radial"&&a==="angleAxis"?{scale:PA(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:rk(),realScaleType:"point"}:o==="category"?{scale:EA(),realScaleType:"band"}:{scale:PA(),realScaleType:"linear"};if(gD(i)){var l="scale".concat(GU(i));return{scale:(X_e[l]||rk)(),realScaleType:X_e[l]?l:"point"}}return mn(i)?{scale:i}:{scale:rk(),realScaleType:"point"}},nSe=1e-4,bIn=function(e){var n=e.domain();if(!(!n||n.length<=2)){var r=n.length,i=e.range(),o=Math.min(i[0],i[1])-nSe,s=Math.max(i[0],i[1])+nSe,a=e(n[0]),l=e(n[r-1]);(as||ls)&&e.domain([n[0],n[r-1]])}},wIn=function(e,n){if(!e)return null;for(var r=0,i=e.length;ri)&&(o[1]=i),o[0]>i&&(o[0]=i),o[1]=0?(e[a][r][0]=o,e[a][r][1]=o+l,o=e[a][r][1]):(e[a][r][0]=s,e[a][r][1]=s+l,s=e[a][r][1])}},CIn=function(e){var n=e.length;if(!(n<=0))for(var r=0,i=e[0].length;r=0?(e[s][r][0]=o,e[s][r][1]=o+a,o=e[s][r][1]):(e[s][r][0]=0,e[s][r][1]=0)}},OIn={sign:SIn,expand:fTt,none:DS,silhouette:dTt,wiggle:hTt,positive:CIn},EIn=function(e,n,r){var i=n.map(function(a){return a.props.dataKey}),o=OIn[r],s=cTt().keys(i).value(function(a,l){return+Ma(a,l,0)}).order(tX).offset(o);return s(e)},TIn=function(e,n,r,i,o,s){if(!e)return null;var a=s?n.reverse():n,l={},u=a.reduce(function(f,d){var h=d.props,p=h.stackId,g=h.hide;if(g)return f;var m=d.props[r],v=f[m]||{hasStack:!1,stackGroups:{}};if(So(p)){var y=v.stackGroups[p]||{numericAxisId:r,cateAxisId:i,items:[]};y.items.push(d),v.hasStack=!0,v.stackGroups[p]=y}else v.stackGroups[iE("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[d]};return Qu(Qu({},f),{},tS({},m,v))},l),c={};return Object.keys(u).reduce(function(f,d){var h=u[d];if(h.hasStack){var p={};h.stackGroups=Object.keys(h.stackGroups).reduce(function(g,m){var v=h.stackGroups[m];return Qu(Qu({},g),{},tS({},m,{numericAxisId:r,cateAxisId:i,items:v.items,stackedData:EIn(e,v.items,o)}))},p)}return Qu(Qu({},f),{},tS({},d,h))},c)},kIn=function(e,n){var r=n.realScaleType,i=n.type,o=n.tickCount,s=n.originalDomain,a=n.allowDecimals,l=r||n.scale;if(l!=="auto"&&l!=="linear")return null;if(o&&i==="number"&&s&&(s[0]==="auto"||s[1]==="auto")){var u=e.domain();if(!u.length)return null;var c=qDn(u,o,a);return e.domain([YU(c),Sv(c)]),{niceTicks:c}}if(o&&i==="number"){var f=e.domain(),d=XDn(f,o,a);return{niceTicks:d}}return null};function Fz(t){var e=t.axis,n=t.ticks,r=t.bandSize,i=t.entry,o=t.index,s=t.dataKey;if(e.type==="category"){if(!e.allowDuplicatedCategory&&e.dataKey&&!wn(i[e.dataKey])){var a=Sz(n,"value",i[e.dataKey]);if(a)return a.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=Ma(i,wn(s)?e.dataKey:s);return wn(l)?null:e.scale(l)}var rSe=function(e){var n=e.axis,r=e.ticks,i=e.offset,o=e.bandSize,s=e.entry,a=e.index;if(n.type==="category")return r[a]?r[a].coordinate+i:null;var l=Ma(s,n.dataKey,n.domain[a]);return wn(l)?null:n.scale(l)-o/2+i},AIn=function(e){var n=e.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return i<=0&&o>=0?0:o<0?o:i}return r[0]},PIn=function(e,n){var r=e.props.stackId;if(So(r)){var i=n[r];if(i){var o=i.items.indexOf(e);return o>=0?i.stackedData[o]:null}}return null},MIn=function(e){return e.reduce(function(n,r){return[YU(r.concat([n[0]]).filter(at)),Sv(r.concat([n[1]]).filter(at))]},[1/0,-1/0])},KHe=function(e,n,r){return Object.keys(e).reduce(function(i,o){var s=e[o],a=s.stackedData,l=a.reduce(function(u,c){var f=MIn(c.slice(n,r+1));return[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]);return[Math.min(l[0],i[0]),Math.max(l[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},iSe=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,oSe=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ZK=function(e,n,r){if(mn(e))return e(n,r);if(!Array.isArray(e))return n;var i=[];if(at(e[0]))i[0]=r?e[0]:Math.min(e[0],n[0]);else if(iSe.test(e[0])){var o=+iSe.exec(e[0])[1];i[0]=n[0]-o}else mn(e[0])?i[0]=e[0](n[0]):i[0]=n[0];if(at(e[1]))i[1]=r?e[1]:Math.max(e[1],n[1]);else if(oSe.test(e[1])){var s=+oSe.exec(e[1])[1];i[1]=n[1]+s}else mn(e[1])?i[1]=e[1](n[1]):i[1]=n[1];return i},Nz=function(e,n,r){if(e&&e.scale&&e.scale.bandwidth){var i=e.scale.bandwidth();if(!r||i>0)return i}if(e&&n&&n.length>=2){for(var o=gue(n,function(f){return f.coordinate}),s=1/0,a=1,l=o.length;as&&(u=2*Math.PI-u),{radius:a,angle:LIn(u),angleInRadian:u}},NIn=function(e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),s=Math.min(i,o);return{startAngle:n-s*360,endAngle:r-s*360}},zIn=function(e,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),s=Math.floor(i/360),a=Math.min(o,s);return e+a*360},uSe=function(e,n){var r=e.x,i=e.y,o=FIn({x:r,y:i},n),s=o.radius,a=o.angle,l=n.innerRadius,u=n.outerRadius;if(su)return!1;if(s===0)return!0;var c=NIn(n),f=c.startAngle,d=c.endAngle,h=a,p;if(f<=d){for(;h>d;)h-=360;for(;h=f&&h<=d}else{for(;h>f;)h-=360;for(;h=d&&h<=f}return p?lSe(lSe({},n),{},{radius:s,angle:zIn(h,n)}):null};function NP(t){"@babel/helpers - typeof";return NP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NP(t)}var jIn=["offset"];function BIn(t){return GIn(t)||VIn(t)||WIn(t)||UIn()}function UIn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WIn(t,e){if(t){if(typeof t=="string")return JK(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return JK(t,e)}}function VIn(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function GIn(t){if(Array.isArray(t))return JK(t)}function JK(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function qIn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function cSe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function po(t){for(var e=1;e=0?1:-1,x,b;i==="insideStart"?(x=h+y*s,b=g):i==="insideEnd"?(x=p-y*s,b=!g):i==="end"&&(x=p+y*s,b=g),b=v<=0?b:!b;var w=ms(u,c,m,x),_=ms(u,c,m,x+(b?1:-1)*359),S="M".concat(w.x,",").concat(w.y,` + A`).concat(m,",").concat(m,",0,1,").concat(b?0:1,`, + `).concat(_.x,",").concat(_.y),O=wn(e.id)?iE("recharts-radial-line-"):e.id;return de.createElement("text",zP({},r,{dominantBaseline:"central",className:Oe("recharts-radial-bar-label",a)}),de.createElement("defs",null,de.createElement("path",{id:O,d:S})),de.createElement("textPath",{xlinkHref:"#".concat(O)},n))},eLn=function(e){var n=e.viewBox,r=e.offset,i=e.position,o=n,s=o.cx,a=o.cy,l=o.innerRadius,u=o.outerRadius,c=o.startAngle,f=o.endAngle,d=(c+f)/2;if(i==="outside"){var h=ms(s,a,u+r,d),p=h.x,g=h.y;return{x:p,y:g,textAnchor:p>=s?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:s,y:a,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:s,y:a,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:s,y:a,textAnchor:"middle",verticalAnchor:"end"};var m=(l+u)/2,v=ms(s,a,m,d),y=v.x,x=v.y;return{x:y,y:x,textAnchor:"middle",verticalAnchor:"middle"}},tLn=function(e){var n=e.viewBox,r=e.parentViewBox,i=e.offset,o=e.position,s=n,a=s.x,l=s.y,u=s.width,c=s.height,f=c>=0?1:-1,d=f*i,h=f>0?"end":"start",p=f>0?"start":"end",g=u>=0?1:-1,m=g*i,v=g>0?"end":"start",y=g>0?"start":"end";if(o==="top"){var x={x:a+u/2,y:l-f*i,textAnchor:"middle",verticalAnchor:h};return po(po({},x),r?{height:Math.max(l-r.y,0),width:u}:{})}if(o==="bottom"){var b={x:a+u/2,y:l+c+d,textAnchor:"middle",verticalAnchor:p};return po(po({},b),r?{height:Math.max(r.y+r.height-(l+c),0),width:u}:{})}if(o==="left"){var w={x:a-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"};return po(po({},w),r?{width:Math.max(w.x-r.x,0),height:c}:{})}if(o==="right"){var _={x:a+u+m,y:l+c/2,textAnchor:y,verticalAnchor:"middle"};return po(po({},_),r?{width:Math.max(r.x+r.width-_.x,0),height:c}:{})}var S=r?{width:u,height:c}:{};return o==="insideLeft"?po({x:a+m,y:l+c/2,textAnchor:y,verticalAnchor:"middle"},S):o==="insideRight"?po({x:a+u-m,y:l+c/2,textAnchor:v,verticalAnchor:"middle"},S):o==="insideTop"?po({x:a+u/2,y:l+d,textAnchor:"middle",verticalAnchor:p},S):o==="insideBottom"?po({x:a+u/2,y:l+c-d,textAnchor:"middle",verticalAnchor:h},S):o==="insideTopLeft"?po({x:a+m,y:l+d,textAnchor:y,verticalAnchor:p},S):o==="insideTopRight"?po({x:a+u-m,y:l+d,textAnchor:v,verticalAnchor:p},S):o==="insideBottomLeft"?po({x:a+m,y:l+c-d,textAnchor:y,verticalAnchor:h},S):o==="insideBottomRight"?po({x:a+u-m,y:l+c-d,textAnchor:v,verticalAnchor:h},S):JO(o)&&(at(o.x)||vx(o.x))&&(at(o.y)||vx(o.y))?po({x:a+L1(o.x,u),y:l+L1(o.y,c),textAnchor:"end",verticalAnchor:"end"},S):po({x:a+u/2,y:l+c/2,textAnchor:"middle",verticalAnchor:"middle"},S)},nLn=function(e){return"cx"in e&&at(e.cx)};function Ws(t){var e=t.offset,n=e===void 0?5:e,r=HIn(t,jIn),i=po({offset:n},r),o=i.viewBox,s=i.position,a=i.value,l=i.children,u=i.content,c=i.className,f=c===void 0?"":c,d=i.textBreakAll;if(!o||wn(a)&&wn(l)&&!D.isValidElement(u)&&!mn(u))return null;if(D.isValidElement(u))return D.cloneElement(u,i);var h;if(mn(u)){if(h=D.createElement(u,i),D.isValidElement(h))return h}else h=KIn(i);var p=nLn(o),g=pn(i,!0);if(p&&(s==="insideStart"||s==="insideEnd"||s==="end"))return JIn(i,h,g);var m=p?eLn(i):tLn(i);return de.createElement(Iz,zP({className:Oe("recharts-label",f)},g,m,{breakAll:d}),h)}Ws.displayName="Label";var JHe=function(e){var n=e.cx,r=e.cy,i=e.angle,o=e.startAngle,s=e.endAngle,a=e.r,l=e.radius,u=e.innerRadius,c=e.outerRadius,f=e.x,d=e.y,h=e.top,p=e.left,g=e.width,m=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(at(g)&&at(m)){if(at(f)&&at(d))return{x:f,y:d,width:g,height:m};if(at(h)&&at(p))return{x:h,y:p,width:g,height:m}}return at(f)&&at(d)?{x:f,y:d,width:0,height:0}:at(n)&&at(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:s||i||0,innerRadius:u||0,outerRadius:c||l||a||0,clockWise:v}:e.viewBox?e.viewBox:{}},rLn=function(e,n){return e?e===!0?de.createElement(Ws,{key:"label-implicit",viewBox:n}):So(e)?de.createElement(Ws,{key:"label-implicit",viewBox:n,value:e}):D.isValidElement(e)?e.type===Ws?D.cloneElement(e,{key:"label-implicit",viewBox:n}):de.createElement(Ws,{key:"label-implicit",content:e,viewBox:n}):mn(e)?de.createElement(Ws,{key:"label-implicit",content:e,viewBox:n}):JO(e)?de.createElement(Ws,zP({viewBox:n},e,{key:"label-implicit"})):null:null},iLn=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&r&&!e.label)return null;var i=e.children,o=JHe(e),s=yc(i,Ws).map(function(l,u){return D.cloneElement(l,{viewBox:n||o,key:"label-".concat(u)})});if(!r)return s;var a=rLn(e.label,n||o);return[a].concat(BIn(s))};Ws.parseViewBox=JHe;Ws.renderCallByParent=iLn;function oLn(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var sLn=oLn;const aLn=on(sLn);function jP(t){"@babel/helpers - typeof";return jP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jP(t)}var lLn=["valueAccessor"],uLn=["data","dataKey","clockWise","id","textBreakAll"];function cLn(t){return pLn(t)||hLn(t)||dLn(t)||fLn()}function fLn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dLn(t,e){if(t){if(typeof t=="string")return eZ(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eZ(t,e)}}function hLn(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pLn(t){if(Array.isArray(t))return eZ(t)}function eZ(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function yLn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var xLn=function(e){return Array.isArray(e.value)?aLn(e.value):e.value};function vg(t){var e=t.valueAccessor,n=e===void 0?xLn:e,r=hSe(t,lLn),i=r.data,o=r.dataKey,s=r.clockWise,a=r.id,l=r.textBreakAll,u=hSe(r,uLn);return!i||!i.length?null:de.createElement(Ur,{className:"recharts-label-list"},i.map(function(c,f){var d=wn(o)?n(c,f):Ma(c&&c.payload,o),h=wn(a)?{}:{id:"".concat(a,"-").concat(f)};return de.createElement(Ws,jz({},pn(c,!0),u,h,{parentViewBox:c.parentViewBox,value:d,textBreakAll:l,viewBox:Ws.parseViewBox(wn(s)?c:dSe(dSe({},c),{},{clockWise:s})),key:"label-".concat(f),index:f}))}))}vg.displayName="LabelList";function bLn(t,e){return t?t===!0?de.createElement(vg,{key:"labelList-implicit",data:e}):de.isValidElement(t)||mn(t)?de.createElement(vg,{key:"labelList-implicit",data:e,content:t}):JO(t)?de.createElement(vg,jz({data:e},t,{key:"labelList-implicit"})):null:null}function wLn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=yc(r,vg).map(function(s,a){return D.cloneElement(s,{data:e,key:"labelList-".concat(a)})});if(!n)return i;var o=bLn(t.label,e);return[o].concat(cLn(i))}vg.renderCallByParent=wLn;function BP(t){"@babel/helpers - typeof";return BP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},BP(t)}function tZ(){return tZ=Object.assign?Object.assign.bind():function(t){for(var e=1;e180),",").concat(+(s>u),`, + `).concat(f.x,",").concat(f.y,` + `);if(i>0){var h=ms(n,r,i,s),p=ms(n,r,i,u);d+="L ".concat(p.x,",").concat(p.y,` + A `).concat(i,",").concat(i,`,0, + `).concat(+(Math.abs(l)>180),",").concat(+(s<=u),`, + `).concat(h.x,",").concat(h.y," Z")}else d+="L ".concat(n,",").concat(r," Z");return d},ELn=function(e){var n=e.cx,r=e.cy,i=e.innerRadius,o=e.outerRadius,s=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,u=e.startAngle,c=e.endAngle,f=Pf(c-u),d=ZL({cx:n,cy:r,radius:o,angle:u,sign:f,cornerRadius:s,cornerIsExternal:l}),h=d.circleTangency,p=d.lineTangency,g=d.theta,m=ZL({cx:n,cy:r,radius:o,angle:c,sign:-f,cornerRadius:s,cornerIsExternal:l}),v=m.circleTangency,y=m.lineTangency,x=m.theta,b=l?Math.abs(u-c):Math.abs(u-c)-g-x;if(b<0)return a?"M ".concat(p.x,",").concat(p.y,` + a`).concat(s,",").concat(s,",0,0,1,").concat(s*2,`,0 + a`).concat(s,",").concat(s,",0,0,1,").concat(-s*2,`,0 + `):eqe({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:u,endAngle:c});var w="M ".concat(p.x,",").concat(p.y,` + A`).concat(s,",").concat(s,",0,0,").concat(+(f<0),",").concat(h.x,",").concat(h.y,` + A`).concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(f<0),",").concat(v.x,",").concat(v.y,` + A`).concat(s,",").concat(s,",0,0,").concat(+(f<0),",").concat(y.x,",").concat(y.y,` + `);if(i>0){var _=ZL({cx:n,cy:r,radius:i,angle:u,sign:f,isExternal:!0,cornerRadius:s,cornerIsExternal:l}),S=_.circleTangency,O=_.lineTangency,k=_.theta,E=ZL({cx:n,cy:r,radius:i,angle:c,sign:-f,isExternal:!0,cornerRadius:s,cornerIsExternal:l}),M=E.circleTangency,A=E.lineTangency,P=E.theta,T=l?Math.abs(u-c):Math.abs(u-c)-k-P;if(T<0&&s===0)return"".concat(w,"L").concat(n,",").concat(r,"Z");w+="L".concat(A.x,",").concat(A.y,` + A`).concat(s,",").concat(s,",0,0,").concat(+(f<0),",").concat(M.x,",").concat(M.y,` + A`).concat(i,",").concat(i,",0,").concat(+(T>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,` + A`).concat(s,",").concat(s,",0,0,").concat(+(f<0),",").concat(O.x,",").concat(O.y,"Z")}else w+="L".concat(n,",").concat(r,"Z");return w},TLn={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},tqe=function(e){var n=gSe(gSe({},TLn),e),r=n.cx,i=n.cy,o=n.innerRadius,s=n.outerRadius,a=n.cornerRadius,l=n.forceCornerRadius,u=n.cornerIsExternal,c=n.startAngle,f=n.endAngle,d=n.className;if(s0&&Math.abs(c-f)<360?m=ELn({cx:r,cy:i,innerRadius:o,outerRadius:s,cornerRadius:Math.min(g,p/2),forceCornerRadius:l,cornerIsExternal:u,startAngle:c,endAngle:f}):m=eqe({cx:r,cy:i,innerRadius:o,outerRadius:s,startAngle:c,endAngle:f}),de.createElement("path",tZ({},pn(n,!0),{className:h,d:m,role:"img"}))};function UP(t){"@babel/helpers - typeof";return UP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UP(t)}function nZ(){return nZ=Object.assign?Object.assign.bind():function(t){for(var e=1;e0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function FLn(t,e){return fE(t.getTime(),e.getTime())}function SSe(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.entries(),o=0,s,a;(s=i.next())&&!s.done;){for(var l=e.entries(),u=!1,c=0;(a=l.next())&&!a.done;){var f=s.value,d=f[0],h=f[1],p=a.value,g=p[0],m=p[1];!u&&!r[c]&&(u=n.equals(d,g,o,c,t,e,n)&&n.equals(h,m,d,g,t,e,n))&&(r[c]=!0),c++}if(!u)return!1;o++}return!0}function NLn(t,e,n){var r=_Se(t),i=r.length;if(_Se(e).length!==i)return!1;for(var o;i-- >0;)if(o=r[i],o===rqe&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!nqe(e,o)||!n.equals(t[o],e[o],o,o,t,e,n))return!1;return!0}function M2(t,e,n){var r=bSe(t),i=r.length;if(bSe(e).length!==i)return!1;for(var o,s,a;i-- >0;)if(o=r[i],o===rqe&&(t.$$typeof||e.$$typeof)&&t.$$typeof!==e.$$typeof||!nqe(e,o)||!n.equals(t[o],e[o],o,o,t,e,n)||(s=wSe(t,o),a=wSe(e,o),(s||a)&&(!s||!a||s.configurable!==a.configurable||s.enumerable!==a.enumerable||s.writable!==a.writable)))return!1;return!0}function zLn(t,e){return fE(t.valueOf(),e.valueOf())}function jLn(t,e){return t.source===e.source&&t.flags===e.flags}function CSe(t,e,n){if(t.size!==e.size)return!1;for(var r={},i=t.values(),o,s;(o=i.next())&&!o.done;){for(var a=e.values(),l=!1,u=0;(s=a.next())&&!s.done;)!l&&!r[u]&&(l=n.equals(o.value,s.value,o.value,s.value,t,e,n))&&(r[u]=!0),u++;if(!l)return!1}return!0}function BLn(t,e){var n=t.length;if(e.length!==n)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}var ULn="[object Arguments]",WLn="[object Boolean]",VLn="[object Date]",GLn="[object Map]",HLn="[object Number]",qLn="[object Object]",XLn="[object RegExp]",YLn="[object Set]",QLn="[object String]",KLn=Array.isArray,OSe=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,ESe=Object.assign,ZLn=Object.prototype.toString.call.bind(Object.prototype.toString);function JLn(t){var e=t.areArraysEqual,n=t.areDatesEqual,r=t.areMapsEqual,i=t.areObjectsEqual,o=t.arePrimitiveWrappersEqual,s=t.areRegExpsEqual,a=t.areSetsEqual,l=t.areTypedArraysEqual;return function(c,f,d){if(c===f)return!0;if(c==null||f==null||typeof c!="object"||typeof f!="object")return c!==c&&f!==f;var h=c.constructor;if(h!==f.constructor)return!1;if(h===Object)return i(c,f,d);if(KLn(c))return e(c,f,d);if(OSe!=null&&OSe(c))return l(c,f,d);if(h===Date)return n(c,f,d);if(h===RegExp)return s(c,f,d);if(h===Map)return r(c,f,d);if(h===Set)return a(c,f,d);var p=ZLn(c);return p===VLn?n(c,f,d):p===XLn?s(c,f,d):p===GLn?r(c,f,d):p===YLn?a(c,f,d):p===qLn?typeof c.then!="function"&&typeof f.then!="function"&&i(c,f,d):p===ULn?i(c,f,d):p===WLn||p===HLn||p===QLn?o(c,f,d):!1}}function e$n(t){var e=t.circular,n=t.createCustomConfig,r=t.strict,i={areArraysEqual:r?M2:$Ln,areDatesEqual:FLn,areMapsEqual:r?xSe(SSe,M2):SSe,areObjectsEqual:r?M2:NLn,arePrimitiveWrappersEqual:zLn,areRegExpsEqual:jLn,areSetsEqual:r?xSe(CSe,M2):CSe,areTypedArraysEqual:r?M2:BLn};if(n&&(i=ESe({},i,n(i))),e){var o=e$(i.areArraysEqual),s=e$(i.areMapsEqual),a=e$(i.areObjectsEqual),l=e$(i.areSetsEqual);i=ESe({},i,{areArraysEqual:o,areMapsEqual:s,areObjectsEqual:a,areSetsEqual:l})}return i}function t$n(t){return function(e,n,r,i,o,s,a){return t(e,n,a)}}function n$n(t){var e=t.circular,n=t.comparator,r=t.createState,i=t.equals,o=t.strict;if(r)return function(l,u){var c=r(),f=c.cache,d=f===void 0?e?new WeakMap:void 0:f,h=c.meta;return n(l,u,{cache:d,equals:i,meta:h,strict:o})};if(e)return function(l,u){return n(l,u,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var s={cache:void 0,equals:i,meta:void 0,strict:o};return function(l,u){return n(l,u,s)}}var r$n=r0();r0({strict:!0});r0({circular:!0});r0({circular:!0,strict:!0});r0({createInternalComparator:function(){return fE}});r0({strict:!0,createInternalComparator:function(){return fE}});r0({circular:!0,createInternalComparator:function(){return fE}});r0({circular:!0,createInternalComparator:function(){return fE},strict:!0});function r0(t){t===void 0&&(t={});var e=t.circular,n=e===void 0?!1:e,r=t.createInternalComparator,i=t.createState,o=t.strict,s=o===void 0?!1:o,a=e$n(t),l=JLn(a),u=r?r(l):t$n(l);return n$n({circular:n,comparator:l,createState:i,equals:u,strict:s})}function i$n(t){typeof requestAnimationFrame<"u"&&requestAnimationFrame(t)}function TSe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>e?(t(o),n=-1):i$n(i)};requestAnimationFrame(r)}function rZ(t){"@babel/helpers - typeof";return rZ=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rZ(t)}function o$n(t){return u$n(t)||l$n(t)||a$n(t)||s$n()}function s$n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a$n(t,e){if(t){if(typeof t=="string")return kSe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kSe(t,e)}}function kSe(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?1:v<0?0:v},g=function(v){for(var y=v>1?1:v,x=y,b=0;b<8;++b){var w=f(x)-y,_=h(x);if(Math.abs(w-y)0&&arguments[0]!==void 0?arguments[0]:{},n=e.stiff,r=n===void 0?100:n,i=e.damping,o=i===void 0?8:i,s=e.dt,a=s===void 0?17:s,l=function(c,f,d){var h=-(c-f)*r,p=d*o,g=d+(h-p)*a/1e3,m=d*a/1e3+c;return Math.abs(m-f)t.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function j$n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function P7(t){return V$n(t)||W$n(t)||U$n(t)||B$n()}function B$n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U$n(t,e){if(t){if(typeof t=="string")return lZ(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lZ(t,e)}}function W$n(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function V$n(t){if(Array.isArray(t))return lZ(t)}function lZ(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Wz(t){return Wz=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Wz(t)}var Lh=function(t){Y$n(n,t);var e=Q$n(n);function n(r,i){var o;G$n(this,n),o=e.call(this,r,i);var s=o.props,a=s.isActive,l=s.attributeName,u=s.from,c=s.to,f=s.steps,d=s.children,h=s.duration;if(o.handleStyleChange=o.handleStyleChange.bind(fZ(o)),o.changeStyle=o.changeStyle.bind(fZ(o)),!a||h<=0)return o.state={style:{}},typeof d=="function"&&(o.state={style:c}),cZ(o);if(f&&f.length)o.state={style:f[0].style};else if(u){if(typeof d=="function")return o.state={style:u},cZ(o);o.state={style:l?DT({},l,u):u}}else o.state={style:{}};return o}return q$n(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,s=i.canBegin;this.mounted=!0,!(!o||!s)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isActive,a=o.canBegin,l=o.attributeName,u=o.shouldReAnimate,c=o.to,f=o.from,d=this.state.style;if(a){if(!s){var h={style:l?DT({},l,c):c};this.state&&d&&(l&&d[l]!==c||!l&&d!==c)&&this.setState(h);return}if(!(r$n(i.to,c)&&i.canBegin&&i.isActive)){var p=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var g=p||u?f:i.to;if(this.state&&d){var m={style:l?DT({},l,g):g};(l&&d[l]!==g||!l&&d!==g)&&this.setState(m)}this.runAnimation(Kc(Kc({},this.props),{},{from:g,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var o=this,s=i.from,a=i.to,l=i.duration,u=i.easing,c=i.begin,f=i.onAnimationEnd,d=i.onAnimationStart,h=F$n(s,a,E$n(u),l,this.changeStyle),p=function(){o.stopJSAnimation=h()};this.manager.start([d,c,p,l,f])}},{key:"runStepAnimation",value:function(i){var o=this,s=i.steps,a=i.begin,l=i.onAnimationStart,u=s[0],c=u.style,f=u.duration,d=f===void 0?0:f,h=function(g,m,v){if(v===0)return g;var y=m.duration,x=m.easing,b=x===void 0?"ease":x,w=m.style,_=m.properties,S=m.onAnimationEnd,O=v>0?s[v-1]:m,k=_||Object.keys(w);if(typeof b=="function"||b==="spring")return[].concat(P7(g),[o.runJSAnimation.bind(o,{from:O.style,to:w,duration:y,easing:b}),y]);var E=MSe(k,y,b),M=Kc(Kc(Kc({},O.style),w),{},{transition:E});return[].concat(P7(g),[M,y,S]).filter(p$n)};return this.manager.start([l].concat(P7(s.reduce(h,[c,Math.max(d,a)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=c$n());var o=i.begin,s=i.duration,a=i.attributeName,l=i.to,u=i.easing,c=i.onAnimationStart,f=i.onAnimationEnd,d=i.steps,h=i.children,p=this.manager;if(this.unSubscribe=p.subscribe(this.handleStyleChange),typeof u=="function"||typeof h=="function"||u==="spring"){this.runJSAnimation(i);return}if(d.length>1){this.runStepAnimation(i);return}var g=a?DT({},a,l):l,m=MSe(Object.keys(g),s,u);p.start([c,o,Kc(Kc({},g),{},{transition:m}),s,f])}},{key:"render",value:function(){var i=this.props,o=i.children;i.begin;var s=i.duration;i.attributeName,i.easing;var a=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var l=z$n(i,N$n),u=D.Children.count(o),c=this.state.style;if(typeof o=="function")return o(c);if(!a||u===0||s<=0)return o;var f=function(h){var p=h.props,g=p.style,m=g===void 0?{}:g,v=p.className,y=D.cloneElement(h,Kc(Kc({},l),{},{style:Kc(Kc({},m),c),className:v}));return y};return u===1?f(D.Children.only(o)):de.createElement("div",null,D.Children.map(o,function(d){return f(d)}))}}]),n}(D.PureComponent);Lh.displayName="Animate";Lh.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};Lh.propTypes={from:pe.oneOfType([pe.object,pe.string]),to:pe.oneOfType([pe.object,pe.string]),attributeName:pe.string,duration:pe.number,begin:pe.number,easing:pe.oneOfType([pe.string,pe.func]),steps:pe.arrayOf(pe.shape({duration:pe.number.isRequired,style:pe.object.isRequired,easing:pe.oneOfType([pe.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),pe.func]),properties:pe.arrayOf("string"),onAnimationEnd:pe.func})),children:pe.oneOfType([pe.node,pe.func]),isActive:pe.bool,canBegin:pe.bool,onAnimationEnd:pe.func,shouldReAnimate:pe.bool,onAnimationStart:pe.func,onAnimationReStart:pe.func};pe.object,pe.object,pe.object,pe.element;pe.object,pe.object,pe.object,pe.oneOfType([pe.array,pe.element]),pe.any;function GP(t){"@babel/helpers - typeof";return GP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GP(t)}function Vz(){return Vz=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0?1:-1,l=r>=0?1:-1,u=i>=0&&r>=0||i<0&&r<0?1:0,c;if(s>0&&o instanceof Array){for(var f=[0,0,0,0],d=0,h=4;ds?s:o[d];c="M".concat(e,",").concat(n+a*f[0]),f[0]>0&&(c+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(u,",").concat(e+l*f[0],",").concat(n)),c+="L ".concat(e+r-l*f[1],",").concat(n),f[1]>0&&(c+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(u,`, + `).concat(e+r,",").concat(n+a*f[1])),c+="L ".concat(e+r,",").concat(n+i-a*f[2]),f[2]>0&&(c+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(u,`, + `).concat(e+r-l*f[2],",").concat(n+i)),c+="L ".concat(e+l*f[3],",").concat(n+i),f[3]>0&&(c+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(u,`, + `).concat(e,",").concat(n+i-a*f[3])),c+="Z"}else if(s>0&&o===+o&&o>0){var p=Math.min(s,o);c="M ".concat(e,",").concat(n+a*p,` + A `).concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+l*p,",").concat(n,` + L `).concat(e+r-l*p,",").concat(n,` + A `).concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r,",").concat(n+a*p,` + L `).concat(e+r,",").concat(n+i-a*p,` + A `).concat(p,",").concat(p,",0,0,").concat(u,",").concat(e+r-l*p,",").concat(n+i,` + L `).concat(e+l*p,",").concat(n+i,` + A `).concat(p,",").concat(p,",0,0,").concat(u,",").concat(e,",").concat(n+i-a*p," Z")}else c="M ".concat(e,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return c},s3n=function(e,n){if(!e||!n)return!1;var r=e.x,i=e.y,o=n.x,s=n.y,a=n.width,l=n.height;if(Math.abs(a)>0&&Math.abs(l)>0){var u=Math.min(o,o+a),c=Math.max(o,o+a),f=Math.min(s,s+l),d=Math.max(s,s+l);return r>=u&&r<=c&&i>=f&&i<=d}return!1},a3n={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},bue=function(e){var n=zSe(zSe({},a3n),e),r=D.useRef(),i=D.useState(-1),o=Z$n(i,2),s=o[0],a=o[1];D.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var b=r.current.getTotalLength();b&&a(b)}catch{}},[]);var l=n.x,u=n.y,c=n.width,f=n.height,d=n.radius,h=n.className,p=n.animationEasing,g=n.animationDuration,m=n.animationBegin,v=n.isAnimationActive,y=n.isUpdateAnimationActive;if(l!==+l||u!==+u||c!==+c||f!==+f||c===0||f===0)return null;var x=Oe("recharts-rectangle",h);return y?de.createElement(Lh,{canBegin:s>0,from:{width:c,height:f,x:l,y:u},to:{width:c,height:f,x:l,y:u},duration:g,animationEasing:p,isActive:y},function(b){var w=b.width,_=b.height,S=b.x,O=b.y;return de.createElement(Lh,{canBegin:s>0,from:"0px ".concat(s===-1?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:g,isActive:v,easing:p},de.createElement("path",Vz({},pn(n,!0),{className:x,d:jSe(S,O,w,_,d),ref:r})))}):de.createElement("path",Vz({},pn(n,!0),{className:x,d:jSe(l,u,c,f,d)}))};function dZ(){return dZ=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function p3n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var g3n=function(e,n,r,i,o,s){return"M".concat(e,",").concat(o,"v").concat(i,"M").concat(s,",").concat(n,"h").concat(r)},m3n=function(e){var n=e.x,r=n===void 0?0:n,i=e.y,o=i===void 0?0:i,s=e.top,a=s===void 0?0:s,l=e.left,u=l===void 0?0:l,c=e.width,f=c===void 0?0:c,d=e.height,h=d===void 0?0:d,p=e.className,g=h3n(e,l3n),m=u3n({x:r,y:o,top:a,left:u,width:f,height:h},g);return!at(r)||!at(o)||!at(f)||!at(h)||!at(a)||!at(u)?null:de.createElement("path",hZ({},pn(m,!0),{className:Oe("recharts-cross",p),d:g3n(r,o,f,h,a,u)}))},v3n=oHe,y3n=v3n(Object.getPrototypeOf,Object),x3n=y3n,b3n=rm,w3n=x3n,_3n=im,S3n="[object Object]",C3n=Function.prototype,O3n=Object.prototype,cqe=C3n.toString,E3n=O3n.hasOwnProperty,T3n=cqe.call(Object);function k3n(t){if(!_3n(t)||b3n(t)!=S3n)return!1;var e=w3n(t);if(e===null)return!0;var n=E3n.call(e,"constructor")&&e.constructor;return typeof n=="function"&&n instanceof n&&cqe.call(n)==T3n}var A3n=k3n;const P3n=on(A3n);var M3n=rm,R3n=im,D3n="[object Boolean]";function I3n(t){return t===!0||t===!1||R3n(t)&&M3n(t)==D3n}var L3n=I3n;const $3n=on(L3n);function qP(t){"@babel/helpers - typeof";return qP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qP(t)}function Gz(){return Gz=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:u},to:{upperWidth:c,lowerWidth:f,height:d,x:l,y:u},duration:g,animationEasing:p,isActive:v},function(x){var b=x.upperWidth,w=x.lowerWidth,_=x.height,S=x.x,O=x.y;return de.createElement(Lh,{canBegin:s>0,from:"0px ".concat(s===-1?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:g,easing:p},de.createElement("path",Gz({},pn(n,!0),{className:y,d:GSe(S,O,b,w,_),ref:r})))}):de.createElement("g",null,de.createElement("path",Gz({},pn(n,!0),{className:y,d:GSe(l,u,c,f,d)})))},q3n=["option","shapeType","propTransformer","activeClassName","isActive"];function XP(t){"@babel/helpers - typeof";return XP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XP(t)}function X3n(t,e){if(t==null)return{};var n=Y3n(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Y3n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function HSe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Hz(t){for(var e=1;e0&&r.handleDrag(i.changedTouches[0])}),Vl(Sd(r),"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,o=i.endIndex,s=i.onDragEnd,a=i.startIndex;s==null||s({endIndex:o,startIndex:a})}),r.detachDragEndListener()}),Vl(Sd(r),"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),Vl(Sd(r),"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),Vl(Sd(r),"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),Vl(Sd(r),"handleSlideDragStart",function(i){var o=JSe(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(Sd(r),"startX"),endX:r.handleTravellerDragStart.bind(Sd(r),"endX")},r.state={},r}return AFn(e,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,s=this.state.scaleValues,a=this.props,l=a.gap,u=a.data,c=u.length-1,f=Math.min(i,o),d=Math.max(i,o),h=e.getIndexInRange(s,f),p=e.getIndexInRange(s,d);return{startIndex:h-h%l,endIndex:p===c?c:p-p%l}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,s=i.tickFormatter,a=i.dataKey,l=Ma(o[r],a,r);return mn(s)?s(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,s=i.startX,a=i.endX,l=this.props,u=l.x,c=l.width,f=l.travellerWidth,d=l.startIndex,h=l.endIndex,p=l.onChange,g=r.pageX-o;g>0?g=Math.min(g,u+c-f-a,u+c-f-s):g<0&&(g=Math.max(g,u-s,u-a));var m=this.getIndex({startX:s+g,endX:a+g});(m.startIndex!==d||m.endIndex!==h)&&p&&p(m),this.setState({startX:s+g,endX:a+g,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=JSe(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,o=i.brushMoveStartX,s=i.movingTravellerId,a=i.endX,l=i.startX,u=this.state[s],c=this.props,f=c.x,d=c.width,h=c.travellerWidth,p=c.onChange,g=c.gap,m=c.data,v={startX:this.state.startX,endX:this.state.endX},y=r.pageX-o;y>0?y=Math.min(y,f+d-h-u):y<0&&(y=Math.max(y,f-u)),v[s]=u+y;var x=this.getIndex(v),b=x.startIndex,w=x.endIndex,_=function(){var O=m.length-1;return s==="startX"&&(a>l?b%g===0:w%g===0)||al?w%g===0:b%g===0)||a>l&&w===O};this.setState(Vl(Vl({},s,u+y),"brushMoveStartX",r.pageX),function(){p&&_()&&p(x)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,s=this.state,a=s.scaleValues,l=s.startX,u=s.endX,c=this.state[i],f=a.indexOf(c);if(f!==-1){var d=f+r;if(!(d===-1||d>=a.length)){var h=a[d];i==="startX"&&h>=u||i==="endX"&&h<=l||this.setState(Vl({},i,h),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,s=r.width,a=r.height,l=r.fill,u=r.stroke;return de.createElement("rect",{stroke:u,fill:l,x:i,y:o,width:s,height:a})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,s=r.width,a=r.height,l=r.data,u=r.children,c=r.padding,f=D.Children.only(u);return f?de.cloneElement(f,{x:i,y:o,width:s,height:a,margin:c,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,i){var o,s,a=this,l=this.props,u=l.y,c=l.travellerWidth,f=l.height,d=l.traveller,h=l.ariaLabel,p=l.data,g=l.startIndex,m=l.endIndex,v=Math.max(r,this.props.x),y=R7(R7({},pn(this.props,!1)),{},{x:v,y:u,width:c,height:f}),x=h||"Min value: ".concat((o=p[g])===null||o===void 0?void 0:o.name,", Max value: ").concat((s=p[m])===null||s===void 0?void 0:s.name);return de.createElement(Ur,{tabIndex:0,role:"slider","aria-label":x,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(w){["ArrowLeft","ArrowRight"].includes(w.key)&&(w.preventDefault(),w.stopPropagation(),a.handleTravellerMoveKeyboard(w.key==="ArrowRight"?1:-1,i))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},e.renderTraveller(d,y))}},{key:"renderSlide",value:function(r,i){var o=this.props,s=o.y,a=o.height,l=o.stroke,u=o.travellerWidth,c=Math.min(r,i)+u,f=Math.max(Math.abs(i-r)-u,0);return de.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:c,y:s,width:f,height:a})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,s=r.y,a=r.height,l=r.travellerWidth,u=r.stroke,c=this.state,f=c.startX,d=c.endX,h=5,p={pointerEvents:"none",fill:u};return de.createElement(Ur,{className:"recharts-brush-texts"},de.createElement(Iz,Xz({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-h,y:s+a/2},p),this.getTextOfTick(i)),de.createElement(Iz,Xz({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+l+h,y:s+a/2},p),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,s=r.children,a=r.x,l=r.y,u=r.width,c=r.height,f=r.alwaysShowText,d=this.state,h=d.startX,p=d.endX,g=d.isTextActive,m=d.isSlideMoving,v=d.isTravellerMoving,y=d.isTravellerFocused;if(!i||!i.length||!at(a)||!at(l)||!at(u)||!at(c)||u<=0||c<=0)return null;var x=Oe("recharts-brush",o),b=de.Children.count(s)===1,w=TFn("userSelect","none");return de.createElement(Ur,{className:x,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:w},this.renderBackground(),b&&this.renderPanorama(),this.renderSlide(h,p),this.renderTravellerLayer(h,"startX"),this.renderTravellerLayer(p,"endX"),(g||m||v||y||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,s=r.width,a=r.height,l=r.stroke,u=Math.floor(o+a/2)-1;return de.createElement(de.Fragment,null,de.createElement("rect",{x:i,y:o,width:s,height:a,fill:l,stroke:"none"}),de.createElement("line",{x1:i+1,y1:u,x2:i+s-1,y2:u,fill:"none",stroke:"#fff"}),de.createElement("line",{x1:i+1,y1:u+2,x2:i+s-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return de.isValidElement(r)?o=de.cloneElement(r,i):mn(r)?o=r(i):o=e.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,s=r.width,a=r.x,l=r.travellerWidth,u=r.updateId,c=r.startIndex,f=r.endIndex;if(o!==i.prevData||u!==i.prevUpdateId)return R7({prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:a,prevWidth:s},o&&o.length?IFn({data:o,width:s,x:a,travellerWidth:l,startIndex:c,endIndex:f}):{scale:null,scaleValues:null});if(i.scale&&(s!==i.prevWidth||a!==i.prevX||l!==i.prevTravellerWidth)){i.scale.range([a,a+s-l]);var d=i.scale.domain().map(function(h){return i.scale(h)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:u,prevX:a,prevWidth:s,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,s=0,a=o-1;a-s>1;){var l=Math.floor((s+a)/2);r[l]>i?a=l:s=l}return i>=r[a]?a:s}}]),e}(D.PureComponent);Vl(N1,"displayName","Brush");Vl(N1,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var LFn=pue;function $Fn(t,e){var n;return LFn(t,function(r,i,o){return n=e(r,i,o),!n}),!!n}var FFn=$Fn,NFn=KGe,zFn=n0,jFn=FFn,BFn=Ml,UFn=XU;function WFn(t,e,n){var r=BFn(t)?NFn:jFn;return n&&UFn(t,e,n)&&(e=void 0),r(t,zFn(e))}var VFn=WFn;const GFn=on(VFn);var wh=function(e,n){var r=e.alwaysShow,i=e.ifOverflow;return r&&(i="extendDomain"),i===n},eCe=bHe;function HFn(t,e,n){e=="__proto__"&&eCe?eCe(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var qFn=HFn,XFn=qFn,YFn=yHe,QFn=n0;function KFn(t,e){var n={};return e=QFn(e),YFn(t,function(r,i,o){XFn(n,i,e(r,i,o))}),n}var ZFn=KFn;const JFn=on(ZFn);function eNn(t,e){for(var n=-1,r=t==null?0:t.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function vNn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function yNn(t,e){var n=t.x,r=t.y,i=mNn(t,dNn),o="".concat(n),s=parseInt(o,10),a="".concat(r),l=parseInt(a,10),u="".concat(e.height||i.height),c=parseInt(u,10),f="".concat(e.width||i.width),d=parseInt(f,10);return R2(R2(R2(R2(R2({},e),i),s?{x:s}:{}),l?{y:l}:{}),{},{height:c,width:d,name:e.name,radius:e.radius})}function nCe(t){return de.createElement(nFn,gZ({shapeType:"rectangle",propTransformer:yNn,activeClassName:"recharts-active-bar"},t))}var xNn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof e=="number")return e;var o=typeof r=="number";return o?e(r,i):(o||F1(),n)}},bNn=["value","background"],mqe;function MC(t){"@babel/helpers - typeof";return MC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MC(t)}function wNn(t,e){if(t==null)return{};var n=_Nn(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function _Nn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Qz(){return Qz=Object.assign?Object.assign.bind():function(t){for(var e=1;e0&&Math.abs(T)0&&Math.abs(P)0&&(P=Math.min((H||0)-(T[q-1]||0),P))}),Number.isFinite(P)){var R=P/A,I=g.layout==="vertical"?r.height:r.width;if(g.padding==="gap"&&(S=R*I/2),g.padding==="no-gap"){var B=L1(e.barCategoryGap,R*I),$=R*I/2;S=$-B-($-B)/I*B}}}i==="xAxis"?O=[r.left+(x.left||0)+(S||0),r.left+r.width-(x.right||0)-(S||0)]:i==="yAxis"?O=l==="horizontal"?[r.top+r.height-(x.bottom||0),r.top+(x.top||0)]:[r.top+(x.top||0)+(S||0),r.top+r.height-(x.bottom||0)-(S||0)]:O=g.range,w&&(O=[O[1],O[0]]);var z=xIn(g,o,d),L=z.scale,j=z.realScaleType;L.domain(v).range(O),bIn(L);var N=kIn(L,gf(gf({},g),{},{realScaleType:j}));i==="xAxis"?(M=m==="top"&&!b||m==="bottom"&&b,k=r.left,E=f[_]-M*g.height):i==="yAxis"&&(M=m==="left"&&!b||m==="right"&&b,k=f[_]-M*g.width,E=r.top);var F=gf(gf(gf({},g),N),{},{realScaleType:j,x:k,y:E,scale:L,width:i==="xAxis"?r.width:g.width,height:i==="yAxis"?r.height:g.height});return F.bandSize=Nz(F,N),!g.hide&&i==="xAxis"?f[_]+=(M?-1:1)*F.height:g.hide||(f[_]+=(M?-1:1)*F.width),gf(gf({},h),{},t8({},p,F))},{})},bqe=function(e,n){var r=e.x,i=e.y,o=n.x,s=n.y;return{x:Math.min(r,o),y:Math.min(i,s),width:Math.abs(o-r),height:Math.abs(s-i)}},RNn=function(e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2;return bqe({x:n,y:r},{x:i,y:o})},wqe=function(){function t(e){ANn(this,t),this.scale=e}return PNn(t,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var s=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+s}case"end":{var a=this.bandwidth?this.bandwidth():0;return this.scale(n)+a}default:return this.scale(n)}if(i){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],o=r[r.length-1];return i<=o?n>=i&&n<=o:n>=o&&n<=i}}],[{key:"create",value:function(n){return new t(n)}}]),t}();t8(wqe,"EPS",1e-4);var _ue=function(e){var n=Object.keys(e).reduce(function(r,i){return gf(gf({},r),{},t8({},i,wqe.create(e[i])))},{});return gf(gf({},n),{},{apply:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.bandAware,a=o.position;return JFn(i,function(l,u){return n[u].apply(l,{bandAware:s,position:a})})},isInRange:function(i){return gqe(i,function(o,s){return n[s].isInRange(o)})}})};function DNn(t){return(t%180+180)%180}var INn=function(e){var n=e.width,r=e.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=DNn(i),s=o*Math.PI/180,a=Math.atan(r/n),l=s>a&&s-1?i[o?e[s]:s]:void 0}}var zNn=NNn,jNn=fqe;function BNn(t){var e=jNn(t),n=e%1;return e===e?n?e-n:e:0}var UNn=BNn,WNn=fHe,VNn=n0,GNn=UNn,HNn=Math.max;function qNn(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:GNn(n);return i<0&&(i=HNn(r+i,0)),WNn(t,VNn(e),i)}var XNn=qNn,YNn=zNn,QNn=XNn,KNn=YNn(QNn),ZNn=KNn;const JNn=on(ZNn);var e5n=C_n(function(t){return{x:t.left,y:t.top,width:t.width,height:t.height}},function(t){return["l",t.left,"t",t.top,"w",t.width,"h",t.height].join("")}),Sue=D.createContext(void 0),Cue=D.createContext(void 0),_qe=D.createContext(void 0),Sqe=D.createContext({}),Cqe=D.createContext(void 0),Oqe=D.createContext(0),Eqe=D.createContext(0),aCe=function(e){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,o=n.offset,s=e.clipPathId,a=e.children,l=e.width,u=e.height,c=e5n(o);return de.createElement(Sue.Provider,{value:r},de.createElement(Cue.Provider,{value:i},de.createElement(Sqe.Provider,{value:o},de.createElement(_qe.Provider,{value:c},de.createElement(Cqe.Provider,{value:s},de.createElement(Oqe.Provider,{value:u},de.createElement(Eqe.Provider,{value:l},a)))))))},t5n=function(){return D.useContext(Cqe)},Tqe=function(e){var n=D.useContext(Sue);n==null&&F1();var r=n[e];return r==null&&F1(),r},n5n=function(){var e=D.useContext(Sue);return ov(e)},r5n=function(){var e=D.useContext(Cue),n=JNn(e,function(r){return gqe(r.domain,Number.isFinite)});return n||ov(e)},kqe=function(e){var n=D.useContext(Cue);n==null&&F1();var r=n[e];return r==null&&F1(),r},i5n=function(){var e=D.useContext(_qe);return e},o5n=function(){return D.useContext(Sqe)},Oue=function(){return D.useContext(Eqe)},Eue=function(){return D.useContext(Oqe)};function JP(t){"@babel/helpers - typeof";return JP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},JP(t)}function lCe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function uCe(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt*i)return!1;var o=n();return t*(e-t*o/2-r)>=0&&t*(e+t*o/2-i)<=0}function E5n(t,e){return Aqe(t,e+1)}function T5n(t,e,n,r,i){for(var o=(r||[]).slice(),s=e.start,a=e.end,l=0,u=1,c=s,f=function(){var p=r==null?void 0:r[l];if(p===void 0)return{v:Aqe(r,u)};var g=l,m,v=function(){return m===void 0&&(m=n(p,g)),m},y=p.coordinate,x=l===0||Zz(t,y,v,c,a);x||(l=0,c=s,u+=1),x&&(c=y+t*(v()/2+i),l+=u)},d;u<=o.length;)if(d=f(),d)return d.v;return[]}function nM(t){"@babel/helpers - typeof";return nM=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nM(t)}function gCe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Ns(t){for(var e=1;e0?h.coordinate-m*t:h.coordinate})}else o[d]=h=Ns(Ns({},h),{},{tickCoord:h.coordinate});var v=Zz(t,h.tickCoord,g,a,l);v&&(l=h.tickCoord-t*(g()/2+i),o[d]=Ns(Ns({},h),{},{isShow:!0}))},c=s-1;c>=0;c--)u(c);return o}function R5n(t,e,n,r,i,o){var s=(r||[]).slice(),a=s.length,l=e.start,u=e.end;if(o){var c=r[a-1],f=n(c,a-1),d=t*(c.coordinate+t*f/2-u);s[a-1]=c=Ns(Ns({},c),{},{tickCoord:d>0?c.coordinate-d*t:c.coordinate});var h=Zz(t,c.tickCoord,function(){return f},l,u);h&&(u=c.tickCoord-t*(f/2+i),s[a-1]=Ns(Ns({},c),{},{isShow:!0}))}for(var p=o?a-1:a,g=function(y){var x=s[y],b,w=function(){return b===void 0&&(b=n(x,y)),b};if(y===0){var _=t*(x.coordinate-t*w()/2-l);s[y]=x=Ns(Ns({},x),{},{tickCoord:_<0?x.coordinate-_*t:x.coordinate})}else s[y]=x=Ns(Ns({},x),{},{tickCoord:x.coordinate});var S=Zz(t,x.tickCoord,w,l,u);S&&(l=x.tickCoord+t*(w()/2+i),s[y]=Ns(Ns({},x),{},{isShow:!0}))},m=0;m=2?Pf(i[1].coordinate-i[0].coordinate):1,v=O5n(o,m,h);return l==="equidistantPreserveStart"?T5n(m,v,g,i,s):(l==="preserveStart"||l==="preserveStartEnd"?d=R5n(m,v,g,i,s,l==="preserveStartEnd"):d=M5n(m,v,g,i,s),d.filter(function(y){return y.isShow}))}var D5n=["viewBox"],I5n=["viewBox"],L5n=["ticks"];function RC(t){"@babel/helpers - typeof";return RC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RC(t)}function v_(){return v_=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function $5n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function F5n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vCe(t,e){for(var n=0;n0?l(this.props):l(h)),s<=0||a<=0||!p||!p.length?null:de.createElement(Ur,{className:Oe("recharts-cartesian-axis",u),ref:function(m){r.layerReference=m}},o&&this.renderAxisLine(),this.renderTicks(p,this.state.fontSize,this.state.letterSpacing),Ws.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var s;return de.isValidElement(r)?s=de.cloneElement(r,i):mn(r)?s=r(i):s=de.createElement(Iz,v_({},i,{className:"recharts-cartesian-axis-tick-value"}),o),s}}]),e}(D.Component);kue(dE,"displayName","CartesianAxis");kue(dE,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var V5n=["x1","y1","x2","y2","key"],G5n=["offset"];function z1(t){"@babel/helpers - typeof";return z1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z1(t)}function yCe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function Vs(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Y5n(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}var Q5n=function(e){var n=e.fill;if(!n||n==="none")return null;var r=e.fillOpacity,i=e.x,o=e.y,s=e.width,a=e.height;return de.createElement("rect",{x:i,y:o,width:s,height:a,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function Rqe(t,e){var n;if(de.isValidElement(t))n=de.cloneElement(t,e);else if(mn(t))n=t(e);else{var r=e.x1,i=e.y1,o=e.x2,s=e.y2,a=e.key,l=xCe(e,V5n),u=pn(l,!1);u.offset;var c=xCe(u,G5n);n=de.createElement("line",yx({},c,{x1:r,y1:i,x2:o,y2:s,fill:"none",key:a}))}return n}function K5n(t){var e=t.x,n=t.width,r=t.horizontal,i=r===void 0?!0:r,o=t.horizontalPoints;if(!i||!o||!o.length)return null;var s=o.map(function(a,l){var u=Vs(Vs({},t),{},{x1:e,y1:a,x2:e+n,y2:a,key:"line-".concat(l),index:l});return Rqe(i,u)});return de.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}function Z5n(t){var e=t.y,n=t.height,r=t.vertical,i=r===void 0?!0:r,o=t.verticalPoints;if(!i||!o||!o.length)return null;var s=o.map(function(a,l){var u=Vs(Vs({},t),{},{x1:a,y1:e,x2:a,y2:e+n,key:"line-".concat(l),index:l});return Rqe(i,u)});return de.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}function J5n(t){var e=t.horizontalFill,n=t.fillOpacity,r=t.x,i=t.y,o=t.width,s=t.height,a=t.horizontalPoints,l=t.horizontal,u=l===void 0?!0:l;if(!u||!e||!e.length)return null;var c=a.map(function(d){return Math.round(d+i-i)}).sort(function(d,h){return d-h});i!==c[0]&&c.unshift(0);var f=c.map(function(d,h){var p=!c[h+1],g=p?i+s-d:c[h+1]-d;if(g<=0)return null;var m=h%e.length;return de.createElement("rect",{key:"react-".concat(h),y:d,x:r,height:g,width:o,stroke:"none",fill:e[m],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return de.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function ezn(t){var e=t.vertical,n=e===void 0?!0:e,r=t.verticalFill,i=t.fillOpacity,o=t.x,s=t.y,a=t.width,l=t.height,u=t.verticalPoints;if(!n||!r||!r.length)return null;var c=u.map(function(d){return Math.round(d+o-o)}).sort(function(d,h){return d-h});o!==c[0]&&c.unshift(0);var f=c.map(function(d,h){var p=!c[h+1],g=p?o+a-d:c[h+1]-d;if(g<=0)return null;var m=h%r.length;return de.createElement("rect",{key:"react-".concat(h),x:d,y:s,width:g,height:l,stroke:"none",fill:r[m],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return de.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var tzn=function(e,n){var r=e.xAxis,i=e.width,o=e.height,s=e.offset;return QHe(Tue(Vs(Vs(Vs({},dE.defaultProps),r),{},{ticks:Zp(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),s.left,s.left+s.width,n)},nzn=function(e,n){var r=e.yAxis,i=e.width,o=e.height,s=e.offset;return QHe(Tue(Vs(Vs(Vs({},dE.defaultProps),r),{},{ticks:Zp(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),s.top,s.top+s.height,n)},uw={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function Aue(t){var e,n,r,i,o,s,a=Oue(),l=Eue(),u=o5n(),c=Vs(Vs({},t),{},{stroke:(e=t.stroke)!==null&&e!==void 0?e:uw.stroke,fill:(n=t.fill)!==null&&n!==void 0?n:uw.fill,horizontal:(r=t.horizontal)!==null&&r!==void 0?r:uw.horizontal,horizontalFill:(i=t.horizontalFill)!==null&&i!==void 0?i:uw.horizontalFill,vertical:(o=t.vertical)!==null&&o!==void 0?o:uw.vertical,verticalFill:(s=t.verticalFill)!==null&&s!==void 0?s:uw.verticalFill,x:at(t.x)?t.x:u.left,y:at(t.y)?t.y:u.top,width:at(t.width)?t.width:u.width,height:at(t.height)?t.height:u.height}),f=c.x,d=c.y,h=c.width,p=c.height,g=c.syncWithTicks,m=c.horizontalValues,v=c.verticalValues,y=n5n(),x=r5n();if(!at(h)||h<=0||!at(p)||p<=0||!at(f)||f!==+f||!at(d)||d!==+d)return null;var b=c.verticalCoordinatesGenerator||tzn,w=c.horizontalCoordinatesGenerator||nzn,_=c.horizontalPoints,S=c.verticalPoints;if((!_||!_.length)&&mn(w)){var O=m&&m.length,k=w({yAxis:x?Vs(Vs({},x),{},{ticks:O?m:x.ticks}):void 0,width:a,height:l,offset:u},O?!0:g);gg(Array.isArray(k),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(z1(k),"]")),Array.isArray(k)&&(_=k)}if((!S||!S.length)&&mn(b)){var E=v&&v.length,M=b({xAxis:y?Vs(Vs({},y),{},{ticks:E?v:y.ticks}):void 0,width:a,height:l,offset:u},E?!0:g);gg(Array.isArray(M),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(z1(M),"]")),Array.isArray(M)&&(S=M)}return de.createElement("g",{className:"recharts-cartesian-grid"},de.createElement(Q5n,{fill:c.fill,fillOpacity:c.fillOpacity,x:c.x,y:c.y,width:c.width,height:c.height}),de.createElement(K5n,yx({},c,{offset:u,horizontalPoints:_,xAxis:y,yAxis:x})),de.createElement(Z5n,yx({},c,{offset:u,verticalPoints:S,xAxis:y,yAxis:x})),de.createElement(J5n,yx({},c,{horizontalPoints:_})),de.createElement(ezn,yx({},c,{verticalPoints:S})))}Aue.displayName="CartesianGrid";var rzn=["type","layout","connectNulls","ref"];function DC(t){"@babel/helpers - typeof";return DC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},DC(t)}function izn(t,e){if(t==null)return{};var n=ozn(t,e),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ozn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Mk(){return Mk=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nf){h=[].concat(cw(l.slice(0,p)),[f-g]);break}var m=h.length%2===0?[0,d]:[d];return[].concat(cw(e.repeat(l,c)),cw(h),m).map(function(v){return"".concat(v,"px")}).join(", ")}),mf(Im(n),"id",iE("recharts-line-")),mf(Im(n),"pathRef",function(s){n.mainCurve=s}),mf(Im(n),"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),mf(Im(n),"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return fzn(e,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,s=o.points,a=o.xAxis,l=o.yAxis,u=o.layout,c=o.children,f=yc(c,cE);if(!f)return null;var d=function(g,m){return{x:g.x,y:g.y,value:g.value,errorVal:Ma(g.payload,m)}},h={clipPath:r?"url(#clipPath-".concat(i,")"):null};return de.createElement(Ur,h,f.map(function(p){return de.cloneElement(p,{key:"bar-".concat(p.props.dataKey),data:s,xAxis:a,yAxis:l,layout:u,dataPointFormatter:d})}))}},{key:"renderDots",value:function(r,i,o){var s=this.props.isAnimationActive;if(s&&!this.state.isAnimationFinished)return null;var a=this.props,l=a.dot,u=a.points,c=a.dataKey,f=pn(this.props,!1),d=pn(l,!0),h=u.map(function(g,m){var v=Bl(Bl(Bl({key:"dot-".concat(m),r:3},f),d),{},{value:g.value,dataKey:c,cx:g.x,cy:g.y,index:m,payload:g.payload});return e.renderDotItem(l,v)}),p={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(o,")"):null};return de.createElement(Ur,Mk({className:"recharts-line-dots",key:"dots"},p),h)}},{key:"renderCurveStatically",value:function(r,i,o,s){var a=this.props,l=a.type,u=a.layout,c=a.connectNulls;a.ref;var f=izn(a,rzn),d=Bl(Bl(Bl({},pn(f,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(o,")"):null,points:r},s),{},{type:l,layout:u,connectNulls:c});return de.createElement(nS,Mk({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var o=this,s=this.props,a=s.points,l=s.strokeDasharray,u=s.isAnimationActive,c=s.animationBegin,f=s.animationDuration,d=s.animationEasing,h=s.animationId,p=s.animateNewValues,g=s.width,m=s.height,v=this.state,y=v.prevPoints,x=v.totalLength;return de.createElement(Lh,{begin:c,duration:f,isActive:u,easing:d,from:{t:0},to:{t:1},key:"line-".concat(h),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(b){var w=b.t;if(y){var _=y.length/a.length,S=a.map(function(A,P){var T=Math.floor(P*_);if(y[T]){var R=y[T],I=ls(R.x,A.x),B=ls(R.y,A.y);return Bl(Bl({},A),{},{x:I(w),y:B(w)})}if(p){var $=ls(g*2,A.x),z=ls(m/2,A.y);return Bl(Bl({},A),{},{x:$(w),y:z(w)})}return Bl(Bl({},A),{},{x:A.x,y:A.y})});return o.renderCurveStatically(S,r,i)}var O=ls(0,x),k=O(w),E;if(l){var M="".concat(l).split(/[,\s]+/gim).map(function(A){return parseFloat(A)});E=o.getStrokeDasharray(k,x,M)}else E=o.generateSimpleStrokeDasharray(x,k);return o.renderCurveStatically(a,r,i,{strokeDasharray:E})})}},{key:"renderCurve",value:function(r,i){var o=this.props,s=o.points,a=o.isAnimationActive,l=this.state,u=l.prevPoints,c=l.totalLength;return a&&s&&s.length&&(!u&&c>0||!kC(u,s))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(s,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,s=i.dot,a=i.points,l=i.className,u=i.xAxis,c=i.yAxis,f=i.top,d=i.left,h=i.width,p=i.height,g=i.isAnimationActive,m=i.id;if(o||!a||!a.length)return null;var v=this.state.isAnimationFinished,y=a.length===1,x=Oe("recharts-line",l),b=u&&u.allowDataOverflow,w=c&&c.allowDataOverflow,_=b||w,S=wn(m)?this.id:m,O=(r=pn(s,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},k=O.r,E=k===void 0?3:k,M=O.strokeWidth,A=M===void 0?2:M,P=NGe(s)?s:{},T=P.clipDot,R=T===void 0?!0:T,I=E*2+A;return de.createElement(Ur,{className:x},b||w?de.createElement("defs",null,de.createElement("clipPath",{id:"clipPath-".concat(S)},de.createElement("rect",{x:b?d:d-h/2,y:w?f:f-p/2,width:b?h:h*2,height:w?p:p*2})),!R&&de.createElement("clipPath",{id:"clipPath-dots-".concat(S)},de.createElement("rect",{x:d-I/2,y:f-I/2,width:h+I,height:p+I}))):null,!y&&this.renderCurve(_,S),this.renderErrorBar(_,S),(y||s)&&this.renderDots(_,R,S),(!g||v)&&vg.renderCallByParent(this.props,a))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var o=r.length%2!==0?[].concat(cw(r),[0]):r,s=[],a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function yzn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function xx(){return xx=Object.assign?Object.assign.bind():function(t){for(var e=1;e0||!kC(c,s)||!kC(f,a))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(s,a,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,s=i.dot,a=i.points,l=i.className,u=i.top,c=i.left,f=i.xAxis,d=i.yAxis,h=i.width,p=i.height,g=i.isAnimationActive,m=i.id;if(o||!a||!a.length)return null;var v=this.state.isAnimationFinished,y=a.length===1,x=Oe("recharts-area",l),b=f&&f.allowDataOverflow,w=d&&d.allowDataOverflow,_=b||w,S=wn(m)?this.id:m,O=(r=pn(s,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},k=O.r,E=k===void 0?3:k,M=O.strokeWidth,A=M===void 0?2:M,P=NGe(s)?s:{},T=P.clipDot,R=T===void 0?!0:T,I=E*2+A;return de.createElement(Ur,{className:x},b||w?de.createElement("defs",null,de.createElement("clipPath",{id:"clipPath-".concat(S)},de.createElement("rect",{x:b?c:c-h/2,y:w?u:u-p/2,width:b?h:h*2,height:w?p:p*2})),!R&&de.createElement("clipPath",{id:"clipPath-dots-".concat(S)},de.createElement("rect",{x:c-I/2,y:u-I/2,width:h+I,height:p+I}))):null,y?null:this.renderArea(_,S),(s||y)&&this.renderDots(_,R,S),(!g||v)&&vg.renderCallByParent(this.props,a))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}]),e}(D.PureComponent);Lqe=i0;rh(i0,"displayName","Area");rh(i0,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!bh.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});rh(i0,"getBaseValue",function(t,e,n,r){var i=t.layout,o=t.baseValue,s=e.props.baseValue,a=s??o;if(at(a)&&typeof a=="number")return a;var l=i==="horizontal"?r:n,u=l.scale.domain();if(l.type==="number"){var c=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return a==="dataMin"?f:a==="dataMax"||c<0?c:Math.max(Math.min(u[0],u[1]),0)}return a==="dataMin"?u[0]:a==="dataMax"?u[1]:u[0]});rh(i0,"getComposedData",function(t){var e=t.props,n=t.item,r=t.xAxis,i=t.yAxis,o=t.xAxisTicks,s=t.yAxisTicks,a=t.bandSize,l=t.dataKey,u=t.stackedData,c=t.dataStartIndex,f=t.displayedData,d=t.offset,h=e.layout,p=u&&u.length,g=Lqe.getBaseValue(e,n,r,i),m=h==="horizontal",v=!1,y=f.map(function(b,w){var _;p?_=u[c+w]:(_=Ma(b,l),Array.isArray(_)?v=!0:_=[g,_]);var S=_[1]==null||p&&Ma(b,l)==null;return m?{x:Fz({axis:r,ticks:o,bandSize:a,entry:b,index:w}),y:S?null:i.scale(_[1]),value:_,payload:b}:{x:S?null:r.scale(_[1]),y:Fz({axis:i,ticks:s,bandSize:a,entry:b,index:w}),value:_,payload:b}}),x;return p||v?x=y.map(function(b){var w=Array.isArray(b.value)?b.value[0]:null;return m?{x:b.x,y:w!=null&&b.y!=null?i.scale(w):null}:{x:w!=null?r.scale(w):null,y:b.y}}):x=m?i.scale(g):r.scale(g),Lm({points:y,baseLine:x,layout:h,isRange:v},d)});rh(i0,"renderDotItem",function(t,e){var n;if(de.isValidElement(t))n=de.cloneElement(t,e);else if(mn(t))n=t(e);else{var r=Oe("recharts-area-dot",typeof t!="boolean"?t.className:"");n=de.createElement(ZU,xx({},e,{className:r}))}return n});function CZ(){return CZ=Object.assign?Object.assign.bind():function(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function Xzn(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function Yzn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qzn(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n0?s:e&&e.length&&at(i)&&at(o)?e.slice(i,o+1):[]};function Gqe(t){return t==="number"?[0,"auto"]:void 0}var PZ=function(e,n,r,i){var o=e.graphicalItems,s=e.tooltipAxis,a=n8(n,e);return r<0||!o||!o.length||r>=a.length?null:o.reduce(function(l,u){var c,f=(c=u.props.data)!==null&&c!==void 0?c:n;f&&e.dataStartIndex+e.dataEndIndex!==0&&(f=f.slice(e.dataStartIndex,e.dataEndIndex+1));var d;if(s.dataKey&&!s.allowDuplicatedCategory){var h=f===void 0?a:f;d=Sz(h,s.dataKey,i)}else d=f&&f[r]||a[r];return d?[].concat($C(l),[ZHe(u,d)]):l},[])},ACe=function(e,n,r,i){var o=i||{x:e.chartX,y:e.chartY},s=ajn(o,r),a=e.orderedTooltipTicks,l=e.tooltipAxis,u=e.tooltipTicks,c=hIn(s,a,u,l);if(c>=0&&u){var f=u[c]&&u[c].value,d=PZ(e,n,c,f),h=ljn(r,a,c,o);return{activeTooltipIndex:c,activeLabel:f,activePayload:d,activeCoordinate:h}}return null},ujn=function(e,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,s=n.axisIdKey,a=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=e.layout,f=e.children,d=e.stackOffset,h=YHe(c,o);return r.reduce(function(p,g){var m,v=g.props,y=v.type,x=v.dataKey,b=v.allowDataOverflow,w=v.allowDuplicatedCategory,_=v.scale,S=v.ticks,O=v.includeHidden,k=g.props[s];if(p[k])return p;var E=n8(e.data,{graphicalItems:i.filter(function(N){return N.props[s]===k}),dataStartIndex:l,dataEndIndex:u}),M=E.length,A,P,T;$zn(g.props.domain,b,y)&&(A=ZK(g.props.domain,null,b),h&&(y==="number"||_!=="auto")&&(T=Ak(E,x,"category")));var R=Gqe(y);if(!A||A.length===0){var I,B=(I=g.props.domain)!==null&&I!==void 0?I:R;if(x){if(A=Ak(E,x,y),y==="category"&&h){var $=ySn(A);w&&$?(P=A,A=qz(0,M)):w||(A=sSe(B,A,g).reduce(function(N,F){return N.indexOf(F)>=0?N:[].concat($C(N),[F])},[]))}else if(y==="category")w?A=A.filter(function(N){return N!==""&&!wn(N)}):A=sSe(B,A,g).reduce(function(N,F){return N.indexOf(F)>=0||F===""||wn(F)?N:[].concat($C(N),[F])},[]);else if(y==="number"){var z=yIn(E,i.filter(function(N){return N.props[s]===k&&(O||!N.props.hide)}),x,o,c);z&&(A=z)}h&&(y==="number"||_!=="auto")&&(T=Ak(E,x,"category"))}else h?A=qz(0,M):a&&a[k]&&a[k].hasStack&&y==="number"?A=d==="expand"?[0,1]:KHe(a[k].stackGroups,l,u):A=XHe(E,i.filter(function(N){return N.props[s]===k&&(O||!N.props.hide)}),y,c,!0);if(y==="number")A=TZ(f,A,k,o,S),B&&(A=ZK(B,A,b));else if(y==="category"&&B){var L=B,j=A.every(function(N){return L.indexOf(N)>=0});j&&(A=L)}}return Ge(Ge({},p),{},Yt({},k,Ge(Ge({},g.props),{},{axisType:o,domain:A,categoricalDomain:T,duplicateDomain:P,originalDomain:(m=g.props.domain)!==null&&m!==void 0?m:R,isCategorical:h,layout:c})))},{})},cjn=function(e,n){var r=n.graphicalItems,i=n.Axis,o=n.axisType,s=n.axisIdKey,a=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=e.layout,f=e.children,d=n8(e.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:u}),h=d.length,p=YHe(c,o),g=-1;return r.reduce(function(m,v){var y=v.props[s],x=Gqe("number");if(!m[y]){g++;var b;return p?b=qz(0,h):a&&a[y]&&a[y].hasStack?(b=KHe(a[y].stackGroups,l,u),b=TZ(f,b,y,o)):(b=ZK(x,XHe(d,r.filter(function(w){return w.props[s]===y&&!w.props.hide}),"number",c),i.defaultProps.allowDataOverflow),b=TZ(f,b,y,o)),Ge(Ge({},m),{},Yt({},y,Ge(Ge({axisType:o},i.defaultProps),{},{hide:!0,orientation:vc(ojn,"".concat(o,".").concat(g%2),null),domain:b,originalDomain:x,isCategorical:p,layout:c})))}return m},{})},fjn=function(e,n){var r=n.axisType,i=r===void 0?"xAxis":r,o=n.AxisComp,s=n.graphicalItems,a=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=e.children,f="".concat(i,"Id"),d=yc(c,o),h={};return d&&d.length?h=ujn(e,{axes:d,graphicalItems:s,axisType:i,axisIdKey:f,stackGroups:a,dataStartIndex:l,dataEndIndex:u}):s&&s.length&&(h=cjn(e,{Axis:o,graphicalItems:s,axisType:i,axisIdKey:f,stackGroups:a,dataStartIndex:l,dataEndIndex:u})),h},djn=function(e){var n=ov(e),r=Zp(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:gue(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:Nz(n,r)}},PCe=function(e){var n=e.children,r=e.defaultShowTooltip,i=Yl(n,N1),o=0,s=0;return e.data&&e.data.length!==0&&(s=e.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(o=i.props.startIndex),i.props.endIndex>=0&&(s=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:s,activeTooltipIndex:-1,isTooltipActive:!!r}},hjn=function(e){return!e||!e.length?!1:e.some(function(n){var r=pg(n&&n.type);return r&&r.indexOf("Bar")>=0})},MCe=function(e){return e==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:e==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:e==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},pjn=function(e,n){var r=e.props,i=e.graphicalItems,o=e.xAxisMap,s=o===void 0?{}:o,a=e.yAxisMap,l=a===void 0?{}:a,u=r.width,c=r.height,f=r.children,d=r.margin||{},h=Yl(f,N1),p=Yl(f,OC),g=Object.keys(l).reduce(function(w,_){var S=l[_],O=S.orientation;return!S.mirror&&!S.hide?Ge(Ge({},w),{},Yt({},O,w[O]+S.width)):w},{left:d.left||0,right:d.right||0}),m=Object.keys(s).reduce(function(w,_){var S=s[_],O=S.orientation;return!S.mirror&&!S.hide?Ge(Ge({},w),{},Yt({},O,vc(w,"".concat(O))+S.height)):w},{top:d.top||0,bottom:d.bottom||0}),v=Ge(Ge({},m),g),y=v.bottom;h&&(v.bottom+=h.props.height||N1.defaultProps.height),p&&n&&(v=mIn(v,i,r,n));var x=u-v.left-v.right,b=c-v.top-v.bottom;return Ge(Ge({brushBottom:y},v),{},{width:Math.max(x,0),height:Math.max(b,0)})},gjn=function(e,n){if(n==="xAxis")return e[n].width;if(n==="yAxis")return e[n].height},Pue=function(e){var n,r=e.chartName,i=e.GraphicalChild,o=e.defaultTooltipEventType,s=o===void 0?"axis":o,a=e.validateTooltipEventTypes,l=a===void 0?["axis"]:a,u=e.axisComponents,c=e.legendContent,f=e.formatAxisMap,d=e.defaultProps,h=function(m,v){var y=v.graphicalItems,x=v.stackGroups,b=v.offset,w=v.updateId,_=v.dataStartIndex,S=v.dataEndIndex,O=m.barSize,k=m.layout,E=m.barGap,M=m.barCategoryGap,A=m.maxBarSize,P=MCe(k),T=P.numericAxisName,R=P.cateAxisName,I=hjn(y),B=[];return y.forEach(function($,z){var L=n8(m.data,{graphicalItems:[$],dataStartIndex:_,dataEndIndex:S}),j=$.props,N=j.dataKey,F=j.maxBarSize,H=$.props["".concat(T,"Id")],q=$.props["".concat(R,"Id")],Y={},le=u.reduce(function(he,xe){var G=v["".concat(xe.axisType,"Map")],W=$.props["".concat(xe.axisType,"Id")];G&&G[W]||xe.axisType==="zAxis"||F1();var J=G[W];return Ge(Ge({},he),{},Yt(Yt({},xe.axisType,J),"".concat(xe.axisType,"Ticks"),Zp(J)))},Y),K=le[R],ee=le["".concat(R,"Ticks")],re=x&&x[H]&&x[H].hasStack&&PIn($,x[H].stackGroups),ge=pg($.type).indexOf("Bar")>=0,te=Nz(K,ee),ae=[],U=I&&pIn({barSize:O,stackGroups:x,totalSize:gjn(le,R)});if(ge){var oe,ne,V=wn(F)?A:F,X=(oe=(ne=Nz(K,ee,!0))!==null&&ne!==void 0?ne:V)!==null&&oe!==void 0?oe:0;ae=gIn({barGap:E,barCategoryGap:M,bandSize:X!==te?X:te,sizeList:U[q],maxBarSize:V}),X!==te&&(ae=ae.map(function(he){return Ge(Ge({},he),{},{position:Ge(Ge({},he.position),{},{offset:he.position.offset-X/2})})}))}var Z=$&&$.type&&$.type.getComposedData;Z&&B.push({props:Ge(Ge({},Z(Ge(Ge({},le),{},{displayedData:L,props:m,dataKey:N,item:$,bandSize:te,barPosition:ae,offset:b,stackedData:re,layout:k,dataStartIndex:_,dataEndIndex:S}))),{},Yt(Yt(Yt({key:$.key||"item-".concat(z)},T,le[T]),R,le[R]),"animationId",w)),childIndex:ASn($,m.children),item:$})}),B},p=function(m,v){var y=m.props,x=m.dataStartIndex,b=m.dataEndIndex,w=m.updateId;if(!Bwe({props:y}))return null;var _=y.children,S=y.layout,O=y.stackOffset,k=y.data,E=y.reverseStackOrder,M=MCe(S),A=M.numericAxisName,P=M.cateAxisName,T=yc(_,i),R=TIn(k,T,"".concat(A,"Id"),"".concat(P,"Id"),O,E),I=u.reduce(function(j,N){var F="".concat(N.axisType,"Map");return Ge(Ge({},j),{},Yt({},F,fjn(y,Ge(Ge({},N),{},{graphicalItems:T,stackGroups:N.axisType===A&&R,dataStartIndex:x,dataEndIndex:b}))))},{}),B=pjn(Ge(Ge({},I),{},{props:y,graphicalItems:T}),v==null?void 0:v.legendBBox);Object.keys(I).forEach(function(j){I[j]=f(y,I[j],B,j.replace("Map",""),r)});var $=I["".concat(P,"Map")],z=djn($),L=h(y,Ge(Ge({},I),{},{dataStartIndex:x,dataEndIndex:b,updateId:w,graphicalItems:T,stackGroups:R,offset:B}));return Ge(Ge({formattedGraphicalItems:L,graphicalItems:T,offset:B,stackGroups:R},z),I)};return n=function(g){ejn(m,g);function m(v){var y,x,b;return Yzn(this,m),b=Zzn(this,m,[v]),Yt(Wn(b),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),Yt(Wn(b),"accessibilityManager",new Lzn),Yt(Wn(b),"handleLegendBBoxUpdate",function(w){if(w){var _=b.state,S=_.dataStartIndex,O=_.dataEndIndex,k=_.updateId;b.setState(Ge({legendBBox:w},p({props:b.props,dataStartIndex:S,dataEndIndex:O,updateId:k},Ge(Ge({},b.state),{},{legendBBox:w}))))}}),Yt(Wn(b),"handleReceiveSyncEvent",function(w,_,S){if(b.props.syncId===w){if(S===b.eventEmitterSymbol&&typeof b.props.syncMethod!="function")return;b.applySyncEvent(_)}}),Yt(Wn(b),"handleBrushChange",function(w){var _=w.startIndex,S=w.endIndex;if(_!==b.state.dataStartIndex||S!==b.state.dataEndIndex){var O=b.state.updateId;b.setState(function(){return Ge({dataStartIndex:_,dataEndIndex:S},p({props:b.props,dataStartIndex:_,dataEndIndex:S,updateId:O},b.state))}),b.triggerSyncEvent({dataStartIndex:_,dataEndIndex:S})}}),Yt(Wn(b),"handleMouseEnter",function(w){var _=b.getMouseInfo(w);if(_){var S=Ge(Ge({},_),{},{isTooltipActive:!0});b.setState(S),b.triggerSyncEvent(S);var O=b.props.onMouseEnter;mn(O)&&O(S,w)}}),Yt(Wn(b),"triggeredAfterMouseMove",function(w){var _=b.getMouseInfo(w),S=_?Ge(Ge({},_),{},{isTooltipActive:!0}):{isTooltipActive:!1};b.setState(S),b.triggerSyncEvent(S);var O=b.props.onMouseMove;mn(O)&&O(S,w)}),Yt(Wn(b),"handleItemMouseEnter",function(w){b.setState(function(){return{isTooltipActive:!0,activeItem:w,activePayload:w.tooltipPayload,activeCoordinate:w.tooltipPosition||{x:w.cx,y:w.cy}}})}),Yt(Wn(b),"handleItemMouseLeave",function(){b.setState(function(){return{isTooltipActive:!1}})}),Yt(Wn(b),"handleMouseMove",function(w){w.persist(),b.throttleTriggeredAfterMouseMove(w)}),Yt(Wn(b),"handleMouseLeave",function(w){b.throttleTriggeredAfterMouseMove.cancel();var _={isTooltipActive:!1};b.setState(_),b.triggerSyncEvent(_);var S=b.props.onMouseLeave;mn(S)&&S(_,w)}),Yt(Wn(b),"handleOuterEvent",function(w){var _=kSn(w),S=vc(b.props,"".concat(_));if(_&&mn(S)){var O,k;/.*touch.*/i.test(_)?k=b.getMouseInfo(w.changedTouches[0]):k=b.getMouseInfo(w),S((O=k)!==null&&O!==void 0?O:{},w)}}),Yt(Wn(b),"handleClick",function(w){var _=b.getMouseInfo(w);if(_){var S=Ge(Ge({},_),{},{isTooltipActive:!0});b.setState(S),b.triggerSyncEvent(S);var O=b.props.onClick;mn(O)&&O(S,w)}}),Yt(Wn(b),"handleMouseDown",function(w){var _=b.props.onMouseDown;if(mn(_)){var S=b.getMouseInfo(w);_(S,w)}}),Yt(Wn(b),"handleMouseUp",function(w){var _=b.props.onMouseUp;if(mn(_)){var S=b.getMouseInfo(w);_(S,w)}}),Yt(Wn(b),"handleTouchMove",function(w){w.changedTouches!=null&&w.changedTouches.length>0&&b.throttleTriggeredAfterMouseMove(w.changedTouches[0])}),Yt(Wn(b),"handleTouchStart",function(w){w.changedTouches!=null&&w.changedTouches.length>0&&b.handleMouseDown(w.changedTouches[0])}),Yt(Wn(b),"handleTouchEnd",function(w){w.changedTouches!=null&&w.changedTouches.length>0&&b.handleMouseUp(w.changedTouches[0])}),Yt(Wn(b),"triggerSyncEvent",function(w){b.props.syncId!==void 0&&I7.emit(L7,b.props.syncId,w,b.eventEmitterSymbol)}),Yt(Wn(b),"applySyncEvent",function(w){var _=b.props,S=_.layout,O=_.syncMethod,k=b.state.updateId,E=w.dataStartIndex,M=w.dataEndIndex;if(w.dataStartIndex!==void 0||w.dataEndIndex!==void 0)b.setState(Ge({dataStartIndex:E,dataEndIndex:M},p({props:b.props,dataStartIndex:E,dataEndIndex:M,updateId:k},b.state)));else if(w.activeTooltipIndex!==void 0){var A=w.chartX,P=w.chartY,T=w.activeTooltipIndex,R=b.state,I=R.offset,B=R.tooltipTicks;if(!I)return;if(typeof O=="function")T=O(B,w);else if(O==="value"){T=-1;for(var $=0;$=0){var re,ge;if(A.dataKey&&!A.allowDuplicatedCategory){var te=typeof A.dataKey=="function"?ee:"payload.".concat(A.dataKey.toString());re=Sz($,te,T),ge=z&&L&&Sz(L,te,T)}else re=$==null?void 0:$[P],ge=z&&L&&L[P];if(q||H){var ae=w.props.activeIndex!==void 0?w.props.activeIndex:P;return[D.cloneElement(w,Ge(Ge(Ge({},O.props),le),{},{activeIndex:ae})),null,null]}if(!wn(re))return[K].concat($C(b.renderActivePoints({item:O,activePoint:re,basePoint:ge,childIndex:P,isRange:z})))}else{var U,oe=(U=b.getItemByXY(b.state.activeCoordinate))!==null&&U!==void 0?U:{graphicalItem:K},ne=oe.graphicalItem,V=ne.item,X=V===void 0?w:V,Z=ne.childIndex,he=Ge(Ge(Ge({},O.props),le),{},{activeIndex:Z});return[D.cloneElement(X,he),null,null]}return z?[K,null,null]:[K,null]}),Yt(Wn(b),"renderCustomized",function(w,_,S){return D.cloneElement(w,Ge(Ge({key:"recharts-customized-".concat(S)},b.props),b.state))}),Yt(Wn(b),"renderMap",{CartesianGrid:{handler:n$,once:!0},ReferenceArea:{handler:b.renderReferenceElement},ReferenceLine:{handler:n$},ReferenceDot:{handler:b.renderReferenceElement},XAxis:{handler:n$},YAxis:{handler:n$},Brush:{handler:b.renderBrush,once:!0},Bar:{handler:b.renderGraphicChild},Line:{handler:b.renderGraphicChild},Area:{handler:b.renderGraphicChild},Radar:{handler:b.renderGraphicChild},RadialBar:{handler:b.renderGraphicChild},Scatter:{handler:b.renderGraphicChild},Pie:{handler:b.renderGraphicChild},Funnel:{handler:b.renderGraphicChild},Tooltip:{handler:b.renderCursor,once:!0},PolarGrid:{handler:b.renderPolarGrid,once:!0},PolarAngleAxis:{handler:b.renderPolarAxis},PolarRadiusAxis:{handler:b.renderPolarAxis},Customized:{handler:b.renderCustomized}}),b.clipPathId="".concat((y=v.id)!==null&&y!==void 0?y:iE("recharts"),"-clip"),b.throttleTriggeredAfterMouseMove=EHe(b.triggeredAfterMouseMove,(x=v.throttleDelay)!==null&&x!==void 0?x:1e3/60),b.state={},b}return Kzn(m,[{key:"componentDidMount",value:function(){var y,x;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(x=this.props.margin.top)!==null&&x!==void 0?x:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var y=this.props,x=y.children,b=y.data,w=y.height,_=y.layout,S=Yl(x,Md);if(S){var O=S.props.defaultIndex;if(!(typeof O!="number"||O<0||O>this.state.tooltipTicks.length)){var k=this.state.tooltipTicks[O]&&this.state.tooltipTicks[O].value,E=PZ(this.state,b,O,k),M=this.state.tooltipTicks[O].coordinate,A=(this.state.offset.top+w)/2,P=_==="horizontal",T=P?{x:M,y:A}:{y:M,x:A},R=this.state.formattedGraphicalItems.find(function(B){var $=B.item;return $.type.name==="Scatter"});R&&(T=Ge(Ge({},T),R.props.points[O].tooltipPosition),E=R.props.points[O].tooltipPayload);var I={activeTooltipIndex:O,isTooltipActive:!0,activeLabel:k,activePayload:E,activeCoordinate:T};this.setState(I),this.renderCursor(S),this.accessibilityManager.setIndex(O)}}}},{key:"getSnapshotBeforeUpdate",value:function(y,x){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==x.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var b,w;this.accessibilityManager.setDetails({offset:{left:(b=this.props.margin.left)!==null&&b!==void 0?b:0,top:(w=this.props.margin.top)!==null&&w!==void 0?w:0}})}return null}},{key:"componentDidUpdate",value:function(y){CK([Yl(y.children,Md)],[Yl(this.props.children,Md)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=Yl(this.props.children,Md);if(y&&typeof y.props.shared=="boolean"){var x=y.props.shared?"axis":"item";return l.indexOf(x)>=0?x:s}return s}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var x=this.container,b=x.getBoundingClientRect(),w=bRn(b),_={chartX:Math.round(y.pageX-w.left),chartY:Math.round(y.pageY-w.top)},S=b.width/x.offsetWidth||1,O=this.inRange(_.chartX,_.chartY,S);if(!O)return null;var k=this.state,E=k.xAxisMap,M=k.yAxisMap,A=this.getTooltipEventType();if(A!=="axis"&&E&&M){var P=ov(E).scale,T=ov(M).scale,R=P&&P.invert?P.invert(_.chartX):null,I=T&&T.invert?T.invert(_.chartY):null;return Ge(Ge({},_),{},{xValue:R,yValue:I})}var B=ACe(this.state,this.props.data,this.props.layout,O);return B?Ge(Ge({},_),B):null}},{key:"inRange",value:function(y,x){var b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,w=this.props.layout,_=y/b,S=x/b;if(w==="horizontal"||w==="vertical"){var O=this.state.offset,k=_>=O.left&&_<=O.left+O.width&&S>=O.top&&S<=O.top+O.height;return k?{x:_,y:S}:null}var E=this.state,M=E.angleAxisMap,A=E.radiusAxisMap;if(M&&A){var P=ov(M);return uSe({x:_,y:S},P)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,x=this.getTooltipEventType(),b=Yl(y,Md),w={};b&&x==="axis"&&(b.props.trigger==="click"?w={onClick:this.handleClick}:w={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var _=Cz(this.props,this.handleOuterEvent);return Ge(Ge({},_),w)}},{key:"addListener",value:function(){I7.on(L7,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){I7.removeListener(L7,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,x,b){for(var w=this.state.formattedGraphicalItems,_=0,S=w.length;_!vr(t)||!Number.isFinite(t)?"":xA(t),bjn=t=>t.toPrecision(3),F7={legendContainer:{display:"flex",justifyContent:"center",columnGap:"12px",flexWrap:"wrap"},legendItem:{display:"flex",alignItems:"center"},legendCloseIcon:{marginLeft:"4px",cursor:"pointer",display:"flex",alignItems:"center"}};function wjn({payload:t,removeTimeSeries:e}){return!t||t.length===0?null:C.jsx(ot,{sx:F7.legendContainer,children:t.map((n,r)=>C.jsxs(ot,{sx:{...F7.legendItem,color:n.color},children:[C.jsx("span",{children:n.value}),e&&C.jsx(ot,{component:"span",sx:F7.legendCloseIcon,onMouseUp:()=>e(r),children:C.jsx(vU,{fontSize:"small"})})]},n.value))})}const N7={toolTipContainer:t=>({backgroundColor:"black",opacity:.8,color:"white",border:"2px solid black",borderRadius:t.spacing(2),padding:t.spacing(1.5)}),toolTipValue:{fontWeight:"bold"},toolTipLabel:t=>({fontWeight:"bold",paddingBottom:t.spacing(1)})},_jn="#00000000",Sjn="#FAFFDD";function Cjn({active:t,label:e,payload:n}){if(!t||!vr(e)||!n||n.length===0)return null;const r=n.map((i,o)=>{const{name:s,value:a,unit:l,dataKey:u}=i;let c=i.color;if(!vr(a))return null;const f=s||"?",d=a.toFixed(3);c===_jn&&(c=Sjn);let p=f.indexOf(":")!==-1?"":` (${u})`;return typeof l=="string"&&(p!==""?p=`${l} ${p}`:p=l),C.jsxs("div",{children:[C.jsxs("span",{children:[f,": "]}),C.jsx(ot,{component:"span",sx:N7.toolTipValue,style:{color:c},children:d}),C.jsxs("span",{children:[" ",p]})]},o)});return r?C.jsxs(ot,{sx:N7.toolTipContainer,children:[C.jsx(ot,{component:"span",sx:N7.toolTipLabel,children:`${aO(e)} UTC`}),r]}):null}function RCe({cx:t,cy:e,radius:n,stroke:r,fill:i,strokeWidth:o,symbol:s}){const l=n+.5*o,u=2*l,c=Math.floor(100*o/u+.5)+"%";let f;if(s==="diamond"){const g=1024*(n/u);f=C.jsx("polygon",{points:`${512-g},512 512,${512-g} ${512+g},512 512,${512+g}`,strokeWidth:c,stroke:r,fill:i})}else{const d=Math.floor(100*n/u+.5)+"%";f=C.jsx("circle",{cx:"50%",cy:"50%",r:d,strokeWidth:c,stroke:r,fill:i})}return vr(t)&&vr(e)?C.jsx("svg",{x:t-l,y:e-l,width:u,height:u,viewBox:"0 0 1024 1024",children:f}):null}function Ojn({timeSeriesGroup:t,timeSeriesIndex:e,selectTimeSeries:n,places:r,selectPlace:i,placeInfos:o,placeGroupTimeSeries:s,paletteMode:a,chartType:l,stdevBars:u}){const c=t.timeSeriesArray[e],f=c.source,d=()=>{n&&n(t.id,e,c),i(c.source.placeId,r,!0)};let h=f.variableName,p="red";if(f.placeId===null){h=`${f.datasetTitle}/${h}`;let x=null;s.forEach(b=>{if(x===null&&b.placeGroup.id===f.datasetId){const w=b.placeGroup.features;w.length>0&&w[0].properties&&(x=w[0].properties.color||null)}}),p=x||"red"}else if(o){const x=o[f.placeId];if(x){const{place:b,label:w,color:_}=x;if(b.geometry.type==="Point"){const S=b.geometry.coordinates[0],O=b.geometry.coordinates[1];h+=` (${w}: ${O.toFixed(5)},${S.toFixed(5)})`}else h+=` (${w})`;p=_}}const g=tPe(p,a);let m,v;c.source.placeId===null?(m=0,v={radius:5,strokeWidth:1.5,symbol:"diamond"}):(m=l==="point"?0:c.dataProgress,v={radius:3,strokeWidth:2,symbol:"circle"});const y=u&&f.valueDataKey&&f.errorDataKey&&C.jsx(cE,{dataKey:`ev${e}`,width:4,strokeWidth:1,stroke:g,strokeOpacity:.5});return l==="bar"?C.jsx(Ob,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,fill:g,fillOpacity:m,isAnimationActive:!1,onClick:d,children:y},e):C.jsx(xD,{type:"monotone",name:h,unit:f.variableUnits,dataKey:`v${e}`,dot:C.jsx(RCe,{...v,stroke:g,fill:"white"}),activeDot:C.jsx(RCe,{...v,stroke:"white",fill:g}),stroke:g,strokeOpacity:m,isAnimationActive:!1,onClick:d,children:y},e)}const Ejn=ut(C.jsx("path",{d:"M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18z"}),"AspectRatio"),Tjn=ut(C.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),kjn=ut(C.jsx("path",{d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4zM18 14H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Comment"),Ajn=ut(C.jsx("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand"),Pjn=ut(C.jsx("path",{d:"M17 4h3c1.1 0 2 .9 2 2v2h-2V6h-3zM4 8V6h3V4H4c-1.1 0-2 .9-2 2v2zm16 8v2h-3v2h3c1.1 0 2-.9 2-2v-2zM7 18H4v-2H2v2c0 1.1.9 2 2 2h3zM18 8H6v8h12z"}),"FitScreen"),Hqe=ut(C.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M5.5 7.5h2v-2H9v2h2V9H9v2H7.5V9h-2zM19 19H5L19 5zm-2-2v-1.5h-5V17z"}),"Iso"),Mjn=ut([C.jsx("circle",{cx:"7",cy:"14",r:"3"},"0"),C.jsx("circle",{cx:"11",cy:"6",r:"3"},"1"),C.jsx("circle",{cx:"16.6",cy:"17.6",r:"3"},"2")],"ScatterPlot"),Rjn=ut(C.jsx("path",{d:"m3.5 18.49 6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z"}),"ShowChart"),Djn=ut([C.jsx("circle",{cx:"12",cy:"12",r:"3.2"},"0"),C.jsx("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"CameraAlt");function Ijn(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),i=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(i),e&&(r.href=e),i.href=t,i.href}const Ljn=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function yg(t){const e=[];for(let n=0,r=t.length;nLl||t.height>Ll)&&(t.width>Ll&&t.height>Ll?t.width>t.height?(t.height*=Ll/t.width,t.width=Ll):(t.width*=Ll/t.height,t.height=Ll):t.width>Ll?(t.height*=Ll/t.width,t.width=Ll):(t.width*=Ll/t.height,t.height=Ll))}function ij(t){return new Promise((e,n)=>{const r=new Image;r.decode=()=>e(r),r.onload=()=>e(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=t})}async function jjn(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function Bjn(t,e,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${e}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${e} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(t),jjn(i)}const vl=(t,e)=>{if(t instanceof e)return!0;const n=Object.getPrototypeOf(t);return n===null?!1:n.constructor.name===e.name||vl(n,e)};function Ujn(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function Wjn(t){return yg(t).map(e=>{const n=t.getPropertyValue(e),r=t.getPropertyPriority(e);return`${e}: ${n}${r?" !important":""};`}).join(" ")}function Vjn(t,e,n){const r=`.${t}:${e}`,i=n.cssText?Ujn(n):Wjn(n);return document.createTextNode(`${r}{${i}}`)}function DCe(t,e,n){const r=window.getComputedStyle(t,n),i=r.getPropertyValue("content");if(i===""||i==="none")return;const o=Ljn();try{e.className=`${e.className} ${o}`}catch{return}const s=document.createElement("style");s.appendChild(Vjn(o,n,r)),e.appendChild(s)}function Gjn(t,e){DCe(t,e,":before"),DCe(t,e,":after")}const ICe="application/font-woff",LCe="image/jpeg",Hjn={woff:ICe,woff2:ICe,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:LCe,jpeg:LCe,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function qjn(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function Mue(t){const e=qjn(t).toLowerCase();return Hjn[e]||""}function Xjn(t){return t.split(/,/)[1]}function MZ(t){return t.search(/^(data:)/)!==-1}function Yjn(t,e){return`data:${e};base64,${t}`}async function Xqe(t,e,n){const r=await fetch(t,e);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise((o,s)=>{const a=new FileReader;a.onerror=s,a.onloadend=()=>{try{o(n({res:r,result:a.result}))}catch(l){s(l)}},a.readAsDataURL(i)})}const z7={};function Qjn(t,e,n){let r=t.replace(/\?.*/,"");return n&&(r=t),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),e?`[${e}]${r}`:r}async function Rue(t,e,n){const r=Qjn(t,e,n.includeQueryParams);if(z7[r]!=null)return z7[r];n.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let i;try{const o=await Xqe(t,n.fetchRequestInit,({res:s,result:a})=>(e||(e=s.headers.get("Content-Type")||""),Xjn(a)));i=Yjn(o,e)}catch(o){i=n.imagePlaceholder||"";let s=`Failed to fetch resource: ${t}`;o&&(s=typeof o=="string"?o:o.message),s&&console.warn(s)}return z7[r]=i,i}async function Kjn(t){const e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):ij(e)}async function Zjn(t,e){if(t.currentSrc){const o=document.createElement("canvas"),s=o.getContext("2d");o.width=t.clientWidth,o.height=t.clientHeight,s==null||s.drawImage(t,0,0,o.width,o.height);const a=o.toDataURL();return ij(a)}const n=t.poster,r=Mue(n),i=await Rue(n,r,e);return ij(i)}async function Jjn(t){var e;try{if(!((e=t==null?void 0:t.contentDocument)===null||e===void 0)&&e.body)return await r8(t.contentDocument.body,{},!0)}catch{}return t.cloneNode(!1)}async function e4n(t,e){return vl(t,HTMLCanvasElement)?Kjn(t):vl(t,HTMLVideoElement)?Zjn(t,e):vl(t,HTMLIFrameElement)?Jjn(t):t.cloneNode(!1)}const t4n=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT";async function n4n(t,e,n){var r,i;let o=[];return t4n(t)&&t.assignedNodes?o=yg(t.assignedNodes()):vl(t,HTMLIFrameElement)&&(!((r=t.contentDocument)===null||r===void 0)&&r.body)?o=yg(t.contentDocument.body.childNodes):o=yg(((i=t.shadowRoot)!==null&&i!==void 0?i:t).childNodes),o.length===0||vl(t,HTMLVideoElement)||await o.reduce((s,a)=>s.then(()=>r8(a,n)).then(l=>{l&&e.appendChild(l)}),Promise.resolve()),e}function r4n(t,e){const n=e.style;if(!n)return;const r=window.getComputedStyle(t);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):yg(r).forEach(i=>{let o=r.getPropertyValue(i);i==="font-size"&&o.endsWith("px")&&(o=`${Math.floor(parseFloat(o.substring(0,o.length-2)))-.1}px`),vl(t,HTMLIFrameElement)&&i==="display"&&o==="inline"&&(o="block"),i==="d"&&e.getAttribute("d")&&(o=`path(${e.getAttribute("d")})`),n.setProperty(i,o,r.getPropertyPriority(i))})}function i4n(t,e){vl(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),vl(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function o4n(t,e){if(vl(t,HTMLSelectElement)){const n=e,r=Array.from(n.children).find(i=>t.value===i.getAttribute("value"));r&&r.setAttribute("selected","")}}function s4n(t,e){return vl(e,Element)&&(r4n(t,e),Gjn(t,e),i4n(t,e),o4n(t,e)),e}async function a4n(t,e){const n=t.querySelectorAll?t.querySelectorAll("use"):[];if(n.length===0)return t;const r={};for(let o=0;oe4n(r,e)).then(r=>n4n(t,r,e)).then(r=>s4n(t,r)).then(r=>a4n(r,e))}const Yqe=/url\((['"]?)([^'"]+?)\1\)/g,l4n=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,u4n=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function c4n(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function f4n(t){const e=[];return t.replace(Yqe,(n,r,i)=>(e.push(i),n)),e.filter(n=>!MZ(n))}async function d4n(t,e,n,r,i){try{const o=n?Ijn(e,n):e,s=Mue(e);let a;return i||(a=await Rue(o,s,r)),t.replace(c4n(e),`$1${a}$3`)}catch{}return t}function h4n(t,{preferredFontFormat:e}){return e?t.replace(u4n,n=>{for(;;){const[r,,i]=l4n.exec(n)||[];if(!i)return"";if(i===e)return`src: ${r};`}}):t}function Qqe(t){return t.search(Yqe)!==-1}async function Kqe(t,e,n){if(!Qqe(t))return t;const r=h4n(t,n);return f4n(r).reduce((o,s)=>o.then(a=>d4n(a,s,e,n)),Promise.resolve(r))}async function r$(t,e,n){var r;const i=(r=e.style)===null||r===void 0?void 0:r.getPropertyValue(t);if(i){const o=await Kqe(i,null,n);return e.style.setProperty(t,o,e.style.getPropertyPriority(t)),!0}return!1}async function p4n(t,e){await r$("background",t,e)||await r$("background-image",t,e),await r$("mask",t,e)||await r$("mask-image",t,e)}async function g4n(t,e){const n=vl(t,HTMLImageElement);if(!(n&&!MZ(t.src))&&!(vl(t,SVGImageElement)&&!MZ(t.href.baseVal)))return;const r=n?t.src:t.href.baseVal,i=await Rue(r,Mue(r),e);await new Promise((o,s)=>{t.onload=o,t.onerror=s;const a=t;a.decode&&(a.decode=o),a.loading==="lazy"&&(a.loading="eager"),n?(t.srcset="",t.src=i):t.href.baseVal=i})}async function m4n(t,e){const r=yg(t.childNodes).map(i=>Zqe(i,e));await Promise.all(r).then(()=>t)}async function Zqe(t,e){vl(t,Element)&&(await p4n(t,e),await g4n(t,e),await m4n(t,e))}function v4n(t,e){const{style:n}=t;e.backgroundColor&&(n.backgroundColor=e.backgroundColor),e.width&&(n.width=`${e.width}px`),e.height&&(n.height=`${e.height}px`);const r=e.style;return r!=null&&Object.keys(r).forEach(i=>{n[i]=r[i]}),t}const $Ce={};async function FCe(t){let e=$Ce[t];if(e!=null)return e;const r=await(await fetch(t)).text();return e={url:t,cssText:r},$Ce[t]=e,e}async function NCe(t,e){let n=t.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map(async s=>{let a=s.replace(r,"$1");return a.startsWith("https://")||(a=new URL(a,t.url).href),Xqe(a,e.fetchRequestInit,({result:l})=>(n=n.replace(s,`url(${l})`),[s,l]))});return Promise.all(o).then(()=>n)}function zCe(t){if(t==null)return[];const e=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=t.replace(n,"");const i=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=i.exec(r);if(l===null)break;e.push(l[0])}r=r.replace(i,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,s="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",a=new RegExp(s,"gi");for(;;){let l=o.exec(r);if(l===null){if(l=a.exec(r),l===null)break;o.lastIndex=a.lastIndex}else a.lastIndex=o.lastIndex;e.push(l[0])}return e}async function y4n(t,e){const n=[],r=[];return t.forEach(i=>{if("cssRules"in i)try{yg(i.cssRules||[]).forEach((o,s)=>{if(o.type===CSSRule.IMPORT_RULE){let a=s+1;const l=o.href,u=FCe(l).then(c=>NCe(c,e)).then(c=>zCe(c).forEach(f=>{try{i.insertRule(f,f.startsWith("@import")?a+=1:i.cssRules.length)}catch(d){console.error("Error inserting rule from remote css",{rule:f,error:d})}})).catch(c=>{console.error("Error loading remote css",c.toString())});r.push(u)}})}catch(o){const s=t.find(a=>a.href==null)||document.styleSheets[0];i.href!=null&&r.push(FCe(i.href).then(a=>NCe(a,e)).then(a=>zCe(a).forEach(l=>{s.insertRule(l,i.cssRules.length)})).catch(a=>{console.error("Error loading remote stylesheet",a)})),console.error("Error inlining remote css file",o)}}),Promise.all(r).then(()=>(t.forEach(i=>{if("cssRules"in i)try{yg(i.cssRules||[]).forEach(o=>{n.push(o)})}catch(o){console.error(`Error while reading CSS rules from ${i.href}`,o)}}),n))}function x4n(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>Qqe(e.style.getPropertyValue("src")))}async function b4n(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=yg(t.ownerDocument.styleSheets),r=await y4n(n,e);return x4n(r)}async function w4n(t,e){const n=await b4n(t,e);return(await Promise.all(n.map(i=>{const o=i.parentStyleSheet?i.parentStyleSheet.href:null;return Kqe(i.cssText,o,e)}))).join(` +`)}async function _4n(t,e){const n=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await w4n(t,e);if(n){const r=document.createElement("style"),i=document.createTextNode(n);r.appendChild(i),t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}}async function S4n(t,e={}){const{width:n,height:r}=qqe(t,e),i=await r8(t,e,!0);return await _4n(i,e),await Zqe(i,e),v4n(i,e),await Bjn(i,n,r)}async function Jqe(t,e={}){const{width:n,height:r}=qqe(t,e),i=await S4n(t,e),o=await ij(i),s=document.createElement("canvas"),a=s.getContext("2d"),l=e.pixelRatio||Njn(),u=e.canvasWidth||n,c=e.canvasHeight||r;return s.width=u*l,s.height=c*l,e.skipAutoScale||zjn(s),s.style.width=`${u}`,s.style.height=`${c}`,e.backgroundColor&&(a.fillStyle=e.backgroundColor,a.fillRect(0,0,s.width,s.height)),a.drawImage(o,0,0,s.width,s.height),s}async function C4n(t,e={}){return(await Jqe(t,e)).toDataURL()}async function O4n(t,e={}){return(await Jqe(t,e)).toDataURL("image/jpeg",e.quality||1)}const jCe={png:C4n,jpeg:O4n};function E4n(t,e){T4n(t,e).then(()=>{e!=null&&e.handleSuccess&&e.handleSuccess()}).catch(n=>{if(e!=null&&e.handleError)e.handleError(n);else throw n})}async function T4n(t,e={}){const n=t,r=e.format||"png";if(!(r in jCe))throw new Error(`Image format '${r}' is unknown or not supported.`);const i=await jCe[r](n,{backgroundColor:"#00000000",canvasWidth:e.width||(e.height||n.clientHeight)*n.clientWidth/n.clientHeight,canvasHeight:e.height||(e.width||n.clientWidth)*n.clientHeight/n.clientWidth}),s=await(await fetch(i)).blob();await navigator.clipboard.write([new ClipboardItem({"image/png":s})])}function eXe({elementRef:t,postMessage:e}){const n=()=>{e("success",me.get("Snapshot copied to clipboard"))},r=o=>{const s="Error copying snapshot to clipboard";console.error(s+":",o),e("error",me.get(s))},i=()=>{t.current?E4n(t.current,{format:"png",width:2e3,handleSuccess:n,handleError:r}):r(new Error("missing element reference"))};return C.jsx(lc,{tooltipText:me.get("Copy snapshot of chart to clipboard"),onClick:i,icon:C.jsx(Djn,{fontSize:"inherit"})})}function k4n({sx:t,timeSeriesGroupId:e,placeGroupTimeSeries:n,addPlaceGroupTimeSeries:r}){const[i,o]=de.useState(null),s=f=>{o(f.currentTarget)},a=()=>{o(null)},l=f=>{o(null),r(e,f)},u=[];n.forEach(f=>{Object.getOwnPropertyNames(f.timeSeries).forEach(d=>{const h=`${f.placeGroup.title} / ${d}`;u.push(C.jsx(_i,{onClick:()=>l(f.timeSeries[d]),children:h},h))})});const c=!!i;return C.jsxs(C.Fragment,{children:[C.jsx(Xt,{size:"small",sx:t,"aria-label":"Add","aria-controls":c?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":c?"true":void 0,onClick:s,disabled:u.length===0,children:C.jsx(Bt,{arrow:!0,title:me.get("Add time-series from places"),children:C.jsx(EU,{fontSize:"inherit"})})}),C.jsx(Q1,{id:"basic-menu",anchorEl:i,open:c,onClose:a,MenuListProps:{"aria-labelledby":"basic-button"},children:u})]})}const i$={container:t=>({padding:t.spacing(1),display:"flex",flexDirection:"column",gap:t.spacing(1)}),minMaxBox:t=>({display:"flex",justifyContent:"center",gap:t.spacing(1)}),minTextField:{maxWidth:"8em"},maxTextField:{maxWidth:"8em"}};function A4n({anchorEl:t,valueRange:e,setValueRange:n}){const[r,i]=D.useState(e?[e[0]+"",e[1]+""]:["0","1"]);if(!t)return null;const o=[Number.parseFloat(r[0]),Number.parseFloat(r[1])],s=Number.isFinite(o[0])&&Number.isFinite(o[1])&&o[0]{const d=f.target.value;i([d,r[1]])},l=f=>{const d=f.target.value;i([r[0],d])},u=()=>{n(o)},c=()=>{n(void 0)};return C.jsx(Y1,{anchorEl:t,open:!0,onClose:c,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"center"},children:C.jsxs(ot,{sx:i$.container,children:[C.jsxs(ot,{component:"form",sx:i$.minMaxBox,children:[C.jsx(ci,{sx:i$.minTextField,label:"Y-Minimum",variant:"filled",size:"small",value:r[0],error:!s,onChange:f=>a(f)}),C.jsx(ci,{sx:i$.maxTextField,label:"Y-Maximum",variant:"filled",size:"small",value:r[1],error:!s,onChange:f=>l(f)})]}),C.jsx(nD,{onDone:u,doneDisabled:!s,onCancel:c,size:"medium"})]})})}const o$="stddev",k0={headerContainer:{display:"flex",flexDirection:"row",justifyContent:"right"},actionsContainer:{display:"flex",flexDirection:"row",flexWrap:"nowrap",alignItems:"center",gap:"1px"},responsiveContainer:{flexGrow:"1px"},actionButton:{zIndex:1e3,opacity:.8},chartTitle:{fontSize:"inherit",fontWeight:"normal"},chartTypes:t=>({paddingLeft:t.spacing(1),paddingRight:t.spacing(1)})};function P4n({timeSeriesGroup:t,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n,removeTimeSeriesGroup:r,resetZoom:i,loading:o,zoomed:s,zoomMode:a,setZoomMode:l,showTooltips:u,setShowTooltips:c,chartType:f,setChartType:d,stdevBarsDisabled:h,stdevBars:p,setStdevBars:g,valueRange:m,setValueRange:v,chartElement:y,postMessage:x}){const b=D.useRef(null),[w,_]=D.useState(!1),S=()=>{_(!w)},O=E=>{_(!1),E&&v(E)},k=(E,M)=>{const A=new Set(M),P=A.has(o$);A.delete(o$),A.delete(f),M=Array.from(A),d(M.length===1?M[0]:f),g(P)};return C.jsx(ot,{sx:k0.headerContainer,children:C.jsxs(ot,{sx:k0.actionsContainer,children:[s&&C.jsx(Bt,{arrow:!0,title:me.get("Zoom to full range"),children:C.jsx(Xt,{sx:k0.actionButton,onClick:i,size:"small",children:C.jsx(Pjn,{fontSize:"inherit"})},"zoomOutButton")}),C.jsx(Bt,{arrow:!0,title:me.get("Toggle zoom mode (or press CTRL key)"),children:C.jsx(yr,{value:"zoomMode",selected:a,onClick:()=>l(!a),size:"small",children:C.jsx(Ejn,{fontSize:"inherit"})})}),C.jsx(A4n,{anchorEl:w?b.current:null,valueRange:m,setValueRange:O}),C.jsx(Bt,{arrow:!0,title:me.get("Enter fixed y-range"),children:C.jsx(yr,{ref:b,value:"valueRange",selected:w,onClick:S,size:"small",children:C.jsx(Ajn,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Toggle showing info popup on hover"),children:C.jsx(yr,{value:"showTooltips",selected:u,onClick:()=>c(!u),size:"small",children:C.jsx(kjn,{fontSize:"inherit"})})}),C.jsxs(YC,{value:p?[f,o$]:[f],onChange:k,size:"small",sx:k0.chartTypes,children:[C.jsx(Bt,{arrow:!0,title:me.get("Show points"),children:C.jsx(yr,{value:"point",size:"small",children:C.jsx(Mjn,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Show lines"),children:C.jsx(yr,{value:"line",size:"small",children:C.jsx(Rjn,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Show bars"),children:C.jsx(yr,{value:"bar",size:"small",children:C.jsx(Tjn,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Show standard deviation (if any)"),children:C.jsx(yr,{value:o$,size:"small",disabled:h,children:C.jsx(Hqe,{fontSize:"inherit"})})})]}),C.jsx(eXe,{elementRef:y,postMessage:x}),C.jsx(k4n,{sx:k0.actionButton,timeSeriesGroupId:t.id,placeGroupTimeSeries:e,addPlaceGroupTimeSeries:n}),o?C.jsx(q1,{size:24,sx:k0.actionButton,color:"secondary"}):C.jsx(Xt,{sx:k0.actionButton,"aria-label":"Close",onClick:()=>r(t.id),size:"small",children:C.jsx(WO,{fontSize:"inherit"})})]})})}const M4n=ra("div")(({theme:t})=>({userSelect:"none",marginTop:t.spacing(1),width:"99%",height:"32vh",display:"flex",flexDirection:"column",alignItems:"flex-stretch"})),R4n={style:{textAnchor:"middle"},angle:-90,position:"left",offset:0};function D4n({timeSeriesGroup:t,selectTimeSeries:e,selectedTime:n,selectTime:r,selectedTimeRange:i,selectTimeRange:o,places:s,selectPlace:a,placeInfos:l,dataTimeRange:u,chartTypeDefault:c,includeStdev:f,removeTimeSeries:d,removeTimeSeriesGroup:h,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:g,postMessage:m}){const v=H1(),[y,x]=D.useState(!1),[b,w]=D.useState(!0),[_,S]=D.useState(c),[O,k]=D.useState(f),[E,M]=D.useState({}),A=D.useRef(),P=D.useRef(),T=D.useRef(),R=D.useRef(null),I=D.useRef(null),B=D.useMemo(()=>{const W=new Map;t.timeSeriesArray.forEach((se,ye)=>{const ie=`v${ye}`,fe=`ev${ye}`,Q=se.source.valueDataKey,_e=se.source.errorDataKey;se.data.forEach(we=>{const Ie=W.get(we.time);let Pe;Ie===void 0?(Pe={time:we.time},W.set(we.time,Pe)):Pe=Ie;const Me=we[Q];if(vr(Me)&&isFinite(Me)&&(Pe[ie]=Me),_e){const Te=we[_e];vr(Te)&&isFinite(Te)&&(Pe[fe]=Te)}})});const J=Array.from(W.values());return J.sort((se,ye)=>se.time-ye.time),J},[t]),$=D.useMemo(()=>t.timeSeriesArray.map(W=>W.dataProgress?W.dataProgress:0),[t]),z=$.reduce((W,J)=>W+J,0)/$.length,L=z>0&&z<1,j=!!i&&!pbt(i,u||null);t.timeSeriesArray.forEach(W=>{W.source.valueDataKey});const N=t.variableUnits||me.get("unknown units"),F=`${me.get("Quantity")} (${N})`,H=v.palette.primary.light,q=v.palette.primary.main,Y=v.palette.text.primary,le=()=>{vr(E.x1)&&M({})},K=W=>{if(!W)return;const{chartX:J,chartY:se}=W;if(!vr(J)||!vr(se))return;const ye=Z(J,se);if(ye){const[ie,fe]=ye;M({x1:ie,y1:fe})}},ee=(W,J)=>{const{x1:se,y1:ye}=E;if(!vr(se)||!vr(ye)||!W)return;const{chartX:ie,chartY:fe}=W;if(!vr(ie)||!vr(fe))return;const Q=Z(ie,fe);if(Q){const[_e,we]=Q;J.ctrlKey||y?_e!==se&&we!==ye&&M({x1:se,y1:ye,x2:_e,y2:we}):_e!==se&&M({x1:se,y1:ye,x2:_e})}},re=W=>{const[J,se]=BCe(E);le(),J&&J[0]{le()},te=()=>{le()},ae=W=>{d(t.id,W)},U=()=>{le(),o(u||null,t.id,null)},oe=W=>{W&&o(i,t.id,W)},ne=(W,J)=>{if(T.current=[W,J],R.current){const se=R.current.getElementsByClassName("recharts-legend-wrapper");se.length!==0&&(I.current=se.item(0))}},V=([W,J])=>{const se=(J-W)*.1;return i?A.current=i:A.current=[W-se,J+se],A.current},X=([W,J])=>{const se=(J-W)*.1;if(t.variableRange)P.current=t.variableRange;else{const ye=W-se;P.current=[ye<0&&W-1e-6>0?0:ye,J+se]}return P.current},Z=(W,J)=>{const se=I.current;if(!T.current||!A.current||!P.current||!se)return;const[ye,ie]=A.current,[fe,Q]=P.current,[_e,we]=T.current,Ie=se.clientHeight,Pe=65,Me=5,Te=5,Le=38,ce=_e-Pe-Te,$e=we-Me-Le-Ie,Se=(W-Pe)/ce,He=(J-Me)/$e;return[ye+Se*(ie-ye),Q-He*(Q-fe)]},[he,xe]=BCe(E),G=_==="bar"?vjn:mjn;return C.jsxs(M4n,{children:[C.jsx(P4n,{timeSeriesGroup:t,placeGroupTimeSeries:p,addPlaceGroupTimeSeries:g,removeTimeSeriesGroup:h,resetZoom:U,loading:L,zoomed:j,zoomMode:y,setZoomMode:x,showTooltips:b,setShowTooltips:w,chartType:_,setChartType:S,stdevBarsDisabled:!f,stdevBars:O,setStdevBars:k,valueRange:P.current,setValueRange:oe,chartElement:R,postMessage:m}),C.jsx(THe,{width:"98%",onResize:ne,ref:R,children:C.jsxs(G,{onMouseDown:K,onMouseMove:ee,onMouseUp:re,onMouseEnter:ge,onMouseLeave:te,syncId:"anyId",style:{color:Y,fontSize:"0.8em"},data:B,barGap:1,barSize:30,maxBarSize:30,children:[C.jsx(Tb,{dataKey:"time",type:"number",tickCount:6,domain:V,tickFormatter:xjn,stroke:Y,allowDataOverflow:!0}),C.jsx(kb,{type:"number",tickCount:5,domain:X,tickFormatter:bjn,stroke:Y,allowDataOverflow:!0,label:{...R4n,value:F}}),C.jsx(Aue,{strokeDasharray:"3 3"}),b&&!vr(E.x1)&&C.jsx(Md,{content:C.jsx(Cjn,{})}),C.jsx(OC,{content:C.jsx(wjn,{removeTimeSeries:ae})}),t.timeSeriesArray.map((W,J)=>Ojn({timeSeriesGroup:t,timeSeriesIndex:J,selectTimeSeries:e,places:s,selectPlace:a,placeGroupTimeSeries:p,placeInfos:l,chartType:_,stdevBars:O,paletteMode:v.palette.mode})),he&&C.jsx(Eb,{x1:he[0],y1:xe?xe[0]:void 0,x2:he[1],y2:xe?xe[1]:void 0,strokeOpacity:.3,fill:H,fillOpacity:.3}),n!==null&&C.jsx(vD,{isFront:!0,x:n,stroke:q,strokeWidth:3,strokeOpacity:.5})]})})]})}function BCe(t){const{x1:e,x2:n,y1:r,y2:i}=t;let o,s;return vr(e)&&vr(n)&&(o=eC.jsx(D4n,{timeSeriesGroup:l,dataTimeRange:n,selectedTimeRange:r,selectTimeRange:i,...a},l.id))]})}const N4n=t=>({locale:t.controlState.locale,timeSeriesGroups:t.dataState.timeSeriesGroups,selectedTime:t.controlState.selectedTime,selectedTimeRange:t.controlState.selectedTimeRange,dataTimeRange:i_t(t),chartTypeDefault:t.controlState.timeSeriesChartTypeDefault,includeStdev:t.controlState.timeSeriesIncludeStdev,placeInfos:c_t(t),places:ZM(t),placeGroupTimeSeries:wbt(t),canAddTimeSeries:hDe(t)}),z4n={selectTime:tU,selectTimeRange:TUe,removeTimeSeries:zQt,removeTimeSeriesGroup:jQt,selectPlace:eU,addPlaceGroupTimeSeries:NQt,addTimeSeries:J6,postMessage:gu},j4n=Rn(N4n,z4n)(F4n),B4n=ut(C.jsx("path",{d:"M22 18v-2H8V4h2L7 1 4 4h2v2H2v2h4v8c0 1.1.9 2 2 2h8v2h-2l3 3 3-3h-2v-2zM10 8h6v6h2V8c0-1.1-.9-2-2-2h-6z"}),"Transform");function U4n(t){return t.count===0}function W4n(t){return t.count===1}function V4n(t){return t.count>1}function G4n({statisticsRecord:t}){const e=t.statistics;return C.jsx(Aee,{size:"small",children:C.jsx(Pee,{children:U4n(e)?C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Value")}),C.jsx(si,{align:"right",children:"NaN"})]}):W4n(e)?C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Value")}),C.jsx(si,{align:"right",children:D2(e.mean)})]}):C.jsxs(C.Fragment,{children:[C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Count")}),C.jsx(si,{align:"right",children:e.count})]}),C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Minimum")}),C.jsx(si,{align:"right",children:D2(e.minimum)})]}),C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Maximum")}),C.jsx(si,{align:"right",children:D2(e.maximum)})]}),C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Mean")}),C.jsx(si,{align:"right",children:D2(e.mean)})]}),C.jsxs(kd,{children:[C.jsx(si,{children:me.get("Deviation")}),C.jsx(si,{align:"right",children:D2(e.deviation)})]})]})})})}function D2(t){return xy(t,3)}function H4n({statisticsRecord:t,showBrush:e,showDetails:n}){const r=$a(),i=t.statistics,o=D.useMemo(()=>{if(!i.histogram)return null;const{values:y,edges:x}=i.histogram;return y.map((b,w)=>({x:.5*(x[w]+x[w+1]),y:b,i:w}))},[i]),[s,a]=D.useState([0,o?o.length-1:-1]);if(D.useEffect(()=>{o&&a([0,o.length-1])},[o]),o===null)return null;const{placeInfo:l}=t.source,[u,c]=s,f=o[u]?o[u].x:NaN,d=o[c]?o[c].x:NaN,h=Math.max(i.mean-i.deviation,i.minimum,f),p=Math.min(i.mean+i.deviation,i.maximum,d),g=r.palette.text.primary,m=r.palette.text.primary,v=({startIndex:y,endIndex:x})=>{vr(y)&&vr(x)&&a([y,x])};return C.jsx(THe,{width:"100%",height:"100%",children:C.jsxs(yjn,{data:o,margin:{top:0,right:e?30:5,bottom:1,left:2},style:{color:m,fontSize:"0.8em"},children:[C.jsx(Aue,{strokeDasharray:"3 3"}),C.jsx(Tb,{type:"number",dataKey:"x",domain:[f,d],tickCount:10,tickFormatter:y=>xy(y,2)}),C.jsx(kb,{}),C.jsx(i0,{type:"monotone",dataKey:"y",stroke:l.color,fill:l.color}),n&&C.jsx(vD,{x:i.mean,isFront:!0,stroke:g,strokeWidth:2,strokeOpacity:.5}),n&&C.jsx(Eb,{x1:h,x2:p,isFront:!1,stroke:g,strokeWidth:1,strokeOpacity:.3,fill:g,fillOpacity:.05}),e&&C.jsx(N1,{dataKey:"i",height:22,startIndex:u,endIndex:c,tickFormatter:y=>xy(o[y].x,1),onChange:v})]})})}const s$={container:{padding:1,width:"100%"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingBottom:.5},actions:{display:"flex",gap:.1},body:{display:"flex"}};function a$({phrase:t}){return C.jsx("span",{style:{color:"red"},children:`<${me.get(t)}?>`})}function tXe({dataset:t,variable:e,time:n,placeInfo:r,actions:i,body:o,containerRef:s}){const a=t?t.title:C.jsx(a$,{phrase:"Dataset"}),l=e?e.name:C.jsx(a$,{phrase:"Variable"}),u=t==null?void 0:t.dimensions.some(d=>d.name=="time"),c=n?CRe(n):u?C.jsx(a$,{phrase:"Time"}):null,f=r?r.label:C.jsx(a$,{phrase:"Place"});return C.jsxs(ot,{sx:s$.container,ref:s,children:[C.jsxs(ot,{sx:s$.header,children:[C.jsxs(Jt,{fontSize:"small",children:[a," / ",l,c&&`, ${c}`,", ",f]}),C.jsx(ot,{sx:s$.actions,children:i})]}),o&&C.jsx(ot,{sx:s$.body,children:o})]})}const UCe={table:{flexGrow:0},chart:{flexGrow:1}};function q4n({locale:t,statisticsRecord:e,rowIndex:n,removeStatistics:r,postMessage:i}){const o=D.useRef(null),[s,a]=D.useState(!1),[l,u]=D.useState(!1),{dataset:c,variable:f,time:d,placeInfo:h}=e.source,p=V4n(e.statistics),g=()=>{u(!l)},m=()=>{a(!s)},v=()=>{r(n)};return C.jsx(tXe,{dataset:c,variable:f,time:d,placeInfo:h,containerRef:o,actions:C.jsxs(C.Fragment,{children:[p&&C.jsxs(YC,{size:"small",children:[C.jsx(Bt,{arrow:!0,title:me.get("Toggle adjustable x-range"),children:C.jsx(yr,{selected:s,onClick:m,value:"brush",size:"small",children:C.jsx(B4n,{fontSize:"inherit"})})}),C.jsx(Bt,{arrow:!0,title:me.get("Show standard deviation (if any)"),children:C.jsx(yr,{selected:l,onClick:g,value:"details",size:"small",children:C.jsx(Hqe,{fontSize:"inherit"})})})]}),p&&C.jsx(eXe,{elementRef:o,postMessage:i}),C.jsx(Xt,{size:"small",onClick:v,children:C.jsx(WO,{fontSize:"inherit"})})]}),body:C.jsxs(C.Fragment,{children:[C.jsx(ot,{sx:UCe.table,children:C.jsx(G4n,{locale:t,statisticsRecord:e})}),C.jsx(ot,{sx:UCe.chart,children:C.jsx(H4n,{showBrush:s,showDetails:l,statisticsRecord:e})})]})})}const X4n={progress:{color:"primary"}};function Y4n({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,canAddStatistics:i,addStatistics:o,statisticsLoading:s}){return C.jsx(tXe,{dataset:t,variable:e,time:n,placeInfo:r,actions:s?C.jsx(q1,{size:20,sx:X4n.progress}):C.jsx(Xt,{size:"small",disabled:!i,onClick:o,color:"primary",children:C.jsx(EU,{fontSize:"inherit"})})})}const Q4n={container:{padding:1,display:"flex",flexDirection:"column",alignItems:"flex-start"}};function K4n({selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,statisticsLoading:i,statisticsRecords:o,canAddStatistics:s,addStatistics:a,removeStatistics:l,postMessage:u}){return C.jsxs(ot,{sx:Q4n.container,children:[C.jsx(Y4n,{selectedDataset:t,selectedVariable:e,selectedTime:n,selectedPlaceInfo:r,canAddStatistics:s,addStatistics:a,statisticsLoading:i}),o.map((c,f)=>C.jsx(q4n,{statisticsRecord:c,rowIndex:f,removeStatistics:l,postMessage:u},f))]})}const Z4n=t=>({selectedDataset:fo(t),selectedVariable:Na(t),selectedTime:hO(t),selectedPlaceInfo:JM(t),statisticsLoading:xbt(t),statisticsRecords:f_t(t),canAddStatistics:pDe(t)}),J4n={addStatistics:Z6e,removeStatistics:$Qt,postMessage:gu},eBn=Rn(Z4n,J4n)(K4n);/** + * @license + * Copyright 2010-2022 Three.js Authors + * SPDX-License-Identifier: MIT + */const Due="144",fw={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},dw={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},tBn=0,WCe=1,nBn=2,nXe=1,rBn=2,$T=3,FC=0,mu=1,Jp=2,Hv=0,rS=1,VCe=2,GCe=3,HCe=4,iBn=5,zw=100,oBn=101,sBn=102,qCe=103,XCe=104,aBn=200,lBn=201,uBn=202,cBn=203,rXe=204,iXe=205,fBn=206,dBn=207,hBn=208,pBn=209,gBn=210,mBn=0,vBn=1,yBn=2,RZ=3,xBn=4,bBn=5,wBn=6,_Bn=7,oXe=0,SBn=1,CBn=2,xg=0,OBn=1,EBn=2,TBn=3,kBn=4,ABn=5,sXe=300,NC=301,zC=302,DZ=303,IZ=304,i8=306,LZ=1e3,ec=1001,$Z=1002,Ja=1003,YCe=1004,QCe=1005,el=1006,PBn=1007,o8=1008,j1=1009,MBn=1010,RBn=1011,aXe=1012,DBn=1013,bx=1014,Ov=1015,oM=1016,IBn=1017,LBn=1018,iS=1020,$Bn=1021,FBn=1022,ih=1023,NBn=1024,zBn=1025,Hx=1026,jC=1027,lXe=1028,jBn=1029,BBn=1030,UBn=1031,WBn=1033,j7=33776,B7=33777,U7=33778,W7=33779,KCe=35840,ZCe=35841,JCe=35842,eOe=35843,VBn=36196,tOe=37492,nOe=37496,rOe=37808,iOe=37809,oOe=37810,sOe=37811,aOe=37812,lOe=37813,uOe=37814,cOe=37815,fOe=37816,dOe=37817,hOe=37818,pOe=37819,gOe=37820,mOe=37821,vOe=36492,B1=3e3,Pi=3001,GBn=3200,HBn=3201,qBn=0,XBn=1,Ap="srgb",wx="srgb-linear",V7=7680,YBn=519,yOe=35044,xOe="300 es",FZ=1035;class Ab{addEventListener(e,n){this._listeners===void 0&&(this._listeners={});const r=this._listeners;r[e]===void 0&&(r[e]=[]),r[e].indexOf(n)===-1&&r[e].push(n)}hasEventListener(e,n){if(this._listeners===void 0)return!1;const r=this._listeners;return r[e]!==void 0&&r[e].indexOf(n)!==-1}removeEventListener(e,n){if(this._listeners===void 0)return;const i=this._listeners[e];if(i!==void 0){const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}dispatchEvent(e){if(this._listeners===void 0)return;const r=this._listeners[e.type];if(r!==void 0){e.target=this;const i=r.slice(0);for(let o=0,s=i.length;o>8&255]+Ms[t>>16&255]+Ms[t>>24&255]+"-"+Ms[e&255]+Ms[e>>8&255]+"-"+Ms[e>>16&15|64]+Ms[e>>24&255]+"-"+Ms[n&63|128]+Ms[n>>8&255]+"-"+Ms[n>>16&255]+Ms[n>>24&255]+Ms[r&255]+Ms[r>>8&255]+Ms[r>>16&255]+Ms[r>>24&255]).toLowerCase()}function tl(t,e,n){return Math.max(e,Math.min(n,t))}function QBn(t,e){return(t%e+e)%e}function H7(t,e,n){return(1-n)*t+n*e}function wOe(t){return(t&t-1)===0&&t!==0}function NZ(t){return Math.pow(2,Math.floor(Math.log(t)/Math.LN2))}function l$(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return t/65535;case Uint8Array:return t/255;case Int16Array:return Math.max(t/32767,-1);case Int8Array:return Math.max(t/127,-1);default:throw new Error("Invalid component type.")}}function $l(t,e){switch(e.constructor){case Float32Array:return t;case Uint16Array:return Math.round(t*65535);case Uint8Array:return Math.round(t*255);case Int16Array:return Math.round(t*32767);case Int8Array:return Math.round(t*127);default:throw new Error("Invalid component type.")}}class On{constructor(e=0,n=0){On.prototype.isVector2=!0,this.x=e,this.y=n}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,n){return this.x=e,this.y=n,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const n=this.x,r=this.y,i=e.elements;return this.x=i[0]*n+i[3]*r+i[6],this.y=i[1]*n+i[4]*r+i[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y;return n*n+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this}rotateAround(e,n){const r=Math.cos(n),i=Math.sin(n),o=this.x-e.x,s=this.y-e.y;return this.x=o*r-s*i+e.x,this.y=o*i+s*r+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class uu{constructor(){uu.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1]}set(e,n,r,i,o,s,a,l,u){const c=this.elements;return c[0]=e,c[1]=i,c[2]=a,c[3]=n,c[4]=o,c[5]=l,c[6]=r,c[7]=s,c[8]=u,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],this}extractBasis(e,n,r){return e.setFromMatrix3Column(this,0),n.setFromMatrix3Column(this,1),r.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const n=e.elements;return this.set(n[0],n[4],n[8],n[1],n[5],n[9],n[2],n[6],n[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,s=r[0],a=r[3],l=r[6],u=r[1],c=r[4],f=r[7],d=r[2],h=r[5],p=r[8],g=i[0],m=i[3],v=i[6],y=i[1],x=i[4],b=i[7],w=i[2],_=i[5],S=i[8];return o[0]=s*g+a*y+l*w,o[3]=s*m+a*x+l*_,o[6]=s*v+a*b+l*S,o[1]=u*g+c*y+f*w,o[4]=u*m+c*x+f*_,o[7]=u*v+c*b+f*S,o[2]=d*g+h*y+p*w,o[5]=d*m+h*x+p*_,o[8]=d*v+h*b+p*S,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[3]*=e,n[6]*=e,n[1]*=e,n[4]*=e,n[7]*=e,n[2]*=e,n[5]*=e,n[8]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],s=e[4],a=e[5],l=e[6],u=e[7],c=e[8];return n*s*c-n*a*u-r*o*c+r*a*l+i*o*u-i*s*l}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],s=e[4],a=e[5],l=e[6],u=e[7],c=e[8],f=c*s-a*u,d=a*l-c*o,h=u*o-s*l,p=n*f+r*d+i*h;if(p===0)return this.set(0,0,0,0,0,0,0,0,0);const g=1/p;return e[0]=f*g,e[1]=(i*u-c*r)*g,e[2]=(a*r-i*s)*g,e[3]=d*g,e[4]=(c*n-i*l)*g,e[5]=(i*o-a*n)*g,e[6]=h*g,e[7]=(r*l-u*n)*g,e[8]=(s*n-r*o)*g,this}transpose(){let e;const n=this.elements;return e=n[1],n[1]=n[3],n[3]=e,e=n[2],n[2]=n[6],n[6]=e,e=n[5],n[5]=n[7],n[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const n=this.elements;return e[0]=n[0],e[1]=n[3],e[2]=n[6],e[3]=n[1],e[4]=n[4],e[5]=n[7],e[6]=n[2],e[7]=n[5],e[8]=n[8],this}setUvTransform(e,n,r,i,o,s,a){const l=Math.cos(o),u=Math.sin(o);return this.set(r*l,r*u,-r*(l*s+u*a)+s+e,-i*u,i*l,-i*(-u*s+l*a)+a+n,0,0,1),this}scale(e,n){const r=this.elements;return r[0]*=e,r[3]*=e,r[6]*=e,r[1]*=n,r[4]*=n,r[7]*=n,this}rotate(e){const n=Math.cos(e),r=Math.sin(e),i=this.elements,o=i[0],s=i[3],a=i[6],l=i[1],u=i[4],c=i[7];return i[0]=n*o+r*l,i[3]=n*s+r*u,i[6]=n*a+r*c,i[1]=-r*o+n*l,i[4]=-r*s+n*u,i[7]=-r*a+n*c,this}translate(e,n){const r=this.elements;return r[0]+=e*r[2],r[3]+=e*r[5],r[6]+=e*r[8],r[1]+=n*r[2],r[4]+=n*r[5],r[7]+=n*r[8],this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<9;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<9;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e}clone(){return new this.constructor().fromArray(this.elements)}}function uXe(t){for(let e=t.length-1;e>=0;--e)if(t[e]>=65535)return!0;return!1}function sM(t){return document.createElementNS("http://www.w3.org/1999/xhtml",t)}function qx(t){return t<.04045?t*.0773993808:Math.pow(t*.9478672986+.0521327014,2.4)}function K3(t){return t<.0031308?t*12.92:1.055*Math.pow(t,.41666)-.055}const q7={[Ap]:{[wx]:qx},[wx]:{[Ap]:K3}},Zc={legacyMode:!0,get workingColorSpace(){return wx},set workingColorSpace(t){console.warn("THREE.ColorManagement: .workingColorSpace is readonly.")},convert:function(t,e,n){if(this.legacyMode||e===n||!e||!n)return t;if(q7[e]&&q7[e][n]!==void 0){const r=q7[e][n];return t.r=r(t.r),t.g=r(t.g),t.b=r(t.b),t}throw new Error("Unsupported color space conversion.")},fromWorkingColorSpace:function(t,e){return this.convert(t,this.workingColorSpace,e)},toWorkingColorSpace:function(t,e){return this.convert(t,e,this.workingColorSpace)}},cXe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},ho={r:0,g:0,b:0},Jc={h:0,s:0,l:0},u$={h:0,s:0,l:0};function X7(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*6*(2/3-n):t}function c$(t,e){return e.r=t.r,e.g=t.g,e.b=t.b,e}class ui{constructor(e,n,r){return this.isColor=!0,this.r=1,this.g=1,this.b=1,n===void 0&&r===void 0?this.set(e):this.setRGB(e,n,r)}set(e){return e&&e.isColor?this.copy(e):typeof e=="number"?this.setHex(e):typeof e=="string"&&this.setStyle(e),this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,n=Ap){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(e&255)/255,Zc.toWorkingColorSpace(this,n),this}setRGB(e,n,r,i=wx){return this.r=e,this.g=n,this.b=r,Zc.toWorkingColorSpace(this,i),this}setHSL(e,n,r,i=wx){if(e=QBn(e,1),n=tl(n,0,1),r=tl(r,0,1),n===0)this.r=this.g=this.b=r;else{const o=r<=.5?r*(1+n):r+n-r*n,s=2*r-o;this.r=X7(s,o,e+1/3),this.g=X7(s,o,e),this.b=X7(s,o,e-1/3)}return Zc.toWorkingColorSpace(this,i),this}setStyle(e,n=Ap){function r(o){o!==void 0&&parseFloat(o)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let i;if(i=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(e)){let o;const s=i[1],a=i[2];switch(s){case"rgb":case"rgba":if(o=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(255,parseInt(o[1],10))/255,this.g=Math.min(255,parseInt(o[2],10))/255,this.b=Math.min(255,parseInt(o[3],10))/255,Zc.toWorkingColorSpace(this,n),r(o[4]),this;if(o=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a))return this.r=Math.min(100,parseInt(o[1],10))/100,this.g=Math.min(100,parseInt(o[2],10))/100,this.b=Math.min(100,parseInt(o[3],10))/100,Zc.toWorkingColorSpace(this,n),r(o[4]),this;break;case"hsl":case"hsla":if(o=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(a)){const l=parseFloat(o[1])/360,u=parseFloat(o[2])/100,c=parseFloat(o[3])/100;return r(o[4]),this.setHSL(l,u,c,n)}break}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(e)){const o=i[1],s=o.length;if(s===3)return this.r=parseInt(o.charAt(0)+o.charAt(0),16)/255,this.g=parseInt(o.charAt(1)+o.charAt(1),16)/255,this.b=parseInt(o.charAt(2)+o.charAt(2),16)/255,Zc.toWorkingColorSpace(this,n),this;if(s===6)return this.r=parseInt(o.charAt(0)+o.charAt(1),16)/255,this.g=parseInt(o.charAt(2)+o.charAt(3),16)/255,this.b=parseInt(o.charAt(4)+o.charAt(5),16)/255,Zc.toWorkingColorSpace(this,n),this}return e&&e.length>0?this.setColorName(e,n):this}setColorName(e,n=Ap){const r=cXe[e.toLowerCase()];return r!==void 0?this.setHex(r,n):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=qx(e.r),this.g=qx(e.g),this.b=qx(e.b),this}copyLinearToSRGB(e){return this.r=K3(e.r),this.g=K3(e.g),this.b=K3(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=Ap){return Zc.fromWorkingColorSpace(c$(this,ho),e),tl(ho.r*255,0,255)<<16^tl(ho.g*255,0,255)<<8^tl(ho.b*255,0,255)<<0}getHexString(e=Ap){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,n=wx){Zc.fromWorkingColorSpace(c$(this,ho),n);const r=ho.r,i=ho.g,o=ho.b,s=Math.max(r,i,o),a=Math.min(r,i,o);let l,u;const c=(a+s)/2;if(a===s)l=0,u=0;else{const f=s-a;switch(u=c<=.5?f/(s+a):f/(2-s-a),s){case r:l=(i-o)/f+(i"u")return e.src;let n;if(e instanceof HTMLCanvasElement)n=e;else{hw===void 0&&(hw=sM("canvas")),hw.width=e.width,hw.height=e.height;const r=hw.getContext("2d");e instanceof ImageData?r.putImageData(e,0,0):r.drawImage(e,0,0,e.width,e.height),n=hw}return n.width>2048||n.height>2048?(console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",e),n.toDataURL("image/jpeg",.6)):n.toDataURL("image/png")}static sRGBToLinear(e){if(typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&e instanceof ImageBitmap){const n=sM("canvas");n.width=e.width,n.height=e.height;const r=n.getContext("2d");r.drawImage(e,0,0,e.width,e.height);const i=r.getImageData(0,0,e.width,e.height),o=i.data;for(let s=0;s1)switch(this.wrapS){case LZ:e.x=e.x-Math.floor(e.x);break;case ec:e.x=e.x<0?0:1;break;case $Z:Math.abs(Math.floor(e.x)%2)===1?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x);break}if(e.y<0||e.y>1)switch(this.wrapT){case LZ:e.y=e.y-Math.floor(e.y);break;case ec:e.y=e.y<0?0:1;break;case $Z:Math.abs(Math.floor(e.y)%2)===1?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y);break}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){e===!0&&(this.version++,this.source.needsUpdate=!0)}}ku.DEFAULT_IMAGE=null;ku.DEFAULT_MAPPING=sXe;class vs{constructor(e=0,n=0,r=0,i=1){vs.prototype.isVector4=!0,this.x=e,this.y=n,this.z=r,this.w=i}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,n,r,i){return this.x=e,this.y=n,this.z=r,this.w=i,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;case 3:this.w=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=e.w!==void 0?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this.w=e.w+n.w,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this.w+=e.w*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this.w=e.w-n.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=this.w,s=e.elements;return this.x=s[0]*n+s[4]*r+s[8]*i+s[12]*o,this.y=s[1]*n+s[5]*r+s[9]*i+s[13]*o,this.z=s[2]*n+s[6]*r+s[10]*i+s[14]*o,this.w=s[3]*n+s[7]*r+s[11]*i+s[15]*o,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const n=Math.sqrt(1-e.w*e.w);return n<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/n,this.y=e.y/n,this.z=e.z/n),this}setAxisAngleFromRotationMatrix(e){let n,r,i,o;const l=e.elements,u=l[0],c=l[4],f=l[8],d=l[1],h=l[5],p=l[9],g=l[2],m=l[6],v=l[10];if(Math.abs(c-d)<.01&&Math.abs(f-g)<.01&&Math.abs(p-m)<.01){if(Math.abs(c+d)<.1&&Math.abs(f+g)<.1&&Math.abs(p+m)<.1&&Math.abs(u+h+v-3)<.1)return this.set(1,0,0,0),this;n=Math.PI;const x=(u+1)/2,b=(h+1)/2,w=(v+1)/2,_=(c+d)/4,S=(f+g)/4,O=(p+m)/4;return x>b&&x>w?x<.01?(r=0,i=.707106781,o=.707106781):(r=Math.sqrt(x),i=_/r,o=S/r):b>w?b<.01?(r=.707106781,i=0,o=.707106781):(i=Math.sqrt(b),r=_/i,o=O/i):w<.01?(r=.707106781,i=.707106781,o=0):(o=Math.sqrt(w),r=S/o,i=O/o),this.set(r,i,o,n),this}let y=Math.sqrt((m-p)*(m-p)+(f-g)*(f-g)+(d-c)*(d-c));return Math.abs(y)<.001&&(y=1),this.x=(m-p)/y,this.y=(f-g)/y,this.z=(d-c)/y,this.w=Math.acos((u+h+v-1)/2),this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this.w=Math.max(e.w,Math.min(n.w,this.w)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this.w=Math.max(e,Math.min(n,this.w)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this.w=this.w<0?Math.ceil(this.w):Math.floor(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this.w+=(e.w-this.w)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this.w=e.w+(n.w-e.w)*r,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this.w=e[n+3],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e[n+3]=this.w,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this.w=e.getW(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class U1 extends Ab{constructor(e,n,r={}){super(),this.isWebGLRenderTarget=!0,this.width=e,this.height=n,this.depth=1,this.scissor=new vs(0,0,e,n),this.scissorTest=!1,this.viewport=new vs(0,0,e,n);const i={width:e,height:n,depth:1};this.texture=new ku(i,r.mapping,r.wrapS,r.wrapT,r.magFilter,r.minFilter,r.format,r.type,r.anisotropy,r.encoding),this.texture.isRenderTargetTexture=!0,this.texture.flipY=!1,this.texture.generateMipmaps=r.generateMipmaps!==void 0?r.generateMipmaps:!1,this.texture.internalFormat=r.internalFormat!==void 0?r.internalFormat:null,this.texture.minFilter=r.minFilter!==void 0?r.minFilter:el,this.depthBuffer=r.depthBuffer!==void 0?r.depthBuffer:!0,this.stencilBuffer=r.stencilBuffer!==void 0?r.stencilBuffer:!1,this.depthTexture=r.depthTexture!==void 0?r.depthTexture:null,this.samples=r.samples!==void 0?r.samples:0}setSize(e,n,r=1){(this.width!==e||this.height!==n||this.depth!==r)&&(this.width=e,this.height=n,this.depth=r,this.texture.image.width=e,this.texture.image.height=n,this.texture.image.depth=r,this.dispose()),this.viewport.set(0,0,e,n),this.scissor.set(0,0,e,n)}clone(){return new this.constructor().copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.viewport.copy(e.viewport),this.texture=e.texture.clone(),this.texture.isRenderTargetTexture=!0;const n=Object.assign({},e.texture.image);return this.texture.source=new dXe(n),this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,e.depthTexture!==null&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class hXe extends ku{constructor(e=null,n=1,r=1,i=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Ja,this.minFilter=Ja,this.wrapR=ec,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class pXe extends ku{constructor(e=null,n=1,r=1,i=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:n,height:r,depth:i},this.magFilter=Ja,this.minFilter=Ja,this.wrapR=ec,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class W1{constructor(e=0,n=0,r=0,i=1){this.isQuaternion=!0,this._x=e,this._y=n,this._z=r,this._w=i}static slerpFlat(e,n,r,i,o,s,a){let l=r[i+0],u=r[i+1],c=r[i+2],f=r[i+3];const d=o[s+0],h=o[s+1],p=o[s+2],g=o[s+3];if(a===0){e[n+0]=l,e[n+1]=u,e[n+2]=c,e[n+3]=f;return}if(a===1){e[n+0]=d,e[n+1]=h,e[n+2]=p,e[n+3]=g;return}if(f!==g||l!==d||u!==h||c!==p){let m=1-a;const v=l*d+u*h+c*p+f*g,y=v>=0?1:-1,x=1-v*v;if(x>Number.EPSILON){const w=Math.sqrt(x),_=Math.atan2(w,v*y);m=Math.sin(m*_)/w,a=Math.sin(a*_)/w}const b=a*y;if(l=l*m+d*b,u=u*m+h*b,c=c*m+p*b,f=f*m+g*b,m===1-a){const w=1/Math.sqrt(l*l+u*u+c*c+f*f);l*=w,u*=w,c*=w,f*=w}}e[n]=l,e[n+1]=u,e[n+2]=c,e[n+3]=f}static multiplyQuaternionsFlat(e,n,r,i,o,s){const a=r[i],l=r[i+1],u=r[i+2],c=r[i+3],f=o[s],d=o[s+1],h=o[s+2],p=o[s+3];return e[n]=a*p+c*f+l*h-u*d,e[n+1]=l*p+c*d+u*f-a*h,e[n+2]=u*p+c*h+a*d-l*f,e[n+3]=c*p-a*f-l*d-u*h,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,n,r,i){return this._x=e,this._y=n,this._z=r,this._w=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,n){const r=e._x,i=e._y,o=e._z,s=e._order,a=Math.cos,l=Math.sin,u=a(r/2),c=a(i/2),f=a(o/2),d=l(r/2),h=l(i/2),p=l(o/2);switch(s){case"XYZ":this._x=d*c*f+u*h*p,this._y=u*h*f-d*c*p,this._z=u*c*p+d*h*f,this._w=u*c*f-d*h*p;break;case"YXZ":this._x=d*c*f+u*h*p,this._y=u*h*f-d*c*p,this._z=u*c*p-d*h*f,this._w=u*c*f+d*h*p;break;case"ZXY":this._x=d*c*f-u*h*p,this._y=u*h*f+d*c*p,this._z=u*c*p+d*h*f,this._w=u*c*f-d*h*p;break;case"ZYX":this._x=d*c*f-u*h*p,this._y=u*h*f+d*c*p,this._z=u*c*p-d*h*f,this._w=u*c*f+d*h*p;break;case"YZX":this._x=d*c*f+u*h*p,this._y=u*h*f+d*c*p,this._z=u*c*p-d*h*f,this._w=u*c*f-d*h*p;break;case"XZY":this._x=d*c*f-u*h*p,this._y=u*h*f-d*c*p,this._z=u*c*p+d*h*f,this._w=u*c*f+d*h*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+s)}return n!==!1&&this._onChangeCallback(),this}setFromAxisAngle(e,n){const r=n/2,i=Math.sin(r);return this._x=e.x*i,this._y=e.y*i,this._z=e.z*i,this._w=Math.cos(r),this._onChangeCallback(),this}setFromRotationMatrix(e){const n=e.elements,r=n[0],i=n[4],o=n[8],s=n[1],a=n[5],l=n[9],u=n[2],c=n[6],f=n[10],d=r+a+f;if(d>0){const h=.5/Math.sqrt(d+1);this._w=.25/h,this._x=(c-l)*h,this._y=(o-u)*h,this._z=(s-i)*h}else if(r>a&&r>f){const h=2*Math.sqrt(1+r-a-f);this._w=(c-l)/h,this._x=.25*h,this._y=(i+s)/h,this._z=(o+u)/h}else if(a>f){const h=2*Math.sqrt(1+a-r-f);this._w=(o-u)/h,this._x=(i+s)/h,this._y=.25*h,this._z=(l+c)/h}else{const h=2*Math.sqrt(1+f-r-a);this._w=(s-i)/h,this._x=(o+u)/h,this._y=(l+c)/h,this._z=.25*h}return this._onChangeCallback(),this}setFromUnitVectors(e,n){let r=e.dot(n)+1;return rMath.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=r):(this._x=0,this._y=-e.z,this._z=e.y,this._w=r)):(this._x=e.y*n.z-e.z*n.y,this._y=e.z*n.x-e.x*n.z,this._z=e.x*n.y-e.y*n.x,this._w=r),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(tl(this.dot(e),-1,1)))}rotateTowards(e,n){const r=this.angleTo(e);if(r===0)return this;const i=Math.min(1,n/r);return this.slerp(e,i),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return e===0?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,n){const r=e._x,i=e._y,o=e._z,s=e._w,a=n._x,l=n._y,u=n._z,c=n._w;return this._x=r*c+s*a+i*u-o*l,this._y=i*c+s*l+o*a-r*u,this._z=o*c+s*u+r*l-i*a,this._w=s*c-r*a-i*l-o*u,this._onChangeCallback(),this}slerp(e,n){if(n===0)return this;if(n===1)return this.copy(e);const r=this._x,i=this._y,o=this._z,s=this._w;let a=s*e._w+r*e._x+i*e._y+o*e._z;if(a<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,a=-a):this.copy(e),a>=1)return this._w=s,this._x=r,this._y=i,this._z=o,this;const l=1-a*a;if(l<=Number.EPSILON){const h=1-n;return this._w=h*s+n*this._w,this._x=h*r+n*this._x,this._y=h*i+n*this._y,this._z=h*o+n*this._z,this.normalize(),this._onChangeCallback(),this}const u=Math.sqrt(l),c=Math.atan2(u,a),f=Math.sin((1-n)*c)/u,d=Math.sin(n*c)/u;return this._w=s*f+this._w*d,this._x=r*f+this._x*d,this._y=i*f+this._y*d,this._z=o*f+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,n,r){return this.copy(e).slerp(n,r)}random(){const e=Math.random(),n=Math.sqrt(1-e),r=Math.sqrt(e),i=2*Math.PI*Math.random(),o=2*Math.PI*Math.random();return this.set(n*Math.cos(i),r*Math.sin(o),r*Math.cos(o),n*Math.sin(i))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,n=0){return this._x=e[n],this._y=e[n+1],this._z=e[n+2],this._w=e[n+3],this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._w,e}fromBufferAttribute(e,n){return this._x=e.getX(n),this._y=e.getY(n),this._z=e.getZ(n),this._w=e.getW(n),this}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Ce{constructor(e=0,n=0,r=0){Ce.prototype.isVector3=!0,this.x=e,this.y=n,this.z=r}set(e,n,r){return r===void 0&&(r=this.z),this.x=e,this.y=n,this.z=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,n){switch(e){case 0:this.x=n;break;case 1:this.y=n;break;case 2:this.z=n;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,n){return this.x=e.x+n.x,this.y=e.y+n.y,this.z=e.z+n.z,this}addScaledVector(e,n){return this.x+=e.x*n,this.y+=e.y*n,this.z+=e.z*n,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,n){return this.x=e.x-n.x,this.y=e.y-n.y,this.z=e.z-n.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,n){return this.x=e.x*n.x,this.y=e.y*n.y,this.z=e.z*n.z,this}applyEuler(e){return this.applyQuaternion(_Oe.setFromEuler(e))}applyAxisAngle(e,n){return this.applyQuaternion(_Oe.setFromAxisAngle(e,n))}applyMatrix3(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[3]*r+o[6]*i,this.y=o[1]*n+o[4]*r+o[7]*i,this.z=o[2]*n+o[5]*r+o[8]*i,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const n=this.x,r=this.y,i=this.z,o=e.elements,s=1/(o[3]*n+o[7]*r+o[11]*i+o[15]);return this.x=(o[0]*n+o[4]*r+o[8]*i+o[12])*s,this.y=(o[1]*n+o[5]*r+o[9]*i+o[13])*s,this.z=(o[2]*n+o[6]*r+o[10]*i+o[14])*s,this}applyQuaternion(e){const n=this.x,r=this.y,i=this.z,o=e.x,s=e.y,a=e.z,l=e.w,u=l*n+s*i-a*r,c=l*r+a*n-o*i,f=l*i+o*r-s*n,d=-o*n-s*r-a*i;return this.x=u*l+d*-o+c*-a-f*-s,this.y=c*l+d*-s+f*-o-u*-a,this.z=f*l+d*-a+u*-s-c*-o,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const n=this.x,r=this.y,i=this.z,o=e.elements;return this.x=o[0]*n+o[4]*r+o[8]*i,this.y=o[1]*n+o[5]*r+o[9]*i,this.z=o[2]*n+o[6]*r+o[10]*i,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,n){return this.x=Math.max(e.x,Math.min(n.x,this.x)),this.y=Math.max(e.y,Math.min(n.y,this.y)),this.z=Math.max(e.z,Math.min(n.z,this.z)),this}clampScalar(e,n){return this.x=Math.max(e,Math.min(n,this.x)),this.y=Math.max(e,Math.min(n,this.y)),this.z=Math.max(e,Math.min(n,this.z)),this}clampLength(e,n){const r=this.length();return this.divideScalar(r||1).multiplyScalar(Math.max(e,Math.min(n,r)))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=this.x<0?Math.ceil(this.x):Math.floor(this.x),this.y=this.y<0?Math.ceil(this.y):Math.floor(this.y),this.z=this.z<0?Math.ceil(this.z):Math.floor(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,n){return this.x+=(e.x-this.x)*n,this.y+=(e.y-this.y)*n,this.z+=(e.z-this.z)*n,this}lerpVectors(e,n,r){return this.x=e.x+(n.x-e.x)*r,this.y=e.y+(n.y-e.y)*r,this.z=e.z+(n.z-e.z)*r,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,n){const r=e.x,i=e.y,o=e.z,s=n.x,a=n.y,l=n.z;return this.x=i*l-o*a,this.y=o*s-r*l,this.z=r*a-i*s,this}projectOnVector(e){const n=e.lengthSq();if(n===0)return this.set(0,0,0);const r=e.dot(this)/n;return this.copy(e).multiplyScalar(r)}projectOnPlane(e){return Q7.copy(this).projectOnVector(e),this.sub(Q7)}reflect(e){return this.sub(Q7.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const n=Math.sqrt(this.lengthSq()*e.lengthSq());if(n===0)return Math.PI/2;const r=this.dot(e)/n;return Math.acos(tl(r,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const n=this.x-e.x,r=this.y-e.y,i=this.z-e.z;return n*n+r*r+i*i}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,n,r){const i=Math.sin(n)*e;return this.x=i*Math.sin(r),this.y=Math.cos(n)*e,this.z=i*Math.cos(r),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,n,r){return this.x=e*Math.sin(n),this.y=r,this.z=e*Math.cos(n),this}setFromMatrixPosition(e){const n=e.elements;return this.x=n[12],this.y=n[13],this.z=n[14],this}setFromMatrixScale(e){const n=this.setFromMatrixColumn(e,0).length(),r=this.setFromMatrixColumn(e,1).length(),i=this.setFromMatrixColumn(e,2).length();return this.x=n,this.y=r,this.z=i,this}setFromMatrixColumn(e,n){return this.fromArray(e.elements,n*4)}setFromMatrix3Column(e,n){return this.fromArray(e.elements,n*3)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,n=0){return this.x=e[n],this.y=e[n+1],this.z=e[n+2],this}toArray(e=[],n=0){return e[n]=this.x,e[n+1]=this.y,e[n+2]=this.z,e}fromBufferAttribute(e,n){return this.x=e.getX(n),this.y=e.getY(n),this.z=e.getZ(n),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=(Math.random()-.5)*2,n=Math.random()*Math.PI*2,r=Math.sqrt(1-e**2);return this.x=r*Math.cos(n),this.y=r*Math.sin(n),this.z=e,this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const Q7=new Ce,_Oe=new W1;class hE{constructor(e=new Ce(1/0,1/0,1/0),n=new Ce(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=n}set(e,n){return this.min.copy(e),this.max.copy(n),this}setFromArray(e){let n=1/0,r=1/0,i=1/0,o=-1/0,s=-1/0,a=-1/0;for(let l=0,u=e.length;lo&&(o=c),f>s&&(s=f),d>a&&(a=d)}return this.min.set(n,r,i),this.max.set(o,s,a),this}setFromBufferAttribute(e){let n=1/0,r=1/0,i=1/0,o=-1/0,s=-1/0,a=-1/0;for(let l=0,u=e.count;lo&&(o=c),f>s&&(s=f),d>a&&(a=d)}return this.min.set(n,r,i),this.max.set(o,s,a),this}setFromPoints(e){this.makeEmpty();for(let n=0,r=e.length;nthis.max.x||e.ythis.max.y||e.zthis.max.z)}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,n){return n.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return!(e.max.xthis.max.x||e.max.ythis.max.y||e.max.zthis.max.z)}intersectsSphere(e){return this.clampPoint(e.center,A0),A0.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let n,r;return e.normal.x>0?(n=e.normal.x*this.min.x,r=e.normal.x*this.max.x):(n=e.normal.x*this.max.x,r=e.normal.x*this.min.x),e.normal.y>0?(n+=e.normal.y*this.min.y,r+=e.normal.y*this.max.y):(n+=e.normal.y*this.max.y,r+=e.normal.y*this.min.y),e.normal.z>0?(n+=e.normal.z*this.min.z,r+=e.normal.z*this.max.z):(n+=e.normal.z*this.max.z,r+=e.normal.z*this.min.z),n<=-e.constant&&r>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(I2),f$.subVectors(this.max,I2),pw.subVectors(e.a,I2),gw.subVectors(e.b,I2),mw.subVectors(e.c,I2),xm.subVectors(gw,pw),bm.subVectors(mw,gw),P0.subVectors(pw,mw);let n=[0,-xm.z,xm.y,0,-bm.z,bm.y,0,-P0.z,P0.y,xm.z,0,-xm.x,bm.z,0,-bm.x,P0.z,0,-P0.x,-xm.y,xm.x,0,-bm.y,bm.x,0,-P0.y,P0.x,0];return!Z7(n,pw,gw,mw,f$)||(n=[1,0,0,0,1,0,0,0,1],!Z7(n,pw,gw,mw,f$))?!1:(d$.crossVectors(xm,bm),n=[d$.x,d$.y,d$.z],Z7(n,pw,gw,mw,f$))}clampPoint(e,n){return n.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return A0.copy(e).clamp(this.min,this.max).sub(e).length()}getBoundingSphere(e){return this.getCenter(e.center),e.radius=this.getSize(A0).length()*.5,e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()?this:(hp[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),hp[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),hp[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),hp[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),hp[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),hp[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),hp[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),hp[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(hp),this)}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const hp=[new Ce,new Ce,new Ce,new Ce,new Ce,new Ce,new Ce,new Ce],A0=new Ce,K7=new hE,pw=new Ce,gw=new Ce,mw=new Ce,xm=new Ce,bm=new Ce,P0=new Ce,I2=new Ce,f$=new Ce,d$=new Ce,M0=new Ce;function Z7(t,e,n,r,i){for(let o=0,s=t.length-3;o<=s;o+=3){M0.fromArray(t,o);const a=i.x*Math.abs(M0.x)+i.y*Math.abs(M0.y)+i.z*Math.abs(M0.z),l=e.dot(M0),u=n.dot(M0),c=r.dot(M0);if(Math.max(-Math.max(l,u,c),Math.min(l,u,c))>a)return!1}return!0}const ZBn=new hE,SOe=new Ce,h$=new Ce,J7=new Ce;class s8{constructor(e=new Ce,n=-1){this.center=e,this.radius=n}set(e,n){return this.center.copy(e),this.radius=n,this}setFromPoints(e,n){const r=this.center;n!==void 0?r.copy(n):ZBn.setFromPoints(e).getCenter(r);let i=0;for(let o=0,s=e.length;othis.radius*this.radius&&(n.sub(this.center).normalize(),n.multiplyScalar(this.radius).add(this.center)),n}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){J7.subVectors(e,this.center);const n=J7.lengthSq();if(n>this.radius*this.radius){const r=Math.sqrt(n),i=(r-this.radius)*.5;this.center.add(J7.multiplyScalar(i/r)),this.radius+=i}return this}union(e){return this.center.equals(e.center)===!0?h$.set(0,0,1).multiplyScalar(e.radius):h$.subVectors(e.center,this.center).normalize().multiplyScalar(e.radius),this.expandByPoint(SOe.copy(e.center).add(h$)),this.expandByPoint(SOe.copy(e.center).sub(h$)),this}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return new this.constructor().copy(this)}}const pp=new Ce,eG=new Ce,p$=new Ce,wm=new Ce,tG=new Ce,g$=new Ce,nG=new Ce;class gXe{constructor(e=new Ce,n=new Ce(0,0,-1)){this.origin=e,this.direction=n}set(e,n){return this.origin.copy(e),this.direction.copy(n),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,n){return n.copy(this.direction).multiplyScalar(e).add(this.origin)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,pp)),this}closestPointToPoint(e,n){n.subVectors(e,this.origin);const r=n.dot(this.direction);return r<0?n.copy(this.origin):n.copy(this.direction).multiplyScalar(r).add(this.origin)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const n=pp.subVectors(e,this.origin).dot(this.direction);return n<0?this.origin.distanceToSquared(e):(pp.copy(this.direction).multiplyScalar(n).add(this.origin),pp.distanceToSquared(e))}distanceSqToSegment(e,n,r,i){eG.copy(e).add(n).multiplyScalar(.5),p$.copy(n).sub(e).normalize(),wm.copy(this.origin).sub(eG);const o=e.distanceTo(n)*.5,s=-this.direction.dot(p$),a=wm.dot(this.direction),l=-wm.dot(p$),u=wm.lengthSq(),c=Math.abs(1-s*s);let f,d,h,p;if(c>0)if(f=s*l-a,d=s*a-l,p=o*c,f>=0)if(d>=-p)if(d<=p){const g=1/c;f*=g,d*=g,h=f*(f+s*d+2*a)+d*(s*f+d+2*l)+u}else d=o,f=Math.max(0,-(s*d+a)),h=-f*f+d*(d+2*l)+u;else d=-o,f=Math.max(0,-(s*d+a)),h=-f*f+d*(d+2*l)+u;else d<=-p?(f=Math.max(0,-(-s*o+a)),d=f>0?-o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+u):d<=p?(f=0,d=Math.min(Math.max(-o,-l),o),h=d*(d+2*l)+u):(f=Math.max(0,-(s*o+a)),d=f>0?o:Math.min(Math.max(-o,-l),o),h=-f*f+d*(d+2*l)+u);else d=s>0?-o:o,f=Math.max(0,-(s*d+a)),h=-f*f+d*(d+2*l)+u;return r&&r.copy(this.direction).multiplyScalar(f).add(this.origin),i&&i.copy(p$).multiplyScalar(d).add(eG),h}intersectSphere(e,n){pp.subVectors(e.center,this.origin);const r=pp.dot(this.direction),i=pp.dot(pp)-r*r,o=e.radius*e.radius;if(i>o)return null;const s=Math.sqrt(o-i),a=r-s,l=r+s;return a<0&&l<0?null:a<0?this.at(l,n):this.at(a,n)}intersectsSphere(e){return this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const n=e.normal.dot(this.direction);if(n===0)return e.distanceToPoint(this.origin)===0?0:null;const r=-(this.origin.dot(e.normal)+e.constant)/n;return r>=0?r:null}intersectPlane(e,n){const r=this.distanceToPlane(e);return r===null?null:this.at(r,n)}intersectsPlane(e){const n=e.distanceToPoint(this.origin);return n===0||e.normal.dot(this.direction)*n<0}intersectBox(e,n){let r,i,o,s,a,l;const u=1/this.direction.x,c=1/this.direction.y,f=1/this.direction.z,d=this.origin;return u>=0?(r=(e.min.x-d.x)*u,i=(e.max.x-d.x)*u):(r=(e.max.x-d.x)*u,i=(e.min.x-d.x)*u),c>=0?(o=(e.min.y-d.y)*c,s=(e.max.y-d.y)*c):(o=(e.max.y-d.y)*c,s=(e.min.y-d.y)*c),r>s||o>i||((o>r||r!==r)&&(r=o),(s=0?(a=(e.min.z-d.z)*f,l=(e.max.z-d.z)*f):(a=(e.max.z-d.z)*f,l=(e.min.z-d.z)*f),r>l||a>i)||((a>r||r!==r)&&(r=a),(l=0?r:i,n)}intersectsBox(e){return this.intersectBox(e,pp)!==null}intersectTriangle(e,n,r,i,o){tG.subVectors(n,e),g$.subVectors(r,e),nG.crossVectors(tG,g$);let s=this.direction.dot(nG),a;if(s>0){if(i)return null;a=1}else if(s<0)a=-1,s=-s;else return null;wm.subVectors(this.origin,e);const l=a*this.direction.dot(g$.crossVectors(wm,g$));if(l<0)return null;const u=a*this.direction.dot(tG.cross(wm));if(u<0||l+u>s)return null;const c=-a*wm.dot(nG);return c<0?null:this.at(c/s,o)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Wr{constructor(){Wr.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}set(e,n,r,i,o,s,a,l,u,c,f,d,h,p,g,m){const v=this.elements;return v[0]=e,v[4]=n,v[8]=r,v[12]=i,v[1]=o,v[5]=s,v[9]=a,v[13]=l,v[2]=u,v[6]=c,v[10]=f,v[14]=d,v[3]=h,v[7]=p,v[11]=g,v[15]=m,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Wr().fromArray(this.elements)}copy(e){const n=this.elements,r=e.elements;return n[0]=r[0],n[1]=r[1],n[2]=r[2],n[3]=r[3],n[4]=r[4],n[5]=r[5],n[6]=r[6],n[7]=r[7],n[8]=r[8],n[9]=r[9],n[10]=r[10],n[11]=r[11],n[12]=r[12],n[13]=r[13],n[14]=r[14],n[15]=r[15],this}copyPosition(e){const n=this.elements,r=e.elements;return n[12]=r[12],n[13]=r[13],n[14]=r[14],this}setFromMatrix3(e){const n=e.elements;return this.set(n[0],n[3],n[6],0,n[1],n[4],n[7],0,n[2],n[5],n[8],0,0,0,0,1),this}extractBasis(e,n,r){return e.setFromMatrixColumn(this,0),n.setFromMatrixColumn(this,1),r.setFromMatrixColumn(this,2),this}makeBasis(e,n,r){return this.set(e.x,n.x,r.x,0,e.y,n.y,r.y,0,e.z,n.z,r.z,0,0,0,0,1),this}extractRotation(e){const n=this.elements,r=e.elements,i=1/vw.setFromMatrixColumn(e,0).length(),o=1/vw.setFromMatrixColumn(e,1).length(),s=1/vw.setFromMatrixColumn(e,2).length();return n[0]=r[0]*i,n[1]=r[1]*i,n[2]=r[2]*i,n[3]=0,n[4]=r[4]*o,n[5]=r[5]*o,n[6]=r[6]*o,n[7]=0,n[8]=r[8]*s,n[9]=r[9]*s,n[10]=r[10]*s,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromEuler(e){const n=this.elements,r=e.x,i=e.y,o=e.z,s=Math.cos(r),a=Math.sin(r),l=Math.cos(i),u=Math.sin(i),c=Math.cos(o),f=Math.sin(o);if(e.order==="XYZ"){const d=s*c,h=s*f,p=a*c,g=a*f;n[0]=l*c,n[4]=-l*f,n[8]=u,n[1]=h+p*u,n[5]=d-g*u,n[9]=-a*l,n[2]=g-d*u,n[6]=p+h*u,n[10]=s*l}else if(e.order==="YXZ"){const d=l*c,h=l*f,p=u*c,g=u*f;n[0]=d+g*a,n[4]=p*a-h,n[8]=s*u,n[1]=s*f,n[5]=s*c,n[9]=-a,n[2]=h*a-p,n[6]=g+d*a,n[10]=s*l}else if(e.order==="ZXY"){const d=l*c,h=l*f,p=u*c,g=u*f;n[0]=d-g*a,n[4]=-s*f,n[8]=p+h*a,n[1]=h+p*a,n[5]=s*c,n[9]=g-d*a,n[2]=-s*u,n[6]=a,n[10]=s*l}else if(e.order==="ZYX"){const d=s*c,h=s*f,p=a*c,g=a*f;n[0]=l*c,n[4]=p*u-h,n[8]=d*u+g,n[1]=l*f,n[5]=g*u+d,n[9]=h*u-p,n[2]=-u,n[6]=a*l,n[10]=s*l}else if(e.order==="YZX"){const d=s*l,h=s*u,p=a*l,g=a*u;n[0]=l*c,n[4]=g-d*f,n[8]=p*f+h,n[1]=f,n[5]=s*c,n[9]=-a*c,n[2]=-u*c,n[6]=h*f+p,n[10]=d-g*f}else if(e.order==="XZY"){const d=s*l,h=s*u,p=a*l,g=a*u;n[0]=l*c,n[4]=-f,n[8]=u*c,n[1]=d*f+g,n[5]=s*c,n[9]=h*f-p,n[2]=p*f-h,n[6]=a*c,n[10]=g*f+d}return n[3]=0,n[7]=0,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,this}makeRotationFromQuaternion(e){return this.compose(JBn,e,e6n)}lookAt(e,n,r){const i=this.elements;return Fl.subVectors(e,n),Fl.lengthSq()===0&&(Fl.z=1),Fl.normalize(),_m.crossVectors(r,Fl),_m.lengthSq()===0&&(Math.abs(r.z)===1?Fl.x+=1e-4:Fl.z+=1e-4,Fl.normalize(),_m.crossVectors(r,Fl)),_m.normalize(),m$.crossVectors(Fl,_m),i[0]=_m.x,i[4]=m$.x,i[8]=Fl.x,i[1]=_m.y,i[5]=m$.y,i[9]=Fl.y,i[2]=_m.z,i[6]=m$.z,i[10]=Fl.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,n){const r=e.elements,i=n.elements,o=this.elements,s=r[0],a=r[4],l=r[8],u=r[12],c=r[1],f=r[5],d=r[9],h=r[13],p=r[2],g=r[6],m=r[10],v=r[14],y=r[3],x=r[7],b=r[11],w=r[15],_=i[0],S=i[4],O=i[8],k=i[12],E=i[1],M=i[5],A=i[9],P=i[13],T=i[2],R=i[6],I=i[10],B=i[14],$=i[3],z=i[7],L=i[11],j=i[15];return o[0]=s*_+a*E+l*T+u*$,o[4]=s*S+a*M+l*R+u*z,o[8]=s*O+a*A+l*I+u*L,o[12]=s*k+a*P+l*B+u*j,o[1]=c*_+f*E+d*T+h*$,o[5]=c*S+f*M+d*R+h*z,o[9]=c*O+f*A+d*I+h*L,o[13]=c*k+f*P+d*B+h*j,o[2]=p*_+g*E+m*T+v*$,o[6]=p*S+g*M+m*R+v*z,o[10]=p*O+g*A+m*I+v*L,o[14]=p*k+g*P+m*B+v*j,o[3]=y*_+x*E+b*T+w*$,o[7]=y*S+x*M+b*R+w*z,o[11]=y*O+x*A+b*I+w*L,o[15]=y*k+x*P+b*B+w*j,this}multiplyScalar(e){const n=this.elements;return n[0]*=e,n[4]*=e,n[8]*=e,n[12]*=e,n[1]*=e,n[5]*=e,n[9]*=e,n[13]*=e,n[2]*=e,n[6]*=e,n[10]*=e,n[14]*=e,n[3]*=e,n[7]*=e,n[11]*=e,n[15]*=e,this}determinant(){const e=this.elements,n=e[0],r=e[4],i=e[8],o=e[12],s=e[1],a=e[5],l=e[9],u=e[13],c=e[2],f=e[6],d=e[10],h=e[14],p=e[3],g=e[7],m=e[11],v=e[15];return p*(+o*l*f-i*u*f-o*a*d+r*u*d+i*a*h-r*l*h)+g*(+n*l*h-n*u*d+o*s*d-i*s*h+i*u*c-o*l*c)+m*(+n*u*f-n*a*h-o*s*f+r*s*h+o*a*c-r*u*c)+v*(-i*a*c-n*l*f+n*a*d+i*s*f-r*s*d+r*l*c)}transpose(){const e=this.elements;let n;return n=e[1],e[1]=e[4],e[4]=n,n=e[2],e[2]=e[8],e[8]=n,n=e[6],e[6]=e[9],e[9]=n,n=e[3],e[3]=e[12],e[12]=n,n=e[7],e[7]=e[13],e[13]=n,n=e[11],e[11]=e[14],e[14]=n,this}setPosition(e,n,r){const i=this.elements;return e.isVector3?(i[12]=e.x,i[13]=e.y,i[14]=e.z):(i[12]=e,i[13]=n,i[14]=r),this}invert(){const e=this.elements,n=e[0],r=e[1],i=e[2],o=e[3],s=e[4],a=e[5],l=e[6],u=e[7],c=e[8],f=e[9],d=e[10],h=e[11],p=e[12],g=e[13],m=e[14],v=e[15],y=f*m*u-g*d*u+g*l*h-a*m*h-f*l*v+a*d*v,x=p*d*u-c*m*u-p*l*h+s*m*h+c*l*v-s*d*v,b=c*g*u-p*f*u+p*a*h-s*g*h-c*a*v+s*f*v,w=p*f*l-c*g*l-p*a*d+s*g*d+c*a*m-s*f*m,_=n*y+r*x+i*b+o*w;if(_===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const S=1/_;return e[0]=y*S,e[1]=(g*d*o-f*m*o-g*i*h+r*m*h+f*i*v-r*d*v)*S,e[2]=(a*m*o-g*l*o+g*i*u-r*m*u-a*i*v+r*l*v)*S,e[3]=(f*l*o-a*d*o-f*i*u+r*d*u+a*i*h-r*l*h)*S,e[4]=x*S,e[5]=(c*m*o-p*d*o+p*i*h-n*m*h-c*i*v+n*d*v)*S,e[6]=(p*l*o-s*m*o-p*i*u+n*m*u+s*i*v-n*l*v)*S,e[7]=(s*d*o-c*l*o+c*i*u-n*d*u-s*i*h+n*l*h)*S,e[8]=b*S,e[9]=(p*f*o-c*g*o-p*r*h+n*g*h+c*r*v-n*f*v)*S,e[10]=(s*g*o-p*a*o+p*r*u-n*g*u-s*r*v+n*a*v)*S,e[11]=(c*a*o-s*f*o-c*r*u+n*f*u+s*r*h-n*a*h)*S,e[12]=w*S,e[13]=(c*g*i-p*f*i+p*r*d-n*g*d-c*r*m+n*f*m)*S,e[14]=(p*a*i-s*g*i-p*r*l+n*g*l+s*r*m-n*a*m)*S,e[15]=(s*f*i-c*a*i+c*r*l-n*f*l-s*r*d+n*a*d)*S,this}scale(e){const n=this.elements,r=e.x,i=e.y,o=e.z;return n[0]*=r,n[4]*=i,n[8]*=o,n[1]*=r,n[5]*=i,n[9]*=o,n[2]*=r,n[6]*=i,n[10]*=o,n[3]*=r,n[7]*=i,n[11]*=o,this}getMaxScaleOnAxis(){const e=this.elements,n=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],i=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(n,r,i))}makeTranslation(e,n,r){return this.set(1,0,0,e,0,1,0,n,0,0,1,r,0,0,0,1),this}makeRotationX(e){const n=Math.cos(e),r=Math.sin(e);return this.set(1,0,0,0,0,n,-r,0,0,r,n,0,0,0,0,1),this}makeRotationY(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,0,r,0,0,1,0,0,-r,0,n,0,0,0,0,1),this}makeRotationZ(e){const n=Math.cos(e),r=Math.sin(e);return this.set(n,-r,0,0,r,n,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,n){const r=Math.cos(n),i=Math.sin(n),o=1-r,s=e.x,a=e.y,l=e.z,u=o*s,c=o*a;return this.set(u*s+r,u*a-i*l,u*l+i*a,0,u*a+i*l,c*a+r,c*l-i*s,0,u*l-i*a,c*l+i*s,o*l*l+r,0,0,0,0,1),this}makeScale(e,n,r){return this.set(e,0,0,0,0,n,0,0,0,0,r,0,0,0,0,1),this}makeShear(e,n,r,i,o,s){return this.set(1,r,o,0,e,1,s,0,n,i,1,0,0,0,0,1),this}compose(e,n,r){const i=this.elements,o=n._x,s=n._y,a=n._z,l=n._w,u=o+o,c=s+s,f=a+a,d=o*u,h=o*c,p=o*f,g=s*c,m=s*f,v=a*f,y=l*u,x=l*c,b=l*f,w=r.x,_=r.y,S=r.z;return i[0]=(1-(g+v))*w,i[1]=(h+b)*w,i[2]=(p-x)*w,i[3]=0,i[4]=(h-b)*_,i[5]=(1-(d+v))*_,i[6]=(m+y)*_,i[7]=0,i[8]=(p+x)*S,i[9]=(m-y)*S,i[10]=(1-(d+g))*S,i[11]=0,i[12]=e.x,i[13]=e.y,i[14]=e.z,i[15]=1,this}decompose(e,n,r){const i=this.elements;let o=vw.set(i[0],i[1],i[2]).length();const s=vw.set(i[4],i[5],i[6]).length(),a=vw.set(i[8],i[9],i[10]).length();this.determinant()<0&&(o=-o),e.x=i[12],e.y=i[13],e.z=i[14],ef.copy(this);const u=1/o,c=1/s,f=1/a;return ef.elements[0]*=u,ef.elements[1]*=u,ef.elements[2]*=u,ef.elements[4]*=c,ef.elements[5]*=c,ef.elements[6]*=c,ef.elements[8]*=f,ef.elements[9]*=f,ef.elements[10]*=f,n.setFromRotationMatrix(ef),r.x=o,r.y=s,r.z=a,this}makePerspective(e,n,r,i,o,s){const a=this.elements,l=2*o/(n-e),u=2*o/(r-i),c=(n+e)/(n-e),f=(r+i)/(r-i),d=-(s+o)/(s-o),h=-2*s*o/(s-o);return a[0]=l,a[4]=0,a[8]=c,a[12]=0,a[1]=0,a[5]=u,a[9]=f,a[13]=0,a[2]=0,a[6]=0,a[10]=d,a[14]=h,a[3]=0,a[7]=0,a[11]=-1,a[15]=0,this}makeOrthographic(e,n,r,i,o,s){const a=this.elements,l=1/(n-e),u=1/(r-i),c=1/(s-o),f=(n+e)*l,d=(r+i)*u,h=(s+o)*c;return a[0]=2*l,a[4]=0,a[8]=0,a[12]=-f,a[1]=0,a[5]=2*u,a[9]=0,a[13]=-d,a[2]=0,a[6]=0,a[10]=-2*c,a[14]=-h,a[3]=0,a[7]=0,a[11]=0,a[15]=1,this}equals(e){const n=this.elements,r=e.elements;for(let i=0;i<16;i++)if(n[i]!==r[i])return!1;return!0}fromArray(e,n=0){for(let r=0;r<16;r++)this.elements[r]=e[r+n];return this}toArray(e=[],n=0){const r=this.elements;return e[n]=r[0],e[n+1]=r[1],e[n+2]=r[2],e[n+3]=r[3],e[n+4]=r[4],e[n+5]=r[5],e[n+6]=r[6],e[n+7]=r[7],e[n+8]=r[8],e[n+9]=r[9],e[n+10]=r[10],e[n+11]=r[11],e[n+12]=r[12],e[n+13]=r[13],e[n+14]=r[14],e[n+15]=r[15],e}}const vw=new Ce,ef=new Wr,JBn=new Ce(0,0,0),e6n=new Ce(1,1,1),_m=new Ce,m$=new Ce,Fl=new Ce,COe=new Wr,OOe=new W1;class wD{constructor(e=0,n=0,r=0,i=wD.DefaultOrder){this.isEuler=!0,this._x=e,this._y=n,this._z=r,this._order=i}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,n,r,i=this._order){return this._x=e,this._y=n,this._z=r,this._order=i,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,n=this._order,r=!0){const i=e.elements,o=i[0],s=i[4],a=i[8],l=i[1],u=i[5],c=i[9],f=i[2],d=i[6],h=i[10];switch(n){case"XYZ":this._y=Math.asin(tl(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,h),this._z=Math.atan2(-s,o)):(this._x=Math.atan2(d,u),this._z=0);break;case"YXZ":this._x=Math.asin(-tl(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(a,h),this._z=Math.atan2(l,u)):(this._y=Math.atan2(-f,o),this._z=0);break;case"ZXY":this._x=Math.asin(tl(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-f,h),this._z=Math.atan2(-s,u)):(this._y=0,this._z=Math.atan2(l,o));break;case"ZYX":this._y=Math.asin(-tl(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(d,h),this._z=Math.atan2(l,o)):(this._x=0,this._z=Math.atan2(-s,u));break;case"YZX":this._z=Math.asin(tl(l,-1,1)),Math.abs(l)<.9999999?(this._x=Math.atan2(-c,u),this._y=Math.atan2(-f,o)):(this._x=0,this._y=Math.atan2(a,h));break;case"XZY":this._z=Math.asin(-tl(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(d,u),this._y=Math.atan2(a,o)):(this._x=Math.atan2(-c,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+n)}return this._order=n,r===!0&&this._onChangeCallback(),this}setFromQuaternion(e,n,r){return COe.makeRotationFromQuaternion(e),this.setFromRotationMatrix(COe,n,r)}setFromVector3(e,n=this._order){return this.set(e.x,e.y,e.z,n)}reorder(e){return OOe.setFromEuler(this),this.setFromQuaternion(OOe,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],e[3]!==void 0&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],n=0){return e[n]=this._x,e[n+1]=this._y,e[n+2]=this._z,e[n+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}toVector3(){console.error("THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead")}}wD.DefaultOrder="XYZ";wD.RotationOrders=["XYZ","YZX","ZXY","XZY","YXZ","ZYX"];class mXe{constructor(){this.mask=1}set(e){this.mask=(1<>>0}enable(e){this.mask|=1<1){for(let n=0;n1){for(let r=0;r0){i.children=[];for(let a=0;a0){i.animations=[];for(let a=0;a0&&(r.geometries=a),l.length>0&&(r.materials=l),u.length>0&&(r.textures=u),c.length>0&&(r.images=c),f.length>0&&(r.shapes=f),d.length>0&&(r.skeletons=d),h.length>0&&(r.animations=h),p.length>0&&(r.nodes=p)}return r.object=i,r;function s(a){const l=[];for(const u in a){const c=a[u];delete c.metadata,l.push(c)}return l}}clone(e){return new this.constructor().copy(this,e)}copy(e,n=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.userData=JSON.parse(JSON.stringify(e.userData)),n===!0)for(let r=0;r0?i.multiplyScalar(1/Math.sqrt(o)):i.set(0,0,0)}static getBarycoord(e,n,r,i,o){tf.subVectors(i,n),mp.subVectors(r,n),rG.subVectors(e,n);const s=tf.dot(tf),a=tf.dot(mp),l=tf.dot(rG),u=mp.dot(mp),c=mp.dot(rG),f=s*u-a*a;if(f===0)return o.set(-2,-1,-1);const d=1/f,h=(u*l-a*c)*d,p=(s*c-a*l)*d;return o.set(1-h-p,p,h)}static containsPoint(e,n,r,i){return this.getBarycoord(e,n,r,i,vp),vp.x>=0&&vp.y>=0&&vp.x+vp.y<=1}static getUV(e,n,r,i,o,s,a,l){return this.getBarycoord(e,n,r,i,vp),l.set(0,0),l.addScaledVector(o,vp.x),l.addScaledVector(s,vp.y),l.addScaledVector(a,vp.z),l}static isFrontFacing(e,n,r,i){return tf.subVectors(r,n),mp.subVectors(e,n),tf.cross(mp).dot(i)<0}set(e,n,r){return this.a.copy(e),this.b.copy(n),this.c.copy(r),this}setFromPointsAndIndices(e,n,r,i){return this.a.copy(e[n]),this.b.copy(e[r]),this.c.copy(e[i]),this}setFromAttributeAndIndices(e,n,r,i){return this.a.fromBufferAttribute(e,n),this.b.fromBufferAttribute(e,r),this.c.fromBufferAttribute(e,i),this}clone(){return new this.constructor().copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return tf.subVectors(this.c,this.b),mp.subVectors(this.a,this.b),tf.cross(mp).length()*.5}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return Up.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,n){return Up.getBarycoord(e,this.a,this.b,this.c,n)}getUV(e,n,r,i,o){return Up.getUV(e,this.a,this.b,this.c,n,r,i,o)}containsPoint(e){return Up.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return Up.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,n){const r=this.a,i=this.b,o=this.c;let s,a;xw.subVectors(i,r),bw.subVectors(o,r),iG.subVectors(e,r);const l=xw.dot(iG),u=bw.dot(iG);if(l<=0&&u<=0)return n.copy(r);oG.subVectors(e,i);const c=xw.dot(oG),f=bw.dot(oG);if(c>=0&&f<=c)return n.copy(i);const d=l*f-c*u;if(d<=0&&l>=0&&c<=0)return s=l/(l-c),n.copy(r).addScaledVector(xw,s);sG.subVectors(e,o);const h=xw.dot(sG),p=bw.dot(sG);if(p>=0&&h<=p)return n.copy(o);const g=h*u-l*p;if(g<=0&&u>=0&&p<=0)return a=u/(u-p),n.copy(r).addScaledVector(bw,a);const m=c*p-h*f;if(m<=0&&f-c>=0&&h-p>=0)return MOe.subVectors(o,i),a=(f-c)/(f-c+(h-p)),n.copy(i).addScaledVector(MOe,a);const v=1/(m+g+d);return s=g*v,a=d*v,n.copy(r).addScaledVector(xw,s).addScaledVector(bw,a)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}let o6n=0;class _D extends Ab{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:o6n++}),this.uuid=bD(),this.name="",this.type="Material",this.blending=rS,this.side=FC,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.blendSrc=rXe,this.blendDst=iXe,this.blendEquation=zw,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.depthFunc=RZ,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=YBn,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=V7,this.stencilZFail=V7,this.stencilZPass=V7,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(e!==void 0)for(const n in e){const r=e[n];if(r===void 0){console.warn("THREE.Material: '"+n+"' parameter is undefined.");continue}const i=this[n];if(i===void 0){console.warn("THREE."+this.type+": '"+n+"' is not a property of this material.");continue}i&&i.isColor?i.set(r):i&&i.isVector3&&r&&r.isVector3?i.copy(r):this[n]=r}}toJSON(e){const n=e===void 0||typeof e=="string";n&&(e={textures:{},images:{}});const r={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};r.uuid=this.uuid,r.type=this.type,this.name!==""&&(r.name=this.name),this.color&&this.color.isColor&&(r.color=this.color.getHex()),this.roughness!==void 0&&(r.roughness=this.roughness),this.metalness!==void 0&&(r.metalness=this.metalness),this.sheen!==void 0&&(r.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(r.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(r.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(r.emissive=this.emissive.getHex()),this.emissiveIntensity&&this.emissiveIntensity!==1&&(r.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(r.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(r.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(r.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(r.shininess=this.shininess),this.clearcoat!==void 0&&(r.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(r.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(r.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(r.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(r.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,r.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.iridescence!==void 0&&(r.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(r.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(r.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(r.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(r.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(r.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(r.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(r.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(r.lightMap=this.lightMap.toJSON(e).uuid,r.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(r.aoMap=this.aoMap.toJSON(e).uuid,r.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(r.bumpMap=this.bumpMap.toJSON(e).uuid,r.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(r.normalMap=this.normalMap.toJSON(e).uuid,r.normalMapType=this.normalMapType,r.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(r.displacementMap=this.displacementMap.toJSON(e).uuid,r.displacementScale=this.displacementScale,r.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(r.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(r.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(r.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(r.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(r.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(r.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(r.envMap=this.envMap.toJSON(e).uuid,this.combine!==void 0&&(r.combine=this.combine)),this.envMapIntensity!==void 0&&(r.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(r.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(r.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(r.gradientMap=this.gradientMap.toJSON(e).uuid),this.transmission!==void 0&&(r.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(r.transmissionMap=this.transmissionMap.toJSON(e).uuid),this.thickness!==void 0&&(r.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(r.thicknessMap=this.thicknessMap.toJSON(e).uuid),this.attenuationDistance!==void 0&&(r.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(r.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(r.size=this.size),this.shadowSide!==null&&(r.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(r.sizeAttenuation=this.sizeAttenuation),this.blending!==rS&&(r.blending=this.blending),this.side!==FC&&(r.side=this.side),this.vertexColors&&(r.vertexColors=!0),this.opacity<1&&(r.opacity=this.opacity),this.transparent===!0&&(r.transparent=this.transparent),r.depthFunc=this.depthFunc,r.depthTest=this.depthTest,r.depthWrite=this.depthWrite,r.colorWrite=this.colorWrite,r.stencilWrite=this.stencilWrite,r.stencilWriteMask=this.stencilWriteMask,r.stencilFunc=this.stencilFunc,r.stencilRef=this.stencilRef,r.stencilFuncMask=this.stencilFuncMask,r.stencilFail=this.stencilFail,r.stencilZFail=this.stencilZFail,r.stencilZPass=this.stencilZPass,this.rotation!==void 0&&this.rotation!==0&&(r.rotation=this.rotation),this.polygonOffset===!0&&(r.polygonOffset=!0),this.polygonOffsetFactor!==0&&(r.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(r.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(r.linewidth=this.linewidth),this.dashSize!==void 0&&(r.dashSize=this.dashSize),this.gapSize!==void 0&&(r.gapSize=this.gapSize),this.scale!==void 0&&(r.scale=this.scale),this.dithering===!0&&(r.dithering=!0),this.alphaTest>0&&(r.alphaTest=this.alphaTest),this.alphaToCoverage===!0&&(r.alphaToCoverage=this.alphaToCoverage),this.premultipliedAlpha===!0&&(r.premultipliedAlpha=this.premultipliedAlpha),this.wireframe===!0&&(r.wireframe=this.wireframe),this.wireframeLinewidth>1&&(r.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(r.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(r.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(r.flatShading=this.flatShading),this.visible===!1&&(r.visible=!1),this.toneMapped===!1&&(r.toneMapped=!1),this.fog===!1&&(r.fog=!1),JSON.stringify(this.userData)!=="{}"&&(r.userData=this.userData);function i(o){const s=[];for(const a in o){const l=o[a];delete l.metadata,s.push(l)}return s}if(n){const o=i(e.textures),s=i(e.images);o.length>0&&(r.textures=o),s.length>0&&(r.images=s)}return r}clone(){return new this.constructor().copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const n=e.clippingPlanes;let r=null;if(n!==null){const i=n.length;r=new Array(i);for(let o=0;o!==i;++o)r[o]=n[o].clone()}return this.clippingPlanes=r,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){e===!0&&this.version++}}class Iue extends _D{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new ui(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.combine=oXe,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const eo=new Ce,y$=new On;class xc{constructor(e,n,r){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,this.name="",this.array=e,this.itemSize=n,this.count=e!==void 0?e.length/n:0,this.normalized=r===!0,this.usage=yOe,this.updateRange={offset:0,count:-1},this.version=0}onUploadCallback(){}set needsUpdate(e){e===!0&&this.version++}setUsage(e){return this.usage=e,this}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this}copyAt(e,n,r){e*=this.itemSize,r*=n.itemSize;for(let i=0,o=this.itemSize;i0&&(e.userData=this.userData),this.parameters!==void 0){const l=this.parameters;for(const u in l)l[u]!==void 0&&(e[u]=l[u]);return e}e.data={attributes:{}};const n=this.index;n!==null&&(e.data.index={type:n.array.constructor.name,array:Array.prototype.slice.call(n.array)});const r=this.attributes;for(const l in r){const u=r[l];e.data.attributes[l]=u.toJSON(e.data)}const i={};let o=!1;for(const l in this.morphAttributes){const u=this.morphAttributes[l],c=[];for(let f=0,d=u.length;f0&&(i[l]=c,o=!0)}o&&(e.data.morphAttributes=i,e.data.morphTargetsRelative=this.morphTargetsRelative);const s=this.groups;s.length>0&&(e.data.groups=JSON.parse(JSON.stringify(s)));const a=this.boundingSphere;return a!==null&&(e.data.boundingSphere={center:a.center.toArray(),radius:a.radius}),e}clone(){return new this.constructor().copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const n={};this.name=e.name;const r=e.index;r!==null&&this.setIndex(r.clone(n));const i=e.attributes;for(const u in i){const c=i[u];this.setAttribute(u,c.clone(n))}const o=e.morphAttributes;for(const u in o){const c=[],f=o[u];for(let d=0,h=f.length;d0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,s=i.length;on.far?null:{distance:u,point:O$.clone(),object:t}}function E$(t,e,n,r,i,o,s,a,l,u,c,f){Sm.fromBufferAttribute(i,u),Cm.fromBufferAttribute(i,c),Om.fromBufferAttribute(i,f);const d=t.morphTargetInfluences;if(o&&d){x$.set(0,0,0),b$.set(0,0,0),w$.set(0,0,0);for(let p=0,g=o.length;p0?1:-1,c.push(z.x,z.y,z.z),f.push(N/S),f.push(1-L/O),B+=1}}for(let L=0;L0&&(n.defines=this.defines),n.vertexShader=this.vertexShader,n.fragmentShader=this.fragmentShader;const r={};for(const i in this.extensions)this.extensions[i]===!0&&(r[i]=!0);return Object.keys(r).length>0&&(n.extensions=r),n}}class bXe extends yl{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Wr,this.projectionMatrix=new Wr,this.projectionMatrixInverse=new Wr}copy(e,n){return super.copy(e,n),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const n=this.matrixWorld.elements;return e.set(-n[8],-n[9],-n[10]).normalize()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,n){super.updateWorldMatrix(e,n),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}class wf extends bXe{constructor(e=50,n=1,r=.1,i=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=r,this.far=i,this.focus=10,this.aspect=n,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=e.view===null?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const n=.5*this.getFilmHeight()/e;this.fov=bOe*2*Math.atan(n),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(G7*.5*this.fov);return .5*this.getFilmHeight()/e}getEffectiveFOV(){return bOe*2*Math.atan(Math.tan(G7*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}setViewOffset(e,n,r,i,o,s){this.aspect=e/n,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let n=e*Math.tan(G7*.5*this.fov)/this.zoom,r=2*n,i=this.aspect*r,o=-.5*i;const s=this.view;if(this.view!==null&&this.view.enabled){const l=s.fullWidth,u=s.fullHeight;o+=s.offsetX*i/l,n-=s.offsetY*r/u,i*=s.width/l,r*=s.height/u}const a=this.filmOffset;a!==0&&(o+=e*a/this.getFilmWidth()),this.projectionMatrix.makePerspective(o,o+i,n,n-r,e,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.fov=this.fov,n.object.zoom=this.zoom,n.object.near=this.near,n.object.far=this.far,n.object.focus=this.focus,n.object.aspect=this.aspect,this.view!==null&&(n.object.view=Object.assign({},this.view)),n.object.filmGauge=this.filmGauge,n.object.filmOffset=this.filmOffset,n}}const Sw=90,Cw=1;class f6n extends yl{constructor(e,n,r){super(),this.type="CubeCamera",this.renderTarget=r;const i=new wf(Sw,Cw,e,n);i.layers=this.layers,i.up.set(0,-1,0),i.lookAt(new Ce(1,0,0)),this.add(i);const o=new wf(Sw,Cw,e,n);o.layers=this.layers,o.up.set(0,-1,0),o.lookAt(new Ce(-1,0,0)),this.add(o);const s=new wf(Sw,Cw,e,n);s.layers=this.layers,s.up.set(0,0,1),s.lookAt(new Ce(0,1,0)),this.add(s);const a=new wf(Sw,Cw,e,n);a.layers=this.layers,a.up.set(0,0,-1),a.lookAt(new Ce(0,-1,0)),this.add(a);const l=new wf(Sw,Cw,e,n);l.layers=this.layers,l.up.set(0,-1,0),l.lookAt(new Ce(0,0,1)),this.add(l);const u=new wf(Sw,Cw,e,n);u.layers=this.layers,u.up.set(0,-1,0),u.lookAt(new Ce(0,0,-1)),this.add(u)}update(e,n){this.parent===null&&this.updateMatrixWorld();const r=this.renderTarget,[i,o,s,a,l,u]=this.children,c=e.getRenderTarget(),f=e.toneMapping,d=e.xr.enabled;e.toneMapping=xg,e.xr.enabled=!1;const h=r.texture.generateMipmaps;r.texture.generateMipmaps=!1,e.setRenderTarget(r,0),e.render(n,i),e.setRenderTarget(r,1),e.render(n,o),e.setRenderTarget(r,2),e.render(n,s),e.setRenderTarget(r,3),e.render(n,a),e.setRenderTarget(r,4),e.render(n,l),r.texture.generateMipmaps=h,e.setRenderTarget(r,5),e.render(n,u),e.setRenderTarget(c),e.toneMapping=f,e.xr.enabled=d,r.texture.needsPMREMUpdate=!0}}class wXe extends ku{constructor(e,n,r,i,o,s,a,l,u,c){e=e!==void 0?e:[],n=n!==void 0?n:NC,super(e,n,r,i,o,s,a,l,u,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class d6n extends U1{constructor(e,n={}){super(e,e,n),this.isWebGLCubeRenderTarget=!0;const r={width:e,height:e,depth:1},i=[r,r,r,r,r,r];this.texture=new wXe(i,n.mapping,n.wrapS,n.wrapT,n.magFilter,n.minFilter,n.format,n.type,n.anisotropy,n.encoding),this.texture.isRenderTargetTexture=!0,this.texture.generateMipmaps=n.generateMipmaps!==void 0?n.generateMipmaps:!1,this.texture.minFilter=n.minFilter!==void 0?n.minFilter:el}fromEquirectangularTexture(e,n){this.texture.type=n.type,this.texture.encoding=n.encoding,this.texture.generateMipmaps=n.generateMipmaps,this.texture.minFilter=n.minFilter,this.texture.magFilter=n.magFilter;const r={uniforms:{tEquirect:{value:null}},vertexShader:` + + varying vec3 vWorldDirection; + + vec3 transformDirection( in vec3 dir, in mat4 matrix ) { + + return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); + + } + + void main() { + + vWorldDirection = transformDirection( position, modelMatrix ); + + #include + #include + + } + `,fragmentShader:` + + uniform sampler2D tEquirect; + + varying vec3 vWorldDirection; + + #include + + void main() { + + vec3 direction = normalize( vWorldDirection ); + + vec2 sampleUV = equirectUv( direction ); + + gl_FragColor = texture2D( tEquirect, sampleUV ); + + } + `},i=new pE(5,5,5),o=new Ey({name:"CubemapFromEquirect",uniforms:BC(r.uniforms),vertexShader:r.vertexShader,fragmentShader:r.fragmentShader,side:mu,blending:Hv});o.uniforms.tEquirect.value=n;const s=new oh(i,o),a=n.minFilter;return n.minFilter===o8&&(n.minFilter=el),new f6n(1,10,this).update(e,s),n.minFilter=a,s.geometry.dispose(),s.material.dispose(),this}clear(e,n,r,i){const o=e.getRenderTarget();for(let s=0;s<6;s++)e.setRenderTarget(this,s),e.clear(n,r,i);e.setRenderTarget(o)}}const hG=new Ce,h6n=new Ce,p6n=new uu;class W0{constructor(e=new Ce(1,0,0),n=0){this.isPlane=!0,this.normal=e,this.constant=n}set(e,n){return this.normal.copy(e),this.constant=n,this}setComponents(e,n,r,i){return this.normal.set(e,n,r),this.constant=i,this}setFromNormalAndCoplanarPoint(e,n){return this.normal.copy(e),this.constant=-n.dot(this.normal),this}setFromCoplanarPoints(e,n,r){const i=hG.subVectors(r,n).cross(h6n.subVectors(e,n)).normalize();return this.setFromNormalAndCoplanarPoint(i,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,n){return n.copy(this.normal).multiplyScalar(-this.distanceToPoint(e)).add(e)}intersectLine(e,n){const r=e.delta(hG),i=this.normal.dot(r);if(i===0)return this.distanceToPoint(e.start)===0?n.copy(e.start):null;const o=-(e.start.dot(this.normal)+this.constant)/i;return o<0||o>1?null:n.copy(r).multiplyScalar(o).add(e.start)}intersectsLine(e){const n=this.distanceToPoint(e.start),r=this.distanceToPoint(e.end);return n<0&&r>0||r<0&&n>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,n){const r=n||p6n.getNormalMatrix(e),i=this.coplanarPoint(hG).applyMatrix4(e),o=this.normal.applyMatrix3(r).normalize();return this.constant=-i.dot(o),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return new this.constructor().copy(this)}}const Ow=new s8,T$=new Ce;class _Xe{constructor(e=new W0,n=new W0,r=new W0,i=new W0,o=new W0,s=new W0){this.planes=[e,n,r,i,o,s]}set(e,n,r,i,o,s){const a=this.planes;return a[0].copy(e),a[1].copy(n),a[2].copy(r),a[3].copy(i),a[4].copy(o),a[5].copy(s),this}copy(e){const n=this.planes;for(let r=0;r<6;r++)n[r].copy(e.planes[r]);return this}setFromProjectionMatrix(e){const n=this.planes,r=e.elements,i=r[0],o=r[1],s=r[2],a=r[3],l=r[4],u=r[5],c=r[6],f=r[7],d=r[8],h=r[9],p=r[10],g=r[11],m=r[12],v=r[13],y=r[14],x=r[15];return n[0].setComponents(a-i,f-l,g-d,x-m).normalize(),n[1].setComponents(a+i,f+l,g+d,x+m).normalize(),n[2].setComponents(a+o,f+u,g+h,x+v).normalize(),n[3].setComponents(a-o,f-u,g-h,x-v).normalize(),n[4].setComponents(a-s,f-c,g-p,x-y).normalize(),n[5].setComponents(a+s,f+c,g+p,x+y).normalize(),this}intersectsObject(e){const n=e.geometry;return n.boundingSphere===null&&n.computeBoundingSphere(),Ow.copy(n.boundingSphere).applyMatrix4(e.matrixWorld),this.intersectsSphere(Ow)}intersectsSprite(e){return Ow.center.set(0,0,0),Ow.radius=.7071067811865476,Ow.applyMatrix4(e.matrixWorld),this.intersectsSphere(Ow)}intersectsSphere(e){const n=this.planes,r=e.center,i=-e.radius;for(let o=0;o<6;o++)if(n[o].distanceToPoint(r)0?e.max.x:e.min.x,T$.y=i.normal.y>0?e.max.y:e.min.y,T$.z=i.normal.z>0?e.max.z:e.min.z,i.distanceToPoint(T$)<0)return!1}return!0}containsPoint(e){const n=this.planes;for(let r=0;r<6;r++)if(n[r].distanceToPoint(e)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}function SXe(){let t=null,e=!1,n=null,r=null;function i(o,s){n(o,s),r=t.requestAnimationFrame(i)}return{start:function(){e!==!0&&n!==null&&(r=t.requestAnimationFrame(i),e=!0)},stop:function(){t.cancelAnimationFrame(r),e=!1},setAnimationLoop:function(o){n=o},setContext:function(o){t=o}}}function g6n(t,e){const n=e.isWebGL2,r=new WeakMap;function i(u,c){const f=u.array,d=u.usage,h=t.createBuffer();t.bindBuffer(c,h),t.bufferData(c,f,d),u.onUploadCallback();let p;if(f instanceof Float32Array)p=5126;else if(f instanceof Uint16Array)if(u.isFloat16BufferAttribute)if(n)p=5131;else throw new Error("THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.");else p=5123;else if(f instanceof Int16Array)p=5122;else if(f instanceof Uint32Array)p=5125;else if(f instanceof Int32Array)p=5124;else if(f instanceof Int8Array)p=5120;else if(f instanceof Uint8Array)p=5121;else if(f instanceof Uint8ClampedArray)p=5121;else throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+f);return{buffer:h,type:p,bytesPerElement:f.BYTES_PER_ELEMENT,version:u.version}}function o(u,c,f){const d=c.array,h=c.updateRange;t.bindBuffer(f,u),h.count===-1?t.bufferSubData(f,0,d):(n?t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d,h.offset,h.count):t.bufferSubData(f,h.offset*d.BYTES_PER_ELEMENT,d.subarray(h.offset,h.offset+h.count)),h.count=-1)}function s(u){return u.isInterleavedBufferAttribute&&(u=u.data),r.get(u)}function a(u){u.isInterleavedBufferAttribute&&(u=u.data);const c=r.get(u);c&&(t.deleteBuffer(c.buffer),r.delete(u))}function l(u,c){if(u.isGLBufferAttribute){const d=r.get(u);(!d||d.version 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; + return cross( v1, v2 ) * theta_sintheta; +} +vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { + vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; + vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; + vec3 lightNormal = cross( v1, v2 ); + if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); + vec3 T1, T2; + T1 = normalize( V - N * dot( V, N ) ); + T2 = - cross( N, T1 ); + mat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) ); + vec3 coords[ 4 ]; + coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); + coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); + coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); + coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); + coords[ 0 ] = normalize( coords[ 0 ] ); + coords[ 1 ] = normalize( coords[ 1 ] ); + coords[ 2 ] = normalize( coords[ 2 ] ); + coords[ 3 ] = normalize( coords[ 3 ] ); + vec3 vectorFormFactor = vec3( 0.0 ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); + vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); + float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); + return vec3( result ); +} +float G_BlinnPhong_Implicit( ) { + return 0.25; +} +float D_BlinnPhong( const in float shininess, const in float dotNH ) { + return RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess ); +} +vec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) { + vec3 halfDir = normalize( lightDir + viewDir ); + float dotNH = saturate( dot( normal, halfDir ) ); + float dotVH = saturate( dot( viewDir, halfDir ) ); + vec3 F = F_Schlick( specularColor, 1.0, dotVH ); + float G = G_BlinnPhong_Implicit( ); + float D = D_BlinnPhong( shininess, dotNH ); + return F * ( G * D ); +} +#if defined( USE_SHEEN ) +float D_Charlie( float roughness, float dotNH ) { + float alpha = pow2( roughness ); + float invAlpha = 1.0 / alpha; + float cos2h = dotNH * dotNH; + float sin2h = max( 1.0 - cos2h, 0.0078125 ); + return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); +} +float V_Neubelt( float dotNV, float dotNL ) { + return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); +} +vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { + vec3 halfDir = normalize( lightDir + viewDir ); + float dotNL = saturate( dot( normal, lightDir ) ); + float dotNV = saturate( dot( normal, viewDir ) ); + float dotNH = saturate( dot( normal, halfDir ) ); + float D = D_Charlie( sheenRoughness, dotNH ); + float V = V_Neubelt( dotNV, dotNL ); + return sheenColor * ( D * V ); +} +#endif`,O6n=`#ifdef USE_IRIDESCENCE + const mat3 XYZ_TO_REC709 = mat3( + 3.2404542, -0.9692660, 0.0556434, + -1.5371385, 1.8760108, -0.2040259, + -0.4985314, 0.0415560, 1.0572252 + ); + vec3 Fresnel0ToIor( vec3 fresnel0 ) { + vec3 sqrtF0 = sqrt( fresnel0 ); + return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 ); + } + vec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) { + return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) ); + } + float IorToFresnel0( float transmittedIor, float incidentIor ) { + return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor )); + } + vec3 evalSensitivity( float OPD, vec3 shift ) { + float phase = 2.0 * PI * OPD * 1.0e-9; + vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 ); + vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 ); + vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 ); + vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var ); + xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) ); + xyz /= 1.0685e-7; + vec3 rgb = XYZ_TO_REC709 * xyz; + return rgb; + } + vec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) { + vec3 I; + float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) ); + float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) ); + float cosTheta2Sq = 1.0 - sinTheta2Sq; + if ( cosTheta2Sq < 0.0 ) { + return vec3( 1.0 ); + } + float cosTheta2 = sqrt( cosTheta2Sq ); + float R0 = IorToFresnel0( iridescenceIOR, outsideIOR ); + float R12 = F_Schlick( R0, 1.0, cosTheta1 ); + float R21 = R12; + float T121 = 1.0 - R12; + float phi12 = 0.0; + if ( iridescenceIOR < outsideIOR ) phi12 = PI; + float phi21 = PI - phi12; + vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR ); + vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 ); + vec3 phi23 = vec3( 0.0 ); + if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI; + if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI; + if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI; + float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2; + vec3 phi = vec3( phi21 ) + phi23; + vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 ); + vec3 r123 = sqrt( R123 ); + vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 ); + vec3 C0 = R12 + Rs; + I = C0; + vec3 Cm = Rs - T121; + for ( int m = 1; m <= 2; ++ m ) { + Cm *= r123; + vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi ); + I += Cm * Sm; + } + return max( I, vec3( 0.0 ) ); + } +#endif`,E6n=`#ifdef USE_BUMPMAP + uniform sampler2D bumpMap; + uniform float bumpScale; + vec2 dHdxy_fwd() { + vec2 dSTdx = dFdx( vUv ); + vec2 dSTdy = dFdy( vUv ); + float Hll = bumpScale * texture2D( bumpMap, vUv ).x; + float dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll; + float dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll; + return vec2( dBx, dBy ); + } + vec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) { + vec3 vSigmaX = dFdx( surf_pos.xyz ); + vec3 vSigmaY = dFdy( surf_pos.xyz ); + vec3 vN = surf_norm; + vec3 R1 = cross( vSigmaY, vN ); + vec3 R2 = cross( vN, vSigmaX ); + float fDet = dot( vSigmaX, R1 ) * faceDirection; + vec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); + return normalize( abs( fDet ) * surf_norm - vGrad ); + } +#endif`,T6n=`#if NUM_CLIPPING_PLANES > 0 + vec4 plane; + #pragma unroll_loop_start + for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { + plane = clippingPlanes[ i ]; + if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; + } + #pragma unroll_loop_end + #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES + bool clipped = true; + #pragma unroll_loop_start + for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { + plane = clippingPlanes[ i ]; + clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; + } + #pragma unroll_loop_end + if ( clipped ) discard; + #endif +#endif`,k6n=`#if NUM_CLIPPING_PLANES > 0 + varying vec3 vClipPosition; + uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; +#endif`,A6n=`#if NUM_CLIPPING_PLANES > 0 + varying vec3 vClipPosition; +#endif`,P6n=`#if NUM_CLIPPING_PLANES > 0 + vClipPosition = - mvPosition.xyz; +#endif`,M6n=`#if defined( USE_COLOR_ALPHA ) + diffuseColor *= vColor; +#elif defined( USE_COLOR ) + diffuseColor.rgb *= vColor; +#endif`,R6n=`#if defined( USE_COLOR_ALPHA ) + varying vec4 vColor; +#elif defined( USE_COLOR ) + varying vec3 vColor; +#endif`,D6n=`#if defined( USE_COLOR_ALPHA ) + varying vec4 vColor; +#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) + varying vec3 vColor; +#endif`,I6n=`#if defined( USE_COLOR_ALPHA ) + vColor = vec4( 1.0 ); +#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) + vColor = vec3( 1.0 ); +#endif +#ifdef USE_COLOR + vColor *= color; +#endif +#ifdef USE_INSTANCING_COLOR + vColor.xyz *= instanceColor.xyz; +#endif`,L6n=`#define PI 3.141592653589793 +#define PI2 6.283185307179586 +#define PI_HALF 1.5707963267948966 +#define RECIPROCAL_PI 0.3183098861837907 +#define RECIPROCAL_PI2 0.15915494309189535 +#define EPSILON 1e-6 +#ifndef saturate +#define saturate( a ) clamp( a, 0.0, 1.0 ) +#endif +#define whiteComplement( a ) ( 1.0 - saturate( a ) ) +float pow2( const in float x ) { return x*x; } +vec3 pow2( const in vec3 x ) { return x*x; } +float pow3( const in float x ) { return x*x*x; } +float pow4( const in float x ) { float x2 = x*x; return x2*x2; } +float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } +float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } +highp float rand( const in vec2 uv ) { + const highp float a = 12.9898, b = 78.233, c = 43758.5453; + highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); + return fract( sin( sn ) * c ); +} +#ifdef HIGH_PRECISION + float precisionSafeLength( vec3 v ) { return length( v ); } +#else + float precisionSafeLength( vec3 v ) { + float maxComponent = max3( abs( v ) ); + return length( v / maxComponent ) * maxComponent; + } +#endif +struct IncidentLight { + vec3 color; + vec3 direction; + bool visible; +}; +struct ReflectedLight { + vec3 directDiffuse; + vec3 directSpecular; + vec3 indirectDiffuse; + vec3 indirectSpecular; +}; +struct GeometricContext { + vec3 position; + vec3 normal; + vec3 viewDir; +#ifdef USE_CLEARCOAT + vec3 clearcoatNormal; +#endif +}; +vec3 transformDirection( in vec3 dir, in mat4 matrix ) { + return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); +} +vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { + return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); +} +mat3 transposeMat3( const in mat3 m ) { + mat3 tmp; + tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); + tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); + tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); + return tmp; +} +float luminance( const in vec3 rgb ) { + const vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 ); + return dot( weights, rgb ); +} +bool isPerspectiveMatrix( mat4 m ) { + return m[ 2 ][ 3 ] == - 1.0; +} +vec2 equirectUv( in vec3 dir ) { + float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; + float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; + return vec2( u, v ); +}`,$6n=`#ifdef ENVMAP_TYPE_CUBE_UV + #define cubeUV_minMipLevel 4.0 + #define cubeUV_minTileSize 16.0 + float getFace( vec3 direction ) { + vec3 absDirection = abs( direction ); + float face = - 1.0; + if ( absDirection.x > absDirection.z ) { + if ( absDirection.x > absDirection.y ) + face = direction.x > 0.0 ? 0.0 : 3.0; + else + face = direction.y > 0.0 ? 1.0 : 4.0; + } else { + if ( absDirection.z > absDirection.y ) + face = direction.z > 0.0 ? 2.0 : 5.0; + else + face = direction.y > 0.0 ? 1.0 : 4.0; + } + return face; + } + vec2 getUV( vec3 direction, float face ) { + vec2 uv; + if ( face == 0.0 ) { + uv = vec2( direction.z, direction.y ) / abs( direction.x ); + } else if ( face == 1.0 ) { + uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); + } else if ( face == 2.0 ) { + uv = vec2( - direction.x, direction.y ) / abs( direction.z ); + } else if ( face == 3.0 ) { + uv = vec2( - direction.z, direction.y ) / abs( direction.x ); + } else if ( face == 4.0 ) { + uv = vec2( - direction.x, direction.z ) / abs( direction.y ); + } else { + uv = vec2( direction.x, direction.y ) / abs( direction.z ); + } + return 0.5 * ( uv + 1.0 ); + } + vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { + float face = getFace( direction ); + float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); + mipInt = max( mipInt, cubeUV_minMipLevel ); + float faceSize = exp2( mipInt ); + vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; + if ( face > 2.0 ) { + uv.y += faceSize; + face -= 3.0; + } + uv.x += face * faceSize; + uv.x += filterInt * 3.0 * cubeUV_minTileSize; + uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); + uv.x *= CUBEUV_TEXEL_WIDTH; + uv.y *= CUBEUV_TEXEL_HEIGHT; + #ifdef texture2DGradEXT + return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; + #else + return texture2D( envMap, uv ).rgb; + #endif + } + #define cubeUV_r0 1.0 + #define cubeUV_v0 0.339 + #define cubeUV_m0 - 2.0 + #define cubeUV_r1 0.8 + #define cubeUV_v1 0.276 + #define cubeUV_m1 - 1.0 + #define cubeUV_r4 0.4 + #define cubeUV_v4 0.046 + #define cubeUV_m4 2.0 + #define cubeUV_r5 0.305 + #define cubeUV_v5 0.016 + #define cubeUV_m5 3.0 + #define cubeUV_r6 0.21 + #define cubeUV_v6 0.0038 + #define cubeUV_m6 4.0 + float roughnessToMip( float roughness ) { + float mip = 0.0; + if ( roughness >= cubeUV_r1 ) { + mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; + } else if ( roughness >= cubeUV_r4 ) { + mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; + } else if ( roughness >= cubeUV_r5 ) { + mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; + } else if ( roughness >= cubeUV_r6 ) { + mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; + } else { + mip = - 2.0 * log2( 1.16 * roughness ); } + return mip; + } + vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { + float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); + float mipF = fract( mip ); + float mipInt = floor( mip ); + vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); + if ( mipF == 0.0 ) { + return vec4( color0, 1.0 ); + } else { + vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); + return vec4( mix( color0, color1, mipF ), 1.0 ); + } + } +#endif`,F6n=`vec3 transformedNormal = objectNormal; +#ifdef USE_INSTANCING + mat3 m = mat3( instanceMatrix ); + transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); + transformedNormal = m * transformedNormal; +#endif +transformedNormal = normalMatrix * transformedNormal; +#ifdef FLIP_SIDED + transformedNormal = - transformedNormal; +#endif +#ifdef USE_TANGENT + vec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz; + #ifdef FLIP_SIDED + transformedTangent = - transformedTangent; + #endif +#endif`,N6n=`#ifdef USE_DISPLACEMENTMAP + uniform sampler2D displacementMap; + uniform float displacementScale; + uniform float displacementBias; +#endif`,z6n=`#ifdef USE_DISPLACEMENTMAP + transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias ); +#endif`,j6n=`#ifdef USE_EMISSIVEMAP + vec4 emissiveColor = texture2D( emissiveMap, vUv ); + totalEmissiveRadiance *= emissiveColor.rgb; +#endif`,B6n=`#ifdef USE_EMISSIVEMAP + uniform sampler2D emissiveMap; +#endif`,U6n="gl_FragColor = linearToOutputTexel( gl_FragColor );",W6n=`vec4 LinearToLinear( in vec4 value ) { + return value; +} +vec4 LinearTosRGB( in vec4 value ) { + return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); +}`,V6n=`#ifdef USE_ENVMAP + #ifdef ENV_WORLDPOS + vec3 cameraToFrag; + if ( isOrthographic ) { + cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); + } else { + cameraToFrag = normalize( vWorldPosition - cameraPosition ); + } + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + #ifdef ENVMAP_MODE_REFLECTION + vec3 reflectVec = reflect( cameraToFrag, worldNormal ); + #else + vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); + #endif + #else + vec3 reflectVec = vReflect; + #endif + #ifdef ENVMAP_TYPE_CUBE + vec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); + #elif defined( ENVMAP_TYPE_CUBE_UV ) + vec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 ); + #else + vec4 envColor = vec4( 0.0 ); + #endif + #ifdef ENVMAP_BLENDING_MULTIPLY + outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); + #elif defined( ENVMAP_BLENDING_MIX ) + outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); + #elif defined( ENVMAP_BLENDING_ADD ) + outgoingLight += envColor.xyz * specularStrength * reflectivity; + #endif +#endif`,G6n=`#ifdef USE_ENVMAP + uniform float envMapIntensity; + uniform float flipEnvMap; + #ifdef ENVMAP_TYPE_CUBE + uniform samplerCube envMap; + #else + uniform sampler2D envMap; + #endif + +#endif`,H6n=`#ifdef USE_ENVMAP + uniform float reflectivity; + #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) + #define ENV_WORLDPOS + #endif + #ifdef ENV_WORLDPOS + varying vec3 vWorldPosition; + uniform float refractionRatio; + #else + varying vec3 vReflect; + #endif +#endif`,q6n=`#ifdef USE_ENVMAP + #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) + #define ENV_WORLDPOS + #endif + #ifdef ENV_WORLDPOS + + varying vec3 vWorldPosition; + #else + varying vec3 vReflect; + uniform float refractionRatio; + #endif +#endif`,X6n=`#ifdef USE_ENVMAP + #ifdef ENV_WORLDPOS + vWorldPosition = worldPosition.xyz; + #else + vec3 cameraToVertex; + if ( isOrthographic ) { + cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); + } else { + cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); + } + vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); + #ifdef ENVMAP_MODE_REFLECTION + vReflect = reflect( cameraToVertex, worldNormal ); + #else + vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); + #endif + #endif +#endif`,Y6n=`#ifdef USE_FOG + vFogDepth = - mvPosition.z; +#endif`,Q6n=`#ifdef USE_FOG + varying float vFogDepth; +#endif`,K6n=`#ifdef USE_FOG + #ifdef FOG_EXP2 + float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); + #else + float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); + #endif + gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); +#endif`,Z6n=`#ifdef USE_FOG + uniform vec3 fogColor; + varying float vFogDepth; + #ifdef FOG_EXP2 + uniform float fogDensity; + #else + uniform float fogNear; + uniform float fogFar; + #endif +#endif`,J6n=`#ifdef USE_GRADIENTMAP + uniform sampler2D gradientMap; +#endif +vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { + float dotNL = dot( normal, lightDirection ); + vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); + #ifdef USE_GRADIENTMAP + return vec3( texture2D( gradientMap, coord ).r ); + #else + vec2 fw = fwidth( coord ) * 0.5; + return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); + #endif +}`,eUn=`#ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vUv2 ); + vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; + reflectedLight.indirectDiffuse += lightMapIrradiance; +#endif`,tUn=`#ifdef USE_LIGHTMAP + uniform sampler2D lightMap; + uniform float lightMapIntensity; +#endif`,nUn=`LambertMaterial material; +material.diffuseColor = diffuseColor.rgb; +material.specularStrength = specularStrength;`,rUn=`varying vec3 vViewPosition; +struct LambertMaterial { + vec3 diffuseColor; + float specularStrength; +}; +void RE_Direct_Lambert( const in IncidentLight directLight, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in GeometricContext geometry, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_Lambert +#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert +#define Material_LightProbeLOD( material ) (0)`,iUn=`uniform bool receiveShadow; +uniform vec3 ambientLightColor; +uniform vec3 lightProbe[ 9 ]; +vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { + float x = normal.x, y = normal.y, z = normal.z; + vec3 result = shCoefficients[ 0 ] * 0.886227; + result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; + result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; + result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; + result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; + result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; + result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); + result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; + result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); + return result; +} +vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); + return irradiance; +} +vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { + vec3 irradiance = ambientLightColor; + return irradiance; +} +float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { + #if defined ( PHYSICALLY_CORRECT_LIGHTS ) + float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); + if ( cutoffDistance > 0.0 ) { + distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); + } + return distanceFalloff; + #else + if ( cutoffDistance > 0.0 && decayExponent > 0.0 ) { + return pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent ); + } + return 1.0; + #endif +} +float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { + return smoothstep( coneCosine, penumbraCosine, angleCosine ); +} +#if NUM_DIR_LIGHTS > 0 + struct DirectionalLight { + vec3 direction; + vec3 color; + }; + uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; + void getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) { + light.color = directionalLight.color; + light.direction = directionalLight.direction; + light.visible = true; + } +#endif +#if NUM_POINT_LIGHTS > 0 + struct PointLight { + vec3 position; + vec3 color; + float distance; + float decay; + }; + uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; + void getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) { + vec3 lVector = pointLight.position - geometry.position; + light.direction = normalize( lVector ); + float lightDistance = length( lVector ); + light.color = pointLight.color; + light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); + light.visible = ( light.color != vec3( 0.0 ) ); + } +#endif +#if NUM_SPOT_LIGHTS > 0 + struct SpotLight { + vec3 position; + vec3 direction; + vec3 color; + float distance; + float decay; + float coneCos; + float penumbraCos; + }; + uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; + void getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) { + vec3 lVector = spotLight.position - geometry.position; + light.direction = normalize( lVector ); + float angleCos = dot( light.direction, spotLight.direction ); + float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); + if ( spotAttenuation > 0.0 ) { + float lightDistance = length( lVector ); + light.color = spotLight.color * spotAttenuation; + light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); + light.visible = ( light.color != vec3( 0.0 ) ); + } else { + light.color = vec3( 0.0 ); + light.visible = false; + } + } +#endif +#if NUM_RECT_AREA_LIGHTS > 0 + struct RectAreaLight { + vec3 color; + vec3 position; + vec3 halfWidth; + vec3 halfHeight; + }; + uniform sampler2D ltc_1; uniform sampler2D ltc_2; + uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; +#endif +#if NUM_HEMI_LIGHTS > 0 + struct HemisphereLight { + vec3 direction; + vec3 skyColor; + vec3 groundColor; + }; + uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; + vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { + float dotNL = dot( normal, hemiLight.direction ); + float hemiDiffuseWeight = 0.5 * dotNL + 0.5; + vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); + return irradiance; + } +#endif`,oUn=`#if defined( USE_ENVMAP ) + vec3 getIBLIrradiance( const in vec3 normal ) { + #if defined( ENVMAP_TYPE_CUBE_UV ) + vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); + vec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 ); + return PI * envMapColor.rgb * envMapIntensity; + #else + return vec3( 0.0 ); + #endif + } + vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { + #if defined( ENVMAP_TYPE_CUBE_UV ) + vec3 reflectVec = reflect( - viewDir, normal ); + reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); + reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); + vec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness ); + return envMapColor.rgb * envMapIntensity; + #else + return vec3( 0.0 ); + #endif + } +#endif`,sUn=`ToonMaterial material; +material.diffuseColor = diffuseColor.rgb;`,aUn=`varying vec3 vViewPosition; +struct ToonMaterial { + vec3 diffuseColor; +}; +void RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { + vec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_Toon +#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon +#define Material_LightProbeLOD( material ) (0)`,lUn=`BlinnPhongMaterial material; +material.diffuseColor = diffuseColor.rgb; +material.specularColor = specular; +material.specularShininess = shininess; +material.specularStrength = specularStrength;`,uUn=`varying vec3 vViewPosition; +struct BlinnPhongMaterial { + vec3 diffuseColor; + vec3 specularColor; + float specularShininess; + float specularStrength; +}; +void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); + reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; +} +void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +#define RE_Direct RE_Direct_BlinnPhong +#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong +#define Material_LightProbeLOD( material ) (0)`,cUn=`PhysicalMaterial material; +material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); +vec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) ); +float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); +material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; +material.roughness = min( material.roughness, 1.0 ); +#ifdef IOR + material.ior = ior; + #ifdef SPECULAR + float specularIntensityFactor = specularIntensity; + vec3 specularColorFactor = specularColor; + #ifdef USE_SPECULARINTENSITYMAP + specularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a; + #endif + #ifdef USE_SPECULARCOLORMAP + specularColorFactor *= texture2D( specularColorMap, vUv ).rgb; + #endif + material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); + #else + float specularIntensityFactor = 1.0; + vec3 specularColorFactor = vec3( 1.0 ); + material.specularF90 = 1.0; + #endif + material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); +#else + material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); + material.specularF90 = 1.0; +#endif +#ifdef USE_CLEARCOAT + material.clearcoat = clearcoat; + material.clearcoatRoughness = clearcoatRoughness; + material.clearcoatF0 = vec3( 0.04 ); + material.clearcoatF90 = 1.0; + #ifdef USE_CLEARCOATMAP + material.clearcoat *= texture2D( clearcoatMap, vUv ).x; + #endif + #ifdef USE_CLEARCOAT_ROUGHNESSMAP + material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y; + #endif + material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); + material.clearcoatRoughness += geometryRoughness; + material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); +#endif +#ifdef USE_IRIDESCENCE + material.iridescence = iridescence; + material.iridescenceIOR = iridescenceIOR; + #ifdef USE_IRIDESCENCEMAP + material.iridescence *= texture2D( iridescenceMap, vUv ).r; + #endif + #ifdef USE_IRIDESCENCE_THICKNESSMAP + material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum; + #else + material.iridescenceThickness = iridescenceThicknessMaximum; + #endif +#endif +#ifdef USE_SHEEN + material.sheenColor = sheenColor; + #ifdef USE_SHEENCOLORMAP + material.sheenColor *= texture2D( sheenColorMap, vUv ).rgb; + #endif + material.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 ); + #ifdef USE_SHEENROUGHNESSMAP + material.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a; + #endif +#endif`,fUn=`struct PhysicalMaterial { + vec3 diffuseColor; + float roughness; + vec3 specularColor; + float specularF90; + #ifdef USE_CLEARCOAT + float clearcoat; + float clearcoatRoughness; + vec3 clearcoatF0; + float clearcoatF90; + #endif + #ifdef USE_IRIDESCENCE + float iridescence; + float iridescenceIOR; + float iridescenceThickness; + vec3 iridescenceFresnel; + vec3 iridescenceF0; + #endif + #ifdef USE_SHEEN + vec3 sheenColor; + float sheenRoughness; + #endif + #ifdef IOR + float ior; + #endif + #ifdef USE_TRANSMISSION + float transmission; + float transmissionAlpha; + float thickness; + float attenuationDistance; + vec3 attenuationColor; + #endif +}; +vec3 clearcoatSpecular = vec3( 0.0 ); +vec3 sheenSpecular = vec3( 0.0 ); +float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { + float dotNV = saturate( dot( normal, viewDir ) ); + float r2 = roughness * roughness; + float a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; + float b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; + float DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); + return saturate( DG * RECIPROCAL_PI ); +} +vec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { + float dotNV = saturate( dot( normal, viewDir ) ); + const vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); + const vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 ); + vec4 r = roughness * c0 + c1; + float a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; + vec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw; + return fab; +} +vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { + vec2 fab = DFGApprox( normal, viewDir, roughness ); + return specularColor * fab.x + specularF90 * fab.y; +} +#ifdef USE_IRIDESCENCE +void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { +#else +void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { +#endif + vec2 fab = DFGApprox( normal, viewDir, roughness ); + #ifdef USE_IRIDESCENCE + vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); + #else + vec3 Fr = specularColor; + #endif + vec3 FssEss = Fr * fab.x + specularF90 * fab.y; + float Ess = fab.x + fab.y; + float Ems = 1.0 - Ess; + vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); + singleScatter += FssEss; + multiScatter += Fms * Ems; +} +#if NUM_RECT_AREA_LIGHTS > 0 + void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + vec3 normal = geometry.normal; + vec3 viewDir = geometry.viewDir; + vec3 position = geometry.position; + vec3 lightPos = rectAreaLight.position; + vec3 halfWidth = rectAreaLight.halfWidth; + vec3 halfHeight = rectAreaLight.halfHeight; + vec3 lightColor = rectAreaLight.color; + float roughness = material.roughness; + vec3 rectCoords[ 4 ]; + rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; + rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; + rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; + vec2 uv = LTC_Uv( normal, viewDir, roughness ); + vec4 t1 = texture2D( ltc_1, uv ); + vec4 t2 = texture2D( ltc_2, uv ); + mat3 mInv = mat3( + vec3( t1.x, 0, t1.y ), + vec3( 0, 1, 0 ), + vec3( t1.z, 0, t1.w ) + ); + vec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y ); + reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); + reflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); + } +#endif +void RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + float dotNL = saturate( dot( geometry.normal, directLight.direction ) ); + vec3 irradiance = dotNL * directLight.color; + #ifdef USE_CLEARCOAT + float dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); + vec3 ccIrradiance = dotNLcc * directLight.color; + clearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); + #endif + #ifdef USE_SHEEN + sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); + #endif + #ifdef USE_IRIDESCENCE + reflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); + #else + reflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness ); + #endif + reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { + reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); +} +void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { + #ifdef USE_CLEARCOAT + clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); + #endif + #ifdef USE_SHEEN + sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); + #endif + vec3 singleScattering = vec3( 0.0 ); + vec3 multiScattering = vec3( 0.0 ); + vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; + #ifdef USE_IRIDESCENCE + computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering ); + #else + computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering ); + #endif + vec3 totalScattering = singleScattering + multiScattering; + vec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); + reflectedLight.indirectSpecular += radiance * singleScattering; + reflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance; + reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance; +} +#define RE_Direct RE_Direct_Physical +#define RE_Direct_RectArea RE_Direct_RectArea_Physical +#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical +#define RE_IndirectSpecular RE_IndirectSpecular_Physical +float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { + return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); +}`,dUn=` +GeometricContext geometry; +geometry.position = - vViewPosition; +geometry.normal = normal; +geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); +#ifdef USE_CLEARCOAT + geometry.clearcoatNormal = clearcoatNormal; +#endif +#ifdef USE_IRIDESCENCE + float dotNVi = saturate( dot( normal, geometry.viewDir ) ); + if ( material.iridescenceThickness == 0.0 ) { + material.iridescence = 0.0; + } else { + material.iridescence = saturate( material.iridescence ); + } + if ( material.iridescence > 0.0 ) { + material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); + material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); + } +#endif +IncidentLight directLight; +#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) + PointLight pointLight; + #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 + PointLightShadow pointLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { + pointLight = pointLights[ i ]; + getPointLightInfo( pointLight, geometry, directLight ); + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) + pointLightShadow = pointLightShadows[ i ]; + directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) + SpotLight spotLight; + vec4 spotColor; + vec3 spotLightCoord; + bool inSpotLightMap; + #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 + SpotLightShadow spotLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { + spotLight = spotLights[ i ]; + getSpotLightInfo( spotLight, geometry, directLight ); + #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) + #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX + #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS + #else + #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) + #endif + #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) + spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; + inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); + spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); + directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; + #endif + #undef SPOT_LIGHT_MAP_INDEX + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + spotLightShadow = spotLightShadows[ i ]; + directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) + DirectionalLight directionalLight; + #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 + DirectionalLightShadow directionalLightShadow; + #endif + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { + directionalLight = directionalLights[ i ]; + getDirectionalLightInfo( directionalLight, geometry, directLight ); + #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) + directionalLightShadow = directionalLightShadows[ i ]; + directLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; + #endif + RE_Direct( directLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) + RectAreaLight rectAreaLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { + rectAreaLight = rectAreaLights[ i ]; + RE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight ); + } + #pragma unroll_loop_end +#endif +#if defined( RE_IndirectDiffuse ) + vec3 iblIrradiance = vec3( 0.0 ); + vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); + irradiance += getLightProbeIrradiance( lightProbe, geometry.normal ); + #if ( NUM_HEMI_LIGHTS > 0 ) + #pragma unroll_loop_start + for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { + irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal ); + } + #pragma unroll_loop_end + #endif +#endif +#if defined( RE_IndirectSpecular ) + vec3 radiance = vec3( 0.0 ); + vec3 clearcoatRadiance = vec3( 0.0 ); +#endif`,hUn=`#if defined( RE_IndirectDiffuse ) + #ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vUv2 ); + vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; + irradiance += lightMapIrradiance; + #endif + #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) + iblIrradiance += getIBLIrradiance( geometry.normal ); + #endif +#endif +#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) + radiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness ); + #ifdef USE_CLEARCOAT + clearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness ); + #endif +#endif`,pUn=`#if defined( RE_IndirectDiffuse ) + RE_IndirectDiffuse( irradiance, geometry, material, reflectedLight ); +#endif +#if defined( RE_IndirectSpecular ) + RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight ); +#endif`,gUn=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) + gl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; +#endif`,mUn=`#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT ) + uniform float logDepthBufFC; + varying float vFragDepth; + varying float vIsPerspective; +#endif`,vUn=`#ifdef USE_LOGDEPTHBUF + #ifdef USE_LOGDEPTHBUF_EXT + varying float vFragDepth; + varying float vIsPerspective; + #else + uniform float logDepthBufFC; + #endif +#endif`,yUn=`#ifdef USE_LOGDEPTHBUF + #ifdef USE_LOGDEPTHBUF_EXT + vFragDepth = 1.0 + gl_Position.w; + vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); + #else + if ( isPerspectiveMatrix( projectionMatrix ) ) { + gl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0; + gl_Position.z *= gl_Position.w; + } + #endif +#endif`,xUn=`#ifdef USE_MAP + vec4 sampledDiffuseColor = texture2D( map, vUv ); + #ifdef DECODE_VIDEO_TEXTURE + sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); + #endif + diffuseColor *= sampledDiffuseColor; +#endif`,bUn=`#ifdef USE_MAP + uniform sampler2D map; +#endif`,wUn=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) + vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; +#endif +#ifdef USE_MAP + diffuseColor *= texture2D( map, uv ); +#endif +#ifdef USE_ALPHAMAP + diffuseColor.a *= texture2D( alphaMap, uv ).g; +#endif`,_Un=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) + uniform mat3 uvTransform; +#endif +#ifdef USE_MAP + uniform sampler2D map; +#endif +#ifdef USE_ALPHAMAP + uniform sampler2D alphaMap; +#endif`,SUn=`float metalnessFactor = metalness; +#ifdef USE_METALNESSMAP + vec4 texelMetalness = texture2D( metalnessMap, vUv ); + metalnessFactor *= texelMetalness.b; +#endif`,CUn=`#ifdef USE_METALNESSMAP + uniform sampler2D metalnessMap; +#endif`,OUn=`#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE ) + vColor *= morphTargetBaseInfluence; + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + #if defined( USE_COLOR_ALPHA ) + if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; + #elif defined( USE_COLOR ) + if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; + #endif + } +#endif`,EUn=`#ifdef USE_MORPHNORMALS + objectNormal *= morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; + } + #else + objectNormal += morphNormal0 * morphTargetInfluences[ 0 ]; + objectNormal += morphNormal1 * morphTargetInfluences[ 1 ]; + objectNormal += morphNormal2 * morphTargetInfluences[ 2 ]; + objectNormal += morphNormal3 * morphTargetInfluences[ 3 ]; + #endif +#endif`,TUn=`#ifdef USE_MORPHTARGETS + uniform float morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; + uniform sampler2DArray morphTargetsTexture; + uniform ivec2 morphTargetsTextureSize; + vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { + int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; + int y = texelIndex / morphTargetsTextureSize.x; + int x = texelIndex - y * morphTargetsTextureSize.x; + ivec3 morphUV = ivec3( x, y, morphTargetIndex ); + return texelFetch( morphTargetsTexture, morphUV, 0 ); + } + #else + #ifndef USE_MORPHNORMALS + uniform float morphTargetInfluences[ 8 ]; + #else + uniform float morphTargetInfluences[ 4 ]; + #endif + #endif +#endif`,kUn=`#ifdef USE_MORPHTARGETS + transformed *= morphTargetBaseInfluence; + #ifdef MORPHTARGETS_TEXTURE + for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { + if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; + } + #else + transformed += morphTarget0 * morphTargetInfluences[ 0 ]; + transformed += morphTarget1 * morphTargetInfluences[ 1 ]; + transformed += morphTarget2 * morphTargetInfluences[ 2 ]; + transformed += morphTarget3 * morphTargetInfluences[ 3 ]; + #ifndef USE_MORPHNORMALS + transformed += morphTarget4 * morphTargetInfluences[ 4 ]; + transformed += morphTarget5 * morphTargetInfluences[ 5 ]; + transformed += morphTarget6 * morphTargetInfluences[ 6 ]; + transformed += morphTarget7 * morphTargetInfluences[ 7 ]; + #endif + #endif +#endif`,AUn=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; +#ifdef FLAT_SHADED + vec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) ); + vec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) ); + vec3 normal = normalize( cross( fdx, fdy ) ); +#else + vec3 normal = normalize( vNormal ); + #ifdef DOUBLE_SIDED + normal = normal * faceDirection; + #endif + #ifdef USE_TANGENT + vec3 tangent = normalize( vTangent ); + vec3 bitangent = normalize( vBitangent ); + #ifdef DOUBLE_SIDED + tangent = tangent * faceDirection; + bitangent = bitangent * faceDirection; + #endif + #if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP ) + mat3 vTBN = mat3( tangent, bitangent, normal ); + #endif + #endif +#endif +vec3 geometryNormal = normal;`,PUn=`#ifdef OBJECTSPACE_NORMALMAP + normal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; + #ifdef FLIP_SIDED + normal = - normal; + #endif + #ifdef DOUBLE_SIDED + normal = normal * faceDirection; + #endif + normal = normalize( normalMatrix * normal ); +#elif defined( TANGENTSPACE_NORMALMAP ) + vec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0; + mapN.xy *= normalScale; + #ifdef USE_TANGENT + normal = normalize( vTBN * mapN ); + #else + normal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection ); + #endif +#elif defined( USE_BUMPMAP ) + normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); +#endif`,MUn=`#ifndef FLAT_SHADED + varying vec3 vNormal; + #ifdef USE_TANGENT + varying vec3 vTangent; + varying vec3 vBitangent; + #endif +#endif`,RUn=`#ifndef FLAT_SHADED + varying vec3 vNormal; + #ifdef USE_TANGENT + varying vec3 vTangent; + varying vec3 vBitangent; + #endif +#endif`,DUn=`#ifndef FLAT_SHADED + vNormal = normalize( transformedNormal ); + #ifdef USE_TANGENT + vTangent = normalize( transformedTangent ); + vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); + #endif +#endif`,IUn=`#ifdef USE_NORMALMAP + uniform sampler2D normalMap; + uniform vec2 normalScale; +#endif +#ifdef OBJECTSPACE_NORMALMAP + uniform mat3 normalMatrix; +#endif +#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) ) + vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) { + vec3 q0 = dFdx( eye_pos.xyz ); + vec3 q1 = dFdy( eye_pos.xyz ); + vec2 st0 = dFdx( vUv.st ); + vec2 st1 = dFdy( vUv.st ); + vec3 N = surf_norm; + vec3 q1perp = cross( q1, N ); + vec3 q0perp = cross( N, q0 ); + vec3 T = q1perp * st0.x + q0perp * st1.x; + vec3 B = q1perp * st0.y + q0perp * st1.y; + float det = max( dot( T, T ), dot( B, B ) ); + float scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det ); + return normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z ); + } +#endif`,LUn=`#ifdef USE_CLEARCOAT + vec3 clearcoatNormal = geometryNormal; +#endif`,$Un=`#ifdef USE_CLEARCOAT_NORMALMAP + vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0; + clearcoatMapN.xy *= clearcoatNormalScale; + #ifdef USE_TANGENT + clearcoatNormal = normalize( vTBN * clearcoatMapN ); + #else + clearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection ); + #endif +#endif`,FUn=`#ifdef USE_CLEARCOATMAP + uniform sampler2D clearcoatMap; +#endif +#ifdef USE_CLEARCOAT_ROUGHNESSMAP + uniform sampler2D clearcoatRoughnessMap; +#endif +#ifdef USE_CLEARCOAT_NORMALMAP + uniform sampler2D clearcoatNormalMap; + uniform vec2 clearcoatNormalScale; +#endif`,NUn=`#ifdef USE_IRIDESCENCEMAP + uniform sampler2D iridescenceMap; +#endif +#ifdef USE_IRIDESCENCE_THICKNESSMAP + uniform sampler2D iridescenceThicknessMap; +#endif`,zUn=`#ifdef OPAQUE +diffuseColor.a = 1.0; +#endif +#ifdef USE_TRANSMISSION +diffuseColor.a *= material.transmissionAlpha + 0.1; +#endif +gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,jUn=`vec3 packNormalToRGB( const in vec3 normal ) { + return normalize( normal ) * 0.5 + 0.5; +} +vec3 unpackRGBToNormal( const in vec3 rgb ) { + return 2.0 * rgb.xyz - 1.0; +} +const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.; +const vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. ); +const vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. ); +const float ShiftRight8 = 1. / 256.; +vec4 packDepthToRGBA( const in float v ) { + vec4 r = vec4( fract( v * PackFactors ), v ); + r.yzw -= r.xyz * ShiftRight8; return r * PackUpscale; +} +float unpackRGBAToDepth( const in vec4 v ) { + return dot( v, UnpackFactors ); +} +vec4 pack2HalfToRGBA( vec2 v ) { + vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); + return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); +} +vec2 unpackRGBATo2Half( vec4 v ) { + return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); +} +float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { + return ( viewZ + near ) / ( near - far ); +} +float orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) { + return linearClipZ * ( near - far ) - near; +} +float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { + return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); +} +float perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) { + return ( near * far ) / ( ( far - near ) * invClipZ - far ); +}`,BUn=`#ifdef PREMULTIPLIED_ALPHA + gl_FragColor.rgb *= gl_FragColor.a; +#endif`,UUn=`vec4 mvPosition = vec4( transformed, 1.0 ); +#ifdef USE_INSTANCING + mvPosition = instanceMatrix * mvPosition; +#endif +mvPosition = modelViewMatrix * mvPosition; +gl_Position = projectionMatrix * mvPosition;`,WUn=`#ifdef DITHERING + gl_FragColor.rgb = dithering( gl_FragColor.rgb ); +#endif`,VUn=`#ifdef DITHERING + vec3 dithering( vec3 color ) { + float grid_position = rand( gl_FragCoord.xy ); + vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); + dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); + return color + dither_shift_RGB; + } +#endif`,GUn=`float roughnessFactor = roughness; +#ifdef USE_ROUGHNESSMAP + vec4 texelRoughness = texture2D( roughnessMap, vUv ); + roughnessFactor *= texelRoughness.g; +#endif`,HUn=`#ifdef USE_ROUGHNESSMAP + uniform sampler2D roughnessMap; +#endif`,qUn=`#if NUM_SPOT_LIGHT_COORDS > 0 + varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; +#endif +#if NUM_SPOT_LIGHT_MAPS > 0 + uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; +#endif +#ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; + varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; + struct DirectionalLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; + struct SpotLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + uniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; + varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; + struct PointLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + float shadowCameraNear; + float shadowCameraFar; + }; + uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; + #endif + float texture2DCompare( sampler2D depths, vec2 uv, float compare ) { + return step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) ); + } + vec2 texture2DDistribution( sampler2D shadow, vec2 uv ) { + return unpackRGBATo2Half( texture2D( shadow, uv ) ); + } + float VSMShadow (sampler2D shadow, vec2 uv, float compare ){ + float occlusion = 1.0; + vec2 distribution = texture2DDistribution( shadow, uv ); + float hard_shadow = step( compare , distribution.x ); + if (hard_shadow != 1.0 ) { + float distance = compare - distribution.x ; + float variance = max( 0.00000, distribution.y * distribution.y ); + float softness_probability = variance / (variance + distance * distance ); softness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); occlusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 ); + } + return occlusion; + } + float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) { + float shadow = 1.0; + shadowCoord.xyz /= shadowCoord.w; + shadowCoord.z += shadowBias; + bvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 ); + bool inFrustum = all( inFrustumVec ); + bvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 ); + bool frustumTest = all( frustumTestVec ); + if ( frustumTest ) { + #if defined( SHADOWMAP_TYPE_PCF ) + vec2 texelSize = vec2( 1.0 ) / shadowMapSize; + float dx0 = - texelSize.x * shadowRadius; + float dy0 = - texelSize.y * shadowRadius; + float dx1 = + texelSize.x * shadowRadius; + float dy1 = + texelSize.y * shadowRadius; + float dx2 = dx0 / 2.0; + float dy2 = dy0 / 2.0; + float dx3 = dx1 / 2.0; + float dy3 = dy1 / 2.0; + shadow = ( + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) + + texture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z ) + ) * ( 1.0 / 17.0 ); + #elif defined( SHADOWMAP_TYPE_PCF_SOFT ) + vec2 texelSize = vec2( 1.0 ) / shadowMapSize; + float dx = texelSize.x; + float dy = texelSize.y; + vec2 uv = shadowCoord.xy; + vec2 f = fract( uv * shadowMapSize + 0.5 ); + uv -= f * texelSize; + shadow = ( + texture2DCompare( shadowMap, uv, shadowCoord.z ) + + texture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) + + texture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) + + texture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) + + mix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ), + f.x ) + + mix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ), + f.x ) + + mix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ), + f.y ) + + mix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ), + f.y ) + + mix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ), + f.x ), + mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), + texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ), + f.x ), + f.y ) + ) * ( 1.0 / 9.0 ); + #elif defined( SHADOWMAP_TYPE_VSM ) + shadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z ); + #else + shadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ); + #endif + } + return shadow; + } + vec2 cubeToUV( vec3 v, float texelSizeY ) { + vec3 absV = abs( v ); + float scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) ); + absV *= scaleToCube; + v *= scaleToCube * ( 1.0 - 2.0 * texelSizeY ); + vec2 planar = v.xy; + float almostATexel = 1.5 * texelSizeY; + float almostOne = 1.0 - almostATexel; + if ( absV.z >= almostOne ) { + if ( v.z > 0.0 ) + planar.x = 4.0 - v.x; + } else if ( absV.x >= almostOne ) { + float signX = sign( v.x ); + planar.x = v.z * signX + 2.0 * signX; + } else if ( absV.y >= almostOne ) { + float signY = sign( v.y ); + planar.x = v.x + 2.0 * signY + 2.0; + planar.y = v.z * signY - 2.0; + } + return vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 ); + } + float getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { + vec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) ); + vec3 lightToPosition = shadowCoord.xyz; + float dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); dp += shadowBias; + vec3 bd3D = normalize( lightToPosition ); + #if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM ) + vec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y; + return ( + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) + + texture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp ) + ) * ( 1.0 / 9.0 ); + #else + return texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ); + #endif + } +#endif`,XUn=`#if NUM_SPOT_LIGHT_COORDS > 0 + uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; + varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; +#endif +#ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; + varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; + struct DirectionalLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + struct SpotLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + }; + uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; + varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; + struct PointLightShadow { + float shadowBias; + float shadowNormalBias; + float shadowRadius; + vec2 shadowMapSize; + float shadowCameraNear; + float shadowCameraFar; + }; + uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; + #endif +#endif`,YUn=`#if defined( USE_SHADOWMAP ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) + #if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_COORDS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 + vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); + vec4 shadowWorldPosition; + #endif + #if NUM_DIR_LIGHT_SHADOWS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { + shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); + vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end + #endif + #if NUM_SPOT_LIGHT_COORDS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { + shadowWorldPosition = worldPosition; + #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) + shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; + #endif + vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { + shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); + vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; + } + #pragma unroll_loop_end + #endif +#endif`,QUn=`float getShadowMask() { + float shadow = 1.0; + #ifdef USE_SHADOWMAP + #if NUM_DIR_LIGHT_SHADOWS > 0 + DirectionalLightShadow directionalLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { + directionalLight = directionalLightShadows[ i ]; + shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; + } + #pragma unroll_loop_end + #endif + #if NUM_SPOT_LIGHT_SHADOWS > 0 + SpotLightShadow spotLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { + spotLight = spotLightShadows[ i ]; + shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; + } + #pragma unroll_loop_end + #endif + #if NUM_POINT_LIGHT_SHADOWS > 0 + PointLightShadow pointLight; + #pragma unroll_loop_start + for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { + pointLight = pointLightShadows[ i ]; + shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; + } + #pragma unroll_loop_end + #endif + #endif + return shadow; +}`,KUn=`#ifdef USE_SKINNING + mat4 boneMatX = getBoneMatrix( skinIndex.x ); + mat4 boneMatY = getBoneMatrix( skinIndex.y ); + mat4 boneMatZ = getBoneMatrix( skinIndex.z ); + mat4 boneMatW = getBoneMatrix( skinIndex.w ); +#endif`,ZUn=`#ifdef USE_SKINNING + uniform mat4 bindMatrix; + uniform mat4 bindMatrixInverse; + uniform highp sampler2D boneTexture; + uniform int boneTextureSize; + mat4 getBoneMatrix( const in float i ) { + float j = i * 4.0; + float x = mod( j, float( boneTextureSize ) ); + float y = floor( j / float( boneTextureSize ) ); + float dx = 1.0 / float( boneTextureSize ); + float dy = 1.0 / float( boneTextureSize ); + y = dy * ( y + 0.5 ); + vec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) ); + vec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) ); + vec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) ); + vec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) ); + mat4 bone = mat4( v1, v2, v3, v4 ); + return bone; + } +#endif`,JUn=`#ifdef USE_SKINNING + vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); + vec4 skinned = vec4( 0.0 ); + skinned += boneMatX * skinVertex * skinWeight.x; + skinned += boneMatY * skinVertex * skinWeight.y; + skinned += boneMatZ * skinVertex * skinWeight.z; + skinned += boneMatW * skinVertex * skinWeight.w; + transformed = ( bindMatrixInverse * skinned ).xyz; +#endif`,e8n=`#ifdef USE_SKINNING + mat4 skinMatrix = mat4( 0.0 ); + skinMatrix += skinWeight.x * boneMatX; + skinMatrix += skinWeight.y * boneMatY; + skinMatrix += skinWeight.z * boneMatZ; + skinMatrix += skinWeight.w * boneMatW; + skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; + objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; + #ifdef USE_TANGENT + objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; + #endif +#endif`,t8n=`float specularStrength; +#ifdef USE_SPECULARMAP + vec4 texelSpecular = texture2D( specularMap, vUv ); + specularStrength = texelSpecular.r; +#else + specularStrength = 1.0; +#endif`,n8n=`#ifdef USE_SPECULARMAP + uniform sampler2D specularMap; +#endif`,r8n=`#if defined( TONE_MAPPING ) + gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); +#endif`,i8n=`#ifndef saturate +#define saturate( a ) clamp( a, 0.0, 1.0 ) +#endif +uniform float toneMappingExposure; +vec3 LinearToneMapping( vec3 color ) { + return toneMappingExposure * color; +} +vec3 ReinhardToneMapping( vec3 color ) { + color *= toneMappingExposure; + return saturate( color / ( vec3( 1.0 ) + color ) ); +} +vec3 OptimizedCineonToneMapping( vec3 color ) { + color *= toneMappingExposure; + color = max( vec3( 0.0 ), color - 0.004 ); + return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); +} +vec3 RRTAndODTFit( vec3 v ) { + vec3 a = v * ( v + 0.0245786 ) - 0.000090537; + vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; + return a / b; +} +vec3 ACESFilmicToneMapping( vec3 color ) { + const mat3 ACESInputMat = mat3( + vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), + vec3( 0.04823, 0.01566, 0.83777 ) + ); + const mat3 ACESOutputMat = mat3( + vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), + vec3( -0.07367, -0.00605, 1.07602 ) + ); + color *= toneMappingExposure / 0.6; + color = ACESInputMat * color; + color = RRTAndODTFit( color ); + color = ACESOutputMat * color; + return saturate( color ); +} +vec3 CustomToneMapping( vec3 color ) { return color; }`,o8n=`#ifdef USE_TRANSMISSION + material.transmission = transmission; + material.transmissionAlpha = 1.0; + material.thickness = thickness; + material.attenuationDistance = attenuationDistance; + material.attenuationColor = attenuationColor; + #ifdef USE_TRANSMISSIONMAP + material.transmission *= texture2D( transmissionMap, vUv ).r; + #endif + #ifdef USE_THICKNESSMAP + material.thickness *= texture2D( thicknessMap, vUv ).g; + #endif + vec3 pos = vWorldPosition; + vec3 v = normalize( cameraPosition - pos ); + vec3 n = inverseTransformDirection( normal, viewMatrix ); + vec4 transmission = getIBLVolumeRefraction( + n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, + pos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness, + material.attenuationColor, material.attenuationDistance ); + material.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission ); + totalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission ); +#endif`,s8n=`#ifdef USE_TRANSMISSION + uniform float transmission; + uniform float thickness; + uniform float attenuationDistance; + uniform vec3 attenuationColor; + #ifdef USE_TRANSMISSIONMAP + uniform sampler2D transmissionMap; + #endif + #ifdef USE_THICKNESSMAP + uniform sampler2D thicknessMap; + #endif + uniform vec2 transmissionSamplerSize; + uniform sampler2D transmissionSamplerMap; + uniform mat4 modelMatrix; + uniform mat4 projectionMatrix; + varying vec3 vWorldPosition; + vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { + vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); + vec3 modelScale; + modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); + modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); + modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); + return normalize( refractionVector ) * thickness * modelScale; + } + float applyIorToRoughness( const in float roughness, const in float ior ) { + return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); + } + vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { + float framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); + #ifdef texture2DLodEXT + return texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod ); + #else + return texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod ); + #endif + } + vec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { + if ( attenuationDistance == 0.0 ) { + return radiance; + } else { + vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; + vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance * radiance; + } + } + vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, + const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, + const in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness, + const in vec3 attenuationColor, const in float attenuationDistance ) { + vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); + vec3 refractedRayExit = position + transmissionRay; + vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); + vec2 refractionCoords = ndcPos.xy / ndcPos.w; + refractionCoords += 1.0; + refractionCoords /= 2.0; + vec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); + vec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance ); + vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); + return vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a ); + } +#endif`,a8n=`#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) ) + varying vec2 vUv; +#endif`,l8n=`#ifdef USE_UV + #ifdef UVS_VERTEX_ONLY + vec2 vUv; + #else + varying vec2 vUv; + #endif + uniform mat3 uvTransform; +#endif`,u8n=`#ifdef USE_UV + vUv = ( uvTransform * vec3( uv, 1 ) ).xy; +#endif`,c8n=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) + varying vec2 vUv2; +#endif`,f8n=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) + attribute vec2 uv2; + varying vec2 vUv2; + uniform mat3 uv2Transform; +#endif`,d8n=`#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) + vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy; +#endif`,h8n=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 + vec4 worldPosition = vec4( transformed, 1.0 ); + #ifdef USE_INSTANCING + worldPosition = instanceMatrix * worldPosition; + #endif + worldPosition = modelMatrix * worldPosition; +#endif`;const p8n=`varying vec2 vUv; +uniform mat3 uvTransform; +void main() { + vUv = ( uvTransform * vec3( uv, 1 ) ).xy; + gl_Position = vec4( position.xy, 1.0, 1.0 ); +}`,g8n=`uniform sampler2D t2D; +varying vec2 vUv; +void main() { + gl_FragColor = texture2D( t2D, vUv ); + #ifdef DECODE_VIDEO_TEXTURE + gl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w ); + #endif + #include + #include +}`,m8n=`varying vec3 vWorldDirection; +#include +void main() { + vWorldDirection = transformDirection( position, modelMatrix ); + #include + #include + gl_Position.z = gl_Position.w; +}`,v8n=`#include +uniform float opacity; +varying vec3 vWorldDirection; +#include +void main() { + vec3 vReflect = vWorldDirection; + #include + gl_FragColor = envColor; + gl_FragColor.a *= opacity; + #include + #include +}`,y8n=`#include +#include +#include +#include +#include +#include +#include +varying vec2 vHighPrecisionZW; +void main() { + #include + #include + #ifdef USE_DISPLACEMENTMAP + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + vHighPrecisionZW = gl_Position.zw; +}`,x8n=`#if DEPTH_PACKING == 3200 + uniform float opacity; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +varying vec2 vHighPrecisionZW; +void main() { + #include + vec4 diffuseColor = vec4( 1.0 ); + #if DEPTH_PACKING == 3200 + diffuseColor.a = opacity; + #endif + #include + #include + #include + #include + float fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5; + #if DEPTH_PACKING == 3200 + gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); + #elif DEPTH_PACKING == 3201 + gl_FragColor = packDepthToRGBA( fragCoordZ ); + #endif +}`,b8n=`#define DISTANCE +varying vec3 vWorldPosition; +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #ifdef USE_DISPLACEMENTMAP + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + vWorldPosition = worldPosition.xyz; +}`,w8n=`#define DISTANCE +uniform vec3 referencePosition; +uniform float nearDistance; +uniform float farDistance; +varying vec3 vWorldPosition; +#include +#include +#include +#include +#include +#include +#include +void main () { + #include + vec4 diffuseColor = vec4( 1.0 ); + #include + #include + #include + float dist = length( vWorldPosition - referencePosition ); + dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); + dist = saturate( dist ); + gl_FragColor = packDepthToRGBA( dist ); +}`,_8n=`varying vec3 vWorldDirection; +#include +void main() { + vWorldDirection = transformDirection( position, modelMatrix ); + #include + #include +}`,S8n=`uniform sampler2D tEquirect; +varying vec3 vWorldDirection; +#include +void main() { + vec3 direction = normalize( vWorldDirection ); + vec2 sampleUV = equirectUv( direction ); + gl_FragColor = texture2D( tEquirect, sampleUV ); + #include + #include +}`,C8n=`uniform float scale; +attribute float lineDistance; +varying float vLineDistance; +#include +#include +#include +#include +#include +#include +void main() { + vLineDistance = scale * lineDistance; + #include + #include + #include + #include + #include + #include + #include + #include +}`,O8n=`uniform vec3 diffuse; +uniform float opacity; +uniform float dashSize; +uniform float totalSize; +varying float vLineDistance; +#include +#include +#include +#include +#include +void main() { + #include + if ( mod( vLineDistance, totalSize ) > dashSize ) { + discard; + } + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include + #include +}`,E8n=`#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) + #include + #include + #include + #include + #include + #endif + #include + #include + #include + #include + #include + #include + #include + #include + #include +}`,T8n=`uniform vec3 diffuse; +uniform float opacity; +#ifndef FLAT_SHADED + varying vec3 vNormal; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + #include + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + #ifdef USE_LIGHTMAP + vec4 lightMapTexel = texture2D( lightMap, vUv2 ); + reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; + #else + reflectedLight.indirectDiffuse += vec3( 1.0 ); + #endif + #include + reflectedLight.indirectDiffuse *= diffuseColor.rgb; + vec3 outgoingLight = reflectedLight.indirectDiffuse; + #include + #include + #include + #include + #include + #include + #include +}`,k8n=`#define LAMBERT +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include + #include +}`,A8n=`#define LAMBERT +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include + #include +}`,P8n=`#define MATCAP +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; +}`,M8n=`#define MATCAP +uniform vec3 diffuse; +uniform float opacity; +uniform sampler2D matcap; +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + #include + #include + #include + vec3 viewDir = normalize( vViewPosition ); + vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); + vec3 y = cross( viewDir, x ); + vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; + #ifdef USE_MATCAP + vec4 matcapColor = texture2D( matcap, uv ); + #else + vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); + #endif + vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; + #include + #include + #include + #include + #include + #include +}`,R8n=`#define NORMAL +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) + varying vec3 vViewPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) + vViewPosition = - mvPosition.xyz; +#endif +}`,D8n=`#define NORMAL +uniform float opacity; +#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) + varying vec3 vViewPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + gl_FragColor = vec4( packNormalToRGB( normal ), opacity ); + #ifdef OPAQUE + gl_FragColor.a = 1.0; + #endif +}`,I8n=`#define PHONG +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include + #include +}`,L8n=`#define PHONG +uniform vec3 diffuse; +uniform vec3 emissive; +uniform vec3 specular; +uniform float shininess; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include + #include +}`,$8n=`#define STANDARD +varying vec3 vViewPosition; +#ifdef USE_TRANSMISSION + varying vec3 vWorldPosition; +#endif +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include +#ifdef USE_TRANSMISSION + vWorldPosition = worldPosition.xyz; +#endif +}`,F8n=`#define STANDARD +#ifdef PHYSICAL + #define IOR + #define SPECULAR +#endif +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float roughness; +uniform float metalness; +uniform float opacity; +#ifdef IOR + uniform float ior; +#endif +#ifdef SPECULAR + uniform float specularIntensity; + uniform vec3 specularColor; + #ifdef USE_SPECULARINTENSITYMAP + uniform sampler2D specularIntensityMap; + #endif + #ifdef USE_SPECULARCOLORMAP + uniform sampler2D specularColorMap; + #endif +#endif +#ifdef USE_CLEARCOAT + uniform float clearcoat; + uniform float clearcoatRoughness; +#endif +#ifdef USE_IRIDESCENCE + uniform float iridescence; + uniform float iridescenceIOR; + uniform float iridescenceThicknessMinimum; + uniform float iridescenceThicknessMaximum; +#endif +#ifdef USE_SHEEN + uniform vec3 sheenColor; + uniform float sheenRoughness; + #ifdef USE_SHEENCOLORMAP + uniform sampler2D sheenColorMap; + #endif + #ifdef USE_SHEENROUGHNESSMAP + uniform sampler2D sheenRoughnessMap; + #endif +#endif +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; + vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; + #include + vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; + #ifdef USE_SHEEN + float sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor ); + outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; + #endif + #ifdef USE_CLEARCOAT + float dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); + vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); + outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; + #endif + #include + #include + #include + #include + #include + #include +}`,N8n=`#define TOON +varying vec3 vViewPosition; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vViewPosition = - mvPosition.xyz; + #include + #include + #include +}`,z8n=`#define TOON +uniform vec3 diffuse; +uniform vec3 emissive; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec4 diffuseColor = vec4( diffuse, opacity ); + ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); + vec3 totalEmissiveRadiance = emissive; + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; + #include + #include + #include + #include + #include + #include +}`,j8n=`uniform float size; +uniform float scale; +#include +#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + gl_PointSize = size; + #ifdef USE_SIZEATTENUATION + bool isPerspective = isPerspectiveMatrix( projectionMatrix ); + if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); + #endif + #include + #include + #include + #include +}`,B8n=`uniform vec3 diffuse; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include + #include +}`,U8n=`#include +#include +#include +#include +#include +void main() { + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include +}`,W8n=`uniform vec3 color; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +void main() { + gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); + #include + #include + #include +}`,V8n=`uniform float rotation; +uniform vec2 center; +#include +#include +#include +#include +#include +void main() { + #include + vec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 ); + vec2 scale; + scale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) ); + scale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) ); + #ifndef USE_SIZEATTENUATION + bool isPerspective = isPerspectiveMatrix( projectionMatrix ); + if ( isPerspective ) scale *= - mvPosition.z; + #endif + vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; + vec2 rotatedPosition; + rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; + rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; + mvPosition.xy += rotatedPosition; + gl_Position = projectionMatrix * mvPosition; + #include + #include + #include +}`,G8n=`uniform vec3 diffuse; +uniform float opacity; +#include +#include +#include +#include +#include +#include +#include +#include +void main() { + #include + vec3 outgoingLight = vec3( 0.0 ); + vec4 diffuseColor = vec4( diffuse, opacity ); + #include + #include + #include + #include + outgoingLight = diffuseColor.rgb; + #include + #include + #include + #include +}`,Cn={alphamap_fragment:m6n,alphamap_pars_fragment:v6n,alphatest_fragment:y6n,alphatest_pars_fragment:x6n,aomap_fragment:b6n,aomap_pars_fragment:w6n,begin_vertex:_6n,beginnormal_vertex:S6n,bsdfs:C6n,iridescence_fragment:O6n,bumpmap_pars_fragment:E6n,clipping_planes_fragment:T6n,clipping_planes_pars_fragment:k6n,clipping_planes_pars_vertex:A6n,clipping_planes_vertex:P6n,color_fragment:M6n,color_pars_fragment:R6n,color_pars_vertex:D6n,color_vertex:I6n,common:L6n,cube_uv_reflection_fragment:$6n,defaultnormal_vertex:F6n,displacementmap_pars_vertex:N6n,displacementmap_vertex:z6n,emissivemap_fragment:j6n,emissivemap_pars_fragment:B6n,encodings_fragment:U6n,encodings_pars_fragment:W6n,envmap_fragment:V6n,envmap_common_pars_fragment:G6n,envmap_pars_fragment:H6n,envmap_pars_vertex:q6n,envmap_physical_pars_fragment:oUn,envmap_vertex:X6n,fog_vertex:Y6n,fog_pars_vertex:Q6n,fog_fragment:K6n,fog_pars_fragment:Z6n,gradientmap_pars_fragment:J6n,lightmap_fragment:eUn,lightmap_pars_fragment:tUn,lights_lambert_fragment:nUn,lights_lambert_pars_fragment:rUn,lights_pars_begin:iUn,lights_toon_fragment:sUn,lights_toon_pars_fragment:aUn,lights_phong_fragment:lUn,lights_phong_pars_fragment:uUn,lights_physical_fragment:cUn,lights_physical_pars_fragment:fUn,lights_fragment_begin:dUn,lights_fragment_maps:hUn,lights_fragment_end:pUn,logdepthbuf_fragment:gUn,logdepthbuf_pars_fragment:mUn,logdepthbuf_pars_vertex:vUn,logdepthbuf_vertex:yUn,map_fragment:xUn,map_pars_fragment:bUn,map_particle_fragment:wUn,map_particle_pars_fragment:_Un,metalnessmap_fragment:SUn,metalnessmap_pars_fragment:CUn,morphcolor_vertex:OUn,morphnormal_vertex:EUn,morphtarget_pars_vertex:TUn,morphtarget_vertex:kUn,normal_fragment_begin:AUn,normal_fragment_maps:PUn,normal_pars_fragment:MUn,normal_pars_vertex:RUn,normal_vertex:DUn,normalmap_pars_fragment:IUn,clearcoat_normal_fragment_begin:LUn,clearcoat_normal_fragment_maps:$Un,clearcoat_pars_fragment:FUn,iridescence_pars_fragment:NUn,output_fragment:zUn,packing:jUn,premultiplied_alpha_fragment:BUn,project_vertex:UUn,dithering_fragment:WUn,dithering_pars_fragment:VUn,roughnessmap_fragment:GUn,roughnessmap_pars_fragment:HUn,shadowmap_pars_fragment:qUn,shadowmap_pars_vertex:XUn,shadowmap_vertex:YUn,shadowmask_pars_fragment:QUn,skinbase_vertex:KUn,skinning_pars_vertex:ZUn,skinning_vertex:JUn,skinnormal_vertex:e8n,specularmap_fragment:t8n,specularmap_pars_fragment:n8n,tonemapping_fragment:r8n,tonemapping_pars_fragment:i8n,transmission_fragment:o8n,transmission_pars_fragment:s8n,uv_pars_fragment:a8n,uv_pars_vertex:l8n,uv_vertex:u8n,uv2_pars_fragment:c8n,uv2_pars_vertex:f8n,uv2_vertex:d8n,worldpos_vertex:h8n,background_vert:p8n,background_frag:g8n,cube_vert:m8n,cube_frag:v8n,depth_vert:y8n,depth_frag:x8n,distanceRGBA_vert:b8n,distanceRGBA_frag:w8n,equirect_vert:_8n,equirect_frag:S8n,linedashed_vert:C8n,linedashed_frag:O8n,meshbasic_vert:E8n,meshbasic_frag:T8n,meshlambert_vert:k8n,meshlambert_frag:A8n,meshmatcap_vert:P8n,meshmatcap_frag:M8n,meshnormal_vert:R8n,meshnormal_frag:D8n,meshphong_vert:I8n,meshphong_frag:L8n,meshphysical_vert:$8n,meshphysical_frag:F8n,meshtoon_vert:N8n,meshtoon_frag:z8n,points_vert:j8n,points_frag:B8n,shadow_vert:U8n,shadow_frag:W8n,sprite_vert:V8n,sprite_frag:G8n},ft={common:{diffuse:{value:new ui(16777215)},opacity:{value:1},map:{value:null},uvTransform:{value:new uu},uv2Transform:{value:new uu},alphaMap:{value:null},alphaTest:{value:0}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new On(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new ui(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new ui(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new uu}},sprite:{diffuse:{value:new ui(16777215)},opacity:{value:1},center:{value:new On(.5,.5)},rotation:{value:0},map:{value:null},alphaMap:{value:null},alphaTest:{value:0},uvTransform:{value:new uu}}},Ld={basic:{uniforms:Is([ft.common,ft.specularmap,ft.envmap,ft.aomap,ft.lightmap,ft.fog]),vertexShader:Cn.meshbasic_vert,fragmentShader:Cn.meshbasic_frag},lambert:{uniforms:Is([ft.common,ft.specularmap,ft.envmap,ft.aomap,ft.lightmap,ft.emissivemap,ft.bumpmap,ft.normalmap,ft.displacementmap,ft.fog,ft.lights,{emissive:{value:new ui(0)}}]),vertexShader:Cn.meshlambert_vert,fragmentShader:Cn.meshlambert_frag},phong:{uniforms:Is([ft.common,ft.specularmap,ft.envmap,ft.aomap,ft.lightmap,ft.emissivemap,ft.bumpmap,ft.normalmap,ft.displacementmap,ft.fog,ft.lights,{emissive:{value:new ui(0)},specular:{value:new ui(1118481)},shininess:{value:30}}]),vertexShader:Cn.meshphong_vert,fragmentShader:Cn.meshphong_frag},standard:{uniforms:Is([ft.common,ft.envmap,ft.aomap,ft.lightmap,ft.emissivemap,ft.bumpmap,ft.normalmap,ft.displacementmap,ft.roughnessmap,ft.metalnessmap,ft.fog,ft.lights,{emissive:{value:new ui(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Cn.meshphysical_vert,fragmentShader:Cn.meshphysical_frag},toon:{uniforms:Is([ft.common,ft.aomap,ft.lightmap,ft.emissivemap,ft.bumpmap,ft.normalmap,ft.displacementmap,ft.gradientmap,ft.fog,ft.lights,{emissive:{value:new ui(0)}}]),vertexShader:Cn.meshtoon_vert,fragmentShader:Cn.meshtoon_frag},matcap:{uniforms:Is([ft.common,ft.bumpmap,ft.normalmap,ft.displacementmap,ft.fog,{matcap:{value:null}}]),vertexShader:Cn.meshmatcap_vert,fragmentShader:Cn.meshmatcap_frag},points:{uniforms:Is([ft.points,ft.fog]),vertexShader:Cn.points_vert,fragmentShader:Cn.points_frag},dashed:{uniforms:Is([ft.common,ft.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Cn.linedashed_vert,fragmentShader:Cn.linedashed_frag},depth:{uniforms:Is([ft.common,ft.displacementmap]),vertexShader:Cn.depth_vert,fragmentShader:Cn.depth_frag},normal:{uniforms:Is([ft.common,ft.bumpmap,ft.normalmap,ft.displacementmap,{opacity:{value:1}}]),vertexShader:Cn.meshnormal_vert,fragmentShader:Cn.meshnormal_frag},sprite:{uniforms:Is([ft.sprite,ft.fog]),vertexShader:Cn.sprite_vert,fragmentShader:Cn.sprite_frag},background:{uniforms:{uvTransform:{value:new uu},t2D:{value:null}},vertexShader:Cn.background_vert,fragmentShader:Cn.background_frag},cube:{uniforms:Is([ft.envmap,{opacity:{value:1}}]),vertexShader:Cn.cube_vert,fragmentShader:Cn.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Cn.equirect_vert,fragmentShader:Cn.equirect_frag},distanceRGBA:{uniforms:Is([ft.common,ft.displacementmap,{referencePosition:{value:new Ce},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Cn.distanceRGBA_vert,fragmentShader:Cn.distanceRGBA_frag},shadow:{uniforms:Is([ft.lights,ft.fog,{color:{value:new ui(0)},opacity:{value:1}}]),vertexShader:Cn.shadow_vert,fragmentShader:Cn.shadow_frag}};Ld.physical={uniforms:Is([Ld.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatNormalScale:{value:new On(1,1)},clearcoatNormalMap:{value:null},iridescence:{value:0},iridescenceMap:{value:null},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},sheen:{value:0},sheenColor:{value:new ui(0)},sheenColorMap:{value:null},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},transmission:{value:0},transmissionMap:{value:null},transmissionSamplerSize:{value:new On},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},attenuationDistance:{value:0},attenuationColor:{value:new ui(0)},specularIntensity:{value:1},specularIntensityMap:{value:null},specularColor:{value:new ui(1,1,1)},specularColorMap:{value:null}}]),vertexShader:Cn.meshphysical_vert,fragmentShader:Cn.meshphysical_frag};function H8n(t,e,n,r,i,o){const s=new ui(0);let a=i===!0?0:1,l,u,c=null,f=0,d=null;function h(g,m){let v=!1,y=m.isScene===!0?m.background:null;y&&y.isTexture&&(y=e.get(y));const x=t.xr,b=x.getSession&&x.getSession();b&&b.environmentBlendMode==="additive"&&(y=null),y===null?p(s,a):y&&y.isColor&&(p(y,1),v=!0),(t.autoClear||v)&&t.clear(t.autoClearColor,t.autoClearDepth,t.autoClearStencil),y&&(y.isCubeTexture||y.mapping===i8)?(u===void 0&&(u=new oh(new pE(1,1,1),new Ey({name:"BackgroundCubeMaterial",uniforms:BC(Ld.cube.uniforms),vertexShader:Ld.cube.vertexShader,fragmentShader:Ld.cube.fragmentShader,side:mu,depthTest:!1,depthWrite:!1,fog:!1})),u.geometry.deleteAttribute("normal"),u.geometry.deleteAttribute("uv"),u.onBeforeRender=function(w,_,S){this.matrixWorld.copyPosition(S.matrixWorld)},Object.defineProperty(u.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),r.update(u)),u.material.uniforms.envMap.value=y,u.material.uniforms.flipEnvMap.value=y.isCubeTexture&&y.isRenderTargetTexture===!1?-1:1,(c!==y||f!==y.version||d!==t.toneMapping)&&(u.material.needsUpdate=!0,c=y,f=y.version,d=t.toneMapping),u.layers.enableAll(),g.unshift(u,u.geometry,u.material,0,0,null)):y&&y.isTexture&&(l===void 0&&(l=new oh(new a8(2,2),new Ey({name:"BackgroundMaterial",uniforms:BC(Ld.background.uniforms),vertexShader:Ld.background.vertexShader,fragmentShader:Ld.background.fragmentShader,side:FC,depthTest:!1,depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),r.update(l)),l.material.uniforms.t2D.value=y,y.matrixAutoUpdate===!0&&y.updateMatrix(),l.material.uniforms.uvTransform.value.copy(y.matrix),(c!==y||f!==y.version||d!==t.toneMapping)&&(l.material.needsUpdate=!0,c=y,f=y.version,d=t.toneMapping),l.layers.enableAll(),g.unshift(l,l.geometry,l.material,0,0,null))}function p(g,m){n.buffers.color.setClear(g.r,g.g,g.b,m,o)}return{getClearColor:function(){return s},setClearColor:function(g,m=1){s.set(g),a=m,p(s,a)},getClearAlpha:function(){return a},setClearAlpha:function(g){a=g,p(s,a)},render:h}}function q8n(t,e,n,r){const i=t.getParameter(34921),o=r.isWebGL2?null:e.get("OES_vertex_array_object"),s=r.isWebGL2||o!==null,a={},l=m(null);let u=l,c=!1;function f(T,R,I,B,$){let z=!1;if(s){const L=g(B,I,R);u!==L&&(u=L,h(u.object)),z=v(T,B,I,$),z&&y(T,B,I,$)}else{const L=R.wireframe===!0;(u.geometry!==B.id||u.program!==I.id||u.wireframe!==L)&&(u.geometry=B.id,u.program=I.id,u.wireframe=L,z=!0)}$!==null&&n.update($,34963),(z||c)&&(c=!1,O(T,R,I,B),$!==null&&t.bindBuffer(34963,n.get($).buffer))}function d(){return r.isWebGL2?t.createVertexArray():o.createVertexArrayOES()}function h(T){return r.isWebGL2?t.bindVertexArray(T):o.bindVertexArrayOES(T)}function p(T){return r.isWebGL2?t.deleteVertexArray(T):o.deleteVertexArrayOES(T)}function g(T,R,I){const B=I.wireframe===!0;let $=a[T.id];$===void 0&&($={},a[T.id]=$);let z=$[R.id];z===void 0&&(z={},$[R.id]=z);let L=z[B];return L===void 0&&(L=m(d()),z[B]=L),L}function m(T){const R=[],I=[],B=[];for(let $=0;$=0){const H=$[N];let q=z[N];if(q===void 0&&(N==="instanceMatrix"&&T.instanceMatrix&&(q=T.instanceMatrix),N==="instanceColor"&&T.instanceColor&&(q=T.instanceColor)),H===void 0||H.attribute!==q||q&&H.data!==q.data)return!0;L++}return u.attributesNum!==L||u.index!==B}function y(T,R,I,B){const $={},z=R.attributes;let L=0;const j=I.getAttributes();for(const N in j)if(j[N].location>=0){let H=z[N];H===void 0&&(N==="instanceMatrix"&&T.instanceMatrix&&(H=T.instanceMatrix),N==="instanceColor"&&T.instanceColor&&(H=T.instanceColor));const q={};q.attribute=H,H&&H.data&&(q.data=H.data),$[N]=q,L++}u.attributes=$,u.attributesNum=L,u.index=B}function x(){const T=u.newAttributes;for(let R=0,I=T.length;R=0){let F=$[j];if(F===void 0&&(j==="instanceMatrix"&&T.instanceMatrix&&(F=T.instanceMatrix),j==="instanceColor"&&T.instanceColor&&(F=T.instanceColor)),F!==void 0){const H=F.normalized,q=F.itemSize,Y=n.get(F);if(Y===void 0)continue;const le=Y.buffer,K=Y.type,ee=Y.bytesPerElement;if(F.isInterleavedBufferAttribute){const re=F.data,ge=re.stride,te=F.offset;if(re.isInstancedInterleavedBuffer){for(let ae=0;ae0&&t.getShaderPrecisionFormat(35632,36338).precision>0)return"highp";S="mediump"}return S==="mediump"&&t.getShaderPrecisionFormat(35633,36337).precision>0&&t.getShaderPrecisionFormat(35632,36337).precision>0?"mediump":"lowp"}const s=typeof WebGL2RenderingContext<"u"&&t instanceof WebGL2RenderingContext||typeof WebGL2ComputeRenderingContext<"u"&&t instanceof WebGL2ComputeRenderingContext;let a=n.precision!==void 0?n.precision:"highp";const l=o(a);l!==a&&(console.warn("THREE.WebGLRenderer:",a,"not supported, using",l,"instead."),a=l);const u=s||e.has("WEBGL_draw_buffers"),c=n.logarithmicDepthBuffer===!0,f=t.getParameter(34930),d=t.getParameter(35660),h=t.getParameter(3379),p=t.getParameter(34076),g=t.getParameter(34921),m=t.getParameter(36347),v=t.getParameter(36348),y=t.getParameter(36349),x=d>0,b=s||e.has("OES_texture_float"),w=x&&b,_=s?t.getParameter(36183):0;return{isWebGL2:s,drawBuffers:u,getMaxAnisotropy:i,getMaxPrecision:o,precision:a,logarithmicDepthBuffer:c,maxTextures:f,maxVertexTextures:d,maxTextureSize:h,maxCubemapSize:p,maxAttributes:g,maxVertexUniforms:m,maxVaryings:v,maxFragmentUniforms:y,vertexTextures:x,floatFragmentTextures:b,floatVertexTextures:w,maxSamples:_}}function Q8n(t){const e=this;let n=null,r=0,i=!1,o=!1;const s=new W0,a=new uu,l={value:null,needsUpdate:!1};this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(f,d,h){const p=f.length!==0||d||r!==0||i;return i=d,n=c(f,h,0),r=f.length,p},this.beginShadows=function(){o=!0,c(null)},this.endShadows=function(){o=!1,u()},this.setState=function(f,d,h){const p=f.clippingPlanes,g=f.clipIntersection,m=f.clipShadows,v=t.get(f);if(!i||p===null||p.length===0||o&&!m)o?c(null):u();else{const y=o?0:r,x=y*4;let b=v.clippingState||null;l.value=b,b=c(p,d,x,h);for(let w=0;w!==x;++w)b[w]=n[w];v.clippingState=b,this.numIntersection=g?this.numPlanes:0,this.numPlanes+=y}};function u(){l.value!==n&&(l.value=n,l.needsUpdate=r>0),e.numPlanes=r,e.numIntersection=0}function c(f,d,h,p){const g=f!==null?f.length:0;let m=null;if(g!==0){if(m=l.value,p!==!0||m===null){const v=h+g*4,y=d.matrixWorldInverse;a.getNormalMatrix(y),(m===null||m.length0){const u=new d6n(l.height/2);return u.fromEquirectangularTexture(t,s),e.set(s,u),s.addEventListener("dispose",i),n(u.texture,s.mapping)}else return null}}return s}function i(s){const a=s.target;a.removeEventListener("dispose",i);const l=e.get(a);l!==void 0&&(e.delete(a),l.dispose())}function o(){e=new WeakMap}return{get:r,dispose:o}}class CXe extends bXe{constructor(e=-1,n=1,r=1,i=-1,o=.1,s=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=n,this.top=r,this.bottom=i,this.near=o,this.far=s,this.updateProjectionMatrix()}copy(e,n){return super.copy(e,n),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=e.view===null?null:Object.assign({},e.view),this}setViewOffset(e,n,r,i,o,s){this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=n,this.view.offsetX=r,this.view.offsetY=i,this.view.width=o,this.view.height=s,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),n=(this.top-this.bottom)/(2*this.zoom),r=(this.right+this.left)/2,i=(this.top+this.bottom)/2;let o=r-e,s=r+e,a=i+n,l=i-n;if(this.view!==null&&this.view.enabled){const u=(this.right-this.left)/this.view.fullWidth/this.zoom,c=(this.top-this.bottom)/this.view.fullHeight/this.zoom;o+=u*this.view.offsetX,s=o+u*this.view.width,a-=c*this.view.offsetY,l=a-c*this.view.height}this.projectionMatrix.makeOrthographic(o,s,a,l,this.near,this.far),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const n=super.toJSON(e);return n.object.zoom=this.zoom,n.object.left=this.left,n.object.right=this.right,n.object.top=this.top,n.object.bottom=this.bottom,n.object.near=this.near,n.object.far=this.far,this.view!==null&&(n.object.view=Object.assign({},this.view)),n}}const y_=4,DOe=[.125,.215,.35,.446,.526,.582],nx=20,pG=new CXe,IOe=new ui;let gG=null;const V0=(1+Math.sqrt(5))/2,Ew=1/V0,LOe=[new Ce(1,1,1),new Ce(-1,1,1),new Ce(1,1,-1),new Ce(-1,1,-1),new Ce(0,V0,Ew),new Ce(0,V0,-Ew),new Ce(Ew,0,V0),new Ce(-Ew,0,V0),new Ce(V0,Ew,0),new Ce(-V0,Ew,0)];class $Oe{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,n=0,r=.1,i=100){gG=this._renderer.getRenderTarget(),this._setSize(256);const o=this._allocateTargets();return o.depthBuffer=!0,this._sceneToCubeUV(e,r,i,o),n>0&&this._blur(o,0,0,n),this._applyPMREM(o),this._cleanup(o),o}fromEquirectangular(e,n=null){return this._fromTexture(e,n)}fromCubemap(e,n=null){return this._fromTexture(e,n)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=zOe(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=NOe(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let e=0;e2?x:0,x,x),c.setRenderTarget(i),g&&c.render(p,a),c.render(e,a)}p.geometry.dispose(),p.material.dispose(),c.toneMapping=d,c.autoClear=f,e.background=m}_textureToCubeUV(e,n){const r=this._renderer,i=e.mapping===NC||e.mapping===zC;i?(this._cubemapMaterial===null&&(this._cubemapMaterial=zOe()),this._cubemapMaterial.uniforms.flipEnvMap.value=e.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=NOe());const o=i?this._cubemapMaterial:this._equirectMaterial,s=new oh(this._lodPlanes[0],o),a=o.uniforms;a.envMap.value=e;const l=this._cubeSize;k$(n,0,0,3*l,2*l),r.setRenderTarget(n),r.render(s,pG)}_applyPMREM(e){const n=this._renderer,r=n.autoClear;n.autoClear=!1;for(let i=1;inx&&console.warn(`sigmaRadians, ${o}, is too large and will clip, as it requested ${m} samples when the maximum is set to ${nx}`);const v=[];let y=0;for(let S=0;Sx-y_?i-x+y_:0),_=4*(this._cubeSize-b);k$(n,w,_,3*b,2*b),l.setRenderTarget(n),l.render(f,pG)}}function Z8n(t){const e=[],n=[],r=[];let i=t;const o=t-y_+1+DOe.length;for(let s=0;st-y_?l=DOe[s-t+y_-1]:s===0&&(l=0),r.push(l);const u=1/(a-2),c=-u,f=1+u,d=[c,c,f,c,f,f,c,c,f,f,c,f],h=6,p=6,g=3,m=2,v=1,y=new Float32Array(g*p*h),x=new Float32Array(m*p*h),b=new Float32Array(v*p*h);for(let _=0;_2?0:-1,k=[S,O,0,S+2/3,O,0,S+2/3,O+1,0,S,O,0,S+2/3,O+1,0,S,O+1,0];y.set(k,g*p*_),x.set(d,m*p*_);const E=[_,_,_,_,_,_];b.set(E,v*p*_)}const w=new om;w.setAttribute("position",new xc(y,g)),w.setAttribute("uv",new xc(x,m)),w.setAttribute("faceIndex",new xc(b,v)),e.push(w),i>y_&&i--}return{lodPlanes:e,sizeLods:n,sigmas:r}}function FOe(t,e,n){const r=new U1(t,e,n);return r.texture.mapping=i8,r.texture.name="PMREM.cubeUv",r.scissorTest=!0,r}function k$(t,e,n,r,i){t.viewport.set(e,n,r,i),t.scissor.set(e,n,r,i)}function J8n(t,e,n){const r=new Float32Array(nx),i=new Ce(0,1,0);return new Ey({name:"SphericalGaussianBlur",defines:{n:nx,CUBEUV_TEXEL_WIDTH:1/e,CUBEUV_TEXEL_HEIGHT:1/n,CUBEUV_MAX_MIP:`${t}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:r},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:Lue(),fragmentShader:` + + precision mediump float; + precision mediump int; + + varying vec3 vOutputDirection; + + uniform sampler2D envMap; + uniform int samples; + uniform float weights[ n ]; + uniform bool latitudinal; + uniform float dTheta; + uniform float mipInt; + uniform vec3 poleAxis; + + #define ENVMAP_TYPE_CUBE_UV + #include + + vec3 getSample( float theta, vec3 axis ) { + + float cosTheta = cos( theta ); + // Rodrigues' axis-angle rotation + vec3 sampleDirection = vOutputDirection * cosTheta + + cross( axis, vOutputDirection ) * sin( theta ) + + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); + + return bilinearCubeUV( envMap, sampleDirection, mipInt ); + + } + + void main() { + + vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); + + if ( all( equal( axis, vec3( 0.0 ) ) ) ) { + + axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); + + } + + axis = normalize( axis ); + + gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); + gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); + + for ( int i = 1; i < n; i++ ) { + + if ( i >= samples ) { + + break; + + } + + float theta = dTheta * float( i ); + gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); + gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); + + } + + } + `,blending:Hv,depthTest:!1,depthWrite:!1})}function NOe(){return new Ey({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:Lue(),fragmentShader:` + + precision mediump float; + precision mediump int; + + varying vec3 vOutputDirection; + + uniform sampler2D envMap; + + #include + + void main() { + + vec3 outputDirection = normalize( vOutputDirection ); + vec2 uv = equirectUv( outputDirection ); + + gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); + + } + `,blending:Hv,depthTest:!1,depthWrite:!1})}function zOe(){return new Ey({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:Lue(),fragmentShader:` + + precision mediump float; + precision mediump int; + + uniform float flipEnvMap; + + varying vec3 vOutputDirection; + + uniform samplerCube envMap; + + void main() { + + gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); + + } + `,blending:Hv,depthTest:!1,depthWrite:!1})}function Lue(){return` + + precision mediump float; + precision mediump int; + + attribute float faceIndex; + + varying vec3 vOutputDirection; + + // RH coordinate system; PMREM face-indexing convention + vec3 getDirection( vec2 uv, float face ) { + + uv = 2.0 * uv - 1.0; + + vec3 direction = vec3( uv, 1.0 ); + + if ( face == 0.0 ) { + + direction = direction.zyx; // ( 1, v, u ) pos x + + } else if ( face == 1.0 ) { + + direction = direction.xzy; + direction.xz *= -1.0; // ( -u, 1, -v ) pos y + + } else if ( face == 2.0 ) { + + direction.x *= -1.0; // ( -u, v, 1 ) pos z + + } else if ( face == 3.0 ) { + + direction = direction.zyx; + direction.xz *= -1.0; // ( -1, v, -u ) neg x + + } else if ( face == 4.0 ) { + + direction = direction.xzy; + direction.xy *= -1.0; // ( -u, -1, v ) neg y + + } else if ( face == 5.0 ) { + + direction.z *= -1.0; // ( u, v, -1 ) neg z + + } + + return direction; + + } + + void main() { + + vOutputDirection = getDirection( uv, faceIndex ); + gl_Position = vec4( position, 1.0 ); + + } + `}function eWn(t){let e=new WeakMap,n=null;function r(a){if(a&&a.isTexture){const l=a.mapping,u=l===DZ||l===IZ,c=l===NC||l===zC;if(u||c)if(a.isRenderTargetTexture&&a.needsPMREMUpdate===!0){a.needsPMREMUpdate=!1;let f=e.get(a);return n===null&&(n=new $Oe(t)),f=u?n.fromEquirectangular(a,f):n.fromCubemap(a,f),e.set(a,f),f.texture}else{if(e.has(a))return e.get(a).texture;{const f=a.image;if(u&&f&&f.height>0||c&&f&&i(f)){n===null&&(n=new $Oe(t));const d=u?n.fromEquirectangular(a):n.fromCubemap(a);return e.set(a,d),a.addEventListener("dispose",o),d.texture}else return null}}}return a}function i(a){let l=0;const u=6;for(let c=0;ce.maxTextureSize&&(M=Math.ceil(E/e.maxTextureSize),E=e.maxTextureSize);const A=new Float32Array(E*M*4*g),P=new hXe(A,E,M,g);P.type=Ov,P.needsUpdate=!0;const T=k*4;for(let I=0;I0)return t;const i=e*n;let o=jOe[i];if(o===void 0&&(o=new Float32Array(i),jOe[i]=o),e!==0){r.toArray(o,0);for(let s=1,a=0;s!==e;++s)a+=n,t[s].toArray(o,a)}return o}function Ra(t,e){if(t.length!==e.length)return!1;for(let n=0,r=t.length;n":" "} ${a}: ${n[s]}`)}return r.join(` +`)}function tVn(t){switch(t){case B1:return["Linear","( value )"];case Pi:return["sRGB","( value )"];default:return console.warn("THREE.WebGLProgram: Unsupported encoding:",t),["Linear","( value )"]}}function qOe(t,e,n){const r=t.getShaderParameter(e,35713),i=t.getShaderInfoLog(e).trim();if(r&&i==="")return"";const o=/ERROR: 0:(\d+)/.exec(i);if(o){const s=parseInt(o[1]);return n.toUpperCase()+` + +`+i+` + +`+eVn(t.getShaderSource(e),s)}else return i}function nVn(t,e){const n=tVn(e);return"vec4 "+t+"( vec4 value ) { return LinearTo"+n[0]+n[1]+"; }"}function rVn(t,e){let n;switch(e){case OBn:n="Linear";break;case EBn:n="Reinhard";break;case TBn:n="OptimizedCineon";break;case kBn:n="ACESFilmic";break;case ABn:n="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",e),n="Linear"}return"vec3 "+t+"( vec3 color ) { return "+n+"ToneMapping( color ); }"}function iVn(t){return[t.extensionDerivatives||t.envMapCubeUVHeight||t.bumpMap||t.tangentSpaceNormalMap||t.clearcoatNormalMap||t.flatShading||t.shaderID==="physical"?"#extension GL_OES_standard_derivatives : enable":"",(t.extensionFragDepth||t.logarithmicDepthBuffer)&&t.rendererExtensionFragDepth?"#extension GL_EXT_frag_depth : enable":"",t.extensionDrawBuffers&&t.rendererExtensionDrawBuffers?"#extension GL_EXT_draw_buffers : require":"",(t.extensionShaderTextureLOD||t.envMap||t.transmission)&&t.rendererExtensionShaderTextureLod?"#extension GL_EXT_shader_texture_lod : enable":""].filter(FT).join(` +`)}function oVn(t){const e=[];for(const n in t){const r=t[n];r!==!1&&e.push("#define "+n+" "+r)}return e.join(` +`)}function sVn(t,e){const n={},r=t.getProgramParameter(e,35721);for(let i=0;i/gm;function zZ(t){return t.replace(aVn,lVn)}function lVn(t,e){const n=Cn[e];if(n===void 0)throw new Error("Can not resolve #include <"+e+">");return zZ(n)}const uVn=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function QOe(t){return t.replace(uVn,cVn)}function cVn(t,e,n,r){let i="";for(let o=parseInt(e);o0&&(m+=` +`),v=[h,p].filter(FT).join(` +`),v.length>0&&(v+=` +`)):(m=[KOe(n),"#define SHADER_NAME "+n.shaderName,p,n.instancing?"#define USE_INSTANCING":"",n.instancingColor?"#define USE_INSTANCING_COLOR":"",n.supportsVertexTextures?"#define VERTEX_TEXTURES":"",n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+c:"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.displacementMap&&n.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.flatShading?"#define FLAT_SHADED":"",n.skinning?"#define USE_SKINNING":"",n.morphTargets?"#define USE_MORPHTARGETS":"",n.morphNormals&&n.flatShading===!1?"#define USE_MORPHNORMALS":"",n.morphColors&&n.isWebGL2?"#define USE_MORPHCOLORS":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE":"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_TEXTURE_STRIDE "+n.morphTextureStride:"",n.morphTargetsCount>0&&n.isWebGL2?"#define MORPHTARGETS_COUNT "+n.morphTargetsCount:"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.sizeAttenuation?"#define USE_SIZEATTENUATION":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )"," attribute vec3 morphTarget0;"," attribute vec3 morphTarget1;"," attribute vec3 morphTarget2;"," attribute vec3 morphTarget3;"," #ifdef USE_MORPHNORMALS"," attribute vec3 morphNormal0;"," attribute vec3 morphNormal1;"," attribute vec3 morphNormal2;"," attribute vec3 morphNormal3;"," #else"," attribute vec3 morphTarget4;"," attribute vec3 morphTarget5;"," attribute vec3 morphTarget6;"," attribute vec3 morphTarget7;"," #endif","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` +`].filter(FT).join(` +`),v=[h,KOe(n),"#define SHADER_NAME "+n.shaderName,p,n.useFog&&n.fog?"#define USE_FOG":"",n.useFog&&n.fogExp2?"#define FOG_EXP2":"",n.map?"#define USE_MAP":"",n.matcap?"#define USE_MATCAP":"",n.envMap?"#define USE_ENVMAP":"",n.envMap?"#define "+u:"",n.envMap?"#define "+c:"",n.envMap?"#define "+f:"",d?"#define CUBEUV_TEXEL_WIDTH "+d.texelWidth:"",d?"#define CUBEUV_TEXEL_HEIGHT "+d.texelHeight:"",d?"#define CUBEUV_MAX_MIP "+d.maxMip+".0":"",n.lightMap?"#define USE_LIGHTMAP":"",n.aoMap?"#define USE_AOMAP":"",n.emissiveMap?"#define USE_EMISSIVEMAP":"",n.bumpMap?"#define USE_BUMPMAP":"",n.normalMap?"#define USE_NORMALMAP":"",n.normalMap&&n.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",n.normalMap&&n.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",n.clearcoat?"#define USE_CLEARCOAT":"",n.clearcoatMap?"#define USE_CLEARCOATMAP":"",n.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",n.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",n.iridescence?"#define USE_IRIDESCENCE":"",n.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",n.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",n.specularMap?"#define USE_SPECULARMAP":"",n.specularIntensityMap?"#define USE_SPECULARINTENSITYMAP":"",n.specularColorMap?"#define USE_SPECULARCOLORMAP":"",n.roughnessMap?"#define USE_ROUGHNESSMAP":"",n.metalnessMap?"#define USE_METALNESSMAP":"",n.alphaMap?"#define USE_ALPHAMAP":"",n.alphaTest?"#define USE_ALPHATEST":"",n.sheen?"#define USE_SHEEN":"",n.sheenColorMap?"#define USE_SHEENCOLORMAP":"",n.sheenRoughnessMap?"#define USE_SHEENROUGHNESSMAP":"",n.transmission?"#define USE_TRANSMISSION":"",n.transmissionMap?"#define USE_TRANSMISSIONMAP":"",n.thicknessMap?"#define USE_THICKNESSMAP":"",n.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",n.vertexTangents?"#define USE_TANGENT":"",n.vertexColors||n.instancingColor?"#define USE_COLOR":"",n.vertexAlphas?"#define USE_COLOR_ALPHA":"",n.vertexUvs?"#define USE_UV":"",n.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",n.gradientMap?"#define USE_GRADIENTMAP":"",n.flatShading?"#define FLAT_SHADED":"",n.doubleSided?"#define DOUBLE_SIDED":"",n.flipSided?"#define FLIP_SIDED":"",n.shadowMapEnabled?"#define USE_SHADOWMAP":"",n.shadowMapEnabled?"#define "+l:"",n.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",n.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",n.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",n.logarithmicDepthBuffer&&n.rendererExtensionFragDepth?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",n.toneMapping!==xg?"#define TONE_MAPPING":"",n.toneMapping!==xg?Cn.tonemapping_pars_fragment:"",n.toneMapping!==xg?rVn("toneMapping",n.toneMapping):"",n.dithering?"#define DITHERING":"",n.opaque?"#define OPAQUE":"",Cn.encodings_pars_fragment,nVn("linearToOutputTexel",n.outputEncoding),n.useDepthPacking?"#define DEPTH_PACKING "+n.depthPacking:"",` +`].filter(FT).join(` +`)),s=zZ(s),s=XOe(s,n),s=YOe(s,n),a=zZ(a),a=XOe(a,n),a=YOe(a,n),s=QOe(s),a=QOe(a),n.isWebGL2&&n.isRawShaderMaterial!==!0&&(y=`#version 300 es +`,m=["precision mediump sampler2DArray;","#define attribute in","#define varying out","#define texture2D texture"].join(` +`)+` +`+m,v=["#define varying in",n.glslVersion===xOe?"":"layout(location = 0) out highp vec4 pc_fragColor;",n.glslVersion===xOe?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` +`)+` +`+v);const x=y+m+s,b=y+v+a,w=HOe(i,35633,x),_=HOe(i,35632,b);if(i.attachShader(g,w),i.attachShader(g,_),n.index0AttributeName!==void 0?i.bindAttribLocation(g,0,n.index0AttributeName):n.morphTargets===!0&&i.bindAttribLocation(g,0,"position"),i.linkProgram(g),t.debug.checkShaderErrors){const k=i.getProgramInfoLog(g).trim(),E=i.getShaderInfoLog(w).trim(),M=i.getShaderInfoLog(_).trim();let A=!0,P=!0;if(i.getProgramParameter(g,35714)===!1){A=!1;const T=qOe(i,w,"vertex"),R=qOe(i,_,"fragment");console.error("THREE.WebGLProgram: Shader Error "+i.getError()+" - VALIDATE_STATUS "+i.getProgramParameter(g,35715)+` + +Program Info Log: `+k+` +`+T+` +`+R)}else k!==""?console.warn("THREE.WebGLProgram: Program Info Log:",k):(E===""||M==="")&&(P=!1);P&&(this.diagnostics={runnable:A,programLog:k,vertexShader:{log:E,prefix:m},fragmentShader:{log:M,prefix:v}})}i.deleteShader(w),i.deleteShader(_);let S;this.getUniforms=function(){return S===void 0&&(S=new Z3(i,g)),S};let O;return this.getAttributes=function(){return O===void 0&&(O=sVn(i,g)),O},this.destroy=function(){r.releaseStatesOfProgram(this),i.deleteProgram(g),this.program=void 0},this.name=n.shaderName,this.id=JWn++,this.cacheKey=e,this.usedTimes=1,this.program=g,this.vertexShader=w,this.fragmentShader=_,this}let vVn=0;class yVn{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const n=e.vertexShader,r=e.fragmentShader,i=this._getShaderStage(n),o=this._getShaderStage(r),s=this._getShaderCacheForMaterial(e);return s.has(i)===!1&&(s.add(i),i.usedTimes++),s.has(o)===!1&&(s.add(o),o.usedTimes++),this}remove(e){const n=this.materialCache.get(e);for(const r of n)r.usedTimes--,r.usedTimes===0&&this.shaderCache.delete(r.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const n=this.materialCache;let r=n.get(e);return r===void 0&&(r=new Set,n.set(e,r)),r}_getShaderStage(e){const n=this.shaderCache;let r=n.get(e);return r===void 0&&(r=new xVn(e),n.set(e,r)),r}}class xVn{constructor(e){this.id=vVn++,this.code=e,this.usedTimes=0}}function bVn(t,e,n,r,i,o,s){const a=new mXe,l=new yVn,u=[],c=i.isWebGL2,f=i.logarithmicDepthBuffer,d=i.vertexTextures;let h=i.precision;const p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function g(O,k,E,M,A){const P=M.fog,T=A.geometry,R=O.isMeshStandardMaterial?M.environment:null,I=(O.isMeshStandardMaterial?n:e).get(O.envMap||R),B=I&&I.mapping===i8?I.image.height:null,$=p[O.type];O.precision!==null&&(h=i.getMaxPrecision(O.precision),h!==O.precision&&console.warn("THREE.WebGLProgram.getParameters:",O.precision,"not supported, using",h,"instead."));const z=T.morphAttributes.position||T.morphAttributes.normal||T.morphAttributes.color,L=z!==void 0?z.length:0;let j=0;T.morphAttributes.position!==void 0&&(j=1),T.morphAttributes.normal!==void 0&&(j=2),T.morphAttributes.color!==void 0&&(j=3);let N,F,H,q;if($){const ge=Ld[$];N=ge.vertexShader,F=ge.fragmentShader}else N=O.vertexShader,F=O.fragmentShader,l.update(O),H=l.getVertexShaderID(O),q=l.getFragmentShaderID(O);const Y=t.getRenderTarget(),le=O.alphaTest>0,K=O.clearcoat>0,ee=O.iridescence>0;return{isWebGL2:c,shaderID:$,shaderName:O.type,vertexShader:N,fragmentShader:F,defines:O.defines,customVertexShaderID:H,customFragmentShaderID:q,isRawShaderMaterial:O.isRawShaderMaterial===!0,glslVersion:O.glslVersion,precision:h,instancing:A.isInstancedMesh===!0,instancingColor:A.isInstancedMesh===!0&&A.instanceColor!==null,supportsVertexTextures:d,outputEncoding:Y===null?t.outputEncoding:Y.isXRRenderTarget===!0?Y.texture.encoding:B1,map:!!O.map,matcap:!!O.matcap,envMap:!!I,envMapMode:I&&I.mapping,envMapCubeUVHeight:B,lightMap:!!O.lightMap,aoMap:!!O.aoMap,emissiveMap:!!O.emissiveMap,bumpMap:!!O.bumpMap,normalMap:!!O.normalMap,objectSpaceNormalMap:O.normalMapType===XBn,tangentSpaceNormalMap:O.normalMapType===qBn,decodeVideoTexture:!!O.map&&O.map.isVideoTexture===!0&&O.map.encoding===Pi,clearcoat:K,clearcoatMap:K&&!!O.clearcoatMap,clearcoatRoughnessMap:K&&!!O.clearcoatRoughnessMap,clearcoatNormalMap:K&&!!O.clearcoatNormalMap,iridescence:ee,iridescenceMap:ee&&!!O.iridescenceMap,iridescenceThicknessMap:ee&&!!O.iridescenceThicknessMap,displacementMap:!!O.displacementMap,roughnessMap:!!O.roughnessMap,metalnessMap:!!O.metalnessMap,specularMap:!!O.specularMap,specularIntensityMap:!!O.specularIntensityMap,specularColorMap:!!O.specularColorMap,opaque:O.transparent===!1&&O.blending===rS,alphaMap:!!O.alphaMap,alphaTest:le,gradientMap:!!O.gradientMap,sheen:O.sheen>0,sheenColorMap:!!O.sheenColorMap,sheenRoughnessMap:!!O.sheenRoughnessMap,transmission:O.transmission>0,transmissionMap:!!O.transmissionMap,thicknessMap:!!O.thicknessMap,combine:O.combine,vertexTangents:!!O.normalMap&&!!T.attributes.tangent,vertexColors:O.vertexColors,vertexAlphas:O.vertexColors===!0&&!!T.attributes.color&&T.attributes.color.itemSize===4,vertexUvs:!!O.map||!!O.bumpMap||!!O.normalMap||!!O.specularMap||!!O.alphaMap||!!O.emissiveMap||!!O.roughnessMap||!!O.metalnessMap||!!O.clearcoatMap||!!O.clearcoatRoughnessMap||!!O.clearcoatNormalMap||!!O.iridescenceMap||!!O.iridescenceThicknessMap||!!O.displacementMap||!!O.transmissionMap||!!O.thicknessMap||!!O.specularIntensityMap||!!O.specularColorMap||!!O.sheenColorMap||!!O.sheenRoughnessMap,uvsVertexOnly:!(O.map||O.bumpMap||O.normalMap||O.specularMap||O.alphaMap||O.emissiveMap||O.roughnessMap||O.metalnessMap||O.clearcoatNormalMap||O.iridescenceMap||O.iridescenceThicknessMap||O.transmission>0||O.transmissionMap||O.thicknessMap||O.specularIntensityMap||O.specularColorMap||O.sheen>0||O.sheenColorMap||O.sheenRoughnessMap)&&!!O.displacementMap,fog:!!P,useFog:O.fog===!0,fogExp2:P&&P.isFogExp2,flatShading:!!O.flatShading,sizeAttenuation:O.sizeAttenuation,logarithmicDepthBuffer:f,skinning:A.isSkinnedMesh===!0,morphTargets:T.morphAttributes.position!==void 0,morphNormals:T.morphAttributes.normal!==void 0,morphColors:T.morphAttributes.color!==void 0,morphTargetsCount:L,morphTextureStride:j,numDirLights:k.directional.length,numPointLights:k.point.length,numSpotLights:k.spot.length,numSpotLightMaps:k.spotLightMap.length,numRectAreaLights:k.rectArea.length,numHemiLights:k.hemi.length,numDirLightShadows:k.directionalShadowMap.length,numPointLightShadows:k.pointShadowMap.length,numSpotLightShadows:k.spotShadowMap.length,numSpotLightShadowsWithMaps:k.numSpotLightShadowsWithMaps,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:O.dithering,shadowMapEnabled:t.shadowMap.enabled&&E.length>0,shadowMapType:t.shadowMap.type,toneMapping:O.toneMapped?t.toneMapping:xg,physicallyCorrectLights:t.physicallyCorrectLights,premultipliedAlpha:O.premultipliedAlpha,doubleSided:O.side===Jp,flipSided:O.side===mu,useDepthPacking:!!O.depthPacking,depthPacking:O.depthPacking||0,index0AttributeName:O.index0AttributeName,extensionDerivatives:O.extensions&&O.extensions.derivatives,extensionFragDepth:O.extensions&&O.extensions.fragDepth,extensionDrawBuffers:O.extensions&&O.extensions.drawBuffers,extensionShaderTextureLOD:O.extensions&&O.extensions.shaderTextureLOD,rendererExtensionFragDepth:c||r.has("EXT_frag_depth"),rendererExtensionDrawBuffers:c||r.has("WEBGL_draw_buffers"),rendererExtensionShaderTextureLod:c||r.has("EXT_shader_texture_lod"),customProgramCacheKey:O.customProgramCacheKey()}}function m(O){const k=[];if(O.shaderID?k.push(O.shaderID):(k.push(O.customVertexShaderID),k.push(O.customFragmentShaderID)),O.defines!==void 0)for(const E in O.defines)k.push(E),k.push(O.defines[E]);return O.isRawShaderMaterial===!1&&(v(k,O),y(k,O),k.push(t.outputEncoding)),k.push(O.customProgramCacheKey),k.join()}function v(O,k){O.push(k.precision),O.push(k.outputEncoding),O.push(k.envMapMode),O.push(k.envMapCubeUVHeight),O.push(k.combine),O.push(k.vertexUvs),O.push(k.fogExp2),O.push(k.sizeAttenuation),O.push(k.morphTargetsCount),O.push(k.morphAttributeCount),O.push(k.numDirLights),O.push(k.numPointLights),O.push(k.numSpotLights),O.push(k.numSpotLightMaps),O.push(k.numHemiLights),O.push(k.numRectAreaLights),O.push(k.numDirLightShadows),O.push(k.numPointLightShadows),O.push(k.numSpotLightShadows),O.push(k.numSpotLightShadowsWithMaps),O.push(k.shadowMapType),O.push(k.toneMapping),O.push(k.numClippingPlanes),O.push(k.numClipIntersection),O.push(k.depthPacking)}function y(O,k){a.disableAll(),k.isWebGL2&&a.enable(0),k.supportsVertexTextures&&a.enable(1),k.instancing&&a.enable(2),k.instancingColor&&a.enable(3),k.map&&a.enable(4),k.matcap&&a.enable(5),k.envMap&&a.enable(6),k.lightMap&&a.enable(7),k.aoMap&&a.enable(8),k.emissiveMap&&a.enable(9),k.bumpMap&&a.enable(10),k.normalMap&&a.enable(11),k.objectSpaceNormalMap&&a.enable(12),k.tangentSpaceNormalMap&&a.enable(13),k.clearcoat&&a.enable(14),k.clearcoatMap&&a.enable(15),k.clearcoatRoughnessMap&&a.enable(16),k.clearcoatNormalMap&&a.enable(17),k.iridescence&&a.enable(18),k.iridescenceMap&&a.enable(19),k.iridescenceThicknessMap&&a.enable(20),k.displacementMap&&a.enable(21),k.specularMap&&a.enable(22),k.roughnessMap&&a.enable(23),k.metalnessMap&&a.enable(24),k.gradientMap&&a.enable(25),k.alphaMap&&a.enable(26),k.alphaTest&&a.enable(27),k.vertexColors&&a.enable(28),k.vertexAlphas&&a.enable(29),k.vertexUvs&&a.enable(30),k.vertexTangents&&a.enable(31),k.uvsVertexOnly&&a.enable(32),O.push(a.mask),a.disableAll(),k.fog&&a.enable(0),k.useFog&&a.enable(1),k.flatShading&&a.enable(2),k.logarithmicDepthBuffer&&a.enable(3),k.skinning&&a.enable(4),k.morphTargets&&a.enable(5),k.morphNormals&&a.enable(6),k.morphColors&&a.enable(7),k.premultipliedAlpha&&a.enable(8),k.shadowMapEnabled&&a.enable(9),k.physicallyCorrectLights&&a.enable(10),k.doubleSided&&a.enable(11),k.flipSided&&a.enable(12),k.useDepthPacking&&a.enable(13),k.dithering&&a.enable(14),k.specularIntensityMap&&a.enable(15),k.specularColorMap&&a.enable(16),k.transmission&&a.enable(17),k.transmissionMap&&a.enable(18),k.thicknessMap&&a.enable(19),k.sheen&&a.enable(20),k.sheenColorMap&&a.enable(21),k.sheenRoughnessMap&&a.enable(22),k.decodeVideoTexture&&a.enable(23),k.opaque&&a.enable(24),O.push(a.mask)}function x(O){const k=p[O.type];let E;if(k){const M=Ld[k];E=xXe.clone(M.uniforms)}else E=O.uniforms;return E}function b(O,k){let E;for(let M=0,A=u.length;M0?r.push(v):h.transparent===!0?i.push(v):n.push(v)}function l(f,d,h,p,g,m){const v=s(f,d,h,p,g,m);h.transmission>0?r.unshift(v):h.transparent===!0?i.unshift(v):n.unshift(v)}function u(f,d){n.length>1&&n.sort(f||_Vn),r.length>1&&r.sort(d||ZOe),i.length>1&&i.sort(d||ZOe)}function c(){for(let f=e,d=t.length;f=o.length?(s=new JOe,o.push(s)):s=o[i],s}function n(){t=new WeakMap}return{get:e,dispose:n}}function CVn(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={direction:new Ce,color:new ui};break;case"SpotLight":n={position:new Ce,direction:new Ce,color:new ui,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":n={position:new Ce,color:new ui,distance:0,decay:0};break;case"HemisphereLight":n={direction:new Ce,skyColor:new ui,groundColor:new ui};break;case"RectAreaLight":n={color:new ui,position:new Ce,halfWidth:new Ce,halfHeight:new Ce};break}return t[e.id]=n,n}}}function OVn(){const t={};return{get:function(e){if(t[e.id]!==void 0)return t[e.id];let n;switch(e.type){case"DirectionalLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new On};break;case"SpotLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new On};break;case"PointLight":n={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new On,shadowCameraNear:1,shadowCameraFar:1e3};break}return t[e.id]=n,n}}}let EVn=0;function TVn(t,e){return(e.castShadow?2:0)-(t.castShadow?2:0)+(e.map?1:0)-(t.map?1:0)}function kVn(t,e){const n=new CVn,r=OVn(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0};for(let c=0;c<9;c++)i.probe.push(new Ce);const o=new Ce,s=new Wr,a=new Wr;function l(c,f){let d=0,h=0,p=0;for(let M=0;M<9;M++)i.probe[M].set(0,0,0);let g=0,m=0,v=0,y=0,x=0,b=0,w=0,_=0,S=0,O=0;c.sort(TVn);const k=f!==!0?Math.PI:1;for(let M=0,A=c.length;M0&&(e.isWebGL2||t.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=ft.LTC_FLOAT_1,i.rectAreaLTC2=ft.LTC_FLOAT_2):t.has("OES_texture_half_float_linear")===!0?(i.rectAreaLTC1=ft.LTC_HALF_1,i.rectAreaLTC2=ft.LTC_HALF_2):console.error("THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.")),i.ambient[0]=d,i.ambient[1]=h,i.ambient[2]=p;const E=i.hash;(E.directionalLength!==g||E.pointLength!==m||E.spotLength!==v||E.rectAreaLength!==y||E.hemiLength!==x||E.numDirectionalShadows!==b||E.numPointShadows!==w||E.numSpotShadows!==_||E.numSpotMaps!==S)&&(i.directional.length=g,i.spot.length=v,i.rectArea.length=y,i.point.length=m,i.hemi.length=x,i.directionalShadow.length=b,i.directionalShadowMap.length=b,i.pointShadow.length=w,i.pointShadowMap.length=w,i.spotShadow.length=_,i.spotShadowMap.length=_,i.directionalShadowMatrix.length=b,i.pointShadowMatrix.length=w,i.spotLightMatrix.length=_+S-O,i.spotLightMap.length=S,i.numSpotLightShadowsWithMaps=O,E.directionalLength=g,E.pointLength=m,E.spotLength=v,E.rectAreaLength=y,E.hemiLength=x,E.numDirectionalShadows=b,E.numPointShadows=w,E.numSpotShadows=_,E.numSpotMaps=S,i.version=EVn++)}function u(c,f){let d=0,h=0,p=0,g=0,m=0;const v=f.matrixWorldInverse;for(let y=0,x=c.length;y=a.length?(l=new eEe(t,e),a.push(l)):l=a[s],l}function i(){n=new WeakMap}return{get:r,dispose:i}}class PVn extends _D{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=GBn,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class MVn extends _D{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.referencePosition=new Ce,this.nearDistance=1,this.farDistance=1e3,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.referencePosition.copy(e.referencePosition),this.nearDistance=e.nearDistance,this.farDistance=e.farDistance,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}const RVn=`void main() { + gl_Position = vec4( position, 1.0 ); +}`,DVn=`uniform sampler2D shadow_pass; +uniform vec2 resolution; +uniform float radius; +#include +void main() { + const float samples = float( VSM_SAMPLES ); + float mean = 0.0; + float squared_mean = 0.0; + float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); + float uvStart = samples <= 1.0 ? 0.0 : - 1.0; + for ( float i = 0.0; i < samples; i ++ ) { + float uvOffset = uvStart + i * uvStride; + #ifdef HORIZONTAL_PASS + vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) ); + mean += distribution.x; + squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; + #else + float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) ); + mean += depth; + squared_mean += depth * depth; + #endif + } + mean = mean / samples; + squared_mean = squared_mean / samples; + float std_dev = sqrt( squared_mean - mean * mean ); + gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) ); +}`;function IVn(t,e,n){let r=new _Xe;const i=new On,o=new On,s=new vs,a=new PVn({depthPacking:HBn}),l=new MVn,u={},c=n.maxTextureSize,f={0:mu,1:FC,2:Jp},d=new Ey({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new On},radius:{value:4}},vertexShader:RVn,fragmentShader:DVn}),h=d.clone();h.defines.HORIZONTAL_PASS=1;const p=new om;p.setAttribute("position",new xc(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const g=new oh(p,d),m=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=nXe,this.render=function(b,w,_){if(m.enabled===!1||m.autoUpdate===!1&&m.needsUpdate===!1||b.length===0)return;const S=t.getRenderTarget(),O=t.getActiveCubeFace(),k=t.getActiveMipmapLevel(),E=t.state;E.setBlending(Hv),E.buffers.color.setClear(1,1,1,1),E.buffers.depth.setTest(!0),E.setScissorTest(!1);for(let M=0,A=b.length;Mc||i.y>c)&&(i.x>c&&(o.x=Math.floor(c/R.x),i.x=o.x*R.x,T.mapSize.x=o.x),i.y>c&&(o.y=Math.floor(c/R.y),i.y=o.y*R.y,T.mapSize.y=o.y)),T.map===null){const B=this.type!==$T?{minFilter:Ja,magFilter:Ja}:{};T.map=new U1(i.x,i.y,B),T.map.texture.name=P.name+".shadowMap",T.camera.updateProjectionMatrix()}t.setRenderTarget(T.map),t.clear();const I=T.getViewportCount();for(let B=0;B0){const A=E.uuid,P=w.uuid;let T=u[A];T===void 0&&(T={},u[A]=T);let R=T[P];R===void 0&&(R=E.clone(),T[P]=R),E=R}return E.visible=w.visible,E.wireframe=w.wireframe,k===$T?E.side=w.shadowSide!==null?w.shadowSide:w.side:E.side=w.shadowSide!==null?w.shadowSide:f[w.side],E.alphaMap=w.alphaMap,E.alphaTest=w.alphaTest,E.clipShadows=w.clipShadows,E.clippingPlanes=w.clippingPlanes,E.clipIntersection=w.clipIntersection,E.displacementMap=w.displacementMap,E.displacementScale=w.displacementScale,E.displacementBias=w.displacementBias,E.wireframeLinewidth=w.wireframeLinewidth,E.linewidth=w.linewidth,_.isPointLight===!0&&E.isMeshDistanceMaterial===!0&&(E.referencePosition.setFromMatrixPosition(_.matrixWorld),E.nearDistance=S,E.farDistance=O),E}function x(b,w,_,S,O){if(b.visible===!1)return;if(b.layers.test(w.layers)&&(b.isMesh||b.isLine||b.isPoints)&&(b.castShadow||b.receiveShadow&&O===$T)&&(!b.frustumCulled||r.intersectsObject(b))){b.modelViewMatrix.multiplyMatrices(_.matrixWorldInverse,b.matrixWorld);const M=e.update(b),A=b.material;if(Array.isArray(A)){const P=M.groups;for(let T=0,R=P.length;T=1):$.indexOf("OpenGL ES")!==-1&&(B=parseFloat(/^OpenGL ES (\d)/.exec($)[1]),I=B>=2);let z=null,L={};const j=t.getParameter(3088),N=t.getParameter(2978),F=new vs().fromArray(j),H=new vs().fromArray(N);function q(ce,$e,Se){const He=new Uint8Array(4),tt=t.createTexture();t.bindTexture(ce,tt),t.texParameteri(ce,10241,9728),t.texParameteri(ce,10240,9728);for(let ct=0;ctse||G.height>se)&&(ye=se/Math.max(G.width,G.height)),ye<1||W===!0)if(typeof HTMLImageElement<"u"&&G instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&G instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&G instanceof ImageBitmap){const ie=W?NZ:Math.floor,fe=ie(ye*G.width),Q=ie(ye*G.height);g===void 0&&(g=y(fe,Q));const _e=J?y(fe,Q):g;return _e.width=fe,_e.height=Q,_e.getContext("2d").drawImage(G,0,0,fe,Q),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+G.width+"x"+G.height+") to ("+fe+"x"+Q+")."),_e}else return"data"in G&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+G.width+"x"+G.height+")."),G;return G}function b(G){return wOe(G.width)&&wOe(G.height)}function w(G){return a?!1:G.wrapS!==ec||G.wrapT!==ec||G.minFilter!==Ja&&G.minFilter!==el}function _(G,W){return G.generateMipmaps&&W&&G.minFilter!==Ja&&G.minFilter!==el}function S(G){t.generateMipmap(G)}function O(G,W,J,se,ye=!1){if(a===!1)return W;if(G!==null){if(t[G]!==void 0)return t[G];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+G+"'")}let ie=W;return W===6403&&(J===5126&&(ie=33326),J===5131&&(ie=33325),J===5121&&(ie=33321)),W===33319&&(J===5126&&(ie=33328),J===5131&&(ie=33327),J===5121&&(ie=33323)),W===6408&&(J===5126&&(ie=34836),J===5131&&(ie=34842),J===5121&&(ie=se===Pi&&ye===!1?35907:32856),J===32819&&(ie=32854),J===32820&&(ie=32855)),(ie===33325||ie===33326||ie===33327||ie===33328||ie===34842||ie===34836)&&e.get("EXT_color_buffer_float"),ie}function k(G,W,J){return _(G,J)===!0||G.isFramebufferTexture&&G.minFilter!==Ja&&G.minFilter!==el?Math.log2(Math.max(W.width,W.height))+1:G.mipmaps!==void 0&&G.mipmaps.length>0?G.mipmaps.length:G.isCompressedTexture&&Array.isArray(G.image)?W.mipmaps.length:1}function E(G){return G===Ja||G===YCe||G===QCe?9728:9729}function M(G){const W=G.target;W.removeEventListener("dispose",M),P(W),W.isVideoTexture&&p.delete(W)}function A(G){const W=G.target;W.removeEventListener("dispose",A),R(W)}function P(G){const W=r.get(G);if(W.__webglInit===void 0)return;const J=G.source,se=m.get(J);if(se){const ye=se[W.__cacheKey];ye.usedTimes--,ye.usedTimes===0&&T(G),Object.keys(se).length===0&&m.delete(J)}r.remove(G)}function T(G){const W=r.get(G);t.deleteTexture(W.__webglTexture);const J=G.source,se=m.get(J);delete se[W.__cacheKey],s.memory.textures--}function R(G){const W=G.texture,J=r.get(G),se=r.get(W);if(se.__webglTexture!==void 0&&(t.deleteTexture(se.__webglTexture),s.memory.textures--),G.depthTexture&&G.depthTexture.dispose(),G.isWebGLCubeRenderTarget)for(let ye=0;ye<6;ye++)t.deleteFramebuffer(J.__webglFramebuffer[ye]),J.__webglDepthbuffer&&t.deleteRenderbuffer(J.__webglDepthbuffer[ye]);else{if(t.deleteFramebuffer(J.__webglFramebuffer),J.__webglDepthbuffer&&t.deleteRenderbuffer(J.__webglDepthbuffer),J.__webglMultisampledFramebuffer&&t.deleteFramebuffer(J.__webglMultisampledFramebuffer),J.__webglColorRenderbuffer)for(let ye=0;ye=l&&console.warn("THREE.WebGLTextures: Trying to use "+G+" texture units while this GPU supports only "+l),I+=1,G}function z(G){const W=[];return W.push(G.wrapS),W.push(G.wrapT),W.push(G.magFilter),W.push(G.minFilter),W.push(G.anisotropy),W.push(G.internalFormat),W.push(G.format),W.push(G.type),W.push(G.generateMipmaps),W.push(G.premultiplyAlpha),W.push(G.flipY),W.push(G.unpackAlignment),W.push(G.encoding),W.join()}function L(G,W){const J=r.get(G);if(G.isVideoTexture&&he(G),G.isRenderTargetTexture===!1&&G.version>0&&J.__version!==G.version){const se=G.image;if(se===null)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else if(se.complete===!1)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{K(J,G,W);return}}n.activeTexture(33984+W),n.bindTexture(3553,J.__webglTexture)}function j(G,W){const J=r.get(G);if(G.version>0&&J.__version!==G.version){K(J,G,W);return}n.activeTexture(33984+W),n.bindTexture(35866,J.__webglTexture)}function N(G,W){const J=r.get(G);if(G.version>0&&J.__version!==G.version){K(J,G,W);return}n.activeTexture(33984+W),n.bindTexture(32879,J.__webglTexture)}function F(G,W){const J=r.get(G);if(G.version>0&&J.__version!==G.version){ee(J,G,W);return}n.activeTexture(33984+W),n.bindTexture(34067,J.__webglTexture)}const H={[LZ]:10497,[ec]:33071,[$Z]:33648},q={[Ja]:9728,[YCe]:9984,[QCe]:9986,[el]:9729,[PBn]:9985,[o8]:9987};function Y(G,W,J){if(J?(t.texParameteri(G,10242,H[W.wrapS]),t.texParameteri(G,10243,H[W.wrapT]),(G===32879||G===35866)&&t.texParameteri(G,32882,H[W.wrapR]),t.texParameteri(G,10240,q[W.magFilter]),t.texParameteri(G,10241,q[W.minFilter])):(t.texParameteri(G,10242,33071),t.texParameteri(G,10243,33071),(G===32879||G===35866)&&t.texParameteri(G,32882,33071),(W.wrapS!==ec||W.wrapT!==ec)&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),t.texParameteri(G,10240,E(W.magFilter)),t.texParameteri(G,10241,E(W.minFilter)),W.minFilter!==Ja&&W.minFilter!==el&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.")),e.has("EXT_texture_filter_anisotropic")===!0){const se=e.get("EXT_texture_filter_anisotropic");if(W.type===Ov&&e.has("OES_texture_float_linear")===!1||a===!1&&W.type===oM&&e.has("OES_texture_half_float_linear")===!1)return;(W.anisotropy>1||r.get(W).__currentAnisotropy)&&(t.texParameterf(G,se.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(W.anisotropy,i.getMaxAnisotropy())),r.get(W).__currentAnisotropy=W.anisotropy)}}function le(G,W){let J=!1;G.__webglInit===void 0&&(G.__webglInit=!0,W.addEventListener("dispose",M));const se=W.source;let ye=m.get(se);ye===void 0&&(ye={},m.set(se,ye));const ie=z(W);if(ie!==G.__cacheKey){ye[ie]===void 0&&(ye[ie]={texture:t.createTexture(),usedTimes:0},s.memory.textures++,J=!0),ye[ie].usedTimes++;const fe=ye[G.__cacheKey];fe!==void 0&&(ye[G.__cacheKey].usedTimes--,fe.usedTimes===0&&T(W)),G.__cacheKey=ie,G.__webglTexture=ye[ie].texture}return J}function K(G,W,J){let se=3553;W.isDataArrayTexture&&(se=35866),W.isData3DTexture&&(se=32879);const ye=le(G,W),ie=W.source;if(n.activeTexture(33984+J),n.bindTexture(se,G.__webglTexture),ie.version!==ie.__currentVersion||ye===!0){t.pixelStorei(37440,W.flipY),t.pixelStorei(37441,W.premultiplyAlpha),t.pixelStorei(3317,W.unpackAlignment),t.pixelStorei(37443,0);const fe=w(W)&&b(W.image)===!1;let Q=x(W.image,fe,!1,c);Q=xe(W,Q);const _e=b(Q)||a,we=o.convert(W.format,W.encoding);let Ie=o.convert(W.type),Pe=O(W.internalFormat,we,Ie,W.encoding,W.isVideoTexture);Y(se,W,_e);let Me;const Te=W.mipmaps,Le=a&&W.isVideoTexture!==!0,ce=ie.__currentVersion===void 0||ye===!0,$e=k(W,Q,_e);if(W.isDepthTexture)Pe=6402,a?W.type===Ov?Pe=36012:W.type===bx?Pe=33190:W.type===iS?Pe=35056:Pe=33189:W.type===Ov&&console.error("WebGLRenderer: Floating point depth texture requires WebGL2."),W.format===Hx&&Pe===6402&&W.type!==aXe&&W.type!==bx&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),W.type=bx,Ie=o.convert(W.type)),W.format===jC&&Pe===6402&&(Pe=34041,W.type!==iS&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),W.type=iS,Ie=o.convert(W.type))),ce&&(Le?n.texStorage2D(3553,1,Pe,Q.width,Q.height):n.texImage2D(3553,0,Pe,Q.width,Q.height,0,we,Ie,null));else if(W.isDataTexture)if(Te.length>0&&_e){Le&&ce&&n.texStorage2D(3553,$e,Pe,Te[0].width,Te[0].height);for(let Se=0,He=Te.length;Se>=1,He>>=1}}else if(Te.length>0&&_e){Le&&ce&&n.texStorage2D(3553,$e,Pe,Te[0].width,Te[0].height);for(let Se=0,He=Te.length;Se0&&ce++,n.texStorage2D(34067,ce,Me,Q[0].width,Q[0].height));for(let Se=0;Se<6;Se++)if(fe){Te?n.texSubImage2D(34069+Se,0,0,0,Q[Se].width,Q[Se].height,Ie,Pe,Q[Se].data):n.texImage2D(34069+Se,0,Me,Q[Se].width,Q[Se].height,0,Ie,Pe,Q[Se].data);for(let He=0;He<$e.length;He++){const ct=$e[He].image[Se].image;Te?n.texSubImage2D(34069+Se,He+1,0,0,ct.width,ct.height,Ie,Pe,ct.data):n.texImage2D(34069+Se,He+1,Me,ct.width,ct.height,0,Ie,Pe,ct.data)}}else{Te?n.texSubImage2D(34069+Se,0,0,0,Ie,Pe,Q[Se]):n.texImage2D(34069+Se,0,Me,Ie,Pe,Q[Se]);for(let He=0;He<$e.length;He++){const tt=$e[He];Te?n.texSubImage2D(34069+Se,He+1,0,0,Ie,Pe,tt.image[Se]):n.texImage2D(34069+Se,He+1,Me,Ie,Pe,tt.image[Se])}}}_(W,we)&&S(34067),ye.__currentVersion=ye.version,W.onUpdate&&W.onUpdate(W)}G.__version=W.version}function re(G,W,J,se,ye){const ie=o.convert(J.format,J.encoding),fe=o.convert(J.type),Q=O(J.internalFormat,ie,fe,J.encoding);r.get(W).__hasExternalTextures||(ye===32879||ye===35866?n.texImage3D(ye,0,Q,W.width,W.height,W.depth,0,ie,fe,null):n.texImage2D(ye,0,Q,W.width,W.height,0,ie,fe,null)),n.bindFramebuffer(36160,G),Z(W)?d.framebufferTexture2DMultisampleEXT(36160,se,ye,r.get(J).__webglTexture,0,X(W)):t.framebufferTexture2D(36160,se,ye,r.get(J).__webglTexture,0),n.bindFramebuffer(36160,null)}function ge(G,W,J){if(t.bindRenderbuffer(36161,G),W.depthBuffer&&!W.stencilBuffer){let se=33189;if(J||Z(W)){const ye=W.depthTexture;ye&&ye.isDepthTexture&&(ye.type===Ov?se=36012:ye.type===bx&&(se=33190));const ie=X(W);Z(W)?d.renderbufferStorageMultisampleEXT(36161,ie,se,W.width,W.height):t.renderbufferStorageMultisample(36161,ie,se,W.width,W.height)}else t.renderbufferStorage(36161,se,W.width,W.height);t.framebufferRenderbuffer(36160,36096,36161,G)}else if(W.depthBuffer&&W.stencilBuffer){const se=X(W);J&&Z(W)===!1?t.renderbufferStorageMultisample(36161,se,35056,W.width,W.height):Z(W)?d.renderbufferStorageMultisampleEXT(36161,se,35056,W.width,W.height):t.renderbufferStorage(36161,34041,W.width,W.height),t.framebufferRenderbuffer(36160,33306,36161,G)}else{const se=W.isWebGLMultipleRenderTargets===!0?W.texture:[W.texture];for(let ye=0;ye0&&Z(G)===!1){const Q=ie?W:[W];J.__webglMultisampledFramebuffer=t.createFramebuffer(),J.__webglColorRenderbuffer=[],n.bindFramebuffer(36160,J.__webglMultisampledFramebuffer);for(let _e=0;_e0&&Z(G)===!1){const W=G.isWebGLMultipleRenderTargets?G.texture:[G.texture],J=G.width,se=G.height;let ye=16384;const ie=[],fe=G.stencilBuffer?33306:36096,Q=r.get(G),_e=G.isWebGLMultipleRenderTargets===!0;if(_e)for(let we=0;we0&&e.has("WEBGL_multisampled_render_to_texture")===!0&&W.__useRenderToTexture!==!1}function he(G){const W=s.render.frame;p.get(G)!==W&&(p.set(G,W),G.update())}function xe(G,W){const J=G.encoding,se=G.format,ye=G.type;return G.isCompressedTexture===!0||G.isVideoTexture===!0||G.format===FZ||J!==B1&&(J===Pi?a===!1?e.has("EXT_sRGB")===!0&&se===ih?(G.format=FZ,G.minFilter=el,G.generateMipmaps=!1):W=fXe.sRGBToLinear(W):(se!==ih||ye!==j1)&&console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture encoding:",J)),W}this.allocateTextureUnit=$,this.resetTextureUnits=B,this.setTexture2D=L,this.setTexture2DArray=j,this.setTexture3D=N,this.setTextureCube=F,this.rebindTextures=U,this.setupRenderTarget=oe,this.updateRenderTargetMipmap=ne,this.updateMultisampleRenderTarget=V,this.setupDepthRenderbuffer=ae,this.setupFrameBufferTexture=re,this.useMultisampledRTT=Z}function FVn(t,e,n){const r=n.isWebGL2;function i(o,s=null){let a;if(o===j1)return 5121;if(o===IBn)return 32819;if(o===LBn)return 32820;if(o===MBn)return 5120;if(o===RBn)return 5122;if(o===aXe)return 5123;if(o===DBn)return 5124;if(o===bx)return 5125;if(o===Ov)return 5126;if(o===oM)return r?5131:(a=e.get("OES_texture_half_float"),a!==null?a.HALF_FLOAT_OES:null);if(o===$Bn)return 6406;if(o===ih)return 6408;if(o===NBn)return 6409;if(o===zBn)return 6410;if(o===Hx)return 6402;if(o===jC)return 34041;if(o===lXe)return 6403;if(o===FBn)return console.warn("THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228"),6408;if(o===FZ)return a=e.get("EXT_sRGB"),a!==null?a.SRGB_ALPHA_EXT:null;if(o===jBn)return 36244;if(o===BBn)return 33319;if(o===UBn)return 33320;if(o===WBn)return 36249;if(o===j7||o===B7||o===U7||o===W7)if(s===Pi)if(a=e.get("WEBGL_compressed_texture_s3tc_srgb"),a!==null){if(o===j7)return a.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(o===B7)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(o===U7)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(o===W7)return a.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if(a=e.get("WEBGL_compressed_texture_s3tc"),a!==null){if(o===j7)return a.COMPRESSED_RGB_S3TC_DXT1_EXT;if(o===B7)return a.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(o===U7)return a.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(o===W7)return a.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(o===KCe||o===ZCe||o===JCe||o===eOe)if(a=e.get("WEBGL_compressed_texture_pvrtc"),a!==null){if(o===KCe)return a.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(o===ZCe)return a.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(o===JCe)return a.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(o===eOe)return a.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(o===VBn)return a=e.get("WEBGL_compressed_texture_etc1"),a!==null?a.COMPRESSED_RGB_ETC1_WEBGL:null;if(o===tOe||o===nOe)if(a=e.get("WEBGL_compressed_texture_etc"),a!==null){if(o===tOe)return s===Pi?a.COMPRESSED_SRGB8_ETC2:a.COMPRESSED_RGB8_ETC2;if(o===nOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:a.COMPRESSED_RGBA8_ETC2_EAC}else return null;if(o===rOe||o===iOe||o===oOe||o===sOe||o===aOe||o===lOe||o===uOe||o===cOe||o===fOe||o===dOe||o===hOe||o===pOe||o===gOe||o===mOe)if(a=e.get("WEBGL_compressed_texture_astc"),a!==null){if(o===rOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:a.COMPRESSED_RGBA_ASTC_4x4_KHR;if(o===iOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:a.COMPRESSED_RGBA_ASTC_5x4_KHR;if(o===oOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:a.COMPRESSED_RGBA_ASTC_5x5_KHR;if(o===sOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:a.COMPRESSED_RGBA_ASTC_6x5_KHR;if(o===aOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:a.COMPRESSED_RGBA_ASTC_6x6_KHR;if(o===lOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:a.COMPRESSED_RGBA_ASTC_8x5_KHR;if(o===uOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:a.COMPRESSED_RGBA_ASTC_8x6_KHR;if(o===cOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:a.COMPRESSED_RGBA_ASTC_8x8_KHR;if(o===fOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:a.COMPRESSED_RGBA_ASTC_10x5_KHR;if(o===dOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:a.COMPRESSED_RGBA_ASTC_10x6_KHR;if(o===hOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:a.COMPRESSED_RGBA_ASTC_10x8_KHR;if(o===pOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:a.COMPRESSED_RGBA_ASTC_10x10_KHR;if(o===gOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:a.COMPRESSED_RGBA_ASTC_12x10_KHR;if(o===mOe)return s===Pi?a.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:a.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(o===vOe)if(a=e.get("EXT_texture_compression_bptc"),a!==null){if(o===vOe)return s===Pi?a.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:a.COMPRESSED_RGBA_BPTC_UNORM_EXT}else return null;return o===iS?r?34042:(a=e.get("WEBGL_depth_texture"),a!==null?a.UNSIGNED_INT_24_8_WEBGL:null):t[o]!==void 0?t[o]:null}return{convert:i}}class NVn extends wf{constructor(e=[]){super(),this.isArrayCamera=!0,this.cameras=e}}class A$ extends yl{constructor(){super(),this.isGroup=!0,this.type="Group"}}const zVn={type:"move"};class vG{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new A$,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new A$,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new Ce,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new Ce),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new A$,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new Ce,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new Ce),this._grip}dispatchEvent(e){return this._targetRay!==null&&this._targetRay.dispatchEvent(e),this._grip!==null&&this._grip.dispatchEvent(e),this._hand!==null&&this._hand.dispatchEvent(e),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(e,n,r){let i=null,o=null,s=null;const a=this._targetRay,l=this._grip,u=this._hand;if(e&&n.session.visibilityState!=="visible-blurred"){if(u&&e.hand){s=!0;for(const g of e.hand.values()){const m=n.getJointPose(g,r);if(u.joints[g.jointName]===void 0){const y=new A$;y.matrixAutoUpdate=!1,y.visible=!1,u.joints[g.jointName]=y,u.add(y)}const v=u.joints[g.jointName];m!==null&&(v.matrix.fromArray(m.transform.matrix),v.matrix.decompose(v.position,v.rotation,v.scale),v.jointRadius=m.radius),v.visible=m!==null}const c=u.joints["index-finger-tip"],f=u.joints["thumb-tip"],d=c.position.distanceTo(f.position),h=.02,p=.005;u.inputState.pinching&&d>h+p?(u.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!u.inputState.pinching&&d<=h-p&&(u.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else l!==null&&e.gripSpace&&(o=n.getPose(e.gripSpace,r),o!==null&&(l.matrix.fromArray(o.transform.matrix),l.matrix.decompose(l.position,l.rotation,l.scale),o.linearVelocity?(l.hasLinearVelocity=!0,l.linearVelocity.copy(o.linearVelocity)):l.hasLinearVelocity=!1,o.angularVelocity?(l.hasAngularVelocity=!0,l.angularVelocity.copy(o.angularVelocity)):l.hasAngularVelocity=!1));a!==null&&(i=n.getPose(e.targetRaySpace,r),i===null&&o!==null&&(i=o),i!==null&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1,this.dispatchEvent(zVn)))}return a!==null&&(a.visible=i!==null),l!==null&&(l.visible=o!==null),u!==null&&(u.visible=s!==null),this}}class jVn extends ku{constructor(e,n,r,i,o,s,a,l,u,c){if(c=c!==void 0?c:Hx,c!==Hx&&c!==jC)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");r===void 0&&c===Hx&&(r=bx),r===void 0&&c===jC&&(r=iS),super(null,i,o,s,a,l,c,r,u),this.isDepthTexture=!0,this.image={width:e,height:n},this.magFilter=a!==void 0?a:Ja,this.minFilter=l!==void 0?l:Ja,this.flipY=!1,this.generateMipmaps=!1}}class BVn extends Ab{constructor(e,n){super();const r=this;let i=null,o=1,s=null,a="local-floor",l=null,u=null,c=null,f=null,d=null,h=null;const p=n.getContextAttributes();let g=null,m=null;const v=[],y=[],x=new wf;x.layers.enable(1),x.viewport=new vs;const b=new wf;b.layers.enable(2),b.viewport=new vs;const w=[x,b],_=new NVn;_.layers.enable(1),_.layers.enable(2);let S=null,O=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(z){let L=v[z];return L===void 0&&(L=new vG,v[z]=L),L.getTargetRaySpace()},this.getControllerGrip=function(z){let L=v[z];return L===void 0&&(L=new vG,v[z]=L),L.getGripSpace()},this.getHand=function(z){let L=v[z];return L===void 0&&(L=new vG,v[z]=L),L.getHandSpace()};function k(z){const L=y.indexOf(z.inputSource);if(L===-1)return;const j=v[L];j!==void 0&&j.dispatchEvent({type:z.type,data:z.inputSource})}function E(){i.removeEventListener("select",k),i.removeEventListener("selectstart",k),i.removeEventListener("selectend",k),i.removeEventListener("squeeze",k),i.removeEventListener("squeezestart",k),i.removeEventListener("squeezeend",k),i.removeEventListener("end",E),i.removeEventListener("inputsourceschange",M);for(let z=0;z=0&&(y[N]=null,v[N].dispatchEvent({type:"disconnected",data:j}))}for(let L=0;L=y.length){y.push(j),N=H;break}else if(y[H]===null){y[H]=j,N=H;break}if(N===-1)break}const F=v[N];F&&F.dispatchEvent({type:"connected",data:j})}}const A=new Ce,P=new Ce;function T(z,L,j){A.setFromMatrixPosition(L.matrixWorld),P.setFromMatrixPosition(j.matrixWorld);const N=A.distanceTo(P),F=L.projectionMatrix.elements,H=j.projectionMatrix.elements,q=F[14]/(F[10]-1),Y=F[14]/(F[10]+1),le=(F[9]+1)/F[5],K=(F[9]-1)/F[5],ee=(F[8]-1)/F[0],re=(H[8]+1)/H[0],ge=q*ee,te=q*re,ae=N/(-ee+re),U=ae*-ee;L.matrixWorld.decompose(z.position,z.quaternion,z.scale),z.translateX(U),z.translateZ(ae),z.matrixWorld.compose(z.position,z.quaternion,z.scale),z.matrixWorldInverse.copy(z.matrixWorld).invert();const oe=q+ae,ne=Y+ae,V=ge-U,X=te+(N-U),Z=le*Y/ne*oe,he=K*Y/ne*oe;z.projectionMatrix.makePerspective(V,X,Z,he,oe,ne)}function R(z,L){L===null?z.matrixWorld.copy(z.matrix):z.matrixWorld.multiplyMatrices(L.matrixWorld,z.matrix),z.matrixWorldInverse.copy(z.matrixWorld).invert()}this.updateCamera=function(z){if(i===null)return;_.near=b.near=x.near=z.near,_.far=b.far=x.far=z.far,(S!==_.near||O!==_.far)&&(i.updateRenderState({depthNear:_.near,depthFar:_.far}),S=_.near,O=_.far);const L=z.parent,j=_.cameras;R(_,L);for(let F=0;F0&&(g.alphaTest.value=m.alphaTest);const v=e.get(m).envMap;if(v&&(g.envMap.value=v,g.flipEnvMap.value=v.isCubeTexture&&v.isRenderTargetTexture===!1?-1:1,g.reflectivity.value=m.reflectivity,g.ior.value=m.ior,g.refractionRatio.value=m.refractionRatio),m.lightMap){g.lightMap.value=m.lightMap;const b=t.physicallyCorrectLights!==!0?Math.PI:1;g.lightMapIntensity.value=m.lightMapIntensity*b}m.aoMap&&(g.aoMap.value=m.aoMap,g.aoMapIntensity.value=m.aoMapIntensity);let y;m.map?y=m.map:m.specularMap?y=m.specularMap:m.displacementMap?y=m.displacementMap:m.normalMap?y=m.normalMap:m.bumpMap?y=m.bumpMap:m.roughnessMap?y=m.roughnessMap:m.metalnessMap?y=m.metalnessMap:m.alphaMap?y=m.alphaMap:m.emissiveMap?y=m.emissiveMap:m.clearcoatMap?y=m.clearcoatMap:m.clearcoatNormalMap?y=m.clearcoatNormalMap:m.clearcoatRoughnessMap?y=m.clearcoatRoughnessMap:m.iridescenceMap?y=m.iridescenceMap:m.iridescenceThicknessMap?y=m.iridescenceThicknessMap:m.specularIntensityMap?y=m.specularIntensityMap:m.specularColorMap?y=m.specularColorMap:m.transmissionMap?y=m.transmissionMap:m.thicknessMap?y=m.thicknessMap:m.sheenColorMap?y=m.sheenColorMap:m.sheenRoughnessMap&&(y=m.sheenRoughnessMap),y!==void 0&&(y.isWebGLRenderTarget&&(y=y.texture),y.matrixAutoUpdate===!0&&y.updateMatrix(),g.uvTransform.value.copy(y.matrix));let x;m.aoMap?x=m.aoMap:m.lightMap&&(x=m.lightMap),x!==void 0&&(x.isWebGLRenderTarget&&(x=x.texture),x.matrixAutoUpdate===!0&&x.updateMatrix(),g.uv2Transform.value.copy(x.matrix))}function o(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity}function s(g,m){g.dashSize.value=m.dashSize,g.totalSize.value=m.dashSize+m.gapSize,g.scale.value=m.scale}function a(g,m,v,y){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.size.value=m.size*v,g.scale.value=y*.5,m.map&&(g.map.value=m.map),m.alphaMap&&(g.alphaMap.value=m.alphaMap),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest);let x;m.map?x=m.map:m.alphaMap&&(x=m.alphaMap),x!==void 0&&(x.matrixAutoUpdate===!0&&x.updateMatrix(),g.uvTransform.value.copy(x.matrix))}function l(g,m){g.diffuse.value.copy(m.color),g.opacity.value=m.opacity,g.rotation.value=m.rotation,m.map&&(g.map.value=m.map),m.alphaMap&&(g.alphaMap.value=m.alphaMap),m.alphaTest>0&&(g.alphaTest.value=m.alphaTest);let v;m.map?v=m.map:m.alphaMap&&(v=m.alphaMap),v!==void 0&&(v.matrixAutoUpdate===!0&&v.updateMatrix(),g.uvTransform.value.copy(v.matrix))}function u(g,m){g.specular.value.copy(m.specular),g.shininess.value=Math.max(m.shininess,1e-4)}function c(g,m){m.gradientMap&&(g.gradientMap.value=m.gradientMap)}function f(g,m){g.roughness.value=m.roughness,g.metalness.value=m.metalness,m.roughnessMap&&(g.roughnessMap.value=m.roughnessMap),m.metalnessMap&&(g.metalnessMap.value=m.metalnessMap),e.get(m).envMap&&(g.envMapIntensity.value=m.envMapIntensity)}function d(g,m,v){g.ior.value=m.ior,m.sheen>0&&(g.sheenColor.value.copy(m.sheenColor).multiplyScalar(m.sheen),g.sheenRoughness.value=m.sheenRoughness,m.sheenColorMap&&(g.sheenColorMap.value=m.sheenColorMap),m.sheenRoughnessMap&&(g.sheenRoughnessMap.value=m.sheenRoughnessMap)),m.clearcoat>0&&(g.clearcoat.value=m.clearcoat,g.clearcoatRoughness.value=m.clearcoatRoughness,m.clearcoatMap&&(g.clearcoatMap.value=m.clearcoatMap),m.clearcoatRoughnessMap&&(g.clearcoatRoughnessMap.value=m.clearcoatRoughnessMap),m.clearcoatNormalMap&&(g.clearcoatNormalScale.value.copy(m.clearcoatNormalScale),g.clearcoatNormalMap.value=m.clearcoatNormalMap,m.side===mu&&g.clearcoatNormalScale.value.negate())),m.iridescence>0&&(g.iridescence.value=m.iridescence,g.iridescenceIOR.value=m.iridescenceIOR,g.iridescenceThicknessMinimum.value=m.iridescenceThicknessRange[0],g.iridescenceThicknessMaximum.value=m.iridescenceThicknessRange[1],m.iridescenceMap&&(g.iridescenceMap.value=m.iridescenceMap),m.iridescenceThicknessMap&&(g.iridescenceThicknessMap.value=m.iridescenceThicknessMap)),m.transmission>0&&(g.transmission.value=m.transmission,g.transmissionSamplerMap.value=v.texture,g.transmissionSamplerSize.value.set(v.width,v.height),m.transmissionMap&&(g.transmissionMap.value=m.transmissionMap),g.thickness.value=m.thickness,m.thicknessMap&&(g.thicknessMap.value=m.thicknessMap),g.attenuationDistance.value=m.attenuationDistance,g.attenuationColor.value.copy(m.attenuationColor)),g.specularIntensity.value=m.specularIntensity,g.specularColor.value.copy(m.specularColor),m.specularIntensityMap&&(g.specularIntensityMap.value=m.specularIntensityMap),m.specularColorMap&&(g.specularColorMap.value=m.specularColorMap)}function h(g,m){m.matcap&&(g.matcap.value=m.matcap)}function p(g,m){g.referencePosition.value.copy(m.referencePosition),g.nearDistance.value=m.nearDistance,g.farDistance.value=m.farDistance}return{refreshFogUniforms:n,refreshMaterialUniforms:r}}function WVn(t,e,n,r){let i={},o={},s=[];const a=n.isWebGL2?t.getParameter(35375):0;function l(y,x){const b=x.program;r.uniformBlockBinding(y,b)}function u(y,x){let b=i[y.id];b===void 0&&(p(y),b=c(y),i[y.id]=b,y.addEventListener("dispose",m));const w=x.program;r.updateUBOMapping(y,w);const _=e.render.frame;o[y.id]!==_&&(d(y),o[y.id]=_)}function c(y){const x=f();y.__bindingPointIndex=x;const b=t.createBuffer(),w=y.__size,_=y.usage;return t.bindBuffer(35345,b),t.bufferData(35345,w,_),t.bindBuffer(35345,null),t.bindBufferBase(35345,x,b),b}function f(){for(let y=0;y0){_=b%w;const M=w-_;_!==0&&M-E.boundary<0&&(b+=w-_,k.__offset=b)}b+=E.storage}return _=b%w,_>0&&(b+=w-_),y.__size=b,y.__cache={},this}function g(y){const x=y.value,b={boundary:0,storage:0};return typeof x=="number"?(b.boundary=4,b.storage=4):x.isVector2?(b.boundary=8,b.storage=8):x.isVector3||x.isColor?(b.boundary=16,b.storage=12):x.isVector4?(b.boundary=16,b.storage=16):x.isMatrix3?(b.boundary=48,b.storage=48):x.isMatrix4?(b.boundary=64,b.storage=64):x.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",x),b}function m(y){const x=y.target;x.removeEventListener("dispose",m);const b=s.indexOf(x.__bindingPointIndex);s.splice(b,1),t.deleteBuffer(i[x.id]),delete i[x.id],delete o[x.id]}function v(){for(const y in i)t.deleteBuffer(i[y]);s=[],i={},o={}}return{bind:l,update:u,dispose:v}}function VVn(){const t=sM("canvas");return t.style.display="block",t}function AXe(t={}){this.isWebGLRenderer=!0;const e=t.canvas!==void 0?t.canvas:VVn(),n=t.context!==void 0?t.context:null,r=t.depth!==void 0?t.depth:!0,i=t.stencil!==void 0?t.stencil:!0,o=t.antialias!==void 0?t.antialias:!1,s=t.premultipliedAlpha!==void 0?t.premultipliedAlpha:!0,a=t.preserveDrawingBuffer!==void 0?t.preserveDrawingBuffer:!1,l=t.powerPreference!==void 0?t.powerPreference:"default",u=t.failIfMajorPerformanceCaveat!==void 0?t.failIfMajorPerformanceCaveat:!1;let c;n!==null?c=n.getContextAttributes().alpha:c=t.alpha!==void 0?t.alpha:!1;let f=null,d=null;const h=[],p=[];this.domElement=e,this.debug={checkShaderErrors:!0},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.outputEncoding=B1,this.physicallyCorrectLights=!1,this.toneMapping=xg,this.toneMappingExposure=1,Object.defineProperties(this,{gammaFactor:{get:function(){return console.warn("THREE.WebGLRenderer: .gammaFactor has been removed."),2},set:function(){console.warn("THREE.WebGLRenderer: .gammaFactor has been removed.")}}});const g=this;let m=!1,v=0,y=0,x=null,b=-1,w=null;const _=new vs,S=new vs;let O=null,k=e.width,E=e.height,M=1,A=null,P=null;const T=new vs(0,0,k,E),R=new vs(0,0,k,E);let I=!1;const B=new _Xe;let $=!1,z=!1,L=null;const j=new Wr,N=new On,F=new Ce,H={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};function q(){return x===null?M:1}let Y=n;function le(ue,Ae){for(let Fe=0;Fe0?d=p[p.length-1]:d=null,h.pop(),h.length>0?f=h[h.length-1]:f=null};function Zi(ue,Ae,Fe,ke){if(ue.visible===!1)return;if(ue.layers.test(Ae.layers)){if(ue.isGroup)Fe=ue.renderOrder;else if(ue.isLOD)ue.autoUpdate===!0&&ue.update(Ae);else if(ue.isLight)d.pushLight(ue),ue.castShadow&&d.pushShadow(ue);else if(ue.isSprite){if(!ue.frustumCulled||B.intersectsSprite(ue)){ke&&F.setFromMatrixPosition(ue.matrixWorld).applyMatrix4(j);const Ft=X.update(ue),an=ue.material;an.visible&&f.push(ue,Ft,an,Fe,F.z,null)}}else if((ue.isMesh||ue.isLine||ue.isPoints)&&(ue.isSkinnedMesh&&ue.skeleton.frame!==ge.render.frame&&(ue.skeleton.update(),ue.skeleton.frame=ge.render.frame),!ue.frustumCulled||B.intersectsObject(ue))){ke&&F.setFromMatrixPosition(ue.matrixWorld).applyMatrix4(j);const Ft=X.update(ue),an=ue.material;if(Array.isArray(an)){const tn=Ft.groups;for(let Qn=0,Bn=tn.length;Qn0&&Gt(Be,Ae,Fe),ke&&re.viewport(_.copy(ke)),Be.length>0&&fr(Be,Ae,Fe),Ct.length>0&&fr(Ct,Ae,Fe),Ft.length>0&&fr(Ft,Ae,Fe),re.buffers.depth.setTest(!0),re.buffers.depth.setMask(!0),re.buffers.color.setMask(!0),re.setPolygonOffset(!1)}function Gt(ue,Ae,Fe){const ke=ee.isWebGL2;L===null&&(L=new U1(1,1,{generateMipmaps:!0,type:K.has("EXT_color_buffer_half_float")?oM:j1,minFilter:o8,samples:ke&&o===!0?4:0})),g.getDrawingBufferSize(N),ke?L.setSize(N.x,N.y):L.setSize(NZ(N.x),NZ(N.y));const Be=g.getRenderTarget();g.setRenderTarget(L),g.clear();const Ct=g.toneMapping;g.toneMapping=xg,fr(ue,Ae,Fe),g.toneMapping=Ct,ae.updateMultisampleRenderTarget(L),ae.updateRenderTargetMipmap(L),g.setRenderTarget(Be)}function fr(ue,Ae,Fe){const ke=Ae.isScene===!0?Ae.overrideMaterial:null;for(let Be=0,Ct=ue.length;Be0&&ae.useMultisampledRTT(ue)===!1?Be=te.get(ue).__webglMultisampledFramebuffer:Be=Qn,_.copy(ue.viewport),S.copy(ue.scissor),O=ue.scissorTest}else _.copy(T).multiplyScalar(M).floor(),S.copy(R).multiplyScalar(M).floor(),O=I;if(re.bindFramebuffer(36160,Be)&&ee.drawBuffers&&ke&&re.drawBuffers(ue,Be),re.viewport(_),re.scissor(S),re.setScissorTest(O),Ct){const tn=te.get(ue.texture);Y.framebufferTexture2D(36160,36064,34069+Ae,tn.__webglTexture,Fe)}else if(Ft){const tn=te.get(ue.texture),Qn=Ae||0;Y.framebufferTextureLayer(36160,36064,tn.__webglTexture,Fe||0,Qn)}b=-1},this.readRenderTargetPixels=function(ue,Ae,Fe,ke,Be,Ct,Ft){if(!(ue&&ue.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let an=te.get(ue).__webglFramebuffer;if(ue.isWebGLCubeRenderTarget&&Ft!==void 0&&(an=an[Ft]),an){re.bindFramebuffer(36160,an);try{const tn=ue.texture,Qn=tn.format,Bn=tn.type;if(Qn!==ih&&Q.convert(Qn)!==Y.getParameter(35739)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const Un=Bn===oM&&(K.has("EXT_color_buffer_half_float")||ee.isWebGL2&&K.has("EXT_color_buffer_float"));if(Bn!==j1&&Q.convert(Bn)!==Y.getParameter(35738)&&!(Bn===Ov&&(ee.isWebGL2||K.has("OES_texture_float")||K.has("WEBGL_color_buffer_float")))&&!Un){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}Ae>=0&&Ae<=ue.width-ke&&Fe>=0&&Fe<=ue.height-Be&&Y.readPixels(Ae,Fe,ke,Be,Q.convert(Qn),Q.convert(Bn),Ct)}finally{const tn=x!==null?te.get(x).__webglFramebuffer:null;re.bindFramebuffer(36160,tn)}}},this.copyFramebufferToTexture=function(ue,Ae,Fe=0){const ke=Math.pow(2,-Fe),Be=Math.floor(Ae.image.width*ke),Ct=Math.floor(Ae.image.height*ke);ae.setTexture2D(Ae,0),Y.copyTexSubImage2D(3553,Fe,0,0,ue.x,ue.y,Be,Ct),re.unbindTexture()},this.copyTextureToTexture=function(ue,Ae,Fe,ke=0){const Be=Ae.image.width,Ct=Ae.image.height,Ft=Q.convert(Fe.format),an=Q.convert(Fe.type);ae.setTexture2D(Fe,0),Y.pixelStorei(37440,Fe.flipY),Y.pixelStorei(37441,Fe.premultiplyAlpha),Y.pixelStorei(3317,Fe.unpackAlignment),Ae.isDataTexture?Y.texSubImage2D(3553,ke,ue.x,ue.y,Be,Ct,Ft,an,Ae.image.data):Ae.isCompressedTexture?Y.compressedTexSubImage2D(3553,ke,ue.x,ue.y,Ae.mipmaps[0].width,Ae.mipmaps[0].height,Ft,Ae.mipmaps[0].data):Y.texSubImage2D(3553,ke,ue.x,ue.y,Ft,an,Ae.image),ke===0&&Fe.generateMipmaps&&Y.generateMipmap(3553),re.unbindTexture()},this.copyTextureToTexture3D=function(ue,Ae,Fe,ke,Be=0){if(g.isWebGL1Renderer){console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");return}const Ct=ue.max.x-ue.min.x+1,Ft=ue.max.y-ue.min.y+1,an=ue.max.z-ue.min.z+1,tn=Q.convert(ke.format),Qn=Q.convert(ke.type);let Bn;if(ke.isData3DTexture)ae.setTexture3D(ke,0),Bn=32879;else if(ke.isDataArrayTexture)ae.setTexture2DArray(ke,0),Bn=35866;else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}Y.pixelStorei(37440,ke.flipY),Y.pixelStorei(37441,ke.premultiplyAlpha),Y.pixelStorei(3317,ke.unpackAlignment);const Un=Y.getParameter(3314),Ti=Y.getParameter(32878),s0=Y.getParameter(3316),Mb=Y.getParameter(3315),Rb=Y.getParameter(32877),fd=Fe.isCompressedTexture?Fe.mipmaps[0]:Fe.image;Y.pixelStorei(3314,fd.width),Y.pixelStorei(32878,fd.height),Y.pixelStorei(3316,ue.min.x),Y.pixelStorei(3315,ue.min.y),Y.pixelStorei(32877,ue.min.z),Fe.isDataTexture||Fe.isData3DTexture?Y.texSubImage3D(Bn,Be,Ae.x,Ae.y,Ae.z,Ct,Ft,an,tn,Qn,fd.data):Fe.isCompressedTexture?(console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."),Y.compressedTexSubImage3D(Bn,Be,Ae.x,Ae.y,Ae.z,Ct,Ft,an,tn,fd.data)):Y.texSubImage3D(Bn,Be,Ae.x,Ae.y,Ae.z,Ct,Ft,an,tn,Qn,fd),Y.pixelStorei(3314,Un),Y.pixelStorei(32878,Ti),Y.pixelStorei(3316,s0),Y.pixelStorei(3315,Mb),Y.pixelStorei(32877,Rb),Be===0&&ke.generateMipmaps&&Y.generateMipmap(Bn),re.unbindTexture()},this.initTexture=function(ue){ue.isCubeTexture?ae.setTextureCube(ue,0):ue.isData3DTexture?ae.setTexture3D(ue,0):ue.isDataArrayTexture?ae.setTexture2DArray(ue,0):ae.setTexture2D(ue,0),re.unbindTexture()},this.resetState=function(){v=0,y=0,x=null,re.reset(),_e.reset()},typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}class GVn extends AXe{}GVn.prototype.isWebGL1Renderer=!0;class HVn extends yl{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,n){return super.copy(e,n),e.background!==null&&(this.background=e.background.clone()),e.environment!==null&&(this.environment=e.environment.clone()),e.fog!==null&&(this.fog=e.fog.clone()),e.overrideMaterial!==null&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const n=super.toJSON(e);return this.fog!==null&&(n.object.fog=this.fog.toJSON()),n}get autoUpdate(){return console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate}set autoUpdate(e){console.warn("THREE.Scene: autoUpdate was renamed to matrixWorldAutoUpdate in r144."),this.matrixWorldAutoUpdate=e}}class PXe extends _D{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new ui(16777215),this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const tEe=new Ce,nEe=new Ce,rEe=new Wr,yG=new gXe,P$=new s8;class qVn extends yl{constructor(e=new om,n=new PXe){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=n,this.updateMorphTargets()}copy(e,n){return super.copy(e,n),this.material=e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(e.index===null){const n=e.attributes.position,r=[0];for(let i=1,o=n.count;il)continue;d.applyMatrix4(this.matrixWorld);const O=e.ray.origin.distanceTo(d);Oe.far||n.push({distance:O,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}else{const v=Math.max(0,s.start),y=Math.min(m.count,s.start+s.count);for(let x=v,b=y-1;xl)continue;d.applyMatrix4(this.matrixWorld);const _=e.ray.origin.distanceTo(d);_e.far||n.push({distance:_,point:f.clone().applyMatrix4(this.matrixWorld),index:x,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const n=this.geometry.morphAttributes,r=Object.keys(n);if(r.length>0){const i=n[r[0]];if(i!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let o=0,s=i.length;o{n&&n(o),this.manager.itemEnd(e)},0),o;if(yp[e]!==void 0){yp[e].push({onLoad:n,onProgress:r,onError:i});return}yp[e]=[],yp[e].push({onLoad:n,onProgress:r,onError:i});const s=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"}),a=this.mimeType,l=this.responseType;fetch(s).then(u=>{if(u.status===200||u.status===0){if(u.status===0&&console.warn("THREE.FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||u.body===void 0||u.body.getReader===void 0)return u;const c=yp[e],f=u.body.getReader(),d=u.headers.get("Content-Length"),h=d?parseInt(d):0,p=h!==0;let g=0;const m=new ReadableStream({start(v){y();function y(){f.read().then(({done:x,value:b})=>{if(x)v.close();else{g+=b.byteLength;const w=new ProgressEvent("progress",{lengthComputable:p,loaded:g,total:h});for(let _=0,S=c.length;_{switch(l){case"arraybuffer":return u.arrayBuffer();case"blob":return u.blob();case"document":return u.text().then(c=>new DOMParser().parseFromString(c,a));case"json":return u.json();default:if(a===void 0)return u.text();{const f=/charset="?([^;"\s]*)"?/i.exec(a),d=f&&f[1]?f[1].toLowerCase():void 0,h=new TextDecoder(d);return u.arrayBuffer().then(p=>h.decode(p))}}}).then(u=>{oj.add(e,u);const c=yp[e];delete yp[e];for(let f=0,d=c.length;f{const c=yp[e];if(c===void 0)throw this.manager.itemError(e),u;delete yp[e];for(let f=0,d=c.length;f{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}}class JVn extends u8{constructor(e){super(e)}load(e,n,r,i){this.path!==void 0&&(e=this.path+e),e=this.manager.resolveURL(e);const o=this,s=oj.get(e);if(s!==void 0)return o.manager.itemStart(e),setTimeout(function(){n&&n(s),o.manager.itemEnd(e)},0),s;const a=sM("img");function l(){c(),oj.add(e,this),n&&n(this),o.manager.itemEnd(e)}function u(f){c(),i&&i(f),o.manager.itemError(e),o.manager.itemEnd(e)}function c(){a.removeEventListener("load",l,!1),a.removeEventListener("error",u,!1)}return a.addEventListener("load",l,!1),a.addEventListener("error",u,!1),e.slice(0,5)!=="data:"&&this.crossOrigin!==void 0&&(a.crossOrigin=this.crossOrigin),o.manager.itemStart(e),a.src=e,a}}class e9n extends u8{constructor(e){super(e)}load(e,n,r,i){const o=new ku,s=new JVn(this.manager);return s.setCrossOrigin(this.crossOrigin),s.setPath(this.path),s.load(e,function(a){o.image=a,o.needsUpdate=!0,n!==void 0&&n(o)},r,i),o}}class sEe{constructor(e=1,n=0,r=0){return this.radius=e,this.phi=n,this.theta=r,this}set(e,n,r){return this.radius=e,this.phi=n,this.theta=r,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){return this.phi=Math.max(1e-6,Math.min(Math.PI-1e-6,this.phi)),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,n,r){return this.radius=Math.sqrt(e*e+n*n+r*r),this.radius===0?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,r),this.phi=Math.acos(tl(n/this.radius,-1,1))),this}clone(){return new this.constructor().copy(this)}}const M$=new hE;class t9n extends XVn{constructor(e,n=16776960){const r=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),i=new Float32Array(8*3),o=new om;o.setIndex(new xc(r,1)),o.setAttribute("position",new xc(i,3)),super(o,new PXe({color:n,toneMapped:!1})),this.object=e,this.type="BoxHelper",this.matrixAutoUpdate=!1,this.update()}update(e){if(e!==void 0&&console.warn("THREE.BoxHelper: .update() has no longer arguments."),this.object!==void 0&&M$.setFromObject(this.object),M$.isEmpty())return;const n=M$.min,r=M$.max,i=this.geometry.attributes.position,o=i.array;o[0]=r.x,o[1]=r.y,o[2]=r.z,o[3]=n.x,o[4]=r.y,o[5]=r.z,o[6]=n.x,o[7]=n.y,o[8]=r.z,o[9]=r.x,o[10]=n.y,o[11]=r.z,o[12]=r.x,o[13]=r.y,o[14]=n.z,o[15]=n.x,o[16]=r.y,o[17]=n.z,o[18]=n.x,o[19]=n.y,o[20]=n.z,o[21]=r.x,o[22]=n.y,o[23]=n.z,i.needsUpdate=!0,this.geometry.computeBoundingSphere()}setFromObject(e){return this.object=e,this.update(),this}copy(e,n){return super.copy(e,n),this.object=e.object,this}}typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:Due}}));typeof window<"u"&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=Due);const aEe={type:"change"},xG={type:"start"},lEe={type:"end"};class n9n extends Ab{constructor(e,n){super(),this.object=e,this.domElement=n,this.domElement.style.touchAction="none",this.enabled=!0,this.target=new Ce,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:fw.ROTATE,MIDDLE:fw.DOLLY,RIGHT:fw.PAN},this.touches={ONE:dw.ROTATE,TWO:dw.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._domElementKeyEvents=null,this.getPolarAngle=function(){return a.phi},this.getAzimuthalAngle=function(){return a.theta},this.getDistance=function(){return this.object.position.distanceTo(this.target)},this.listenToKeyEvents=function(Q){Q.addEventListener("keydown",xe),this._domElementKeyEvents=Q},this.saveState=function(){r.target0.copy(r.target),r.position0.copy(r.object.position),r.zoom0=r.object.zoom},this.reset=function(){r.target.copy(r.target0),r.object.position.copy(r.position0),r.object.zoom=r.zoom0,r.object.updateProjectionMatrix(),r.dispatchEvent(aEe),r.update(),o=i.NONE},this.update=function(){const Q=new Ce,_e=new W1().setFromUnitVectors(e.up,new Ce(0,1,0)),we=_e.clone().invert(),Ie=new Ce,Pe=new W1,Me=2*Math.PI;return function(){const Le=r.object.position;Q.copy(Le).sub(r.target),Q.applyQuaternion(_e),a.setFromVector3(Q),r.autoRotate&&o===i.NONE&&k(S()),r.enableDamping?(a.theta+=l.theta*r.dampingFactor,a.phi+=l.phi*r.dampingFactor):(a.theta+=l.theta,a.phi+=l.phi);let ce=r.minAzimuthAngle,$e=r.maxAzimuthAngle;return isFinite(ce)&&isFinite($e)&&(ce<-Math.PI?ce+=Me:ce>Math.PI&&(ce-=Me),$e<-Math.PI?$e+=Me:$e>Math.PI&&($e-=Me),ce<=$e?a.theta=Math.max(ce,Math.min($e,a.theta)):a.theta=a.theta>(ce+$e)/2?Math.max(ce,a.theta):Math.min($e,a.theta)),a.phi=Math.max(r.minPolarAngle,Math.min(r.maxPolarAngle,a.phi)),a.makeSafe(),a.radius*=u,a.radius=Math.max(r.minDistance,Math.min(r.maxDistance,a.radius)),r.enableDamping===!0?r.target.addScaledVector(c,r.dampingFactor):r.target.add(c),Q.setFromSpherical(a),Q.applyQuaternion(we),Le.copy(r.target).add(Q),r.object.lookAt(r.target),r.enableDamping===!0?(l.theta*=1-r.dampingFactor,l.phi*=1-r.dampingFactor,c.multiplyScalar(1-r.dampingFactor)):(l.set(0,0,0),c.set(0,0,0)),u=1,f||Ie.distanceToSquared(r.object.position)>s||8*(1-Pe.dot(r.object.quaternion))>s?(r.dispatchEvent(aEe),Ie.copy(r.object.position),Pe.copy(r.object.quaternion),f=!1,!0):!1}}(),this.dispose=function(){r.domElement.removeEventListener("contextmenu",J),r.domElement.removeEventListener("pointerdown",U),r.domElement.removeEventListener("pointercancel",V),r.domElement.removeEventListener("wheel",he),r.domElement.removeEventListener("pointermove",oe),r.domElement.removeEventListener("pointerup",ne),r._domElementKeyEvents!==null&&r._domElementKeyEvents.removeEventListener("keydown",xe)};const r=this,i={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6};let o=i.NONE;const s=1e-6,a=new sEe,l=new sEe;let u=1;const c=new Ce;let f=!1;const d=new On,h=new On,p=new On,g=new On,m=new On,v=new On,y=new On,x=new On,b=new On,w=[],_={};function S(){return 2*Math.PI/60/60*r.autoRotateSpeed}function O(){return Math.pow(.95,r.zoomSpeed)}function k(Q){l.theta-=Q}function E(Q){l.phi-=Q}const M=function(){const Q=new Ce;return function(we,Ie){Q.setFromMatrixColumn(Ie,0),Q.multiplyScalar(-we),c.add(Q)}}(),A=function(){const Q=new Ce;return function(we,Ie){r.screenSpacePanning===!0?Q.setFromMatrixColumn(Ie,1):(Q.setFromMatrixColumn(Ie,0),Q.crossVectors(r.object.up,Q)),Q.multiplyScalar(we),c.add(Q)}}(),P=function(){const Q=new Ce;return function(we,Ie){const Pe=r.domElement;if(r.object.isPerspectiveCamera){const Me=r.object.position;Q.copy(Me).sub(r.target);let Te=Q.length();Te*=Math.tan(r.object.fov/2*Math.PI/180),M(2*we*Te/Pe.clientHeight,r.object.matrix),A(2*Ie*Te/Pe.clientHeight,r.object.matrix)}else r.object.isOrthographicCamera?(M(we*(r.object.right-r.object.left)/r.object.zoom/Pe.clientWidth,r.object.matrix),A(Ie*(r.object.top-r.object.bottom)/r.object.zoom/Pe.clientHeight,r.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),r.enablePan=!1)}}();function T(Q){r.object.isPerspectiveCamera?u/=Q:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom*Q)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function R(Q){r.object.isPerspectiveCamera?u*=Q:r.object.isOrthographicCamera?(r.object.zoom=Math.max(r.minZoom,Math.min(r.maxZoom,r.object.zoom/Q)),r.object.updateProjectionMatrix(),f=!0):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),r.enableZoom=!1)}function I(Q){d.set(Q.clientX,Q.clientY)}function B(Q){y.set(Q.clientX,Q.clientY)}function $(Q){g.set(Q.clientX,Q.clientY)}function z(Q){h.set(Q.clientX,Q.clientY),p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const _e=r.domElement;k(2*Math.PI*p.x/_e.clientHeight),E(2*Math.PI*p.y/_e.clientHeight),d.copy(h),r.update()}function L(Q){x.set(Q.clientX,Q.clientY),b.subVectors(x,y),b.y>0?T(O()):b.y<0&&R(O()),y.copy(x),r.update()}function j(Q){m.set(Q.clientX,Q.clientY),v.subVectors(m,g).multiplyScalar(r.panSpeed),P(v.x,v.y),g.copy(m),r.update()}function N(Q){Q.deltaY<0?R(O()):Q.deltaY>0&&T(O()),r.update()}function F(Q){let _e=!1;switch(Q.code){case r.keys.UP:P(0,r.keyPanSpeed),_e=!0;break;case r.keys.BOTTOM:P(0,-r.keyPanSpeed),_e=!0;break;case r.keys.LEFT:P(r.keyPanSpeed,0),_e=!0;break;case r.keys.RIGHT:P(-r.keyPanSpeed,0),_e=!0;break}_e&&(Q.preventDefault(),r.update())}function H(){if(w.length===1)d.set(w[0].pageX,w[0].pageY);else{const Q=.5*(w[0].pageX+w[1].pageX),_e=.5*(w[0].pageY+w[1].pageY);d.set(Q,_e)}}function q(){if(w.length===1)g.set(w[0].pageX,w[0].pageY);else{const Q=.5*(w[0].pageX+w[1].pageX),_e=.5*(w[0].pageY+w[1].pageY);g.set(Q,_e)}}function Y(){const Q=w[0].pageX-w[1].pageX,_e=w[0].pageY-w[1].pageY,we=Math.sqrt(Q*Q+_e*_e);y.set(0,we)}function le(){r.enableZoom&&Y(),r.enablePan&&q()}function K(){r.enableZoom&&Y(),r.enableRotate&&H()}function ee(Q){if(w.length===1)h.set(Q.pageX,Q.pageY);else{const we=fe(Q),Ie=.5*(Q.pageX+we.x),Pe=.5*(Q.pageY+we.y);h.set(Ie,Pe)}p.subVectors(h,d).multiplyScalar(r.rotateSpeed);const _e=r.domElement;k(2*Math.PI*p.x/_e.clientHeight),E(2*Math.PI*p.y/_e.clientHeight),d.copy(h)}function re(Q){if(w.length===1)m.set(Q.pageX,Q.pageY);else{const _e=fe(Q),we=.5*(Q.pageX+_e.x),Ie=.5*(Q.pageY+_e.y);m.set(we,Ie)}v.subVectors(m,g).multiplyScalar(r.panSpeed),P(v.x,v.y),g.copy(m)}function ge(Q){const _e=fe(Q),we=Q.pageX-_e.x,Ie=Q.pageY-_e.y,Pe=Math.sqrt(we*we+Ie*Ie);x.set(0,Pe),b.set(0,Math.pow(x.y/y.y,r.zoomSpeed)),T(b.y),y.copy(x)}function te(Q){r.enableZoom&&ge(Q),r.enablePan&&re(Q)}function ae(Q){r.enableZoom&&ge(Q),r.enableRotate&&ee(Q)}function U(Q){r.enabled!==!1&&(w.length===0&&(r.domElement.setPointerCapture(Q.pointerId),r.domElement.addEventListener("pointermove",oe),r.domElement.addEventListener("pointerup",ne)),se(Q),Q.pointerType==="touch"?G(Q):X(Q))}function oe(Q){r.enabled!==!1&&(Q.pointerType==="touch"?W(Q):Z(Q))}function ne(Q){ye(Q),w.length===0&&(r.domElement.releasePointerCapture(Q.pointerId),r.domElement.removeEventListener("pointermove",oe),r.domElement.removeEventListener("pointerup",ne)),r.dispatchEvent(lEe),o=i.NONE}function V(Q){ye(Q)}function X(Q){let _e;switch(Q.button){case 0:_e=r.mouseButtons.LEFT;break;case 1:_e=r.mouseButtons.MIDDLE;break;case 2:_e=r.mouseButtons.RIGHT;break;default:_e=-1}switch(_e){case fw.DOLLY:if(r.enableZoom===!1)return;B(Q),o=i.DOLLY;break;case fw.ROTATE:if(Q.ctrlKey||Q.metaKey||Q.shiftKey){if(r.enablePan===!1)return;$(Q),o=i.PAN}else{if(r.enableRotate===!1)return;I(Q),o=i.ROTATE}break;case fw.PAN:if(Q.ctrlKey||Q.metaKey||Q.shiftKey){if(r.enableRotate===!1)return;I(Q),o=i.ROTATE}else{if(r.enablePan===!1)return;$(Q),o=i.PAN}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(xG)}function Z(Q){switch(o){case i.ROTATE:if(r.enableRotate===!1)return;z(Q);break;case i.DOLLY:if(r.enableZoom===!1)return;L(Q);break;case i.PAN:if(r.enablePan===!1)return;j(Q);break}}function he(Q){r.enabled===!1||r.enableZoom===!1||o!==i.NONE||(Q.preventDefault(),r.dispatchEvent(xG),N(Q),r.dispatchEvent(lEe))}function xe(Q){r.enabled===!1||r.enablePan===!1||F(Q)}function G(Q){switch(ie(Q),w.length){case 1:switch(r.touches.ONE){case dw.ROTATE:if(r.enableRotate===!1)return;H(),o=i.TOUCH_ROTATE;break;case dw.PAN:if(r.enablePan===!1)return;q(),o=i.TOUCH_PAN;break;default:o=i.NONE}break;case 2:switch(r.touches.TWO){case dw.DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;le(),o=i.TOUCH_DOLLY_PAN;break;case dw.DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;K(),o=i.TOUCH_DOLLY_ROTATE;break;default:o=i.NONE}break;default:o=i.NONE}o!==i.NONE&&r.dispatchEvent(xG)}function W(Q){switch(ie(Q),o){case i.TOUCH_ROTATE:if(r.enableRotate===!1)return;ee(Q),r.update();break;case i.TOUCH_PAN:if(r.enablePan===!1)return;re(Q),r.update();break;case i.TOUCH_DOLLY_PAN:if(r.enableZoom===!1&&r.enablePan===!1)return;te(Q),r.update();break;case i.TOUCH_DOLLY_ROTATE:if(r.enableZoom===!1&&r.enableRotate===!1)return;ae(Q),r.update();break;default:o=i.NONE}}function J(Q){r.enabled!==!1&&Q.preventDefault()}function se(Q){w.push(Q)}function ye(Q){delete _[Q.pointerId];for(let _e=0;_e= nsteps) { + break; + } + // Sample from the 3D texture + float val = sample1(loc); + // Apply MIP operation + if (val > max_val) { + max_val = val; + } + // Advance location deeper into the volume + loc += step; + } + + // Resolve final color + gl_FragColor = apply_colormap(max_val); + } + + void cast_aip(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { + + float avg_val = 0.0; + int count = 0; + vec3 loc = start_loc; + float eps = 0.02; + + // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with + // non-constant expression. So we use a hard-coded max, and an additional condition + // inside the loop. + for (int iter = 0; iter < MAX_STEPS; iter++) { + if (iter >= nsteps) { + break; + } + // Sample from the 3D texture + float val = sample1(loc); + // Apply SUM operation + if (abs(loc.x - 0.5) < eps + || abs(loc.y - 0.5) < eps + || abs(loc.z - 0.5) < eps) { + avg_val += val; + count += 1; + } + // Advance location deeper into the volume + loc += step; + } + + // Resolve final color + if (count > 0) { + gl_FragColor = apply_colormap(avg_val / float(count)); + } else { + gl_FragColor = vec4(0.0); + } + } + + void cast_iso(vec3 start_loc, vec3 step, int nsteps, vec3 view_ray) { + + gl_FragColor = vec4(0.0); // init transparent + vec4 color3 = vec4(0.0); // final color + vec3 dstep = 1.5 / u_size; // step to sample derivative + vec3 loc = start_loc; + + float low_threshold = u_renderthreshold - 0.02 * (u_clim[1] - u_clim[0]); + + // Enter the raycasting loop. In WebGL 1 the loop index cannot be compared with + // non-constant expression. So we use a hard-coded max, and an additional condition + // inside the loop. + for (int iter=0; iter= nsteps) + break; + + // Sample from the 3D texture + float val = sample1(loc); + + if (val > low_threshold) { + // Take the last interval in smaller steps + vec3 iloc = loc - 0.5 * step; + vec3 istep = step / float(REFINEMENT_STEPS); + for (int i=0; i u_renderthreshold) { + gl_FragColor = add_lighting(val, iloc, dstep, view_ray); + return; + } + iloc += istep; + } + } + + // Advance location deeper into the volume + loc += step; + } + } + + vec4 add_lighting(float val, vec3 loc, vec3 step, vec3 view_ray) { + // Calculate color by incorporating lighting + + // View direction + vec3 V = normalize(view_ray); + + // calculate normal vector from gradient + vec3 N; + float val1, val2; + val1 = sample1(loc + vec3(-step[0], 0.0, 0.0)); + val2 = sample1(loc + vec3(+step[0], 0.0, 0.0)); + N[0] = val1 - val2; + val = max(max(val1, val2), val); + val1 = sample1(loc + vec3(0.0, -step[1], 0.0)); + val2 = sample1(loc + vec3(0.0, +step[1], 0.0)); + N[1] = val1 - val2; + val = max(max(val1, val2), val); + val1 = sample1(loc + vec3(0.0, 0.0, -step[2])); + val2 = sample1(loc + vec3(0.0, 0.0, +step[2])); + N[2] = val1 - val2; + val = max(max(val1, val2), val); + + float gm = length(N); // gradient magnitude + N = normalize(N); + + // Flip normal so it points towards viewer + float Nselect = float(dot(N, V) > 0.0); + N = (2.0 * Nselect - 1.0) * N; // == Nselect * N - (1.0-Nselect)*N; + + // Init colors + vec4 ambient_color = vec4(0.0, 0.0, 0.0, 0.0); + vec4 diffuse_color = vec4(0.0, 0.0, 0.0, 0.0); + vec4 specular_color = vec4(0.0, 0.0, 0.0, 0.0); + + // note: could allow multiple lights + for (int i=0; i<1; i++) { + // Get light direction (make sure to prevent zero devision) + vec3 L = normalize(view_ray); //lightDirs[i]; + float lightEnabled = float( length(L) > 0.0 ); + L = normalize(L + (1.0 - lightEnabled)); + + // Calculate lighting properties + float lambertTerm = clamp(dot(N, L), 0.0, 1.0); + vec3 H = normalize(L+V); // Halfway vector + float specularTerm = pow(max(dot(H, N), 0.0), shininess); + + // Calculate mask + float mask1 = lightEnabled; + + // Calculate colors + ambient_color += mask1 * ambient_color; // * gl_LightSource[i].ambient; + diffuse_color += mask1 * lambertTerm; + specular_color += mask1 * specularTerm * specular_color; + } + + // Calculate final color by componing different components + vec4 final_color; + vec4 color = apply_colormap(val); + final_color = color * (ambient_color + diffuse_color) + specular_color; + final_color.a = color.a; + return final_color; + }`};function i9n(){try{const t=document.createElement("canvas");return!!(window.WebGL2RenderingContext&&t.getContext("webgl2"))}catch{return!1}}class o9n{constructor(){gn(this,"textures");this.textures={}}get(e,n){const r=uN(e);let i=this.textures[r];return i||(i=new e9n().load(`data:image/png;base64,${e.imageData}`,n),this.textures[r]=i),i}}const s9n=new o9n;class a9n{constructor(e){gn(this,"canvas");gn(this,"camera");gn(this,"renderer");gn(this,"scene");gn(this,"material");if(!i9n())throw new Error("Missing WebGL2");this.render=this.render.bind(this);const n=new AXe({canvas:e});n.setPixelRatio(window.devicePixelRatio),n.setSize(e.clientWidth,e.clientHeight);const r=100,i=e.clientWidth/e.clientHeight,o=new CXe(-r*i,r*i,r,-r,-1e3,1e3);o.position.set(0,0,100),o.up.set(0,1,0);const s=new n9n(o,n.domElement);s.target.set(100,50,0),s.minZoom=.1,s.maxZoom=500,s.enablePan=!0,s.update(),this.canvas=e,this.renderer=n,this.camera=o,this.scene=null,this.material=null,s.addEventListener("change",this.render),e.addEventListener("resize",this.onCanvasResize)}setVolume(e,n){const r=new pXe(e.data,e.xLength,e.yLength,e.zLength);r.format=lXe,r.type=Ov,r.minFilter=r.magFilter=el,r.unpackAlignment=1,r.needsUpdate=!0;const i=r9n,o=xXe.clone(i.uniforms),[s,a,l]=e.spacing,u=Math.floor(s*e.xLength),c=Math.floor(a*e.yLength),f=Math.floor(l*e.zLength);o.u_data.value=r,o.u_size.value.set(u,c,f);const d=new Ey({uniforms:o,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:mu}),h=new pE(u,c,f);h.translate(u/2,c/2,f/2);const p=new oh(h,d),g=new HVn;g.add(p),g.add(new t9n(p)),this.scene=g,this.material=d,this.setVolumeOptions(n)}setVolumeOptions(e){const n=this.material;if(n!==null){const{value1:r,value2:i,isoThreshold:o,renderMode:s,colorBar:a}=e,l=n.uniforms;l.u_clim.value.set(r,i),l.u_renderthreshold.value=o,l.u_renderstyle.value=s==="mip"?0:s==="aip"?1:2,l.u_cmdata.value=s9n.get(a,this.render),this.render()}}getMaterial(){if(this.material===null)throw new Error("Volume not set!");return this.material}onCanvasResize(){console.warn("Alarm: Canvas resize!");const e=this.renderer.domElement;this.renderer.setSize(e.clientWidth,e.clientHeight);const n=e.clientWidth/e.clientHeight,r=this.camera.top-this.camera.bottom;this.camera.left=-r*n/2,this.camera.right=r*n/2,this.camera.updateProjectionMatrix(),this.render()}render(){this.scene!==null&&this.renderer.render(this.scene,this.camera)}}var ru=Uint8Array,_x=Uint16Array,MXe=Uint32Array,RXe=new ru([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),DXe=new ru([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),l9n=new ru([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),IXe=function(t,e){for(var n=new _x(31),r=0;r<31;++r)n[r]=e+=1<>>1|(ti&21845)<<1;Em=(Em&52428)>>>2|(Em&13107)<<2,Em=(Em&61680)>>>4|(Em&3855)<<4,jZ[ti]=((Em&65280)>>>8|(Em&255)<<8)>>>1}var Dk=function(t,e,n){for(var r=t.length,i=0,o=new _x(e);i>>l]=u}else for(a=new _x(r),i=0;i>>15-t[i]);return a},SD=new ru(288);for(var ti=0;ti<144;++ti)SD[ti]=8;for(var ti=144;ti<256;++ti)SD[ti]=9;for(var ti=256;ti<280;++ti)SD[ti]=7;for(var ti=280;ti<288;++ti)SD[ti]=8;var FXe=new ru(32);for(var ti=0;ti<32;++ti)FXe[ti]=5;var d9n=Dk(SD,9,1),h9n=Dk(FXe,5,1),bG=function(t){for(var e=t[0],n=1;ne&&(e=t[n]);return e},nf=function(t,e,n){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&n},wG=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(e&7)},p9n=function(t){return(t+7)/8|0},g9n=function(t,e,n){(n==null||n>t.length)&&(n=t.length);var r=new(t.BYTES_PER_ELEMENT==2?_x:t.BYTES_PER_ELEMENT==4?MXe:ru)(n-e);return r.set(t.subarray(e,n)),r},m9n=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Pp=function(t,e,n){var r=new Error(e||m9n[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,Pp),!n)throw r;return r},v9n=function(t,e,n){var r=t.length;if(!r||n&&n.f&&!n.l)return e||new ru(0);var i=!e||n,o=!n||n.i;n||(n={}),e||(e=new ru(r*3));var s=function(Y){var le=e.length;if(Y>le){var K=new ru(Math.max(le*2,Y));K.set(e),e=K}},a=n.f||0,l=n.p||0,u=n.b||0,c=n.l,f=n.d,d=n.m,h=n.n,p=r*8;do{if(!c){a=nf(t,l,1);var g=nf(t,l+1,3);if(l+=3,g)if(g==1)c=d9n,f=h9n,d=9,h=5;else if(g==2){var x=nf(t,l,31)+257,b=nf(t,l+10,15)+4,w=x+nf(t,l+5,31)+1;l+=14;for(var _=new ru(w),S=new ru(19),O=0;O>>4;if(m<16)_[O++]=m;else{var P=0,T=0;for(m==16?(T=3+nf(t,l,3),l+=2,P=_[O-1]):m==17?(T=3+nf(t,l,7),l+=3):m==18&&(T=11+nf(t,l,127),l+=7);T--;)_[O++]=P}}var R=_.subarray(0,x),I=_.subarray(x);d=bG(R),h=bG(I),c=Dk(R,d,1),f=Dk(I,h,1)}else Pp(1);else{var m=p9n(l)+4,v=t[m-4]|t[m-3]<<8,y=m+v;if(y>r){o&&Pp(0);break}i&&s(u+v),e.set(t.subarray(m,y),u),n.b=u+=v,n.p=l=y*8,n.f=a;continue}if(l>p){o&&Pp(0);break}}i&&s(u+131072);for(var B=(1<>>4;if(l+=P&15,l>p){o&&Pp(0);break}if(P||Pp(2),L<256)e[u++]=L;else if(L==256){z=l,c=null;break}else{var j=L-254;if(L>264){var O=L-257,N=RXe[O];j=nf(t,l,(1<>>4;F||Pp(3),l+=F&15;var I=f9n[H];if(H>3){var N=DXe[H];I+=wG(t,l)&(1<p){o&&Pp(0);break}i&&s(u+131072);for(var q=u+j;u>3&1)+(e>>4&1);r>0;r-=!t[n++]);return n+(e&2)},b9n=function(t){var e=t.length;return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0};function w9n(t,e){return v9n(t.subarray(x9n(t),-8),new ru(b9n(t)))}var _9n=typeof TextDecoder<"u"&&new TextDecoder,S9n=0;try{_9n.decode(y9n,{stream:!0}),S9n=1}catch{}class C9n{constructor(e,n,r){const i=this;this.volume=e,n=n||0,Object.defineProperty(this,"index",{get:function(){return n},set:function(a){return n=a,i.geometryNeedsUpdate=!0,n}}),this.axis=r||"z",this.canvas=document.createElement("canvas"),this.canvasBuffer=document.createElement("canvas"),this.updateGeometry();const o=new ku(this.canvas);o.minFilter=el,o.wrapS=o.wrapT=ec;const s=new Iue({map:o,side:Jp,transparent:!0});this.mesh=new oh(this.geometry,s),this.mesh.matrixAutoUpdate=!1,this.geometryNeedsUpdate=!0,this.repaint()}repaint(){this.geometryNeedsUpdate&&this.updateGeometry();const e=this.iLength,n=this.jLength,r=this.sliceAccess,i=this.volume,o=this.canvasBuffer,s=this.ctxBuffer,a=s.getImageData(0,0,e,n),l=a.data,u=i.data,c=i.upperThreshold,f=i.lowerThreshold,d=i.windowLow,h=i.windowHigh;let p=0;if(i.dataType==="label")for(let g=0;g=this.colorMap.length?v%this.colorMap.length+1:v;const y=this.colorMap[v];l[4*p]=y>>24&255,l[4*p+1]=y>>16&255,l[4*p+2]=y>>8&255,l[4*p+3]=y&255,p++}else for(let g=0;g=v&&f<=v?y:0,v=Math.floor(255*(v-d)/(h-d)),v=v>255?255:v<0?0:v|0,l[4*p]=v,l[4*p+1]=v,l[4*p+2]=v,l[4*p+3]=y,p++}s.putImageData(a,0,0),this.ctx.drawImage(o,0,0,e,n,0,0,this.canvas.width,this.canvas.height),this.mesh.material.map.needsUpdate=!0}updateGeometry(){const e=this.volume.extractPerpendicularPlane(this.axis,this.index);this.sliceAccess=e.sliceAccess,this.jLength=e.jLength,this.iLength=e.iLength,this.matrix=e.matrix,this.canvas.width=e.planeWidth,this.canvas.height=e.planeHeight,this.canvasBuffer.width=this.iLength,this.canvasBuffer.height=this.jLength,this.ctx=this.canvas.getContext("2d"),this.ctxBuffer=this.canvasBuffer.getContext("2d"),this.geometry&&this.geometry.dispose(),this.geometry=new a8(e.planeWidth,e.planeHeight),this.mesh&&(this.mesh.geometry=this.geometry,this.mesh.matrix.identity(),this.mesh.applyMatrix4(this.matrix)),this.geometryNeedsUpdate=!1}}class O9n{constructor(e,n,r,i,o){if(e!==void 0){switch(this.xLength=Number(e)||1,this.yLength=Number(n)||1,this.zLength=Number(r)||1,this.axisOrder=["x","y","z"],i){case"Uint8":case"uint8":case"uchar":case"unsigned char":case"uint8_t":this.data=new Uint8Array(o);break;case"Int8":case"int8":case"signed char":case"int8_t":this.data=new Int8Array(o);break;case"Int16":case"int16":case"short":case"short int":case"signed short":case"signed short int":case"int16_t":this.data=new Int16Array(o);break;case"Uint16":case"uint16":case"ushort":case"unsigned short":case"unsigned short int":case"uint16_t":this.data=new Uint16Array(o);break;case"Int32":case"int32":case"int":case"signed int":case"int32_t":this.data=new Int32Array(o);break;case"Uint32":case"uint32":case"uint":case"unsigned int":case"uint32_t":this.data=new Uint32Array(o);break;case"longlong":case"long long":case"long long int":case"signed long long":case"signed long long int":case"int64":case"int64_t":case"ulonglong":case"unsigned long long":case"unsigned long long int":case"uint64":case"uint64_t":throw new Error("Error in Volume constructor : this type is not supported in JavaScript");case"Float32":case"float32":case"float":this.data=new Float32Array(o);break;case"Float64":case"float64":case"double":this.data=new Float64Array(o);break;default:this.data=new Uint8Array(o)}if(this.data.length!==this.xLength*this.yLength*this.zLength)throw new Error("Error in Volume constructor, lengths are not matching arrayBuffer size")}this.spacing=[1,1,1],this.offset=[0,0,0],this.matrix=new uu,this.matrix.identity();let s=-1/0;Object.defineProperty(this,"lowerThreshold",{get:function(){return s},set:function(l){s=l,this.sliceList.forEach(function(u){u.geometryNeedsUpdate=!0})}});let a=1/0;Object.defineProperty(this,"upperThreshold",{get:function(){return a},set:function(l){a=l,this.sliceList.forEach(function(u){u.geometryNeedsUpdate=!0})}}),this.sliceList=[]}getData(e,n,r){return this.data[r*this.xLength*this.yLength+n*this.xLength+e]}access(e,n,r){return r*this.xLength*this.yLength+n*this.xLength+e}reverseAccess(e){const n=Math.floor(e/(this.yLength*this.xLength)),r=Math.floor((e-n*this.yLength*this.xLength)/this.xLength);return[e-n*this.yLength*this.xLength-r*this.xLength,r,n]}map(e,n){const r=this.data.length;n=n||this;for(let i=0;i.9}),x=[l,u,a].find(function(_){return Math.abs(_.dot(v[1]))>.9}),b=[l,u,a].find(function(_){return Math.abs(_.dot(v[2]))>.9});function w(_,S){const O=y===a?s:y.arglet==="i"?_:S,k=x===a?s:x.arglet==="i"?_:S,E=b===a?s:b.arglet==="i"?_:S,M=y.dot(v[0])>0?O:f.xLength-1-O,A=x.dot(v[1])>0?k:f.yLength-1-k,P=b.dot(v[2])>0?E:f.zLength-1-E;return f.access(M,A,P)}return{iLength:h,jLength:p,sliceAccess:w,matrix:c,planeWidth:g,planeHeight:m}}extractSlice(e,n){const r=new C9n(this,n,e);return this.sliceList.push(r),r}repaintAllSlices(){return this.sliceList.forEach(function(e){e.repaint()}),this}computeMinMax(){let e=1/0,n=-1/0;const r=this.data.length;let i=0;for(i=0;i0,o=!0,s={};function a(O,k){k==null&&(k=1);let E=1,M=Uint8Array;switch(O){case"uchar":break;case"schar":M=Int8Array;break;case"ushort":M=Uint16Array,E=2;break;case"sshort":M=Int16Array,E=2;break;case"uint":M=Uint32Array,E=4;break;case"sint":M=Int32Array,E=4;break;case"float":M=Float32Array,E=4;break;case"complex":M=Float64Array,E=8;break;case"double":M=Float64Array,E=8;break}let A=new M(n.slice(r,r+=k*E));return i!==o&&(A=l(A,E)),k===1?A[0]:A}function l(O,k){const E=new Uint8Array(O.buffer,O.byteOffset,O.byteLength);for(let M=0;MP;A--,P++){const T=E[P];E[P]=E[A],E[A]=T}return O}function u(O){let k,E,M,A,P,T,R,I;const B=O.split(/\r?\n/);for(R=0,I=B.length;R13)&&A!==32?M+=String.fromCharCode(A):(M!==""&&(R[I]=B(M,T),I++),M="");return M!==""&&(R[I]=B(M,T),I++),R}const f=a("uchar",e.byteLength),d=f.length;let h=null,p=0,g;for(g=1;gA[0]!==0),k=s.vectors.findIndex(A=>A[1]!==0),E=s.vectors.findIndex(A=>A[2]!==0),M=[];M[O]="x",M[k]="y",M[E]="z",m.axisOrder=M}else m.axisOrder=["x","y","z"];const b=new Ce().fromArray(s.vectors[0]).length(),w=new Ce().fromArray(s.vectors[1]).length(),_=new Ce().fromArray(s.vectors[2]).length();m.spacing=[b,w,_],m.matrix=new Wr;const S=new Wr;if(s.space==="left-posterior-superior"?S.set(-1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,1):s.space==="left-anterior-superior"&&S.set(1,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,1),!s.vectors)m.matrix.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);else{const O=s.vectors,k=new Wr().set(O[0][0],O[1][0],O[2][0],0,O[0][1],O[1][1],O[2][1],0,O[0][2],O[1][2],O[2][2],0,0,0,0,1);m.matrix=new Wr().multiplyMatrices(k,S)}return m.inverseMatrix=new Wr,m.inverseMatrix.copy(m.matrix).invert(),m.RASDimensions=new Ce(m.xLength,m.yLength,m.zLength).applyMatrix4(m.matrix).round().toArray().map(Math.abs),m.lowerThreshold===-1/0&&(m.lowerThreshold=y),m.upperThreshold===1/0&&(m.upperThreshold=x),m}parseChars(e,n,r){n===void 0&&(n=0),r===void 0&&(r=e.length);let i="",o;for(o=n;o{n.setVolume(f,Ik.getVolumeOptions(this.props)),_G[s]=f,a(s,{status:"ok"})},()=>{},f=>{f.response instanceof Response?f.response.json().then(d=>{const h=d.error,p=!!h&&h.message;h&&h.exception&&console.debug("exception:",h.exception),a(s,{status:"error",message:p||`${f}`})}):a(s,{status:"error",message:`${f}`})})}}}render(){const{volumeId:n}=this.props;let r,i;if(!n)r=[C.jsx(Jt,{variant:"subtitle2",children:"Cannot display 3D volume"},"subtitle2"),C.jsx(Jt,{variant:"body2",children:"To display a volume, a variable and a place that represents an area must be selected. Please note that the 3D volume rendering is still an experimental feature."},"body2")];else{const o=this.props.volumeStates[n];(!o||o.status==="error"||!_G[n])&&(i=[C.jsx(Vr,{onClick:this.handleLoadVolume,disabled:!!o&&o.status==="loading",children:me.get("Load Volume Data")},"load"),C.jsx(Jt,{variant:"body2",children:me.get("Please note that the 3D volume rendering is still an experimental feature.")},"note")]),o&&(o.status==="loading"?r=C.jsx(q1,{style:{margin:10}}):o.status==="error"&&(r=C.jsx(Jt,{variant:"body2",color:"red",children:`Failed loading volume: ${o.message}`})))}return r&&(r=C.jsx("div",{style:uEe,children:r})),i&&(i=C.jsx("div",{style:uEe,children:i})),C.jsxs("div",{style:M9n,children:[i,r,C.jsx("canvas",{id:"VolumeCanvas-canvas",ref:this.canvasRef,style:k9n}),!r&&!i&&P9n]})}updateVolumeScene(){const n=this.canvasRef.current;if(n===null){this.volumeScene=null;return}let r;this.props.volumeId&&(r=_G[this.props.volumeId]);let i=!1;(this.volumeScene===null||this.volumeScene.canvas!==n)&&(this.volumeScene=new a9n(n),i=!0),i&&r?this.volumeScene.setVolume(r,Ik.getVolumeOptions(this.props)):this.volumeScene.setVolumeOptions(Ik.getVolumeOptions(this.props))}}function cEe(t){let e=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY,i=Number.NEGATIVE_INFINITY;for(const o of t){const s=o[0],a=o[1];e=Math.min(e,s),n=Math.min(n,a),r=Math.max(r,s),i=Math.max(i,a)}return[e,n,r,i]}function R9n(t){let[e,n,r,i]=t[0];for(const o of t.slice(1))e=Math.min(e,o[0]),n=Math.min(n,o[1]),r=Math.max(r,o[2]),i=Math.max(i,o[3]);return[e,n,r,i]}const sj={card:t=>({maxWidth:"100%",marginBottom:t.spacing(1),marginRight:t.spacing(1)}),info:t=>({marginRight:t.spacing(1)}),close:{marginLeft:"auto"},cardContent:{padding:8},isoEditor:{display:"flex",flexDirection:"row"},isoTextField:{minWidth:"16em",marginLeft:"1em"},isoSlider:{minWidth:200}},D9n=({selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeId:i,volumeRenderMode:o,setVolumeRenderMode:s,volumeStates:a,updateVolumeState:l,updateVariableVolume:u,serverUrl:c})=>{let f=.5;e&&(typeof e.volumeIsoThreshold=="number"?f=e.volumeIsoThreshold:f=.5*(e.colorBarMin+e.colorBarMax),typeof e.volumeRenderMode=="string"&&(o=e.volumeRenderMode));const d=p=>{u(t.id,e.name,r,o,p)},h=(p,g)=>{g!==null&&(s(g),e&&u(t.id,e.name,r,g,f))};return C.jsxs(PAe,{sx:sj.card,children:[C.jsx(MAe,{disableSpacing:!0,children:e&&C.jsxs(C.Fragment,{children:[C.jsxs(YC,{size:"small",exclusive:!0,value:o,onChange:h,children:[C.jsx(yr,{value:"mip",size:"small",children:C.jsx(Bt,{arrow:!0,title:"Maximum intensity projection",children:C.jsx("span",{children:"MIP"})})},"mip"),C.jsx(yr,{value:"aip",size:"small",children:C.jsx(Bt,{arrow:!0,title:"Average intensity projection",children:C.jsx("span",{children:"AIP"})})},"aip"),C.jsx(yr,{value:"iso",size:"small",children:C.jsx(Bt,{arrow:!0,title:"Iso-surface extraction",children:C.jsx("span",{children:"ISO"})})},"iso")]},0),o==="iso"&&C.jsx(I9n,{minValue:e.colorBarMin,maxValue:e.colorBarMax,value:f,setValue:d})]})}),C.jsx(RAe,{sx:sj.cardContent,children:C.jsx(Ik,{selectedDataset:t,selectedVariable:e,selectedPlaceInfo:n,variableColorBar:r,volumeRenderMode:o,volumeIsoThreshold:f,volumeId:i,volumeStates:a,updateVolumeState:l,serverUrl:c})})]})},I9n=({value:t,minValue:e,maxValue:n,setValue:r,disabled:i})=>{const[o,s]=de.useState(t),[a,l]=de.useState(""+t),[u,c]=de.useState(null);function f(g){const m=g.target.value||"";l(m);const v=parseFloat(m);Number.isNaN(v)?c("Not a number"):vn?c("Out of range"):c(null)}function d(g){if(g.key==="Enter"&&!u){const m=parseFloat(a);s(m),r(m)}}function h(g,m){s(m),l(m.toFixed(2))}function p(g,m){r(m)}return C.jsx(ci,{sx:sj.isoTextField,disabled:i,label:"Iso-Threshold",variant:"filled",size:"small",value:a,error:u!==null,onChange:f,onKeyPress:d,InputProps:{endAdornment:C.jsx(XC,{size:"small",sx:sj.isoSlider,min:e,max:n,value:o,step:(n-e)/20,onChange:h,onChangeCommitted:p})}})},L9n=t=>({locale:t.controlState.locale,selectedDataset:fo(t),selectedVariable:Na(t),selectedPlaceInfo:JM(t),variableColorBar:jte(t),volumeRenderMode:t.controlState.volumeRenderMode,volumeId:u_t(t),volumeStates:t.controlState.volumeStates,serverUrl:Oo(t).url}),$9n={setVolumeRenderMode:yKt,updateVolumeState:xKt,updateVariableVolume:QQt},F9n=Rn(L9n,$9n)(D9n),N9n={info:C.jsx(fVe,{fontSize:"inherit"}),timeSeries:C.jsx(Pdn,{fontSize:"inherit"}),stats:C.jsx(U8e,{fontSize:"inherit"}),volume:C.jsx(Mdn,{fontSize:"inherit"})},z9n={info:"Info",timeSeries:"Time-Series",stats:"Statistics",volume:"Volume"},R$={tabs:{minHeight:"34px"},tab:{padding:"5px 10px",textTransform:"none",fontWeight:"regular",minHeight:"32px"},tabBoxHeader:{borderBottom:1,borderColor:"divider",position:"sticky",top:0,zIndex:1100,backgroundColor:"background.paper"}},j9n=t=>({sidebarPanelId:t.controlState.sidebarPanelId}),B9n={setSidebarPanelId:$ae};function U9n({sidebarPanelId:t,setSidebarPanelId:e}){const n=cQt(),r=D.useMemo(()=>n.panels||[],[n]),i=D.useMemo(()=>r.reduce((s,a,l)=>(s.set(a.name,l),s),new Map),[r]),o=D.useCallback((s,a)=>{e(a);const l=i.get(a);typeof l=="number"&&ZYt("panels",l,{visible:!0})},[i,e]);return C.jsxs(ot,{sx:{width:"100%"},children:[C.jsx(ot,{sx:R$.tabBoxHeader,children:C.jsxs(Mee,{value:t,onChange:o,variant:"scrollable",sx:R$.tabs,children:[pwt.map(s=>C.jsx(wS,{icon:N9n[s],iconPosition:"start",sx:R$.tab,disableRipple:!0,value:s,label:me.get(z9n[s])},s)),r.map(s=>C.jsx(wS,{sx:R$.tab,disableRipple:!0,value:s.name,label:s.container.title},s.name))]})}),t==="info"&&C.jsx(z1n,{}),t==="stats"&&C.jsx(eBn,{}),t==="timeSeries"&&C.jsx(j4n,{}),t==="volume"&&C.jsx(F9n,{}),r.map((s,a)=>t===s.name&&C.jsx(Rdn,{contribution:s,panelIndex:a},s.name))]})}const W9n=Rn(j9n,B9n)(U9n),D$={containerHor:{flexGrow:1,overflow:"hidden"},containerVer:{flexGrow:1,overflowX:"hidden",overflowY:"auto"},viewerHor:{height:"100%",overflow:"hidden",padding:0},viewerVer:{width:"100%",overflow:"hidden",padding:0},sidebarHor:{flex:"auto",overflowX:"hidden",overflowY:"auto"},sidebarVer:{width:"100%",overflow:"hidden"},viewer:{overflow:"hidden",width:"100%",height:"100%"}},V9n=t=>({sidebarOpen:t.controlState.sidebarOpen,sidebarPosition:t.controlState.sidebarPosition}),G9n={setSidebarPosition:vKt},fEe=()=>window.innerWidth/window.innerHeight>=1?"hor":"ver";function H9n({sidebarOpen:t,sidebarPosition:e,setSidebarPosition:n}){const[r,i]=D.useState(null),[o,s]=D.useState(fEe()),a=D.useRef(null),l=$a();D.useEffect(()=>(u(),a.current=new ResizeObserver(u),a.current.observe(document.documentElement),()=>{a.current&&a.current.disconnect()}),[]),D.useEffect(()=>{r&&r.updateSize()},[r,e]);const u=()=>{s(fEe())},c=o==="hor"?"Hor":"Ver";return t?C.jsxs(ffn,{dir:o,splitPosition:e,setSplitPosition:n,style:D$["container"+c],child1Style:D$["viewer"+c],child2Style:D$["sidebar"+c],children:[C.jsx(S1e,{onMapRef:i,theme:l}),C.jsx(W9n,{})]}):C.jsx("div",{style:D$.viewer,children:C.jsx(S1e,{onMapRef:i,theme:l})})}const q9n=Rn(V9n,G9n)(H9n);var c8={exports:{}},NXe={};function zXe(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const n=(t=window.document)===null||t===void 0||(t=t.documentElement)===null||t===void 0?void 0:t.style;if(!n||e in n)return"";for(let r=0;re===n.identifier)||t.changedTouches&&(0,vu.findInArray)(t.changedTouches,n=>e===n.identifier)}function g7n(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier}function m7n(t){if(!t)return;let e=t.getElementById("react-draggable-style-el");e||(e=t.createElement("style"),e.type="text/css",e.id="react-draggable-style-el",e.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;} +`,e.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;} +`,t.getElementsByTagName("head")[0].appendChild(e)),t.body&&VXe(t.body,"react-draggable-transparent-selection")}function v7n(t){if(t)try{if(t.body&&GXe(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{const e=(t.defaultView||window).getSelection();e&&e.type!=="Caret"&&e.removeAllRanges()}}catch{}}function VXe(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function GXe(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}var rp={};Object.defineProperty(rp,"__esModule",{value:!0});rp.canDragX=b7n;rp.canDragY=w7n;rp.createCoreData=S7n;rp.createDraggableData=C7n;rp.getBoundPosition=y7n;rp.getControlPosition=_7n;rp.snapToGrid=x7n;var Ul=np,x_=ji;function y7n(t,e,n){if(!t.props.bounds)return[e,n];let{bounds:r}=t.props;r=typeof r=="string"?r:O7n(r);const i=Fue(t);if(typeof r=="string"){const{ownerDocument:o}=i,s=o.defaultView;let a;if(r==="parent"?a=i.parentNode:a=o.querySelector(r),!(a instanceof s.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const l=a,u=s.getComputedStyle(i),c=s.getComputedStyle(l);r={left:-i.offsetLeft+(0,Ul.int)(c.paddingLeft)+(0,Ul.int)(u.marginLeft),top:-i.offsetTop+(0,Ul.int)(c.paddingTop)+(0,Ul.int)(u.marginTop),right:(0,x_.innerWidth)(l)-(0,x_.outerWidth)(i)-i.offsetLeft+(0,Ul.int)(c.paddingRight)-(0,Ul.int)(u.marginRight),bottom:(0,x_.innerHeight)(l)-(0,x_.outerHeight)(i)-i.offsetTop+(0,Ul.int)(c.paddingBottom)-(0,Ul.int)(u.marginBottom)}}return(0,Ul.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,Ul.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,Ul.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,Ul.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]}function x7n(t,e,n){const r=Math.round(e/t[0])*t[0],i=Math.round(n/t[1])*t[1];return[r,i]}function b7n(t){return t.props.axis==="both"||t.props.axis==="x"}function w7n(t){return t.props.axis==="both"||t.props.axis==="y"}function _7n(t,e,n){const r=typeof e=="number"?(0,x_.getTouch)(t,e):null;if(typeof e=="number"&&!r)return null;const i=Fue(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,x_.offsetXYFromParent)(r||t,o,n.props.scale)}function S7n(t,e,n){const r=!(0,Ul.isNum)(t.lastX),i=Fue(t);return r?{node:i,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:i,deltaX:e-t.lastX,deltaY:n-t.lastY,lastX:t.lastX,lastY:t.lastY,x:e,y:n}}function C7n(t,e){const n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}}function O7n(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}function Fue(t){const e=t.findDOMNode();if(!e)throw new Error(": Unmounted during event!");return e}var f8={},d8={};Object.defineProperty(d8,"__esModule",{value:!0});d8.default=E7n;function E7n(){}Object.defineProperty(f8,"__esModule",{value:!0});f8.default=void 0;var CG=k7n(D),Ba=Nue(dM),T7n=Nue(GC),Rs=ji,Tm=rp,OG=np,F2=Nue(d8);function Nue(t){return t&&t.__esModule?t:{default:t}}function HXe(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(HXe=function(r){return r?n:e})(t)}function k7n(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=HXe(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function fa(t,e,n){return e=A7n(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A7n(t){var e=P7n(t,"string");return typeof e=="symbol"?e:String(e)}function P7n(t,e){if(typeof t!="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}const sf={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let km=sf.mouse,h8=class extends CG.Component{constructor(){super(...arguments),fa(this,"dragging",!1),fa(this,"lastX",NaN),fa(this,"lastY",NaN),fa(this,"touchIdentifier",null),fa(this,"mounted",!1),fa(this,"handleDragStart",e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&typeof e.button=="number"&&e.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(e.target instanceof r.defaultView.Node)||this.props.handle&&!(0,Rs.matchesSelectorAndParentsTo)(e.target,this.props.handle,n)||this.props.cancel&&(0,Rs.matchesSelectorAndParentsTo)(e.target,this.props.cancel,n))return;e.type==="touchstart"&&e.preventDefault();const i=(0,Rs.getTouchIdentifier)(e);this.touchIdentifier=i;const o=(0,Tm.getControlPosition)(e,i,this);if(o==null)return;const{x:s,y:a}=o,l=(0,Tm.createCoreData)(this,s,a);(0,F2.default)("DraggableCore: handleDragStart: %j",l),(0,F2.default)("calling",this.props.onStart),!(this.props.onStart(e,l)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,Rs.addUserSelectStyles)(r),this.dragging=!0,this.lastX=s,this.lastY=a,(0,Rs.addEvent)(r,km.move,this.handleDrag),(0,Rs.addEvent)(r,km.stop,this.handleDragStop))}),fa(this,"handleDrag",e=>{const n=(0,Tm.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let a=r-this.lastX,l=i-this.lastY;if([a,l]=(0,Tm.snapToGrid)(this.props.grid,a,l),!a&&!l)return;r=this.lastX+a,i=this.lastY+l}const o=(0,Tm.createCoreData)(this,r,i);if((0,F2.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(e,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const l=document.createEvent("MouseEvents");l.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(l)}return}this.lastX=r,this.lastY=i}),fa(this,"handleDragStop",e=>{if(!this.dragging)return;const n=(0,Tm.getControlPosition)(e,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let l=r-this.lastX||0,u=i-this.lastY||0;[l,u]=(0,Tm.snapToGrid)(this.props.grid,l,u),r=this.lastX+l,i=this.lastY+u}const o=(0,Tm.createCoreData)(this,r,i);if(this.props.onStop(e,o)===!1||this.mounted===!1)return!1;const a=this.findDOMNode();a&&this.props.enableUserSelectHack&&(0,Rs.removeUserSelectStyles)(a.ownerDocument),(0,F2.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,a&&((0,F2.default)("DraggableCore: Removing handlers"),(0,Rs.removeEvent)(a.ownerDocument,km.move,this.handleDrag),(0,Rs.removeEvent)(a.ownerDocument,km.stop,this.handleDragStop))}),fa(this,"onMouseDown",e=>(km=sf.mouse,this.handleDragStart(e))),fa(this,"onMouseUp",e=>(km=sf.mouse,this.handleDragStop(e))),fa(this,"onTouchStart",e=>(km=sf.touch,this.handleDragStart(e))),fa(this,"onTouchEnd",e=>(km=sf.touch,this.handleDragStop(e)))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,Rs.addEvent)(e,sf.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:n}=e;(0,Rs.removeEvent)(n,sf.mouse.move,this.handleDrag),(0,Rs.removeEvent)(n,sf.touch.move,this.handleDrag),(0,Rs.removeEvent)(n,sf.mouse.stop,this.handleDragStop),(0,Rs.removeEvent)(n,sf.touch.stop,this.handleDragStop),(0,Rs.removeEvent)(e,sf.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Rs.removeUserSelectStyles)(n)}}findDOMNode(){var e,n;return(e=this.props)!==null&&e!==void 0&&e.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:T7n.default.findDOMNode(this)}render(){return CG.cloneElement(CG.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};f8.default=h8;fa(h8,"displayName","DraggableCore");fa(h8,"propTypes",{allowAnyClick:Ba.default.bool,children:Ba.default.node.isRequired,disabled:Ba.default.bool,enableUserSelectHack:Ba.default.bool,offsetParent:function(t,e){if(t[e]&&t[e].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Ba.default.arrayOf(Ba.default.number),handle:Ba.default.string,cancel:Ba.default.string,nodeRef:Ba.default.object,onStart:Ba.default.func,onDrag:Ba.default.func,onStop:Ba.default.func,onMouseDown:Ba.default.func,scale:Ba.default.number,className:OG.dontSetMe,style:OG.dontSetMe,transform:OG.dontSetMe});fa(h8,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),t.default=void 0;var e=d(D),n=c(dM),r=c(GC),i=c(Y9n),o=ji,s=rp,a=np,l=c(f8),u=c(d8);function c(y){return y&&y.__esModule?y:{default:y}}function f(y){if(typeof WeakMap!="function")return null;var x=new WeakMap,b=new WeakMap;return(f=function(w){return w?b:x})(y)}function d(y,x){if(y&&y.__esModule)return y;if(y===null||typeof y!="object"&&typeof y!="function")return{default:y};var b=f(x);if(b&&b.has(y))return b.get(y);var w={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in y)if(S!=="default"&&Object.prototype.hasOwnProperty.call(y,S)){var O=_?Object.getOwnPropertyDescriptor(y,S):null;O&&(O.get||O.set)?Object.defineProperty(w,S,O):w[S]=y[S]}return w.default=y,b&&b.set(y,w),w}function h(){return h=Object.assign?Object.assign.bind():function(y){for(var x=1;x{if((0,u.default)("Draggable: onDragStart: %j",w),this.props.onStart(b,(0,s.createDraggableData)(this,w))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),p(this,"onDrag",(b,w)=>{if(!this.state.dragging)return!1;(0,u.default)("Draggable: onDrag: %j",w);const _=(0,s.createDraggableData)(this,w),S={x:_.x,y:_.y,slackX:0,slackY:0};if(this.props.bounds){const{x:k,y:E}=S;S.x+=this.state.slackX,S.y+=this.state.slackY;const[M,A]=(0,s.getBoundPosition)(this,S.x,S.y);S.x=M,S.y=A,S.slackX=this.state.slackX+(k-S.x),S.slackY=this.state.slackY+(E-S.y),_.x=S.x,_.y=S.y,_.deltaX=S.x-this.state.x,_.deltaY=S.y-this.state.y}if(this.props.onDrag(b,_)===!1)return!1;this.setState(S)}),p(this,"onDragStop",(b,w)=>{if(!this.state.dragging||this.props.onStop(b,(0,s.createDraggableData)(this,w))===!1)return!1;(0,u.default)("Draggable: onDragStop: %j",w);const S={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:k,y:E}=this.props.position;S.x=k,S.y=E}this.setState(S)}),this.state={dragging:!1,dragged:!1,x:x.position?x.position.x:x.defaultPosition.x,y:x.position?x.position.y:x.defaultPosition.y,prevPropsPosition:{...x.position},slackX:0,slackY:0,isElementSVG:!1},x.position&&!(x.onDrag||x.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var x,b;return(x=(b=this.props)===null||b===void 0||(b=b.nodeRef)===null||b===void 0?void 0:b.current)!==null&&x!==void 0?x:r.default.findDOMNode(this)}render(){const{axis:x,bounds:b,children:w,defaultPosition:_,defaultClassName:S,defaultClassNameDragging:O,defaultClassNameDragged:k,position:E,positionOffset:M,scale:A,...P}=this.props;let T={},R=null;const B=!!!E||this.state.dragging,$=E||_,z={x:(0,s.canDragX)(this)&&B?this.state.x:$.x,y:(0,s.canDragY)(this)&&B?this.state.y:$.y};this.state.isElementSVG?R=(0,o.createSVGTransform)(z,M):T=(0,o.createCSSTransform)(z,M);const L=(0,i.default)(w.props.className||"",S,{[O]:this.state.dragging,[k]:this.state.dragged});return e.createElement(l.default,h({},P,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),e.cloneElement(e.Children.only(w),{className:L,style:{...w.props.style,...T},transform:R}))}}t.default=v,p(v,"displayName","Draggable"),p(v,"propTypes",{...l.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:a.dontSetMe,style:a.dontSetMe,transform:a.dontSetMe}),p(v,"defaultProps",{...l.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(NXe);const{default:qXe,DraggableCore:M7n}=NXe;c8.exports=qXe;c8.exports.default=qXe;c8.exports.DraggableCore=M7n;var XXe=c8.exports;const R7n=on(XXe);var zue={exports:{}},CD={},jue={};jue.__esModule=!0;jue.cloneElement=N7n;var D7n=I7n(D);function I7n(t){return t&&t.__esModule?t:{default:t}}function pEe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function gEe(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function mEe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function EG(t){for(var e=1;eMath.abs(d*c)?o=i/c:i=o*c}var h=i,p=o,g=this.slack||[0,0],m=g[0],v=g[1];return i+=m,o+=v,a&&(i=Math.max(a[0],i),o=Math.max(a[1],o)),l&&(i=Math.min(l[0],i),o=Math.min(l[1],o)),this.slack=[m+(h-i),v+(p-o)],[i,o]},n.resizeHandler=function(i,o){var s=this;return function(a,l){var u=l.node,c=l.deltaX,f=l.deltaY;i==="onResizeStart"&&s.resetData();var d=(s.props.axis==="both"||s.props.axis==="x")&&o!=="n"&&o!=="s",h=(s.props.axis==="both"||s.props.axis==="y")&&o!=="e"&&o!=="w";if(!(!d&&!h)){var p=o[0],g=o[o.length-1],m=u.getBoundingClientRect();if(s.lastHandleRect!=null){if(g==="w"){var v=m.left-s.lastHandleRect.left;c+=v}if(p==="n"){var y=m.top-s.lastHandleRect.top;f+=y}}s.lastHandleRect=m,g==="w"&&(c=-c),p==="n"&&(f=-f);var x=s.props.width+(d?c/s.props.transformScale:0),b=s.props.height+(h?f/s.props.transformScale:0),w=s.runConstraints(x,b);x=w[0],b=w[1];var _=x!==s.props.width||b!==s.props.height,S=typeof s.props[i]=="function"?s.props[i]:null,O=i==="onResize"&&!_;S&&!O&&(a.persist==null||a.persist(),S(a,{node:u,size:{width:x,height:b},handle:o})),i==="onResizeStop"&&s.resetData()}}},n.renderResizeHandle=function(i,o){var s=this.props.handle;if(!s)return N2.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+i,ref:o});if(typeof s=="function")return s(i,o);var a=typeof s.type=="string",l=EG({ref:o},a?{}:{handleAxis:i});return N2.cloneElement(s,l)},n.render=function(){var i=this,o=this.props,s=o.children,a=o.className,l=o.draggableOpts;o.width,o.height,o.handle,o.handleSize,o.lockAspectRatio,o.axis,o.minConstraints,o.maxConstraints,o.onResize,o.onResizeStop,o.onResizeStart;var u=o.resizeHandles;o.transformScale;var c=H7n(o,V7n);return(0,U7n.cloneElement)(s,EG(EG({},c),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(s.props.children,u.map(function(f){var d,h=(d=i.handleRefs[f])!=null?d:i.handleRefs[f]=N2.createRef();return N2.createElement(B7n.DraggableCore,BZ({},l,{nodeRef:h,key:"resizableHandle-"+f,onStop:i.resizeHandler("onResizeStop",f),onStart:i.resizeHandler("onResizeStart",f),onDrag:i.resizeHandler("onResize",f)}),i.renderResizeHandle(f,h))}))}))},e}(N2.Component);CD.default=Bue;Bue.propTypes=W7n.resizableProps;Bue.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1};var p8={};p8.__esModule=!0;p8.default=void 0;var TG=tGn(D),K7n=QXe(dM),Z7n=QXe(CD),J7n=OD,eGn=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function QXe(t){return t&&t.__esModule?t:{default:t}}function KXe(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,n=new WeakMap;return(KXe=function(i){return i?n:e})(t)}function tGn(t,e){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var n=KXe(e);if(n&&n.has(t))return n.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}function WZ(){return WZ=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function sGn(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,VZ(t,e)}function VZ(t,e){return VZ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},VZ(t,e)}var ZXe=function(t){sGn(e,t);function e(){for(var r,i=arguments.length,o=new Array(i),s=0;sn(t,!i.visible)}),r?C.jsx(Sh,{}):C.jsx(Sh,{variant:"inset",component:"li",style:{margin:"0 0 0 52px"}})]})}const lGn={x:48,y:128},uGn={width:320,height:520},L$={resizeBox:{position:"absolute",zIndex:1e3},windowPaper:{width:"100%",height:"100%",display:"flex",flexDirection:"column"},windowHeader:t=>({display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"move",padding:1,marginBottom:"2px",borderBottom:`1px solid ${t.palette.mode==="dark"?"#FFFFFF3F":"#0000003F"}`}),windowTitle:{fontWeight:"bolder"}};function cGn(t){const[e,n]=D.useState(lGn),[r,i]=D.useState(uGn),{layerMenuOpen:o,setLayerMenuOpen:s,openDialog:a,...l}=t;if(!o)return null;console.log("layerProps",l);const u=()=>{a("userOverlays")},c=()=>{a("userBaseMaps")},f=()=>{s(!1)},d=(p,g)=>{n({...g})},h=(p,g)=>{i({...g.size})};return C.jsx(R7n,{handle:"#layer-select-header",position:e,onStop:d,children:C.jsx(aGn,{width:r.width,height:r.height,style:L$.resizeBox,onResize:h,children:C.jsxs(Tl,{elevation:10,sx:L$.windowPaper,component:"div",children:[C.jsxs(ot,{id:"layer-select-header",sx:L$.windowHeader,children:[C.jsx(ot,{component:"span",sx:L$.windowTitle,children:me.get("Layers")}),C.jsx(Xt,{size:"small",onClick:f,children:C.jsx(WO,{fontSize:"inherit"})})]}),C.jsx(ot,{sx:{width:"100%",overflow:"auto",flexGrow:1},children:C.jsxs(x4,{dense:!0,children:[C.jsx(xp,{layerId:"overlay",...l}),C.jsx(xp,{layerId:"userPlaces",...l}),C.jsx(xp,{layerId:"datasetPlaces",...l}),C.jsx(xp,{layerId:"datasetBoundary",...l}),C.jsx(xp,{layerId:"datasetVariable",...l}),C.jsx(xp,{layerId:"datasetVariable2",...l}),C.jsx(xp,{layerId:"datasetRgb",...l}),C.jsx(xp,{layerId:"datasetRgb2",...l}),C.jsx(xp,{layerId:"baseMap",...l,last:!0}),C.jsx(_i,{onClick:c,children:me.get("User Base Maps")+"..."}),C.jsx(_i,{onClick:u,children:me.get("User Overlays")+"..."})]})})]})})})}const fGn=t=>({locale:t.controlState.locale,layerMenuOpen:t.controlState.layerMenuOpen,layerStates:j_t(t)}),dGn={openDialog:bb,setLayerMenuOpen:RUe,setLayerVisibility:uKt},hGn=Rn(fGn,dGn)(cGn),pGn=t=>({locale:t.controlState.locale,hasConsent:t.controlState.privacyNoticeAccepted,compact:Pn.instance.branding.compact}),gGn={},mGn=be("main")(({theme:t})=>({padding:0,width:"100vw",height:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",alignItems:"stretch",[t.breakpoints.up("md")]:{overflow:"hidden"}})),vGn=({hasConsent:t,compact:e})=>C.jsxs(mGn,{children:[!e&&C.jsx(w4,{variant:"dense"}),t&&C.jsxs(C.Fragment,{children:[C.jsx(ufn,{}),C.jsx(q9n,{}),C.jsx(hGn,{})]})]}),yGn=Rn(pGn,gGn)(vGn),xGn={icon:t=>({marginRight:t.spacing(2)})};function bGn({open:t,settings:e,updateSettings:n,syncWithServer:r}){const[i,o]=D.useState(null),{store:s}=D.useContext(Ej);if(D.useEffect(()=>{const u=me.get("docs/privacy-note.en.md");fetch(u).then(c=>c.text()).then(c=>o(c))}),!t)return null;function a(){n({...e,privacyNoticeAccepted:!0}),r(s)}function l(){try{window.history.length>0?window.history.back():typeof window.home=="function"?window.home():window.location.href="about:home"}catch(u){console.error(u)}}return C.jsxs(ed,{open:t,disableEscapeKeyDown:!0,keepMounted:!0,scroll:"body",children:[C.jsx(Dy,{children:me.get("Privacy Notice")}),C.jsx(zf,{children:C.jsx(Jst,{children:i===null?C.jsx(q1,{}):C.jsx(mU,{children:i,linkTarget:"_blank"})})}),C.jsxs(X1,{children:[C.jsxs(Vr,{onClick:a,children:[C.jsx(JXe,{sx:xGn.icon}),me.get("Accept and continue")]}),C.jsx(Vr,{onClick:l,children:me.get("Leave")})]})]})}const wGn=t=>({open:!t.controlState.privacyNoticeAccepted,settings:t.controlState}),_Gn={updateSettings:YR,syncWithServer:Rae},SGn=Rn(wGn,_Gn)(bGn),CGn=ra(q1)(({theme:t})=>({margin:t.spacing(2)})),OGn=ra(Jt)(({theme:t})=>({margin:t.spacing(1)})),EGn=ra("div")(({theme:t})=>({margin:t.spacing(1),textAlign:"center",display:"flex",alignItems:"center",flexDirection:"column"}));function TGn({messages:t}){return t.length===0?null:C.jsxs(ed,{open:!0,"aria-labelledby":"loading",children:[C.jsx(Dy,{id:"loading",children:me.get("Please wait...")}),C.jsxs(EGn,{children:[C.jsx(CGn,{}),t.map((e,n)=>C.jsx(OGn,{children:e},n))]})]})}const kGn=t=>({locale:t.controlState.locale,messages:L_t(t)}),AGn={},PGn=Rn(kGn,AGn)(TGn),MGn=ut(C.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),RGn=ut(C.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),DGn=ut(C.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),IGn={success:DGn,warning:RGn,error:MGn,info:fVe},LGn=ra("span")(()=>({display:"flex",alignItems:"center"})),$$={close:{p:.5},success:t=>({color:t.palette.error.contrastText,backgroundColor:Rp[600]}),error:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.error.dark}),info:t=>({color:t.palette.error.contrastText,backgroundColor:t.palette.primary.dark}),warning:t=>({color:t.palette.error.contrastText,backgroundColor:mke[700]}),icon:{fontSize:20},iconVariant:t=>({opacity:.9,marginRight:t.spacing(1),fontSize:20}),message:{display:"flex",alignItems:"center"}},$Gn={vertical:"bottom",horizontal:"center"};function FGn({className:t,message:e,hideMessage:n}){const r=()=>{n(e.id)};if(!e)return null;const i=IGn[e.type];return C.jsx(nct,{open:!0,anchorOrigin:$Gn,autoHideDuration:5e3,onClose:r,children:C.jsx(XAe,{sx:$$[e.type],className:t,"aria-describedby":"client-snackbar",message:C.jsxs(LGn,{id:"client-snackbar",children:[C.jsx(i,{sx:$$.iconVariant}),e.text]}),action:[C.jsx(Xt,{"aria-label":"Close",color:"inherit",sx:$$.close,onClick:r,size:"large",children:C.jsx(WO,{sx:$$.icon})},"close")]})},e.type+":"+e.text)}const NGn=t=>{const e=t.messageLogState.newEntries;return{locale:t.controlState.locale,message:e.length>0?e[0]:null}},zGn={hideMessage:fQt},jGn=Rn(NGn,zGn)(FGn),GZ=ut(C.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),tYe=ut(C.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),Tw={formControl:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:200}),textField2:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),width:400}),button:t=>({margin:t.spacing(.1)})};function BGn({open:t,servers:e,selectedServer:n,closeDialog:r,configureServers:i}){const o=D.useRef(!1),[s,a]=D.useState(e),[l,u]=D.useState(n),[c,f]=D.useState("select");D.useEffect(()=>{o.current&&(a(e),u(n)),o.current=!0},[e,n]);const{store:d}=D.useContext(Ej),h=()=>{c==="select"?(r("server"),i(s,l.id,d)):c==="add"?E():c==="edit"&&M()},p=()=>{c==="select"?_():A()},g=()=>{_()},m=$=>{const z=$.target.value,L=s.find(j=>j.id===z);u(L)},v=$=>{const z=$.target.value,L={...l,name:z};u(L)},y=$=>{const z=$.target.value,L={...l,url:z};u(L)},x=()=>{f("add")},b=()=>{f("edit")},w=()=>{P()},_=()=>{r("server")},S=()=>{const $=l.id;return s.findIndex(z=>z.id===$)},O=($,z)=>{const L=[...s];L[$]=z,a(L),u(z),f("select")},k=($,z)=>{a($),u(z),f("select")},E=()=>{const $={...l,id:Uf("server-")},z=[...s,$];k(z,$)},M=()=>{O(S(),{...l})},A=()=>{const $=S();O(S(),s[$])},P=()=>{const $=[...s];if($.length<2)throw new Error("internal error: server list cannot be emptied");const z=S(),L=$[z+(z>0?-1:1)];$.splice(z,1),k($,L)},T=s.map(($,z)=>C.jsx(_i,{value:$.id,children:$.name},z));let R;c==="add"?R=me.get("Add"):c==="edit"?R=me.get("Save"):R=me.get("OK");let I;c==="add"?I=me.get("Add Server"):c==="edit"?I=me.get("Edit Server"):I=me.get("Select Server");let B;return c==="add"||c==="edit"?B=C.jsxs(zf,{dividers:!0,children:[C.jsx(ci,{variant:"standard",required:!0,id:"server-name",label:"Name",sx:Tw.textField,margin:"normal",value:l.name,onChange:v}),C.jsx("br",{}),C.jsx(ci,{variant:"standard",required:!0,id:"server-url",label:"URL",sx:Tw.textField2,margin:"normal",value:l.url,onChange:y})]}):B=C.jsx(zf,{dividers:!0,children:C.jsxs("div",{children:[C.jsxs(Wg,{variant:"standard",sx:Tw.formControl,children:[C.jsx(Iy,{htmlFor:"server-name",children:"Name"}),C.jsx(Vg,{variant:"standard",value:l.id,onChange:m,inputProps:{name:"server-name",id:"server-name"},children:T}),C.jsx(Oee,{children:l.url})]}),C.jsx(Xt,{sx:Tw.button,"aria-label":"Add",color:"primary",onClick:x,size:"large",children:C.jsx(GZ,{fontSize:"small"})}),C.jsx(Xt,{sx:Tw.button,"aria-label":"Edit",onClick:b,size:"large",children:C.jsx(VO,{fontSize:"small"})}),C.jsx(Xt,{sx:Tw.button,"aria-label":"Delete",disabled:s.length<2,onClick:w,size:"large",children:C.jsx(tYe,{fontSize:"small"})})]})}),C.jsxs(ed,{open:t,onClose:g,"aria-labelledby":"server-dialog-title",children:[C.jsx(Dy,{id:"server-dialog-title",children:I}),B,C.jsxs(X1,{children:[C.jsx(Vr,{onClick:p,children:me.get("Cancel")}),C.jsx(Vr,{onClick:h,autoFocus:!0,children:R})]})]})}const UGn=t=>({open:!!t.controlState.dialogOpen.server,servers:TRe(t),selectedServer:Oo(t)}),WGn={closeDialog:jO,configureServers:UQt},VGn=Rn(UGn,WGn)(BGn),yEe=({anchorElement:t,layers:e,selectedLayerId:n,setSelectedLayerId:r,onClose:i})=>C.jsx(Q1,{anchorEl:t,keepMounted:!0,open:!!t,onClose:i,children:t&&e.map(o=>C.jsx(_i,{selected:o.id===n,onClick:()=>r(o.id===n?null:o.id),dense:!0,children:C.jsx(dc,{primary:aN(o)})},o.id))}),kG={settingsPanelTitle:t=>({marginBottom:t.spacing(1)}),settingsPanelPaper:t=>({backgroundColor:(t.palette.mode==="dark"?kg:Tg)(t.palette.background.paper,.1),marginBottom:t.spacing(2)}),settingsPanelList:{margin:0}},jw=({title:t,children:e})=>{const n=de.Children.count(e),r=[];return de.Children.forEach(e,(i,o)=>{r.push(i),o{let i;e||(i={marginBottom:10});const o=C.jsx(dc,{primary:t,secondary:e});let s;return r&&(s=C.jsx(sA,{children:r})),n?C.jsxs(zAe,{style:i,onClick:n,children:[o,s]}):C.jsxs(A_,{style:i,children:[o,s]})},Ev=({propertyName:t,settings:e,updateSettings:n,disabled:r})=>C.jsx(YAe,{checked:!!e[t],onChange:()=>n({...e,[t]:!e[t]}),disabled:r}),GGn=({propertyName:t,settings:e,updateSettings:n,options:r,disabled:i})=>{const o=(s,a)=>{n({...e,[t]:a})};return C.jsx(Tee,{row:!0,value:e[t],onChange:o,children:r.map(([s,a])=>C.jsx(kx,{control:C.jsx(JT,{}),value:a,label:s,disabled:i},s))})},z2={textField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2}),intTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,width:t.spacing(6)}),localeAvatar:{margin:10}},xEe=[["doNothing","Do nothing"],["pan","Pan"],["panAndZoom","Pan and zoom"]],HGn=[["point","Points"],["line","Lines"],["bar","Bars"]],qGn=({open:t,closeDialog:e,settings:n,selectedServer:r,baseMapLayers:i,overlayLayers:o,updateSettings:s,changeLocale:a,openDialog:l,viewerVersion:u,serverInfo:c})=>{const[f,d]=de.useState(null),[h,p]=de.useState(null),[g,m]=de.useState(null),[v,y]=de.useState(n.timeChunkSize+"");if(de.useEffect(()=>{const F=parseInt(v);!Number.isNaN(F)&&F!==n.timeChunkSize&&s({timeChunkSize:F})},[v,n,s]),!t)return null;function x(){e("settings")}function b(){l("server")}function w(F){s({timeAnimationInterval:parseInt(F.target.value)})}function _(F){s({timeSeriesChartTypeDefault:F.target.value})}function S(F){s({datasetLocateMode:F.target.value})}function O(F){s({placeLocateMode:F.target.value})}function k(F){y(F.target.value)}let E=null;f&&(E=Object.getOwnPropertyNames(me.languages).map(F=>{const H=me.languages[F];return C.jsx(_i,{selected:F===n.locale,onClick:()=>a(F),children:C.jsx(dc,{primary:H})},F)}));function M(F){d(F.currentTarget)}function A(){d(null)}function P(F){p(F.currentTarget)}function T(){p(null)}const R=F=>{F.stopPropagation(),l("userBaseMaps")},I=lN(i,n.selectedBaseMapId),B=aN(I);function $(F){m(F.currentTarget)}function z(){m(null)}const L=F=>{F.stopPropagation(),l("userOverlays")},j=lN(o,n.selectedOverlayId),N=aN(j);return C.jsxs("div",{children:[C.jsxs(ed,{open:t,fullWidth:!0,maxWidth:"sm",onClose:x,scroll:"body",children:[C.jsx(Dy,{children:me.get("Settings")}),C.jsxs(zf,{children:[C.jsxs(jw,{title:me.get("General"),children:[C.jsx(yi,{label:me.get("Server"),value:r.name,onClick:b}),C.jsx(yi,{label:me.get("Language"),value:me.languages[n.locale],onClick:M}),C.jsx(yi,{label:me.get("Time interval of the player"),children:C.jsx(ci,{variant:"standard",select:!0,sx:z2.textField,value:n.timeAnimationInterval,onChange:w,margin:"normal",children:hwt.map((F,H)=>C.jsx(_i,{value:F,children:F+" ms"},H))})})]}),C.jsxs(jw,{title:me.get("Time-Series"),children:[C.jsx(yi,{label:me.get("Show chart after adding a place"),value:F$(n.autoShowTimeSeries),children:C.jsx(Ev,{propertyName:"autoShowTimeSeries",settings:n,updateSettings:s})}),C.jsx(yi,{label:me.get("Default chart type"),children:C.jsx(ci,{variant:"standard",select:!0,sx:z2.textField,value:n.timeSeriesChartTypeDefault,onChange:_,margin:"normal",children:HGn.map(([F,H])=>C.jsx(_i,{value:F,children:me.get(H)},F))})}),C.jsx(yi,{label:me.get("Calculate standard deviation"),value:F$(n.timeSeriesIncludeStdev),children:C.jsx(Ev,{propertyName:"timeSeriesIncludeStdev",settings:n,updateSettings:s})}),C.jsx(yi,{label:me.get("Calculate median instead of mean (disables standard deviation)"),value:F$(n.timeSeriesUseMedian),children:C.jsx(Ev,{propertyName:"timeSeriesUseMedian",settings:n,updateSettings:s})}),C.jsx(yi,{label:me.get("Minimal number of data points in a time series update"),children:C.jsx(ci,{variant:"standard",sx:z2.intTextField,value:v,onChange:k,margin:"normal",size:"small"})})]}),C.jsxs(jw,{title:me.get("Map"),children:[C.jsx(yi,{label:me.get("Base map"),value:B,onClick:P,children:C.jsx(Vr,{onClick:R,children:me.get("User Base Maps")+"..."})}),C.jsx(yi,{label:me.get("Overlay"),value:N,onClick:$,children:C.jsx(Vr,{onClick:L,children:me.get("User Overlays")+"..."})}),C.jsx(yi,{label:me.get("Projection"),children:C.jsx(GGn,{propertyName:"mapProjection",settings:n,updateSettings:s,options:[[me.get("Geographic"),oO],[me.get("Mercator"),kte]]})}),C.jsx(yi,{label:me.get("Image smoothing"),value:F$(n.imageSmoothingEnabled),children:C.jsx(Ev,{propertyName:"imageSmoothingEnabled",settings:n,updateSettings:s})}),C.jsx(yi,{label:me.get("On dataset selection"),children:C.jsx(ci,{variant:"standard",select:!0,sx:z2.textField,value:n.datasetLocateMode,onChange:S,margin:"normal",children:xEe.map(([F,H])=>C.jsx(_i,{value:F,children:me.get(H)},F))})}),C.jsx(yi,{label:me.get("On place selection"),children:C.jsx(ci,{variant:"standard",select:!0,sx:z2.textField,value:n.placeLocateMode,onChange:O,margin:"normal",children:xEe.map(([F,H])=>C.jsx(_i,{value:F,children:me.get(H)},F))})})]}),C.jsx(jw,{title:me.get("Legal Agreement"),children:C.jsx(yi,{label:me.get("Privacy notice"),value:n.privacyNoticeAccepted?me.get("Accepted"):"",children:C.jsx(Vr,{disabled:!n.privacyNoticeAccepted,onClick:()=>{s({privacyNoticeAccepted:!1}),window.location.reload()},children:me.get("Revoke consent")})})}),C.jsxs(jw,{title:me.get("System Information"),children:[C.jsx(yi,{label:`xcube Viewer ${me.get("version")}`,value:u}),C.jsx(yi,{label:`xcube Server ${me.get("version")}`,value:c?c.version:me.get("Cannot reach server")})]})]})]}),C.jsx(Q1,{anchorEl:f,keepMounted:!0,open:!!f,onClose:A,children:E}),C.jsx(yEe,{anchorElement:h,layers:i,selectedLayerId:n.selectedBaseMapId,setSelectedLayerId:F=>s({selectedBaseMapId:F}),onClose:T}),C.jsx(yEe,{anchorElement:g,layers:o,selectedLayerId:n.selectedOverlayId,setSelectedLayerId:F=>s({selectedOverlayId:F}),onClose:z})]})},F$=t=>t?me.get("On"):me.get("Off"),XGn="1.4.0-dev.0",YGn=t=>({locale:t.controlState.locale,open:t.controlState.dialogOpen.settings,settings:t.controlState,baseMapLayers:Ute(t),overlayLayers:Wte(t),selectedServer:Oo(t),viewerVersion:XGn,serverInfo:t.dataState.serverInfo}),QGn={closeDialog:jO,updateSettings:YR,changeLocale:WUe,openDialog:bb},KGn=Rn(YGn,QGn)(qGn),bEe={separatorTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2,maxWidth:"6em"}),fileNameTextField:t=>({marginLeft:t.spacing(1),marginRight:t.spacing(1),fontSize:t.typography.fontSize/2})},ZGn=({open:t,closeDialog:e,settings:n,updateSettings:r,downloadTimeSeries:i})=>{const o=()=>{e("export")};function s(u){r({exportFileName:u.target.value})}function a(u){r({exportTimeSeriesSeparator:u.target.value})}const l=()=>{o(),i()};return C.jsx("div",{children:C.jsxs(ed,{open:t,fullWidth:!0,maxWidth:"xs",onClose:o,scroll:"body",children:[C.jsx(zf,{children:C.jsxs(jw,{title:me.get("Export Settings"),children:[C.jsx(yi,{label:me.get("Include time-series data")+" (*.txt)",value:N$(n.exportTimeSeries),children:C.jsx(Ev,{propertyName:"exportTimeSeries",settings:n,updateSettings:r})}),C.jsx(yi,{label:me.get("Separator for time-series data"),children:C.jsx(ci,{variant:"standard",sx:bEe.separatorTextField,value:n.exportTimeSeriesSeparator,onChange:a,disabled:!n.exportTimeSeries,margin:"normal",size:"small"})}),C.jsx(yi,{label:me.get("Include places data")+" (*.geojson)",value:N$(n.exportPlaces),children:C.jsx(Ev,{propertyName:"exportPlaces",settings:n,updateSettings:r})}),C.jsx(yi,{label:me.get("Combine place data in one file"),value:N$(n.exportPlacesAsCollection),children:C.jsx(Ev,{propertyName:"exportPlacesAsCollection",settings:n,updateSettings:r,disabled:!n.exportPlaces})}),C.jsx(yi,{label:me.get("As ZIP archive"),value:N$(n.exportZipArchive),children:C.jsx(Ev,{propertyName:"exportZipArchive",settings:n,updateSettings:r})}),C.jsx(yi,{label:me.get("File name"),children:C.jsx(ci,{variant:"standard",sx:bEe.fileNameTextField,value:n.exportFileName,onChange:s,margin:"normal",size:"small"})})]})}),C.jsx(X1,{children:C.jsx(Vr,{onClick:l,disabled:!tHn(n),children:me.get("Download")})})]})})},N$=t=>t?me.get("On"):me.get("Off"),JGn=t=>/^[0-9a-zA-Z_-]+$/.test(t),eHn=t=>t.toUpperCase()==="TAB"||t.length===1,tHn=t=>(t.exportTimeSeries||t.exportPlaces)&&JGn(t.exportFileName)&&(!t.exportTimeSeries||eHn(t.exportTimeSeriesSeparator)),nHn=t=>({locale:t.controlState.locale,open:!!t.controlState.dialogOpen.export,settings:t.controlState}),rHn={closeDialog:jO,updateSettings:YR,downloadTimeSeries:KQt},iHn=Rn(nHn,rHn)(ZGn),oHn=ut(C.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),sHn=ut(C.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),aHn=({title:t,accept:e,multiple:n,disabled:r,onSelect:i,className:o})=>{const s=D.useRef(null),a=u=>{if(u.target.files!==null&&u.target.files.length){const c=[];for(let f=0;f{s.current!==null&&s.current.click()};return C.jsxs(C.Fragment,{children:[C.jsx("input",{type:"file",accept:e,multiple:n,ref:s,hidden:!0,onChange:a,disabled:r}),C.jsx(Vr,{onClick:l,disabled:r,className:o,variant:"outlined",size:"small",children:t})]})},AG={parse:t=>t,format:t=>typeof t=="string"?t:`${t}`,validate:t=>!0};function Uue(){return t=>{const{options:e,updateOptions:n,optionKey:r,label:i,style:o,className:s,disabled:a,parse:l,format:u,validate:c}=t,f=e[r],d=h=>{const p=h.target.value,g=(l||AG.parse)(p);n({[r]:g})};return C.jsx(ci,{label:me.get(i),value:(u||AG.format)(f),error:!(c||AG.validate)(f),onChange:d,style:o,className:s,disabled:a,size:"small",variant:"standard"})}}const j2=Uue(),lHn=ra("div")(({theme:t})=>({paddingTop:t.spacing(2)})),uHn=({options:t,updateOptions:e})=>C.jsx(lHn,{children:C.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[C.jsx(j2,{optionKey:"timeNames",label:"Time property names",options:t,updateOptions:e}),C.jsx("div",{id:"spareField"}),C.jsx(j2,{label:"Group property names",optionKey:"groupNames",options:t,updateOptions:e}),C.jsx(j2,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e}),C.jsx(j2,{label:"Label property names",optionKey:"labelNames",options:t,updateOptions:e}),C.jsx(j2,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e})]})}),ua=Uue(),cHn=ra("div")(({theme:t})=>({paddingTop:t.spacing(2)})),fHn=({options:t,updateOptions:e})=>{const n=t.forceGeometry;return C.jsxs(cHn,{children:[C.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[C.jsx(ua,{optionKey:"xNames",label:"X/longitude column names",options:t,updateOptions:e,disabled:n}),C.jsx(ua,{optionKey:"yNames",label:"Y/latitude column names",options:t,updateOptions:e,disabled:n}),C.jsxs("span",{children:[C.jsx($F,{checked:t.forceGeometry,onChange:r=>e({forceGeometry:r.target.checked}),size:"small"}),C.jsx("span",{children:"Use geometry column"})]}),C.jsx(ua,{optionKey:"geometryNames",label:"Geometry column names",options:t,updateOptions:e,disabled:!n}),C.jsx(ua,{optionKey:"timeNames",label:"Time column names",options:t,updateOptions:e}),C.jsx("div",{id:"spareField"}),C.jsx(ua,{optionKey:"groupNames",label:"Group column names",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"groupPrefix",label:"Group prefix (used as fallback)",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"labelNames",label:"Label column names",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"labelPrefix",label:"Label prefix (used as fallback)",options:t,updateOptions:e})]}),C.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto auto"},children:[C.jsx(ua,{optionKey:"separator",label:"Separator character",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"comment",label:"Comment character",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"quote",label:"Quote character",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"escape",label:"Escape character",options:t,updateOptions:e}),C.jsx("div",{}),C.jsxs("span",{children:[C.jsx($F,{checked:t.trim,onChange:r=>e({trim:r.target.checked}),size:"small"}),C.jsx("span",{children:"Remove whitespaces"})]}),C.jsx(ua,{optionKey:"nanToken",label:"Not-a-number token",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"trueToken",label:"True token",options:t,updateOptions:e}),C.jsx(ua,{optionKey:"falseToken",label:"False token",options:t,updateOptions:e})]})]})},B2=Uue(),dHn=ra("div")(({theme:t})=>({paddingTop:t.spacing(2)})),hHn=({options:t,updateOptions:e})=>C.jsx(dHn,{children:C.jsxs("div",{style:{display:"grid",gap:12,paddingTop:12,gridTemplateColumns:"auto auto"},children:[C.jsx(B2,{optionKey:"time",label:"Time (UTC, ISO-format)",options:t,updateOptions:e}),C.jsx("div",{id:"spareField"}),C.jsx(B2,{label:"Group",options:t,optionKey:"group",updateOptions:e}),C.jsx(B2,{label:"Group prefix (used as fallback)",optionKey:"groupPrefix",options:t,updateOptions:e,disabled:t.group.trim()!==""}),C.jsx(B2,{label:"Label",optionKey:"label",options:t,updateOptions:e}),C.jsx(B2,{label:"Label prefix (used as fallback)",optionKey:"labelPrefix",options:t,updateOptions:e,disabled:t.label.trim()!==""})]})}),PG={csv:{...jRe,codeExt:[]},geojson:{...BRe,codeExt:[gGe()]},wkt:{...URe,codeExt:[]}},MG={spacer:{flexGrow:1},actionButton:t=>({marginRight:t.spacing(1)}),error:{fontSize:"small"}},pHn=ra("div")(({theme:t})=>({paddingTop:t.spacing(.5),display:"flex",flexDirection:"row",alignItems:"center"})),gHn=ra(aHn)(({theme:t})=>({marginRight:t.spacing(1)})),mHn=({open:t,closeDialog:e,userPlacesFormatName:n,userPlacesFormatOptions:r,updateSettings:i,addUserPlacesFromText:o,nextMapInteraction:s,setMapInteraction:a})=>{const[l,u]=D.useState(""),[c,f]=D.useState(null),[d,h]=D.useState(!1),[p,g]=D.useState(!1),[m,v]=D.useState(n),[y,x]=D.useState(r);if(D.useEffect(()=>{v(n)},[n]),D.useEffect(()=>{x(r)},[r]),!t)return null;const b=()=>{a("Select"),e("addUserPlacesFromText"),i({userPlacesFormatName:m,userPlacesFormatOptions:y}),o(l)},w=()=>{a(s),e("addUserPlacesFromText")},_=()=>{u("")},S=I=>{const B=I[0];h(!0);const $=new FileReader;$.onloadend=()=>{const z=$.result;v(Khe(z)),u(z),h(!1)},$.onabort=$.onerror=()=>{h(!1)},$.readAsText(B,"UTF-8")},O=()=>{u("")},k=()=>{console.info("PASTE!",l)},E=I=>{let B=m;l===""&&I.length>10&&(B=Khe(I),v(B)),u(I),f(PG[B].checkError(I))};function M(I){v(I.target.value)}function A(I){x({...y,csv:{...y.csv,...I}})}function P(I){x({...y,geojson:{...y.geojson,...I}})}function T(I){x({...y,wkt:{...y.wkt,...I}})}let R;return m==="csv"?R=C.jsx(fHn,{options:y.csv,updateOptions:A}):m==="geojson"?R=C.jsx(uHn,{options:y.geojson,updateOptions:P}):R=C.jsx(hHn,{options:y.wkt,updateOptions:T}),C.jsxs(ed,{fullWidth:!0,open:t,onClose:w,"aria-labelledby":"server-dialog-title",children:[C.jsx(Dy,{id:"server-dialog-title",children:me.get("Import places")}),C.jsxs(zf,{dividers:!0,children:[C.jsxs(Tee,{row:!0,value:m,onChange:I=>M(I),children:[C.jsx(kx,{value:"csv",label:me.get(jRe.name),control:C.jsx(JT,{})},"csv"),C.jsx(kx,{value:"geojson",label:me.get(BRe.name),control:C.jsx(JT,{})},"geojson"),C.jsx(kx,{value:"wkt",label:me.get(URe.name),control:C.jsx(JT,{})},"wkt")]}),C.jsx(FU,{theme:Pn.instance.branding.themeName||"light",placeholder:me.get("Enter text or drag & drop a text file."),autoFocus:!0,height:"400px",extensions:PG[m].codeExt,value:l,onChange:E,onDrop:O,onPaste:k,onPasteCapture:k}),c&&C.jsx(Jt,{color:"error",sx:MG.error,children:c}),C.jsxs(pHn,{children:[C.jsx(gHn,{title:me.get("From File")+"...",accept:PG[m].fileExt,multiple:!1,onSelect:S,disabled:d}),C.jsx(Vr,{onClick:_,disabled:l.trim()===""||d,sx:MG.actionButton,variant:"outlined",size:"small",children:me.get("Clear")}),C.jsx(ot,{sx:MG.spacer}),C.jsx(Vr,{onClick:()=>g(!p),endIcon:p?C.jsx(sHn,{}):C.jsx(oHn,{}),variant:"outlined",size:"small",children:me.get("Options")})]}),C.jsx(PF,{in:p,timeout:"auto",unmountOnExit:!0,children:R})]}),C.jsxs(X1,{children:[C.jsx(Vr,{onClick:w,variant:"text",children:me.get("Cancel")}),C.jsx(Vr,{onClick:b,disabled:l.trim()===""||c!==null||d,variant:"text",children:me.get("OK")})]})]})},vHn=t=>({open:t.controlState.dialogOpen.addUserPlacesFromText,userPlacesFormatName:t.controlState.userPlacesFormatName,userPlacesFormatOptions:t.controlState.userPlacesFormatOptions,nextMapInteraction:t.controlState.lastMapInteraction}),yHn={closeDialog:jO,updateSettings:YR,setMapInteraction:PUe,addUserPlacesFromText:X6e},xHn=Rn(vHn,yHn)(mHn),nYe=ut(C.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy");function Wue(t,e){return rYe(t,e,[]).join("")}function rYe(t,e,n){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)n.push(t.nodeValue);else{var r=void 0;for(r=t.firstChild;r;r=r.nextSibling)rYe(r,e,n)}return n}function bHn(t){return"documentElement"in t}function wHn(t){return new DOMParser().parseFromString(t,"application/xml")}function iYe(t,e){return function(n,r){var i=t.call(this,n,r);if(i!==void 0){var o=r[r.length-1];o.push(i)}}}function Gl(t,e,n){return function(r,i){var o=t.call(this,r,i);if(o!==void 0){var s=i[i.length-1],a=r.localName,l=void 0;a in s?l=s[a]:(l=[],s[a]=l),l.push(o)}}}function It(t,e,n){return function(r,i){var o=t.call(this,r,i);if(o!==void 0){var s=i[i.length-1],a=r.localName;s[a]=o}}}function Os(t,e,n){var r={},i,o;for(i=0,o=t.length;i{const n=e.Name,r=e.Title||n;let i;const o=e.Attribution;if(uj(o)){const s=o.Title,a=o.OnlineResource;s&&a?i=`© ${s}`:a?i=`${a}`:s&&(i=`${s}`)}return{name:n,title:r,attribution:i}})}function cqn(t){const e=sqn.read(t);if(uj(e)){const n=e.Capability;if(uj(n))return HZ(n,!0)}throw new Error("invalid WMSCapabilities object")}function HZ(t,e){let n,r;if(e)n=t.Layer;else{const{Layer:o,...s}=t;n=o,r=s}let i;return Array.isArray(n)?i=n.flatMap(o=>HZ(o)):uj(n)?i=HZ(n):i=[{}],i.map(o=>fqn(r,o))}function fqn(t,e){if(!t)return e;if(typeof(t.Name||e.Name)!="string")throw new Error("invalid WMSCapabilities: missing Layer/Name");const r=t.Title,i=e.Title,o=r&&i?`${r} / ${i}`:i||r;return{...t,...e,Title:o}}function uj(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}const dqn=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=D.useState(t.url),[o,s]=D.useState(null),[a,l]=D.useState(-1);D.useEffect(()=>{aqn(r).then(f=>{s(f)})},[r]),D.useEffect(()=>{if(o&&t.wms){const{layerName:f}=t.wms;l(o.findIndex(d=>d.name===f))}else l(-1)},[o,t.wms]);const u=()=>o&&o.length&&a!=-1,c=()=>{o&&a!==-1&&e({...t,group:Lte,title:o[a].title,url:r.trim(),attribution:o[a].attribution,wms:{layerName:o[a].name}})};return C.jsxs(ot,{sx:{display:"flex",gap:2,flexDirection:"column",padding:"5px 15px"},children:[C.jsx(ci,{required:!0,label:me.get("WMS URL"),variant:"standard",size:"small",value:r,fullWidth:!0,onChange:f=>i(f.currentTarget.value)}),C.jsx(Vg,{disabled:!o||!o.length,variant:"standard",onChange:f=>l(f.target.value),value:a,size:"small",renderValue:()=>o&&o.length&&a>=0?o[a].title:me.get("WMS Layer"),children:(o||[]).map((f,d)=>C.jsx(_i,{value:d,selected:a===d,children:C.jsx(dc,{primary:f.title})},f.name))}),C.jsx(nD,{onDone:c,onCancel:n,doneDisabled:!u(),helpUrl:me.get("docs/add-layer-wms.en.md")})]})},hqn=({userLayer:t,onChange:e,onCancel:n})=>{const[r,i]=de.useState(t.title),[o,s]=de.useState(t.url),[a,l]=de.useState(t.attribution||""),u=(d,h)=>{const p=d!=="",g=h!==""&&(h.startsWith("http://")||h.trim().startsWith("https://"));return p&&g},c=()=>u(r.trim(),o.trim()),f=()=>e({...t,group:Lte,title:r.trim(),url:o.trim(),attribution:a.trim()});return C.jsxs(ot,{sx:{display:"flex",gap:1,flexDirection:"column",padding:"5px 15px"},children:[C.jsx(ci,{required:!0,label:me.get("XYZ Layer URL"),variant:"standard",size:"small",value:o,fullWidth:!0,onChange:d=>s(d.currentTarget.value)}),C.jsxs(ot,{sx:{display:"flex",gap:1},children:[C.jsx(ci,{required:!0,label:me.get("Layer Title"),variant:"standard",size:"small",sx:{flexGrow:.3},value:r,onChange:d=>i(d.currentTarget.value)}),C.jsx(ci,{label:me.get("Layer Attribution"),variant:"standard",size:"small",sx:{flexGrow:.7},value:a,onChange:d=>l(d.currentTarget.value)})]}),C.jsx(nD,{onDone:f,onCancel:n,doneDisabled:!c(),helpUrl:me.get("docs/add-layer-xyz.en.md")})]})},pqn={paper:t=>({backgroundColor:(t.palette.mode==="dark"?kg:Tg)(t.palette.background.paper,.1),marginBottom:t.spacing(2)})},wEe=({userLayers:t,setUserLayers:e,selectedId:n,setSelectedId:r})=>{const[i,o]=de.useState(n),[s,a]=de.useState(null),[l,u]=sVe();if(!open)return null;const c=x=>{u(()=>e(t)),a({editId:x.id,editMode:"edit"})},f=x=>{u(void 0);const b=t.findIndex(w=>w.id===x.id);e([...t.slice(0,b+1),{...x,id:Uf("user-layer"),title:x.title+" Copy"},...t.slice(b+1)])},d=x=>{u(void 0);const b=t.findIndex(w=>w.id===x.id);x.id===n&&r(i),x.id===i&&o(null),e([...t.slice(0,b),...t.slice(b+1)])},h=x=>{u(()=>e(t));const b=Uf("user-layer-");e([...t,{id:b,group:Lte,title:"",url:"",attribution:"",wms:x==="wms"?{layerName:""}:void 0}]),a({editId:b,editMode:"add"})},p=()=>{h("wms")},g=()=>{h("xyz")},m=x=>{u(void 0);const b=t.findIndex(w=>w.id===x.id);n===x.id&&r(i),e([...t.slice(0,b),x,...t.slice(b+1)]),a(null)},v=()=>{if(l(),s&&s.editMode==="add"){const x=t.findIndex(b=>b.id===s.editId);e([...t.slice(0,x),...t.slice(x+1)])}a(null)},y=s!==null;return C.jsx(Tl,{sx:pqn.paper,children:C.jsxs(RM,{component:"nav",dense:!0,children:[t.map(x=>{const b=n===x.id;return s&&s.editId===x.id?x.wms?C.jsx(dqn,{userLayer:x,onChange:m,onCancel:v},x.id):C.jsx(hqn,{userLayer:x,onChange:m,onCancel:v},x.id):C.jsxs(zAe,{selected:b,onClick:()=>r(b?null:x.id),children:[C.jsx(dc,{primary:x.title,secondary:x.url}),C.jsxs(sA,{children:[C.jsx(Xt,{onClick:()=>c(x),size:"small",disabled:y,children:C.jsx(VO,{})}),C.jsx(Xt,{onClick:()=>f(x),size:"small",disabled:y,children:C.jsx(nYe,{})}),C.jsx(Xt,{onClick:()=>d(x),size:"small",disabled:y,children:C.jsx(WO,{})})]})]},x.id)}),!y&&C.jsx(A_,{sx:{minHeight:"3em"},children:C.jsx(sA,{children:C.jsxs(ot,{sx:{display:"flex",gap:2,paddingTop:2},children:[C.jsx(Bt,{title:me.get("Add layer from a Web Map Service"),children:C.jsx(Vr,{onClick:p,startIcon:C.jsx(GZ,{}),children:"WMS"})}),C.jsx(Bt,{title:me.get("Add layer from a Tiled Web Map"),children:C.jsx(Vr,{onClick:g,startIcon:C.jsx(GZ,{}),children:"XYZ"})})]})})})]})})},gqn=({dialogId:t,open:e,closeDialog:n,settings:r,updateSettings:i})=>{const[o,s]=de.useState(t==="userBaseMaps"?0:1);if(!e)return null;const a=r.userBaseMaps,l=m=>{i({userBaseMaps:m})},u=r.userOverlays,c=m=>{i({userOverlays:m})},f=r.selectedBaseMapId,d=m=>{i({selectedBaseMapId:m})},h=r.selectedOverlayId,p=m=>{i({selectedOverlayId:m})};function g(){n(t)}return C.jsxs(ed,{open:e,fullWidth:!0,maxWidth:"sm",onClose:g,scroll:"body",children:[C.jsx(Dy,{children:me.get("User Layers")}),C.jsxs(zf,{children:[C.jsx(ot,{sx:{borderBottom:1,borderColor:"divider"},children:C.jsxs(Mee,{value:o,onChange:(m,v)=>s(v),children:[C.jsx(wS,{label:"Base Maps"}),C.jsx(wS,{label:"Overlays"})]})}),o===0&&C.jsx(wEe,{userLayers:a,setUserLayers:l,selectedId:f,setSelectedId:d},"baseMaps"),o===1&&C.jsx(wEe,{userLayers:u,setUserLayers:c,selectedId:h,setSelectedId:p},"overlays")]})]})},mqn=(t,e)=>({open:t.controlState.dialogOpen[e.dialogId],settings:t.controlState,dialogId:e.dialogId}),vqn={closeDialog:jO,updateSettings:YR},_Ee=Rn(mqn,vqn)(gqn);function uYe({selected:t,title:e,actions:n}){return C.jsxs(w4,{sx:{pl:{sm:2},pr:{xs:1,sm:1},...t&&{background:r=>Tt(r.palette.primary.main,r.palette.action.activatedOpacity)}},children:[C.jsx(aQ,{}),C.jsx(Jt,{sx:{flex:"1 1 100%",paddingLeft:1},children:e}),n]})}const yqn={container:{display:"flex",flexDirection:"column",height:"100%"},tableContainer:{overflowY:"auto",flexGrow:1}};function xqn({userVariables:t,setUserVariables:e,selectedIndex:n,setSelectedIndex:r,setEditedVariable:i}){const o=n>=0?t[n]:null,s=n>=0,a=d=>{r(n!==d?d:-1)},l=()=>{i({editMode:"add",variable:inn()})},u=()=>{const d=t[n];e([...t.slice(0,n+1),onn(d),...t.slice(n+1)]),r(n+1)},c=()=>{i({editMode:"edit",variable:o})},f=()=>{e([...t.slice(0,n),...t.slice(n+1)]),n>=t.length-1&&r(t.length-2)};return C.jsxs(C.Fragment,{children:[C.jsx(uYe,{selected:n!==null,title:me.get("Manage user variables"),actions:C.jsxs(C.Fragment,{children:[C.jsx(Bt,{title:me.get("Add user variable"),children:C.jsx(Xt,{color:"primary",onClick:l,children:C.jsx(EU,{})})}),s&&C.jsx(Bt,{title:me.get("Duplicate user variable"),children:C.jsx(Xt,{onClick:u,children:C.jsx(nYe,{})})}),s&&C.jsx(Bt,{title:me.get("Edit user variable"),children:C.jsx(Xt,{onClick:c,children:C.jsx(VO,{})})}),s&&C.jsx(Bt,{title:me.get("Remove user variable"),children:C.jsx(Xt,{onClick:f,children:C.jsx(tYe,{})})})]})}),C.jsx(KAe,{sx:yqn.tableContainer,children:C.jsxs(Aee,{size:"small",children:[C.jsx(Nct,{children:C.jsxs(kd,{children:[C.jsx(si,{sx:{width:"15%"},children:me.get("Name")}),C.jsx(si,{sx:{width:"15%"},children:me.get("Title")}),C.jsx(si,{sx:{width:"10%"},children:me.get("Units")}),C.jsx(si,{children:me.get("Expression")})]})}),C.jsx(Pee,{children:t.map((d,h)=>C.jsxs(kd,{hover:!0,selected:h===n,onClick:()=>a(h),children:[C.jsx(si,{component:"th",scope:"row",children:d.name}),C.jsx(si,{children:d.title}),C.jsx(si,{children:d.units}),C.jsx(si,{children:d.expression||""})]},d.id))})]})})]})}const bqn=ut(C.jsx("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList"),wqn=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/;function _qn(t){return wqn.test(t)}const SEe={expressionPart:{padding:.2},expressionPartChip:{fontFamily:"monospace"}};function CEe({part:t,partType:e,onPartClicked:n}){return C.jsx(ot,{component:"span",sx:SEe.expressionPart,children:C.jsx(TAe,{label:t,sx:SEe.expressionPartChip,size:"small",variant:"outlined",color:e==="variables"||e==="constants"?"default":e.includes("Functions")?"primary":"secondary",onClick:()=>n(t)})})}function Sqn({anchorEl:t,exprPartTypes:e,setExprPartTypes:n,onClose:r}){const i=o=>{n({...e,[o]:!e[o]})};return C.jsx(Q1,{open:!!t,anchorEl:t,onClose:r,children:W8e.map(o=>C.jsx(eYe,{selected:e[o],title:me.get(ann[o]),onClick:()=>i(o),dense:!0},o))})}function Cqn({expression:t,onExpressionChange:e,variableNames:n,expressionCapabilities:r,handleInsertPartRef:i}){const o=H1(),s=D.useRef(null),a=D.useCallback(u=>{var f;const c=(f=s.current)==null?void 0:f.view;if(c){const d=c.state.selection.main,h=c.state.sliceDoc(d.from,d.to).trim();h!==""&&u.includes("X")&&(u=u.replace("X",h));const p=c.state.replaceSelection(u);p&&c.dispatch(p)}},[]);D.useEffect(()=>{i.current=a},[i,a]);const l=D.useCallback(u=>{const c=u.matchBefore(/\w*/);return c===null||c.from==c.to&&!u.explicit?null:{from:c.from,options:[...n.map(f=>({label:f,type:"variable"})),...r.namespace.constants.map(f=>({label:f,type:"variable"})),...r.namespace.arrayFunctions.map(f=>({label:f,type:"function"})),...r.namespace.otherFunctions.map(f=>({label:f,type:"function"}))]}},[n,r.namespace]);return C.jsx(FU,{theme:o.palette.mode||"none",width:"100%",height:"100px",placeholder:me.get("Use keys CTRL+SPACE to show autocompletions"),extensions:[uGe({override:[l]})],value:t,onChange:e,ref:s})}async function Oqn(t,e,n){if(n.trim()==="")return me.get("Must not be empty");const r=`${t}/expressions/validate/${JC(e)}/${encodeURIComponent(n)}`;try{return await ZPe(r),null}catch(i){const o=i.message;if(o){const s=o.indexOf("("),a=o.lastIndexOf(")");return o.slice(s>=0?s+1:0,a>=0?a:o.length)}return me.get("Invalid expression")}}const z$={container:{display:"flex",flexDirection:"column",height:"100%"},content:{flexGrow:1,display:"flex",flexDirection:"column",gap:2,padding:1},propertiesRow:{display:"flex",gap:1},expressionRow:{flexGrow:1},expressionParts:{paddingTop:1,overflowY:"auto"},expressionPart:{padding:.2},expressionPartChip:{fontFamily:"monospace"}};function Eqn({userVariables:t,setUserVariables:e,editedVariable:n,setEditedVariable:r,contextDataset:i,expressionCapabilities:o,serverUrl:s}){const[a,l]=D.useState(snn),[u,c]=D.useState(null),f=[...t,...i.variables],d=i.variables.filter(N=>!zM(N)).map(N=>N.name),{id:h,name:p,title:g,units:m,expression:v}=n.variable,y=f.findIndex(N=>N.id!==h&&N.name===p)>=0,x=!_qn(p),b=y?me.get("Already in use"):x?me.get("Not a valid identifier"):null,w=!b,[_,S]=D.useState(null),k=w&&!_,E=D.useRef(null);D.useEffect(()=>{const N=setTimeout(()=>{Oqn(s,i.id,n.variable.expression).then(S)},500);return()=>{clearTimeout(N)}},[s,i.id,n.variable.expression]);const M=(N,F)=>{r({...n,variable:{...n.variable,[N]:F}})},A=()=>{if(n.editMode==="add")e([n.variable,...t]);else{const N=t.findIndex(F=>F.id===n.variable.id);if(N>=0){const F=[...t];F[N]=n.variable,e(F)}}r(null)},P=()=>{r(null)},T=N=>{M("name",N.target.value)},R=N=>{M("title",N.target.value)},I=N=>{M("units",N.target.value)},B=N=>{M("expression",N)},$=N=>{E.current(N)},z=N=>{c(N.currentTarget)},L=()=>{c(null)},j=[C.jsx(Xt,{size:"small",onClick:z,children:C.jsx(Bt,{arrow:!0,title:me.get("Display further elements to be used in expressions"),children:C.jsx(bqn,{})})},"filter")];return W8e.forEach(N=>{a[N]&&(N==="variables"?d.forEach(F=>{j.push(C.jsx(CEe,{part:F,partType:N,onPartClicked:$},`${N}-${F}`))}):o.namespace[N].forEach(F=>{j.push(C.jsx(CEe,{part:F,partType:N,onPartClicked:$},`${N}-${F}`))}))}),C.jsxs(C.Fragment,{children:[C.jsx(Sqn,{anchorEl:u,exprPartTypes:a,setExprPartTypes:l,onClose:L}),C.jsx(uYe,{selected:!0,title:n.editMode==="add"?me.get("Add user variable"):me.get("Edit user variable"),actions:C.jsx(nD,{size:"medium",onDone:A,doneDisabled:!k,onCancel:P})}),C.jsxs(ot,{sx:z$.content,children:[C.jsxs(ot,{sx:z$.propertiesRow,children:[C.jsx(ci,{sx:{flexGrow:.3},error:!w,helperText:b,size:"small",variant:"standard",label:me.get("Name"),value:p,onChange:T}),C.jsx(ci,{sx:{flexGrow:.6},size:"small",variant:"standard",label:me.get("Title"),value:g,onChange:R}),C.jsx(ci,{sx:{flexGrow:.1},size:"small",variant:"standard",label:me.get("Units"),value:m,onChange:I})]}),C.jsxs(ot,{sx:z$.expressionRow,children:[C.jsx(Jt,{sx:N=>({paddingBottom:1,color:N.palette.text.secondary}),children:me.get("Expression")}),C.jsx(Cqn,{expression:v,onExpressionChange:B,variableNames:d,expressionCapabilities:o,handleInsertPartRef:E}),_&&C.jsx(Jt,{sx:{paddingBottom:1},color:"error",fontSize:"small",children:_}),C.jsx(ot,{sx:z$.expressionParts,children:j})]})]})]})}const OEe={dialogContent:{height:420},dialogActions:{display:"flex",justifyContent:"space-between",gap:.2}};function Tqn({open:t,closeDialog:e,selectedDataset:n,selectedVariableName:r,selectVariable:i,userVariables:o,updateDatasetUserVariables:s,expressionCapabilities:a,serverUrl:l}){const[u,c]=D.useState(o),[f,d]=D.useState(u.findIndex(v=>v.name===r)),[h,p]=D.useState(null);if(D.useEffect(()=>{c(o)},[o]),!t||!n||!a)return null;function g(){s(n.id,u),e(X5),f>=0&&i(u[f].name)}function m(){c(o),e(X5)}return C.jsxs(ed,{open:t,fullWidth:!0,maxWidth:"md",onClose:m,scroll:"body",children:[C.jsx(Dy,{children:me.get("User Variables")}),C.jsx(zf,{dividers:!0,sx:OEe.dialogContent,children:h===null?C.jsx(xqn,{userVariables:u,setUserVariables:c,selectedIndex:f,setSelectedIndex:d,setEditedVariable:p}):C.jsx(Eqn,{userVariables:u,setUserVariables:c,editedVariable:h,setEditedVariable:p,contextDataset:n,expressionCapabilities:a,serverUrl:l})}),C.jsxs(X1,{sx:OEe.dialogActions,children:[C.jsx(ot,{children:C.jsx(aVe,{size:"medium",helpUrl:me.get("docs/user-variables.en.md")})}),C.jsxs(ot,{children:[C.jsx(Vr,{onClick:m,children:me.get("Cancel")}),C.jsx(Vr,{onClick:g,disabled:h!==null||!kqn(u),children:me.get("OK")})]})]})]})}function kqn(t){const e=new Set;return t.forEach(n=>e.add(n.name)),e.size===t.length}const Aqn=t=>({open:t.controlState.dialogOpen[X5],selectedDataset:fo(t),selectedVariableName:uO(t),userVariables:Kwt(t),expressionCapabilities:ybt(t),serverUrl:Oo(t).url}),Pqn={closeDialog:jO,selectVariable:SUe,updateDatasetUserVariables:SQt},Mqn=Rn(Aqn,Pqn)(Tqn),Rqn=t=>({compact:Pn.instance.branding.compact}),Dqn={},Iqn=()=>e4({typography:{fontSize:12,htmlFontSize:14},palette:{mode:Pn.instance.branding.themeName,primary:Pn.instance.branding.primaryColor,secondary:Pn.instance.branding.secondaryColor}}),Lqn=({compact:t})=>C.jsx(jdt,{children:C.jsx(KJe,{injectFirst:!0,children:C.jsxs(wnt,{theme:Iqn(),children:[C.jsx(mst,{}),!t&&C.jsx(Ytn,{}),C.jsx(yGn,{}),C.jsxs(C.Fragment,{children:[C.jsx(PGn,{}),C.jsx(VGn,{}),C.jsx(KGn,{}),C.jsx(_Ee,{dialogId:"userOverlays"},"userOverlays"),C.jsx(_Ee,{dialogId:"userBaseMaps"},"userBaseMaps"),C.jsx(Mqn,{}),C.jsx(xHn,{}),C.jsx(iHn,{}),C.jsx(SGn,{}),C.jsx(jGn,{})]})]})})}),$qn=Rn(Rqn,Dqn)(Lqn);function Fqn(t,e,n){switch(t===void 0&&(t=gwt()),e.type){case Fae:{const r={...t,...e.settings};return gd(r),r}case HUe:return gd(t),t;case JA:{let r=t.selectedDatasetId||tv.get("dataset"),i=t.selectedVariableName||tv.get("variable"),o=t.mapInteraction,s=fA(e.datasets,r);const a=s&&fq(s,i)||null;return s?a||(i=s.variables.length?s.variables[0].name:null):(r=null,i=null,s=e.datasets.length?e.datasets[0]:null,s&&(r=s.id,s.variables.length>0&&(i=s.variables[0].name))),r||(o="Select"),{...t,selectedDatasetId:r,selectedVariableName:i,mapInteraction:o}}case dUe:{let r=t.selectedVariableName;const i=fA(e.datasets,e.selectedDatasetId);!fq(i,r)&&i.variables.length>0&&(r=i.variables[0].name);const s=e.selectedDatasetId,a=nMe(i),l=a?a[1]:null;return{...t,selectedDatasetId:s,selectedVariableName:r,selectedTimeRange:a,selectedTime:l}}case mUe:{const{location:r}=e;return t.flyTo!==r?{...t,flyTo:r}:t}case vUe:{const r=e.selectedPlaceGroupIds;return{...t,selectedPlaceGroupIds:r,selectedPlaceId:null}}case yUe:{const{placeId:r}=e;return{...t,selectedPlaceId:r}}case _Ue:return{...t,selectedVariableName:e.selectedVariableName};case xUe:return{...t,layerVisibilities:{...t.layerVisibilities,[e.layerId]:e.visible}};case bUe:{const{mapPointInfoBoxEnabled:r}=e;return{...t,mapPointInfoBoxEnabled:r}}case wUe:{const{variableCompareMode:r}=e;return{...t,variableCompareMode:r,variableSplitPos:void 0}}case Dae:{const{variableSplitPos:r}=e;return{...t,variableSplitPos:r}}case OUe:{let{selectedTime:r}=e;if(r!==null&&n){const i=Mq(n),o=i?rRe(i,r):-1;o>=0&&(r=i[o])}return t.selectedTime!==r?{...t,selectedTime:r}:t}case EUe:{if(n){let r=xDe(n);if(r>=0){const i=Mq(n);r+=e.increment,r<0&&(r=i.length-1),r>i.length-1&&(r=0);let o=i[r];const s=t.selectedTimeRange;if(s!==null&&(os[1]&&(o=s[1])),t.selectedTime!==o)return{...t,selectedTime:o}}}return t}case Iae:return{...t,selectedTimeRange:e.selectedTimeRange};case gKt:return{...t,timeSeriesUpdateMode:e.timeSeriesUpdateMode};case kUe:return{...t,timeAnimationActive:e.timeAnimationActive,timeAnimationInterval:e.timeAnimationInterval};case Tae:{const{id:r,selected:i}=e;return i?Nqn(t,_f,r):t}case kae:{const{placeGroups:r}=e;return r.length>0?{...t,selectedPlaceGroupIds:[...t.selectedPlaceGroupIds||[],r[0].id]}:t}case Aae:{const{placeGroupId:r,newName:i}=e;return r===_f?{...t,userDrawnPlaceGroupName:i}:t}case Pae:{const{placeId:r,places:i}=e;if(r===t.selectedPlaceId){let o=null;const s=i.findIndex(a=>a.id===r);return s>=0&&(s0&&(o=i[s-1].id)),{...t,selectedPlaceId:o}}return t}case YUe:{const r=e.colorBarId;return{...t,userColorBars:[{id:r,type:"continuous",code:sMe},...t.userColorBars]}}case QUe:{const r=e.colorBarId,i=t.userColorBars.findIndex(o=>o.id===r);if(i>=0){const o={...t,userColorBars:[...t.userColorBars.slice(0,i),...t.userColorBars.slice(i+1)]};return gd(o),o}return t}case JUe:{const r=e.userColorBar,i=t.userColorBars.findIndex(o=>o.id===r.id);return i>=0?{...t,userColorBars:[...t.userColorBars.slice(0,i),{...r},...t.userColorBars.slice(i+1)]}:t}case AUe:{let r={...t,mapInteraction:e.mapInteraction,lastMapInteraction:t.mapInteraction};return e.mapInteraction==="Geometry"&&(r={...r,dialogOpen:{...t.dialogOpen,addUserPlacesFromText:!0}}),r}case MUe:{const{layerMenuOpen:r}=e;return t={...t,layerMenuOpen:r},gd(t),t}case DUe:{const{sidebarPosition:r}=e;return t={...t,sidebarPosition:r},t}case IUe:{const{sidebarOpen:r}=e;return t={...t,sidebarOpen:r},gd(t),t}case LUe:{const{sidebarPanelId:r}=e;return t={...t,sidebarPanelId:r},gd(t),t}case $Ue:return t={...t,volumeRenderMode:e.volumeRenderMode},gd(t),t;case FUe:{const{volumeId:r,volumeState:i}=e;return t={...t,volumeStates:{...t.volumeStates,[r]:i}},t}case NUe:{const r={...t.infoCardElementStates};return Object.getOwnPropertyNames(r).forEach(i=>{r[i]={...r[i],visible:e.visibleElements.includes(i)}}),t={...t,infoCardElementStates:r},gd(t),t}case zUe:{const{elementType:r,viewMode:i}=e,o={...t,infoCardElementStates:{...t.infoCardElementStates,[r]:{...t.infoCardElementStates[r],viewMode:i}}};return gd(o),o}case jUe:return{...t,activities:{...t.activities,[e.id]:e.message}};case BUe:{const r={...t.activities};return delete r[e.id],{...t,activities:r}}case UUe:{const r=e.locale;return me.locale=r,r!==t.locale&&(t={...t,locale:r},gd(t)),t}case VUe:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!0}}}case GUe:{const r=e.dialogId;return{...t,dialogOpen:{...t.dialogOpen,[r]:!1}}}case CUe:{const{selectedDataset2Id:r,selectedVariable2Name:i}=e;return r===t.selectedDataset2Id&&i===t.selectedVariable2Name?{...t,selectedDataset2Id:null,selectedVariable2Name:null,variableCompareMode:!1,variableSplitPos:void 0}:{...t,selectedDataset2Id:r,selectedVariable2Name:i,variableCompareMode:!0}}case Mae:if(t.selectedServerId!==e.selectedServerId)return{...t,selectedServerId:e.selectedServerId}}return t}function Nqn(t,e,n){let r=t.selectedPlaceGroupIds;return!t.selectedPlaceGroupIds||t.selectedPlaceGroupIds.length===0?r=[e]:t.selectedPlaceGroupIds.find(i=>i===e)||(r=[...t.selectedPlaceGroupIds,e]),{...t,selectedPlaceGroupIds:r,selectedPlaceId:n}}function zqn(){const t=awt(),e=[{...Pn.instance.server}];return t.forEach(n=>{e.find(r=>r.id===n.id)||e.push(n)}),{serverInfo:null,expressionCapabilities:null,datasets:[],colorBars:null,statistics:{loading:!1,records:[]},timeSeriesGroups:[],userPlaceGroups:[],userServers:e}}function jqn(t,e){switch(t===void 0&&(t=zqn()),e.type){case H5:return{...t,serverInfo:e.serverInfo};case sUe:return{...t,expressionCapabilities:e.expressionCapabilities};case JA:return{...t,datasets:e.datasets};case q6e:{const{datasetId:n,userVariables:r}=e,i=t.datasets.findIndex(l=>l.id===n),o=t.datasets[i],[s,a]=ate(o);return{...t,datasets:[...t.datasets.slice(0,i),{...o,variables:[...s,...r]},...t.datasets.slice(i+1)]}}case lUe:{const{datasetId:n,variableName:r,colorBarName:i,colorBarMinMax:o,colorBarNorm:s,opacity:a}=e,l={colorBarName:i,colorBarMin:o[0],colorBarMax:o[1],colorBarNorm:s,opacity:a};return EEe(t,n,r,l)}case cUe:{const{datasetId:n,variableName:r,volumeRenderMode:i,volumeIsoThreshold:o}=e;return EEe(t,n,r,{volumeRenderMode:i,volumeIsoThreshold:o})}case Eae:{const n=e.placeGroup,r=t.datasets.map(i=>{if(i.placeGroups){const o=i.placeGroups.findIndex(s=>s.id===n.id);if(o>=0){const s=[...i.placeGroups];return s[o]=n,{...i,placeGroups:s}}}return i});return{...t,datasets:r}}case Tae:{const{placeGroupTitle:n,id:r,properties:i,geometry:o}=e,s={type:"Feature",id:r,properties:i,geometry:o},a=t.userPlaceGroups,l=a.findIndex(u=>u.id===_f);if(l>=0){const u=a[l];return{...t,userPlaceGroups:[...a.slice(0,l),{...u,features:[...u.features,s]},...a.slice(l+1)]}}else{const u=n&&n!==""?n:me.get("My places");return{...t,userPlaceGroups:[{type:"FeatureCollection",id:_f,title:u,features:[s]},...a]}}}case kae:{const{placeGroups:n}=e;return{...t,userPlaceGroups:[...t.userPlaceGroups,...n]}}case Aae:{const{placeGroupId:n,newName:r}=e,i=t.userPlaceGroups,o=i.findIndex(s=>s.id===n);if(o>=0){const s=i[o];return{...t,userPlaceGroups:[...i.slice(0,o),{...s,title:r},...i.slice(o+1)]}}return t}case Y6e:{const{placeGroupId:n,placeId:r,newName:i}=e,o=t.userPlaceGroups,s=kEe(o,n,r,{label:i});return s?{...t,userPlaceGroups:s}:t}case Q6e:{const{placeGroupId:n,placeId:r,placeStyle:i}=e,o=t.userPlaceGroups,s=kEe(o,n,r,i);return s?{...t,userPlaceGroups:s}:t}case Pae:{const{placeGroupId:n,placeId:r}=e,i=t.userPlaceGroups,o=i.findIndex(s=>s.id===n);if(o>=0){const s=i[o],a=s.features.findIndex(l=>l.id===r);if(a>=0){const l=TEe(t.timeSeriesGroups,[r]);let u=t.timeSeriesGroups;return l.forEach(c=>{u=IG(u,c,"remove","append")}),{...t,userPlaceGroups:[...i.slice(0,o),{...s,features:[...s.features.slice(0,a),...s.features.slice(a+1)]},...i.slice(o+1)],timeSeriesGroups:u}}}return t}case K6e:{const{placeGroupId:n}=e,r=t.userPlaceGroups,i=r.findIndex(o=>o.id===n);if(i>=0){const s=r[i].features.map(u=>u.id),a=TEe(t.timeSeriesGroups,s);let l=t.timeSeriesGroups;return a.forEach(u=>{l=IG(l,u,"remove","append")}),{...t,userPlaceGroups:[...r.slice(0,i),...r.slice(i+1)],timeSeriesGroups:l}}return t}case aUe:return{...t,colorBars:e.colorBars};case nUe:{const{timeSeriesGroupId:n,timeSeries:r}=e,i=t.timeSeriesGroups,o=i.findIndex(l=>l.id===n),s=i[o],a=[...i];return a[o]={...s,timeSeriesArray:[...s.timeSeriesArray,r]},{...t,timeSeriesGroups:a}}case J6e:{const n=t.statistics;if(e.statistics===null)return{...t,statistics:{...n,loading:!0}};const r=n.records;return{...t,statistics:{...n,loading:!1,records:[e.statistics,...r]}}}case eUe:{const{index:n}=e,r=t.statistics,i=r.records;return{...t,statistics:{...r,records:[...i.slice(0,n),...i.slice(n+1)]}}}case tUe:{const{timeSeries:n,updateMode:r,dataMode:i}=e,o=IG(t.timeSeriesGroups,n,r,i);return o!==t.timeSeriesGroups?{...t,timeSeriesGroups:o}:t}case rUe:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.groupId);if(n>=0){const r=[...t.timeSeriesGroups],i={...r[n]},o=[...i.timeSeriesArray];return o.splice(e.index,1),i.timeSeriesArray=o,r[n]=i,{...t,timeSeriesGroups:r}}return t}case iUe:{const n=t.timeSeriesGroups.findIndex(r=>r.id===e.id);if(n>=0){const r=[...t.timeSeriesGroups];return r.splice(n,1),{...t,timeSeriesGroups:r}}return t}case oUe:return{...t,timeSeriesGroups:[]};case Iae:{const{selectedGroupId:n,selectedValueRange:r}=e;if(!n)return t;const i=t.timeSeriesGroups.findIndex(s=>s.id===n),o=r||void 0;return{...t,timeSeriesGroups:[...t.timeSeriesGroups.slice(0,i),{...t.timeSeriesGroups[i],variableRange:o},...t.timeSeriesGroups.slice(i+1)]}}case Mae:return t.userServers!==e.servers?(swt(e.servers),{...t,userServers:e.servers}):t;default:return t}}function EEe(t,e,n,r){const i=t.datasets.findIndex(o=>o.id===e);if(i>=0){const o=t.datasets[i],s=o.variables.findIndex(a=>a.name===n);if(s>=0){const a=o.variables[s],l=t.datasets.slice(),u=o.variables.slice();return u[s]={...a,...r},l[i]={...o,variables:u},{...t,datasets:l}}}return t}function IG(t,e,n,r){let i=e,o;const s=t.findIndex(a=>a.variableUnits===i.source.variableUnits);if(s>=0){const a=t[s],l=a.timeSeriesArray,u=l.findIndex(f=>f.source.datasetId===i.source.datasetId&&f.source.variableName===i.source.variableName&&f.source.placeId===i.source.placeId);let c;if(u>=0){const f=l[u];r==="append"&&(i={...i,data:[...i.data,...f.data]}),n==="replace"?c=[i]:n==="add"?(c=l.slice(),c[u]=i):(c=l.slice(),c.splice(u,1))}else n==="replace"?c=[i]:n==="add"?c=[i,...l]:c=l;n==="replace"?o=[{...a,timeSeriesArray:c}]:n==="add"?(o=t.slice(),o[s]={...a,timeSeriesArray:c}):c.length>=0?(o=t.slice(),o[s]={...a,timeSeriesArray:c}):(o=t.slice(),o.splice(s,1))}else n==="replace"?o=[{id:Uf("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]}]:n==="add"?o=[{id:Uf("ts-"),variableUnits:i.source.variableUnits,timeSeriesArray:[i]},...t]:o=t;return o}function TEe(t,e){const n=[];return t.forEach(r=>{r.timeSeriesArray.forEach(i=>{e.forEach(o=>{i.source.placeId===o&&n.push(i)})})}),n}function kEe(t,e,n,r){const i=t.findIndex(o=>o.id===e);if(i>=0){const o=t[i],s=o.features,a=s.findIndex(l=>l.id===n);if(a>=0){const l=s[a];return[...t.slice(0,i),{...o,features:[...s.slice(0,a),{...l,properties:{...l.properties,...r}},...s.slice(a+1)]},...t.slice(i+1)]}}}function Bqn(){return{newEntries:[],oldEntries:[]}}let Uqn=0;function Wqn(t,e){t===void 0&&(t=Bqn());const n=t.newEntries;switch(e.type){case W6e:{const r=e.messageType,i=e.messageText;let o=n.length?n[0]:null;return o&&r===o.type&&i===o.text?t:(o={id:++Uqn,type:r,text:i},{...t,newEntries:[o,...n]})}case V6e:{const r=n.findIndex(i=>i.id===e.messageId);if(r>=0){const i=n[r],o=[...n];o.splice(r,1);const s=[i,...t.oldEntries];return{...t,newEntries:o,oldEntries:s}}}}return t}function Vqn(){return{accessToken:null}}function Gqn(t,e){switch(t===void 0&&(t=Vqn()),e.type){case j8e:return{...t,accessToken:e.accessToken}}return t}function Hqn(t,e){return{dataState:jqn(t&&t.dataState,e),controlState:Fqn(t&&t.controlState,e,t),messageLogState:Wqn(t&&t.messageLogState,e),userAuthState:Gqn(t&&t.userAuthState,e)}}Pn.load().then(()=>{const t=(o,s)=>s.type!==Dae,e=KZe.createLogger({collapsed:!0,diff:!1,predicate:t}),n=QZe(uke,e),r=ake(Hqn,n),i=r.dispatch;i(WUe(r.getState().controlState.locale)),i(CKt()),r.getState().controlState.privacyNoticeAccepted&&i(Rae(r)),LG.createRoot(document.getElementById("root")).render(C.jsx(qKe,{store:r,children:C.jsx($qn,{})}))}); diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-D6mjswgs.woff2 deleted file mode 100644 index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q;Kl!YKDzQPp`wX+qASF*H;+ri>rN_`~T)m-8F;X z?&L0aUe%Oi6$+)2X&NLN>Kv=7gGx!`ywYhbJsK(lw%=>|2&K<>#;~7aR33)A5u8-UxTI3AvyW?9!VW`kIq=b>!K0PT&?VdC@I>h6{p zOS#r!xcc8?Dq{f_1fI#KBoLYaNQR=e5FsFR4MpM|;278txlT}$-LB5nSXQ-cK?az3 zb?0Q82JCr41d@l*g$k2ElLa&8Zxu~MjF9|D!K-_SMq@&k3X!pIg^f=bJiB0Vk{pA& zoG%8dAYqFpPolVTs6>${fPWAt9^FQ_hRG?GcCiz3`CUARHkO$-E(VV2WrXQWP{a^v z3WE#B5GNFj93ZW-(GnStr}E@s4+1ZK2#niqH-i$6$cGCuG&*M#VT8X)=~DRTq3{Aa z&f{9^iqjG6qhpKOBUo&G?etcq-T2s!R_UbEeKxC1);lj;YKi^Z#jX(){yv7&iCx_q z;em0h>-3b@5Z`U8t0osqP-020)uigOL-%6O0{AjAqDBb#_x-8)hyoPP_wl0%e2$9Q zmdJNfs}0F|>B@98f$!}xynOGLx2d*AWR)n^OYg{T+tXoedwS_+)v4{H34D^5@4fIg SjT2?6sU{iFd1eU30{{SY&x$?( diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-DJfICpyc.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..a57fbdc260135a57de1c0dea4de41c172b877a92 GIT binary patch literal 9684 zcmV;_B`ex@Pew8T0RR91043A_5&!@I09mL203~n$0RR9100000000000000000000 z0000Qb{m#>9DyDNU;u(P2v`Y&JP`~Efq{7QN(+J<01|;10X7081B5gLAO(Va2OtcB zIvXcY73|ncxE+8LMfX68BG@<(Vm#+W5o{bl2>rHvd5imuJD@?rPUv@?EH2MKEtbc1mIY8>|mRJ4Z5exE$B^ZmxOY=v=9%Q zUUh`VKFQ_z|F`?+o2P1@s{200OkxZobVDQW(Ye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X%crb{6b#$Irwod1! z;KzO-zWvuO>|fFvmcrL!AxbK@^nR}Q6Vg1ZT7>Cqnormrrahoe5Ew3NC^DQjuybOY zq4eFqk zAY5y$G*{Y?U6u=_c=NuPJeA;FLf4hHRyXL%C@oje+L+1|^?D)o?Q^nvv3TJ;lmArc zk$QKpOhedT6;BhsKk?tx6a9J8tH;CYl&YZLcGz~EcfX!_Jqzpqokw~B0KWLA@E!nP zZ!SOmTmC=EE3*g(tUv&0z~8m3dr&I~pvW#f9uyVPDPYU3#`hD#N!qy+hlOEkyV zWXDkHgE3|s@t{qFH4PAmBb(7Ad zK&k|hDpqYNsi}Cl{z0AJgDJ+>RQfBym5om~6*OH`JNYZ`d=w^xr)W(ZtOQT-b;k>? z*7dCLj{egW#c9c3p=A%}yO7k6amp7e>ic0`Z89wS#5M6t)K^xQ3mkhIXO(Ay5Z6Sn zPY$xAiMlUAsZIvsjieyC`sC;{lv~M=9CJ+qvJ@r`NE%NzyNU@E)ZaW3<;_gz(ragg&7bjl`{~8BS!sjY!0uZSdPG(tQ_NfAj3UmU=IK{A9 zAlMojz{lN25O3-*nJ6IYk|4r8PK1|*$c*c*B+_nv@pIh;Ke3wHCqNCS2@Jb7&gu}| zK+Eccy>{MW9Xz{gX@TcjXvOdOKF?#WcEXRQiO5TAb*IV1D;x->vO45A*BNx)-B$=f zv`WihoR85NPDwHY?^z8+8IdR-B+8HFCQy|`IfttNI6^|)YHaWc0eE{38v})NoRW;- z#IcYSG>(zX9C&IgmTAZcj-wT9@Ga6|tc9HPWXBGt?y;-rru3^Vy1jp0L WvBs=}zzEW=AzKWF*C#4aH~;{?1*U}n literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-Dg7J0kAT.woff new file mode 100644 index 0000000000000000000000000000000000000000..f7e96bf50ea05d6576f41f82817155ee7d1c5ab0 GIT binary patch literal 8620 zcm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bA4UDG4uZ+oi;@3*57C1WoGZ`6j66&SZ2J5DXXFs@oVSB*L*b)%- Rrh~zVp$!0h0K-iH{tx!mi{}6U literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-UX5PCucy.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-300-normal-UX5PCucy.woff deleted file mode 100644 index d8b12c227e67755702b664328bb43238b6894ab1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8428 zcmYkBbx>Tr*T)xkch}++cbDSQ;!@mQ3oIu3z zDgRMj^Nl3{00@o%0Gf_O_64@QrnWQyfcW(0!~ai77(wvrnjG8!021$;t@b8UU}a&Y zg_D`<8w+`}``-G1x7+L)0e}Zj+`|NDyWcAjBf3v6G{6J*LLc6Xm9-eP(>5bw2 z^LupySo%OQdciO-pYQ>7oepNm1plU#50@Xpb#%-qU5YF?x|K5XaT*(Hw^wFn%ce3B zYDK!x+$WB~=)JMe4tkc&q>1nRgJqhF^tP%#(2!)fgluK}&?)y9L4BhxQ*=f1iNrXRl{SY+YWUZbf-ctMU;_qh=@IA~Ss+5J3ovv0Tx8$1Oa7$kw z45}7AoUDXW$3HE+uU*Oq-^J;q6Z4O*)5_{9{mhpl+xtYFjqT&-s^qHlF?kbh6dAhJ zNqkkmxhX(?_lp8q%?;$Ug&=?=LGsk>P}tDVx0pqo`|Y&5K5jGK(W4GIlJCV~g}5|lW)0T0Nsk-uz+RK=nBI=>ND7RtIbZUtc@0a| z6d)0J-3o*wo(Z#ISkn+*)q|$vZ)>C+ep?4{i%huaywt~Er+Nhh)__Jp4Zyx5u+4qD zTt?2Ss0;k!bhUCi6*o~jBcG1NM4K%Y*J(QY83X6SNh<^rE#@cRG7Xw@N$D!1LWsxrxxn{W5q}jgZn| z_IO%?65By09Zfz}9$w7`UPBLF-Ai5*w8oFoje5%XW%MPiG8vJ|S4qX%Ps^$nvIs=*%k##*uB){3O@S)k zt;G2>m_)kbD!^1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blU;#_(gsQeQJKBp|>`^w%H|typ~}E6KSbo%%lB5e^e{@h^lIZvP$8T z(QDzt@%iP?%bVcf&;5I!JNd54A*|E+~oN(tq8y*7DH0)RfMw`tbo6JzoHx}a(vn%xfySe}Fdo&;! zKmyPKp#6sc|9bhz0Axl0Isgf@W|D;BfdU|sGdndcqVm?E3>OuOf;gKnV~ia&@$Tn! z4+tqP85qKlKJiTJuds+r>%V0bn_k|(JMp|lCv6$IWghVwxurMtf6ypViDo0$Dy#CG zmS|sBoaWU?D;rJMuqjbUaI`VoWjg4n&~LQ>7ctk&Wh8snsl`^-a?NKD;aVxlgLWIDZrX#m0{Np5zxrSQ1rYvhh{K9w006MjBFzH+2iK_pKmY&$ diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-400-normal-DVDTZtmW.woff2 deleted file mode 100644 index 47da362999e33cd11a91f4d62dc06d3b18df64f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9628 zcmV;NC1cumPew8T0RR91041CN5&!@I09dd903|s90RR9100000000000000000000 z0000QY8#eT95x1E0D=SvR0)GT5ey1}fo$_c3xW^;5`h!}HUcCAgd7AQ1%h-3APj;@ z8$eGLY+PlAjROp`>1R+BRin*BQKQwQHNpR1lbbSd4^;oEAhKlGtgK2ZCDPPWh20ob zA&)R+sqdbyR*+~+aVI%YaG-eWl&PTgdD+rD8JCtAk`!r`ZhC1u>f=?T1*7OWdtOsg zrYY&mRDb{AhcIwtR-o8qK0-?$@e)LK{8zo(vorq;M`j8j6ynR?Ib|dzInh7=p7rM@ zsiwj}#U_QA4y1OVbVYydJ{jNg*J^;~)~!S`tbrglRvc9}U4s^>c221tW5~#jG7tKW z2gZXzNQFd=$dLxGk5y~7dxUcdPZ*|R#0wz_6!57>W46nOf1WOWXLjGr|3DcAT9^k( z0=yUgtF`Ri5YHSCyM&EQlw#v!?CW3S)Y)+Fdm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^w;W8+dYZM_d_7s+Yf1gEzslx*CWQ$ac!q$OVd(1X9Iw?mb%W$$l`F_DMoO zkADBJuZ`ayPe<0FG=|0V@zOUlpIwrJ+NSsQDYxlbIGVl!ZQ~{Eo^VguzN4p+WJZ6< z#+T-iX>*yF33g2kcF`SSb#ghrb6iuk>A=LRG7CpPjf8#&Xb*`3@A*CgymeH8^-9GG zkdTvB`+&qT5mcJv?MorpHg-Y-MX@A)CgMrEoH=+mn5nfL)2@m7OH!rP1e`u8)Drsa-9oFwF~)C zF~kn%2G7kn$(^_sldxbJ8!&lOC`tRtEJ4?eW&T(=>}GT-S>=@TIgWDVJ%3>Tn-n7_OM0{%kCf@Ivm-76 zr$OSuDY@xbVQJ{7hVJn6oXAfevrmbJp|Wbf^2+#Vq?~L!)x3~zugdl@tDMUx2)W;V zXujfYP`lrK931ue?n|Y8RBthRN^8C%$v{nsl6xLMUj&D3e^i}JEkWXyq@LCw5UL@_ z3GQd!KGm3~@wtTynqq=^YqM(blb|G#`dA0~OpdZ7GDyw7+R{m34FwseG zo6L{7(i&>;6|CENrr<57jrYx8pn%6n zfV+Xq1OZ!t6BOj&sSg?cA`^%a W*E`Tm7TU08C~GZ@>+Fazi~#^e8{{qk diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-QpWeYsca.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-QpWeYsca.woff deleted file mode 100644 index 4c8f96397b6cbdec34e72db7e1f6acbcdef0eb2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8700 zcmY*<1yEg2%4+kOTlA#KD*>n601|pj@Ps zmDIpkJOJ=1002Ptaz+!gky6tT1pwgCz&f1&I0-ojT1kzW6^u!PWkoO>dN~!$nb;aR zfUz{N+zYk=ZF&F$ZEoZY#^Aq$F{J+(4uENH;|T;~761TN8~{N4h&vsoXklh#`mYbx z`On8|?yQpq7z6-FSil%5n5hshJ_%dcx_E#wWw8AS005FG%z)*@#@+<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PsPOSlb#bPfeXzA^8{(8+&qfhm6M^F=S zk3z20*ahAh3Q&CIr01e=*Lw~Nn%#utaPo!hEw217Y#S9QRwHYBPG6w#=`~(QBeU4A zGK(Z_o%FIV^B5=47#c5E(R=9i0;C5-xB8X*uXGZG{NMbKqc>Omm|EE#R0*tvaaA1Y2`T(PDi{R4gVCDow>BO&R_|ukZw}y4uh$ z)h*w#Md@JKI{#?a9g)Ku$;c}dNO+6zjNtGzRh1HVkzjpdPqVL_P6(dB29H`C|Cu-M zI0Ta!yAb^S--zHr%bnVb zi726Pk;OGou25d)#)Npod&KKw33SFDCt=L}Ezz~e#eWp9p%Sg3QgX7q#j=vAvJ#DS z9}rNsn7@b3x=@}C6nPUlZ{quhnoYw~Or!MikT%qjXFp*b3w5B-TdG+7-&#JfIk3gG z`e$X1bcGuf7yJ&ua1WQ@y`q-TR3M^IaI!6t{q4x^YM-UjUck&knj7cv1%@|yay)J;r>$U&yhCE;^=ax5j;yZ wQHE3We+vn$1-;SY@)i2QP1tu0f|mc?0a=-Y0HJRNm@Jt3001i$92D^X0Ag$NWdHyG literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-500-normal-_hamcpv8.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..26c8c8cdabf6eba25f0ba5b9a05c4b3fb0279bc4 GIT binary patch literal 9964 zcmVbIDGiH?mDdYfh0K*!jd2#=qVR{{w`LC>#_=_pHbR~_uAguB#9GI=SXp}q;hmUm z{2BYJVH$;s$Z%QKgDLXSfysW`|4}86Wm~mhp7iZGYmw=CmZ)lSkzrVy zt@88;jeU|!(9U}(S!dIxP%Oi4c$(Y46_ulgFfvB#S+rnmv@z&WwKdTjAkj6VjKlz= zzWgX-U}EgF2M)2#%ta;d8yV0i7|X%}6E@*9vhbh3x4plu7P)j|Q3gdkPM*0LaDpHd9*zIGDHykw z&f(GFJo|kKyA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Sa_k3_9Cti(n`pFJF&}U?!WP(0duU{8kc}m_#7IE&-BCo! i*~HF9VPsk{A3SY=ea&I$GbF8vw5no8YZu}(I}!~ax{3Y( diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-BJaAVvFw.woff new file mode 100644 index 0000000000000000000000000000000000000000..1ebc045dc13904905cc12168feba79f3d5b53a5f GIT binary patch literal 8844 zcmYj$Wl$W?*Y)D=8r*|JAhkb{dae`*|DW<7`~RDaq?9xO03`|0R3Y$yZG~l* zQBhWdXc+(id>{aTmfgS}!ziPsAr1f_5<+b3A;^W6K8#XUW8;8mQ4p>SfsvmGCaJvBjvK8G& z3}VCmA6`N8dR7n-qIE$yIRrE)bnx0%_HJGf?JvZCA^-sWHFcbh!OqbXVn+d)2Z{g! z66X-FD|=%v2&eq-{YW670Mr7u9E|PFAzBfHFGB1BNDTRioE%-$PJqvMg3crl-vqCEZhtNo0cdXkH|>5< z^ey_BSM*fruOJ=Fr#}jJp6a4KNy`13Uv9uig`mfCoM%Szikh_2Jp|wMndBr#n8Y6; ze<=*h+!uB87+RBQnI1y^QrC_JBy>}-oc}aTH~8}C!S|NXN+0T{q`eop-NUq*UJ;uv zGH#Rz66GF4>)}bNK&mMtD!O6allLyKXia^A*3be^x`h9QH?pL0N?zFe(!4(}g+E3` zC258>X2WO5K_SOXbX)zm#wX`5)ZRF79dOei2>tF$}(zYt#IRwy9k zRwV-SY1oU7Bl>vKh}%_b$Rw>HcE8Gqwo+?~Xt^OC&CU!*cV&XRr7<+;%mTxAbu<9o zDIu9Je1R86LTxH$Cjr`?g{G=x3@Ra?gf*e5T7Inpg>b2A3jxH#&Rv4-UCAd7>+Bbo zL}6$7u!xG4v>cP}fdduzmSN+Xrlu%DuBufghD6$|NoDx2%Gi%y2j%e}hWck^B*A-@ zp{UazFpqi{oBC7s_~x z11_J2bAJWpC)i)yxJ?h)7QI!Ojyo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5xX.woff deleted file mode 100644 index 91386e661129ae3e80d3a32b1a725fd6ed314b4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 8660 zcmY*<1yEc~(Cy;x?(R;21cE0(kN^qpEQ@RK#TE&!i@Sy3?(Xg+Sb*T}?)Em{U+=H? zy6W6JeQrl#vAh;6B1Q1sJRm zW)WQER8`bq925XR_5%R0Je_er*vhGCNCN<nAe!zXAzA>PVH}!1jKlm7r~m>BTMu&>X9)lhdIJE|POqth?UrUh zQviT!3ug0QjHmhE`j#*f_MH;O(ZIln!HleCY3BllaiTE)fdBwJWdsT9rL6-9W=GQn z9%yF<8=k>*7!L=b$P!Nc=HToC%T*VQBlu_c zY6ma{FJg69!@+$a1XQ)z08xqlEhz^fCy?*xm_@n(_1(x;;&0VoxQkYMg+NPArSTv$ z^0|f{aV!@1^?fey=Z|T0F>Px&##tz^tb!MV5|O@9$PotnzOPv`4HiNO^3!jv9|gWy zDqb+NCp9YwK)}W%L>U?TCzR#|K!?tS6-z?Had(H?IsM|ACJ+ZG+${pQ_=?wPeSV{d4oN#;@?JLz-5x@yPT|+MZNntX_@wCD?h%CDad-2WV;@jb`a(^VcJYq$WhJ(?xrK{q zErYeW&5Sb@i`R@fh-%r|p{{+wm9%vEcdYqY5P~^GEbzL3p~8%6mt{g*)c3vRjg(f$ zX!+BCbA!jKZMDUH82;D*>*(X!ms(`y-5DO-G@fzSAsgCJbA6iT{=L@C zhF{*kLmCxxbQCsWy0>_f5rxH@Tk-nK^SDAWEqUxz?J^cyWXsV_=*sinkh)eu9yyJ5 zyc^pSK@~kK2HDK5<{i5f`w9N!bdK%#$+6g`NZOW-AEulmV3O6hA) z8(Z@&Ssr}U6l;{`r&JMnosqd=5gFl;St}6(i#?^x{8~X-kf8FWpcH|iya)T&W_I;r z^3R&(2kMpP^?Tk1If^c+-1CVo3Tgrx(}Ie%f^wIHnx%^~70Rx~ay|$1@LUD#R1uj}(altq4bfj5>5bQ zV3>ze@9@A>x6*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nx>m?VJ>&#w|F|;r+!RERXOTUR^OowSTV}ianr5y)6 zw~LIL_pnKNJ$~Ifbcj!7oWp>L&O$iRqNY+HTSv!JQmkI=816ypSp0*m5-&~I<+AeJ ztPh(>Bv(6hMjUUL=va{oNR1C_5aRY0N-DA QFxfD*0RVOyxL<((1Drip5C8xG diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-700-normal-jruQITdB.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..41637e58ca4a6076924871c469c506fa182efa19 GIT binary patch literal 9780 zcmV-4Cd=7(Pew8T0RR91046j55&!@I09yC}042}>0RR9100000000000000000000 z0000Qb{m@<9DyDNU;u(P2uKNoJP`~Efq+2pR11O}01|;10X7081B5gLAO(Vc2OtcB zDI2y>73`Rgz{UX^@boKVG%|*b!y_1bIT9gk96$(tTlW8_1TDr8zILFM6BEV|rA1VY zC7>46qNS3Q&01p0`sq9jZQ^e-ATR(h1Y+1Ic)nOsjcKd!Dyr3UhF26@7LQfynfFEZ zGrn9nsK$K$o3Y%qrz6CZ57nCLEUyqV&OK*f+sL1sm*nAdzaCGLo8)a7NCL5|B6Ps6 zQ}??C23N@nAwSSI{~brRQD6-L0T;&(q20ndHsn z11-`nSD;WSSb@2@|2wt%Uy{`=ecN)2CvlQ_*~wKMKGX@!TY793umy0IU*(I%BZzjC@zx!o%=V`Hp#s= zc^LpHAR#BrXYL5v#lE$y~eBV8Cd&Rz%s*}3(1w$v?cnhOcp z8J?lp8QRD&aWiZ}e6?2EnVoxr{SOcdm%NZ6VWJ}3Z0{`0&F=Bj-ZS1~h#!PWqCiCg zN+43qLZy6!Ok8AykmTZG+lrVG>eFZOLLx*&yxt1+Mml!ZGV2f#5fQQD)nEIRZTP?{ zxDj#4rahxmqZ36VNbF+dfbL(A;4lF=^C0muR8l2EP6e^f5a}5#Q?}(QvJxd$s@y77 zTB9aw(P`a=Y{X)?sf%C|G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Sg(Nb_llv zN;DxXb~rVTD@u)>mQ!?8`DRHX@LyFT5$gX0Qm6hSHosi98A!HjJFlT+*O6F7Db>4w zD?OI@`)LAcV=$qrvaUUrDks?W8q&ymJxNmi;n3MfNPeRB+0)Zq4J|}Y5&zNa zi9)a?;7X*k?H{$sWjdFb%}2g-okq$~2|X@B@H+!^#*fDE*x(e)%YnoQ2x>j?JVCcc zGFnG2@+dVYVHGyGa-^-fOVJ_V3-m+e*w4>2?#K4aSz+G5bB`WH|DhMrKj>5R4tfJA z^f7wW#HJ6?*XUPl5B-Q;Q*PEk@1d7WjNV6Yn|?4y=tuMzdK5k1CPv?)7w4N6eS^>t z6^xJ;*+&i|fS$I_55_3FdjEE{2vwXP z=R-_Xs!qdMS|nBT&$8rx`a!%oQ-$W}VqDjr<|jnJ%v9p)i5rHvuMghb2Q}uyl?p$G zD-QLJS&Bs+)YCBzwH=Eqoc2Vt#<#hEBA1lriy85F7D|LCS~qjE!mZP(a-gtkcH*BI1xNyu{? zL5d)%`w`kKBws0AdLaELqPkEDB0&fqhsbx&SHzGaoV`Ru_an49O6k(9^xwI}S5?Kh KFPNT{g8~6O0t27` literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-300-normal-TzZWIuiO.woff2 deleted file mode 100644 index 0f6e60b8eaadfa0df7c314807d6f9159390d896f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15000 zcmV;JI%maqPew8T0RR9106Lfe5&!@I0E+wo06H=N0RR9100000000000000000000 z0000QfleEeLL4>*U;u(x2v`Y&JP`~Ef#Xzx%pnVdS^yG(cmXy7Bm;*q1Rw>1d22i?|&i@jIP$L{YCdD{>^lZct7>!T%oweJ*v;ML_O83@WBfsuoHBOaAeaWM4y}v+^6OK1 z+f*Pfg`Ypy!b=@w{vn}@I;NCFF|I$x*?d&U>Ey!$GTynq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ha&_pEi!32DQ+5MemeOPd{#!HxzOcA$xNHOBZT zUCdj6-O*+c>@X50oyP9y%`{b|cz4HeSxJ(g-DKpOOuD;aE|00{M0YwO;4tAmoJ%qS<~I)5D{QNssB4`iSK00021GLC!z diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal--KougVX-.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal--KougVX-.woff deleted file mode 100644 index 0f4a8aa45e0ba6b443ed2e13b50e213268db88cc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13468 zcmYj&18^oy8||B9lWc5jH@3}YNXJgyC`TkqC>UPcPnRDi8%u`cc zGgYTuWko~)Ab{_}oC$#c?=0>0&HtzT$Nv8!DkLld0DuU6Ya!p5LhwNVh|0+-erpo| zzz=2s07_smp_x!rQCR>0fcUQ|>widq^Zy~MNXPiCv43;vZ|HfL1a}!)>)U;6q2K)T zyAL(RCS7DxeaCMN@;?psfA|SNF|~3x`PLEv05VwsfPH^Ax|qt$SlL6UX*`R0?~aZcFE9Ef(dj!xgX`fq+H|HXY-1B~3( z;D$gTKtWIevoAP*Kz{%WXc3X)rBTWG`Gw*Tf0Gjvi~mAGZj%)Xqn*Xf`YkpB0zl~g z6Nk*77Op~5BEOsnfu+#^#p%>&%Af5Ak9Cq7CX;ru;SVmUUAq(ot_kCUe$H_`>z@E_ zO6ze@agh4OY0RKZY{(L+0gxS+Xt$qFOE0BcNVc)rr?$62 zPbWOvZ%P%{5gT_8PhHHGT39rfrEi+Ml_;Vej<@v-(|gU=5zmE2Y)Fq>yZi?1x4bW- z#E3`h;#|TIV#XJVKvKl>y!vA6W^Di${3}F#b76C4^I-bgPdjHu>yFCiDsEyIo)YtA zH`3biACIu^Bm4_gqP6S%6`O7X6O+Y}RCl{FO({KmhQk*fK$p)hQOZasm(nTU?DL-) zmMJrv4Jk&Qv_c#hR)aqHR4UYa*8aIz-evr-p3L*jM9!EA%$qg|3L>6S+{- zOp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>trF!Q4fO&}co-KQKX&sDrF8(5~-Oo8>6 ztH5)VN4U2jlyQp7d)H(RQ((rF;!!?T%jhPujiYNS*C_Dl(y7`lFJ~x>mNo}M$ zQ(GCD3H1y96xbSB?z=O~G#EJPIZ5Ah8Z%Q&iaE}oHb7knhRiTHL1+uG&G6j+=oBEB zVY`R9&Jp~9{0Djj)IH~ik{{>H56(XXm>?*6@D+b)>;N+T&Tc=hVspY!_w*Sj0$Xb^ zRR-EtK-=|vaiiw#8LIld-QcTtiM)n?GGQ5qsc|Mp9T-}#P&XxM>**Q{h9&W-B&b>Y zfY`DI?|v^o|E*c)fEWNeKnVc;KL+@3e-0=Bl=ypV4T#&Cb~Km+7ywmB_d+KJ*I5ZC zfRi=2)>@ksa`dE*;V`4UhgEz@O??~0pMFYpg^Yblm4ldTYWeW>%<%;Rqha`kbl7S5 z<+qNuPxFTO6oXuR!AOFfah_PDrLpcl$x%zOYNLKq4r%#ZVvJ*@ zOjt<;?R+9C+^tZ_KZ47}5xG3}fsVsyNS)_YMmP1AZjIMpO5$m*HpG>=T9yjQgUr$; zl=38n=2?**P~i(=BQ`Y#|3diA-S(@4pPRjDy_kZ(AN7BJazMbBIxGdO8UR2^05S{s EKYqF$@c;k- diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-D76n7Daw.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..e3d708f354ae0b0085619cf9e1fbbd9d0df4f8ef GIT binary patch literal 15336 zcmV1bO#^| zf=L^deih@GrFa}bQ14`#jj&kL4`hSNEs8SV*&oex4 zxA*UyL)MCnRojTxsSq+|GWIx}og5BXcZa*nj1xI$-bwC4r9tM3G?0eI_IuZ=Bu!KU zRNI|F_*jNe+@OzzUEY0D7YGtDkRwt>-R9mpVn4?u+Wj^S@^QUZ%lJX2P4r`M}_S ziZZ^c!r}1|vbHW2Zk2pOK5%X?r)2;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?^KEkNkLAtF_&t>Gv;g%+W^x6zc57fR(dsJPBu4DPe;goSY zn|zPGvvYz*OxOe|@n$nPadhtAsHeuQd=noTe$z^6FbensECPN2r+^*62JisKfKioIaR|5uyn=s# zM|f1#RTF?cz!qoeXCJU#g$GUnkAN}2C}6%Q3%CU=_Bh+<=PYulKnMXwRT&5Yz_dC( z5Jv7G%GZz7g5V?c&z$e~9O*#lL3lx^*q|Wpr-(RPi10=%h%7KLjDtY_H3gexL}Ca4 zj6vQ~BHWjy29ZAPX%z2iB1;1}c$WrB)2BzyS%7()#X_%gIpR*%ZIXAeOCT;0jeGVlXLXwgV G0002&1Enzl literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-400-normal-DORK9bGA.woff2 deleted file mode 100644 index 22ddee9c93c8a4e9c905d9cddf88622f3c591b93..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15344 zcmV*U;u(x2viA!JP`~Ef#@)S&^Zf(S^yG(cmXy7Bm;*q1Rw>1bO#^| zf=L@ueihspH*g+6P=4#a+H8dFaS(i{CW_KcI=JBfuL)|%*gw_*xH(Hi7(u3ru!NeR zr&MbE&ctS>wD8Fsf_=GS2_HP(% zv52zuly_yAhCN5g<>JC0L!je8e&$rT_?BBlM|WD;5gPj>m*@Ypd;Wh`_uADDL`H;C z1SkX;$+7SyjU0?FP7U#M`+FN>fK&;RMiYWHiIt@aWy6 zwi#+u2=iU1DgDkJ(qYWsT&mxeWa)?BS@Y910H4PTkXQk+leUzOg-LOP1-lC{K}s?E z6~I6A?{5E;Q)~XHwgTX`6Dh7>Wq;J!`y|VO_hjo_03K+eHm*VTKBw_lA=slh%#ZO_kH_^ z{{PW8*Z;j+=|qEs=xDEj5qAA+@l#;rU4#NLVg_Qt0>s7*5IgqZT)2XG^8vxYfCLHx z2^R$tD-I+94kSeiNV-fAygU#B0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eJAU%}iNHLzB^E6~}{g;&(bH%itfC>RF4~f!qnXeyz?CDK@ef1~=fa7(M#w@qv7F zC=%}r!tSEd=_k|iVji3Sm&=7&m0R9h>uk9lM literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DgXbz5gU.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..20c87e676ea8cca21679bc8886fd9566172771de GIT binary patch literal 12456 zcmV;ZFjvoaPew8T0RR9105GTk5&!@I0D0^H05C!T0RR9100000000000000000000 z0000QWE+nf9D_y%U;u+y2viA!JP`~EfxjSutauBAE&vjOAOSW4Bm;<81Rw>1bO#^| zf=L@*Z6$1*HXY~=Lhu!TNk>sRn(0VHuyGKC&8xxxe@c*Ygh|;&@n$H?R;%0Bu2-2% zClyA8fF^cwmM;35*J|}eSt!1f-}&b66xXO8B}{{noNmk5a>h3ib5GtqQMYwJy<FB+Hg;%dw-xkg#uFpGrVec?aD11Hncx0dIiO_@Ojx?XbP8wX&yS=on_7f=|NT zssLN+piq04D3)Jw3do-EA)E5+cS%<%85ShN?S-*ufJ)%%$1}(D!0T0GC%k^D1B5-Y z;ou3Xd^!#Q``4C!-LChfV>BUGPPhZ^(>C+x$yA5XHUp%)DXaQc&1r0A@NQzsSO2F- ze?=0$jzH;+i#NqmE_+})AnO_cYXkR{soLKC-OCS#v0n*-93KiG;as^^s2r7w&Q0@J z{AV0VJs1Fx96W;ps0ctQ;Yn(s7%QhrcIDEUl2eLROw+5AE42=(DDAd#Yq`_7a#2>X zFZ{o%=K4Qya%nP=x@ODElwqXAbd8JrE!~$%%cmoirYpSy@Z||$nyA#PWzCkcwsFj5 z%N`wL*w8HB`-5qUmhXJiJ*n4`&JmgFc*YnZ)cfOS>=@JP*;-OA5~)HTss{IG6~p;# zKKQo*v%3XtkXti?+}RTHAXm6&gh8HF3;AFwNDN#Aa2_!{%oTFtK~B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A}7dIH*cKoE0yw|qlZsd_lq!m@4@1x5=I`m+C0?5=!KL0^=ue>_QUb~ zEG+)~%kS4$Vf>XZw`(p;+<&yZErrRKK3^=i?a7-@UF*ZtfBA_gH^Wk!O9dO2T|Ph3 z%7^Kz7sqy~$=toy+#}<`k9rv;k9GjukvoH~l3_g!*AHe>N%f))0000Vo+R)9 literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DloBNwoc.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-DloBNwoc.woff deleted file mode 100644 index 594549d0d12a3a1f694b698e8717bdb325a4f2c9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10208 zcmYjXbxfVj)4h1{;#}O_p}4!dySo&3DDLj=R;;+YTqy1>Zsp?c`tkn$`ZmwW=A6uA z_nGWYvYGKzl9U8M06quxHUQX$%Q3rL3g( zsrdl_kOBYz91`~o@Ip#WLlgjj>i)C|{=_eXJAo@DHD)#d09yEyt9-)Pol&&c%)#XQ zrzr2pXy0K>}O+wxNz0{{qy0RTo`|DCyWYYP)|0Dvs^ z(}wduyxPwDSbvJ2+NTYG_!ATeov^vq4sKqb+WzPM@IUu-DNUdzZSQ3EY4^D#0Al?U z&%4DdQVu3wpX*Y6asbJHfMS4xcQkRZ_|#rM`P8SK8=eNw*Y8fQZlAH5{M0c1v-@xW zn0u|l3_!sC5XOY*_b&Lcqys5SB7$=yKauZlVkQ0;BBGJUVD~<9g*w0hNlm<{2p%yI z2yOf6?6q1u2USA>k10H-_Q<)5yb_t$0(9!;9Oc|=aae10Sle_OzA2YXll9?udOCou4;FdH7^qQMk| z86|?%GalLxNtU%Pjh-j>bJcn+jwAswTMmVfsF6auh$Qb2k*uc8nUSbwB-o%@>o6}x z1y<;h|cM#Jc>-4oLQ zjJ8p=tHAXdInQoj-zZ6E^v7=aqW}~A0ppdlKBiKMnpG}wJ&1(2I0bijwPS}17^pfa z=rByoS^ek$b+H>5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8sU^i{RBu)Jsk6C0O^ z_1!j^gO};N4Ou`n zQK4b2HBJsHP83}2{c1j;@_>V2wUvjilAH0`U0Hu5m0){5UU5b3;oeRz^401@vC@?j z+|7d^nQF=ixR6WpptO~xgm~v+JMLV3?1WU5x?$fqUd|z5tXo%(y@swa6kfR$S1fpQ=$ S^@UopA`S&ws-)GU3MBzanXx4R literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-BYGCo3Go.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-BYGCo3Go.woff2 deleted file mode 100644 index 94ab5fb01ce412ca05ff6cb89679f41f1a4e6ade..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11824 zcmV-0F3-_-Pew8T0RR9104^{95&!@I0CAK604>V^0RR9100000000000000000000 z0000QKpTz>9Dy(fU;u*@2uKNoJP`~EfwU}vp?V90dH@oF2mv+%Bm;+V1Rw>1eg_~7 zf+-s^Wi@P@Mh%1R0E{PP6&ppcaX@23u0;`S9K^%sr^x>QZwXX}termHfTNsB#F>?T9j9&^BNe z==WoyU?gBP{_9d5@dYFOjBf>7;lcK0E<1CfbifvMXCc~m>z zcOfj(h3jimlC=8)LGm=KtMa`5O?hnqsS@O;qSvPY{_k7EcNS=tkM?d4gHU2!)d-jW zd`Yb)U|D5|i*rt@; zeNEw|i+tqnCnaOVD!2Zl2X^f7j&I7s_E~Aud)*u45Sds3YQw67Eq+rdb=qQYN8|rn zYSRB_WV!0y+ez^YKvxJ_$yan~9pC_@`|^6$vnuvVz9L=eZD!@mmMbbLt+Q6py+fhF zAvn({6_7lhAcphzOHKM$|L@$oXeMiWuJqMJR~ya+CCq?_klnXhZTb3A&q-cI{fg|% zs9meFFC#nY$T3T)fTmyTvQjJV6|fv)Aut35(VL*V0LqeWxtd5#A*Es|WqEu~{eGYB z&mGb%u{3NLab;P8ge8+&Tq61fX?nT4X%XIw>?g31|VG zcywA45C=jOX#mh_j#nh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h!_qyt7t$dDVZ7WSw0d2l1U>vkwEO#jwC6`R@fLqhk^r6F!8_%{it~yaIS7D{U?sHVQ-Ezs7U2!&1`?NCL}VUDBP_g#)Lc|v zLTC|Xzs?FOl8b2Ks%r9L>kMHfEP??$5?4@I$o~G4yX$loQ-eZv#TVh+u3`P3OE-abVu?e;dszqm(0U3m8G5JrXljRpyq&^X- eiu9L5SRK2?c9pHmprN8l#(*KZaBZL=HUI!Xf0hRT diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-Ba-CAIIA.woff new file mode 100644 index 0000000000000000000000000000000000000000..2ed8a11c57d313876acc8e424d84937ce9bf8a58 GIT binary patch literal 10688 zcmYj%b8uzN7wyeN6Wg5Fwrx8%wmq>Xwl%SB+cs|Oi8Zm4NnXBRy;t>iomGAII;;D1 zpWfAfoW0!@B_se~fG?x&10ep_iX(sd|6~61{(qAc6PEx0z{I{d$uF2f+(E=hDk-Xd zanS(4Hwyp&I)hUKOIK1=T?7CCzyH#Femxsmgy}+7RApoV03iP3l)qr;nkCX}VrS$C z06esPvxKJgdG;3%N>EbV@JeBFkB&5!o${aTa$+}*YgCSN*=rY{ca z3k?4%Zx!u~Jigvb)%Dd6|G)lVT!0;WBRjJ%ZuQGw{F_(Q zyf%>nIAT&#rMX-tkrG8H>8LUfz1A8uz6^!-rMHJ(u9Kpi$OgkJu#vgH+Nig|_Ml%H zJorP6vG6eGCEJL1!iT7#^XyYP z3*MC%hM)D5x_@X^+GY^!of~yF&p28;2eU7oTfH~W1&}<(NOPVF(z?%F9lSO=x1aLk zeD_pyUpBFN?o(?2?NatWPeXx2A>cfETPx6)vo{w%F8)|sqLo2Cv)w#nSEH6zM=#T> zEn^T*aWNy;M)dp(v|&rKQQ^#2XtJz2nM(~qS-%4 z&03=20P&5Gc-PErSFKD}B^F2;)1*s&n}=$f>|Dm1K0T`^4uj5oP=h#z46Vy8D^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Bm;EF_l4dQ1{{-JuY&_*LfVi(*LgSEbAUy*is(x`&&)Gk3Bl zI8~Qi_e@`NmRaY(W{zGRu;h5#e zH_h_8NzWe#K9>kI3s^n+VBp{Aib`jd?g8o#d~J&o=y}#{d096u*`l~9SVN($3bEoXEzzDwXb12# z!I(|?!RKMUE1Fejt9@&}M}l9$np2t;518B!sE)ZN=r<*XOVICTR5f~U&|n)qI{7-WLCaSt12Mt zG&)|LTOa-G3iZtNjP*?N4DFVl>IUs8_F=eD33^3JZtf57B_1#cNIxQGZt$JpfA&+| z$Yp(3#I>JB`y5KSMyDJm3UkFD!B8A7$F_RH>tXVN&waM*#Fm|)3vXpX+Owb24IlhN zjTqItSI>oiZ;L$G8|BTVexzhhLG?+TW>U28B?tei0a0TVwytdu*n@W znkx#YyEcrino9`xO7C^w^N$K!~p34brN62Mq>8a~$cu%2V`h*B(TCu6Nwy;L(lA*j7^l})2 zMbes2ONO0A*c!K66u(LCs-V5o2--~(A0^`e?e%&W_tn(f-MkNx|EzxyBKDpz%@|Zj z9{ysW`5emYfYfhTI3xOt;6g`~%K_PESd;-2;>2)xk~pd#72!|?F(*Gl!(ohDv=}&| z{_QojF%U*Q?X@nFC*GLSq|0L_9-7jx$+;ziA8K){GNj-gZd;xrr0D-wbMwD51>NMt z0@>u+#1Qf}9t;nh6o3;3hV#D|*)^2e>rpM$(6-<85FWM$w9sCvu3W%^oQ8? z`#$mv(&}jg%2Nu#gifPL)kR>rv8cuc`BNnNcmlC_dT0>>r(4$I(mWc`5XW9398}X% zqw0#<2kgG``GDxJu|by!xc3L#-0ifFNs1x7nv35o68=6VZKh^ga3-z@hlg78qYSho rB1~oe9gj$gpW*IVWYDV)q^|54|E<>?5cH`HPYtgH0MHPD%>(`qve30W literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DchBbzVz.woff2 new file mode 100644 index 0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}@#(_ znD$afp>k1Q&Ep|htfuCH1&Z6s?gMDHNqImlw@=8zipirer}MmsnO7E`+}ePZVikWk z)pp#BbWB#rtXH>~WV+--@4vAD-yi3b;Qw1PR1(`^S*aPCXy>VUx>|(94gnXKFezEc zCdK*&Y*}Ql?MrH}#RcDs^=GoHl?yt!drY>oEywrkIGWe{T?M5AZgtp2I@2vY86FkL zvS-&71~@(dPCXW-#ag@DK7^RM5jxMpk?UA;41Jr04PzKcDmj4M{E1Qy8n*!}!ciO7*3tz49rG*kr= z73sTayS{7b#{eORoZD`dG|$3UF&N)=f4D z2#U|4FCt5n{{sFh9ul@Fnu2V-rVPetwxi{>TDBB zj!CC@d97}s1EbiQW6c^f3xzI<6kpf$9M^;!d7`>l%=lp}pjKZXA)?8FExPfXMQR&9 z^Bm6O#lC1I1h4OaPyhr->o5Ah*;hr*cX>^6S6Quwxxxj{^ zs-b|;5dpU{#7c7|ZSw=~yc#=tik!M;{rpABe?%P`LFwb{G7Tl;d1eurJifVscC|@T z(wCl8doMN;toy#LE)(Ru2&8)hdP@(kmWi&6&I4y!hcyX=NrYSJF{2~v`*``>7kWBU@? z`(;_}X{s;i12VR%1MNWKRuSkLS~LOLf(C6O&>nPZ6@e{O4T}c!$+GTZlIEp3=@y!q zf=1GZtlmD+5i1Bq;|xyhw-ANoMP&koj{}ob6o;Ov=hg zn8V-?wO5%W$V0+OSkWPlN6uss%CzN9x~m!<33)rR^2nKF%L2Jh9+%gUz8Wm&qFg|j qg61z_0?k?8&OZ^-_sE%yl}3Ckfloi literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-700-normal-DwUXTeTv.woff deleted file mode 100644 index 29ec516bbecb0fa3e4392508841d3a4b556b0965..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10168 zcmYj%V{oR=6YZO1V{MX+ZEIuO*2cDN+s4LkY}>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assets/roboto-vietnamese-300-normal-CnPrVvBs.woff2 b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-CnPrVvBs.woff2 deleted file mode 100644 index c009987852d203709c8a3562bb9526659de97571..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5468 zcmV-i6{G5RPew8T0RR9102N#S5&!@I05rG&02KNF0RR9100000000000000000000 z0000QG#iFm95x1E0D%AqSP6qX5ey2;9K>V`f))T0ffNBY0we>3C?xRlRVbK+{ZV=PUE%+(X@1N3MWKhX&(E?BjL;#JE(5yN&sMlGIlzO0>QL@- zTB@v8#gZkLrYpX0bwBCM0qg+s1mNHYgczo2G*<;&JU|q#M&5&REM+DS|7SC8|KHsa z+@0QeWQX8PbG~rVNw?w3*riL;jAmDwT}k6TvrcOUL5KwLle8Dc3b@NlWxEO>c7PR9 zQ>AF~(v)diS5X}pn-4z$f`kwWgIK-2 zM=)a(_JA$vu&Ax!NKQYj6NzHZs%d~)8c10kq*I^ZUd-hdv`{(1j2_>5_tT%%%KGmLO`bKO$6 z^ej_|s5be?DOUs!iSj~m1!C>z)1>dnJHWjT)@hrsc$W@7IxY+Z1_67cf`N z@+v^ytw0zIQ4`aKl@UcoQCGb6tD+;SK|~l~8%41+;N+9}7xQ1(`Zh^)2t90~FqXvT z$&$%u^RM;Ks%;E3;{R`kx}j*<*dxEv$bY&8*DLAHHM}4SNjfG-`xl)K) zWvPwr$keza1|^+RSTYcS;OooHA|?glipuy>kFra|}lBV{4WJ4*JnhqNsk5CDWlDLTyjY+cIR{zDqh55zJqGyrrG5$x^k`fDWUR9qGcPCny&wsdNi45=*(;5jAN zxK=e8SGlb zY-#5pHIQiKioDnnjjtP@UJaQFA4-WW7ekzcb&P_jItKcNJy84Wk}8eTlWFzre#G?FXaj8 zi$Yhx)h+vTg8CKuO{>1=hWE~acH-8EF4Ru{~v)IG^r__$f^0kxRr5>|R47wmI z;z4%6nsB&*rt!}9!kLeD+H;5>9L`^QWv3M$=?))*X|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l5g+6870tEX5x>@O}z1W^U3uTo8I2SEG@$V#g2?e`4X3E|faxjLA(H?{ckNX!b- z%R74#%KtFHOU+l5XhjEIm7L{b>2)AKRbC5dqUIQOn4&3TZAl3g;YS&X73F`ll54-q zoR?+z6M_OA^CtXJ@`E?2;VJk71a}bdS<1!7|2y>>u8@hNxC$2h*0{cLfaXK%SFXg# z^n0V7*a7Bz30VCkzb|B9b-on?uE<`Ms@f|@_(5JFnz!M5`L*u^m^5$^e8(T$gUMq+ z3QoVi89{)O+CM-ukDVGYQ`)Y?$sZQ)GCZkcX92eWC-Xb=oA51q&BGjgFU916FKaKd zhwJ>#1w4{X?oA#{?o94YZcUzy2StkqpjRDmicUvkFMqjetFVsN$AI0s6|f_l54vdo-x4%P)~$}^P4No&dsUAX~Xsx8aVoK$H^%B4QyUJppXK_g%jtZ4-=+>gO-v_8lhZ12RCSerCy?Tt_F2w?K+uibu=vHuo$k8SE6DG zCR$5qlozN~Di@gASFJ`-u3QE>Y;onuM^w8fXChzRmn&2fa3o#1&Oxq9xcNt}Y`CsM zwF0=M&u;!AS1#ABfgdg6zr)qBl8EpnD5rnh9Q!`zd=9p-r%li3Oy25<3o@2l$ zVLvx3g8?(%TTeBnd$V+Jj(3vzrFRuX^3GslQCGu$>Yt6J6Of72ycb`^74Nk{<+9rM z0*qJLY|vW4F|K$oPOH#Hw9VQiSXi1`Ez}B_MKiyjRbf8RTC*P%Si}|YWoska1#Qv| SIH&J9Vr~U^zi5Nh0001)vX7Gh diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-DOxDZ6bW.woff deleted file mode 100644 index 3cb04e5ed5d5f48e2ba8c1f50f8044c395e853a4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4768 zcmYjVcQ{8h#%XaFib&IgDd?hNTD{-5%|{(n+aR#622G-Z^= zgMuiq2l%Mz=^CK4wp_b`af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0P!SQ+dldxD7!K^UtN`UEJwp3NJKf-)LAL3%z;##V zc+;(RVC27f%IkggdI{4O5JjDY69;QI{~o*Bm&1KN2iuFs*b|pY@DjOfXvDKosnon6 zN=T%OL)HZ3)F$3To)K$zYT2!_@>|(`_7a_M4!)vIq2oi~@er?|vpz0_r_NauOP>QY z{|iidk4X6+if7PX{6#P!XK-n8yigPuwcGzMJ;W<^Ha6qe13jIc&Uc!tc|0ZLdXFf) z(EyjqN5iQ2BV4~uF#=2uwF+lnw3bNn!Jco}H?Q3u^~pE$2h)xYYt`}+dUqI0e^$RfJUGQDe6zw4b6EwQ&Hl(K`hS3z7fr1f#v zwLZr2WrpkMu6|0o)d`#fA~9w}NI64o9+F3dm?@_v+xcjh%4vcDdm=?m|2piBcZg#v z4?K|4wU!C0s=s6CJ6$22?UiiiAKRS{?9zaqL50RcZ_eWqH9^x^R_0Aq;~=IWp5^Lp zuZ`w+UHVq%aT$odxNA_2EjF~qE7#4Re*b=UE9~J=z<+_S3&X`!pB$LD^ho7RfA}q8 z)wSDL2`=I{%rsC;6YgO7gf28d;$FNy_+z=#*79x7uzvVOU%9?TWzHRtufbp?ug<~70Wh>^Es2R#P}pXKL+& z=K7?Dp9)e+5?i?KpBe2G_{rr-Q{-t3<;AAEMp^yw1pbJ%MUEd)KsyDlFz&%mF8+|j zt&)$eK6WEvSF-y!n!sMGa50G6%;dNJp)HZ|6*K>1rq!h17%_foQvX{|(Lg*v377$x z|E(_I;d}-iK=%Z&05tyv?YL&VZd6narvZlT$%mRzKOwLReoL^AT!9)je>4XI_8=nG=;F8K`} ode0?d>~hvH>DB_{Ruv=pZ~jrSI}mzrM!-d23IN=UXp_MI0VK25SpWb4 diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-300-normal-PZa9KE_J.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..a7026d4c3afd9c83ffe3acd3bc4dc11283d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ZDNhe-O zfEkoXJ*a0uVi|9)61gyxFKQ*)9M#j?HYd!F$MOCC`d`mS_5{GU{}gQj_#?vp`c?XS zbxVJf4{X5z0xXZMiU3>Zh`>M3r9fVH^&cuu{+=_*dFmUXoj>U;uMd=A6 z$&{&_PBGk9gv1R|FIOP1Pb#K48q1M5VFe~m#c6FE6Nlx9K53c+zlTaBxew$#z>rSKqc6W!;syu9ARlY0PDr zbSM#~@>~E9DX6#1#bw8e3$_yF8Z+6kXAxUsc~Wy(($6~WI7dE_{KqbUFAtuAg!9BP zgDrbu#FB^=5aS4tE;WT2^}x(CW;*BOAT7H)m}#yB3fdRu3M0x3g|Z}yk}#2^>9L=d zt5n`i%Gq>~1#e3oHV5Uy`k5fLFh7@3Z+D zY}{@bDPlHgSPAvFU_yy&Z^cvx*+ZB>*?i9#jHTNIR+Snuuh|+eO7NevHBm1N;yN^M zZhwxQ(7TG`xF#7Hx1Gp_y3aDx*@@hIJ5zntjJ!=oA=Hi(`x{dI*z>`#va*Z~1^<6p zJWQ#h{Na!;TrgY%xg!gQUG&dZJV@1G7cLkMmc&wr^uII>MsaJY5DE#JRG4=RG4w61 etoHy$`GVniDRoHarD@B>CTK^RVsM$aMEL-YnA8pc literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-BkEBOAV9.woff deleted file mode 100644 index e65d4a9db3500d33d38882b6a8da06719fb85aca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4752 zcmYjVbyyVL+n%LC5TukwT*{S_?v{8ZmhN1-Szze}K}rQAmy&J}qy+^Ok&+gX5~U=T zZWh>Y@%PVnuDQ>d`##UibNZTR5IRqu03ZODsFQ))Hzlh9j{j3`*#A#zDymNa0HlJ` zAUKEsXuw}hS4SVGdE>wZ0QhD!dDloaeM2Pxz(e6|#BPvE@r*!6U*IuL8^duO9BlmQ zKO5P5*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U$O(}PlFrnO~B7YZ~^tpAhNA09nWy7)guJ@dK z(D%t_`6kG?iB0exP*?V6j963390Lsh3qro^-QmBfo&xC|T`*lukqVN)ag-GIW&bbT z#3nEso6+;Wp6>3A^ZzdL@0Npf3F!PlfHw)j0WQ{fln5figVL&wehaZy07bS?fyg{c z40L(OsNxM2QE5~Lgo+RpMG1iiXI3|O66+`F{fC*<`5^xkqz^6!Imzode?8KQRA7U_ zVlVJD%?hi98O_SpKANm2RJCLc<<-bLRERTLef#m!c_X{Z^p5iv3;x{F9+kJ`f6QBH z9eVV%PeLYAc`DtqTR!lqVOSnK!24&w&a~Tv{EwwB80ukL*@Na5|E>vF|rZ%(A8hBK;7m4jMK{s(b5PJL+Z1@$HlfHuN^1w%#`Og1oO)0j&kKDkqul3vNDOm zB0X2wiku9J`%uQ}>sBBW+Y&tVMgG3p^-uF5^I_+etY2zn+sV*Ha^V#HVyEIl&4cCiINC%W6z zch1%4*LQy3D)>^j=xOXj2ECF>_=s%lyvB%-Zc0gis;)zk`b#$l>lMzwZRN(zw&?|2 z)e~t+@LKKoiW>gOG+K%Sm5L>{ovD7^B8e{_))I-W&QOm7P20N6F4zq;vJjr&+CmFA zy^LNFt%`?G&Qg~*FM~-FzN`0p*4r(`%A*5U>SE4X!}vpmV{kj-U#t#9VNJ<-$xQ&@ JAsc8M_&=dRyQ%;H diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-D5pJwT9g.woff new file mode 100644 index 0000000000000000000000000000000000000000..cdeb26c99dca634d3dedcaff33b0fd5a2d336ee4 GIT binary patch literal 5000 zcmYkAbySqk_s1VVbU{j_krsgkSsFoL1?fgwK$h;1?huu30VzoVNtF;;I^CtaOLC<} zSXg3z%jbOm_}%lopE>t6_e`BRbLNh(mZBnn2jJ{}6hL-UvYO)j|HzH^|4m6=K@kA( zTrGnPDs@y4IeuTPaL~-(+A0a0s;5!oc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A`ulk%n77euGwWWh5dL$wl8(0c83NuJmJz&+96a-ZuD(d4Ip4vp}#dX5= z7eeQ3w&jkT~IB0TjN!TD}>}uRh$6GP5YuJDDG0l!RZXEIM^Cr48$wYQ^x-FUm2?RzxZ4F z!8mU15JrrQ(&-_FD8ls|h7g7^%Y@Am#l#4A&a9CQl|cxrOgfBg80#<^XWI=utFRE+ zbqfX?F%l3a*mtx&kb-_kV2L$ka5$(S4TD%85QYk)9wG(@Vbnsz;V49N2{tkM9fHJi z5hNVfEU@@sU%V&47#3qD+f|&zAGG?15ts7;jzTnHFN|s!jW8-%9U*@8-d#l%lHq`|-Z&7qbW@RTVkh6_)lHlyQMhYedu)=0~)w zC?O9Aapi;BXb=-=D%)wswOC;ck(Zyg_0>{it(e|G8J|?PeyWzPs0}Iv|Mdv?KZin% z8IRGn_(t`uv*g;}$!?!AKC~gNeTKJ1QEN_iD&d&eh{ls~Q6S61Z zh_%Uldu0&tpnAqaQIIFgN>E{^phCdH0yq>50Gp7l57E-;!)V($9XCxUz(-*%*GFX` z)YMkJV2{O*Hw&;|&@+(`@tDAuuD$ye^&c`rYKnwL-o$3nS16 znlqhV4>@vDG*fC(FWHibO_v~KmImus0m33-oXn+UObRjF@z^q5id#(qt!boaU?0-O zrlEa$2>0T!o@7|dgo)n3VdQBiE-8D=VHxRZJGqgmV7EC|aT&(@*-uN!w2iQw3du}f zoNN|LX4fo>l~~GX^}@jU<}w#5wXs$*zcj(ehTRcLQv7XYab#b0vb}7iG==>h$?_}X zMm8cVZ%nUps)0YgV0IdkMR0u}{#P|sUa#6&<}3USYSNQ@gdgxT{0n}L4y0#!9nbii i`m(RJGr<3&0|nL$_!)l0&(Z4&tOsamhuYam9Ksp(m-4It literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-400-normal-kCRe3VZk.woff2 deleted file mode 100644 index 6284d2e3bc4f41a8b1dc580c489b85cd2f23e489..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5560 zcmV;p6-VlKPew8T0RR9102R0Z5&!@I05#+Q02NpO0RR9100000000000000000000 z0000QG#iFm95x1E0D%AqR0)GT5ey2=M83C=zk= z=FT9oXFRlV-!M%QLW-d5Ng9qvNHPo0quuxCW|GVr^A<$++5gV&1XiGm#%`(nz;Cnn z`2|>rStm0SBVv(=nXq=ZVaL`+ow8(WS#d_LN|)s_@js_3%WEiWt7|)foeE&4T{;7p zD{d)x|7Rdv1WXX!`_8`G`>7PLfCM<2uB8+Jj%lnkyDepQ|8u(HkVx)2_&IbAk50;5 z|1+0D7~GCiudaB(G1cVYfP*d}TMqK;Yaz8vzfRePOk;-e*;2=ClCf7#b(Ux%M^EA% z%EM+V z($=lZB0VLNC0ik|KLkI4QzBbICxt)>r=CAdEhi;_vm?wr(YSTpVAz+MjqRQd%!x(R zncH4pPhgXz?OTJxiV+|K5AewN>`4(6F&v+60SX>Tlp&FVNvfNdW8I6J3*geM_#lyD#RojY1uuSZ-UzLQt77*o8|$U7`E<)M z-pGr(SC4IH>+$hn&Qy0Dues{Pgb+X(_KQ(% zDV*N>wZW0e7LR#Z#k{TQ?W05`-vTBQ6f=++288452JUj)HP$>{HNk^ysM5J%A{ukU z@qYwD3O)(~XoPDxrNYqTxo+St#|MORTos;AEa05Dh(cDp*5VRbRF@i3!y3c<5du!S z$Roirg}cF>iee1{5nOq9~@4fpm!|>x1qm-5>gUq*4%~5QdmYI?^czvO0A? z>V7soE9pGo(7&U9SO3j;*!0ljVZ;4<#2&~0z!J*Lv=OMb)-}l@EmI-hA`X)~ryNpm z1duf1L3!GVeltKuvr*1E7+r+&OdXZ@55<`Tc{>9EPy}ER23j;H2vRR8B7Nc!CNz}0 z)IcnV?8N|y*PvJcF;g0-1;s#(<31OKoW2X$JN=l>n>{dNsb{A-xTPfm%;(E|>IJOe zE&hGxL8PpK*`ipjTZ$&STA^2+%l$QQi^kL_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ke7BujY)O8EXOk5AQ}07SZr$1O4?K? z(zAs!wOlnYj9|D&T{^|LWAKLC>-fvj42!IC{hW+K22)#Z!w_b>E011GENlnTF=8i= zKN`2iY|e!2JUj7;m5QVkpB7w8!N$7z`*vm@Vkfqy{`3RIIWC}`J@X&re2j(8Z*SPq zDeeQ8{xcdKI}BoHK4YBBc$2_?GEQX!^9Lyv`1SrT&isd?z5UQpcY8}q&WX-4n$LyC z5Xurj1_V`5sDOUr!8YP9B8pta!Lcw}g+6W(J7>A5M$QkA)5Bn7%#YMUqX2$=Ei$Ub z^XEj~mdnESco=wud0^xuQ zwilkoUXgF~TJ`;t4<8>DFL**sELBeY{9{*lHe==I7nxN1?3baJ@<|2JAOP z)kR8RZ@r!50lpz;WGX#p?pMySKA+7TxGL6AGx+R_4#7Cx^h%&k`)FR6)v4g4o+-Z) z#j+132O`{ASnb5ok8bPN_p=E`frdrnqBVE7425pI;+j-;t+jeNK?N;CC~zkH_2DRJ z6*{CYUVwd}r+ShG(J-W<9j3i4@kFw`1zyi>@Jl)@&ijuLdm)6O)Wk-$_wYMLs|3$;{83jS(y){W82z?CR8K^Vv+N52V-g?T(}WLwGZ4(nh&01 zruA*F7^iVHsIa&QP9thj>o&GchaQNW{7tf@jxBWWejveMu~W=(aQ8r;Z={;~q{PW{LEXk7QDvbpIh;WmQ0RICUn83{d diff --git a/xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 b/xcube/webapi/viewer/dist/assets/roboto-vietnamese-500-normal-CcijQRVW.woff2 deleted file mode 100644 index 6b0b4afef95479fff34683895510f679a5ebd45a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5604 zcmV3CmxKT719J?g1=`;t*omE%DVl-mx!FcDRLO)EiWF%n+<2k; z{z!elnfh#A=$8#;!oA;6mu@pLR*NAVtg+#ALiW^f_ySP*^v)3)`y^K*nwsVo&Xm+~ zQXtm}w{@t54sii7Pz1cVK=4512TJ*thqv4N+ieF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idT1iHk3 zlu(p`#DMMHN}|Mw#ybv_ui(q3kTUfn4;9`GnN4#^DGx+u#AgN!6;m`d&MN1jMCNER zC3sBY33*P6$v?Mr&Yqv^pYPQ9|8N`T)&PL7{ilBh0Q|h!|Ks=Z!1Au!PBdT_3_t_c z=WJ{M>^?gb*)Aawj)woE=ktO4**2hkg-AKzsdM~7R$d*-7k#xWWEtew?R!J1xX5J< zDtEdXRW`|NC$!*@NW>K4w+9pPzJ;y7o_l|zdc8KkkLOGmVMRIbN>38o#hC&7*$~fH zT@;4lAQ4ZVHO^+e2a^?M)ug4=w?^?<~93O!lx55&yZi%DOQikRI8EfVJJp}$IAP~oLi2C0{i`15*bf%D#QS6_ujmv?v@EG^@^qA$td5Ppxy(pydA8n5Z5{NJE}~ zj(OENaxo^ps!^&4GWAtE&L zmbgN2k0QsSkStM#-^k^;cRa^Y%OdP z2h_Y%D1u=P+1BK+f(7g>O!)eC_<@763wRj7_J#=a*c*mJd?}nRMZn%jGROuKRJYz= z4wsEE5H12yltBIh#E_s)m0GjA1QX#5AcXJ!&4j^IHZD0d#Ii3oqfx_GW_?8=2-kzLd-Uqxe%1V&EM!%(4*;*bwyq&JniFTBprbG<0t2tIqCC}+3vJODc139s zKDPaF7@ScM=a~%9xHwP>RPeuXqtjCPplBL(Ky2$`XsIb(5fnI(Qiw`j49!Lgmx`ng z>6nPu#nN;ooRpH{l$h7Uf$NBf|AB~mF*Mv-Dw1ZUW1-8Bsz`}&h^WXj&y$Cu0RRBJ C{StNn diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-500-normal-sraxM_lR.woff deleted file mode 100644 index 7223257ba5965ab0cfb30c0bc1d426eac2ae122a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13448 zcmYj&bC4&!_w{FNW5>2_+qSJ8+qP|U$F^b?) zH+eBJ01)7(u!IBP|GUdd{Mi3v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8*%G!!a1U)C`uOD(;)B61WdibIF#q=%G2YMVd-~Y9zoz7{ENe4YE8bRT=#FdG69pQ@@ zz(K-EDMXccQp|fU2cC3q!lo&=lAwEp(Jo?}Aby1Q3XWreC}=eXACix%66iUH$|WR^ z0gPe*KU4?r+OOCK>9$Ym9nwot7$wO_eA17sfq7}nd=>m@k197@(gx(Vht%cob_eEL z0Lw}-m)yjKD`CC}_Xz!&LE@4qC292u5$P53-;tT0q2~$^2S5kN0l@xe0scFG0}KFW z_&GWQ^uO=CXCU#TvNkZ;2W>d?#~3g(i3k2mU`+n`o;{+nm^9A4AvScr#az l9asPGcYEO%1p@2i&ujlrI}Ql?)`X>m)c^pf@PXz5{|`oB{SE*C diff --git a/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 b/xcube/webapi/viewer/dist/assets/roboto-cyrillic-ext-700-normal-CsrCEJIc.woff2 deleted file mode 100644 index 639955285d3da100daab6772852ca53c1f55d071..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14684 zcmV-iIitpRPew8T0RR9106AO$5&!@I0Eid>066#n0RR9100000000000000000000 z0000QfleEeLL4>*U;u(x2uKNoJP`~Ef!+*(#C!{bS^yG(cmXy7Bm;*q1Rw>1eg_~7 zf+-tvcqQ!EivrFA5TxvRktl+V0|F#`|HweFaR4ZG)4~6LN}xlAg=q@lcahn0hDtpZ zTPqiu2A=>17pjEMDbH6*bTs*IH5;dbV>xM&Us{9`&-<-?WtKy;9HAjKJoEKBUf$EB zW6wDHe?LN5&4vk8sD7SnV=-lQ|G_G9w3FH)B@4x2ydY$exP&(KN z&m;r1$a8?;fQ9_}xI7wpZnylAa9_#w%c95OQn?g#yYNB@V~?x;;646<~kH!etrF`x>U1D;UUf|dQ>H9c_2)tJ@@ zwD^3WotiKcs!mNwdY(Q6jzE)PyPsn+9YHuy9xK}B!vE%fqP#JQL75^@%;VnoH4o-=rQ!ZV) zvszV+i&mj-{Mfhp16d|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iw3x3SS6_ zO2{!0M&4~HEHC*{o5av}{azG69>cukS{E_Vv-9OMM+A9QYte2rnGQnWokDDvyF$uC aWLNvI&RPJ1zqH}0;k5t&8bXjc!2bgpF!*-> diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-Bx8edVml.woff2 b/xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-Bx8edVml.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..b61eed30c07496a38143fc03fd80db68382b102b GIT binary patch literal 7180 zcmV+n9P{IMPew8T0RR9102~Ye5&!@I06E+M02{3U0RR9100000000000000000000 z0000QSR0H|95e=C0D=w(SP6qX5ey2@9LF&WflL4rZ~-;~Bm;vK1Rw>1dVFB-d09Yx-|(_O`s(>lmnId}Yf6n*5G${c65(cR4M+P|{6pGlP-h|zm5ja3|>uv$# zZj?A zOcFSRC42q<)_!lkIp(v7&LWj$vmdn?)Dqb><%?MRneHKRI)}#DtEIZv`o6wMx>t8A z2S{kJaf(I&dJKaMNJB6H8qgc=0$?Uk##rVFNwU$cFm7`b*ccmP)0O}KQ%m}-%mq#$E28tD`12$di(DlquKURAvOXh=<@#= z0?+~gKvCo7h6sy5BqShGQV=8(g2h6JM2M^$M1ewxVigco1|fz`LLh)<(2C(xrZskg z^K)-~5uD%aQw!ky8QWY2CmeuWCjhc-!}>DF0R%w6!2ndhpahfM;DAmM0eUL#x7ZHk z2!qj_hRvd;nuM@wuE@{a)J@g$=c0Vh7V+krk4+n1Rhum1($ZZTY_d^Oli5*By=hp> z;=?<;*$g9%&MR)DOxU-qhdrZr%W15bK1-9M=;pYNoDL5X$;p)rq0>s+-sQU8Fzh<<<*da?Y=%H%&TZ* zdg@x8Qp4y}*QNtMh2YXwva19ID6}0a zo6-|BC_PYz>*!(Qp@?X%cJ8?``d5FVnZN5x%~6hqDP6tK*`Gg7L&4CDT^YF^!6A%;<5fhh0qR?18K~Ax96{^)~)S^|Jb{)D5 z8a7T&Frj!0jG9F;5E_taT((iU=BU84BjL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/viewer/dist/assets/roboto-greek-300-normal-D3gN5oZ1.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-D3gN5oZ1.woff new file mode 100644 index 0000000000000000000000000000000000000000..0d6b8884cbc77c10da51c1bf6b5feab6a04768cb GIT binary patch literal 6444 zcmYj#1yCGKwDq#U!s6}_2*C*sfk0RwNPyrHB)EGB4vPgRxQ7G?7TnzycY?bwPLSZv z@^8NXy{dP+PW7Bqr|;Bs%}m$59xAf302BZ+C^-Rm|K{guNdBMlkNw|}la`SM08pfn z8UzU)U@ovkPE|z%sRaW7sCEDVNd0*RlcAi3mJ|Shc7pWqBO#E8`vs_?!OaH%pua$J zMI?+}nL=#M985kTH6#EX$Q*cd!pz-PCN4-0;z4RS{{a&~Y-R6diPXdZ0Q^h=mBAXKaM627D(;i^G+exLTTQK5PouUaYgPG z1yUpa=X-Jhn0qebcGjT))d1*~Vt=Rui99?~+2SG}t=3t-V5w>prA|x}wef*0qK49v ztJuxVIIi$Ewzx7^Hx5|*3p~+P0G^A!38QuL4*GUWLSOBC8lvhP zmab}aGa=_Q8Tu8Ow#^4G_P1VST(o^oAkr!ei8O?Lesot7M@*iNj&CK7iJrPDiEqwh zk4~D)e6=9^w6f2V>5;M#!Xz=0+x8U8zM9dk>(}HXyRR^LlFX(X#3x{?D|$1rSSl!t z`z27q&qBp|q}q_yS$EgOW@X@)GiA_Q?I&TjlmO48=YlF@g zXh?Y~_a>6Ke-=*2kS3?>VCaL7z+j~Gq{aj$MGW7SDYCAAieq^Y+D?+He+1208N zLHWkMxzFu_7G&CD_k=^1^o#C^-Sh{bO8mlOSbToD$NgL6O93%JdG=t9D6Z^HDp%TF zZ=N8hO5(PxML9SG???a@JA(GDB|rbKB0K|p_b<}y{sWH&(vwZ?sE+lPdKFh+a>HrA ziqqxAuc6-K&(lg~P!-R@OECBkQLCHx)0=->n?6Io*10$}e!k!z_vj?-kvLSArEpYi zK5NToJ5U;=fp0ngqF;hd4BiYT8h zeOF*9hi9w2HT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er/dist/assets/roboto-greek-300-normal-Dgbe-dnN.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-300-normal-Dgbe-dnN.woff deleted file mode 100644 index 04a5b7d9fba52a2ba54433f7fe9a1021e12a8e6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6444 zcmYjWbyyT%)Se}GK}v}gq(LO5q`SLQkfoOv>6C5|5TrvC3F(#&L6B}_DPieuL1Mr4 z_kDkScb@m$Iq#f1XXZTj-shQjyfqaR01$v~k2wIse?5a8+W(LF=l%btC?~G~03bOu zCy$0T#y1RiMJ-KTG#3v5nC<|8qoQlU+n}hcF9QJB|Aq?uLkdACmZt7=UNk3!_SMiZ z_b!TXuyVF=MRVb3zYL9aCIy;RxP?2K!{J8z5B>ufcm#LywMBDc06_P(97hYy-V=LIqSd(QePW+|uFR_Hhi zQ*_M0KQP^~@i|-gpz}h}F#z2^V5DH0x>z{dpgB3TKY<<_Km``wa((UYfv(lR9FP9R zp_~D09|S>n4G5$SU{|-XcVnmkKro)cxRecw{*dLp{PR-eDo`JJg`FYO>NPW`bt&^Plz1SDgoavBoL|2f~gZakM@@Hgr;vC4g>ha^rfGg&_F~3jo-(f} zoKU@LEGM^_`|S6a#E#QNYv$O+a_ak0jkt*AoeQQNr@CabJkcKr@$0D?wh6hQdpFC5 zt7jsgsOcJGIgRhU7Jo`=IIRb1mNS=GwYO}*#2fG5F5EtUoDh5TNj&Qy>gwEkkMBe_ z;OjldVf+h?Nm0jk=Bzc53+gv8vE8;#4Qrc*_Vag}k{izQj$X@0_p@Ol8imh0ZtM1Z z4h-|2Xv!z}8SF#*CokrLL_(6|E%~jWLq45P-z$P5NOcv2$@H{kITM`5M)!NHi+ECm zhiz!ijJp^NYDN90!XPz75pT%kC(>(21=y@O^m9k1f9UOs&P|SAGbZHbC-WlS4(*JL zo<2z~`_gx{)o?k5=y@`ct3A;R)uvggYj0Bx=(6_hXro((C+C#SnZ%Rm*Tfub{AB1? z3!H8^bcOn!F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Fft_K&F8~zGBVxN?xX^~(?}dDj_7U9_+Dg-=0lQWyln~W6xn?_NT#UA z=xK_`)475fs7XkNIyc<4CbxH!Xyb)Y&@B}$Bknhms|nX5^1*qvq79bfs#LT+e0p5 z)1~P_8U%W=T_z2dU0=;U*BmNk4UDB;7n1T6n1wn?vQ{ax>wTaR{~E_%X^SFrHs=Og z4}cGh@sH&Z9REH}tkFlTGvazr9RejhrvgZD3t43qX{91?jtwhO9mf!9A*vM6b)o+b z%P4DfMP@5&4wgSbWEqnIRqd^G@{<`b0C+*E34lu}B$rxRTRiq95?pZN;wpQApoNQb zJ`|-?@KoDSN?fg8jFmVyHhbgCf&#*CnXju~U;K@ImTvsk`!oOm{IFR$ngRR{-TmH- z|Ew9(ZyPYcq2n&yCEJg8O2YHrP zFZ8%7`4F9Jp0E1_OwQ5H*M#yF`=nzZU&ur-2~ML@zGM1TDwT(qF`_{IR()trS)j|6 zuu`F!kI|a2^6Q0j# zKn@}1g!sc#jM`6Mlo$k81d%hJ1kWSZjpMyEMkmF;A|)4mBFo=<1?GC$CP1^7dJ4u|N-ffr3N|;f=xz z4H5}QJkJa02s9x4cwDw8fE#6}HiTdAyrV~rgdV6Ih6pR6JLO>*$TfjBiZtxNjjJg_ z`5^7@|iK9T#oj>tk zidPq}w|dHBHe2Y}3ovYriPi;lYXcD*3c|2CR+p0*haIs}y{h}=wBcB$ASB=qIpCs+ZpK~{V3gc9`uT`3rOd67&(%I Gr~m*%Pl@pW diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BRWHCUYo.woff2 b/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BRWHCUYo.woff2 deleted file mode 100644 index fc71d944a5838fcf1a870298679652ccc81ee878..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7112 zcmV;(8#m;4Pew8T0RR9102{~v5&!@I06B;N02^ii0RR9100000000000000000000 z0000QWE+f195x1E0D)u(R0)GT5ey2?bjKMBfk*%nZ~-;~B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I@Z7h9QHGjkKh5&$< zbX5repFsA%{+;|gepSMF05M>^R|)3*9}gg=w=4F~oE+ZKS*9l6G^@%#0NaZE=EZZJ z|Hh{64oZY)1m+57&G?7cBX0F*%jD>WJ|+JBcJE1z~J_RI88=QwTY*~nkHG@`hMn^VxHzVk-xIjwr5Jw zYfb5{kDBM0Aiq@=TVn&Iw?$S^L3SwKf*;2y1=3C0NH1w3JIE%oN42W>9n^S6?HaiW zlHLaa0Zc`dX&B^@LE=&hT#myZEaZJ~kck190AMF0G%ruaSUzqf?nauQTyU`JWX8cq=*wLScn87nrNgkI=)y>(MsYG0#Dyt6n{!aX9FX$L%gkc)Cm-ioj6I= z37}*+(fkr75XlLaIB)nm(fRl|@j|Vr*w|o6Q!TYs5^O0Grr1(+rB-6#HAHNsq2w@P zZo}VY1gg$Lag(TQgjyYeqI4SZ>HhjLW59?t2SyZi^fsayU6!9yfP20AB!3muxqji4 zytKYR>`}aU!K+B}<3L!)oy)YXk|>9?)E$^>ud_0h1a9B;q$HOF;oVziA9f|R> zN>H)mjn()i=%QZ>FD}7cnQ42DPl9#qep-q{!jLq{;%PXh!E<$|6v_;zpr(0000rYOtLE diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BnGNaKeW.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-BnGNaKeW.woff deleted file mode 100644 index e93ee938c08107ba9a8e5d7f43bac56d24acc2a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6348 zcmYjVbyQSew4NDqQ0hlZNOzZnbSou|Gy?+yL${X+EPXIE?3*4n}f z03ZoP#rzxN&Thij7Db{sB#L{E0wYc{CYmkG-5bR%qUK2Vcb?6obiocz5L6r)Dg@B? z7qo&*S}+T5)VO4SecHbOC82>GEnwCtZX4wfquRPZ(-kFfc5-t^<*EtA5&eyOgaNF) z=W#pXK;RnyMm3V76Z8rI2*S}DleT`OJ7g)C03vlVnyt@pyNY5ADL(QGTT=~)h<+?< z@xF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N%aO4n-`HL&wOdfF znEegYmv=cazToIdDUeecbx@T*3DZa;x=)UW;1-vA+xhELg^8UO(7&w=BB F{{gQxxM=_Y diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-IIc_WWwF.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-400-normal-IIc_WWwF.woff new file mode 100644 index 0000000000000000000000000000000000000000..f8226bb9c657f183fad9e6f9d7dcf6340ba0385c GIT binary patch literal 6344 zcmYkA1yGbxyT^AISaxaYkXAaBZUkwhyJ6{)l%)g#5v4;)N@Asv?v(D3?pWyt>A36n z-8*xiGygg7|2NM$@64I=zGuz@SCf+i00F2V?*rid>lrvu{y*fO`~M*?BP$000A)~2 z5+!|5E~r>uT}=zcJ^}z}jsO5ylOf}|sl1ksGys5pjLP9fi7x>+7^J4f%>w{nJVW_6 zD4BbH2@SGzws1u;lmP9hIq+zNm^y7OJWw9|0>yCtBM5-V*2%{P#l!#reAK+ep1n^r z*X*n?JxX6&yXk|RTr5#} zq<5&Cp?`W7&RXtl;f;DPSs%(jMTrg&2Ke*V!r2`od;^B!}t7;S@ z`j_|U46yQ^$L**Af;0daUZp&i~+j2&yK|q6_+>X-3aU!ch2oE33K=f*SzJy;0H#q23 zfVG<4P^Brgo57Za{Zii#H;Rzgx{pF6{gr{GQn zb|(;fxeLYT$mH}Bx_d7bJmFrge)$JT zsGH|JcQtN4(vm@Il~VET?%tyzJ1RTQuV+Vo9gO_VXJRnWGosasrBgzfSg5H}q+7bn z|JtKkUAg8BdyU*)jbd7jtWk}MXtkOAj*v}X6|FW*yr^9Dl!veLVVuKp+R1V9=^kv_ z?iOQOt6V~-&;+3*YQXPR3dHFR-yaPTo>@U=>ZFqTq6yllSdj-p|1@_&W$V@b}p}noOG5mQEocozNLV_kQ zZUyZYf0kM*gR*FPtr(McAFZ-+=UZd?C5#s1QvdwKoMA37_TEJZo-k0FrF2kaHSNIT z&{qN(asC}E@V0HqQJO;NpGCwRK_q*G&>O{f~dttO;@5Schr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&2nHNqy$E7&33cm>JW^puRqSVVMYccN5-h%1MRf&04MaV@4E20?AiVsexuRb<)t3 z<)#f_D8CDnWetJO0)k3V60Kk~Xs*KT7Z#{Nmz}TRnS;ktQCCk{S`}de_pTcA+H`6V zZ|~kxwtvH%B>TLBwH*^FH9EZE@IXFAM|7WY z8q{_9!q&31noQ)G!~ZUOFXd{{!s|U}%0|ZKFMGXKnNbcZcPRfeQ~vVTbCn)tqo*DV2lDtIGc@SAacJhAfE|DxcIA00020K%Z&= literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-Bg8BLohm.woff2 b/xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-Bg8BLohm.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..ae4de2f15b8f561c4e4ec48e1e61adf26f6118a8 GIT binary patch literal 7028 zcmV-)8;j(3Pew8T0RR9102_1w5&!@I066Rb02>ql0RR9100000000000000000000 z0000QSR0Fe95e=C0D=w(TnU3b5ey2>V8wC^flL4rZ~-;~Bm;vK1Rw>200$rpf>RrQ zG6mz96|ivtVAkzkvi~o~jWMtQ(}&1{$?Q;?I!NPTx|BGyo)#r=IWKC7Bo$s4A5>eF zq4QMRXHS<$mu6|>6RT>~*5yG@+e0FMF#5-~D8W1k8dVP2g-%CEGRwpF`_ayO|NELI zNjn<_(niD^WSUv%42>b1g+gc^ig=`%ROa6!oz|?t0JyRfmSo_=0DzP@z*yZqFzzE% z!2MTWUQzP^o$H1cj3q8E(ObX7{RiOLbJ2SQy%@drO8oP>r*_)D{*f!xN{taqf>~op zunuXFsJTDte0!4Zz?0#pIG1;VwY*yLM{tuKaN@VfcbxoNZ&+?vJ1jR53IZk2YOXDD zT7JeDWi$Rzg$qo;52S}4u8EiAF2GM*_zqZ4v5~~C%52I`$qKcEm1TzS|M&Zy_e}&m zddZMFHSC#nVRS3-})@V9_0mDlHet zosnCCkV3$XQkv3vp5%-fCfB~DY^AN)>sD{~u&wc!F>8ix$xG6a@p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cQ@gWL5RX*1LCI#`WN>0C0>r;lmOwP$ zm+=};^c*1jp8?T(MDPrC2bf0F+P`7ApN1Jh-BA>V+L8Zje|-r{Q`6Dwfu63e^!t}v zIrKKz8en1ubigwLgAC!<=tGkvlYo z;-mgey*q+EamVRKu5oPmYLBKV)R*!|y`>zEwJMRUxSjPLh2zW>g;w4&GIOOPRCW?h znz_3ou14)%n@q&zy#FqoA9@D8gMne#u*Wb;7z2z0#s?FH$--1%Ixr)cEzAQJ z1dE2H!3toXVGXbjSU+q83yg)2MS;bP#fv5J??18t;s6pr4Z!%vfWKZn2mo;d5CF}4 z!Q9kz%~TQPW|>;9gKK^UJ^5;F84o&n>c|8Ue~-nINv4#A5%FUvw|@*`Rg2a)D>)~b zO^ZDM=#I#E%A!36kF_Ru2F<1QHuP&Q9<2D=6K4BZ3r&slPwH!H^6S8>ErnRJcEQA| zjA8Bw8j{Bs{2^a^MrR~>7(;AV1urJ0*{BZ3&FWk@b@}Nz({+`m&WaA@SUq!#3OKPj z;0^YZ2Y5L@0%x}$j30&MIt-X|6Tpv(DDD*-lPe0oBsytx)+aW`+pI~c2`h^sz5 gS)L$e!Q($eeZzkq9T4(hfX#{x2LLu2v~l470FB;}OaK4? diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-CdRewbqV.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-500-normal-CdRewbqV.woff new file mode 100644 index 0000000000000000000000000000000000000000..a6edbbaae7800e4c3bb022a26f891af9e1c6fe4b GIT binary patch literal 6320 zcmYkA1yGw!x5q<(KyWEipadyUpg07Fk`mmlNGU->DemsHK%ltwEl^xbp#&=~#l5(D zakmz`dB5-8nR|Brv-AJW+1;6)=Q%TbyfhUQ09XJ_&{hIS{+*eRG5$Z~U-$n*Q68=U z0AR^um@Gzyz&v1?qL!vEhJ^zF*unq+?mg>wnsY^6eHZ|MQ;*3J!bmuYI25R<%O{9o z`xvi=5yJf-BFWOh+!?b*4CC7{dyp`Sv3DZP-Tr0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sv224;+J?M=9|V>~}9z&oNKR2I^4MXZgA h@yTYxS$1Xhewz7TMhA#MnGkRj7y|%2Oc?Wk{|CLixwQZQ literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 b/xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-Bs05n1ZH.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..19fc4b1babc3c2e2acaee8461086b1a00714838f GIT binary patch literal 6904 zcmVD8zOPflL4rZ~-;~Bm;vK1Rw>1eg_~7f+-uq zF%#|>Y#hLYt)Ey?1RDn=WM0kw>jUjFZeN(_YC}Q-$NUQ>5t#fVW4|O`XK3%z}G8SpnQunuC zy16W6OP1xjtzD}up+Ug`{N@2{fE<7aVF(R-1Vd3RT>oYF5e{py@lb_9SdDSX{O{cN zB~AMvy=nhv^?B)dAd3_jK)$Bk<@aWcSg=6C0I5}hL6Bqh`|a`F5wS?4L|UMRy`8g4 zx0oDZA*zU8Q?)z&H>|7y%>SF3(f>7;V{dtv(bm9P0n=`-Js!XgpkwlQbEA>$tRg$b zQmT`8v6AlHlx{^=Y&pFn1AJ(GrF2v~s+EOaCEx&{Aux}zGQ_0sBX2WT#4*>}JYgy~ zZ%DCX#q_&lZ21wjXyYj1rl!2uHEI@||iaHYdW@`dILBl=yJmAlpYnJ@+d(@Ku0QiHl$m#cQWc`zg z_oe!jYwwSDmBq*yp{VzOPjZ>-W750W$HsWu@v>T=iHzh1nivFo+;CS%r~~}XDO39i z*(akkrxBLdkoUl`|+#a%TwK?R=rBdeNY-3>O#Fq*|| z1gDt-amMP-a$34CI7i@FwM6`$BVnlvt2mTZJ&v%;g*|!>RETm@$2KP(iDUr@24WI} zz!iDZSk%lot?d{k)P!xnV$~~*7F-0!rm6TBG%HZ;5^A|DEeNmFQD z!J^JPiC`316pJ?`l}~!9r`2d5_ye?iM0Ew48Nnm?`7r#WsSN%iuI_ z$W4`VDkFcJE!%0C0N|rP!XsN4&~x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bYV7!+FK%~CZ4kXrm=pd@(ljFhd~Tk`!xA*g_|gWOxVPl3`8mYHu=4-_z!9A!4?rn)qu9=V?6 z8M~ZIa||~e8lq1>wTEPmLA4Y|q)(ZidNR6PR%b zSy~5R%=}&Gds{yn*p6|*+i}*Nq#3fEW7#PhgJIJk%{wY88(+$`IumQ^>)`8#}OpGGih29x~F}?&|KYn-zNr3z9ac%a)I< zJ{uyEC~?HSvLa7%$F?g;My&Hh$QnJaU?*=Mz4*Gdr))$DJ6N`}&)oKXa%ndnG4a;+5Qq?GRGGL!t#?-FNhQEsBdjmU}{#sL7L=~PDm diff --git a/xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-CjuTpGfE.woff b/xcube/webapi/viewer/dist/assets/roboto-greek-700-normal-CjuTpGfE.woff deleted file mode 100644 index a8ca4fce589d2ec24f849805c8c6324ee88a66e1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6300 zcmYjVbyyT%*c}#jVUZL8DUnVo>29REmtK154na!k5~L+WX(^?oQxNG!knUKz;ah*- z_s93nbMDMJbLQUr+?jcw=e|Db^6~&0fQqNt0N%ed%_WNer~G68KNMu;&B=q(Zc$tn1#>_C zh)^ph3s=-LDkxrt!WzB&vt?TgkAK=FisSqTEP%)s;b#K?5DWmoR|kM6b+1#hDebH+ z-~d3ZgYx`0#_jYN%nl`@G}K%GY82=nF+w=)oIHI|S~+TtwEyPWy-u8gaIr%9NJdbe zpZ~ys#mePm;forVG#$mC{{!efI-#?LlQl|fKyj28Er{ZyP^znohbL;SB2gOAKi`8B z0Qa54?WjgW(*(d(&1@YYB>;GXtv4cR{XlcTR4|6ttdrSfeTv&%7;8ut!^3Y)IUpz$ zQ})C6Ix@E{h1kdr%6A+9W=D1AJNG&XebC$xCt|qEWxkHD&dJJYKKebBWSP}e&e7Ov zzD{g3?__jP-2`0bytgtF7905e~u&+gBH zk&Q)9)Sb$cBQQ*y^P-w$c<7`ju2jXv|2D3-tiRrAStt2%_lM=c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WrdlG zc@ck-A<3GS?*cfZ4v|dVD>W`k^m2}xxjliC^~RH>0!NHE3%c$IzVEHsW3Q3KGhali z<W{&$=kM}n}>j0r=C6<9Q(S?r?&Hrvvu{n^YOo6&c9&k z85~2@q&|b{HgAZ`*IbJ8cyy2$tUB~fS7NNON{4-3l~PY0#xL|Qe^DcoIP$lE5FK<* z|F@(G-h?ttb~@X31*$s5)|6VbT5$EA;uZAfP51C>F;i_ZOFwK~e>|>Rx#x#nNvny{ z#N;m2FHX^1im}CYA`P^#Mt9lcGK#na6Zu#L=A5ur3gPb0KdOVfYVWdLCLze52C08)Sopb3}- zZqc5gDWSQcMWB5_YeSm^p@W`+L_j7WH&6m72lNv(0$K)Lp!1?DpJ0UUhC<_^nb0rL8fXjjCv*fl z16_h{VL!)a#}>er!B)pM{_h*I0ulfcKn(!@$AEwJc@O~N0U!XH@0@CU2&B{eNkm(z z7QG|@0XgVKf>P-pv!WF^R9M%|emRARsj82Lc_FiehRznc+&DE><)fq<@hCf7Lm&!W zat@+6X?BDZ9GeZ&SqaOf$Cb;B0YQV%C|{!0Wp}0?OUZ;*cr|?rERfQP4aDIorybaD znf3kgx8=m2-0HvCOc-cvg;H&6DtU7a4gDp>zKiXnT}$nY%gC#6QAeFDs7+12X0eQY z(ULeJPS{U+AUG#&2}1;mTH~Qz>!2#BmP4VqBERvPR1WcT@%VK9tHl9f4~94_I0gW~ JN{u!O{10D>kk9}C diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BZ6gvbSO.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BZ6gvbSO.woff new file mode 100644 index 0000000000000000000000000000000000000000..e58cf24204005e5c3ece375ae5442f0a65d8a3b8 GIT binary patch literal 17564 zcmYg%V{|6X^LA{T8{2lWv2EKJSAkga{+?!O~wKX$(#fPg@L za1g+~;9j4tq5IFc!s$PLc>nnW#{!+(8QPluU_bEzE&asjjVHl{>|pQw!%HOm2SfeO z?%Ni~#2o-X3Jfs_gat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~CIrvCMN*D7mW+)?;cGe@U+y4dT0~!3=MK;&Ai){9Ov|Jd(`sq$w52-LGw4nAY5D>ErvBbYX%sNZ7%hy!#$;oQamrN9q-Ild zf_cWgZz-0r3Rv~6Zq{gPp0&o>XI--HTW>*XP!kLTo4`{DU?JEP_Jd2|A$SfMC^@Q* zhNCU$0){v>E{W^np?C>ChHn#t1SBVEKzfn2j*k zTiWgDE_b)O*WGuX>Lu{fdeyu}UT1HJH`P1qef7Ct-yiND3z7t_gUP|I5QjXh7%mF; zgy+LARM4a}GtEP5()RIt(jjy@T}gM-i#cMcSSPlN1LCB(ByNdE;+6OmS&{ock4i=V3W5g! zA%GwNfZ2BI%eHOXwr$(CZQHhO+r4egw1ZwS3?{)mSOweQ5S)Ws@C-h|KM2BjmngNhc=GFn5MXb0`1BXqLP*2TJ7 zH|uUatf%#|-q+XqUA;Bj5?gv>%WtKvx;3`;*4u{LWSeiRZMz+|^LE>w+h_Z4!7jc_ z?XtVvuDGk@>bX{~n;YcDxmj*m94iXW7kJuZU}Rum%wgzf5MzjBUoojFcj=}MGIQ6ajjR3n?Y_PVu2c#Iz zc#RVVGhXMI{){(P^34_A;*{cyx0T0cd@KTormD&dm#WUBF33{V~olrbi6UvtYNuM@kHJrcph zrbUq~_0@l2to-X!UZqEUk<9*}GWeyUvMFN9{wb5^LiA2iWe{0>)tHz`LsO@%UEpE_ c@1!+)0C?JCU}gY=|5*$v3|IgFDjxyS03^CNYXATM literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BizgZZ3y.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-BizgZZ3y.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..72226f5df01b19b5db8e7fe8df16d93bd2a646d3 GIT binary patch literal 18492 zcmV(@K-Rx^Pew8T0RR9107yIl5&!@I0IUcA07uvW0RR9100000000000000000000 z0000Qfe;&`S{#sk24Db#N(fj9gFF!o3W5Akf#OaJg<1d-f_MQ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R)N6I}!-z_{uKkAhaCyajar&MA2S0N?nN zPzeBjRQA96jfvN|4jiHYM=;>(+3(Lh@d9wX<$o~$M&3$RE|DCeh(eXHnU7hB@_mrFfoj19Tu2RtU}` zR*$4Aq|@Tw`-duP8I0M)akm!H`(W-D2A77krE9PYV3O@#n&Q=&Go;+@049sq7pKRz zw^Fxy7K0`9JNkX&mWciylrZtptX%OrYrs}wZlQitmQZAVxsqP_QWymOBZ%R!v+~N7EGccn7a5=GJIm>f9okLd&>w|#k=C}P z*6z-3^_yIP!_9e&ZI%g%aDfT5L52_XV52O?4i{*H3?JyhMp<+?#+5aH z-4Qx(w?RWgKY#V}TCd5SpP$(@LHrZ>AfQ?yF?dK2fOCKW_IxN1;D7`U>LcLM z0Jjq&!D}ZBzt~6N?MD&Vi6krCpdc^3FF!}q3{ZrN6Ddf5K+!NXs8Jsjh6zdtCL{XI zgz=|h&N(2D+N;wj))3hdMT(_-0u}Zs{7^*WIEJN4E3yG%kof}6DpHi7G|UH7R<82?a^NCict07n+Y-$}##nkeL1GGoAqH3v#hcsQ*F zZgQvuBdGXk&+;mkE=`k;!b9=Kzp92R{z?aph;i1*<-qk8;+;3&6zl*iV`+n63; zu6zw(^Ye2kvA}QBTFYh$Ls4wosV$nFEW%I5u+JXw5^s1(LbWZLZR1hALhp*VFOEh^ uFGj>@j0+sOK2AAecuC2JB9692v%S4S@20n(oR!z9Vhjc0dR`ui0ssICu!rve diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-lq7MgJXa.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-300-normal-lq7MgJXa.woff deleted file mode 100644 index f8ed3c1606507547b1117be1d9669d303d65e4d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14588 zcmYkj18^qK8#VgIwl}tIZ)`godt)0L+t$X`#vqjkJ$>plrn>vg zRL}FcDTs>$Kmgx~>m7jjU#`maUH%{PU+Mp!Bt*r;0RRxuZ%pFbOd#SRdL$GTRKBq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P!s(GUw5xv$(}u@R{CQ3bOEa~6mXY&;iw6r${!pTIfNaZ%%R9&d5lK)6(U8vgpb z->L`7n5Z#OvAuZX>5kSJys3Vb>XD`st=m% z)7$yHCRHQ~1Owj{avTA0=K@sydAd3LasGjG^bl}?Xl#RY_!CMBfkXr<=hBq|XaX&B zDN4ak1I2TxEkLvbU2{o~LE8fLav3#y5M%rkx8b>v82l@?AzRolW1#kK+&T1OIQKrD z*}7r~_nv|%ctB7i$wDw=|DYhxBN`(+#^Bw8za-|&OMBw?Tx2_@x^2N?_d~RW+F2P z7ewO{`_=hGDui1d7W#&nE{tm@oFXW}Fx#c*I8=d#lJDW~4SFr!LA$l4*R6t!dL>ZkSK@cu)BI-t5zL4Yd&db+%*^SIHjr22OW%m9Wm#iH;Hq}y5VR5 oHLJSyebcOMn;(rhJM#A<|EI}jfWR*;cxw3XfI}KWkXgY00lJVIr2qf` diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-BU1SoK4h.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-BU1SoK4h.woff deleted file mode 100644 index 297c0ba82558fa5de7b9300da57c61b9d349a136..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14384 zcmYkj18`X??;R3G@w!F&S%_dh@ZP)x1dOuji!0Dyew+fIDaq$v(FV|^n4fKl&T z!}=fIEoR-#zR7Rydrbi0H%MSwA@a?v9bLb<=5ISf006L`aNycbR`X%=?mI7V6fTV_`sJf~_g9sjR86FSf6= zcfyb*m{^jv5F#)XIK4$gL4s8PxUPoJf`)6$qXz8wxNcQgQ&aR267P%JbETr`~BRNS1Kf!wCj9_O^T!p2!cxVqo5$*p_5uwJliSDKG$9GU@2bjdZ;A-Yj8i~f&9qOy$CGsA`k-Fa8Er3R zm=^|AN&N-Z6~haVi+Ps{whx_*X^RX<82LZcj+&HeoFW1X^y-voKhjot*+W(1FHlAh zUy=InMAts{81BJ+V2(+7PjEmec2o&SNI!w|9-+~izuDAeu!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ypa>z3bl=`h5AMyu$@rTs3p`60(FBe zhq}*>u`Eo7y##v<>HympTL>k@^0H$zXcjcs{-{MmYTGrcASG$!uye~In|eVk+@t0< zTbo_V09m54-(bsUCBUA9?Tx^`V7f^j_95&A*)jH{8I8h~XY*M73AwnOu@dZ4*ekNV z3j0NN%q6s?eh=xF0uX>^X@Ex(R6qd08Gr)J0vaFycE|w-L}38%0VTBxfiCP=g#i=V z+i`b01*@oF#k^HC5Rl|DO9*_bj7FVq$skClVF1sp>eA5p1pzPvQm9i1B9nb$4!hg#+a z6jBj9*bN(D1;czzC#+jzq5^Kt0X;{o9FkZJ=H*VPffs-agPZk#z#I7P9=~&pPuz1J zJ3dok34dwr_GXA^?HGSp%?38*sNt`!s;Prbnn_{Qw3Nit`1~CVE=Z+;buKDM9Z%zr z^Rv>BNfRhd_SI8NgJgy~>q@5yx>@Qdi>4h)3bfOaojRNs>gb<#PJ literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-mTIRXP6Y.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-400-normal-mTIRXP6Y.woff2 deleted file mode 100644 index 020729ef8d353ff843438008300bedee1f519380..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15744 zcmV-`J%7S?Pew8T0RR9106l;J5&!@I0FHD306iK20RR9100000000000000000000 z0000QWE+`e9EDy6U;u+42viA!JP`~Ef!ut7#Cr>b3IGy<5CJv1bO#^| zf=L@QeIH9Q~s*wo$G+O0+bRhOPkhty_{Qu_!%|r&d`6R7%PDO=Kghib} zYZTk-J<50vIaqr2U;|0mCp(d`IBl!y{hLV*M5nHX)qqwHgCyFa5w^n_>hw9pRP*yvG;mAb1lz?~e?h?9qK z?H~V4GTFUb0>#X(w(OV{AuB*t#~)sPp5Nx5``)9(07UFR47AbyipA1u42+6Z8o3r@ z+00eBY^yeV*~$QIvqMB(t7xxu)785fkr+`p3kwSy!9Y;4zywSbW1I<4(AduQF+I;|0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w9&@%(Mjv`U3XzSaoQeI|r!k+S&+JltaZSZ_8`Lg3uX-FlREm&=jq8@WSY(B>d|7`cO3oL#X=Hj zTbOi1n|wemVLIL(o^Fkp{K%EWuX=d&YVL)_82^(~Ke)6k?vp;pR;sYAbF5G){Epta z)fl9d3C}#C*;b~Sw?x!{vbM({brmH_sQ*VJwKa-u>)iW1=jk%5$x&e2q&sJgljt+= znSyIlMeWF$1{qbOz$&FzIV|g%^yF4Nck`PuTvKfHcw0qwiED2p0RMZr!2fRn{`VN* z|EB=|->KMvcsCFL==-alDNu7vZJx(91yRib#PKyP<)WEGJGn=9LveFF z+O)-sMakg3)nM&qKq(w<|Ky1vM*pG94X=jyK zF=AkT%@7auH_j1C5m<@E>iu20)s2Lr`#fpgnE9~>R+9M! zYr!hA4y+-oV4RPH#Wl&1tpRTFgv%h@?q@J8Dt^PuzY)l2hzTQ5d`1MX5FwlzL7WAzsv~0z0y`q`VR0gbVj4 zhVZX%EQ~K1spB9dX;ZDES?Y{T>X=3a8E~7_z?*|%hacYP@`qj46)bsRbZrW$3Lb5W zIqW2mwcO^BI%FHcF2C(hWTG-6h+ z7epocn6-?%ETY0O8^qpG4_+*8So#Dv#B3CETP?^Jv$51(yUNwuMDN(kb1~)#x;A5> zJ@CVRPxyViQrV&ChbZ^JiW446UBALhg(tiekmZDjEWL2A*n8mp1A&5A=@EfQSU)Ft nemz{!@KTBc0s&5V$kQwK=I~#71qxm%D@2k+by>;O8%mOB-VGP- literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dcm-rhWF.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dcm-rhWF.woff deleted file mode 100644 index 82437c1d178f5311cea02ad059db0a719b08281a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14424 zcmYkj18^u!6D}Ovwr$(Cbz<9ga$?)IZRfjE61w+tMmL9 zhq9^B-LWxn|JBPb@qgM90J8wY+Zx!I{9@+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 z;HKG=blUVkh~FVSd*jXyBOYQsh6NjA#H56II+`IJ zG>guVNhv>nPIrvzqfEbrnN$SM!409w!Ek=42weH6W86o!=2~u z{T@EP;P|HBU+T<%s*L1SnU-5aC6BpxM83O^UXBkwbiA^jE)C*yL`6=jr%pySco^w- z^y7U8R3>aw7OsJYb1n>j^SF8YfSV2l5CHx~Ul}tm`23&Y`2P<|o1KN)2oa(&Bed|v zaG3~g!vyB7bc0E%W1@#()-@4puoeuhbliS9lb6Qcb`5O{TLkv#&Y=%)9zN9E*xEt% zgA=HbIH5A)DD)PnlOS@U2+TnqL)iLE4jFC2Yvf+3`l9oBeT!aa$#)WJN2c~RZM|!% z*tpU$>Op7JjYrDr+@HtKjCT4vViQz5hoyy|Tk)5q6ZiIR-EBv^#+T`t1NB?(j|D@zTlKe( z&&Y4(pTZyZF#JOZDG-+cIKf_hcY6YNJn!h?ShN_pi0k(syEKkTq-B_qAnJjMAo8Fj z@~<%nrua#s$T6&j5I*`GG65cSP%V9g9MJ5$j9r0x6osJEfg1xTOJyZRDF`lkBEdms%5{uuqH#&JOR1lD9=d?8R2nV6DUpy5;F zdBd|{CXIkYD*~$m*@Q470IJi%t|EXaAhVrGz5c6dgDt~~8`s-DmPpy2rksm&tPASO zimWOc^~RhOS?3_AvZTRIHuz{L&#Zy{12fA4Or(M4I~>moLR7dna|TWJw5qJcwCSpn zi;pEYqLi+AC55ywG#V|I3)k?uQ+_MQKRVEXc~&Ea42T-HCD>mQtw~jdwF$P$w9N@E v_R(}5j@PsG*s=8w_gnMm6!5H%zg_>&E}H@b{``TVgwX&1puz{71Ni>{8fMs= diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-500-normal-Dxdx3aXO.woff2 deleted file mode 100644 index 29342a8de253983b7b1a8c94efc6bb5c4f72a5c0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15920 zcmV-0KF`5-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hARy813(Z3$ILFkks?QChQ!QFnMuryeW(J}q2e@w=pD`9TLh+wGRDaG4Dds{ z%Ofn&>hdUyG`l=DWFH^m36{xrc~bjFmlq|7Q+DM!V%=54#Tx(QJt2Q1svJdP{-#N2 zi;$&6#Iw!=x14jy6Yt)uZ0Wth8##iWvS*b?B7{j$A;Xtkq@>D`C4l~HvduonsMugr zej`Fm|1|#;hqLK3ob6moo(4sA3@7R5*p#lxxniV=sBXy;Vof?F?F#VLk1C%)004N}V_;?gga26!DGXQu04g5=(EwJhmLUKD literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-BWcFiwQV.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-BWcFiwQV.woff new file mode 100644 index 0000000000000000000000000000000000000000..83c45bc609d489e30c6ee59a833f6649b5fee392 GIT binary patch literal 17372 zcmYhi18`?e^FNwRHnwfswr$(^#x^%LH^#=cZQHhO>!0WS)vdZy)8}-5s=H2~shOJT zsctuUF)^TDKtD}*0|@TFx0T6{{6FMB>HpuvMMTAbfPRVmU?x8l2NMd@A+8{={DYMM z0YTgV0U_Zy>hnE`E2|0t0YRk#0fAiq;NHxWh}`nZ^h`iNaA7}oia%uF3ihki*v8QQ z2iy3ur~aWaRo%O1b3>;e3<2Ut2j+hS0fcOB?P2zVp#TBVL;(Q_+4^d!@LHG}{`kQ2 z??;F2Kl)gn)3Nvgf3TGwnc#;=pvk~FENq)~1Kr#?bxeyF&lj;{0d-D+XxW*3icE2YdLD7k>Qn#nI=)vbS?`{u!&09}M|F zy>A;J6ZbXPp%&o&511P}qX@&3BR0yB_c5+XN#>Z*ewW)Q zlJ09!b0AT;iWnigZZ_DpYb6o0|C(&pV-yG3EVUgh*PqTDI~|VBM_ZM3`A0u6@Z*3F z=28L*;PJRTnHnQqt#xEC>!PLA6x%&}j~W*eVhC5gl+|cgTav9ITnZAQ3XW{ZQx>9b zi^$&%k0j1YkMs*QEER|eNe2kKGvrTUlfCbZ0L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&qaqcKJG%>*VOLL@Da6R*1HZtnN2m2kpY%MZET>LX5*lZRoSWQ|64UpogY7J&SYUT zdp`px(~@Z$Q+XP>HJ>XBcjV^umT^C4^ms4o{+T^(tL6sQ6>!Rk`Ci7|{p;k1Ibo!N z00l7%N*h#uP#_WNczEDI<(}$o76vV9f~7QVf#IAIpxjx}lTzDJ)1#n6)R**Im~AZb zEYH`1ODhuYpVJAM=l=^A1L*vVexZ1!oYGHOt6Wr~R99`L4pSGaC)J1QJI&OJXLB zyyf0*?}qo+OTrrVa4}pvV^iE75608*D!dIJ!gujE979x+jT9ke$xyO}>>{^Gm|xWI zm;Rvt!2cMapi^^ccNNZ>N6@9GC!* z7fM1^Xb5egCk%y&Fc((BRyYV};S$_~SMUuYAgv&H01^TK0sxq8*YPpPc7tr&wr$(C z?FPMV+qP|Mw+`As4={v5Fb<}{B3KJM;4qwr+wcrN!C$Zd7x0H@NQWY*!#3C*75n38 zoQ(5uC2qw7cm{9a6a0XG&;ngB0Anx%OQ;dGqn>0$gK0cXr^U3McGGdXO!w(EeWQP5 zMt0;yVU$F9RK+d03p4lQQ9Oy~@=D&y2l*`D0A;fvu~`9C zk0lmD0T4xRBC>{`NVrSE-7Vwp&hB|QoHy=+h1ttCDc*e9W?3-dAZ!TZ5Y7+S>9P^` zl^x1kvtz96f~jIdR_rDBiWJF_AVrymqzyNAoYd9P6CcDj;*tvnwAHgy*Hr!r<5BCv zLx9M`bIJ?+^%|evm;TEp#2c>cm@-Cxe5SZ$WmpSibq(d^SkcEWE5<@FsDHZl4^RJy hcbp^#*l#0sHJW(ZV_;?gga26!DGXQu04g5=(EwOo%dP+b literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-Bh431LEL.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-Bh431LEL.woff deleted file mode 100644 index 754cd8368478467b19f152f30bf405098a67044c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14420 zc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(`VvmxEu2Rt^@g?0e@_lQ5{K=mKTmS^$$8Hkw0Fe2ANGrjk|FpjB=CI+N6Z0 z9Lc8jH7vR6>K^<&O*|JMuL2jmLZZ?P_~Cb(vP+BJlm=0>opB4ih@}!GsT2@}% v#_%AoO3msG22%lWT$Awa(pLz%@T^Mz#bFab;FmfqC9E0%K!p!73;6#4Aw1~{ diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-CbYYDfWS.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-700-normal-CbYYDfWS.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..22f6f53cd76ca46e448a2b7f1905c314af7cd40b GIT binary patch literal 18596 zcmV(|K+(TAFa#h4f_?`e z41y^eh?ynIZI=Rc2ShxTzN%HQV-vU?ghchW^~gXT2a@vLga7}SKxK&9VUv?m*e^Vm zq>6AF#c>=Bahw99pi?}fZf(@+?pUMOqbNmEp~LkSWsV-e_XtlHKT%)q#70?2_1=n= zryB8XY==dFwLd#pFg}!Kty#V--=uCHVdvcf<6mevW2rDOHdU%)Q{wS6ux;c|a`F;M zIi#vJ8avrN0_GY#P zU41sZZdP|oYQbngn$hCS-u4IDHS9M~M#L4>kHAf`G5gIgWB+;bOOpnlK zk@zC6d7{ccv41wJga1!|n)GFa#6aH;FjQG+0gHCG-nO{!jK=xDxlI}ps)o)ZLWuhB zPZDW~Mc_MM-ivo@kaXkIg$?#5wyL(h&7nC97e0F+ofjc?AH9nF) z^p(HzH%azsMyEuG$d=}X%v(A~(h@>1%j zl%g_`akP3lg+!wqU7;8x$|EGgI(Vq|I(rYgZR1Zy2)DUQTS}84)Q`gc!K>12a7YFt zB~~t#>b2T5*Rwlp5Iln}N|iRHRG0~22@AAI)7gBl!+L5RYlJP#6drl76XqlF0%fr= zEOU^Wv)w$1NLcRu{LTM*drZ5}z?~-&B$Xf{sf2V{|JH5HJndXKP=X*~2hjS<*!sVC z?^j%fVi6@98_H5am|W!Dq|T|TAWaC`@W#*%hITQum!Sh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Aj7u)xpnvXLdUbx2j(uNL) zfs>Xgu)O@O5!^=G8bMW_v5pOqn5Y9YjM_%4#oCj{scmmFE!UXjUj8e|Sme;gH5J%5 z4ie2>u>2u%Xo>9}KwN`Be>%lp0*bd#OEboqDl`=tW*Wn!AjNw!SaCXod|=T^}C#ffW>n zQnH$Nj`1G3Y|{*Hq?EzMrQhT>nR4j)a{7O8(+rfvZE$w~Oxo!EMJd-${)96vM6WGnq5Na+kqK=bGtS{iq^`v< zKFS(vG9w8+g4pz8vat`Jl^lnF$P8DS?}_9RnK=Y&0xVbI62EB_WPu1Q@GyaC7AIGX zVjmH}!vv;ToFt8Ek;BZ>H2WOC+UHs>4cl6;LEnaJ(x^uf7*1VpbZV=fTvsi6g6q%) z2G^Q@$SBsG3rB}awYOrm)x}&*&3S_B%>@R7_g~(xd7F6epVKdk%@Gkc;_xv50WB30 zWrYI-;3Ocxu80!^Sond1as}KC;BF1!=VrmOv7lSSi3+bp;MN?D$hJ5U>wZ%Yus6;~ zD5f~!0{IIN2~8E2ib|jnh3c_F=esQ#gEuA1AOOAJE?P#g1z!=m5H8vjd?*ElP+o*c z7+Unu)%Bwx9pVcS0wEc>KWd*F>l;>Pfy{^rD-)oLW;^WPH{|P7G4=43CzBuMeQ#m~C2;e^U zF=Bj8MJ1}sF5E`A?BW_59-Cpc1I+cl-0-& zT1P@7g^`}ff08pIBT*E^7!(x0ZiXT?XU5(F$rU3%=-xyMBM&40Z9RRP@@R*mRe8~) K;xZEf00030kB~Y5 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-BzRVPTS2.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..14af54ae68c055ac99aae4c52872fb2a1a3338ee GIT binary patch literal 12324 zcmV+1dfyj|Mpac-bOtCwfDcR-F^DrKW?&|8le!9aipX`hpeb^Qy7gBprcV}kTJhL zpreIh--5Dgmjv+$xzhdXuK4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<;n0%(4IY4r9B@>Av0TDsj=OZ-PfJrdF5t8dk=Uig)ndi)bc|o72fiY;1 K{Md0Q0ssJ$#ip15 literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-CaUuWeqj.woff deleted file mode 100644 index 7c4c1d6244ffb04e55d3403a369c1dd0d772bd55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10360 zcmYki1yEei6D_>ByF;)L972HL?m+@U7k77e3GS|8fyLc5=;H1KcXxOH`2FAas@~K+ zHFZw))J)CozB6^Z-4rAx0Z@RCM&}Md|F0Kb`QZOk{$u}dlM^deT=96KoYgbdAgZ_(}xE4-&oZD0TF;>X6<46p$!56q&ffq^Tnq56T7*I zfiVC;MfYLD`5#_1rY+1r#1BpXgOh*Y3vvm3u(^%1`-k@XV|{oZYr5d&)Y`MQGy1Tj zPWza1;R8?5;CmDs1NV=4X+Hp<_zy5lFxs{THYOih+y|ffu=6HC zIRDwb+W?H+m*Bdf;C~C_!gYFpf6r<_%TS0A9LkMkxfqyYyr% z=j0%v_z}TcehhYBs+fW)|AK@oJf-}=xrH_#mf1jL*T&h;x!qv1+-S4BX4iXND48td z$?wFs@8U*;{e5{z_eu<%Z%@57gV${dwl#z2^v3CwZF7ex@#Hhl{f$MUvrPRl9Fh{; zswS(VFbpFK z{DBJdV0ZbStgx7Yjl~CA>_&hsg_|XFR^!CJ!I0Gc$vsl)w+8>Mi3jSpaG@>ou&NSf z-H7$AV?$q@rhes1zm;-Xw>Bb3KSfK#`&P(d8d%NjMGp1>H4|SG$6xLi$ah=p@u2Q zDC-el-8{Z8Mcwkx?zo#jiq45rYU?ydrBfhiWsB48?~KlwYpmDmzAuLRq!`&<*Z}_~ zeU;}bXzi}@-sivw{IrtVan)eweayH1+!gD49SV8b)_XsmvFpsH?2(KjPUP-P#9l6f zt@tquJe*Xe7Rd}DZ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m zvna2Lh0E{z*O+ba1o3P8W@#*awp=26T_<<#f41hUmyNg5tt9Zsfp-K3ZVxIkHc8FQ zFy2b8e_{T)7SSDy)P0xKm1(ZacQz}wYQ;&jtaqF>KVzGmbSY>bk<*#iSjc$n;xUDt z&t1GjYU$vVL^f@~A9Z^zwrWJ&p6ZsP4n6^q_UA{n3rl*XYBr)6S!?yD)!wAK*%9Xv zhu`RQZ~wDjE!i%dS;L?*u}`0^#Fy1^Ncbb3f914DIY0mlRNvj7TxW`se>g;S^C{VG z9rghIA=QrUA8DOy%G9uCWEaaX4MB6q8x z^Ees;=8?-(@q6o=@F;rl_ma-}TITjHd#g*TdOtf;_5S9-x7#4q8uf;j37kw)`sJp zv1tUOTq$fDfn^L z5Wzv`;o|(*e|o7(esC&<{?>VrYGVT;92M_CAb#A9IEps zek~w5)b&iz&AC6cddk$0t6pH@85zB*n=a?I8eOVev*rek?$ym&^YM+2*Das$Jdbk7 zyE|v4740{BIOzVF->>lC5)6you6t1Gh(F(@eN=smgKP=~F$?!%(Tn3N3MXN4h~rF& z++b1l;?@Y4V_{HW_XeuOp&^TE6eIo2p}Gl<{|1NONxT3hwE?~2PjCU}l1~Ves1H9H zNL`K0*~z&86S@JL5jf(&N7jGsP6FQEUniRmrv0ed003S9u>gF41_17V4Desw9W(&i z5daT>a$oux(~R6Lj4Kh#xTLNnZ(_EBEW(I|CBme_1eZz}9ETK+a_1Wj-c0p~qzoD% z9d9EocE}OW(MGu2_$!>)zWo_3D@L~2oo4_~)B6(;@157SdUpUfXEY9EhdmZtogZ~ zJeCY5B+6kv?7D8LS)&%0J(sFI?t&Y0gx198l?lnemXfQ_`?GV=ios9-J-eFqP2-ep fiywm|2j>5L*+}0M5csZvN{^}z05Fh4O#%Kt69^St diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-300-normal-DEsNdRC-.woff2 deleted file mode 100644 index 91231c9c46f4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OusQg;eTqn82PFa{K&mycU4qcWo4U6s?cLl;lv8fd2zU6*0H~ literal 0 HcmV?d00001 diff --git a/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-4bLplyDh.woff2 b/xcube/webapi/viewer/dist/assets/roboto-latin-ext-400-normal-4bLplyDh.woff2 deleted file mode 100644 index 8a8de615eb2f70380f60b851f97814cdf1ccda94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11872 zcmV-mE}zkNPew8T0RR9104`tv5&!@I0COw=04@3e0RR9100000000000000000000 z0000QKpTz>9Dy(fU;u*@2viA!JP`~Efwv@qr9umXdH@oF2mv+%Bm;+V1Rw>1bO#^| zf=L@3XC-W#M)BZ00MUs0ZKJ43dsHHdVB;V_#IGFu|L5dn41qdhYTkahM3I$YJ1#Qy z2u;cg4>FsdDqDEt8%)ch=q+t&Z&4`G+*aqse0h#WgvEgM&w(lM^}c>o!=JYPi{e`k z?APL(oAwqD`Revcpz)L>m{1J(uaK&fU)1`V4^o|9<|kMFNjF^~ISDcmUFQ z(|PUQz@JY|*yDxVL|HqFw#Z>56bj?%Kl7p>ue2Qs(-fxfBkC+i~jE73naB zeUK%GzYtPZ)ts3+Jh%p=}Gsjd(b0>9~vkEd}5smBfLI;VP`rq37F@2x; zzirZPGl?h~#y;*uOs5x^*~>?0eK4{PQ;(N!h6spm|zqbOO*kJ0gt=G(l&bl1c^QAZAVgeP`yv?f}q6S z1`WO#wy)-md7sg9T-{CfRok8fo+W47G@l96zxT=~@A9^BkEp3xZzybz{8)!68`_en zTJ}0qiJSKVY;V=lk=u=6m=1IjbcF+n#>lf4G=r7=LcbQy4)Vm_vicjZ*Fbx>{1)ZkVz0c@o3oX z3q@Vl!gh5bkTjhE*G_d}7I@x@me2|{C?Vp~u-Nboy%UoYAsG5a@c1-cMO|-Z38e&5A^iN8JPsl zDW^D%!IB3kqks}SPLIe5hPfg9`RUgI-jRK{1S0hfy)zsgUT=shNXT2#0Ep$x_TfD- zH|g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