From de064d1d9c600c63f780594bbed7ede86b4d58ea Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 11 Sep 2020 23:19:37 +0200 Subject: [PATCH 01/12] Bump version 244 --- supervisor/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/const.py b/supervisor/const.py index 7fde71dff..cf8848138 100644 --- a/supervisor/const.py +++ b/supervisor/const.py @@ -3,7 +3,7 @@ from enum import Enum from ipaddress import ip_network from pathlib import Path -SUPERVISOR_VERSION = "243" +SUPERVISOR_VERSION = "244" URL_HASSIO_ADDONS = "https://github.com/home-assistant/hassio-addons" URL_HASSIO_APPARMOR = "https://version.home-assistant.io/apparmor.txt" From 745845db19a35424aba47debdc70335831b0a96a Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 12 Sep 2020 18:00:05 +0200 Subject: [PATCH 02/12] Allow manager add-on access to observer (#2046) * Allow manager add-on access to observer * fix order --- supervisor/api/security.py | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisor/api/security.py b/supervisor/api/security.py index a213c594d..af7e22122 100644 --- a/supervisor/api/security.py +++ b/supervisor/api/security.py @@ -90,6 +90,7 @@ ADDONS_ROLE_ACCESS = { r"|/host/.+" r"|/multicast/.+" r"|/network/.+" + r"|/observer/.+" r"|/os/.+" r"|/snapshots.*" r"|/supervisor/.+" From 2bcb0e519544ccb686e7915f379f2f3e1565228e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Sep 2020 10:46:10 +0200 Subject: [PATCH 03/12] Bump pytest from 6.0.1 to 6.0.2 (#2049) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_tests.txt b/requirements_tests.txt index 6c24f2e32..7dc637155 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -10,5 +10,5 @@ pytest-aiohttp==0.3.0 pytest-asyncio==0.12.0 # NB!: Versions over 0.12.0 breaks pytest-aiohttp (https://github.com/aio-libs/pytest-aiohttp/issues/16) pytest-cov==2.10.1 pytest-timeout==1.4.2 -pytest==6.0.1 +pytest==6.0.2 pyupgrade==2.7.2 From 052a691a4df0843b037dfc5c56b7e44dc6bba9b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Sep 2020 10:46:59 +0200 Subject: [PATCH 04/12] Bump coverage from 5.2.1 to 5.3 (#2050) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements_tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_tests.txt b/requirements_tests.txt index 7dc637155..359b69da2 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -1,6 +1,6 @@ black==20.8b1 codecov==2.1.9 -coverage==5.2.1 +coverage==5.3 flake8-docstrings==1.5.0 flake8==3.8.3 pre-commit==2.7.1 From c9db42583b39f1bfe5d0cf46c7bb87c9c45f1f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 14 Sep 2020 13:40:11 +0200 Subject: [PATCH 05/12] Capture typeerror exception (#2052) --- supervisor/utils/log_format.py | 17 ++++++++++++----- tests/utils/test_log_format.py | 6 ++++++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/supervisor/utils/log_format.py b/supervisor/utils/log_format.py index c55d4e66d..01d6cb61a 100644 --- a/supervisor/utils/log_format.py +++ b/supervisor/utils/log_format.py @@ -1,15 +1,22 @@ """Custom log messages.""" +import logging import re +import sentry_sdk + +_LOGGER: logging.Logger = logging.getLogger(__name__) + RE_BIND_FAILED = re.compile(r".*Bind for.*:(\d*) failed: port is already allocated.*") def format_message(message: str) -> str: """Return a formated message if it's known.""" - match = RE_BIND_FAILED.match(message) - if match: - return ( - f"Port '{match.group(1)}' is already in use by something else on the host." - ) + try: + match = RE_BIND_FAILED.match(message) + if match: + return f"Port '{match.group(1)}' is already in use by something else on the host." + except TypeError as err: + _LOGGER.error("Type of message is not string - %s", err) + sentry_sdk.capture_exception(err) return message diff --git a/tests/utils/test_log_format.py b/tests/utils/test_log_format.py index d03e22849..7225f0762 100644 --- a/tests/utils/test_log_format.py +++ b/tests/utils/test_log_format.py @@ -9,3 +9,9 @@ def test_format_message(): format_message(message) == "Port '80' is already in use by something else on the host." ) + + +def test_exeption(): + """Tests the exception handling.""" + message = b"byte" + assert format_message(message) == message From ca60a69b22967f53e8ea36f8e638db32a7dd0eeb Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 14 Sep 2020 14:22:38 +0200 Subject: [PATCH 06/12] Add timeout handling to gdbus (#2053) * Add timeout handling to gdbus * fix bus name * make it silent * fix tests * add more wraper --- supervisor/utils/gdbus.py | 28 ++++++++++++++-------------- tests/conftest.py | 5 ++++- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/supervisor/utils/gdbus.py b/supervisor/utils/gdbus.py index 89d0b48ad..f00057192 100644 --- a/supervisor/utils/gdbus.py +++ b/supervisor/utils/gdbus.py @@ -52,18 +52,15 @@ RE_MONITOR_OUTPUT: re.Pattern[Any] = re.compile(r".+?: (?P[^ ].+) (?P None: """Read interface data.""" - command = shlex.split( + # Wait for dbus object to be available after restart + command_wait = shlex.split(WAIT.format(bus=self.bus_name)) + await self._send(command_wait, silent=True) + + # Introspect object & Parse XML + command_introspect = shlex.split( INTROSPECT.format(bus=self.bus_name, object=self.object_path) ) - - # Parse XML - data = await self._send(command) + data = await self._send(command_introspect) try: xml = ET.fromstring(data) except ET.ParseError as err: @@ -219,7 +219,7 @@ class DBus: _LOGGER.error("No attributes returned for %s", interface) raise DBusFatalError() from err - async def _send(self, command: List[str]) -> str: + async def _send(self, command: List[str], silent=False) -> str: """Send command over dbus.""" # Run command _LOGGER.debug("Send dbus command: %s", command) @@ -237,7 +237,7 @@ class DBus: raise DBusFatalError() from err # Success? - if proc.returncode == 0: + if proc.returncode == 0 or silent: return data.decode() # Filter error @@ -248,7 +248,7 @@ class DBus: raise exception() # General - _LOGGER.error("DBus return error: %s", error.strip()) + _LOGGER.error("DBus return: %s", error.strip()) raise DBusFatalError() def attach_signals(self, filters=None): diff --git a/tests/conftest.py b/tests/conftest.py index 4f4615e8d..4e941860e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,10 @@ def dbus() -> DBus: async def mock_get_properties(_, interface): return load_json_fixture(f"{interface.replace('.', '_')}.json") - async def mock_send(_, command): + async def mock_send(_, command, silent=False): + if silent: + return "" + filetype = "xml" if "--xml" in command else "fixture" fixture = f"{command[6].replace('/', '_')[1:]}.{filetype}" return load_fixture(fixture) From 0761885ebbcad937b89aa4383a941357d0769d47 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Mon, 14 Sep 2020 17:04:15 +0200 Subject: [PATCH 07/12] Clean api doc (#1782) * Clean supervisor * Indent snapshot * Clean host * Indent host services * Indent HassOS * Clean hardware * Clean home assistant * Clean add-ons * Clean ingress * Clean discovery * Clean services * Clean mqtt * Clean mysql * Clean misc * Clean dns * Clean cli * Clean observer * Clean multicast * Clean audio * Clean auth --- API.md | 1562 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 781 insertions(+), 781 deletions(-) diff --git a/API.md b/API.md index 333f4a61c..fda9b6134 100644 --- a/API.md +++ b/API.md @@ -32,206 +32,206 @@ The token is available for add-ons and Home Assistant using the - GET `/supervisor/ping` -This API call don't need a token. + This API call doesn't need a token. - GET `/supervisor/info` -Shows the installed add-ons from `addons`. + `addons` returns all the installed add-ons. -```json -{ - "version": "INSTALL_VERSION", - "version_latest": "version_latest", - "arch": "armhf|aarch64|i386|amd64", - "channel": "stable|beta|dev", - "timezone": "TIMEZONE", - "healthy": "bool", - "supported": "bool", - "logging": "debug|info|warning|error|critical", - "ip_address": "ip address", - "wait_boot": "int", - "debug": "bool", - "debug_block": "bool", - "diagnostics": "None|bool", - "addons": [ - { - "name": "xy bla", - "slug": "xy", - "description": "description", - "repository": "12345678|null", - "version": "LATEST_VERSION", - "installed": "INSTALL_VERSION", - "icon": "bool", - "logo": "bool", - "state": "started|stopped" - } - ], - "addons_repositories": ["REPO_URL"] -} -``` + ```json + { + "version": "INSTALL_VERSION", + "version_latest": "version_latest", + "arch": "armhf|aarch64|i386|amd64", + "channel": "stable|beta|dev", + "timezone": "TIMEZONE", + "healthy": "bool", + "supported": "bool", + "logging": "debug|info|warning|error|critical", + "ip_address": "ip address", + "wait_boot": "int", + "debug": "bool", + "debug_block": "bool", + "diagnostics": "None|bool", + "addons": [ + { + "name": "xy bla", + "slug": "xy", + "description": "description", + "repository": "12345678|null", + "version": "LATEST_VERSION", + "installed": "INSTALL_VERSION", + "icon": "bool", + "logo": "bool", + "state": "started|stopped" + } + ], + "addons_repositories": ["REPO_URL"] + } + ``` - POST `/supervisor/update` -Optional: + Optional: -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - POST `/supervisor/options` -```json -{ - "channel": "stable|beta|dev", - "timezone": "TIMEZONE", - "wait_boot": "int", - "debug": "bool", - "debug_block": "bool", - "logging": "debug|info|warning|error|critical", - "addons_repositories": ["REPO_URL"] -} -``` + ```json + { + "channel": "stable|beta|dev", + "timezone": "TIMEZONE", + "wait_boot": "int", + "debug": "bool", + "debug_block": "bool", + "logging": "debug|info|warning|error|critical", + "addons_repositories": ["REPO_URL"] + } + ``` - POST `/supervisor/reload` -Reload the add-ons/version. + Reload the add-ons/version. - GET `/supervisor/logs` -Output is the raw Docker log. + Output is the raw Docker log. - GET `/supervisor/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` - GET `/supervisor/repair` -Repair overlayfs issue and restore lost images. + Repair overlayfs issue and restore lost images. ### Snapshot - GET `/snapshots` -```json -{ - "snapshots": [ - { - "slug": "SLUG", - "date": "ISO", - "name": "Custom name", - "type": "full|partial", - "protected": "bool" - } - ] -} -``` + ```json + { + "snapshots": [ + { + "slug": "SLUG", + "date": "ISO", + "name": "Custom name", + "type": "full|partial", + "protected": "bool" + } + ] + } + ``` - POST `/snapshots/reload` - POST `/snapshots/new/upload` -return: + return: -```json -{ - "slug": "" -} -``` + ```json + { + "slug": "" + } + ``` - POST `/snapshots/new/full` -```json -{ - "name": "Optional", - "password": "Optional" -} -``` + ```json + { + "name": "Optional", + "password": "Optional" + } + ``` -return: + return: -```json -{ - "slug": "" -} -``` + ```json + { + "slug": "" + } + ``` - POST `/snapshots/new/partial` -```json -{ - "name": "Optional", - "addons": ["ADDON_SLUG"], - "folders": ["FOLDER_NAME"], - "password": "Optional" -} -``` + ```json + { + "name": "Optional", + "addons": ["ADDON_SLUG"], + "folders": ["FOLDER_NAME"], + "password": "Optional" + } + ``` -return: + return: -```json -{ - "slug": "" -} -``` + ```json + { + "slug": "" + } + ``` - POST `/snapshots/reload` - GET `/snapshots/{slug}/info` -```json -{ - "slug": "SNAPSHOT ID", - "type": "full|partial", - "name": "custom snapshot name / description", - "date": "ISO", - "size": "SIZE_IN_MB", - "protected": "bool", - "homeassistant": "version", - "addons": [ - { - "slug": "ADDON_SLUG", - "name": "NAME", - "version": "INSTALLED_VERSION", - "size": "SIZE_IN_MB" - } - ], - "repositories": ["URL"], - "folders": ["NAME"] -} -``` + ```json + { + "slug": "SNAPSHOT ID", + "type": "full|partial", + "name": "custom snapshot name / description", + "date": "ISO", + "size": "SIZE_IN_MB", + "protected": "bool", + "homeassistant": "version", + "addons": [ + { + "slug": "ADDON_SLUG", + "name": "NAME", + "version": "INSTALLED_VERSION", + "size": "SIZE_IN_MB" + } + ], + "repositories": ["URL"], + "folders": ["NAME"] + } + ``` - POST `/snapshots/{slug}/remove` - GET `/snapshots/{slug}/download` - POST `/snapshots/{slug}/restore/full` -```json -{ - "password": "Optional" -} -``` + ```json + { + "password": "Optional" + } + ``` - POST `/snapshots/{slug}/restore/partial` -```json -{ - "homeassistant": "bool", - "addons": ["ADDON_SLUG"], - "folders": ["FOLDER_NAME"], - "password": "Optional" -} -``` + ```json + { + "homeassistant": "bool", + "addons": ["ADDON_SLUG"], + "folders": ["FOLDER_NAME"], + "password": "Optional" + } + ``` ### Host @@ -240,20 +240,20 @@ return: - POST `/host/reboot` - GET `/host/info` -```json -{ - "chassis": "specific|null", - "cpe": "xy|null", - "deployment": "stable|beta|dev|null", - "disk_total": 32.0, - "disk_used": 30.0, - "disk_free": 2.0, - "features": ["shutdown", "reboot", "hostname", "services", "hassos"], - "hostname": "hostname|null", - "kernel": "4.15.7|null", - "operating_system": "HassOS XY|Ubuntu 16.4|null" -} -``` + ```json + { + "chassis": "specific|null", + "cpe": "xy|null", + "deployment": "stable|beta|dev|null", + "disk_total": 32.0, + "disk_used": 30.0, + "disk_free": 2.0, + "features": ["shutdown", "reboot", "hostname", "services", "hassos"], + "hostname": "hostname|null", + "kernel": "4.15.7|null", + "operating_system": "HassOS XY|Ubuntu 16.4|null" + } + ``` - GET `/host/logs` @@ -261,11 +261,11 @@ Return the host log messages (dmesg). - POST `/host/options` -```json -{ - "hostname": "" -} -``` + ```json + { + "hostname": "" + } + ``` - POST `/host/reload` @@ -273,17 +273,17 @@ Return the host log messages (dmesg). - GET `/host/services` -```json -{ - "services": [ - { - "name": "xy.service", - "description": "XY ...", - "state": "active|" - } - ] -} -``` + ```json + { + "services": [ + { + "name": "xy.service", + "description": "XY ...", + "state": "active|" + } + ] + } + ``` - POST `/host/service/{unit}/stop` @@ -295,105 +295,105 @@ Return the host log messages (dmesg). - GET `/os/info` -```json -{ - "version": "2.3", - "version_latest": "2.4", - "board": "ova|rpi", - "boot": "rauc boot slot" -} -``` + ```json + { + "version": "2.3", + "version_latest": "2.4", + "board": "ova|rpi", + "boot": "rauc boot slot" + } + ``` - POST `/os/update` -```json -{ - "version": "optional" -} -``` + ```json + { + "version": "optional" + } + ``` - POST `/os/config/sync` -Load host configurations from an USB stick. + Load host configurations from an USB stick. ### Hardware - GET `/hardware/info` -```json -{ - "serial": ["/dev/xy"], - "input": ["Input device name"], - "disk": ["/dev/sdax"], - "gpio": ["gpiochip0", "gpiochip100"], - "audio": { - "CARD_ID": { - "name": "xy", - "type": "microphone", - "devices": [ - "chan_id": "channel ID", - "chan_type": "type of device" - ] - } - } -} -``` + ```json + { + "serial": ["/dev/xy"], + "input": ["Input device name"], + "disk": ["/dev/sdax"], + "gpio": ["gpiochip0", "gpiochip100"], + "audio": { + "CARD_ID": { + "name": "xy", + "type": "microphone", + "devices": [ + "chan_id": "channel ID", + "chan_type": "type of device" + ] + } + } + } + ``` - GET `/hardware/audio` -```json -{ - "audio": { - "input": { - "0,0": "Mic" - }, - "output": { - "1,0": "Jack", - "1,1": "HDMI" + ```json + { + "audio": { + "input": { + "0,0": "Mic" + }, + "output": { + "1,0": "Jack", + "1,1": "HDMI" + } } } -} -``` + ``` - POST `/hardware/trigger` -Trigger an UDEV reload. + Trigger a UDEV reload. ### Home Assistant - GET `/core/info` -```json -{ - "version": "INSTALL_VERSION", - "version_latest": "version_latest", - "arch": "arch", - "machine": "Image machine type", - "ip_address": "ip address", - "image": "str", - "boot": "bool", - "port": 8123, - "ssl": "bool", - "watchdog": "bool", - "wait_boot": 600, - "audio_input": "null|profile", - "audio_output": "null|profile" -} -``` + ```json + { + "version": "INSTALL_VERSION", + "version_latest": "version_latest", + "arch": "arch", + "machine": "Image machine type", + "ip_address": "ip address", + "image": "str", + "boot": "bool", + "port": 8123, + "ssl": "bool", + "watchdog": "bool", + "wait_boot": 600, + "audio_input": "null|profile", + "audio_output": "null|profile" + } + ``` - POST `/core/update` -Optional: + Optional: -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - GET `/core/logs` -Output is the raw Docker log. + Output is the raw Docker log. - POST `/core/restart` - POST `/core/check` @@ -403,44 +403,44 @@ Output is the raw Docker log. - POST `/core/options` -```json -{ - "image": "Optional|null", - "version_latest": "Optional for custom image|null", - "port": "port for access core", - "ssl": "bool", - "refresh_token": "", - "watchdog": "bool", - "wait_boot": 600, - "audio_input": "null|profile", - "audio_output": "null|profile" -} -``` + ```json + { + "image": "Optional|null", + "version_latest": "Optional for custom image|null", + "port": "port for access core", + "ssl": "bool", + "refresh_token": "", + "watchdog": "bool", + "wait_boot": 600, + "audio_input": "null|profile", + "audio_output": "null|profile" + } + ``` -Image with `null` and `version_latest` with `null` reset this options. + Passing `image` with `null` and `version_latest` with `null` resets these options. - POST/GET `/core/api` -Proxy to the Home Assistant Core instance. + Proxy to Home Assistant Core instance. - GET `/core/websocket` -Proxy to Home Assistant Core websocket. + Proxy to Home Assistant Core websocket. - GET `/core/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### Network @@ -501,119 +501,119 @@ _All options are optional._ The result will be a updated object. -### RESTful for API add-ons +### RESTful API for add-ons If an add-on will call itself, you can use `/addons/self/...`. - GET `/addons` -Get all available add-ons. + Get all available add-ons. -```json -{ - "addons": [ - { - "name": "xy bla", - "slug": "xy", - "description": "description", - "advanced": "bool", - "stage": "stable|experimental|deprecated", - "repository": "core|local|REP_ID", - "version": "version_latest", - "installed": "none|INSTALL_VERSION", - "detached": "bool", - "available": "bool", - "build": "bool", - "url": "null|url", - "icon": "bool", - "logo": "bool" - } - ], - "repositories": [ - { - "slug": "12345678", - "name": "Repitory Name|unknown", - "source": "URL_OF_REPOSITORY", - "url": "WEBSITE|REPOSITORY", - "maintainer": "BLA BLU |unknown" - } - ] -} -``` + ```json + { + "addons": [ + { + "name": "xy bla", + "slug": "xy", + "description": "description", + "advanced": "bool", + "stage": "stable|experimental|deprecated", + "repository": "core|local|REP_ID", + "version": "version_latest", + "installed": "none|INSTALL_VERSION", + "detached": "bool", + "available": "bool", + "build": "bool", + "url": "null|url", + "icon": "bool", + "logo": "bool" + } + ], + "repositories": [ + { + "slug": "12345678", + "name": "Repitory Name|unknown", + "source": "URL_OF_REPOSITORY", + "url": "WEBSITE|REPOSITORY", + "maintainer": "BLA BLU |unknown" + } + ] + } + ``` - POST `/addons/reload` - GET `/addons/{addon}/info` -```json -{ - "name": "xy bla", - "slug": "xdssd_xybla", - "hostname": "xdssd-xybla", - "dns": [], - "description": "description", - "long_description": "null|markdown", - "auto_update": "bool", - "url": "null|url of addon", - "detached": "bool", - "available": "bool", - "advanced": "bool", - "stage": "stable|experimental|deprecated", - "arch": ["armhf", "aarch64", "i386", "amd64"], - "machine": "[raspberrypi2, tinker]", - "homeassistant": "null|min Home Assistant Core version", - "repository": "12345678|null", - "version": "null|VERSION_INSTALLED", - "version_latest": "version_latest", - "state": "none|started|stopped", - "startup": "initialize|system|services|application|once", - "boot": "auto|manual", - "build": "bool", - "options": "{}", - "schema": "{}|null", - "network": "{}|null", - "network_description": "{}|null", - "host_network": "bool", - "host_pid": "bool", - "host_ipc": "bool", - "host_dbus": "bool", - "privileged": ["NET_ADMIN", "SYS_ADMIN"], - "apparmor": "disable|default|profile", - "devices": ["/dev/xy"], - "udev": "bool", - "auto_uart": "bool", - "icon": "bool", - "logo": "bool", - "changelog": "bool", - "documentation": "bool", - "hassio_api": "bool", - "hassio_role": "default|homeassistant|manager|admin", - "homeassistant_api": "bool", - "auth_api": "bool", - "full_access": "bool", - "protected": "bool", - "rating": "1-6", - "stdin": "bool", - "webui": "null|http(s)://[HOST]:port/xy/zx", - "gpio": "bool", - "usb": "[physical_path_to_usb_device]", - "kernel_modules": "bool", - "devicetree": "bool", - "docker_api": "bool", - "video": "bool", - "audio": "bool", - "audio_input": "null|0,0", - "audio_output": "null|0,0", - "services_role": "['service:access']", - "discovery": "['service']", - "ip_address": "ip address", - "ingress": "bool", - "ingress_entry": "null|/api/hassio_ingress/slug", - "ingress_url": "null|/api/hassio_ingress/slug/entry.html", - "ingress_port": "null|int", - "ingress_panel": "null|bool", - "watchdog": "null|bool" -} -``` + ```json + { + "name": "xy bla", + "slug": "xdssd_xybla", + "hostname": "xdssd-xybla", + "dns": [], + "description": "description", + "long_description": "null|markdown", + "auto_update": "bool", + "url": "null|url of addon", + "detached": "bool", + "available": "bool", + "advanced": "bool", + "stage": "stable|experimental|deprecated", + "arch": ["armhf", "aarch64", "i386", "amd64"], + "machine": "[raspberrypi2, tinker]", + "homeassistant": "null|min Home Assistant Core version", + "repository": "12345678|null", + "version": "null|VERSION_INSTALLED", + "version_latest": "version_latest", + "state": "none|started|stopped", + "startup": "initialize|system|services|application|once", + "boot": "auto|manual", + "build": "bool", + "options": "{}", + "schema": "{}|null", + "network": "{}|null", + "network_description": "{}|null", + "host_network": "bool", + "host_pid": "bool", + "host_ipc": "bool", + "host_dbus": "bool", + "privileged": ["NET_ADMIN", "SYS_ADMIN"], + "apparmor": "disable|default|profile", + "devices": ["/dev/xy"], + "udev": "bool", + "auto_uart": "bool", + "icon": "bool", + "logo": "bool", + "changelog": "bool", + "documentation": "bool", + "hassio_api": "bool", + "hassio_role": "default|homeassistant|manager|admin", + "homeassistant_api": "bool", + "auth_api": "bool", + "full_access": "bool", + "protected": "bool", + "rating": "1-6", + "stdin": "bool", + "webui": "null|http(s)://[HOST]:port/xy/zx", + "gpio": "bool", + "usb": "[physical_path_to_usb_device]", + "kernel_modules": "bool", + "devicetree": "bool", + "docker_api": "bool", + "video": "bool", + "audio": "bool", + "audio_input": "null|0,0", + "audio_output": "null|0,0", + "services_role": "['service:access']", + "discovery": "['service']", + "ip_address": "ip address", + "ingress": "bool", + "ingress_entry": "null|/api/hassio_ingress/slug", + "ingress_url": "null|/api/hassio_ingress/slug/entry.html", + "ingress_port": "null|int", + "ingress_panel": "null|bool", + "watchdog": "null|bool" + } + ``` - GET `/addons/{addon}/icon` - GET `/addons/{addon}/logo` @@ -622,32 +622,32 @@ Get all available add-ons. - POST `/addons/{addon}/options` - POST `/addons/{addon}/options/validate` -```json -{ - "boot": "auto|manual", - "auto_update": "bool", - "network": { - "CONTAINER": "port|[ip, port]" - }, - "options": {}, - "audio_output": "null|0,0", - "audio_input": "null|0,0", - "ingress_panel": "bool", - "watchdog": "bool" -} -``` + ```json + { + "boot": "auto|manual", + "auto_update": "bool", + "network": { + "CONTAINER": "port|[ip, port]" + }, + "options": {}, + "audio_output": "null|0,0", + "audio_input": "null|0,0", + "ingress_panel": "bool", + "watchdog": "bool" + } + ``` -Reset custom network, audio and options, set it to `null`. +To reset customized network/audio/options, set it `null`. - POST `/addons/{addon}/security` -This function is not callable by itself. + This function is not callable by itself. -```json -{ - "protected": "bool" -} -``` + ```json + { + "protected": "bool" + } + ``` - POST `/addons/{addon}/start` - POST `/addons/{addon}/stop` @@ -656,113 +656,113 @@ This function is not callable by itself. - POST `/addons/{addon}/update` - GET `/addons/{addon}/logs` -Output is the raw Docker log. + Output is the raw Docker log. - POST `/addons/{addon}/restart` - POST `/addons/{addon}/rebuild` -Only supported for local build add-ons. + Only supported for local build add-ons. - POST `/addons/{addon}/stdin` -Write data to add-on stdin. + Write data to add-on stdin. - GET `/addons/{addon}/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### ingress - POST `/ingress/session` -Create a new session for access to the ingress service. + Create a new session for access to the ingress service. -```json -{ - "session": "token" -} -``` + ```json + { + "session": "token" + } + ``` - GET `/ingress/panels` -Return a list of enabled panels. + Return a list of enabled panels. -```json -{ - "panels": { - "addon_slug": { - "enable": "boolean", - "icon": "mdi:...", - "title": "title", - "admin": "boolean" + ```json + { + "panels": { + "addon_slug": { + "enable": "boolean", + "icon": "mdi:...", + "title": "title", + "admin": "boolean" + } } } -} -``` + ``` - VIEW `/ingress/{token}` -Ingress WebUI for this add-on. The add-on need support for the Home Assistant -authentication system. Needs an ingress session as cookie. + Ingress WebUI for this add-on. The add-on needs support for the Home Assistant + authentication system. Needs an ingress session as cookie. ### discovery - GET `/discovery` -```json -{ - "discovery": [ - { - "addon": "slug", - "service": "name", - "uuid": "uuid", - "config": {} + ```json + { + "discovery": [ + { + "addon": "slug", + "service": "name", + "uuid": "uuid", + "config": {} + } + ], + "services": { + "ozw": ["core_zwave"] } - ], - "services": { - "ozw": ["core_zwave"] } -} -``` + ``` - GET `/discovery/{UUID}` -```json -{ - "addon": "slug", - "service": "name", - "uuid": "uuid", - "config": {} -} -``` + ```json + { + "addon": "slug", + "service": "name", + "uuid": "uuid", + "config": {} + } + ``` - POST `/discovery` -```json -{ - "service": "name", - "config": {} -} -``` + ```json + { + "service": "name", + "config": {} + } + ``` -return: + return: -```json -{ - "uuid": "uuid" -} -``` + ```json + { + "uuid": "uuid" + } + ``` - DEL `/discovery/{UUID}` @@ -770,46 +770,46 @@ return: - GET `/services` -```json -{ - "services": [ - { - "slug": "name", - "available": "bool", - "providers": "list" - } - ] -} -``` + ```json + { + "services": [ + { + "slug": "name", + "available": "bool", + "providers": "list" + } + ] + } + ``` #### MQTT - GET `/services/mqtt` -```json -{ - "addon": "name", - "host": "xy", - "port": "8883", - "ssl": "bool", - "username": "optional", - "password": "optional", - "protocol": "3.1.1" -} -``` + ```json + { + "addon": "name", + "host": "xy", + "port": "8883", + "ssl": "bool", + "username": "optional", + "password": "optional", + "protocol": "3.1.1" + } + ``` - POST `/services/mqtt` -```json -{ - "host": "xy", - "port": "8883", - "ssl": "bool|optional", - "username": "optional", - "password": "optional", - "protocol": "3.1.1" -} -``` + ```json + { + "host": "xy", + "port": "8883", + "ssl": "bool|optional", + "username": "optional", + "password": "optional", + "protocol": "3.1.1" + } + ``` - DEL `/services/mqtt` @@ -817,26 +817,26 @@ return: - GET `/services/mysql` -```json -{ - "addon": "name", - "host": "xy", - "port": "8883", - "username": "optional", - "password": "optional" -} -``` + ```json + { + "addon": "name", + "host": "xy", + "port": "8883", + "username": "optional", + "password": "optional" + } + ``` - POST `/services/mysql` -```json -{ - "host": "xy", - "port": "8883", - "username": "optional", - "password": "optional" -} -``` + ```json + { + "host": "xy", + "port": "8883", + "username": "optional", + "password": "optional" + } + ``` - DEL `/services/mysql` @@ -844,54 +844,54 @@ return: - GET `/info` -```json -{ - "supervisor": "version", - "homeassistant": "version", - "hassos": "null|version", - "docker": "version", - "hostname": "name", - "operating_system": "HassOS XY|Ubuntu 16.4|null", - "features": ["shutdown", "reboot", "hostname", "services", "hassos"], - "machine": "type", - "arch": "arch", - "supported_arch": ["arch1", "arch2"], - "supported": "bool", - "channel": "stable|beta|dev", - "logging": "debug|info|warning|error|critical", - "timezone": "Europe/Zurich" -} -``` + ```json + { + "supervisor": "version", + "homeassistant": "version", + "hassos": "null|version", + "docker": "version", + "hostname": "name", + "operating_system": "HassOS XY|Ubuntu 16.4|null", + "features": ["shutdown", "reboot", "hostname", "services", "hassos"], + "machine": "type", + "arch": "arch", + "supported_arch": ["arch1", "arch2"], + "supported": "bool", + "channel": "stable|beta|dev", + "logging": "debug|info|warning|error|critical", + "timezone": "Europe/Zurich" + } + ``` ### DNS - GET `/dns/info` -```json -{ - "host": "ip-address", - "version": "1", - "version_latest": "2", - "servers": ["dns://8.8.8.8"], - "locals": ["dns://xy"] -} -``` + ```json + { + "host": "ip-address", + "version": "1", + "version_latest": "2", + "servers": ["dns://8.8.8.8"], + "locals": ["dns://xy"] + } + ``` - POST `/dns/options` -```json -{ - "servers": ["dns://8.8.8.8"] -} -``` + ```json + { + "servers": ["dns://8.8.8.8"] + } + ``` - POST `/dns/update` -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - POST `/dns/restart` @@ -901,106 +901,106 @@ return: - GET `/dns/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### CLI - GET `/cli/info` -```json -{ - "version": "1", - "version_latest": "2" -} -``` + ```json + { + "version": "1", + "version_latest": "2" + } + ``` - POST `/cli/update` -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - GET `/cli/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### Observer - GET `/observer/info` -```json -{ - "host": "ip-address", - "version": "1", - "version_latest": "2" -} -``` + ```json + { + "host": "ip-address", + "version": "1", + "version_latest": "2" + } + ``` - POST `/observer/update` -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - GET `/observer/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### Multicast - GET `/multicast/info` -```json -{ - "version": "1", - "version_latest": "2" -} -``` + ```json + { + "version": "1", + "version_latest": "2" + } + ``` - POST `/multicast/update` -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - POST `/multicast/restart` @@ -1008,109 +1008,109 @@ return: - GET `/multicast/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### Audio - GET `/audio/info` -```json -{ - "host": "ip-address", - "version": "1", - "latest_version": "2", - "audio": { - "card": [ - { - "name": "...", - "index": 1, - "driver": "...", - "profiles": [ - { - "name": "...", - "description": "...", - "active": false - } - ] - } - ], - "input": [ - { - "name": "...", - "index": 0, - "description": "...", - "volume": 0.3, - "mute": false, - "default": false, - "card": "null|int", - "applications": [ - { - "name": "...", - "index": 0, - "stream_index": 0, - "stream_type": "INPUT", - "volume": 0.3, - "mute": false, - "addon": "" - } - ] - } - ], - "output": [ - { - "name": "...", - "index": 0, - "description": "...", - "volume": 0.3, - "mute": false, - "default": false, - "card": "null|int", - "applications": [ - { - "name": "...", - "index": 0, - "stream_index": 0, - "stream_type": "OUTPUT", - "volume": 0.3, - "mute": false, - "addon": "" - } - ] - } - ], - "application": [ - { - "name": "...", - "index": 0, - "stream_index": 0, - "stream_type": "OUTPUT", - "volume": 0.3, - "mute": false, - "addon": "" - } - ] + ```json + { + "host": "ip-address", + "version": "1", + "latest_version": "2", + "audio": { + "card": [ + { + "name": "...", + "index": 1, + "driver": "...", + "profiles": [ + { + "name": "...", + "description": "...", + "active": false + } + ] + } + ], + "input": [ + { + "name": "...", + "index": 0, + "description": "...", + "volume": 0.3, + "mute": false, + "default": false, + "card": "null|int", + "applications": [ + { + "name": "...", + "index": 0, + "stream_index": 0, + "stream_type": "INPUT", + "volume": 0.3, + "mute": false, + "addon": "" + } + ] + } + ], + "output": [ + { + "name": "...", + "index": 0, + "description": "...", + "volume": 0.3, + "mute": false, + "default": false, + "card": "null|int", + "applications": [ + { + "name": "...", + "index": 0, + "stream_index": 0, + "stream_type": "OUTPUT", + "volume": 0.3, + "mute": false, + "addon": "" + } + ] + } + ], + "application": [ + { + "name": "...", + "index": 0, + "stream_index": 0, + "stream_type": "OUTPUT", + "volume": 0.3, + "mute": false, + "addon": "" + } + ] + } } -} -``` + ``` - POST `/audio/update` -```json -{ - "version": "VERSION" -} -``` + ```json + { + "version": "VERSION" + } + ``` - POST `/audio/restart` @@ -1120,97 +1120,97 @@ return: - POST `/audio/volume/input` -```json -{ - "index": "...", - "volume": 0.5 -} -``` + ```json + { + "index": "...", + "volume": 0.5 + } + ``` - POST `/audio/volume/output` -```json -{ - "index": "...", - "volume": 0.5 -} -``` + ```json + { + "index": "...", + "volume": 0.5 + } + ``` - POST `/audio/volume/{output|input}/application` -```json -{ - "index": "...", - "volume": 0.5 -} -``` + ```json + { + "index": "...", + "volume": 0.5 + } + ``` - POST `/audio/mute/input` -```json -{ - "index": "...", - "active": false -} -``` + ```json + { + "index": "...", + "active": false + } + ``` - POST `/audio/mute/output` -```json -{ - "index": "...", - "active": false -} -``` + ```json + { + "index": "...", + "active": false + } + ``` - POST `/audio/mute/{output|input}/application` -```json -{ - "index": "...", - "active": false -} -``` + ```json + { + "index": "...", + "active": false + } + ``` - POST `/audio/default/input` -```json -{ - "name": "..." -} -``` + ```json + { + "name": "..." + } + ``` - POST `/audio/default/output` -```json -{ - "name": "..." -} -``` + ```json + { + "name": "..." + } + ``` - POST `/audio/profile` -```json -{ - "card": "...", - "name": "..." -} -``` + ```json + { + "card": "...", + "name": "..." + } + ``` - GET `/audio/stats` -```json -{ - "cpu_percent": 0.0, - "memory_usage": 283123, - "memory_limit": 329392, - "memory_percent": 1.4, - "network_tx": 0, - "network_rx": 0, - "blk_read": 0, - "blk_write": 0 -} -``` + ```json + { + "cpu_percent": 0.0, + "memory_usage": 283123, + "memory_limit": 329392, + "memory_percent": 1.4, + "network_tx": 0, + "network_rx": 0, + "blk_read": 0, + "blk_write": 0 + } + ``` ### Authentication/SSO API @@ -1227,9 +1227,9 @@ We support: * POST `/auth/reset` -```json -{ - "username": "xy", - "password": "new-password" -} -``` + ```json + { + "username": "xy", + "password": "new-password" + } + ``` From 8694eaaf1a40a685a15b78a2b5a2ee885cb1a3dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Sep 2020 08:47:58 +0200 Subject: [PATCH 08/12] Bump getsentry/action-release from v1.0.1 to v1.0.2 (#2055) Bumps [getsentry/action-release](https://github.com/getsentry/action-release) from v1.0.1 to v1.0.2. - [Release notes](https://github.com/getsentry/action-release/releases) - [Commits](https://github.com/getsentry/action-release/compare/v1.0.1...61b2cc1defeb409c001886994e3944a03ef8935d) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/sentry.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sentry.yaml b/.github/workflows/sentry.yaml index b1391a721..2b53da690 100644 --- a/.github/workflows/sentry.yaml +++ b/.github/workflows/sentry.yaml @@ -12,7 +12,7 @@ jobs: - name: Check out code from GitHub uses: actions/checkout@v2 - name: Sentry Release - uses: getsentry/action-release@v1.0.1 + uses: getsentry/action-release@v1.0.2 env: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_ORG: ${{ secrets.SENTRY_ORG }} From 2f0e99d4207f3cdccee799c9e800f25768cba744 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Sep 2020 08:48:35 +0200 Subject: [PATCH 09/12] Bump sentry-sdk from 0.17.4 to 0.17.5 (#2056) Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.17.4 to 0.17.5. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGES.md) - [Commits](https://github.com/getsentry/sentry-python/compare/0.17.4...0.17.5) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9a366d273..5db53eaf4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,6 @@ pulsectl==20.5.1 pytz==2020.1 pyudev==0.22.0 ruamel.yaml==0.15.100 -sentry-sdk==0.17.4 +sentry-sdk==0.17.5 uvloop==0.14.0 voluptuous==0.11.7 From 4da2715d146a903937cb71efb686b8adffc44f0e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 15 Sep 2020 10:46:58 +0200 Subject: [PATCH 10/12] Add observer version to sentry (#2054) --- supervisor/misc/filter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisor/misc/filter.py b/supervisor/misc/filter.py index c76a0bcb2..918915022 100644 --- a/supervisor/misc/filter.py +++ b/supervisor/misc/filter.py @@ -71,6 +71,7 @@ def filter_data(coresys: CoreSys, event: dict, hint: dict) -> dict: "dns": coresys.plugins.dns.version, "docker": coresys.docker.info.version, "multicast": coresys.plugins.multicast.version, + "observer": coresys.plugins.observer.version, "os": coresys.hassos.version, "supervisor": coresys.supervisor.version, }, From 045a3ba416c3ad94abbe8f356874a985527750b2 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 15 Sep 2020 14:54:18 +0200 Subject: [PATCH 11/12] Disable auto boot for add-ons with missconfig (#2057) --- supervisor/addons/__init__.py | 32 ++++++++++++++------- supervisor/addons/addon.py | 33 +++++++++++++--------- supervisor/addons/model.py | 3 +- supervisor/addons/validate.py | 7 ++--- supervisor/api/addons.py | 5 ++-- supervisor/const.py | 10 +++++-- supervisor/core.py | 4 +-- supervisor/docker/__init__.py | 25 +++++++++++------ supervisor/docker/addon.py | 18 ++++++------ supervisor/docker/homeassistant.py | 4 +-- supervisor/docker/interface.py | 45 +++++++++++++++++------------- supervisor/docker/network.py | 6 ++-- supervisor/docker/supervisor.py | 8 +++--- supervisor/exceptions.py | 14 +++++++++- supervisor/homeassistant/core.py | 28 +++++++++---------- supervisor/plugins/audio.py | 20 ++++++------- supervisor/plugins/cli.py | 18 ++++++------ supervisor/plugins/dns.py | 20 ++++++------- supervisor/plugins/multicast.py | 20 ++++++------- supervisor/plugins/observer.py | 16 +++++------ supervisor/supervisor.py | 12 ++++---- 21 files changed, 198 insertions(+), 150 deletions(-) diff --git a/supervisor/addons/__init__.py b/supervisor/addons/__init__.py index 53ae136cf..1acadd1a7 100644 --- a/supervisor/addons/__init__.py +++ b/supervisor/addons/__init__.py @@ -5,13 +5,17 @@ import logging import tarfile from typing import Dict, List, Optional, Union -from ..const import BOOT_AUTO, AddonStartup, AddonState +from ..const import AddonBoot, AddonStartup, AddonState from ..coresys import CoreSys, CoreSysAttributes from ..exceptions import ( + AddonConfigurationError, AddonsError, AddonsNotSupportedError, CoreDNSError, DockerAPIError, + DockerError, + DockerNotFound, + DockerRequestError, HomeAssistantAPIError, HostAppArmorError, ) @@ -84,7 +88,7 @@ class AddonManager(CoreSysAttributes): """Boot add-ons with mode auto.""" tasks: List[Addon] = [] for addon in self.installed: - if addon.boot != BOOT_AUTO or addon.startup != stage: + if addon.boot != AddonBoot.AUTO or addon.startup != stage: continue tasks.append(addon) @@ -98,9 +102,17 @@ class AddonManager(CoreSysAttributes): for addon in tasks: try: await addon.start() + except DockerRequestError: + pass + except (AddonConfigurationError, DockerAPIError, DockerNotFound): + addon.boot = AddonBoot.MANUAL + addon.save_persist() except Exception as err: # pylint: disable=broad-except - _LOGGER.warning("Can't start Add-on %s: %s", addon.slug, err) self.sys_capture_exception(err) + else: + continue + + _LOGGER.warning("Can't start Add-on %s", addon.slug) await asyncio.sleep(self.sys_config.wait_boot) @@ -153,7 +165,7 @@ class AddonManager(CoreSysAttributes): try: await addon.instance.install(store.version, store.image) - except DockerAPIError as err: + except DockerError as err: self.data.uninstall(addon) raise AddonsError() from err else: @@ -174,7 +186,7 @@ class AddonManager(CoreSysAttributes): try: await addon.instance.remove() - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err else: addon.state = AddonState.UNKNOWN @@ -245,9 +257,9 @@ class AddonManager(CoreSysAttributes): await addon.instance.update(store.version, store.image) # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await addon.instance.cleanup() - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err else: self.data.update(store) @@ -285,7 +297,7 @@ class AddonManager(CoreSysAttributes): try: await addon.instance.remove() await addon.instance.install(addon.version) - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err else: self.data.update(store) @@ -337,7 +349,7 @@ class AddonManager(CoreSysAttributes): self.sys_docker.network.stale_cleanup, addon.instance.name ) - with suppress(DockerAPIError, KeyError): + with suppress(DockerError, KeyError): # Need pull a image again if not addon.need_build: await addon.instance.install(addon.version, addon.image) @@ -362,7 +374,7 @@ class AddonManager(CoreSysAttributes): try: if not await addon.instance.is_running(): continue - except DockerAPIError as err: + except DockerError as err: _LOGGER.warning("Add-on %s is corrupt: %s", addon.slug, err) self.sys_core.healthy = False self.sys_capture_exception(err) diff --git a/supervisor/addons/addon.py b/supervisor/addons/addon.py index c9fc5a1f3..b49cc10f5 100644 --- a/supervisor/addons/addon.py +++ b/supervisor/addons/addon.py @@ -39,6 +39,7 @@ from ..const import ( ATTR_VERSION, ATTR_WATCHDOG, DNS_SUFFIX, + AddonBoot, AddonStartup, AddonState, ) @@ -49,7 +50,8 @@ from ..exceptions import ( AddonConfigurationError, AddonsError, AddonsNotSupportedError, - DockerAPIError, + DockerError, + DockerRequestError, HostAppArmorError, JsonFileError, ) @@ -98,7 +100,7 @@ class Addon(AddonModel): async def load(self) -> None: """Async initialize of object.""" - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.attach(tag=self.version) # Evaluate state @@ -163,12 +165,12 @@ class Addon(AddonModel): self.persist[ATTR_OPTIONS] = {} if value is None else deepcopy(value) @property - def boot(self) -> bool: + def boot(self) -> AddonBoot: """Return boot config with prio local settings.""" return self.persist.get(ATTR_BOOT, super().boot) @boot.setter - def boot(self, value: bool) -> None: + def boot(self, value: AddonBoot) -> None: """Store user boot options.""" self.persist[ATTR_BOOT] = value @@ -560,7 +562,10 @@ class Addon(AddonModel): # Start Add-on try: await self.instance.run() - except DockerAPIError as err: + except DockerRequestError as err: + self.state = AddonState.STOPPED + raise AddonsError() from err + except DockerError as err: self.state = AddonState.ERROR raise AddonsError(err) from err else: @@ -570,7 +575,9 @@ class Addon(AddonModel): """Stop add-on.""" try: return await self.instance.stop() - except DockerAPIError as err: + except DockerRequestError as err: + raise AddonsError() from err + except DockerError as err: self.state = AddonState.ERROR raise AddonsError() from err else: @@ -600,7 +607,7 @@ class Addon(AddonModel): """Return stats of container.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err async def write_stdin(self, data) -> None: @@ -614,7 +621,7 @@ class Addon(AddonModel): try: return await self.instance.write_stdin(data) - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err async def snapshot(self, tar_file: tarfile.TarFile) -> None: @@ -626,7 +633,7 @@ class Addon(AddonModel): if self.need_build: try: await self.instance.export_image(temp_path.joinpath("image.tar")) - except DockerAPIError as err: + except DockerError as err: raise AddonsError() from err data = { @@ -728,18 +735,18 @@ class Addon(AddonModel): image_file = Path(temp, "image.tar") if image_file.is_file(): - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.import_image(image_file) else: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install(version, restore_image) await self.instance.cleanup() elif self.instance.version != version or self.legacy: _LOGGER.info("Restore/Update image for addon %s", self.slug) - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.update(version, restore_image) else: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.stop() # Restore data diff --git a/supervisor/addons/model.py b/supervisor/addons/model.py index 48e97bbde..362a06192 100644 --- a/supervisor/addons/model.py +++ b/supervisor/addons/model.py @@ -66,6 +66,7 @@ from ..const import ( SECURITY_DEFAULT, SECURITY_DISABLE, SECURITY_PROFILE, + AddonBoot, AddonStage, AddonStartup, ) @@ -109,7 +110,7 @@ class AddonModel(CoreSysAttributes, ABC): return self.data[ATTR_OPTIONS] @property - def boot(self) -> bool: + def boot(self) -> AddonBoot: """Return boot config with prio local settings.""" return self.data[ATTR_BOOT] diff --git a/supervisor/addons/validate.py b/supervisor/addons/validate.py index 54f884ca4..3430a722c 100644 --- a/supervisor/addons/validate.py +++ b/supervisor/addons/validate.py @@ -82,11 +82,10 @@ from ..const import ( ATTR_VIDEO, ATTR_WATCHDOG, ATTR_WEBUI, - BOOT_AUTO, - BOOT_MANUAL, PRIVILEGED_ALL, ROLE_ALL, ROLE_DEFAULT, + AddonBoot, AddonStage, AddonStartup, AddonState, @@ -193,7 +192,7 @@ SCHEMA_ADDON_CONFIG = vol.Schema( vol.Optional(ATTR_MACHINE): vol.All([vol.Match(RE_MACHINE)], vol.Unique()), vol.Optional(ATTR_URL): vol.Url(), vol.Required(ATTR_STARTUP): vol.All(_simple_startup, vol.Coerce(AddonStartup)), - vol.Required(ATTR_BOOT): vol.In([BOOT_AUTO, BOOT_MANUAL]), + vol.Required(ATTR_BOOT): vol.Coerce(AddonBoot), vol.Optional(ATTR_INIT, default=True): vol.Boolean(), vol.Optional(ATTR_ADVANCED, default=False): vol.Boolean(), vol.Optional(ATTR_STAGE, default=AddonStage.STABLE): vol.Coerce(AddonStage), @@ -303,7 +302,7 @@ SCHEMA_ADDON_USER = vol.Schema( ), vol.Optional(ATTR_OPTIONS, default=dict): dict, vol.Optional(ATTR_AUTO_UPDATE, default=False): vol.Boolean(), - vol.Optional(ATTR_BOOT): vol.In([BOOT_AUTO, BOOT_MANUAL]), + vol.Optional(ATTR_BOOT): vol.Coerce(AddonBoot), vol.Optional(ATTR_NETWORK): docker_ports, vol.Optional(ATTR_AUDIO_OUTPUT): vol.Maybe(vol.Coerce(str)), vol.Optional(ATTR_AUDIO_INPUT): vol.Maybe(vol.Coerce(str)), diff --git a/supervisor/api/addons.py b/supervisor/api/addons.py index 0ddfcbcff..674c24b79 100644 --- a/supervisor/api/addons.py +++ b/supervisor/api/addons.py @@ -91,12 +91,11 @@ from ..const import ( ATTR_VIDEO, ATTR_WATCHDOG, ATTR_WEBUI, - BOOT_AUTO, - BOOT_MANUAL, CONTENT_TYPE_BINARY, CONTENT_TYPE_PNG, CONTENT_TYPE_TEXT, REQUEST_FROM, + AddonBoot, AddonState, ) from ..coresys import CoreSysAttributes @@ -112,7 +111,7 @@ SCHEMA_VERSION = vol.Schema({vol.Optional(ATTR_VERSION): vol.Coerce(str)}) # pylint: disable=no-value-for-parameter SCHEMA_OPTIONS = vol.Schema( { - vol.Optional(ATTR_BOOT): vol.In([BOOT_AUTO, BOOT_MANUAL]), + vol.Optional(ATTR_BOOT): vol.Coerce(AddonBoot), vol.Optional(ATTR_NETWORK): vol.Maybe(docker_ports), vol.Optional(ATTR_AUTO_UPDATE): vol.Boolean(), vol.Optional(ATTR_AUDIO_OUTPUT): vol.Maybe(vol.Coerce(str)), diff --git a/supervisor/const.py b/supervisor/const.py index cf8848138..53486befe 100644 --- a/supervisor/const.py +++ b/supervisor/const.py @@ -277,9 +277,6 @@ PROVIDE_SERVICE = "provide" NEED_SERVICE = "need" WANT_SERVICE = "want" -BOOT_AUTO = "auto" -BOOT_MANUAL = "manual" - MAP_CONFIG = "config" MAP_SSL = "ssl" @@ -352,6 +349,13 @@ CHAN_TYPE = "chan_type" SUPERVISED_SUPPORTED_OS = ["Debian GNU/Linux 10 (buster)"] +class AddonBoot(str, Enum): + """Boot mode for the add-on.""" + + AUTO = "auto" + MANUAL = "manual" + + class AddonStartup(str, Enum): """Startup types of Add-on.""" diff --git a/supervisor/core.py b/supervisor/core.py index de007d2f6..5646ac18f 100644 --- a/supervisor/core.py +++ b/supervisor/core.py @@ -15,7 +15,7 @@ from .const import ( ) from .coresys import CoreSys, CoreSysAttributes from .exceptions import ( - DockerAPIError, + DockerError, HassioError, HomeAssistantError, SupervisorUpdateError, @@ -177,7 +177,7 @@ class Core(CoreSysAttributes): if await self.sys_run_in_executor(self.sys_docker.check_denylist_images): self.supported = False self.healthy = False - except DockerAPIError: + except DockerError: self.healthy = False async def start(self): diff --git a/supervisor/docker/__init__.py b/supervisor/docker/__init__.py index fdfc0decf..e29001fae 100644 --- a/supervisor/docker/__init__.py +++ b/supervisor/docker/__init__.py @@ -11,7 +11,7 @@ from packaging import version as pkg_version import requests from ..const import DNS_SUFFIX, DOCKER_IMAGE_DENYLIST, SOCKET_DOCKER -from ..exceptions import DockerAPIError +from ..exceptions import DockerAPIError, DockerError, DockerNotFound, DockerRequestError from .network import DockerNetwork _LOGGER: logging.Logger = logging.getLogger(__name__) @@ -129,27 +129,36 @@ class DockerAPI: container = self.docker.containers.create( f"{image}:{version}", use_config_proxy=False, **kwargs ) - except (docker.errors.DockerException, requests.RequestException) as err: + except docker.errors.NotFound as err: + _LOGGER.error("Image %s not exists for %s", image, name) + raise DockerNotFound() from err + except docker.errors.DockerException as err: _LOGGER.error("Can't create container from %s: %s", name, err) raise DockerAPIError() from err + except requests.RequestException as err: + _LOGGER.error("Dockerd connection issue for %s: %s", name, err) + raise DockerRequestError() from err # Attach network if not network_mode: alias = [hostname] if hostname else None try: self.network.attach_container(container, alias=alias, ipv4=ipv4) - except DockerAPIError: + except DockerError: _LOGGER.warning("Can't attach %s to hassio-net!", name) else: - with suppress(DockerAPIError): + with suppress(DockerError): self.network.detach_default_bridge(container) # Run container try: container.start() - except (docker.errors.DockerException, requests.RequestException) as err: + except docker.errors.DockerException as err: _LOGGER.error("Can't start %s: %s", name, err) - raise DockerAPIError(err) from err + raise DockerAPIError() from err + except requests.RequestException as err: + _LOGGER.error("Dockerd connection issue for %s: %s", name, err) + raise DockerRequestError() from err # Update metadata with suppress(docker.errors.DockerException, requests.RequestException): @@ -187,7 +196,7 @@ class DockerAPI: except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't execute command: %s", err) - raise DockerAPIError() from err + raise DockerError() from err finally: # cleanup container @@ -249,7 +258,7 @@ class DockerAPI: denied_images.add(image_name) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Corrupt docker overlayfs detect: %s", err) - raise DockerAPIError() from err + raise DockerError() from err if not denied_images: return False diff --git a/supervisor/docker/addon.py b/supervisor/docker/addon.py index 860695a15..93af23c15 100644 --- a/supervisor/docker/addon.py +++ b/supervisor/docker/addon.py @@ -26,7 +26,7 @@ from ..const import ( SECURITY_PROFILE, ) from ..coresys import CoreSys -from ..exceptions import CoreDNSError, DockerAPIError +from ..exceptions import CoreDNSError, DockerError from ..utils import process_lock from .interface import DockerInterface @@ -419,7 +419,7 @@ class DockerAddon(DockerInterface): except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't build %s:%s: %s", self.image, tag, err) - raise DockerAPIError() from err + raise DockerError() from err _LOGGER.info("Build %s:%s done", self.image, tag) @@ -437,7 +437,7 @@ class DockerAddon(DockerInterface): image = self.sys_docker.api.get_image(f"{self.image}:{self.version}") except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't fetch image %s: %s", self.image, err) - raise DockerAPIError() from err + raise DockerError() from err _LOGGER.info("Export image %s to %s", self.image, tar_file) try: @@ -446,7 +446,7 @@ class DockerAddon(DockerInterface): write_tar.write(chunk) except (OSError, requests.RequestException) as err: _LOGGER.error("Can't write tar file %s: %s", tar_file, err) - raise DockerAPIError() from err + raise DockerError() from err _LOGGER.info("Export image %s done", self.image) @@ -467,12 +467,12 @@ class DockerAddon(DockerInterface): docker_image = self.sys_docker.images.get(f"{self.image}:{self.version}") except (docker.errors.DockerException, OSError) as err: _LOGGER.error("Can't import image %s: %s", self.image, err) - raise DockerAPIError() from err + raise DockerError() from err self._meta = docker_image.attrs _LOGGER.info("Import image %s and version %s", tar_file, self.version) - with suppress(DockerAPIError): + with suppress(DockerError): self._cleanup() @process_lock @@ -486,7 +486,7 @@ class DockerAddon(DockerInterface): Need run inside executor. """ if not self._is_running(): - raise DockerAPIError() + raise DockerError() try: # Load needed docker objects @@ -494,7 +494,7 @@ class DockerAddon(DockerInterface): socket = container.attach_socket(params={"stdin": 1, "stream": 1}) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't attach to %s stdin: %s", self.name, err) - raise DockerAPIError() from err + raise DockerError() from err try: # Write to stdin @@ -503,7 +503,7 @@ class DockerAddon(DockerInterface): socket.close() except OSError as err: _LOGGER.error("Can't write to %s stdin: %s", self.name, err) - raise DockerAPIError() from err + raise DockerError() from err def _stop(self, remove_container=True) -> None: """Stop/remove Docker container. diff --git a/supervisor/docker/homeassistant.py b/supervisor/docker/homeassistant.py index 8fbc4f08c..96d75d750 100644 --- a/supervisor/docker/homeassistant.py +++ b/supervisor/docker/homeassistant.py @@ -7,7 +7,7 @@ import docker import requests from ..const import ENV_TIME, ENV_TOKEN, ENV_TOKEN_HASSIO, LABEL_MACHINE, MACHINE_ID -from ..exceptions import DockerAPIError +from ..exceptions import DockerError from .interface import CommandReturn, DockerInterface _LOGGER: logging.Logger = logging.getLogger(__name__) @@ -177,7 +177,7 @@ class DockerHomeAssistant(DockerInterface): except docker.errors.NotFound: return False except (docker.errors.DockerException, requests.RequestException): - return DockerAPIError() + return DockerError() # we run on an old image, stop and start it if docker_container.image.id != docker_image.id: diff --git a/supervisor/docker/interface.py b/supervisor/docker/interface.py index fffc9e03e..ee86dd772 100644 --- a/supervisor/docker/interface.py +++ b/supervisor/docker/interface.py @@ -11,7 +11,7 @@ import requests from . import CommandReturn from ..const import LABEL_ARCH, LABEL_VERSION from ..coresys import CoreSys, CoreSysAttributes -from ..exceptions import DockerAPIError +from ..exceptions import DockerAPIError, DockerError, DockerNotFound, DockerRequestError from ..utils import process_lock from .stats import DockerStats @@ -108,11 +108,11 @@ class DockerInterface(CoreSysAttributes): "Available space in /data is: %s GiB", free_space, ) - raise DockerAPIError() from err + raise DockerError() from err except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Unknown error with %s:%s -> %s", image, tag, err) self.sys_capture_exception(err) - raise DockerAPIError() from err + raise DockerError() from err else: self._meta = docker_image.attrs @@ -146,8 +146,10 @@ class DockerInterface(CoreSysAttributes): docker_container = self.sys_docker.containers.get(self.name) except docker.errors.NotFound: return False - except (docker.errors.DockerException, requests.RequestException) as err: + except docker.errors.DockerException as err: raise DockerAPIError() from err + except requests.RequestException as err: + raise DockerRequestError() from err return docker_container.status == "running" @@ -170,7 +172,7 @@ class DockerInterface(CoreSysAttributes): # Successfull? if not self._meta: - raise DockerAPIError() + raise DockerError() _LOGGER.info("Attach to %s with version %s", self.image, self.version) @process_lock @@ -200,7 +202,7 @@ class DockerInterface(CoreSysAttributes): except docker.errors.NotFound: return except (docker.errors.DockerException, requests.RequestException) as err: - raise DockerAPIError() from err + raise DockerError() from err if docker_container.status == "running": _LOGGER.info("Stop %s application", self.name) @@ -226,14 +228,14 @@ class DockerInterface(CoreSysAttributes): docker_container = self.sys_docker.containers.get(self.name) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("%s not found for starting up", self.name) - raise DockerAPIError() from err + raise DockerError() from err _LOGGER.info("Start %s", self.name) try: docker_container.start() except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't start %s: %s", self.name, err) - raise DockerAPIError() from err + raise DockerError() from err @process_lock def remove(self) -> Awaitable[None]: @@ -246,7 +248,7 @@ class DockerInterface(CoreSysAttributes): Needs run inside executor. """ # Cleanup container - with suppress(DockerAPIError): + with suppress(DockerError): self._stop() _LOGGER.info("Remove image %s with latest and %s", self.image, self.version) @@ -262,7 +264,7 @@ class DockerInterface(CoreSysAttributes): except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.warning("Can't remove image %s: %s", self.image, err) - raise DockerAPIError() from err + raise DockerError() from err self._meta = None @@ -290,7 +292,7 @@ class DockerInterface(CoreSysAttributes): self._install(tag, image=image, latest=latest) # Stop container & cleanup - with suppress(DockerAPIError): + with suppress(DockerError): self._stop() def logs(self) -> Awaitable[bytes]: @@ -331,14 +333,14 @@ class DockerInterface(CoreSysAttributes): origin = self.sys_docker.images.get(f"{self.image}:{self.version}") except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.warning("Can't find %s for cleanup", self.image) - raise DockerAPIError() from err + raise DockerError() from err # Cleanup Current try: images_list = self.sys_docker.images.list(name=self.image) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.waring("Corrupt docker overlayfs found: %s", err) - raise DockerAPIError() from err + raise DockerError() from err for image in images_list: if origin.id == image.id: @@ -356,7 +358,7 @@ class DockerInterface(CoreSysAttributes): images_list = self.sys_docker.images.list(name=old_image) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.waring("Corrupt docker overlayfs found: %s", err) - raise DockerAPIError() from err + raise DockerError() from err for image in images_list: with suppress(docker.errors.DockerException, requests.RequestException): @@ -376,14 +378,14 @@ class DockerInterface(CoreSysAttributes): try: container = self.sys_docker.containers.get(self.name) except (docker.errors.DockerException, requests.RequestException) as err: - raise DockerAPIError() from err + raise DockerError() from err _LOGGER.info("Restart %s", self.image) try: container.restart(timeout=self.timeout) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.warning("Can't restart %s: %s", self.image, err) - raise DockerAPIError() from err + raise DockerError() from err @process_lock def execute_command(self, command: str) -> Awaitable[CommandReturn]: @@ -409,14 +411,14 @@ class DockerInterface(CoreSysAttributes): try: docker_container = self.sys_docker.containers.get(self.name) except (docker.errors.DockerException, requests.RequestException) as err: - raise DockerAPIError() from err + raise DockerError() from err try: stats = docker_container.stats(stream=False) return DockerStats(stats) except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't read stats from %s: %s", self.name, err) - raise DockerAPIError() from err + raise DockerError() from err def is_failed(self) -> Awaitable[bool]: """Return True if Docker is failing state. @@ -435,7 +437,7 @@ class DockerInterface(CoreSysAttributes): except docker.errors.NotFound: return False except (docker.errors.DockerException, requests.RequestException) as err: - raise DockerAPIError() from err + raise DockerError() from err # container is not running if docker_container.status != "exited": @@ -469,7 +471,10 @@ class DockerInterface(CoreSysAttributes): except (docker.errors.DockerException, ValueError) as err: _LOGGER.debug("No version found for %s", self.image) - raise DockerAPIError() from err + raise DockerNotFound() from err + except requests.RequestException as err: + _LOGGER.warning("Communication issues with dockerd on Host: %s", err) + raise DockerRequestError() from err else: _LOGGER.debug("Found %s versions: %s", self.image, available_version) diff --git a/supervisor/docker/network.py b/supervisor/docker/network.py index 16c3a46cb..6fd1ff5da 100644 --- a/supervisor/docker/network.py +++ b/supervisor/docker/network.py @@ -8,7 +8,7 @@ import docker import requests from ..const import DOCKER_NETWORK, DOCKER_NETWORK_MASK, DOCKER_NETWORK_RANGE -from ..exceptions import DockerAPIError +from ..exceptions import DockerError _LOGGER: logging.Logger = logging.getLogger(__name__) @@ -113,7 +113,7 @@ class DockerNetwork: self.network.connect(container, aliases=alias, ipv4_address=ipv4_address) except docker.errors.APIError as err: _LOGGER.error("Can't link container to hassio-net: %s", err) - raise DockerAPIError() from err + raise DockerError() from err self.network.reload() @@ -133,7 +133,7 @@ class DockerNetwork: except docker.errors.APIError as err: _LOGGER.warning("Can't disconnect container from default: %s", err) - raise DockerAPIError() from err + raise DockerError() from err def stale_cleanup(self, container_name: str): """Remove force a container from Network. diff --git a/supervisor/docker/supervisor.py b/supervisor/docker/supervisor.py index 7413d46d0..7ee381cb1 100644 --- a/supervisor/docker/supervisor.py +++ b/supervisor/docker/supervisor.py @@ -8,7 +8,7 @@ import docker import requests from ..coresys import CoreSysAttributes -from ..exceptions import DockerAPIError +from ..exceptions import DockerError from .interface import DockerInterface _LOGGER: logging.Logger = logging.getLogger(__name__) @@ -40,7 +40,7 @@ class DockerSupervisor(DockerInterface, CoreSysAttributes): try: docker_container = self.sys_docker.containers.get(self.name) except (docker.errors.DockerException, requests.RequestException) as err: - raise DockerAPIError() from err + raise DockerError() from err self._meta = docker_container.attrs _LOGGER.info( @@ -77,7 +77,7 @@ class DockerSupervisor(DockerInterface, CoreSysAttributes): docker_container.image.tag(self.image, tag="latest") except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't retag supervisor version: %s", err) - raise DockerAPIError() from err + raise DockerError() from err def update_start_tag(self, image: str, version: str) -> Awaitable[None]: """Update start tag to new version.""" @@ -104,4 +104,4 @@ class DockerSupervisor(DockerInterface, CoreSysAttributes): except (docker.errors.DockerException, requests.RequestException) as err: _LOGGER.error("Can't fix start tag: %s", err) - raise DockerAPIError() from err + raise DockerError() from err diff --git a/supervisor/exceptions.py b/supervisor/exceptions.py index 852c0a30b..f2fbc6e64 100644 --- a/supervisor/exceptions.py +++ b/supervisor/exceptions.py @@ -238,10 +238,22 @@ class JsonFileError(HassioError): # docker/api -class DockerAPIError(HassioError): +class DockerError(HassioError): + """Docker API/Transport errors.""" + + +class DockerAPIError(DockerError): """Docker API error.""" +class DockerRequestError(DockerError): + """Dockerd OS issues.""" + + +class DockerNotFound(DockerError): + """Docker object don't Exists.""" + + # Hardware diff --git a/supervisor/homeassistant/core.py b/supervisor/homeassistant/core.py index e6810f3e9..36f20cf33 100644 --- a/supervisor/homeassistant/core.py +++ b/supervisor/homeassistant/core.py @@ -15,7 +15,7 @@ from packaging import version as pkg_version from ..coresys import CoreSys, CoreSysAttributes from ..docker.homeassistant import DockerHomeAssistant from ..docker.stats import DockerStats -from ..exceptions import DockerAPIError, HomeAssistantError, HomeAssistantUpdateError +from ..exceptions import DockerError, HomeAssistantError, HomeAssistantUpdateError from ..utils import convert_to_ascii, process_lock _LOGGER: logging.Logger = logging.getLogger(__name__) @@ -58,7 +58,7 @@ class HomeAssistantCore(CoreSysAttributes): ) await self.instance.attach(tag=self.sys_homeassistant.version) - except DockerAPIError: + except DockerError: _LOGGER.info( "No Home Assistant Docker image %s found.", self.sys_homeassistant.image ) @@ -85,7 +85,7 @@ class HomeAssistantCore(CoreSysAttributes): await self.instance.install( LANDINGPAGE, image=self.sys_updater.image_homeassistant ) - except DockerAPIError: + except DockerError: _LOGGER.warning("Fails install landingpage, retry after 30sec") await asyncio.sleep(30) except Exception as err: # pylint: disable=broad-except @@ -117,7 +117,7 @@ class HomeAssistantCore(CoreSysAttributes): tag, image=self.sys_updater.image_homeassistant ) break - except DockerAPIError: + except DockerError: pass except Exception as err: # pylint: disable=broad-except self.sys_capture_exception(err) @@ -138,7 +138,7 @@ class HomeAssistantCore(CoreSysAttributes): _LOGGER.error("Can't start Home Assistant!") # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup() @process_lock @@ -162,7 +162,7 @@ class HomeAssistantCore(CoreSysAttributes): await self.instance.update( to_version, image=self.sys_updater.image_homeassistant ) - except DockerAPIError as err: + except DockerError as err: _LOGGER.warning("Update Home Assistant image failed") raise HomeAssistantUpdateError() from err else: @@ -175,7 +175,7 @@ class HomeAssistantCore(CoreSysAttributes): # Successfull - last step self.sys_homeassistant.save_data() - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Update Home Assistant @@ -212,7 +212,7 @@ class HomeAssistantCore(CoreSysAttributes): try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: raise HomeAssistantError() from err await self._block_till_run(self.sys_homeassistant.version) @@ -228,7 +228,7 @@ class HomeAssistantCore(CoreSysAttributes): if await self.instance.is_initialize(): try: await self.instance.start() - except DockerAPIError as err: + except DockerError as err: raise HomeAssistantError() from err await self._block_till_run(self.sys_homeassistant.version) @@ -244,7 +244,7 @@ class HomeAssistantCore(CoreSysAttributes): """ try: return await self.instance.stop(remove_container=False) - except DockerAPIError as err: + except DockerError as err: raise HomeAssistantError() from err @process_lock @@ -252,7 +252,7 @@ class HomeAssistantCore(CoreSysAttributes): """Restart Home Assistant Docker.""" try: await self.instance.restart() - except DockerAPIError as err: + except DockerError as err: raise HomeAssistantError() from err await self._block_till_run(self.sys_homeassistant.version) @@ -260,7 +260,7 @@ class HomeAssistantCore(CoreSysAttributes): @process_lock async def rebuild(self) -> None: """Rebuild Home Assistant Docker container.""" - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.stop() await self._start() @@ -278,7 +278,7 @@ class HomeAssistantCore(CoreSysAttributes): """ try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise HomeAssistantError() from err def is_running(self) -> Awaitable[bool]: @@ -407,5 +407,5 @@ class HomeAssistantCore(CoreSysAttributes): # Pull image try: await self.instance.install(self.sys_homeassistant.version) - except DockerAPIError: + except DockerError: _LOGGER.error("Repairing of Home Assistant failed") diff --git a/supervisor/plugins/audio.py b/supervisor/plugins/audio.py index 3f98e24ce..d88ec668b 100644 --- a/supervisor/plugins/audio.py +++ b/supervisor/plugins/audio.py @@ -15,7 +15,7 @@ from ..const import ATTR_IMAGE, ATTR_VERSION from ..coresys import CoreSys, CoreSysAttributes from ..docker.audio import DockerAudio from ..docker.stats import DockerStats -from ..exceptions import AudioError, AudioUpdateError, DockerAPIError +from ..exceptions import AudioError, AudioUpdateError, DockerError from ..utils.json import JsonConfig from .const import FILE_HASSIO_AUDIO from .validate import SCHEMA_AUDIO_CONFIG @@ -92,7 +92,7 @@ class Audio(JsonConfig, CoreSysAttributes): self.version = await self.instance.get_latest_version() await self.instance.attach(tag=self.version) - except DockerAPIError: + except DockerError: _LOGGER.info("No Audio plugin Docker image %s found.", self.instance.image) # Install PulseAudio @@ -131,7 +131,7 @@ class Audio(JsonConfig, CoreSysAttributes): await self.sys_updater.reload() if self.latest_version: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install( self.latest_version, image=self.sys_updater.image_audio ) @@ -155,7 +155,7 @@ class Audio(JsonConfig, CoreSysAttributes): try: await self.instance.update(version, image=self.sys_updater.image_audio) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Audio update failed") raise AudioUpdateError() from err else: @@ -164,7 +164,7 @@ class Audio(JsonConfig, CoreSysAttributes): self.save_data() # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Start Audio @@ -175,7 +175,7 @@ class Audio(JsonConfig, CoreSysAttributes): _LOGGER.info("Restart Audio plugin") try: await self.instance.restart() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start Audio plugin") raise AudioError() from err @@ -184,7 +184,7 @@ class Audio(JsonConfig, CoreSysAttributes): _LOGGER.info("Start Audio plugin") try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start Audio plugin") raise AudioError() from err @@ -193,7 +193,7 @@ class Audio(JsonConfig, CoreSysAttributes): _LOGGER.info("Stop Audio plugin") try: await self.instance.stop() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't stop Audio plugin") raise AudioError() from err @@ -208,7 +208,7 @@ class Audio(JsonConfig, CoreSysAttributes): """Return stats of CoreDNS.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise AudioError() from err def is_running(self) -> Awaitable[bool]: @@ -226,7 +226,7 @@ class Audio(JsonConfig, CoreSysAttributes): _LOGGER.info("Repair Audio %s", self.version) try: await self.instance.install(self.version) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Repairing of Audio failed") self.sys_capture_exception(err) diff --git a/supervisor/plugins/cli.py b/supervisor/plugins/cli.py index 7df5cf4ee..88979dd04 100644 --- a/supervisor/plugins/cli.py +++ b/supervisor/plugins/cli.py @@ -12,7 +12,7 @@ from ..const import ATTR_ACCESS_TOKEN, ATTR_IMAGE, ATTR_VERSION from ..coresys import CoreSys, CoreSysAttributes from ..docker.cli import DockerCli from ..docker.stats import DockerStats -from ..exceptions import CliError, CliUpdateError, DockerAPIError +from ..exceptions import CliError, CliUpdateError, DockerError from ..utils.json import JsonConfig from .const import FILE_HASSIO_CLI from .validate import SCHEMA_CLI_CONFIG @@ -80,7 +80,7 @@ class HaCli(CoreSysAttributes, JsonConfig): self.version = await self.instance.get_latest_version() await self.instance.attach(tag=self.version) - except DockerAPIError: + except DockerError: _LOGGER.info("No cli plugin Docker image %s found.", self.instance.image) # Install cli @@ -105,7 +105,7 @@ class HaCli(CoreSysAttributes, JsonConfig): await self.sys_updater.reload() if self.latest_version: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install( self.latest_version, image=self.sys_updater.image_cli, @@ -133,7 +133,7 @@ class HaCli(CoreSysAttributes, JsonConfig): await self.instance.update( version, image=self.sys_updater.image_cli, latest=True ) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("HA cli update failed") raise CliUpdateError() from err else: @@ -142,7 +142,7 @@ class HaCli(CoreSysAttributes, JsonConfig): self.save_data() # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Start cli @@ -158,7 +158,7 @@ class HaCli(CoreSysAttributes, JsonConfig): _LOGGER.info("Start cli plugin") try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start cli plugin") raise CliError() from err @@ -167,7 +167,7 @@ class HaCli(CoreSysAttributes, JsonConfig): _LOGGER.info("Stop cli plugin") try: await self.instance.stop() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't stop cli plugin") raise CliError() from err @@ -175,7 +175,7 @@ class HaCli(CoreSysAttributes, JsonConfig): """Return stats of cli.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise CliError() from err def is_running(self) -> Awaitable[bool]: @@ -193,6 +193,6 @@ class HaCli(CoreSysAttributes, JsonConfig): _LOGGER.info("Repair HA cli %s", self.version) try: await self.instance.install(self.version, latest=True) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Repairing of HA cli failed") self.sys_capture_exception(err) diff --git a/supervisor/plugins/dns.py b/supervisor/plugins/dns.py index 3fff1110e..ddc49c92c 100644 --- a/supervisor/plugins/dns.py +++ b/supervisor/plugins/dns.py @@ -17,7 +17,7 @@ from ..const import ATTR_IMAGE, ATTR_SERVERS, ATTR_VERSION, DNS_SUFFIX, LogLevel from ..coresys import CoreSys, CoreSysAttributes from ..docker.dns import DockerDNS from ..docker.stats import DockerStats -from ..exceptions import CoreDNSError, CoreDNSUpdateError, DockerAPIError +from ..exceptions import CoreDNSError, CoreDNSUpdateError, DockerError from ..utils.json import JsonConfig from ..validate import dns_url from .const import FILE_HASSIO_DNS @@ -120,7 +120,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): self.version = await self.instance.get_latest_version() await self.instance.attach(tag=self.version) - except DockerAPIError: + except DockerError: _LOGGER.info( "No CoreDNS plugin Docker image %s found.", self.instance.image ) @@ -162,7 +162,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): await self.sys_updater.reload() if self.latest_version: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install( self.latest_version, image=self.sys_updater.image_dns ) @@ -190,7 +190,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): # Update try: await self.instance.update(version, image=self.sys_updater.image_dns) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("CoreDNS update failed") raise CoreDNSUpdateError() from err else: @@ -199,7 +199,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): self.save_data() # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Start CoreDNS @@ -211,7 +211,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): _LOGGER.info("Restart CoreDNS plugin") try: await self.instance.restart() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start CoreDNS plugin") raise CoreDNSError() from err @@ -223,7 +223,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): _LOGGER.info("Start CoreDNS plugin") try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start CoreDNS plugin") raise CoreDNSError() from err @@ -232,7 +232,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): _LOGGER.info("Stop CoreDNS plugin") try: await self.instance.stop() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't stop CoreDNS plugin") raise CoreDNSError() from err @@ -389,7 +389,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): """Return stats of CoreDNS.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise CoreDNSError() from err def is_running(self) -> Awaitable[bool]: @@ -414,7 +414,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes): _LOGGER.info("Repair CoreDNS %s", self.version) try: await self.instance.install(self.version) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Repairing of CoreDNS failed") self.sys_capture_exception(err) diff --git a/supervisor/plugins/multicast.py b/supervisor/plugins/multicast.py index 1a11d7095..674f9e7ba 100644 --- a/supervisor/plugins/multicast.py +++ b/supervisor/plugins/multicast.py @@ -11,7 +11,7 @@ from ..const import ATTR_IMAGE, ATTR_VERSION from ..coresys import CoreSys, CoreSysAttributes from ..docker.multicast import DockerMulticast from ..docker.stats import DockerStats -from ..exceptions import DockerAPIError, MulticastError, MulticastUpdateError +from ..exceptions import DockerError, MulticastError, MulticastUpdateError from ..utils.json import JsonConfig from .const import FILE_HASSIO_MULTICAST from .validate import SCHEMA_MULTICAST_CONFIG @@ -74,7 +74,7 @@ class Multicast(JsonConfig, CoreSysAttributes): self.version = await self.instance.get_latest_version() await self.instance.attach(tag=self.version) - except DockerAPIError: + except DockerError: _LOGGER.info( "No Multicast plugin Docker image %s found.", self.instance.image ) @@ -103,7 +103,7 @@ class Multicast(JsonConfig, CoreSysAttributes): await self.sys_updater.reload() if self.latest_version: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install( self.latest_version, image=self.sys_updater.image_multicast ) @@ -128,7 +128,7 @@ class Multicast(JsonConfig, CoreSysAttributes): # Update try: await self.instance.update(version, image=self.sys_updater.image_multicast) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Multicast update failed") raise MulticastUpdateError() from err else: @@ -137,7 +137,7 @@ class Multicast(JsonConfig, CoreSysAttributes): self.save_data() # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Start Multicast plugin @@ -148,7 +148,7 @@ class Multicast(JsonConfig, CoreSysAttributes): _LOGGER.info("Restart Multicast plugin") try: await self.instance.restart() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start Multicast plugin") raise MulticastError() from err @@ -157,7 +157,7 @@ class Multicast(JsonConfig, CoreSysAttributes): _LOGGER.info("Start Multicast plugin") try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start Multicast plugin") raise MulticastError() from err @@ -166,7 +166,7 @@ class Multicast(JsonConfig, CoreSysAttributes): _LOGGER.info("Stop Multicast plugin") try: await self.instance.stop() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't stop Multicast plugin") raise MulticastError() from err @@ -181,7 +181,7 @@ class Multicast(JsonConfig, CoreSysAttributes): """Return stats of Multicast.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise MulticastError() from err def is_running(self) -> Awaitable[bool]: @@ -206,6 +206,6 @@ class Multicast(JsonConfig, CoreSysAttributes): _LOGGER.info("Repair Multicast %s", self.version) try: await self.instance.install(self.version) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Repairing of Multicast failed") self.sys_capture_exception(err) diff --git a/supervisor/plugins/observer.py b/supervisor/plugins/observer.py index bea5ad357..eb13cbc9c 100644 --- a/supervisor/plugins/observer.py +++ b/supervisor/plugins/observer.py @@ -12,7 +12,7 @@ from ..const import ATTR_ACCESS_TOKEN, ATTR_IMAGE, ATTR_VERSION from ..coresys import CoreSys, CoreSysAttributes from ..docker.observer import DockerObserver from ..docker.stats import DockerStats -from ..exceptions import DockerAPIError, ObserverError, ObserverUpdateError +from ..exceptions import DockerError, ObserverError, ObserverUpdateError from ..utils.json import JsonConfig from .const import FILE_HASSIO_OBSERVER from .validate import SCHEMA_OBSERVER_CONFIG @@ -80,7 +80,7 @@ class Observer(CoreSysAttributes, JsonConfig): self.version = await self.instance.get_latest_version() await self.instance.attach(tag=self.version) - except DockerAPIError: + except DockerError: _LOGGER.info( "No observer plugin Docker image %s found.", self.instance.image ) @@ -107,7 +107,7 @@ class Observer(CoreSysAttributes, JsonConfig): await self.sys_updater.reload() if self.latest_version: - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.install( self.latest_version, image=self.sys_updater.image_observer ) @@ -131,7 +131,7 @@ class Observer(CoreSysAttributes, JsonConfig): try: await self.instance.update(version, image=self.sys_updater.image_observer) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("HA observer update failed") raise ObserverUpdateError() from err else: @@ -140,7 +140,7 @@ class Observer(CoreSysAttributes, JsonConfig): self.save_data() # Cleanup - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup(old_image=old_image) # Start observer @@ -157,7 +157,7 @@ class Observer(CoreSysAttributes, JsonConfig): _LOGGER.info("Start observer plugin") try: await self.instance.run() - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Can't start observer plugin") raise ObserverError() from err @@ -165,7 +165,7 @@ class Observer(CoreSysAttributes, JsonConfig): """Return stats of observer.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise ObserverError() from err def is_running(self) -> Awaitable[bool]: @@ -183,6 +183,6 @@ class Observer(CoreSysAttributes, JsonConfig): _LOGGER.info("Repair HA observer %s", self.version) try: await self.instance.install(self.version) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Repairing of HA observer failed") self.sys_capture_exception(err) diff --git a/supervisor/supervisor.py b/supervisor/supervisor.py index a79279b02..4fcd853e4 100644 --- a/supervisor/supervisor.py +++ b/supervisor/supervisor.py @@ -14,7 +14,7 @@ from .coresys import CoreSys, CoreSysAttributes from .docker.stats import DockerStats from .docker.supervisor import DockerSupervisor from .exceptions import ( - DockerAPIError, + DockerError, HostAppArmorError, SupervisorError, SupervisorUpdateError, @@ -35,10 +35,10 @@ class Supervisor(CoreSysAttributes): """Prepare Home Assistant object.""" try: await self.instance.attach(tag="latest") - except DockerAPIError: + except DockerError: _LOGGER.critical("Can't setup Supervisor Docker container!") - with suppress(DockerAPIError): + with suppress(DockerError): await self.instance.cleanup() @property @@ -115,7 +115,7 @@ class Supervisor(CoreSysAttributes): await self.instance.update_start_tag( self.sys_updater.image_supervisor, version ) - except DockerAPIError as err: + except DockerError as err: _LOGGER.error("Update of Supervisor failed!") raise SupervisorUpdateError() from err else: @@ -142,7 +142,7 @@ class Supervisor(CoreSysAttributes): """Return stats of Supervisor.""" try: return await self.instance.stats() - except DockerAPIError as err: + except DockerError as err: raise SupervisorError() from err async def repair(self): @@ -153,5 +153,5 @@ class Supervisor(CoreSysAttributes): _LOGGER.info("Repair Supervisor %s", self.version) try: await self.instance.retag() - except DockerAPIError: + except DockerError: _LOGGER.error("Repairing of Supervisor failed") From 64a6c2e07c97217763b3c0974fe6285ced0bb6a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 15 Sep 2020 15:58:01 +0200 Subject: [PATCH 12/12] Update panel to d6aba04 (#2058) --- home-assistant-polymer | 2 +- supervisor/api/panel/entrypoint.js | 4 +- supervisor/api/panel/entrypoint.js.gz | Bin 196 -> 194 bytes .../chunk.095b5a8570ff19eea467.js | 2 + .../chunk.095b5a8570ff19eea467.js.gz | Bin 0 -> 4296 bytes .../chunk.095b5a8570ff19eea467.js.map | 1 + .../chunk.0a106e488ed654ffce49.js | 2 - .../chunk.0a106e488ed654ffce49.js.gz | Bin 4221 -> 0 bytes .../chunk.0a106e488ed654ffce49.js.map | 1 - .../chunk.2b590ee397502865577d.js.gz | Bin 5544 -> 0 bytes .../chunk.2b590ee397502865577d.js.map | 1 - .../chunk.2fedc1a3cb3d8b758b92.js | 2 + .../chunk.2fedc1a3cb3d8b758b92.js.gz | Bin 0 -> 24254 bytes .../chunk.2fedc1a3cb3d8b758b92.js.map | 1 + ...5577d.js => chunk.33da75209731c9f0b81a.js} | 2 +- .../chunk.33da75209731c9f0b81a.js.gz | Bin 0 -> 5542 bytes .../chunk.33da75209731c9f0b81a.js.map | 1 + ...fbe1a.js => chunk.3e52d734bb60544642e8.js} | 4 +- .../chunk.3e52d734bb60544642e8.js.gz | Bin 0 -> 4612 bytes .../chunk.3e52d734bb60544642e8.js.map | 1 + .../chunk.3e7c27cbbb8b44bddd5f.js.gz | Bin 16939 -> 0 bytes .../chunk.3e7c27cbbb8b44bddd5f.js.map | 1 - .../chunk.4e329b1d42b5358fbe1a.js.gz | Bin 4624 -> 0 bytes .../chunk.4e329b1d42b5358fbe1a.js.map | 1 - ...ddd5f.js => chunk.9861d0fdbc47c03a1a5c.js} | 6 +- ...chunk.9861d0fdbc47c03a1a5c.js.LICENSE.txt} | 0 .../chunk.9861d0fdbc47c03a1a5c.js.gz | Bin 0 -> 16930 bytes .../chunk.9861d0fdbc47c03a1a5c.js.map | 1 + .../chunk.a0bbc7b092a109a89b49.js | 2 - .../chunk.a0bbc7b092a109a89b49.js.gz | Bin 24236 -> 0 bytes .../chunk.a0bbc7b092a109a89b49.js.map | 1 - .../panel/frontend_es5/entrypoint.028a6bad.js | 3 - .../frontend_es5/entrypoint.028a6bad.js.gz | Bin 252374 -> 0 bytes .../frontend_es5/entrypoint.028a6bad.js.map | 1 - .../panel/frontend_es5/entrypoint.871af696.js | 3 + ...txt => entrypoint.871af696.js.LICENSE.txt} | 0 .../frontend_es5/entrypoint.871af696.js.gz | Bin 0 -> 252511 bytes .../frontend_es5/entrypoint.871af696.js.map | 1 + .../api/panel/frontend_es5/manifest.json | 2 +- ...6cba2.js => chunk.37f6183e2aa511d31a60.js} | 8 +- .../chunk.37f6183e2aa511d31a60.js.gz | Bin 0 -> 17728 bytes ....map => chunk.37f6183e2aa511d31a60.js.map} | 2 +- ...df8f7.js => chunk.54411c889e12d1088f34.js} | 21 +-- .../chunk.54411c889e12d1088f34.js.gz | Bin 0 -> 3503 bytes .../chunk.54411c889e12d1088f34.js.map | 1 + .../chunk.64b648e525a4fd321c8a.js.gz | Bin 4482 -> 0 bytes .../chunk.65999be5697048c06838.js.gz | Bin 3761 -> 0 bytes .../chunk.65999be5697048c06838.js.map | 1 - .../chunk.6bb7ce5727199e27cab7.js.gz | Bin 16774 -> 0 bytes .../chunk.6bb7ce5727199e27cab7.js.map | 1 - .../chunk.9a51b75455a6b146cba2.js.gz | Bin 17718 -> 0 bytes ...7cab7.js => chunk.a1e2542b403d6c623155.js} | 6 +- ...chunk.a1e2542b403d6c623155.js.LICENSE.txt} | 0 .../chunk.a1e2542b403d6c623155.js.gz | Bin 0 -> 16770 bytes .../chunk.a1e2542b403d6c623155.js.map | 1 + .../chunk.b786cdd4432edb4df8f7.js.gz | Bin 3430 -> 0 bytes .../chunk.b786cdd4432edb4df8f7.js.map | 1 - ...21c8a.js => chunk.ba99eaff59b636b2f274.js} | 2 +- .../chunk.ba99eaff59b636b2f274.js.gz | Bin 0 -> 4480 bytes ....map => chunk.ba99eaff59b636b2f274.js.map} | 2 +- ...06838.js => chunk.e0e7eb9358333eaa4b44.js} | 4 +- .../chunk.e0e7eb9358333eaa4b44.js.gz | Bin 0 -> 3758 bytes .../chunk.e0e7eb9358333eaa4b44.js.map | 1 + .../frontend_latest/entrypoint.babc4122.js.gz | Bin 206758 -> 0 bytes .../entrypoint.babc4122.js.map | 1 - ...int.babc4122.js => entrypoint.ced77c9a.js} | 127 ++++++++++-------- ...txt => entrypoint.ced77c9a.js.LICENSE.txt} | 0 .../frontend_latest/entrypoint.ced77c9a.js.gz | Bin 0 -> 206805 bytes .../entrypoint.ced77c9a.js.map | 1 + .../api/panel/frontend_latest/manifest.json | 2 +- 70 files changed, 121 insertions(+), 107 deletions(-) create mode 100644 supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js create mode 100644 supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js.gz create mode 100644 supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js.map delete mode 100644 supervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js delete mode 100644 supervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js.map delete mode 100644 supervisor/api/panel/frontend_es5/chunk.2b590ee397502865577d.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/chunk.2b590ee397502865577d.js.map create mode 100644 supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js create mode 100644 supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js.gz create mode 100644 supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js.map rename supervisor/api/panel/frontend_es5/{chunk.2b590ee397502865577d.js => chunk.33da75209731c9f0b81a.js} (99%) create mode 100644 supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.gz create mode 100644 supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.map rename supervisor/api/panel/frontend_es5/{chunk.4e329b1d42b5358fbe1a.js => chunk.3e52d734bb60544642e8.js} (99%) create mode 100644 supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js.gz create mode 100644 supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js.map delete mode 100644 supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.map delete mode 100644 supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js.map rename supervisor/api/panel/frontend_es5/{chunk.3e7c27cbbb8b44bddd5f.js => chunk.9861d0fdbc47c03a1a5c.js} (99%) rename supervisor/api/panel/frontend_es5/{chunk.3e7c27cbbb8b44bddd5f.js.LICENSE.txt => chunk.9861d0fdbc47c03a1a5c.js.LICENSE.txt} (100%) create mode 100644 supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.gz create mode 100644 supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.map delete mode 100644 supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js delete mode 100644 supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js.map delete mode 100644 supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js delete mode 100644 supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js.gz delete mode 100644 supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js.map create mode 100644 supervisor/api/panel/frontend_es5/entrypoint.871af696.js rename supervisor/api/panel/frontend_es5/{entrypoint.028a6bad.js.LICENSE.txt => entrypoint.871af696.js.LICENSE.txt} (100%) create mode 100644 supervisor/api/panel/frontend_es5/entrypoint.871af696.js.gz create mode 100644 supervisor/api/panel/frontend_es5/entrypoint.871af696.js.map rename supervisor/api/panel/frontend_latest/{chunk.9a51b75455a6b146cba2.js => chunk.37f6183e2aa511d31a60.js} (92%) create mode 100644 supervisor/api/panel/frontend_latest/chunk.37f6183e2aa511d31a60.js.gz rename supervisor/api/panel/frontend_latest/{chunk.9a51b75455a6b146cba2.js.map => chunk.37f6183e2aa511d31a60.js.map} (90%) rename supervisor/api/panel/frontend_latest/{chunk.b786cdd4432edb4df8f7.js => chunk.54411c889e12d1088f34.js} (70%) create mode 100644 supervisor/api/panel/frontend_latest/chunk.54411c889e12d1088f34.js.gz create mode 100644 supervisor/api/panel/frontend_latest/chunk.54411c889e12d1088f34.js.map delete mode 100644 supervisor/api/panel/frontend_latest/chunk.64b648e525a4fd321c8a.js.gz delete mode 100644 supervisor/api/panel/frontend_latest/chunk.65999be5697048c06838.js.gz delete mode 100644 supervisor/api/panel/frontend_latest/chunk.65999be5697048c06838.js.map delete mode 100644 supervisor/api/panel/frontend_latest/chunk.6bb7ce5727199e27cab7.js.gz delete mode 100644 supervisor/api/panel/frontend_latest/chunk.6bb7ce5727199e27cab7.js.map delete mode 100644 supervisor/api/panel/frontend_latest/chunk.9a51b75455a6b146cba2.js.gz rename supervisor/api/panel/frontend_latest/{chunk.6bb7ce5727199e27cab7.js => chunk.a1e2542b403d6c623155.js} (99%) rename supervisor/api/panel/frontend_latest/{chunk.6bb7ce5727199e27cab7.js.LICENSE.txt => chunk.a1e2542b403d6c623155.js.LICENSE.txt} (100%) create mode 100644 supervisor/api/panel/frontend_latest/chunk.a1e2542b403d6c623155.js.gz create mode 100644 supervisor/api/panel/frontend_latest/chunk.a1e2542b403d6c623155.js.map delete mode 100644 supervisor/api/panel/frontend_latest/chunk.b786cdd4432edb4df8f7.js.gz delete mode 100644 supervisor/api/panel/frontend_latest/chunk.b786cdd4432edb4df8f7.js.map rename supervisor/api/panel/frontend_latest/{chunk.64b648e525a4fd321c8a.js => chunk.ba99eaff59b636b2f274.js} (99%) create mode 100644 supervisor/api/panel/frontend_latest/chunk.ba99eaff59b636b2f274.js.gz rename supervisor/api/panel/frontend_latest/{chunk.64b648e525a4fd321c8a.js.map => chunk.ba99eaff59b636b2f274.js.map} (68%) rename supervisor/api/panel/frontend_latest/{chunk.65999be5697048c06838.js => chunk.e0e7eb9358333eaa4b44.js} (98%) create mode 100644 supervisor/api/panel/frontend_latest/chunk.e0e7eb9358333eaa4b44.js.gz create mode 100644 supervisor/api/panel/frontend_latest/chunk.e0e7eb9358333eaa4b44.js.map delete mode 100644 supervisor/api/panel/frontend_latest/entrypoint.babc4122.js.gz delete mode 100644 supervisor/api/panel/frontend_latest/entrypoint.babc4122.js.map rename supervisor/api/panel/frontend_latest/{entrypoint.babc4122.js => entrypoint.ced77c9a.js} (91%) rename supervisor/api/panel/frontend_latest/{entrypoint.babc4122.js.LICENSE.txt => entrypoint.ced77c9a.js.LICENSE.txt} (100%) create mode 100644 supervisor/api/panel/frontend_latest/entrypoint.ced77c9a.js.gz create mode 100644 supervisor/api/panel/frontend_latest/entrypoint.ced77c9a.js.map diff --git a/home-assistant-polymer b/home-assistant-polymer index 0c7c536f7..d6aba040d 160000 --- a/home-assistant-polymer +++ b/home-assistant-polymer @@ -1 +1 @@ -Subproject commit 0c7c536f73bc8c73aea8c2c3f89114bdd62b9551 +Subproject commit d6aba040dde366249ba10c5149a5fbc68a1d98bc diff --git a/supervisor/api/panel/entrypoint.js b/supervisor/api/panel/entrypoint.js index 0edda374e..2ea601042 100644 --- a/supervisor/api/panel/entrypoint.js +++ b/supervisor/api/panel/entrypoint.js @@ -1,9 +1,9 @@ try { - new Function("import('/api/hassio/app/frontend_latest/entrypoint.babc4122.js')")(); + new Function("import('/api/hassio/app/frontend_latest/entrypoint.ced77c9a.js')")(); } catch (err) { var el = document.createElement('script'); - el.src = '/api/hassio/app/frontend_es5/entrypoint.028a6bad.js'; + el.src = '/api/hassio/app/frontend_es5/entrypoint.871af696.js'; document.body.appendChild(el); } \ No newline at end of file diff --git a/supervisor/api/panel/entrypoint.js.gz b/supervisor/api/panel/entrypoint.js.gz index 3315319588505a72f76062d46ecce97a142906c4..4dcbd6a92accff719fa2bbb514081688baf11317 100644 GIT binary patch literal 194 zcmV;z06qU7iwFP!0000219gtEPQ@?`MfZM%^_C_}A_iWm5EFvmK*4dsRnO)Zu0^QCmmGw;cq+=b znu<82I88VQ_tr;yvBusHUw}by1w+jCXXQOGP=*JH759x!j7h7WGU=y-9XT}_6$TBu w&Zy!4HK^bIb-0^u!g8Ijr-L^9uDsTGI3<;NTvLvQ^696MZ*mRVu>k=90JB+GumAu6 literal 196 zcmV;#06YI5iwFP!0000219gtUN(39!@!DvS8; zX1wTSZwdV0|9_Lp8NMcf%AfFZs-(G9cgV-yMBN;)=dj@zx!Kvno3yH2(`!NHp@FOM zz2&MtVx*hvb@lIKUJi>}9;R;~RNBC?$nv}LfdX9M5mKYmkqskZt9mYMpA8O@+;uh> yEa-=jg)eLHxc%>Nwcg`h#I!qD!{175>FkX(=4s0%IWD`OMScLuZ!sJJ0RRA{reiPw diff --git a/supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js b/supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js new file mode 100644 index 000000000..5069a9953 --- /dev/null +++ b/supervisor/api/panel/frontend_es5/chunk.095b5a8570ff19eea467.js @@ -0,0 +1,2 @@ +(self.webpackJsonp=self.webpackJsonp||[]).push([[2],{161:function(e,t,r){"use strict";r.r(t);r(44),r(81);var n=r(0),i=r(14),o=r(11),a=(r(102),r(103),r(13));function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){var e=h(["\n :host([inert]) {\n pointer-events: initial !important;\n cursor: initial !important;\n }\n a {\n color: var(--primary-color);\n }\n p {\n margin: 0;\n padding-top: 6px;\n padding-bottom: 24px;\n color: var(--primary-text-color);\n }\n .no-bottom-padding {\n padding-bottom: 0;\n }\n .secondary {\n color: var(--secondary-text-color);\n }\n ha-dialog {\n /* Place above other dialogs */\n --dialog-z-index: 104;\n }\n "]);return c=function(){return e},e}function l(){var e=h(["\n \n ',"\n \n "]);return l=function(){return e},e}function u(){var e=h(["\n \n "]);return u=function(){return e},e}function p(){var e=h(["\n \n ","\n

\n "]);return p=function(){return e},e}function d(){var e=h(["\n \n ',"\n \n \n "]);return d=function(){return e},e}function f(){var e=h([""]);return f=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function m(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e){var t,r=x(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function E(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function O(e){return e.decorators&&e.decorators.length}function j(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function P(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function x(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;aT-Z z$>0MxODFp8b3s=E*>Y07&2)DRT<*RBB1Y7!>_%K}dHMEtM#*h)F!S&*U(js3Gix%R zzqerb7av{ZtDP)ur6du|GEMK(oe_z#x+-lt)tM%iPBr=91Ije{qzx2W z)3Mdh--^54_UNkLdseQwyb{Y}P+83{MSXPDWsvd3&t5!_L=0*?ROaqUWp1BT<`{Ej z&5b$2+!*{QBuMcX@7pJNUykzrq7SfuTy2F6qnRlohkWH6xpms1Br{=3Q19=>-PkGw zfHK~wr(tp_R(x064!*jQN{eVywievwnj#8^NcI=Y>Kcb5`odvQ8$ypRhVY6JVASrR zogGHPP^<)F98)evcvv6sjG~RlIZpPb!MVuX%O}mf8kjrUx_WZ!+BGo!ntga6wh);C zr3mO%D0_MNMwB*NX(7HB1V>=hN{Uw+oJZSA7{GC_`AvTBqdOn&v9xJuROmNt%fuwB zm|~pXTYcxbH-(t11>uyHg=v#aQ*v9bN!>Get*T|BVWKhFQb{qhq@+1;vZ;*7v@oi^ z7BH3BwU7izM1=2JQL7c15Rp{UST0M~idahRTC1BxikswbkX*jeT4|Dg#idj>DS2Hd zyp8OH8~E9`L=pDuSdrwqKqVMqUv)ju%hkg}+&2c3WUpWQPU-dQ!h&_EUk$h~W9SJO zDODbO3XPTl1;<_5r0de`?1~7Q+kghfUVN{_^P(t3B==v$N@yX=PI$Yn3{+$zPi=B3 zgzUPe3PLzPiPF`6(yEw?|qS*y(OMe))I3z|KIGZmRi6RR8nzG3` zda39wbkPLKZ^Ase8TX1A&Rz{>NBi;MC=U;#y8w8vv3^ZNn;k6E#VrvT6lgk4H^Q!! zGeZG0m0Zqjf#ECK*kd=kvi!0Z`Q)5|9#+-WPIqG=cN>ADizZKji6JVO=ny@*+3asN zKVb8!5_KfT$q4}j`Vg%<+cQU(on-8$fa3b&2#XxzvW?R>fZ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^pIb%3NLF=EZ5sUx&`18w zoxB^O7(g=43`?DqDT|-%%>j&0IUa~(^WfNR*vOYLW<2N`I&NbBsp8Pahp7Q&Cipr} zL=js9%47Hhp?hc(?R%WwaEA&&`px#}X4`GjA%ZI5j5j+X|T4? zBO*b98|X|Zb3pER~d)wmmYjp zpXOgGRSPc3h}g6lp+NIA9nsN{@(w6R;g7%9TrO+(aqi!@@#es|9$iy+*j7K zBl9sIVab*L+4yvxI{s5HfH*mc`K^)P-lK<@aq@3Y!N(TzceH2eI`}%J9YM4!n>^`@ z2#H*bEc^g2)LY=-NQe%s5+XHZw8(b;R?hOO&iwEgM%2@>Og8;N84OiOF@z8nXM02X z1WJy{82jRwh!^ks6A-|DrIz3<16v)(iU1>Wju|W#Ak4;f^BskW6VsS9-B<0CBG`+U zQ5uS>&2cIo=n2uV?03VWwON;iRK}@aXWhA=M4s>4v2$Pa+&}S+Xks7rx1sno$K)Iv zA$wPg5x2skJLlPw^>JQOQW8oRO#}Z>CV?6FNvHqw{Q3VTM(uPd;5lgvS@G|G`9o2z qck*p^{^^I8AM#H={P=vey7*KG{=r8dXK#!\n ',"\n \n "]);return l=function(){return e},e}function u(){var e=h(["\n \n "]);return u=function(){return e},e}function p(){var e=h(["\n \n ","\n

\n "]);return p=function(){return e},e}function f(){var e=h(["\n \n
\n ","\n ","\n
\n ","\n \n ',"\n \n \n "]);return f=function(){return e},e}function d(){var e=h([""]);return d=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function m(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e){var t,r=x(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function E(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function O(e){return e.decorators&&e.decorators.length}function j(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function P(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function x(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o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ervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js.map b/supervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js.map deleted file mode 100644 index 4d1b6f3d2..000000000 --- a/supervisor/api/panel/frontend_es5/chunk.0a106e488ed654ffce49.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chunk.0a106e488ed654ffce49.js","sources":["webpack:///chunk.0a106e488ed654ffce49.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.2b590ee397502865577d.js.gz b/supervisor/api/panel/frontend_es5/chunk.2b590ee397502865577d.js.gz deleted file mode 100644 index 44e12c774e1cf2c07e6313c1e3c6be41785c8cc4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5544 zcmV;Z6<6vXiwFP!000021Lb`AciXm>|L@;m+3;WL}^(~bUNmlL>iAd`syn@zN0dc z1xH7Rn1}*#^xY9A935gzD%<>p8TsXxc$}u$MDPjKs1_4ysAqF2w3vvRqz4Bn?sZRv z(ryI>q`tv~!pFDYVKOn4;j=cMK)PW!Ss;d&lIexyXi=n1ds-CwVa~*La`rI067{oZ zsj^?zJF-eMNwttC&D20J@gvzPALwL2bMtb{$OigbOn`P#6m9!n^WEvfOgm|K%i9Gp zEVOEcED>HBrLf{2ou@zY#Q!s=b0$ZVDVyA0iI2%L^dw1Hsd-Hw^5hD%dpnN1W>nr( zJWsxwe~j8!;cHehO{-dUDT3LA%oAV)jYf)rd?l3+Bh5bQk?q49sNGY^D}FO496W}_Xr82PbU%zHF^d!8H)O;0cI*h94}TKoq1t_TYVn-3$* z|8qRMpNyP5>s?9m!=$bzw?#_!`+cewx=35BytIq;$iL`MJf6~#y1N-!-OZ_<7W-sB znbcINA~lWai{pc6%m9ghspc$sMrZSJBAL=cvYuE6ja)qf`$2j0oywcW%G*zl=MAG4 z#p#RJ<|9w`NqT%Re-RsIx|8;Ghjvc_=K(4{U+BID=t7HYFN?B* zAk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k.2b590ee397502865577d.js.map deleted file mode 100644 index ab5ddf7cf..000000000 --- a/supervisor/api/panel/frontend_es5/chunk.2b590ee397502865577d.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chunk.2b590ee397502865577d.js","sources":["webpack:///chunk.2b590ee397502865577d.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js b/supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js new file mode 100644 index 000000000..bc821b9d1 --- /dev/null +++ b/supervisor/api/panel/frontend_es5/chunk.2fedc1a3cb3d8b758b92.js @@ -0,0 +1,2 @@ +(self.webpackJsonp=self.webpackJsonp||[]).push([[6],{176:function(e,t,r){"use strict";r.r(t);var n=r(10),i=r(0),o=r(39),a=r(62),s=(r(82),r(80),r(13)),c=r(28),l=(r(44),r(125),r(105),r(123),r(167),r(58),r(116)),d=r(6),u=r(18);function f(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}var p=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.b)(t,{title:n.name,text:"Do you want to restart the add-on with your changes?",confirmText:"restart add-on",dismissText:"no"});case 2:if(!e.sent){e.next=12;break}return e.prev=4,e.next=7,Object(a.h)(r,n.slug);case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(4),Object(u.a)(t,{title:"Failed to restart",text:Object(d.a)(e.t0)});case 12:case"end":return e.stop()}}),e,null,[[4,9]])})),function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){f(o,n,i,a,s,"next",e)}function s(e){f(o,n,i,a,s,"throw",e)}a(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();r(71);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return I(e)}(e)||M(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){v(o,n,i,a,s,"next",e)}function s(e){v(o,n,i,a,s,"throw",e)}a(void 0)}))}}function b(){var e=O(["\n :host,\n ha-card,\n paper-dropdown-menu {\n display: block;\n }\n .errors {\n color: var(--error-color);\n margin-bottom: 16px;\n }\n paper-item {\n width: 450px;\n }\n .card-actions {\n text-align: right;\n }\n "]);return b=function(){return e},e}function g(){var e=O(["\n ","\n "]);return g=function(){return e},e}function w(){var e=O(["\n ","\n "]);return w=function(){return e},e}function k(){var e=O(['

',"
"]);return k=function(){return e},e}function E(){var e=O(['\n \n
\n ','\n\n \n \n \n \n \n \n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ".concat(t.codeMirrorCss,"\n .CodeMirror {\n height: var(--code-mirror-height, auto);\n direction: var(--code-mirror-direction, ltr);\n font-family: var(--code-font-family, monospace);\n }\n .CodeMirror-scroll {\n max-height: var(--code-mirror-max-height, --code-mirror-height);\n }\n :host(.error-state) .CodeMirror-gutters {\n border-color: var(--error-state-color, red);\n }\n .CodeMirror-focused .CodeMirror-gutters {\n border-right: 2px solid var(--paper-input-container-focus-color, var(--primary-color));\n }\n .CodeMirror-linenumber {\n color: var(--paper-dialog-color, var(--secondary-text-color));\n }\n .rtl .CodeMirror-vscrollbar {\n right: auto;\n left: 0px;\n }\n .rtl-gutter {\n width: 20px;\n }\n .CodeMirror-gutters {\n border-right: 1px solid var(--paper-input-container-color, var(--secondary-text-color));\n background-color: var(--paper-dialog-background-color, var(--primary-background-color));\n transition: 0.2s ease border-right;\n }\n .cm-s-default.CodeMirror {\n background-color: var(--code-editor-background-color, var(--card-background-color));\n color: var(--primary-text-color);\n }\n .cm-s-default .CodeMirror-cursor {\n border-left: 1px solid var(--secondary-text-color);\n }\n \n .cm-s-default div.CodeMirror-selected, .cm-s-default.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(var(--rgb-primary-color), 0.2);\n }\n \n .cm-s-default .CodeMirror-line::selection,\n .cm-s-default .CodeMirror-line>span::selection,\n .cm-s-default .CodeMirror-line>span>span::selection {\n background: rgba(var(--rgb-primary-color), 0.2);\n }\n \n .cm-s-default .cm-keyword {\n color: var(--codemirror-keyword, #6262FF);\n }\n \n .cm-s-default .cm-operator {\n color: var(--codemirror-operator, #cda869);\n }\n \n .cm-s-default .cm-variable-2 {\n color: var(--codemirror-variable-2, #690);\n }\n \n .cm-s-default .cm-builtin {\n color: var(--codemirror-builtin, #9B7536);\n }\n \n .cm-s-default .cm-atom {\n color: var(--codemirror-atom, #F90);\n }\n \n .cm-s-default .cm-number {\n color: var(--codemirror-number, #ca7841);\n }\n \n .cm-s-default .cm-def {\n color: var(--codemirror-def, #8DA6CE);\n }\n \n .cm-s-default .cm-string {\n color: var(--codemirror-string, #07a);\n }\n \n .cm-s-default .cm-string-2 {\n color: var(--codemirror-string-2, #bd6b18);\n }\n \n .cm-s-default .cm-comment {\n color: var(--codemirror-comment, #777);\n }\n \n .cm-s-default .cm-variable {\n color: var(--codemirror-variable, #07a);\n }\n \n .cm-s-default .cm-tag {\n color: var(--codemirror-tag, #997643);\n }\n \n .cm-s-default .cm-meta {\n color: var(--codemirror-meta, #000);\n }\n \n .cm-s-default .cm-attribute {\n color: var(--codemirror-attribute, #d6bb6d);\n }\n \n .cm-s-default .cm-property {\n color: var(--codemirror-property, #905);\n }\n \n .cm-s-default .cm-qualifier {\n color: var(--codemirror-qualifier, #690);\n }\n \n .cm-s-default .cm-variable-3 {\n color: var(--codemirror-variable-3, #07a);\n }\n\n .cm-s-default .cm-type {\n color: var(--codemirror-type, #07a);\n }\n "),this.codemirror=r(n,{value:this._value,lineNumbers:!0,tabSize:2,mode:this.mode,autofocus:!1!==this.autofocus,viewportMargin:1/0,readOnly:this.readOnly,extraKeys:{Tab:"indentMore","Shift-Tab":"indentLess"},gutters:this._calcGutters()}),this._setScrollBarDirection(),this.codemirror.on("changes",(function(){return i._onChange()}));case 9:case"end":return e.stop()}}),e,this)})),n=function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function a(e){G(o,n,i,a,s,"next",e)}function s(e){G(o,n,i,a,s,"throw",e)}a(void 0)}))},function(){return n.apply(this,arguments)})},{kind:"method",key:"_onChange",value:function(){var e=this.value;e!==this._value&&(this._value=e,Object(B.a)(this,"value-changed",{value:this._value}))}},{kind:"method",key:"_calcGutters",value:function(){return this.rtl?["rtl-gutter","CodeMirror-linenumbers"]:[]}},{kind:"method",key:"_setScrollBarDirection",value:function(){this.codemirror&&this.codemirror.getWrapperElement().classList.toggle("rtl",this.rtl)}}]}}),i.b);function ce(){var e=ue(["

","

"]);return ce=function(){return e},e}function le(){var e=ue(["\n ","\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;aInvalid YAML
']);return Ae=function(){return e},e}function Te(){var e=ze(['
',"
"]);return Te=function(){return e},e}function Ce(){var e=ze(["\n

",'

\n \n
\n \n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ","\n \n ',"
"]);return Ze=function(){return e},e}function et(){var e=rt(['\n \n
\n ',"\n\n \n \n \n \n \n \n \n ",'\n \n
ContainerHostDescription
\n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;at.container?1:-1}))}},{kind:"method",key:"_configChanged",value:(o=Qe(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.target,this._config.forEach((function(e){e.container===r.container&&e.host!==parseInt(String(r.value),10)&&(e.host=r.value?parseInt(String(r.value),10):null)}));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{kind:"method",key:"_resetTapped",value:(n=Qe(regeneratorRuntime.mark((function e(t){var r,n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=t.currentTarget).progress=!0,n={network:null},e.prev=3,e.next=6,Object(a.i)(this.hass,this.addon.slug,n);case 6:if(o={success:!0,response:void 0,path:"option"},Object(B.a)(this,"hass-api-called",o),"started"!==(null===(i=this.addon)||void 0===i?void 0:i.state)){e.next=11;break}return e.next=11,p(this,this.hass,this.addon);case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),this._error="Failed to set addon network configuration, ".concat(Object(d.a)(e.t0));case 16:r.progress=!1;case 17:case"end":return e.stop()}}),e,this,[[3,13]])}))),function(e){return n.apply(this,arguments)})},{kind:"method",key:"_saveTapped",value:(r=Qe(regeneratorRuntime.mark((function e(t){var r,n,i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=t.currentTarget).progress=!0,this._error=void 0,n={},this._config.forEach((function(e){n[e.container]=parseInt(String(e.host),10)})),i={network:n},e.prev=6,e.next=9,Object(a.i)(this.hass,this.addon.slug,i);case 9:if(s={success:!0,response:void 0,path:"option"},Object(B.a)(this,"hass-api-called",s),"started"!==(null===(o=this.addon)||void 0===o?void 0:o.state)){e.next=14;break}return e.next=14,p(this,this.hass,this.addon);case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),this._error="Failed to set addon network configuration, ".concat(Object(d.a)(e.t0));case 19:r.progress=!1;case 20:case"end":return e.stop()}}),e,this,[[6,16]])}))),function(e){return r.apply(this,arguments)})},{kind:"get",static:!0,key:"styles",value:function(){return[s.c,c.a,Object(i.c)(Je())]}}]}}),i.a);var yt=r(84);function bt(e){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gt(){var e=jt(["\n .content {\n margin: auto;\n padding: 8px;\n max-width: 1024px;\n }\n hassio-addon-network,\n hassio-addon-audio,\n hassio-addon-config {\n margin-bottom: 24px;\n }\n "]);return gt=function(){return e},e}function wt(){var e=jt(["\n \n "]);return wt=function(){return e},e}function kt(){var e=jt(["\n \n "]);return kt=function(){return e},e}function Et(){var e=jt(['\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a"]);return Ht=function(){return e},e}function Bt(){var e=Lt([""]);return Bt=function(){return e},e}function qt(){var e=Lt(['
',"
"]);return qt=function(){return e},e}function Vt(){var e=Lt(['\n
\n \n ','\n
\n ',"\n
\n
\n
\n "]);return Vt=function(){return e},e}function $t(){var e=Lt([""]);return $t=function(){return e},e}function Lt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Wt(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function Gt(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Wt(o,n,i,a,s,"next",e)}function s(e){Wt(o,n,i,a,s,"throw",e)}a(void 0)}))}}function Yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t){return(Jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kt(e,t){return!t||"object"!==Ut(t)&&"function"!=typeof t?Qt(e):t}function Qt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Zt(e){var t,r=ir(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function er(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function tr(e){return e.decorators&&e.decorators.length}function rr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function ir(e){var t=function(e,t){if("object"!==Ut(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ut(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ut(t)?t:String(t)}function or(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ']);return pr=function(){return e},e}function hr(e,t){for(var r=0;r bit more top margin */\n font-weight: 500;\n overflow: hidden;\n text-transform: uppercase;\n text-overflow: ellipsis;\n transition: background-color 0.3s ease-in-out;\n text-transform: var(--ha-label-badge-label-text-transform, uppercase);\n }\n .label-badge .label.big span {\n font-size: 90%;\n padding: 10% 12% 7% 12%; /* push smaller text a bit down to center vertically */\n }\n .badge-container .title {\n margin-top: 1em;\n font-size: var(--ha-label-badge-title-font-size, 0.9em);\n width: var(--ha-label-badge-title-width, 5em);\n font-weight: var(--ha-label-badge-title-font-weight, 400);\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: normal;\n }\n "]);return Er=function(){return e},e}function Or(){var e=Dr(['
',"
"]);return Or=function(){return e},e}function jr(){var e=Dr(['\n \n ',"\n
\n "]);return jr=function(){return e},e}function Pr(){var e=Dr([" "," "]);return Pr=function(){return e},e}function xr(){var e=Dr([" "]);return xr=function(){return e},e}function _r(){var e=Dr(['\n
\n
\n \n \n ',"\n ","\n \n
\n ","\n
\n ","\n
\n "]);return _r=function(){return e},e}function Dr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t){return(Ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tr(e,t){return!t||"object"!==kr(t)&&"function"!=typeof t?Cr(e):t}function Cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Rr(e){var t,r=Nr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Fr(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ir(e){return e.decorators&&e.decorators.length}function Mr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ur(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Nr(e){var t=function(e,t){if("object"!==kr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===kr(t)?t:String(t)}function Hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a4)}),!this.icon||this.value||this.image?"":Object(i.f)(xr(),this.icon),this.value&&!this.image?Object(i.f)(Pr(),this.value):"",this.label?Object(i.f)(jr(),Object(cr.a)({label:!0,big:this.label.length>5}),this.label):"",this.description?Object(i.f)(Or(),this.description):"")}},{kind:"get",static:!0,key:"styles",value:function(){return[Object(i.c)(Er())]}},{kind:"method",key:"updated",value:function(e){Br(qr(r.prototype),"updated",this).call(this,e),e.has("image")&&(this.shadowRoot.getElementById("badge").style.backgroundImage=this.image?"url(".concat(this.image,")"):"")}}]}}),i.a);customElements.define("ha-label-badge",Vr);r(104),r(33),r(103),r(97);var $r=r(117);function Lr(e){return(Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wr(){var e=zn(['\n :host {\n display: block;\n }\n ha-card {\n display: block;\n margin-bottom: 16px;\n }\n ha-card.warning {\n background-color: var(--error-color);\n color: white;\n }\n ha-card.warning .card-header {\n color: white;\n }\n ha-card.warning .card-content {\n color: white;\n }\n ha-card.warning mwc-button {\n --mdc-theme-primary: white !important;\n }\n .warning {\n color: var(--error-color);\n --mdc-theme-primary: var(--error-color);\n }\n .light-color {\n color: var(--secondary-text-color);\n }\n .addon-header {\n padding-left: 8px;\n font-size: 24px;\n color: var(--ha-card-header-color, --primary-text-color);\n }\n .addon-version {\n float: right;\n font-size: 15px;\n vertical-align: middle;\n }\n .errors {\n color: var(--error-color);\n margin-bottom: 16px;\n }\n .description {\n margin-bottom: 16px;\n }\n img.logo {\n max-height: 60px;\n margin: 16px 0;\n display: block;\n }\n\n ha-switch {\n display: flex;\n }\n ha-svg-icon.running {\n color: var(--paper-green-400);\n }\n ha-svg-icon.stopped {\n color: var(--google-red-300);\n }\n ha-call-api-button {\n font-weight: 500;\n color: var(--primary-color);\n }\n .right {\n float: right;\n }\n protection-enable mwc-button {\n --mdc-theme-primary: white;\n }\n .description a {\n color: var(--primary-color);\n }\n .red {\n --ha-label-badge-color: var(--label-badge-red, #df4c1e);\n }\n .blue {\n --ha-label-badge-color: var(--label-badge-blue, #039be5);\n }\n .green {\n --ha-label-badge-color: var(--label-badge-green, #0da035);\n }\n .yellow {\n --ha-label-badge-color: var(--label-badge-yellow, #f4b400);\n }\n .security {\n margin-bottom: 16px;\n }\n .card-actions {\n display: flow-root;\n }\n .security h3 {\n margin-bottom: 8px;\n font-weight: normal;\n }\n .security ha-label-badge {\n cursor: pointer;\n margin-right: 4px;\n --ha-label-badge-padding: 8px 0 0 0;\n }\n .changelog {\n display: contents;\n }\n .changelog-link {\n color: var(--primary-color);\n text-decoration: underline;\n cursor: pointer;\n }\n ha-markdown {\n padding: 16px;\n }\n ha-settings-row {\n padding: 0;\n height: 54px;\n width: 100%;\n }\n ha-settings-row > span[slot="description"] {\n white-space: normal;\n color: var(--secondary-text-color);\n }\n ha-settings-row[three-line] {\n height: 74px;\n }\n\n .addon-options {\n max-width: 50%;\n }\n @media (max-width: 720px) {\n .addon-options {\n max-width: 100%;\n }\n }\n ']);return Wr=function(){return e},e}function Gr(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function Yr(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Gr(o,n,i,a,s,"next",e)}function s(e){Gr(o,n,i,a,s,"throw",e)}a(void 0)}))}}function Jr(){var e=zn(['\n \n
\n \n This add-on is not available on your system.\n

\n ']);return Kr=function(){return e},e}function Qr(){var e=zn(["\n ","\n \n Install\n \n "]);return Qr=function(){return e},e}function Xr(){var e=zn(['\n \n Rebuild\n \n ']);return Xr=function(){return e},e}function Zr(){var e=zn(['\n \n \n Open web UI\n \n \n ']);return en=function(){return e},e}function tn(){var e=zn(["\n \n Start\n \n "]);return tn=function(){return e},e}function rn(){var e=zn(['\n \n Stop\n \n \n Restart\n \n ']);return rn=function(){return e},e}function nn(){var e=zn(["\n ","\n ","\n ",'\n ',"
"]);return on=function(){return e},e}function an(){var e=zn(["\n \n Protection mode\n \n \n Blocks elevated system access from the add-on\n \n \n \n Show in sidebar\n \n \n ',"\n \n \n \n "]);return sn=function(){return e},e}function cn(){var e=zn(["\n \n Auto update\n \n \n Auto update the add-on when there is a new version\n available\n \n \n \n Watchdog\n \n \n This will start the add-on if it crashes\n \n \n \n \n Start on boot\n \n \n Make the add-on start during a system boot\n \n \n \n \n \n \n \n \n \n \n
\n ']);return On=function(){return e},e}function jn(){var e=zn([" "," "]);return jn=function(){return e},e}function Pn(){var e=zn(['\n \n
Warning: Protection mode is disabled!
\n
\n Protection mode on this add-on is disabled! This gives the add-on full access to the entire system, which adds security risks, and could damage your system when used incorrectly. Only disable the protection mode if you know, need AND trust the source of this add-on.\n
\n
\n \n
\n \n ','\n
\n
\n \n Update\n \n ',"\n
\n \n "]);return Tn=function(){return e},e}function Cn(){var e=zn(["\n ","\n ",'\n\n \n \n
\n ',"\n
\n
\n\n ","\n "]);return Cn=function(){return e},e}function zn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t){return(Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function In(e,t){return!t||"object"!==Lr(t)&&"function"!=typeof t?Mn(e):t}function Mn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Nn(e){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(e){var t,r=Ln(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Bn(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function qn(e){return e.decorators&&e.decorators.length}function Vn(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $n(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Ln(e){var t=function(e,t){if("object"!==Lr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Lr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Lr(t)?t:String(t)}function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r **Stable**: These are add-ons ready to be used in production.\n\n **Experimental**: These may contain bugs, and may be unfinished.\n\n **Deprecated**: These add-ons will no longer receive any updates.")},rating:{title:"Add-on Security Rating",description:"Home Assistant provides a security rating to each of the add-ons, which indicates the risks involved when using this add-on. The more access an add-on requires on your system, the lower the score, thus raising the possible security risks.\n\nA score is on a scale from 1 to 6. Where 1 is the lowest score (considered the most insecure and highest risk) and a score of 6 is the highest score (considered the most secure and lowest risk)."},host_network:{title:"Host Network",description:"Add-ons usually run in their own isolated network layer, which prevents them from accessing the network of the host operating system. In some cases, this network isolation can limit add-ons in providing their services and therefore, the isolation can be lifted by the add-on author, giving the add-on full access to the network capabilities of the host machine. This gives the add-on more networking capabilities but lowers the security, hence, the security rating of the add-on will be lowered when this option is used by the add-on."},homeassistant_api:{title:"Home Assistant API Access",description:"This add-on is allowed to access your running Home Assistant instance directly via the Home Assistant API. This mode handles authentication for the add-on as well, which enables an add-on to interact with Home Assistant without the need for additional authentication tokens."},full_access:{title:"Full Hardware Access",description:"This add-on is given full access to the hardware of your system, by request of the add-on author. Access is comparable to the privileged mode in Docker. Since this opens up possible security risks, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},hassio_api:{title:"Supervisor API Access",description:"The add-on was given access to the Supervisor API, by request of the add-on author. By default, the add-on can access general version information of your system. When the add-on requests 'manager' or 'admin' level access to the API, it will gain access to control multiple parts of your Home Assistant system. This permission is indicated by this badge and will impact the security score of the addon negatively."},docker_api:{title:"Full Docker Access",description:"The add-on author has requested the add-on to have management access to the Docker instance running on your system. This mode gives the add-on full access and control to your entire Home Assistant system, which adds security risks, and could damage your system when misused. Therefore, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},host_pid:{title:"Host Processes Namespace",description:"Usually, the processes the add-on runs, are isolated from all other system processes. The add-on author has requested the add-on to have access to the system processes running on the host system instance, and allow the add-on to spawn processes on the host system as well. This mode gives the add-on full access and control to your entire Home Assistant system, which adds security risks, and could damage your system when misused. Therefore, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},apparmor:{title:"AppArmor",description:"AppArmor ('Application Armor') is a Linux kernel security module that restricts add-ons capabilities like network access, raw socket access, and permission to read, write, or execute specific files.\n\nAdd-on authors can provide their security profiles, optimized for the add-on, or request it to be disabled. If AppArmor is disabled, it will raise security risks and therefore, has a negative impact on the security score of the add-on."},auth_api:{title:"Home Assistant Authentication",description:"An add-on can authenticate users against Home Assistant, allowing add-ons to give users the possibility to log into applications running inside add-ons, using their Home Assistant username/password. This badge indicates if the add-on author requests this capability."},ingress:{title:"Ingress",description:"This add-on is using Ingress to embed its interface securely into Home Assistant."}};!function(e,t,r,n){var i=function(){(function(){return e});var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!qn(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a"]);return mi=function(){return e},e}function vi(){var e=bi(['
',"
"]);return vi=function(){return e},e}function yi(){var e=bi(["\n

","

\n \n ",'\n
\n ','\n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a',"\n \n \n "]);return bo=function(){return e},e}function go(){var e=wo([""]);return go=function(){return e},e}function wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e,t){return(Eo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oo(e,t){return!t||"object"!==ho(t)&&"function"!=typeof t?jo(e):t}function jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Po(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function xo(e){return(xo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _o(e){var t,r=Co(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Do(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function So(e){return e.decorators&&e.decorators.length}function Ao(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function To(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Co(e){var t=function(e,t){if("object"!==ho(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ho(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ho(t)?t:String(t)}function zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;aSbBi z&iCz_tQy2YX|w=cR4RSd=PI5&iafe^beb$~aN^9C(c6idey>cwuUaTq7h^`y)95Ko z1wQCfEiW_1);xLlproCTG(9!fq2Re^@Zj+t3>|tr21TbcOzR$j{))D0@*QcHQ1rgf ziY{8=^WPbx*JByg^w#0Aj!Un-I2^t_Ir$>(FmpAatKhn}=DRUW(u7vAC=5YNvhUKh zw+f&OjBGb;n7Jq_p`ltUT`1$Eej5p@ts;{yW-?N&b5%5B(eX@sc=NVKn-DbV&oqLh zi1LBUGKA`>7ET|JBi%U?f`AMj8o*)EIFJ3VU(ll^(30?;U4x^o1G|LlLyS*NJ>KgN zus0iNxXObIms^m#EYcZRF7`ck5c{`iZiMjnc*82Ef9 zJL^H}_?3W_n42i@Mzem*ujSnob^HWisI(M^w5z?=Q%z(OOj<~0axPN+E!Y%0?_^n}KQHPHk%ksw%q<7yr830Cq65AzpM zTmXN3{9el+zl|^0jz69(vg}_mlKk~68e+Y3(wcu`ByJ5A*@!QtpqYp_&J=~0n*fUH zn97wS{O0v7jBLPK*m8l+Wkn7NtQCe>Y;VSjobryGAVreK0Y6(~l0o0LOb|u41g|Ik z&&BN%JaChKYBOq%^YiJN-X9lP+hn-A5`0FgsKxF@P8 znHv{~tLlle1!W~lbu`CZWlBROZ%2czxOK!7+*3E*Wn>L)WDwA>W3hr2i4P9vtOBQ~ zc(br>r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5@E\n \n Wipe & restore\n \n ']);return p=function(){return e},e}function h(){var e=w(['

Error: ',"

"]);return h=function(){return e},e}function f(){var e=w(['\n \n ',"\n \n "]);return m=function(){return e},e}function v(){var e=w(['\n
Add-on:
\n \n ',"\n \n "]);return v=function(){return e},e}function y(){var e=w(["\n \n ',"\n \n "]);return y=function(){return e},e}function g(){var e=w(['\n
Folders:
\n \n ',"\n \n "]);return g=function(){return e},e}function k(){var e=w(["\n \n ',"\n (",")
\n ","\n
\n
Home Assistant:
\n \n Home Assistant ',"\n \n ","\n ","\n ","\n ","\n\n
Actions:
\n\n \n \n Download Snapshot\n \n\n \n \n Restore Selected\n
\n ',"\n \n \n Delete Snapshot\n \n \n ']);return k=function(){return e},e}function b(){var e=w([""]);return b=function(){return e},e}function w(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _(e,t,n,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void n(l)}a.done?t(c):Promise.resolve(c).then(r,o)}function E(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){_(i,r,o,s,a,"next",e)}function a(e){_(i,r,o,s,a,"throw",e)}s(void 0)}))}}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e){var t,n=F(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function C(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function R(e){return e.decorators&&e.decorators.length}function T(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function z(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function F(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;i--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,o[i])(a)||a);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var o=this.fromClassDescriptor(e),i=this.toClassDescriptor((0,t[r])(o)||o);if(void 0!==i.finisher&&n.push(i.finisher),void 0!==i.elements){e=i.elements;for(var s=0;st.name?1:-1})),this._addons=(n=this._snapshot.addons,n.map((function(e){return{slug:e.slug,name:e.name,version:e.version,checked:!0}}))).sort((function(e,t){return e.name>t.name?1:-1})),this._dialogParams=t;case 6:case"end":return e.stop()}var n,r,o}),e,this)}))),function(e){return D.apply(this,arguments)})},{kind:"method",key:"render",value:function(){var e=this;return this._dialogParams&&this._snapshot?Object(o.f)(k(),this._closeDialog,Object(i.a)(this.hass,this._computeName),"full"===this._snapshot.type?"Full snapshot":"Partial snapshot",this._computeSize,this._formatDatetime(this._snapshot.date),this._restoreHass,(function(t){e._restoreHass=t.target.checked}),this._snapshot.homeassistant,this._folders.length?Object(o.f)(g(),this._folders.map((function(t){return Object(o.f)(y(),t.checked,(function(n){return e._updateFolders(t,n.target.checked)}),t.name)}))):"",this._addons.length?Object(o.f)(v(),this._addons.map((function(t){return Object(o.f)(m(),t.checked,(function(n){return e._updateAddons(t,n.target.checked)}),t.name)}))):"",this._snapshot.protected?Object(o.f)(f(),this._passwordInput,this._snapshotPassword):"",this._error?Object(o.f)(h(),this._error):"",this._downloadClicked,r.n,this._partialRestoreClicked,r.s,"full"===this._snapshot.type?Object(o.f)(p(),this._fullRestoreClicked,r.s):"",this._deleteClicked,r.k):Object(o.f)(b())}},{kind:"get",static:!0,key:"styles",value:function(){return[l.d,Object(o.c)(d())]}},{kind:"method",key:"_updateFolders",value:function(e,t){this._folders=this._folders.map((function(n){return n.slug===e.slug&&(n.checked=t),n}))}},{kind:"method",key:"_updateAddons",value:function(e,t){this._addons=this._addons.map((function(n){return n.slug===e.slug&&(n.checked=t),n}))}},{kind:"method",key:"_passwordInput",value:function(e){this._snapshotPassword=e.detail.value}},{kind:"method",key:"_partialRestoreClicked",value:(_=E(regeneratorRuntime.mark((function e(){var t,n,r,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.b)(this,{title:"Are you sure you want partially to restore this snapshot?"});case 2:if(e.sent){e.next=4;break}return e.abrupt("return");case 4:t=this._addons.filter((function(e){return e.checked})).map((function(e){return e.slug})),n=this._folders.filter((function(e){return e.checked})).map((function(e){return e.slug})),r={homeassistant:this._restoreHass,addons:t,folders:n},this._snapshot.protected&&(r.password=this._snapshotPassword),this.hass.callApi("POST","hassio/snapshots/".concat(this._snapshot.slug,"/restore/partial"),r).then((function(){alert("Snapshot restored!"),o._closeDialog()}),(function(e){o._error=e.body.message}));case 9:case"end":return e.stop()}}),e,this)}))),function(){return _.apply(this,arguments)})},{kind:"method",key:"_fullRestoreClicked",value:(w=E(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.b)(this,{title:"Are you sure you want to wipe your system and restore this snapshot?"});case 2:if(e.sent){e.next=4;break}return e.abrupt("return");case 4:t=this._snapshot.protected?{password:this._snapshotPassword}:void 0,this.hass.callApi("POST","hassio/snapshots/".concat(this._snapshot.slug,"/restore/full"),t).then((function(){alert("Snapshot restored!"),n._closeDialog()}),(function(e){n._error=e.body.message}));case 6:case"end":return e.stop()}}),e,this)}))),function(){return w.apply(this,arguments)})},{kind:"method",key:"_deleteClicked",value:(u=E(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(c.b)(this,{title:"Are you sure you want to delete this snapshot?"});case 2:if(e.sent){e.next=4;break}return e.abrupt("return");case 4:this.hass.callApi("POST","hassio/snapshots/".concat(this._snapshot.slug,"/remove")).then((function(){t._dialogParams.onDelete(),t._closeDialog()}),(function(e){t._error=e.body.message}));case 5:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{kind:"method",key:"_downloadClicked",value:(n=E(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o=this.hass,i="/api/hassio/snapshots/".concat(this._snapshot.slug,"/download"),o.callWS({type:"auth/sign_path",path:i});case 3:t=e.sent,e.next=10;break;case 6:return e.prev=6,e.t0=e.catch(0),alert("Error: ".concat(Object(s.a)(e.t0))),e.abrupt("return");case 10:n=this._computeName.replace(/[^a-z0-9]+/gi,"_"),(r=document.createElement("a")).href=t.path,r.download="Hass_io_".concat(n,".tar"),this.shadowRoot.appendChild(r),r.click(),this.shadowRoot.removeChild(r);case 17:case"end":return e.stop()}var o,i}),e,this,[[0,6]])}))),function(){return n.apply(this,arguments)})},{kind:"get",key:"_computeName",value:function(){return this._snapshot?this._snapshot.name||this._snapshot.slug:"Unnamed snapshot"}},{kind:"get",key:"_computeSize",value:function(){return Math.ceil(10*this._snapshot.size)/10+" MB"}},{kind:"method",key:"_formatDatetime",value:function(e){return new Date(e).toLocaleDateString(navigator.language,{weekday:"long",year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"})}},{kind:"method",key:"_closeDialog",value:function(){this._dialogParams=void 0,this._snapshot=void 0,this._snapshotPassword="",this._folders=[],this._addons=[]}}]}}),o.a)}}]); -//# sourceMappingURL=chunk.2b590ee397502865577d.js.map \ No newline at end of file +//# sourceMappingURL=chunk.33da75209731c9f0b81a.js.map \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.gz b/supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b09dbac624c6f68486342a43a1bf33bc9433cc4 GIT binary patch literal 5542 zcmV;X6t~*icVaf-9c$62-^IG3<0NxKz~& zQj_``BCJ2Y`4*zwP}ZNN`P8IqcB3^Qa3hFX3kKF%T(`$rrXE&=&!UTm~hcvp@+P#^CT}v$Hl%>&^ ztNWmR>%S%iQJ9vpO;MYTi!{=VfYC@2Enk7f!$^^PHL`thfZ81vjIucjnuriwJVD;} zKTY*|t&~>rfYh^+gu+F(VN_5-tV&a}+rIRX@VqKc~yP zd{oJ^+Z9FM=OxW=vKSq8`((*g7B^UVZ5Qj1f7P9My1*lOJ0Dryt*}~TN9ZWZODts; zo5uLn>2WZohs3|o6^Rb@D{r+|d5chaN73o3X4IlMe)ZOT zq|p(IPmfoxLc=Wf(w?S_S56`%2ZtvQLiy(PXTWfp(XoZfL!^o%eN z&*IhafbVZ{xhC2HVKyg)Hc`)*#E!}0ZlAVbz<%2Rp^|2Mm9!j2uUA#uS#}3GcI^OC z^yAryT?w4U8j}O7y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p-jPOb&PH`|5{ zd@a^11>&k9c2mDhRT~g9S}G#i;?^{Lbbv#7NL1lPk3g)2{9lu@$TqETly-w%B~7Z3 zTRmmlLCLKfJ&A6r;F0BRQ_8$m6&!blbG5%U! z$66rw%b4&&C@zUmAii*uYYY?zdOU9>B)~+G_Ti&*<{FdNym&~KL`pm-Tj;F*-4l7* zPt6!ryJx~V%tkzt*Uv-pe^(q^;eI2;{)%W@@>>$a9+ate zahGs*ZY46w<{pr#Js|t)mw;^jOpvuxZx1u}{QTy(LYeCvBL{?+h-bbUrdfQ9SM>O~ zwygy>LCyl@UoODL-u;g8S}l&veGZ)iszr>!0L%F|&rQy?UB5A69GsPHq2<0c^lx3ZRfJ6}c@(3JH|BgpLjYr>IzBry! z6klm6fyfG;8$7r-6V0vi7#oN$1es+jF~TB|)auD%ljU4de%0{FP@E{-yn&VrtOtMO zTp8$T)V^8JvH${VD!D-w=nkwlRz1*(^v#|#9gb)Ne>9zr(bt!kL)(Du-3D`_+#U!u zI9R$xJBK&zM_X7wKK39jjsM0>XW>ssQQV$E67%e?fG~VZ=Vpf|C1&%rc3)_7N61Zq^(rN2 z^B6r4EYjHi5X9U7TXLor_8eSjq0Knox8Up6P|D2PmiUWNLFZH}Y^VYZ{cMlcdX5iW zLekbujC<9O$gdwLn3;h5*`R{v)l35NPBoczDz~q+Y_ApXba^304-5^DJ@R`0GC+N0RR91 literal 0 HcmV?d00001 diff --git a/supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.map b/supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.map new file mode 100644 index 000000000..1715b0c1a --- /dev/null +++ b/supervisor/api/panel/frontend_es5/chunk.33da75209731c9f0b81a.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chunk.33da75209731c9f0b81a.js","sources":["webpack:///chunk.33da75209731c9f0b81a.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js b/supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js similarity index 99% rename from supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js rename to supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js index 2eedeb5dd..63552f544 100644 --- a/supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js +++ b/supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js @@ -1,2 +1,2 @@ -(self.webpackJsonp=self.webpackJsonp||[]).push([[7],{174:function(e,t,r){"use strict";r.r(t);var n=r(0),i=r(63),o=r(26),a=(r(95),r(122),r(18)),s=r(36),c=r(10),l=r(11);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){var e=b(["\n iframe {\n display: block;\n width: 100%;\n height: 100%;\n border: 0;\n }\n\n .header + iframe {\n height: calc(100% - 40px);\n }\n\n .header {\n display: flex;\n align-items: center;\n font-size: 16px;\n height: 40px;\n padding: 0 16px;\n pointer-events: none;\n background-color: var(--app-header-background-color);\n font-weight: 400;\n color: var(--app-header-text-color, white);\n border-bottom: var(--app-header-border-bottom, none);\n box-sizing: border-box;\n --mdc-icon-size: 20px;\n }\n\n .main-title {\n margin: 0 0 0 24px;\n line-height: 20px;\n flex-grow: 1;\n }\n\n mwc-icon-button {\n pointer-events: auto;\n }\n\n hass-subpage {\n --app-header-background-color: var(--sidebar-background-color);\n --app-header-text-color: var(--sidebar-text-color);\n --app-header-border-bottom: 1px solid var(--divider-color);\n }\n "]);return f=function(){return e},e}function d(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function p(){var e=b(['
\n \n \n
',"
\n
\n ",""]);return p=function(){return e},e}function h(){var e=b(["",""]);return h=function(){return e},e}function m(){var e=b(["\n ","\n "]);return m=function(){return e},e}function y(){var e=b([""]);return y=function(){return e},e}function v(){var e=b([" "]);return v=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){var t,r=A(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function j(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function P(e){return e.decorators&&e.decorators.length}function D(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function S(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function A(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n \n \n
',"
\n
\n ",""]);return p=function(){return e},e}function h(){var e=b(["",""]);return h=function(){return e},e}function m(){var e=b(["\n ","\n "]);return m=function(){return e},e}function y(){var e=b([""]);return y=function(){return e},e}function v(){var e=b([" "]);return v=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){var t,r=A(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function j(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function P(e){return e.decorators&&e.decorators.length}function D(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function S(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function A(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;av>t~+bwHW z*~i<>qNyJ}%9Z`m-zd0dlIljDhpQ1_=1;QSbYPPK%;V@-Q8fbCZ!3UZmSwko5`Gt3 z+33bxI}fx?JA@bz?K&n`2;Ujmv2uat`5z*)|KTf1H!Qmg&snzQYFpFWX||}F>hmma zT=S(~PqWE*{IALCn(@oEK3HBfa>?X08+U8FKScOhtQm#f>~SA`0?R?I*8Eb8xMmv#z?slYCcCRf=#k=I7%=i;do#cv(2y=~>2k@%B{0~( zux+>jK4MpZ1aOH)uv9SM0GG09#d1_Nbps*-rJ&J>Znq=H&8U9__X)l3Xc{M5$G~ZJ zqa7fUU9Y)jxUVNb*=XHthGIc%uB%$j<%9 zFYwIAt5w+ru^7X4gvBtkbg`QV!bw9YzSHv7#vN6%d2@lNiNmV6qIJu571h-m)g7p- z21t^yuv5jd5$s%}3Qs@CX2TULBm)7zNqpO;@$K|Au#{CbXsFDc4DvUg zE&rd_Jqw7tK43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map b/supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js.map new file mode 100644 index 000000000..5b9fec8f3 --- /dev/null +++ b/supervisor/api/panel/frontend_es5/chunk.3e52d734bb60544642e8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chunk.3e52d734bb60544642e8.js","sources":["webpack:///chunk.3e52d734bb60544642e8.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.gz b/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.gz deleted file mode 100644 index 16a2793d132a60e233682897904d230494bd9421..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16939 zcmV(sK<&RDiwFP!000021FU*!bK|Pg@b~vuD5^RxF~N#8%UR?wsk7wVeP(Ks`#y`u zl_D07xg&!Mp)A+de}B3`NV4PH{VXvwO>Z>a4dU$8N%X5WQ7IQfRU(pVsm+>Osa3Qo z1qVTCK&e7AW0-QxE4_WRqnZ*PmDc(+XdQl)?V-OraFt}aviXrotW|1YUT zxlA9#?S?PD{=U*`!=6EQyV;zio4Q&hv)K=Gy3M}*Hec3ift(Xd1(jqQ*T~))xv=q6 zrbQxX%ww8#cw}pYt&NHn4I$HoR+WtuyLwvR>N1Ic*6UJ&*c+oCpJGDIvk{?+jh4#7 zAb&P!gwy|1J6k_Puq&e<6bx0&viGsR{fhuW8M99tp_h>zjZ|HhCji*(;vn;2oYqW< zhv-jy12%}glytk`>bG1KrO1J3l~^(w*_oQtN*KvY`Bwp;ty6Wo(Z*)Ep!oYbmyIVU zs*2xPC_+(h40lnb2`YV1bGnI_NEgy|*(lrvg`baeQQ2JxIG)B{i52 z{d$rwnVH@i!M{!&Aj{<}Z~*$V$$ZW>LCSkx)X(hOL=1EKG=ETT!%EI8Whj%=4~>-5j>=uFRZ7=m4~mX!cYSGv3x$&#cV8=N+2 zk!_1i2y7LhaLB7M0|Do(0Gq(B-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O0cXVIYAmrVo3kz_l^n(EDqY+o0#XLGP3%3_HX>P<Co`If9jki$nJjz$E;i>GXpUJ#71J zzD3seryst_R=2z2m&vEPyP C_!~I@ diff --git a/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.map b/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.map deleted file mode 100644 index b712551d7..000000000 --- a/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chunk.3e7c27cbbb8b44bddd5f.js","sources":["webpack:///chunk.3e7c27cbbb8b44bddd5f.js"],"mappings":";AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js.gz b/supervisor/api/panel/frontend_es5/chunk.4e329b1d42b5358fbe1a.js.gz deleted file mode 100644 index 2483c23d8535b9e76cfce303d103f23594719e47..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4624 zcmV+r67TIFiwFP!000021B6xwm#j7q{VQI+FNu8uY<+EZo!)yp?R8_s;4EWvY%_iS zdj!)AZ_8AWtSjkWET9gmBAr223wisKGrHylQ%gO&o(fAexAcs~3jdy7ve@AN#ZwjwPAz@$gvFMgUtDy5 z&l!syx-Zc!IT|pmYX8sK^*$SED6o|U-&jo>9_{TB=YCOxDahZ8NoJ~#KaN~?Fm$BK zgB9M`&-bB6K(bp2o6#LkK+OBoK`M>L_8W=Vob!YIWPhC2)_Bu~eZH@4bV$fB(dN)( zLD{P14tPdiMXxpKUaGKS0%Wy6CnQ&{uEb(QvdYNY>!V|)a$kWOFkW@5AdX@ByB-SLaxs0IeQ4`uJVft=0QQCQe&Mc4-<#r zpgq{YTNv#VrxxjDi3U^6Q(rYo5@|Zg#Nf~W)MDa zX=|A{LWOK3$t0JFl1A_7y$E>>rJM+*6R&&)p_~(8$4Vp3-TUIIM|Gt%BwK+7z@(Eu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G4OkI4gJ|yl`sl;R=D* zTPiws^Ml?XDce4f1|28oJkT$ABh-&<9M8C}hZq?E#*6H-UH9%}6qQpF2KSMNv-Z{C66 zwtq^Gds>TEVNYAThSq5kLX(%+91SPNRm7CEe4)6a2ajap+DnnmDM>G|cB&5`u}EO?;IiUZDV;JhFtue3J1yej z`cAxQTaeJ*XQC~0joU@AjIg2W_&(SdoVL+r=Zg3t#<_i6#orz~AkO<)9es+Fl-c2yG&8Ll zW=i1zJb1jiu-^f?3G)OIO_3dNVstvj$y=h~ul5FAwM2Ib?%Vv7&GX6Hodyjf`GCoX&0?z3ogk>3f4i#eAA=WzOO$`ebgA1`&3oKbQ~sQG})@K>9bdO^Q7aoG;3WiGM;;Ot+?=PzPoZC;7_!?~_o5L-4KL6d` zrCkHF0x)6UqMn)9O46pvl-=(CzSs5n`GWg$&prOcMZ;#N$U^dSF6?~lw?^n{ ziH({35DKn@lP(zvZ!!a?uH^bK&0TF6Q*~7VT7ubwUjmPUUjx8dsd#djdwAYx>#U@t zvlDkWdGlMoY2nC_XHm)=rV+Eaibu==ud-PL9FvTp;!!SuEX9TPCq_r(Q_0H@_We^& zr33sFw&_DSVlUc_Xm@PnF_oSTcB|n{p8hG!P*c~5Q9=TSd4TytoYlCfbSZW6o%O+# znM=sI&C-{Zs%6?bT1O*K3;+k|-(+~_ogfM2sccqYKCWo>2aa;E+;zvl_4GcoZ2Gj} zm!E89>=p7E#;Yc6YlJ0?tHxE*uoPq2`a}KXj&naHc z+|KmFqrAt=V@#f8mTgHXyy6mN>%c9XKl?%j9v$XU{4IoA z9p(5p6RcJ(%nEI z;8eQ^mS?WM+cO7CJQPx!ot3(~9y^B?zS1`ft_DE&YYGUJXM_T@De6XKCH|!2e>`~b z&qURYobjK4F>s"object"==typeof t&&null!==t||"function"==typeof t,u=new Map([["proxy",{canHandle:t=>s(t)&&t[n],serialize(t){const{port1:e,port2:i}=new MessageChannel;return function t(e,i=self){i.addEventListener("message",(function r(a){if(!a||!a.data)return;const{id:s,type:u,path:c}=Object.assign({path:[]},a.data),h=(a.data.argumentList||[]).map(p);let f;try{const i=c.slice(0,-1).reduce((t,e)=>t[e],e),r=c.reduce((t,e)=>t[e],e);switch(u){case 0:f=r;break;case 1:i[c.slice(-1)[0]]=p(a.data.value),f=!0;break;case 2:f=r.apply(i,h);break;case 3:f=function(t){return Object.assign(t,{[n]:!0})}(new r(...h));break;case 4:{const{port1:i,port2:n}=new MessageChannel;t(e,n),f=function(t,e){return m.set(t,e),t}(i,[i])}break;case 5:f=void 0}}catch(g){f={value:g,[o]:0}}Promise.resolve(f).catch(t=>({value:t,[o]:0})).then(t=>{const[e,n]=d(t);i.postMessage(Object.assign(Object.assign({},e),{id:s}),n),5===u&&(i.removeEventListener("message",r),l(i))})})),i.start&&i.start()}(t,e),[i,[i]]},deserialize:t=>(t.start(),c(t))}],["throw",{canHandle:t=>s(t)&&o in t,serialize({value:t}){let e;return e=t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value);throw t.value}}]]);function l(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function c(t,e){return function t(e,i=[],n=function(){}){let o=!1;const s=new Proxy(n,{get(n,r){if(h(o),r===a)return()=>g(e,{type:5,path:i.map(t=>t.toString())}).then(()=>{l(e),o=!0});if("then"===r){if(0===i.length)return{then:()=>s};const t=g(e,{type:0,path:i.map(t=>t.toString())}).then(p);return t.then.bind(t)}return t(e,[...i,r])},set(t,n,r){h(o);const[a,s]=d(r);return g(e,{type:1,path:[...i,n].map(t=>t.toString()),value:a},s).then(p)},apply(n,a,s){h(o);const u=i[i.length-1];if(u===r)return g(e,{type:4}).then(p);if("bind"===u)return t(e,i.slice(0,-1));const[l,c]=f(s);return g(e,{type:2,path:i.map(t=>t.toString()),argumentList:l},c).then(p)},construct(t,n){h(o);const[r,a]=f(n);return g(e,{type:3,path:i.map(t=>t.toString()),argumentList:r},a).then(p)}});return s}(t,[],e)}function h(t){if(t)throw new Error("Proxy has been released and is not useable")}function f(t){const e=t.map(d);return[e.map(t=>t[0]),(i=e.map(t=>t[1]),Array.prototype.concat.apply([],i))];var i}const m=new WeakMap;function d(t){for(const[e,i]of u)if(i.canHandle(t)){const[n,r]=i.serialize(t);return[{type:3,name:e,value:n},r]}return[{type:0,value:t},m.get(t)||[]]}function p(t){switch(t.type){case 3:return u.get(t.name).deserialize(t.value);case 0:return t.value}}function g(t,e,i){return new Promise(n=>{const r=new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",(function e(i){i.data&&i.data.id&&i.data.id===r&&(t.removeEventListener("message",e),n(i.data))})),t.start&&t.start(),t.postMessage(Object.assign({id:r},e),i)})}},167:function(t,e){var i,n,r;n={},r={},function(t,e){function i(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=f}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function r(e,n,r){var a=new i;return n&&(a.fill="both",a.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(i){if("auto"!=e[i]){if(("number"==typeof a[i]||"duration"==i)&&("number"!=typeof e[i]||isNaN(e[i])))return;if("fill"==i&&-1==c.indexOf(e[i]))return;if("direction"==i&&-1==h.indexOf(e[i]))return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;a[i]=e[i]}})):a.duration=e,a}function a(t,e,i,n){return t<0||t>1||i<0||i>1?f:function(r){function a(t,e,i){return 3*t*(1-i)*(1-i)*i+3*e*(1-i)*i*i+i*i*i}if(r<=0){var o=0;return t>0?o=e/t:!e&&i>0&&(o=n/i),o*r}if(r>=1){var s=0;return i<1?s=(n-1)/(i-1):1==i&&t<1&&(s=(e-1)/(t-1)),1+s*(r-1)}for(var u=0,l=1;u=1)return 1;var n=1/t;return(i+=e*n)-i%n}}function s(t){_||(_=document.createElement("div").style),_.animationTimingFunction="",_.animationTimingFunction=t;var e=_.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return f;var e=y.exec(t);if(e)return a.apply(this,e.slice(1).map(Number));var i=b.exec(t);if(i)return o(Number(i[1]),p);var n=w.exec(t);return n?o(Number(n[1]),{start:m,middle:d,end:p}[n[2]]):g[t]||f}function l(t,e,i){if(null==e)return x;var n=i.delay+t+i.endDelay;return e=Math.min(i.delay+t,n)?E:A}var c="backwards|forwards|both|none".split("|"),h="reverse|alternate|alternate-reverse".split("|"),f=function(t){return t};i.prototype={_setMember:function(e,i){this["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var m=1,d=.5,p=0,g={ease:a(.25,.1,.25,1),"ease-in":a(.42,0,1,1),"ease-out":a(0,0,.58,1),"ease-in-out":a(.42,0,.58,1),"step-start":o(1,m),"step-middle":o(1,d),"step-end":o(1,p)},_=null,v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),b=/steps\(\s*(\d+)\s*\)/,w=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,T=1,E=2,A=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var i in t)e[i]=t[i];return e},t.makeTiming=r,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,i){return r(e=t.numericTimingToObject(e),i)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,i){var n=l(t,e,i),r=function(t,e,i,n,r){switch(n){case T:return"backwards"==e||"both"==e?0:null;case A:return i-r;case E:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,i.fill,e,n,i.delay);if(null===r)return null;var a=function(t,e,i,n,r){var a=r;return 0===t?e!==T&&(a+=i):a+=n/t,a}(i.duration,n,i.iterations,r,i.iterationStart),o=function(t,e,i,n,r,a){var o=t===1/0?e%1:t%1;return 0!==o||i!==E||0===n||0===r&&0!==a||(o=1),o}(a,i.iterationStart,n,i.iterations,r,i.duration),s=function(t,e,i,n){return t===E&&e===1/0?1/0:1===i?Math.floor(n)-1:Math.floor(n)}(n,i.iterations,o,a),u=function(t,e,i){var n=t;if("normal"!==t&&"reverse"!==t){var r=e;"alternate-reverse"===t&&(r+=1),n="normal",r!==1/0&&r%2!=0&&(n="reverse")}return"normal"===n?i:1-i}(i.direction,s,o);return i._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(i={}),function(t,e){function i(t,e){return t in u&&u[t][e]||e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var r=a[t];if(r)for(var s in o.style[t]=e,r){var u=r[s],l=o.style[u];n[u]=i(u,l)}else n[t]=i(t,e)}}function r(t){var e=[];for(var i in t)if(!(i in["easing","offset","composite"])){var n=t[i];Array.isArray(n)||(n=[n]);for(var r,a=n.length,o=0;o1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==r){if("add"==a||"accumulate"==a)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=a)throw new TypeError("Invalid composite mode "+a+".")}else a="easing"==r?t.normalizeEasing(a):""+a;n(r,a,i)}return null==i.offset&&(i.offset=null),null==i.easing&&(i.easing="linear"),i})),a=!0,o=-1/0,s=0;s=0&&t.offset<=1})),a||function(){var t=i.length;null==i[t-1].offset&&(i[t-1].offset=1),t>1&&null==i[0].offset&&(i[0].offset=0);for(var e=0,n=i[0].offset,r=1;r=t.applyFrom&&i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var i=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=i&&(this.currentTime=i)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers.splice(i,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),i=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){i.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(i,n),function(t,e,i){function n(t){var e=l;l=[],tn?i%=n:n%=i;return t*e/(i+n)}(n.length,r.length),l=0;l=1?e:"visible"}]}),["visibility"])}(n),function(t,e){function i(t){t=t.trim(),a.fillStyle="#000",a.fillStyle=t;var e=a.fillStyle;if(a.fillStyle="#fff",a.fillStyle=t,e==a.fillStyle){a.fillRect(0,0,1,1);var i=a.getImageData(0,0,1,1).data;a.clearRect(0,0,1,1);var n=i[3]/255;return[i[0]*n,i[1]*n,i[2]*n,n]}}function n(e,i){return[e,i,function(e){function i(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(i(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var r=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");r.width=r.height=1;var a=r.getContext("2d");t.addPropertiesHandler(i,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,i),t.mergeColors=n}(n),function(t,e){function i(t){function e(){var e=o.exec(t);a=e?e[0]:void 0}function i(){if("("!==a)return function(){var t=Number(a);return e(),t}();e();var t=r();return")"!==a?NaN:(e(),t)}function n(){for(var t=i();"*"===a||"/"===a;){var n=a;e();var r=i();"*"===n?t*=r:t/=r}return t}function r(){for(var t=n();"+"===a||"-"===a;){var i=a;e();var r=n();"+"===i?t+=r:t-=r}return t}var a,o=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),r()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var n={};e=e.replace(t,(function(t){return n[t]=null,"U"+t}));for(var r="U("+t.source+")",a=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+r,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),o=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s1?"calc("+i+")":i}]}var o="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=n.bind(null,new RegExp(o,"g")),u=n.bind(null,new RegExp(o+"|%","g")),l=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=a;var c=t.consumeParenthesised.bind(null,s),h=t.consumeRepeated.bind(void 0,c,/^/),f=t.consumeRepeated.bind(void 0,h,/^,/);t.consumeSizePairList=f;var m=t.mergeNestedRepeated.bind(void 0,r," "),d=t.mergeNestedRepeated.bind(void 0,m,",");t.mergeNonNegativeSizePair=m,t.addPropertiesHandler((function(t){var e=f(t);if(e&&""==e[1])return e[0]}),d,["background-size"]),t.addPropertiesHandler(u,r,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,a,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function i(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,i,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var r=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,i){return"auto"==e||"auto"==i?[!0,!1,function(n){var r=n?e:i;if("auto"==r)return"auto";var a=t.mergeDimensions(r,r);return a[2](a[0])}]:t.mergeDimensions(e,i)}),", ");t.parseBox=n,t.mergeBoxes=r,t.addPropertiesHandler(n,r,["clip"])}(n),function(t,e){function i(t){return function(e){var i=0;return t.map((function(t){return t===l?e[i++]:t}))}}function n(t){return t}function r(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var i,n=/\s*(\w+)\(([^)]*)\)/g,r=[],a=0;i=n.exec(e);){if(i.index!=a)return;a=i.index+i[0].length;var o=i[1],s=f[o];if(!s)return;var u=i[2].split(","),l=s[0];if(l.length=0&&this._cancelHandlers.splice(i,1)}else u.call(this,t,e)},a}}}(),function(t){var e=document.documentElement,i=null,n=!1;try{var r="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(i=e.animate({opacity:[r,r]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==r}catch(t){}finally{i&&i.cancel()}if(!n){var a=window.Element.prototype.animate;window.Element.prototype.animate=function(e,i){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),a.call(this,e,i)}}}(i),function(t,e,i){function n(t){var i=e.timeline;i.currentTime=t,i._discardAnimations(),0==i._animations.length?a=!1:requestAnimationFrame(n)}var r=window.requestAnimationFrame;window.requestAnimationFrame=function(t){return r((function(i){e.timeline._updateAnimationsPromises(),t(i),e.timeline._updateAnimationsPromises()}))},e.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animationsWithPromises.filter((function(t){return t._updatePromises()}))},_discardAnimations:function(){this._updateAnimationsPromises(),this._animations=this._animations.filter((function(t){return"finished"!=t.playState&&"idle"!=t.playState}))},_play:function(t){var i=new e.Animation(t,this);return this._animations.push(i),e.restartWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updatePromises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var a=!1;e.restartWebAnimationsNextTick=function(){a||(a=!0,requestAnimationFrame(n))};var o=new e.AnimationTimeline;e.timeline=o;try{Object.defineProperty(window.document,"timeline",{configurable:!0,get:function(){return o}})}catch(t){}try{window.document.timeline=o}catch(t){}}(0,r),function(t,e,i){e.animationsWithPromises=[],e.Animation=function(e,i){if(this.id="",e&&e._id&&(this.id=e._id),this.effect=e,e&&(e._animation=this),!i)throw new Error("Animation with null timeline is not supported");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updatePromises:function(){var t=this._oldPlayState,e=this.playState;return this._readyPromise&&e!==t&&("idle"==e?(this._rejectReadyPromise(),this._readyPromise=void 0):"pending"==t?this._resolveReadyPromise():"pending"==e&&(this._readyPromise=void 0)),this._finishedPromise&&e!==t&&("idle"==e?(this._rejectFinishedPromise(),this._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finished"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this._updatePromises();var t,i,n,r,a=!!this._animation;a&&(t=this.playbackRate,i=this._paused,n=this.startTime,r=this.currentTime,this._animation.cancel(),this._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffect(this.effect),e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=e.newUnderlyingAnimationForGroup(this.effect),e.bindAnimationForGroup(this)),this.effect&&this.effect._onsample&&e.bindAnimationForCustomEffect(this),a&&(1!=t&&(this.playbackRate=t),null!==n?this.startTime=n:null!==r?this.currentTime=r:null!==this._holdTime&&(this.currentTime=this._holdTime),i&&this.pause()),this._updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playState){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){this._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.groupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if(this.effect&&this._isGroup)for(var e=0;e\n :host {\n display: inline-block;\n position: relative;\n width: 400px;\n border: 1px solid;\n padding: 2px;\n -moz-appearance: textarea;\n -webkit-appearance: textarea;\n overflow: hidden;\n }\n\n .mirror-text {\n visibility: hidden;\n word-wrap: break-word;\n @apply --iron-autogrow-textarea;\n }\n\n .fit {\n @apply --layout-fit;\n }\n\n textarea {\n position: relative;\n outline: none;\n border: none;\n resize: none;\n background: inherit;\n color: inherit;\n /* see comments in template */\n width: 100%;\n height: 100%;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n text-align: inherit;\n @apply --iron-autogrow-textarea;\n }\n\n textarea::-webkit-input-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea:-moz-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea::-moz-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea:-ms-input-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n \n\n \x3c!-- the mirror sizes the input/textarea so it grows with typing --\x3e\n \x3c!-- use   instead   of to allow this element to be used in XHTML --\x3e\n \n\n \x3c!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --\x3e\n
\n \n
\n'],['\n \n\n \x3c!-- the mirror sizes the input/textarea so it grows with typing --\x3e\n \x3c!-- use   instead   of to allow this element to be used in XHTML --\x3e\n \n\n \x3c!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --\x3e\n
\n \n
\n']);return u=function(){return t},t}Object(a.a)({_template:Object(s.a)(u()),is:"iron-autogrow-textarea",behaviors:[r.a,n.a],properties:{value:{observer:"_valueChanged",type:String,notify:!0},bindValue:{observer:"_bindValueChanged",type:String,notify:!0},rows:{type:Number,value:1,observer:"_updateCached"},maxRows:{type:Number,value:0,observer:"_updateCached"},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,value:!1},inputmode:{type:String},placeholder:{type:String},readonly:{type:String},required:{type:Boolean},minlength:{type:Number},maxlength:{type:Number},label:{type:String}},listeners:{input:"_onInput"},get textarea(){return this.$.textarea},get selectionStart(){return this.$.textarea.selectionStart},get selectionEnd(){return this.$.textarea.selectionEnd},set selectionStart(t){this.$.textarea.selectionStart=t},set selectionEnd(t){this.$.textarea.selectionEnd=t},attached:function(){navigator.userAgent.match(/iP(?:[oa]d|hone)/)&&(this.$.textarea.style.marginLeft="-3px")},validate:function(){var t=this.$.textarea.validity.valid;return t&&(this.required&&""===this.value?t=!1:this.hasValidator()&&(t=r.a.validate.call(this,this.value))),this.invalid=!t,this.fire("iron-input-validate"),t},_bindValueChanged:function(t){this.value=t},_valueChanged:function(t){var e=this.textarea;e&&(e.value!==t&&(e.value=t||0===t?t:""),this.bindValue=t,this.$.mirror.innerHTML=this._valueForMirror(),this.fire("bind-value-changed",{value:this.bindValue}))},_onInput:function(t){var e=Object(o.a)(t).path;this.value=e?e[0].value:t.target.value},_constrain:function(t){var e;for(t=t||[""],e=this.maxRows>0&&t.length>this.maxRows?t.slice(0,this.maxRows):t.slice(0);this.rows>0&&e.length")+" "},_valueForMirror:function(){var t=this.textarea;if(t)return this.tokens=t&&t.value?t.value.replace(/&/gm,"&").replace(/"/gm,""").replace(/'/gm,"'").replace(//gm,">").split("\n"):[""],this._constrain(this.tokens)},_updateCached:function(){this.$.mirror.innerHTML=this._constrain(this.tokens)}})}}]); -//# sourceMappingURL=chunk.3e7c27cbbb8b44bddd5f.js.map \ No newline at end of file +/*! For license information please see chunk.9861d0fdbc47c03a1a5c.js.LICENSE.txt */ +(self.webpackJsonp=self.webpackJsonp||[]).push([[9],{166:function(t,e,i){"use strict";i.d(e,"a",(function(){return c}));const n=Symbol("Comlink.proxy"),r=Symbol("Comlink.endpoint"),a=Symbol("Comlink.releaseProxy"),o=Symbol("Comlink.thrown"),s=t=>"object"==typeof t&&null!==t||"function"==typeof t,u=new Map([["proxy",{canHandle:t=>s(t)&&t[n],serialize(t){const{port1:e,port2:i}=new MessageChannel;return function t(e,i=self){i.addEventListener("message",(function r(a){if(!a||!a.data)return;const{id:s,type:u,path:c}=Object.assign({path:[]},a.data),h=(a.data.argumentList||[]).map(p);let f;try{const i=c.slice(0,-1).reduce((t,e)=>t[e],e),r=c.reduce((t,e)=>t[e],e);switch(u){case 0:f=r;break;case 1:i[c.slice(-1)[0]]=p(a.data.value),f=!0;break;case 2:f=r.apply(i,h);break;case 3:f=function(t){return Object.assign(t,{[n]:!0})}(new r(...h));break;case 4:{const{port1:i,port2:n}=new MessageChannel;t(e,n),f=function(t,e){return m.set(t,e),t}(i,[i])}break;case 5:f=void 0}}catch(g){f={value:g,[o]:0}}Promise.resolve(f).catch(t=>({value:t,[o]:0})).then(t=>{const[e,n]=d(t);i.postMessage(Object.assign(Object.assign({},e),{id:s}),n),5===u&&(i.removeEventListener("message",r),l(i))})})),i.start&&i.start()}(t,e),[i,[i]]},deserialize:t=>(t.start(),c(t))}],["throw",{canHandle:t=>s(t)&&o in t,serialize({value:t}){let e;return e=t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value);throw t.value}}]]);function l(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function c(t,e){return function t(e,i=[],n=function(){}){let o=!1;const s=new Proxy(n,{get(n,r){if(h(o),r===a)return()=>g(e,{type:5,path:i.map(t=>t.toString())}).then(()=>{l(e),o=!0});if("then"===r){if(0===i.length)return{then:()=>s};const t=g(e,{type:0,path:i.map(t=>t.toString())}).then(p);return t.then.bind(t)}return t(e,[...i,r])},set(t,n,r){h(o);const[a,s]=d(r);return g(e,{type:1,path:[...i,n].map(t=>t.toString()),value:a},s).then(p)},apply(n,a,s){h(o);const u=i[i.length-1];if(u===r)return g(e,{type:4}).then(p);if("bind"===u)return t(e,i.slice(0,-1));const[l,c]=f(s);return g(e,{type:2,path:i.map(t=>t.toString()),argumentList:l},c).then(p)},construct(t,n){h(o);const[r,a]=f(n);return g(e,{type:3,path:i.map(t=>t.toString()),argumentList:r},a).then(p)}});return s}(t,[],e)}function h(t){if(t)throw new Error("Proxy has been released and is not useable")}function f(t){const e=t.map(d);return[e.map(t=>t[0]),(i=e.map(t=>t[1]),Array.prototype.concat.apply([],i))];var i}const m=new WeakMap;function d(t){for(const[e,i]of u)if(i.canHandle(t)){const[n,r]=i.serialize(t);return[{type:3,name:e,value:n},r]}return[{type:0,value:t},m.get(t)||[]]}function p(t){switch(t.type){case 3:return u.get(t.name).deserialize(t.value);case 0:return t.value}}function g(t,e,i){return new Promise(n=>{const r=new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.addEventListener("message",(function e(i){i.data&&i.data.id&&i.data.id===r&&(t.removeEventListener("message",e),n(i.data))})),t.start&&t.start(),t.postMessage(Object.assign({id:r},e),i)})}},167:function(t,e){var i,n,r;n={},r={},function(t,e){function i(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=f}function n(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function r(e,n,r){var a=new i;return n&&(a.fill="both",a.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach((function(i){if("auto"!=e[i]){if(("number"==typeof a[i]||"duration"==i)&&("number"!=typeof e[i]||isNaN(e[i])))return;if("fill"==i&&-1==c.indexOf(e[i]))return;if("direction"==i&&-1==h.indexOf(e[i]))return;if("playbackRate"==i&&1!==e[i]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;a[i]=e[i]}})):a.duration=e,a}function a(t,e,i,n){return t<0||t>1||i<0||i>1?f:function(r){function a(t,e,i){return 3*t*(1-i)*(1-i)*i+3*e*(1-i)*i*i+i*i*i}if(r<=0){var o=0;return t>0?o=e/t:!e&&i>0&&(o=n/i),o*r}if(r>=1){var s=0;return i<1?s=(n-1)/(i-1):1==i&&t<1&&(s=(e-1)/(t-1)),1+s*(r-1)}for(var u=0,l=1;u=1)return 1;var n=1/t;return(i+=e*n)-i%n}}function s(t){_||(_=document.createElement("div").style),_.animationTimingFunction="",_.animationTimingFunction=t;var e=_.animationTimingFunction;if(""==e&&n())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return f;var e=y.exec(t);if(e)return a.apply(this,e.slice(1).map(Number));var i=b.exec(t);if(i)return o(Number(i[1]),p);var n=w.exec(t);return n?o(Number(n[1]),{start:m,middle:d,end:p}[n[2]]):g[t]||f}function l(t,e,i){if(null==e)return x;var n=i.delay+t+i.endDelay;return e=Math.min(i.delay+t,n)?E:A}var c="backwards|forwards|both|none".split("|"),h="reverse|alternate|alternate-reverse".split("|"),f=function(t){return t};i.prototype={_setMember:function(e,i){this["_"+e]=i,this._effect&&(this._effect._timingInput[e]=i,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterationStart must be a non-negative number, received: "+t);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&n())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(s(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&n())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var m=1,d=.5,p=0,g={ease:a(.25,.1,.25,1),"ease-in":a(.42,0,1,1),"ease-out":a(0,0,.58,1),"ease-in-out":a(.42,0,.58,1),"step-start":o(1,m),"step-middle":o(1,d),"step-end":o(1,p)},_=null,v="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",y=new RegExp("cubic-bezier\\("+v+","+v+","+v+","+v+"\\)"),b=/steps\(\s*(\d+)\s*\)/,w=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,x=0,T=1,E=2,A=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var i in t)e[i]=t[i];return e},t.makeTiming=r,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,i){return r(e=t.numericTimingToObject(e),i)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,i){var n=l(t,e,i),r=function(t,e,i,n,r){switch(n){case T:return"backwards"==e||"both"==e?0:null;case A:return i-r;case E:return"forwards"==e||"both"==e?t:null;case x:return null}}(t,i.fill,e,n,i.delay);if(null===r)return null;var a=function(t,e,i,n,r){var a=r;return 0===t?e!==T&&(a+=i):a+=n/t,a}(i.duration,n,i.iterations,r,i.iterationStart),o=function(t,e,i,n,r,a){var o=t===1/0?e%1:t%1;return 0!==o||i!==E||0===n||0===r&&0!==a||(o=1),o}(a,i.iterationStart,n,i.iterations,r,i.duration),s=function(t,e,i,n){return t===E&&e===1/0?1/0:1===i?Math.floor(n)-1:Math.floor(n)}(n,i.iterations,o,a),u=function(t,e,i){var n=t;if("normal"!==t&&"reverse"!==t){var r=e;"alternate-reverse"===t&&(r+=1),n="normal",r!==1/0&&r%2!=0&&(n="reverse")}return"normal"===n?i:1-i}(i.direction,s,o);return i._easingFunction(u)},t.calculatePhase=l,t.normalizeEasing=s,t.parseEasingFunction=u}(i={}),function(t,e){function i(t,e){return t in u&&u[t][e]||e}function n(t,e,n){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var r=a[t];if(r)for(var s in o.style[t]=e,r){var u=r[s],l=o.style[u];n[u]=i(u,l)}else n[t]=i(t,e)}}function r(t){var e=[];for(var i in t)if(!(i in["easing","offset","composite"])){var n=t[i];Array.isArray(n)||(n=[n]);for(var r,a=n.length,o=0;o1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==r){if("add"==a||"accumulate"==a)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=a)throw new TypeError("Invalid composite mode "+a+".")}else a="easing"==r?t.normalizeEasing(a):""+a;n(r,a,i)}return null==i.offset&&(i.offset=null),null==i.easing&&(i.easing="linear"),i})),a=!0,o=-1/0,s=0;s=0&&t.offset<=1})),a||function(){var t=i.length;null==i[t-1].offset&&(i[t-1].offset=1),t>1&&null==i[0].offset&&(i[0].offset=0);for(var e=0,n=i[0].offset,r=1;r=t.applyFrom&&i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var i=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=i&&(this.currentTime=i)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var i=this._finishHandlers.indexOf(e);i>=0&&this._finishHandlers.splice(i,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),i=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout((function(){i.forEach((function(t){t.call(e.target,e)}))}),0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(i,n),function(t,e,i){function n(t){var e=l;l=[],tn?i%=n:n%=i;return t*e/(i+n)}(n.length,r.length),l=0;l=1?e:"visible"}]}),["visibility"])}(n),function(t,e){function i(t){t=t.trim(),a.fillStyle="#000",a.fillStyle=t;var e=a.fillStyle;if(a.fillStyle="#fff",a.fillStyle=t,e==a.fillStyle){a.fillRect(0,0,1,1);var i=a.getImageData(0,0,1,1).data;a.clearRect(0,0,1,1);var n=i[3]/255;return[i[0]*n,i[1]*n,i[2]*n,n]}}function n(e,i){return[e,i,function(e){function i(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(i(e[n]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var r=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");r.width=r.height=1;var a=r.getContext("2d");t.addPropertiesHandler(i,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,i),t.mergeColors=n}(n),function(t,e){function i(t){function e(){var e=o.exec(t);a=e?e[0]:void 0}function i(){if("("!==a)return function(){var t=Number(a);return e(),t}();e();var t=r();return")"!==a?NaN:(e(),t)}function n(){for(var t=i();"*"===a||"/"===a;){var n=a;e();var r=i();"*"===n?t*=r:t/=r}return t}function r(){for(var t=n();"+"===a||"-"===a;){var i=a;e();var r=n();"+"===i?t+=r:t-=r}return t}var a,o=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),r()}function n(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var n={};e=e.replace(t,(function(t){return n[t]=null,"U"+t}));for(var r="U("+t.source+")",a=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+r,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),o=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],s=0;s1?"calc("+i+")":i}]}var o="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",s=n.bind(null,new RegExp(o,"g")),u=n.bind(null,new RegExp(o+"|%","g")),l=n.bind(null,/deg|rad|grad|turn/g);t.parseLength=s,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=l,t.mergeDimensions=a;var c=t.consumeParenthesised.bind(null,s),h=t.consumeRepeated.bind(void 0,c,/^/),f=t.consumeRepeated.bind(void 0,h,/^,/);t.consumeSizePairList=f;var m=t.mergeNestedRepeated.bind(void 0,r," "),d=t.mergeNestedRepeated.bind(void 0,m,",");t.mergeNonNegativeSizePair=m,t.addPropertiesHandler((function(t){var e=f(t);if(e&&""==e[1])return e[0]}),d,["background-size"]),t.addPropertiesHandler(u,r,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,a,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(n),function(t,e){function i(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,i,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}var r=t.mergeWrappedNestedRepeated.bind(null,(function(t){return"rect("+t+")"}),(function(e,i){return"auto"==e||"auto"==i?[!0,!1,function(n){var r=n?e:i;if("auto"==r)return"auto";var a=t.mergeDimensions(r,r);return a[2](a[0])}]:t.mergeDimensions(e,i)}),", ");t.parseBox=n,t.mergeBoxes=r,t.addPropertiesHandler(n,r,["clip"])}(n),function(t,e){function i(t){return function(e){var i=0;return t.map((function(t){return t===l?e[i++]:t}))}}function n(t){return t}function r(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var i,n=/\s*(\w+)\(([^)]*)\)/g,r=[],a=0;i=n.exec(e);){if(i.index!=a)return;a=i.index+i[0].length;var o=i[1],s=f[o];if(!s)return;var u=i[2].split(","),l=s[0];if(l.length=0&&this._cancelHandlers.splice(i,1)}else u.call(this,t,e)},a}}}(),function(t){var e=document.documentElement,i=null,n=!1;try{var r="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(i=e.animate({opacity:[r,r]},{duration:1})).currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==r}catch(t){}finally{i&&i.cancel()}if(!n){var a=window.Element.prototype.animate;window.Element.prototype.animate=function(e,i){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),a.call(this,e,i)}}}(i),function(t,e,i){function n(t){var i=e.timeline;i.currentTime=t,i._discardAnimations(),0==i._animations.length?a=!1:requestAnimationFrame(n)}var r=window.requestAnimationFrame;window.requestAnimationFrame=function(t){return r((function(i){e.timeline._updateAnimationsPromises(),t(i),e.timeline._updateAnimationsPromises()}))},e.AnimationTimeline=function(){this._animations=[],this.currentTime=void 0},e.AnimationTimeline.prototype={getAnimations:function(){return this._discardAnimations(),this._animations.slice()},_updateAnimationsPromises:function(){e.animationsWithPromises=e.animationsWithPromises.filter((function(t){return t._updatePromises()}))},_discardAnimations:function(){this._updateAnimationsPromises(),this._animations=this._animations.filter((function(t){return"finished"!=t.playState&&"idle"!=t.playState}))},_play:function(t){var i=new e.Animation(t,this);return this._animations.push(i),e.restartWebAnimationsNextTick(),i._updatePromises(),i._animation.play(),i._updatePromises(),i},play:function(t){return t&&t.remove(),this._play(t)}};var a=!1;e.restartWebAnimationsNextTick=function(){a||(a=!0,requestAnimationFrame(n))};var o=new e.AnimationTimeline;e.timeline=o;try{Object.defineProperty(window.document,"timeline",{configurable:!0,get:function(){return o}})}catch(t){}try{window.document.timeline=o}catch(t){}}(0,r),function(t,e,i){e.animationsWithPromises=[],e.Animation=function(e,i){if(this.id="",e&&e._id&&(this.id=e._id),this.effect=e,e&&(e._animation=this),!i)throw new Error("Animation with null timeline is not supported");this._timeline=i,this._sequenceNumber=t.sequenceNumber++,this._holdTime=0,this._paused=!1,this._isGroup=!1,this._animation=null,this._childAnimations=[],this._callback=null,this._oldPlayState="idle",this._rebuildUnderlyingAnimation(),this._animation.cancel(),this._updatePromises()},e.Animation.prototype={_updatePromises:function(){var t=this._oldPlayState,e=this.playState;return this._readyPromise&&e!==t&&("idle"==e?(this._rejectReadyPromise(),this._readyPromise=void 0):"pending"==t?this._resolveReadyPromise():"pending"==e&&(this._readyPromise=void 0)),this._finishedPromise&&e!==t&&("idle"==e?(this._rejectFinishedPromise(),this._finishedPromise=void 0):"finished"==e?this._resolveFinishedPromise():"finished"==t&&(this._finishedPromise=void 0)),this._oldPlayState=this.playState,this._readyPromise||this._finishedPromise},_rebuildUnderlyingAnimation:function(){this._updatePromises();var t,i,n,r,a=!!this._animation;a&&(t=this.playbackRate,i=this._paused,n=this.startTime,r=this.currentTime,this._animation.cancel(),this._animation._wrapper=null,this._animation=null),(!this.effect||this.effect instanceof window.KeyframeEffect)&&(this._animation=e.newUnderlyingAnimationForKeyframeEffect(this.effect),e.bindAnimationForKeyframeEffect(this)),(this.effect instanceof window.SequenceEffect||this.effect instanceof window.GroupEffect)&&(this._animation=e.newUnderlyingAnimationForGroup(this.effect),e.bindAnimationForGroup(this)),this.effect&&this.effect._onsample&&e.bindAnimationForCustomEffect(this),a&&(1!=t&&(this.playbackRate=t),null!==n?this.startTime=n:null!==r?this.currentTime=r:null!==this._holdTime&&(this.currentTime=this._holdTime),i&&this.pause()),this._updatePromises()},_updateChildren:function(){if(this.effect&&"idle"!=this.playState){var t=this.effect._timing.delay;this._childAnimations.forEach(function(i){this._arrangeChildren(i,t),this.effect instanceof window.SequenceEffect&&(t+=e.groupChildDuration(i.effect))}.bind(this))}},_setExternalAnimation:function(t){if(this.effect&&this._isGroup)for(var e=0;e\n :host {\n display: inline-block;\n position: relative;\n width: 400px;\n border: 1px solid;\n padding: 2px;\n -moz-appearance: textarea;\n -webkit-appearance: textarea;\n overflow: hidden;\n }\n\n .mirror-text {\n visibility: hidden;\n word-wrap: break-word;\n @apply --iron-autogrow-textarea;\n }\n\n .fit {\n @apply --layout-fit;\n }\n\n textarea {\n position: relative;\n outline: none;\n border: none;\n resize: none;\n background: inherit;\n color: inherit;\n /* see comments in template */\n width: 100%;\n height: 100%;\n font-size: inherit;\n font-family: inherit;\n line-height: inherit;\n text-align: inherit;\n @apply --iron-autogrow-textarea;\n }\n\n textarea::-webkit-input-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea:-moz-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea::-moz-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n\n textarea:-ms-input-placeholder {\n @apply --iron-autogrow-textarea-placeholder;\n }\n \n\n \x3c!-- the mirror sizes the input/textarea so it grows with typing --\x3e\n \x3c!-- use   instead   of to allow this element to be used in XHTML --\x3e\n \n\n \x3c!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --\x3e\n
\n \n
\n'],['\n \n\n \x3c!-- the mirror sizes the input/textarea so it grows with typing --\x3e\n \x3c!-- use   instead   of to allow this element to be used in XHTML --\x3e\n \n\n \x3c!-- size the input/textarea with a div, because the textarea has intrinsic size in ff --\x3e\n
\n \n
\n']);return u=function(){return t},t}Object(a.a)({_template:Object(s.a)(u()),is:"iron-autogrow-textarea",behaviors:[r.a,n.a],properties:{value:{observer:"_valueChanged",type:String,notify:!0},bindValue:{observer:"_bindValueChanged",type:String,notify:!0},rows:{type:Number,value:1,observer:"_updateCached"},maxRows:{type:Number,value:0,observer:"_updateCached"},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,value:!1},inputmode:{type:String},placeholder:{type:String},readonly:{type:String},required:{type:Boolean},minlength:{type:Number},maxlength:{type:Number},label:{type:String}},listeners:{input:"_onInput"},get textarea(){return this.$.textarea},get selectionStart(){return this.$.textarea.selectionStart},get selectionEnd(){return this.$.textarea.selectionEnd},set selectionStart(t){this.$.textarea.selectionStart=t},set selectionEnd(t){this.$.textarea.selectionEnd=t},attached:function(){navigator.userAgent.match(/iP(?:[oa]d|hone)/)&&(this.$.textarea.style.marginLeft="-3px")},validate:function(){var t=this.$.textarea.validity.valid;return t&&(this.required&&""===this.value?t=!1:this.hasValidator()&&(t=r.a.validate.call(this,this.value))),this.invalid=!t,this.fire("iron-input-validate"),t},_bindValueChanged:function(t){this.value=t},_valueChanged:function(t){var e=this.textarea;e&&(e.value!==t&&(e.value=t||0===t?t:""),this.bindValue=t,this.$.mirror.innerHTML=this._valueForMirror(),this.fire("bind-value-changed",{value:this.bindValue}))},_onInput:function(t){var e=Object(o.a)(t).path;this.value=e?e[0].value:t.target.value},_constrain:function(t){var e;for(t=t||[""],e=this.maxRows>0&&t.length>this.maxRows?t.slice(0,this.maxRows):t.slice(0);this.rows>0&&e.length")+" "},_valueForMirror:function(){var t=this.textarea;if(t)return this.tokens=t&&t.value?t.value.replace(/&/gm,"&").replace(/"/gm,""").replace(/'/gm,"'").replace(//gm,">").split("\n"):[""],this._constrain(this.tokens)},_updateCached:function(){this.$.mirror.innerHTML=this._constrain(this.tokens)}})}}]); +//# sourceMappingURL=chunk.9861d0fdbc47c03a1a5c.js.map \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.LICENSE.txt b/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.LICENSE.txt similarity index 100% rename from supervisor/api/panel/frontend_es5/chunk.3e7c27cbbb8b44bddd5f.js.LICENSE.txt rename to supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.LICENSE.txt diff --git a/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.gz b/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.gz new file mode 100644 index 0000000000000000000000000000000000000000..e83f354af80326925afa04c30e5a6719da60399d GIT binary patch literal 16930 zcmV((K;XY0iwFP!000021FSk}bK5$S-}hJ0ta>gYhG@|_=7loidWSQ2l8QZhDJmB% zLKY?zpaMZ3Bk{j)H$ae-EYDS&Lj)R)zR>7yfINM56n)etD&<_LN<>mEv{`X0wTjlI z-~g(Gh~~>$eNW&2_%18Pi{f_v<~Q^4Yo779^YpJ(`lsLja{1}%GPRF3dUg6ANhQif z`XFxCeE$6pl~!x^46@x$XCz(M)iRk*-_PhKd-pD1)M}2L6H5h^WE0oO-WoZ#@kFLY zB52HGnsj(%V}z}ZislU=let!vjTF0jTHWe0iGR_nQi9lPqaUAQLd~-gp^CMZ%E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G~ z%tK&+z18))e3OoD&1$6!m$bVq_;Ye+kPRARb~zf|D=i{7CtA0=h_va*dX*Yugh>BC zmVFU81C#Zp$>P1%? zoJ$9wooj4Fms?$#Mx@ePeSw6tN5Jc9NWZfz8bCk?fNJA&`;X4{u<7Fb{1cIz+%@k- zI~Ul28Y%HQzccH1p=9AHJCuy0OTL!9)DNF!PD@ipVS{_Y*gBj8LH50FV_ySZ zrS9b;$fBT8%Y0iCm;<=YabY(Vbj~cP7-;nM^EU5i`-82gaK?9 zIS`HTRQquj&FA>BShPI^S5$g!qwN>QBN{AAvuMd1CYSR3@e+!0Zf1$7%z4xfdiO;cx5B;10#T8q!XNtbs?LS zzZFRs;-s&ixLIt+mS_I6h59eYCHxPU@IPF_|8NQa!zKI=m+(Ja!sX=wK7kU#oC2l| z@d}(C9Z*Y7}uW~WeC^$&YlIrhQqIIt<*#I#RcP&+PER~l=Q zgA5Kz+9?><9}i?ZAIK(Ak@9kTC~pLh2LTvkB$xmDvRv!DXo2v8kI~XEWv2u__EH!Z zd(n)CeoZ^&u*&PA?RYTWE=+e zuABhXt)AYX;>(?Nn|5ZN$Fp=^=8M(+ZCU8#jGg6pb>Id!p~tDd)7MQFjX#GcGm{-+ zkU@+L`___WSV&-t>BHSAaBYk?^!^&tZ~lGa7xM_wrm)T^bAUM=K9kr!2< zD=m30kvumE7(Bw2p%@H$?Un*5>p4--d6j{kdcRDkSliav#_tEqf>HKOQ0ZOg`s|BT{4`uulZ^b?9+`@mmQ z>Utj8p3XpV$ovZ;%Se#3}fYi;?R8rFbV(b?ChfvJ#71ZzCqUa=O4ez tmbcsD)#P`7_0`4d{Cah@{NjHv&p*#E@-LT@|A&*j`Tso91vC@s002uq-7NqB literal 0 HcmV?d00001 diff --git a/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.map b/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.map new file mode 100644 index 000000000..c32932d22 --- /dev/null +++ b/supervisor/api/panel/frontend_es5/chunk.9861d0fdbc47c03a1a5c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"chunk.9861d0fdbc47c03a1a5c.js","sources":["webpack:///chunk.9861d0fdbc47c03a1a5c.js"],"mappings":";AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js b/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js deleted file mode 100644 index fcafff454..000000000 --- a/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackJsonp=self.webpackJsonp||[]).push([[6],{176:function(e,t,r){"use strict";r.r(t);var n=r(10),i=r(0),o=r(39),a=r(63),s=(r(82),r(80),r(13)),c=r(28),l=(r(44),r(125),r(105),r(123),r(167),r(59),r(116)),d=r(6),u=r(18);function f(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}var p=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,r,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(u.b)(t,{title:n.name,text:"Do you want to restart the add-on with your changes?",confirmText:"restart add-on",dismissText:"no"});case 2:if(!e.sent){e.next=12;break}return e.prev=4,e.next=7,Object(a.h)(r,n.slug);case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(4),Object(u.a)(t,{title:"Failed to restart",text:Object(d.a)(e.t0)});case 12:case"end":return e.stop()}}),e,null,[[4,9]])})),function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){f(o,n,i,a,s,"next",e)}function s(e){f(o,n,i,a,s,"throw",e)}a(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();r(71);function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e){return function(e){if(Array.isArray(e))return I(e)}(e)||M(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){v(o,n,i,a,s,"next",e)}function s(e){v(o,n,i,a,s,"throw",e)}a(void 0)}))}}function b(){var e=O(["\n :host,\n ha-card,\n paper-dropdown-menu {\n display: block;\n }\n .errors {\n color: var(--error-color);\n margin-bottom: 16px;\n }\n paper-item {\n width: 450px;\n }\n .card-actions {\n text-align: right;\n }\n "]);return b=function(){return e},e}function g(){var e=O(["\n ","\n "]);return g=function(){return e},e}function w(){var e=O(["\n ","\n "]);return w=function(){return e},e}function k(){var e=O(['
',"
"]);return k=function(){return e},e}function E(){var e=O(['\n \n
\n ','\n\n \n \n \n \n \n \n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ".concat(t.codeMirrorCss,"\n .CodeMirror {\n height: var(--code-mirror-height, auto);\n direction: var(--code-mirror-direction, ltr);\n }\n .CodeMirror-scroll {\n max-height: var(--code-mirror-max-height, --code-mirror-height);\n }\n :host(.error-state) .CodeMirror-gutters {\n border-color: var(--error-state-color, red);\n }\n .CodeMirror-focused .CodeMirror-gutters {\n border-right: 2px solid var(--paper-input-container-focus-color, var(--primary-color));\n }\n .CodeMirror-linenumber {\n color: var(--paper-dialog-color, var(--secondary-text-color));\n }\n .rtl .CodeMirror-vscrollbar {\n right: auto;\n left: 0px;\n }\n .rtl-gutter {\n width: 20px;\n }\n .CodeMirror-gutters {\n border-right: 1px solid var(--paper-input-container-color, var(--secondary-text-color));\n background-color: var(--paper-dialog-background-color, var(--primary-background-color));\n transition: 0.2s ease border-right;\n }\n .cm-s-default.CodeMirror {\n background-color: var(--code-editor-background-color, var(--card-background-color));\n color: var(--primary-text-color);\n }\n .cm-s-default .CodeMirror-cursor {\n border-left: 1px solid var(--secondary-text-color);\n }\n \n .cm-s-default div.CodeMirror-selected, .cm-s-default.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(var(--rgb-primary-color), 0.2);\n }\n \n .cm-s-default .CodeMirror-line::selection,\n .cm-s-default .CodeMirror-line>span::selection,\n .cm-s-default .CodeMirror-line>span>span::selection {\n background: rgba(var(--rgb-primary-color), 0.2);\n }\n \n .cm-s-default .cm-keyword {\n color: var(--codemirror-keyword, #6262FF);\n }\n \n .cm-s-default .cm-operator {\n color: var(--codemirror-operator, #cda869);\n }\n \n .cm-s-default .cm-variable-2 {\n color: var(--codemirror-variable-2, #690);\n }\n \n .cm-s-default .cm-builtin {\n color: var(--codemirror-builtin, #9B7536);\n }\n \n .cm-s-default .cm-atom {\n color: var(--codemirror-atom, #F90);\n }\n \n .cm-s-default .cm-number {\n color: var(--codemirror-number, #ca7841);\n }\n \n .cm-s-default .cm-def {\n color: var(--codemirror-def, #8DA6CE);\n }\n \n .cm-s-default .cm-string {\n color: var(--codemirror-string, #07a);\n }\n \n .cm-s-default .cm-string-2 {\n color: var(--codemirror-string-2, #bd6b18);\n }\n \n .cm-s-default .cm-comment {\n color: var(--codemirror-comment, #777);\n }\n \n .cm-s-default .cm-variable {\n color: var(--codemirror-variable, #07a);\n }\n \n .cm-s-default .cm-tag {\n color: var(--codemirror-tag, #997643);\n }\n \n .cm-s-default .cm-meta {\n color: var(--codemirror-meta, #000);\n }\n \n .cm-s-default .cm-attribute {\n color: var(--codemirror-attribute, #d6bb6d);\n }\n \n .cm-s-default .cm-property {\n color: var(--codemirror-property, #905);\n }\n \n .cm-s-default .cm-qualifier {\n color: var(--codemirror-qualifier, #690);\n }\n \n .cm-s-default .cm-variable-3 {\n color: var(--codemirror-variable-3, #07a);\n }\n\n .cm-s-default .cm-type {\n color: var(--codemirror-type, #07a);\n }\n "),this.codemirror=r(n,{value:this._value,lineNumbers:!0,tabSize:2,mode:this.mode,autofocus:!1!==this.autofocus,viewportMargin:1/0,readOnly:this.readOnly,extraKeys:{Tab:"indentMore","Shift-Tab":"indentLess"},gutters:this._calcGutters()}),this._setScrollBarDirection(),this.codemirror.on("changes",(function(){return i._onChange()}));case 9:case"end":return e.stop()}}),e,this)})),n=function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function a(e){G(o,n,i,a,s,"next",e)}function s(e){G(o,n,i,a,s,"throw",e)}a(void 0)}))},function(){return n.apply(this,arguments)})},{kind:"method",key:"_onChange",value:function(){var e=this.value;e!==this._value&&(this._value=e,Object(B.a)(this,"value-changed",{value:this._value}))}},{kind:"method",key:"_calcGutters",value:function(){return this.rtl?["rtl-gutter","CodeMirror-linenumbers"]:[]}},{kind:"method",key:"_setScrollBarDirection",value:function(){this.codemirror&&this.codemirror.getWrapperElement().classList.toggle("rtl",this.rtl)}}]}}),i.b);function ce(){var e=ue(["

","

"]);return ce=function(){return e},e}function le(){var e=ue(["\n ","\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;aInvalid YAML
']);return Ae=function(){return e},e}function Te(){var e=ze(['
',"
"]);return Te=function(){return e},e}function Ce(){var e=ze(["\n

",'

\n \n
\n \n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ","\n \n ',"
"]);return Ze=function(){return e},e}function et(){var e=rt(['\n \n
\n ',"\n\n \n \n \n \n \n \n \n ",'\n \n
ContainerHostDescription
\n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;at.container?1:-1}))}},{kind:"method",key:"_configChanged",value:(o=Qe(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.target,this._config.forEach((function(e){e.container===r.container&&e.host!==parseInt(String(r.value),10)&&(e.host=r.value?parseInt(String(r.value),10):null)}));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{kind:"method",key:"_resetTapped",value:(n=Qe(regeneratorRuntime.mark((function e(t){var r,n,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=t.currentTarget).progress=!0,n={network:null},e.prev=3,e.next=6,Object(a.i)(this.hass,this.addon.slug,n);case 6:if(o={success:!0,response:void 0,path:"option"},Object(B.a)(this,"hass-api-called",o),"started"!==(null===(i=this.addon)||void 0===i?void 0:i.state)){e.next=11;break}return e.next=11,p(this,this.hass,this.addon);case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3),this._error="Failed to set addon network configuration, ".concat(Object(d.a)(e.t0));case 16:r.progress=!1;case 17:case"end":return e.stop()}}),e,this,[[3,13]])}))),function(e){return n.apply(this,arguments)})},{kind:"method",key:"_saveTapped",value:(r=Qe(regeneratorRuntime.mark((function e(t){var r,n,i,o,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(r=t.currentTarget).progress=!0,this._error=void 0,n={},this._config.forEach((function(e){n[e.container]=parseInt(String(e.host),10)})),i={network:n},e.prev=6,e.next=9,Object(a.i)(this.hass,this.addon.slug,i);case 9:if(s={success:!0,response:void 0,path:"option"},Object(B.a)(this,"hass-api-called",s),"started"!==(null===(o=this.addon)||void 0===o?void 0:o.state)){e.next=14;break}return e.next=14,p(this,this.hass,this.addon);case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(6),this._error="Failed to set addon network configuration, ".concat(Object(d.a)(e.t0));case 19:r.progress=!1;case 20:case"end":return e.stop()}}),e,this,[[6,16]])}))),function(e){return r.apply(this,arguments)})},{kind:"get",static:!0,key:"styles",value:function(){return[s.c,c.a,Object(i.c)(Je())]}}]}}),i.a);var yt=r(84);function bt(e){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gt(){var e=jt(["\n .content {\n margin: auto;\n padding: 8px;\n max-width: 1024px;\n }\n hassio-addon-network,\n hassio-addon-audio,\n hassio-addon-config {\n margin-bottom: 24px;\n }\n "]);return gt=function(){return e},e}function wt(){var e=jt(["\n \n "]);return wt=function(){return e},e}function kt(){var e=jt(["\n \n "]);return kt=function(){return e},e}function Et(){var e=jt(['\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a"]);return Ht=function(){return e},e}function Bt(){var e=Lt([""]);return Bt=function(){return e},e}function qt(){var e=Lt(['
',"
"]);return qt=function(){return e},e}function Vt(){var e=Lt(['\n
\n \n ','\n
\n ',"\n
\n
\n
\n "]);return Vt=function(){return e},e}function $t(){var e=Lt([""]);return $t=function(){return e},e}function Lt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Wt(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function Gt(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Wt(o,n,i,a,s,"next",e)}function s(e){Wt(o,n,i,a,s,"throw",e)}a(void 0)}))}}function Yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t){return(Jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Kt(e,t){return!t||"object"!==Ut(t)&&"function"!=typeof t?Qt(e):t}function Qt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Zt(e){var t,r=ir(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function er(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function tr(e){return e.decorators&&e.decorators.length}function rr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function nr(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function ir(e){var t=function(e,t){if("object"!==Ut(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Ut(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ut(t)?t:String(t)}function or(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n ']);return pr=function(){return e},e}function hr(e,t){for(var r=0;r bit more top margin */\n font-weight: 500;\n overflow: hidden;\n text-transform: uppercase;\n text-overflow: ellipsis;\n transition: background-color 0.3s ease-in-out;\n text-transform: var(--ha-label-badge-label-text-transform, uppercase);\n }\n .label-badge .label.big span {\n font-size: 90%;\n padding: 10% 12% 7% 12%; /* push smaller text a bit down to center vertically */\n }\n .badge-container .title {\n margin-top: 1em;\n font-size: var(--ha-label-badge-title-font-size, 0.9em);\n width: var(--ha-label-badge-title-width, 5em);\n font-weight: var(--ha-label-badge-title-font-weight, 400);\n overflow: hidden;\n text-overflow: ellipsis;\n line-height: normal;\n }\n "]);return Er=function(){return e},e}function Or(){var e=Dr(['
',"
"]);return Or=function(){return e},e}function jr(){var e=Dr(['\n \n ',"\n
\n "]);return jr=function(){return e},e}function Pr(){var e=Dr([" "," "]);return Pr=function(){return e},e}function xr(){var e=Dr([" "]);return xr=function(){return e},e}function _r(){var e=Dr(['\n
\n
\n \n \n ',"\n ","\n \n
\n ","\n
\n ","\n
\n "]);return _r=function(){return e},e}function Dr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e,t){return(Ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tr(e,t){return!t||"object"!==kr(t)&&"function"!=typeof t?Cr(e):t}function Cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Rr(e){var t,r=Nr(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Fr(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Ir(e){return e.decorators&&e.decorators.length}function Mr(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ur(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Nr(e){var t=function(e,t){if("object"!==kr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==kr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===kr(t)?t:String(t)}function Hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a4)}),!this.icon||this.value||this.image?"":Object(i.f)(xr(),this.icon),this.value&&!this.image?Object(i.f)(Pr(),this.value):"",this.label?Object(i.f)(jr(),Object(cr.a)({label:!0,big:this.label.length>5}),this.label):"",this.description?Object(i.f)(Or(),this.description):"")}},{kind:"get",static:!0,key:"styles",value:function(){return[Object(i.c)(Er())]}},{kind:"method",key:"updated",value:function(e){Br(qr(r.prototype),"updated",this).call(this,e),e.has("image")&&(this.shadowRoot.getElementById("badge").style.backgroundImage=this.image?"url(".concat(this.image,")"):"")}}]}}),i.a);customElements.define("ha-label-badge",Vr);r(104),r(33),r(103),r(97);var $r=r(117);function Lr(e){return(Lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Wr(){var e=zn(['\n :host {\n display: block;\n }\n ha-card {\n display: block;\n margin-bottom: 16px;\n }\n ha-card.warning {\n background-color: var(--error-color);\n color: white;\n }\n ha-card.warning .card-header {\n color: white;\n }\n ha-card.warning .card-content {\n color: white;\n }\n ha-card.warning mwc-button {\n --mdc-theme-primary: white !important;\n }\n .warning {\n color: var(--error-color);\n --mdc-theme-primary: var(--error-color);\n }\n .light-color {\n color: var(--secondary-text-color);\n }\n .addon-header {\n padding-left: 8px;\n font-size: 24px;\n color: var(--ha-card-header-color, --primary-text-color);\n }\n .addon-version {\n float: right;\n font-size: 15px;\n vertical-align: middle;\n }\n .errors {\n color: var(--error-color);\n margin-bottom: 16px;\n }\n .description {\n margin-bottom: 16px;\n }\n img.logo {\n max-height: 60px;\n margin: 16px 0;\n display: block;\n }\n\n ha-switch {\n display: flex;\n }\n ha-svg-icon.running {\n color: var(--paper-green-400);\n }\n ha-svg-icon.stopped {\n color: var(--google-red-300);\n }\n ha-call-api-button {\n font-weight: 500;\n color: var(--primary-color);\n }\n .right {\n float: right;\n }\n protection-enable mwc-button {\n --mdc-theme-primary: white;\n }\n .description a {\n color: var(--primary-color);\n }\n .red {\n --ha-label-badge-color: var(--label-badge-red, #df4c1e);\n }\n .blue {\n --ha-label-badge-color: var(--label-badge-blue, #039be5);\n }\n .green {\n --ha-label-badge-color: var(--label-badge-green, #0da035);\n }\n .yellow {\n --ha-label-badge-color: var(--label-badge-yellow, #f4b400);\n }\n .security {\n margin-bottom: 16px;\n }\n .card-actions {\n display: flow-root;\n }\n .security h3 {\n margin-bottom: 8px;\n font-weight: normal;\n }\n .security ha-label-badge {\n cursor: pointer;\n margin-right: 4px;\n --ha-label-badge-padding: 8px 0 0 0;\n }\n .changelog {\n display: contents;\n }\n .changelog-link {\n color: var(--primary-color);\n text-decoration: underline;\n cursor: pointer;\n }\n ha-markdown {\n padding: 16px;\n }\n ha-settings-row {\n padding: 0;\n height: 54px;\n width: 100%;\n }\n ha-settings-row > span[slot="description"] {\n white-space: normal;\n color: var(--secondary-text-color);\n }\n ha-settings-row[three-line] {\n height: 74px;\n }\n\n .addon-options {\n max-width: 50%;\n }\n @media (max-width: 720px) {\n .addon-options {\n max-width: 100%;\n }\n }\n ']);return Wr=function(){return e},e}function Gr(e,t,r,n,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void r(l)}s.done?t(c):Promise.resolve(c).then(n,i)}function Yr(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){Gr(o,n,i,a,s,"next",e)}function s(e){Gr(o,n,i,a,s,"throw",e)}a(void 0)}))}}function Jr(){var e=zn(['\n \n
\n \n This add-on is not available on your system.\n

\n ']);return Kr=function(){return e},e}function Qr(){var e=zn(["\n ","\n \n Install\n \n "]);return Qr=function(){return e},e}function Xr(){var e=zn(['\n \n Rebuild\n \n ']);return Xr=function(){return e},e}function Zr(){var e=zn(['\n \n \n Open web UI\n \n
\n ']);return en=function(){return e},e}function tn(){var e=zn(["\n \n Start\n \n "]);return tn=function(){return e},e}function rn(){var e=zn(['\n \n Stop\n \n \n Restart\n \n ']);return rn=function(){return e},e}function nn(){var e=zn(["\n ","\n ","\n ",'\n ',"
"]);return on=function(){return e},e}function an(){var e=zn(["\n \n Protection mode\n \n \n Blocks elevated system access from the add-on\n \n \n \n Show in sidebar\n \n \n ',"\n \n \n \n "]);return sn=function(){return e},e}function cn(){var e=zn(["\n \n Auto update\n \n \n Auto update the add-on when there is a new version\n available\n \n \n \n Watchdog\n \n \n This will start the add-on if it crashes\n \n \n \n \n Start on boot\n \n \n Make the add-on start during a system boot\n \n \n \n \n \n \n \n \n \n \n
\n ']);return On=function(){return e},e}function jn(){var e=zn([" "," "]);return jn=function(){return e},e}function Pn(){var e=zn(['\n \n
Warning: Protection mode is disabled!
\n
\n Protection mode on this add-on is disabled! This gives the add-on full access to the entire system, which adds security risks, and could damage your system when used incorrectly. Only disable the protection mode if you know, need AND trust the source of this add-on.\n
\n
\n \n
\n \n ','\n
\n
\n \n Update\n \n ',"\n
\n \n "]);return Tn=function(){return e},e}function Cn(){var e=zn(["\n ","\n ",'\n\n \n \n
\n ',"\n
\n
\n\n ","\n "]);return Cn=function(){return e},e}function zn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t){return(Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function In(e,t){return!t||"object"!==Lr(t)&&"function"!=typeof t?Mn(e):t}function Mn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Un(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Nn(e){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(e){var t,r=Ln(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Bn(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function qn(e){return e.decorators&&e.decorators.length}function Vn(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $n(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Ln(e){var t=function(e,t){if("object"!==Lr(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Lr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Lr(t)?t:String(t)}function Wn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r **Stable**: These are add-ons ready to be used in production.\n\n **Experimental**: These may contain bugs, and may be unfinished.\n\n **Deprecated**: These add-ons will no longer receive any updates.")},rating:{title:"Add-on Security Rating",description:"Home Assistant provides a security rating to each of the add-ons, which indicates the risks involved when using this add-on. The more access an add-on requires on your system, the lower the score, thus raising the possible security risks.\n\nA score is on a scale from 1 to 6. Where 1 is the lowest score (considered the most insecure and highest risk) and a score of 6 is the highest score (considered the most secure and lowest risk)."},host_network:{title:"Host Network",description:"Add-ons usually run in their own isolated network layer, which prevents them from accessing the network of the host operating system. In some cases, this network isolation can limit add-ons in providing their services and therefore, the isolation can be lifted by the add-on author, giving the add-on full access to the network capabilities of the host machine. This gives the add-on more networking capabilities but lowers the security, hence, the security rating of the add-on will be lowered when this option is used by the add-on."},homeassistant_api:{title:"Home Assistant API Access",description:"This add-on is allowed to access your running Home Assistant instance directly via the Home Assistant API. This mode handles authentication for the add-on as well, which enables an add-on to interact with Home Assistant without the need for additional authentication tokens."},full_access:{title:"Full Hardware Access",description:"This add-on is given full access to the hardware of your system, by request of the add-on author. Access is comparable to the privileged mode in Docker. Since this opens up possible security risks, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},hassio_api:{title:"Supervisor API Access",description:"The add-on was given access to the Supervisor API, by request of the add-on author. By default, the add-on can access general version information of your system. When the add-on requests 'manager' or 'admin' level access to the API, it will gain access to control multiple parts of your Home Assistant system. This permission is indicated by this badge and will impact the security score of the addon negatively."},docker_api:{title:"Full Docker Access",description:"The add-on author has requested the add-on to have management access to the Docker instance running on your system. This mode gives the add-on full access and control to your entire Home Assistant system, which adds security risks, and could damage your system when misused. Therefore, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},host_pid:{title:"Host Processes Namespace",description:"Usually, the processes the add-on runs, are isolated from all other system processes. The add-on author has requested the add-on to have access to the system processes running on the host system instance, and allow the add-on to spawn processes on the host system as well. This mode gives the add-on full access and control to your entire Home Assistant system, which adds security risks, and could damage your system when misused. Therefore, this feature impacts the add-on security score negatively.\n\nThis level of access is not granted automatically and needs to be confirmed by you. To do this, you need to disable the protection mode on the add-on manually. Only disable the protection mode if you know, need AND trust the source of this add-on."},apparmor:{title:"AppArmor",description:"AppArmor ('Application Armor') is a Linux kernel security module that restricts add-ons capabilities like network access, raw socket access, and permission to read, write, or execute specific files.\n\nAdd-on authors can provide their security profiles, optimized for the add-on, or request it to be disabled. If AppArmor is disabled, it will raise security risks and therefore, has a negative impact on the security score of the add-on."},auth_api:{title:"Home Assistant Authentication",description:"An add-on can authenticate users against Home Assistant, allowing add-ons to give users the possibility to log into applications running inside add-ons, using their Home Assistant username/password. This badge indicates if the add-on author requests this capability."},ingress:{title:"Ingress",description:"This add-on is using Ingress to embed its interface securely into Home Assistant."}};!function(e,t,r,n){var i=function(){(function(){return e});var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(n){t.forEach((function(t){var i=t.placement;if(t.kind===n&&("static"===i||"prototype"===i)){var o="static"===i?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!qn(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)}),this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a"]);return mi=function(){return e},e}function vi(){var e=bi(['
',"
"]);return vi=function(){return e},e}function yi(){var e=bi(["\n

","

\n \n ",'\n
\n ','\n
\n
\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a',"\n \n \n "]);return bo=function(){return e},e}function go(){var e=wo([""]);return go=function(){return e},e}function wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ko(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e,t){return(Eo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oo(e,t){return!t||"object"!==ho(t)&&"function"!=typeof t?jo(e):t}function jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Po(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function xo(e){return(xo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _o(e){var t,r=Co(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function Do(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function So(e){return e.decorators&&e.decorators.length}function Ao(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function To(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function Co(e){var t=function(e,t){if("object"!==ho(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ho(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ho(t)?t:String(t)}function zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var l=c.extras;if(l){for(var d=0;d=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;aV8COI?+dQD+saoyEa>Vh`SeGv80}t zjWMdGQ`||5?qG?M#xJ^V7L`xo$9H!ps>8}x(7p~2U#hh;x?HlQP2=*K1AGO}hFDAZ z>7u27qDJUkv4-99u^Gz`PfP?XHO=apw0e*g=03g@#c~}-bacVRdWuOmB?yc}HzQI6 zQ=(ojE0c7&EmIn8+S;vCPv|p`*D79)zuDSPr1kMGNv|as@bnwaz?3n|i;^U(=c-p= z`Em!NyN)ZyFAst#EY^%68Us=duKq1d)&?%K*pRHevo!&1<4g(OXV=zMc-1SYxacdGw&>uI)=;QHg55n@3ESA&+3=IlSgOa2Y z&j}_}T1_R42d7B79a%OlF+FpdS zZjwetF&J(4v`9QBWC&jL!R=%2z6`nS@^4vyo@#3;*DrLTn9AA^vc)64)n-1!=o13T zvfq>!Mcswu?xMslYTuIA5DI_<3uKaM@!&6FI9xq0yXtHS!}60KB8%0C>D-$Mw+pJ; z)~teo%q|*}Sy@ycm#?YY!QAJl(hc*voyr{=Jm5jT+hYv%#y)qTu>3k}9GaA3Dk>e8 zp5*I*l{bjCTQvE_X$nKq!~)i>tiKVkXtT6hL?c@^^ULCSfYSDO5Ljs75Hhe^Q030D zx!)rm{#E<*?GJ=8U>?b(?Untq8*x=1!>N5gHpg2*LL$`-TmS4_)m_;+rPhhXlKC0- z^56_D4dZHO$z3x`wLT{7rFo1OSZ(dVtS49t_6ZuE@NL3_F@JNMEK#lYYKf71HqK-K zK6!b4cYb{rf5CJXbu(MBd<%>5xXf_kc-f#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$z3*sQ?`{y{n}vsy|Dcne4z+zv=R zxGmzQ5XtJXG(x|AjkQMA?qry*#5U7;=7p8^Q*TgNG(5o5{Ukq+gZpS0r4!ua>ng4N zal)|+&!MvRMvN3t&>`%VUoNa2+{{;`d8Plc@N1VE+25Dr&dvb6l@@AJuPL!n2PVf( zQzg)Z7n*(GDxCk)dVrF*P=}$DO>C1fkJTkMQ$_ubw^MC%WMrd667rQ0H2>fKs%;2T2kvFaN=d_|7k zK-*CG``^oDgWI8HzmpRW@<|kp&-J36|m;WEP#+bFTigf9i^Z6W7o%Z8uXm(O@os-D IH87C>0cVkEKmY&$ diff --git a/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js.map b/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js.map deleted file mode 100644 index df4e0a24e..000000000 --- a/supervisor/api/panel/frontend_es5/chunk.a0bbc7b092a109a89b49.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"chunk.a0bbc7b092a109a89b49.js","sources":["webpack:///chunk.a0bbc7b092a109a89b49.js"],"mappings":"AAAA","sourceRoot":""} \ No newline at end of file diff --git a/supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js b/supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js deleted file mode 100644 index 9b76d9486..000000000 --- a/supervisor/api/panel/frontend_es5/entrypoint.028a6bad.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see entrypoint.028a6bad.js.LICENSE.txt */ -!function(e){function t(t){for(var n,i,o=t[0],a=t[1],s=0,l=[];s1&&void 0!==arguments[1]?arguments[1]:-1,n=t+1;n2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,i=e.parts;if(null!=n)for(var o=document.createTreeWalker(r,133,null,!1),c=s(i),l=0,u=-1;o.nextNode();){u++;var d=o.currentNode;for(d===n&&(l=a(t),n.parentNode.insertBefore(t,n));-1!==c&&i[c].index===u;){if(l>0){for(;-1!==c;)i[c].index+=l,c=s(i,c);return}c=s(i,c)}}else r.appendChild(t)}(n,u,h.firstChild):h.insertBefore(u,h.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var m=h.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==m)t.insertBefore(m.cloneNode(!0),t.firstChild);else if(n){h.insertBefore(u,h.firstChild);var b=new Set;b.add(u),o(n,b)}}else window.ShadyCSS.prepareTemplateStyles(r,e)};function g(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||_(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:I,r=this.constructor,i=r._attributeNameForProperty(e,n);if(void 0!==i){var o=r._propertyValueToAttribute(t,n);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var i=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,i),this._updateState=-17&this._updateState}}}},{key:"_requestUpdate",value:function(e,t){var n=!0;if(void 0!==e){var r=this.constructor,i=r.getPropertyOptions(e);r._valueHasChanged(this[e],t,i.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==i.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,i))):n=!1}!this._hasRequestedUpdate&&n&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(e,t){return this._requestUpdate(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:(o=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this._updateState=4|this._updateState,e.prev=1,e.next=4,this._updatePromise;case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:if(null==(t=this.performUpdate())){e.next=12;break}return e.next=12,t;case 12:return e.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return e.stop()}}),e,this,[[1,6]])})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){O(i,n,r,a,s,"next",e)}function s(e){O(i,n,r,a,s,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"performUpdate",value:function(){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(n){throw e=!1,this._markUpdated(),n}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(e,n){return t._propertyToAttribute(n,t[n],e)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],i=[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach((function(t,n){return e._classProperties.set(n,t)}))}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===k(e)?Symbol():"__".concat(e),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}},{key:"getPropertyDescriptor",value:function(e,t,n){return{get:function(){return this[t]},set:function(n){var r=this[e];this[t]=n,this._requestUpdate(e,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){return this._classProperties&&this._classProperties.get(e)||I}},{key:"finalize",value:function(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t,n=this.properties,r=function(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=_(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}([].concat(g(Object.getOwnPropertyNames(n)),g("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(t=r.n()).done;){var i=t.value;this.createProperty(i,n[i])}}catch(o){r.e(o)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:R;return n(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||T,i="function"==typeof r?r:r.fromAttribute;return i?i(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||T.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this._classProperties.forEach((function(n,r){var i=e._attributeNameForProperty(r,n);void 0!==i&&(e._attributeToPropertyMap.set(i,r),t.push(i))})),t}}],r&&x(n.prototype,r),i&&x(n,i),c}(S(HTMLElement));function z(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}D.finalized=!0;var F=function(e){return function(t){return"function"==typeof t?function(e,t){return window.customElements.define(e,t),t}(e,t):function(e,t){return{kind:t.kind,elements:t.elements,finisher:function(t){window.customElements.define(e,t)}}}(e,t)}};function L(e){return function(t,n){return void 0!==n?function(e,t,n){t.constructor.createProperty(n,e)}(e,t,n):function(e,t){return"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?Object.assign(Object.assign({},t),{finisher:function(n){n.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher:function(n){n.createProperty(t.key,e)}}}(e,t)}}function N(e){return L({attribute:!1,hasChanged:null==e?void 0:e.hasChanged})}function M(e){return function(t,n){var r={get:function(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};return void 0!==n?H(r,t,n):V(r,t)}}function B(e){return function(t,n){var r={get:function(){var t,n=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.updateComplete;case 2:return t.abrupt("return",n.renderRoot.querySelector(e));case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){z(o,r,i,a,s,"next",e)}function s(e){z(o,r,i,a,s,"throw",e)}a(void 0)}))})()},enumerable:!0,configurable:!0};return void 0!==n?H(r,t,n):V(r,t)}}var H=function(e,t,n){Object.defineProperty(t,n,e)},V=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}};function U(e){return function(t,n){return void 0!==n?function(e,t,n){Object.assign(t[n],e)}(e,t,n):function(e,t){return Object.assign(Object.assign({},t),{finisher:function(n){Object.assign(n.prototype[t.key],e)}})}(e,t)}}function K(e,t){for(var n=0;n1?t-1:0),r=1;r=0;c--)(o=e[c])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function c(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}},function(e,t,n){"use strict";n(17),n(20);var r=n(90),i=n(21);function o(e,t){for(var n=0;n can only be templatized once");e.__templatizeOwner=t;var r=(t?t.constructor:z)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=N(e,r,n),r.templatizeInstanceClass=i),M(e,r,n);var o=function(e){O(n,e);var t=E(n);function n(){return P(this,n),t.apply(this,arguments)}return n}(i);return o.prototype._methodHost=L(e),o.prototype.__dataHost=e,o.prototype.__templatizeOwner=t,o.prototype.__hostProps=r.hostProps,o=o}function U(e,t){for(var n;t;)if(n=t.__templatizeInstance){if(n.__dataHost==e)return n;t=n.__dataHost}else t=t.parentNode;return null}var K=n(89);function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e,t){for(var n=0;n child");n.disconnect(),t.render()}));return void n.observe(this,{childList:!0})}this.root=this._stampTemplate(e),this.$=this.root.$,this.__children=[];for(var r=this.root.firstChild;r;r=r.nextSibling)this.__children[this.__children.length]=r;this._enableProperties()}this.__insertChildren(),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}}]),r}(Object(K.a)(b(Object(i.a)(HTMLElement))));customElements.define("dom-bind",J);var Q=n(41),ee=n(38),te=n(47),ne=n(7),re=n(21);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oe(e,t,n){return(oe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=de(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function ae(e,t){for(var n=0;n child");n.disconnect(),e.__render()}));return n.observe(this,{childList:!0}),!1}var r={};r[this.as]=!0,r[this.indexAs]=!0,r[this.itemsIndexAs]=!0,this.__ctor=V(t,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:r,forwardHostProp:function(e,t){for(var n,r=this.__instances,i=0;i1&&void 0!==arguments[1]?arguments[1]:0;this.__renderDebouncer=ee.a.debounce(this.__renderDebouncer,t>0?re.b.after(t):re.a,e.bind(this)),Object(te.a)(this.__renderDebouncer)}},{key:"render",value:function(){this.__debounceRender(this.__render),Object(te.b)()}},{key:"__render",value:function(){this.__ensureTemplatized()&&(this.__applyFullRefresh(),this.__pool.length=0,this._setRenderedItemCount(this.__instances.length),this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this.__tryRenderChunk())}},{key:"__applyFullRefresh",value:function(){for(var e=this,t=this.items||[],n=new Array(t.length),r=0;r=o;u--)this.__detachAndRemoveInstance(u)}},{key:"__detachInstance",value:function(e){for(var t=this.__instances[e],n=0;n child");r.disconnect(),e.__render()}));return r.observe(this,{childList:!0}),!1}this.__ctor=V(n,this,{mutableData:!0,forwardHostProp:function(e,t){this.__instance&&(this.if?this.__instance.forwardHostProp(e,t):(this.__invalidProps=this.__invalidProps||Object.create(null),this.__invalidProps[Object(ne.g)(e)]=!0))}})}if(this.__instance){this.__syncHostProperties();var i=this.__instance.children;if(i&&i.length)if(this.previousSibling!==i[i.length-1])for(var o,a=0;a=i.index+i.removed.length?n.set(t,e+i.addedCount-i.removed.length):n.set(t,-1))}));for(var o=0;o=0&&e.linkPaths("items."+n,"selected."+t++)}))}else this.__selectedMap.forEach((function(t){e.linkPaths("selected","items."+t),e.linkPaths("selectedItem","items."+t)}))}},{key:"clearSelection",value:function(){this.__dataLinkedPaths={},this.__selectedMap=new Map,this.selected=this.multi?[]:null,this.selectedItem=null}},{key:"isSelected",value:function(e){return this.__selectedMap.has(e)}},{key:"isIndexSelected",value:function(e){return this.isSelected(this.items[e])}},{key:"__deselectChangedIdx",value:function(e){var t=this,n=this.__selectedIndexForItemIndex(e);if(n>=0){var r=0;this.__selectedMap.forEach((function(e,i){n==r++&&t.deselect(i)}))}}},{key:"__selectedIndexForItemIndex",value:function(e){var t=this.__dataLinkedPaths["items."+e];if(t)return parseInt(t.slice("selected.".length),10)}},{key:"deselect",value:function(e){var t,n=this.__selectedMap.get(e);n>=0&&(this.__selectedMap.delete(e),this.multi&&(t=this.__selectedIndexForItemIndex(n)),this.__updateLinks(),this.multi?this.splice("selected",t,1):this.selected=this.selectedItem=null)}},{key:"deselectIndex",value:function(e){this.deselect(this.items[e])}},{key:"select",value:function(e){this.selectIndex(this.items.indexOf(e))}},{key:"selectIndex",value:function(e){var t=this.items[e];this.isSelected(t)?this.toggle&&this.deselectIndex(e):(this.multi||this.__selectedMap.clear(),this.__selectedMap.set(t,e),this.__updateLinks(),this.multi?this.push("selected",t):this.selected=this.selectedItem=t)}}]),n}(Object(Oe.a)(e))}))(Q.a));customElements.define(De.is,De);n(118);v._mutablePropertyChange;Boolean,n(5);n.d(t,"a",(function(){return ze}));var ze=Object(r.a)(HTMLElement).prototype},function(e,t,n){"use strict";var r=n(79);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n=0;i--){var o=t[i];o?Array.isArray(o)?e(o,n):n.indexOf(o)<0&&(!r||r.indexOf(o)<0)&&n.unshift(o):console.warn("behavior is null, check for missing or 404 import")}return n}(e,null,n),t),n&&(e=n.concat(e)),t.prototype.behaviors=e,t}function h(e,t){var n=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,t);var n,r,i,f,p=(n=h,function(){var e,t=d(n);if(u()){var r=d(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return l(this,e)});function h(){return o(this,h),p.apply(this,arguments)}return r=h,f=[{key:"properties",get:function(){return e.properties}},{key:"observers",get:function(){return e.observers}}],(i=[{key:"created",value:function(){s(d(h.prototype),"created",this).call(this),e.created&&e.created.call(this)}},{key:"_registered",value:function(){s(d(h.prototype),"_registered",this).call(this),e.beforeRegister&&e.beforeRegister.call(Object.getPrototypeOf(this)),e.registered&&e.registered.call(Object.getPrototypeOf(this))}},{key:"_applyListeners",value:function(){if(s(d(h.prototype),"_applyListeners",this).call(this),e.listeners)for(var t in e.listeners)this._addMethodEventListenerToNode(this,t,e.listeners[t])}},{key:"_ensureAttributes",value:function(){if(e.hostAttributes)for(var t in e.hostAttributes)this._ensureAttribute(t,e.hostAttributes[t]);s(d(h.prototype),"_ensureAttributes",this).call(this)}},{key:"ready",value:function(){s(d(h.prototype),"ready",this).call(this),e.ready&&e.ready.call(this)}},{key:"attached",value:function(){s(d(h.prototype),"attached",this).call(this),e.attached&&e.attached.call(this)}},{key:"detached",value:function(){s(d(h.prototype),"detached",this).call(this),e.detached&&e.detached.call(this)}},{key:"attributeChanged",value:function(t,n,r){s(d(h.prototype),"attributeChanged",this).call(this,t,n,r),e.attributeChanged&&e.attributeChanged.call(this,t,n,r)}}])&&a(r.prototype,i),f&&a(r,f),h}(t);for(var r in n.generatedFrom=e,e)if(!(r in f)){var i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(n.prototype,r,i)}return n}n(17);n.d(t,"a",(function(){return m}));var m=function e(t){var n;return n="function"==typeof t?t:e.Class(t),customElements.define(n.is,n),n};m.Class=function(e,t){e||console.warn("Polymer's Class function requires `info` argument");var n=e.behaviors?p(e.behaviors,HTMLElement):Object(r.a)(HTMLElement),i=h(e,t?t(n):n);return i.is=e.is,i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(17);function r(e,t){for(var n=0;n1?n-1:0),i=1;i=0}function i(e){var t=e.indexOf(".");return-1===t?e:e.slice(0,t)}function o(e,t){return 0===e.indexOf(t+".")}function a(e,t){return 0===t.indexOf(e+".")}function s(e,t,n){return t+n.slice(e.length)}function c(e,t){return e===t||o(e,t)||a(e,t)}function l(e){if(Array.isArray(e)){for(var t=[],n=0;n1){for(var a=0;a1?t-1:0),r=1;r1?t-1:0),r=1;r=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1)throw new Error("The `classMap` directive must be used in the `class` attribute and must be the only part in the attribute.");var n=t.committer,i=n.element,o=c.get(t);void 0===o&&(i.setAttribute("class",n.strings.join(" ")),c.set(t,o=new Set));var a=i.classList||new s(i);for(var l in o.forEach((function(t){t in e||(a.remove(t),o.delete(t))})),e){var u=e[l];u!=o.has(l)&&(u?(a.add(l),o.add(l)):(a.remove(l),o.delete(l)))}"function"==typeof a.commit&&a.commit()}}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(17);var r=0;function i(){}i.prototype.__mixinApplications,i.prototype.__mixinSet;var o=function(e){var t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);var n=r++;function i(r){var i=r.__mixinSet;if(i&&i[n])return r;var o=t,a=o.get(r);a||(a=e(r),o.set(r,a));var s=Object.create(a.__mixinSet||i||null);return s[n]=!0,a.__mixinSet=s,a}return i}},function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r="{{lit-".concat(String(Math.random()).slice(2),"}}"),i="\x3c!--".concat(r,"--\x3e"),o=new RegExp("".concat(r,"|").concat(i)),a="$lit$",s=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parts=[],this.element=n;for(var i=[],s=[],l=document.createTreeWalker(n.content,133,null,!1),f=0,p=-1,h=0,m=t.strings,y=t.values.length;h0;){var k=m[h],O=d.exec(k)[2],x=O.toLowerCase()+a,E=v.getAttribute(x);v.removeAttribute(x);var S=E.split(o);this.parts.push({type:"attribute",index:p,name:O,strings:S}),h+=S.length-1}}"TEMPLATE"===v.tagName&&(s.push(v),l.currentNode=v.content)}else if(3===v.nodeType){var j=v.data;if(j.indexOf(r)>=0){for(var C=v.parentNode,A=j.split(o),P=A.length-1,T=0;T=0&&e.slice(n)===t},l=function(e){return-1!==e.index},u=function(){return document.createComment("")},d=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/},function(e,t,n){"use strict";window.JSCompiler_renameProperty=function(e,t){return e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(11),i=function(){return n.e(2).then(n.bind(null,161))},o=function(e,t,n){return new Promise((function(o){var a=t.cancel,s=t.confirm;Object(r.a)(e,"show-dialog",{dialogTag:"dialog-box",dialogImport:i,dialogParams:Object.assign({},t,{},n,{cancel:function(){o(!!(null==n?void 0:n.prompt)&&null),a&&a()},confirm:function(e){o(!(null==n?void 0:n.prompt)||e),s&&s(e)}})})}))},a=function(e,t){return o(e,t)},s=function(e,t){return o(e,t,{confirmation:!0})},c=function(e,t){return o(e,t,{prompt:!0})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!0,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"a",(function(){return l}));n(17);var r=n(31),i=!window.ShadyDOM,o=(Boolean(!window.ShadyCSS||window.ShadyCSS.nativeCss),window.customElements.polyfillWrapFlushCallback,Object(r.a)(document.baseURI||window.location.href)),a=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0,s=!1,c=!1,l=!1},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l}));n(17);var r=0,i=0,o=[],a=0,s=document.createTextNode("");new window.MutationObserver((function(){for(var e=o.length,t=0;t=0){if(!o[t])throw new Error("invalid async handle: "+e);o[t]=null}}}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r,i,o=!(window.ShadyDOM&&window.ShadyDOM.inUse);function a(e){r=(!e||!e.shimcssproperties)&&(o||Boolean(!navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)&&window.CSS&&CSS.supports&&CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild);var s=Boolean(window.ShadyCSS&&window.ShadyCSS.disableRuntime);window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?r=window.ShadyCSS.nativeCss:window.ShadyCSS?(a(window.ShadyCSS),window.ShadyCSS=void 0):a(window.WebComponents&&window.WebComponents.flags);var c=r},function(e,t,n){"use strict";var r=n(72),i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],o=["scalar","sequence","mapping"];e.exports=function(e,t){var n,a;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===i.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=(n=t.styleAliases||null,a={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){a[String(t)]=e}))})),a),-1===o.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return E})),n.d(t,"e",(function(){return S})),n.d(t,"c",(function(){return j})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return A})),n.d(t,"d",(function(){return T}));var r=n(49),i=n(30),o=n(27),a=n(45),s=n(55),c=n(16);function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){return function(){var t,n=m(e);if(h()){var r=m(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return p(this,t)}}function p(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:this.startNode;Object(i.b)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}(),j=function(){function e(t,n,r){if(b(this,e),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return _(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=o.a,e(this)}if(this.__pendingValue!==o.a){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=o.a}}}]),e}(),C=function(e){u(n,e);var t=f(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e,r,i)).single=2===i.length&&""===i[0]&&""===i[1],o}return _(n,[{key:"_createPart",value:function(){return new A(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:l(m(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(x),A=function(e){u(n,e);var t=f(n);function n(){return b(this,n),t.apply(this,arguments)}return n}(E),P=!1;!function(){try{var e={get capture(){return P=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(t){}}();var T=function(){function e(t,n,r){var i=this;b(this,e),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(e){return i.handleEvent(e)}}return _(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;Object(r.b)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=o.a,e(this)}if(this.__pendingValue!==o.a){var t=this.__pendingValue,n=this.value,i=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),a=null!=t&&(null==n||i);i&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),a&&(this.__options=R(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=o.a}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}(),R=function(e){return e&&(P?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));n(3);var r={"U+0008":"backspace","U+0009":"tab","U+001B":"esc","U+0020":"space","U+007F":"del"},i={8:"backspace",9:"tab",13:"enter",27:"esc",33:"pageup",34:"pagedown",35:"end",36:"home",32:"space",37:"left",38:"up",39:"right",40:"down",46:"del",106:"*"},o={shift:"shiftKey",ctrl:"ctrlKey",alt:"altKey",meta:"metaKey"},a=/[a-z0-9*]/,s=/U\+/,c=/^arrow/,l=/^space(bar)?/,u=/^escape$/;function d(e,t){var n="";if(e){var r=e.toLowerCase();" "===r||l.test(r)?n="space":u.test(r)?n="esc":1==r.length?t&&!a.test(r)||(n=r):n=c.test(r)?r.replace("arrow",""):"multiply"==r?"*":r}return n}function f(e,t){return e.key?d(e.key,t):e.detail&&e.detail.key?d(e.detail.key,t):(n=e.keyIdentifier,o="",n&&(n in r?o=r[n]:s.test(n)?(n=parseInt(n.replace("U+","0x"),16),o=String.fromCharCode(n).toLowerCase()):o=n.toLowerCase()),o||function(e){var t="";return Number(e)&&(t=e>=65&&e<=90?String.fromCharCode(32+e):e>=112&&e<=123?"f"+(e-112+1):e>=48&&e<=57?String(e-48):e>=96&&e<=105?String(e-96):i[e]),t}(e.keyCode)||"");var n,o}function p(e,t){return f(t,e.hasModifiers)===e.key&&(!e.hasModifiers||!!t.shiftKey==!!e.shiftKey&&!!t.ctrlKey==!!e.ctrlKey&&!!t.altKey==!!e.altKey&&!!t.metaKey==!!e.metaKey)}function h(e){return e.trim().split(" ").map((function(e){return function(e){return 1===e.length?{combo:e,key:e,event:"keydown"}:e.split("+").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n[1];return r in o?(e[o[r]]=!0,e.hasModifiers=!0):(e.key=r,e.event=i||"keydown"),e}),{combo:e.split(":").shift()})}(e)}))}var m={properties:{keyEventTarget:{type:Object,value:function(){return this}},stopKeyboardEventPropagation:{type:Boolean,value:!1},_boundKeyHandlers:{type:Array,value:function(){return[]}},_imperativeKeyBindings:{type:Object,value:function(){return{}}}},observers:["_resetKeyEventListeners(keyEventTarget, _boundKeyHandlers)"],keyBindings:{},registered:function(){this._prepKeyBindings()},attached:function(){this._listenKeyEventListeners()},detached:function(){this._unlistenKeyEventListeners()},addOwnKeyBinding:function(e,t){this._imperativeKeyBindings[e]=t,this._prepKeyBindings(),this._resetKeyEventListeners()},removeOwnKeyBindings:function(){this._imperativeKeyBindings={},this._prepKeyBindings(),this._resetKeyEventListeners()},keyboardEventMatchesKeys:function(e,t){for(var n=h(t),r=0;r2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t!==n;){var i=t.nextSibling;e.insertBefore(t,r),t=i}},o=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l}));n(17);var r,i,o=/(url\()([^)]*)(\))/g,a=/(^\/)|(^#)|(^[\w-\d]*:)/;function s(e,t){if(e&&a.test(e))return e;if(void 0===r){r=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",r="http://a/c%20d"===n.href}catch(o){}}return t||(t=document.baseURI||window.location.href),r?new URL(e,t).href:(i||((i=document.implementation.createHTMLDocument("temp")).base=i.createElement("base"),i.head.appendChild(i.base),i.anchor=i.createElement("a"),i.body.appendChild(i.anchor)),i.base.href=t,i.anchor.href=e,i.anchor.href||e)}function c(e,t){return e.replace(o,(function(e,n,r,i){return n+"'"+s(r.replace(/["']/g,""),t)+"'"+i}))}function l(e){return e.substring(0,e.lastIndexOf("/")+1)}},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(50);function i(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:window.document,t=e.activeElement,n=[];if(!t)return n;for(;t&&(n.push(t),t.shadowRoot);)t=t.shadowRoot.activeElement;return n},f=function(e){var t=d();if(!t.length)return!1;var n=t[t.length-1],r=new Event("check-if-focused",{bubbles:!0,composed:!0}),i=[],o=function(e){i=e.composedPath()};return document.body.addEventListener("check-if-focused",o),n.dispatchEvent(r),document.body.removeEventListener("check-if-focused",o),-1!==i.indexOf(e)}},function(e,t,n){"use strict";var r=n(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=c(["\n :host {\n display: var(--ha-icon-display, inline-flex);\n align-items: center;\n justify-content: center;\n position: relative;\n vertical-align: middle;\n fill: currentcolor;\n width: var(--mdc-icon-size, 24px);\n height: var(--mdc-icon-size, 24px);\n }\n svg {\n width: 100%;\n height: 100%;\n pointer-events: none;\n display: block;\n }\n "]);return o=function(){return e},e}function a(){var e=c([""]);return a=function(){return e},e}function s(){var e=c(["\n \n \n ',"\n \n "]);return s=function(){return e},e}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){var t,n=_(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function y(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function v(e){return e.decorators&&e.decorators.length}function b(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function g(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function _(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a2&&void 0!==arguments[2]&&arguments[2];n?history.replaceState(null,"",t):history.pushState(null,"",t),Object(r.a)(window,"location-changed",{replace:n})}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,i=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,o=/@media\s(.*)/},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(17),n(15),n(21);function r(e,t){for(var n=0;n"]);return c=function(){return e},e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n\n ',"\n "]);return g=function(){return e},e}function _(){var e=O(['\n \n ','\n \n \n ','\n \n \n ','\n \n \n \n ',"\n \n \n "]);return _=function(){return e},e}function w(){var e=O(['']);return w=function(){return e},e}function k(){var e=O(["",""]);return k=function(){return e},e}function O(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1}var p=!1;function h(e){if(!f(e)&&"touchend"!==e)return a&&p&&o.b?{passive:!0}:void 0}!function(){try{var e=Object.defineProperty({},"passive",{get:function(){p=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}}();var m=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/),y=[],v={button:!0,input:!0,keygen:!0,meter:!0,output:!0,textarea:!0,progress:!0,select:!0},b={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function g(e){var t=Array.prototype.slice.call(e.labels||[]);if(!t.length){t=[];var n=e.getRootNode();if(e.id)for(var r=n.querySelectorAll("label[for = ".concat(e.id,"]")),i=0;i-1;if(i[o]===O.mouse.target)return}if(r)return;e.preventDefault(),e.stopPropagation()}};function w(e){for(var t,n=m?["click"]:l,r=0;r0?t[0]:e.target}return e.target}function A(e){var t,n=e.type,r=e.currentTarget.__polymerGestures;if(r){var i=r[n];if(i){if(!e[s]&&(e[s]={},"touch"===n.slice(0,5))){var o=(e=e).changedTouches[0];if("touchstart"===n&&1===e.touches.length&&(O.touch.id=o.identifier),O.touch.id!==o.identifier)return;a||"touchstart"!==n&&"touchmove"!==n||function(e){var t=e.changedTouches[0],n=e.type;if("touchstart"===n)O.touch.x=t.clientX,O.touch.y=t.clientY,O.touch.scrollDecided=!1;else if("touchmove"===n){if(O.touch.scrollDecided)return;O.touch.scrollDecided=!0;var r=function(e){var t="auto",n=e.composedPath&&e.composedPath();if(n)for(var r,i=0;io:"pan-y"===r&&(i=o>a)),i?e.preventDefault():z("track")}}(e)}if(!(t=e[s]).skip){for(var l,u=0;u-1&&l.reset&&l.reset();for(var d,f=0;f=5||i>=5}function N(e,t,n){if(t){var r,i=e.moves[e.moves.length-2],o=e.moves[e.moves.length-1],a=o.x-e.x,s=o.y-e.y,c=0;i&&(r=o.x-i.x,c=o.y-i.y),D(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:s,ddx:r,ddy:c,sourceEvent:n,hover:function(){return function(e,t){for(var n=document.elementFromPoint(e,t),r=n;r&&r.shadowRoot&&!window.ShadyDOM;){if(r===(r=r.shadowRoot.elementFromPoint(e,t)))break;r&&(n=r)}return n}(n.clientX,n.clientY)}})}}function M(e,t,n){var r=Math.abs(t.clientX-e.x),i=Math.abs(t.clientY-e.y),o=C(n||t);!o||b[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(i)||r<=25&&i<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;var t=C(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;var n=t.getBoundingClientRect(),r=e.pageX,i=e.pageY;return!(r>=n.left&&r<=n.right&&i>=n.top&&i<=n.bottom)}return!1}(t))&&(e.prevent||D(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}R({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset:function(){E(this.info)},mousedown:function(e){if(k(e)){var t=C(e),n=this;x(this.info,(function(e){k(e)||(F("up",t,e),E(n.info))}),(function(e){k(e)&&F("up",t,e),E(n.info)})),F("down",t,e)}},touchstart:function(e){F("down",C(e),e.changedTouches[0],e)},touchend:function(e){F("up",C(e),e.changedTouches[0],e)}}),R({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove:function(e){this.moves.length>2&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset:function(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,E(this.info)},mousedown:function(e){if(k(e)){var t=C(e),n=this,r=function(e){var r=e.clientX,i=e.clientY;L(n.info,r,i)&&(n.info.state=n.info.started?"mouseup"===e.type?"end":"track":"start","start"===n.info.state&&z("tap"),n.info.addMove({x:r,y:i}),k(e)||(n.info.state="end",E(n.info)),t&&N(n.info,t,e),n.info.started=!0)};x(this.info,r,(function(e){n.info.started&&r(e),E(n.info)})),this.info.x=e.clientX,this.info.y=e.clientY}},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove:function(e){var t=C(e),n=e.changedTouches[0],r=n.clientX,i=n.clientY;L(this.info,r,i)&&("start"===this.info.state&&z("tap"),this.info.addMove({x:r,y:i}),N(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend:function(e){var t=C(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),N(this.info,t,n))}}),R({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset:function(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown:function(e){k(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click:function(e){k(e)&&M(this.info,e)},touchstart:function(e){var t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend:function(e){M(this.info,e.changedTouches[0],e)}});var B=C,H=P},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(37);function i(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}function o(e,t){var n=window.getComputedStyle(e).getPropertyValue(t);return n?n.trim():""}function a(e){var t=r.b.test(e)||r.c.test(e);return r.b.lastIndex=0,r.c.lastIndex=0,t}},function(e,t,n){"use strict";n(3);var r=n(5);function i(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n\n \n\n\n \n']);return i=function(){return e},e}var o=Object(r.a)(i());o.setAttribute("style","display: none;"),document.head.appendChild(o.content);var a=document.createElement("style");a.textContent="[hidden] { display: none !important; }",document.head.appendChild(a)},function(e,t,n){"use strict";var r=n(1),i=n(0),o=(n(67),n(40));function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){var e=u(['\n ','\n ',"\n \n "]);return s=function(){return e},e}function c(){var e=u(['\n \n ']);return c=function(){return e},e}function l(){var e=u(["",""]);return l=function(){return e},e}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;ni{position:absolute;top:0;padding-top:inherit}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}']);return b=function(){return e},e}Object(r.b)([Object(i.h)({type:Boolean,reflect:!0})],v.prototype,"disabled",void 0),Object(r.b)([Object(i.h)({type:String})],v.prototype,"icon",void 0),Object(r.b)([Object(i.h)({type:String})],v.prototype,"label",void 0),Object(r.b)([Object(i.i)("button")],v.prototype,"buttonElement",void 0),Object(r.b)([Object(i.j)("mwc-ripple")],v.prototype,"ripple",void 0),Object(r.b)([Object(i.g)()],v.prototype,"shouldRenderRipple",void 0),Object(r.b)([Object(i.e)({passive:!0})],v.prototype,"handleRippleMouseDown",null),Object(r.b)([Object(i.e)({passive:!0})],v.prototype,"handleRippleTouchStart",null);var g=Object(i.c)(b());function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(r,e);var t,n=(t=r,function(){var e,n=E(t);if(x()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return O(this,e)});function r(){return w(this,r),n.apply(this,arguments)}return r}(v);S.styles=g,S=Object(r.b)([Object(i.d)("mwc-icon-button")],S)},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return y}));var r=n(30),i=n(16);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=u(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n-1||n)&&-1===o.indexOf("--\x3e",a+1);var s=i.e.exec(o);t+=null===s?o+(n?h:i.g):o.substr(0,s.index)+s[1]+s[2]+i.b+s[3]+i.f}return t+=this.strings[e]}},{key:"getTemplateElement",value:function(){var e=document.createElement("template");return e.innerHTML=this.getHTML(),e}}]),e}(),y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(i,e);var t,n=(t=i,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function i(){return d(this,i),n.apply(this,arguments)}return p(i,[{key:"getHTML",value:function(){return"".concat(a(u(i.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var e=a(u(i.prototype),"getTemplateElement",this).call(this),t=e.content,n=t.firstChild;return t.removeChild(n),Object(r.c)(t,n.firstChild),e}}]),i}(m)},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt||Number(o)===t&&Number(a)>=n}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));n(3),n(29);var r=n(25),i=n(2),o={properties:{pressed:{type:Boolean,readOnly:!0,value:!1,reflectToAttribute:!0,observer:"_pressedChanged"},toggles:{type:Boolean,value:!1,reflectToAttribute:!0},active:{type:Boolean,value:!1,notify:!0,reflectToAttribute:!0},pointerDown:{type:Boolean,readOnly:!0,value:!1},receivedFocusFromKeyboard:{type:Boolean,readOnly:!0},ariaActiveAttribute:{type:String,value:"aria-pressed",observer:"_ariaActiveAttributeChanged"}},listeners:{down:"_downHandler",up:"_upHandler",tap:"_tapHandler"},observers:["_focusChanged(focused)","_activeChanged(active, ariaActiveAttribute)"],keyBindings:{"enter:keydown":"_asyncClick","space:keydown":"_spaceKeyDownHandler","space:keyup":"_spaceKeyUpHandler"},_mouseEventRe:/^mouse/,_tapHandler:function(){this.toggles?this._userActivate(!this.active):this.active=!1},_focusChanged:function(e){this._detectKeyboardFocus(e),e||this._setPressed(!1)},_detectKeyboardFocus:function(e){this._setReceivedFocusFromKeyboard(!this.pointerDown&&e)},_userActivate:function(e){this.active!==e&&(this.active=e,this.fire("change"))},_downHandler:function(e){this._setPointerDown(!0),this._setPressed(!0),this._setReceivedFocusFromKeyboard(!1)},_upHandler:function(){this._setPointerDown(!1),this._setPressed(!1)},_spaceKeyDownHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(t.preventDefault(),t.stopImmediatePropagation(),this._setPressed(!0))},_spaceKeyUpHandler:function(e){var t=e.detail.keyboardEvent,n=Object(i.a)(t).localTarget;this.isLightDescendant(n)||(this.pressed&&this._asyncClick(),this._setPressed(!1))},_asyncClick:function(){this.async((function(){this.click()}),1)},_pressedChanged:function(e){this._changedButtonState()},_ariaActiveAttributeChanged:function(e,t){t&&t!=e&&this.hasAttribute(t)&&this.removeAttribute(t)},_activeChanged:function(e,t){this.toggles?this.setAttribute(this.ariaActiveAttribute,e?"true":"false"):this.removeAttribute(this.ariaActiveAttribute),this._changedButtonState()},_controlStateChanged:function(){this.disabled?this._setPressed(!1):this._changedButtonState()},_changedButtonState:function(){this._buttonStateChanged&&this._buttonStateChanged()}},a=[r.a,o]},function(e,t,n){"use strict";n(3);var r=n(2),i=n(34);function o(e,t){for(var n=0;n=0}},{key:"setItemSelected",value:function(e,t){if(null!=e&&t!==this.isSelected(e)){if(t)this.selection.push(e);else{var n=this.selection.indexOf(e);n>=0&&this.selection.splice(n,1)}this.selectCallback&&this.selectCallback(e,t)}}},{key:"select",value:function(e){this.multi?this.toggle(e):this.get()!==e&&(this.setItemSelected(this.get(),!1),this.setItemSelected(e,!0))}},{key:"toggle",value:function(e){this.setItemSelected(e,!this.isSelected(e))}}])&&o(t.prototype,n),r&&o(t,r),e}();n.d(t,"a",(function(){return s}));var s={properties:{attrForSelected:{type:String,value:null},selected:{type:String,notify:!0},selectedItem:{type:Object,readOnly:!0,notify:!0},activateEvent:{type:String,value:"tap",observer:"_activateEventChanged"},selectable:String,selectedClass:{type:String,value:"iron-selected"},selectedAttribute:{type:String,value:null},fallbackSelection:{type:String,value:null},items:{type:Array,readOnly:!0,notify:!0,value:function(){return[]}},_excludedLocalNames:{type:Object,value:function(){return{template:1,"dom-bind":1,"dom-if":1,"dom-repeat":1}}}},observers:["_updateAttrForSelected(attrForSelected)","_updateSelected(selected)","_checkFallback(fallbackSelection)"],created:function(){this._bindFilterItem=this._filterItem.bind(this),this._selection=new a(this._applySelection.bind(this))},attached:function(){this._observer=this._observeItems(this),this._addListener(this.activateEvent)},detached:function(){this._observer&&Object(r.a)(this).unobserveNodes(this._observer),this._removeListener(this.activateEvent)},indexOf:function(e){return this.items?this.items.indexOf(e):-1},select:function(e){this.selected=e},selectPrevious:function(){var e=this.items.length,t=e-1;void 0!==this.selected&&(t=(Number(this._valueToIndex(this.selected))-1+e)%e),this.selected=this._indexToValue(t)},selectNext:function(){var e=0;void 0!==this.selected&&(e=(Number(this._valueToIndex(this.selected))+1)%this.items.length),this.selected=this._indexToValue(e)},selectIndex:function(e){this.select(this._indexToValue(e))},forceSynchronousItemUpdate:function(){this._observer&&"function"==typeof this._observer.flush?this._observer.flush():this._updateItems()},get _shouldUpdateSelection(){return null!=this.selected},_checkFallback:function(){this._updateSelected()},_addListener:function(e){this.listen(this,e,"_activateHandler")},_removeListener:function(e){this.unlisten(this,e,"_activateHandler")},_activateEventChanged:function(e,t){this._removeListener(t),this._addListener(e)},_updateItems:function(){var e=Object(r.a)(this).queryDistributedElements(this.selectable||"*");e=Array.prototype.filter.call(e,this._bindFilterItem),this._setItems(e)},_updateAttrForSelected:function(){this.selectedItem&&(this.selected=this._valueForItem(this.selectedItem))},_updateSelected:function(){this._selectSelected(this.selected)},_selectSelected:function(e){if(this.items){var t=this._valueToItem(this.selected);t?this._selection.select(t):this._selection.clear(),this.fallbackSelection&&this.items.length&&void 0===this._selection.get()&&(this.selected=this.fallbackSelection)}},_filterItem:function(e){return!this._excludedLocalNames[e.localName]},_valueToItem:function(e){return null==e?null:this.items[this._valueToIndex(e)]},_valueToIndex:function(e){if(!this.attrForSelected)return Number(e);for(var t,n=0;t=this.items[n];n++)if(this._valueForItem(t)==e)return n},_indexToValue:function(e){if(!this.attrForSelected)return e;var t=this.items[e];return t?this._valueForItem(t):void 0},_valueForItem:function(e){if(!e)return null;if(!this.attrForSelected){var t=this.indexOf(e);return-1===t?null:t}var n=e[Object(i.b)(this.attrForSelected)];return null!=n?n:e.getAttribute(this.attrForSelected)},_applySelection:function(e,t){this.selectedClass&&this.toggleClass(this.selectedClass,t,e),this.selectedAttribute&&this.toggleAttribute(this.selectedAttribute,t,e),this._selectionChange(),this.fire("iron-"+(t?"select":"deselect"),{item:e})},_selectionChange:function(){this._setSelectedItem(this._selection.get())},_observeItems:function(e){return Object(r.a)(e).observeNodes((function(e){this._updateItems(),this._updateSelected(),this.fire("iron-items-changed",e,{bubbles:!1,cancelable:!1})}))},_activateHandler:function(e){for(var t=e.target,n=this.items;t&&t!=this;){var r=n.indexOf(t);if(r>=0){var i=this._indexToValue(r);return void this._itemActivate(i,t)}t=t.parentNode}},_itemActivate:function(e,t){this.fire("iron-activate",{selected:e,item:t},{cancelable:!0}).defaultPrevented||this.select(e)}}},function(e,t,n){"use strict";var r=n(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=l([""]);return o=function(){return e},e}function a(){var e=l(['
',"
"]);return a=function(){return e},e}function s(){var e=l(["\n ","\n \n "]);return s=function(){return e},e}function c(){var e=l(["\n :host {\n background: var(\n --ha-card-background,\n var(--card-background-color, white)\n );\n border-radius: var(--ha-card-border-radius, 4px);\n box-shadow: var(\n --ha-card-box-shadow,\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12)\n );\n color: var(--primary-text-color);\n display: block;\n transition: all 0.3s ease-out;\n position: relative;\n }\n\n :host([outlined]) {\n box-shadow: none;\n border-width: 1px;\n border-style: solid;\n border-color: var(\n --ha-card-border-color,\n var(--divider-color, #e0e0e0)\n );\n }\n\n .card-header,\n :host ::slotted(.card-header) {\n color: var(--ha-card-header-color, --primary-text-color);\n font-family: var(--ha-card-header-font-family, inherit);\n font-size: var(--ha-card-header-font-size, 24px);\n letter-spacing: -0.012em;\n line-height: 32px;\n padding: 24px 16px 16px;\n display: block;\n }\n\n :host ::slotted(.card-content:not(:first-child)),\n slot:not(:first-child)::slotted(.card-content) {\n padding-top: 0px;\n margin-top: -8px;\n }\n\n :host ::slotted(.card-content) {\n padding: 16px;\n }\n\n :host ::slotted(.card-actions) {\n border-top: 1px solid var(--divider-color, #e8e8e8);\n padding: 5px 16px;\n }\n "]);return c=function(){return e},e}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){var t,n=w(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function v(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function b(e){return e.decorators&&e.decorators.length}function g(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function w(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;au.source.length&&"property"==l.kind&&!l.isCompound&&c.__isPropertyEffectsClient&&c.__dataHasAccessor&&c.__dataHasAccessor[l.target]){var d=n[t];t=Object(i.i)(u.source,l.target,t),c._setPendingPropertyOrPath(t,d,!1,!0)&&e._enqueueClient(c)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t));return t}(t,i,n,r),w.d&&(i=Object(w.d)(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[R.READ_ONLY]&&t[R.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,c,l,u,o.evaluator._evaluateBinding(e,u,t,n,r,a))}}function q(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;o="0"&&r<="9"&&(r="#"),r){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0}return n.literal||(n.rootProperty=Object(i.g)(t),n.structured=Object(i.d)(t),n.structured&&(n.wildcard=".*"==t.slice(-2),n.wildcard&&(n.name=t.slice(0,-2)))),n}function ne(e,t,n,r){var i=n+".splices";e.notifyPath(i,{indexSplices:r}),e.notifyPath(n+".length",t.length),e.__data[i]={indexSplices:null}}function re(e,t,n,r,i,o){ne(e,t,n,[{index:r,addedCount:i,removed:o,object:t,type:"splice"}])}var ie=Object(r.a)((function(e){var t=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(r,e);var t,n=(t=r,function(){var e,n=A(t);if(C()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function r(){var e;return k(this,r),(e=n.call(this)).__isPropertyEffectsClient=!0,e.__dataCounter=0,e.__dataClientsReady,e.__dataPendingClients,e.__dataToNotify,e.__dataLinkedPaths,e.__dataHasPaths,e.__dataCompoundStorage,e.__dataHost,e.__dataTemp,e.__dataClientsInitialized,e.__data,e.__dataPending,e.__dataOld,e.__computeEffects,e.__reflectEffects,e.__notifyEffects,e.__propagateEffects,e.__observeEffects,e.__readOnly,e.__templateInfo,e}return x(r,[{key:"_initializeProperties",value:function(){E(A(r.prototype),"_initializeProperties",this).call(this),oe.registerHost(this),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}},{key:"_initializeProtoProperties",value:function(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}},{key:"_initializeInstanceProperties",value:function(e){var t=this[R.READ_ONLY];for(var n in e)t&&t[n]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=e[n])}},{key:"_addPropertyEffect",value:function(e,t,n){this._createPropertyAccessor(e,t==R.READ_ONLY);var r=D(this,t)[e];r||(r=this[t][e]=[]),r.push(n)}},{key:"_removePropertyEffect",value:function(e,t,n){var r=D(this,t)[e],i=r.indexOf(n);i>=0&&r.splice(i,1)}},{key:"_hasPropertyEffect",value:function(e,t){var n=this[t];return Boolean(n&&n[e])}},{key:"_hasReadOnlyEffect",value:function(e){return this._hasPropertyEffect(e,R.READ_ONLY)}},{key:"_hasNotifyEffect",value:function(e){return this._hasPropertyEffect(e,R.NOTIFY)}},{key:"_hasReflectEffect",value:function(e){return this._hasPropertyEffect(e,R.REFLECT)}},{key:"_hasComputedEffect",value:function(e){return this._hasPropertyEffect(e,R.COMPUTE)}},{key:"_setPendingPropertyOrPath",value:function(e,t,n,o){if(o||Object(i.g)(Array.isArray(e)?e[0]:e)!==e){if(!o){var a=Object(i.a)(this,e);if(!(e=Object(i.h)(this,e,t))||!E(A(r.prototype),"_shouldPropertyChange",this).call(this,e,t,a))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,n))return function(e,t,n){var r,o=e.__dataLinkedPaths;if(o)for(var a in o){var s=o[a];Object(i.c)(a,t)?(r=Object(i.i)(a,s,t),e._setPendingPropertyOrPath(r,n,!0,!0)):Object(i.c)(s,t)&&(r=Object(i.i)(s,a,t),e._setPendingPropertyOrPath(r,n,!0,!0))}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,n);this[e]=t}return!1}},{key:"_setUnmanagedPropertyToNode",value:function(e,t,n){n===e[t]&&"object"!=P(n)||(e[t]=n)}},{key:"_setPendingProperty",value:function(e,t,n){var r=this.__dataHasPaths&&Object(i.d)(e),o=r?this.__dataTemp:this.__data;return!!this._shouldPropertyChange(e,t,o[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[R.NOTIFY]&&this[R.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=n),!0)}},{key:"_setProperty",value:function(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}},{key:"_invalidateProperties",value:function(){this.__dataReady&&this._flushProperties()}},{key:"_enqueueClient",value:function(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}},{key:"_flushProperties",value:function(){this.__dataCounter++,E(A(r.prototype),"_flushProperties",this).call(this),this.__dataCounter--}},{key:"_flushClients",value:function(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}},{key:"__enableOrFlushClients",value:function(){var e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(var t=0;t1?o-1:0),s=1;s3?r-3:0),a=3;a1?r-1:0),a=1;ai&&r.push({literal:e.slice(i,n.index)});var o=n[1][0],a=Boolean(n[2]),s=n[3].trim(),c=!1,l="",u=-1;"{"==o&&(u=s.indexOf("::"))>0&&(l=s.substring(u+2),s=s.substring(0,u),c=!0);var d=ee(s),f=[];if(d){for(var p=d.args,h=d.methodName,m=0;m\n \n"]);return i=function(){return e},e}var o=Object(r.a)(i());o.setAttribute("style","display: none;"),document.head.appendChild(o.content)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return null==e}e.exports.isNothing=i,e.exports.isObject=function(e){return"object"===r(e)&&null!==e},e.exports.toArray=function(e){return Array.isArray(e)?e:i(e)?[]:[e]},e.exports.repeat=function(e,t){var n,r="";for(n=0;n1)throw new Error("The `styleMap` directive must be used in the style attribute and must be the only part in the attribute.");var n=t.committer,r=n.element.style,i=l.get(t);for(var o in void 0===i&&(r.cssText=n.strings.join(" "),l.set(t,i=new Set)),i.forEach((function(t){t in e||(i.delete(t),-1===t.indexOf("-")?r[t]=null:r.removeProperty(t))})),e)i.add(o),-1===o.indexOf("-")?r[o]=e[o]:r.setProperty(o,e[o])}}));function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n
']);return f=function(){return e},e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2];return function(){for(var i=arguments.length,o=new Array(i),a=0;a\n \n
']);return a=function(){return e},e}function s(){var e=c(["\n \n \n
\n ","\n "]);return s=function(){return e},e}function c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){var t,n=_(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function y(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function v(e){return e.decorators&&e.decorators.length}function b(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function g(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function _(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:"",i="";if(t.cssText||t.rules){var o=t.rules;if(o&&!a(o))for(var c,d=0,f=o.length;d1&&void 0!==arguments[1]?arguments[1]:"",n=_(e);return this.transformRules(n,t),e.textContent=g(n),n}},{key:"transformCustomStyle",value:function(e){var t=this,n=_(e);return w(n,(function(e){":root"===e.selector&&(e.selector="html"),t.transformRule(e)})),e.textContent=g(n),n}},{key:"transformRules",value:function(e,t){var n=this;this._currentElement=t,w(e,(function(e){n.transformRule(e)})),this._currentElement=null}},{key:"transformRule",value:function(e){e.cssText=this.transformCssText(e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")}},{key:"transformCssText",value:function(e,t){var n=this;return e=e.replace(m.c,(function(e,r,i,o){return n._produceCssProperties(e,r,i,o,t)})),this._consumeCssProperties(e,t)}},{key:"_getInitialValueForProperty",value:function(e){return this._measureElement||(this._measureElement=document.createElement("meta"),this._measureElement.setAttribute("apply-shim-measure",""),this._measureElement.style.all="initial",document.head.appendChild(this._measureElement)),window.getComputedStyle(this._measureElement).getPropertyValue(e)}},{key:"_fallbacksFromPreviousRules",value:function(e){for(var t=this,n=e;n.parent;)n=n.parent;var r={},i=!1;return w(n,(function(n){(i=i||n===e)||n.selector===e.selector&&Object.assign(r,t._cssTextToMap(n.parsedCssText))})),r}},{key:"_consumeCssProperties",value:function(e,t){for(var n=null;n=m.b.exec(e);){var r=n[0],i=n[1],o=n.index,a=o+r.indexOf("@apply"),s=o+r.length,c=e.slice(0,a),l=e.slice(s),u=t?this._fallbacksFromPreviousRules(t):{};Object.assign(u,this._cssTextToMap(c));var d=this._atApplyToCssProperties(i,u);e="".concat(c).concat(d).concat(l),m.b.lastIndex=o+d.length}return e}},{key:"_atApplyToCssProperties",value:function(e,t){e=e.replace(A,"");var n=[],r=this._map.get(e);if(r||(this._map.set(e,{}),r=this._map.get(e)),r){var i,o,a;this._currentElement&&(r.dependants[this._currentElement]=!0);var s=r.properties;for(i in s)o=[i,": var(",e,"_-_",i],(a=t&&t[i])&&o.push(",",a.replace(T,"")),o.push(")"),T.test(s[i])&&o.push(" !important"),n.push(o.join(""))}return n.join("; ")}},{key:"_replaceInitialOrInherit",value:function(e,t){var n=P.exec(t);return n&&(t=n[1]?this._getInitialValueForProperty(e):"apply-shim-inherit"),t}},{key:"_cssTextToMap",value:function(e){for(var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=e.split(";"),s={},c=0;c1&&(t=i[0].trim(),n=i.slice(1).join(":"),o&&(n=this._replaceInitialOrInherit(t,n)),s[t]=n);return s}},{key:"_invalidateMixinEntry",value:function(e){if(I)for(var t in e.dependants)t!==this._currentElement&&I(t)}},{key:"_produceCssProperties",value:function(e,t,n,r,i){var o=this;if(n&&function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var i=k(t,r+3),o=t.substring(r+4,i),a=t.substring(0,r),s=e(t.substring(i+1),n),c=o.indexOf(",");return-1===c?n(a,o.trim(),"",s):n(a,o.substring(0,c).trim(),o.substring(c+1).trim(),s)}(n,(function(e,t){t&&o._map.get(t)&&(r="@apply ".concat(t,";"))})),!r)return e;var a=this._consumeCssProperties(""+r,i),s=e.slice(0,e.indexOf("--")),c=this._cssTextToMap(a,!0),l=c,u=this._map.get(t),d=u&&u.properties;d?l=Object.assign(Object.create(d),c):this._map.set(t,l);var f,p,h=[],m=!1;for(f in l)void 0===(p=c[f])&&(p="initial"),d&&!(f in d)&&(m=!0),h.push("".concat(t).concat("_-_").concat(f,": ").concat(p));return m&&this._invalidateMixinEntry(u),u&&(u.properties=l),n&&(s="".concat(e,";").concat(s)),"".concat(s).concat(h.join("; "),";")}}]),e}();D.prototype.detectMixin=D.prototype.detectMixin,D.prototype.transformStyle=D.prototype.transformStyle,D.prototype.transformCustomStyle=D.prototype.transformCustomStyle,D.prototype.transformRules=D.prototype.transformRules,D.prototype.transformRule=D.prototype.transformRule,D.prototype.transformTemplate=D.prototype.transformTemplate,D.prototype._separator="_-_",Object.defineProperty(D.prototype,"invalidCallback",{get:function(){return I},set:function(e){I=e}});var z=D,F={},L="_applyShimCurrentVersion",N="_applyShimNextVersion",M=Promise.resolve();function B(e){var t=F[e];t&&function(e){e[L]=e[L]||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e[N]=(e[N]||0)+1}(t)}function H(e){return e[L]===e[N]}function V(e){return!H(e)&&e._applyShimValidatingVersion===e[N]}function U(e){e._applyShimValidatingVersion=e[N],e._validating||(e._validating=!0,M.then((function(){e[L]=e[N],e._validating=!1})))}n(101);function K(e,t){for(var n=0;n-1?n=t:(r=t,n=e.getAttribute&&e.getAttribute("is")||""):(n=e.is,r=e.extends),{is:n,typeExtension:r}}(e).is,n=F[t];if((!n||!x(n))&&n&&!H(n)){V(n)||(this.prepareTemplate(n,t),U(n));var r=e.shadowRoot;if(r){var i=r.querySelector("style");i&&(i.__cssRules=n._styleAst,i.textContent=g(n._styleAst))}}}},{key:"styleDocument",value:function(e){this.ensure(),this.styleSubtree(document.body,e)}}])&&K(t.prototype,n),r&&K(t,r),e}();if(!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var q=new Y,W=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(e,t,n){q.flushCustomStyles(),q.prepareTemplate(e,t)},prepareTemplateStyles:function(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){},styleSubtree:function(e,t){q.flushCustomStyles(),q.styleSubtree(e,t)},styleElement:function(e){q.flushCustomStyles(),q.styleElement(e)},styleDocument:function(e){q.flushCustomStyles(),q.styleDocument(e)},getComputedStyleValue:function(e,t){return Object(E.b)(e,t)},flushCustomStyles:function(){q.flushCustomStyles()},nativeCss:r.c,nativeShadow:r.d,cssBuild:r.a,disableRuntime:r.b},W&&(window.ShadyCSS.CustomStyleInterface=W)}window.ShadyCSS.ApplyShim=$;var G=n(61),X=n(89),Z=n(87),J=n(15);function Q(e){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ee(e,t){for(var n=0;n-1&&le.splice(e,1)}}}]),i}(t);return n.__activateDir=!1,n}));n(74);function ye(){document.body.removeAttribute("unresolved")}"interactive"===document.readyState||"complete"===document.readyState?ye():window.addEventListener("DOMContentLoaded",ye);var ve=n(2),be=n(51),ge=n(38),_e=n(21),we=n(7);function ke(e){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Oe(e){return function(e){if(Array.isArray(e))return xe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xe(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?_e.b.after(n):_e.a,t.bind(this))}},{key:"isDebouncerActive",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];return!(!t||!t.isActive())}},{key:"flushDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.flush()}},{key:"cancelDebouncer",value:function(e){this._debouncers=this._debouncers||{};var t=this._debouncers[e];t&&t.cancel()}},{key:"async",value:function(e,t){return t>0?_e.b.run(e.bind(this),t):~_e.a.run(e.bind(this))}},{key:"cancelAsync",value:function(e){e<0?_e.a.cancel(~e):_e.b.cancel(e)}},{key:"create",value:function(e,t){var n=document.createElement(e);if(t)if(n.setProperties)n.setProperties(t);else for(var r in t)n[r]=t[r];return n}},{key:"elementMatches",value:function(e,t){return Object(ve.b)(t||this,e)}},{key:"toggleAttribute",value:function(e,t){var n=this;return 3===arguments.length&&(n=arguments[2]),1==arguments.length&&(t=!n.hasAttribute(e)),t?(n.setAttribute(e,""),!0):(n.removeAttribute(e),!1)}},{key:"toggleClass",value:function(e,t,n){n=n||this,1==arguments.length&&(t=!n.classList.contains(e)),t?n.classList.add(e):n.classList.remove(e)}},{key:"transform",value:function(e,t){(t=t||this).style.webkitTransform=e,t.style.transform=e}},{key:"translate3d",value:function(e,t,n,r){r=r||this,this.transform("translate3d("+e+","+t+","+n+")",r)}},{key:"arrayDelete",value:function(e,t){var n;if(Array.isArray(e)){if((n=e.indexOf(t))>=0)return e.splice(n,1)}else if((n=Object(we.a)(this,e).indexOf(t))>=0)return this.splice(e,n,1);return null}},{key:"_logger",value:function(e,t){var n;switch(Array.isArray(t)&&1===t.length&&Array.isArray(t[0])&&(t=t[0]),e){case"log":case"warn":case"error":(n=console)[e].apply(n,Oe(t))}}},{key:"_log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;r\n
\n
\n
\n ','\n
\n ','\n
\n ',"\n
\n
\n
\n
\n "]);return s=function(){return e},e}function c(){var e=d(['\n \n \n ']);return c=function(){return e},e}function l(){var e=d(['\n \n \n ']);return l=function(){return e},e}function u(){var e=d(['\n \n \n ']);return u=function(){return e},e}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){var t,n=O(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function g(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function _(e){return e.decorators&&e.decorators.length}function w(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function k(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function O(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n :host {\n display: inline-block;\n position: fixed;\n clip: rect(0px,0px,0px,0px);\n }\n \n
[[_text]]
\n']);return o=function(){return e},e}var a=Object(r.a)({_template:Object(i.a)(o()),is:"iron-a11y-announcer",properties:{mode:{type:String,value:"polite"},_text:{type:String,value:""}},created:function(){a.instance||(a.instance=this),document.body.addEventListener("iron-announce",this._onIronAnnounce.bind(this))},announce:function(e){this._text="",this.async((function(){this._text=e}),100)},_onIronAnnounce:function(e){e.detail&&e.detail.text&&this.announce(e.detail.text)}});a.instance=null,a.requestAvailability=function(){a.instance||(a.instance=document.createElement("iron-a11y-announcer")),document.body.appendChild(a.instance)};var s=n(60),c=n(2);function l(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n \n']);return l=function(){return e},e}Object(r.a)({_template:Object(i.a)(l()),is:"iron-input",behaviors:[s.a],properties:{bindValue:{type:String,value:""},value:{type:String,computed:"_computeValue(bindValue)"},allowedPattern:{type:String},autoValidate:{type:Boolean,value:!1},_inputElement:Object},observers:["_bindValueChanged(bindValue, _inputElement)"],listeners:{input:"_onInput",keypress:"_onKeypress"},created:function(){a.requestAvailability(),this._previousValidInput="",this._patternAlreadyChecked=!1},attached:function(){this._observer=Object(c.a)(this).observeNodes(function(e){this._initSlottedInput()}.bind(this))},detached:function(){this._observer&&(Object(c.a)(this).unobserveNodes(this._observer),this._observer=null)},get inputElement(){return this._inputElement},_initSlottedInput:function(){this._inputElement=this.getEffectiveChildren()[0],this.inputElement&&this.inputElement.value&&(this.bindValue=this.inputElement.value),this.fire("iron-input-ready")},get _patternRegExp(){var e;if(this.allowedPattern)e=new RegExp(this.allowedPattern);else switch(this.inputElement.type){case"number":e=/[0-9.,e-]/}return e},_bindValueChanged:function(e,t){t&&(void 0===e?t.value=null:e!==t.value&&(this.inputElement.value=e),this.autoValidate&&this.validate(),this.fire("bind-value-changed",{value:e}))},_onInput:function(){this.allowedPattern&&!this._patternAlreadyChecked&&(this._checkPatternValidity()||(this._announceInvalidCharacter("Invalid string of characters not entered."),this.inputElement.value=this._previousValidInput));this.bindValue=this._previousValidInput=this.inputElement.value,this._patternAlreadyChecked=!1},_isPrintable:function(e){var t=8==e.keyCode||9==e.keyCode||13==e.keyCode||27==e.keyCode,n=19==e.keyCode||20==e.keyCode||45==e.keyCode||46==e.keyCode||144==e.keyCode||145==e.keyCode||e.keyCode>32&&e.keyCode<41||e.keyCode>111&&e.keyCode<124;return!(t||0==e.charCode&&n)},_onKeypress:function(e){if(this.allowedPattern||"number"===this.inputElement.type){var t=this._patternRegExp;if(t&&!(e.metaKey||e.ctrlKey||e.altKey)){this._patternAlreadyChecked=!0;var n=String.fromCharCode(e.charCode);this._isPrintable(e)&&!t.test(n)&&(e.preventDefault(),this._announceInvalidCharacter("Invalid character "+n+" not entered."))}}},_checkPatternValidity:function(){var e=this._patternRegExp;if(!e)return!0;for(var t=0;t\n :host {\n display: inline-block;\n float: right;\n\n @apply --paper-font-caption;\n @apply --paper-input-char-counter;\n }\n\n :host([hidden]) {\n display: none !important;\n }\n\n :host(:dir(rtl)) {\n float: left;\n }\n \n\n [[_charCounterStr]]\n"]);return d=function(){return e},e}Object(r.a)({_template:Object(i.a)(d()),is:"paper-input-char-counter",behaviors:[u],properties:{_charCounterStr:{type:String,value:"0"}},update:function(e){if(e.inputElement){e.value=e.value||"";var t=e.value.toString().length.toString();e.inputElement.hasAttribute("maxlength")&&(t+="/"+e.inputElement.getAttribute("maxlength")),this._charCounterStr=t}}});n(53),n(35);var f=n(34);function p(){var e=m(['\n \n\n \n\n
\n \n\n
\n \n \n
\n\n \n
\n\n
\n
\n
\n
\n\n
\n \n
\n']);return p=function(){return e},e}function h(){var e=m(['\n\n \n\n']);return h=function(){return e},e}function m(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y=Object(i.a)(h());function v(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n \x3c!--\n If the paper-input-error element is directly referenced by an\n `aria-describedby` attribute, such as when used as a paper-input add-on,\n then applying `visibility: hidden;` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n --\x3e\n
\n \n
\n'],['\n \n\n \x3c!--\n If the paper-input-error element is directly referenced by an\n \\`aria-describedby\\` attribute, such as when used as a paper-input add-on,\n then applying \\`visibility: hidden;\\` to the paper-input-error element itself\n does not hide the error.\n\n For more information, see:\n https://www.w3.org/TR/accname-1.1/#mapping_additional_nd_description\n --\x3e\n
\n \n
\n']);return v=function(){return e},e}y.setAttribute("style","display: none;"),document.head.appendChild(y.content),Object(r.a)({_template:Object(i.a)(p()),is:"paper-input-container",properties:{noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},attrForValue:{type:String,value:"bind-value"},autoValidate:{type:Boolean,value:!1},invalid:{observer:"_invalidChanged",type:Boolean,value:!1},focused:{readOnly:!0,type:Boolean,value:!1,notify:!0},_addons:{type:Array},_inputHasContent:{type:Boolean,value:!1},_inputSelector:{type:String,value:"input,iron-input,textarea,.paper-input-input"},_boundOnFocus:{type:Function,value:function(){return this._onFocus.bind(this)}},_boundOnBlur:{type:Function,value:function(){return this._onBlur.bind(this)}},_boundOnInput:{type:Function,value:function(){return this._onInput.bind(this)}},_boundValueChanged:{type:Function,value:function(){return this._onValueChanged.bind(this)}}},listeners:{"addon-attached":"_onAddonAttached","iron-input-validate":"_onIronInputValidate"},get _valueChangedEvent(){return this.attrForValue+"-changed"},get _propertyForValue(){return Object(f.b)(this.attrForValue)},get _inputElement(){return Object(c.a)(this).querySelector(this._inputSelector)},get _inputElementValue(){return this._inputElement[this._propertyForValue]||this._inputElement.value},ready:function(){this.__isFirstValueUpdate=!0,this._addons||(this._addons=[]),this.addEventListener("focus",this._boundOnFocus,!0),this.addEventListener("blur",this._boundOnBlur,!0)},attached:function(){this.attrForValue?this._inputElement.addEventListener(this._valueChangedEvent,this._boundValueChanged):this.addEventListener("input",this._onInput),this._inputElementValue&&""!=this._inputElementValue?this._handleValueAndAutoValidate(this._inputElement):this._handleValue(this._inputElement)},_onAddonAttached:function(e){this._addons||(this._addons=[]);var t=e.target;-1===this._addons.indexOf(t)&&(this._addons.push(t),this.isAttached&&this._handleValue(this._inputElement))},_onFocus:function(){this._setFocused(!0)},_onBlur:function(){this._setFocused(!1),this._handleValueAndAutoValidate(this._inputElement)},_onInput:function(e){this._handleValueAndAutoValidate(e.target)},_onValueChanged:function(e){var t=e.target;this.__isFirstValueUpdate&&(this.__isFirstValueUpdate=!1,void 0===t.value||""===t.value)||this._handleValueAndAutoValidate(e.target)},_handleValue:function(e){var t=this._inputElementValue;t||0===t||"number"===e.type&&!e.checkValidity()?this._inputHasContent=!0:this._inputHasContent=!1,this.updateAddons({inputElement:e,value:t,invalid:this.invalid})},_handleValueAndAutoValidate:function(e){var t;this.autoValidate&&e&&(t=e.validate?e.validate(this._inputElementValue):e.checkValidity(),this.invalid=!t);this._handleValue(e)},_onIronInputValidate:function(e){this.invalid=this._inputElement.invalid},_invalidChanged:function(){this._addons&&this.updateAddons({invalid:this.invalid})},updateAddons:function(e){for(var t,n=0;t=this._addons[n];n++)t.update(e)},_computeInputContentClass:function(e,t,n,r,i){var o="input-content";if(e)i&&(o+=" label-is-hidden"),r&&(o+=" is-invalid");else{var a=this.querySelector("label");t||i?(o+=" label-is-floating",this.$.labelAndInputContainer.style.position="static",r?o+=" is-invalid":n&&(o+=" label-is-highlighted")):(a&&(this.$.labelAndInputContainer.style.position="relative"),r&&(o+=" is-invalid"))}return n&&(o+=" focused"),o},_computeUnderlineClass:function(e,t){var n="underline";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n},_computeAddOnContentClass:function(e,t){var n="add-on-content";return t?n+=" is-invalid":e&&(n+=" is-highlighted"),n}}),Object(r.a)({_template:Object(i.a)(v()),is:"paper-input-error",behaviors:[u],properties:{invalid:{readOnly:!0,reflectToAttribute:!0,type:Boolean}},update:function(e){this._setInvalid(e.invalid)}});var b=n(69),g=(n(68),n(25)),_=n(29),w=n(41),k={NextLabelID:1,NextAddonID:1,NextInputID:1},O={properties:{label:{type:String},value:{notify:!0,type:String},disabled:{type:Boolean,value:!1},invalid:{type:Boolean,value:!1,notify:!0},allowedPattern:{type:String},type:{type:String},list:{type:String},pattern:{type:String},required:{type:Boolean,value:!1},errorMessage:{type:String},charCounter:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1},alwaysFloatLabel:{type:Boolean,value:!1},autoValidate:{type:Boolean,value:!1},validator:{type:String},autocomplete:{type:String,value:"off"},autofocus:{type:Boolean,observer:"_autofocusChanged"},inputmode:{type:String},minlength:{type:Number},maxlength:{type:Number},min:{type:String},max:{type:String},step:{type:String},name:{type:String},placeholder:{type:String,value:""},readonly:{type:Boolean,value:!1},size:{type:Number},autocapitalize:{type:String,value:"none"},autocorrect:{type:String,value:"off"},autosave:{type:String},results:{type:Number},accept:{type:String},multiple:{type:Boolean},_ariaDescribedBy:{type:String,value:""},_ariaLabelledBy:{type:String,value:""},_inputId:{type:String,value:""}},listeners:{"addon-attached":"_onAddonAttached"},keyBindings:{"shift+tab:keydown":"_onShiftTabDown"},hostAttributes:{tabindex:0},get inputElement(){return this.$||(this.$={}),this.$.input||(this._generateInputId(),this.$.input=this.$$("#"+this._inputId)),this.$.input},get _focusableElement(){return this.inputElement},created:function(){this._typesThatHaveText=["date","datetime","datetime-local","month","time","week","file"]},attached:function(){this._updateAriaLabelledBy(),!w.a&&this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.inputElement.type)&&(this.alwaysFloatLabel=!0)},_appendStringWithSpace:function(e,t){return e=e?e+" "+t:t},_onAddonAttached:function(e){var t=Object(c.a)(e).rootTarget;if(t.id)this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,t.id);else{var n="paper-input-add-on-"+k.NextAddonID++;t.id=n,this._ariaDescribedBy=this._appendStringWithSpace(this._ariaDescribedBy,n)}},validate:function(){return this.inputElement.validate()},_focusBlurHandler:function(e){_.a._focusBlurHandler.call(this,e),this.focused&&!this._shiftTabPressed&&this._focusableElement&&this._focusableElement.focus()},_onShiftTabDown:function(e){var t=this.getAttribute("tabindex");this._shiftTabPressed=!0,this.setAttribute("tabindex","-1"),this.async((function(){this.setAttribute("tabindex",t),this._shiftTabPressed=!1}),1)},_handleAutoValidate:function(){this.autoValidate&&this.validate()},updateValueAndPreserveCaret:function(e){try{var t=this.inputElement.selectionStart;this.value=e,this.inputElement.selectionStart=t,this.inputElement.selectionEnd=t}catch(n){this.value=e}},_computeAlwaysFloatLabel:function(e,t){return t||e},_updateAriaLabelledBy:function(){var e,t=Object(c.a)(this.root).querySelector("label");t?(t.id?e=t.id:(e="paper-input-label-"+k.NextLabelID++,t.id=e),this._ariaLabelledBy=e):this._ariaLabelledBy=""},_generateInputId:function(){this._inputId&&""!==this._inputId||(this._inputId="input-"+k.NextInputID++)},_onChange:function(e){this.shadowRoot&&this.fire(e.type,{sourceEvent:e},{node:this,bubbles:e.bubbles,cancelable:e.cancelable})},_autofocusChanged:function(){if(this.autofocus&&this._focusableElement){var e=document.activeElement;e instanceof HTMLElement&&e!==document.body&&e!==document.documentElement||this._focusableElement.focus()}}},x=[_.a,g.a,O];function E(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n \n\n \n\n \n\n \x3c!-- Need to bind maxlength so that the paper-input-char-counter works correctly --\x3e\n \n \n \n\n \n\n \n\n \n\n \n ']);return E=function(){return e},e}Object(r.a)({is:"paper-input",_template:Object(i.a)(E()),behaviors:[x,b.a],properties:{value:{type:String}},get _focusableElement(){return this.inputElement._inputElement},listeners:{"iron-input-ready":"_onIronInputReady"},_onIronInputReady:function(){this.$.nativeInput||(this.$.nativeInput=this.$$("input")),this.inputElement&&-1!==this._typesThatHaveText.indexOf(this.$.nativeInput.type)&&(this.alwaysFloatLabel=!0),this.inputElement.bindValue&&this.$.container._handleValueAndAutoValidate(this.inputElement)}})},function(e,t,n){"use strict";n(67);var r=n(0),i=n(14),o=n(39),a=n(36),s=(n(100),n(98),n(33),n(96),n(40)),c=n(77);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){var e=m(["\n div {\n padding: 0 32px;\n display: flex;\n flex-direction: column;\n text-align: center;\n align-items: center;\n justify-content: center;\n height: 64px;\n cursor: pointer;\n position: relative;\n outline: none;\n box-sizing: border-box;\n }\n\n .name {\n white-space: nowrap;\n }\n\n :host([active]) {\n color: var(--primary-color);\n }\n\n :host(:not([narrow])[active]) div {\n border-bottom: 2px solid var(--primary-color);\n }\n\n :host([narrow]) {\n padding: 0 16px;\n width: 20%;\n min-width: 0;\n }\n "]);return u=function(){return e},e}function d(){var e=m([""]);return d=function(){return e},e}function f(){var e=m(['',""]);return f=function(){return e},e}function p(){var e=m(['']);return p=function(){return e},e}function h(){var e=m(['\n e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a ']);return D=function(){return e},e}function z(){var e=H(['\n \n ',"\n ","\n ",'\n
\n \n
\n \n
\n \n
\n
\n ']);return L=function(){return e},e}function N(){var e=H(['e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a1||!this.narrow?Object(r.f)(I(),Object(i.a)({"bottom-bar":this.narrow}),t):"",this._saveScrollPos)}},{kind:"method",decorators:[Object(r.e)({passive:!0})],key:"_saveScrollPos",value:function(e){this._savedScrollPos=e.target.scrollTop}},{kind:"method",key:"_tabTapped",value:function(e){Object(a.a)(this,e.currentTarget.path,!0)}},{kind:"method",key:"_backTapped",value:function(){this.backPath?Object(a.a)(this,this.backPath):this.backCallback?this.backCallback():history.back()}},{kind:"get",static:!0,key:"styles",value:function(){return Object(r.c)(R())}}]}}),r.a)},function(e,t,n){"use strict";var r=n(66);e.exports=r.DEFAULT=new r({include:[n(73)],explicit:[n(155),n(156),n(157)]})},function(e,t,n){"use strict";var r=n(0),i=n(39),o=n(36);n(44),n(122);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(){var e=u(["\n :host {\n display: block;\n height: 100%;\n background-color: var(--primary-background-color);\n }\n .toolbar {\n display: flex;\n align-items: center;\n font-size: 20px;\n height: 65px;\n padding: 0 16px;\n pointer-events: none;\n background-color: var(--app-header-background-color);\n font-weight: 400;\n color: var(--app-header-text-color, white);\n border-bottom: var(--app-header-border-bottom, none);\n box-sizing: border-box;\n }\n ha-icon-button-arrow-prev {\n pointer-events: auto;\n }\n .content {\n color: var(--primary-text-color);\n height: calc(100% - 64px);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n }\n "]);return s=function(){return e},e}function c(){var e=u(['
\n \n

',"

\n \n go back\n \n
\n "]);return l=function(){return e},e}function u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e){var t,n=k(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function b(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function g(e){return e.decorators&&e.decorators.length}function _(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function w(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function k(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a0||n>0;)if(0!=t)if(0!=n){var o=e[t-1][n-1],a=e[t-1][n],s=e[t][n-1],c=void 0;(c=a0&&(this.selectedValues=this.selectedItems.map((function(e){return this._indexToValue(this.indexOf(e))}),this).filter((function(e){return null!=e}),this)):i.a._updateAttrForSelected.apply(this)},_updateSelected:function(){this.multi?this._selectMulti(this.selectedValues):this._selectSelected(this.selected)},_selectMulti:function(e){e=e||[];var t=(this._valuesToItems(e)||[]).filter((function(e){return null!=e}));this._selection.clear(t);for(var n=0;n0&&d.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState_():(void 0!==e&&(d.push(e.target),this.registerDeactivationHandlers_(e)),n.wasElementMadeActive=this.checkElementMadeActive_(e),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame((function(){d=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive_(e),n.wasElementMadeActive&&t.animateActivation_()),n.wasElementMadeActive||(t.activationState_=t.defaultActivationState_())})))}}},t.prototype.checkElementMadeActive_=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation_=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,i=n.VAR_FG_TRANSLATE_END,o=t.cssClasses,a=o.FG_DEACTIVATION,s=o.FG_ACTIVATION,c=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var l="",u="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates_(),f=d.startPoint,p=d.endPoint;l=f.x+"px, "+f.y+"px",u=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(r,l),this.adapter.updateCssVariable(i,u),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer_=setTimeout((function(){return e.activationTimerCallback_()}),c)},t.prototype.getFgTranslationCoordinates_=function(){var e,t=this.activationState_,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?Object(c.a)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame_.width/2,y:this.frame_.height/2}).x-this.initialSize_/2,y:e.y-this.initialSize_/2},endPoint:{x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2}}},t.prototype.runDeactivationUXLogicIfReady_=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState_,i=r.hasDeactivationUXRun,o=r.isActivated;(i||!o)&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer_=setTimeout((function(){e.adapter.removeClass(n)}),s.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses_=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState_=function(){var e=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout((function(){return e.previousActivationEvent_=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivate_=function(){var e=this,t=this.activationState_;if(t.isActivated){var n=Object(r.a)({},t);t.isProgrammatic?(requestAnimationFrame((function(){return e.animateDeactivation_(n)})),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame((function(){e.activationState_.hasDeactivationUXRun=!0,e.animateDeactivation_(n),e.resetActivationState_()})))}},t.prototype.animateDeactivation_=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady_()},t.prototype.layoutInternal_=function(){var e=this;this.frame_=this.adapter.computeBoundingRect();var n=Math.max(this.frame_.height,this.frame_.width);this.maxRadius_=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame_.width,2)+Math.pow(e.frame_.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize_=r-1:this.initialSize_=r,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},t.prototype.updateLayoutCssVars_=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,i=e.VAR_TOP,o=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize_+"px"),this.adapter.updateCssVariable(o,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(r,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(i,this.unboundedCoords_.top+"px"))},t}(i.a);t.a=f},function(e,t,n){"use strict";n(3),n(53);var r=n(4),i=n(5);function o(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \n\n \n"]);return o=function(){return e},e}Object(r.a)({_template:Object(i.a)(o()),is:"app-toolbar"});var a=n(0),s=(n(80),n(100),n(98),n(13));function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){var e=h(["\n :host {\n display: block;\n height: 100%;\n background-color: var(--primary-background-color);\n }\n .toolbar {\n display: flex;\n align-items: center;\n font-size: 20px;\n height: 65px;\n padding: 0 16px;\n pointer-events: none;\n background-color: var(--app-header-background-color);\n font-weight: 400;\n color: var(--app-header-text-color, white);\n border-bottom: var(--app-header-border-bottom, none);\n box-sizing: border-box;\n }\n ha-menu-button,\n ha-icon-button-arrow-prev {\n pointer-events: auto;\n }\n .content {\n height: calc(100% - 64px);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n "]);return l=function(){return e},e}function u(){var e=h(["\n \n "]);return u=function(){return e},e}function d(){var e=h(["\n \n "]);return d=function(){return e},e}function f(){var e=h(['
\n ',"\n
"]);return f=function(){return e},e}function p(){var e=h(["\n ",'\n
\n \n
\n ']);return p=function(){return e},e}function h(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){var t,n=S(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function k(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function O(e){return e.decorators&&e.decorators.length}function x(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function E(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function S(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a{const i=indexedDB.open(e,1);i.onerror=()=>r(i.error),i.onsuccess=()=>n(i.result),i.onupgradeneeded=()=>{i.result.createObjectStore(t)}})}_withIDBStore(e,t){return this._dbp.then(n=>new Promise((r,i)=>{const o=n.transaction(this.storeName,e);o.oncomplete=()=>r(),o.onabort=o.onerror=()=>i(o.error),t(o.objectStore(this.storeName))}))}}let c;function l(){return c||(c=new s),c}function u(e,t,n=l()){return n._withIDBStore("readwrite",n=>{n.put(t,e)})}function d(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=h(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1)){var r=[];y._withIDBStore("readonly",(function(e){var t,n=p(b);try{for(n.s();!(t=n.n()).done;){var i=f(t.value,2),o=i[0],a=i[1];r.push([a,e.get(o)])}}catch(s){n.e(s)}finally{n.f()}b=[]})).then((function(){var e,t=p(r);try{for(t.s();!(e=t.n()).done;){var n=f(e.value,2);(0,n[0])(n[1].result)}}catch(i){t.e(i)}finally{t.f()}})).catch((function(){var e,t=p(b);try{for(t.s();!(e=t.n()).done;){(0,f(e.value,3)[2])()}}catch(n){t.e(n)}finally{t.f()}b=[]}))}}))},_=function(e){var t,n,r=p(a.parts);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(void 0!==i.start&&e"]);return A=function(){return e},e}function P(){var e=R([""]);return P=function(){return e},e}function T(){var e=R([""]);return T=function(){return e},e}function R(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e){var t,n=K(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function B(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function H(e){return e.decorators&&e.decorators.length}function V(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function U(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function K(e){var t=function(e,t){if("object"!==x(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===x(t)?t:String(t)}function $(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(e,t){if(e){if("string"==typeof e)return q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,t):void 0}}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n=t.get(e)}).then(()=>n.result)})("_version",y).then((function(e){e?e!==a.version&&function(e=l()){return e._withIDBStore("readwrite",e=>{e.clear()})}(y).then((function(){return u("_version",a.version,y)})):u("_version",a.version,y)}));var J=Object(k.a)((function(){return w(Z)}),2e3),Q={};!function(e,t,n,r){var i=function(){(function(){return e});var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(n){t.forEach((function(t){t.kind===n&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var n=e.prototype;["method","field"].forEach((function(r){t.forEach((function(t){var i=t.placement;if(t.kind===r&&("static"===i||"prototype"===i)){var o="static"===i?e:n;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var n=t.descriptor;if("field"===t.kind){var r=t.initializer;n={enumerable:n.enumerable,writable:n.writable,configurable:n.configurable,value:void 0===r?void 0:r.call(e)}}Object.defineProperty(e,t.key,n)},decorateClass:function(e,t){var n=[],r=[],i={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,i)}),this),e.forEach((function(e){if(!H(e))return n.push(e);var t=this.decorateElement(e,i);n.push(t.element),n.push.apply(n,t.extras),r.push.apply(r,t.finishers)}),this),!t)return{elements:n,finishers:r};var o=this.decorateConstructor(n,t);return r.push.apply(r,o.finishers),o.finishers=r,o},addElementPlacement:function(e,t,n){var r=t[e.placement];if(!n&&-1!==r.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");r.push(e.key)},decorateElement:function(e,t){for(var n=[],r=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a2&&void 0!==arguments[2]?arguments[2]:{},r=n.compareTime||new Date,i=(r.getTime()-e.getTime())/1e3,o=i>=0?"past":"future";i=Math.abs(i);var a=Math.round(i);if(0===a)return t("ui.components.relative_time.just_now");for(var l="week",u=0;u\n \n
\n \n ']);return T=function(){return e},e}function R(){var e=D(['
']);return R=function(){return e},e}function I(){var e=D(["\n ","\n ",'\n
\n
\n ','\n
\n
\n ',"\n ","\n ","\n
\n
\n "]);return I=function(){return e},e}function D(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?N(e):t}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function H(e){var t,n=Y(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function V(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function U(e){return e.decorators&&e.decorators.length}function K(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Y(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n \n "]);return a=function(){return e},e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e){var t,n=v(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function p(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function h(e){return e.decorators&&e.decorators.length}function m(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function y(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function v(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a ']);return d=function(){return e},e}function f(){var e=p(["\n \n \n \n ","\n "]);return f=function(){return e},e}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function g(e){var t,n=x(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function _(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function w(e){return e.decorators&&e.decorators.length}function k(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function O(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function x(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===l(t)?t:String(t)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a0},Object(a.a)("_ntf",s,c,e,t))}},{kind:"method",key:"_toggleMenu",value:function(){Object(o.a)(this,"hass-toggle-menu")}},{kind:"get",static:!0,key:"styles",value:function(){return Object(i.c)(u())}}]}}),i.a)},function(e,t,n){"use strict";var r,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(e){requestAnimationFrame((function(){o?o(e):(i||(i=new Promise((function(e){r=e})),"complete"===document.readyState?r():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&r()}))),i.then((function(){e&&e()})))}))}function s(e,t){for(var n=0;n',""]);return m=function(){return e},e}function y(){var e=b(['\n
\n
\n
\n ','\n
\n \n
\n \n \n \n \n \n \n \n \n
\n
\n
\n
']);return y=function(){return e},e}function v(){var e=b([""]);return v=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function g(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.offsetHeight},notifyClosed:function(t){return e.emitNotification("closed",t)},notifyClosing:function(t){e.closingDueToDisconnect||(e.open=!1),e.emitNotification("closing",t)},notifyOpened:function(){return e.emitNotification("opened")},notifyOpening:function(){e.open=!0,e.emitNotification("opening")},reverseButtons:function(){},releaseFocus:function(){C.remove(e)},trapFocus:function(t){C.push(e),t&&t.focus()}})}},{key:"render",value:function(){var e,t,n,r=(e={},t=o.STACKED,n=this.stacked,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e),a=Object(i.f)(v());this.heading&&(a=this.renderHeading());var s={"mdc-dialog__actions":!this.hideActions};return Object(i.f)(y(),Object(p.a)(r),a,Object(p.a)(s))}},{key:"renderHeading",value:function(){return Object(i.f)(m(),this.heading)}},{key:"firstUpdated",value:function(){O(j(f.prototype),"firstUpdated",this).call(this),this.mdcFoundation.setAutoStackButtons(!0)}},{key:"connectedCallback",value:function(){O(j(f.prototype),"connectedCallback",this).call(this),this.open&&this.mdcFoundation&&!this.mdcFoundation.isOpen()&&(this.setEventListeners(),this.mdcFoundation.open())}},{key:"disconnectedCallback",value:function(){O(j(f.prototype),"disconnectedCallback",this).call(this),this.open&&this.mdcFoundation&&(this.removeEventListeners(),this.closingDueToDisconnect=!0,this.mdcFoundation.close(this.currentAction||this.defaultAction),this.closingDueToDisconnect=!1,this.currentAction=void 0,C.remove(this))}},{key:"forceLayout",value:function(){this.mdcFoundation.layout()}},{key:"focus",value:function(){var e=this.getInitialFocusEl();e&&e.focus()}},{key:"blur",value:function(){if(this.shadowRoot){var e=this.shadowRoot.activeElement;if(e)e instanceof HTMLElement&&e.blur();else{var t=this.getRootNode(),n=t instanceof Document?t.activeElement:null;n instanceof HTMLElement&&n.blur()}}}},{key:"setEventListeners",value:function(){var e=this;this.boundHandleClick=this.mdcFoundation.handleClick.bind(this.mdcFoundation),this.boundLayout=function(){e.open&&e.mdcFoundation.layout.bind(e.mdcFoundation)},this.boundHandleKeydown=this.mdcFoundation.handleKeydown.bind(this.mdcFoundation),this.boundHandleDocumentKeydown=this.mdcFoundation.handleDocumentKeydown.bind(this.mdcFoundation),this.mdcRoot.addEventListener("click",this.boundHandleClick),window.addEventListener("resize",this.boundLayout,Object(l.a)()),window.addEventListener("orientationchange",this.boundLayout,Object(l.a)()),this.mdcRoot.addEventListener("keydown",this.boundHandleKeydown,Object(l.a)()),document.addEventListener("keydown",this.boundHandleDocumentKeydown,Object(l.a)())}},{key:"removeEventListeners",value:function(){this.boundHandleClick&&this.mdcRoot.removeEventListener("click",this.boundHandleClick),this.boundLayout&&(window.removeEventListener("resize",this.boundLayout),window.removeEventListener("orientationchange",this.boundLayout)),this.boundHandleKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleKeydown),this.boundHandleDocumentKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleDocumentKeydown)}},{key:"close",value:function(){this.open=!1}},{key:"show",value:function(){this.open=!0}},{key:"primaryButton",get:function(){var e=this.primarySlot.assignedNodes(),t=(e=e.filter((function(e){return e instanceof HTMLElement})))[0];return t||null}}])&&k(n.prototype,r),a&&k(n,a),f}(d.a);function P(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12);display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-dialog[dir=rtl] .mdc-dialog__surface,[dir=rtl] .mdc-dialog .mdc-dialog__surface{text-align:right}.mdc-dialog__title{display:block;margin-top:0;line-height:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);position:relative;flex-shrink:0;box-sizing:border-box;margin:0;padding:0 24px 9px;border-bottom:1px solid transparent}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog[dir=rtl] .mdc-dialog__title,[dir=rtl] .mdc-dialog .mdc-dialog__title{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{padding-bottom:15px}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit);flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-dialog[dir=rtl] .mdc-dialog__button,[dir=rtl] .mdc-dialog .mdc-dialog__button{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog-scroll-lock{overflow:hidden}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*)[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog[dir=rtl] #actions ::slotted(*),[dir=rtl] .mdc-dialog #actions ::slotted(*){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:1e-9px;margin-top:12px}']);return P=function(){return e},e}Object(r.b)([Object(i.i)(".mdc-dialog")],A.prototype,"mdcRoot",void 0),Object(r.b)([Object(i.i)('slot[name="primaryAction"]')],A.prototype,"primarySlot",void 0),Object(r.b)([Object(i.i)('slot[name="secondaryAction"]')],A.prototype,"secondarySlot",void 0),Object(r.b)([Object(i.i)("#contentSlot")],A.prototype,"contentSlot",void 0),Object(r.b)([Object(i.i)(".mdc-dialog__content")],A.prototype,"contentElement",void 0),Object(r.b)([Object(i.i)(".mdc-container")],A.prototype,"conatinerElement",void 0),Object(r.b)([Object(i.h)({type:Boolean})],A.prototype,"hideActions",void 0),Object(r.b)([Object(i.h)({type:Boolean}),Object(f.a)((function(){this.forceLayout()}))],A.prototype,"stacked",void 0),Object(r.b)([Object(i.h)({type:String})],A.prototype,"heading",void 0),Object(r.b)([Object(i.h)({type:String}),Object(f.a)((function(e){this.mdcFoundation.setScrimClickAction(e)}))],A.prototype,"scrimClickAction",void 0),Object(r.b)([Object(i.h)({type:String}),Object(f.a)((function(e){this.mdcFoundation.setEscapeKeyAction(e)}))],A.prototype,"escapeKeyAction",void 0),Object(r.b)([Object(i.h)({type:Boolean,reflect:!0}),Object(f.a)((function(e){this.mdcFoundation&&this.isConnected&&(e?(this.setEventListeners(),this.mdcFoundation.open()):(this.removeEventListeners(),this.mdcFoundation.close(this.currentAction||this.defaultAction),this.currentAction=void 0))}))],A.prototype,"open",void 0),Object(r.b)([Object(i.h)()],A.prototype,"defaultAction",void 0),Object(r.b)([Object(i.h)()],A.prototype,"actionAttribute",void 0),Object(r.b)([Object(i.h)()],A.prototype,"initialFocusAttribute",void 0);var T=Object(i.c)(P());function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(r,e);var t,n=(t=r,function(){var e,n=L(t);if(F()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z(this,e)});function r(){return I(this,r),n.apply(this,arguments)}return r}(A);N.styles=T,N=Object(r.b)([Object(i.d)("mwc-dialog")],N);var M=n(10),B=n(91);n(109);function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){var e=oe(['\n .mdc-dialog {\n --mdc-dialog-scroll-divider-color: var(--divider-color);\n z-index: var(--dialog-z-index, 7);\n }\n .mdc-dialog__actions {\n justify-content: var(--justify-action-buttons, flex-end);\n padding-bottom: max(env(safe-area-inset-bottom), 8px);\n }\n .mdc-dialog__container {\n align-items: var(--vertial-align-dialog, center);\n }\n .mdc-dialog__title::before {\n display: block;\n height: 20px;\n }\n .mdc-dialog .mdc-dialog__content {\n position: var(--dialog-content-position, relative);\n padding: var(--dialog-content-padding, 20px 24px);\n }\n :host([hideactions]) .mdc-dialog .mdc-dialog__content {\n padding-bottom: max(\n var(--dialog-content-padding, 20px),\n env(safe-area-inset-bottom)\n );\n }\n .mdc-dialog .mdc-dialog__surface {\n position: var(--dialog-surface-position, relative);\n top: var(--dialog-surface-top);\n min-height: var(--mdc-dialog-min-height, auto);\n }\n :host([flexContent]) .mdc-dialog .mdc-dialog__content {\n display: flex;\n flex-direction: column;\n }\n .header_button {\n position: absolute;\n right: 16px;\n top: 10px;\n text-decoration: none;\n color: inherit;\n }\n .header_title {\n margin-right: 40px;\n }\n [dir="rtl"].header_button {\n right: auto;\n left: 16px;\n }\n [dir="rtl"].header_title {\n margin-left: 40px;\n margin-right: 0px;\n }\n ']);return V=function(){return e},e}function U(){var e=oe(['\n ',"\n "]);return U=function(){return e},e}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?q(e):t}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function G(e){var t,n=ee(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function X(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Z(e){return e.decorators&&e.decorators.length}function J(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Q(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function ee(e){var t=function(e,t){if("object"!==H(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==H(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===H(t)?t:String(t)}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n',"\n \n
\n
\n ','\n
\n \n
\n
\n ']);return p=function(){return e},e}function h(){var e=v([""]);return h=function(){return e},e}function m(){var e=v(['\n \n ']);return m=function(){return e},e}function y(){var e=v(["",""]);return y=function(){return e},e}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n paper-item-body {\n padding-right: 16px;\n }\n \n \n
\n \n \n ']);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n \n",document.head.appendChild(r.content);var i=n(4),o=n(5),a=n(57),s=n(29),c=[a.a,s.a,{hostAttributes:{role:"option",tabindex:"0"}}];function l(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n \n']);return l=function(){return e},e}Object(i.a)({_template:Object(o.a)(l()),is:"paper-item",behaviors:[c]})},,function(e,t){},function(e,t,n){"use strict";n(3);var r=n(5);function i(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n\n \n']);return i=function(){return e},e}var o=Object(r.a)(i());o.setAttribute("style","display: none;"),document.head.appendChild(o.content)},function(e,t,n){"use strict";n(54);var r=n(0);n(96);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=s(["\n :host {\n display: inline-block;\n outline: none;\n }\n :host([disabled]) {\n pointer-events: none;\n }\n mwc-icon-button {\n --mdc-theme-on-primary: currentColor;\n --mdc-theme-text-disabled-on-light: var(--disabled-text-color);\n }\n ha-icon {\n --ha-icon-display: inline;\n }\n "]);return o=function(){return e},e}function a(){var e=s(["\n \n \n \n "]);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n :host {\n @apply --layout-inline;\n @apply --layout-center-center;\n position: relative;\n\n vertical-align: middle;\n\n fill: var(--iron-icon-fill-color, currentcolor);\n stroke: var(--iron-icon-stroke-color, none);\n\n width: var(--iron-icon-width, 24px);\n height: var(--iron-icon-height, 24px);\n @apply --iron-icon;\n }\n\n :host([hidden]) {\n display: none;\n }\n \n"]);return s=function(){return e},e}Object(r.a)({_template:Object(o.a)(s()),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:a.a.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Object(i.a)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Object(i.a)(this.root).appendChild(this._img))}})},function(e,t,n){"use strict";n(3),n(53),n(35),n(64);var r=n(4),i=n(5);function o(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \n\n \n"]);return o=function(){return e},e}Object(r.a)({_template:Object(i.a)(o()),is:"paper-item-body"})},function(e,t,n){"use strict";n(3);var r=n(25),i=n(4),o=n(2),a=n(5);function s(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n
\n
\n']);return s=function(){return e},e}var c={distance:function(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function l(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function u(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Object(o.a)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}l.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var n=c.distance(e,t,0,0),r=c.distance(e,t,this.width,0),i=c.distance(e,t,0,this.height),o=c.distance(e,t,this.width,this.height);return Math.max(n,r,i,o)}},u.MAX_RADIUS=300,u.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=c.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?c.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(e+t),u.MAX_RADIUS)+5,r=1.1-n/u.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/r,o=n*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,u.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,u.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new l(this.element)},draw:function(){var e,t,n;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,n=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+n+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+n+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=c.now(),this.center?(this.xStart=t,this.yStart=n,this.slideDistance=c.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=n,this.slideDistance=c.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=c.now())},remove:function(){Object(o.a)(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Object(i.a)({_template:Object(a.a)(s()),is:"paper-ripple",behaviors:[r.a],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Object(o.a)(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach((function(t){t.upAction(e)})),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var e=new u(this);return Object(o.a)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e\n \n\n
','
\n \n \n
e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(--paper-listbox-background-color, var(--primary-background-color));\n color: var(--paper-listbox-color, var(--primary-text-color));\n\n @apply --paper-listbox;\n }\n \n\n \n"]);return a=function(){return e},e}Object(i.a)({_template:Object(o.a)(a()),is:"paper-listbox",behaviors:[r.a],hostAttributes:{role:"listbox"}})},function(e,t,n){"use strict";var r=n(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=s(["\n pre {\n overflow-x: auto;\n white-space: pre-wrap;\n overflow-wrap: break-word;\n }\n .bold {\n font-weight: bold;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration: underline;\n }\n .strikethrough {\n text-decoration: line-through;\n }\n .underline.strikethrough {\n text-decoration: underline line-through;\n }\n .fg-red {\n color: rgb(222, 56, 43);\n }\n .fg-green {\n color: rgb(57, 181, 74);\n }\n .fg-yellow {\n color: rgb(255, 199, 6);\n }\n .fg-blue {\n color: rgb(0, 111, 184);\n }\n .fg-magenta {\n color: rgb(118, 38, 113);\n }\n .fg-cyan {\n color: rgb(44, 181, 233);\n }\n .fg-white {\n color: rgb(204, 204, 204);\n }\n .bg-black {\n background-color: rgb(0, 0, 0);\n }\n .bg-red {\n background-color: rgb(222, 56, 43);\n }\n .bg-green {\n background-color: rgb(57, 181, 74);\n }\n .bg-yellow {\n background-color: rgb(255, 199, 6);\n }\n .bg-blue {\n background-color: rgb(0, 111, 184);\n }\n .bg-magenta {\n background-color: rgb(118, 38, 113);\n }\n .bg-cyan {\n background-color: rgb(44, 181, 233);\n }\n .bg-white {\n background-color: rgb(204, 204, 204);\n }\n "]);return o=function(){return e},e}function a(){var e=s(["",""]);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():s.f||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=Object(o.a)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",(function t(){document.removeEventListener("readystatechange",t),e()}))}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach((function(e){e!==this&&e._findParent()}),this):(c.forEach((function(e){e!==this&&e._findParent()}),this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?c.delete(this):c.add(this)}},u=Element.prototype,d=u.matches||u.matchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector||u.webkitMatchesSelector,f={getTabbableNodes:function(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t},isFocusable:function(e){return d.call(e,"input, select, textarea, button, object")?d.call(e,":not([disabled])"):d.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&d.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n,r=e,i=this._normalizedTabIndex(r),a=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?Object(o.a)(r).getDistributedNodes():Object(o.a)(r.root||r).children;for(var s=0;s0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)},_hasLowerTabOrder:function(e,t){var n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return 0===n||0===r?r>n:n>r}},p=n(4),h=n(5);function m(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \n\n \n"]);return m=function(){return e},e}Object(p.a)({_template:Object(h.a)(m()),is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Object(o.a)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Object(o.a)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});var y=n(51),v=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,y.a(document.documentElement,"tap",(function(){})),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};v.prototype={constructor:v,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&Object(o.a)(e.root).activeElement;)e=Object(o.a)(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var n=this._overlays.length-1,r=this._overlays[n];if(r&&this._shouldBeBehindOverlay(t,r)&&n--,!(e>=n)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var n=this._overlays.length,r=this._overlays[n-1],i=Math.max(this._getZ(r),this._minimumZ),o=this._getZ(e);if(r&&this._shouldBeBehindOverlay(e,r)){this._applyOverlayZ(r,i),n--;var a=this._overlays[n-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(n,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())},getBackdrops:function(){for(var e=[],t=0;t=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var n=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);n==n&&(t=n)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t=0||(0===j.length&&function(){b=b||C.bind(void 0);for(var e=0,t=x.length;e=Math.abs(t),i=0;i0:o.scrollTop0:o.scrollLeft=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},P=[a,l,A],T=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var i,o=0;i=r[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,n);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else n.push(i)},getAnimationConfig:function(e){var t={},n=[];for(var r in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[r]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(var r,i=0;r=e[i];i++){var o=document.createElement(r.name);if(o.isNeonAnimation){var a;o.configure||(o.configure=function(e){return null}),a=o.configure(r),n.push({result:a,config:r,neonAnimation:o})}else console.warn(this.is+":",r.name,"not found!")}for(var s=0;s\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n']);return R=function(){return e},e}Object(p.a)({_template:Object(h.a)(R()),is:"iron-dropdown",behaviors:[i.a,r.a,P,T],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t\n :host {\n display: inline-block;\n position: relative;\n padding: 8px;\n outline: none;\n\n @apply --paper-menu-button;\n }\n\n :host([disabled]) {\n cursor: auto;\n color: var(--disabled-text-color);\n\n @apply --paper-menu-button-disabled;\n }\n\n iron-dropdown {\n @apply --paper-menu-button-dropdown;\n }\n\n .dropdown-content {\n @apply --shadow-elevation-2dp;\n\n position: relative;\n border-radius: 2px;\n background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));\n\n @apply --paper-menu-button-content;\n }\n\n :host([vertical-align="top"]) .dropdown-content {\n margin-bottom: 20px;\n margin-top: -10px;\n top: 10px;\n }\n\n :host([vertical-align="bottom"]) .dropdown-content {\n bottom: 10px;\n margin-bottom: -10px;\n margin-top: 20px;\n }\n\n #trigger {\n cursor: pointer;\n }\n \n\n
\n \n
\n\n \n \n \n']);return D=function(){return e},e}Object(p.a)({is:"paper-menu-grow-height-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-grow-width-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-shrink-width-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-shrink-height-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var z={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},F=Object(p.a)({_template:Object(h.a)(D()),is:"paper-menu-button",behaviors:[r.a,i.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:z.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:z.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:z.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t-1&&e.preventDefault()}});Object.keys(z).forEach((function(e){F[e]=z[e]}));n(112);var L=n(75);Object(p.a)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new L.a({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map((function(e){return this.name+":"+e}),this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Object(o.a)(e.root||e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Object(o.a)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async((function(){this.fire("iron-iconset-added",this,{node:window})}))},_createIconMap:function(){var e=Object.create(null);return Object(o.a)(this).querySelectorAll("[id]").forEach((function(t){e[t.id]=t})),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(r).removeAttribute("id"),i}return null}});var N=document.createElement("template");N.setAttribute("style","display: none;"),N.innerHTML='\n\n\n\n',document.head.appendChild(N.content);var M=document.createElement("template");M.setAttribute("style","display: none;"),M.innerHTML='\n \n',document.head.appendChild(M.content);var B=n(57),H=n(69),V=n(60);function U(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n \x3c!-- this div fulfills an a11y requirement for combobox, do not remove --\x3e\n \n \n \x3c!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via --\x3e\n \n \n \n']);return U=function(){return e},e}Object(p.a)({_template:Object(h.a)(U()),is:"paper-dropdown-menu",behaviors:[B.a,i.a,H.a,V.a],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(r){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(121)(e))},function(e,t,n){"use strict";var r;(r="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?global:self).Proxy||(r.Proxy=n(129)(),r.Proxy.revocable=r.Proxy.revocable)},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(){var e,t=null;function r(e){return!!e&&("object"===n(e)||"function"==typeof e)}return(e=function(e,n){if(!r(e)||!r(n))throw new TypeError("Cannot create proxy with a non-object as target or handler");var i=function(){};t=function(){e=null,i=function(e){throw new TypeError("Cannot perform '".concat(e,"' on a proxy that has been revoked"))}},setTimeout((function(){t=null}),0);var o=n;for(var a in n={get:null,set:null,apply:null,construct:null},o){if(!(a in n))throw new TypeError("Proxy polyfill does not support trap '".concat(a,"'"));n[a]=o[a]}"function"==typeof o&&(n.apply=o.apply.bind(o));var s=this,c=!1,l=!1;"function"==typeof e?(s=function(){var t=this&&this.constructor===s,r=Array.prototype.slice.call(arguments);if(i(t?"construct":"apply"),t&&n.construct)return n.construct.call(this,e,r);if(!t&&n.apply)return n.apply(e,this,r);if(t){r.unshift(e);var o=e.bind.apply(e,r);return new o}return e.apply(this,r)},c=!0):e instanceof Array&&(s=[],l=!0);var u=n.get?function(e){return i("get"),n.get(this,e,s)}:function(e){return i("get"),this[e]},d=n.set?function(e,t){i("set");n.set(this,e,t,s)}:function(e,t){i("set"),this[e]=t},f=Object.getOwnPropertyNames(e),p={};f.forEach((function(t){if(!c&&!l||!(t in s)){var n={enumerable:!!Object.getOwnPropertyDescriptor(e,t).enumerable,get:u.bind(e,t),set:d.bind(e,t)};Object.defineProperty(s,t,n),p[t]=!0}}));var h=!0;if(Object.setPrototypeOf?Object.setPrototypeOf(s,Object.getPrototypeOf(e)):s.__proto__?s.__proto__=e.__proto__:h=!1,n.get||!h)for(var m in e)p[m]||Object.defineProperty(s,m,{get:u.bind(e,m)});return Object.seal(e),Object.seal(s),s}).revocable=function(n,r){return{proxy:new e(n,r),revoke:t}},e}},function(e,t){var n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML='',document.head.appendChild(n.content)},function(e,t){},function(e,t,n){"use strict";n.r(t);n(44),n(54);var r=n(10),i=(n(81),n(105),n(111),n(0)),o=n(39),a=(n(80),n(102),n(33),n(63)),s=n(6),c=n(26),l=n(13);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){var e=v(["\n ha-dialog.button-left {\n --justify-action-buttons: flex-start;\n }\n paper-icon-item {\n cursor: pointer;\n }\n .form {\n color: var(--primary-text-color);\n }\n .option {\n border: 1px solid var(--divider-color);\n border-radius: 4px;\n margin-top: 4px;\n }\n mwc-button {\n margin-left: 8px;\n }\n ha-paper-dropdown-menu {\n display: block;\n }\n "]);return d=function(){return e},e}function f(){var e=v([""]);return f=function(){return e},e}function p(){var e=v(["\n \n No repositories\n \n "]);return p=function(){return e},e}function h(){var e=v(['\n \n \n
',"
\n
","
\n
","
\n
\n ',"
"]);return m=function(){return e},e}function y(){var e=v(["\n \n ','\n
\n ','\n
\n \n
\n
\n \n Close\n \n \n ']);return y=function(){return e},e}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function b(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){b(o,r,i,a,s,"next",e)}function s(e){b(o,r,i,a,s,"throw",e)}a(void 0)}))}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){var t,n=T(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function j(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function C(e){return e.decorators&&e.decorators.length}function A(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function P(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function T(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&a>0&&n[o]===r[a];)o--,a--;n[o]!==r[a]&&this[h](n[o],r[a]),o>0&&this[y](n.slice(0,o)),a>0&&this[m](r.slice(0,a),i,null)}else this[m](r,i,t)}},{key:h,value:function(e,t){var n=e[d];this[g](e)&&!e.inert&&(e.inert=!0,n.add(e)),n.has(t)&&(t.inert=!1,n.delete(t)),t[f]=e[f],t[d]=n,e[f]=void 0,e[d]=void 0}},{key:y,value:function(e){var t,r=n(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;i[f].disconnect(),i[f]=void 0;var o,a=n(i[d]);try{for(a.s();!(o=a.n()).done;)o.value.inert=!1}catch(s){a.e(s)}finally{a.f()}i[d]=void 0}}catch(s){r.e(s)}finally{r.f()}}},{key:m,value:function(e,t,r){var i,o=n(e);try{for(o.s();!(i=o.n()).done;){for(var a=i.value,s=a.parentNode,c=s.children,l=new Set,u=0;u>10),56320+(e-65536&1023))}for(var O=new Array(256),x=new Array(256),E=0;E<256;E++)O[E]=w(E)?1:0,x[E]=w(E);function S(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||c,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function j(e,t){return new o(t,new a(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function C(e,t){throw j(e,t)}function A(e,t){e.onWarning&&e.onWarning.call(null,j(e,t))}var P={YAML:function(e,t,n){var r,i,o;null!==e.version&&C(e,"duplication of %YAML directive"),1!==n.length&&C(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&C(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&C(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&A(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&C(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],p.test(r)||C(e,"ill-formed tag handle (first argument) of the TAG directive"),l.call(e.tagMap,r)&&C(e,'there is a previously declared suffix for "'+r+'" tag handle'),h.test(i)||C(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};function T(e,t,n,r){var i,o,a,s;if(t1&&(e.result+=i.repeat("\n",t-1))}function N(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&b(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,z(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,H(e,t,3,!1,!0),a.push(e.result),z(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)C(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(H(e,t,4,!0,i)&&(m?p=e.result:h=e.result),m||(I(e,u,d,f,p,h,o,a),f=p=h=null),z(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)C(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?C(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?C(e,"repeat of an indentation width identifier"):(d=t+o-1,u=!0)}if(v(a)){do{a=e.input.charCodeAt(++e.position)}while(v(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!y(a)&&0!==a)}for(;0!==a;){for(D(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentd&&(d=e.lineIndent),y(a))f++;else{if(e.lineIndent0){for(i=a,o=0;i>0;i--)(a=_(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:C(e,"expected hexadecimal character");e.result+=k(o),e.position++}else C(e,"unknown escape sequence");n=r=e.position}else y(s)?(T(e,n,r,!0),L(e,z(e,!1,t)),n=r=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}C(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?E=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!b(r)&&!g(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&C(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||C(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],z(e,!0,-1),!0}(e)?function(e,t,n){var r,i,o,a,s,c,l,u,d=e.kind,f=e.result;if(b(u=e.input.charCodeAt(e.position))||g(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(b(r=e.input.charCodeAt(e.position+1))||n&&g(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==u;){if(58===u){if(b(r=e.input.charCodeAt(e.position+1))||n&&g(r))break}else if(35===u){if(b(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||n&&g(u))break;if(y(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,z(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=c,e.lineIndent=l;break}}a&&(T(e,i,o,!1),L(e,e.line-s),i=o=e.position,a=!1),v(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return T(e,i,o,!1),!!e.result||(e.kind=d,e.result=f,!1)}(e,p,1===n)&&(E=!0,null===e.tag&&(e.tag="?")):(E=!0,null===e.tag&&null===e.anchor||C(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(E=c&&N(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(u=0,d=e.implicitTypes.length;u tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):C(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):C(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||E}function V(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&(z(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!b(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&C(e,"directive name must not be less than one character in length");0!==i;){for(;v(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!y(i));break}if(y(i))break;for(t=e.position;0!==i&&!b(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&D(e),l.call(P,n)?P[n](e,n,r):A(e,'unknown document directive "'+n+'"')}z(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,z(e,!0,-1)):a&&C(e,"directives end mark is expected"),H(e,e.lineIndent-1,4,!1,!0),z(e,!0,-1),e.checkLineBreaks&&d.test(e.input.slice(o,e.position))&&A(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,z(e,!0,-1)):e.position0&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(i,a),r.repeat(" ",e)+n+s+o+"\n"+r.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=i},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(65),i=n(23);function o(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,i=0,s=!1;if(!r)return!1;if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===r)return!0;if("b"===(t=e[++i])){for(i++;i=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,n){"use strict";var r=n(65),i=n(23),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var a=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!o.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,i;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))})),t=0,r=1,i.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(23),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==i.exec(e)||null!==o.exec(e))},construct:function(e){var t,n,r,a,s,c,l,u,d=0,f=null;if(null===(t=i.exec(e))&&(t=o.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(d=t[7].slice(0,3);d.length<3;)d+="0";d=+d}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(n,r,a,s,c,l,d)),f&&u.setTime(u.getTime()-f),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,n){"use strict";var r;try{r=n(148).Buffer}catch(a){}var i=n(23),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=o;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),a=i.length,s=o,c=0,l=[];for(t=0;t>16&255),l.push(c>>8&255),l.push(255&c)),c=c<<6|s.indexOf(i.charAt(t));return 0===(n=a%4*6)?(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)):18===n?(l.push(c>>10&255),l.push(c>>2&255)):12===n&&l.push(c>>4&255),r?r.from?r.from(l):new r(l):l},predicate:function(e){return r&&r.isBuffer(e)},represent:function(e){var t,n,r="",i=0,a=e.length,s=o;for(t=0;t>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},function(e,t,n){"use strict";var r=n(149),i=n(150),o=n(151);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function z(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return o||z(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return o||z(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=l}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,l=8*o-i-1,u=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*c-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=n(23),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,c=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,n){"use strict";var r;try{r=n(!function(){var e=new Error("Cannot find module 'esprima'");throw e.code="MODULE_NOT_FOUND",e}())}catch(o){"undefined"!=typeof window&&(r=window.esprima)}var i=n(23);e.exports=new i("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(i){return!1}},construct:function(e){var t,n="("+e+")",i=r.parse(n,{range:!0}),o=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(65),o=n(72),a=n(83),s=n(73),c=Object.prototype.toString,l=Object.prototype.hasOwnProperty,u={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},d=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function f(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+i.repeat("0",r-t.length)+t}function p(e){this.schema=e.schema||a,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=i.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,i,o,a,s,c;if(null===t)return{};for(n={},i=0,o=(r=Object.keys(t)).length;ir&&" "!==e[d+1],d=o);else if(!v(a))return 5;f=f&&b(a)}l=l||u&&o-d-1>r&&" "!==e[d+1]}return c||l?n>9&&g(e)?5:l?4:3:f&&!i(e)?1:2}function w(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==d.indexOf(t))return"'"+t+"'";var i=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(_(t,s,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+k(t,e.indent)+O(h(function(e,t){var n,r,i=/(\n+)([^\n]*)/g,o=(s=e.indexOf("\n"),s=-1!==s?s:e.length,i.lastIndex=s,x(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=i.exec(e);){var c=r[1],l=r[2];n=" "===l[0],o+=c+(a||n||""===l?"":"\n")+x(l,t),a=n}return o}(t,a),i));case 5:return'"'+function(e){for(var t,n,r,i="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(i+=f(1024*(t-55296)+n-56320+65536),o++):(r=u[t],i+=!r&&v(t)?e[o]:r||f(t));return i}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function k(e,t){var n=g(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function O(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function x(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,c="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,c+="\n"+e.slice(o,r),o=r+1),a=s;return c+="\n",e.length-o>t&&a>o?c+=e.slice(o,a)+"\n"+e.slice(a+1):c+=e.slice(o),c.slice(1)}function E(e,t,n){var i,a,s,u,d,f;for(s=0,u=(a=n?e.explicitTypes:e.implicitTypes).length;s tag resolver accepts not "'+f+'" style');i=d.represent[f](t,f)}e.dump=i}return!0}return!1}function S(e,t,n,r,i,a){e.tag=null,e.dump=n,E(e,n,!1)||E(e,n,!0);var s=c.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var l,u,d="[object Object]"===s||"[object Array]"===s;if(d&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(i=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(d&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===s)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,a,s,c,l,u,d="",f=e.tag,p=Object.keys(n);if(!0===e.sortKeys)p.sort();else if("function"==typeof e.sortKeys)p.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,a=p.length;i1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=m(e,t)),S(e,t+1,c,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",d+=u+=e.dump));e.tag=f,e.dump=d||"{}"}(e,t,e.dump,i),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var r,i,o,a,s,c="",l=e.tag,u=Object.keys(n);for(r=0,i=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),S(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===s){var f=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var i,o,a="",s=e.tag;for(i=0,o=n.length;i "+e.dump)}return!0}function j(e,t){var n,i,o=[],a=[];for(function e(t,n,i){var o,a,s;if(null!==t&&"object"===r(t))if(-1!==(a=n.indexOf(t)))-1===i.indexOf(a)&&i.push(a);else if(n.push(t),Array.isArray(t))for(a=0,s=t.length;a{const i=new XMLHttpRequest,o=[],a=[],s={},c=()=>({ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:()=>Promise.resolve(i.responseText),json:()=>Promise.resolve(JSON.parse(i.responseText)),blob:()=>Promise.resolve(new Blob([i.response])),clone:c,headers:{keys:()=>o,entries:()=>a,get:e=>s[e.toLowerCase()],has:e=>e.toLowerCase()in s}});i.open(t.method||"get",e,!0),i.onload=()=>{i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(e,t,n)=>{o.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?`${s[t]},${n}`:n}),n(c())},i.onerror=r,i.withCredentials="include"==t.credentials;for(const e in t.headers)i.setRequestHeader(e,t.headers[e]);i.send(t.body||null)})});n(128);i.a.polyfill(),void 0===Object.values&&(Object.values=function(e){return Object.keys(e).map((function(t){return e[t]}))}),String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>=e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))});n(130);var o=n(0),a=n(6);function s(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,c,"next",e)}function c(e){s(o,r,i,a,c,"throw",e)}a(void 0)}))}}var l=function(){var e=c(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.callApi("GET","hassio/host/info");case 2:return n=e.sent,e.abrupt("return",Object(a.b)(n));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=a.b,e.next=3,t.callApi("GET","hassio/os/info");case 3:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/reboot"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/shutdown"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/os/update"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/os/config/sync"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=c(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/options",n));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),y=n(26),v=n(84),b=(n(53),n(107),n(35),n(108),n(64),n(118),n(13));function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n .scrollable {\n -webkit-overflow-scrolling: auto !important;\n }\n\n paper-dialog-scrollable.can-scroll > .scrollable {\n -webkit-overflow-scrolling: touch !important;\n }\n \n"),document.head.appendChild(w.content);n(54);var k=n(1),O=(n(67),n(9)),x=n(40),E=n(14);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n \n \n \n \n \n ']);return A=function(){return e},e}function P(){var e=B([""]);return P=function(){return e},e}function T(){var e=B(['\n \n ',"\n "]);return T=function(){return e},e}function R(){var e=B(['\n \n \n ']);return R=function(){return e},e}function I(){var e=B(['\n \n \n ']);return I=function(){return e},e}function D(){var e=B([""]);return D=function(){return e},e}function z(){var e=B(['
']);return z=function(){return e},e}function F(){var e=B(["\n \n "]);return F=function(){return e},e}function L(){var e=B(["\n ","\n ","\n ","\n ",""]);return L=function(){return e},e}function N(){var e=B([""]);return N=function(){return e},e}function M(){var e=B([""]);return M=function(){return e},e}function B(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t){for(var n=0;n\n \n ',"\n \n "]);return pe=function(){return e},e}function he(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?be(e):t}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ge(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function we(e){var t,n=Se(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function ke(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Oe(e){return e.decorators&&e.decorators.length}function xe(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ee(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Se(e){var t=function(e,t){if("object"!==ce(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ce(t)?t:String(t)}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function yt(e,t){if(e){if("string"==typeof e)return vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vt(e,t):void 0}}function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&this.adapter.setTabIndexForElementIndex(t,0)}},{key:"handleFocusOut",value:function(e,t){var n=this;t>=0&&this.adapter.setTabIndexForElementIndex(t,-1),setTimeout((function(){n.adapter.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)}},{key:"handleKeydown",value:function(e,t,n){var r="ArrowLeft"===ct(e),i="ArrowUp"===ct(e),o="ArrowRight"===ct(e),a="ArrowDown"===ct(e),s="Home"===ct(e),c="End"===ct(e),l="Enter"===ct(e),u="Spacebar"===ct(e);if(this.adapter.isRootFocused())i||c?(e.preventDefault(),this.focusLastElement()):(a||s)&&(e.preventDefault(),this.focusFirstElement());else{var d=this.adapter.getFocusedElementIndex();if(!(-1===d&&(d=n)<0)){var f;if(this.isVertical_&&a||!this.isVertical_&&o)this.preventDefaultEvent(e),f=this.focusNextElement(d);else if(this.isVertical_&&i||!this.isVertical_&&r)this.preventDefaultEvent(e),f=this.focusPrevElement(d);else if(s)this.preventDefaultEvent(e),f=this.focusFirstElement();else if(c)this.preventDefaultEvent(e),f=this.focusLastElement();else if((l||u)&&t){var p=e.target;if(p&&"A"===p.tagName&&l)return;this.preventDefaultEvent(e),this.setSelectedIndexOnAction_(d,!0)}this.focusedItemIndex_=d,void 0!==f&&(this.setTabindexAtIndex_(f),this.focusedItemIndex_=f)}}}},{key:"handleSingleSelection",value:function(e,t,n){e!==ft.UNSET_INDEX&&(this.setSelectedIndexOnAction_(e,t,n),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)}},{key:"focusNextElement",value:function(e){var t=e+1;if(t>=this.adapter.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter.focusItemAtIndex(t),t}},{key:"focusPrevElement",value:function(e){var t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter.getListItemCount()-1}return this.adapter.focusItemAtIndex(t),t}},{key:"focusFirstElement",value:function(){return this.adapter.focusItemAtIndex(0),0}},{key:"focusLastElement",value:function(){var e=this.adapter.getListItemCount()-1;return this.adapter.focusItemAtIndex(e),e}},{key:"setEnabled",value:function(e,t){this.isIndexValid_(e)&&this.adapter.setDisabledStateForElementIndex(e,!t)}},{key:"preventDefaultEvent",value:function(e){var t=e.target,n="".concat(t.tagName).toLowerCase();-1===xt.indexOf(n)&&e.preventDefault()}},{key:"setSingleSelectionAtIndex_",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.selectedIndex_!==e&&(this.selectedIndex_!==ft.UNSET_INDEX&&(this.adapter.setSelectedStateForElementIndex(this.selectedIndex_,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(this.selectedIndex_,!1)),t&&this.adapter.setSelectedStateForElementIndex(e,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(e,!0),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e,this.adapter.notifySelected(e))}},{key:"setMultiSelectionAtIndex_",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=St(this.selectedIndex_),r=Ot(n,e);if(r.removed.length||r.added.length){var i,o=mt(r.removed);try{for(o.s();!(i=o.n()).done;){var a=i.value;t&&this.adapter.setSelectedStateForElementIndex(a,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(a,!1)}}catch(u){o.e(u)}finally{o.f()}var s,c=mt(r.added);try{for(c.s();!(s=c.n()).done;){var l=s.value;t&&this.adapter.setSelectedStateForElementIndex(l,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(l,!0)}}catch(u){c.e(u)}finally{c.f()}this.selectedIndex_=e,this.adapter.notifySelected(e,r)}}},{key:"setAriaForSingleSelectionAtIndex_",value:function(e){this.selectedIndex_===ft.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(e,dt.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue_,n=t?dt.ARIA_CURRENT:dt.ARIA_SELECTED;this.selectedIndex_!==ft.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=t?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(e,n,r)}},{key:"setTabindexAtIndex_",value:function(e){this.focusedItemIndex_===ft.UNSET_INDEX&&0!==e?this.adapter.setTabIndexForElementIndex(0,-1):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==e&&this.adapter.setTabIndexForElementIndex(this.focusedItemIndex_,-1),this.adapter.setTabIndexForElementIndex(e,0)}},{key:"setTabindexToFirstSelectedItem_",value:function(){var e=0;"number"==typeof this.selectedIndex_&&this.selectedIndex_!==ft.UNSET_INDEX?e=this.selectedIndex_:Et(this.selectedIndex_)&&this.selectedIndex_.size>0&&(e=Math.min.apply(Math,ht(this.selectedIndex_))),this.setTabindexAtIndex_(e)}},{key:"isIndexValid_",value:function(e){if(e instanceof Set){if(!this.isMulti_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");if(0===e.size)return!0;var t,n=!1,r=mt(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(n=this.isIndexInRange_(i))break}}catch(o){r.e(o)}finally{r.f()}return n}if("number"==typeof e){if(this.isMulti_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return e===ft.UNSET_INDEX||this.isIndexInRange_(e)}return!1}},{key:"isIndexInRange_",value:function(e){var t=this.adapter.getListItemCount();return e>=0&&e2&&void 0!==arguments[2])||arguments[2],r=!1;r=void 0===t?!this.adapter.getSelectedStateForElementIndex(e):t;var i=St(this.selectedIndex_);r?i.add(e):i.delete(e),this.setMultiSelectionAtIndex_(i,n)}}])&&bt(n.prototype,r),i&&bt(n,i),a}(Te.a);function Ct(e){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function At(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \x3c!-- @ts-ignore --\x3e\n 1&&void 0!==arguments[1]&&arguments[1],n=this.items[e];n&&(n.selected=!0,n.activated=t)}},{key:"deselectUi",value:function(e){var t=this.items[e];t&&(t.selected=!1,t.activated=!1)}},{key:"select",value:function(e){this.mdcFoundation&&this.mdcFoundation.setSelectedIndex(e)}},{key:"toggle",value:function(e,t){this.multi&&this.mdcFoundation.toggleMultiAtIndex(e,t)}},{key:"onListItemConnected",value:function(e){var t=e.target;this.layout(-1===this.items.indexOf(t))}},{key:"layout",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.updateItems();var t,n=this.items[0],r=Pt(this.items);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.tabindex=-1}}catch(o){r.e(o)}finally{r.f()}n&&(this.noninteractive?this.previousTabindex||(this.previousTabindex=n):n.tabindex=0)}},{key:"getFocusedItemIndex",value:function(){if(!this.mdcRoot)return-1;if(!this.items.length)return-1;var e=Object(Ae.b)();if(!e.length)return-1;for(var t=e.length-1;t>=0;t--){var n=e[t];if(Mt(n))return this.items.indexOf(n)}return-1}},{key:"focusItemAtIndex",value:function(e){var t,n=Pt(this.items);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(0===r.tabindex){r.tabindex=-1;break}}}catch(i){n.e(i)}finally{n.f()}this.items[e].tabindex=0,this.items[e].focus()}},{key:"focus",value:function(){var e=this.mdcRoot;e&&e.focus()}},{key:"blur",value:function(){var e=this.mdcRoot;e&&e.blur()}},{key:"assignedElements",get:function(){var e=this.slotElement;return e?e.assignedNodes({flatten:!0}).filter(Ae.e):[]}},{key:"items",get:function(){return this.items_}},{key:"selected",get:function(){var e=this.index;if(!Et(e))return-1===e?null:this.items[e];var t,n=[],r=Pt(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;n.push(this.items[i])}}catch(o){r.e(o)}finally{r.f()}return n}},{key:"index",get:function(){return this.mdcFoundation?this.mdcFoundation.getSelectedIndex():-1}}])&&It(n.prototype,r),i&&It(n,i),s}(Ce.a);function Ht(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-list:focus{outline:none}.mdc-list-item{height:48px}.mdc-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.12)}.mdc-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc(100% - var(--mdc-list-inset-margin, 72px))}.mdc-list-group[dir=rtl] .mdc-list ::slotted([divider][inset]),[dir=rtl] .mdc-list-group .mdc-list ::slotted([divider][inset]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-list ::slotted([divider][inset][padded]){width:calc(100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px))}.mdc-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-list--two-line.mdc-list--dense ::slotted([mwc-list-item]),.mdc-list--avatar-list.mdc-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-list--avatar-list.mdc-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-list--dense ::slotted(.mdc-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list--dense ::slotted(.mdc-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list--dense ::slotted(.mdc-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}']);return Ht=function(){return e},e}Object(k.b)([Object(o.i)(".mdc-list")],Bt.prototype,"mdcRoot",void 0),Object(k.b)([Object(o.i)("slot")],Bt.prototype,"slotElement",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setUseActivatedClass(e)}))],Bt.prototype,"activatable",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e,t){this.mdcFoundation&&this.mdcFoundation.setMulti(e),void 0!==t&&this.layout()}))],Bt.prototype,"multi",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setWrapFocus(e)}))],Bt.prototype,"wrapFocus",void 0),Object(k.b)([Object(o.h)({type:String}),Object(O.a)((function(e,t){void 0!==t&&this.updateItems()}))],Bt.prototype,"itemRoles",void 0),Object(k.b)([Object(o.h)({type:String})],Bt.prototype,"innerRole",void 0),Object(k.b)([Object(o.h)({type:String})],Bt.prototype,"innerAriaLabel",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bt.prototype,"rootTabbable",void 0),Object(k.b)([Object(o.h)({type:Boolean,reflect:!0}),Object(O.a)((function(e){var t=this.slotElement;if(e&&t){var n=Object(Ae.d)(t,'[tabindex="0"]');this.previousTabindex=n,n&&n.setAttribute("tabindex","-1")}else!e&&this.previousTabindex&&(this.previousTabindex.setAttribute("tabindex","0"),this.previousTabindex=null)}))],Bt.prototype,"noninteractive",void 0);var Vt=Object(o.c)(Ht());function Ut(e){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t){return($t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yt(e,t){return!t||"object"!==Ut(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$t(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Wt(t);if(qt()){var r=Wt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Yt(this,e)});function r(){return Kt(this,r),n.apply(this,arguments)}return r}(Bt);Gt.styles=Vt,Gt=Object(k.b)([Object(o.d)("mwc-list")],Gt);var Xt,Zt,Jt={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},Qt={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},en={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(Xt||(Xt={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(Zt||(Zt={}));var tn,nn=function(e){function t(n){var r=e.call(this,Object(k.a)(Object(k.a)({},t.defaultAdapter),n))||this;return r.isSurfaceOpen=!1,r.isQuickOpen=!1,r.isHoistedElement=!1,r.isFixedPosition=!1,r.openAnimationEndTimerId=0,r.closeAnimationEndTimerId=0,r.animationRequestId=0,r.anchorCorner=Zt.TOP_START,r.originCorner=Zt.TOP_START,r.anchorMargin={top:0,right:0,bottom:0,left:0},r.position={x:0,y:0},r}return Object(k.c)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return Jt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return Qt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return en},enumerable:!0,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return Zt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter.hasClass(n))throw new Error(n+" class required in root element.");this.adapter.hasClass(r)&&(this.isSurfaceOpen=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},t.prototype.setAnchorCorner=function(e){this.anchorCorner=e},t.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^Xt.RIGHT},t.prototype.setAnchorMargin=function(e){this.anchorMargin.top=e.top||0,this.anchorMargin.right=e.right||0,this.anchorMargin.bottom=e.bottom||0,this.anchorMargin.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition=e},t.prototype.setAbsolutePosition=function(e,t){this.position.x=this.isFinite(e)?e:0,this.position.y=this.isFinite(t)?t:0},t.prototype.setQuickOpen=function(e){this.isQuickOpen=e},t.prototype.isOpen=function(){return this.isSurfaceOpen},t.prototype.open=function(){var e=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(t.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){e.adapter.addClass(t.cssClasses.OPEN),e.dimensions=e.adapter.getInnerDimensions(),e.autoposition(),e.openAnimationEndTimerId=setTimeout((function(){e.openAnimationEndTimerId=0,e.adapter.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter.notifyOpen()}),en.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},t.prototype.close=function(e){var n=this;void 0===e&&(e=!1),this.isSurfaceOpen&&(this.isQuickOpen?(this.isSurfaceOpen=!1,e||this.maybeRestoreFocus(),this.adapter.removeClass(t.cssClasses.OPEN),this.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),this.adapter.notifyClose()):(this.adapter.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){n.adapter.removeClass(t.cssClasses.OPEN),n.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout((function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(t.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()}),en.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,e||this.maybeRestoreFocus()))},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode;("Escape"===e.key||27===t)&&this.close()},t.prototype.autoposition=function(){var e;this.measurements=this.getAutoLayoutmeasurements();var n=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(n),i=this.hasBit(n,Xt.BOTTOM)?"bottom":"top",o=this.hasBit(n,Xt.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset(n),s=this.getVerticalOriginOffset(n),c=this.measurements,l=c.anchorSize,u=c.surfaceSize,d=((e={})[o]=a,e[i]=s,e);l.width/u.width>en.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(d),this.adapter.setTransformOrigin(o+" "+i),this.adapter.setPosition(d),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(n,Xt.BOTTOM)||this.adapter.addClass(t.cssClasses.IS_OPEN_BELOW)},t.prototype.getAutoLayoutmeasurements=function(){var e=this.adapter.getAnchorDimensions(),t=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),r=this.adapter.getWindowScroll();return e||(e={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getoriginCorner=function(){var e,n,r=this.originCorner,i=this.measurements,o=i.viewportDistance,a=i.anchorSize,s=i.surfaceSize,c=t.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,Xt.BOTTOM)?(e=o.top-c+a.height+this.anchorMargin.bottom,n=o.bottom-c-this.anchorMargin.bottom):(e=o.top-c+this.anchorMargin.top,n=o.bottom-c+a.height-this.anchorMargin.top),!(n-s.height>0)&&e>=n&&(r=this.setBit(r,Xt.BOTTOM));var l,u,d=this.adapter.isRtl(),f=this.hasBit(this.anchorCorner,Xt.FLIP_RTL),p=this.hasBit(this.anchorCorner,Xt.RIGHT),h=!1;(h=d&&f?!p:p)?(l=o.left+a.width+this.anchorMargin.right,u=o.right-this.anchorMargin.right):(l=o.left+this.anchorMargin.left,u=o.right+a.width-this.anchorMargin.left);var m=l-s.width>0,y=u-s.width>0,v=this.hasBit(r,Xt.FLIP_RTL)&&this.hasBit(r,Xt.RIGHT);return y&&v&&d||!m&&v?r=this.unsetBit(r,Xt.RIGHT):(m&&h&&d||m&&!h&&p||!y&&l>=u)&&(r=this.setBit(r,Xt.RIGHT)),r},t.prototype.getMenuSurfaceMaxHeight=function(e){var n=this.measurements.viewportDistance,r=0,i=this.hasBit(e,Xt.BOTTOM),o=this.hasBit(this.anchorCorner,Xt.BOTTOM),a=t.numbers.MARGIN_TO_EDGE;return i?(r=n.top+this.anchorMargin.top-a,o||(r+=this.measurements.anchorSize.height)):(r=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-a,o&&(r-=this.measurements.anchorSize.height)),r},t.prototype.getHorizontalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,Xt.RIGHT),r=this.hasBit(this.anchorCorner,Xt.RIGHT);if(n){var i=r?t.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?i-(this.measurements.viewportSize.width-this.measurements.bodySize.width):i}return r?t.width-this.anchorMargin.right:this.anchorMargin.left},t.prototype.getVerticalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,Xt.BOTTOM),r=this.hasBit(this.anchorCorner,Xt.BOTTOM);return n?r?t.height-this.anchorMargin.top:-this.anchorMargin.bottom:r?t.height+this.anchorMargin.bottom:this.anchorMargin.top},t.prototype.adjustPositionForHoistedElement=function(e){var t,n,r=this.measurements,i=r.windowScroll,o=r.viewportDistance,a=Object.keys(e);try{for(var s=Object(k.e)(a),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l]||0;u+=o[l],this.isFixedPosition||("top"===l?u+=i.y:"bottom"===l?u-=i.y:"left"===l?u+=i.x:u-=i.x),e[l]=u}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus=function(){var e=this.adapter.isFocused(),t=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(e||t)&&this.adapter.restoreFocus()},t.prototype.hasBit=function(e,t){return Boolean(e&t)},t.prototype.setBit=function(e,t){return e|t},t.prototype.unsetBit=function(e,t){return e^t},t.prototype.isFinite=function(e){return"number"==typeof e&&isFinite(e)},t}(Te.a),rn=nn;function on(e){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function an(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n =0&&t.adapter.isSelectableItemAtIndex(n)&&t.setSelectedIndex(n)}),nn.numbers.TRANSITION_CLOSE_DURATION))},t.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case xn.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case xn.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case xn.NONE:break;default:this.adapter.focusListRoot()}},t.prototype.setDefaultFocusState=function(e){this.defaultFocusState_=e},t.prototype.setSelectedIndex=function(e){if(this.validatedIndex_(e),!this.adapter.isSelectableItemAtIndex(e))throw new Error("MDCMenuFoundation: No selection group at specified index.");var t=this.adapter.getSelectedSiblingOfItemAtIndex(e);t>=0&&(this.adapter.removeAttributeFromElementAtIndex(t,Sn.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(t,En.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(e,En.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_CHECKED_ATTR,"true")},t.prototype.setEnabled=function(e,t){this.validatedIndex_(e),t?(this.adapter.removeClassFromElementAtIndex(e,ut),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(e,ut),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_DISABLED_ATTR,"true"))},t.prototype.validatedIndex_=function(e){var t=this.adapter.getMenuItemCount();if(!(e>=0&&e0&&void 0!==arguments[0])||arguments[0],t=this.listElement;t&&t.layout(e)}},{key:"listElement",get:function(){return this.listElement_||(this.listElement_=this.renderRoot.querySelector("mwc-list")),this.listElement_}},{key:"items",get:function(){var e=this.listElement;return e?e.items:[]}},{key:"index",get:function(){var e=this.listElement;return e?e.index:-1}},{key:"selected",get:function(){var e=this.listElement;return e?e.selected:null}}])&&Dn(n.prototype,r),i&&Dn(n,i),l}(Ce.a);function Hn(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["mwc-list ::slotted([mwc-list-item]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}mwc-list{max-width:var(--mdc-menu-max-width, auto);min-width:var(--mdc-menu-min-width, auto)}"]);return Hn=function(){return e},e}Object(k.b)([Object(o.i)(".mdc-menu")],Bn.prototype,"mdcRoot",void 0),Object(k.b)([Object(o.i)("slot")],Bn.prototype,"slotElement",void 0),Object(k.b)([Object(o.h)({type:Object})],Bn.prototype,"anchor",void 0),Object(k.b)([Object(o.h)({type:Boolean,reflect:!0})],Bn.prototype,"open",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"quick",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"wrapFocus",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"innerRole",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"corner",void 0),Object(k.b)([Object(o.h)({type:Number})],Bn.prototype,"x",void 0),Object(k.b)([Object(o.h)({type:Number})],Bn.prototype,"y",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"absolute",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"multi",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"activatable",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"fixed",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"forceGroupSelection",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"fullwidth",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"menuCorner",void 0),Object(k.b)([Object(o.h)({type:String}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setDefaultFocusState(xn[e])}))],Bn.prototype,"defaultFocus",void 0);var Vn=Object(o.c)(Hn());function Un(e){return(Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e,t){return!t||"object"!==Un(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Wn(e){return(Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Wn(t);if(qn()){var r=Wn(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Yn(this,e)});function r(){return Kn(this,r),n.apply(this,arguments)}return r}(Bn);Gn.styles=Vn,Gn=Object(k.b)([Object(o.d)("mwc-menu")],Gn);n(109);function Xn(e){return(Xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zn(){var e=Qn(["\n :host {\n display: inline-block;\n position: relative;\n }\n "]);return Zn=function(){return e},e}function Jn(){var e=Qn(["\n
\n
\n e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:3,t=new Map;return{get:function(n){var r=n.match(Vr).length;if(t.has(r))return t.get(r);var i=parseFloat((1/Math.sqrt(r)).toFixed(e));return t.set(r,i),i},clear:function(){t.clear()}}}var Kr=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,r=void 0===n?Hr.getFn:n;jr(this,e),this.norm=Ur(3),this.getFn=r,this.isCreated=!1,this.setRecords()}return Ar(e,[{key:"setCollection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,Rr(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();Rr(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?Hr.getFn:r,o=new Kr({getFn:i});return o.setKeys(e),o.setCollection(t),o.create(),o}function Yr(e,t){var n=e.matches;t.matches=[],Dr(n)&&n.forEach((function(e){if(Dr(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function qr(e,t){t.score=e.score}function Wr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,s=void 0===a?0:a,c=t.distance,l=void 0===c?Hr.distance:c,u=r/e.length,d=Math.abs(s-o);return l?u+d/l:d?1:u}function Gr(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hr.minMatchCharLength,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}function Xr(e){for(var t={},n=e.length,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=n.location,i=void 0===r?Hr.location:r,o=n.threshold,a=void 0===o?Hr.threshold:o,s=n.distance,c=void 0===s?Hr.distance:s,l=n.includeMatches,u=void 0===l?Hr.includeMatches:l,d=n.findAllMatches,f=void 0===d?Hr.findAllMatches:d,p=n.minMatchCharLength,h=void 0===p?Hr.minMatchCharLength:p,m=n.isCaseSensitive,y=void 0===m?Hr.isCaseSensitive:m;jr(this,e),this.options={location:i,threshold:a,distance:c,includeMatches:u,findAllMatches:f,minMatchCharLength:h,isCaseSensitive:y},this.pattern=y?t:t.toLowerCase(),this.chunks=[];for(var v=0;v3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?Hr.location:i,a=r.distance,s=void 0===a?Hr.distance:a,c=r.threshold,l=void 0===c?Hr.threshold:c,u=r.findAllMatches,d=void 0===u?Hr.findAllMatches:u,f=r.minMatchCharLength,p=void 0===f?Hr.minMatchCharLength:f,h=r.includeMatches,m=void 0===h?Hr.includeMatches:h;if(t.length>32)throw new Error(Lr(32));var y,v=t.length,b=e.length,g=Math.max(0,Math.min(o,b)),_=l,w=g,k=[];if(m)for(var O=0;O-1;){var x=Wr(t,{currentLocation:y,expectedLocation:g,distance:s});if(_=Math.min(x,_),w=y+v,m)for(var E=0;E=D;L-=1){var N=L-1,M=n[e.charAt(N)];if(M&&m&&(k[N]=1),F[L]=(F[L+1]<<1|1)&M,0!==P&&(F[L]|=(S[L+1]|S[L])<<1|1|S[L+1]),F[L]&A&&(j=Wr(t,{errors:P,currentLocation:N,expectedLocation:g,distance:s}))<=_){if(_=j,(w=N)<=g)break;D=Math.max(1,2*g-w)}}var B=Wr(t,{errors:P+1,currentLocation:g,expectedLocation:g,distance:s});if(B>_)break;S=F}var H={isMatch:w>=0,score:Math.max(.001,j)};return m&&(H.indices=Gr(k,p)),H}(e,i,o,{location:a+32*n,distance:s,threshold:c,findAllMatches:l,minMatchCharLength:u,includeMatches:r}),m=h.isMatch,y=h.score,v=h.indices;m&&(p=!0),f+=y,m&&v&&(d=[].concat(Er(d),Er(v)))}));var h={isMatch:p,score:p?f/this.chunks.length:1};return p&&r&&(h.indices=d),h}}]),e}(),Jr=function(){function e(t){jr(this,e),this.pattern=t}return Ar(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return Qr(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return Qr(e,this.singleRegex)}}]),e}();function Qr(e,t){var n=e.match(t);return n?n[1]:null}var ei=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?1:0,indices:r}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(Jr),ti=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(Jr),ni=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(Jr),ri=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(Jr),ii=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(Jr),oi=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(Jr),ai=function(e){gr(n,e);var t=wr(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?Hr.location:o,s=i.threshold,c=void 0===s?Hr.threshold:s,l=i.distance,u=void 0===l?Hr.distance:l,d=i.includeMatches,f=void 0===d?Hr.includeMatches:d,p=i.findAllMatches,h=void 0===p?Hr.findAllMatches:p,m=i.minMatchCharLength,y=void 0===m?Hr.minMatchCharLength:m,v=i.isCaseSensitive,b=void 0===v?Hr.isCaseSensitive:v;return jr(this,n),(r=t.call(this,e))._bitapSearch=new Zr(e,{location:a,threshold:c,distance:u,includeMatches:f,findAllMatches:h,minMatchCharLength:y,isCaseSensitive:b}),r}return Ar(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(Jr),si=[ei,ni,ri,oi,ii,ti,ai],ci=si.length,li=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function ui(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(li).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i1&&void 0!==arguments[1]?arguments[1]:{},r=n.isCaseSensitive,i=void 0===r?Hr.isCaseSensitive:r,o=n.includeMatches,a=void 0===o?Hr.includeMatches:o,s=n.minMatchCharLength,c=void 0===s?Hr.minMatchCharLength:s,l=n.findAllMatches,u=void 0===l?Hr.findAllMatches:l,d=n.location,f=void 0===d?Hr.location:d,p=n.threshold,h=void 0===p?Hr.threshold:p,m=n.distance,y=void 0===m?Hr.distance:m;jr(this,e),this.query=null,this.options={isCaseSensitive:i,includeMatches:a,minMatchCharLength:c,findAllMatches:u,location:f,threshold:h,distance:y},this.pattern=i?t:t.toLowerCase(),this.query=ui(this.pattern,this.options)}return Ar(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],a=0,s=0,c=t.length;s2&&void 0!==arguments[2]?arguments[2]:{},r=n.auto,i=void 0===r||r,o=function e(n){var r=Object.keys(n);if(r.length>1&&!vi(n))return e(gi(n));var o=r[0];if(bi(n)){var a=n[o];if(!Rr(a))throw new Error(Fr(o));var s={key:o,pattern:a};return i&&(s.searcher=hi(a,t)),s}var c={children:[],operator:o};return r.forEach((function(t){var r=n[t];Tr(r)&&r.forEach((function(t){c.children.push(e(t))}))})),c};return vi(e)||(e=gi(e)),o(e)}var wi=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;jr(this,e),this.options=Object.assign({},Hr,{},n),this.options.useExtendedSearch,this._keyStore=new Mr(this.options.keys),this.setCollection(t,r)}return Ar(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof Kr))throw new Error("Incorrect 'index' type");this._myIndex=t||$r(this._keyStore.keys(),this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(e){Dr(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,a=i.includeScore,s=i.shouldSort,c=i.sortFn,l=Rr(e)?Rr(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return ki(l,this._keyStore),s&&l.sort(c),Ir(r)&&r>-1&&(l=l.slice(0,r)),Oi(l,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(e){var t=hi(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(Dr(n)){var a=t.searchIn(n),s=a.isMatch,c=a.score,l=a.indices;s&&r.push({item:n,idx:i,matches:[{score:c,value:n,norm:o,indices:l}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=_i(e,this.options),r=this._myIndex,i=r.keys,o=r.records,a={},s=[];return o.forEach((function(e){var r=e.$,o=e.i;Dr(r)&&function e(n,r,o){if(!n.children){var c=n.key,l=n.searcher,u=r[i.indexOf(c)];return t._findMatches({key:c,value:u,searcher:l})}for(var d=n.operator,f=[],p=0;p2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?Hr.includeMatches:r,o=n.includeScore,a=void 0===o?Hr.includeScore:o,s=[];return i&&s.push(Yr),a&&s.push(qr),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return s.length&&s.forEach((function(t){t(e,r)})),r}))}wi.version="6.0.0",wi.createIndex=$r,wi.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?Hr.getFn:n,i=e.keys,o=e.records,a=new Kr({getFn:r});return a.setKeys(i),a.setRecords(o),a},wi.config=Hr,wi.parseQuery=_i,function(){pi.push.apply(pi,arguments)}(fi);var xi=wi;var Ei=n(28);function Si(e){return(Si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ji(){var e=Ti(["\n ha-card {\n cursor: pointer;\n }\n .not_available {\n opacity: 0.6;\n }\n a.repo {\n color: var(--primary-text-color);\n }\n "]);return ji=function(){return e},e}function Ci(){var e=Ti(["\n \n \n

\n ','\n

\n
\n ',"\n
\n \n "]);return Ai=function(){return e},e}function Pi(){var e=Ti(['\n
\n

\n No results found in "','."\n

\n
\n ']);return Pi=function(){return e},e}function Ti(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ri(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e,t){return(Ii=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Di(e,t){return!t||"object"!==Si(t)&&"function"!=typeof t?zi(e):t}function zi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Li(e){return(Li=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ni(e){var t,n=Ui(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function Mi(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Bi(e){return e.decorators&&e.decorators.length}function Hi(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Vi(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Ui(e){var t=function(e,t){if("object"!==Si(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Si(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Si(t)?t:String(t)}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n Missing add-ons? Enable advanced mode on\n
\n your profile page\n \n .\n \n ']);return Wi=function(){return e},e}function Gi(){var e=Qi(['\n \n ']);return T=function(){return e},e}function R(){var e=D(['
']);return R=function(){return e},e}function I(){var e=D(["\n ","\n ",'\n
\n
\n ','\n
\n
\n ',"\n ","\n ","\n
\n
\n "]);return I=function(){return e},e}function D(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?N(e):t}function N(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function H(e){var t,n=Y(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function V(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function U(e){return e.decorators&&e.decorators.length}function K(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function $(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Y(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n \n "]);return a=function(){return e},e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function f(e){var t,n=v(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function p(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function h(e){return e.decorators&&e.decorators.length}function m(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function y(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function v(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a ']);return d=function(){return e},e}function f(){var e=p(["\n \n \n \n ","\n "]);return f=function(){return e},e}function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function g(e){var t,n=x(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function _(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function w(e){return e.decorators&&e.decorators.length}function k(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function O(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function x(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===l(t)?t:String(t)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a0},Object(a.a)("_ntf",s,c,e,t))}},{kind:"method",key:"_toggleMenu",value:function(){Object(o.a)(this,"hass-toggle-menu")}},{kind:"get",static:!0,key:"styles",value:function(){return Object(i.c)(u())}}]}}),i.a)},function(e,t,n){"use strict";var r,i=null,o=window.HTMLImports&&window.HTMLImports.whenReady||null;function a(e){requestAnimationFrame((function(){o?o(e):(i||(i=new Promise((function(e){r=e})),"complete"===document.readyState?r():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&r()}))),i.then((function(){e&&e()})))}))}function s(e,t){for(var n=0;n',""]);return m=function(){return e},e}function y(){var e=b(['\n
\n
\n
\n ','\n
\n \n
\n \n \n \n \n \n \n \n \n
\n
\n
\n
']);return y=function(){return e},e}function v(){var e=b([""]);return v=function(){return e},e}function b(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function g(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.offsetHeight},notifyClosed:function(t){return e.emitNotification("closed",t)},notifyClosing:function(t){e.closingDueToDisconnect||(e.open=!1),e.emitNotification("closing",t)},notifyOpened:function(){return e.emitNotification("opened")},notifyOpening:function(){e.open=!0,e.emitNotification("opening")},reverseButtons:function(){},releaseFocus:function(){C.remove(e)},trapFocus:function(t){C.push(e),t&&t.focus()}})}},{key:"render",value:function(){var e,t,n,r=(e={},t=o.STACKED,n=this.stacked,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e),a=Object(i.f)(v());this.heading&&(a=this.renderHeading());var s={"mdc-dialog__actions":!this.hideActions};return Object(i.f)(y(),Object(p.a)(r),a,Object(p.a)(s))}},{key:"renderHeading",value:function(){return Object(i.f)(m(),this.heading)}},{key:"firstUpdated",value:function(){O(j(f.prototype),"firstUpdated",this).call(this),this.mdcFoundation.setAutoStackButtons(!0)}},{key:"connectedCallback",value:function(){O(j(f.prototype),"connectedCallback",this).call(this),this.open&&this.mdcFoundation&&!this.mdcFoundation.isOpen()&&(this.setEventListeners(),this.mdcFoundation.open())}},{key:"disconnectedCallback",value:function(){O(j(f.prototype),"disconnectedCallback",this).call(this),this.open&&this.mdcFoundation&&(this.removeEventListeners(),this.closingDueToDisconnect=!0,this.mdcFoundation.close(this.currentAction||this.defaultAction),this.closingDueToDisconnect=!1,this.currentAction=void 0,C.remove(this))}},{key:"forceLayout",value:function(){this.mdcFoundation.layout()}},{key:"focus",value:function(){var e=this.getInitialFocusEl();e&&e.focus()}},{key:"blur",value:function(){if(this.shadowRoot){var e=this.shadowRoot.activeElement;if(e)e instanceof HTMLElement&&e.blur();else{var t=this.getRootNode(),n=t instanceof Document?t.activeElement:null;n instanceof HTMLElement&&n.blur()}}}},{key:"setEventListeners",value:function(){var e=this;this.boundHandleClick=this.mdcFoundation.handleClick.bind(this.mdcFoundation),this.boundLayout=function(){e.open&&e.mdcFoundation.layout.bind(e.mdcFoundation)},this.boundHandleKeydown=this.mdcFoundation.handleKeydown.bind(this.mdcFoundation),this.boundHandleDocumentKeydown=this.mdcFoundation.handleDocumentKeydown.bind(this.mdcFoundation),this.mdcRoot.addEventListener("click",this.boundHandleClick),window.addEventListener("resize",this.boundLayout,Object(l.a)()),window.addEventListener("orientationchange",this.boundLayout,Object(l.a)()),this.mdcRoot.addEventListener("keydown",this.boundHandleKeydown,Object(l.a)()),document.addEventListener("keydown",this.boundHandleDocumentKeydown,Object(l.a)())}},{key:"removeEventListeners",value:function(){this.boundHandleClick&&this.mdcRoot.removeEventListener("click",this.boundHandleClick),this.boundLayout&&(window.removeEventListener("resize",this.boundLayout),window.removeEventListener("orientationchange",this.boundLayout)),this.boundHandleKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleKeydown),this.boundHandleDocumentKeydown&&this.mdcRoot.removeEventListener("keydown",this.boundHandleDocumentKeydown)}},{key:"close",value:function(){this.open=!1}},{key:"show",value:function(){this.open=!0}},{key:"primaryButton",get:function(){var e=this.primarySlot.assignedNodes(),t=(e=e.filter((function(e){return e instanceof HTMLElement})))[0];return t||null}}])&&k(n.prototype,r),a&&k(n,a),f}(d.a);function P(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:7}.mdc-dialog .mdc-dialog__surface{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0,0,0,.32)}.mdc-dialog .mdc-dialog__title{color:rgba(0,0,0,.87)}.mdc-dialog .mdc-dialog__content{color:rgba(0,0,0,.6)}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0,0,0,.12)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog .mdc-dialog__surface{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;box-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2),0px 24px 38px 3px rgba(0, 0, 0, 0.14),0px 9px 46px 8px rgba(0,0,0,.12);display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-dialog[dir=rtl] .mdc-dialog__surface,[dir=rtl] .mdc-dialog .mdc-dialog__surface{text-align:right}.mdc-dialog__title{display:block;margin-top:0;line-height:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:0.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, 0.0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);position:relative;flex-shrink:0;box-sizing:border-box;margin:0;padding:0 24px 9px;border-bottom:1px solid transparent}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-dialog[dir=rtl] .mdc-dialog__title,[dir=rtl] .mdc-dialog .mdc-dialog__title{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{padding-bottom:15px}.mdc-dialog__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-body1-font-size, 1rem);line-height:1.5rem;line-height:var(--mdc-typography-body1-line-height, 1.5rem);font-weight:400;font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:0.03125em;letter-spacing:var(--mdc-typography-body1-letter-spacing, 0.03125em);text-decoration:inherit;text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body1-text-transform, inherit);flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;-webkit-overflow-scrolling:touch}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid transparent}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-dialog[dir=rtl] .mdc-dialog__button,[dir=rtl] .mdc-dialog .mdc-dialog__button{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog-scroll-lock{overflow:hidden}#actions:not(.mdc-dialog__actions){display:none}.mdc-dialog__surface{box-shadow:var(--mdc-dialog-box-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}@media(min-width: 560px){.mdc-dialog .mdc-dialog__surface{max-width:560px;max-width:var(--mdc-dialog-max-width, 560px)}}.mdc-dialog .mdc-dialog__scrim{background-color:rgba(0, 0, 0, 0.32);background-color:var(--mdc-dialog-scrim-color, rgba(0, 0, 0, 0.32))}.mdc-dialog .mdc-dialog__title{color:rgba(0, 0, 0, 0.87);color:var(--mdc-dialog-heading-ink-color, rgba(0, 0, 0, 0.87))}.mdc-dialog .mdc-dialog__content{color:rgba(0, 0, 0, 0.6);color:var(--mdc-dialog-content-ink-color, rgba(0, 0, 0, 0.6))}.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__title,.mdc-dialog.mdc-dialog--scrollable .mdc-dialog__actions{border-color:rgba(0, 0, 0, 0.12);border-color:var(--mdc-dialog-scroll-divider-color, rgba(0, 0, 0, 0.12))}.mdc-dialog .mdc-dialog__surface{min-width:280px;min-width:var(--mdc-dialog-min-width, 280px)}.mdc-dialog .mdc-dialog__surface{max-height:var(--mdc-dialog-max-height, calc(100% - 32px))}#actions ::slotted(*){margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] #actions ::slotted(*),#actions ::slotted(*)[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog[dir=rtl] #actions ::slotted(*),[dir=rtl] .mdc-dialog #actions ::slotted(*){text-align:left}.mdc-dialog--stacked #actions{flex-direction:column-reverse}.mdc-dialog--stacked #actions *:not(:last-child) ::slotted(*){flex-basis:1e-9px;margin-top:12px}']);return P=function(){return e},e}Object(r.b)([Object(i.i)(".mdc-dialog")],A.prototype,"mdcRoot",void 0),Object(r.b)([Object(i.i)('slot[name="primaryAction"]')],A.prototype,"primarySlot",void 0),Object(r.b)([Object(i.i)('slot[name="secondaryAction"]')],A.prototype,"secondarySlot",void 0),Object(r.b)([Object(i.i)("#contentSlot")],A.prototype,"contentSlot",void 0),Object(r.b)([Object(i.i)(".mdc-dialog__content")],A.prototype,"contentElement",void 0),Object(r.b)([Object(i.i)(".mdc-container")],A.prototype,"conatinerElement",void 0),Object(r.b)([Object(i.h)({type:Boolean})],A.prototype,"hideActions",void 0),Object(r.b)([Object(i.h)({type:Boolean}),Object(f.a)((function(){this.forceLayout()}))],A.prototype,"stacked",void 0),Object(r.b)([Object(i.h)({type:String})],A.prototype,"heading",void 0),Object(r.b)([Object(i.h)({type:String}),Object(f.a)((function(e){this.mdcFoundation.setScrimClickAction(e)}))],A.prototype,"scrimClickAction",void 0),Object(r.b)([Object(i.h)({type:String}),Object(f.a)((function(e){this.mdcFoundation.setEscapeKeyAction(e)}))],A.prototype,"escapeKeyAction",void 0),Object(r.b)([Object(i.h)({type:Boolean,reflect:!0}),Object(f.a)((function(e){this.mdcFoundation&&this.isConnected&&(e?(this.setEventListeners(),this.mdcFoundation.open()):(this.removeEventListeners(),this.mdcFoundation.close(this.currentAction||this.defaultAction),this.currentAction=void 0))}))],A.prototype,"open",void 0),Object(r.b)([Object(i.h)()],A.prototype,"defaultAction",void 0),Object(r.b)([Object(i.h)()],A.prototype,"actionAttribute",void 0),Object(r.b)([Object(i.h)()],A.prototype,"initialFocusAttribute",void 0);var T=Object(i.c)(P());function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function F(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}(r,e);var t,n=(t=r,function(){var e,n=L(t);if(F()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return z(this,e)});function r(){return I(this,r),n.apply(this,arguments)}return r}(A);N.styles=T,N=Object(r.b)([Object(i.d)("mwc-dialog")],N);var M=n(10),B=n(91);n(109);function H(e){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function V(){var e=oe(['\n .mdc-dialog {\n --mdc-dialog-scroll-divider-color: var(--divider-color);\n z-index: var(--dialog-z-index, 7);\n }\n .mdc-dialog__actions {\n justify-content: var(--justify-action-buttons, flex-end);\n padding-bottom: max(env(safe-area-inset-bottom), 8px);\n }\n .mdc-dialog__container {\n align-items: var(--vertial-align-dialog, center);\n }\n .mdc-dialog__title::before {\n display: block;\n height: 20px;\n }\n .mdc-dialog .mdc-dialog__content {\n position: var(--dialog-content-position, relative);\n padding: var(--dialog-content-padding, 20px 24px);\n }\n :host([hideactions]) .mdc-dialog .mdc-dialog__content {\n padding-bottom: max(\n var(--dialog-content-padding, 20px),\n env(safe-area-inset-bottom)\n );\n }\n .mdc-dialog .mdc-dialog__surface {\n position: var(--dialog-surface-position, relative);\n top: var(--dialog-surface-top);\n min-height: var(--mdc-dialog-min-height, auto);\n }\n :host([flexContent]) .mdc-dialog .mdc-dialog__content {\n display: flex;\n flex-direction: column;\n }\n .header_button {\n position: absolute;\n right: 16px;\n top: 10px;\n text-decoration: none;\n color: inherit;\n }\n .header_title {\n margin-right: 40px;\n }\n [dir="rtl"].header_button {\n right: auto;\n left: 16px;\n }\n [dir="rtl"].header_title {\n margin-left: 40px;\n margin-right: 0px;\n }\n ']);return V=function(){return e},e}function U(){var e=oe(['\n ',"\n "]);return U=function(){return e},e}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e,t){return!t||"object"!==H(t)&&"function"!=typeof t?q(e):t}function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function G(e){var t,n=ee(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function X(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Z(e){return e.decorators&&e.decorators.length}function J(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Q(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function ee(e){var t=function(e,t){if("object"!==H(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==H(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===H(t)?t:String(t)}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n',"\n \n
\n
\n ','\n
\n \n
\n
\n ']);return p=function(){return e},e}function h(){var e=v([""]);return h=function(){return e},e}function m(){var e=v(['\n \n ']);return m=function(){return e},e}function y(){var e=v(["",""]);return y=function(){return e},e}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n paper-item-body {\n padding-right: 16px;\n }\n \n \n
\n \n \n ']);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n \n",document.head.appendChild(r.content);var i=n(4),o=n(5),a=n(56),s=n(29),c=[a.a,s.a,{hostAttributes:{role:"option",tabindex:"0"}}];function l(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n \n']);return l=function(){return e},e}Object(i.a)({_template:Object(o.a)(l()),is:"paper-item",behaviors:[c]})},,function(e,t){},function(e,t,n){"use strict";n(3);var r=n(5);function i(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n\n \n']);return i=function(){return e},e}var o=Object(r.a)(i());o.setAttribute("style","display: none;"),document.head.appendChild(o.content)},function(e,t,n){"use strict";n(54);var r=n(0);n(96);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=s(["\n :host {\n display: inline-block;\n outline: none;\n }\n :host([disabled]) {\n pointer-events: none;\n }\n mwc-icon-button {\n --mdc-theme-on-primary: currentColor;\n --mdc-theme-text-disabled-on-light: var(--disabled-text-color);\n }\n ha-icon {\n --ha-icon-display: inline;\n }\n "]);return o=function(){return e},e}function a(){var e=s(["\n \n \n \n "]);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n :host {\n @apply --layout-inline;\n @apply --layout-center-center;\n position: relative;\n\n vertical-align: middle;\n\n fill: var(--iron-icon-fill-color, currentcolor);\n stroke: var(--iron-icon-stroke-color, none);\n\n width: var(--iron-icon-width, 24px);\n height: var(--iron-icon-height, 24px);\n @apply --iron-icon;\n }\n\n :host([hidden]) {\n display: none;\n }\n \n"]);return s=function(){return e},e}Object(r.a)({_template:Object(o.a)(s()),is:"iron-icon",properties:{icon:{type:String},theme:{type:String},src:{type:String},_meta:{value:a.a.create("iron-meta",{type:"iconset"})}},observers:["_updateIcon(_meta, isAttached)","_updateIcon(theme, isAttached)","_srcChanged(src, isAttached)","_iconChanged(icon, isAttached)"],_DEFAULT_ICONSET:"icons",_iconChanged:function(e){var t=(e||"").split(":");this._iconName=t.pop(),this._iconsetName=t.pop()||this._DEFAULT_ICONSET,this._updateIcon()},_srcChanged:function(e){this._updateIcon()},_usesIconset:function(){return this.icon||!this.src},_updateIcon:function(){this._usesIconset()?(this._img&&this._img.parentNode&&Object(i.a)(this.root).removeChild(this._img),""===this._iconName?this._iconset&&this._iconset.removeIcon(this):this._iconsetName&&this._meta&&(this._iconset=this._meta.byKey(this._iconsetName),this._iconset?(this._iconset.applyIcon(this,this._iconName,this.theme),this.unlisten(window,"iron-iconset-added","_updateIcon")):this.listen(window,"iron-iconset-added","_updateIcon"))):(this._iconset&&this._iconset.removeIcon(this),this._img||(this._img=document.createElement("img"),this._img.style.width="100%",this._img.style.height="100%",this._img.draggable=!1),this._img.src=this.src,Object(i.a)(this.root).appendChild(this._img))}})},function(e,t,n){"use strict";n(3),n(53),n(35),n(63);var r=n(4),i=n(5);function o(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \n\n \n"]);return o=function(){return e},e}Object(r.a)({_template:Object(i.a)(o()),is:"paper-item-body"})},function(e,t,n){"use strict";n(3);var r=n(25),i=n(4),o=n(2),a=n(5);function s(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n
\n
\n']);return s=function(){return e},e}var c={distance:function(e,t,n,r){var i=e-n,o=t-r;return Math.sqrt(i*i+o*o)},now:window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now};function l(e){this.element=e,this.width=this.boundingRect.width,this.height=this.boundingRect.height,this.size=Math.max(this.width,this.height)}function u(e){this.element=e,this.color=window.getComputedStyle(e).color,this.wave=document.createElement("div"),this.waveContainer=document.createElement("div"),this.wave.style.backgroundColor=this.color,this.wave.classList.add("wave"),this.waveContainer.classList.add("wave-container"),Object(o.a)(this.waveContainer).appendChild(this.wave),this.resetInteractionState()}l.prototype={get boundingRect(){return this.element.getBoundingClientRect()},furthestCornerDistanceFrom:function(e,t){var n=c.distance(e,t,0,0),r=c.distance(e,t,this.width,0),i=c.distance(e,t,0,this.height),o=c.distance(e,t,this.width,this.height);return Math.max(n,r,i,o)}},u.MAX_RADIUS=300,u.prototype={get recenters(){return this.element.recenters},get center(){return this.element.center},get mouseDownElapsed(){var e;return this.mouseDownStart?(e=c.now()-this.mouseDownStart,this.mouseUpStart&&(e-=this.mouseUpElapsed),e):0},get mouseUpElapsed(){return this.mouseUpStart?c.now()-this.mouseUpStart:0},get mouseDownElapsedSeconds(){return this.mouseDownElapsed/1e3},get mouseUpElapsedSeconds(){return this.mouseUpElapsed/1e3},get mouseInteractionSeconds(){return this.mouseDownElapsedSeconds+this.mouseUpElapsedSeconds},get initialOpacity(){return this.element.initialOpacity},get opacityDecayVelocity(){return this.element.opacityDecayVelocity},get radius(){var e=this.containerMetrics.width*this.containerMetrics.width,t=this.containerMetrics.height*this.containerMetrics.height,n=1.1*Math.min(Math.sqrt(e+t),u.MAX_RADIUS)+5,r=1.1-n/u.MAX_RADIUS*.2,i=this.mouseInteractionSeconds/r,o=n*(1-Math.pow(80,-i));return Math.abs(o)},get opacity(){return this.mouseUpStart?Math.max(0,this.initialOpacity-this.mouseUpElapsedSeconds*this.opacityDecayVelocity):this.initialOpacity},get outerOpacity(){var e=.3*this.mouseUpElapsedSeconds,t=this.opacity;return Math.max(0,Math.min(e,t))},get isOpacityFullyDecayed(){return this.opacity<.01&&this.radius>=Math.min(this.maxRadius,u.MAX_RADIUS)},get isRestingAtMaxRadius(){return this.opacity>=this.initialOpacity&&this.radius>=Math.min(this.maxRadius,u.MAX_RADIUS)},get isAnimationComplete(){return this.mouseUpStart?this.isOpacityFullyDecayed:this.isRestingAtMaxRadius},get translationFraction(){return Math.min(1,this.radius/this.containerMetrics.size*2/Math.sqrt(2))},get xNow(){return this.xEnd?this.xStart+this.translationFraction*(this.xEnd-this.xStart):this.xStart},get yNow(){return this.yEnd?this.yStart+this.translationFraction*(this.yEnd-this.yStart):this.yStart},get isMouseDown(){return this.mouseDownStart&&!this.mouseUpStart},resetInteractionState:function(){this.maxRadius=0,this.mouseDownStart=0,this.mouseUpStart=0,this.xStart=0,this.yStart=0,this.xEnd=0,this.yEnd=0,this.slideDistance=0,this.containerMetrics=new l(this.element)},draw:function(){var e,t,n;this.wave.style.opacity=this.opacity,e=this.radius/(this.containerMetrics.size/2),t=this.xNow-this.containerMetrics.width/2,n=this.yNow-this.containerMetrics.height/2,this.waveContainer.style.webkitTransform="translate("+t+"px, "+n+"px)",this.waveContainer.style.transform="translate3d("+t+"px, "+n+"px, 0)",this.wave.style.webkitTransform="scale("+e+","+e+")",this.wave.style.transform="scale3d("+e+","+e+",1)"},downAction:function(e){var t=this.containerMetrics.width/2,n=this.containerMetrics.height/2;this.resetInteractionState(),this.mouseDownStart=c.now(),this.center?(this.xStart=t,this.yStart=n,this.slideDistance=c.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)):(this.xStart=e?e.detail.x-this.containerMetrics.boundingRect.left:this.containerMetrics.width/2,this.yStart=e?e.detail.y-this.containerMetrics.boundingRect.top:this.containerMetrics.height/2),this.recenters&&(this.xEnd=t,this.yEnd=n,this.slideDistance=c.distance(this.xStart,this.yStart,this.xEnd,this.yEnd)),this.maxRadius=this.containerMetrics.furthestCornerDistanceFrom(this.xStart,this.yStart),this.waveContainer.style.top=(this.containerMetrics.height-this.containerMetrics.size)/2+"px",this.waveContainer.style.left=(this.containerMetrics.width-this.containerMetrics.size)/2+"px",this.waveContainer.style.width=this.containerMetrics.size+"px",this.waveContainer.style.height=this.containerMetrics.size+"px"},upAction:function(e){this.isMouseDown&&(this.mouseUpStart=c.now())},remove:function(){Object(o.a)(this.waveContainer.parentNode).removeChild(this.waveContainer)}},Object(i.a)({_template:Object(a.a)(s()),is:"paper-ripple",behaviors:[r.a],properties:{initialOpacity:{type:Number,value:.25},opacityDecayVelocity:{type:Number,value:.8},recenters:{type:Boolean,value:!1},center:{type:Boolean,value:!1},ripples:{type:Array,value:function(){return[]}},animating:{type:Boolean,readOnly:!0,reflectToAttribute:!0,value:!1},holdDown:{type:Boolean,value:!1,observer:"_holdDownChanged"},noink:{type:Boolean,value:!1},_animating:{type:Boolean},_boundAnimate:{type:Function,value:function(){return this.animate.bind(this)}}},get target(){return this.keyEventTarget},keyBindings:{"enter:keydown":"_onEnterKeydown","space:keydown":"_onSpaceKeydown","space:keyup":"_onSpaceKeyup"},attached:function(){11==this.parentNode.nodeType?this.keyEventTarget=Object(o.a)(this).getOwnerRoot().host:this.keyEventTarget=this.parentNode;var e=this.keyEventTarget;this.listen(e,"up","uiUpAction"),this.listen(e,"down","uiDownAction")},detached:function(){this.unlisten(this.keyEventTarget,"up","uiUpAction"),this.unlisten(this.keyEventTarget,"down","uiDownAction"),this.keyEventTarget=null},get shouldKeepAnimating(){for(var e=0;e0||(this.addRipple().downAction(e),this._animating||(this._animating=!0,this.animate()))},uiUpAction:function(e){this.noink||this.upAction(e)},upAction:function(e){this.holdDown||(this.ripples.forEach((function(t){t.upAction(e)})),this._animating=!0,this.animate())},onAnimationComplete:function(){this._animating=!1,this.$.background.style.backgroundColor=null,this.fire("transitionend")},addRipple:function(){var e=new u(this);return Object(o.a)(this.$.waves).appendChild(e.waveContainer),this.$.background.style.backgroundColor=e.color,this.ripples.push(e),this._setAnimating(!0),e},removeRipple:function(e){var t=this.ripples.indexOf(e);t<0||(this.ripples.splice(t,1),e.remove(),this.ripples.length||this._setAnimating(!1))},animate:function(){if(this._animating){var e,t;for(e=0;e\n \n\n
','
\n \n \n
e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n :host {\n display: block;\n padding: 8px 0;\n\n background: var(--paper-listbox-background-color, var(--primary-background-color));\n color: var(--paper-listbox-color, var(--primary-text-color));\n\n @apply --paper-listbox;\n }\n \n\n \n"]);return a=function(){return e},e}Object(i.a)({_template:Object(o.a)(a()),is:"paper-listbox",behaviors:[r.a],hostAttributes:{role:"listbox"}})},function(e,t,n){"use strict";var r=n(0);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){var e=s(["\n pre {\n overflow-x: auto;\n white-space: pre-wrap;\n overflow-wrap: break-word;\n }\n .bold {\n font-weight: bold;\n }\n .italic {\n font-style: italic;\n }\n .underline {\n text-decoration: underline;\n }\n .strikethrough {\n text-decoration: line-through;\n }\n .underline.strikethrough {\n text-decoration: underline line-through;\n }\n .fg-red {\n color: rgb(222, 56, 43);\n }\n .fg-green {\n color: rgb(57, 181, 74);\n }\n .fg-yellow {\n color: rgb(255, 199, 6);\n }\n .fg-blue {\n color: rgb(0, 111, 184);\n }\n .fg-magenta {\n color: rgb(118, 38, 113);\n }\n .fg-cyan {\n color: rgb(44, 181, 233);\n }\n .fg-white {\n color: rgb(204, 204, 204);\n }\n .bg-black {\n background-color: rgb(0, 0, 0);\n }\n .bg-red {\n background-color: rgb(222, 56, 43);\n }\n .bg-green {\n background-color: rgb(57, 181, 74);\n }\n .bg-yellow {\n background-color: rgb(255, 199, 6);\n }\n .bg-blue {\n background-color: rgb(0, 111, 184);\n }\n .bg-magenta {\n background-color: rgb(118, 38, 113);\n }\n .bg-cyan {\n background-color: rgb(44, 181, 233);\n }\n .bg-white {\n background-color: rgb(204, 204, 204);\n }\n "]);return o=function(){return e},e}function a(){var e=s(["",""]);return a=function(){return e},e}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){var t,n=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function m(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function v(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function g(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a-1&&(this._interestedResizables.splice(t,1),this._unsubscribeIronResize(e))},_subscribeIronResize:function(e){e.addEventListener("iron-resize",this._boundOnDescendantIronResize)},_unsubscribeIronResize:function(e){e.removeEventListener("iron-resize",this._boundOnDescendantIronResize)},resizerShouldNotify:function(e){return!0},_onDescendantIronResize:function(e){this._notifyingDescendant?e.stopPropagation():s.f||this._fireResize()},_fireResize:function(){this.fire("iron-resize",null,{node:this,bubbles:!1})},_onIronRequestResizeNotifications:function(e){var t=Object(o.a)(e).rootTarget;t!==this&&(t.assignParentResizable(this),this._notifyDescendant(t),e.stopPropagation())},_parentResizableChanged:function(e){e&&window.removeEventListener("resize",this._boundNotifyResize)},_notifyDescendant:function(e){this.isAttached&&(this._notifyingDescendant=!0,e.notifyResize(),this._notifyingDescendant=!1)},_requestResizeNotifications:function(){if(this.isAttached)if("loading"===document.readyState){var e=this._requestResizeNotifications.bind(this);document.addEventListener("readystatechange",(function t(){document.removeEventListener("readystatechange",t),e()}))}else this._findParent(),this._parentResizable?this._parentResizable._interestedResizables.forEach((function(e){e!==this&&e._findParent()}),this):(c.forEach((function(e){e!==this&&e._findParent()}),this),window.addEventListener("resize",this._boundNotifyResize),this.notifyResize())},_findParent:function(){this.assignParentResizable(null),this.fire("iron-request-resize-notifications",null,{node:this,bubbles:!0,cancelable:!0}),this._parentResizable?c.delete(this):c.add(this)}},u=Element.prototype,d=u.matches||u.matchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector||u.webkitMatchesSelector,f={getTabbableNodes:function(e){var t=[];return this._collectTabbableNodes(e,t)?this._sortByTabIndex(t):t},isFocusable:function(e){return d.call(e,"input, select, textarea, button, object")?d.call(e,":not([disabled])"):d.call(e,"a[href], area[href], iframe, [tabindex], [contentEditable]")},isTabbable:function(e){return this.isFocusable(e)&&d.call(e,':not([tabindex="-1"])')&&this._isVisible(e)},_normalizedTabIndex:function(e){if(this.isFocusable(e)){var t=e.getAttribute("tabindex")||0;return Number(t)}return-1},_collectTabbableNodes:function(e,t){if(e.nodeType!==Node.ELEMENT_NODE||!this._isVisible(e))return!1;var n,r=e,i=this._normalizedTabIndex(r),a=i>0;i>=0&&t.push(r),n="content"===r.localName||"slot"===r.localName?Object(o.a)(r).getDistributedNodes():Object(o.a)(r.root||r).children;for(var s=0;s0&&t.length>0;)this._hasLowerTabOrder(e[0],t[0])?n.push(t.shift()):n.push(e.shift());return n.concat(e,t)},_hasLowerTabOrder:function(e,t){var n=Math.max(e.tabIndex,0),r=Math.max(t.tabIndex,0);return 0===n||0===r?r>n:n>r}},p=n(4),h=n(5);function m(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \n\n \n"]);return m=function(){return e},e}Object(p.a)({_template:Object(h.a)(m()),is:"iron-overlay-backdrop",properties:{opened:{reflectToAttribute:!0,type:Boolean,value:!1,observer:"_openedChanged"}},listeners:{transitionend:"_onTransitionend"},created:function(){this.__openedRaf=null},attached:function(){this.opened&&this._openedChanged(this.opened)},prepare:function(){this.opened&&!this.parentNode&&Object(o.a)(document.body).appendChild(this)},open:function(){this.opened=!0},close:function(){this.opened=!1},complete:function(){this.opened||this.parentNode!==document.body||Object(o.a)(this.parentNode).removeChild(this)},_onTransitionend:function(e){e&&e.target===this&&this.complete()},_openedChanged:function(e){if(e)this.prepare();else{var t=window.getComputedStyle(this);"0s"!==t.transitionDuration&&0!=t.opacity||this.complete()}this.isAttached&&(this.__openedRaf&&(window.cancelAnimationFrame(this.__openedRaf),this.__openedRaf=null),this.scrollTop=this.scrollTop,this.__openedRaf=window.requestAnimationFrame(function(){this.__openedRaf=null,this.toggleClass("opened",this.opened)}.bind(this)))}});var y=n(51),v=function(){this._overlays=[],this._minimumZ=101,this._backdropElement=null,y.a(document.documentElement,"tap",(function(){})),document.addEventListener("tap",this._onCaptureClick.bind(this),!0),document.addEventListener("focus",this._onCaptureFocus.bind(this),!0),document.addEventListener("keydown",this._onCaptureKeyDown.bind(this),!0)};v.prototype={constructor:v,get backdropElement(){return this._backdropElement||(this._backdropElement=document.createElement("iron-overlay-backdrop")),this._backdropElement},get deepActiveElement(){var e=document.activeElement;for(e&&e instanceof Element!=!1||(e=document.body);e.root&&Object(o.a)(e.root).activeElement;)e=Object(o.a)(e.root).activeElement;return e},_bringOverlayAtIndexToFront:function(e){var t=this._overlays[e];if(t){var n=this._overlays.length-1,r=this._overlays[n];if(r&&this._shouldBeBehindOverlay(t,r)&&n--,!(e>=n)){var i=Math.max(this.currentOverlayZ(),this._minimumZ);for(this._getZ(t)<=i&&this._applyOverlayZ(t,i);e=0)return this._bringOverlayAtIndexToFront(t),void this.trackBackdrop();var n=this._overlays.length,r=this._overlays[n-1],i=Math.max(this._getZ(r),this._minimumZ),o=this._getZ(e);if(r&&this._shouldBeBehindOverlay(e,r)){this._applyOverlayZ(r,i),n--;var a=this._overlays[n-1];i=Math.max(this._getZ(a),this._minimumZ)}o<=i&&this._applyOverlayZ(e,i),this._overlays.splice(n,0,e),this.trackBackdrop()},removeOverlay:function(e){var t=this._overlays.indexOf(e);-1!==t&&(this._overlays.splice(t,1),this.trackBackdrop())},currentOverlay:function(){var e=this._overlays.length-1;return this._overlays[e]},currentOverlayZ:function(){return this._getZ(this.currentOverlay())},ensureMinimumZ:function(e){this._minimumZ=Math.max(this._minimumZ,e)},focusOverlay:function(){var e=this.currentOverlay();e&&e._applyFocus()},trackBackdrop:function(){var e=this._overlayWithBackdrop();(e||this._backdropElement)&&(this.backdropElement.style.zIndex=this._getZ(e)-1,this.backdropElement.opened=!!e,this.backdropElement.prepare())},getBackdrops:function(){for(var e=[],t=0;t=0;e--)if(this._overlays[e].withBackdrop)return this._overlays[e]},_getZ:function(e){var t=this._minimumZ;if(e){var n=Number(e.style.zIndex||window.getComputedStyle(e).zIndex);n==n&&(t=n)}return t},_setZ:function(e,t){e.style.zIndex=t},_applyOverlayZ:function(e,t){this._setZ(e,t+2)},_overlayInPath:function(e){e=e||[];for(var t=0;t=0||(0===j.length&&function(){b=b||C.bind(void 0);for(var e=0,t=x.length;e=Math.abs(t),i=0;i0:o.scrollTop0:o.scrollLeft=0))switch(this.scrollAction){case"lock":this.__restoreScrollPosition();break;case"refit":this.__deraf("refit",this.refit);break;case"cancel":this.cancel(e)}},__saveScrollPosition:function(){document.scrollingElement?(this.__scrollTop=document.scrollingElement.scrollTop,this.__scrollLeft=document.scrollingElement.scrollLeft):(this.__scrollTop=Math.max(document.documentElement.scrollTop,document.body.scrollTop),this.__scrollLeft=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft))},__restoreScrollPosition:function(){document.scrollingElement?(document.scrollingElement.scrollTop=this.__scrollTop,document.scrollingElement.scrollLeft=this.__scrollLeft):(document.documentElement.scrollTop=document.body.scrollTop=this.__scrollTop,document.documentElement.scrollLeft=document.body.scrollLeft=this.__scrollLeft)}},P=[a,l,A],T=[{properties:{animationConfig:{type:Object},entryAnimation:{observer:"_entryAnimationChanged",type:String},exitAnimation:{observer:"_exitAnimationChanged",type:String}},_entryAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.entry=[{name:this.entryAnimation,node:this}]},_exitAnimationChanged:function(){this.animationConfig=this.animationConfig||{},this.animationConfig.exit=[{name:this.exitAnimation,node:this}]},_copyProperties:function(e,t){for(var n in t)e[n]=t[n]},_cloneConfig:function(e){var t={isClone:!0};return this._copyProperties(t,e),t},_getAnimationConfigRecursive:function(e,t,n){var r;if(this.animationConfig)if(this.animationConfig.value&&"function"==typeof this.animationConfig.value)this._warn(this._logf("playAnimation","Please put 'animationConfig' inside of your components 'properties' object instead of outside of it."));else if(r=e?this.animationConfig[e]:this.animationConfig,Array.isArray(r)||(r=[r]),r)for(var i,o=0;i=r[o];o++)if(i.animatable)i.animatable._getAnimationConfigRecursive(i.type||e,t,n);else if(i.id){var a=t[i.id];a?(a.isClone||(t[i.id]=this._cloneConfig(a),a=t[i.id]),this._copyProperties(a,i)):t[i.id]=i}else n.push(i)},getAnimationConfig:function(e){var t={},n=[];for(var r in this._getAnimationConfigRecursive(e,t,n),t)n.push(t[r]);return n}},{_configureAnimations:function(e){var t=[],n=[];if(e.length>0)for(var r,i=0;r=e[i];i++){var o=document.createElement(r.name);if(o.isNeonAnimation){var a;o.configure||(o.configure=function(e){return null}),a=o.configure(r),n.push({result:a,config:r,neonAnimation:o})}else console.warn(this.is+":",r.name,"not found!")}for(var s=0;s\n :host {\n position: fixed;\n }\n\n #contentWrapper ::slotted(*) {\n overflow: auto;\n }\n\n #contentWrapper.animating ::slotted(*) {\n overflow: hidden;\n pointer-events: none;\n }\n \n\n
\n \n
\n']);return R=function(){return e},e}Object(p.a)({_template:Object(h.a)(R()),is:"iron-dropdown",behaviors:[i.a,r.a,P,T],properties:{horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},openAnimationConfig:{type:Object},closeAnimationConfig:{type:Object},focusTarget:{type:Object},noAnimations:{type:Boolean,value:!1},allowOutsideScroll:{type:Boolean,value:!1,observer:"_allowOutsideScrollChanged"}},listeners:{"neon-animation-finish":"_onNeonAnimationFinish"},observers:["_updateOverlayPosition(positionTarget, verticalAlign, horizontalAlign, verticalOffset, horizontalOffset)"],get containedElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t\n :host {\n display: inline-block;\n position: relative;\n padding: 8px;\n outline: none;\n\n @apply --paper-menu-button;\n }\n\n :host([disabled]) {\n cursor: auto;\n color: var(--disabled-text-color);\n\n @apply --paper-menu-button-disabled;\n }\n\n iron-dropdown {\n @apply --paper-menu-button-dropdown;\n }\n\n .dropdown-content {\n @apply --shadow-elevation-2dp;\n\n position: relative;\n border-radius: 2px;\n background-color: var(--paper-menu-button-dropdown-background, var(--primary-background-color));\n\n @apply --paper-menu-button-content;\n }\n\n :host([vertical-align="top"]) .dropdown-content {\n margin-bottom: 20px;\n margin-top: -10px;\n top: 10px;\n }\n\n :host([vertical-align="bottom"]) .dropdown-content {\n bottom: 10px;\n margin-bottom: -10px;\n margin-top: 20px;\n }\n\n #trigger {\n cursor: pointer;\n }\n \n\n
\n \n
\n\n \n \n \n']);return D=function(){return e},e}Object(p.a)({is:"paper-menu-grow-height-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this._effect=new KeyframeEffect(t,[{height:n/2+"px"},{height:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-grow-width-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n/2+"px"},{width:n+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-shrink-width-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().width;return this._effect=new KeyframeEffect(t,[{width:n+"px"},{width:n-n/20+"px"}],this.timingFromConfig(e)),this._effect}}),Object(p.a)({is:"paper-menu-shrink-height-animation",behaviors:[I],configure:function(e){var t=e.node,n=t.getBoundingClientRect().height;return this.setPrefixedProperty(t,"transformOrigin","0 0"),this._effect=new KeyframeEffect(t,[{height:n+"px",transform:"translateY(0)"},{height:n/2+"px",transform:"translateY(-20px)"}],this.timingFromConfig(e)),this._effect}});var z={ANIMATION_CUBIC_BEZIER:"cubic-bezier(.3,.95,.5,1)",MAX_ANIMATION_TIME_MS:400},F=Object(p.a)({_template:Object(h.a)(D()),is:"paper-menu-button",behaviors:[r.a,i.a],properties:{opened:{type:Boolean,value:!1,notify:!0,observer:"_openedChanged"},horizontalAlign:{type:String,value:"left",reflectToAttribute:!0},verticalAlign:{type:String,value:"top",reflectToAttribute:!0},dynamicAlign:{type:Boolean},horizontalOffset:{type:Number,value:0,notify:!0},verticalOffset:{type:Number,value:0,notify:!0},noOverlap:{type:Boolean},noAnimations:{type:Boolean,value:!1},ignoreSelect:{type:Boolean,value:!1},closeOnActivate:{type:Boolean,value:!1},openAnimationConfig:{type:Object,value:function(){return[{name:"fade-in-animation",timing:{delay:100,duration:200}},{name:"paper-menu-grow-width-animation",timing:{delay:100,duration:150,easing:z.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-grow-height-animation",timing:{delay:100,duration:275,easing:z.ANIMATION_CUBIC_BEZIER}}]}},closeAnimationConfig:{type:Object,value:function(){return[{name:"fade-out-animation",timing:{duration:150}},{name:"paper-menu-shrink-width-animation",timing:{delay:100,duration:50,easing:z.ANIMATION_CUBIC_BEZIER}},{name:"paper-menu-shrink-height-animation",timing:{duration:200,easing:"ease-in"}}]}},allowOutsideScroll:{type:Boolean,value:!1},restoreFocusOnClose:{type:Boolean,value:!0},_dropdownContent:{type:Object}},hostAttributes:{role:"group","aria-haspopup":"true"},listeners:{"iron-activate":"_onIronActivate","iron-select":"_onIronSelect"},get contentElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t-1&&e.preventDefault()}});Object.keys(z).forEach((function(e){F[e]=z[e]}));n(112);var L=n(75);Object(p.a)({is:"iron-iconset-svg",properties:{name:{type:String,observer:"_nameChanged"},size:{type:Number,value:24},rtlMirroring:{type:Boolean,value:!1},useGlobalRtlAttribute:{type:Boolean,value:!1}},created:function(){this._meta=new L.a({type:"iconset",key:null,value:null})},attached:function(){this.style.display="none"},getIconNames:function(){return this._icons=this._createIconMap(),Object.keys(this._icons).map((function(e){return this.name+":"+e}),this)},applyIcon:function(e,t){this.removeIcon(e);var n=this._cloneIcon(t,this.rtlMirroring&&this._targetIsRTL(e));if(n){var r=Object(o.a)(e.root||e);return r.insertBefore(n,r.childNodes[0]),e._svgIcon=n}return null},removeIcon:function(e){e._svgIcon&&(Object(o.a)(e.root||e).removeChild(e._svgIcon),e._svgIcon=null)},_targetIsRTL:function(e){if(null==this.__targetIsRTL)if(this.useGlobalRtlAttribute){var t=document.body&&document.body.hasAttribute("dir")?document.body:document.documentElement;this.__targetIsRTL="rtl"===t.getAttribute("dir")}else e&&e.nodeType!==Node.ELEMENT_NODE&&(e=e.host),this.__targetIsRTL=e&&"rtl"===window.getComputedStyle(e).direction;return this.__targetIsRTL},_nameChanged:function(){this._meta.value=null,this._meta.key=this.name,this._meta.value=this,this.async((function(){this.fire("iron-iconset-added",this,{node:window})}))},_createIconMap:function(){var e=Object.create(null);return Object(o.a)(this).querySelectorAll("[id]").forEach((function(t){e[t.id]=t})),e},_cloneIcon:function(e,t){return this._icons=this._icons||this._createIconMap(),this._prepareSvgClone(this._icons[e],this.size,t)},_prepareSvgClone:function(e,t,n){if(e){var r=e.cloneNode(!0),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=r.getAttribute("viewBox")||"0 0 "+t+" "+t,a="pointer-events: none; display: block; width: 100%; height: 100%;";return n&&r.hasAttribute("mirror-in-rtl")&&(a+="-webkit-transform:scale(-1,1);transform:scale(-1,1);transform-origin:center;"),i.setAttribute("viewBox",o),i.setAttribute("preserveAspectRatio","xMidYMid meet"),i.setAttribute("focusable","false"),i.style.cssText=a,i.appendChild(r).removeAttribute("id"),i}return null}});var N=document.createElement("template");N.setAttribute("style","display: none;"),N.innerHTML='\n\n\n\n',document.head.appendChild(N.content);var M=document.createElement("template");M.setAttribute("style","display: none;"),M.innerHTML='\n \n',document.head.appendChild(M.content);var B=n(56),H=n(69),V=n(59);function U(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n \n\n \x3c!-- this div fulfills an a11y requirement for combobox, do not remove --\x3e\n \n \n \x3c!-- support hybrid mode: user might be using paper-menu-button 1.x which distributes via --\x3e\n \n \n \n']);return U=function(){return e},e}Object(p.a)({_template:Object(h.a)(U()),is:"paper-dropdown-menu",behaviors:[B.a,i.a,H.a,V.a],properties:{selectedItemLabel:{type:String,notify:!0,readOnly:!0},selectedItem:{type:Object,notify:!0,readOnly:!0},value:{type:String,notify:!0},label:{type:String},placeholder:{type:String},errorMessage:{type:String},opened:{type:Boolean,notify:!0,value:!1,observer:"_openedChanged"},allowOutsideScroll:{type:Boolean,value:!1},noLabelFloat:{type:Boolean,value:!1,reflectToAttribute:!0},alwaysFloatLabel:{type:Boolean,value:!1},noAnimations:{type:Boolean,value:!1},horizontalAlign:{type:String,value:"right"},verticalAlign:{type:String,value:"top"},verticalOffset:Number,dynamicAlign:{type:Boolean},restoreFocusOnClose:{type:Boolean,value:!0}},listeners:{tap:"_onTap"},keyBindings:{"up down":"open",esc:"close"},hostAttributes:{role:"combobox","aria-autocomplete":"none","aria-haspopup":"true"},observers:["_selectedItemChanged(selectedItem)"],attached:function(){var e=this.contentElement;e&&e.selectedItem&&this._setSelectedItem(e.selectedItem)},get contentElement(){for(var e=Object(o.a)(this.$.content).getDistributedNodes(),t=0,n=e.length;t=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}("object"===t(e)?e.exports:{});try{regeneratorRuntime=n}catch(r){Function("r","regeneratorRuntime = r")(n)}}).call(this,n(121)(e))},function(e,t,n){"use strict";var r;(r="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?global:self).Proxy||(r.Proxy=n(129)(),r.Proxy.revocable=r.Proxy.revocable)},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(){var e,t=null;function r(e){return!!e&&("object"===n(e)||"function"==typeof e)}return(e=function(e,n){if(!r(e)||!r(n))throw new TypeError("Cannot create proxy with a non-object as target or handler");var i=function(){};t=function(){e=null,i=function(e){throw new TypeError("Cannot perform '".concat(e,"' on a proxy that has been revoked"))}},setTimeout((function(){t=null}),0);var o=n;for(var a in n={get:null,set:null,apply:null,construct:null},o){if(!(a in n))throw new TypeError("Proxy polyfill does not support trap '".concat(a,"'"));n[a]=o[a]}"function"==typeof o&&(n.apply=o.apply.bind(o));var s=this,c=!1,l=!1;"function"==typeof e?(s=function(){var t=this&&this.constructor===s,r=Array.prototype.slice.call(arguments);if(i(t?"construct":"apply"),t&&n.construct)return n.construct.call(this,e,r);if(!t&&n.apply)return n.apply(e,this,r);if(t){r.unshift(e);var o=e.bind.apply(e,r);return new o}return e.apply(this,r)},c=!0):e instanceof Array&&(s=[],l=!0);var u=n.get?function(e){return i("get"),n.get(this,e,s)}:function(e){return i("get"),this[e]},d=n.set?function(e,t){i("set");n.set(this,e,t,s)}:function(e,t){i("set"),this[e]=t},f=Object.getOwnPropertyNames(e),p={};f.forEach((function(t){if(!c&&!l||!(t in s)){var n={enumerable:!!Object.getOwnPropertyDescriptor(e,t).enumerable,get:u.bind(e,t),set:d.bind(e,t)};Object.defineProperty(s,t,n),p[t]=!0}}));var h=!0;if(Object.setPrototypeOf?Object.setPrototypeOf(s,Object.getPrototypeOf(e)):s.__proto__?s.__proto__=e.__proto__:h=!1,n.get||!h)for(var m in e)p[m]||Object.defineProperty(s,m,{get:u.bind(e,m)});return Object.seal(e),Object.seal(s),s}).revocable=function(n,r){return{proxy:new e(n,r),revoke:t}},e}},function(e,t){var n=document.createElement("template");n.setAttribute("style","display: none;"),n.innerHTML='',document.head.appendChild(n.content)},function(e,t){},function(e,t,n){"use strict";n.r(t);n(44),n(54);var r=n(10),i=(n(81),n(105),n(111),n(0)),o=n(39),a=(n(80),n(102),n(33),n(62)),s=n(6),c=n(26),l=n(13);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){var e=v(["\n ha-dialog.button-left {\n --justify-action-buttons: flex-start;\n }\n paper-icon-item {\n cursor: pointer;\n }\n .form {\n color: var(--primary-text-color);\n }\n .option {\n border: 1px solid var(--divider-color);\n border-radius: 4px;\n margin-top: 4px;\n }\n mwc-button {\n margin-left: 8px;\n }\n ha-paper-dropdown-menu {\n display: block;\n }\n "]);return d=function(){return e},e}function f(){var e=v([""]);return f=function(){return e},e}function p(){var e=v(["\n \n No repositories\n \n "]);return p=function(){return e},e}function h(){var e=v(['\n \n \n
',"
\n
","
\n
","
\n
\n ',"
"]);return m=function(){return e},e}function y(){var e=v(["\n \n ','\n
\n ','\n
\n \n
\n
\n \n Close\n \n \n ']);return y=function(){return e},e}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function b(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){b(o,r,i,a,s,"next",e)}function s(e){b(o,r,i,a,s,"throw",e)}a(void 0)}))}}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){var t,n=T(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function j(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function C(e){return e.decorators&&e.decorators.length}function A(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function P(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function T(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&a>0&&n[o]===r[a];)o--,a--;n[o]!==r[a]&&this[h](n[o],r[a]),o>0&&this[y](n.slice(0,o)),a>0&&this[m](r.slice(0,a),i,null)}else this[m](r,i,t)}},{key:h,value:function(e,t){var n=e[d];this[g](e)&&!e.inert&&(e.inert=!0,n.add(e)),n.has(t)&&(t.inert=!1,n.delete(t)),t[f]=e[f],t[d]=n,e[f]=void 0,e[d]=void 0}},{key:y,value:function(e){var t,r=n(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;i[f].disconnect(),i[f]=void 0;var o,a=n(i[d]);try{for(a.s();!(o=a.n()).done;)o.value.inert=!1}catch(s){a.e(s)}finally{a.f()}i[d]=void 0}}catch(s){r.e(s)}finally{r.f()}}},{key:m,value:function(e,t,r){var i,o=n(e);try{for(o.s();!(i=o.n()).done;){for(var a=i.value,s=a.parentNode,c=s.children,l=new Set,u=0;u>10),56320+(e-65536&1023))}for(var O=new Array(256),x=new Array(256),E=0;E<256;E++)O[E]=w(E)?1:0,x[E]=w(E);function S(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||c,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function j(e,t){return new o(t,new a(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function C(e,t){throw j(e,t)}function A(e,t){e.onWarning&&e.onWarning.call(null,j(e,t))}var P={YAML:function(e,t,n){var r,i,o;null!==e.version&&C(e,"duplication of %YAML directive"),1!==n.length&&C(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&C(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),o=parseInt(r[2],10),1!==i&&C(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&A(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,i;2!==n.length&&C(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],p.test(r)||C(e,"ill-formed tag handle (first argument) of the TAG directive"),l.call(e.tagMap,r)&&C(e,'there is a previously declared suffix for "'+r+'" tag handle'),h.test(i)||C(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=i}};function T(e,t,n,r){var i,o,a,s;if(t1&&(e.result+=i.repeat("\n",t-1))}function N(e,t){var n,r,i=e.tag,o=e.anchor,a=[],s=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&45===r&&b(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,z(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,H(e,t,3,!1,!0),a.push(e.result),z(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)C(e,"bad indentation of a sequence entry");else if(e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt?m=1:e.lineIndent===t?m=0:e.lineIndentt)&&(H(e,t,4,!0,i)&&(m?p=e.result:h=e.result),m||(I(e,u,d,f,p,h,o,a),f=p=h=null),z(e,!0,-1),s=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==s)C(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?C(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?C(e,"repeat of an indentation width identifier"):(d=t+o-1,u=!0)}if(v(a)){do{a=e.input.charCodeAt(++e.position)}while(v(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!y(a)&&0!==a)}for(;0!==a;){for(D(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentd&&(d=e.lineIndent),y(a))f++;else{if(e.lineIndent0){for(i=a,o=0;i>0;i--)(a=_(s=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:C(e,"expected hexadecimal character");e.result+=k(o),e.position++}else C(e,"unknown escape sequence");n=r=e.position}else y(s)?(T(e,n,r,!0),L(e,z(e,!1,t)),n=r=e.position):e.position===e.lineStart&&F(e)?C(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}C(e,"unexpected end of the stream within a double quoted scalar")}(e,p)?E=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!b(r)&&!g(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&C(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e.anchorMap.hasOwnProperty(n)||C(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],z(e,!0,-1),!0}(e)?function(e,t,n){var r,i,o,a,s,c,l,u,d=e.kind,f=e.result;if(b(u=e.input.charCodeAt(e.position))||g(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(b(r=e.input.charCodeAt(e.position+1))||n&&g(r)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;0!==u;){if(58===u){if(b(r=e.input.charCodeAt(e.position+1))||n&&g(r))break}else if(35===u){if(b(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||n&&g(u))break;if(y(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,z(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=o,e.line=s,e.lineStart=c,e.lineIndent=l;break}}a&&(T(e,i,o,!1),L(e,e.line-s),i=o=e.position,a=!1),v(u)||(o=e.position+1),u=e.input.charCodeAt(++e.position)}return T(e,i,o,!1),!!e.result||(e.kind=d,e.result=f,!1)}(e,p,1===n)&&(E=!0,null===e.tag&&(e.tag="?")):(E=!0,null===e.tag&&null===e.anchor||C(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===m&&(E=c&&N(e,h))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(u=0,d=e.implicitTypes.length;u tag; it should be "'+f.kind+'", not "'+e.kind+'"'),f.resolve(e.result)?(e.result=f.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):C(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):C(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||E}function V(e){var t,n,r,i,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(i=e.input.charCodeAt(e.position))&&(z(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(a=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!b(i);)i=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&C(e,"directive name must not be less than one character in length");0!==i;){for(;v(i);)i=e.input.charCodeAt(++e.position);if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!y(i));break}if(y(i))break;for(t=e.position;0!==i&&!b(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&D(e),l.call(P,n)?P[n](e,n,r):A(e,'unknown document directive "'+n+'"')}z(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,z(e,!0,-1)):a&&C(e,"directives end mark is expected"),H(e,e.lineIndent-1,4,!1,!0),z(e,!0,-1),e.checkLineBreaks&&d.test(e.input.slice(o,e.position))&&A(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,z(e,!0,-1)):e.position0&&-1==="\0\r\nÂ…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return s=this.buffer.slice(i,a),r.repeat(" ",e)+n+s+o+"\n"+r.repeat(" ",e+this.position-i+n.length)+"^"},i.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n},e.exports=i},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(64),i=n(23);function o(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new i("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,i=0,s=!1;if(!r)return!1;if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===r)return!0;if("b"===(t=e[++i])){for(i++;i=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},function(e,t,n){"use strict";var r=n(64),i=n(23),o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var a=/^[-+]?[0-9]+e/;e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!o.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,i;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,i=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){i.unshift(parseFloat(e,10))})),t=0,r=1,i.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},function(e,t,n){"use strict";var r=n(23),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");e.exports=new r("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==i.exec(e)||null!==o.exec(e))},construct:function(e){var t,n,r,a,s,c,l,u,d=0,f=null;if(null===(t=i.exec(e))&&(t=o.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,a=+t[3],!t[4])return new Date(Date.UTC(n,r,a));if(s=+t[4],c=+t[5],l=+t[6],t[7]){for(d=t[7].slice(0,3);d.length<3;)d+="0";d=+d}return t[9]&&(f=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(f=-f)),u=new Date(Date.UTC(n,r,a,s,c,l,d)),f&&u.setTime(u.getTime()-f),u},instanceOf:Date,represent:function(e){return e.toISOString()}})},function(e,t,n){"use strict";var r=n(23);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},function(e,t,n){"use strict";var r;try{r=n(148).Buffer}catch(a){}var i=n(23),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=o;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),a=i.length,s=o,c=0,l=[];for(t=0;t>16&255),l.push(c>>8&255),l.push(255&c)),c=c<<6|s.indexOf(i.charAt(t));return 0===(n=a%4*6)?(l.push(c>>16&255),l.push(c>>8&255),l.push(255&c)):18===n?(l.push(c>>10&255),l.push(c>>2&255)):12===n&&l.push(c>>4&255),r?r.from?r.from(l):new r(l):l},predicate:function(e){return r&&r.isBuffer(e)},represent:function(e){var t,n,r="",i=0,a=e.length,s=o;for(t=0;t>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},function(e,t,n){"use strict";var r=n(149),i=n(150),o=n(151);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return j(this,t,n);case"latin1":case"binary":return C(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;os&&(n=s-c),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(u=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function z(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return o||z(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return o||z(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function V(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=l}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,l=8*o-i-1,u=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*c-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*m}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";var r=n(23),i=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,c=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}})},function(e,t,n){"use strict";var r;try{r=n(!function(){var e=new Error("Cannot find module 'esprima'");throw e.code="MODULE_NOT_FOUND",e}())}catch(o){"undefined"!=typeof window&&(r=window.esprima)}var i=n(23);e.exports=new i("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=r.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(i){return!1}},construct:function(e){var t,n="("+e+")",i=r.parse(n,{range:!0}),o=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}})},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(64),o=n(72),a=n(83),s=n(73),c=Object.prototype.toString,l=Object.prototype.hasOwnProperty,u={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},d=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function f(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else{if(!(e<=4294967295))throw new o("code point within a string may not be greater than 0xFFFFFFFF");n="U",r=8}return"\\"+n+i.repeat("0",r-t.length)+t}function p(e){this.schema=e.schema||a,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=i.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var n,r,i,o,a,s,c;if(null===t)return{};for(n={},i=0,o=(r=Object.keys(t)).length;ir&&" "!==e[d+1],d=o);else if(!v(a))return 5;f=f&&b(a)}l=l||u&&o-d-1>r&&" "!==e[d+1]}return c||l?n>9&&g(e)?5:l?4:3:f&&!i(e)?1:2}function w(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==d.indexOf(t))return"'"+t+"'";var i=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),s=r||e.flowLevel>-1&&n>=e.flowLevel;switch(_(t,s,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+k(t,e.indent)+O(h(function(e,t){var n,r,i=/(\n+)([^\n]*)/g,o=(s=e.indexOf("\n"),s=-1!==s?s:e.length,i.lastIndex=s,x(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=i.exec(e);){var c=r[1],l=r[2];n=" "===l[0],o+=c+(a||n||""===l?"":"\n")+x(l,t),a=n}return o}(t,a),i));case 5:return'"'+function(e){for(var t,n,r,i="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(i+=f(1024*(t-55296)+n-56320+65536),o++):(r=u[t],i+=!r&&v(t)?e[o]:r||f(t));return i}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function k(e,t){var n=g(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function O(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function x(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,o=0,a=0,s=0,c="";n=i.exec(e);)(s=n.index)-o>t&&(r=a>o?a:s,c+="\n"+e.slice(o,r),o=r+1),a=s;return c+="\n",e.length-o>t&&a>o?c+=e.slice(o,a)+"\n"+e.slice(a+1):c+=e.slice(o),c.slice(1)}function E(e,t,n){var i,a,s,u,d,f;for(s=0,u=(a=n?e.explicitTypes:e.implicitTypes).length;s tag resolver accepts not "'+f+'" style');i=d.represent[f](t,f)}e.dump=i}return!0}return!1}function S(e,t,n,r,i,a){e.tag=null,e.dump=n,E(e,n,!1)||E(e,n,!0);var s=c.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var l,u,d="[object Object]"===s||"[object Array]"===s;if(d&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(i=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(d&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===s)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,a,s,c,l,u,d="",f=e.tag,p=Object.keys(n);if(!0===e.sortKeys)p.sort();else if("function"==typeof e.sortKeys)p.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,a=p.length;i1024)&&(e.dump&&10===e.dump.charCodeAt(0)?u+="?":u+="? "),u+=e.dump,l&&(u+=m(e,t)),S(e,t+1,c,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?u+=":":u+=": ",d+=u+=e.dump));e.tag=f,e.dump=d||"{}"}(e,t,e.dump,i),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var r,i,o,a,s,c="",l=e.tag,u=Object.keys(n);for(r=0,i=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),S(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===s){var f=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var i,o,a="",s=e.tag;for(i=0,o=n.length;i "+e.dump)}return!0}function j(e,t){var n,i,o=[],a=[];for(function e(t,n,i){var o,a,s;if(null!==t&&"object"===r(t))if(-1!==(a=n.indexOf(t)))-1===i.indexOf(a)&&i.push(a);else if(n.push(t),Array.isArray(t))for(a=0,s=t.length;a{const i=new XMLHttpRequest,o=[],a=[],s={},c=()=>({ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:()=>Promise.resolve(i.responseText),json:()=>Promise.resolve(JSON.parse(i.responseText)),blob:()=>Promise.resolve(new Blob([i.response])),clone:c,headers:{keys:()=>o,entries:()=>a,get:e=>s[e.toLowerCase()],has:e=>e.toLowerCase()in s}});i.open(t.method||"get",e,!0),i.onload=()=>{i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(e,t,n)=>{o.push(t=t.toLowerCase()),a.push([t,n]),s[t]=s[t]?`${s[t]},${n}`:n}),n(c())},i.onerror=r,i.withCredentials="include"==t.credentials;for(const e in t.headers)i.setRequestHeader(e,t.headers[e]);i.send(t.body||null)})});n(128);i.a.polyfill(),void 0===Object.values&&(Object.values=function(e){return Object.keys(e).map((function(t){return e[t]}))}),String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>=e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))});n(130);var o=n(0),a=n(6);function s(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){s(o,r,i,a,c,"next",e)}function c(e){s(o,r,i,a,c,"throw",e)}a(void 0)}))}}var l=function(){var e=c(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.callApi("GET","hassio/host/info");case 2:return n=e.sent,e.abrupt("return",Object(a.b)(n));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),u=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=a.b,e.next=3,t.callApi("GET","hassio/os/info");case 3:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/reboot"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/shutdown"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/os/update"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var e=c(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/os/config/sync"));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=c(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.callApi("POST","hassio/host/options",n));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),y=n(26),v=n(84),b=(n(53),n(107),n(35),n(108),n(63),n(118),n(13));function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n .scrollable {\n -webkit-overflow-scrolling: auto !important;\n }\n\n paper-dialog-scrollable.can-scroll > .scrollable {\n -webkit-overflow-scrolling: touch !important;\n }\n \n"),document.head.appendChild(w.content);n(54);var k=n(1),O=(n(66),n(9)),x=n(40),E=n(14);function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n \n \n \n \n \n ']);return A=function(){return e},e}function P(){var e=B([""]);return P=function(){return e},e}function T(){var e=B(['\n \n ',"\n "]);return T=function(){return e},e}function R(){var e=B(['\n \n \n ']);return R=function(){return e},e}function I(){var e=B(['\n \n \n ']);return I=function(){return e},e}function D(){var e=B([""]);return D=function(){return e},e}function z(){var e=B(['
']);return z=function(){return e},e}function F(){var e=B(["\n \n "]);return F=function(){return e},e}function L(){var e=B(["\n ","\n ","\n ","\n ",""]);return L=function(){return e},e}function N(){var e=B([""]);return N=function(){return e},e}function M(){var e=B([""]);return M=function(){return e},e}function B(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t){for(var n=0;n\n \n ',"\n \n "]);return pe=function(){return e},e}function he(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?be(e):t}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ge(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function we(e){var t,n=Se(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function ke(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Oe(e){return e.decorators&&e.decorators.length}function xe(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Ee(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Se(e){var t=function(e,t){if("object"!==ce(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ce(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ce(t)?t:String(t)}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function yt(e,t){if(e){if("string"==typeof e)return vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vt(e,t):void 0}}function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&this.adapter.setTabIndexForElementIndex(t,0)}},{key:"handleFocusOut",value:function(e,t){var n=this;t>=0&&this.adapter.setTabIndexForElementIndex(t,-1),setTimeout((function(){n.adapter.isFocusInsideList()||n.setTabindexToFirstSelectedItem_()}),0)}},{key:"handleKeydown",value:function(e,t,n){var r="ArrowLeft"===ct(e),i="ArrowUp"===ct(e),o="ArrowRight"===ct(e),a="ArrowDown"===ct(e),s="Home"===ct(e),c="End"===ct(e),l="Enter"===ct(e),u="Spacebar"===ct(e);if(this.adapter.isRootFocused())i||c?(e.preventDefault(),this.focusLastElement()):(a||s)&&(e.preventDefault(),this.focusFirstElement());else{var d=this.adapter.getFocusedElementIndex();if(!(-1===d&&(d=n)<0)){var f;if(this.isVertical_&&a||!this.isVertical_&&o)this.preventDefaultEvent(e),f=this.focusNextElement(d);else if(this.isVertical_&&i||!this.isVertical_&&r)this.preventDefaultEvent(e),f=this.focusPrevElement(d);else if(s)this.preventDefaultEvent(e),f=this.focusFirstElement();else if(c)this.preventDefaultEvent(e),f=this.focusLastElement();else if((l||u)&&t){var p=e.target;if(p&&"A"===p.tagName&&l)return;this.preventDefaultEvent(e),this.setSelectedIndexOnAction_(d,!0)}this.focusedItemIndex_=d,void 0!==f&&(this.setTabindexAtIndex_(f),this.focusedItemIndex_=f)}}}},{key:"handleSingleSelection",value:function(e,t,n){e!==ft.UNSET_INDEX&&(this.setSelectedIndexOnAction_(e,t,n),this.setTabindexAtIndex_(e),this.focusedItemIndex_=e)}},{key:"focusNextElement",value:function(e){var t=e+1;if(t>=this.adapter.getListItemCount()){if(!this.wrapFocus_)return e;t=0}return this.adapter.focusItemAtIndex(t),t}},{key:"focusPrevElement",value:function(e){var t=e-1;if(t<0){if(!this.wrapFocus_)return e;t=this.adapter.getListItemCount()-1}return this.adapter.focusItemAtIndex(t),t}},{key:"focusFirstElement",value:function(){return this.adapter.focusItemAtIndex(0),0}},{key:"focusLastElement",value:function(){var e=this.adapter.getListItemCount()-1;return this.adapter.focusItemAtIndex(e),e}},{key:"setEnabled",value:function(e,t){this.isIndexValid_(e)&&this.adapter.setDisabledStateForElementIndex(e,!t)}},{key:"preventDefaultEvent",value:function(e){var t=e.target,n="".concat(t.tagName).toLowerCase();-1===xt.indexOf(n)&&e.preventDefault()}},{key:"setSingleSelectionAtIndex_",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.selectedIndex_!==e&&(this.selectedIndex_!==ft.UNSET_INDEX&&(this.adapter.setSelectedStateForElementIndex(this.selectedIndex_,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(this.selectedIndex_,!1)),t&&this.adapter.setSelectedStateForElementIndex(e,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(e,!0),this.setAriaForSingleSelectionAtIndex_(e),this.selectedIndex_=e,this.adapter.notifySelected(e))}},{key:"setMultiSelectionAtIndex_",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=St(this.selectedIndex_),r=Ot(n,e);if(r.removed.length||r.added.length){var i,o=mt(r.removed);try{for(o.s();!(i=o.n()).done;){var a=i.value;t&&this.adapter.setSelectedStateForElementIndex(a,!1),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(a,!1)}}catch(u){o.e(u)}finally{o.f()}var s,c=mt(r.added);try{for(c.s();!(s=c.n()).done;){var l=s.value;t&&this.adapter.setSelectedStateForElementIndex(l,!0),this.useActivatedClass_&&this.adapter.setActivatedStateForElementIndex(l,!0)}}catch(u){c.e(u)}finally{c.f()}this.selectedIndex_=e,this.adapter.notifySelected(e,r)}}},{key:"setAriaForSingleSelectionAtIndex_",value:function(e){this.selectedIndex_===ft.UNSET_INDEX&&(this.ariaCurrentAttrValue_=this.adapter.getAttributeForElementIndex(e,dt.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue_,n=t?dt.ARIA_CURRENT:dt.ARIA_SELECTED;this.selectedIndex_!==ft.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex_,n,"false");var r=t?this.ariaCurrentAttrValue_:"true";this.adapter.setAttributeForElementIndex(e,n,r)}},{key:"setTabindexAtIndex_",value:function(e){this.focusedItemIndex_===ft.UNSET_INDEX&&0!==e?this.adapter.setTabIndexForElementIndex(0,-1):this.focusedItemIndex_>=0&&this.focusedItemIndex_!==e&&this.adapter.setTabIndexForElementIndex(this.focusedItemIndex_,-1),this.adapter.setTabIndexForElementIndex(e,0)}},{key:"setTabindexToFirstSelectedItem_",value:function(){var e=0;"number"==typeof this.selectedIndex_&&this.selectedIndex_!==ft.UNSET_INDEX?e=this.selectedIndex_:Et(this.selectedIndex_)&&this.selectedIndex_.size>0&&(e=Math.min.apply(Math,ht(this.selectedIndex_))),this.setTabindexAtIndex_(e)}},{key:"isIndexValid_",value:function(e){if(e instanceof Set){if(!this.isMulti_)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");if(0===e.size)return!0;var t,n=!1,r=mt(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;if(n=this.isIndexInRange_(i))break}}catch(o){r.e(o)}finally{r.f()}return n}if("number"==typeof e){if(this.isMulti_)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return e===ft.UNSET_INDEX||this.isIndexInRange_(e)}return!1}},{key:"isIndexInRange_",value:function(e){var t=this.adapter.getListItemCount();return e>=0&&e2&&void 0!==arguments[2])||arguments[2],r=!1;r=void 0===t?!this.adapter.getSelectedStateForElementIndex(e):t;var i=St(this.selectedIndex_);r?i.add(e):i.delete(e),this.setMultiSelectionAtIndex_(i,n)}}])&&bt(n.prototype,r),i&&bt(n,i),a}(Te.a);function Ct(e){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function At(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n \x3c!-- @ts-ignore --\x3e\n 1&&void 0!==arguments[1]&&arguments[1],n=this.items[e];n&&(n.selected=!0,n.activated=t)}},{key:"deselectUi",value:function(e){var t=this.items[e];t&&(t.selected=!1,t.activated=!1)}},{key:"select",value:function(e){this.mdcFoundation&&this.mdcFoundation.setSelectedIndex(e)}},{key:"toggle",value:function(e,t){this.multi&&this.mdcFoundation.toggleMultiAtIndex(e,t)}},{key:"onListItemConnected",value:function(e){var t=e.target;this.layout(-1===this.items.indexOf(t))}},{key:"layout",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&this.updateItems();var t,n=this.items[0],r=Pt(this.items);try{for(r.s();!(t=r.n()).done;){var i=t.value;i.tabindex=-1}}catch(o){r.e(o)}finally{r.f()}n&&(this.noninteractive?this.previousTabindex||(this.previousTabindex=n):n.tabindex=0)}},{key:"getFocusedItemIndex",value:function(){if(!this.mdcRoot)return-1;if(!this.items.length)return-1;var e=Object(Ae.b)();if(!e.length)return-1;for(var t=e.length-1;t>=0;t--){var n=e[t];if(Mt(n))return this.items.indexOf(n)}return-1}},{key:"focusItemAtIndex",value:function(e){var t,n=Pt(this.items);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(0===r.tabindex){r.tabindex=-1;break}}}catch(i){n.e(i)}finally{n.f()}this.items[e].tabindex=0,this.items[e].focus()}},{key:"focus",value:function(){var e=this.mdcRoot;e&&e.focus()}},{key:"blur",value:function(){var e=this.mdcRoot;e&&e.blur()}},{key:"assignedElements",get:function(){var e=this.slotElement;return e?e.assignedNodes({flatten:!0}).filter(Ae.e):[]}},{key:"items",get:function(){return this.items_}},{key:"selected",get:function(){var e=this.index;if(!Et(e))return-1===e?null:this.items[e];var t,n=[],r=Pt(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;n.push(this.items[i])}}catch(o){r.e(o)}finally{r.f()}return n}},{key:"index",get:function(){return this.mdcFoundation?this.mdcFoundation.getSelectedIndex():-1}}])&&It(n.prototype,r),i&&It(n,i),s}(Ce.a);function Ht(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-list:focus{outline:none}.mdc-list-item{height:48px}.mdc-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.12)}.mdc-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc(100% - var(--mdc-list-inset-margin, 72px))}.mdc-list-group[dir=rtl] .mdc-list ::slotted([divider][inset]),[dir=rtl] .mdc-list-group .mdc-list ::slotted([divider][inset]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-list ::slotted([divider][inset][padded]){width:calc(100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px))}.mdc-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-list--two-line.mdc-list--dense ::slotted([mwc-list-item]),.mdc-list--avatar-list.mdc-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-list--avatar-list.mdc-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-list--dense ::slotted(.mdc-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list--dense ::slotted(.mdc-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list--dense ::slotted(.mdc-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}']);return Ht=function(){return e},e}Object(k.b)([Object(o.i)(".mdc-list")],Bt.prototype,"mdcRoot",void 0),Object(k.b)([Object(o.i)("slot")],Bt.prototype,"slotElement",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setUseActivatedClass(e)}))],Bt.prototype,"activatable",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e,t){this.mdcFoundation&&this.mdcFoundation.setMulti(e),void 0!==t&&this.layout()}))],Bt.prototype,"multi",void 0),Object(k.b)([Object(o.h)({type:Boolean}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setWrapFocus(e)}))],Bt.prototype,"wrapFocus",void 0),Object(k.b)([Object(o.h)({type:String}),Object(O.a)((function(e,t){void 0!==t&&this.updateItems()}))],Bt.prototype,"itemRoles",void 0),Object(k.b)([Object(o.h)({type:String})],Bt.prototype,"innerRole",void 0),Object(k.b)([Object(o.h)({type:String})],Bt.prototype,"innerAriaLabel",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bt.prototype,"rootTabbable",void 0),Object(k.b)([Object(o.h)({type:Boolean,reflect:!0}),Object(O.a)((function(e){var t=this.slotElement;if(e&&t){var n=Object(Ae.d)(t,'[tabindex="0"]');this.previousTabindex=n,n&&n.setAttribute("tabindex","-1")}else!e&&this.previousTabindex&&(this.previousTabindex.setAttribute("tabindex","0"),this.previousTabindex=null)}))],Bt.prototype,"noninteractive",void 0);var Vt=Object(o.c)(Ht());function Ut(e){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(e,t){return($t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yt(e,t){return!t||"object"!==Ut(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qt(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$t(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Wt(t);if(qt()){var r=Wt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Yt(this,e)});function r(){return Kt(this,r),n.apply(this,arguments)}return r}(Bt);Gt.styles=Vt,Gt=Object(k.b)([Object(o.d)("mwc-list")],Gt);var Xt,Zt,Jt={ANCHOR:"mdc-menu-surface--anchor",ANIMATING_CLOSED:"mdc-menu-surface--animating-closed",ANIMATING_OPEN:"mdc-menu-surface--animating-open",FIXED:"mdc-menu-surface--fixed",IS_OPEN_BELOW:"mdc-menu-surface--is-open-below",OPEN:"mdc-menu-surface--open",ROOT:"mdc-menu-surface"},Qt={CLOSED_EVENT:"MDCMenuSurface:closed",OPENED_EVENT:"MDCMenuSurface:opened",FOCUSABLE_ELEMENTS:["button:not(:disabled)",'[href]:not([aria-disabled="true"])',"input:not(:disabled)","select:not(:disabled)","textarea:not(:disabled)",'[tabindex]:not([tabindex="-1"]):not([aria-disabled="true"])'].join(", ")},en={TRANSITION_OPEN_DURATION:120,TRANSITION_CLOSE_DURATION:75,MARGIN_TO_EDGE:32,ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO:.67};!function(e){e[e.BOTTOM=1]="BOTTOM",e[e.CENTER=2]="CENTER",e[e.RIGHT=4]="RIGHT",e[e.FLIP_RTL=8]="FLIP_RTL"}(Xt||(Xt={})),function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=4]="TOP_RIGHT",e[e.BOTTOM_LEFT=1]="BOTTOM_LEFT",e[e.BOTTOM_RIGHT=5]="BOTTOM_RIGHT",e[e.TOP_START=8]="TOP_START",e[e.TOP_END=12]="TOP_END",e[e.BOTTOM_START=9]="BOTTOM_START",e[e.BOTTOM_END=13]="BOTTOM_END"}(Zt||(Zt={}));var tn,nn=function(e){function t(n){var r=e.call(this,Object(k.a)(Object(k.a)({},t.defaultAdapter),n))||this;return r.isSurfaceOpen=!1,r.isQuickOpen=!1,r.isHoistedElement=!1,r.isFixedPosition=!1,r.openAnimationEndTimerId=0,r.closeAnimationEndTimerId=0,r.animationRequestId=0,r.anchorCorner=Zt.TOP_START,r.originCorner=Zt.TOP_START,r.anchorMargin={top:0,right:0,bottom:0,left:0},r.position={x:0,y:0},r}return Object(k.c)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return Jt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return Qt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return en},enumerable:!0,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return Zt},enumerable:!0,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyOpen:function(){}}},enumerable:!0,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter.hasClass(n))throw new Error(n+" class required in root element.");this.adapter.hasClass(r)&&(this.isSurfaceOpen=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},t.prototype.setAnchorCorner=function(e){this.anchorCorner=e},t.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^Xt.RIGHT},t.prototype.setAnchorMargin=function(e){this.anchorMargin.top=e.top||0,this.anchorMargin.right=e.right||0,this.anchorMargin.bottom=e.bottom||0,this.anchorMargin.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition=e},t.prototype.setAbsolutePosition=function(e,t){this.position.x=this.isFinite(e)?e:0,this.position.y=this.isFinite(t)?t:0},t.prototype.setQuickOpen=function(e){this.isQuickOpen=e},t.prototype.isOpen=function(){return this.isSurfaceOpen},t.prototype.open=function(){var e=this;this.isSurfaceOpen||(this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(t.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){e.adapter.addClass(t.cssClasses.OPEN),e.dimensions=e.adapter.getInnerDimensions(),e.autoposition(),e.openAnimationEndTimerId=setTimeout((function(){e.openAnimationEndTimerId=0,e.adapter.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter.notifyOpen()}),en.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},t.prototype.close=function(e){var n=this;void 0===e&&(e=!1),this.isSurfaceOpen&&(this.isQuickOpen?(this.isSurfaceOpen=!1,e||this.maybeRestoreFocus(),this.adapter.removeClass(t.cssClasses.OPEN),this.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),this.adapter.notifyClose()):(this.adapter.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){n.adapter.removeClass(t.cssClasses.OPEN),n.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout((function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(t.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()}),en.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,e||this.maybeRestoreFocus()))},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode;("Escape"===e.key||27===t)&&this.close()},t.prototype.autoposition=function(){var e;this.measurements=this.getAutoLayoutmeasurements();var n=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(n),i=this.hasBit(n,Xt.BOTTOM)?"bottom":"top",o=this.hasBit(n,Xt.RIGHT)?"right":"left",a=this.getHorizontalOriginOffset(n),s=this.getVerticalOriginOffset(n),c=this.measurements,l=c.anchorSize,u=c.surfaceSize,d=((e={})[o]=a,e[i]=s,e);l.width/u.width>en.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(o="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(d),this.adapter.setTransformOrigin(o+" "+i),this.adapter.setPosition(d),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(n,Xt.BOTTOM)||this.adapter.addClass(t.cssClasses.IS_OPEN_BELOW)},t.prototype.getAutoLayoutmeasurements=function(){var e=this.adapter.getAnchorDimensions(),t=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),r=this.adapter.getWindowScroll();return e||(e={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getoriginCorner=function(){var e,n,r=this.originCorner,i=this.measurements,o=i.viewportDistance,a=i.anchorSize,s=i.surfaceSize,c=t.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,Xt.BOTTOM)?(e=o.top-c+a.height+this.anchorMargin.bottom,n=o.bottom-c-this.anchorMargin.bottom):(e=o.top-c+this.anchorMargin.top,n=o.bottom-c+a.height-this.anchorMargin.top),!(n-s.height>0)&&e>=n&&(r=this.setBit(r,Xt.BOTTOM));var l,u,d=this.adapter.isRtl(),f=this.hasBit(this.anchorCorner,Xt.FLIP_RTL),p=this.hasBit(this.anchorCorner,Xt.RIGHT),h=!1;(h=d&&f?!p:p)?(l=o.left+a.width+this.anchorMargin.right,u=o.right-this.anchorMargin.right):(l=o.left+this.anchorMargin.left,u=o.right+a.width-this.anchorMargin.left);var m=l-s.width>0,y=u-s.width>0,v=this.hasBit(r,Xt.FLIP_RTL)&&this.hasBit(r,Xt.RIGHT);return y&&v&&d||!m&&v?r=this.unsetBit(r,Xt.RIGHT):(m&&h&&d||m&&!h&&p||!y&&l>=u)&&(r=this.setBit(r,Xt.RIGHT)),r},t.prototype.getMenuSurfaceMaxHeight=function(e){var n=this.measurements.viewportDistance,r=0,i=this.hasBit(e,Xt.BOTTOM),o=this.hasBit(this.anchorCorner,Xt.BOTTOM),a=t.numbers.MARGIN_TO_EDGE;return i?(r=n.top+this.anchorMargin.top-a,o||(r+=this.measurements.anchorSize.height)):(r=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-a,o&&(r-=this.measurements.anchorSize.height)),r},t.prototype.getHorizontalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,Xt.RIGHT),r=this.hasBit(this.anchorCorner,Xt.RIGHT);if(n){var i=r?t.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?i-(this.measurements.viewportSize.width-this.measurements.bodySize.width):i}return r?t.width-this.anchorMargin.right:this.anchorMargin.left},t.prototype.getVerticalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,Xt.BOTTOM),r=this.hasBit(this.anchorCorner,Xt.BOTTOM);return n?r?t.height-this.anchorMargin.top:-this.anchorMargin.bottom:r?t.height+this.anchorMargin.bottom:this.anchorMargin.top},t.prototype.adjustPositionForHoistedElement=function(e){var t,n,r=this.measurements,i=r.windowScroll,o=r.viewportDistance,a=Object.keys(e);try{for(var s=Object(k.e)(a),c=s.next();!c.done;c=s.next()){var l=c.value,u=e[l]||0;u+=o[l],this.isFixedPosition||("top"===l?u+=i.y:"bottom"===l?u-=i.y:"left"===l?u+=i.x:u-=i.x),e[l]=u}}catch(d){t={error:d}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus=function(){var e=this.adapter.isFocused(),t=document.activeElement&&this.adapter.isElementInContainer(document.activeElement);(e||t)&&this.adapter.restoreFocus()},t.prototype.hasBit=function(e,t){return Boolean(e&t)},t.prototype.setBit=function(e,t){return e|t},t.prototype.unsetBit=function(e,t){return e^t},t.prototype.isFinite=function(e){return"number"==typeof e&&isFinite(e)},t}(Te.a),rn=nn;function on(e){return(on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function an(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n =0&&t.adapter.isSelectableItemAtIndex(n)&&t.setSelectedIndex(n)}),nn.numbers.TRANSITION_CLOSE_DURATION))},t.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState_){case xn.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case xn.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case xn.NONE:break;default:this.adapter.focusListRoot()}},t.prototype.setDefaultFocusState=function(e){this.defaultFocusState_=e},t.prototype.setSelectedIndex=function(e){if(this.validatedIndex_(e),!this.adapter.isSelectableItemAtIndex(e))throw new Error("MDCMenuFoundation: No selection group at specified index.");var t=this.adapter.getSelectedSiblingOfItemAtIndex(e);t>=0&&(this.adapter.removeAttributeFromElementAtIndex(t,Sn.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(t,En.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(e,En.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_CHECKED_ATTR,"true")},t.prototype.setEnabled=function(e,t){this.validatedIndex_(e),t?(this.adapter.removeClassFromElementAtIndex(e,ut),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(e,ut),this.adapter.addAttributeToElementAtIndex(e,Sn.ARIA_DISABLED_ATTR,"true"))},t.prototype.validatedIndex_=function(e){var t=this.adapter.getMenuItemCount();if(!(e>=0&&e0&&void 0!==arguments[0])||arguments[0],t=this.listElement;t&&t.layout(e)}},{key:"listElement",get:function(){return this.listElement_||(this.listElement_=this.renderRoot.querySelector("mwc-list")),this.listElement_}},{key:"items",get:function(){var e=this.listElement;return e?e.items:[]}},{key:"index",get:function(){var e=this.listElement;return e?e.index:-1}},{key:"selected",get:function(){var e=this.listElement;return e?e.selected:null}}])&&Dn(n.prototype,r),i&&Dn(n,i),l}(Ce.a);function Hn(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["mwc-list ::slotted([mwc-list-item]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}mwc-list{max-width:var(--mdc-menu-max-width, auto);min-width:var(--mdc-menu-min-width, auto)}"]);return Hn=function(){return e},e}Object(k.b)([Object(o.i)(".mdc-menu")],Bn.prototype,"mdcRoot",void 0),Object(k.b)([Object(o.i)("slot")],Bn.prototype,"slotElement",void 0),Object(k.b)([Object(o.h)({type:Object})],Bn.prototype,"anchor",void 0),Object(k.b)([Object(o.h)({type:Boolean,reflect:!0})],Bn.prototype,"open",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"quick",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"wrapFocus",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"innerRole",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"corner",void 0),Object(k.b)([Object(o.h)({type:Number})],Bn.prototype,"x",void 0),Object(k.b)([Object(o.h)({type:Number})],Bn.prototype,"y",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"absolute",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"multi",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"activatable",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"fixed",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"forceGroupSelection",void 0),Object(k.b)([Object(o.h)({type:Boolean})],Bn.prototype,"fullwidth",void 0),Object(k.b)([Object(o.h)({type:String})],Bn.prototype,"menuCorner",void 0),Object(k.b)([Object(o.h)({type:String}),Object(O.a)((function(e){this.mdcFoundation&&this.mdcFoundation.setDefaultFocusState(xn[e])}))],Bn.prototype,"defaultFocus",void 0);var Vn=Object(o.c)(Hn());function Un(e){return(Un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $n(e,t){return($n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Yn(e,t){return!t||"object"!==Un(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function qn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Wn(e){return(Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Gn=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Wn(t);if(qn()){var r=Wn(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Yn(this,e)});function r(){return Kn(this,r),n.apply(this,arguments)}return r}(Bn);Gn.styles=Vn,Gn=Object(k.b)([Object(o.d)("mwc-menu")],Gn);n(109);function Xn(e){return(Xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zn(){var e=Qn(["\n :host {\n display: inline-block;\n position: relative;\n }\n "]);return Zn=function(){return e},e}function Jn(){var e=Qn(["\n
\n
\n e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:3,t=new Map;return{get:function(n){var r=n.match(Vr).length;if(t.has(r))return t.get(r);var i=parseFloat((1/Math.sqrt(r)).toFixed(e));return t.set(r,i),i},clear:function(){t.clear()}}}var Kr=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,r=void 0===n?Hr.getFn:n;jr(this,e),this.norm=Ur(3),this.getFn=r,this.isCreated=!1,this.setRecords()}return Ar(e,[{key:"setCollection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,Rr(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();Rr(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?Hr.getFn:r,o=new Kr({getFn:i});return o.setKeys(e),o.setCollection(t),o.create(),o}function Yr(e,t){var n=e.matches;t.matches=[],Dr(n)&&n.forEach((function(e){if(Dr(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function qr(e,t){t.score=e.score}function Wr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,a=t.expectedLocation,s=void 0===a?0:a,c=t.distance,l=void 0===c?Hr.distance:c,u=r/e.length,d=Math.abs(s-o);return l?u+d/l:d?1:u}function Gr(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hr.minMatchCharLength,n=[],r=-1,i=-1,o=0,a=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}function Xr(e){for(var t={},n=e.length,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=n.location,i=void 0===r?Hr.location:r,o=n.threshold,a=void 0===o?Hr.threshold:o,s=n.distance,c=void 0===s?Hr.distance:s,l=n.includeMatches,u=void 0===l?Hr.includeMatches:l,d=n.findAllMatches,f=void 0===d?Hr.findAllMatches:d,p=n.minMatchCharLength,h=void 0===p?Hr.minMatchCharLength:p,m=n.isCaseSensitive,y=void 0===m?Hr.isCaseSensitive:m;jr(this,e),this.options={location:i,threshold:a,distance:c,includeMatches:u,findAllMatches:f,minMatchCharLength:h,isCaseSensitive:y},this.pattern=y?t:t.toLowerCase(),this.chunks=[];for(var v=0;v3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?Hr.location:i,a=r.distance,s=void 0===a?Hr.distance:a,c=r.threshold,l=void 0===c?Hr.threshold:c,u=r.findAllMatches,d=void 0===u?Hr.findAllMatches:u,f=r.minMatchCharLength,p=void 0===f?Hr.minMatchCharLength:f,h=r.includeMatches,m=void 0===h?Hr.includeMatches:h;if(t.length>32)throw new Error(Lr(32));var y,v=t.length,b=e.length,g=Math.max(0,Math.min(o,b)),_=l,w=g,k=[];if(m)for(var O=0;O-1;){var x=Wr(t,{currentLocation:y,expectedLocation:g,distance:s});if(_=Math.min(x,_),w=y+v,m)for(var E=0;E=D;L-=1){var N=L-1,M=n[e.charAt(N)];if(M&&m&&(k[N]=1),F[L]=(F[L+1]<<1|1)&M,0!==P&&(F[L]|=(S[L+1]|S[L])<<1|1|S[L+1]),F[L]&A&&(j=Wr(t,{errors:P,currentLocation:N,expectedLocation:g,distance:s}))<=_){if(_=j,(w=N)<=g)break;D=Math.max(1,2*g-w)}}var B=Wr(t,{errors:P+1,currentLocation:g,expectedLocation:g,distance:s});if(B>_)break;S=F}var H={isMatch:w>=0,score:Math.max(.001,j)};return m&&(H.indices=Gr(k,p)),H}(e,i,o,{location:a+32*n,distance:s,threshold:c,findAllMatches:l,minMatchCharLength:u,includeMatches:r}),m=h.isMatch,y=h.score,v=h.indices;m&&(p=!0),f+=y,m&&v&&(d=[].concat(Er(d),Er(v)))}));var h={isMatch:p,score:p?f/this.chunks.length:1};return p&&r&&(h.indices=d),h}}]),e}(),Jr=function(){function e(t){jr(this,e),this.pattern=t}return Ar(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return Qr(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return Qr(e,this.singleRegex)}}]),e}();function Qr(e,t){var n=e.match(t);return n?n[1]:null}var ei=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?1:0,indices:r}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(Jr),ti=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(Jr),ni=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(Jr),ri=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(Jr),ii=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(Jr),oi=function(e){gr(n,e);var t=wr(n);function n(e){return jr(this,n),t.call(this,e)}return Ar(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(Jr),ai=function(e){gr(n,e);var t=wr(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,a=void 0===o?Hr.location:o,s=i.threshold,c=void 0===s?Hr.threshold:s,l=i.distance,u=void 0===l?Hr.distance:l,d=i.includeMatches,f=void 0===d?Hr.includeMatches:d,p=i.findAllMatches,h=void 0===p?Hr.findAllMatches:p,m=i.minMatchCharLength,y=void 0===m?Hr.minMatchCharLength:m,v=i.isCaseSensitive,b=void 0===v?Hr.isCaseSensitive:v;return jr(this,n),(r=t.call(this,e))._bitapSearch=new Zr(e,{location:a,threshold:c,distance:u,includeMatches:f,findAllMatches:h,minMatchCharLength:y,isCaseSensitive:b}),r}return Ar(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(Jr),si=[ei,ni,ri,oi,ii,ti,ai],ci=si.length,li=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function ui(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(li).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i1&&void 0!==arguments[1]?arguments[1]:{},r=n.isCaseSensitive,i=void 0===r?Hr.isCaseSensitive:r,o=n.includeMatches,a=void 0===o?Hr.includeMatches:o,s=n.minMatchCharLength,c=void 0===s?Hr.minMatchCharLength:s,l=n.findAllMatches,u=void 0===l?Hr.findAllMatches:l,d=n.location,f=void 0===d?Hr.location:d,p=n.threshold,h=void 0===p?Hr.threshold:p,m=n.distance,y=void 0===m?Hr.distance:m;jr(this,e),this.query=null,this.options={isCaseSensitive:i,includeMatches:a,minMatchCharLength:c,findAllMatches:u,location:f,threshold:h,distance:y},this.pattern=i?t:t.toLowerCase(),this.query=ui(this.pattern,this.options)}return Ar(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],a=0,s=0,c=t.length;s2&&void 0!==arguments[2]?arguments[2]:{},r=n.auto,i=void 0===r||r,o=function e(n){var r=Object.keys(n);if(r.length>1&&!vi(n))return e(gi(n));var o=r[0];if(bi(n)){var a=n[o];if(!Rr(a))throw new Error(Fr(o));var s={key:o,pattern:a};return i&&(s.searcher=hi(a,t)),s}var c={children:[],operator:o};return r.forEach((function(t){var r=n[t];Tr(r)&&r.forEach((function(t){c.children.push(e(t))}))})),c};return vi(e)||(e=gi(e)),o(e)}var wi=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;jr(this,e),this.options=Object.assign({},Hr,{},n),this.options.useExtendedSearch,this._keyStore=new Mr(this.options.keys),this.setCollection(t,r)}return Ar(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof Kr))throw new Error("Incorrect 'index' type");this._myIndex=t||$r(this._keyStore.keys(),this._docs,{getFn:this.options.getFn})}},{key:"add",value:function(e){Dr(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,a=i.includeScore,s=i.shouldSort,c=i.sortFn,l=Rr(e)?Rr(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return ki(l,this._keyStore),s&&l.sort(c),Ir(r)&&r>-1&&(l=l.slice(0,r)),Oi(l,this._docs,{includeMatches:o,includeScore:a})}},{key:"_searchStringList",value:function(e){var t=hi(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(Dr(n)){var a=t.searchIn(n),s=a.isMatch,c=a.score,l=a.indices;s&&r.push({item:n,idx:i,matches:[{score:c,value:n,norm:o,indices:l}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=_i(e,this.options),r=this._myIndex,i=r.keys,o=r.records,a={},s=[];return o.forEach((function(e){var r=e.$,o=e.i;Dr(r)&&function e(n,r,o){if(!n.children){var c=n.key,l=n.searcher,u=r[i.indexOf(c)];return t._findMatches({key:c,value:u,searcher:l})}for(var d=n.operator,f=[],p=0;p2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?Hr.includeMatches:r,o=n.includeScore,a=void 0===o?Hr.includeScore:o,s=[];return i&&s.push(Yr),a&&s.push(qr),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return s.length&&s.forEach((function(t){t(e,r)})),r}))}wi.version="6.0.0",wi.createIndex=$r,wi.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?Hr.getFn:n,i=e.keys,o=e.records,a=new Kr({getFn:r});return a.setKeys(i),a.setRecords(o),a},wi.config=Hr,wi.parseQuery=_i,function(){pi.push.apply(pi,arguments)}(fi);var xi=wi;var Ei=n(28);function Si(e){return(Si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ji(){var e=Ti(["\n ha-card {\n cursor: pointer;\n }\n .not_available {\n opacity: 0.6;\n }\n a.repo {\n color: var(--primary-text-color);\n }\n "]);return ji=function(){return e},e}function Ci(){var e=Ti(["\n \n \n

\n ','\n

\n
\n ',"\n
\n \n "]);return Ai=function(){return e},e}function Pi(){var e=Ti(['\n
\n

\n No results found in "','."\n

\n
\n ']);return Pi=function(){return e},e}function Ti(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ri(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e,t){return(Ii=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Di(e,t){return!t||"object"!==Si(t)&&"function"!=typeof t?zi(e):t}function zi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Li(e){return(Li=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ni(e){var t,n=Ui(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var r={kind:"field"===e.kind?"field":"method",key:n,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(r.decorators=e.decorators),"field"===e.kind&&(r.initializer=e.value),r}function Mi(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function Bi(e){return e.decorators&&e.decorators.length}function Hi(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function Vi(e,t){var n=e[t];if(void 0!==n&&"function"!=typeof n)throw new TypeError("Expected '"+t+"' to be a function");return n}function Ui(e){var t=function(e,t){if("object"!==Si(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==Si(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Si(t)?t:String(t)}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,i[o])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&r.push(c.finisher);var l=c.extras;if(l){for(var u=0;u=0;r--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[r])(i)||i);if(void 0!==o.finisher&&n.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a\n Missing add-ons? Enable advanced mode on\n \n your profile page\n \n .\n \n ']);return Wi=function(){return e},e}function Gi(){var e=Qi(['\n