From e2f06e9ede4cf142849b0590c0055e25a8e1e009 Mon Sep 17 00:00:00 2001 From: TwiN Date: Wed, 29 Oct 2025 14:15:59 -0400 Subject: [PATCH] fix(ui): Modernize response time chart (#1373) --- api/api.go | 1 + api/chart.go | 60 ++ api/chart_test.go | 66 ++ web/app/package-lock.json | 565 +++--------------- web/app/package.json | 7 +- web/app/src/assets/logo.png | Bin 52184 -> 0 bytes web/app/src/components/AnnouncementBanner.vue | 42 +- web/app/src/components/ResponseTimeChart.vue | 294 +++++++++ web/app/src/utils/time.js | 24 +- web/app/src/views/EndpointDetails.vue | 13 +- web/static/css/app.css | 2 +- web/static/js/app.js | 2 +- web/static/js/chunk-vendors.js | 116 ++-- 13 files changed, 656 insertions(+), 536 deletions(-) delete mode 100644 web/app/src/assets/logo.png create mode 100644 web/app/src/components/ResponseTimeChart.vue diff --git a/api/api.go b/api/api.go index 9c422629..ebab376a 100644 --- a/api/api.go +++ b/api/api.go @@ -84,6 +84,7 @@ func (a *API) createRouter(cfg *config.Config) *fiber.App { unprotectedAPIRouter.Get("/v1/endpoints/:key/response-times/:duration", ResponseTimeRaw) unprotectedAPIRouter.Get("/v1/endpoints/:key/response-times/:duration/badge.svg", ResponseTimeBadge(cfg)) unprotectedAPIRouter.Get("/v1/endpoints/:key/response-times/:duration/chart.svg", ResponseTimeChart) + unprotectedAPIRouter.Get("/v1/endpoints/:key/response-times/:duration/history", ResponseTimeHistory) // This endpoint requires authz with bearer token, so technically it is protected unprotectedAPIRouter.Post("/v1/endpoints/:key/external", CreateExternalEndpointResult(cfg)) // SPA diff --git a/api/chart.go b/api/chart.go index 79eda349..17ae43d5 100644 --- a/api/chart.go +++ b/api/chart.go @@ -126,3 +126,63 @@ func ResponseTimeChart(c *fiber.Ctx) error { } return nil } + +func ResponseTimeHistory(c *fiber.Ctx) error { + duration := c.Params("duration") + var from time.Time + switch duration { + case "30d": + from = time.Now().Truncate(time.Hour).Add(-30 * 24 * time.Hour) + case "7d": + from = time.Now().Truncate(time.Hour).Add(-7 * 24 * time.Hour) + case "24h": + from = time.Now().Truncate(time.Hour).Add(-24 * time.Hour) + default: + return c.Status(400).SendString("Durations supported: 30d, 7d, 24h") + } + endpointKey, err := url.QueryUnescape(c.Params("key")) + if err != nil { + return c.Status(400).SendString("invalid key encoding") + } + hourlyAverageResponseTime, err := store.Get().GetHourlyAverageResponseTimeByKey(endpointKey, from, time.Now()) + if err != nil { + if errors.Is(err, common.ErrEndpointNotFound) { + return c.Status(404).SendString(err.Error()) + } + if errors.Is(err, common.ErrInvalidTimeRange) { + return c.Status(400).SendString(err.Error()) + } + return c.Status(500).SendString(err.Error()) + } + if len(hourlyAverageResponseTime) == 0 { + return c.Status(200).JSON(map[string]interface{}{ + "timestamps": []int64{}, + "values": []int{}, + }) + } + hourlyTimestamps := make([]int, 0, len(hourlyAverageResponseTime)) + earliestTimestamp := int64(0) + for hourlyTimestamp := range hourlyAverageResponseTime { + hourlyTimestamps = append(hourlyTimestamps, int(hourlyTimestamp)) + if earliestTimestamp == 0 || hourlyTimestamp < earliestTimestamp { + earliestTimestamp = hourlyTimestamp + } + } + for earliestTimestamp > from.Unix() { + earliestTimestamp -= int64(time.Hour.Seconds()) + hourlyTimestamps = append(hourlyTimestamps, int(earliestTimestamp)) + } + sort.Ints(hourlyTimestamps) + timestamps := make([]int64, 0, len(hourlyTimestamps)) + values := make([]int, 0, len(hourlyTimestamps)) + for _, hourlyTimestamp := range hourlyTimestamps { + timestamp := int64(hourlyTimestamp) + averageResponseTime := hourlyAverageResponseTime[timestamp] + timestamps = append(timestamps, timestamp*1000) + values = append(values, averageResponseTime) + } + return c.Status(http.StatusOK).JSON(map[string]interface{}{ + "timestamps": timestamps, + "values": values, + }) +} diff --git a/api/chart_test.go b/api/chart_test.go index 86712112..d5add721 100644 --- a/api/chart_test.go +++ b/api/chart_test.go @@ -81,3 +81,69 @@ func TestResponseTimeChart(t *testing.T) { }) } } + +func TestResponseTimeHistory(t *testing.T) { + defer store.Get().Clear() + defer cache.Clear() + cfg := &config.Config{ + Metrics: true, + Endpoints: []*endpoint.Endpoint{ + { + Name: "frontend", + Group: "core", + }, + { + Name: "backend", + Group: "core", + }, + }, + } + watchdog.UpdateEndpointStatus(cfg.Endpoints[0], &endpoint.Result{Success: true, Duration: time.Millisecond, Timestamp: time.Now()}) + watchdog.UpdateEndpointStatus(cfg.Endpoints[1], &endpoint.Result{Success: false, Duration: time.Second, Timestamp: time.Now()}) + api := New(cfg) + router := api.Router() + type Scenario struct { + Name string + Path string + ExpectedCode int + } + scenarios := []Scenario{ + { + Name: "history-response-time-24h", + Path: "/api/v1/endpoints/core_backend/response-times/24h/history", + ExpectedCode: http.StatusOK, + }, + { + Name: "history-response-time-7d", + Path: "/api/v1/endpoints/core_frontend/response-times/7d/history", + ExpectedCode: http.StatusOK, + }, + { + Name: "history-response-time-30d", + Path: "/api/v1/endpoints/core_frontend/response-times/30d/history", + ExpectedCode: http.StatusOK, + }, + { + Name: "history-response-time-with-invalid-duration", + Path: "/api/v1/endpoints/core_backend/response-times/3d/history", + ExpectedCode: http.StatusBadRequest, + }, + { + Name: "history-response-time-for-invalid-key", + Path: "/api/v1/endpoints/invalid_key/response-times/7d/history", + ExpectedCode: http.StatusNotFound, + }, + } + for _, scenario := range scenarios { + t.Run(scenario.Name, func(t *testing.T) { + request := httptest.NewRequest("GET", scenario.Path, http.NoBody) + response, err := router.Test(request) + if err != nil { + t.Fatal(err) + } + if response.StatusCode != scenario.ExpectedCode { + t.Errorf("%s %s should have returned %d, but returned %d instead", request.Method, request.URL, scenario.ExpectedCode, response.StatusCode) + } + }) + } +} diff --git a/web/app/package-lock.json b/web/app/package-lock.json index 218d3d55..f5d232a6 100644 --- a/web/app/package-lock.json +++ b/web/app/package-lock.json @@ -8,16 +8,17 @@ "name": "gatus", "version": "4.0.0", "dependencies": { - "@headlessui/vue": "^1.7.23", - "@heroicons/vue": "^2.2.0", - "@vueuse/core": "^13.6.0", + "chart.js": "^4.5.1", + "chartjs-adapter-date-fns": "^3.0.0", + "chartjs-plugin-annotation": "^3.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "core-js": "^3.45.0", + "date-fns": "^4.1.0", "lucide-vue-next": "^0.539.0", - "radix-vue": "^1.9.17", "tailwind-merge": "^3.3.1", "vue": "^3.5.18", + "vue-chartjs": "^5.3.2", "vue-router": "^4.5.1" }, "devDependencies": { @@ -1861,42 +1862,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@floating-ui/core": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", - "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==", - "license": "MIT", - "dependencies": { - "@floating-ui/utils": "^0.2.10" - } - }, - "node_modules/@floating-ui/dom": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.3.tgz", - "integrity": "sha512-uZA413QEpNuhtb3/iIKoYMSK07keHPYeXF02Zhd6e213j+d1NamLix/mCLxBUDW/Gx52sPH2m+chlUsyaBs/Ag==", - "license": "MIT", - "dependencies": { - "@floating-ui/core": "^1.7.3", - "@floating-ui/utils": "^0.2.10" - } - }, - "node_modules/@floating-ui/utils": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", - "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", - "license": "MIT" - }, - "node_modules/@floating-ui/vue": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@floating-ui/vue/-/vue-1.1.8.tgz", - "integrity": "sha512-SNJAa1jbT8Gh1LvWw2uIIViLL0saV2bCY59ISCvJzhbut5DSb2H3LKUK49Xkd7SixTNHKX4LFu59nbwIXt9jjQ==", - "license": "MIT", - "dependencies": { - "@floating-ui/dom": "^1.7.3", - "@floating-ui/utils": "^0.2.10", - "vue-demi": ">=0.13.0" - } - }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -1912,30 +1877,6 @@ "@hapi/hoek": "^9.0.0" } }, - "node_modules/@headlessui/vue": { - "version": "1.7.23", - "resolved": "https://registry.npmjs.org/@headlessui/vue/-/vue-1.7.23.tgz", - "integrity": "sha512-JzdCNqurrtuu0YW6QaDtR2PIYCKPUWq28csDyMvN4zmGccmE7lz40Is6hc3LA4HFeCI7sekZ/PQMTNmn9I/4Wg==", - "license": "MIT", - "dependencies": { - "@tanstack/vue-virtual": "^3.0.0-beta.60" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/@heroicons/vue": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.2.0.tgz", - "integrity": "sha512-G3dbSxoeEKqbi/DFalhRxJU4mTXJn7GwZ7ae8NuEQzd1bqdd0jAbdaBZlHPcvPD2xI1iGzNVB4k20Un2AguYPw==", - "license": "MIT", - "peerDependencies": { - "vue": ">= 3" - } - }, "node_modules/@humanwhocodes/config-array": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", @@ -1974,24 +1915,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/@internationalized/date": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.8.2.tgz", - "integrity": "sha512-/wENk7CbvLbkUvX1tu0mwq49CVkkWpkXubGel6birjRPyo6uQ4nQpnq5xZu823zRCwwn82zgHrvgF1vZyvmVgA==", - "license": "Apache-2.0", - "dependencies": { - "@swc/helpers": "^0.5.0" - } - }, - "node_modules/@internationalized/number": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.4.tgz", - "integrity": "sha512-P+/h+RDaiX8EGt3shB9AYM1+QgkvHmJ5rKi4/59k4sg9g58k9rqsRW0WxRO7jCoHyvVbFRRFKmVTdFYdehrxHg==", - "license": "Apache-2.0", - "dependencies": { - "@swc/helpers": "^0.5.0" - } - }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -2063,6 +1986,12 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@kurkle/color": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz", + "integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==", + "license": "MIT" + }, "node_modules/@leichtgewicht/ip-codec": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", @@ -2244,41 +2173,6 @@ "integrity": "sha512-T7VNNlYVM1SgQ+VsMYhnDkcGmWhQdL0bDyGm5TlQ3GBXnJscEClUUOKduWTmm2zCnvNLC1hc3JpuXjs/nFOc5w==", "dev": true }, - "node_modules/@swc/helpers": { - "version": "0.5.17", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz", - "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==", - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.8.0" - } - }, - "node_modules/@tanstack/virtual-core": { - "version": "3.13.12", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.12.tgz", - "integrity": "sha512-1YBOJfRHV4sXUmWsFSf5rQor4Ss82G8dQWLRbnk3GA4jeP8hQt1hxXh0tmflpC0dz3VgEv/1+qwPyLeWkQuPFA==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, - "node_modules/@tanstack/vue-virtual": { - "version": "3.13.12", - "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.12.tgz", - "integrity": "sha512-vhF7kEU9EXWXh+HdAwKJ2m3xaOnTTmgcdXcF2pim8g4GvI7eRrk2YRuV5nUlZnd/NbCIX4/Ja2OZu5EjJL06Ww==", - "license": "MIT", - "dependencies": { - "@tanstack/virtual-core": "3.13.12" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "vue": "^2.7.0 || ^3.0.0" - } - }, "node_modules/@trysound/sax": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", @@ -2472,12 +2366,6 @@ "@types/node": "*" } }, - "node_modules/@types/web-bluetooth": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz", - "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==", - "license": "MIT" - }, "node_modules/@types/ws": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", @@ -3221,44 +3109,6 @@ "integrity": "sha512-Iu8Tbg3f+emIIMmI2ycSI8QcEuAUgPTgHwesDU1eKMLE4YC/c/sFbGc70QgMq31ijRftV0R7vCm9co6rldCeOA==", "dev": true }, - "node_modules/@vueuse/core": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-13.6.0.tgz", - "integrity": "sha512-DJbD5fV86muVmBgS9QQPddVX7d9hWYswzlf4bIyUD2dj8GC46R1uNClZhVAmsdVts4xb2jwp1PbpuiA50Qee1A==", - "license": "MIT", - "dependencies": { - "@types/web-bluetooth": "^0.0.21", - "@vueuse/metadata": "13.6.0", - "@vueuse/shared": "13.6.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "vue": "^3.5.0" - } - }, - "node_modules/@vueuse/metadata": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-13.6.0.tgz", - "integrity": "sha512-rnIH7JvU7NjrpexTsl2Iwv0V0yAx9cw7+clymjKuLSXG0QMcLD0LDgdNmXic+qL0SGvgSVPEpM9IDO/wqo1vkQ==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@vueuse/shared": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-13.6.0.tgz", - "integrity": "sha512-pDykCSoS2T3fsQrYqf9SyF0QXWHmcGPQ+qiOVjlYSzlWd9dgppB2bFSM1GgKKkt7uzn0BBMV3IbJsUfHG2+BCg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "vue": "^3.5.0" - } - }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -3670,18 +3520,6 @@ "dev": true, "license": "Python-2.0" }, - "node_modules/aria-hidden": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz", - "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==", - "license": "MIT", - "dependencies": { - "tslib": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", @@ -4170,6 +4008,37 @@ "node": ">=4" } }, + "node_modules/chart.js": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.1.tgz", + "integrity": "sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==", + "license": "MIT", + "dependencies": { + "@kurkle/color": "^0.3.0" + }, + "engines": { + "pnpm": ">=8" + } + }, + "node_modules/chartjs-adapter-date-fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chartjs-adapter-date-fns/-/chartjs-adapter-date-fns-3.0.0.tgz", + "integrity": "sha512-Rs3iEB3Q5pJ973J93OBTpnP7qoGwvq3nUnoMdtxO+9aoJof7UFcRbWcIDteXuYd1fgAvct/32T9qaLyLuZVwCg==", + "license": "MIT", + "peerDependencies": { + "chart.js": ">=2.8.0", + "date-fns": ">=2.0.0" + } + }, + "node_modules/chartjs-plugin-annotation": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/chartjs-plugin-annotation/-/chartjs-plugin-annotation-3.1.0.tgz", + "integrity": "sha512-EkAed6/ycXD/7n0ShrlT1T2Hm3acnbFhgkIEJLa0X+M6S16x0zwj1Fv4suv/2bwayCT3jGPdAtI9uLcAMToaQQ==", + "license": "MIT", + "peerDependencies": { + "chart.js": ">=4.0.0" + } + }, "node_modules/chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", @@ -5002,6 +4871,16 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", "license": "MIT" }, + "node_modules/date-fns": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/kossnocorp" + } + }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -5146,12 +5025,6 @@ "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", "dev": true }, - "node_modules/defu": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==", - "license": "MIT" - }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -6237,7 +6110,8 @@ "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "node_modules/fast-glob": { "version": "3.2.11", @@ -9535,88 +9409,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/radix-vue": { - "version": "1.9.17", - "resolved": "https://registry.npmjs.org/radix-vue/-/radix-vue-1.9.17.tgz", - "integrity": "sha512-mVCu7I2vXt1L2IUYHTt0sZMz7s1K2ZtqKeTIxG3yC5mMFfLBG4FtE1FDeRMpDd+Hhg/ybi9+iXmAP1ISREndoQ==", - "license": "MIT", - "dependencies": { - "@floating-ui/dom": "^1.6.7", - "@floating-ui/vue": "^1.1.0", - "@internationalized/date": "^3.5.4", - "@internationalized/number": "^3.5.3", - "@tanstack/vue-virtual": "^3.8.1", - "@vueuse/core": "^10.11.0", - "@vueuse/shared": "^10.11.0", - "aria-hidden": "^1.2.4", - "defu": "^6.1.4", - "fast-deep-equal": "^3.1.3", - "nanoid": "^5.0.7" - }, - "peerDependencies": { - "vue": ">= 3.2.0" - } - }, - "node_modules/radix-vue/node_modules/@types/web-bluetooth": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", - "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==", - "license": "MIT" - }, - "node_modules/radix-vue/node_modules/@vueuse/core": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.1.tgz", - "integrity": "sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==", - "license": "MIT", - "dependencies": { - "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.11.1", - "@vueuse/shared": "10.11.1", - "vue-demi": ">=0.14.8" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/radix-vue/node_modules/@vueuse/metadata": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.1.tgz", - "integrity": "sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/radix-vue/node_modules/@vueuse/shared": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.1.tgz", - "integrity": "sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==", - "license": "MIT", - "dependencies": { - "vue-demi": ">=0.14.8" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/radix-vue/node_modules/nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.js" - }, - "engines": { - "node": "^18 || >=20" - } - }, "node_modules/randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -10821,6 +10613,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, "license": "0BSD" }, "node_modules/type-check": { @@ -11026,30 +10819,14 @@ } } }, - "node_modules/vue-demi": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", - "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", - "hasInstallScript": true, + "node_modules/vue-chartjs": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/vue-chartjs/-/vue-chartjs-5.3.2.tgz", + "integrity": "sha512-NrkbRRoYshbXbWqJkTN6InoDVwVb90C0R7eAVgMWcB9dPikbruaOoTFjFYHE/+tNPdIe6qdLCDjfjPHQ0fw4jw==", "license": "MIT", - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } + "chart.js": "^4.1.1", + "vue": "^3.0.0-0 || ^2.7.0" } }, "node_modules/vue-eslint-parser": { @@ -13323,38 +13100,6 @@ "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true }, - "@floating-ui/core": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz", - "integrity": "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w==", - "requires": { - "@floating-ui/utils": "^0.2.10" - } - }, - "@floating-ui/dom": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.3.tgz", - "integrity": "sha512-uZA413QEpNuhtb3/iIKoYMSK07keHPYeXF02Zhd6e213j+d1NamLix/mCLxBUDW/Gx52sPH2m+chlUsyaBs/Ag==", - "requires": { - "@floating-ui/core": "^1.7.3", - "@floating-ui/utils": "^0.2.10" - } - }, - "@floating-ui/utils": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.10.tgz", - "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==" - }, - "@floating-ui/vue": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/@floating-ui/vue/-/vue-1.1.8.tgz", - "integrity": "sha512-SNJAa1jbT8Gh1LvWw2uIIViLL0saV2bCY59ISCvJzhbut5DSb2H3LKUK49Xkd7SixTNHKX4LFu59nbwIXt9jjQ==", - "requires": { - "@floating-ui/dom": "^1.7.3", - "@floating-ui/utils": "^0.2.10", - "vue-demi": ">=0.13.0" - } - }, "@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", @@ -13370,20 +13115,6 @@ "@hapi/hoek": "^9.0.0" } }, - "@headlessui/vue": { - "version": "1.7.23", - "resolved": "https://registry.npmjs.org/@headlessui/vue/-/vue-1.7.23.tgz", - "integrity": "sha512-JzdCNqurrtuu0YW6QaDtR2PIYCKPUWq28csDyMvN4zmGccmE7lz40Is6hc3LA4HFeCI7sekZ/PQMTNmn9I/4Wg==", - "requires": { - "@tanstack/vue-virtual": "^3.0.0-beta.60" - } - }, - "@heroicons/vue": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@heroicons/vue/-/vue-2.2.0.tgz", - "integrity": "sha512-G3dbSxoeEKqbi/DFalhRxJU4mTXJn7GwZ7ae8NuEQzd1bqdd0jAbdaBZlHPcvPD2xI1iGzNVB4k20Un2AguYPw==", - "requires": {} - }, "@humanwhocodes/config-array": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", @@ -13407,22 +13138,6 @@ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", "dev": true }, - "@internationalized/date": { - "version": "3.8.2", - "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.8.2.tgz", - "integrity": "sha512-/wENk7CbvLbkUvX1tu0mwq49CVkkWpkXubGel6birjRPyo6uQ4nQpnq5xZu823zRCwwn82zgHrvgF1vZyvmVgA==", - "requires": { - "@swc/helpers": "^0.5.0" - } - }, - "@internationalized/number": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.4.tgz", - "integrity": "sha512-P+/h+RDaiX8EGt3shB9AYM1+QgkvHmJ5rKi4/59k4sg9g58k9rqsRW0WxRO7jCoHyvVbFRRFKmVTdFYdehrxHg==", - "requires": { - "@swc/helpers": "^0.5.0" - } - }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -13483,6 +13198,11 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "@kurkle/color": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.4.tgz", + "integrity": "sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==" + }, "@leichtgewicht/ip-codec": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", @@ -13629,27 +13349,6 @@ "integrity": "sha512-T7VNNlYVM1SgQ+VsMYhnDkcGmWhQdL0bDyGm5TlQ3GBXnJscEClUUOKduWTmm2zCnvNLC1hc3JpuXjs/nFOc5w==", "dev": true }, - "@swc/helpers": { - "version": "0.5.17", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz", - "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==", - "requires": { - "tslib": "^2.8.0" - } - }, - "@tanstack/virtual-core": { - "version": "3.13.12", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.12.tgz", - "integrity": "sha512-1YBOJfRHV4sXUmWsFSf5rQor4Ss82G8dQWLRbnk3GA4jeP8hQt1hxXh0tmflpC0dz3VgEv/1+qwPyLeWkQuPFA==" - }, - "@tanstack/vue-virtual": { - "version": "3.13.12", - "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.13.12.tgz", - "integrity": "sha512-vhF7kEU9EXWXh+HdAwKJ2m3xaOnTTmgcdXcF2pim8g4GvI7eRrk2YRuV5nUlZnd/NbCIX4/Ja2OZu5EjJL06Ww==", - "requires": { - "@tanstack/virtual-core": "3.13.12" - } - }, "@trysound/sax": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz", @@ -13840,11 +13539,6 @@ "@types/node": "*" } }, - "@types/web-bluetooth": { - "version": "0.0.21", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.21.tgz", - "integrity": "sha512-oIQLCGWtcFZy2JW77j9k8nHzAOpqMHLQejDA48XXMWH6tjCQHz5RCFz1bzsmROyL6PUm+LLnUiI4BCn221inxA==" - }, "@types/ws": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", @@ -14421,27 +14115,6 @@ "integrity": "sha512-Iu8Tbg3f+emIIMmI2ycSI8QcEuAUgPTgHwesDU1eKMLE4YC/c/sFbGc70QgMq31ijRftV0R7vCm9co6rldCeOA==", "dev": true }, - "@vueuse/core": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-13.6.0.tgz", - "integrity": "sha512-DJbD5fV86muVmBgS9QQPddVX7d9hWYswzlf4bIyUD2dj8GC46R1uNClZhVAmsdVts4xb2jwp1PbpuiA50Qee1A==", - "requires": { - "@types/web-bluetooth": "^0.0.21", - "@vueuse/metadata": "13.6.0", - "@vueuse/shared": "13.6.0" - } - }, - "@vueuse/metadata": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-13.6.0.tgz", - "integrity": "sha512-rnIH7JvU7NjrpexTsl2Iwv0V0yAx9cw7+clymjKuLSXG0QMcLD0LDgdNmXic+qL0SGvgSVPEpM9IDO/wqo1vkQ==" - }, - "@vueuse/shared": { - "version": "13.6.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-13.6.0.tgz", - "integrity": "sha512-pDykCSoS2T3fsQrYqf9SyF0QXWHmcGPQ+qiOVjlYSzlWd9dgppB2bFSM1GgKKkt7uzn0BBMV3IbJsUfHG2+BCg==", - "requires": {} - }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -14776,14 +14449,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, - "aria-hidden": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.6.tgz", - "integrity": "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==", - "requires": { - "tslib": "^2.0.0" - } - }, "array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", @@ -15123,6 +14788,26 @@ "supports-color": "^5.3.0" } }, + "chart.js": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.5.1.tgz", + "integrity": "sha512-GIjfiT9dbmHRiYi6Nl2yFCq7kkwdkp1W/lp2J99rX0yo9tgJGn3lKQATztIjb5tVtevcBtIdICNWqlq5+E8/Pw==", + "requires": { + "@kurkle/color": "^0.3.0" + } + }, + "chartjs-adapter-date-fns": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chartjs-adapter-date-fns/-/chartjs-adapter-date-fns-3.0.0.tgz", + "integrity": "sha512-Rs3iEB3Q5pJ973J93OBTpnP7qoGwvq3nUnoMdtxO+9aoJof7UFcRbWcIDteXuYd1fgAvct/32T9qaLyLuZVwCg==", + "requires": {} + }, + "chartjs-plugin-annotation": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/chartjs-plugin-annotation/-/chartjs-plugin-annotation-3.1.0.tgz", + "integrity": "sha512-EkAed6/ycXD/7n0ShrlT1T2Hm3acnbFhgkIEJLa0X+M6S16x0zwj1Fv4suv/2bwayCT3jGPdAtI9uLcAMToaQQ==", + "requires": {} + }, "chokidar": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", @@ -15721,6 +15406,11 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, + "date-fns": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", + "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==" + }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -15822,11 +15512,6 @@ "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", "dev": true }, - "defu": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", - "integrity": "sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==" - }, "depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -16615,7 +16300,8 @@ "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "fast-glob": { "version": "3.2.11", @@ -18970,60 +18656,6 @@ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", "dev": true }, - "radix-vue": { - "version": "1.9.17", - "resolved": "https://registry.npmjs.org/radix-vue/-/radix-vue-1.9.17.tgz", - "integrity": "sha512-mVCu7I2vXt1L2IUYHTt0sZMz7s1K2ZtqKeTIxG3yC5mMFfLBG4FtE1FDeRMpDd+Hhg/ybi9+iXmAP1ISREndoQ==", - "requires": { - "@floating-ui/dom": "^1.6.7", - "@floating-ui/vue": "^1.1.0", - "@internationalized/date": "^3.5.4", - "@internationalized/number": "^3.5.3", - "@tanstack/vue-virtual": "^3.8.1", - "@vueuse/core": "^10.11.0", - "@vueuse/shared": "^10.11.0", - "aria-hidden": "^1.2.4", - "defu": "^6.1.4", - "fast-deep-equal": "^3.1.3", - "nanoid": "^5.0.7" - }, - "dependencies": { - "@types/web-bluetooth": { - "version": "0.0.20", - "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", - "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==" - }, - "@vueuse/core": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.11.1.tgz", - "integrity": "sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==", - "requires": { - "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.11.1", - "@vueuse/shared": "10.11.1", - "vue-demi": ">=0.14.8" - } - }, - "@vueuse/metadata": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.11.1.tgz", - "integrity": "sha512-IGa5FXd003Ug1qAZmyE8wF3sJ81xGLSqTqtQ6jaVfkeZ4i5kS2mwQF61yhVqojRnenVew5PldLyRgvdl4YYuSw==" - }, - "@vueuse/shared": { - "version": "10.11.1", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.11.1.tgz", - "integrity": "sha512-LHpC8711VFZlDaYUXEBbFBCQ7GS3dVU9mjOhhMhXP6txTV4EhYQg/KGnQuvt/sPAtoUKq7VVUnL6mVtFoL42sA==", - "requires": { - "vue-demi": ">=0.14.8" - } - }, - "nanoid": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz", - "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==" - } - } - }, "randombytes": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", @@ -19954,7 +19586,8 @@ "tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true }, "type-check": { "version": "0.4.0", @@ -20092,10 +19725,10 @@ "@vue/shared": "3.5.18" } }, - "vue-demi": { - "version": "0.14.10", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", - "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "vue-chartjs": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/vue-chartjs/-/vue-chartjs-5.3.2.tgz", + "integrity": "sha512-NrkbRRoYshbXbWqJkTN6InoDVwVb90C0R7eAVgMWcB9dPikbruaOoTFjFYHE/+tNPdIe6qdLCDjfjPHQ0fw4jw==", "requires": {} }, "vue-eslint-parser": { diff --git a/web/app/package.json b/web/app/package.json index 01f99607..6c325f89 100644 --- a/web/app/package.json +++ b/web/app/package.json @@ -8,22 +8,27 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "chart.js": "^4.5.1", + "chartjs-adapter-date-fns": "^3.0.0", + "chartjs-plugin-annotation": "^3.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "core-js": "^3.45.0", + "date-fns": "^4.1.0", "lucide-vue-next": "^0.539.0", "tailwind-merge": "^3.3.1", "vue": "^3.5.18", + "vue-chartjs": "^5.3.2", "vue-router": "^4.5.1" }, "devDependencies": { + "@babel/eslint-parser": "^7.25.1", "@vue/cli-plugin-babel": "^5.0.8", "@vue/cli-plugin-eslint": "^5.0.8", "@vue/cli-plugin-router": "^5.0.8", "@vue/cli-service": "^5.0.8", "@vue/compiler-sfc": "^3.5.18", "autoprefixer": "^10.4.21", - "@babel/eslint-parser": "^7.25.1", "eslint": "^8.57.1", "eslint-plugin-vue": "^9.28.0", "postcss": "^8.5.6", diff --git a/web/app/src/assets/logo.png b/web/app/src/assets/logo.png deleted file mode 100644 index fd49e1ae26afb7c034ef69387afd1510e108a659..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 52184 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
PryPc|77v|?tfSBUy$`apvC0oU=L~` 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 GGywofiDVuC diff --git a/web/app/src/components/AnnouncementBanner.vue b/web/app/src/components/AnnouncementBanner.vue index 026e19fb..012b3f5d 100644 --- a/web/app/src/components/AnnouncementBanner.vue +++ b/web/app/src/components/AnnouncementBanner.vue @@ -44,13 +44,6 @@ :key="date" class="relative" > - -
-
@@ -69,18 +62,37 @@ class="relative" > -
-
+ +
+ + +
+
+
+ +
+
+ {{ error }} +
+ +
+ + + \ No newline at end of file diff --git a/web/app/src/utils/time.js b/web/app/src/utils/time.js index f757f0ea..f354346e 100644 --- a/web/app/src/utils/time.js +++ b/web/app/src/utils/time.js @@ -31,8 +31,28 @@ export const generatePrettyTimeAgo = (timestamp) => { * @returns {string} Time difference string */ export const generatePrettyTimeDifference = (start, end) => { - let minutes = Math.ceil((new Date(start) - new Date(end)) / 1000 / 60); - return minutes + (minutes === 1 ? ' minute' : ' minutes'); + const ms = new Date(start) - new Date(end) + const seconds = Math.floor(ms / 1000) + const minutes = Math.floor(seconds / 60) + const hours = Math.floor(minutes / 60) + + if (hours > 0) { + const remainingMinutes = minutes % 60 + const hoursText = hours + (hours === 1 ? ' hour' : ' hours') + if (remainingMinutes > 0) { + return hoursText + ' ' + remainingMinutes + (remainingMinutes === 1 ? ' minute' : ' minutes') + } + return hoursText + } else if (minutes > 0) { + const remainingSeconds = seconds % 60 + const minutesText = minutes + (minutes === 1 ? ' minute' : ' minutes') + if (remainingSeconds > 0) { + return minutesText + ' ' + remainingSeconds + (remainingSeconds === 1 ? ' second' : ' seconds') + } + return minutesText + } else { + return seconds + (seconds === 1 ? ' second' : ' seconds') + } } /** diff --git a/web/app/src/views/EndpointDetails.vue b/web/app/src/views/EndpointDetails.vue index be88cce9..8b9de9b0 100644 --- a/web/app/src/views/EndpointDetails.vue +++ b/web/app/src/views/EndpointDetails.vue @@ -117,7 +117,13 @@
- Response time chart + @@ -206,6 +212,7 @@ import EndpointCard from '@/components/EndpointCard.vue' import Settings from '@/components/Settings.vue' import Pagination from '@/components/Pagination.vue' import Loading from '@/components/Loading.vue' +import ResponseTimeChart from '@/components/ResponseTimeChart.vue' import { SERVER_URL } from '@/main.js' import { generatePrettyTimeAgo, generatePrettyTimeDifference } from '@/utils/time' @@ -389,10 +396,6 @@ const generateResponseTimeBadgeImageURL = (duration) => { return `${serverUrl}/api/v1/endpoints/${endpointStatus.value.key}/response-times/${duration}/badge.svg` } -const generateResponseTimeChartImageURL = (duration) => { - return `${serverUrl}/api/v1/endpoints/${endpointStatus.value.key}/response-times/${duration}/chart.svg` -} - onMounted(() => { fetchData() }) diff --git a/web/static/css/app.css b/web/static/css/app.css index 8f7652dd..42eef621 100644 --- a/web/static/css/app.css +++ b/web/static/css/app.css @@ -2,4 +2,4 @@ /* ! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com -*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Consolas,Monaco,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:222.2 47.4% 11.2%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:222.2 84% 4.9%;--radius:0.5rem}:root.dark{--background:222.2 84% 4.9%;--foreground:210 40% 98%;--card:222.2 84% 4.9%;--card-foreground:210 40% 98%;--popover:222.2 84% 4.9%;--popover-foreground:210 40% 98%;--primary:210 40% 98%;--primary-foreground:222.2 47.4% 11.2%;--secondary:217.2 32.6% 17.5%;--secondary-foreground:210 40% 98%;--muted:217.2 32.6% 17.5%;--muted-foreground:215 20.2% 65.1%;--accent:217.2 32.6% 17.5%;--accent-foreground:210 40% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 40% 98%;--border:217.2 32.6% 17.5%;--input:217.2 32.6% 17.5%;--ring:212.7 26.8% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-3{left:.75rem}.-left-\[26px\]{left:-26px}.top-1\/2{top:50%}.left-1\/2{left:50%}.bottom-8{bottom:2rem}.top-8{top:2rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.bottom-full{bottom:100%}.left-0{left:0}.top-full{top:100%}.left-1\.5{left:.375rem}.left-1{left:.25rem}.z-10{z-index:10}.z-50{z-index:50}.-m-2{margin:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.mb-4{margin-bottom:1rem}.mt-2{margin-top:.5rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.ml-7{margin-left:1.75rem}.ml-2{margin-left:.5rem}.mb-1{margin-bottom:.25rem}.mt-1{margin-top:.25rem}.mt-6{margin-top:1.5rem}.mt-0\.5{margin-top:.125rem}.mt-0{margin-top:0}.mb-3{margin-bottom:.75rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.\!hidden{display:none!important}.h-12{height:3rem}.h-full{height:100%}.h-5{height:1.25rem}.h-20{height:5rem}.h-11{height:2.75rem}.h-4{height:1rem}.h-8{height:2rem}.h-3{height:.75rem}.h-6{height:1.5rem}.h-16{height:4rem}.h-1{height:.25rem}.h-3\.5{height:.875rem}.h-2{height:.5rem}.h-10{height:2.5rem}.h-9{height:2.25rem}.max-h-\[80vh\]{max-height:80vh}.max-h-\[60vh\]{max-height:60vh}.max-h-48{max-height:12rem}.max-h-32{max-height:8rem}.min-h-screen{min-height:100vh}.min-h-\[1\.25rem\]{min-height:1.25rem}.w-12{width:3rem}.w-full{width:100%}.w-5{width:1.25rem}.w-20{width:5rem}.w-4{width:1rem}.w-0\.5{width:.125rem}.w-0{width:0}.w-3{width:.75rem}.w-8{width:2rem}.w-6{width:1.5rem}.w-16{width:4rem}.w-3\.5{width:.875rem}.w-px{width:1px}.w-2{width:.5rem}.w-10{width:2.5rem}.min-w-0{min-width:0}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.max-w-2xl{max-width:42rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-x-px,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.-translate-x-1\/2{--tw-translate-x:-50%}.-rotate-90,.-translate-x-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate:-90deg}.rotate-0{--tw-rotate:0deg}.rotate-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-0\.5{gap:.125rem}.gap-0{gap:0}.gap-1\.5{gap:.375rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-lg{border-radius:var(--radius)}.rounded-full{border-radius:9999px}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded{border-radius:.25rem}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l-4{border-left-width:4px}.border-l-2{border-left-width:2px}.border-dashed{border-style:dashed}.border-destructive\/20{border-color:hsl(var(--destructive)/.2)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity:1;border-color:rgb(234 179 8/var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-input{border-color:hsl(var(--input))}.bg-background{background-color:hsl(var(--background))}.bg-card\/50{background-color:hsl(var(--card)/.5)}.bg-destructive\/10{background-color:hsl(var(--destructive)/.1)}.bg-primary{background-color:hsl(var(--primary))}.bg-card{background-color:hsl(var(--card))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-background\/95{background-color:hsl(var(--background)/.95)}.bg-popover{background-color:hsl(var(--popover))}.bg-accent{background-color:hsl(var(--accent))}.bg-border\/50{background-color:hsl(var(--border)/.5)}.bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-black\/50{background-color:rgba(0,0,0,.5)}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-4{padding:1rem}.p-3{padding:.75rem}.p-2{padding:.5rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-0{padding:0}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-20{padding-top:5rem;padding-bottom:5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-0{padding-top:0;padding-bottom:0}.pt-4{padding-top:1rem}.pt-3{padding-top:.75rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pt-2{padding-top:.5rem}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-4{padding-bottom:1rem}.pt-0{padding-top:0}.pl-6{padding-left:1.5rem}.pr-2{padding-right:.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:Consolas,Monaco,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-emerald-800{--tw-text-opacity:1;color:rgb(6 95 70/var(--tw-text-opacity))}.text-destructive{color:hsl(var(--destructive))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-blue-900{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-primary{color:hsl(var(--primary))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-60{opacity:.6}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-blue-200{--tw-ring-opacity:1;--tw-ring-color:rgb(191 219 254/var(--tw-ring-opacity))}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.grayscale{--tw-grayscale:grayscale(100%)}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px)}.backdrop-blur,.backdrop-blur-sm{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.bg-success{background-color:#28a745}html{height:100%}body{min-height:100vh}@media screen and (max-width:1279px){body{padding-top:0;padding-bottom:0}}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:border-0:last-child{border-width:0}@media (hover:hover) and (pointer:fine){.hover\:scale-\[1\.01\]:hover{--tw-scale-x:1.01;--tw-scale-y:1.01}.hover\:scale-110:hover,.hover\:scale-\[1\.01\]:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.hover\:bg-accent\/30:hover{background-color:hsl(var(--accent)/.3)}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-emerald-600:hover{--tw-text-opacity:1;color:rgb(5 150 105/var(--tw-text-opacity))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.hover\:shadow-lg:hover,.hover\:shadow-sm:hover{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.group:hover .group-hover\:opacity-100{opacity:1}}.dark .dark\:border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.dark .dark\:border-blue-800{--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark .dark\:border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.dark .dark\:border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.dark .dark\:border-green-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.dark .dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.dark .dark\:bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark .dark\:bg-red-900\/50{background-color:rgba(127,29,29,.5)}.dark .dark\:bg-yellow-900\/50{background-color:rgba(113,63,18,.5)}.dark .dark\:bg-blue-900\/50{background-color:rgba(30,58,138,.5)}.dark .dark\:bg-green-900\/50{background-color:rgba(20,83,45,.5)}.dark .dark\:bg-gray-800\/50{background-color:rgba(31,41,55,.5)}.dark .dark\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark .dark\:bg-blue-900{--tw-bg-opacity:1;background-color:rgb(30 58 138/var(--tw-bg-opacity))}.dark .dark\:bg-red-900{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}.dark .dark\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.dark .dark\:bg-blue-900\/30{background-color:rgba(30,58,138,.3)}.dark .dark\:bg-green-900\/30{background-color:rgba(20,83,45,.3)}.dark .dark\:bg-red-900\/30{background-color:rgba(127,29,29,.3)}.dark .dark\:text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark .dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark .dark\:text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark .dark\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark .dark\:text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}.dark .dark\:text-yellow-300{--tw-text-opacity:1;color:rgb(253 224 71/var(--tw-text-opacity))}.dark .dark\:text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.dark .dark\:text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark .dark\:text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark .dark\:text-green-300{--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark .dark\:text-blue-200{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.dark .dark\:text-red-200{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.dark .dark\:text-green-200{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.dark .dark\:ring-blue-800{--tw-ring-opacity:1;--tw-ring-color:rgb(30 64 175/var(--tw-ring-opacity))}@media (hover:hover) and (pointer:fine){.dark .dark\:hover\:border-gray-700:hover{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}.dark .dark\:hover\:bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}}@media (min-width:640px){.sm\:left-2{left:.5rem}.sm\:h-8{height:2rem}.sm\:h-10{height:2.5rem}.sm\:h-4{height:1rem}.sm\:w-\[140px\]{width:140px}.sm\:w-\[90px\]{width:90px}.sm\:w-4{width:1rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:gap-3{gap:.75rem}.sm\:gap-4{gap:1rem}.sm\:p-4{padding:1rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\:pt-6{padding-top:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:pl-8{padding-left:2rem}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[160px\]{width:160px}.md\:w-\[100px\]{width:100px}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:gap-4{gap:1rem}}.suite[data-v-230a1fd1]{transition:all .2s ease}.suite[data-v-230a1fd1]:hover{transform:translateY(-2px)}.suite-header[data-v-230a1fd1]{border-bottom:1px solid rgba(0,0,0,.05)}.dark .suite-header[data-v-230a1fd1]{border-bottom:1px solid hsla(0,0%,100%,.05)}@keyframes slideIn-482756f8{0%{transform:translateX(-20px);opacity:0}to{transform:translateX(0);opacity:1}}#settings[data-v-482756f8]{animation:slideIn-482756f8 .3s ease-out}#settings>div[data-v-482756f8]{transition:all .2s ease}#settings>div[data-v-482756f8]:hover{transform:translateY(-2px);box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)}.announcement-container[data-v-48763619]{animation:slideDown-48763619 .3s ease-out}@keyframes slideDown-48763619{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:640px){.announcement-container .ml-7[data-v-48763619]{margin-left:1.5rem}}.suite-details-container[data-v-01b6e7cc]{min-height:100vh} \ No newline at end of file +*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:Consolas,Monaco,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}:root{--background:0 0% 100%;--foreground:222.2 84% 4.9%;--card:0 0% 100%;--card-foreground:222.2 84% 4.9%;--popover:0 0% 100%;--popover-foreground:222.2 84% 4.9%;--primary:222.2 47.4% 11.2%;--primary-foreground:210 40% 98%;--secondary:210 40% 96.1%;--secondary-foreground:222.2 47.4% 11.2%;--muted:210 40% 96.1%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96.1%;--accent-foreground:222.2 47.4% 11.2%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:222.2 84% 4.9%;--radius:0.5rem}:root.dark{--background:222.2 84% 4.9%;--foreground:210 40% 98%;--card:222.2 84% 4.9%;--card-foreground:210 40% 98%;--popover:222.2 84% 4.9%;--popover-foreground:210 40% 98%;--primary:210 40% 98%;--primary-foreground:222.2 47.4% 11.2%;--secondary:217.2 32.6% 17.5%;--secondary-foreground:210 40% 98%;--muted:217.2 32.6% 17.5%;--muted-foreground:215 20.2% 65.1%;--accent:217.2 32.6% 17.5%;--accent-foreground:210 40% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:210 40% 98%;--border:217.2 32.6% 17.5%;--input:217.2 32.6% 17.5%;--ring:212.7 26.8% 83.9%}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-left-\[26px\]{left:-26px}.top-3{top:.75rem}.top-1\/2{top:50%}.left-1\/2{left:50%}.bottom-8{bottom:2rem}.top-8{top:2rem}.left-3{left:.75rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.bottom-full{bottom:100%}.left-0{left:0}.top-full{top:100%}.left-1\.5{left:.375rem}.left-1{left:.25rem}.z-10{z-index:10}.z-50{z-index:50}.-m-2{margin:-.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.mt-auto{margin-top:auto}.mb-4{margin-bottom:1rem}.mt-2{margin-top:.5rem}.mb-6{margin-bottom:1.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.ml-7{margin-left:1.75rem}.ml-2{margin-left:.5rem}.mb-1{margin-bottom:.25rem}.mt-1{margin-top:.25rem}.mt-6{margin-top:1.5rem}.mt-0\.5{margin-top:.125rem}.mt-0{margin-top:0}.mb-3{margin-bottom:.75rem}.mt-8{margin-top:2rem}.ml-1{margin-left:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.\!hidden{display:none!important}.h-12{height:3rem}.h-full{height:100%}.h-5{height:1.25rem}.h-20{height:5rem}.h-11{height:2.75rem}.h-4{height:1rem}.h-8{height:2rem}.h-3{height:.75rem}.h-6{height:1.5rem}.h-16{height:4rem}.h-1{height:.25rem}.h-3\.5{height:.875rem}.h-2{height:.5rem}.h-10{height:2.5rem}.h-9{height:2.25rem}.max-h-\[80vh\]{max-height:80vh}.max-h-\[60vh\]{max-height:60vh}.max-h-48{max-height:12rem}.max-h-32{max-height:8rem}.min-h-screen{min-height:100vh}.min-h-\[1\.25rem\]{min-height:1.25rem}.w-12{width:3rem}.w-full{width:100%}.w-5{width:1.25rem}.w-20{width:5rem}.w-4{width:1rem}.w-3{width:.75rem}.w-0\.5{width:.125rem}.w-0{width:0}.w-8{width:2rem}.w-6{width:1.5rem}.w-16{width:4rem}.w-3\.5{width:.875rem}.w-px{width:1px}.w-2{width:.5rem}.w-10{width:2.5rem}.min-w-0{min-width:0}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.max-w-2xl{max-width:42rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y:-50%}.-translate-x-px,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-px{--tw-translate-x:-1px}.-translate-x-1\/2{--tw-translate-x:-50%}.-rotate-90,.-translate-x-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate:-90deg}.rotate-0{--tw-rotate:0deg}.rotate-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-3{gap:.75rem}.gap-2{gap:.5rem}.gap-1{gap:.25rem}.gap-0\.5{gap:.125rem}.gap-0{gap:0}.gap-1\.5{gap:.375rem}.gap-6{gap:1.5rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis}.truncate,.whitespace-nowrap{white-space:nowrap}.break-all{word-break:break-all}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-lg{border-radius:var(--radius)}.rounded-full{border-radius:9999px}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded{border-radius:.25rem}.rounded-t-lg{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.border{border-width:1px}.border-2{border-width:2px}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-l-4{border-left-width:4px}.border-l-2{border-left-width:2px}.border-dashed{border-style:dashed}.border-destructive\/20{border-color:hsl(var(--destructive)/.2)}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity:1;border-color:rgb(234 179 8/var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity))}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.border-red-200{--tw-border-opacity:1;border-color:rgb(254 202 202/var(--tw-border-opacity))}.border-green-200{--tw-border-opacity:1;border-color:rgb(187 247 208/var(--tw-border-opacity))}.border-border{border-color:hsl(var(--border))}.border-transparent{border-color:transparent}.border-input{border-color:hsl(var(--input))}.bg-background{background-color:hsl(var(--background))}.bg-card\/50{background-color:hsl(var(--card)/.5)}.bg-destructive\/10{background-color:hsl(var(--destructive)/.1)}.bg-primary{background-color:hsl(var(--primary))}.bg-card{background-color:hsl(var(--card))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity:1;background-color:rgb(34 197 94/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity:1;background-color:rgb(239 68 68/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity:1;background-color:rgb(219 234 254/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity:1;background-color:rgb(59 130 246/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-background\/50{background-color:hsl(var(--background)/.5)}.bg-background\/95{background-color:hsl(var(--background)/.95)}.bg-popover{background-color:hsl(var(--popover))}.bg-accent{background-color:hsl(var(--accent))}.bg-border\/50{background-color:hsl(var(--border)/.5)}.bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-black\/50{background-color:rgba(0,0,0,.5)}.bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-4{padding:1rem}.p-3{padding:.75rem}.p-2{padding:.5rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-0{padding:0}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-20{padding-top:5rem;padding-bottom:5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-0{padding-top:0;padding-bottom:0}.pt-4{padding-top:1rem}.pt-3{padding-top:.75rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pt-2{padding-top:.5rem}.pt-1{padding-top:.25rem}.pl-10{padding-left:2.5rem}.pb-4{padding-bottom:1rem}.pt-0{padding-top:0}.pl-6{padding-left:1.5rem}.pr-2{padding-right:.5rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:Consolas,Monaco,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-relaxed{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-emerald-800{--tw-text-opacity:1;color:rgb(6 95 70/var(--tw-text-opacity))}.text-destructive{color:hsl(var(--destructive))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/var(--tw-text-opacity))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-blue-900{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(22 101 52/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity:1;color:rgb(234 179 8/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-primary{color:hsl(var(--primary))}.text-accent-foreground{color:hsl(var(--accent-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-60{opacity:.6}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-md,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-none{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-blue-200{--tw-ring-opacity:1;--tw-ring-color:rgb(191 219 254/var(--tw-ring-opacity))}.ring-offset-background{--tw-ring-offset-color:hsl(var(--background))}.grayscale{--tw-grayscale:grayscale(100%)}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px)}.backdrop-blur,.backdrop-blur-sm{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.bg-success{background-color:#28a745}html{height:100%}body{min-height:100vh}@media screen and (max-width:1279px){body{padding-top:0;padding-bottom:0}}.file\:border-0::file-selector-button{border-width:0}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:border-0:last-child{border-width:0}@media (hover:hover) and (pointer:fine){.hover\:scale-\[1\.01\]:hover{--tw-scale-x:1.01;--tw-scale-y:1.01}.hover\:scale-110:hover,.hover\:scale-\[1\.01\]:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary)/.9)}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.hover\:bg-accent\/30:hover{background-color:hsl(var(--accent)/.3)}.hover\:bg-accent\/50:hover{background-color:hsl(var(--accent)/.5)}.hover\:bg-primary\/80:hover{background-color:hsl(var(--primary)/.8)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary)/.8)}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive)/.8)}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive)/.9)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-emerald-600:hover{--tw-text-opacity:1;color:rgb(5 150 105/var(--tw-text-opacity))}.hover\:text-primary:hover{color:hsl(var(--primary))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.hover\:shadow-lg:hover,.hover\:shadow-sm:hover{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color:hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.group:hover .group-hover\:opacity-100{opacity:1}}.dark .dark\:border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity))}.dark .dark\:border-blue-800{--tw-border-opacity:1;border-color:rgb(30 64 175/var(--tw-border-opacity))}.dark .dark\:border-blue-700{--tw-border-opacity:1;border-color:rgb(29 78 216/var(--tw-border-opacity))}.dark .dark\:border-red-700{--tw-border-opacity:1;border-color:rgb(185 28 28/var(--tw-border-opacity))}.dark .dark\:border-green-700{--tw-border-opacity:1;border-color:rgb(21 128 61/var(--tw-border-opacity))}.dark .dark\:bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.dark .dark\:bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.dark .dark\:bg-red-900\/50{background-color:rgba(127,29,29,.5)}.dark .dark\:bg-yellow-900\/50{background-color:rgba(113,63,18,.5)}.dark .dark\:bg-blue-900\/50{background-color:rgba(30,58,138,.5)}.dark .dark\:bg-green-900\/50{background-color:rgba(20,83,45,.5)}.dark .dark\:bg-gray-800\/50{background-color:rgba(31,41,55,.5)}.dark .dark\:bg-gray-700{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}.dark .dark\:bg-blue-900{--tw-bg-opacity:1;background-color:rgb(30 58 138/var(--tw-bg-opacity))}.dark .dark\:bg-red-900{--tw-bg-opacity:1;background-color:rgb(127 29 29/var(--tw-bg-opacity))}.dark .dark\:bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.dark .dark\:bg-blue-900\/30{background-color:rgba(30,58,138,.3)}.dark .dark\:bg-green-900\/30{background-color:rgba(20,83,45,.3)}.dark .dark\:bg-red-900\/30{background-color:rgba(127,29,29,.3)}.dark .dark\:text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity))}.dark .dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark .dark\:text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.dark .dark\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.dark .dark\:text-red-300{--tw-text-opacity:1;color:rgb(252 165 165/var(--tw-text-opacity))}.dark .dark\:text-yellow-400{--tw-text-opacity:1;color:rgb(250 204 21/var(--tw-text-opacity))}.dark .dark\:text-yellow-300{--tw-text-opacity:1;color:rgb(253 224 71/var(--tw-text-opacity))}.dark .dark\:text-blue-400{--tw-text-opacity:1;color:rgb(96 165 250/var(--tw-text-opacity))}.dark .dark\:text-blue-300{--tw-text-opacity:1;color:rgb(147 197 253/var(--tw-text-opacity))}.dark .dark\:text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.dark .dark\:text-green-300{--tw-text-opacity:1;color:rgb(134 239 172/var(--tw-text-opacity))}.dark .dark\:text-blue-200{--tw-text-opacity:1;color:rgb(191 219 254/var(--tw-text-opacity))}.dark .dark\:text-red-200{--tw-text-opacity:1;color:rgb(254 202 202/var(--tw-text-opacity))}.dark .dark\:text-green-200{--tw-text-opacity:1;color:rgb(187 247 208/var(--tw-text-opacity))}.dark .dark\:ring-blue-800{--tw-ring-opacity:1;--tw-ring-color:rgb(30 64 175/var(--tw-ring-opacity))}@media (hover:hover) and (pointer:fine){.dark .dark\:hover\:border-gray-700:hover{--tw-border-opacity:1;border-color:rgb(55 65 81/var(--tw-border-opacity))}.dark .dark\:hover\:bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity))}}@media (min-width:640px){.sm\:left-2{left:.5rem}.sm\:h-8{height:2rem}.sm\:h-10{height:2.5rem}.sm\:h-4{height:1rem}.sm\:w-\[140px\]{width:140px}.sm\:w-\[90px\]{width:90px}.sm\:w-4{width:1rem}.sm\:flex-initial{flex:0 1 auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:gap-3{gap:.75rem}.sm\:gap-4{gap:1rem}.sm\:p-4{padding:1rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\:pt-6{padding-top:1.5rem}.sm\:pb-4{padding-bottom:1rem}.sm\:pl-8{padding-left:2rem}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-\[160px\]{width:160px}.md\:w-\[100px\]{width:100px}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:gap-4{gap:1rem}}.suite[data-v-230a1fd1]{transition:all .2s ease}.suite[data-v-230a1fd1]:hover{transform:translateY(-2px)}.suite-header[data-v-230a1fd1]{border-bottom:1px solid rgba(0,0,0,.05)}.dark .suite-header[data-v-230a1fd1]{border-bottom:1px solid hsla(0,0%,100%,.05)}@keyframes slideIn-482756f8{0%{transform:translateX(-20px);opacity:0}to{transform:translateX(0);opacity:1}}#settings[data-v-482756f8]{animation:slideIn-482756f8 .3s ease-out}#settings>div[data-v-482756f8]{transition:all .2s ease}#settings>div[data-v-482756f8]:hover{transform:translateY(-2px);box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1)}.announcement-container[data-v-40313e9c]{animation:slideDown-40313e9c .3s ease-out}@keyframes slideDown-40313e9c{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:640px){.announcement-container .ml-7[data-v-40313e9c]{margin-left:1.5rem}}.suite-details-container[data-v-01b6e7cc]{min-height:100vh} \ No newline at end of file diff --git a/web/static/js/app.js b/web/static/js/app.js index 8f0748f2..4873a256 100644 --- a/web/static/js/app.js +++ b/web/static/js/app.js @@ -1 +1 @@ -(function(){"use strict";var e={438:function(e,t,s){s.d(t,{L:function(){return hr}});var l=s(963),a=s(252),n=s(577),r=s(262),o=s.p+"img/logo.svg",u=s(201),i=s(507),d=s(970),c=s(135),g=s(3),p=s(512),m=s(388);function v(...e){return(0,m.m6)((0,p.W)(e))}const f=["disabled"];var w={__name:"Button",props:{variant:{type:String,default:"default"},size:{type:String,default:"default"},disabled:{type:Boolean,default:!1}},setup(e){const t=(0,g.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}});return(s,l)=>((0,a.wg)(),(0,a.iD)("button",{class:(0,n.C_)((0,r.SU)(v)((0,r.SU)(t)({variant:e.variant,size:e.size}),s.$attrs.class??"")),disabled:e.disabled},[(0,a.WI)(s.$slots,"default")],10,f))}};const h=w;var x=h,b={__name:"Card",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("rounded-lg border bg-card text-card-foreground shadow-sm",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const y=b;var k=y,_={__name:"CardHeader",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("flex flex-col space-y-1.5 p-6",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const S=_;var D=S,U={__name:"CardTitle",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("h3",{class:(0,n.C_)((0,r.SU)(v)("text-2xl font-semibold leading-none tracking-tight",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const z=U;var W=z,C={__name:"CardContent",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("p-6 pt-0",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const j=C;var H=j;const R={id:"social"};function F(e,t){return(0,a.wg)(),(0,a.iD)("div",R,t[0]||(t[0]=[(0,a._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,a._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,a._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1)]))}var E=s(744);const q={},$=(0,E.Z)(q,[["render",F],["__scopeId","data-v-788af9ce"]]);var T=$;const Z=e=>{let t=(new Date).getTime()-new Date(e).getTime();if(t<500)return"now";if(t>2592e5){let e=(t/864e5).toFixed(0);return e+" day"+("1"!==e?"s":"")+" ago"}if(t>36e5){let e=(t/36e5).toFixed(0);return e+" hour"+("1"!==e?"s":"")+" ago"}if(t>6e4){let e=(t/6e4).toFixed(0);return e+" minute"+("1"!==e?"s":"")+" ago"}let s=(t/1e3).toFixed(0);return s+" second"+("1"!==s?"s":"")+" ago"},L=(e,t)=>{let s=Math.ceil((new Date(e)-new Date(t))/1e3/60);return s+(1===s?" minute":" minutes")},A=e=>{let t=new Date(e),s=t.getFullYear(),l=(t.getMonth()+1<10?"0":"")+(t.getMonth()+1),a=(t.getDate()<10?"0":"")+t.getDate(),n=(t.getHours()<10?"0":"")+t.getHours(),r=(t.getMinutes()<10?"0":"")+t.getMinutes(),o=(t.getSeconds()<10?"0":"")+t.getSeconds();return s+"-"+l+"-"+a+" "+n+":"+r+":"+o},M={key:0,class:"space-y-2"},N={key:0,class:"flex items-center gap-2"},Y={class:"text-xs font-semibold"},I={class:"font-mono text-xs"},P={key:1},O={class:"font-mono text-xs"},K={key:0,class:"mt-1 space-y-0.5"},V={class:"truncate"},B={class:"text-muted-foreground"},G={key:0,class:"text-xs text-muted-foreground"},J={class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},X={class:"font-mono text-xs"},Q={key:2},ee={class:"font-mono text-xs space-y-0.5"},te={class:"break-all"},se={key:3},le={class:"font-mono text-xs space-y-0.5"};var ae={__name:"Tooltip",props:{event:{type:[Event,Object],default:null},result:{type:Object,default:null},isPersistent:{type:Boolean,default:!1}},setup(e){const t=(0,u.yj)(),s=e,l=(0,r.iH)(!0),o=(0,r.iH)(0),i=(0,r.iH)(0),d=(0,r.iH)(null),c=(0,r.iH)(null),g=(0,a.Fl)((()=>s.result&&void 0!==s.result.endpointResults)),p=(0,a.Fl)((()=>g.value&&s.result.endpointResults?s.result.endpointResults.length:0)),m=(0,a.Fl)((()=>g.value&&s.result.endpointResults?s.result.endpointResults.filter((e=>e.success)).length:0)),v=async()=>{if(!c.value||!d.value||l.value)return;await(0,a.Y3)();const e=c.value.getBoundingClientRect(),t=d.value.getBoundingClientRect(),s=window.pageYOffset||document.documentElement.scrollTop,n=window.pageXOffset||document.documentElement.scrollLeft;let r=e.bottom+s+8,u=e.left+n;const g=window.innerHeight-e.bottom,p=e.top;gt.height+20?e.top+s-t.height-8:p>g?s+10:s+window.innerHeight-t.height-10);const m=window.innerWidth-e.left;m{if(s.event&&s.event.type)if(await(0,a.Y3)(),"mouseenter"!==s.event.type&&"click"!==s.event.type||!d.value)"mouseleave"===s.event.type&&(s.isPersistent||(l.value=!0,c.value=null));else{const e=s.event.target;c.value=e,l.value=!1,await(0,a.Y3)(),await v()}},w=()=>{v()};return(0,a.bv)((()=>{window.addEventListener("resize",w)})),(0,a.Ah)((()=>{window.removeEventListener("resize",w)})),(0,a.YP)((()=>s.event),(e=>{e&&e.type&&("mouseenter"===e.type||"click"===e.type?(l.value=!1,(0,a.Y3)((()=>f()))):"mouseleave"===e.type&&(s.isPersistent||(l.value=!0)))}),{immediate:!0}),(0,a.YP)((()=>s.result),(()=>{l.value||(0,a.Y3)((()=>f()))})),(0,a.YP)((()=>[s.isPersistent,s.result]),(([e,t])=>{e||t?t&&(e||"mouseenter"===s.event?.type)&&(l.value=!1,(0,a.Y3)((()=>f()))):l.value=!0})),(0,a.YP)((()=>t.path),(()=>{l.value=!0,c.value=null})),(t,s)=>((0,a.wg)(),(0,a.iD)("div",{id:"tooltip",ref_key:"tooltip",ref:d,class:(0,n.C_)(["absolute z-50 px-3 py-2 text-sm rounded-md shadow-lg border transition-all duration-200","bg-popover text-popover-foreground border-border",l.value?"invisible opacity-0":"visible opacity-100"]),style:(0,n.j5)(`top: ${o.value}px; left: ${i.value}px;`)},[e.result?((0,a.wg)(),(0,a.iD)("div",M,[g.value?((0,a.wg)(),(0,a.iD)("div",N,[(0,a._)("span",{class:(0,n.C_)(["inline-block w-2 h-2 rounded-full",e.result.success?"bg-green-500":"bg-red-500"])},null,2),(0,a._)("span",Y,(0,n.zw)(e.result.success?"Suite Passed":"Suite Failed"),1)])):(0,a.kq)("",!0),(0,a._)("div",null,[s[0]||(s[0]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Timestamp",-1)),(0,a._)("div",I,(0,n.zw)((0,r.SU)(A)(e.result.timestamp)),1)]),g.value&&e.result.endpointResults?((0,a.wg)(),(0,a.iD)("div",P,[s[1]||(s[1]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Endpoints",-1)),(0,a._)("div",O,[(0,a._)("span",{class:(0,n.C_)(m.value===p.value?"text-green-500":"text-yellow-500")},(0,n.zw)(m.value)+"/"+(0,n.zw)(p.value)+" passed ",3)]),e.result.endpointResults.length>0?((0,a.wg)(),(0,a.iD)("div",K,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.endpointResults.slice(0,5),((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"flex items-center gap-1 text-xs"},[(0,a._)("span",{class:(0,n.C_)(e.success?"text-green-500":"text-red-500")},(0,n.zw)(e.success?"✓":"✗"),3),(0,a._)("span",V,(0,n.zw)(e.name),1),(0,a._)("span",B,"("+(0,n.zw)((e.duration/1e6).toFixed(0))+"ms)",1)])))),128)),e.result.endpointResults.length>5?((0,a.wg)(),(0,a.iD)("div",G," ... and "+(0,n.zw)(e.result.endpointResults.length-5)+" more ",1)):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0),(0,a._)("div",null,[(0,a._)("div",J,(0,n.zw)(g.value?"Total Duration":"Response Time"),1),(0,a._)("div",X,(0,n.zw)((g.value,(e.result.duration/1e6).toFixed(0)))+"ms ",1)]),!g.value&&e.result.conditionResults&&e.result.conditionResults.length?((0,a.wg)(),(0,a.iD)("div",Q,[s[2]||(s[2]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Conditions",-1)),(0,a._)("div",ee,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.conditionResults,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"flex items-start gap-1"},[(0,a._)("span",{class:(0,n.C_)(e.success?"text-green-500":"text-red-500")},(0,n.zw)(e.success?"✓":"✗"),3),(0,a._)("span",te,(0,n.zw)(e.condition),1)])))),128))])])):(0,a.kq)("",!0),e.result.errors&&e.result.errors.length?((0,a.wg)(),(0,a.iD)("div",se,[s[3]||(s[3]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Errors",-1)),(0,a._)("div",le,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"text-red-500"}," • "+(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)],6))}};const ne=ae;var re=ne;const oe={class:"flex justify-center items-center"};var ue={__name:"Loading",props:{size:{type:String,default:"md",validator:e=>["xs","sm","md","lg","xl"].includes(e)}},setup(e){const t=e,s=(0,a.Fl)((()=>{const e={xs:"w-4 h-4",sm:"w-6 h-6",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"};return e[t.size]||e.md}));return(e,t)=>((0,a.wg)(),(0,a.iD)("div",oe,[(0,a._)("img",{class:(0,n.C_)(["animate-spin rounded-full opacity-60 grayscale",s.value]),src:o,alt:"Gatus logo"},null,2)]))}};const ie=ue;var de=ie;const ce={id:"global",class:"bg-background text-foreground"},ge={key:0,class:"flex items-center justify-center min-h-screen"},pe={key:1,class:"relative"},me={class:"border-b bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/60"},ve={class:"container mx-auto px-4 py-4 max-w-7xl"},fe={class:"flex items-center justify-between"},we={class:"flex items-center gap-4"},he={class:"w-12 h-12 flex items-center justify-center"},xe=["src"],be={key:1,src:o,alt:"Gatus",class:"w-full h-full object-contain"},ye={class:"text-2xl font-bold tracking-tight"},ke={key:0,class:"text-sm text-muted-foreground"},_e={class:"flex items-center gap-2"},Se={key:0,class:"hidden md:flex items-center gap-1"},De=["href"],Ue={key:0,class:"md:hidden mt-4 pt-4 border-t space-y-1"},ze=["href"],We={class:"relative"},Ce={class:"border-t mt-auto"},je={class:"container mx-auto px-4 py-6 max-w-7xl"},He={class:"flex flex-col items-center gap-4"},Re={key:2,id:"login-container",class:"flex items-center justify-center min-h-screen p-4"},Fe={key:0,class:"mb-6"},Ee={class:"p-3 rounded-md bg-destructive/10 border border-destructive/20"},qe={class:"text-sm text-destructive text-center"},$e={key:0},Te={key:1},Ze=["href"];var Le={__name:"App",setup(e){const t=(0,u.yj)(),s=(0,r.iH)(!1),l=(0,r.iH)({oidc:!1,authenticated:!0}),g=(0,r.iH)([]),p=(0,r.iH)({}),m=(0,r.iH)(!1),v=(0,r.iH)(!1),f=(0,r.iH)(!1);let w=null;const h=(0,a.Fl)((()=>window.config&&window.config.logo&&"{{ .UI.Logo }}"!==window.config.logo?window.config.logo:"")),b=(0,a.Fl)((()=>window.config&&window.config.header&&"{{ .UI.Header }}"!==window.config.header?window.config.header:"Gatus")),y=(0,a.Fl)((()=>window.config&&window.config.link&&"{{ .UI.Link }}"!==window.config.link?window.config.link:null)),_=(0,a.Fl)((()=>window.config&&window.config.buttons?window.config.buttons:[])),S=async()=>{try{const e=await fetch(`${hr}/api/v1/config`,{credentials:"include"});if(200===e.status){const t=await e.json();l.value=t,g.value=t.announcements||[]}s.value=!0}catch(e){console.error("Failed to fetch config:",e),s.value=!0}},U=(e,t,s="hover")=>{"click"===s?e?(p.value={result:e,event:t},f.value=!0):(p.value={},f.value=!1):"hover"===s&&(f.value||(p.value={result:e,event:t}))},z=e=>{if(f.value){const t=document.getElementById("tooltip"),s=e.target.closest(".flex-1.h-6, .flex-1.h-8");!t||t.contains(e.target)||s||(p.value={},f.value=!1,window.dispatchEvent(new CustomEvent("clear-data-point-selection")))}};return(0,a.bv)((()=>{S(),w=setInterval(S,6e5),document.addEventListener("click",z)})),(0,a.Ah)((()=>{w&&(clearInterval(w),w=null),document.removeEventListener("click",z)})),(e,u)=>{const w=(0,a.up)("router-view");return(0,a.wg)(),(0,a.iD)("div",ce,[s.value?l.value&&l.value.oidc&&!l.value.authenticated?((0,a.wg)(),(0,a.iD)("div",Re,[(0,a.Wm)((0,r.SU)(k),{class:"w-full max-w-md"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"text-center"},{default:(0,a.w5)((()=>[u[5]||(u[5]=(0,a._)("img",{src:o,alt:"Gatus",class:"w-20 h-20 mx-auto mb-4"},null,-1)),(0,a.Wm)((0,r.SU)(W),{class:"text-3xl"},{default:(0,a.w5)((()=>u[4]||(u[4]=[(0,a.Uk)("Gatus",-1)]))),_:1,__:[4]}),u[6]||(u[6]=(0,a._)("p",{class:"text-muted-foreground mt-2"},"System Monitoring Dashboard",-1))])),_:1,__:[5,6]}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,r.SU)(t)&&(0,r.SU)(t).query.error?((0,a.wg)(),(0,a.iD)("div",Fe,[(0,a._)("div",Ee,[(0,a._)("p",qe,["access_denied"===(0,r.SU)(t).query.error?((0,a.wg)(),(0,a.iD)("span",$e," You do not have access to this status page ")):((0,a.wg)(),(0,a.iD)("span",Te,(0,n.zw)((0,r.SU)(t).query.error),1))])])])):(0,a.kq)("",!0),(0,a._)("a",{href:`${(0,r.SU)(hr)}/oidc/login`,class:"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-11 px-8 w-full",onClick:u[2]||(u[2]=e=>v.value=!0)},[v.value?((0,a.wg)(),(0,a.j4)(de,{key:0,size:"xs"})):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)((0,r.SU)(c.Z),{class:"mr-2 h-4 w-4"}),u[7]||(u[7]=(0,a.Uk)(" Login with OIDC ",-1))],64))],8,Ze)])),_:1})])),_:1})])):((0,a.wg)(),(0,a.iD)("div",pe,[(0,a._)("header",me,[(0,a._)("div",ve,[(0,a._)("div",fe,[(0,a._)("div",we,[((0,a.wg)(),(0,a.j4)((0,a.LL)(y.value?"a":"div"),{href:y.value,target:"_blank",class:"flex items-center gap-3 hover:opacity-80 transition-opacity"},{default:(0,a.w5)((()=>[(0,a._)("div",he,[h.value?((0,a.wg)(),(0,a.iD)("img",{key:0,src:h.value,alt:"Gatus",class:"w-full h-full object-contain"},null,8,xe)):((0,a.wg)(),(0,a.iD)("img",be))]),(0,a._)("div",null,[(0,a._)("h1",ye,(0,n.zw)(b.value),1),_.value&&_.value.length?((0,a.wg)(),(0,a.iD)("p",ke," System Monitoring Dashboard ")):(0,a.kq)("",!0)])])),_:1},8,["href"]))]),(0,a._)("div",_e,[_.value&&_.value.length?((0,a.wg)(),(0,a.iD)("nav",Se,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,(e=>((0,a.wg)(),(0,a.iD)("a",{key:e.name,href:e.link,target:"_blank",class:"px-3 py-2 text-sm font-medium rounded-md hover:bg-accent hover:text-accent-foreground transition-colors"},(0,n.zw)(e.name),9,De)))),128))])):(0,a.kq)("",!0),_.value&&_.value.length?((0,a.wg)(),(0,a.j4)((0,r.SU)(x),{key:1,variant:"ghost",size:"icon",class:"md:hidden",onClick:u[0]||(u[0]=e=>m.value=!m.value)},{default:(0,a.w5)((()=>[m.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(d.Z),{key:1,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(i.Z),{key:0,class:"h-5 w-5"}))])),_:1})):(0,a.kq)("",!0)])]),_.value&&_.value.length&&m.value?((0,a.wg)(),(0,a.iD)("nav",Ue,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,(e=>((0,a.wg)(),(0,a.iD)("a",{key:e.name,href:e.link,target:"_blank",class:"block px-3 py-2 text-sm font-medium rounded-md hover:bg-accent hover:text-accent-foreground transition-colors",onClick:u[1]||(u[1]=e=>m.value=!1)},(0,n.zw)(e.name),9,ze)))),128))])):(0,a.kq)("",!0)])]),(0,a._)("main",We,[(0,a.Wm)(w,{onShowTooltip:U,announcements:g.value},null,8,["announcements"])]),(0,a._)("footer",Ce,[(0,a._)("div",je,[(0,a._)("div",He,[u[3]||(u[3]=(0,a._)("div",{class:"text-sm text-muted-foreground text-center"},[(0,a.Uk)(" Powered by "),(0,a._)("a",{href:"https://gatus.io",target:"_blank",class:"font-medium text-emerald-800 hover:text-emerald-600"},"Gatus")],-1)),(0,a.Wm)(T)])])])])):((0,a.wg)(),(0,a.iD)("div",ge,[(0,a.Wm)(de,{size:"lg"})])),(0,a.Wm)(re,{result:p.value.result,event:p.value.event,isPersistent:f.value},null,8,["result","event","isPersistent"])])}}};const Ae=Le;var Me=Ae,Ne=s(793),Ye=s(138),Ie=s(254),Pe=s(146),Oe=s(485),Ke=s(893),Ve=s(89),Be=s(372),Ge=s(981),Je={__name:"Badge",props:{variant:{type:String,default:"default"}},setup(e){const t=(0,g.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white",warning:"border-transparent bg-yellow-500 text-white"}},defaultVariants:{variant:"default"}});return(s,l)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)((0,r.SU)(t)({variant:e.variant}),s.$attrs.class??""))},[(0,a.WI)(s.$slots,"default")],2))}};const Xe=Je;var Qe=Xe,et={__name:"StatusBadge",props:{status:{type:String,required:!0,validator:e=>["healthy","unhealthy","degraded","unknown"].includes(e)}},setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"success";case"unhealthy":return"destructive";case"degraded":return"warning";default:return"secondary"}})),l=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"Healthy";case"unhealthy":return"Unhealthy";case"degraded":return"Degraded";default:return"Unknown"}})),o=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"bg-green-400";case"unhealthy":return"bg-red-400";case"degraded":return"bg-yellow-400";default:return"bg-gray-400"}}));return(e,t)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(Qe),{variant:s.value,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:(0,n.C_)(["w-2 h-2 rounded-full",o.value])},null,2),(0,a.Uk)(" "+(0,n.zw)(l.value),1)])),_:1},8,["variant"]))}};const tt=et;var st=tt;const lt={class:"flex items-start justify-between gap-2 sm:gap-3"},at={class:"flex-1 min-w-0 overflow-hidden"},nt=["title","aria-label"],rt={class:"flex items-center gap-2 text-xs sm:text-sm text-muted-foreground min-h-[1.25rem]"},ot=["title"],ut={key:1},it=["title"],dt={class:"flex-shrink-0 ml-2"},ct={class:"space-y-2"},gt={class:"flex items-center justify-between mb-1"},pt=["title"],mt={class:"flex gap-0.5"},vt=["onMouseenter","onMouseleave","onClick"],ft={class:"flex items-center justify-between text-xs text-muted-foreground mt-1"};var wt={__name:"EndpointCard",props:{endpoint:{type:Object,required:!0},maxResults:{type:Number,default:50},showAverageResponseTime:{type:Boolean,default:!0}},emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=e,i=t,d=(0,r.iH)(null),c=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?o.endpoint.results[o.endpoint.results.length-1]:null)),g=(0,a.Fl)((()=>c.value?c.value.success?"healthy":"unhealthy":"unknown")),p=(0,a.Fl)((()=>c.value?.hostname||null)),m=(0,a.Fl)((()=>{const e=[...o.endpoint.results||[]];while(e.length{if(!o.endpoint.results||0===o.endpoint.results.length)return"N/A";let e=0,t=0,s=1/0,l=0;for(const a of o.endpoint.results)if(a.duration){const n=a.duration/1e6;e+=n,t++,s=Math.min(s,n),l=Math.max(l,n)}if(0===t)return"N/A";if(o.showAverageResponseTime){const s=Math.round(e/t);return`~${s}ms`}{const e=Math.round(s),t=Math.round(l);return e===t?`${e}ms`:`${e}-${t}ms`}})),f=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?Z(o.endpoint.results[0].timestamp):"")),w=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?Z(o.endpoint.results[o.endpoint.results.length-1].timestamp):"")),h=()=>{s.push(`/endpoints/${o.endpoint.key}`)},x=(e,t)=>{i("showTooltip",e,t,"hover")},b=(e,t)=>{i("showTooltip",null,t,"hover")},y=(e,t,s)=>{window.dispatchEvent(new CustomEvent("clear-data-point-selection")),d.value===s?(d.value=null,i("showTooltip",null,t,"click")):(d.value=s,i("showTooltip",e,t,"click"))},_=()=>{d.value=null};return(0,a.bv)((()=>{window.addEventListener("clear-data-point-selection",_)})),(0,a.Ah)((()=>{window.removeEventListener("clear-data-point-selection",_)})),(t,s)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{class:"endpoint h-full flex flex-col transition hover:shadow-lg hover:scale-[1.01] dark:hover:border-gray-700"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"endpoint-header px-3 sm:px-6 pt-3 sm:pt-6 pb-2 space-y-0"},{default:(0,a.w5)((()=>[(0,a._)("div",lt,[(0,a._)("div",at,[(0,a.Wm)((0,r.SU)(W),{class:"text-base sm:text-lg truncate"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:"hover:text-primary cursor-pointer hover:underline text-sm sm:text-base block truncate",onClick:h,onKeydown:(0,l.D2)(h,["enter"]),title:e.endpoint.name,role:"link",tabindex:"0","aria-label":`View details for ${e.endpoint.name}`},(0,n.zw)(e.endpoint.name),41,nt)])),_:1}),(0,a._)("div",rt,[e.endpoint.group?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"truncate",title:e.endpoint.group},(0,n.zw)(e.endpoint.group),9,ot)):(0,a.kq)("",!0),e.endpoint.group&&p.value?((0,a.wg)(),(0,a.iD)("span",ut,"•")):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"truncate",title:p.value},(0,n.zw)(p.value),9,it)):(0,a.kq)("",!0)])]),(0,a._)("div",dt,[(0,a.Wm)(st,{status:g.value},null,8,["status"])])])])),_:1}),(0,a.Wm)((0,r.SU)(H),{class:"endpoint-content flex-1 pb-3 sm:pb-4 px-3 sm:px-6 pt-2"},{default:(0,a.w5)((()=>[(0,a._)("div",ct,[(0,a._)("div",null,[(0,a._)("div",gt,[s[0]||(s[0]=(0,a._)("div",{class:"flex-1"},null,-1)),(0,a._)("p",{class:"text-xs text-muted-foreground",title:e.showAverageResponseTime?"Average response time":"Minimum and maximum response time"},(0,n.zw)(v.value),9,pt)]),(0,a._)("div",mt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(m.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex-1 h-6 sm:h-8 rounded-sm transition-all",e?"cursor-pointer":"",e?e.success?d.value===t?"bg-green-700":"bg-green-500 hover:bg-green-700":d.value===t?"bg-red-700":"bg-red-500 hover:bg-red-700":"bg-gray-200 dark:bg-gray-700"]),onMouseenter:t=>e&&x(e,t),onMouseleave:t=>e&&b(e,t),onClick:(0,l.iM)((s=>e&&y(e,s,t)),["stop"])},null,42,vt)))),128))]),(0,a._)("div",ft,[(0,a._)("span",null,(0,n.zw)(f.value),1),(0,a._)("span",null,(0,n.zw)(w.value),1)])])])])),_:1})])),_:1}))}};const ht=wt;var xt=ht;const bt={class:"flex items-start justify-between gap-2 sm:gap-3"},yt={class:"flex-1 min-w-0 overflow-hidden"},kt=["title","aria-label"],_t={class:"flex items-center gap-2 text-xs sm:text-sm text-muted-foreground"},St=["title"],Dt={key:1},Ut={key:2},zt={class:"flex-shrink-0 ml-2"},Wt={class:"space-y-2"},Ct={class:"flex items-center justify-between mb-1"},jt={class:"text-xs text-muted-foreground"},Ht={key:0,class:"text-xs text-muted-foreground"},Rt={class:"flex gap-0.5"},Ft=["onMouseenter","onMouseleave","onClick"],Et={class:"flex items-center justify-between text-xs text-muted-foreground mt-1"};var qt={__name:"SuiteCard",props:{suite:{type:Object,required:!0},maxResults:{type:Number,default:50}},emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=e,i=t,d=(0,r.iH)(null),c=(0,a.Fl)((()=>{const e=[...o.suite.results||[]];while(e.lengtho.suite.results&&0!==o.suite.results.length?o.suite.results[o.suite.results.length-1].success?"healthy":"unhealthy":"unknown")),p=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return 0;const e=o.suite.results[o.suite.results.length-1];return e.endpointResults?e.endpointResults.length:0})),m=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return 0;const e=o.suite.results.filter((e=>e.success)).length;return Math.round(e/o.suite.results.length*100)})),v=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return null;const e=o.suite.results.reduce(((e,t)=>e+(t.duration||0)),0);return Math.round(e/o.suite.results.length/1e6)})),f=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return"N/A";const e=o.suite.results[0];return Z(e.timestamp)})),w=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return"Now";const e=o.suite.results[o.suite.results.length-1];return Z(e.timestamp)})),h=()=>{s.push(`/suites/${o.suite.key}`)},x=(e,t)=>{i("showTooltip",e,t,"hover")},b=(e,t)=>{i("showTooltip",null,t,"hover")},y=(e,t,s)=>{window.dispatchEvent(new CustomEvent("clear-data-point-selection")),d.value===s?(d.value=null,i("showTooltip",null,t,"click")):(d.value=s,i("showTooltip",e,t,"click"))},_=()=>{d.value=null};return(0,a.bv)((()=>{window.addEventListener("clear-data-point-selection",_)})),(0,a.Ah)((()=>{window.removeEventListener("clear-data-point-selection",_)})),(t,s)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{class:"suite h-full flex flex-col transition hover:shadow-lg hover:scale-[1.01] dark:hover:border-gray-700"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"suite-header px-3 sm:px-6 pt-3 sm:pt-6 pb-2 space-y-0"},{default:(0,a.w5)((()=>[(0,a._)("div",bt,[(0,a._)("div",yt,[(0,a.Wm)((0,r.SU)(W),{class:"text-base sm:text-lg truncate"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:"hover:text-primary cursor-pointer hover:underline text-sm sm:text-base block truncate",onClick:h,onKeydown:(0,l.D2)(h,["enter"]),title:e.suite.name,role:"link",tabindex:"0","aria-label":`View details for suite ${e.suite.name}`},(0,n.zw)(e.suite.name),41,kt)])),_:1}),(0,a._)("div",_t,[e.suite.group?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"truncate",title:e.suite.group},(0,n.zw)(e.suite.group),9,St)):(0,a.kq)("",!0),e.suite.group&&p.value?((0,a.wg)(),(0,a.iD)("span",Dt,"•")):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",Ut,(0,n.zw)(p.value)+" endpoint"+(0,n.zw)(1!==p.value?"s":""),1)):(0,a.kq)("",!0)])]),(0,a._)("div",zt,[(0,a.Wm)(st,{status:g.value},null,8,["status"])])])])),_:1}),(0,a.Wm)((0,r.SU)(H),{class:"suite-content flex-1 pb-3 sm:pb-4 px-3 sm:px-6 pt-2"},{default:(0,a.w5)((()=>[(0,a._)("div",Wt,[(0,a._)("div",null,[(0,a._)("div",Ct,[(0,a._)("p",jt,"Success Rate: "+(0,n.zw)(m.value)+"%",1),v.value?((0,a.wg)(),(0,a.iD)("p",Ht,(0,n.zw)(v.value)+"ms avg",1)):(0,a.kq)("",!0)]),(0,a._)("div",Rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(c.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex-1 h-6 sm:h-8 rounded-sm transition-all",e?"cursor-pointer":"",e?e.success?d.value===t?"bg-green-700":"bg-green-500 hover:bg-green-700":d.value===t?"bg-red-700":"bg-red-500 hover:bg-red-700":"bg-gray-200 dark:bg-gray-700"]),onMouseenter:t=>e&&x(e,t),onMouseleave:t=>e&&b(e,t),onClick:(0,l.iM)((s=>e&&y(e,s,t)),["stop"])},null,42,Ft)))),128))]),(0,a._)("div",Et,[(0,a._)("span",null,(0,n.zw)(f.value),1),(0,a._)("span",null,(0,n.zw)(w.value),1)])])])])),_:1})])),_:1}))}};const $t=(0,E.Z)(qt,[["__scopeId","data-v-230a1fd1"]]);var Tt=$t,Zt=s(275);const Lt=["value"];var At={__name:"Input",props:{modelValue:{type:[String,Number],default:""}},emits:["update:modelValue"],setup(e){return(t,s)=>((0,a.wg)(),(0,a.iD)("input",{class:(0,n.C_)((0,r.SU)(v)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t.$attrs.class??"")),value:e.modelValue,onInput:s[0]||(s[0]=e=>t.$emit("update:modelValue",e.target.value))},null,42,Lt))}};const Mt=At;var Nt=Mt,Yt=s(368);const It=["aria-expanded","aria-label"],Pt={class:"truncate"},Ot={key:0,role:"listbox",class:"absolute top-full left-0 z-50 mt-1 w-full rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95"},Kt={class:"p-1"},Vt=["onClick","aria-selected"],Bt={class:"absolute left-1.5 sm:left-2 flex h-3.5 w-3.5 items-center justify-center"};var Gt={__name:"Select",props:{modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"Select..."},class:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)(!1),u=(0,r.iH)(null),i=(0,r.iH)(-1),d=(0,a.Fl)((()=>s.options.find((e=>e.value===s.modelValue))||{label:s.placeholder,value:""})),c=e=>{l("update:modelValue",e.value),o.value=!1},g=()=>{if(o.value=!o.value,o.value){const e=s.options.findIndex((e=>e.value===s.modelValue));i.value=e>=0?e:0}else i.value=-1},p=e=>{u.value&&!u.value.contains(e.target)&&(o.value=!1,i.value=-1)},m=e=>{if(o.value)switch(e.key){case"ArrowDown":e.preventDefault(),i.value=Math.min(i.value+1,s.options.length-1);break;case"ArrowUp":e.preventDefault(),i.value=Math.max(i.value-1,0);break;case"Enter":case" ":e.preventDefault(),i.value>=0&&i.value{document.addEventListener("click",p)})),(0,a.Ah)((()=>{document.removeEventListener("click",p)})),(t,l)=>((0,a.wg)(),(0,a.iD)("div",{ref_key:"selectRef",ref:u,class:(0,n.C_)(["relative",s.class])},[(0,a._)("button",{onClick:g,onKeydown:m,"aria-expanded":o.value,"aria-haspopup":!0,"aria-label":d.value.label||s.placeholder,class:"flex h-9 sm:h-10 w-full items-center justify-between rounded-md border border-input bg-background px-2 sm:px-3 py-1.5 sm:py-2 text-xs sm:text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"},[(0,a._)("span",Pt,(0,n.zw)(d.value.label),1),(0,a.Wm)((0,r.SU)(Oe.Z),{class:"h-3 w-3 sm:h-4 sm:w-4 opacity-50 flex-shrink-0 ml-1"})],40,It),o.value?((0,a.wg)(),(0,a.iD)("div",Ot,[(0,a._)("div",Kt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.options,((t,s)=>((0,a.wg)(),(0,a.iD)("div",{key:t.value,onClick:e=>c(t),class:(0,n.C_)(["relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-6 sm:pl-8 pr-2 text-xs sm:text-sm outline-none hover:bg-accent hover:text-accent-foreground",s===i.value&&"bg-accent text-accent-foreground"]),role:"option","aria-selected":e.modelValue===t.value},[(0,a._)("span",Bt,[e.modelValue===t.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Yt.Z),{key:0,class:"h-3 w-3 sm:h-4 sm:w-4"})):(0,a.kq)("",!0)]),(0,a.Uk)(" "+(0,n.zw)(t.label),1)],10,Vt)))),128))])])):(0,a.kq)("",!0)],2))}};const Jt=Gt;var Xt=Jt;const Qt={class:"flex flex-col lg:flex-row gap-3 lg:gap-4 p-3 sm:p-4 bg-card rounded-lg border"},es={class:"flex-1"},ts={class:"relative"},ss={class:"flex flex-col sm:flex-row gap-3 sm:gap-4"},ls={class:"flex items-center gap-2 flex-1 sm:flex-initial"},as={class:"flex items-center gap-2 flex-1 sm:flex-initial"};var ns={__name:"SearchBar",emits:["search","update:showOnlyFailing","update:showRecentFailures","update:groupByGroup","update:sortBy","initializeCollapsedGroups"],setup(e,{emit:t}){const s=(0,r.iH)(""),l=(0,r.iH)(localStorage.getItem("gatus:filter-by")||"undefined"!==typeof window&&window.config?.defaultFilterBy||"none"),n=(0,r.iH)(localStorage.getItem("gatus:sort-by")||"undefined"!==typeof window&&window.config?.defaultSortBy||"name"),o=[{label:"None",value:"none"},{label:"Failing",value:"failing"},{label:"Unstable",value:"unstable"}],u=[{label:"Name",value:"name"},{label:"Group",value:"group"},{label:"Health",value:"health"}],i=t,d=e=>{l.value=e,localStorage.setItem("gatus:filter-by",e),i("update:showOnlyFailing",!1),i("update:showRecentFailures",!1),"failing"===e?i("update:showOnlyFailing",!0):"unstable"===e&&i("update:showRecentFailures",!0)},c=e=>{n.value=e,localStorage.setItem("gatus:sort-by",e),i("update:sortBy",e),i("update:groupByGroup","group"===e),"group"===e&&i("initializeCollapsedGroups")};return(0,a.bv)((()=>{d(l.value),c(n.value)})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Qt,[(0,a._)("div",es,[(0,a._)("div",ts,[(0,a.Wm)((0,r.SU)(Zt.Z),{class:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),t[4]||(t[4]=(0,a._)("label",{for:"search-input",class:"sr-only"},"Search endpoints",-1)),(0,a.Wm)((0,r.SU)(Nt),{id:"search-input",modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),type:"text",placeholder:"Search endpoints...",class:"pl-10 text-sm sm:text-base",onInput:t[1]||(t[1]=t=>e.$emit("search",s.value))},null,8,["modelValue"])])]),(0,a._)("div",ss,[(0,a._)("div",ls,[t[5]||(t[5]=(0,a._)("label",{class:"text-xs sm:text-sm font-medium text-muted-foreground whitespace-nowrap"},"Filter by:",-1)),(0,a.Wm)((0,r.SU)(Xt),{modelValue:l.value,"onUpdate:modelValue":[t[2]||(t[2]=e=>l.value=e),d],options:o,placeholder:"None",class:"flex-1 sm:w-[140px] md:w-[160px]"},null,8,["modelValue"])]),(0,a._)("div",as,[t[6]||(t[6]=(0,a._)("label",{class:"text-xs sm:text-sm font-medium text-muted-foreground whitespace-nowrap"},"Sort by:",-1)),(0,a.Wm)((0,r.SU)(Xt),{modelValue:n.value,"onUpdate:modelValue":[t[3]||(t[3]=e=>n.value=e),c],options:u,placeholder:"Name",class:"flex-1 sm:w-[90px] md:w-[100px]"},null,8,["modelValue"])])])]))}};const rs=ns;var os=rs,us=s(789),is=s(679);const ds={id:"settings",class:"fixed bottom-4 left-4 z-50"},cs={class:"flex items-center gap-1 bg-background/95 backdrop-blur-sm border rounded-full shadow-md p-1"},gs=["aria-label","aria-expanded"],ps={class:"text-xs font-medium"},ms=["onClick"],vs=["aria-label"],fs={class:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-2 py-1 bg-popover text-popover-foreground text-xs rounded-md shadow-md opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap"},ws="300",hs="theme",xs=31536e3;var bs={__name:"Settings",emits:["refreshData"],setup(e,{emit:t}){const s=t,o=[{value:"10",label:"10s"},{value:"30",label:"30s"},{value:"60",label:"1m"},{value:"120",label:"2m"},{value:"300",label:"5m"},{value:"600",label:"10m"}],u={REFRESH_INTERVAL:"gatus:refresh-interval"};function i(){const e=document.cookie.match(new RegExp(`${hs}=(dark|light);?`))?.[1];return"dark"===e||!e&&(window.matchMedia("(prefers-color-scheme: dark)").matches||document.documentElement.classList.contains("dark"))}function d(){const e=localStorage.getItem(u.REFRESH_INTERVAL),t=e&&parseInt(e),s=t&&t>=10&&o.some((t=>t.value===e));return s?e:ws}const c=(0,r.iH)(d()),g=(0,r.iH)(i()),p=(0,r.iH)(!1);let m=null;const v=e=>{const t=o.find((t=>t.value===e));return t?t.label:`${e}s`},f=e=>{localStorage.setItem(u.REFRESH_INTERVAL,e),m&&clearInterval(m),m=setInterval((()=>{w()}),1e3*e)},w=()=>{s("refreshData")},h=e=>{c.value=e,p.value=!1,w(),f(e)},x=e=>{const t=document.getElementById("settings");t&&!t.contains(e.target)&&(p.value=!1)},b=e=>{document.cookie=`${hs}=${e}; path=/; max-age=${xs}; samesite=strict`},y=()=>{const e=i()?"light":"dark";b(e),k()},k=()=>{const e=i();g.value=e,document.documentElement.classList.toggle("dark",e)};return(0,a.bv)((()=>{f(c.value),k(),document.addEventListener("click",x)})),(0,a.Ah)((()=>{m&&clearInterval(m),document.removeEventListener("click",x)})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",ds,[(0,a._)("div",cs,[(0,a._)("button",{onClick:t[1]||(t[1]=e=>p.value=!p.value),"aria-label":`Refresh interval: ${v(c.value)}`,"aria-expanded":p.value,class:"flex items-center gap-1.5 px-3 py-1.5 rounded-full hover:bg-accent transition-colors relative"},[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"w-3.5 h-3.5 text-muted-foreground"}),(0,a._)("span",ps,(0,n.zw)(v(c.value)),1),p.value?((0,a.wg)(),(0,a.iD)("div",{key:0,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"])),class:"absolute bottom-full left-0 mb-2 bg-popover border rounded-lg shadow-lg overflow-hidden"},[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(o,(e=>(0,a._)("button",{key:e.value,onClick:t=>h(e.value),class:(0,n.C_)(["block w-full px-4 py-2 text-xs text-left hover:bg-accent transition-colors",c.value===e.value&&"bg-accent"])},(0,n.zw)(e.label),11,ms))),64))])):(0,a.kq)("",!0)],8,gs),t[2]||(t[2]=(0,a._)("div",{class:"h-5 w-px bg-border/50"},null,-1)),(0,a._)("button",{onClick:y,"aria-label":g.value?"Switch to light mode":"Switch to dark mode",class:"p-1.5 rounded-full hover:bg-accent transition-colors group relative"},[g.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(us.Z),{key:0,class:"h-3.5 w-3.5 transition-all"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(is.Z),{key:1,class:"h-3.5 w-3.5 transition-all"})),(0,a._)("div",fs,(0,n.zw)(g.value?"Light mode":"Dark mode"),1)],8,vs)])]))}};const ys=(0,E.Z)(bs,[["__scopeId","data-v-482756f8"]]);var ks=ys,_s=s(691),Ss=s(446),Ds=s(5),Us=s(337);const zs={key:0,class:"announcement-container mb-6"},Ws={class:"flex items-center justify-between"},Cs={class:"flex items-center gap-2"},js={class:"text-xs text-gray-500 dark:text-gray-400"},Hs={key:0,class:"announcement-content p-4 transition-all duration-200 rounded-b-lg"},Rs={class:"relative"},Fs={class:"space-y-3"},Es={class:"flex items-center gap-3 mb-2 relative"},qs={class:"relative z-10 bg-white dark:bg-gray-800 px-2 py-1 rounded-md border border-gray-200 dark:border-gray-600"},$s={class:"text-xs font-medium text-gray-600 dark:text-gray-300"},Ts={class:"space-y-2 ml-7 relative"},Zs={class:"flex items-center justify-between gap-3"},Ls={class:"flex-1 min-w-0"},As={class:"text-sm leading-relaxed text-gray-900 dark:text-gray-100"},Ms=["title"];var Ns={__name:"AnnouncementBanner",props:{announcements:{type:Array,default:()=>[]}},setup(e){const t=e,s=(0,r.iH)(!1),l=()=>{s.value=!s.value},o={outage:{icon:_s.Z,background:"bg-red-50 border-gray-200 dark:bg-red-900/50 dark:border-gray-600",border:"border-red-500",iconColor:"text-red-600 dark:text-red-400",text:"text-red-700 dark:text-red-300"},warning:{icon:Ss.Z,background:"bg-yellow-50 border-gray-200 dark:bg-yellow-900/50 dark:border-gray-600",border:"border-yellow-500",iconColor:"text-yellow-600 dark:text-yellow-400",text:"text-yellow-700 dark:text-yellow-300"},information:{icon:Ds.Z,background:"bg-blue-50 border-gray-200 dark:bg-blue-900/50 dark:border-gray-600",border:"border-blue-500",iconColor:"text-blue-600 dark:text-blue-400",text:"text-blue-700 dark:text-blue-300"},operational:{icon:Ve.Z,background:"bg-green-50 border-gray-200 dark:bg-green-900/50 dark:border-gray-600",border:"border-green-500",iconColor:"text-green-600 dark:text-green-400",text:"text-green-700 dark:text-green-300"},none:{icon:Us.Z,background:"bg-gray-50 border-gray-200 dark:bg-gray-800/50 dark:border-gray-600",border:"border-gray-500",iconColor:"text-gray-600 dark:text-gray-400",text:"text-gray-700 dark:text-gray-300"}},u=(0,a.Fl)((()=>t.announcements&&t.announcements.length>0?t.announcements[0]:null)),i=(0,a.Fl)((()=>{const e=u.value?.type||"none";return o[e]?.icon||Us.Z})),d=(0,a.Fl)((()=>{const e=u.value?.type||"none";return o[e]?.iconColor||"text-gray-600 dark:text-gray-400"})),c=(0,a.Fl)((()=>{const e=u.value?.type||"none",t=o[e];return`border-l-4 ${t.border.replace("border-","border-l-")}`})),g=(0,a.Fl)((()=>{if(!t.announcements||0===t.announcements.length)return{};const e={};return t.announcements.forEach((t=>{const s=new Date(t.timestamp).toDateString();e[s]||(e[s]=[]),e[s].push(t)})),e})),p=e=>o[e]?.icon||Us.Z,m=e=>o[e]||o.none,v=e=>{const t=1===e.length?"2rem":2+3.5*(e.length-1)+"rem";return{top:"1.5rem",height:t}},f=e=>{const t=new Date(e),s=new Date,l=new Date(s);return l.setDate(l.getDate()-1),t.toDateString()===s.toDateString()?"Today":t.toDateString()===l.toDateString()?"Yesterday":t.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"})},w=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}),h=e=>new Date(e).toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"});return(t,o)=>e.announcements&&e.announcements.length?((0,a.wg)(),(0,a.iD)("div",zs,[(0,a._)("div",{class:(0,n.C_)(["rounded-lg border bg-card text-card-foreground shadow-sm transition-all duration-200",c.value])},[(0,a._)("div",{class:(0,n.C_)(["announcement-header px-4 py-3 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors",s.value?"rounded-lg":"rounded-t-lg border-b border-gray-200 dark:border-gray-600"]),onClick:l},[(0,a._)("div",Ws,[(0,a._)("div",Cs,[((0,a.wg)(),(0,a.j4)((0,a.LL)(i.value),{class:(0,n.C_)(["w-5 h-5",d.value])},null,8,["class"])),o[0]||(o[0]=(0,a._)("h2",{class:"text-base font-semibold text-gray-900 dark:text-gray-100"},"Announcements",-1)),(0,a._)("span",js," ("+(0,n.zw)(e.announcements.length)+") ",1)]),(0,a.Wm)((0,r.SU)(Oe.Z),{class:(0,n.C_)(["w-4 h-4 text-gray-500 dark:text-gray-400 transition-transform duration-200",s.value?"-rotate-90":"rotate-0"])},null,8,["class"])])],2),s.value?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",Hs,[(0,a._)("div",Rs,[(0,a._)("div",Fs,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"relative"},[e.length>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:"absolute left-3 w-0.5 bg-gray-300 dark:bg-gray-600 pointer-events-none",style:(0,n.j5)(v(e))},null,4)):(0,a.kq)("",!0),(0,a._)("div",Es,[(0,a._)("div",qs,[(0,a._)("time",$s,(0,n.zw)(f(t)),1)]),o[1]||(o[1]=(0,a._)("div",{class:"flex-1 border-t border-gray-200 dark:border-gray-600"},null,-1))]),(0,a._)("div",Ts,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e,((e,s)=>((0,a.wg)(),(0,a.iD)("div",{key:`${t}-${s}-${e.timestamp}`,class:"relative"},[(0,a._)("div",{class:(0,n.C_)(["absolute -left-[26px] top-1/2 -translate-y-1/2 w-5 h-5 rounded-full border bg-white dark:bg-gray-800 flex items-center justify-center z-10",m(e.type).border])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(p(e.type)),{class:(0,n.C_)(["w-3 h-3",m(e.type).iconColor])},null,8,["class"]))],2),(0,a._)("div",{class:(0,n.C_)(["rounded-md border p-3 transition-all duration-200 hover:shadow-sm",m(e.type).background])},[(0,a._)("div",Zs,[(0,a._)("div",Ls,[(0,a._)("p",As,(0,n.zw)(e.message),1)]),(0,a._)("time",{class:(0,n.C_)(["text-xs font-mono whitespace-nowrap",m(e.type).text]),title:h(e.timestamp)},(0,n.zw)(w(e.timestamp)),11,Ms)])],2)])))),128))])])))),128))])])]))],2)])):(0,a.kq)("",!0)}};const Ys=(0,E.Z)(Ns,[["__scopeId","data-v-48763619"]]);var Is=Ys;const Ps={class:"dashboard-container bg-background"},Os={class:"container mx-auto px-4 py-8 max-w-7xl"},Ks={class:"mb-6"},Vs={class:"flex items-center justify-between mb-6"},Bs={class:"flex items-center gap-4"},Gs={key:0,class:"flex items-center justify-center py-20"},Js={key:1,class:"text-center py-20"},Xs={class:"text-muted-foreground"},Qs={key:2},el={key:0,class:"space-y-6"},tl=["onClick"],sl={class:"flex items-center gap-3"},ll={class:"text-xl font-semibold text-foreground"},al={class:"flex items-center gap-2"},nl={key:0,class:"bg-red-600 text-white px-2 py-1 rounded-full text-sm font-medium"},rl={key:0,class:"endpoint-group-content p-4"},ol={key:0,class:"mb-4"},ul={class:"grid gap-3 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"},il={key:1},dl={key:0,class:"text-sm font-semibold text-muted-foreground uppercase tracking-wider mb-3"},cl={class:"grid gap-3 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"},gl={key:1},pl={key:0,class:"mb-6"},ml={class:"grid gap-3 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"},vl={key:1},fl={key:0,class:"text-lg font-semibold text-foreground mb-3"},wl={class:"grid gap-3 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"},hl={key:2,class:"mt-8 flex items-center justify-center gap-2"},xl={class:"flex gap-1"},bl=96;var yl={__name:"Home",props:{announcements:{type:Array,default:()=>[]}},emits:["showTooltip"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)([]),u=(0,r.iH)([]),i=(0,r.iH)(!1),d=(0,r.iH)(1),c=(0,r.iH)(""),g=(0,r.iH)(!1),p=(0,r.iH)(!1),m=(0,r.iH)(!0),v=(0,r.iH)(!1),f=(0,r.iH)(localStorage.getItem("gatus:sort-by")||"name"),w=(0,r.iH)(new Set),h=(0,a.Fl)((()=>{let e=[...o.value];if(c.value){const t=c.value.toLowerCase();e=e.filter((e=>e.name.toLowerCase().includes(t)||e.group&&e.group.toLowerCase().includes(t)))}return g.value&&(e=e.filter((e=>{if(!e.results||0===e.results.length)return!1;const t=e.results[e.results.length-1];return!t.success}))),p.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&e.results.some((e=>!e.success))))),"health"===f.value&&e.sort(((e,t)=>{const s=e.results&&e.results.length>0&&e.results[e.results.length-1].success,l=t.results&&t.results.length>0&&t.results[t.results.length-1].success;return!s&&l?-1:s&&!l?1:e.name.localeCompare(t.name)})),e})),b=(0,a.Fl)((()=>{let e=[...u.value||[]];if(c.value){const t=c.value.toLowerCase();e=e.filter((e=>e.name.toLowerCase().includes(t)||e.group&&e.group.toLowerCase().includes(t)))}return g.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&!e.results[e.results.length-1].success))),p.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&e.results.some((e=>!e.success))))),"health"===f.value&&e.sort(((e,t)=>{const s=e.results&&e.results.length>0&&e.results[e.results.length-1].success,l=t.results&&t.results.length>0&&t.results[t.results.length-1].success;return!s&&l?-1:s&&!l?1:e.name.localeCompare(t.name)})),e})),y=(0,a.Fl)((()=>Math.ceil((h.value.length+b.value.length)/bl))),k=(0,a.Fl)((()=>{if(!v.value)return null;const e={};h.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]=[]),e[s].push(t)}));const t=Object.keys(e).sort(((e,t)=>"No Group"===e?1:"No Group"===t?-1:e.localeCompare(t))),s={};return t.forEach((t=>{s[t]=e[t]})),s})),_=(0,a.Fl)((()=>{if(!v.value)return null;const e={};h.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]={endpoints:[],suites:[]}),e[s].endpoints.push(t)})),b.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]={endpoints:[],suites:[]}),e[s].suites.push(t)}));const t=Object.keys(e).sort(((e,t)=>"No Group"===e?1:"No Group"===t?-1:e.localeCompare(t))),s={};return t.forEach((t=>{s[t]=e[t]})),s})),S=(0,a.Fl)((()=>{if(v.value)return k.value;const e=(d.value-1)*bl,t=e+bl;return h.value.slice(e,t)})),D=(0,a.Fl)((()=>{if(v.value)return b.value;const e=(d.value-1)*bl,t=e+bl;return b.value.slice(e,t)})),U=(0,a.Fl)((()=>{const e=[],t=5;let s=Math.max(1,d.value-Math.floor(t/2)),l=Math.min(y.value,s+t-1);l-s{const e=0===o.value.length&&0===u.value.length;e&&(i.value=!0);try{const t=await fetch(`${hr}/api/v1/endpoints/statuses?page=1&pageSize=100`,{credentials:"include"});if(200===t.status){const e=await t.json();o.value=e}else console.error("[Home][fetchData] Error fetching endpoints:",await t.text());const s=await fetch(`${hr}/api/v1/suites/statuses?page=1&pageSize=100`,{credentials:"include"});if(200===s.status){const e=await s.json();u.value=e||[]}else console.error("[Home][fetchData] Error fetching suites:",await s.text()),u.value||(u.value=[])}catch(t){console.error("[Home][fetchData] Error:",t)}finally{e&&(i.value=!1)}},W=()=>{o.value=[],u.value=[],z()},C=e=>{c.value=e,d.value=1},j=e=>{d.value=e,window.scrollTo({top:0,behavior:"smooth"})},H=()=>{m.value=!m.value},R=(e,t,s="hover")=>{l("showTooltip",e,t,s)},F=e=>e.filter((e=>{if(!e.results||0===e.results.length)return!1;const t=e.results[e.results.length-1];return!t.success})).length,E=e=>e.filter((e=>!(!e.results||0===e.results.length)&&!e.results[e.results.length-1].success)).length,q=e=>{w.value.has(e)?w.value.delete(e):w.value.add(e);const t=Array.from(w.value);localStorage.setItem("gatus:uncollapsed-groups",JSON.stringify(t)),localStorage.removeItem("gatus:collapsed-groups")},$=()=>{try{const e=localStorage.getItem("gatus:uncollapsed-groups");e&&(w.value=new Set(JSON.parse(e)))}catch(e){console.warn("Failed to parse saved uncollapsed groups:",e),localStorage.removeItem("gatus:uncollapsed-groups")}};return(0,a.bv)((()=>{z()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Ps,[(0,a._)("div",Os,[(0,a._)("div",Ks,[(0,a._)("div",Vs,[t[6]||(t[6]=(0,a._)("div",null,[(0,a._)("h1",{class:"text-4xl font-bold tracking-tight"},"Health Dashboard"),(0,a._)("p",{class:"text-muted-foreground mt-2"},"Monitor the health of your endpoints in real-time")],-1)),(0,a._)("div",Bs,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:H,title:m.value?"Show min-max response time":"Show average response time"},{default:(0,a.w5)((()=>[m.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ne.Z),{key:0,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ye.Z),{key:1,class:"h-5 w-5"}))])),_:1},8,["title"]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:W,title:"Refresh data"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"h-5 w-5"})])),_:1})])]),(0,a.Wm)(Is,{announcements:s.announcements},null,8,["announcements"]),(0,a.Wm)(os,{onSearch:C,"onUpdate:showOnlyFailing":t[0]||(t[0]=e=>g.value=e),"onUpdate:showRecentFailures":t[1]||(t[1]=e=>p.value=e),"onUpdate:groupByGroup":t[2]||(t[2]=e=>v.value=e),"onUpdate:sortBy":t[3]||(t[3]=e=>f.value=e),onInitializeCollapsedGroups:$})]),i.value?((0,a.wg)(),(0,a.iD)("div",Gs,[(0,a.Wm)(de,{size:"lg"})])):0===h.value.length&&0===b.value.length?((0,a.wg)(),(0,a.iD)("div",Js,[(0,a.Wm)((0,r.SU)(Pe.Z),{class:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t[7]||(t[7]=(0,a._)("h3",{class:"text-lg font-semibold mb-2"},"No endpoints or suites found",-1)),(0,a._)("p",Xs,(0,n.zw)(c.value||g.value||p.value?"Try adjusting your filters":"No endpoints or suites are configured"),1)])):((0,a.wg)(),(0,a.iD)("div",Qs,[v.value?((0,a.wg)(),(0,a.iD)("div",el,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,((e,s)=>((0,a.wg)(),(0,a.iD)("div",{key:s,class:"endpoint-group border rounded-lg overflow-hidden"},[(0,a._)("div",{onClick:e=>q(s),class:"endpoint-group-header flex items-center justify-between p-4 bg-card border-b cursor-pointer hover:bg-accent/50 transition-colors"},[(0,a._)("div",sl,[w.value.has(s)?((0,a.wg)(),(0,a.j4)((0,r.SU)(Oe.Z),{key:0,class:"h-5 w-5 text-muted-foreground"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ke.Z),{key:1,class:"h-5 w-5 text-muted-foreground"})),(0,a._)("h2",ll,(0,n.zw)(s),1)]),(0,a._)("div",al,[F(e.endpoints)+E(e.suites)>0?((0,a.wg)(),(0,a.iD)("span",nl,(0,n.zw)(F(e.endpoints)+E(e.suites)),1)):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ve.Z),{key:1,class:"h-6 w-6 text-green-600"}))])],8,tl),w.value.has(s)?((0,a.wg)(),(0,a.iD)("div",rl,[e.suites.length>0?((0,a.wg)(),(0,a.iD)("div",ol,[t[8]||(t[8]=(0,a._)("h3",{class:"text-sm font-semibold text-muted-foreground uppercase tracking-wider mb-3"},"Suites",-1)),(0,a._)("div",ul,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.suites,(e=>((0,a.wg)(),(0,a.j4)(Tt,{key:e.key,suite:e,maxResults:50,onShowTooltip:R},null,8,["suite"])))),128))])])):(0,a.kq)("",!0),e.endpoints.length>0?((0,a.wg)(),(0,a.iD)("div",il,[e.suites.length>0?((0,a.wg)(),(0,a.iD)("h3",dl,"Endpoints")):(0,a.kq)("",!0),(0,a._)("div",cl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.endpoints,(e=>((0,a.wg)(),(0,a.j4)(xt,{key:e.key,endpoint:e,maxResults:50,showAverageResponseTime:m.value,onShowTooltip:R},null,8,["endpoint","showAverageResponseTime"])))),128))])])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])))),128))])):((0,a.wg)(),(0,a.iD)("div",gl,[b.value.length>0?((0,a.wg)(),(0,a.iD)("div",pl,[t[9]||(t[9]=(0,a._)("h2",{class:"text-lg font-semibold text-foreground mb-3"},"Suites",-1)),(0,a._)("div",ml,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(D.value,(e=>((0,a.wg)(),(0,a.j4)(Tt,{key:e.key,suite:e,maxResults:50,onShowTooltip:R},null,8,["suite"])))),128))])])):(0,a.kq)("",!0),h.value.length>0?((0,a.wg)(),(0,a.iD)("div",vl,[b.value.length>0?((0,a.wg)(),(0,a.iD)("h2",fl,"Endpoints")):(0,a.kq)("",!0),(0,a._)("div",wl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(S.value,(e=>((0,a.wg)(),(0,a.j4)(xt,{key:e.key,endpoint:e,maxResults:50,showAverageResponseTime:m.value,onShowTooltip:R},null,8,["endpoint","showAverageResponseTime"])))),128))])])):(0,a.kq)("",!0)])),!v.value&&y.value>1?((0,a.wg)(),(0,a.iD)("div",hl,[(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"icon",disabled:1===d.value,onClick:t[4]||(t[4]=e=>j(d.value-1))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Be.Z),{class:"h-4 w-4"})])),_:1},8,["disabled"]),(0,a._)("div",xl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(U.value,(e=>((0,a.wg)(),(0,a.j4)((0,r.SU)(x),{key:e,variant:e===d.value?"default":"outline",size:"sm",onClick:t=>j(e)},{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)(e),1)])),_:2},1032,["variant","onClick"])))),128))]),(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"icon",disabled:d.value===y.value,onClick:t[5]||(t[5]=e=>j(d.value+1))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4"})])),_:1},8,["disabled"])])):(0,a.kq)("",!0)]))]),(0,a.Wm)(ks,{onRefreshData:z})]))}};const kl=yl;var _l=kl,Sl=s(318),Dl=s(779),Ul=s(141),zl=s(478);const Wl={class:"flex items-center justify-between"},Cl={class:"text-sm text-muted-foreground"};var jl={__name:"Pagination",props:{numberOfResultsPerPage:Number,currentPageProp:{type:Number,default:1}},emits:["page"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)(s.currentPageProp),u=(0,a.Fl)((()=>{let e=100;if("undefined"!==typeof window&&window.config&&window.config.maximumNumberOfResults){const t=parseInt(window.config.maximumNumberOfResults);isNaN(t)||(e=t)}return Math.ceil(e/s.numberOfResultsPerPage)})),i=()=>{o.value--,l("page",o.value)},d=()=>{o.value++,l("page",o.value)};return(e,t)=>((0,a.wg)(),(0,a.iD)("div",Wl,[(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"sm",disabled:o.value>=u.value,onClick:d,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Be.Z),{class:"h-4 w-4"}),t[0]||(t[0]=(0,a.Uk)(" Previous ",-1))])),_:1,__:[0]},8,["disabled"]),(0,a._)("span",Cl," Page "+(0,n.zw)(o.value)+" of "+(0,n.zw)(u.value),1),(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"sm",disabled:o.value<=1,onClick:i,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[t[1]||(t[1]=(0,a.Uk)(" Next ",-1)),(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4"})])),_:1,__:[1]},8,["disabled"])]))}};const Hl=jl;var Rl=Hl;const Fl={class:"dashboard-container bg-background"},El={class:"container mx-auto px-4 py-8 max-w-7xl"},ql={class:"mb-6"},$l={key:0,class:"space-y-6"},Tl={class:"flex items-start justify-between"},Zl={class:"text-4xl font-bold tracking-tight"},Ll={class:"flex items-center gap-3 text-muted-foreground mt-2"},Al={key:0},Ml={key:1},Nl={key:2},Yl={class:"grid gap-6 md:grid-cols-2 lg:grid-cols-4"},Il={class:"text-2xl font-bold"},Pl={class:"text-2xl font-bold"},Ol={class:"text-2xl font-bold"},Kl={class:"text-2xl font-bold"},Vl={class:"flex items-center justify-between"},Bl={class:"flex items-center gap-2"},Gl={class:"space-y-4"},Jl={key:1,class:"pt-4 border-t"},Xl={key:0,class:"space-y-6"},Ql={class:"flex items-center justify-between"},ea=["src"],ta={class:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"},sa=["src","alt"],la={class:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"},aa={class:"text-sm text-muted-foreground mb-2"},na=["src","alt"],ra={class:"text-center"},oa=["src"],ua={class:"space-y-4"},ia={class:"mt-1"},da={class:"flex-1"},ca={class:"font-medium"},ga={class:"text-sm text-muted-foreground"},pa={key:1,class:"flex items-center justify-center py-20"};var ma={__name:"EndpointDetails",emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=(0,u.yj)(),i=t,d=(0,r.iH)(null),c=(0,r.iH)(null),g=(0,r.iH)([]),p=(0,r.iH)(1),m=(0,r.iH)(!1),v=(0,r.iH)(!1),f=(0,r.iH)("24h"),w="."===hr?"..":hr,h=(0,r.iH)(!1),b=(0,a.Fl)((()=>c.value&&c.value.results&&0!==c.value.results.length?c.value.results[c.value.results.length-1]:null)),y=(0,a.Fl)((()=>b.value?b.value.success?"healthy":"unhealthy":"unknown")),_=(0,a.Fl)((()=>b.value?.hostname||null)),S=(0,a.Fl)((()=>{if(!d.value||!d.value.results||0===d.value.results.length)return"N/A";let e=0,t=0;for(const s of d.value.results)s.duration&&(e+=s.duration,t++);return 0===t?"N/A":Math.round(e/t/1e6)})),U=(0,a.Fl)((()=>{if(!d.value||!d.value.results||0===d.value.results.length)return"N/A";let e=1/0,t=0,s=!1;for(const n of d.value.results)if(n.duration){const l=n.duration/1e6;e=Math.min(e,l),t=Math.max(t,l),s=!0}if(!s)return"N/A";const l=Math.round(e),a=Math.round(t);return l===a?`${l}ms`:`${l}-${a}ms`})),z=(0,a.Fl)((()=>c.value&&c.value.results&&0!==c.value.results.length?Z(c.value.results[c.value.results.length-1].timestamp):"Never")),C=async()=>{h.value=!0;try{const e=await fetch(`${w}/api/v1/endpoints/${o.params.key}/statuses?page=${p.value}&pageSize=50`,{credentials:"include"});if(200===e.status){const t=await e.json();d.value=t,1===p.value&&(c.value=t);let s=[];if(t.events&&t.events.length>0)for(let e=t.events.length-1;e>=0;e--){let l=t.events[e];if(e===t.events.length-1)"UNHEALTHY"===l.type?l.fancyText="Endpoint is unhealthy":"HEALTHY"===l.type?l.fancyText="Endpoint is healthy":"START"===l.type&&(l.fancyText="Monitoring started");else{let s=t.events[e+1];"HEALTHY"===l.type?l.fancyText="Endpoint became healthy":"UNHEALTHY"===l.type?l.fancyText=s?"Endpoint was unhealthy for "+L(s.timestamp,l.timestamp):"Endpoint became unhealthy":"START"===l.type&&(l.fancyText="Monitoring started")}l.fancyTimeAgo=Z(l.timestamp),s.push(l)}if(g.value=s,t.results&&t.results.length>0)for(let e=0;e0){m.value=!0;break}}else console.error("[Details][fetchData] Error:",await e.text())}catch(e){console.error("[Details][fetchData] Error:",e)}finally{h.value=!1}},j=()=>{s.push("/")},R=e=>{p.value=e,C()},F=(e,t,s="hover")=>{i("showTooltip",e,t,s)},E=e=>new Date(e).toLocaleString(),q=()=>`${w}/api/v1/endpoints/${d.value.key}/health/badge.svg`,$=e=>`${w}/api/v1/endpoints/${d.value.key}/uptimes/${e}/badge.svg`,T=e=>`${w}/api/v1/endpoints/${d.value.key}/response-times/${e}/badge.svg`,A=e=>`${w}/api/v1/endpoints/${d.value.key}/response-times/${e}/chart.svg`;return(0,a.bv)((()=>{C()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Fl,[(0,a._)("div",El,[(0,a._)("div",ql,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",class:"mb-4",onClick:j},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Sl.Z),{class:"h-4 w-4 mr-2"}),t[2]||(t[2]=(0,a.Uk)(" Back to Dashboard ",-1))])),_:1,__:[2]}),d.value&&d.value.name?((0,a.wg)(),(0,a.iD)("div",$l,[(0,a._)("div",Tl,[(0,a._)("div",null,[(0,a._)("h1",Zl,(0,n.zw)(d.value.name),1),(0,a._)("div",Ll,[d.value.group?((0,a.wg)(),(0,a.iD)("span",Al,"Group: "+(0,n.zw)(d.value.group),1)):(0,a.kq)("",!0),d.value.group&&_.value?((0,a.wg)(),(0,a.iD)("span",Ml,"•")):(0,a.kq)("",!0),_.value?((0,a.wg)(),(0,a.iD)("span",Nl,(0,n.zw)(_.value),1)):(0,a.kq)("",!0)])]),(0,a.Wm)(st,{status:y.value},null,8,["status"])]),(0,a._)("div",Yl,[(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[3]||(t[3]=[(0,a.Uk)("Current Status",-1)]))),_:1,__:[3]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Il,(0,n.zw)("healthy"===y.value?"Operational":"Issues Detected"),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[4]||(t[4]=[(0,a.Uk)("Avg Response Time",-1)]))),_:1,__:[4]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Pl,(0,n.zw)(S.value)+"ms",1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[5]||(t[5]=[(0,a.Uk)("Response Time Range",-1)]))),_:1,__:[5]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Ol,(0,n.zw)(U.value),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[6]||(t[6]=[(0,a.Uk)("Last Check",-1)]))),_:1,__:[6]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Kl,(0,n.zw)(z.value),1)])),_:1})])),_:1})]),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a._)("div",Vl,[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[7]||(t[7]=[(0,a.Uk)("Recent Checks",-1)]))),_:1,__:[7]}),(0,a._)("div",Bl,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:t[0]||(t[0]=e=>v.value=!v.value),title:v.value?"Show min-max response time":"Show average response time"},{default:(0,a.w5)((()=>[v.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ne.Z),{key:0,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ye.Z),{key:1,class:"h-5 w-5"}))])),_:1},8,["title"]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:C,title:"Refresh data",disabled:h.value},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:(0,n.C_)(["h-4 w-4",h.value&&"animate-spin"])},null,8,["class"])])),_:1},8,["disabled"])])])])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Gl,[d.value?((0,a.wg)(),(0,a.j4)(xt,{key:0,endpoint:d.value,maxResults:50,showAverageResponseTime:v.value,onShowTooltip:F,class:"border-0 shadow-none bg-transparent p-0"},null,8,["endpoint","showAverageResponseTime"])):(0,a.kq)("",!0),d.value&&d.value.key?((0,a.wg)(),(0,a.iD)("div",Jl,[(0,a.Wm)(Rl,{onPage:R,numberOfResultsPerPage:50,currentPageProp:p.value},null,8,["currentPageProp"])])):(0,a.kq)("",!0)])])),_:1})])),_:1}),m.value?((0,a.wg)(),(0,a.iD)("div",Xl,[(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a._)("div",Ql,[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[8]||(t[8]=[(0,a.Uk)("Response Time Trend",-1)]))),_:1,__:[8]}),(0,a.wy)((0,a._)("select",{"onUpdate:modelValue":t[1]||(t[1]=e=>f.value=e),class:"text-sm bg-background border rounded-md px-3 py-1 focus:outline-none focus:ring-2 focus:ring-ring"},t[9]||(t[9]=[(0,a._)("option",{value:"24h"},"24 hours",-1),(0,a._)("option",{value:"7d"},"7 days",-1),(0,a._)("option",{value:"30d"},"30 days",-1)]),512),[[l.bM,f.value]])])])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("img",{src:A(f.value),alt:"Response time chart",class:"w-full"},null,8,ea)])),_:1})])),_:1}),(0,a._)("div",ta,[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(["30d","7d","24h","1h"],(e=>(0,a.Wm)((0,r.SU)(k),{key:e},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),{class:"text-sm font-medium text-muted-foreground text-center"},{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)("30d"===e?"Last 30 days":"7d"===e?"Last 7 days":"24h"===e?"Last 24 hours":"Last hour"),1)])),_:2},1024)])),_:2},1024),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("img",{src:T(e),alt:`${e} response time`,class:"mx-auto mt-2"},null,8,sa)])),_:2},1024)])),_:2},1024))),64))])])):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[10]||(t[10]=[(0,a.Uk)("Uptime Statistics",-1)]))),_:1,__:[10]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",la,[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(["30d","7d","24h","1h"],(e=>(0,a._)("div",{key:e,class:"text-center"},[(0,a._)("p",aa,(0,n.zw)("30d"===e?"Last 30 days":"7d"===e?"Last 7 days":"24h"===e?"Last 24 hours":"Last hour"),1),(0,a._)("img",{src:$(e),alt:`${e} uptime`,class:"mx-auto"},null,8,na)]))),64))])])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[11]||(t[11]=[(0,a.Uk)("Current Health",-1)]))),_:1,__:[11]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",ra,[(0,a._)("img",{src:q(),alt:"health badge",class:"mx-auto"},null,8,oa)])])),_:1})])),_:1}),g.value&&g.value.length>0?((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{key:1},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[12]||(t[12]=[(0,a.Uk)("Events",-1)]))),_:1,__:[12]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",ua,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,(e=>((0,a.wg)(),(0,a.iD)("div",{key:e.timestamp,class:"flex items-start gap-4 pb-4 border-b last:border-0"},[(0,a._)("div",ia,["HEALTHY"===e.type?((0,a.wg)(),(0,a.j4)((0,r.SU)(Dl.Z),{key:0,class:"h-5 w-5 text-green-500"})):"UNHEALTHY"===e.type?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ul.Z),{key:1,class:"h-5 w-5 text-red-500"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(zl.Z),{key:2,class:"h-5 w-5 text-muted-foreground"}))]),(0,a._)("div",da,[(0,a._)("p",ca,(0,n.zw)(e.fancyText),1),(0,a._)("p",ga,(0,n.zw)(E(e.timestamp))+" • "+(0,n.zw)(e.fancyTimeAgo),1)])])))),128))])])),_:1})])),_:1})):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",pa,[(0,a.Wm)(de,{size:"lg"})]))])]),(0,a.Wm)(ks,{onRefreshData:C})]))}};const va=ma;var fa=va,wa=s(469),ha=s(399),xa=s(167);const ba=e=>{if(!e&&0!==e)return"N/A";const t=e/1e6;return t<1e3?`${t.toFixed(0)}ms`:`${(t/1e3).toFixed(2)}s`},ya={class:"relative flex-shrink-0"},ka={class:"flex-1 min-w-0 pt-1"},_a={class:"flex items-center justify-between gap-2 mb-1"},Sa={class:"font-medium text-sm truncate"},Da={class:"text-xs text-muted-foreground whitespace-nowrap"},Ua={class:"flex flex-wrap gap-1"},za={key:0,class:"inline-flex items-center gap-1 px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200 rounded-md"},Wa={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200 rounded-md"};var Ca={__name:"FlowStep",props:{step:{type:Object,required:!0},index:{type:Number,required:!0},isLast:{type:Boolean,default:!1},previousStep:{type:Object,default:null}},emits:["step-click"],setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.step.status){case"success":return Ve.Z;case"failed":return _s.Z;case"skipped":return wa.Z;case"not-started":return xa.Z;default:return xa.Z}})),l=(0,a.Fl)((()=>{const e="border-2";if(t.step.isAlwaysRun)switch(t.step.status){case"success":return`${e} bg-green-500 text-white border-green-600 ring-2 ring-blue-200 dark:ring-blue-800`;case"failed":return`${e} bg-red-500 text-white border-red-600 ring-2 ring-blue-200 dark:ring-blue-800`;default:return`${e} bg-blue-500 text-white border-blue-600 ring-2 ring-blue-200 dark:ring-blue-800`}switch(t.step.status){case"success":return`${e} bg-green-500 text-white border-green-600`;case"failed":return`${e} bg-red-500 text-white border-red-600`;case"skipped":return`${e} bg-gray-400 text-white border-gray-500`;case"not-started":return`${e} bg-gray-200 text-gray-500 border-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:border-gray-600`;default:return`${e} bg-gray-200 text-gray-500 border-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:border-gray-600`}})),o=(0,a.Fl)((()=>{if(!t.previousStep)return"bg-gray-300 dark:bg-gray-600";if("skipped"===t.step.status)return"border-l-2 border-dashed border-gray-400 bg-transparent";switch(t.previousStep.status){case"success":return"bg-green-500";case"failed":return"bg-red-500";default:return"bg-gray-300 dark:bg-gray-600"}})),u=(0,a.Fl)((()=>{const e=t.step.nextStepStatus;switch(t.step.status){case"success":return"skipped"===e?"bg-gray-300 dark:bg-gray-600":"bg-green-500";case"failed":return"skipped"===e?"border-l-2 border-dashed border-gray-400 bg-transparent":"bg-red-500";default:return"bg-gray-300 dark:bg-gray-600"}}));return(t,i)=>((0,a.wg)(),(0,a.iD)("div",{class:"flex items-start gap-4 relative group hover:bg-accent/30 rounded-lg p-2 -m-2 transition-colors cursor-pointer",onClick:i[0]||(i[0]=e=>t.$emit("step-click"))},[(0,a._)("div",ya,[e.index>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,n.C_)([o.value,"absolute left-1/2 bottom-8 w-0.5 h-4 -translate-x-px"])},null,2)):(0,a.kq)("",!0),(0,a._)("div",{class:(0,n.C_)([l.value,"w-8 h-8 rounded-full flex items-center justify-center"])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(s.value),{class:"w-4 h-4"}))],2),e.isLast?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,n.C_)([u.value,"absolute left-1/2 top-8 w-0.5 h-4 -translate-x-px"])},null,2))]),(0,a._)("div",ka,[(0,a._)("div",_a,[(0,a._)("h4",Sa,(0,n.zw)(e.step.name),1),(0,a._)("span",Da,(0,n.zw)((0,r.SU)(ba)(e.step.duration)),1)]),(0,a._)("div",Ua,[e.step.isAlwaysRun?((0,a.wg)(),(0,a.iD)("span",za,[(0,a.Wm)((0,r.SU)(ha.Z),{class:"w-3 h-3"}),i[1]||(i[1]=(0,a.Uk)(" Always Run ",-1))])):(0,a.kq)("",!0),e.step.errors?.length?((0,a.wg)(),(0,a.iD)("span",Wa,(0,n.zw)(e.step.errors.length)+" error"+(0,n.zw)(1!==e.step.errors.length?"s":""),1)):(0,a.kq)("",!0)])])]))}};const ja=Ca;var Ha=ja;const Ra={class:"space-y-4"},Fa={class:"flex items-center gap-4"},Ea={class:"flex-1 h-1 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden"},qa={class:"flex items-center justify-between text-xs text-muted-foreground"},$a={key:0},Ta={class:"space-y-2"},Za={class:"mt-6 pt-4 border-t"},La={class:"grid grid-cols-2 md:grid-cols-4 gap-3 text-xs"},Aa={key:0,class:"flex items-center gap-2"},Ma={class:"w-4 h-4 rounded-full bg-green-500 flex items-center justify-center"},Na={key:1,class:"flex items-center gap-2"},Ya={class:"w-4 h-4 rounded-full bg-red-500 flex items-center justify-center"},Ia={key:2,class:"flex items-center gap-2"},Pa={class:"w-4 h-4 rounded-full bg-gray-400 flex items-center justify-center"},Oa={key:3,class:"flex items-center gap-2"},Ka={class:"w-4 h-4 rounded-full bg-blue-500 border-2 border-blue-200 dark:border-blue-800 flex items-center justify-center"};var Va={__name:"SequentialFlowDiagram",props:{flowSteps:{type:Array,default:()=>[]},progressPercentage:{type:Number,default:0},completedSteps:{type:Number,default:0},totalSteps:{type:Number,default:0}},emits:["step-selected"],setup(e){const t=e,s=(0,a.Fl)((()=>t.completedSteps)),l=(0,a.Fl)((()=>t.totalSteps)),o=(0,a.Fl)((()=>t.flowSteps.reduce(((e,t)=>e+(t.duration||0)),0))),u=(0,a.Fl)((()=>t.flowSteps.some((e=>"success"===e.status)))),i=(0,a.Fl)((()=>t.flowSteps.some((e=>"failed"===e.status)))),d=(0,a.Fl)((()=>t.flowSteps.some((e=>"skipped"===e.status)))),c=(0,a.Fl)((()=>t.flowSteps.some((e=>!0===e.isAlwaysRun))));return(t,g)=>((0,a.wg)(),(0,a.iD)("div",Ra,[(0,a._)("div",Fa,[g[0]||(g[0]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground"},"Start",-1)),(0,a._)("div",Ea,[(0,a._)("div",{class:"h-full bg-green-500 dark:bg-green-600 rounded-full transition-all duration-300 ease-out",style:(0,n.j5)({width:e.progressPercentage+"%"})},null,4)]),g[1]||(g[1]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground"},"End",-1))]),(0,a._)("div",qa,[(0,a._)("span",null,(0,n.zw)(s.value)+"/"+(0,n.zw)(l.value)+" steps successful",1),o.value>0?((0,a.wg)(),(0,a.iD)("span",$a,(0,n.zw)((0,r.SU)(ba)(o.value))+" total",1)):(0,a.kq)("",!0)]),(0,a._)("div",Ta,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.flowSteps,((s,l)=>((0,a.wg)(),(0,a.j4)(Ha,{key:l,step:s,index:l,"is-last":l===e.flowSteps.length-1,"previous-step":l>0?e.flowSteps[l-1]:null,onStepClick:e=>t.$emit("step-selected",s,l)},null,8,["step","index","is-last","previous-step","onStepClick"])))),128))]),(0,a._)("div",Za,[g[6]||(g[6]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground mb-2"},"Status Legend",-1)),(0,a._)("div",La,[u.value?((0,a.wg)(),(0,a.iD)("div",Aa,[(0,a._)("div",Ma,[(0,a.Wm)((0,r.SU)(Ve.Z),{class:"w-3 h-3 text-white"})]),g[2]||(g[2]=(0,a._)("span",{class:"text-muted-foreground"},"Success",-1))])):(0,a.kq)("",!0),i.value?((0,a.wg)(),(0,a.iD)("div",Na,[(0,a._)("div",Ya,[(0,a.Wm)((0,r.SU)(_s.Z),{class:"w-3 h-3 text-white"})]),g[3]||(g[3]=(0,a._)("span",{class:"text-muted-foreground"},"Failed",-1))])):(0,a.kq)("",!0),d.value?((0,a.wg)(),(0,a.iD)("div",Ia,[(0,a._)("div",Pa,[(0,a.Wm)((0,r.SU)(wa.Z),{class:"w-3 h-3 text-white"})]),g[4]||(g[4]=(0,a._)("span",{class:"text-muted-foreground"},"Skipped",-1))])):(0,a.kq)("",!0),c.value?((0,a.wg)(),(0,a.iD)("div",Oa,[(0,a._)("div",Ka,[(0,a.Wm)((0,r.SU)(ha.Z),{class:"w-3 h-3 text-white"})]),g[5]||(g[5]=(0,a._)("span",{class:"text-muted-foreground"},"Always Run",-1))])):(0,a.kq)("",!0)])])]))}};const Ba=Va;var Ga=Ba,Ja=s(293),Xa=s(322),Qa=s(740);const en={class:"flex items-center justify-between p-4 border-b"},tn={class:"text-lg font-semibold flex items-center gap-2"},sn={class:"text-sm text-muted-foreground mt-1"},ln={class:"p-4 space-y-4 overflow-y-auto max-h-[60vh]"},an={key:0,class:"flex flex-wrap gap-2"},nn={class:"flex items-center gap-2 px-3 py-2 bg-blue-50 dark:bg-blue-900/30 rounded-lg border border-blue-200 dark:border-blue-700"},rn={key:1,class:"space-y-2"},on={class:"text-sm font-medium flex items-center gap-2 text-red-600 dark:text-red-400"},un={class:"space-y-2"},dn={key:2,class:"space-y-2"},cn={class:"text-sm font-medium flex items-center gap-2"},gn={class:"text-xs font-mono text-muted-foreground"},pn={key:3,class:"space-y-2"},mn={class:"text-sm font-medium flex items-center gap-2"},vn={class:"grid grid-cols-2 gap-4 text-xs"},fn={class:"font-mono mt-1"},wn={key:4,class:"space-y-2"},hn={class:"text-sm font-medium flex items-center gap-2"},xn={class:"space-y-2 max-h-48 overflow-y-auto"},bn={class:"flex-shrink-0 mt-0.5"},yn={class:"flex-1 min-w-0 flex items-center justify-between gap-3"},kn={key:5,class:"space-y-2"},_n={class:"text-sm font-medium flex items-center gap-2"},Sn={class:"space-y-3 text-xs"},Dn={key:0},Un={class:"font-mono mt-1 break-all"},zn={key:1},Wn={class:"mt-1 font-medium"},Cn={key:2},jn={class:"mt-1"},Hn={key:3},Rn={class:"mt-1"},Fn={key:6,class:"space-y-2"},En={class:"text-sm font-medium flex items-center gap-2 text-red-600 dark:text-red-400"},qn={class:"space-y-2 max-h-32 overflow-y-auto"};var $n={__name:"StepDetailsModal",props:{step:{type:Object,required:!0},index:{type:Number,required:!0}},emits:["close"],setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.step.status){case"success":return Ve.Z;case"failed":return _s.Z;case"skipped":return wa.Z;case"not-started":return xa.Z;default:return xa.Z}})),o=(0,a.Fl)((()=>{switch(t.step.status){case"success":return"text-green-600 dark:text-green-400";case"failed":return"text-red-600 dark:text-red-400";case"skipped":return"text-gray-600 dark:text-gray-400";default:return"text-blue-600 dark:text-blue-400"}}));return(t,u)=>((0,a.wg)(),(0,a.iD)("div",{class:"fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center p-4 z-50",onClick:u[2]||(u[2]=e=>t.$emit("close"))},[(0,a._)("div",{class:"bg-background border rounded-lg shadow-lg max-w-2xl w-full max-h-[80vh] overflow-hidden",onClick:u[1]||(u[1]=(0,l.iM)((()=>{}),["stop"]))},[(0,a._)("div",en,[(0,a._)("div",null,[(0,a._)("h2",tn,[((0,a.wg)(),(0,a.j4)((0,a.LL)(s.value),{class:(0,n.C_)([o.value,"w-5 h-5"])},null,8,["class"])),(0,a.Uk)(" "+(0,n.zw)(e.step.name),1)]),(0,a._)("p",sn," Step "+(0,n.zw)(e.index+1)+" • "+(0,n.zw)((0,r.SU)(ba)(e.step.duration)),1)]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:u[0]||(u[0]=e=>t.$emit("close"))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(d.Z),{class:"w-4 h-4"})])),_:1})]),(0,a._)("div",ln,[e.step.isAlwaysRun?((0,a.wg)(),(0,a.iD)("div",an,[(0,a._)("div",nn,[(0,a.Wm)((0,r.SU)(ha.Z),{class:"w-4 h-4 text-blue-600 dark:text-blue-400"}),u[3]||(u[3]=(0,a._)("div",null,[(0,a._)("p",{class:"text-sm font-medium text-blue-900 dark:text-blue-200"},"Always Run"),(0,a._)("p",{class:"text-xs text-blue-600 dark:text-blue-400"},"This endpoint is configured to execute even after failures")],-1))])])):(0,a.kq)("",!0),e.step.errors?.length?((0,a.wg)(),(0,a.iD)("div",rn,[(0,a._)("h3",on,[(0,a.Wm)((0,r.SU)(Pe.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Errors ("+(0,n.zw)(e.step.errors.length)+") ",1)]),(0,a._)("div",un,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"p-3 bg-red-50 dark:bg-red-900/50 border border-red-200 dark:border-red-700 rounded text-sm font-mono text-red-800 dark:text-red-300 break-all"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0),e.step.result&&e.step.result.timestamp?((0,a.wg)(),(0,a.iD)("div",dn,[(0,a._)("h3",cn,[(0,a.Wm)((0,r.SU)(Ja.Z),{class:"w-4 h-4"}),u[4]||(u[4]=(0,a.Uk)(" Timestamp ",-1))]),(0,a._)("p",gn,(0,n.zw)((0,r.SU)(A)(e.step.result.timestamp)),1)])):(0,a.kq)("",!0),e.step.result?((0,a.wg)(),(0,a.iD)("div",pn,[(0,a._)("h3",mn,[(0,a.Wm)((0,r.SU)(Xa.Z),{class:"w-4 h-4"}),u[5]||(u[5]=(0,a.Uk)(" Response ",-1))]),(0,a._)("div",vn,[(0,a._)("div",null,[u[6]||(u[6]=(0,a._)("span",{class:"text-muted-foreground"},"Duration:",-1)),(0,a._)("p",fn,(0,n.zw)((0,r.SU)(ba)(e.step.result.duration)),1)]),(0,a._)("div",null,[u[7]||(u[7]=(0,a._)("span",{class:"text-muted-foreground"},"Success:",-1)),(0,a._)("p",{class:(0,n.C_)(["mt-1",e.step.result.success?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"])},(0,n.zw)(e.step.result.success?"Yes":"No"),3)])])])):(0,a.kq)("",!0),e.step.result?.conditionResults?.length?((0,a.wg)(),(0,a.iD)("div",wn,[(0,a._)("h3",hn,[(0,a.Wm)((0,r.SU)(Ve.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Condition Results ("+(0,n.zw)(e.step.result.conditionResults.length)+") ",1)]),(0,a._)("div",xn,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.result.conditionResults,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex items-start gap-3 p-1 rounded-lg border",e.success?"bg-green-50 dark:bg-green-900/30 border-green-200 dark:border-green-700":"bg-red-50 dark:bg-red-900/30 border-red-200 dark:border-red-700"])},[(0,a._)("div",bn,[e.success?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ve.Z),{key:0,class:"w-4 h-4 text-green-600 dark:text-green-400"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(_s.Z),{key:1,class:"w-4 h-4 text-red-600 dark:text-red-400"}))]),(0,a._)("div",yn,[(0,a._)("p",{class:(0,n.C_)(["text-sm font-mono break-all",e.success?"text-green-800 dark:text-green-200":"text-red-800 dark:text-red-200"])},(0,n.zw)(e.condition),3),(0,a._)("span",{class:(0,n.C_)(["text-xs font-medium whitespace-nowrap",e.success?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"])},(0,n.zw)(e.success?"Passed":"Failed"),3)])],2)))),128))])])):(0,a.kq)("",!0),e.step.endpoint?((0,a.wg)(),(0,a.iD)("div",kn,[(0,a._)("h3",_n,[(0,a.Wm)((0,r.SU)(Qa.Z),{class:"w-4 h-4"}),u[8]||(u[8]=(0,a.Uk)(" Endpoint Configuration ",-1))]),(0,a._)("div",Sn,[e.step.endpoint.url?((0,a.wg)(),(0,a.iD)("div",Dn,[u[9]||(u[9]=(0,a._)("span",{class:"text-muted-foreground"},"URL:",-1)),(0,a._)("p",Un,(0,n.zw)(e.step.endpoint.url),1)])):(0,a.kq)("",!0),e.step.endpoint.method?((0,a.wg)(),(0,a.iD)("div",zn,[u[10]||(u[10]=(0,a._)("span",{class:"text-muted-foreground"},"Method:",-1)),(0,a._)("p",Wn,(0,n.zw)(e.step.endpoint.method),1)])):(0,a.kq)("",!0),e.step.endpoint.interval?((0,a.wg)(),(0,a.iD)("div",Cn,[u[11]||(u[11]=(0,a._)("span",{class:"text-muted-foreground"},"Interval:",-1)),(0,a._)("p",jn,(0,n.zw)(e.step.endpoint.interval),1)])):(0,a.kq)("",!0),e.step.endpoint.timeout?((0,a.wg)(),(0,a.iD)("div",Hn,[u[12]||(u[12]=(0,a._)("span",{class:"text-muted-foreground"},"Timeout:",-1)),(0,a._)("p",Rn,(0,n.zw)(e.step.endpoint.timeout),1)])):(0,a.kq)("",!0)])])):(0,a.kq)("",!0),e.step.result?.errors?.length?((0,a.wg)(),(0,a.iD)("div",Fn,[(0,a._)("h3",En,[(0,a.Wm)((0,r.SU)(Pe.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Result Errors ("+(0,n.zw)(e.step.result.errors.length)+") ",1)]),(0,a._)("div",qn,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.result.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"p-3 bg-red-50 dark:bg-red-900/50 border border-red-200 dark:border-red-700 rounded text-sm font-mono text-red-800 dark:text-red-300 break-all"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])])]))}};const Tn=$n;var Zn=Tn;const Ln={class:"suite-details-container bg-background min-h-screen"},An={class:"container mx-auto px-4 py-8 max-w-7xl"},Mn={class:"mb-6"},Nn={class:"flex items-start justify-between"},Yn={class:"text-3xl font-bold tracking-tight"},In={class:"text-muted-foreground mt-2"},Pn={key:0},On={key:1},Kn={class:"flex items-center gap-2"},Vn={key:0,class:"flex items-center justify-center py-20"},Bn={key:1,class:"text-center py-20"},Gn={key:2,class:"space-y-6"},Jn={class:"space-y-4"},Xn={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},Qn={class:"text-lg font-medium"},er={class:"text-lg font-medium"},tr={class:"text-lg font-medium"},sr={class:"text-lg font-medium"},lr={class:"mt-6"},ar={key:0,class:"mt-6"},nr={class:"space-y-2"},rr={key:0,class:"space-y-2"},or=["onClick"],ur={class:"flex items-center gap-3"},ir={class:"text-sm font-medium"},dr={class:"text-xs text-muted-foreground"},cr={key:1,class:"text-center py-8 text-muted-foreground"};var gr={__name:"SuiteDetails",setup(e){const t=(0,u.tv)(),s=(0,u.yj)(),l=(0,r.iH)(!1),o=(0,r.iH)(null),i=(0,r.iH)(null),d=(0,r.iH)(null),c=(0,r.iH)(0),g=(0,a.Fl)((()=>o.value&&o.value.results&&0!==o.value.results.length?[...o.value.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp))):[])),p=(0,a.Fl)((()=>o.value&&o.value.results&&0!==o.value.results.length?i.value||g.value[0]:null)),m=async()=>{const e=!o.value;e&&(l.value=!0);try{const t=await fetch(`${hr}/api/v1/suites/${s.params.key}/statuses`,{credentials:"include"});if(200===t.status){const e=await t.json(),s=o.value;if(o.value=e,e.results&&e.results.length>0){const t=[...e.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp))),l=!i.value||s?.results&&i.value.timestamp===[...s.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp)))[0]?.timestamp;l&&(i.value=t[0])}}else 404===t.status?o.value=null:console.error("[SuiteDetails][fetchData] Error:",await t.text())}catch(t){console.error("[SuiteDetails][fetchData] Error:",t)}finally{e&&(l.value=!1)}},v=()=>{m()},f=()=>{t.push("/")},w=e=>Z(e),h=e=>{const t=new Date(e);return t.toLocaleString()},b=e=>{if(!e&&0!==e)return"N/A";const t=e/1e6;return t<1e3?`${t.toFixed(0)}ms`:`${(t/1e3).toFixed(2)}s`},y=e=>{if(!e||!e.endpointResults||0===e.endpointResults.length)return 0;const t=e.endpointResults.filter((e=>e.success)).length;return Math.round(t/e.endpointResults.length*100)},_=(0,a.Fl)((()=>{if(!p.value||!p.value.endpointResults)return[];const e=p.value.endpointResults;return e.map(((t,s)=>{const l=o.value?.endpoints?.[s],a=e[s+1];let n=!1;for(let r=0;r_.value.filter((e=>"success"===e.status)).length)),U=(0,a.Fl)((()=>_.value.length?Math.round(S.value/_.value.length*100):0)),z=e=>e?e.conditionResults&&e.conditionResults.some((e=>e.condition.includes("SKIP")))?"skipped":e.success?"success":"failed":"not-started",C=(e,t)=>{d.value=e,c.value=t};return(0,a.bv)((()=>{m()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Ln,[(0,a._)("div",An,[(0,a._)("div",Mn,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"sm",onClick:f,class:"mb-4"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Sl.Z),{class:"h-4 w-4 mr-2"}),t[1]||(t[1]=(0,a.Uk)(" Back to Dashboard ",-1))])),_:1,__:[1]}),(0,a._)("div",Nn,[(0,a._)("div",null,[(0,a._)("h1",Yn,(0,n.zw)(o.value?.name||"Loading..."),1),(0,a._)("p",In,[o.value?.group?((0,a.wg)(),(0,a.iD)("span",Pn,(0,n.zw)(o.value.group)+" • ",1)):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",On,(0,n.zw)(i.value&&i.value.timestamp!==g.value[0]?.timestamp?"Ran":"Last run")+" "+(0,n.zw)(w(p.value.timestamp)),1)):(0,a.kq)("",!0)])]),(0,a._)("div",Kn,[p.value?((0,a.wg)(),(0,a.j4)(st,{key:0,status:p.value.success?"healthy":"unhealthy"},null,8,["status"])):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:v,title:"Refresh"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"h-5 w-5"})])),_:1})])])]),l.value?((0,a.wg)(),(0,a.iD)("div",Vn,[(0,a.Wm)(de,{size:"lg"})])):o.value?((0,a.wg)(),(0,a.iD)("div",Gn,[p.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{key:0},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)(i.value?.timestamp===g.value[0]?.timestamp?"Latest Execution":`Execution at ${h(i.value.timestamp)}`),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[(0,a._)("div",Jn,[(0,a._)("div",Xn,[(0,a._)("div",null,[t[4]||(t[4]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Status",-1)),(0,a._)("p",Qn,(0,n.zw)(p.value.success?"Success":"Failed"),1)]),(0,a._)("div",null,[t[5]||(t[5]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Duration",-1)),(0,a._)("p",er,(0,n.zw)(b(p.value.duration)),1)]),(0,a._)("div",null,[t[6]||(t[6]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Endpoints",-1)),(0,a._)("p",tr,(0,n.zw)(p.value.endpointResults?.length||0),1)]),(0,a._)("div",null,[t[7]||(t[7]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Success Rate",-1)),(0,a._)("p",sr,(0,n.zw)(y(p.value))+"%",1)])]),(0,a._)("div",lr,[t[8]||(t[8]=(0,a._)("h3",{class:"text-lg font-semibold mb-4"},"Execution Flow",-1)),(0,a.Wm)(Ga,{"flow-steps":_.value,"progress-percentage":U.value,"completed-steps":S.value,"total-steps":_.value.length,onStepSelected:C},null,8,["flow-steps","progress-percentage","completed-steps","total-steps"])]),p.value.errors&&p.value.errors.length>0?((0,a.wg)(),(0,a.iD)("div",ar,[t[9]||(t[9]=(0,a._)("h3",{class:"text-lg font-semibold mb-3 text-red-500"},"Suite Errors",-1)),(0,a._)("div",nr,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(p.value.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"bg-red-50 dark:bg-red-950 text-red-700 dark:text-red-300 p-3 rounded-md text-sm"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])])),_:1})])),_:1})):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(W),null,{default:(0,a.w5)((()=>t[10]||(t[10]=[(0,a.Uk)("Execution History",-1)]))),_:1,__:[10]})])),_:1}),(0,a.Wm)((0,r.SU)(H),null,{default:(0,a.w5)((()=>[g.value.length>0?((0,a.wg)(),(0,a.iD)("div",rr,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex items-center justify-between p-3 border rounded-lg hover:bg-accent/50 transition-colors cursor-pointer",{"bg-accent":i.value&&i.value.timestamp===e.timestamp}]),onClick:t=>i.value=e},[(0,a._)("div",ur,[(0,a.Wm)(st,{status:e.success?"healthy":"unhealthy",size:"sm"},null,8,["status"]),(0,a._)("div",null,[(0,a._)("p",ir,(0,n.zw)(h(e.timestamp)),1),(0,a._)("p",dr,(0,n.zw)(e.endpointResults?.length||0)+" endpoints • "+(0,n.zw)(b(e.duration)),1)])]),(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4 text-muted-foreground"})],10,or)))),128))])):((0,a.wg)(),(0,a.iD)("div",cr," No execution history available "))])),_:1})])),_:1})])):((0,a.wg)(),(0,a.iD)("div",Bn,[(0,a.Wm)((0,r.SU)(Pe.Z),{class:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t[2]||(t[2]=(0,a._)("h3",{class:"text-lg font-semibold mb-2"},"Suite not found",-1)),t[3]||(t[3]=(0,a._)("p",{class:"text-muted-foreground"},"The requested suite could not be found.",-1))]))]),(0,a.Wm)(ks,{onRefreshData:m}),d.value?((0,a.wg)(),(0,a.j4)(Zn,{key:0,step:d.value,index:c.value,onClose:t[0]||(t[0]=e=>d.value=null)},null,8,["step","index"])):(0,a.kq)("",!0)]))}};const pr=(0,E.Z)(gr,[["__scopeId","data-v-01b6e7cc"]]);var mr=pr;const vr=[{path:"/",name:"Home",component:_l},{path:"/endpoints/:key",name:"EndpointDetails",component:fa},{path:"/suites/:key",name:"SuiteDetails",component:mr}],fr=(0,u.p7)({history:(0,u.PO)("/"),routes:vr});var wr=fr;const hr="";(0,l.ri)(Me).use(wr).mount("#app")}},t={};function s(l){var a=t[l];if(void 0!==a)return a.exports;var n=t[l]={exports:{}};return e[l](n,n.exports,s),n.exports}s.m=e,function(){var e=[];s.O=function(t,l,a,n){if(!l){var r=1/0;for(d=0;d=n)&&Object.keys(s.O).every((function(e){return s.O[e](l[u])}))?l.splice(u--,1):(o=!1,n0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[l,a,n]}}(),function(){s.d=function(e,t){for(var l in t)s.o(t,l)&&!s.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){s.p="/"}(),function(){var e={143:0};s.O.j=function(t){return 0===e[t]};var t=function(t,l){var a,n,r=l[0],o=l[1],u=l[2],i=0;if(r.some((function(t){return 0!==e[t]}))){for(a in o)s.o(o,a)&&(s.m[a]=o[a]);if(u)var d=u(s)}for(t&&t(l);i((0,a.wg)(),(0,a.iD)("button",{class:(0,n.C_)((0,r.SU)(v)((0,r.SU)(t)({variant:e.variant,size:e.size}),s.$attrs.class??"")),disabled:e.disabled},[(0,a.WI)(s.$slots,"default")],10,f))}};const h=w;var x=h,b={__name:"Card",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("rounded-lg border bg-card text-card-foreground shadow-sm",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const y=b;var k=y,_={__name:"CardHeader",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("flex flex-col space-y-1.5 p-6",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const S=_;var D=S,U={__name:"CardTitle",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("h3",{class:(0,n.C_)((0,r.SU)(v)("text-2xl font-semibold leading-none tracking-tight",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const z=U;var C=z,W={__name:"CardContent",setup(e){return(e,t)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)("p-6 pt-0",e.$attrs.class??""))},[(0,a.WI)(e.$slots,"default")],2))}};const H=W;var j=H;const R={id:"social"};function F(e,t){return(0,a.wg)(),(0,a.iD)("div",R,t[0]||(t[0]=[(0,a._)("a",{href:"https://github.com/TwiN/gatus",target:"_blank",title:"Gatus on GitHub"},[(0,a._)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 16 16",class:"hover:scale-110"},[(0,a._)("path",{fill:"gray",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})])],-1)]))}var E=s(744);const T={},$=(0,E.Z)(T,[["render",F],["__scopeId","data-v-788af9ce"]]);var q=$;const L=e=>{let t=(new Date).getTime()-new Date(e).getTime();if(t<500)return"now";if(t>2592e5){let e=(t/864e5).toFixed(0);return e+" day"+("1"!==e?"s":"")+" ago"}if(t>36e5){let e=(t/36e5).toFixed(0);return e+" hour"+("1"!==e?"s":"")+" ago"}if(t>6e4){let e=(t/6e4).toFixed(0);return e+" minute"+("1"!==e?"s":"")+" ago"}let s=(t/1e3).toFixed(0);return s+" second"+("1"!==s?"s":"")+" ago"},Z=(e,t)=>{const s=new Date(e)-new Date(t),l=Math.floor(s/1e3),a=Math.floor(l/60),n=Math.floor(a/60);if(n>0){const e=a%60,t=n+(1===n?" hour":" hours");return e>0?t+" "+e+(1===e?" minute":" minutes"):t}if(a>0){const e=l%60,t=a+(1===a?" minute":" minutes");return e>0?t+" "+e+(1===e?" second":" seconds"):t}return l+(1===l?" second":" seconds")},M=e=>{let t=new Date(e),s=t.getFullYear(),l=(t.getMonth()+1<10?"0":"")+(t.getMonth()+1),a=(t.getDate()<10?"0":"")+t.getDate(),n=(t.getHours()<10?"0":"")+t.getHours(),r=(t.getMinutes()<10?"0":"")+t.getMinutes(),o=(t.getSeconds()<10?"0":"")+t.getSeconds();return s+"-"+l+"-"+a+" "+n+":"+r+":"+o},A={key:0,class:"space-y-2"},N={key:0,class:"flex items-center gap-2"},Y={class:"text-xs font-semibold"},I={class:"font-mono text-xs"},O={key:1},P={class:"font-mono text-xs"},K={key:0,class:"mt-1 space-y-0.5"},V={class:"truncate"},B={class:"text-muted-foreground"},G={key:0,class:"text-xs text-muted-foreground"},J={class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},X={class:"font-mono text-xs"},Q={key:2},ee={class:"font-mono text-xs space-y-0.5"},te={class:"break-all"},se={key:3},le={class:"font-mono text-xs space-y-0.5"};var ae={__name:"Tooltip",props:{event:{type:[Event,Object],default:null},result:{type:Object,default:null},isPersistent:{type:Boolean,default:!1}},setup(e){const t=(0,u.yj)(),s=e,l=(0,r.iH)(!0),o=(0,r.iH)(0),i=(0,r.iH)(0),d=(0,r.iH)(null),c=(0,r.iH)(null),g=(0,a.Fl)((()=>s.result&&void 0!==s.result.endpointResults)),p=(0,a.Fl)((()=>g.value&&s.result.endpointResults?s.result.endpointResults.length:0)),m=(0,a.Fl)((()=>g.value&&s.result.endpointResults?s.result.endpointResults.filter((e=>e.success)).length:0)),v=async()=>{if(!c.value||!d.value||l.value)return;await(0,a.Y3)();const e=c.value.getBoundingClientRect(),t=d.value.getBoundingClientRect(),s=window.pageYOffset||document.documentElement.scrollTop,n=window.pageXOffset||document.documentElement.scrollLeft;let r=e.bottom+s+8,u=e.left+n;const g=window.innerHeight-e.bottom,p=e.top;gt.height+20?e.top+s-t.height-8:p>g?s+10:s+window.innerHeight-t.height-10);const m=window.innerWidth-e.left;m{if(s.event&&s.event.type)if(await(0,a.Y3)(),"mouseenter"!==s.event.type&&"click"!==s.event.type||!d.value)"mouseleave"===s.event.type&&(s.isPersistent||(l.value=!0,c.value=null));else{const e=s.event.target;c.value=e,l.value=!1,await(0,a.Y3)(),await v()}},w=()=>{v()};return(0,a.bv)((()=>{window.addEventListener("resize",w)})),(0,a.Ah)((()=>{window.removeEventListener("resize",w)})),(0,a.YP)((()=>s.event),(e=>{e&&e.type&&("mouseenter"===e.type||"click"===e.type?(l.value=!1,(0,a.Y3)((()=>f()))):"mouseleave"===e.type&&(s.isPersistent||(l.value=!0)))}),{immediate:!0}),(0,a.YP)((()=>s.result),(()=>{l.value||(0,a.Y3)((()=>f()))})),(0,a.YP)((()=>[s.isPersistent,s.result]),(([e,t])=>{e||t?t&&(e||"mouseenter"===s.event?.type)&&(l.value=!1,(0,a.Y3)((()=>f()))):l.value=!0})),(0,a.YP)((()=>t.path),(()=>{l.value=!0,c.value=null})),(t,s)=>((0,a.wg)(),(0,a.iD)("div",{id:"tooltip",ref_key:"tooltip",ref:d,class:(0,n.C_)(["absolute z-50 px-3 py-2 text-sm rounded-md shadow-lg border transition-all duration-200","bg-popover text-popover-foreground border-border",l.value?"invisible opacity-0":"visible opacity-100"]),style:(0,n.j5)(`top: ${o.value}px; left: ${i.value}px;`)},[e.result?((0,a.wg)(),(0,a.iD)("div",A,[g.value?((0,a.wg)(),(0,a.iD)("div",N,[(0,a._)("span",{class:(0,n.C_)(["inline-block w-2 h-2 rounded-full",e.result.success?"bg-green-500":"bg-red-500"])},null,2),(0,a._)("span",Y,(0,n.zw)(e.result.success?"Suite Passed":"Suite Failed"),1)])):(0,a.kq)("",!0),(0,a._)("div",null,[s[0]||(s[0]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Timestamp",-1)),(0,a._)("div",I,(0,n.zw)((0,r.SU)(M)(e.result.timestamp)),1)]),g.value&&e.result.endpointResults?((0,a.wg)(),(0,a.iD)("div",O,[s[1]||(s[1]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Endpoints",-1)),(0,a._)("div",P,[(0,a._)("span",{class:(0,n.C_)(m.value===p.value?"text-green-500":"text-yellow-500")},(0,n.zw)(m.value)+"/"+(0,n.zw)(p.value)+" passed ",3)]),e.result.endpointResults.length>0?((0,a.wg)(),(0,a.iD)("div",K,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.endpointResults.slice(0,5),((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"flex items-center gap-1 text-xs"},[(0,a._)("span",{class:(0,n.C_)(e.success?"text-green-500":"text-red-500")},(0,n.zw)(e.success?"✓":"✗"),3),(0,a._)("span",V,(0,n.zw)(e.name),1),(0,a._)("span",B,"("+(0,n.zw)((e.duration/1e6).toFixed(0))+"ms)",1)])))),128)),e.result.endpointResults.length>5?((0,a.wg)(),(0,a.iD)("div",G," ... and "+(0,n.zw)(e.result.endpointResults.length-5)+" more ",1)):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])):(0,a.kq)("",!0),(0,a._)("div",null,[(0,a._)("div",J,(0,n.zw)(g.value?"Total Duration":"Response Time"),1),(0,a._)("div",X,(0,n.zw)((g.value,(e.result.duration/1e6).toFixed(0)))+"ms ",1)]),!g.value&&e.result.conditionResults&&e.result.conditionResults.length?((0,a.wg)(),(0,a.iD)("div",Q,[s[2]||(s[2]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Conditions",-1)),(0,a._)("div",ee,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.conditionResults,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"flex items-start gap-1"},[(0,a._)("span",{class:(0,n.C_)(e.success?"text-green-500":"text-red-500")},(0,n.zw)(e.success?"✓":"✗"),3),(0,a._)("span",te,(0,n.zw)(e.condition),1)])))),128))])])):(0,a.kq)("",!0),e.result.errors&&e.result.errors.length?((0,a.wg)(),(0,a.iD)("div",se,[s[3]||(s[3]=(0,a._)("div",{class:"text-xs font-semibold text-muted-foreground uppercase tracking-wider"},"Errors",-1)),(0,a._)("div",le,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.result.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"text-red-500"}," • "+(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)],6))}};const ne=ae;var re=ne;const oe={class:"flex justify-center items-center"};var ue={__name:"Loading",props:{size:{type:String,default:"md",validator:e=>["xs","sm","md","lg","xl"].includes(e)}},setup(e){const t=e,s=(0,a.Fl)((()=>{const e={xs:"w-4 h-4",sm:"w-6 h-6",md:"w-8 h-8",lg:"w-12 h-12",xl:"w-16 h-16"};return e[t.size]||e.md}));return(e,t)=>((0,a.wg)(),(0,a.iD)("div",oe,[(0,a._)("img",{class:(0,n.C_)(["animate-spin rounded-full opacity-60 grayscale",s.value]),src:o,alt:"Gatus logo"},null,2)]))}};const ie=ue;var de=ie;const ce={id:"global",class:"bg-background text-foreground"},ge={key:0,class:"flex items-center justify-center min-h-screen"},pe={key:1,class:"relative"},me={class:"border-b bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/60"},ve={class:"container mx-auto px-4 py-4 max-w-7xl"},fe={class:"flex items-center justify-between"},we={class:"flex items-center gap-4"},he={class:"w-12 h-12 flex items-center justify-center"},xe=["src"],be={key:1,src:o,alt:"Gatus",class:"w-full h-full object-contain"},ye={class:"text-2xl font-bold tracking-tight"},ke={key:0,class:"text-sm text-muted-foreground"},_e={class:"flex items-center gap-2"},Se={key:0,class:"hidden md:flex items-center gap-1"},De=["href"],Ue={key:0,class:"md:hidden mt-4 pt-4 border-t space-y-1"},ze=["href"],Ce={class:"relative"},We={class:"border-t mt-auto"},He={class:"container mx-auto px-4 py-6 max-w-7xl"},je={class:"flex flex-col items-center gap-4"},Re={key:2,id:"login-container",class:"flex items-center justify-center min-h-screen p-4"},Fe={key:0,class:"mb-6"},Ee={class:"p-3 rounded-md bg-destructive/10 border border-destructive/20"},Te={class:"text-sm text-destructive text-center"},$e={key:0},qe={key:1},Le=["href"];var Ze={__name:"App",setup(e){const t=(0,u.yj)(),s=(0,r.iH)(!1),l=(0,r.iH)({oidc:!1,authenticated:!0}),g=(0,r.iH)([]),p=(0,r.iH)({}),m=(0,r.iH)(!1),v=(0,r.iH)(!1),f=(0,r.iH)(!1);let w=null;const h=(0,a.Fl)((()=>window.config&&window.config.logo&&"{{ .UI.Logo }}"!==window.config.logo?window.config.logo:"")),b=(0,a.Fl)((()=>window.config&&window.config.header&&"{{ .UI.Header }}"!==window.config.header?window.config.header:"Gatus")),y=(0,a.Fl)((()=>window.config&&window.config.link&&"{{ .UI.Link }}"!==window.config.link?window.config.link:null)),_=(0,a.Fl)((()=>window.config&&window.config.buttons?window.config.buttons:[])),S=async()=>{try{const e=await fetch(`${zr}/api/v1/config`,{credentials:"include"});if(200===e.status){const t=await e.json();l.value=t,g.value=t.announcements||[]}s.value=!0}catch(e){console.error("Failed to fetch config:",e),s.value=!0}},U=(e,t,s="hover")=>{"click"===s?e?(p.value={result:e,event:t},f.value=!0):(p.value={},f.value=!1):"hover"===s&&(f.value||(p.value={result:e,event:t}))},z=e=>{if(f.value){const t=document.getElementById("tooltip"),s=e.target.closest(".flex-1.h-6, .flex-1.h-8");!t||t.contains(e.target)||s||(p.value={},f.value=!1,window.dispatchEvent(new CustomEvent("clear-data-point-selection")))}};return(0,a.bv)((()=>{S(),w=setInterval(S,6e5),document.addEventListener("click",z)})),(0,a.Ah)((()=>{w&&(clearInterval(w),w=null),document.removeEventListener("click",z)})),(e,u)=>{const w=(0,a.up)("router-view");return(0,a.wg)(),(0,a.iD)("div",ce,[s.value?l.value&&l.value.oidc&&!l.value.authenticated?((0,a.wg)(),(0,a.iD)("div",Re,[(0,a.Wm)((0,r.SU)(k),{class:"w-full max-w-md"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"text-center"},{default:(0,a.w5)((()=>[u[5]||(u[5]=(0,a._)("img",{src:o,alt:"Gatus",class:"w-20 h-20 mx-auto mb-4"},null,-1)),(0,a.Wm)((0,r.SU)(C),{class:"text-3xl"},{default:(0,a.w5)((()=>u[4]||(u[4]=[(0,a.Uk)("Gatus",-1)]))),_:1,__:[4]}),u[6]||(u[6]=(0,a._)("p",{class:"text-muted-foreground mt-2"},"System Monitoring Dashboard",-1))])),_:1,__:[5,6]}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,r.SU)(t)&&(0,r.SU)(t).query.error?((0,a.wg)(),(0,a.iD)("div",Fe,[(0,a._)("div",Ee,[(0,a._)("p",Te,["access_denied"===(0,r.SU)(t).query.error?((0,a.wg)(),(0,a.iD)("span",$e," You do not have access to this status page ")):((0,a.wg)(),(0,a.iD)("span",qe,(0,n.zw)((0,r.SU)(t).query.error),1))])])])):(0,a.kq)("",!0),(0,a._)("a",{href:`${(0,r.SU)(zr)}/oidc/login`,class:"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-11 px-8 w-full",onClick:u[2]||(u[2]=e=>v.value=!0)},[v.value?((0,a.wg)(),(0,a.j4)(de,{key:0,size:"xs"})):((0,a.wg)(),(0,a.iD)(a.HY,{key:1},[(0,a.Wm)((0,r.SU)(c.Z),{class:"mr-2 h-4 w-4"}),u[7]||(u[7]=(0,a.Uk)(" Login with OIDC ",-1))],64))],8,Le)])),_:1})])),_:1})])):((0,a.wg)(),(0,a.iD)("div",pe,[(0,a._)("header",me,[(0,a._)("div",ve,[(0,a._)("div",fe,[(0,a._)("div",we,[((0,a.wg)(),(0,a.j4)((0,a.LL)(y.value?"a":"div"),{href:y.value,target:"_blank",class:"flex items-center gap-3 hover:opacity-80 transition-opacity"},{default:(0,a.w5)((()=>[(0,a._)("div",he,[h.value?((0,a.wg)(),(0,a.iD)("img",{key:0,src:h.value,alt:"Gatus",class:"w-full h-full object-contain"},null,8,xe)):((0,a.wg)(),(0,a.iD)("img",be))]),(0,a._)("div",null,[(0,a._)("h1",ye,(0,n.zw)(b.value),1),_.value&&_.value.length?((0,a.wg)(),(0,a.iD)("p",ke," System Monitoring Dashboard ")):(0,a.kq)("",!0)])])),_:1},8,["href"]))]),(0,a._)("div",_e,[_.value&&_.value.length?((0,a.wg)(),(0,a.iD)("nav",Se,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,(e=>((0,a.wg)(),(0,a.iD)("a",{key:e.name,href:e.link,target:"_blank",class:"px-3 py-2 text-sm font-medium rounded-md hover:bg-accent hover:text-accent-foreground transition-colors"},(0,n.zw)(e.name),9,De)))),128))])):(0,a.kq)("",!0),_.value&&_.value.length?((0,a.wg)(),(0,a.j4)((0,r.SU)(x),{key:1,variant:"ghost",size:"icon",class:"md:hidden",onClick:u[0]||(u[0]=e=>m.value=!m.value)},{default:(0,a.w5)((()=>[m.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(d.Z),{key:1,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(i.Z),{key:0,class:"h-5 w-5"}))])),_:1})):(0,a.kq)("",!0)])]),_.value&&_.value.length&&m.value?((0,a.wg)(),(0,a.iD)("nav",Ue,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,(e=>((0,a.wg)(),(0,a.iD)("a",{key:e.name,href:e.link,target:"_blank",class:"block px-3 py-2 text-sm font-medium rounded-md hover:bg-accent hover:text-accent-foreground transition-colors",onClick:u[1]||(u[1]=e=>m.value=!1)},(0,n.zw)(e.name),9,ze)))),128))])):(0,a.kq)("",!0)])]),(0,a._)("main",Ce,[(0,a.Wm)(w,{onShowTooltip:U,announcements:g.value},null,8,["announcements"])]),(0,a._)("footer",We,[(0,a._)("div",He,[(0,a._)("div",je,[u[3]||(u[3]=(0,a._)("div",{class:"text-sm text-muted-foreground text-center"},[(0,a.Uk)(" Powered by "),(0,a._)("a",{href:"https://gatus.io",target:"_blank",class:"font-medium text-emerald-800 hover:text-emerald-600"},"Gatus")],-1)),(0,a.Wm)(q)])])])])):((0,a.wg)(),(0,a.iD)("div",ge,[(0,a.Wm)(de,{size:"lg"})])),(0,a.Wm)(re,{result:p.value.result,event:p.value.event,isPersistent:f.value},null,8,["result","event","isPersistent"])])}}};const Me=Ze;var Ae=Me,Ne=s(793),Ye=s(138),Ie=s(254),Oe=s(146),Pe=s(485),Ke=s(893),Ve=s(89),Be=s(372),Ge=s(981),Je={__name:"Badge",props:{variant:{type:String,default:"default"}},setup(e){const t=(0,g.j)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",success:"border-transparent bg-green-500 text-white",warning:"border-transparent bg-yellow-500 text-white"}},defaultVariants:{variant:"default"}});return(s,l)=>((0,a.wg)(),(0,a.iD)("div",{class:(0,n.C_)((0,r.SU)(v)((0,r.SU)(t)({variant:e.variant}),s.$attrs.class??""))},[(0,a.WI)(s.$slots,"default")],2))}};const Xe=Je;var Qe=Xe,et={__name:"StatusBadge",props:{status:{type:String,required:!0,validator:e=>["healthy","unhealthy","degraded","unknown"].includes(e)}},setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"success";case"unhealthy":return"destructive";case"degraded":return"warning";default:return"secondary"}})),l=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"Healthy";case"unhealthy":return"Unhealthy";case"degraded":return"Degraded";default:return"Unknown"}})),o=(0,a.Fl)((()=>{switch(t.status){case"healthy":return"bg-green-400";case"unhealthy":return"bg-red-400";case"degraded":return"bg-yellow-400";default:return"bg-gray-400"}}));return(e,t)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(Qe),{variant:s.value,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:(0,n.C_)(["w-2 h-2 rounded-full",o.value])},null,2),(0,a.Uk)(" "+(0,n.zw)(l.value),1)])),_:1},8,["variant"]))}};const tt=et;var st=tt;const lt={class:"flex items-start justify-between gap-2 sm:gap-3"},at={class:"flex-1 min-w-0 overflow-hidden"},nt=["title","aria-label"],rt={class:"flex items-center gap-2 text-xs sm:text-sm text-muted-foreground min-h-[1.25rem]"},ot=["title"],ut={key:1},it=["title"],dt={class:"flex-shrink-0 ml-2"},ct={class:"space-y-2"},gt={class:"flex items-center justify-between mb-1"},pt=["title"],mt={class:"flex gap-0.5"},vt=["onMouseenter","onMouseleave","onClick"],ft={class:"flex items-center justify-between text-xs text-muted-foreground mt-1"};var wt={__name:"EndpointCard",props:{endpoint:{type:Object,required:!0},maxResults:{type:Number,default:50},showAverageResponseTime:{type:Boolean,default:!0}},emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=e,i=t,d=(0,r.iH)(null),c=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?o.endpoint.results[o.endpoint.results.length-1]:null)),g=(0,a.Fl)((()=>c.value?c.value.success?"healthy":"unhealthy":"unknown")),p=(0,a.Fl)((()=>c.value?.hostname||null)),m=(0,a.Fl)((()=>{const e=[...o.endpoint.results||[]];while(e.length{if(!o.endpoint.results||0===o.endpoint.results.length)return"N/A";let e=0,t=0,s=1/0,l=0;for(const a of o.endpoint.results)if(a.duration){const n=a.duration/1e6;e+=n,t++,s=Math.min(s,n),l=Math.max(l,n)}if(0===t)return"N/A";if(o.showAverageResponseTime){const s=Math.round(e/t);return`~${s}ms`}{const e=Math.round(s),t=Math.round(l);return e===t?`${e}ms`:`${e}-${t}ms`}})),f=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?L(o.endpoint.results[0].timestamp):"")),w=(0,a.Fl)((()=>o.endpoint.results&&0!==o.endpoint.results.length?L(o.endpoint.results[o.endpoint.results.length-1].timestamp):"")),h=()=>{s.push(`/endpoints/${o.endpoint.key}`)},x=(e,t)=>{i("showTooltip",e,t,"hover")},b=(e,t)=>{i("showTooltip",null,t,"hover")},y=(e,t,s)=>{window.dispatchEvent(new CustomEvent("clear-data-point-selection")),d.value===s?(d.value=null,i("showTooltip",null,t,"click")):(d.value=s,i("showTooltip",e,t,"click"))},_=()=>{d.value=null};return(0,a.bv)((()=>{window.addEventListener("clear-data-point-selection",_)})),(0,a.Ah)((()=>{window.removeEventListener("clear-data-point-selection",_)})),(t,s)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{class:"endpoint h-full flex flex-col transition hover:shadow-lg hover:scale-[1.01] dark:hover:border-gray-700"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"endpoint-header px-3 sm:px-6 pt-3 sm:pt-6 pb-2 space-y-0"},{default:(0,a.w5)((()=>[(0,a._)("div",lt,[(0,a._)("div",at,[(0,a.Wm)((0,r.SU)(C),{class:"text-base sm:text-lg truncate"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:"hover:text-primary cursor-pointer hover:underline text-sm sm:text-base block truncate",onClick:h,onKeydown:(0,l.D2)(h,["enter"]),title:e.endpoint.name,role:"link",tabindex:"0","aria-label":`View details for ${e.endpoint.name}`},(0,n.zw)(e.endpoint.name),41,nt)])),_:1}),(0,a._)("div",rt,[e.endpoint.group?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"truncate",title:e.endpoint.group},(0,n.zw)(e.endpoint.group),9,ot)):(0,a.kq)("",!0),e.endpoint.group&&p.value?((0,a.wg)(),(0,a.iD)("span",ut,"•")):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",{key:2,class:"truncate",title:p.value},(0,n.zw)(p.value),9,it)):(0,a.kq)("",!0)])]),(0,a._)("div",dt,[(0,a.Wm)(st,{status:g.value},null,8,["status"])])])])),_:1}),(0,a.Wm)((0,r.SU)(j),{class:"endpoint-content flex-1 pb-3 sm:pb-4 px-3 sm:px-6 pt-2"},{default:(0,a.w5)((()=>[(0,a._)("div",ct,[(0,a._)("div",null,[(0,a._)("div",gt,[s[0]||(s[0]=(0,a._)("div",{class:"flex-1"},null,-1)),(0,a._)("p",{class:"text-xs text-muted-foreground",title:e.showAverageResponseTime?"Average response time":"Minimum and maximum response time"},(0,n.zw)(v.value),9,pt)]),(0,a._)("div",mt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(m.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex-1 h-6 sm:h-8 rounded-sm transition-all",e?"cursor-pointer":"",e?e.success?d.value===t?"bg-green-700":"bg-green-500 hover:bg-green-700":d.value===t?"bg-red-700":"bg-red-500 hover:bg-red-700":"bg-gray-200 dark:bg-gray-700"]),onMouseenter:t=>e&&x(e,t),onMouseleave:t=>e&&b(e,t),onClick:(0,l.iM)((s=>e&&y(e,s,t)),["stop"])},null,42,vt)))),128))]),(0,a._)("div",ft,[(0,a._)("span",null,(0,n.zw)(f.value),1),(0,a._)("span",null,(0,n.zw)(w.value),1)])])])])),_:1})])),_:1}))}};const ht=wt;var xt=ht;const bt={class:"flex items-start justify-between gap-2 sm:gap-3"},yt={class:"flex-1 min-w-0 overflow-hidden"},kt=["title","aria-label"],_t={class:"flex items-center gap-2 text-xs sm:text-sm text-muted-foreground"},St=["title"],Dt={key:1},Ut={key:2},zt={class:"flex-shrink-0 ml-2"},Ct={class:"space-y-2"},Wt={class:"flex items-center justify-between mb-1"},Ht={class:"text-xs text-muted-foreground"},jt={key:0,class:"text-xs text-muted-foreground"},Rt={class:"flex gap-0.5"},Ft=["onMouseenter","onMouseleave","onClick"],Et={class:"flex items-center justify-between text-xs text-muted-foreground mt-1"};var Tt={__name:"SuiteCard",props:{suite:{type:Object,required:!0},maxResults:{type:Number,default:50}},emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=e,i=t,d=(0,r.iH)(null),c=(0,a.Fl)((()=>{const e=[...o.suite.results||[]];while(e.lengtho.suite.results&&0!==o.suite.results.length?o.suite.results[o.suite.results.length-1].success?"healthy":"unhealthy":"unknown")),p=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return 0;const e=o.suite.results[o.suite.results.length-1];return e.endpointResults?e.endpointResults.length:0})),m=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return 0;const e=o.suite.results.filter((e=>e.success)).length;return Math.round(e/o.suite.results.length*100)})),v=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return null;const e=o.suite.results.reduce(((e,t)=>e+(t.duration||0)),0);return Math.round(e/o.suite.results.length/1e6)})),f=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return"N/A";const e=o.suite.results[0];return L(e.timestamp)})),w=(0,a.Fl)((()=>{if(!o.suite.results||0===o.suite.results.length)return"Now";const e=o.suite.results[o.suite.results.length-1];return L(e.timestamp)})),h=()=>{s.push(`/suites/${o.suite.key}`)},x=(e,t)=>{i("showTooltip",e,t,"hover")},b=(e,t)=>{i("showTooltip",null,t,"hover")},y=(e,t,s)=>{window.dispatchEvent(new CustomEvent("clear-data-point-selection")),d.value===s?(d.value=null,i("showTooltip",null,t,"click")):(d.value=s,i("showTooltip",e,t,"click"))},_=()=>{d.value=null};return(0,a.bv)((()=>{window.addEventListener("clear-data-point-selection",_)})),(0,a.Ah)((()=>{window.removeEventListener("clear-data-point-selection",_)})),(t,s)=>((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{class:"suite h-full flex flex-col transition hover:shadow-lg hover:scale-[1.01] dark:hover:border-gray-700"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"suite-header px-3 sm:px-6 pt-3 sm:pt-6 pb-2 space-y-0"},{default:(0,a.w5)((()=>[(0,a._)("div",bt,[(0,a._)("div",yt,[(0,a.Wm)((0,r.SU)(C),{class:"text-base sm:text-lg truncate"},{default:(0,a.w5)((()=>[(0,a._)("span",{class:"hover:text-primary cursor-pointer hover:underline text-sm sm:text-base block truncate",onClick:h,onKeydown:(0,l.D2)(h,["enter"]),title:e.suite.name,role:"link",tabindex:"0","aria-label":`View details for suite ${e.suite.name}`},(0,n.zw)(e.suite.name),41,kt)])),_:1}),(0,a._)("div",_t,[e.suite.group?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"truncate",title:e.suite.group},(0,n.zw)(e.suite.group),9,St)):(0,a.kq)("",!0),e.suite.group&&p.value?((0,a.wg)(),(0,a.iD)("span",Dt,"•")):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",Ut,(0,n.zw)(p.value)+" endpoint"+(0,n.zw)(1!==p.value?"s":""),1)):(0,a.kq)("",!0)])]),(0,a._)("div",zt,[(0,a.Wm)(st,{status:g.value},null,8,["status"])])])])),_:1}),(0,a.Wm)((0,r.SU)(j),{class:"suite-content flex-1 pb-3 sm:pb-4 px-3 sm:px-6 pt-2"},{default:(0,a.w5)((()=>[(0,a._)("div",Ct,[(0,a._)("div",null,[(0,a._)("div",Wt,[(0,a._)("p",Ht,"Success Rate: "+(0,n.zw)(m.value)+"%",1),v.value?((0,a.wg)(),(0,a.iD)("p",jt,(0,n.zw)(v.value)+"ms avg",1)):(0,a.kq)("",!0)]),(0,a._)("div",Rt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(c.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex-1 h-6 sm:h-8 rounded-sm transition-all",e?"cursor-pointer":"",e?e.success?d.value===t?"bg-green-700":"bg-green-500 hover:bg-green-700":d.value===t?"bg-red-700":"bg-red-500 hover:bg-red-700":"bg-gray-200 dark:bg-gray-700"]),onMouseenter:t=>e&&x(e,t),onMouseleave:t=>e&&b(e,t),onClick:(0,l.iM)((s=>e&&y(e,s,t)),["stop"])},null,42,Ft)))),128))]),(0,a._)("div",Et,[(0,a._)("span",null,(0,n.zw)(f.value),1),(0,a._)("span",null,(0,n.zw)(w.value),1)])])])])),_:1})])),_:1}))}};const $t=(0,E.Z)(Tt,[["__scopeId","data-v-230a1fd1"]]);var qt=$t,Lt=s(275);const Zt=["value"];var Mt={__name:"Input",props:{modelValue:{type:[String,Number],default:""}},emits:["update:modelValue"],setup(e){return(t,s)=>((0,a.wg)(),(0,a.iD)("input",{class:(0,n.C_)((0,r.SU)(v)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t.$attrs.class??"")),value:e.modelValue,onInput:s[0]||(s[0]=e=>t.$emit("update:modelValue",e.target.value))},null,42,Zt))}};const At=Mt;var Nt=At,Yt=s(368);const It=["aria-expanded","aria-label"],Ot={class:"truncate"},Pt={key:0,role:"listbox",class:"absolute top-full left-0 z-50 mt-1 w-full rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95"},Kt={class:"p-1"},Vt=["onClick","aria-selected"],Bt={class:"absolute left-1.5 sm:left-2 flex h-3.5 w-3.5 items-center justify-center"};var Gt={__name:"Select",props:{modelValue:{type:String,default:""},options:{type:Array,required:!0},placeholder:{type:String,default:"Select..."},class:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)(!1),u=(0,r.iH)(null),i=(0,r.iH)(-1),d=(0,a.Fl)((()=>s.options.find((e=>e.value===s.modelValue))||{label:s.placeholder,value:""})),c=e=>{l("update:modelValue",e.value),o.value=!1},g=()=>{if(o.value=!o.value,o.value){const e=s.options.findIndex((e=>e.value===s.modelValue));i.value=e>=0?e:0}else i.value=-1},p=e=>{u.value&&!u.value.contains(e.target)&&(o.value=!1,i.value=-1)},m=e=>{if(o.value)switch(e.key){case"ArrowDown":e.preventDefault(),i.value=Math.min(i.value+1,s.options.length-1);break;case"ArrowUp":e.preventDefault(),i.value=Math.max(i.value-1,0);break;case"Enter":case" ":e.preventDefault(),i.value>=0&&i.value{document.addEventListener("click",p)})),(0,a.Ah)((()=>{document.removeEventListener("click",p)})),(t,l)=>((0,a.wg)(),(0,a.iD)("div",{ref_key:"selectRef",ref:u,class:(0,n.C_)(["relative",s.class])},[(0,a._)("button",{onClick:g,onKeydown:m,"aria-expanded":o.value,"aria-haspopup":!0,"aria-label":d.value.label||s.placeholder,class:"flex h-9 sm:h-10 w-full items-center justify-between rounded-md border border-input bg-background px-2 sm:px-3 py-1.5 sm:py-2 text-xs sm:text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50"},[(0,a._)("span",Ot,(0,n.zw)(d.value.label),1),(0,a.Wm)((0,r.SU)(Pe.Z),{class:"h-3 w-3 sm:h-4 sm:w-4 opacity-50 flex-shrink-0 ml-1"})],40,It),o.value?((0,a.wg)(),(0,a.iD)("div",Pt,[(0,a._)("div",Kt,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.options,((t,s)=>((0,a.wg)(),(0,a.iD)("div",{key:t.value,onClick:e=>c(t),class:(0,n.C_)(["relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-6 sm:pl-8 pr-2 text-xs sm:text-sm outline-none hover:bg-accent hover:text-accent-foreground",s===i.value&&"bg-accent text-accent-foreground"]),role:"option","aria-selected":e.modelValue===t.value},[(0,a._)("span",Bt,[e.modelValue===t.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Yt.Z),{key:0,class:"h-3 w-3 sm:h-4 sm:w-4"})):(0,a.kq)("",!0)]),(0,a.Uk)(" "+(0,n.zw)(t.label),1)],10,Vt)))),128))])])):(0,a.kq)("",!0)],2))}};const Jt=Gt;var Xt=Jt;const Qt={class:"flex flex-col lg:flex-row gap-3 lg:gap-4 p-3 sm:p-4 bg-card rounded-lg border"},es={class:"flex-1"},ts={class:"relative"},ss={class:"flex flex-col sm:flex-row gap-3 sm:gap-4"},ls={class:"flex items-center gap-2 flex-1 sm:flex-initial"},as={class:"flex items-center gap-2 flex-1 sm:flex-initial"};var ns={__name:"SearchBar",emits:["search","update:showOnlyFailing","update:showRecentFailures","update:groupByGroup","update:sortBy","initializeCollapsedGroups"],setup(e,{emit:t}){const s=(0,r.iH)(""),l=(0,r.iH)(localStorage.getItem("gatus:filter-by")||"undefined"!==typeof window&&window.config?.defaultFilterBy||"none"),n=(0,r.iH)(localStorage.getItem("gatus:sort-by")||"undefined"!==typeof window&&window.config?.defaultSortBy||"name"),o=[{label:"None",value:"none"},{label:"Failing",value:"failing"},{label:"Unstable",value:"unstable"}],u=[{label:"Name",value:"name"},{label:"Group",value:"group"},{label:"Health",value:"health"}],i=t,d=e=>{l.value=e,localStorage.setItem("gatus:filter-by",e),i("update:showOnlyFailing",!1),i("update:showRecentFailures",!1),"failing"===e?i("update:showOnlyFailing",!0):"unstable"===e&&i("update:showRecentFailures",!0)},c=e=>{n.value=e,localStorage.setItem("gatus:sort-by",e),i("update:sortBy",e),i("update:groupByGroup","group"===e),"group"===e&&i("initializeCollapsedGroups")};return(0,a.bv)((()=>{d(l.value),c(n.value)})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Qt,[(0,a._)("div",es,[(0,a._)("div",ts,[(0,a.Wm)((0,r.SU)(Lt.Z),{class:"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground"}),t[4]||(t[4]=(0,a._)("label",{for:"search-input",class:"sr-only"},"Search endpoints",-1)),(0,a.Wm)((0,r.SU)(Nt),{id:"search-input",modelValue:s.value,"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),type:"text",placeholder:"Search endpoints...",class:"pl-10 text-sm sm:text-base",onInput:t[1]||(t[1]=t=>e.$emit("search",s.value))},null,8,["modelValue"])])]),(0,a._)("div",ss,[(0,a._)("div",ls,[t[5]||(t[5]=(0,a._)("label",{class:"text-xs sm:text-sm font-medium text-muted-foreground whitespace-nowrap"},"Filter by:",-1)),(0,a.Wm)((0,r.SU)(Xt),{modelValue:l.value,"onUpdate:modelValue":[t[2]||(t[2]=e=>l.value=e),d],options:o,placeholder:"None",class:"flex-1 sm:w-[140px] md:w-[160px]"},null,8,["modelValue"])]),(0,a._)("div",as,[t[6]||(t[6]=(0,a._)("label",{class:"text-xs sm:text-sm font-medium text-muted-foreground whitespace-nowrap"},"Sort by:",-1)),(0,a.Wm)((0,r.SU)(Xt),{modelValue:n.value,"onUpdate:modelValue":[t[3]||(t[3]=e=>n.value=e),c],options:u,placeholder:"Name",class:"flex-1 sm:w-[90px] md:w-[100px]"},null,8,["modelValue"])])])]))}};const rs=ns;var os=rs,us=s(789),is=s(679);const ds={id:"settings",class:"fixed bottom-4 left-4 z-50"},cs={class:"flex items-center gap-1 bg-background/95 backdrop-blur-sm border rounded-full shadow-md p-1"},gs=["aria-label","aria-expanded"],ps={class:"text-xs font-medium"},ms=["onClick"],vs=["aria-label"],fs={class:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-2 py-1 bg-popover text-popover-foreground text-xs rounded-md shadow-md opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap"},ws="300",hs="theme",xs=31536e3;var bs={__name:"Settings",emits:["refreshData"],setup(e,{emit:t}){const s=t,o=[{value:"10",label:"10s"},{value:"30",label:"30s"},{value:"60",label:"1m"},{value:"120",label:"2m"},{value:"300",label:"5m"},{value:"600",label:"10m"}],u={REFRESH_INTERVAL:"gatus:refresh-interval"};function i(){const e=document.cookie.match(new RegExp(`${hs}=(dark|light);?`))?.[1];return"dark"===e||!e&&(window.matchMedia("(prefers-color-scheme: dark)").matches||document.documentElement.classList.contains("dark"))}function d(){const e=localStorage.getItem(u.REFRESH_INTERVAL),t=e&&parseInt(e),s=t&&t>=10&&o.some((t=>t.value===e));return s?e:ws}const c=(0,r.iH)(d()),g=(0,r.iH)(i()),p=(0,r.iH)(!1);let m=null;const v=e=>{const t=o.find((t=>t.value===e));return t?t.label:`${e}s`},f=e=>{localStorage.setItem(u.REFRESH_INTERVAL,e),m&&clearInterval(m),m=setInterval((()=>{w()}),1e3*e)},w=()=>{s("refreshData")},h=e=>{c.value=e,p.value=!1,w(),f(e)},x=e=>{const t=document.getElementById("settings");t&&!t.contains(e.target)&&(p.value=!1)},b=e=>{document.cookie=`${hs}=${e}; path=/; max-age=${xs}; samesite=strict`},y=()=>{const e=i()?"light":"dark";b(e),k()},k=()=>{const e=i();g.value=e,document.documentElement.classList.toggle("dark",e)};return(0,a.bv)((()=>{f(c.value),k(),document.addEventListener("click",x)})),(0,a.Ah)((()=>{m&&clearInterval(m),document.removeEventListener("click",x)})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",ds,[(0,a._)("div",cs,[(0,a._)("button",{onClick:t[1]||(t[1]=e=>p.value=!p.value),"aria-label":`Refresh interval: ${v(c.value)}`,"aria-expanded":p.value,class:"flex items-center gap-1.5 px-3 py-1.5 rounded-full hover:bg-accent transition-colors relative"},[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"w-3.5 h-3.5 text-muted-foreground"}),(0,a._)("span",ps,(0,n.zw)(v(c.value)),1),p.value?((0,a.wg)(),(0,a.iD)("div",{key:0,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"])),class:"absolute bottom-full left-0 mb-2 bg-popover border rounded-lg shadow-lg overflow-hidden"},[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(o,(e=>(0,a._)("button",{key:e.value,onClick:t=>h(e.value),class:(0,n.C_)(["block w-full px-4 py-2 text-xs text-left hover:bg-accent transition-colors",c.value===e.value&&"bg-accent"])},(0,n.zw)(e.label),11,ms))),64))])):(0,a.kq)("",!0)],8,gs),t[2]||(t[2]=(0,a._)("div",{class:"h-5 w-px bg-border/50"},null,-1)),(0,a._)("button",{onClick:y,"aria-label":g.value?"Switch to light mode":"Switch to dark mode",class:"p-1.5 rounded-full hover:bg-accent transition-colors group relative"},[g.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(us.Z),{key:0,class:"h-3.5 w-3.5 transition-all"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(is.Z),{key:1,class:"h-3.5 w-3.5 transition-all"})),(0,a._)("div",fs,(0,n.zw)(g.value?"Light mode":"Dark mode"),1)],8,vs)])]))}};const ys=(0,E.Z)(bs,[["__scopeId","data-v-482756f8"]]);var ks=ys,_s=s(691),Ss=s(446),Ds=s(5),Us=s(337);const zs={key:0,class:"announcement-container mb-6"},Cs={class:"flex items-center justify-between"},Ws={class:"flex items-center gap-2"},Hs={class:"text-xs text-gray-500 dark:text-gray-400"},js={key:0,class:"announcement-content p-4 transition-all duration-200 rounded-b-lg"},Rs={class:"relative"},Fs={class:"space-y-3"},Es={class:"flex items-center gap-3 mb-2 relative"},Ts={class:"relative z-10 bg-white dark:bg-gray-800 px-2 py-1 rounded-md border border-gray-200 dark:border-gray-600"},$s={class:"text-xs font-medium text-gray-600 dark:text-gray-300"},qs={class:"space-y-2 ml-7 relative"},Ls={key:0,class:"absolute w-0.5 bg-gray-300 dark:bg-gray-600 pointer-events-none",style:{left:"-16px",top:"-2.5rem",height:"calc(50% + 2.5rem)"}},Zs={class:"flex items-center justify-between gap-3"},Ms={class:"flex-1 min-w-0"},As={class:"text-sm leading-relaxed text-gray-900 dark:text-gray-100"},Ns=["title"];var Ys={__name:"AnnouncementBanner",props:{announcements:{type:Array,default:()=>[]}},setup(e){const t=e,s=(0,r.iH)(!1),l=()=>{s.value=!s.value},o={outage:{icon:_s.Z,background:"bg-red-50 border-gray-200 dark:bg-red-900/50 dark:border-gray-600",border:"border-red-500",iconColor:"text-red-600 dark:text-red-400",text:"text-red-700 dark:text-red-300"},warning:{icon:Ss.Z,background:"bg-yellow-50 border-gray-200 dark:bg-yellow-900/50 dark:border-gray-600",border:"border-yellow-500",iconColor:"text-yellow-600 dark:text-yellow-400",text:"text-yellow-700 dark:text-yellow-300"},information:{icon:Ds.Z,background:"bg-blue-50 border-gray-200 dark:bg-blue-900/50 dark:border-gray-600",border:"border-blue-500",iconColor:"text-blue-600 dark:text-blue-400",text:"text-blue-700 dark:text-blue-300"},operational:{icon:Ve.Z,background:"bg-green-50 border-gray-200 dark:bg-green-900/50 dark:border-gray-600",border:"border-green-500",iconColor:"text-green-600 dark:text-green-400",text:"text-green-700 dark:text-green-300"},none:{icon:Us.Z,background:"bg-gray-50 border-gray-200 dark:bg-gray-800/50 dark:border-gray-600",border:"border-gray-500",iconColor:"text-gray-600 dark:text-gray-400",text:"text-gray-700 dark:text-gray-300"}},u=(0,a.Fl)((()=>t.announcements&&t.announcements.length>0?t.announcements[0]:null)),i=(0,a.Fl)((()=>{const e=u.value?.type||"none";return o[e]?.icon||Us.Z})),d=(0,a.Fl)((()=>{const e=u.value?.type||"none";return o[e]?.iconColor||"text-gray-600 dark:text-gray-400"})),c=(0,a.Fl)((()=>{const e=u.value?.type||"none",t=o[e];return`border-l-4 ${t.border.replace("border-","border-l-")}`})),g=(0,a.Fl)((()=>{if(!t.announcements||0===t.announcements.length)return{};const e={};return t.announcements.forEach((t=>{const s=new Date(t.timestamp).toDateString();e[s]||(e[s]=[]),e[s].push(t)})),e})),p=e=>o[e]?.icon||Us.Z,m=e=>o[e]||o.none,v=e=>{const t=new Date(e),s=new Date,l=new Date(s);return l.setDate(l.getDate()-1),t.toDateString()===s.toDateString()?"Today":t.toDateString()===l.toDateString()?"Yesterday":t.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"})},f=e=>new Date(e).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}),w=e=>new Date(e).toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"});return(t,o)=>e.announcements&&e.announcements.length?((0,a.wg)(),(0,a.iD)("div",zs,[(0,a._)("div",{class:(0,n.C_)(["rounded-lg border bg-card text-card-foreground shadow-sm transition-all duration-200",c.value])},[(0,a._)("div",{class:(0,n.C_)(["announcement-header px-4 py-3 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors",s.value?"rounded-lg":"rounded-t-lg border-b border-gray-200 dark:border-gray-600"]),onClick:l},[(0,a._)("div",Cs,[(0,a._)("div",Ws,[((0,a.wg)(),(0,a.j4)((0,a.LL)(i.value),{class:(0,n.C_)(["w-5 h-5",d.value])},null,8,["class"])),o[0]||(o[0]=(0,a._)("h2",{class:"text-base font-semibold text-gray-900 dark:text-gray-100"},"Announcements",-1)),(0,a._)("span",Hs," ("+(0,n.zw)(e.announcements.length)+") ",1)]),(0,a.Wm)((0,r.SU)(Pe.Z),{class:(0,n.C_)(["w-4 h-4 text-gray-500 dark:text-gray-400 transition-transform duration-200",s.value?"-rotate-90":"rotate-0"])},null,8,["class"])])],2),s.value?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",js,[(0,a._)("div",Rs,[(0,a._)("div",Fs,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"relative"},[(0,a._)("div",Es,[(0,a._)("div",Ts,[(0,a._)("time",$s,(0,n.zw)(v(t)),1)]),o[1]||(o[1]=(0,a._)("div",{class:"flex-1 border-t border-gray-200 dark:border-gray-600"},null,-1))]),(0,a._)("div",qs,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e,((s,l)=>((0,a.wg)(),(0,a.iD)("div",{key:`${t}-${l}-${s.timestamp}`,class:"relative"},[(0,a._)("div",{class:(0,n.C_)(["absolute -left-[26px] w-5 h-5 rounded-full border bg-white dark:bg-gray-800 flex items-center justify-center z-10",l===e.length-1?"top-3":"top-1/2 -translate-y-1/2",m(s.type).border])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(p(s.type)),{class:(0,n.C_)(["w-3 h-3",m(s.type).iconColor])},null,8,["class"]))],2),0===l?((0,a.wg)(),(0,a.iD)("div",Ls)):(0,a.kq)("",!0),l[]}},emits:["showTooltip"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)([]),u=(0,r.iH)([]),i=(0,r.iH)(!1),d=(0,r.iH)(1),c=(0,r.iH)(""),g=(0,r.iH)(!1),p=(0,r.iH)(!1),m=(0,r.iH)(!0),v=(0,r.iH)(!1),f=(0,r.iH)(localStorage.getItem("gatus:sort-by")||"name"),w=(0,r.iH)(new Set),h=(0,a.Fl)((()=>{let e=[...o.value];if(c.value){const t=c.value.toLowerCase();e=e.filter((e=>e.name.toLowerCase().includes(t)||e.group&&e.group.toLowerCase().includes(t)))}return g.value&&(e=e.filter((e=>{if(!e.results||0===e.results.length)return!1;const t=e.results[e.results.length-1];return!t.success}))),p.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&e.results.some((e=>!e.success))))),"health"===f.value&&e.sort(((e,t)=>{const s=e.results&&e.results.length>0&&e.results[e.results.length-1].success,l=t.results&&t.results.length>0&&t.results[t.results.length-1].success;return!s&&l?-1:s&&!l?1:e.name.localeCompare(t.name)})),e})),b=(0,a.Fl)((()=>{let e=[...u.value||[]];if(c.value){const t=c.value.toLowerCase();e=e.filter((e=>e.name.toLowerCase().includes(t)||e.group&&e.group.toLowerCase().includes(t)))}return g.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&!e.results[e.results.length-1].success))),p.value&&(e=e.filter((e=>!(!e.results||0===e.results.length)&&e.results.some((e=>!e.success))))),"health"===f.value&&e.sort(((e,t)=>{const s=e.results&&e.results.length>0&&e.results[e.results.length-1].success,l=t.results&&t.results.length>0&&t.results[t.results.length-1].success;return!s&&l?-1:s&&!l?1:e.name.localeCompare(t.name)})),e})),y=(0,a.Fl)((()=>Math.ceil((h.value.length+b.value.length)/yl))),k=(0,a.Fl)((()=>{if(!v.value)return null;const e={};h.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]=[]),e[s].push(t)}));const t=Object.keys(e).sort(((e,t)=>"No Group"===e?1:"No Group"===t?-1:e.localeCompare(t))),s={};return t.forEach((t=>{s[t]=e[t]})),s})),_=(0,a.Fl)((()=>{if(!v.value)return null;const e={};h.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]={endpoints:[],suites:[]}),e[s].endpoints.push(t)})),b.value.forEach((t=>{const s=t.group||"No Group";e[s]||(e[s]={endpoints:[],suites:[]}),e[s].suites.push(t)}));const t=Object.keys(e).sort(((e,t)=>"No Group"===e?1:"No Group"===t?-1:e.localeCompare(t))),s={};return t.forEach((t=>{s[t]=e[t]})),s})),S=(0,a.Fl)((()=>{if(v.value)return k.value;const e=(d.value-1)*yl,t=e+yl;return h.value.slice(e,t)})),D=(0,a.Fl)((()=>{if(v.value)return b.value;const e=(d.value-1)*yl,t=e+yl;return b.value.slice(e,t)})),U=(0,a.Fl)((()=>{const e=[],t=5;let s=Math.max(1,d.value-Math.floor(t/2)),l=Math.min(y.value,s+t-1);l-s{const e=0===o.value.length&&0===u.value.length;e&&(i.value=!0);try{const t=await fetch(`${zr}/api/v1/endpoints/statuses?page=1&pageSize=100`,{credentials:"include"});if(200===t.status){const e=await t.json();o.value=e}else console.error("[Home][fetchData] Error fetching endpoints:",await t.text());const s=await fetch(`${zr}/api/v1/suites/statuses?page=1&pageSize=100`,{credentials:"include"});if(200===s.status){const e=await s.json();u.value=e||[]}else console.error("[Home][fetchData] Error fetching suites:",await s.text()),u.value||(u.value=[])}catch(t){console.error("[Home][fetchData] Error:",t)}finally{e&&(i.value=!1)}},C=()=>{o.value=[],u.value=[],z()},W=e=>{c.value=e,d.value=1},H=e=>{d.value=e,window.scrollTo({top:0,behavior:"smooth"})},j=()=>{m.value=!m.value},R=(e,t,s="hover")=>{l("showTooltip",e,t,s)},F=e=>e.filter((e=>{if(!e.results||0===e.results.length)return!1;const t=e.results[e.results.length-1];return!t.success})).length,E=e=>e.filter((e=>!(!e.results||0===e.results.length)&&!e.results[e.results.length-1].success)).length,T=e=>{w.value.has(e)?w.value.delete(e):w.value.add(e);const t=Array.from(w.value);localStorage.setItem("gatus:uncollapsed-groups",JSON.stringify(t)),localStorage.removeItem("gatus:collapsed-groups")},$=()=>{try{const e=localStorage.getItem("gatus:uncollapsed-groups");e&&(w.value=new Set(JSON.parse(e)))}catch(e){console.warn("Failed to parse saved uncollapsed groups:",e),localStorage.removeItem("gatus:uncollapsed-groups")}};return(0,a.bv)((()=>{z()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Ps,[(0,a._)("div",Ks,[(0,a._)("div",Vs,[(0,a._)("div",Bs,[t[6]||(t[6]=(0,a._)("div",null,[(0,a._)("h1",{class:"text-4xl font-bold tracking-tight"},"Health Dashboard"),(0,a._)("p",{class:"text-muted-foreground mt-2"},"Monitor the health of your endpoints in real-time")],-1)),(0,a._)("div",Gs,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:j,title:m.value?"Show min-max response time":"Show average response time"},{default:(0,a.w5)((()=>[m.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ne.Z),{key:0,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ye.Z),{key:1,class:"h-5 w-5"}))])),_:1},8,["title"]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:C,title:"Refresh data"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"h-5 w-5"})])),_:1})])]),(0,a.Wm)(Os,{announcements:s.announcements},null,8,["announcements"]),(0,a.Wm)(os,{onSearch:W,"onUpdate:showOnlyFailing":t[0]||(t[0]=e=>g.value=e),"onUpdate:showRecentFailures":t[1]||(t[1]=e=>p.value=e),"onUpdate:groupByGroup":t[2]||(t[2]=e=>v.value=e),"onUpdate:sortBy":t[3]||(t[3]=e=>f.value=e),onInitializeCollapsedGroups:$})]),i.value?((0,a.wg)(),(0,a.iD)("div",Js,[(0,a.Wm)(de,{size:"lg"})])):0===h.value.length&&0===b.value.length?((0,a.wg)(),(0,a.iD)("div",Xs,[(0,a.Wm)((0,r.SU)(Oe.Z),{class:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t[7]||(t[7]=(0,a._)("h3",{class:"text-lg font-semibold mb-2"},"No endpoints or suites found",-1)),(0,a._)("p",Qs,(0,n.zw)(c.value||g.value||p.value?"Try adjusting your filters":"No endpoints or suites are configured"),1)])):((0,a.wg)(),(0,a.iD)("div",el,[v.value?((0,a.wg)(),(0,a.iD)("div",tl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.value,((e,s)=>((0,a.wg)(),(0,a.iD)("div",{key:s,class:"endpoint-group border rounded-lg overflow-hidden"},[(0,a._)("div",{onClick:e=>T(s),class:"endpoint-group-header flex items-center justify-between p-4 bg-card border-b cursor-pointer hover:bg-accent/50 transition-colors"},[(0,a._)("div",ll,[w.value.has(s)?((0,a.wg)(),(0,a.j4)((0,r.SU)(Pe.Z),{key:0,class:"h-5 w-5 text-muted-foreground"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ke.Z),{key:1,class:"h-5 w-5 text-muted-foreground"})),(0,a._)("h2",al,(0,n.zw)(s),1)]),(0,a._)("div",nl,[F(e.endpoints)+E(e.suites)>0?((0,a.wg)(),(0,a.iD)("span",rl,(0,n.zw)(F(e.endpoints)+E(e.suites)),1)):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ve.Z),{key:1,class:"h-6 w-6 text-green-600"}))])],8,sl),w.value.has(s)?((0,a.wg)(),(0,a.iD)("div",ol,[e.suites.length>0?((0,a.wg)(),(0,a.iD)("div",ul,[t[8]||(t[8]=(0,a._)("h3",{class:"text-sm font-semibold text-muted-foreground uppercase tracking-wider mb-3"},"Suites",-1)),(0,a._)("div",il,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.suites,(e=>((0,a.wg)(),(0,a.j4)(qt,{key:e.key,suite:e,maxResults:50,onShowTooltip:R},null,8,["suite"])))),128))])])):(0,a.kq)("",!0),e.endpoints.length>0?((0,a.wg)(),(0,a.iD)("div",dl,[e.suites.length>0?((0,a.wg)(),(0,a.iD)("h3",cl,"Endpoints")):(0,a.kq)("",!0),(0,a._)("div",gl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.endpoints,(e=>((0,a.wg)(),(0,a.j4)(xt,{key:e.key,endpoint:e,maxResults:50,showAverageResponseTime:m.value,onShowTooltip:R},null,8,["endpoint","showAverageResponseTime"])))),128))])])):(0,a.kq)("",!0)])):(0,a.kq)("",!0)])))),128))])):((0,a.wg)(),(0,a.iD)("div",pl,[b.value.length>0?((0,a.wg)(),(0,a.iD)("div",ml,[t[9]||(t[9]=(0,a._)("h2",{class:"text-lg font-semibold text-foreground mb-3"},"Suites",-1)),(0,a._)("div",vl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(D.value,(e=>((0,a.wg)(),(0,a.j4)(qt,{key:e.key,suite:e,maxResults:50,onShowTooltip:R},null,8,["suite"])))),128))])])):(0,a.kq)("",!0),h.value.length>0?((0,a.wg)(),(0,a.iD)("div",fl,[b.value.length>0?((0,a.wg)(),(0,a.iD)("h2",wl,"Endpoints")):(0,a.kq)("",!0),(0,a._)("div",hl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(S.value,(e=>((0,a.wg)(),(0,a.j4)(xt,{key:e.key,endpoint:e,maxResults:50,showAverageResponseTime:m.value,onShowTooltip:R},null,8,["endpoint","showAverageResponseTime"])))),128))])])):(0,a.kq)("",!0)])),!v.value&&y.value>1?((0,a.wg)(),(0,a.iD)("div",xl,[(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"icon",disabled:1===d.value,onClick:t[4]||(t[4]=e=>H(d.value-1))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Be.Z),{class:"h-4 w-4"})])),_:1},8,["disabled"]),(0,a._)("div",bl,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(U.value,(e=>((0,a.wg)(),(0,a.j4)((0,r.SU)(x),{key:e,variant:e===d.value?"default":"outline",size:"sm",onClick:t=>H(e)},{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)(e),1)])),_:2},1032,["variant","onClick"])))),128))]),(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"icon",disabled:d.value===y.value,onClick:t[5]||(t[5]=e=>H(d.value+1))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4"})])),_:1},8,["disabled"])])):(0,a.kq)("",!0)]))]),(0,a.Wm)(ks,{onRefreshData:z})]))}};const _l=kl;var Sl=_l,Dl=s(318),Ul=s(779),zl=s(141),Cl=s(478);const Wl={class:"flex items-center justify-between"},Hl={class:"text-sm text-muted-foreground"};var jl={__name:"Pagination",props:{numberOfResultsPerPage:Number,currentPageProp:{type:Number,default:1}},emits:["page"],setup(e,{emit:t}){const s=e,l=t,o=(0,r.iH)(s.currentPageProp),u=(0,a.Fl)((()=>{let e=100;if("undefined"!==typeof window&&window.config&&window.config.maximumNumberOfResults){const t=parseInt(window.config.maximumNumberOfResults);isNaN(t)||(e=t)}return Math.ceil(e/s.numberOfResultsPerPage)})),i=()=>{o.value--,l("page",o.value)},d=()=>{o.value++,l("page",o.value)};return(e,t)=>((0,a.wg)(),(0,a.iD)("div",Wl,[(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"sm",disabled:o.value>=u.value,onClick:d,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Be.Z),{class:"h-4 w-4"}),t[0]||(t[0]=(0,a.Uk)(" Previous ",-1))])),_:1,__:[0]},8,["disabled"]),(0,a._)("span",Hl," Page "+(0,n.zw)(o.value)+" of "+(0,n.zw)(u.value),1),(0,a.Wm)((0,r.SU)(x),{variant:"outline",size:"sm",disabled:o.value<=1,onClick:i,class:"flex items-center gap-1"},{default:(0,a.w5)((()=>[t[1]||(t[1]=(0,a.Uk)(" Next ",-1)),(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4"})])),_:1,__:[1]},8,["disabled"])]))}};const Rl=jl;var Fl=Rl,El=s(334),Tl=s(148),$l=s(282);s(210);const ql={class:"relative w-full",style:{height:"300px"}},Ll={key:0,class:"absolute inset-0 flex items-center justify-center bg-background/50"},Zl={key:1,class:"absolute inset-0 flex items-center justify-center text-muted-foreground"};var Ml={__name:"ResponseTimeChart",props:{endpointKey:{type:String,required:!0},duration:{type:String,required:!0,validator:e=>["24h","7d","30d"].includes(e)},serverUrl:{type:String,default:".."},events:{type:Array,default:()=>[]}},setup(e){Tl.kL.register(Tl.uw,Tl.f$,Tl.od,Tl.jn,Tl.Dx,Tl.u,Tl.De,Tl.Gu,Tl.FB,$l.Z);const t=e,s=(0,r.iH)(!0),l=(0,r.iH)(null),o=(0,r.iH)([]),u=(0,r.iH)([]),i=(0,r.iH)(document.documentElement.classList.contains("dark")),d=(0,r.iH)(null),c=()=>"rgba(239, 68, 68, 0.8)",g=(0,a.Fl)((()=>{if(!t.events||0===t.events.length)return[];const e=new Date;let s;switch(t.duration){case"24h":s=new Date(e.getTime()-864e5);break;case"7d":s=new Date(e.getTime()-6048e5);break;case"30d":s=new Date(e.getTime()-2592e6);break;default:return[]}const l=[];for(let a=0;ae)continue;let o=null,u=!1;if(a+1{if(0===o.value.length)return{labels:[],datasets:[]};const e=o.value.map((e=>new Date(e)));return{labels:e,datasets:[{label:"Response Time (ms)",data:u.value,borderColor:i.value?"rgb(96, 165, 250)":"rgb(59, 130, 246)",backgroundColor:i.value?"rgba(96, 165, 250, 0.1)":"rgba(59, 130, 246, 0.1)",borderWidth:2,pointRadius:2,pointHoverRadius:4,tension:.1,fill:!0}]}})),m=(0,a.Fl)((()=>{d.value;const e=u.value.length>0?Math.max(...u.value):0,s=e/2;return{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{display:!1},tooltip:{backgroundColor:i.value?"rgba(31, 41, 55, 0.95)":"rgba(255, 255, 255, 0.95)",titleColor:i.value?"#f9fafb":"#111827",bodyColor:i.value?"#d1d5db":"#374151",borderColor:i.value?"#4b5563":"#e5e7eb",borderWidth:1,padding:12,displayColors:!1,callbacks:{title:e=>{if(e.length>0){const t=new Date(e[0].parsed.x);return t.toLocaleString()}return""},label:e=>{const t=e.parsed.y;return`${t}ms`}}},annotation:{annotations:g.value.reduce(((e,t,l)=>{const a=new Date(t.timestamp).getTime();let n=0;if(o.value.length>0&&u.value.length>0){const e=o.value.reduce(((e,t,s)=>{const l=new Date(t).getTime(),n=Math.abs(l-a),r=Math.abs(new Date(o.value[e]).getTime()-a);return nd.value===l,content:[t.isOngoing?"Status: ONGOING":"Status: RESOLVED",`Unhealthy for ${t.duration}`,`Started at ${new Date(t.timestamp).toLocaleString()}`],backgroundColor:c(),color:"#ffffff",font:{size:11},padding:6,position:r}},e}),{})}},scales:{x:{type:"time",time:{unit:"24h"===t.duration?"hour":(t.duration,"day"),displayFormats:{hour:"MMM d, ha",day:"MMM d"}},grid:{color:i.value?"rgba(75, 85, 99, 0.3)":"rgba(229, 231, 235, 0.8)",drawBorder:!1},ticks:{color:i.value?"#9ca3af":"#6b7280",maxRotation:0,autoSkipPadding:20}},y:{beginAtZero:!0,grid:{color:i.value?"rgba(75, 85, 99, 0.3)":"rgba(229, 231, 235, 0.8)",drawBorder:!1},ticks:{color:i.value?"#9ca3af":"#6b7280",callback:e=>`${e}ms`}}}}})),v=async()=>{s.value=!0,l.value=null;try{const e=await fetch(`${t.serverUrl}/api/v1/endpoints/${t.endpointKey}/response-times/${t.duration}/history`,{credentials:"include"});if(200===e.status){const t=await e.json();o.value=t.timestamps||[],u.value=t.values||[]}else l.value="Failed to load chart data",console.error("[ResponseTimeChart] Error:",await e.text())}catch(e){l.value="Failed to load chart data",console.error("[ResponseTimeChart] Error:",e)}finally{s.value=!1}};return(0,a.YP)((()=>t.duration),(()=>{v()})),(0,a.bv)((()=>{v();const e=new MutationObserver((()=>{i.value=document.documentElement.classList.contains("dark")}));e.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),(0,a.Ah)((()=>e.disconnect()))})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",ql,[s.value?((0,a.wg)(),(0,a.iD)("div",Ll,[(0,a.Wm)(de)])):l.value?((0,a.wg)(),(0,a.iD)("div",Zl,(0,n.zw)(l.value),1)):((0,a.wg)(),(0,a.j4)((0,r.SU)(El.x1),{key:2,data:p.value,options:m.value},null,8,["data","options"]))]))}};const Al=Ml;var Nl=Al;const Yl={class:"dashboard-container bg-background"},Il={class:"container mx-auto px-4 py-8 max-w-7xl"},Ol={class:"mb-6"},Pl={key:0,class:"space-y-6"},Kl={class:"flex items-start justify-between"},Vl={class:"text-4xl font-bold tracking-tight"},Bl={class:"flex items-center gap-3 text-muted-foreground mt-2"},Gl={key:0},Jl={key:1},Xl={key:2},Ql={class:"grid gap-6 md:grid-cols-2 lg:grid-cols-4"},ea={class:"text-2xl font-bold"},ta={class:"text-2xl font-bold"},sa={class:"text-2xl font-bold"},la={class:"text-2xl font-bold"},aa={class:"flex items-center justify-between"},na={class:"flex items-center gap-2"},ra={class:"space-y-4"},oa={key:1,class:"pt-4 border-t"},ua={key:0,class:"space-y-6"},ia={class:"flex items-center justify-between"},da={class:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"},ca=["src","alt"],ga={class:"grid gap-4 md:grid-cols-2 lg:grid-cols-4"},pa={class:"text-sm text-muted-foreground mb-2"},ma=["src","alt"],va={class:"text-center"},fa=["src"],wa={class:"space-y-4"},ha={class:"mt-1"},xa={class:"flex-1"},ba={class:"font-medium"},ya={class:"text-sm text-muted-foreground"},ka={key:1,class:"flex items-center justify-center py-20"};var _a={__name:"EndpointDetails",emits:["showTooltip"],setup(e,{emit:t}){const s=(0,u.tv)(),o=(0,u.yj)(),i=t,d=(0,r.iH)(null),c=(0,r.iH)(null),g=(0,r.iH)([]),p=(0,r.iH)(1),m=(0,r.iH)(!1),v=(0,r.iH)(!1),f=(0,r.iH)("24h"),w="."===zr?"..":zr,h=(0,r.iH)(!1),b=(0,a.Fl)((()=>c.value&&c.value.results&&0!==c.value.results.length?c.value.results[c.value.results.length-1]:null)),y=(0,a.Fl)((()=>b.value?b.value.success?"healthy":"unhealthy":"unknown")),_=(0,a.Fl)((()=>b.value?.hostname||null)),S=(0,a.Fl)((()=>{if(!d.value||!d.value.results||0===d.value.results.length)return"N/A";let e=0,t=0;for(const s of d.value.results)s.duration&&(e+=s.duration,t++);return 0===t?"N/A":Math.round(e/t/1e6)})),U=(0,a.Fl)((()=>{if(!d.value||!d.value.results||0===d.value.results.length)return"N/A";let e=1/0,t=0,s=!1;for(const n of d.value.results)if(n.duration){const l=n.duration/1e6;e=Math.min(e,l),t=Math.max(t,l),s=!0}if(!s)return"N/A";const l=Math.round(e),a=Math.round(t);return l===a?`${l}ms`:`${l}-${a}ms`})),z=(0,a.Fl)((()=>c.value&&c.value.results&&0!==c.value.results.length?L(c.value.results[c.value.results.length-1].timestamp):"Never")),W=async()=>{h.value=!0;try{const e=await fetch(`${w}/api/v1/endpoints/${o.params.key}/statuses?page=${p.value}&pageSize=50`,{credentials:"include"});if(200===e.status){const t=await e.json();d.value=t,1===p.value&&(c.value=t);let s=[];if(t.events&&t.events.length>0)for(let e=t.events.length-1;e>=0;e--){let l=t.events[e];if(e===t.events.length-1)"UNHEALTHY"===l.type?l.fancyText="Endpoint is unhealthy":"HEALTHY"===l.type?l.fancyText="Endpoint is healthy":"START"===l.type&&(l.fancyText="Monitoring started");else{let s=t.events[e+1];"HEALTHY"===l.type?l.fancyText="Endpoint became healthy":"UNHEALTHY"===l.type?l.fancyText=s?"Endpoint was unhealthy for "+Z(s.timestamp,l.timestamp):"Endpoint became unhealthy":"START"===l.type&&(l.fancyText="Monitoring started")}l.fancyTimeAgo=L(l.timestamp),s.push(l)}if(g.value=s,t.results&&t.results.length>0)for(let e=0;e0){m.value=!0;break}}else console.error("[Details][fetchData] Error:",await e.text())}catch(e){console.error("[Details][fetchData] Error:",e)}finally{h.value=!1}},H=()=>{s.push("/")},R=e=>{p.value=e,W()},F=(e,t,s="hover")=>{i("showTooltip",e,t,s)},E=e=>new Date(e).toLocaleString(),T=()=>`${w}/api/v1/endpoints/${d.value.key}/health/badge.svg`,$=e=>`${w}/api/v1/endpoints/${d.value.key}/uptimes/${e}/badge.svg`,q=e=>`${w}/api/v1/endpoints/${d.value.key}/response-times/${e}/badge.svg`;return(0,a.bv)((()=>{W()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Yl,[(0,a._)("div",Il,[(0,a._)("div",Ol,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",class:"mb-4",onClick:H},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Dl.Z),{class:"h-4 w-4 mr-2"}),t[2]||(t[2]=(0,a.Uk)(" Back to Dashboard ",-1))])),_:1,__:[2]}),d.value&&d.value.name?((0,a.wg)(),(0,a.iD)("div",Pl,[(0,a._)("div",Kl,[(0,a._)("div",null,[(0,a._)("h1",Vl,(0,n.zw)(d.value.name),1),(0,a._)("div",Bl,[d.value.group?((0,a.wg)(),(0,a.iD)("span",Gl,"Group: "+(0,n.zw)(d.value.group),1)):(0,a.kq)("",!0),d.value.group&&_.value?((0,a.wg)(),(0,a.iD)("span",Jl,"•")):(0,a.kq)("",!0),_.value?((0,a.wg)(),(0,a.iD)("span",Xl,(0,n.zw)(_.value),1)):(0,a.kq)("",!0)])]),(0,a.Wm)(st,{status:y.value},null,8,["status"])]),(0,a._)("div",Ql,[(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[3]||(t[3]=[(0,a.Uk)("Current Status",-1)]))),_:1,__:[3]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",ea,(0,n.zw)("healthy"===y.value?"Operational":"Issues Detected"),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[4]||(t[4]=[(0,a.Uk)("Avg Response Time",-1)]))),_:1,__:[4]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",ta,(0,n.zw)(S.value)+"ms",1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[5]||(t[5]=[(0,a.Uk)("Response Time Range",-1)]))),_:1,__:[5]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",sa,(0,n.zw)(U.value),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),{class:"text-sm font-medium text-muted-foreground"},{default:(0,a.w5)((()=>t[6]||(t[6]=[(0,a.Uk)("Last Check",-1)]))),_:1,__:[6]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",la,(0,n.zw)(z.value),1)])),_:1})])),_:1})]),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a._)("div",aa,[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[7]||(t[7]=[(0,a.Uk)("Recent Checks",-1)]))),_:1,__:[7]}),(0,a._)("div",na,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:t[0]||(t[0]=e=>v.value=!v.value),title:v.value?"Show min-max response time":"Show average response time"},{default:(0,a.w5)((()=>[v.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ne.Z),{key:0,class:"h-5 w-5"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Ye.Z),{key:1,class:"h-5 w-5"}))])),_:1},8,["title"]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:W,title:"Refresh data",disabled:h.value},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:(0,n.C_)(["h-4 w-4",h.value&&"animate-spin"])},null,8,["class"])])),_:1},8,["disabled"])])])])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",ra,[d.value?((0,a.wg)(),(0,a.j4)(xt,{key:0,endpoint:d.value,maxResults:50,showAverageResponseTime:v.value,onShowTooltip:F,class:"border-0 shadow-none bg-transparent p-0"},null,8,["endpoint","showAverageResponseTime"])):(0,a.kq)("",!0),d.value&&d.value.key?((0,a.wg)(),(0,a.iD)("div",oa,[(0,a.Wm)(Fl,{onPage:R,numberOfResultsPerPage:50,currentPageProp:p.value},null,8,["currentPageProp"])])):(0,a.kq)("",!0)])])),_:1})])),_:1}),m.value?((0,a.wg)(),(0,a.iD)("div",ua,[(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a._)("div",ia,[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[8]||(t[8]=[(0,a.Uk)("Response Time Trend",-1)]))),_:1,__:[8]}),(0,a.wy)((0,a._)("select",{"onUpdate:modelValue":t[1]||(t[1]=e=>f.value=e),class:"text-sm bg-background border rounded-md px-3 py-1 focus:outline-none focus:ring-2 focus:ring-ring"},t[9]||(t[9]=[(0,a._)("option",{value:"24h"},"24 hours",-1),(0,a._)("option",{value:"7d"},"7 days",-1),(0,a._)("option",{value:"30d"},"30 days",-1)]),512),[[l.bM,f.value]])])])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[d.value&&d.value.key?((0,a.wg)(),(0,a.j4)(Nl,{key:0,endpointKey:d.value.key,duration:f.value,serverUrl:(0,r.SU)(w),events:d.value.events||[]},null,8,["endpointKey","duration","serverUrl","events"])):(0,a.kq)("",!0)])),_:1})])),_:1}),(0,a._)("div",da,[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(["30d","7d","24h","1h"],(e=>(0,a.Wm)((0,r.SU)(k),{key:e},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),{class:"pb-2"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),{class:"text-sm font-medium text-muted-foreground text-center"},{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)("30d"===e?"Last 30 days":"7d"===e?"Last 7 days":"24h"===e?"Last 24 hours":"Last hour"),1)])),_:2},1024)])),_:2},1024),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("img",{src:q(e),alt:`${e} response time`,class:"mx-auto mt-2"},null,8,ca)])),_:2},1024)])),_:2},1024))),64))])])):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[10]||(t[10]=[(0,a.Uk)("Uptime Statistics",-1)]))),_:1,__:[10]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",ga,[((0,a.wg)(),(0,a.iD)(a.HY,null,(0,a.Ko)(["30d","7d","24h","1h"],(e=>(0,a._)("div",{key:e,class:"text-center"},[(0,a._)("p",pa,(0,n.zw)("30d"===e?"Last 30 days":"7d"===e?"Last 7 days":"24h"===e?"Last 24 hours":"Last hour"),1),(0,a._)("img",{src:$(e),alt:`${e} uptime`,class:"mx-auto"},null,8,ma)]))),64))])])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[11]||(t[11]=[(0,a.Uk)("Current Health",-1)]))),_:1,__:[11]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",va,[(0,a._)("img",{src:T(),alt:"health badge",class:"mx-auto"},null,8,fa)])])),_:1})])),_:1}),g.value&&g.value.length>0?((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{key:1},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[12]||(t[12]=[(0,a.Uk)("Events",-1)]))),_:1,__:[12]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",wa,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,(e=>((0,a.wg)(),(0,a.iD)("div",{key:e.timestamp,class:"flex items-start gap-4 pb-4 border-b last:border-0"},[(0,a._)("div",ha,["HEALTHY"===e.type?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ul.Z),{key:0,class:"h-5 w-5 text-green-500"})):"UNHEALTHY"===e.type?((0,a.wg)(),(0,a.j4)((0,r.SU)(zl.Z),{key:1,class:"h-5 w-5 text-red-500"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(Cl.Z),{key:2,class:"h-5 w-5 text-muted-foreground"}))]),(0,a._)("div",xa,[(0,a._)("p",ba,(0,n.zw)(e.fancyText),1),(0,a._)("p",ya,(0,n.zw)(E(e.timestamp))+" • "+(0,n.zw)(e.fancyTimeAgo),1)])])))),128))])])),_:1})])),_:1})):(0,a.kq)("",!0)])):((0,a.wg)(),(0,a.iD)("div",ka,[(0,a.Wm)(de,{size:"lg"})]))])]),(0,a.Wm)(ks,{onRefreshData:W})]))}};const Sa=_a;var Da=Sa,Ua=s(469),za=s(399),Ca=s(167);const Wa=e=>{if(!e&&0!==e)return"N/A";const t=e/1e6;return t<1e3?`${t.toFixed(0)}ms`:`${(t/1e3).toFixed(2)}s`},Ha={class:"relative flex-shrink-0"},ja={class:"flex-1 min-w-0 pt-1"},Ra={class:"flex items-center justify-between gap-2 mb-1"},Fa={class:"font-medium text-sm truncate"},Ea={class:"text-xs text-muted-foreground whitespace-nowrap"},Ta={class:"flex flex-wrap gap-1"},$a={key:0,class:"inline-flex items-center gap-1 px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200 rounded-md"},qa={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200 rounded-md"};var La={__name:"FlowStep",props:{step:{type:Object,required:!0},index:{type:Number,required:!0},isLast:{type:Boolean,default:!1},previousStep:{type:Object,default:null}},emits:["step-click"],setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.step.status){case"success":return Ve.Z;case"failed":return _s.Z;case"skipped":return Ua.Z;case"not-started":return Ca.Z;default:return Ca.Z}})),l=(0,a.Fl)((()=>{const e="border-2";if(t.step.isAlwaysRun)switch(t.step.status){case"success":return`${e} bg-green-500 text-white border-green-600 ring-2 ring-blue-200 dark:ring-blue-800`;case"failed":return`${e} bg-red-500 text-white border-red-600 ring-2 ring-blue-200 dark:ring-blue-800`;default:return`${e} bg-blue-500 text-white border-blue-600 ring-2 ring-blue-200 dark:ring-blue-800`}switch(t.step.status){case"success":return`${e} bg-green-500 text-white border-green-600`;case"failed":return`${e} bg-red-500 text-white border-red-600`;case"skipped":return`${e} bg-gray-400 text-white border-gray-500`;case"not-started":return`${e} bg-gray-200 text-gray-500 border-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:border-gray-600`;default:return`${e} bg-gray-200 text-gray-500 border-gray-300 dark:bg-gray-700 dark:text-gray-400 dark:border-gray-600`}})),o=(0,a.Fl)((()=>{if(!t.previousStep)return"bg-gray-300 dark:bg-gray-600";if("skipped"===t.step.status)return"border-l-2 border-dashed border-gray-400 bg-transparent";switch(t.previousStep.status){case"success":return"bg-green-500";case"failed":return"bg-red-500";default:return"bg-gray-300 dark:bg-gray-600"}})),u=(0,a.Fl)((()=>{const e=t.step.nextStepStatus;switch(t.step.status){case"success":return"skipped"===e?"bg-gray-300 dark:bg-gray-600":"bg-green-500";case"failed":return"skipped"===e?"border-l-2 border-dashed border-gray-400 bg-transparent":"bg-red-500";default:return"bg-gray-300 dark:bg-gray-600"}}));return(t,i)=>((0,a.wg)(),(0,a.iD)("div",{class:"flex items-start gap-4 relative group hover:bg-accent/30 rounded-lg p-2 -m-2 transition-colors cursor-pointer",onClick:i[0]||(i[0]=e=>t.$emit("step-click"))},[(0,a._)("div",Ha,[e.index>0?((0,a.wg)(),(0,a.iD)("div",{key:0,class:(0,n.C_)([o.value,"absolute left-1/2 bottom-8 w-0.5 h-4 -translate-x-px"])},null,2)):(0,a.kq)("",!0),(0,a._)("div",{class:(0,n.C_)([l.value,"w-8 h-8 rounded-full flex items-center justify-center"])},[((0,a.wg)(),(0,a.j4)((0,a.LL)(s.value),{class:"w-4 h-4"}))],2),e.isLast?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:1,class:(0,n.C_)([u.value,"absolute left-1/2 top-8 w-0.5 h-4 -translate-x-px"])},null,2))]),(0,a._)("div",ja,[(0,a._)("div",Ra,[(0,a._)("h4",Fa,(0,n.zw)(e.step.name),1),(0,a._)("span",Ea,(0,n.zw)((0,r.SU)(Wa)(e.step.duration)),1)]),(0,a._)("div",Ta,[e.step.isAlwaysRun?((0,a.wg)(),(0,a.iD)("span",$a,[(0,a.Wm)((0,r.SU)(za.Z),{class:"w-3 h-3"}),i[1]||(i[1]=(0,a.Uk)(" Always Run ",-1))])):(0,a.kq)("",!0),e.step.errors?.length?((0,a.wg)(),(0,a.iD)("span",qa,(0,n.zw)(e.step.errors.length)+" error"+(0,n.zw)(1!==e.step.errors.length?"s":""),1)):(0,a.kq)("",!0)])])]))}};const Za=La;var Ma=Za;const Aa={class:"space-y-4"},Na={class:"flex items-center gap-4"},Ya={class:"flex-1 h-1 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden"},Ia={class:"flex items-center justify-between text-xs text-muted-foreground"},Oa={key:0},Pa={class:"space-y-2"},Ka={class:"mt-6 pt-4 border-t"},Va={class:"grid grid-cols-2 md:grid-cols-4 gap-3 text-xs"},Ba={key:0,class:"flex items-center gap-2"},Ga={class:"w-4 h-4 rounded-full bg-green-500 flex items-center justify-center"},Ja={key:1,class:"flex items-center gap-2"},Xa={class:"w-4 h-4 rounded-full bg-red-500 flex items-center justify-center"},Qa={key:2,class:"flex items-center gap-2"},en={class:"w-4 h-4 rounded-full bg-gray-400 flex items-center justify-center"},tn={key:3,class:"flex items-center gap-2"},sn={class:"w-4 h-4 rounded-full bg-blue-500 border-2 border-blue-200 dark:border-blue-800 flex items-center justify-center"};var ln={__name:"SequentialFlowDiagram",props:{flowSteps:{type:Array,default:()=>[]},progressPercentage:{type:Number,default:0},completedSteps:{type:Number,default:0},totalSteps:{type:Number,default:0}},emits:["step-selected"],setup(e){const t=e,s=(0,a.Fl)((()=>t.completedSteps)),l=(0,a.Fl)((()=>t.totalSteps)),o=(0,a.Fl)((()=>t.flowSteps.reduce(((e,t)=>e+(t.duration||0)),0))),u=(0,a.Fl)((()=>t.flowSteps.some((e=>"success"===e.status)))),i=(0,a.Fl)((()=>t.flowSteps.some((e=>"failed"===e.status)))),d=(0,a.Fl)((()=>t.flowSteps.some((e=>"skipped"===e.status)))),c=(0,a.Fl)((()=>t.flowSteps.some((e=>!0===e.isAlwaysRun))));return(t,g)=>((0,a.wg)(),(0,a.iD)("div",Aa,[(0,a._)("div",Na,[g[0]||(g[0]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground"},"Start",-1)),(0,a._)("div",Ya,[(0,a._)("div",{class:"h-full bg-green-500 dark:bg-green-600 rounded-full transition-all duration-300 ease-out",style:(0,n.j5)({width:e.progressPercentage+"%"})},null,4)]),g[1]||(g[1]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground"},"End",-1))]),(0,a._)("div",Ia,[(0,a._)("span",null,(0,n.zw)(s.value)+"/"+(0,n.zw)(l.value)+" steps successful",1),o.value>0?((0,a.wg)(),(0,a.iD)("span",Oa,(0,n.zw)((0,r.SU)(Wa)(o.value))+" total",1)):(0,a.kq)("",!0)]),(0,a._)("div",Pa,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.flowSteps,((s,l)=>((0,a.wg)(),(0,a.j4)(Ma,{key:l,step:s,index:l,"is-last":l===e.flowSteps.length-1,"previous-step":l>0?e.flowSteps[l-1]:null,onStepClick:e=>t.$emit("step-selected",s,l)},null,8,["step","index","is-last","previous-step","onStepClick"])))),128))]),(0,a._)("div",Ka,[g[6]||(g[6]=(0,a._)("div",{class:"text-sm font-medium text-muted-foreground mb-2"},"Status Legend",-1)),(0,a._)("div",Va,[u.value?((0,a.wg)(),(0,a.iD)("div",Ba,[(0,a._)("div",Ga,[(0,a.Wm)((0,r.SU)(Ve.Z),{class:"w-3 h-3 text-white"})]),g[2]||(g[2]=(0,a._)("span",{class:"text-muted-foreground"},"Success",-1))])):(0,a.kq)("",!0),i.value?((0,a.wg)(),(0,a.iD)("div",Ja,[(0,a._)("div",Xa,[(0,a.Wm)((0,r.SU)(_s.Z),{class:"w-3 h-3 text-white"})]),g[3]||(g[3]=(0,a._)("span",{class:"text-muted-foreground"},"Failed",-1))])):(0,a.kq)("",!0),d.value?((0,a.wg)(),(0,a.iD)("div",Qa,[(0,a._)("div",en,[(0,a.Wm)((0,r.SU)(Ua.Z),{class:"w-3 h-3 text-white"})]),g[4]||(g[4]=(0,a._)("span",{class:"text-muted-foreground"},"Skipped",-1))])):(0,a.kq)("",!0),c.value?((0,a.wg)(),(0,a.iD)("div",tn,[(0,a._)("div",sn,[(0,a.Wm)((0,r.SU)(za.Z),{class:"w-3 h-3 text-white"})]),g[5]||(g[5]=(0,a._)("span",{class:"text-muted-foreground"},"Always Run",-1))])):(0,a.kq)("",!0)])])]))}};const an=ln;var nn=an,rn=s(293),on=s(322),un=s(740);const dn={class:"flex items-center justify-between p-4 border-b"},cn={class:"text-lg font-semibold flex items-center gap-2"},gn={class:"text-sm text-muted-foreground mt-1"},pn={class:"p-4 space-y-4 overflow-y-auto max-h-[60vh]"},mn={key:0,class:"flex flex-wrap gap-2"},vn={class:"flex items-center gap-2 px-3 py-2 bg-blue-50 dark:bg-blue-900/30 rounded-lg border border-blue-200 dark:border-blue-700"},fn={key:1,class:"space-y-2"},wn={class:"text-sm font-medium flex items-center gap-2 text-red-600 dark:text-red-400"},hn={class:"space-y-2"},xn={key:2,class:"space-y-2"},bn={class:"text-sm font-medium flex items-center gap-2"},yn={class:"text-xs font-mono text-muted-foreground"},kn={key:3,class:"space-y-2"},_n={class:"text-sm font-medium flex items-center gap-2"},Sn={class:"grid grid-cols-2 gap-4 text-xs"},Dn={class:"font-mono mt-1"},Un={key:4,class:"space-y-2"},zn={class:"text-sm font-medium flex items-center gap-2"},Cn={class:"space-y-2 max-h-48 overflow-y-auto"},Wn={class:"flex-shrink-0 mt-0.5"},Hn={class:"flex-1 min-w-0 flex items-center justify-between gap-3"},jn={key:5,class:"space-y-2"},Rn={class:"text-sm font-medium flex items-center gap-2"},Fn={class:"space-y-3 text-xs"},En={key:0},Tn={class:"font-mono mt-1 break-all"},$n={key:1},qn={class:"mt-1 font-medium"},Ln={key:2},Zn={class:"mt-1"},Mn={key:3},An={class:"mt-1"},Nn={key:6,class:"space-y-2"},Yn={class:"text-sm font-medium flex items-center gap-2 text-red-600 dark:text-red-400"},In={class:"space-y-2 max-h-32 overflow-y-auto"};var On={__name:"StepDetailsModal",props:{step:{type:Object,required:!0},index:{type:Number,required:!0}},emits:["close"],setup(e){const t=e,s=(0,a.Fl)((()=>{switch(t.step.status){case"success":return Ve.Z;case"failed":return _s.Z;case"skipped":return Ua.Z;case"not-started":return Ca.Z;default:return Ca.Z}})),o=(0,a.Fl)((()=>{switch(t.step.status){case"success":return"text-green-600 dark:text-green-400";case"failed":return"text-red-600 dark:text-red-400";case"skipped":return"text-gray-600 dark:text-gray-400";default:return"text-blue-600 dark:text-blue-400"}}));return(t,u)=>((0,a.wg)(),(0,a.iD)("div",{class:"fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center p-4 z-50",onClick:u[2]||(u[2]=e=>t.$emit("close"))},[(0,a._)("div",{class:"bg-background border rounded-lg shadow-lg max-w-2xl w-full max-h-[80vh] overflow-hidden",onClick:u[1]||(u[1]=(0,l.iM)((()=>{}),["stop"]))},[(0,a._)("div",dn,[(0,a._)("div",null,[(0,a._)("h2",cn,[((0,a.wg)(),(0,a.j4)((0,a.LL)(s.value),{class:(0,n.C_)([o.value,"w-5 h-5"])},null,8,["class"])),(0,a.Uk)(" "+(0,n.zw)(e.step.name),1)]),(0,a._)("p",gn," Step "+(0,n.zw)(e.index+1)+" • "+(0,n.zw)((0,r.SU)(Wa)(e.step.duration)),1)]),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:u[0]||(u[0]=e=>t.$emit("close"))},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(d.Z),{class:"w-4 h-4"})])),_:1})]),(0,a._)("div",pn,[e.step.isAlwaysRun?((0,a.wg)(),(0,a.iD)("div",mn,[(0,a._)("div",vn,[(0,a.Wm)((0,r.SU)(za.Z),{class:"w-4 h-4 text-blue-600 dark:text-blue-400"}),u[3]||(u[3]=(0,a._)("div",null,[(0,a._)("p",{class:"text-sm font-medium text-blue-900 dark:text-blue-200"},"Always Run"),(0,a._)("p",{class:"text-xs text-blue-600 dark:text-blue-400"},"This endpoint is configured to execute even after failures")],-1))])])):(0,a.kq)("",!0),e.step.errors?.length?((0,a.wg)(),(0,a.iD)("div",fn,[(0,a._)("h3",wn,[(0,a.Wm)((0,r.SU)(Oe.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Errors ("+(0,n.zw)(e.step.errors.length)+") ",1)]),(0,a._)("div",hn,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"p-3 bg-red-50 dark:bg-red-900/50 border border-red-200 dark:border-red-700 rounded text-sm font-mono text-red-800 dark:text-red-300 break-all"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0),e.step.result&&e.step.result.timestamp?((0,a.wg)(),(0,a.iD)("div",xn,[(0,a._)("h3",bn,[(0,a.Wm)((0,r.SU)(rn.Z),{class:"w-4 h-4"}),u[4]||(u[4]=(0,a.Uk)(" Timestamp ",-1))]),(0,a._)("p",yn,(0,n.zw)((0,r.SU)(M)(e.step.result.timestamp)),1)])):(0,a.kq)("",!0),e.step.result?((0,a.wg)(),(0,a.iD)("div",kn,[(0,a._)("h3",_n,[(0,a.Wm)((0,r.SU)(on.Z),{class:"w-4 h-4"}),u[5]||(u[5]=(0,a.Uk)(" Response ",-1))]),(0,a._)("div",Sn,[(0,a._)("div",null,[u[6]||(u[6]=(0,a._)("span",{class:"text-muted-foreground"},"Duration:",-1)),(0,a._)("p",Dn,(0,n.zw)((0,r.SU)(Wa)(e.step.result.duration)),1)]),(0,a._)("div",null,[u[7]||(u[7]=(0,a._)("span",{class:"text-muted-foreground"},"Success:",-1)),(0,a._)("p",{class:(0,n.C_)(["mt-1",e.step.result.success?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"])},(0,n.zw)(e.step.result.success?"Yes":"No"),3)])])])):(0,a.kq)("",!0),e.step.result?.conditionResults?.length?((0,a.wg)(),(0,a.iD)("div",Un,[(0,a._)("h3",zn,[(0,a.Wm)((0,r.SU)(Ve.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Condition Results ("+(0,n.zw)(e.step.result.conditionResults.length)+") ",1)]),(0,a._)("div",Cn,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.result.conditionResults,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex items-start gap-3 p-1 rounded-lg border",e.success?"bg-green-50 dark:bg-green-900/30 border-green-200 dark:border-green-700":"bg-red-50 dark:bg-red-900/30 border-red-200 dark:border-red-700"])},[(0,a._)("div",Wn,[e.success?((0,a.wg)(),(0,a.j4)((0,r.SU)(Ve.Z),{key:0,class:"w-4 h-4 text-green-600 dark:text-green-400"})):((0,a.wg)(),(0,a.j4)((0,r.SU)(_s.Z),{key:1,class:"w-4 h-4 text-red-600 dark:text-red-400"}))]),(0,a._)("div",Hn,[(0,a._)("p",{class:(0,n.C_)(["text-sm font-mono break-all",e.success?"text-green-800 dark:text-green-200":"text-red-800 dark:text-red-200"])},(0,n.zw)(e.condition),3),(0,a._)("span",{class:(0,n.C_)(["text-xs font-medium whitespace-nowrap",e.success?"text-green-600 dark:text-green-400":"text-red-600 dark:text-red-400"])},(0,n.zw)(e.success?"Passed":"Failed"),3)])],2)))),128))])])):(0,a.kq)("",!0),e.step.endpoint?((0,a.wg)(),(0,a.iD)("div",jn,[(0,a._)("h3",Rn,[(0,a.Wm)((0,r.SU)(un.Z),{class:"w-4 h-4"}),u[8]||(u[8]=(0,a.Uk)(" Endpoint Configuration ",-1))]),(0,a._)("div",Fn,[e.step.endpoint.url?((0,a.wg)(),(0,a.iD)("div",En,[u[9]||(u[9]=(0,a._)("span",{class:"text-muted-foreground"},"URL:",-1)),(0,a._)("p",Tn,(0,n.zw)(e.step.endpoint.url),1)])):(0,a.kq)("",!0),e.step.endpoint.method?((0,a.wg)(),(0,a.iD)("div",$n,[u[10]||(u[10]=(0,a._)("span",{class:"text-muted-foreground"},"Method:",-1)),(0,a._)("p",qn,(0,n.zw)(e.step.endpoint.method),1)])):(0,a.kq)("",!0),e.step.endpoint.interval?((0,a.wg)(),(0,a.iD)("div",Ln,[u[11]||(u[11]=(0,a._)("span",{class:"text-muted-foreground"},"Interval:",-1)),(0,a._)("p",Zn,(0,n.zw)(e.step.endpoint.interval),1)])):(0,a.kq)("",!0),e.step.endpoint.timeout?((0,a.wg)(),(0,a.iD)("div",Mn,[u[12]||(u[12]=(0,a._)("span",{class:"text-muted-foreground"},"Timeout:",-1)),(0,a._)("p",An,(0,n.zw)(e.step.endpoint.timeout),1)])):(0,a.kq)("",!0)])])):(0,a.kq)("",!0),e.step.result?.errors?.length?((0,a.wg)(),(0,a.iD)("div",Nn,[(0,a._)("h3",Yn,[(0,a.Wm)((0,r.SU)(Oe.Z),{class:"w-4 h-4"}),(0,a.Uk)(" Result Errors ("+(0,n.zw)(e.step.result.errors.length)+") ",1)]),(0,a._)("div",In,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(e.step.result.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"p-3 bg-red-50 dark:bg-red-900/50 border border-red-200 dark:border-red-700 rounded text-sm font-mono text-red-800 dark:text-red-300 break-all"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])])]))}};const Pn=On;var Kn=Pn;const Vn={class:"suite-details-container bg-background min-h-screen"},Bn={class:"container mx-auto px-4 py-8 max-w-7xl"},Gn={class:"mb-6"},Jn={class:"flex items-start justify-between"},Xn={class:"text-3xl font-bold tracking-tight"},Qn={class:"text-muted-foreground mt-2"},er={key:0},tr={key:1},sr={class:"flex items-center gap-2"},lr={key:0,class:"flex items-center justify-center py-20"},ar={key:1,class:"text-center py-20"},nr={key:2,class:"space-y-6"},rr={class:"space-y-4"},or={class:"grid grid-cols-2 md:grid-cols-4 gap-4"},ur={class:"text-lg font-medium"},ir={class:"text-lg font-medium"},dr={class:"text-lg font-medium"},cr={class:"text-lg font-medium"},gr={class:"mt-6"},pr={key:0,class:"mt-6"},mr={class:"space-y-2"},vr={key:0,class:"space-y-2"},fr=["onClick"],wr={class:"flex items-center gap-3"},hr={class:"text-sm font-medium"},xr={class:"text-xs text-muted-foreground"},br={key:1,class:"text-center py-8 text-muted-foreground"};var yr={__name:"SuiteDetails",setup(e){const t=(0,u.tv)(),s=(0,u.yj)(),l=(0,r.iH)(!1),o=(0,r.iH)(null),i=(0,r.iH)(null),d=(0,r.iH)(null),c=(0,r.iH)(0),g=(0,a.Fl)((()=>o.value&&o.value.results&&0!==o.value.results.length?[...o.value.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp))):[])),p=(0,a.Fl)((()=>o.value&&o.value.results&&0!==o.value.results.length?i.value||g.value[0]:null)),m=async()=>{const e=!o.value;e&&(l.value=!0);try{const t=await fetch(`${zr}/api/v1/suites/${s.params.key}/statuses`,{credentials:"include"});if(200===t.status){const e=await t.json(),s=o.value;if(o.value=e,e.results&&e.results.length>0){const t=[...e.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp))),l=!i.value||s?.results&&i.value.timestamp===[...s.results].sort(((e,t)=>new Date(t.timestamp)-new Date(e.timestamp)))[0]?.timestamp;l&&(i.value=t[0])}}else 404===t.status?o.value=null:console.error("[SuiteDetails][fetchData] Error:",await t.text())}catch(t){console.error("[SuiteDetails][fetchData] Error:",t)}finally{e&&(l.value=!1)}},v=()=>{m()},f=()=>{t.push("/")},w=e=>L(e),h=e=>{const t=new Date(e);return t.toLocaleString()},b=e=>{if(!e&&0!==e)return"N/A";const t=e/1e6;return t<1e3?`${t.toFixed(0)}ms`:`${(t/1e3).toFixed(2)}s`},y=e=>{if(!e||!e.endpointResults||0===e.endpointResults.length)return 0;const t=e.endpointResults.filter((e=>e.success)).length;return Math.round(t/e.endpointResults.length*100)},_=(0,a.Fl)((()=>{if(!p.value||!p.value.endpointResults)return[];const e=p.value.endpointResults;return e.map(((t,s)=>{const l=o.value?.endpoints?.[s],a=e[s+1];let n=!1;for(let r=0;r_.value.filter((e=>"success"===e.status)).length)),U=(0,a.Fl)((()=>_.value.length?Math.round(S.value/_.value.length*100):0)),z=e=>e?e.conditionResults&&e.conditionResults.some((e=>e.condition.includes("SKIP")))?"skipped":e.success?"success":"failed":"not-started",W=(e,t)=>{d.value=e,c.value=t};return(0,a.bv)((()=>{m()})),(e,t)=>((0,a.wg)(),(0,a.iD)("div",Vn,[(0,a._)("div",Bn,[(0,a._)("div",Gn,[(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"sm",onClick:f,class:"mb-4"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Dl.Z),{class:"h-4 w-4 mr-2"}),t[1]||(t[1]=(0,a.Uk)(" Back to Dashboard ",-1))])),_:1,__:[1]}),(0,a._)("div",Jn,[(0,a._)("div",null,[(0,a._)("h1",Xn,(0,n.zw)(o.value?.name||"Loading..."),1),(0,a._)("p",Qn,[o.value?.group?((0,a.wg)(),(0,a.iD)("span",er,(0,n.zw)(o.value.group)+" • ",1)):(0,a.kq)("",!0),p.value?((0,a.wg)(),(0,a.iD)("span",tr,(0,n.zw)(i.value&&i.value.timestamp!==g.value[0]?.timestamp?"Ran":"Last run")+" "+(0,n.zw)(w(p.value.timestamp)),1)):(0,a.kq)("",!0)])]),(0,a._)("div",sr,[p.value?((0,a.wg)(),(0,a.j4)(st,{key:0,status:p.value.success?"healthy":"unhealthy"},null,8,["status"])):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(x),{variant:"ghost",size:"icon",onClick:v,title:"Refresh"},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(Ie.Z),{class:"h-5 w-5"})])),_:1})])])]),l.value?((0,a.wg)(),(0,a.iD)("div",lr,[(0,a.Wm)(de,{size:"lg"})])):o.value?((0,a.wg)(),(0,a.iD)("div",nr,[p.value?((0,a.wg)(),(0,a.j4)((0,r.SU)(k),{key:0},{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>[(0,a.Uk)((0,n.zw)(i.value?.timestamp===g.value[0]?.timestamp?"Latest Execution":`Execution at ${h(i.value.timestamp)}`),1)])),_:1})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[(0,a._)("div",rr,[(0,a._)("div",or,[(0,a._)("div",null,[t[4]||(t[4]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Status",-1)),(0,a._)("p",ur,(0,n.zw)(p.value.success?"Success":"Failed"),1)]),(0,a._)("div",null,[t[5]||(t[5]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Duration",-1)),(0,a._)("p",ir,(0,n.zw)(b(p.value.duration)),1)]),(0,a._)("div",null,[t[6]||(t[6]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Endpoints",-1)),(0,a._)("p",dr,(0,n.zw)(p.value.endpointResults?.length||0),1)]),(0,a._)("div",null,[t[7]||(t[7]=(0,a._)("p",{class:"text-sm text-muted-foreground"},"Success Rate",-1)),(0,a._)("p",cr,(0,n.zw)(y(p.value))+"%",1)])]),(0,a._)("div",gr,[t[8]||(t[8]=(0,a._)("h3",{class:"text-lg font-semibold mb-4"},"Execution Flow",-1)),(0,a.Wm)(nn,{"flow-steps":_.value,"progress-percentage":U.value,"completed-steps":S.value,"total-steps":_.value.length,onStepSelected:W},null,8,["flow-steps","progress-percentage","completed-steps","total-steps"])]),p.value.errors&&p.value.errors.length>0?((0,a.wg)(),(0,a.iD)("div",pr,[t[9]||(t[9]=(0,a._)("h3",{class:"text-lg font-semibold mb-3 text-red-500"},"Suite Errors",-1)),(0,a._)("div",mr,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(p.value.errors,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:"bg-red-50 dark:bg-red-950 text-red-700 dark:text-red-300 p-3 rounded-md text-sm"},(0,n.zw)(e),1)))),128))])])):(0,a.kq)("",!0)])])),_:1})])),_:1})):(0,a.kq)("",!0),(0,a.Wm)((0,r.SU)(k),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(D),null,{default:(0,a.w5)((()=>[(0,a.Wm)((0,r.SU)(C),null,{default:(0,a.w5)((()=>t[10]||(t[10]=[(0,a.Uk)("Execution History",-1)]))),_:1,__:[10]})])),_:1}),(0,a.Wm)((0,r.SU)(j),null,{default:(0,a.w5)((()=>[g.value.length>0?((0,a.wg)(),(0,a.iD)("div",vr,[((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(g.value,((e,t)=>((0,a.wg)(),(0,a.iD)("div",{key:t,class:(0,n.C_)(["flex items-center justify-between p-3 border rounded-lg hover:bg-accent/50 transition-colors cursor-pointer",{"bg-accent":i.value&&i.value.timestamp===e.timestamp}]),onClick:t=>i.value=e},[(0,a._)("div",wr,[(0,a.Wm)(st,{status:e.success?"healthy":"unhealthy",size:"sm"},null,8,["status"]),(0,a._)("div",null,[(0,a._)("p",hr,(0,n.zw)(h(e.timestamp)),1),(0,a._)("p",xr,(0,n.zw)(e.endpointResults?.length||0)+" endpoints • "+(0,n.zw)(b(e.duration)),1)])]),(0,a.Wm)((0,r.SU)(Ge.Z),{class:"h-4 w-4 text-muted-foreground"})],10,fr)))),128))])):((0,a.wg)(),(0,a.iD)("div",br," No execution history available "))])),_:1})])),_:1})])):((0,a.wg)(),(0,a.iD)("div",ar,[(0,a.Wm)((0,r.SU)(Oe.Z),{class:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),t[2]||(t[2]=(0,a._)("h3",{class:"text-lg font-semibold mb-2"},"Suite not found",-1)),t[3]||(t[3]=(0,a._)("p",{class:"text-muted-foreground"},"The requested suite could not be found.",-1))]))]),(0,a.Wm)(ks,{onRefreshData:m}),d.value?((0,a.wg)(),(0,a.j4)(Kn,{key:0,step:d.value,index:c.value,onClose:t[0]||(t[0]=e=>d.value=null)},null,8,["step","index"])):(0,a.kq)("",!0)]))}};const kr=(0,E.Z)(yr,[["__scopeId","data-v-01b6e7cc"]]);var _r=kr;const Sr=[{path:"/",name:"Home",component:Sl},{path:"/endpoints/:key",name:"EndpointDetails",component:Da},{path:"/suites/:key",name:"SuiteDetails",component:_r}],Dr=(0,u.p7)({history:(0,u.PO)("/"),routes:Sr});var Ur=Dr;const zr="";(0,l.ri)(Ae).use(Ur).mount("#app")}},t={};function s(l){var a=t[l];if(void 0!==a)return a.exports;var n=t[l]={exports:{}};return e[l](n,n.exports,s),n.exports}s.m=e,function(){var e=[];s.O=function(t,l,a,n){if(!l){var r=1/0;for(d=0;d=n)&&Object.keys(s.O).every((function(e){return s.O[e](l[u])}))?l.splice(u--,1):(o=!1,n0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[l,a,n]}}(),function(){s.d=function(e,t){for(var l in t)s.o(t,l)&&!s.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){s.p="/"}(),function(){var e={143:0};s.O.j=function(t){return 0===e[t]};var t=function(t,l){var a,n,r=l[0],o=l[1],u=l[2],i=0;if(r.some((function(t){return 0!==e[t]}))){for(a in o)s.o(o,a)&&(s.m[a]=o[a]);if(u)var d=u(s)}for(t&&t(l);i0&&0===--this._on&&(o=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t0)return;if(f){let e=f;f=void 0;while(e){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;while(u){let n=u;u=void 0;while(n){const r=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}if(e)throw e}function g(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function v(e){let t,n=e.depsTail,r=n;while(r){const e=r.prevDep;-1===r.version?(r===n&&(n=e),k(r),w(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function y(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(b(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function b(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===O)return;if(e.globalVersion=O,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!y(e)))return;e.flags|=2;const t=e.dep,n=s,o=x;s=e,x=!0;try{g(e);const i=e.fn(e._value);(0===t.version||(0,r.aU)(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{s=n,x=o,v(e),e.flags&=-3}}function k(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)k(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function w(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let x=!0;const _=[];function S(){_.push(x),x=!1}function C(){const e=_.pop();x=void 0===e||e}function E(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=s;s=void 0;try{t()}finally{s=e}}}let O=0;class M{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class R{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!s||!x||s===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==s)t=this.activeLink=new M(s,this),s.deps?(t.prevDep=s.depsTail,s.depsTail.nextDep=t,s.depsTail=t):s.deps=s.depsTail=t,j(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=s.depsTail,t.nextDep=void 0,s.depsTail.nextDep=t,s.depsTail=t,s.deps===t&&(s.deps=e)}return t}trigger(e){this.version++,O++,this.notify(e)}notify(e){h();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{m()}}}function j(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)j(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const A=new WeakMap,I=Symbol(""),T=Symbol(""),P=Symbol("");function F(e,t,n){if(x&&s){let t=A.get(e);t||A.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new R),r.map=t,r.key=n),r.track()}}function D(e,t,n,o,s,i){const l=A.get(e);if(!l)return void O++;const c=e=>{e&&e.trigger()};if(h(),"clear"===t)l.forEach(c);else{const s=(0,r.kJ)(e),i=s&&(0,r.S0)(n);if(s&&"length"===n){const e=Number(o);l.forEach(((t,n)=>{("length"===n||n===P||!(0,r.yk)(n)&&n>=e)&&c(t)}))}else switch((void 0!==n||l.has(void 0))&&c(l.get(n)),i&&c(l.get(P)),t){case"add":s?i&&c(l.get("length")):(c(l.get(I)),(0,r._N)(e)&&c(l.get(T)));break;case"delete":s||(c(l.get(I)),(0,r._N)(e)&&c(l.get(T)));break;case"set":(0,r._N)(e)&&c(l.get(I));break}}m()}function N(e){const t=Se(e);return t===e?t:(F(t,"iterate",P),xe(e)?t:t.map(Ee))}function z(e){return F(e=Se(e),"iterate",P),e}const $={__proto__:null,[Symbol.iterator](){return L(this,Symbol.iterator,Ee)},concat(...e){return N(this).concat(...e.map((e=>(0,r.kJ)(e)?N(e):e)))},entries(){return L(this,"entries",(e=>(e[1]=Ee(e[1]),e)))},every(e,t){return Z(this,"every",e,t,void 0,arguments)},filter(e,t){return Z(this,"filter",e,t,(e=>e.map(Ee)),arguments)},find(e,t){return Z(this,"find",e,t,Ee,arguments)},findIndex(e,t){return Z(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Z(this,"findLast",e,t,Ee,arguments)},findLastIndex(e,t){return Z(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Z(this,"forEach",e,t,void 0,arguments)},includes(...e){return V(this,"includes",e)},indexOf(...e){return V(this,"indexOf",e)},join(e){return N(this).join(e)},lastIndexOf(...e){return V(this,"lastIndexOf",e)},map(e,t){return Z(this,"map",e,t,void 0,arguments)},pop(){return H(this,"pop")},push(...e){return H(this,"push",e)},reduce(e,...t){return J(this,"reduce",e,t)},reduceRight(e,...t){return J(this,"reduceRight",e,t)},shift(){return H(this,"shift")},some(e,t){return Z(this,"some",e,t,void 0,arguments)},splice(...e){return H(this,"splice",e)},toReversed(){return N(this).toReversed()},toSorted(e){return N(this).toSorted(e)},toSpliced(...e){return N(this).toSpliced(...e)},unshift(...e){return H(this,"unshift",e)},values(){return L(this,"values",Ee)}};function L(e,t,n){const r=z(e),o=r[t]();return r===e||xe(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}const U=Array.prototype;function Z(e,t,n,r,o,s){const i=z(e),l=i!==e&&!xe(e),c=i[t];if(c!==U[t]){const t=c.apply(e,s);return l?Ee(t):t}let a=n;i!==e&&(l?a=function(t,r){return n.call(this,Ee(t),r,e)}:n.length>2&&(a=function(t,r){return n.call(this,t,r,e)}));const u=c.call(i,a,r);return l&&o?o(u):u}function J(e,t,n,r){const o=z(e);let s=n;return o!==e&&(xe(e)?n.length>3&&(s=function(t,r,o){return n.call(this,t,r,o,e)}):s=function(t,r,o){return n.call(this,t,Ee(r),o,e)}),o[t](s,...r)}function V(e,t,n){const r=Se(e);F(r,"iterate",P);const o=r[t](...n);return-1!==o&&!1!==o||!_e(n[0])?o:(n[0]=Se(n[0]),r[t](...n))}function H(e,t,n=[]){S(),h();const r=Se(e)[t].apply(e,n);return m(),C(),r}const B=(0,r.fY)("__proto__,__v_isRef,__isVue"),G=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk));function q(e){(0,r.yk)(e)||(e=String(e));const t=Se(this);return F(t,"has",e),t.hasOwnProperty(e)}class W{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e["__v_skip"];const o=this._isReadonly,s=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return s;if("__v_raw"===t)return n===(o?s?pe:de:s?fe:ue).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=(0,r.kJ)(e);if(!o){let e;if(i&&(e=$[t]))return e;if("hasOwnProperty"===t)return q}const l=Reflect.get(e,t,Me(e)?e:n);return((0,r.yk)(t)?G.has(t):B(t))?l:(o||F(e,"get",t),s?l:Me(l)?i&&(0,r.S0)(t)?l:l.value:(0,r.Kn)(l)?o?ye(l):ge(l):l)}}class K extends W{constructor(e=!1){super(!1,e)}set(e,t,n,o){let s=e[t];if(!this._isShallow){const t=we(s);if(xe(n)||we(n)||(s=Se(s),n=Se(n)),!(0,r.kJ)(e)&&Me(s)&&!Me(n))return!t&&(s.value=n,!0)}const i=(0,r.kJ)(e)&&(0,r.S0)(t)?Number(t)e,ne=e=>Reflect.getPrototypeOf(e);function re(e,t,n){return function(...o){const s=this["__v_raw"],i=Se(s),l=(0,r._N)(i),c="entries"===e||e===Symbol.iterator&&l,a="keys"===e&&l,u=s[e](...o),f=n?te:t?Oe:Ee;return!t&&F(i,"iterate",a?T:I),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function se(e,t){const n={get(n){const o=this["__v_raw"],s=Se(o),i=Se(n);e||((0,r.aU)(n,i)&&F(s,"get",n),F(s,"get",i));const{has:l}=ne(s),c=t?te:e?Oe:Ee;return l.call(s,n)?c(o.get(n)):l.call(s,i)?c(o.get(i)):void(o!==s&&o.get(n))},get size(){const t=this["__v_raw"];return!e&&F(Se(t),"iterate",I),Reflect.get(t,"size",t)},has(t){const n=this["__v_raw"],o=Se(n),s=Se(t);return e||((0,r.aU)(t,s)&&F(o,"has",t),F(o,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)},forEach(n,r){const o=this,s=o["__v_raw"],i=Se(s),l=t?te:e?Oe:Ee;return!e&&F(i,"iterate",I),s.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}};(0,r.l7)(n,e?{add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear")}:{add(e){t||xe(e)||we(e)||(e=Se(e));const n=Se(this),r=ne(n),o=r.has.call(n,e);return o||(n.add(e),D(n,"add",e,e)),this},set(e,n){t||xe(n)||we(n)||(n=Se(n));const o=Se(this),{has:s,get:i}=ne(o);let l=s.call(o,e);l||(e=Se(e),l=s.call(o,e));const c=i.call(o,e);return o.set(e,n),l?(0,r.aU)(n,c)&&D(o,"set",e,n,c):D(o,"add",e,n),this},delete(e){const t=Se(this),{has:n,get:r}=ne(t);let o=n.call(t,e);o||(e=Se(e),o=n.call(t,e));const s=r?r.call(t,e):void 0,i=t.delete(e);return o&&D(t,"delete",e,void 0,s),i},clear(){const e=Se(this),t=0!==e.size,n=void 0,r=e.clear();return t&&D(e,"clear",void 0,void 0,n),r}});const o=["keys","values","entries",Symbol.iterator];return o.forEach((r=>{n[r]=re(r,e,t)})),n}function ie(e,t){const n=se(e,t);return(t,o,s)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,s)}const le={get:ie(!1,!1)},ce={get:ie(!1,!0)},ae={get:ie(!0,!1)};const ue=new WeakMap,fe=new WeakMap,de=new WeakMap,pe=new WeakMap;function he(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function me(e){return e["__v_skip"]||!Object.isExtensible(e)?0:he((0,r.W7)(e))}function ge(e){return we(e)?e:be(e,!1,X,le,ue)}function ve(e){return be(e,!1,ee,ce,fe)}function ye(e){return be(e,!0,Q,ae,de)}function be(e,t,n,o,s){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=me(e);if(0===i)return e;const l=s.get(e);if(l)return l;const c=new Proxy(e,2===i?o:n);return s.set(e,c),c}function ke(e){return we(e)?ke(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function we(e){return!(!e||!e["__v_isReadonly"])}function xe(e){return!(!e||!e["__v_isShallow"])}function _e(e){return!!e&&!!e["__v_raw"]}function Se(e){const t=e&&e["__v_raw"];return t?Se(t):e}function Ce(e){return!(0,r.RI)(e,"__v_skip")&&Object.isExtensible(e)&&(0,r.Nj)(e,"__v_skip",!0),e}const Ee=e=>(0,r.Kn)(e)?ge(e):e,Oe=e=>(0,r.Kn)(e)?ye(e):e;function Me(e){return!!e&&!0===e["__v_isRef"]}function Re(e){return Ae(e,!1)}function je(e){return Ae(e,!0)}function Ae(e,t){return Me(e)?e:new Ie(e,t)}class Ie{constructor(e,t){this.dep=new R,this["__v_isRef"]=!0,this["__v_isShallow"]=!1,this._rawValue=t?e:Se(e),this._value=t?e:Ee(e),this["__v_isShallow"]=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this["__v_isShallow"]||xe(e)||we(e);e=n?e:Se(e),(0,r.aU)(e,t)&&(this._rawValue=e,this._value=n?e:Ee(e),this.dep.trigger())}}function Te(e){return Me(e)?e.value:e}const Pe={get:(e,t,n)=>"__v_raw"===t?e:Te(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Fe(e){return ke(e)?e:new Proxy(e,Pe)}class De{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new R(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=O-1,this.next=void 0,this.effect=this,this["__v_isReadonly"]=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||s===this))return p(this,!0),!0}get value(){const e=this.dep.track();return b(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ne(e,t,n=!1){let o,s;(0,r.mf)(e)?o=e:(o=e.get,s=e.set);const i=new De(o,s,n);return i}const ze={},$e=new WeakMap;let Le;function Ue(e,t=!1,n=Le){if(n){let t=$e.get(n);t||$e.set(n,t=[]),t.push(e)}else 0}function Ze(e,t,n=r.kT){const{immediate:o,deep:s,once:i,scheduler:c,augmentJob:u,call:f}=n,d=e=>s?e:xe(e)||!1===s||0===s?Je(e,1):Je(e);let p,h,m,g,v=!1,y=!1;if(Me(e)?(h=()=>e.value,v=xe(e)):ke(e)?(h=()=>d(e),v=!0):(0,r.kJ)(e)?(y=!0,v=e.some((e=>ke(e)||xe(e))),h=()=>e.map((e=>Me(e)?e.value:ke(e)?d(e):(0,r.mf)(e)?f?f(e,2):e():void 0))):h=(0,r.mf)(e)?t?f?()=>f(e,2):e:()=>{if(m){S();try{m()}finally{C()}}const t=Le;Le=p;try{return f?f(e,3,[g]):e(g)}finally{Le=t}}:r.dG,t&&s){const e=h,t=!0===s?1/0:s;h=()=>Je(e(),t)}const b=l(),k=()=>{p.stop(),b&&b.active&&(0,r.Od)(b.effects,p)};if(i&&t){const e=t;t=(...t)=>{e(...t),k()}}let w=y?new Array(e.length).fill(ze):ze;const x=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(s||v||(y?e.some(((e,t)=>(0,r.aU)(e,w[t]))):(0,r.aU)(e,w))){m&&m();const n=Le;Le=p;try{const r=[e,w===ze?void 0:y&&w[0]===ze?[]:w,g];w=e,f?f(t,3,r):t(...r)}finally{Le=n}}}else p.run()};return u&&u(x),p=new a(h),p.scheduler=c?()=>c(x,!1):x,g=e=>Ue(e,!1,p),m=p.onStop=()=>{const e=$e.get(p);if(e){if(f)f(e,4);else for(const t of e)t();$e.delete(p)}},t?o?x(!0):w=p.run():c?c(x.bind(null,!0),!0):p.run(),k.pause=p.pause.bind(p),k.resume=p.resume.bind(p),k.stop=k,k}function Je(e,t=1/0,n){if(t<=0||!(0,r.Kn)(e)||e["__v_skip"])return e;if(n=n||new Set,n.has(e))return e;if(n.add(e),t--,Me(e))Je(e.value,t,n);else if((0,r.kJ)(e))for(let r=0;r{Je(e,t,n)}));else if((0,r.PO)(e)){for(const r in e)Je(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Je(e[r],t,n)}return e}},252:function(e,t,n){n.d(t,{$d:function(){return i},Ah:function(){return le},FN:function(){return kn},Fl:function(){return zn},HY:function(){return Lt},JJ:function(){return He},Ko:function(){return ye},LL:function(){return me},Q6:function(){return U},U2:function(){return $},Uk:function(){return an},Us:function(){return pt},WI:function(){return be},Wm:function(){return on},Y3:function(){return g},Y8:function(){return F},YP:function(){return St},_:function(){return rn},aZ:function(){return Z},bv:function(){return re},f3:function(){return Be},h:function(){return $n},iD:function(){return Yt},ic:function(){return se},j4:function(){return Xt},kq:function(){return un},nJ:function(){return N},nK:function(){return L},up:function(){return pe},w5:function(){return M},wg:function(){return Bt},wy:function(){return R}});var r=n(262),o=n(577);function s(e,t,n,r){try{return r?e(...r):e()}catch(o){l(o,t,n)}}function i(e,t,n,r){if((0,o.mf)(e)){const i=s(e,t,n,r);return i&&(0,o.tI)(i)&&i.catch((e=>{l(e,t,n)})),i}if((0,o.kJ)(e)){const o=[];for(let s=0;s>>1,o=a[r],s=_(o);s=_(n)?a.push(e):a.splice(v(t),0,e),e.flags|=1,b()}}function b(){m||(m=h.then(S))}function k(e){(0,o.kJ)(e)?f.push(...e):d&&-1===e.id?d.splice(p+1,0,e):1&e.flags||(f.push(e),e.flags|=1),b()}function w(e,t,n=u+1){for(0;n_(e)-_(t)));if(f.length=0,d)return void d.push(...e);for(d=e,p=0;pnull==e.id?2&e.flags?-1:1/0:e.id;function S(e){o.dG;try{for(u=0;u{r._d&&Wt(-1);const o=O(t);let s;try{s=e(...n)}finally{O(o),r._d&&Wt(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function R(e,t){if(null===C)return e;const n=Fn(C),s=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport;const T=Symbol("_leaveCb"),P=Symbol("_enterCb");function F(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return re((()=>{e.isMounted=!0})),ie((()=>{e.isUnmounting=!0})),e}const D=[Function,Array],N={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:D,onEnter:D,onAfterEnter:D,onEnterCancelled:D,onBeforeLeave:D,onLeave:D,onAfterLeave:D,onLeaveCancelled:D,onBeforeAppear:D,onAppear:D,onAfterAppear:D,onAppearCancelled:D};function z(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function $(e,t,n,r,s){const{appear:l,mode:c,persisted:a=!1,onBeforeEnter:u,onEnter:f,onAfterEnter:d,onEnterCancelled:p,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:y,onAppear:b,onAfterAppear:k,onAppearCancelled:w}=t,x=String(e.key),_=z(n,e),S=(e,t)=>{e&&i(e,r,9,t)},C=(e,t)=>{const n=t[1];S(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},E={mode:c,persisted:a,beforeEnter(t){let r=u;if(!n.isMounted){if(!l)return;r=y||u}t[T]&&t[T](!0);const o=_[x];o&&en(e,o)&&o.el[T]&&o.el[T](),S(r,[t])},enter(e){let t=f,r=d,o=p;if(!n.isMounted){if(!l)return;t=b||f,r=k||d,o=w||p}let s=!1;const i=e[P]=t=>{s||(s=!0,S(t?o:r,[e]),E.delayedLeave&&E.delayedLeave(),e[P]=void 0)};t?C(t,[e,i]):i()},leave(t,r){const o=String(e.key);if(t[P]&&t[P](!0),n.isUnmounting)return r();S(h,[t]);let s=!1;const i=t[T]=n=>{s||(s=!0,r(),S(n?v:g,[t]),t[T]=void 0,_[o]===e&&delete _[o])};_[o]=e,m?C(m,[t,i]):i()},clone(e){const o=$(e,t,n,r,s);return s&&s(o),o}};return E}function L(e,t){6&e.shapeFlag&&e.component?(e.transition=t,L(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function U(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;s(0,o.l7)({name:e.name},t,{setup:e}))():e}function J(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function V(e,t,n,i,l=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>V(e,t&&((0,o.kJ)(t)?t[r]:t),n,i,l)));if(H(i)&&!l)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&V(e,t,n,i.component.subTree));const c=4&i.shapeFlag?Fn(i.component):i.el,a=l?null:c,{i:u,r:f}=e;const d=t&&t.r,p=u.refs===o.kT?u.refs={}:u.refs,h=u.setupState,m=(0,r.IU)(h),g=h===o.kT?()=>!1:e=>(0,o.RI)(m,e);if(null!=d&&d!==f&&((0,o.HD)(d)?(p[d]=null,g(d)&&(h[d]=null)):(0,r.dq)(d)&&(d.value=null)),(0,o.mf)(f))s(f,u,12,[a,p]);else{const t=(0,o.HD)(f),s=(0,r.dq)(f);if(t||s){const r=()=>{if(e.f){const n=t?g(f)?h[f]:p[f]:f.value;l?(0,o.kJ)(n)&&(0,o.Od)(n,c):(0,o.kJ)(n)?n.includes(c)||n.push(c):t?(p[f]=[c],g(f)&&(h[f]=p[f])):(f.value=[c],e.k&&(p[e.k]=f.value))}else t?(p[f]=a,g(f)&&(h[f]=a)):s&&(f.value=a,e.k&&(p[e.k]=a))};a?(r.id=-1,dt(r,n)):r()}else 0}}(0,o.E9)().requestIdleCallback,(0,o.E9)().cancelIdleCallback;const H=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;const B=e=>e.type.__isKeepAlive;RegExp,RegExp;function G(e,t){return(0,o.kJ)(e)?e.some((e=>G(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&(e.lastIndex=0,e.test(t))}function q(e,t){K(e,"a",t)}function W(e,t){K(e,"da",t)}function K(e,t,n=bn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(ee(t,r,n),n){let e=n.parent;while(e&&e.parent)B(e.parent.vnode)&&Y(r,t,n,e),e=e.parent}}function Y(e,t,n,r){const s=ee(t,e,r,!0);le((()=>{(0,o.Od)(r[t],s)}),n)}function X(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Q(e){return 128&e.shapeFlag?e.ssContent:e}function ee(e,t,n=bn,o=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{(0,r.Jd)();const s=_n(n),l=i(t,n,e,o);return s(),(0,r.lk)(),l});return o?s.unshift(l):s.push(l),l}}const te=e=>(t,n=bn)=>{Mn&&"sp"!==e||ee(e,((...e)=>t(...e)),n)},ne=te("bm"),re=te("m"),oe=te("bu"),se=te("u"),ie=te("bum"),le=te("um"),ce=te("sp"),ae=te("rtg"),ue=te("rtc");function fe(e,t=bn){ee("ec",e,t)}const de="components";function pe(e,t){return ge(de,e,!0,t)||e}const he=Symbol.for("v-ndc");function me(e){return(0,o.HD)(e)?ge(de,e,!1)||e:e||he}function ge(e,t,n=!0,r=!1){const s=C||bn;if(s){const n=s.type;if(e===de){const e=Dn(n,!1);if(e&&(e===t||e===(0,o._A)(t)||e===(0,o.kC)((0,o._A)(t))))return n}const i=ve(s[e]||n[e],t)||ve(s.appContext[e],t);return!i&&r?n:i}}function ve(e,t){return e&&(e[t]||e[(0,o._A)(t)]||e[(0,o.kC)((0,o._A)(t))])}function ye(e,t,n,s){let i;const l=n&&n[s],c=(0,o.kJ)(e);if(c||(0,o.HD)(e)){const n=c&&(0,r.PG)(e);let o=!1,s=!1;n&&(o=!(0,r.yT)(e),s=(0,r.$y)(e),e=(0,r.XB)(e)),i=new Array(e.length);for(let c=0,a=e.length;ct(e,n,void 0,l&&l[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;r!Qt(e)||e.type!==Zt&&!(e.type===Lt&&!ke(e.children))))?e:null}const we=e=>e?Cn(e)?Fn(e):we(e.parent):null,xe=(0,o.l7)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>we(e.parent),$root:e=>we(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ae(e),$forceUpdate:e=>e.f||(e.f=()=>{y(e.update)}),$nextTick:e=>e.n||(e.n=g.bind(e.proxy)),$watch:e=>Et.bind(e)}),_e=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Se={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:s,data:i,props:l,accessCache:c,type:a,appContext:u}=e;let f;if("$"!==t[0]){const r=c[t];if(void 0!==r)switch(r){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(_e(s,t))return c[t]=1,s[t];if(i!==o.kT&&(0,o.RI)(i,t))return c[t]=2,i[t];if((f=e.propsOptions[0])&&(0,o.RI)(f,t))return c[t]=3,l[t];if(n!==o.kT&&(0,o.RI)(n,t))return c[t]=4,n[t];Ee&&(c[t]=0)}}const d=xe[t];let p,h;return d?("$attrs"===t&&(0,r.j)(e.attrs,"get",""),d(e)):(p=a.__cssModules)&&(p=p[t])?p:n!==o.kT&&(0,o.RI)(n,t)?(c[t]=4,n[t]):(h=u.config.globalProperties,(0,o.RI)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return _e(s,t)?(s[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},l){let c;return!!n[l]||e!==o.kT&&(0,o.RI)(e,l)||_e(t,l)||(c=i[0])&&(0,o.RI)(c,l)||(0,o.RI)(r,l)||(0,o.RI)(xe,l)||(0,o.RI)(s.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ce(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Ee=!0;function Oe(e){const t=Ae(e),n=e.proxy,s=e.ctx;Ee=!1,t.beforeCreate&&Re(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:c,watch:a,provide:u,inject:f,created:d,beforeMount:p,mounted:h,beforeUpdate:m,updated:g,activated:v,deactivated:y,beforeDestroy:b,beforeUnmount:k,destroyed:w,unmounted:x,render:_,renderTracked:S,renderTriggered:C,errorCaptured:E,serverPrefetch:O,expose:M,inheritAttrs:R,components:j,directives:A,filters:I}=t,T=null;if(f&&Me(f,s,T),c)for(const r in c){const e=c[r];(0,o.mf)(e)&&(s[r]=e.bind(n))}if(i){0;const t=i.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(Ee=!0,l)for(const r in l){const e=l[r],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const i=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,c=zn({get:t,set:i});Object.defineProperty(s,r,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e})}if(a)for(const r in a)je(a[r],s,n,r);if(u){const e=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{He(t,e[t])}))}function P(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Re(d,e,"c"),P(ne,p),P(re,h),P(oe,m),P(se,g),P(q,v),P(W,y),P(fe,E),P(ue,S),P(ae,C),P(ie,k),P(le,x),P(ce,O),(0,o.kJ)(M))if(M.length){const t=e.exposed||(e.exposed={});M.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})}))}else e.exposed||(e.exposed={});_&&e.render===o.dG&&(e.render=_),null!=R&&(e.inheritAttrs=R),j&&(e.components=j),A&&(e.directives=A),O&&J(e)}function Me(e,t,n=o.dG){(0,o.kJ)(e)&&(e=De(e));for(const s in e){const n=e[s];let i;i=(0,o.Kn)(n)?"default"in n?Be(n.from||s,n.default,!0):Be(n.from||s):Be(n),(0,r.dq)(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[s]=i}}function Re(e,t,n){i((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function je(e,t,n,r){let s=r.includes(".")?Ot(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&St(s,n)}else if((0,o.mf)(e))St(s,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>je(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&St(s,r,e)}else 0}function Ae(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let a;return c?a=c:s.length||n||r?(a={},s.length&&s.forEach((e=>Ie(a,e,l,!0))),Ie(a,t,l)):a=t,(0,o.Kn)(t)&&i.set(t,a),a}function Ie(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Ie(e,s,n,!0),o&&o.forEach((t=>Ie(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=Te[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Te={data:Pe,props:$e,emits:$e,methods:ze,computed:ze,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:ze,directives:ze,watch:Le,provide:Pe,inject:Fe};function Pe(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function Fe(e,t){return ze(De(e),De(t))}function De(e){if((0,o.kJ)(e)){const t={};for(let n=0;n1)return n&&(0,o.mf)(t)?t.call(r&&r.proxy):t}else 0}const Ge={},qe=()=>Object.create(Ge),We=e=>Object.getPrototypeOf(e)===Ge;function Ke(e,t,n,o=!1){const s={},i=qe();e.propsDefaults=Object.create(null),Xe(e,t,s,i);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);n?e.props=o?s:(0,r.Um)(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ye(e,t,n,s){const{props:i,attrs:l,vnode:{patchFlag:c}}=e,a=(0,r.IU)(i),[u]=e.propsOptions;let f=!1;if(!(s||c>0)||16&c){let r;Xe(e,t,i,l)&&(f=!0);for(const s in a)t&&((0,o.RI)(t,s)||(r=(0,o.rs)(s))!==s&&(0,o.RI)(t,r))||(u?!n||void 0===n[s]&&void 0===n[r]||(i[s]=Qe(u,a,s,void 0,e,!0)):delete i[s]);if(l!==a)for(const e in l)t&&(0,o.RI)(t,e)||(delete l[e],f=!0)}else if(8&c){const n=e.vnode.dynamicProps;for(let r=0;r{a=!0;const[n,r]=tt(e,t,!0);(0,o.l7)(l,n),r&&c.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!i&&!a)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(i))for(let f=0;f"_"===e||"__"===e||"_ctx"===e||"$stable"===e,ot=e=>(0,o.kJ)(e)?e.map(fn):[fn(e)],st=(e,t,n)=>{if(t._n)return t;const r=M(((...e)=>ot(t(...e))),n);return r._c=!1,r},it=(e,t,n)=>{const r=e._ctx;for(const s in e){if(rt(s))continue;const n=e[s];if((0,o.mf)(n))t[s]=st(s,n,r);else if(null!=n){0;const e=ot(n);t[s]=()=>e}}},lt=(e,t)=>{const n=ot(t);e.slots.default=()=>n},ct=(e,t,n)=>{for(const r in t)!n&&rt(r)||(e[r]=t[r])},at=(e,t,n)=>{const r=e.slots=qe();if(32&e.vnode.shapeFlag){const e=t.__;e&&(0,o.Nj)(r,"__",e,!0);const s=t._;s?(ct(r,t,n),n&&(0,o.Nj)(r,"_",s,!0)):it(t,r)}else t&<(e,t)},ut=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,l=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:ct(s,t,n):(i=!t.$stable,it(t,s)),l=t}else t&&(lt(e,t),l={default:1});if(i)for(const o in s)rt(o)||null!=l[o]||delete s[o]};function ft(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&((0,o.E9)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const dt=$t;function pt(e){return ht(e)}function ht(e,t){ft();const n=(0,o.E9)();n.__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:c,createText:a,createComment:u,setText:f,setElementText:d,parentNode:p,nextSibling:h,setScopeId:m=o.dG,insertStaticContent:g}=e,v=(e,t,n,r=null,o=null,s=null,i,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!en(e,t)&&(r=Q(e),q(e,o,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:f}=t;switch(a){case Ut:b(e,t,n,r);break;case Zt:k(e,t,n,r);break;case Jt:null==e&&_(t,n,r,i);break;case Lt:F(e,t,n,r,o,s,i,l,c);break;default:1&f?E(e,t,n,r,o,s,i,l,c):6&f?D(e,t,n,r,o,s,i,l,c):(64&f||128&f)&&a.process(e,t,n,r,o,s,i,l,c,ne)}null!=u&&o?V(u,e&&e.ref,s,t||e,!t):null==u&&e&&null!=e.ref&&V(e.ref,null,s,e,!0)},b=(e,t,n,r)=>{if(null==e)s(t.el=a(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},k=(e,t,n,r)=>{null==e?s(t.el=u(t.children||""),n,r):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=h(e),s(e,n,r),e=o;s(t,n,r)},C=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=h(e),i(e),e=n;i(t)},E=(e,t,n,r,o,s,i,l,c)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?O(t,n,r,o,s,i,l,c):I(e,t,o,s,i,l,c)},O=(e,t,n,r,i,a,u,f)=>{let p,h;const{props:m,shapeFlag:g,transition:v,dirs:y}=e;if(p=e.el=c(e.type,a,m&&m.is,m),8&g?d(p,e.children):16&g&&R(e.children,p,null,r,i,mt(e,a),u,f),y&&j(e,null,r,"created"),M(p,e,e.scopeId,u,r),m){for(const e in m)"value"===e||(0,o.Gg)(e)||l(p,e,null,m[e],a,r);"value"in m&&l(p,"value",null,m.value,a),(h=m.onVnodeBeforeMount)&&mn(h,r,e)}y&&j(e,null,r,"beforeMount");const b=vt(i,v);b&&v.beforeEnter(p),s(p,t,n),((h=m&&m.onVnodeMounted)||b||y)&&dt((()=>{h&&mn(h,r,e),b&&v.enter(p),y&&j(e,null,r,"mounted")}),i)},M=(e,t,n,r,o)=>{if(n&&m(e,n),r)for(let s=0;s{for(let a=c;a{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:f,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||o.kT,m=t.props||o.kT;let g;if(n&>(n,!1),(g=m.onVnodeBeforeUpdate)&&mn(g,n,t,e),p&&j(t,e,n,"beforeUpdate"),n&>(n,!0),(h.innerHTML&&null==m.innerHTML||h.textContent&&null==m.textContent)&&d(a,""),f?T(e.dynamicChildren,f,a,n,r,mt(t,s),i):c||U(e,t,a,null,n,r,mt(t,s),i,!1),u>0){if(16&u)P(a,h,m,n,s);else if(2&u&&h.class!==m.class&&l(a,"class",null,m.class,s),4&u&&l(a,"style",h.style,m.style,s),8&u){const e=t.dynamicProps;for(let t=0;t{g&&mn(g,n,t,e),p&&j(t,e,n,"updated")}),r)},T=(e,t,n,r,o,s,i)=>{for(let l=0;l{if(t!==n){if(t!==o.kT)for(const i in t)(0,o.Gg)(i)||i in n||l(e,i,t[i],null,s,r);for(const i in n){if((0,o.Gg)(i))continue;const c=n[i],a=t[i];c!==a&&"value"!==i&&l(e,i,a,c,s,r)}"value"in n&&l(e,"value",t.value,n.value,s)}},F=(e,t,n,r,o,i,l,c,u)=>{const f=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(s(f,n,r),s(d,n,r),R(t.children||[],n,d,o,i,l,c,u)):p>0&&64&p&&h&&e.dynamicChildren?(T(e.dynamicChildren,h,n,o,i,l,c),(null!=t.key||o&&t===o.subTree)&&yt(e,t,!0)):U(e,t,n,d,o,i,l,c,u)},D=(e,t,n,r,o,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,c):N(t,n,r,o,s,i,c):z(e,t,c)},N=(e,t,n,r,o,s,i)=>{const l=e.component=yn(e,r,o);if(B(e)&&(l.ctx.renderer=ne),Rn(l,!1,i),l.asyncDep){if(o&&o.registerDep(l,$,i),!e.el){const r=l.subTree=on(Zt);k(null,r,t,n),e.placeholder=r.el}}else $(l,e,t,n,o,s,i)},z=(e,t,n)=>{const r=t.component=e.component;if(Ft(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void L(r,t,n);r.next=t,r.update()}else t.el=e.el,r.vnode=t},$=(e,t,n,s,i,l,c)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:u}=e;{const n=kt(e);if(n)return t&&(t.el=u.el,L(e,t,c)),void n.asyncDep.then((()=>{e.isUnmounted||a()}))}let f,d=t;0,gt(e,!1),t?(t.el=u.el,L(e,t,c)):t=u,n&&(0,o.ir)(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&mn(f,s,t,u),gt(e,!0);const h=It(e);0;const m=e.subTree;e.subTree=h,v(m,h,p(m.el),Q(m),e,i,l),t.el=h.el,null===d&&Nt(e,h.el),r&&dt(r,i),(f=t.props&&t.props.onVnodeUpdated)&&dt((()=>mn(f,s,t,u)),i)}else{let r;const{el:c,props:a}=t,{bm:u,m:f,parent:d,root:p,type:h}=e,m=H(t);if(gt(e,!1),u&&(0,o.ir)(u),!m&&(r=a&&a.onVnodeBeforeMount)&&mn(r,d,t),gt(e,!0),c&&oe){const t=()=>{e.subTree=It(e),oe(c,e.subTree,e,i,null)};m&&h.__asyncHydrate?h.__asyncHydrate(c,e,t):t()}else{p.ce&&!1!==p.ce._def.shadowRoot&&p.ce._injectChildStyle(h);const r=e.subTree=It(e);0,v(null,r,n,s,e,i,l),t.el=r.el}if(f&&dt(f,i),!m&&(r=a&&a.onVnodeMounted)){const e=t;dt((()=>mn(r,d,e)),i)}(256&t.shapeFlag||d&&H(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&dt(e.a,i),e.isMounted=!0,t=n=s=null}};e.scope.on();const u=e.effect=new r.qq(a);e.scope.off();const f=e.update=u.run.bind(u),d=e.job=u.runIfDirty.bind(u);d.i=e,d.id=e.uid,u.scheduler=()=>y(d),gt(e,!0),f()},L=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,Ye(e,t.props,o,n),ut(e,t.children,n),(0,r.Jd)(),w(e),(0,r.lk)()},U=(e,t,n,r,o,s,i,l,c=!1)=>{const a=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void J(a,f,n,r,o,s,i,l,c);if(256&p)return void Z(a,f,n,r,o,s,i,l,c)}8&h?(16&u&&X(a,o,s),f!==a&&d(n,f)):16&u?16&h?J(a,f,n,r,o,s,i,l,c):X(a,o,s,!0):(8&u&&d(n,""),16&h&&R(f,n,r,o,s,i,l,c))},Z=(e,t,n,r,s,i,l,c,a)=>{e=e||o.Z6,t=t||o.Z6;const u=e.length,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?X(e,s,i,!0,!1,d):R(t,n,r,s,i,l,c,a,d)},J=(e,t,n,r,s,i,l,c,a)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;while(u<=d&&u<=p){const r=e[u],o=t[u]=a?dn(t[u]):fn(t[u]);if(!en(r,o))break;v(r,o,n,null,s,i,l,c,a),u++}while(u<=d&&u<=p){const r=e[d],o=t[p]=a?dn(t[p]):fn(t[p]);if(!en(r,o))break;v(r,o,n,null,s,i,l,c,a),d--,p--}if(u>d){if(u<=p){const e=p+1,o=ep)while(u<=d)q(e[u],s,i,!0),u++;else{const h=u,m=u,g=new Map;for(u=m;u<=p;u++){const e=t[u]=a?dn(t[u]):fn(t[u]);null!=e.key&&g.set(e.key,u)}let y,b=0;const k=p-m+1;let w=!1,x=0;const _=new Array(k);for(u=0;u=k){q(r,s,i,!0);continue}let o;if(null!=r.key)o=g.get(r.key);else for(y=m;y<=p;y++)if(0===_[y-m]&&en(r,t[y])){o=y;break}void 0===o?q(r,s,i,!0):(_[o-m]=u+1,o>=x?x=o:w=!0,v(r,t[o],n,null,s,i,l,c,a),b++)}const S=w?bt(_):o.Z6;for(y=S.length-1,u=k-1;u>=0;u--){const e=m+u,o=t[e],d=t[e+1],p=e+1{const{el:l,type:c,transition:a,children:u,shapeFlag:f}=e;if(6&f)return void G(e.component.subTree,t,n,r);if(128&f)return void e.suspense.move(t,n,r);if(64&f)return void c.move(e,t,n,ne);if(c===Lt){s(l,t,n);for(let e=0;ea.enter(l)),o);else{const{leave:r,delayLeave:o,afterLeave:c}=a,u=()=>{e.ctx.isUnmounted?i(l):s(l,t,n)},f=()=>{r(l,(()=>{u(),c&&c()}))};o?o(l,u,f):f()}else s(l,t,n)},q=(e,t,n,o=!1,s=!1)=>{const{type:i,props:l,ref:c,children:a,dynamicChildren:u,shapeFlag:f,patchFlag:d,dirs:p,cacheIndex:h}=e;if(-2===d&&(s=!1),null!=c&&((0,r.Jd)(),V(c,null,n,e,!0),(0,r.lk)()),null!=h&&(t.renderCache[h]=void 0),256&f)return void t.ctx.deactivate(e);const m=1&f&&p,g=!H(e);let v;if(g&&(v=l&&l.onVnodeBeforeUnmount)&&mn(v,t,e),6&f)Y(e.component,n,o);else{if(128&f)return void e.suspense.unmount(n,o);m&&j(e,null,t,"beforeUnmount"),64&f?e.type.remove(e,t,n,ne,o):u&&!u.hasOnce&&(i!==Lt||d>0&&64&d)?X(u,t,n,!1,!0):(i===Lt&&384&d||!s&&16&f)&&X(a,t,n),o&&W(e)}(g&&(v=l&&l.onVnodeUnmounted)||m)&&dt((()=>{v&&mn(v,t,e),m&&j(e,null,t,"unmounted")}),n)},W=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Lt)return void K(n,r);if(t===Jt)return void C(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;while(e!==t)n=h(e),i(e),e=n;i(t)},Y=(e,t,n)=>{const{bum:r,scope:s,job:i,subTree:l,um:c,m:a,a:u,parent:f,slots:{__:d}}=e;wt(a),wt(u),r&&(0,o.ir)(r),f&&(0,o.kJ)(d)&&d.forEach((e=>{f.renderCache[e]=void 0})),s.stop(),i&&(i.flags|=8,q(l,e,t,n)),c&&dt(c,t),dt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i{if(6&e.shapeFlag)return Q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[A];return n?h(n):t};let ee=!1;const te=(e,t,n)=>{null==e?t._vnode&&q(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ee||(ee=!0,w(),x(),ee=!1)},ne={p:v,um:q,m:G,r:W,mt:N,mc:R,pc:U,pbc:T,n:Q,o:e};let re,oe;return t&&([re,oe]=t(ne)),{render:te,hydrate:re,createApp:Je(te,re)}}function mt({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function vt(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yt(e,t,n=!1){const r=e.children,s=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];while(s-- >0)n[s]=i,i=t[i];return n}function kt(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kt(t)}function wt(e){if(e)for(let t=0;t{{const e=Be(xt);return e}};function St(e,t,n){return Ct(e,t,n)}function Ct(e,t,n=o.kT){const{immediate:s,deep:l,flush:c,once:a}=n;const u=(0,o.l7)({},n);const f=t&&s||!t&&"post"!==c;let d;if(Mn)if("sync"===c){const e=_t();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!f){const e=()=>{};return e.stop=o.dG,e.resume=o.dG,e.pause=o.dG,e}const p=bn;u.call=(e,t,n)=>i(e,p,t,n);let h=!1;"post"===c?u.scheduler=e=>{dt(e,p&&p.suspense)}:"sync"!==c&&(h=!0,u.scheduler=(e,t)=>{t?e():y(e)}),u.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const m=(0,r.YP)(e,t,u);return Mn&&(d?d.push(m):f&&m()),m}function Et(e,t,n){const r=this.proxy,s=(0,o.HD)(e)?e.includes(".")?Ot(r,e):()=>r[e]:e.bind(r,r);let i;(0,o.mf)(t)?i=t:(i=t.handler,n=t);const l=_n(this),c=Ct(s,i.bind(r),n);return l(),c}function Ot(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${(0,o._A)(t)}Modifiers`]||e[`${(0,o.rs)(t)}Modifiers`];function Rt(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||o.kT;let s=n;const l=t.startsWith("update:"),c=l&&Mt(r,t.slice(7));let a;c&&(c.trim&&(s=n.map((e=>(0,o.HD)(e)?e.trim():e))),c.number&&(s=n.map(o.h5)));let u=r[a=(0,o.hR)(t)]||r[a=(0,o.hR)((0,o._A)(t))];!u&&l&&(u=r[a=(0,o.hR)((0,o.rs)(t))]),u&&i(u,e,6,s);const f=r[a+"Once"];if(f){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,i(f,e,6,s)}}function jt(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(void 0!==s)return s;const i=e.emits;let l={},c=!1;if(!(0,o.mf)(e)){const r=e=>{const n=jt(e,t,!0);n&&(c=!0,(0,o.l7)(l,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return i||c?((0,o.kJ)(i)?i.forEach((e=>l[e]=null)):(0,o.l7)(l,i),(0,o.Kn)(e)&&r.set(e,l),l):((0,o.Kn)(e)&&r.set(e,null),null)}function At(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}function It(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:c,attrs:a,emit:u,render:f,renderCache:d,props:p,data:h,setupState:m,ctx:g,inheritAttrs:v}=e,y=O(e);let b,k;try{if(4&n.shapeFlag){const e=s||r,t=e;b=fn(f.call(t,e,d,p,m,h,g)),k=a}else{const e=t;0,b=fn(e.length>1?e(p,{attrs:a,slots:c,emit:u}):e(p,null)),k=t.props?a:Tt(a)}}catch(x){Vt.length=0,l(x,e,1),b=on(Zt)}let w=b;if(k&&!1!==v){const e=Object.keys(k),{shapeFlag:t}=w;e.length&&7&t&&(i&&e.some(o.tR)&&(k=Pt(k,i)),w=cn(w,k,!1,!0))}return n.dirs&&(w=cn(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&L(w,n.transition),b=w,O(y),b}const Tt=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},Pt=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function Ft(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||Dt(r,i,a):!!i);if(1024&c)return!0;if(16&c)return r?Dt(r,i,a):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function $t(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):k(e)}const Lt=Symbol.for("v-fgt"),Ut=Symbol.for("v-txt"),Zt=Symbol.for("v-cmt"),Jt=Symbol.for("v-stc"),Vt=[];let Ht=null;function Bt(e=!1){Vt.push(Ht=e?null:[])}function Gt(){Vt.pop(),Ht=Vt[Vt.length-1]||null}let qt=1;function Wt(e,t=!1){qt+=e,e<0&&Ht&&t&&(Ht.hasOnce=!0)}function Kt(e){return e.dynamicChildren=qt>0?Ht||o.Z6:null,Gt(),qt>0&&Ht&&Ht.push(e),e}function Yt(e,t,n,r,o,s){return Kt(rn(e,t,n,r,o,s,!0))}function Xt(e,t,n,r,o){return Kt(on(e,t,n,r,o,!0))}function Qt(e){return!!e&&!0===e.__v_isVNode}function en(e,t){return e.type===t.type&&e.key===t.key}const tn=({key:e})=>null!=e?e:null,nn=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:C,r:e,k:t,f:!!n}:e:null);function rn(e,t=null,n=null,r=0,s=null,i=(e===Lt?0:1),l=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tn(t),ref:t&&nn(t),scopeId:E,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:C};return c?(pn(a,n),128&i&&e.normalize(a)):n&&(a.shapeFlag|=(0,o.HD)(n)?8:16),qt>0&&!l&&Ht&&(a.patchFlag>0||6&i)&&32!==a.patchFlag&&Ht.push(a),a}const on=sn;function sn(e,t=null,n=null,s=0,i=null,l=!1){if(e&&e!==he||(e=Zt),Qt(e)){const r=cn(e,t,!0);return n&&pn(r,n),qt>0&&!l&&Ht&&(6&r.shapeFlag?Ht[Ht.indexOf(e)]=r:Ht.push(r)),r.patchFlag=-2,r}if(Nn(e)&&(e=e.__vccOpts),t){t=ln(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const c=(0,o.HD)(e)?1:zt(e)?128:I(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return rn(e,t,n,s,i,c,l,!0)}function ln(e){return e?(0,r.X3)(e)||We(e)?(0,o.l7)({},e):e:null}function cn(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:l,children:c,transition:a}=e,u=t?hn(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&tn(u),ref:t&&t.ref?n&&i?(0,o.kJ)(i)?i.concat(nn(t)):[i,nn(t)]:nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Lt?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&L(f,a.clone(f)),f}function an(e=" ",t=0){return on(Ut,null,e,t)}function un(e="",t=!1){return t?(Bt(),Xt(Zt,null,e)):on(Zt,null,e)}function fn(e){return null==e||"boolean"===typeof e?on(Zt):(0,o.kJ)(e)?on(Lt,null,e.slice()):Qt(e)?dn(e):on(Ut,null,String(e))}function dn(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:cn(e)}function pn(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),pn(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||We(t)?3===r&&C&&(1===C.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=C}}else(0,o.mf)(t)?(t={default:t,_ctx:C},n=32):(t=String(t),64&r?(n=16,t=[an(t)]):n=8);e.children=t,e.shapeFlag|=n}function hn(...e){const t={};for(let n=0;nbn||C;let wn,xn;{const e=(0,o.E9)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};wn=t("__VUE_INSTANCE_SETTERS__",(e=>bn=e)),xn=t("__VUE_SSR_SETTERS__",(e=>Mn=e))}const _n=e=>{const t=bn;return wn(e),e.scope.on(),()=>{e.scope.off(),wn(t)}},Sn=()=>{bn&&bn.scope.off(),wn(null)};function Cn(e){return 4&e.vnode.shapeFlag}let En,On,Mn=!1;function Rn(e,t=!1,n=!1){t&&xn(t);const{props:r,children:o}=e.vnode,s=Cn(e);Ke(e,r,s,t),at(e,o,n||t);const i=s?jn(e,t):void 0;return t&&xn(!1),i}function jn(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Se);const{setup:i}=n;if(i){(0,r.Jd)();const n=e.setupContext=i.length>1?Pn(e):null,c=_n(e),a=s(i,e,0,[e.props,n]),u=(0,o.tI)(a);if((0,r.lk)(),c(),!u&&!e.sp||H(e)||J(e),u){if(a.then(Sn,Sn),t)return a.then((n=>{An(e,n,t)})).catch((t=>{l(t,e,0)}));e.asyncDep=a}else An(e,a,t)}else In(e,t)}function An(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),In(e,n)}function In(e,t,n){const s=e.type;if(!e.render){if(!t&&En&&!s.render){const t=s.template||Ae(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:i,compilerOptions:l}=s,c=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:i},r),l);s.render=En(t,c)}}e.render=s.render||o.dG,On&&On(e)}{const t=_n(e);(0,r.Jd)();try{Oe(e)}finally{(0,r.lk)(),t()}}}const Tn={get(e,t){return(0,r.j)(e,"get",""),e[t]}};function Pn(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,Tn),slots:e.slots,emit:e.emit,expose:t}}function Fn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in xe?xe[n](e):void 0},has(e,t){return t in e||t in xe}})):e.proxy}function Dn(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function Nn(e){return(0,o.mf)(e)&&"__vccOpts"in e}const zn=(e,t)=>{const n=(0,r.Fl)(e,t,Mn);return n};function $n(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Qt(t)?on(e,null,[t]):on(e,t):on(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Qt(n)&&(n=[n]),on(e,t,n))}const Ln="3.5.18"},963:function(e,t,n){n.d(t,{D2:function(){return X},bM:function(){return H},iM:function(){return K},ri:function(){return ne}});var r=n(252),o=n(577);n(262); +**/let o,r;class s{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=o,!t&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let t,e;if(this._isPaused=!0,this.scopes)for(t=0,e=this.scopes.length;t0&&0===--this._on&&(o=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){let e,n;for(this._active=!1,e=0,n=this.effects.length;e0)return;if(h){let t=h;h=void 0;while(t){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let t;while(u){let n=u;u=void 0;while(n){const i=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(e){t||(t=e)}n=i}}if(t)throw t}function m(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function b(t){let e,n=t.depsTail,i=n;while(i){const t=i.prevDep;-1===i.version?(i===n&&(n=t),v(i),w(i)):e=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=t}t.deps=e,t.depsTail=n}function y(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(x(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function x(t){if(4&t.flags&&!(16&t.flags))return;if(t.flags&=-17,t.globalVersion===T)return;if(t.globalVersion=T,!t.isSSR&&128&t.flags&&(!t.deps&&!t._dirty||!y(t)))return;t.flags|=2;const e=t.dep,n=r,o=_;r=t,_=!0;try{m(t);const s=t.fn(t._value);(0===e.version||(0,i.aU)(s,t._value))&&(t.flags|=128,t._value=s,e.version++)}catch(s){throw e.version++,s}finally{r=n,_=o,b(t),t.flags&=-3}}function v(t,e=!1){const{dep:n,prevSub:i,nextSub:o}=t;if(i&&(i.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let t=n.computed.deps;t;t=t.nextDep)v(t,!0)}e||--n.sc||!n.map||n.map.delete(n.key)}function w(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let _=!0;const k=[];function M(){k.push(_),_=!1}function S(){const t=k.pop();_=void 0===t||t}function D(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const t=r;r=void 0;try{e()}finally{r=t}}}let T=0;class C{constructor(t,e){this.sub=t,this.dep=e,this.version=e.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class P{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!r||!_||r===this.computed)return;let e=this.activeLink;if(void 0===e||e.sub!==r)e=this.activeLink=new C(r,this),r.deps?(e.prevDep=r.depsTail,r.depsTail.nextDep=e,r.depsTail=e):r.deps=r.depsTail=e,O(e);else if(-1===e.version&&(e.version=this.version,e.nextDep)){const t=e.nextDep;t.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=t),e.prevDep=r.depsTail,e.nextDep=void 0,r.depsTail.nextDep=e,r.depsTail=e,r.deps===e&&(r.deps=t)}return e}trigger(t){this.version++,T++,this.notify(t)}notify(t){p();try{0;for(let t=this.subs;t;t=t.prevSub)t.sub.notify()&&t.sub.dep.notify()}finally{g()}}}function O(t){if(t.dep.sc++,4&t.sub.flags){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let t=e.deps;t;t=t.nextDep)O(t)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const A=new WeakMap,E=Symbol(""),I=Symbol(""),R=Symbol("");function L(t,e,n){if(_&&r){let e=A.get(t);e||A.set(t,e=new Map);let i=e.get(n);i||(e.set(n,i=new P),i.map=e,i.key=n),i.track()}}function F(t,e,n,o,r,s){const a=A.get(t);if(!a)return void T++;const l=t=>{t&&t.trigger()};if(p(),"clear"===e)a.forEach(l);else{const r=(0,i.kJ)(t),s=r&&(0,i.S0)(n);if(r&&"length"===n){const t=Number(o);a.forEach(((e,n)=>{("length"===n||n===R||!(0,i.yk)(n)&&n>=t)&&l(e)}))}else switch((void 0!==n||a.has(void 0))&&l(a.get(n)),s&&l(a.get(R)),e){case"add":r?s&&l(a.get("length")):(l(a.get(E)),(0,i._N)(t)&&l(a.get(I)));break;case"delete":r||(l(a.get(E)),(0,i._N)(t)&&l(a.get(I)));break;case"set":(0,i._N)(t)&&l(a.get(E));break}}g()}function j(t){const e=Mt(t);return e===t?e:(L(e,"iterate",R),_t(t)?e:e.map(Dt))}function z(t){return L(t=Mt(t),"iterate",R),t}const W={__proto__:null,[Symbol.iterator](){return N(this,Symbol.iterator,Dt)},concat(...t){return j(this).concat(...t.map((t=>(0,i.kJ)(t)?j(t):t)))},entries(){return N(this,"entries",(t=>(t[1]=Dt(t[1]),t)))},every(t,e){return B(this,"every",t,e,void 0,arguments)},filter(t,e){return B(this,"filter",t,e,(t=>t.map(Dt)),arguments)},find(t,e){return B(this,"find",t,e,Dt,arguments)},findIndex(t,e){return B(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return B(this,"findLast",t,e,Dt,arguments)},findLastIndex(t,e){return B(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return B(this,"forEach",t,e,void 0,arguments)},includes(...t){return V(this,"includes",t)},indexOf(...t){return V(this,"indexOf",t)},join(t){return j(this).join(t)},lastIndexOf(...t){return V(this,"lastIndexOf",t)},map(t,e){return B(this,"map",t,e,void 0,arguments)},pop(){return $(this,"pop")},push(...t){return $(this,"push",t)},reduce(t,...e){return Y(this,"reduce",t,e)},reduceRight(t,...e){return Y(this,"reduceRight",t,e)},shift(){return $(this,"shift")},some(t,e){return B(this,"some",t,e,void 0,arguments)},splice(...t){return $(this,"splice",t)},toReversed(){return j(this).toReversed()},toSorted(t){return j(this).toSorted(t)},toSpliced(...t){return j(this).toSpliced(...t)},unshift(...t){return $(this,"unshift",t)},values(){return N(this,"values",Dt)}};function N(t,e,n){const i=z(t),o=i[e]();return i===t||_t(t)||(o._next=o.next,o.next=()=>{const t=o._next();return t.value&&(t.value=n(t.value)),t}),o}const H=Array.prototype;function B(t,e,n,i,o,r){const s=z(t),a=s!==t&&!_t(t),l=s[e];if(l!==H[e]){const e=l.apply(t,r);return a?Dt(e):e}let c=n;s!==t&&(a?c=function(e,i){return n.call(this,Dt(e),i,t)}:n.length>2&&(c=function(e,i){return n.call(this,e,i,t)}));const u=l.call(s,c,i);return a&&o?o(u):u}function Y(t,e,n,i){const o=z(t);let r=n;return o!==t&&(_t(t)?n.length>3&&(r=function(e,i,o){return n.call(this,e,i,o,t)}):r=function(e,i,o){return n.call(this,e,Dt(i),o,t)}),o[e](r,...i)}function V(t,e,n){const i=Mt(t);L(i,"iterate",R);const o=i[e](...n);return-1!==o&&!1!==o||!kt(n[0])?o:(n[0]=Mt(n[0]),i[e](...n))}function $(t,e,n=[]){M(),p();const i=Mt(t)[e].apply(t,n);return g(),S(),i}const X=(0,i.fY)("__proto__,__v_isRef,__isVue"),q=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(i.yk));function U(t){(0,i.yk)(t)||(t=String(t));const e=Mt(this);return L(e,"has",t),e.hasOwnProperty(t)}class G{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,n){if("__v_skip"===e)return t["__v_skip"];const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===e)return!o;if("__v_isReadonly"===e)return o;if("__v_isShallow"===e)return r;if("__v_raw"===e)return n===(o?r?ft:dt:r?ht:ut).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=(0,i.kJ)(t);if(!o){let t;if(s&&(t=W[e]))return t;if("hasOwnProperty"===e)return U}const a=Reflect.get(t,e,Ct(t)?t:n);return((0,i.yk)(e)?q.has(e):X(e))?a:(o||L(t,"get",e),r?a:Ct(a)?s&&(0,i.S0)(e)?a:a.value:(0,i.Kn)(a)?o?yt(a):mt(a):a)}}class Z extends G{constructor(t=!1){super(!1,t)}set(t,e,n,o){let r=t[e];if(!this._isShallow){const e=wt(r);if(_t(n)||wt(n)||(r=Mt(r),n=Mt(n)),!(0,i.kJ)(t)&&Ct(r)&&!Ct(n))return!e&&(r.value=n,!0)}const s=(0,i.kJ)(t)&&(0,i.S0)(e)?Number(e)t,nt=t=>Reflect.getPrototypeOf(t);function it(t,e,n){return function(...o){const r=this["__v_raw"],s=Mt(r),a=(0,i._N)(s),l="entries"===t||t===Symbol.iterator&&a,c="keys"===t&&a,u=r[t](...o),h=n?et:e?Tt:Dt;return!e&&L(s,"iterate",c?I:E),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:l?[h(t[0]),h(t[1])]:h(t),done:e}},[Symbol.iterator](){return this}}}}function ot(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function rt(t,e){const n={get(n){const o=this["__v_raw"],r=Mt(o),s=Mt(n);t||((0,i.aU)(n,s)&&L(r,"get",n),L(r,"get",s));const{has:a}=nt(r),l=e?et:t?Tt:Dt;return a.call(r,n)?l(o.get(n)):a.call(r,s)?l(o.get(s)):void(o!==r&&o.get(n))},get size(){const e=this["__v_raw"];return!t&&L(Mt(e),"iterate",E),Reflect.get(e,"size",e)},has(e){const n=this["__v_raw"],o=Mt(n),r=Mt(e);return t||((0,i.aU)(e,r)&&L(o,"has",e),L(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)},forEach(n,i){const o=this,r=o["__v_raw"],s=Mt(r),a=e?et:t?Tt:Dt;return!t&&L(s,"iterate",E),r.forEach(((t,e)=>n.call(i,a(t),a(e),o)))}};(0,i.l7)(n,t?{add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear")}:{add(t){e||_t(t)||wt(t)||(t=Mt(t));const n=Mt(this),i=nt(n),o=i.has.call(n,t);return o||(n.add(t),F(n,"add",t,t)),this},set(t,n){e||_t(n)||wt(n)||(n=Mt(n));const o=Mt(this),{has:r,get:s}=nt(o);let a=r.call(o,t);a||(t=Mt(t),a=r.call(o,t));const l=s.call(o,t);return o.set(t,n),a?(0,i.aU)(n,l)&&F(o,"set",t,n,l):F(o,"add",t,n),this},delete(t){const e=Mt(this),{has:n,get:i}=nt(e);let o=n.call(e,t);o||(t=Mt(t),o=n.call(e,t));const r=i?i.call(e,t):void 0,s=e.delete(t);return o&&F(e,"delete",t,void 0,r),s},clear(){const t=Mt(this),e=0!==t.size,n=void 0,i=t.clear();return e&&F(t,"clear",void 0,void 0,n),i}});const o=["keys","values","entries",Symbol.iterator];return o.forEach((i=>{n[i]=it(i,t,e)})),n}function st(t,e){const n=rt(t,e);return(e,o,r)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get((0,i.RI)(n,o)&&o in e?n:e,o,r)}const at={get:st(!1,!1)},lt={get:st(!1,!0)},ct={get:st(!0,!1)};const ut=new WeakMap,ht=new WeakMap,dt=new WeakMap,ft=new WeakMap;function pt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:pt((0,i.W7)(t))}function mt(t){return wt(t)?t:xt(t,!1,Q,at,ut)}function bt(t){return xt(t,!1,tt,lt,ht)}function yt(t){return xt(t,!0,K,ct,dt)}function xt(t,e,n,o,r){if(!(0,i.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=gt(t);if(0===s)return t;const a=r.get(t);if(a)return a;const l=new Proxy(t,2===s?o:n);return r.set(t,l),l}function vt(t){return wt(t)?vt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function wt(t){return!(!t||!t["__v_isReadonly"])}function _t(t){return!(!t||!t["__v_isShallow"])}function kt(t){return!!t&&!!t["__v_raw"]}function Mt(t){const e=t&&t["__v_raw"];return e?Mt(e):t}function St(t){return!(0,i.RI)(t,"__v_skip")&&Object.isExtensible(t)&&(0,i.Nj)(t,"__v_skip",!0),t}const Dt=t=>(0,i.Kn)(t)?mt(t):t,Tt=t=>(0,i.Kn)(t)?yt(t):t;function Ct(t){return!!t&&!0===t["__v_isRef"]}function Pt(t){return At(t,!1)}function Ot(t){return At(t,!0)}function At(t,e){return Ct(t)?t:new Et(t,e)}class Et{constructor(t,e){this.dep=new P,this["__v_isRef"]=!0,this["__v_isShallow"]=!1,this._rawValue=e?t:Mt(t),this._value=e?t:Dt(t),this["__v_isShallow"]=e}get value(){return this.dep.track(),this._value}set value(t){const e=this._rawValue,n=this["__v_isShallow"]||_t(t)||wt(t);t=n?t:Mt(t),(0,i.aU)(t,e)&&(this._rawValue=t,this._value=n?t:Dt(t),this.dep.trigger())}}function It(t){return Ct(t)?t.value:t}const Rt={get:(t,e,n)=>"__v_raw"===e?t:It(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const o=t[e];return Ct(o)&&!Ct(n)?(o.value=n,!0):Reflect.set(t,e,n,i)}};function Lt(t){return vt(t)?t:new Proxy(t,Rt)}class Ft{constructor(t,e,n){this.fn=t,this.setter=e,this._value=void 0,this.dep=new P(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=T-1,this.next=void 0,this.effect=this,this["__v_isReadonly"]=!e,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags||r===this))return f(this,!0),!0}get value(){const t=this.dep.track();return x(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function jt(t,e,n=!1){let o,r;(0,i.mf)(t)?o=t:(o=t.get,r=t.set);const s=new Ft(o,r,n);return s}const zt={},Wt=new WeakMap;let Nt;function Ht(t,e=!1,n=Nt){if(n){let e=Wt.get(n);e||Wt.set(n,e=[]),e.push(t)}else 0}function Bt(t,e,n=i.kT){const{immediate:o,deep:r,once:s,scheduler:l,augmentJob:u,call:h}=n,d=t=>r?t:_t(t)||!1===r||0===r?Yt(t,1):Yt(t);let f,p,g,m,b=!1,y=!1;if(Ct(t)?(p=()=>t.value,b=_t(t)):vt(t)?(p=()=>d(t),b=!0):(0,i.kJ)(t)?(y=!0,b=t.some((t=>vt(t)||_t(t))),p=()=>t.map((t=>Ct(t)?t.value:vt(t)?d(t):(0,i.mf)(t)?h?h(t,2):t():void 0))):p=(0,i.mf)(t)?e?h?()=>h(t,2):t:()=>{if(g){M();try{g()}finally{S()}}const e=Nt;Nt=f;try{return h?h(t,3,[m]):t(m)}finally{Nt=e}}:i.dG,e&&r){const t=p,e=!0===r?1/0:r;p=()=>Yt(t(),e)}const x=a(),v=()=>{f.stop(),x&&x.active&&(0,i.Od)(x.effects,f)};if(s&&e){const t=e;e=(...e)=>{t(...e),v()}}let w=y?new Array(t.length).fill(zt):zt;const _=t=>{if(1&f.flags&&(f.dirty||t))if(e){const t=f.run();if(r||b||(y?t.some(((t,e)=>(0,i.aU)(t,w[e]))):(0,i.aU)(t,w))){g&&g();const n=Nt;Nt=f;try{const i=[t,w===zt?void 0:y&&w[0]===zt?[]:w,m];w=t,h?h(e,3,i):e(...i)}finally{Nt=n}}}else f.run()};return u&&u(_),f=new c(p),f.scheduler=l?()=>l(_,!1):_,m=t=>Ht(t,!1,f),g=f.onStop=()=>{const t=Wt.get(f);if(t){if(h)h(t,4);else for(const e of t)e();Wt.delete(f)}},e?o?_(!0):w=f.run():l?l(_.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function Yt(t,e=1/0,n){if(e<=0||!(0,i.Kn)(t)||t["__v_skip"])return t;if(n=n||new Set,n.has(t))return t;if(n.add(t),e--,Ct(t))Yt(t.value,e,n);else if((0,i.kJ)(t))for(let i=0;i{Yt(t,e,n)}));else if((0,i.PO)(t)){for(const i in t)Yt(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Yt(t[i],e,n)}return t}},252:function(t,e,n){n.d(e,{$d:function(){return s},Ah:function(){return at},FN:function(){return vn},Fl:function(){return zn},HY:function(){return Ne},JJ:function(){return $t},Ko:function(){return yt},LL:function(){return gt},Q6:function(){return H},U2:function(){return W},Uk:function(){return cn},Us:function(){return fe},WI:function(){return xt},Wm:function(){return rn},Y3:function(){return m},Y8:function(){return L},YP:function(){return Me},_:function(){return on},aZ:function(){return B},bv:function(){return it},f3:function(){return Xt},h:function(){return Wn},i8:function(){return Nn},iD:function(){return Je},ic:function(){return rt},j4:function(){return Qe},kq:function(){return un},nJ:function(){return j},nK:function(){return N},up:function(){return ft},w5:function(){return C},wg:function(){return Xe},wy:function(){return P}});var i=n(262),o=n(577);function r(t,e,n,i){try{return i?t(...i):t()}catch(o){a(o,e,n)}}function s(t,e,n,i){if((0,o.mf)(t)){const s=r(t,e,n,i);return s&&(0,o.tI)(s)&&s.catch((t=>{a(t,e,n)})),s}if((0,o.kJ)(t)){const o=[];for(let r=0;r>>1,o=c[i],r=k(o);r=k(n)?c.push(t):c.splice(b(e),0,t),t.flags|=1,x()}}function x(){g||(g=p.then(M))}function v(t){(0,o.kJ)(t)?h.push(...t):d&&-1===t.id?d.splice(f+1,0,t):1&t.flags||(h.push(t),t.flags|=1),x()}function w(t,e,n=u+1){for(0;nk(t)-k(e)));if(h.length=0,d)return void d.push(...t);for(d=t,f=0;fnull==t.id?2&t.flags?-1:1/0:t.id;function M(t){o.dG;try{for(u=0;u{i._d&&Ge(-1);const o=T(e);let r;try{r=t(...n)}finally{T(o),i._d&&Ge(1)}return r};return i._n=!0,i._c=!0,i._d=!0,i}function P(t,e){if(null===S)return t;const n=Ln(S),r=t.dirs||(t.dirs=[]);for(let s=0;st.__isTeleport;const I=Symbol("_leaveCb"),R=Symbol("_enterCb");function L(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return it((()=>{t.isMounted=!0})),st((()=>{t.isUnmounting=!0})),t}const F=[Function,Array],j={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:F,onEnter:F,onAfterEnter:F,onEnterCancelled:F,onBeforeLeave:F,onLeave:F,onAfterLeave:F,onLeaveCancelled:F,onBeforeAppear:F,onAppear:F,onAfterAppear:F,onAppearCancelled:F};function z(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function W(t,e,n,i,r){const{appear:a,mode:l,persisted:c=!1,onBeforeEnter:u,onEnter:h,onAfterEnter:d,onEnterCancelled:f,onBeforeLeave:p,onLeave:g,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:y,onAppear:x,onAfterAppear:v,onAppearCancelled:w}=e,_=String(t.key),k=z(n,t),M=(t,e)=>{t&&s(t,i,9,e)},S=(t,e)=>{const n=e[1];M(t,e),(0,o.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},D={mode:l,persisted:c,beforeEnter(e){let i=u;if(!n.isMounted){if(!a)return;i=y||u}e[I]&&e[I](!0);const o=k[_];o&&tn(t,o)&&o.el[I]&&o.el[I](),M(i,[e])},enter(t){let e=h,i=d,o=f;if(!n.isMounted){if(!a)return;e=x||h,i=v||d,o=w||f}let r=!1;const s=t[R]=e=>{r||(r=!0,M(e?o:i,[t]),D.delayedLeave&&D.delayedLeave(),t[R]=void 0)};e?S(e,[t,s]):s()},leave(e,i){const o=String(t.key);if(e[R]&&e[R](!0),n.isUnmounting)return i();M(p,[e]);let r=!1;const s=e[I]=n=>{r||(r=!0,i(),M(n?b:m,[e]),e[I]=void 0,k[o]===t&&delete k[o])};k[o]=t,g?S(g,[e,s]):s()},clone(t){const o=W(t,e,n,i,r);return r&&r(o),o}};return D}function N(t,e){6&t.shapeFlag&&t.component?(t.transition=e,N(t.component.subTree,e)):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function H(t,e=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r(0,o.l7)({name:t.name},e,{setup:t}))():t}function Y(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function V(t,e,n,s,a=!1){if((0,o.kJ)(t))return void t.forEach(((t,i)=>V(t,e&&((0,o.kJ)(e)?e[i]:e),n,s,a)));if($(s)&&!a)return void(512&s.shapeFlag&&s.type.__asyncResolved&&s.component.subTree.component&&V(t,e,n,s.component.subTree));const l=4&s.shapeFlag?Ln(s.component):s.el,c=a?null:l,{i:u,r:h}=t;const d=e&&e.r,f=u.refs===o.kT?u.refs={}:u.refs,p=u.setupState,g=(0,i.IU)(p),m=p===o.kT?()=>!1:t=>(0,o.RI)(g,t);if(null!=d&&d!==h&&((0,o.HD)(d)?(f[d]=null,m(d)&&(p[d]=null)):(0,i.dq)(d)&&(d.value=null)),(0,o.mf)(h))r(h,u,12,[c,f]);else{const e=(0,o.HD)(h),r=(0,i.dq)(h);if(e||r){const i=()=>{if(t.f){const n=e?m(h)?p[h]:f[h]:h.value;a?(0,o.kJ)(n)&&(0,o.Od)(n,l):(0,o.kJ)(n)?n.includes(l)||n.push(l):e?(f[h]=[l],m(h)&&(p[h]=f[h])):(h.value=[l],t.k&&(f[t.k]=h.value))}else e?(f[h]=c,m(h)&&(p[h]=c)):r&&(h.value=c,t.k&&(f[t.k]=c))};c?(i.id=-1,de(i,n)):i()}else 0}}(0,o.E9)().requestIdleCallback,(0,o.E9)().cancelIdleCallback;const $=t=>!!t.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;const X=t=>t.type.__isKeepAlive;RegExp,RegExp;function q(t,e){return(0,o.kJ)(t)?t.some((t=>q(t,e))):(0,o.HD)(t)?t.split(",").includes(e):!!(0,o.Kj)(t)&&(t.lastIndex=0,t.test(e))}function U(t,e){Z(t,"a",e)}function G(t,e){Z(t,"da",e)}function Z(t,e,n=xn){const i=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(tt(e,i,n),n){let t=n.parent;while(t&&t.parent)X(t.parent.vnode)&&J(i,e,n,t),t=t.parent}}function J(t,e,n,i){const r=tt(e,t,i,!0);at((()=>{(0,o.Od)(i[e],r)}),n)}function Q(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function K(t){return 128&t.shapeFlag?t.ssContent:t}function tt(t,e,n=xn,o=!1){if(n){const r=n[t]||(n[t]=[]),a=e.__weh||(e.__weh=(...o)=>{(0,i.Jd)();const r=kn(n),a=s(e,n,t,o);return r(),(0,i.lk)(),a});return o?r.unshift(a):r.push(a),a}}const et=t=>(e,n=xn)=>{Cn&&"sp"!==t||tt(t,((...t)=>e(...t)),n)},nt=et("bm"),it=et("m"),ot=et("bu"),rt=et("u"),st=et("bum"),at=et("um"),lt=et("sp"),ct=et("rtg"),ut=et("rtc");function ht(t,e=xn){tt("ec",t,e)}const dt="components";function ft(t,e){return mt(dt,t,!0,e)||t}const pt=Symbol.for("v-ndc");function gt(t){return(0,o.HD)(t)?mt(dt,t,!1)||t:t||pt}function mt(t,e,n=!0,i=!1){const r=S||xn;if(r){const n=r.type;if(t===dt){const t=Fn(n,!1);if(t&&(t===e||t===(0,o._A)(e)||t===(0,o.kC)((0,o._A)(e))))return n}const s=bt(r[t]||n[t],e)||bt(r.appContext[t],e);return!s&&i?n:s}}function bt(t,e){return t&&(t[e]||t[(0,o._A)(e)]||t[(0,o.kC)((0,o._A)(e))])}function yt(t,e,n,r){let s;const a=n&&n[r],l=(0,o.kJ)(t);if(l||(0,o.HD)(t)){const n=l&&(0,i.PG)(t);let o=!1,r=!1;n&&(o=!(0,i.yT)(t),r=(0,i.$y)(t),t=(0,i.XB)(t)),s=new Array(t.length);for(let l=0,c=t.length;le(t,n,void 0,a&&a[n])));else{const n=Object.keys(t);s=new Array(n.length);for(let i=0,o=n.length;i!Ke(t)||t.type!==Be&&!(t.type===Ne&&!vt(t.children))))?t:null}const wt=t=>t?Sn(t)?Ln(t):wt(t.parent):null,_t=(0,o.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>wt(t.parent),$root:t=>wt(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>At(t),$forceUpdate:t=>t.f||(t.f=()=>{y(t.update)}),$nextTick:t=>t.n||(t.n=m.bind(t.proxy)),$watch:t=>De.bind(t)}),kt=(t,e)=>t!==o.kT&&!t.__isScriptSetup&&(0,o.RI)(t,e),Mt={get({_:t},e){if("__v_skip"===e)return!0;const{ctx:n,setupState:r,data:s,props:a,accessCache:l,type:c,appContext:u}=t;let h;if("$"!==e[0]){const i=l[e];if(void 0!==i)switch(i){case 1:return r[e];case 2:return s[e];case 4:return n[e];case 3:return a[e]}else{if(kt(r,e))return l[e]=1,r[e];if(s!==o.kT&&(0,o.RI)(s,e))return l[e]=2,s[e];if((h=t.propsOptions[0])&&(0,o.RI)(h,e))return l[e]=3,a[e];if(n!==o.kT&&(0,o.RI)(n,e))return l[e]=4,n[e];Dt&&(l[e]=0)}}const d=_t[e];let f,p;return d?("$attrs"===e&&(0,i.j)(t.attrs,"get",""),d(t)):(f=c.__cssModules)&&(f=f[e])?f:n!==o.kT&&(0,o.RI)(n,e)?(l[e]=4,n[e]):(p=u.config.globalProperties,(0,o.RI)(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:i,setupState:r,ctx:s}=t;return kt(r,e)?(r[e]=n,!0):i!==o.kT&&(0,o.RI)(i,e)?(i[e]=n,!0):!(0,o.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:r,propsOptions:s}},a){let l;return!!n[a]||t!==o.kT&&(0,o.RI)(t,a)||kt(e,a)||(l=s[0])&&(0,o.RI)(l,a)||(0,o.RI)(i,a)||(0,o.RI)(_t,a)||(0,o.RI)(r.config.globalProperties,a)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,o.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function St(t){return(0,o.kJ)(t)?t.reduce(((t,e)=>(t[e]=null,t)),{}):t}let Dt=!0;function Tt(t){const e=At(t),n=t.proxy,r=t.ctx;Dt=!1,e.beforeCreate&&Pt(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:l,watch:c,provide:u,inject:h,created:d,beforeMount:f,mounted:p,beforeUpdate:g,updated:m,activated:b,deactivated:y,beforeDestroy:x,beforeUnmount:v,destroyed:w,unmounted:_,render:k,renderTracked:M,renderTriggered:S,errorCaptured:D,serverPrefetch:T,expose:C,inheritAttrs:P,components:O,directives:A,filters:E}=e,I=null;if(h&&Ct(h,r,I),l)for(const i in l){const t=l[i];(0,o.mf)(t)&&(r[i]=t.bind(n))}if(s){0;const e=s.call(n,n);0,(0,o.Kn)(e)&&(t.data=(0,i.qj)(e))}if(Dt=!0,a)for(const i in a){const t=a[i],e=(0,o.mf)(t)?t.bind(n,n):(0,o.mf)(t.get)?t.get.bind(n,n):o.dG;0;const s=!(0,o.mf)(t)&&(0,o.mf)(t.set)?t.set.bind(n):o.dG,l=zn({get:e,set:s});Object.defineProperty(r,i,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(c)for(const i in c)Ot(c[i],r,n,i);if(u){const t=(0,o.mf)(u)?u.call(n):u;Reflect.ownKeys(t).forEach((e=>{$t(e,t[e])}))}function R(t,e){(0,o.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(d&&Pt(d,t,"c"),R(nt,f),R(it,p),R(ot,g),R(rt,m),R(U,b),R(G,y),R(ht,D),R(ut,M),R(ct,S),R(st,v),R(at,_),R(lt,T),(0,o.kJ)(C))if(C.length){const e=t.exposed||(t.exposed={});C.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e,enumerable:!0})}))}else t.exposed||(t.exposed={});k&&t.render===o.dG&&(t.render=k),null!=P&&(t.inheritAttrs=P),O&&(t.components=O),A&&(t.directives=A),T&&Y(t)}function Ct(t,e,n=o.dG){(0,o.kJ)(t)&&(t=Ft(t));for(const r in t){const n=t[r];let s;s=(0,o.Kn)(n)?"default"in n?Xt(n.from||r,n.default,!0):Xt(n.from||r):Xt(n),(0,i.dq)(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t}):e[r]=s}}function Pt(t,e,n){s((0,o.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Ot(t,e,n,i){let r=i.includes(".")?Te(n,i):()=>n[i];if((0,o.HD)(t)){const n=e[t];(0,o.mf)(n)&&Me(r,n)}else if((0,o.mf)(t))Me(r,t.bind(n));else if((0,o.Kn)(t))if((0,o.kJ)(t))t.forEach((t=>Ot(t,e,n,i)));else{const i=(0,o.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,o.mf)(i)&&Me(r,i,t)}else 0}function At(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:s,config:{optionMergeStrategies:a}}=t.appContext,l=s.get(e);let c;return l?c=l:r.length||n||i?(c={},r.length&&r.forEach((t=>Et(c,t,a,!0))),Et(c,e,a)):c=e,(0,o.Kn)(e)&&s.set(e,c),c}function Et(t,e,n,i=!1){const{mixins:o,extends:r}=e;r&&Et(t,r,n,!0),o&&o.forEach((e=>Et(t,e,n,!0)));for(const s in e)if(i&&"expose"===s);else{const i=It[s]||n&&n[s];t[s]=i?i(t[s],e[s]):e[s]}return t}const It={data:Rt,props:Wt,emits:Wt,methods:zt,computed:zt,beforeCreate:jt,created:jt,beforeMount:jt,mounted:jt,beforeUpdate:jt,updated:jt,beforeDestroy:jt,beforeUnmount:jt,destroyed:jt,unmounted:jt,activated:jt,deactivated:jt,errorCaptured:jt,serverPrefetch:jt,components:zt,directives:zt,watch:Nt,provide:Rt,inject:Lt};function Rt(t,e){return e?t?function(){return(0,o.l7)((0,o.mf)(t)?t.call(this,this):t,(0,o.mf)(e)?e.call(this,this):e)}:e:t}function Lt(t,e){return zt(Ft(t),Ft(e))}function Ft(t){if((0,o.kJ)(t)){const e={};for(let n=0;n1)return n&&(0,o.mf)(e)?e.call(i&&i.proxy):e}else 0}const qt={},Ut=()=>Object.create(qt),Gt=t=>Object.getPrototypeOf(t)===qt;function Zt(t,e,n,o=!1){const r={},s=Ut();t.propsDefaults=Object.create(null),Qt(t,e,r,s);for(const i in t.propsOptions[0])i in r||(r[i]=void 0);n?t.props=o?r:(0,i.Um)(r):t.type.props?t.props=r:t.props=s,t.attrs=s}function Jt(t,e,n,r){const{props:s,attrs:a,vnode:{patchFlag:l}}=t,c=(0,i.IU)(s),[u]=t.propsOptions;let h=!1;if(!(r||l>0)||16&l){let i;Qt(t,e,s,a)&&(h=!0);for(const r in c)e&&((0,o.RI)(e,r)||(i=(0,o.rs)(r))!==r&&(0,o.RI)(e,i))||(u?!n||void 0===n[r]&&void 0===n[i]||(s[r]=Kt(u,c,r,void 0,t,!0)):delete s[r]);if(a!==c)for(const t in a)e&&(0,o.RI)(e,t)||(delete a[t],h=!0)}else if(8&l){const n=t.vnode.dynamicProps;for(let i=0;i{c=!0;const[n,i]=ee(t,e,!0);(0,o.l7)(a,n),i&&l.push(...i)};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}if(!s&&!c)return(0,o.Kn)(t)&&i.set(t,o.Z6),o.Z6;if((0,o.kJ)(s))for(let h=0;h"_"===t||"__"===t||"_ctx"===t||"$stable"===t,oe=t=>(0,o.kJ)(t)?t.map(hn):[hn(t)],re=(t,e,n)=>{if(e._n)return e;const i=C(((...t)=>oe(e(...t))),n);return i._c=!1,i},se=(t,e,n)=>{const i=t._ctx;for(const r in t){if(ie(r))continue;const n=t[r];if((0,o.mf)(n))e[r]=re(r,n,i);else if(null!=n){0;const t=oe(n);e[r]=()=>t}}},ae=(t,e)=>{const n=oe(e);t.slots.default=()=>n},le=(t,e,n)=>{for(const i in e)!n&&ie(i)||(t[i]=e[i])},ce=(t,e,n)=>{const i=t.slots=Ut();if(32&t.vnode.shapeFlag){const t=e.__;t&&(0,o.Nj)(i,"__",t,!0);const r=e._;r?(le(i,e,n),n&&(0,o.Nj)(i,"_",r,!0)):se(e,i)}else e&&ae(t,e)},ue=(t,e,n)=>{const{vnode:i,slots:r}=t;let s=!0,a=o.kT;if(32&i.shapeFlag){const t=e._;t?n&&1===t?s=!1:le(r,e,n):(s=!e.$stable,se(e,r)),a=e}else e&&(ae(t,e),a={default:1});if(s)for(const o in r)ie(o)||null!=a[o]||delete r[o]};function he(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&((0,o.E9)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const de=We;function fe(t){return pe(t)}function pe(t,e){he();const n=(0,o.E9)();n.__VUE__=!0;const{insert:r,remove:s,patchProp:a,createElement:l,createText:c,createComment:u,setText:h,setElementText:d,parentNode:f,nextSibling:p,setScopeId:g=o.dG,insertStaticContent:m}=t,b=(t,e,n,i=null,o=null,r=null,s,a=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!tn(t,e)&&(i=K(t),U(t,o,r,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:u,shapeFlag:h}=e;switch(c){case He:x(t,e,n,i);break;case Be:v(t,e,n,i);break;case Ye:null==t&&k(e,n,i,s);break;case Ne:L(t,e,n,i,o,r,s,a,l);break;default:1&h?D(t,e,n,i,o,r,s,a,l):6&h?F(t,e,n,i,o,r,s,a,l):(64&h||128&h)&&c.process(t,e,n,i,o,r,s,a,l,nt)}null!=u&&o?V(u,t&&t.ref,r,e||t,!e):null==u&&t&&null!=t.ref&&V(t.ref,null,r,t,!0)},x=(t,e,n,i)=>{if(null==t)r(e.el=c(e.children),n,i);else{const n=e.el=t.el;e.children!==t.children&&h(n,e.children)}},v=(t,e,n,i)=>{null==t?r(e.el=u(e.children||""),n,i):e.el=t.el},k=(t,e,n,i)=>{[t.el,t.anchor]=m(t.children,e,n,i,t.el,t.anchor)},M=({el:t,anchor:e},n,i)=>{let o;while(t&&t!==e)o=p(t),r(t,n,i),t=o;r(e,n,i)},S=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=p(t),s(t),t=n;s(e)},D=(t,e,n,i,o,r,s,a,l)=>{"svg"===e.type?s="svg":"math"===e.type&&(s="mathml"),null==t?T(e,n,i,o,r,s,a,l):E(t,e,o,r,s,a,l)},T=(t,e,n,i,s,c,u,h)=>{let f,p;const{props:g,shapeFlag:m,transition:b,dirs:y}=t;if(f=t.el=l(t.type,c,g&&g.is,g),8&m?d(f,t.children):16&m&&P(t.children,f,null,i,s,ge(t,c),u,h),y&&O(t,null,i,"created"),C(f,t,t.scopeId,u,i),g){for(const t in g)"value"===t||(0,o.Gg)(t)||a(f,t,null,g[t],c,i);"value"in g&&a(f,"value",null,g.value,c),(p=g.onVnodeBeforeMount)&&gn(p,i,t)}y&&O(t,null,i,"beforeMount");const x=be(s,b);x&&b.beforeEnter(f),r(f,e,n),((p=g&&g.onVnodeMounted)||x||y)&&de((()=>{p&&gn(p,i,t),x&&b.enter(f),y&&O(t,null,i,"mounted")}),s)},C=(t,e,n,i,o)=>{if(n&&g(t,n),i)for(let r=0;r{for(let c=l;c{const c=e.el=t.el;let{patchFlag:u,dynamicChildren:h,dirs:f}=e;u|=16&t.patchFlag;const p=t.props||o.kT,g=e.props||o.kT;let m;if(n&&me(n,!1),(m=g.onVnodeBeforeUpdate)&&gn(m,n,e,t),f&&O(e,t,n,"beforeUpdate"),n&&me(n,!0),(p.innerHTML&&null==g.innerHTML||p.textContent&&null==g.textContent)&&d(c,""),h?I(t.dynamicChildren,h,c,n,i,ge(e,r),s):l||H(t,e,c,null,n,i,ge(e,r),s,!1),u>0){if(16&u)R(c,p,g,n,r);else if(2&u&&p.class!==g.class&&a(c,"class",null,g.class,r),4&u&&a(c,"style",p.style,g.style,r),8&u){const t=e.dynamicProps;for(let e=0;e{m&&gn(m,n,e,t),f&&O(e,t,n,"updated")}),i)},I=(t,e,n,i,o,r,s)=>{for(let a=0;a{if(e!==n){if(e!==o.kT)for(const s in e)(0,o.Gg)(s)||s in n||a(t,s,e[s],null,r,i);for(const s in n){if((0,o.Gg)(s))continue;const l=n[s],c=e[s];l!==c&&"value"!==s&&a(t,s,c,l,r,i)}"value"in n&&a(t,"value",e.value,n.value,r)}},L=(t,e,n,i,o,s,a,l,u)=>{const h=e.el=t?t.el:c(""),d=e.anchor=t?t.anchor:c("");let{patchFlag:f,dynamicChildren:p,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(r(h,n,i),r(d,n,i),P(e.children||[],n,d,o,s,a,l,u)):f>0&&64&f&&p&&t.dynamicChildren?(I(t.dynamicChildren,p,n,o,s,a,l),(null!=e.key||o&&e===o.subTree)&&ye(t,e,!0)):H(t,e,n,d,o,s,a,l,u)},F=(t,e,n,i,o,r,s,a,l)=>{e.slotScopeIds=a,null==t?512&e.shapeFlag?o.ctx.activate(e,n,i,s,l):j(e,n,i,o,r,s,l):z(t,e,l)},j=(t,e,n,i,o,r,s)=>{const a=t.component=yn(t,i,o);if(X(t)&&(a.ctx.renderer=nt),Pn(a,!1,s),a.asyncDep){if(o&&o.registerDep(a,W,s),!t.el){const i=a.subTree=rn(Be);v(null,i,e,n),t.placeholder=i.el}}else W(a,t,e,n,o,r,s)},z=(t,e,n)=>{const i=e.component=t.component;if(Le(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void N(i,e,n);i.next=e,i.update()}else e.el=t.el,i.vnode=e},W=(t,e,n,r,s,a,l)=>{const c=()=>{if(t.isMounted){let{next:e,bu:n,u:i,parent:r,vnode:u}=t;{const n=ve(t);if(n)return e&&(e.el=u.el,N(t,e,l)),void n.asyncDep.then((()=>{t.isUnmounted||c()}))}let h,d=e;0,me(t,!1),e?(e.el=u.el,N(t,e,l)):e=u,n&&(0,o.ir)(n),(h=e.props&&e.props.onVnodeBeforeUpdate)&&gn(h,r,e,u),me(t,!0);const p=Ee(t);0;const g=t.subTree;t.subTree=p,b(g,p,f(g.el),K(g),t,s,a),e.el=p.el,null===d&&je(t,p.el),i&&de(i,s),(h=e.props&&e.props.onVnodeUpdated)&&de((()=>gn(h,r,e,u)),s)}else{let i;const{el:l,props:c}=e,{bm:u,m:h,parent:d,root:f,type:p}=t,g=$(e);if(me(t,!1),u&&(0,o.ir)(u),!g&&(i=c&&c.onVnodeBeforeMount)&&gn(i,d,e),me(t,!0),l&&ot){const e=()=>{t.subTree=Ee(t),ot(l,t.subTree,t,s,null)};g&&p.__asyncHydrate?p.__asyncHydrate(l,t,e):e()}else{f.ce&&!1!==f.ce._def.shadowRoot&&f.ce._injectChildStyle(p);const i=t.subTree=Ee(t);0,b(null,i,n,r,t,s,a),e.el=i.el}if(h&&de(h,s),!g&&(i=c&&c.onVnodeMounted)){const t=e;de((()=>gn(i,d,t)),s)}(256&e.shapeFlag||d&&$(d.vnode)&&256&d.vnode.shapeFlag)&&t.a&&de(t.a,s),t.isMounted=!0,e=n=r=null}};t.scope.on();const u=t.effect=new i.qq(c);t.scope.off();const h=t.update=u.run.bind(u),d=t.job=u.runIfDirty.bind(u);d.i=t,d.id=t.uid,u.scheduler=()=>y(d),me(t,!0),h()},N=(t,e,n)=>{e.component=t;const o=t.vnode.props;t.vnode=e,t.next=null,Jt(t,e.props,o,n),ue(t,e.children,n),(0,i.Jd)(),w(t),(0,i.lk)()},H=(t,e,n,i,o,r,s,a,l=!1)=>{const c=t&&t.children,u=t?t.shapeFlag:0,h=e.children,{patchFlag:f,shapeFlag:p}=e;if(f>0){if(128&f)return void Y(c,h,n,i,o,r,s,a,l);if(256&f)return void B(c,h,n,i,o,r,s,a,l)}8&p?(16&u&&Q(c,o,r),h!==c&&d(n,h)):16&u?16&p?Y(c,h,n,i,o,r,s,a,l):Q(c,o,r,!0):(8&u&&d(n,""),16&p&&P(h,n,i,o,r,s,a,l))},B=(t,e,n,i,r,s,a,l,c)=>{t=t||o.Z6,e=e||o.Z6;const u=t.length,h=e.length,d=Math.min(u,h);let f;for(f=0;fh?Q(t,r,s,!0,!1,d):P(e,n,i,r,s,a,l,c,d)},Y=(t,e,n,i,r,s,a,l,c)=>{let u=0;const h=e.length;let d=t.length-1,f=h-1;while(u<=d&&u<=f){const i=t[u],o=e[u]=c?dn(e[u]):hn(e[u]);if(!tn(i,o))break;b(i,o,n,null,r,s,a,l,c),u++}while(u<=d&&u<=f){const i=t[d],o=e[f]=c?dn(e[f]):hn(e[f]);if(!tn(i,o))break;b(i,o,n,null,r,s,a,l,c),d--,f--}if(u>d){if(u<=f){const t=f+1,o=tf)while(u<=d)U(t[u],r,s,!0),u++;else{const p=u,g=u,m=new Map;for(u=g;u<=f;u++){const t=e[u]=c?dn(e[u]):hn(e[u]);null!=t.key&&m.set(t.key,u)}let y,x=0;const v=f-g+1;let w=!1,_=0;const k=new Array(v);for(u=0;u=v){U(i,r,s,!0);continue}let o;if(null!=i.key)o=m.get(i.key);else for(y=g;y<=f;y++)if(0===k[y-g]&&tn(i,e[y])){o=y;break}void 0===o?U(i,r,s,!0):(k[o-g]=u+1,o>=_?_=o:w=!0,b(i,e[o],n,null,r,s,a,l,c),x++)}const M=w?xe(k):o.Z6;for(y=M.length-1,u=v-1;u>=0;u--){const t=g+u,o=e[t],d=e[t+1],f=t+1{const{el:a,type:l,transition:c,children:u,shapeFlag:h}=t;if(6&h)return void q(t.component.subTree,e,n,i);if(128&h)return void t.suspense.move(e,n,i);if(64&h)return void l.move(t,e,n,nt);if(l===Ne){r(a,e,n);for(let t=0;tc.enter(a)),o);else{const{leave:i,delayLeave:o,afterLeave:l}=c,u=()=>{t.ctx.isUnmounted?s(a):r(a,e,n)},h=()=>{i(a,(()=>{u(),l&&l()}))};o?o(a,u,h):h()}else r(a,e,n)},U=(t,e,n,o=!1,r=!1)=>{const{type:s,props:a,ref:l,children:c,dynamicChildren:u,shapeFlag:h,patchFlag:d,dirs:f,cacheIndex:p}=t;if(-2===d&&(r=!1),null!=l&&((0,i.Jd)(),V(l,null,n,t,!0),(0,i.lk)()),null!=p&&(e.renderCache[p]=void 0),256&h)return void e.ctx.deactivate(t);const g=1&h&&f,m=!$(t);let b;if(m&&(b=a&&a.onVnodeBeforeUnmount)&&gn(b,e,t),6&h)J(t.component,n,o);else{if(128&h)return void t.suspense.unmount(n,o);g&&O(t,null,e,"beforeUnmount"),64&h?t.type.remove(t,e,n,nt,o):u&&!u.hasOnce&&(s!==Ne||d>0&&64&d)?Q(u,e,n,!1,!0):(s===Ne&&384&d||!r&&16&h)&&Q(c,e,n),o&&G(t)}(m&&(b=a&&a.onVnodeUnmounted)||g)&&de((()=>{b&&gn(b,e,t),g&&O(t,null,e,"unmounted")}),n)},G=t=>{const{type:e,el:n,anchor:i,transition:o}=t;if(e===Ne)return void Z(n,i);if(e===Ye)return void S(t);const r=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:i}=o,s=()=>e(n,r);i?i(t.el,r,s):s()}else r()},Z=(t,e)=>{let n;while(t!==e)n=p(t),s(t),t=n;s(e)},J=(t,e,n)=>{const{bum:i,scope:r,job:s,subTree:a,um:l,m:c,a:u,parent:h,slots:{__:d}}=t;we(c),we(u),i&&(0,o.ir)(i),h&&(0,o.kJ)(d)&&d.forEach((t=>{h.renderCache[t]=void 0})),r.stop(),s&&(s.flags|=8,U(a,t,e,n)),l&&de(l,e),de((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Q=(t,e,n,i=!1,o=!1,r=0)=>{for(let s=r;s{if(6&t.shapeFlag)return K(t.component.subTree);if(128&t.shapeFlag)return t.suspense.next();const e=p(t.anchor||t.el),n=e&&e[A];return n?p(n):e};let tt=!1;const et=(t,e,n)=>{null==t?e._vnode&&U(e._vnode,null,null,!0):b(e._vnode||null,t,e,null,null,null,n),e._vnode=t,tt||(tt=!0,w(),_(),tt=!1)},nt={p:b,um:U,m:q,r:G,mt:j,mc:P,pc:H,pbc:I,n:K,o:t};let it,ot;return e&&([it,ot]=e(nt)),{render:et,hydrate:it,createApp:Yt(et,it)}}function ge({type:t,props:e},n){return"svg"===n&&"foreignObject"===t||"mathml"===n&&"annotation-xml"===t&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function me({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function be(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ye(t,e,n=!1){const i=t.children,r=e.children;if((0,o.kJ)(i)&&(0,o.kJ)(r))for(let o=0;o>1,t[n[a]]0&&(e[i]=n[r-1]),n[r]=i)}}r=n.length,s=n[r-1];while(r-- >0)n[r]=s,s=e[s];return n}function ve(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ve(e)}function we(t){if(t)for(let e=0;e{{const t=Xt(_e);return t}};function Me(t,e,n){return Se(t,e,n)}function Se(t,e,n=o.kT){const{immediate:r,deep:a,flush:l,once:c}=n;const u=(0,o.l7)({},n);const h=e&&r||!e&&"post"!==l;let d;if(Cn)if("sync"===l){const t=ke();d=t.__watcherHandles||(t.__watcherHandles=[])}else if(!h){const t=()=>{};return t.stop=o.dG,t.resume=o.dG,t.pause=o.dG,t}const f=xn;u.call=(t,e,n)=>s(t,f,e,n);let p=!1;"post"===l?u.scheduler=t=>{de(t,f&&f.suspense)}:"sync"!==l&&(p=!0,u.scheduler=(t,e)=>{e?t():y(t)}),u.augmentJob=t=>{e&&(t.flags|=4),p&&(t.flags|=2,f&&(t.id=f.uid,t.i=f))};const g=(0,i.YP)(t,e,u);return Cn&&(d?d.push(g):h&&g()),g}function De(t,e,n){const i=this.proxy,r=(0,o.HD)(t)?t.includes(".")?Te(i,t):()=>i[t]:t.bind(i,i);let s;(0,o.mf)(e)?s=e:(s=e.handler,n=e);const a=kn(this),l=Se(r,s.bind(i),n);return a(),l}function Te(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t"modelValue"===e||"model-value"===e?t.modelModifiers:t[`${e}Modifiers`]||t[`${(0,o._A)(e)}Modifiers`]||t[`${(0,o.rs)(e)}Modifiers`];function Pe(t,e,...n){if(t.isUnmounted)return;const i=t.vnode.props||o.kT;let r=n;const a=e.startsWith("update:"),l=a&&Ce(i,e.slice(7));let c;l&&(l.trim&&(r=n.map((t=>(0,o.HD)(t)?t.trim():t))),l.number&&(r=n.map(o.h5)));let u=i[c=(0,o.hR)(e)]||i[c=(0,o.hR)((0,o._A)(e))];!u&&a&&(u=i[c=(0,o.hR)((0,o.rs)(e))]),u&&s(u,t,6,r);const h=i[c+"Once"];if(h){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,s(h,t,6,r)}}function Oe(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(void 0!==r)return r;const s=t.emits;let a={},l=!1;if(!(0,o.mf)(t)){const i=t=>{const n=Oe(t,e,!0);n&&(l=!0,(0,o.l7)(a,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return s||l?((0,o.kJ)(s)?s.forEach((t=>a[t]=null)):(0,o.l7)(a,s),(0,o.Kn)(t)&&i.set(t,a),a):((0,o.Kn)(t)&&i.set(t,null),null)}function Ae(t,e){return!(!t||!(0,o.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,o.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,o.RI)(t,(0,o.rs)(e))||(0,o.RI)(t,e))}function Ee(t){const{type:e,vnode:n,proxy:i,withProxy:r,propsOptions:[s],slots:l,attrs:c,emit:u,render:h,renderCache:d,props:f,data:p,setupState:g,ctx:m,inheritAttrs:b}=t,y=T(t);let x,v;try{if(4&n.shapeFlag){const t=r||i,e=t;x=hn(h.call(e,t,d,f,g,p,m)),v=c}else{const t=e;0,x=hn(t.length>1?t(f,{attrs:c,slots:l,emit:u}):t(f,null)),v=e.props?c:Ie(c)}}catch(_){Ve.length=0,a(_,t,1),x=rn(Be)}let w=x;if(v&&!1!==b){const t=Object.keys(v),{shapeFlag:e}=w;t.length&&7&e&&(s&&t.some(o.tR)&&(v=Re(v,s)),w=ln(w,v,!1,!0))}return n.dirs&&(w=ln(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&N(w,n.transition),x=w,T(y),x}const Ie=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,o.F7)(n))&&((e||(e={}))[n]=t[n]);return e},Re=(t,e)=>{const n={};for(const i in t)(0,o.tR)(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function Le(t,e,n){const{props:i,children:o,component:r}=t,{props:s,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!o&&!a||a&&a.$stable)||i!==s&&(i?!s||Fe(i,s,c):!!s);if(1024&l)return!0;if(16&l)return i?Fe(i,s,c):!!s;if(8&l){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function We(t,e){e&&e.pendingBranch?(0,o.kJ)(t)?e.effects.push(...t):e.effects.push(t):v(t)}const Ne=Symbol.for("v-fgt"),He=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),Ye=Symbol.for("v-stc"),Ve=[];let $e=null;function Xe(t=!1){Ve.push($e=t?null:[])}function qe(){Ve.pop(),$e=Ve[Ve.length-1]||null}let Ue=1;function Ge(t,e=!1){Ue+=t,t<0&&$e&&e&&($e.hasOnce=!0)}function Ze(t){return t.dynamicChildren=Ue>0?$e||o.Z6:null,qe(),Ue>0&&$e&&$e.push(t),t}function Je(t,e,n,i,o,r){return Ze(on(t,e,n,i,o,r,!0))}function Qe(t,e,n,i,o){return Ze(rn(t,e,n,i,o,!0))}function Ke(t){return!!t&&!0===t.__v_isVNode}function tn(t,e){return t.type===e.type&&t.key===e.key}const en=({key:t})=>null!=t?t:null,nn=({ref:t,ref_key:e,ref_for:n})=>("number"===typeof t&&(t=""+t),null!=t?(0,o.HD)(t)||(0,i.dq)(t)||(0,o.mf)(t)?{i:S,r:t,k:e,f:!!n}:t:null);function on(t,e=null,n=null,i=0,r=null,s=(t===Ne?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&en(e),ref:e&&nn(e),scopeId:D,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:S};return l?(fn(c,n),128&s&&t.normalize(c)):n&&(c.shapeFlag|=(0,o.HD)(n)?8:16),Ue>0&&!a&&$e&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&$e.push(c),c}const rn=sn;function sn(t,e=null,n=null,r=0,s=null,a=!1){if(t&&t!==pt||(t=Be),Ke(t)){const i=ln(t,e,!0);return n&&fn(i,n),Ue>0&&!a&&$e&&(6&i.shapeFlag?$e[$e.indexOf(t)]=i:$e.push(i)),i.patchFlag=-2,i}if(jn(t)&&(t=t.__vccOpts),e){e=an(e);let{class:t,style:n}=e;t&&!(0,o.HD)(t)&&(e.class=(0,o.C_)(t)),(0,o.Kn)(n)&&((0,i.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),e.style=(0,o.j5)(n))}const l=(0,o.HD)(t)?1:ze(t)?128:E(t)?64:(0,o.Kn)(t)?4:(0,o.mf)(t)?2:0;return on(t,e,n,r,s,l,a,!0)}function an(t){return t?(0,i.X3)(t)||Gt(t)?(0,o.l7)({},t):t:null}function ln(t,e,n=!1,i=!1){const{props:r,ref:s,patchFlag:a,children:l,transition:c}=t,u=e?pn(r||{},e):r,h={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&en(u),ref:e&&e.ref?n&&s?(0,o.kJ)(s)?s.concat(nn(e)):[s,nn(e)]:nn(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ne?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ln(t.ssContent),ssFallback:t.ssFallback&&ln(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&i&&N(h,c.clone(h)),h}function cn(t=" ",e=0){return rn(He,null,t,e)}function un(t="",e=!1){return e?(Xe(),Qe(Be,null,t)):rn(Be,null,t)}function hn(t){return null==t||"boolean"===typeof t?rn(Be):(0,o.kJ)(t)?rn(Ne,null,t.slice()):Ke(t)?dn(t):rn(He,null,String(t))}function dn(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:ln(t)}function fn(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if((0,o.kJ)(e))n=16;else if("object"===typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),fn(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||Gt(e)?3===i&&S&&(1===S.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=S}}else(0,o.mf)(e)?(e={default:e,_ctx:S},n=32):(e=String(e),64&i?(n=16,e=[cn(e)]):n=8);t.children=e,t.shapeFlag|=n}function pn(...t){const e={};for(let n=0;nxn||S;let wn,_n;{const t=(0,o.E9)(),e=(e,n)=>{let i;return(i=t[e])||(i=t[e]=[]),i.push(n),t=>{i.length>1?i.forEach((e=>e(t))):i[0](t)}};wn=e("__VUE_INSTANCE_SETTERS__",(t=>xn=t)),_n=e("__VUE_SSR_SETTERS__",(t=>Cn=t))}const kn=t=>{const e=xn;return wn(t),t.scope.on(),()=>{t.scope.off(),wn(e)}},Mn=()=>{xn&&xn.scope.off(),wn(null)};function Sn(t){return 4&t.vnode.shapeFlag}let Dn,Tn,Cn=!1;function Pn(t,e=!1,n=!1){e&&_n(e);const{props:i,children:o}=t.vnode,r=Sn(t);Zt(t,i,r,e),ce(t,o,n||e);const s=r?On(t,e):void 0;return e&&_n(!1),s}function On(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mt);const{setup:s}=n;if(s){(0,i.Jd)();const n=t.setupContext=s.length>1?Rn(t):null,l=kn(t),c=r(s,t,0,[t.props,n]),u=(0,o.tI)(c);if((0,i.lk)(),l(),!u&&!t.sp||$(t)||Y(t),u){if(c.then(Mn,Mn),e)return c.then((n=>{An(t,n,e)})).catch((e=>{a(e,t,0)}));t.asyncDep=c}else An(t,c,e)}else En(t,e)}function An(t,e,n){(0,o.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,o.Kn)(e)&&(t.setupState=(0,i.WL)(e)),En(t,n)}function En(t,e,n){const r=t.type;if(!t.render){if(!e&&Dn&&!r.render){const e=r.template||At(t).template;if(e){0;const{isCustomElement:n,compilerOptions:i}=t.appContext.config,{delimiters:s,compilerOptions:a}=r,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:s},i),a);r.render=Dn(e,l)}}t.render=r.render||o.dG,Tn&&Tn(t)}{const e=kn(t);(0,i.Jd)();try{Tt(t)}finally{(0,i.lk)(),e()}}}const In={get(t,e){return(0,i.j)(t,"get",""),t[e]}};function Rn(t){const e=e=>{t.exposed=e||{}};return{attrs:new Proxy(t.attrs,In),slots:t.slots,emit:t.emit,expose:e}}function Ln(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy((0,i.WL)((0,i.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in _t?_t[n](t):void 0},has(t,e){return e in t||e in _t}})):t.proxy}function Fn(t,e=!0){return(0,o.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function jn(t){return(0,o.mf)(t)&&"__vccOpts"in t}const zn=(t,e)=>{const n=(0,i.Fl)(t,e,Cn);return n};function Wn(t,e,n){const i=arguments.length;return 2===i?(0,o.Kn)(e)&&!(0,o.kJ)(e)?Ke(e)?rn(t,null,[e]):rn(t,e):rn(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Ke(n)&&(n=[n]),rn(t,e,n))}const Nn="3.5.18"},963:function(t,e,n){n.d(e,{D2:function(){return Q},bM:function(){return $},iM:function(){return Z},ri:function(){return nt}});var i=n(252),o=n(577);n(262); /** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ -let s;const i="undefined"!==typeof window&&window.trustedTypes;if(i)try{s=i.createPolicy("vue",{createHTML:e=>e})}catch(se){}const l=s?e=>s.createHTML(e):e=>e,c="http://www.w3.org/2000/svg",a="http://www.w3.org/1998/Math/MathML",u="undefined"!==typeof document?document:null,f=u&&u.createElement("template"),d={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?u.createElementNS(c,e):"mathml"===t?u.createElementNS(a,e):n?u.createElement(e,{is:n}):u.createElement(e);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>u.createTextNode(e),createComment:e=>u.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>u.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===s||!(o=o.nextSibling))break}else{f.innerHTML=l("svg"===r?`${e}`:"mathml"===r?`${e}`:e);const o=f.content;if("svg"===r||"mathml"===r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},p=Symbol("_vtc"),h={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};r.nJ;function m(e,t,n){const r=e[p];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const g=Symbol("_vod"),v=Symbol("_vsh");const y=Symbol("");const b=/(^|;)\s*display\s*:/;function k(e,t,n){const r=e.style,s=(0,o.HD)(n);let i=!1;if(n&&!s){if(t)if((0,o.HD)(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&x(r,t,"")}else for(const e in t)null==n[e]&&x(r,e,"");for(const e in n)"display"===e&&(i=!0),x(r,e,n[e])}else if(s){if(t!==n){const e=r[y];e&&(n+=";"+e),r.cssText=n,i=b.test(n)}}else t&&e.removeAttribute("style");g in e&&(e[g]=i?r.display:"",e[v]&&(r.display="none"))}const w=/\s*!important$/;function x(e,t,n){if((0,o.kJ)(n))n.forEach((n=>x(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=C(e,t);w.test(n)?e.setProperty((0,o.rs)(r),n.replace(w,""),"important"):e[r]=n}}const _=["Webkit","Moz","ms"],S={};function C(e,t){const n=S[t];if(n)return n;let r=(0,o._A)(t);if("filter"!==r&&r in e)return S[t]=r;r=(0,o.kC)(r);for(let o=0;o<_.length;o++){const n=_[o]+r;if(n in e)return S[t]=n}return t}const E="http://www.w3.org/1999/xlink";function O(e,t,n,r,s,i=(0,o.Pq)(t)){r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(E,t.slice(6,t.length)):e.setAttributeNS(E,t,n):null==n||i&&!(0,o.yA)(n)?e.removeAttribute(t):e.setAttribute(t,i?"":(0,o.yk)(n)?String(n):n)}function M(e,t,n,r,s){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?l(n):n));const i=e.tagName;if("value"===t&&"PROGRESS"!==i&&!i.includes("-")){const r="OPTION"===i?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return r===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let c=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=(0,o.yA)(n):null==n&&"string"===r?(n="",c=!0):"number"===r&&(n=0,c=!0)}try{e[t]=n}catch(se){0}c&&e.removeAttribute(s||t)}function R(e,t,n,r){e.addEventListener(t,n,r)}function j(e,t,n,r){e.removeEventListener(t,n,r)}const A=Symbol("_vei");function I(e,t,n,r,o=null){const s=e[A]||(e[A]={}),i=s[t];if(r&&i)i.value=r;else{const[n,l]=P(t);if(r){const i=s[t]=z(r,o);R(e,n,i,l)}else i&&(j(e,n,i,l),s[t]=void 0)}}const T=/(?:Once|Passive|Capture)$/;function P(e){let t;if(T.test(e)){let n;t={};while(n=e.match(T))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):(0,o.rs)(e.slice(2));return[n,t]}let F=0;const D=Promise.resolve(),N=()=>F||(D.then((()=>F=0)),F=Date.now());function z(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,r.$d)($(e,n.value),t,5,[e])};return n.value=e,n.attached=N(),n}function $(e,t){if((0,o.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const L=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,U=(e,t,n,r,s,i)=>{const l="svg"===s;"class"===t?m(e,r,l):"style"===t?k(e,n,r):(0,o.F7)(t)?(0,o.tR)(t)||I(e,t,n,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Z(e,t,r,l))?(M(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||O(e,t,r,l,i,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&(0,o.HD)(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),O(e,t,r,l)):M(e,(0,o._A)(t),r,i,t)};function Z(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&L(t)&&(0,o.mf)(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!L(t)||!(0,o.HD)(n))&&t in e} +let r;const s="undefined"!==typeof window&&window.trustedTypes;if(s)try{r=s.createPolicy("vue",{createHTML:t=>t})}catch(rt){}const a=r?t=>r.createHTML(t):t=>t,l="http://www.w3.org/2000/svg",c="http://www.w3.org/1998/Math/MathML",u="undefined"!==typeof document?document:null,h=u&&u.createElement("template"),d={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const o="svg"===e?u.createElementNS(l,t):"mathml"===e?u.createElementNS(c,t):n?u.createElement(t,{is:n}):u.createElement(t);return"select"===t&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:t=>u.createTextNode(t),createComment:t=>u.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>u.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,o,r){const s=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling)){while(1)if(e.insertBefore(o.cloneNode(!0),n),o===r||!(o=o.nextSibling))break}else{h.innerHTML=a("svg"===i?`${t}`:"mathml"===i?`${t}`:t);const o=h.content;if("svg"===i||"mathml"===i){const t=o.firstChild;while(t.firstChild)o.appendChild(t.firstChild);o.removeChild(t)}e.insertBefore(o,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},f=Symbol("_vtc"),p={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};i.nJ;function g(t,e,n){const i=t[f];i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const m=Symbol("_vod"),b=Symbol("_vsh");const y=Symbol("");const x=/(^|;)\s*display\s*:/;function v(t,e,n){const i=t.style,r=(0,o.HD)(n);let s=!1;if(n&&!r){if(e)if((0,o.HD)(e))for(const t of e.split(";")){const e=t.slice(0,t.indexOf(":")).trim();null==n[e]&&_(i,e,"")}else for(const t in e)null==n[t]&&_(i,t,"");for(const t in n)"display"===t&&(s=!0),_(i,t,n[t])}else if(r){if(e!==n){const t=i[y];t&&(n+=";"+t),i.cssText=n,s=x.test(n)}}else e&&t.removeAttribute("style");m in t&&(t[m]=s?i.display:"",t[b]&&(i.display="none"))}const w=/\s*!important$/;function _(t,e,n){if((0,o.kJ)(n))n.forEach((n=>_(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=S(t,e);w.test(n)?t.setProperty((0,o.rs)(i),n.replace(w,""),"important"):t[i]=n}}const k=["Webkit","Moz","ms"],M={};function S(t,e){const n=M[e];if(n)return n;let i=(0,o._A)(e);if("filter"!==i&&i in t)return M[e]=i;i=(0,o.kC)(i);for(let o=0;oL||(F.then((()=>L=0)),L=Date.now());function z(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();(0,i.$d)(W(t,n.value),e,5,[t])};return n.value=t,n.attached=j(),n}function W(t,e){if((0,o.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const N=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,H=(t,e,n,i,r,s)=>{const a="svg"===r;"class"===e?g(t,i,a):"style"===e?v(t,n,i):(0,o.F7)(e)?(0,o.tR)(e)||E(t,e,n,i,s):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):B(t,e,i,a))?(C(t,e,i),t.tagName.includes("-")||"value"!==e&&"checked"!==e&&"selected"!==e||T(t,e,i,a,s,"value"!==e)):!t._isVueCE||!/[A-Z]/.test(e)&&(0,o.HD)(i)?("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),T(t,e,i,a)):C(t,(0,o._A)(e),i,s,e)};function B(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&N(e)&&(0,o.mf)(n));if("spellcheck"===e||"draggable"===e||"translate"===e||"autocorrect"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if("width"===e||"height"===e){const e=t.tagName;if("IMG"===e||"VIDEO"===e||"CANVAS"===e||"SOURCE"===e)return!1}return(!N(e)||!(0,o.HD)(n))&&e in t} /*! #__NO_SIDE_EFFECTS__ */ -"undefined"!==typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");const J=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.kJ)(t)?e=>(0,o.ir)(t,e):t};const V=Symbol("_assign");const H={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=(0,o.DM)(t);R(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,o.h5)(G(e)):G(e)));e[V](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,(0,r.Y3)((()=>{e._assigning=!1}))})),e[V]=J(s)},mounted(e,{value:t}){B(e,t)},beforeUpdate(e,t,n){e[V]=J(n)},updated(e,{value:t}){e._assigning||B(e,t)}};function B(e,t){const n=e.multiple,r=(0,o.kJ)(t);if(!n||r||(0,o.DM)(t)){for(let s=0,i=e.options.length;sString(e)===String(l))):(0,o.hq)(t,l)>-1}else i.selected=t.has(l);else if((0,o.WV)(G(i),t))return void(e.selectedIndex!==s&&(e.selectedIndex=s))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function G(e){return"_value"in e?e._value:e.value}const q=["ctrl","shift","alt","meta"],W={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>q.some((n=>e[`${n}Key`]&&!t.includes(n)))},K=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=(0,o.rs)(n.key);return t.some((e=>e===r||Y[e]===r))?e(n):void 0})},Q=(0,o.l7)({patchProp:U},d);let ee;function te(){return ee||(ee=(0,r.Us)(Q))}const ne=(...e)=>{const t=te().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=oe(e);if(!r)return;const s=t._component;(0,o.mf)(s)||s.render||s.template||(s.template=r.innerHTML),1===r.nodeType&&(r.textContent="");const i=n(r,!1,re(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function re(e){return e instanceof SVGElement?"svg":"function"===typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function oe(e){if((0,o.HD)(e)){const t=document.querySelector(e);return t}return e}},577:function(e,t,n){ +"undefined"!==typeof HTMLElement&&HTMLElement;Symbol("_moveCb"),Symbol("_enterCb");const Y=t=>{const e=t.props["onUpdate:modelValue"]||!1;return(0,o.kJ)(e)?t=>(0,o.ir)(e,t):e};const V=Symbol("_assign");const $={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const s=(0,o.DM)(e);P(t,"change",(()=>{const e=Array.prototype.filter.call(t.options,(t=>t.selected)).map((t=>n?(0,o.h5)(q(t)):q(t)));t[V](t.multiple?s?new Set(e):e:e[0]),t._assigning=!0,(0,i.Y3)((()=>{t._assigning=!1}))})),t[V]=Y(r)},mounted(t,{value:e}){X(t,e)},beforeUpdate(t,e,n){t[V]=Y(n)},updated(t,{value:e}){t._assigning||X(t,e)}};function X(t,e){const n=t.multiple,i=(0,o.kJ)(e);if(!n||i||(0,o.DM)(e)){for(let r=0,s=t.options.length;rString(t)===String(a))):(0,o.hq)(e,a)>-1}else s.selected=e.has(a);else if((0,o.WV)(q(s),e))return void(t.selectedIndex!==r&&(t.selectedIndex=r))}n||-1===t.selectedIndex||(t.selectedIndex=-1)}}function q(t){return"_value"in t?t._value:t.value}const U=["ctrl","shift","alt","meta"],G={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>U.some((n=>t[`${n}Key`]&&!e.includes(n)))},Z=(t,e)=>{const n=t._withMods||(t._withMods={}),i=e.join(".");return n[i]||(n[i]=(n,...i)=>{for(let t=0;t{const n=t._withKeys||(t._withKeys={}),i=e.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=(0,o.rs)(n.key);return e.some((t=>t===i||J[t]===i))?t(n):void 0})},K=(0,o.l7)({patchProp:H},d);let tt;function et(){return tt||(tt=(0,i.Us)(K))}const nt=(...t)=>{const e=et().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=ot(t);if(!i)return;const r=e._component;(0,o.mf)(r)||r.render||r.template||(r.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const s=n(i,!1,it(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},e};function it(t){return t instanceof SVGElement?"svg":"function"===typeof MathMLElement&&t instanceof MathMLElement?"mathml":void 0}function ot(t){if((0,o.HD)(t)){const e=document.querySelector(t);return e}return t}},577:function(t,e,n){ /** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ -function r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}n.d(t,{C_:function(){return Y},DM:function(){return g},E9:function(){return J},F7:function(){return c},Gg:function(){return R},HD:function(){return k},He:function(){return U},Kj:function(){return y},Kn:function(){return x},NO:function(){return l},Nj:function(){return $},Od:function(){return f},PO:function(){return O},Pq:function(){return Q},RI:function(){return p},S0:function(){return M},W7:function(){return E},WV:function(){return ne},Z6:function(){return s},_A:function(){return I},_N:function(){return m},aU:function(){return N},dG:function(){return i},fY:function(){return r},h5:function(){return L},hR:function(){return D},hq:function(){return re},ir:function(){return z},j5:function(){return B},kC:function(){return F},kJ:function(){return h},kT:function(){return o},l7:function(){return u},mf:function(){return b},rs:function(){return P},tI:function(){return _},tR:function(){return a},yA:function(){return ee},yk:function(){return w},yl:function(){return H},zw:function(){return se}});const o={},s=[],i=()=>{},l=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),u=Object.assign,f=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),h=Array.isArray,m=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),v=e=>"[object Date]"===C(e),y=e=>"[object RegExp]"===C(e),b=e=>"function"===typeof e,k=e=>"string"===typeof e,w=e=>"symbol"===typeof e,x=e=>null!==e&&"object"===typeof e,_=e=>(x(e)||b(e))&&b(e.then)&&b(e.catch),S=Object.prototype.toString,C=e=>S.call(e),E=e=>C(e).slice(8,-1),O=e=>"[object Object]"===C(e),M=e=>k(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,R=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),j=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},A=/-(\w)/g,I=j((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),T=/\B([A-Z])/g,P=j((e=>e.replace(T,"-$1").toLowerCase())),F=j((e=>e.charAt(0).toUpperCase()+e.slice(1))),D=j((e=>{const t=e?`on${F(e)}`:"";return t})),N=(e,t)=>!Object.is(e,t),z=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},L=e=>{const t=parseFloat(e);return isNaN(t)?e:t},U=e=>{const t=k(e)?Number(e):NaN;return isNaN(t)?e:t};let Z;const J=()=>Z||(Z="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const V="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",H=r(V);function B(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(q);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(k(e))t=e;else if(h(e))for(let n=0;nne(e,t)))}const oe=e=>!(!e||!0!==e["__v_isRef"]),se=e=>k(e)?e:null==e?"":h(e)||x(e)&&(e.toString===S||!b(e.toString))?oe(e)?se(e.value):JSON.stringify(e,ie,2):String(e),ie=(e,t)=>oe(t)?ie(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[le(t,r)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>le(e)))}:w(t)?le(t):!x(t)||h(t)||O(t)?t:String(t),le=(e,t="")=>{var n;return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},264:function(e,t,n){n.d(t,{Z:function(){return f}});var r=n(252); +function i(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return t=>t in e}n.d(e,{C_:function(){return J},DM:function(){return m},E9:function(){return Y},F7:function(){return l},Gg:function(){return P},HD:function(){return v},He:function(){return H},Kj:function(){return y},Kn:function(){return _},NO:function(){return a},Nj:function(){return W},Od:function(){return h},PO:function(){return T},Pq:function(){return K},RI:function(){return f},S0:function(){return C},W7:function(){return D},WV:function(){return nt},Z6:function(){return r},_A:function(){return E},_N:function(){return g},aU:function(){return j},dG:function(){return s},fY:function(){return i},h5:function(){return N},hR:function(){return F},hq:function(){return it},ir:function(){return z},j5:function(){return X},kC:function(){return L},kJ:function(){return p},kT:function(){return o},l7:function(){return u},mf:function(){return x},rs:function(){return R},tI:function(){return k},tR:function(){return c},yA:function(){return tt},yk:function(){return w},yl:function(){return $},zw:function(){return rt}});const o={},r=[],s=()=>{},a=()=>!1,l=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),c=t=>t.startsWith("onUpdate:"),u=Object.assign,h=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(t,e)=>d.call(t,e),p=Array.isArray,g=t=>"[object Map]"===S(t),m=t=>"[object Set]"===S(t),b=t=>"[object Date]"===S(t),y=t=>"[object RegExp]"===S(t),x=t=>"function"===typeof t,v=t=>"string"===typeof t,w=t=>"symbol"===typeof t,_=t=>null!==t&&"object"===typeof t,k=t=>(_(t)||x(t))&&x(t.then)&&x(t.catch),M=Object.prototype.toString,S=t=>M.call(t),D=t=>S(t).slice(8,-1),T=t=>"[object Object]"===S(t),C=t=>v(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,P=i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=t=>{const e=Object.create(null);return n=>{const i=e[n];return i||(e[n]=t(n))}},A=/-(\w)/g,E=O((t=>t.replace(A,((t,e)=>e?e.toUpperCase():"")))),I=/\B([A-Z])/g,R=O((t=>t.replace(I,"-$1").toLowerCase())),L=O((t=>t.charAt(0).toUpperCase()+t.slice(1))),F=O((t=>{const e=t?`on${L(t)}`:"";return e})),j=(t,e)=>!Object.is(t,e),z=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})},N=t=>{const e=parseFloat(t);return isNaN(e)?t:e},H=t=>{const e=v(t)?Number(t):NaN;return isNaN(e)?t:e};let B;const Y=()=>B||(B="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const V="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",$=i(V);function X(t){if(p(t)){const e={};for(let n=0;n{if(t){const n=t.split(U);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function J(t){let e="";if(v(t))e=t;else if(p(t))for(let n=0;nnt(t,e)))}const ot=t=>!(!t||!0!==t["__v_isRef"]),rt=t=>v(t)?t:null==t?"":p(t)||_(t)&&(t.toString===M||!x(t.toString))?ot(t)?rt(t.value):JSON.stringify(t,st,2):String(t),st=(t,e)=>ot(e)?st(t,e.value):g(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n],i)=>(t[at(e,i)+" =>"]=n,t)),{})}:m(e)?{[`Set(${e.size})`]:[...e.values()].map((t=>at(t)))}:w(e)?at(e):!_(e)||p(e)||T(e)?e:String(e),at=(t,e="")=>{var n;return w(t)?`Symbol(${null!=(n=t.description)?n:e})`:t}},264:function(t,e,n){n.d(e,{Z:function(){return h}});var i=n(252); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,n)=>n?n.toUpperCase():t.toLowerCase())),i=e=>{const t=s(e);return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim(),c=e=>""===e; +const o=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,((t,e,n)=>n?n.toUpperCase():e.toLowerCase())),s=t=>{const e=r(t);return e.charAt(0).toUpperCase()+e.slice(1)},a=(...t)=>t.filter(((t,e,n)=>Boolean(t)&&""!==t.trim()&&n.indexOf(t)===e)).join(" ").trim(),l=t=>""===t; /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}; +var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}; /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ -const u=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:u,"stroke-width":f,size:d=a.width,color:p=a.stroke,...h},{slots:m})=>(0,r.h)("svg",{...a,...h,width:d,height:d,stroke:p,"stroke-width":c(n)||c(s)||!0===n||!0===s?24*Number(u||f||a["stroke-width"])/Number(d):u||f||a["stroke-width"],class:l("lucide",h.class,...e?[`lucide-${o(i(e))}-icon`,`lucide-${o(e)}`]:["lucide-icon"])},[...t.map((e=>(0,r.h)(...e))),...m.default?[m.default()]:[]]),f=(e,t)=>(n,{slots:o,attrs:s})=>(0,r.h)(u,{...s,...n,iconNode:t,name:e},o)},793:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); +const u=({name:t,iconNode:e,absoluteStrokeWidth:n,"absolute-stroke-width":r,strokeWidth:u,"stroke-width":h,size:d=c.width,color:f=c.stroke,...p},{slots:g})=>(0,i.h)("svg",{...c,...p,width:d,height:d,stroke:f,"stroke-width":l(n)||l(r)||!0===n||!0===r?24*Number(u||h||c["stroke-width"])/Number(d):u||h||c["stroke-width"],class:a("lucide",p.class,...t?[`lucide-${o(s(t))}-icon`,`lucide-${o(t)}`]:["lucide-icon"])},[...e.map((t=>(0,i.h)(...t))),...g.default?[g.default()]:[]]),h=(t,e)=>(n,{slots:o,attrs:r})=>(0,i.h)(u,{...r,...n,iconNode:e,name:t},o)},793:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},318:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},318:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},368:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},368:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},485:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},485:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},372:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},372:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},981:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},981:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},893:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},893:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},146:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},146:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},141:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},141:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-arrow-down",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},779:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-arrow-down",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]])},779:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},89:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]])},89:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},478:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},478:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},691:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},691:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},337:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},337:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},293:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},293:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},322:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},322:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},5:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},5:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},135:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},135:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]])},507:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]])},507:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]])},679:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]])},679:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},167:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]])},167:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]])},254:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]])},254:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},399:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},399:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},275:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},275:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},740:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},740:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},469:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},469:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("skip-forward",[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]])},789:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("skip-forward",[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]])},789:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},138:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},138:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},446:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},446:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},970:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(264); + */const o=(0,i.Z)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},970:function(t,e,n){n.d(e,{Z:function(){return o}});var i=n(264); /** * @license lucide-vue-next v0.539.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const o=(0,r.Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},744:function(e,t){t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},3:function(e,t,n){n.d(t,{j:function(){return i}});var r=n(512);const o=e=>"boolean"===typeof e?`${e}`:0===e?"0":e,s=r.W,i=(e,t)=>n=>{var r;if(null==(null===t||void 0===t?void 0:t.variants))return s(e,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className);const{variants:i,defaultVariants:l}=t,c=Object.keys(i).map((e=>{const t=null===n||void 0===n?void 0:n[e],r=null===l||void 0===l?void 0:l[e];if(null===t)return null;const s=o(t)||o(r);return i[e][s]})),a=n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e}),{}),u=null===t||void 0===t||null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every((e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...a}[t]):{...l,...a}[t]===n}))?[...e,n,r]:e}),[]);return s(e,c,u,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className)}},512:function(e,t,n){function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(t=0;t{const t=c(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e,i=e=>{const n=e.split(r);return""===n[0]&&1!==n.length&&n.shift(),s(n,t)||l(e)},a=(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r};return{getClassGroupId:i,getConflictingClassGroupIds:a}},s=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),i=o?s(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;const l=e.join(r);return t.validators.find((({validator:e})=>e(l)))?.classGroupId},i=/^\[(.+)\]$/,l=e=>{if(i.test(e)){const t=i.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},c=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)a(n[o],r,o,t);return r},a=(e,t,n,r)=>{e.forEach((e=>{if("string"!==typeof e){if("function"===typeof e)return f(e)?void a(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{a(o,u(t,e),n,r)}))}else{const r=""===e?t:u(t,e);r.classGroupId=n}}))},u=(e,t)=>{let n=e;return t.split(r).forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},f=e=>e.isThemeGetter,d=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},p="!",h=":",m=h.length,g=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,s=0;for(let u=0;us?n-s:void 0;return{modifiers:t,hasImportantModifier:c,baseClassName:l,maybePostfixModifierPosition:a}};if(t){const e=t+h,n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},v=e=>e.endsWith(p)?e.substring(0,e.length-1):e.startsWith(p)?e.substring(1):e,y=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map((e=>[e,!0]))),n=e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach((e=>{const o="["===e[0]||t[e];o?(n.push(...r.sort(),e),r=[]):r.push(e)})),n.push(...r.sort()),n};return n},b=e=>({cache:d(e.cacheSize),parseClassName:g(e),sortModifiers:y(e),...o(e)}),k=/\s+/,w=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],l=e.trim().split(k);let c="";for(let a=l.length-1;a>=0;a-=1){const e=l[a],{isExternal:t,modifiers:u,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:h}=n(e);if(t){c=e+(c.length>0?" "+c:c);continue}let m=!!h,g=r(m?d.substring(0,h):d);if(!g){if(!m){c=e+(c.length>0?" "+c:c);continue}if(g=r(d),!g){c=e+(c.length>0?" "+c:c);continue}m=!1}const v=s(u).join(":"),y=f?v+p:v,b=y+g;if(i.includes(b))continue;i.push(b);const k=o(g,m);for(let n=0;n0?" "+c:c)}return c};function x(){let e,t,n=0,r="";while(n{if("string"===typeof e)return e;let t,n="";for(let r=0;rt(e)),e());return n=b(c),r=n.cache.get,o=n.cache.set,s=l,l(i)}function l(e){const t=r(e);if(t)return t;const s=w(e,n);return o(e,s),s}return function(){return s(x.apply(null,arguments))}}const C=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},E=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,O=/^\((?:(\w[\w-]*):)?(.+)\)$/i,M=/^\d+\/\d+$/,R=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,I=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,P=e=>M.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),D=e=>!!e&&Number.isInteger(Number(e)),N=e=>e.endsWith("%")&&F(e.slice(0,-1)),z=e=>R.test(e),$=()=>!0,L=e=>j.test(e)&&!A.test(e),U=()=>!1,Z=e=>I.test(e),J=e=>T.test(e),V=e=>!B(e)&&!X(e),H=e=>se(e,ae,U),B=e=>E.test(e),G=e=>se(e,ue,L),q=e=>se(e,fe,F),W=e=>se(e,le,U),K=e=>se(e,ce,J),Y=e=>se(e,pe,Z),X=e=>O.test(e),Q=e=>ie(e,ue),ee=e=>ie(e,de),te=e=>ie(e,le),ne=e=>ie(e,ae),re=e=>ie(e,ce),oe=e=>ie(e,pe,!0),se=(e,t,n)=>{const r=E.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},ie=(e,t,n=!1)=>{const r=O.exec(e);return!!r&&(r[1]?t(r[1]):n)},le=e=>"position"===e||"percentage"===e,ce=e=>"image"===e||"url"===e,ae=e=>"length"===e||"size"===e||"bg-size"===e,ue=e=>"length"===e,fe=e=>"number"===e,de=e=>"family-name"===e,pe=e=>"shadow"===e,he=(Symbol.toStringTag,()=>{const e=C("color"),t=C("font"),n=C("text"),r=C("font-weight"),o=C("tracking"),s=C("leading"),i=C("breakpoint"),l=C("container"),c=C("spacing"),a=C("radius"),u=C("shadow"),f=C("inset-shadow"),d=C("text-shadow"),p=C("drop-shadow"),h=C("blur"),m=C("perspective"),g=C("aspect"),v=C("ease"),y=C("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...k(),X,B],x=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],S=()=>[X,B,c],E=()=>[P,"full","auto",...S()],O=()=>[D,"none","subgrid",X,B],M=()=>["auto",{span:["full",D,X,B]},D,X,B],R=()=>[D,"auto",X,B],j=()=>["auto","min","max","fr",X,B],A=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...S()],L=()=>[P,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],U=()=>[e,X,B],Z=()=>[...k(),te,W,{position:[X,B]}],J=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",ne,H,{size:[X,B]}],ie=()=>[N,Q,G],le=()=>["","none","full",a,X,B],ce=()=>["",F,Q,G],ae=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>[F,N,te,W],de=()=>["","none",h,X,B],pe=()=>["none",F,X,B],he=()=>["none",F,X,B],me=()=>[F,X,B],ge=()=>[P,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[$],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[V],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",F],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",P,B,X,g]}],container:["container"],columns:[{columns:[F,B,X,l]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:x()}],"overflow-x":[{"overflow-x":x()}],"overflow-y":[{"overflow-y":x()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[D,"auto",X,B]}],basis:[{basis:[P,"full","auto",l,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,P,"auto","initial","none",B]}],grow:[{grow:["",F,X,B]}],shrink:[{shrink:["",F,X,B]}],order:[{order:[D,"first","last","none",X,B]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":O()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":j()}],"auto-rows":[{"auto-rows":j()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...A(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...A()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[l,"screen",...L()]}],"min-w":[{"min-w":[l,"screen","none",...L()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",n,Q,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,X,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",N,B]}],"font-family":[{font:[ee,B,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,X,B]}],"line-clamp":[{"line-clamp":[F,"none",X,q]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",X,B]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",X,B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:U()}],"text-color":[{text:U()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ae(),"wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",X,G]}],"text-decoration-color":[{decoration:U()}],"underline-offset":[{"underline-offset":[F,"auto",X,B]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",X,B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",X,B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Z()}],"bg-repeat":[{bg:J()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},D,X,B],radial:["",X,B],conic:[D,X,B]},re,K]}],"bg-color":[{bg:U()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:U()}],"gradient-via":[{via:U()}],"gradient-to":[{to:U()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ae(),"hidden","none"]}],"divide-style":[{divide:[...ae(),"hidden","none"]}],"border-color":[{border:U()}],"border-color-x":[{"border-x":U()}],"border-color-y":[{"border-y":U()}],"border-color-s":[{"border-s":U()}],"border-color-e":[{"border-e":U()}],"border-color-t":[{"border-t":U()}],"border-color-r":[{"border-r":U()}],"border-color-b":[{"border-b":U()}],"border-color-l":[{"border-l":U()}],"divide-color":[{divide:U()}],"outline-style":[{outline:[...ae(),"none","hidden"]}],"outline-offset":[{"outline-offset":[F,X,B]}],"outline-w":[{outline:["",F,Q,G]}],"outline-color":[{outline:U()}],shadow:[{shadow:["","none",u,oe,Y]}],"shadow-color":[{shadow:U()}],"inset-shadow":[{"inset-shadow":["none",f,oe,Y]}],"inset-shadow-color":[{"inset-shadow":U()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:U()}],"ring-offset-w":[{"ring-offset":[F,G]}],"ring-offset-color":[{"ring-offset":U()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":U()}],"text-shadow":[{"text-shadow":["none",d,oe,Y]}],"text-shadow-color":[{"text-shadow":U()}],opacity:[{opacity:[F,X,B]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":fe()}],"mask-image-linear-to-pos":[{"mask-linear-to":fe()}],"mask-image-linear-from-color":[{"mask-linear-from":U()}],"mask-image-linear-to-color":[{"mask-linear-to":U()}],"mask-image-t-from-pos":[{"mask-t-from":fe()}],"mask-image-t-to-pos":[{"mask-t-to":fe()}],"mask-image-t-from-color":[{"mask-t-from":U()}],"mask-image-t-to-color":[{"mask-t-to":U()}],"mask-image-r-from-pos":[{"mask-r-from":fe()}],"mask-image-r-to-pos":[{"mask-r-to":fe()}],"mask-image-r-from-color":[{"mask-r-from":U()}],"mask-image-r-to-color":[{"mask-r-to":U()}],"mask-image-b-from-pos":[{"mask-b-from":fe()}],"mask-image-b-to-pos":[{"mask-b-to":fe()}],"mask-image-b-from-color":[{"mask-b-from":U()}],"mask-image-b-to-color":[{"mask-b-to":U()}],"mask-image-l-from-pos":[{"mask-l-from":fe()}],"mask-image-l-to-pos":[{"mask-l-to":fe()}],"mask-image-l-from-color":[{"mask-l-from":U()}],"mask-image-l-to-color":[{"mask-l-to":U()}],"mask-image-x-from-pos":[{"mask-x-from":fe()}],"mask-image-x-to-pos":[{"mask-x-to":fe()}],"mask-image-x-from-color":[{"mask-x-from":U()}],"mask-image-x-to-color":[{"mask-x-to":U()}],"mask-image-y-from-pos":[{"mask-y-from":fe()}],"mask-image-y-to-pos":[{"mask-y-to":fe()}],"mask-image-y-from-color":[{"mask-y-from":U()}],"mask-image-y-to-color":[{"mask-y-to":U()}],"mask-image-radial":[{"mask-radial":[X,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":fe()}],"mask-image-radial-to-pos":[{"mask-radial-to":fe()}],"mask-image-radial-from-color":[{"mask-radial-from":U()}],"mask-image-radial-to-color":[{"mask-radial-to":U()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":fe()}],"mask-image-conic-to-pos":[{"mask-conic-to":fe()}],"mask-image-conic-from-color":[{"mask-conic-from":U()}],"mask-image-conic-to-color":[{"mask-conic-to":U()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Z()}],"mask-repeat":[{mask:J()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",X,B]}],filter:[{filter:["","none",X,B]}],blur:[{blur:de()}],brightness:[{brightness:[F,X,B]}],contrast:[{contrast:[F,X,B]}],"drop-shadow":[{"drop-shadow":["","none",p,oe,Y]}],"drop-shadow-color":[{"drop-shadow":U()}],grayscale:[{grayscale:["",F,X,B]}],"hue-rotate":[{"hue-rotate":[F,X,B]}],invert:[{invert:["",F,X,B]}],saturate:[{saturate:[F,X,B]}],sepia:[{sepia:["",F,X,B]}],"backdrop-filter":[{"backdrop-filter":["","none",X,B]}],"backdrop-blur":[{"backdrop-blur":de()}],"backdrop-brightness":[{"backdrop-brightness":[F,X,B]}],"backdrop-contrast":[{"backdrop-contrast":[F,X,B]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,X,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,X,B]}],"backdrop-invert":[{"backdrop-invert":["",F,X,B]}],"backdrop-opacity":[{"backdrop-opacity":[F,X,B]}],"backdrop-saturate":[{"backdrop-saturate":[F,X,B]}],"backdrop-sepia":[{"backdrop-sepia":["",F,X,B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",X,B]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",X,B]}],ease:[{ease:["linear","initial",v,X,B]}],delay:[{delay:[F,X,B]}],animate:[{animate:["none",y,X,B]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,X,B]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:pe()}],"rotate-x":[{"rotate-x":pe()}],"rotate-y":[{"rotate-y":pe()}],"rotate-z":[{"rotate-z":pe()}],scale:[{scale:he()}],"scale-x":[{"scale-x":he()}],"scale-y":[{"scale-y":he()}],"scale-z":[{"scale-z":he()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[X,B,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ge()}],"translate-x":[{"translate-x":ge()}],"translate-y":[{"translate-y":ge()}],"translate-z":[{"translate-z":ge()}],"translate-none":["translate-none"],accent:[{accent:U()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:U()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",X,B]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",X,B]}],fill:[{fill:["none",...U()]}],"stroke-w":[{stroke:[F,Q,G,q]}],stroke:[{stroke:["none",...U()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),me=S(he)},201:function(e,t,n){n.d(t,{PO:function(){return ce},p7:function(){return ot},tv:function(){return it},yj:function(){return lt}});var r=n(252),o=n(262); + */const o=(0,i.Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},744:function(t,e){e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n}},148:function(t,e,n){n.d(e,{De:function(){return $n},Dx:function(){return Un},FB:function(){return Ri},FK:function(){return c},Gu:function(){return Fn},IQ:function(){return j},ST:function(){return R},W_:function(){return It},f$:function(){return ki},jI:function(){return I},jn:function(){return nn},kL:function(){return Be},od:function(){return rn},u:function(){return pi},uw:function(){return xi}});var i=n(411); +/*! + * Chart.js v4.5.1 + * https://www.chartjs.org + * (c) 2025 Chart.js Contributors + * Released under the MIT License + */class o{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,i){const o=e.listeners[i],r=e.duration;o.forEach((i=>i({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(n-e.start,r)})))}_refresh(){this._request||(this._running=!0,this._request=i.r.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,i)=>{if(!n.running||!n.items.length)return;const o=n.items;let r,s=o.length-1,a=!1;for(;s>=0;--s)r=o[s],r._active?(r._total>n.duration&&(n.duration=r._total),r.tick(t),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,n,t,"progress")),o.length||(n.running=!1,this._notify(i,n,t,"complete"),n.initial=!1),e+=o.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var r=new o;const s="transparent",a={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const o=(0,i.c)(t||s),r=o.valid&&(0,i.c)(e||s);return r&&r.valid?r.mix(o,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class l{constructor(t,e,n,o){const r=e[n];o=(0,i.a)([t.to,o,r,t.from]);const s=(0,i.a)([t.from,r,o]);this._active=!0,this._fn=t.fn||a[t.type||typeof s],this._easing=i.e[t.easing]||i.e.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=s,this._to=o,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const o=this._target[this._prop],r=n-this._start,s=this._duration-r;this._start=n,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=r,this._loop=!!t.loop,this._to=(0,i.a)([t.to,e,o,t.from]),this._from=(0,i.a)([t.from,o,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,i=this._prop,o=this._from,r=this._loop,s=this._to;let a;if(this._active=o!==s&&(r||e1?2-a:a,a=this._easing(Math.min(1,Math.max(0,a))),this._target[i]=this._fn(o,s,a))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let i=0;i{const r=t[o];if(!(0,i.i)(r))return;const s={};for(const t of e)s[t]=r[t];((0,i.b)(r.properties)&&r.properties||[o]).forEach((t=>{t!==o&&n.has(t)||n.set(t,s)}))}))}_animateOptions(t,e){const n=e.options,i=h(t,n);if(!i)return[];const o=this._createAnimations(i,n);return n.$shared&&u(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),o}_createAnimations(t,e){const n=this._properties,i=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),s=Date.now();let a;for(a=r.length-1;a>=0;--a){const c=r[a];if("$"===c.charAt(0))continue;if("options"===c){i.push(...this._animateOptions(t,e));continue}const u=e[c];let h=o[c];const d=n.get(c);if(h){if(d&&h.active()){h.update(d,u,s);continue}h.cancel()}d&&d.duration?(o[c]=h=new l(d,t,c,u),i.push(h)):t[c]=u}return i}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(r.add(this._chart,n),!0):void 0}}function u(t,e){const n=[],i=Object.keys(e);for(let o=0;o0||!n&&e<0)return o.index}return null}function k(t,e){const{chart:n,_cachedMeta:i}=t,o=n._stacks||(n._stacks={}),{iScale:r,vScale:s,index:a}=i,l=r.axis,c=s.axis,u=x(r,s,i),h=e.length;let d;for(let f=0;fn[t].axis===e)).shift()}function S(t,e){return(0,i.j)(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function D(t,e,n){return(0,i.j)(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function T(t,e){const n=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[i]||void 0===e[i][n])return;delete e[i][n],void 0!==e[i]._visualValues&&void 0!==e[i]._visualValues[n]&&delete e[i]._visualValues[n]}}}const C=t=>"reset"===t||"none"===t,P=(t,e)=>e?t:Object.assign({},t),O=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:g(n,!0),values:null};class A{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=y(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&T(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),o=(t,e,n,i)=>"x"===t?e:"r"===t?i:n,r=e.xAxisID=(0,i.v)(n.xAxisID,M(t,"x")),s=e.yAxisID=(0,i.v)(n.yAxisID,M(t,"y")),a=e.rAxisID=(0,i.v)(n.rAxisID,M(t,"r")),l=e.indexAxis,c=e.iAxisID=o(l,r,s,a),u=e.vAxisID=o(l,s,r,a);e.xScale=this.getScaleForId(r),e.yScale=this.getScaleForId(s),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&(0,i.u)(this._data,this),t._stacked&&T(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if((0,i.i)(e)){const t=this._cachedMeta;this._data=b(e,t)}else if(n!==e){if(n){(0,i.u)(n,this);const t=this._cachedMeta;T(t),t._parsed=[]}e&&Object.isExtensible(e)&&(0,i.l)(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const o=e._stacked;e._stacked=y(e.vScale,e),e.stack!==n.stack&&(i=!0,T(e),e.stack=n.stack),this._resyncElements(t),(i||o!==e._stacked)&&(k(this,e._parsed),e._stacked=y(e.vScale,e))}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:s}=n,a=r.axis;let l,c,u,h=0===t&&e===o.length||n._sorted,d=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=o,n._sorted=!0,u=o;else{u=(0,i.b)(o[t])?this.parseArrayData(n,o,t,e):(0,i.i)(o[t])?this.parseObjectData(n,o,t,e):this.parsePrimitiveData(n,o,t,e);const r=()=>null===c[a]||d&&c[a]e||h=0;--d)if(!p()){this.updateRangeFromParsed(c,t,f,l);break}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let o,r,s;for(o=0,r=e.length;o=0&&tthis.getContext(n,o,e),g=c.resolveNamedOptions(d,f,p,h);return g.$shared&&(g.$shared=l,r[s]=Object.freeze(P(g,l))),g}_resolveAnimations(t,e,n){const i=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,s=o[r];if(s)return s;let a;if(!1!==i.options.animation){const i=this.chart.config,o=i.datasetAnimationScopeKeys(this._type,e),r=i.getOptionScopes(this.getDataset(),o);a=i.createResolver(r,this.getContext(t,n,e))}const l=new c(i,a&&a.animations);return a&&a._cacheable&&(o[r]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||C(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),i=this._sharedOptions,o=this.getSharedOptions(n),r=this.includeOptions(e,o)||o!==i;return this.updateSharedOptions(o,e,n),{sharedOptions:o,includeOptions:r}}updateElement(t,e,n,i){C(i)?Object.assign(t,n):this._resolveAnimations(e,i).update(t,n)}updateSharedOptions(t,e,n){t&&!C(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,i){t.active=i;const o=this.getStyle(e,i);this._resolveAnimations(e,n,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[s,a,l]of this._syncList)this[s](a,l);this._syncList=[];const i=n.length,o=e.length,r=Math.min(o,i);r&&this.parse(0,r),o>i?this._insertElements(i,o-i,t):o{for(t.length+=e,s=t.length-1;s>=r;s--)t[s]=t[s-e]};for(a(o),s=t;s(0,i.p)(t,l,c,!0)?1:Math.max(e,e*n,o,o*n),g=(t,e,o)=>(0,i.p)(t,l,c,!0)?-1:Math.min(e,e*n,o,o*n),m=p(0,u,d),b=p(i.H,h,f),y=g(i.P,u,d),x=g(i.P+i.H,h,f);o=(m-y)/2,r=(b-x)/2,s=-(m+y)/2,a=-(b+x)/2}return{ratioX:o,ratioY:r,offsetX:s,offsetY:a}}class I extends A{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data,{labels:{pointStyle:n,textAlign:i,color:o,useBorderRadius:r,borderRadius:s}}=t.legend.options;return e.labels.length&&e.datasets.length?e.labels.map(((e,a)=>{const l=t.getDatasetMeta(0),c=l.controller.getStyle(a);return{text:e,fillStyle:c.backgroundColor,fontColor:o,hidden:!t.getDataVisibility(a),lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:c.borderWidth,strokeStyle:c.borderColor,textAlign:i,pointStyle:n,borderRadius:r&&(s||c.borderRadius),index:a}})):[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,o=this._cachedMeta;if(!1===this._parsing)o._parsed=n;else{let r,s,a=t=>+n[t];if((0,i.i)(n[t])){const{key:t="value"}=this._parsing;a=e=>+(0,i.f)(n[e],t)}for(r=t,s=t+e;r0&&!isNaN(t)?i.T*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=(0,i.o)(e._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let e=0;const n=this.chart;let i,o,r,s,a;if(!t)for(i=0,o=n.data.datasets.length;i0&&this.getParsed(e-1);for(let w=0;w=y){p.skip=!0;continue}const x=this.getParsed(w),_=(0,i.k)(x[f]),k=p[d]=s.getPixelForValue(x[d],w),M=p[f]=r||_?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,x,l):x[f],w);p.skip=isNaN(k)||isNaN(M)||_,p.stop=w>0&&Math.abs(x[d]-v[d])>m,g&&(p.parsed=x,p.raw=c.data[w]),h&&(p.options=u||this.resolveDataElementOptions(w,n.active?"active":o)),b||this.updateElement(n,w,p,o),v=x}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,i=t.data||[];if(!i.length)return n;const o=i[0].size(this.resolveDataElementOptions(0)),r=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}function L(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class F{static override(t){Object.assign(F.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return L()}parse(){return L()}format(){return L()}add(){return L()}diff(){return L()}startOf(){return L()}endOf(){return L()}}var j={_date:F};function z(t,e,n,o){const{controller:r,data:s,_sorted:a}=t,l=r._cachedMeta.iScale,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(l&&e===l.axis&&"r"!==e&&a&&s.length){const a=l._reversePixels?i.A:i.B;if(!o){const o=a(s,e,n);if(c){const{vScale:e}=r._cachedMeta,{_parsed:n}=t,s=n.slice(0,o.lo+1).reverse().findIndex((t=>!(0,i.k)(t[e.axis])));o.lo-=Math.max(0,s);const a=n.slice(o.hi).findIndex((t=>!(0,i.k)(t[e.axis])));o.hi+=Math.max(0,a)}return o}if(r._sharedOptions){const t=s[0],i="function"===typeof t.getRange&&t.getRange(e);if(i){const t=a(s,e,n-i),o=a(s,e,n+i);return{lo:t.lo,hi:o.hi}}}}return{lo:0,hi:s.length-1}}function W(t,e,n,i,o){const r=t.getSortedVisibleDatasetMetas(),s=n[e];for(let a=0,l=r.length;a{t[s]&&t[s](e[n],o)&&(r.push({element:t,datasetIndex:i,index:l}),a=a||t.inRange(e.x,e.y,o))})),i&&!a?[]:r}var X={evaluateInteractionItems:W,modes:{index(t,e,n,o){const r=(0,i.z)(e,t),s=n.axis||"x",a=n.includeInvisible||!1,l=n.intersect?H(t,r,s,o,a):V(t,r,s,!1,o,a),c=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=l[0].index,n=t.data[e];n&&!n.skip&&c.push({element:n,datasetIndex:t.index,index:e})})),c):[]},dataset(t,e,n,o){const r=(0,i.z)(e,t),s=n.axis||"xy",a=n.includeInvisible||!1;let l=n.intersect?H(t,r,s,o,a):V(t,r,s,!1,o,a);if(l.length>0){const e=l[0].datasetIndex,n=t.getDatasetMeta(e).data;l=[];for(let t=0;tt.pos===e))}function G(t,e){return t.filter((t=>-1===q.indexOf(t.pos)&&t.box.axis===e))}function Z(t,e){return t.sort(((t,n)=>{const i=e?n:t,o=e?t:n;return i.weight===o.weight?i.index-o.index:i.weight-o.weight}))}function J(t){const e=[];let n,i,o,r,s,a;for(n=0,i=(t||[]).length;nt.box.fullSize)),!0),i=Z(U(e,"left"),!0),o=Z(U(e,"right")),r=Z(U(e,"top"),!0),s=Z(U(e,"bottom")),a=G(e,"x"),l=G(e,"y");return{fullSize:n,leftAndTop:i.concat(r),rightAndBottom:o.concat(l).concat(s).concat(a),chartArea:U(e,"chartArea"),vertical:i.concat(o).concat(l),horizontal:r.concat(s).concat(a)}}function et(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function nt(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function it(t,e,n,o){const{pos:r,box:s}=n,a=t.maxPadding;if(!(0,i.i)(r)){n.size&&(t[r]-=n.size);const e=o[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?s.height:s.width),n.size=e.size/e.count,t[r]+=n.size}s.getPadding&&nt(a,s.getPadding());const l=Math.max(0,e.outerWidth-et(a,t,"left","right")),c=Math.max(0,e.outerHeight-et(a,t,"top","bottom")),u=l!==t.w,h=c!==t.h;return t.w=l,t.h=c,n.horizontal?{same:u,other:h}:{same:h,other:u}}function ot(t){const e=t.maxPadding;function n(n){const i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function rt(t,e){const n=e.maxPadding;function i(t){const i={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function st(t,e,n,i){const o=[];let r,s,a,l,c,u;for(r=0,s=t.length,c=0;r{"function"===typeof t.beforeLayout&&t.beforeLayout()}));const h=c.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:s,availableHeight:a,vBoxMaxWidth:s/2/h,hBoxMaxHeight:a/2}),f=Object.assign({},r);nt(f,(0,i.E)(o));const p=Object.assign({maxPadding:f,w:s,h:a,x:r.left,y:r.top},r),g=K(c.concat(u),d);st(l.fullSize,p,d,g),st(c,p,d,g),st(u,p,d,g)&&st(c,p,d,g),ot(p),lt(l.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,lt(l.rightAndBottom,p,d,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},(0,i.F)(l.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class ut{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,i){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,i?Math.floor(e/i):n)}}isAttached(t){return!0}updateConfig(t){}}class ht extends ut{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const dt="$chartjs",ft={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},pt=t=>null===t||""===t;function gt(t,e){const n=t.style,o=t.getAttribute("height"),r=t.getAttribute("width");if(t[dt]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",pt(r)){const e=(0,i.J)(t,"width");void 0!==e&&(t.width=e)}if(pt(o))if(""===t.style.height)t.height=t.width/(e||2);else{const e=(0,i.J)(t,"height");void 0!==e&&(t.height=e)}return t}const mt=!!i.K&&{passive:!0};function bt(t,e,n){t&&t.addEventListener(e,n,mt)}function yt(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,mt)}function xt(t,e){const n=ft[t.type]||t.type,{x:o,y:r}=(0,i.z)(t,e);return{type:n,chart:e,native:t,x:void 0!==o?o:null,y:void 0!==r?r:null}}function vt(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function wt(t,e,n){const i=t.canvas,o=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||vt(n.addedNodes,i),e=e&&!vt(n.removedNodes,i);e&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}function _t(t,e,n){const i=t.canvas,o=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||vt(n.removedNodes,i),e=e&&!vt(n.addedNodes,i);e&&n()}));return o.observe(document,{childList:!0,subtree:!0}),o}const kt=new Map;let Mt=0;function St(){const t=window.devicePixelRatio;t!==Mt&&(Mt=t,kt.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function Dt(t,e){kt.size||window.addEventListener("resize",St),kt.set(t,e)}function Tt(t){kt.delete(t),kt.size||window.removeEventListener("resize",St)}function Ct(t,e,n){const o=t.canvas,r=o&&(0,i.I)(o);if(!r)return;const s=(0,i.L)(((t,e)=>{const i=r.clientWidth;n(t,e),i{const e=t[0],n=e.contentRect.width,i=e.contentRect.height;0===n&&0===i||s(n,i)}));return a.observe(r),Dt(t,s),a}function Pt(t,e,n){n&&n.disconnect(),"resize"===e&&Tt(t)}function Ot(t,e,n){const o=t.canvas,r=(0,i.L)((e=>{null!==t.ctx&&n(xt(e,t))}),t);return bt(o,e,r),r}class At extends ut{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(gt(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[dt])return!1;const n=e[dt].initial;["height","width"].forEach((t=>{const o=n[t];(0,i.k)(o)?e.removeAttribute(t):e.setAttribute(t,o)}));const o=n.style||{};return Object.keys(o).forEach((t=>{e.style[t]=o[t]})),e.width=e.width,delete e[dt],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const i=t.$proxies||(t.$proxies={}),o={attach:wt,detach:_t,resize:Ct},r=o[e]||Ot;i[e]=r(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),i=n[e];if(!i)return;const o={attach:Pt,detach:Pt,resize:Pt},r=o[e]||yt;r(t,e,i),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,o){return(0,i.G)(t,e,n,o)}isAttached(t){const e=t&&(0,i.I)(t);return!(!e||!e.isConnected)}}function Et(t){return!(0,i.M)()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ht:At}class It{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return(0,i.x)(this.x)&&(0,i.x)(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const i={};return t.forEach((t=>{i[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),i}}function Rt(t,e){const n=t.options.ticks,o=Lt(t),r=Math.min(n.maxTicksLimit||o,o),s=n.major.enabled?jt(e):[],a=s.length,l=s[0],c=s[a-1],u=[];if(a>r)return zt(e,u,s,a/r),u;const h=Ft(s,e,r);if(a>0){let t,n;const o=a>1?Math.round((c-l)/(a-1)):null;for(Wt(e,u,h,(0,i.k)(o)?0:l-o,l),t=0,n=a-1;tr)return t}return Math.max(r,1)}function jt(t){const e=[];let n,i;for(n=0,i=t.length;n"left"===t?"right":"right"===t?"left":t,Bt=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n,Yt=(t,e)=>Math.min(e||t,t);function Vt(t,e){const n=[],i=t.length/e,o=t.length;let r=0;for(;rs+a)))return c}function Xt(t,e){(0,i.F)(t,(t=>{const n=t.gc,i=n.length/2;let o;if(i>e){for(o=0;oo?o:n,o=r&&n>o?n:o,{min:(0,i.O)(n,(0,i.O)(o,n)),max:(0,i.O)(o,(0,i.O)(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){const e=this._labelItems||(this._labelItems=this._computeLabelItems(t));return e}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,i.Q)(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:o,grace:r,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,i.R)(this,r,o),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=r||n<=1||!this.isHorizontal())return void(this.labelRotation=o);const u=this._getLabelSizes(),h=u.widest.width,d=u.highest.height,f=(0,i.S)(this.chart.width-h,0,this.maxWidth);s=t.offset?this.maxWidth/n:f/(n-1),h+6>s&&(s=f/(n-(t.offset?.5:1)),a=this.maxHeight-qt(t.grid)-e.padding-Ut(t.title,this.chart.options.font),l=Math.sqrt(h*h+d*d),c=(0,i.U)(Math.min(Math.asin((0,i.S)((u.highest.height+6)/s,-1,1)),Math.asin((0,i.S)(a/l,-1,1))-Math.asin((0,i.S)(d/l,-1,1)))),c=Math.max(o,Math.min(r,c))),this.labelRotation=c}afterCalculateLabelRotation(){(0,i.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,i.Q)(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:o,grid:r}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const s=Ut(o,e.options.font);if(a?(t.width=this.maxWidth,t.height=qt(r)+s):(t.height=this.maxHeight,t.width=qt(r)+s),n.display&&this.ticks.length){const{first:e,last:o,widest:r,highest:s}=this._getLabelSizes(),l=2*n.padding,c=(0,i.t)(this.labelRotation),u=Math.cos(c),h=Math.sin(c);if(a){const e=n.mirror?0:h*r.width+u*s.height;t.height=Math.min(this.maxHeight,t.height+e+l)}else{const e=n.mirror?0:u*r.width+h*s.height;t.width=Math.min(this.maxWidth,t.width+e+l)}this._calculatePadding(e,o,h,u)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,i){const{ticks:{align:o,padding:r},position:s}=this.options,a=0!==this.labelRotation,l="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,h=0;a?l?(u=i*t.width,h=n*e.height):(u=n*t.height,h=i*e.width):"start"===o?h=e.width:"end"===o?u=t.width:"inner"!==o&&(u=t.width/2,h=e.width/2),this.paddingLeft=Math.max((u-s+r)*this.width/(this.width-s),0),this.paddingRight=Math.max((h-c+r)*this.width/(this.width-c),0)}else{let n=e.height/2,i=t.height/2;"start"===o?(n=0,i=t.height):"end"===o&&(n=e.height,i=0),this.paddingTop=n+r,this.paddingBottom=i+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,i.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e({width:s[t]||0,height:a[t]||0});return{first:M(0),last:M(e-1),widest:M(_),highest:M(k),widths:s,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return(0,i.W)(this._alignToPixels?(0,i.X)(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*o?a/n:l/o:l*o0}_computeGridLineItems(t){const e=this.axis,n=this.chart,o=this.options,{grid:r,position:s,border:a}=o,l=r.offset,c=this.isHorizontal(),u=this.ticks,h=u.length+(l?1:0),d=qt(r),f=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(t){return(0,i.X)(n,t,g)};let y,x,v,w,_,k,M,S,D,T,C,P;if("top"===s)y=b(this.bottom),k=this.bottom-d,S=y-m,T=b(t.top)+m,P=t.bottom;else if("bottom"===s)y=b(this.top),T=t.top,P=b(t.bottom)-m,k=y+m,S=this.top+d;else if("left"===s)y=b(this.right),_=this.right-d,M=y-m,D=b(t.left)+m,C=t.right;else if("right"===s)y=b(this.left),D=t.left,C=b(t.right)-m,_=y+m,M=this.left+d;else if("x"===e){if("center"===s)y=b((t.top+t.bottom)/2+.5);else if((0,i.i)(s)){const t=Object.keys(s)[0],e=s[t];y=b(this.chart.scales[t].getPixelForValue(e))}T=t.top,P=t.bottom,k=y+m,S=k+d}else if("y"===e){if("center"===s)y=b((t.left+t.right)/2);else if((0,i.i)(s)){const t=Object.keys(s)[0],e=s[t];y=b(this.chart.scales[t].getPixelForValue(e))}_=y-m,M=_-d,D=t.left,C=t.right}const O=(0,i.v)(o.ticks.maxTicksLimit,h),A=Math.max(1,Math.ceil(h/O));for(x=0;x0&&(s-=o/2);break}d={left:s,top:r,width:o+e.width,height:n+e.height,color:t.backdropColor}}m.push({label:v,font:S,textOffset:C,options:{rotation:g,color:n,strokeColor:l,strokeWidth:u,textAlign:f,textBaseline:P,translation:[w,_],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options,n=-(0,i.t)(this.labelRotation);if(n)return"top"===t?"left":"right";let o="center";return"start"===e.align?o="left":"end"===e.align?o="right":"inner"===e.align&&(o="inner"),o}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:i,padding:o}}=this.options,r=this._getLabelSizes(),s=t+o,a=r.widest.width;let l,c;return"left"===e?i?(c=this.right+o,"near"===n?l="left":"center"===n?(l="center",c+=a/2):(l="right",c+=a)):(c=this.right-s,"near"===n?l="right":"center"===n?(l="center",c-=a/2):(l="left",c=this.left)):"right"===e?i?(c=this.left+o,"near"===n?l="right":"center"===n?(l="center",c-=a/2):(l="left",c-=a)):(c=this.left+s,"near"===n?l="left":"center"===n?(l="center",c+=a/2):(l="right",c=this.right)):l="right",{textAlign:l,x:c}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:i,width:o,height:r}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,i,o,r),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks,i=n.findIndex((e=>e.value===t));if(i>=0){const t=e.setContext(this.getContext(i));return t.lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const s=(t,e,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(o=0,r=i.length;o{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:o,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let o,r;for(o=0,r=e.length;o{const o=n.split("."),r=o.pop(),s=[t].concat(o).join("."),a=e[n].split("."),l=a.pop(),c=a.join(".");i.d.route(s,r,c,l)}))}function ie(t){return"id"in t&&"defaults"in t}class oe{constructor(){this.controllers=new te(A,"datasets",!0),this.elements=new te(It,"elements"),this.plugins=new te(Object,"plugins"),this.scales=new te(Kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const o=n||this._getRegistryForType(e);n||o.isForType(e)||o===this.plugins&&e.id?this._exec(t,o,e):(0,i.F)(e,(e=>{const i=n||this._getRegistryForType(e);this._exec(t,i,e)}))}))}_exec(t,e,n){const o=(0,i.a5)(t);(0,i.Q)(n["before"+o],[],n),e[t](n),(0,i.Q)(n["after"+o],[],n)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(i(e,n),t,"stop"),this._notify(i(n,e),t,"start")}}function ae(t){const e={},n=[],i=Object.keys(re.plugins.items);for(let r=0;r1&&pe(t[0].toLowerCase());if(e)return e}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function be(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function ye(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(n.length)return be(t,"x",n[0])||be(t,"y",n[0])}return{}}function xe(t,e){const n=i.a3[t.type]||{scales:{}},o=e.scales||{},r=he(t.type,e),s=Object.create(null);return Object.keys(o).forEach((e=>{const a=o[e];if(!(0,i.i)(a))return console.error(`Invalid scale configuration for scale: ${e}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=me(e,a,ye(e,t),i.d.scales[a.type]),c=fe(l,r),u=n.scales||{};s[e]=(0,i.ab)(Object.create(null),[{axis:l},a,u[l],u[c]])})),t.data.datasets.forEach((n=>{const r=n.type||t.type,a=n.indexAxis||he(r,e),l=i.a3[r]||{},c=l.scales||{};Object.keys(c).forEach((t=>{const e=de(t,a),r=n[e+"AxisID"]||e;s[r]=s[r]||Object.create(null),(0,i.ab)(s[r],[{axis:e},o[r],c[t]])}))})),Object.keys(s).forEach((t=>{const e=s[t];(0,i.ab)(e,[i.d.scales[e.type],i.d.scale])})),s}function ve(t){const e=t.options||(t.options={});e.plugins=(0,i.v)(e.plugins,{}),e.scales=xe(t,e)}function we(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function _e(t){return t=t||{},t.data=we(t.data),ve(t),t}const ke=new Map,Me=new Set;function Se(t,e){let n=ke.get(t);return n||(n=e(),ke.set(t,n),Me.add(n)),n}const De=(t,e,n)=>{const o=(0,i.f)(e,n);void 0!==o&&t.add(o)};class Te{constructor(t){this._config=_e(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=we(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),ve(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Se(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Se(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Se(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id,n=this.type;return Se(`${n}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let i=n.get(t);return i&&!e||(i=new Map,n.set(t,i)),i}getOptionScopes(t,e,n){const{options:o,type:r}=this,s=this._cachedScopes(t,n),a=s.get(e);if(a)return a;const l=new Set;e.forEach((e=>{t&&(l.add(t),e.forEach((e=>De(l,t,e)))),e.forEach((t=>De(l,o,t))),e.forEach((t=>De(l,i.a3[r]||{},t))),e.forEach((t=>De(l,i.d,t))),e.forEach((t=>De(l,i.a6,t)))}));const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),Me.has(e)&&s.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,i.a3[e]||{},i.d.datasets[e]||{},{type:e},i.d,i.a6]}resolveNamedOptions(t,e,n,o=[""]){const r={$shared:!0},{resolver:s,subPrefixes:a}=Ce(this._resolverCache,t,o);let l=s;if(Oe(s,e)){r.$shared=!1,n=(0,i.a7)(n)?n():n;const e=this.createResolver(t,n,a);l=(0,i.a8)(s,n,e)}for(const i of e)r[i]=l[i];return r}createResolver(t,e,n=[""],o){const{resolver:r}=Ce(this._resolverCache,t,n);return(0,i.i)(e)?(0,i.a8)(r,e,void 0,o):r}}function Ce(t,e,n){let o=t.get(e);o||(o=new Map,t.set(e,o));const r=n.join();let s=o.get(r);if(!s){const t=(0,i.a9)(e,n);s={resolver:t,subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},o.set(r,s)}return s}const Pe=t=>(0,i.i)(t)&&Object.getOwnPropertyNames(t).some((e=>(0,i.a7)(t[e])));function Oe(t,e){const{isScriptable:n,isIndexable:o}=(0,i.aa)(t);for(const r of e){const e=n(r),s=o(r),a=(s||e)&&t[r];if(e&&((0,i.a7)(a)||Pe(a))||s&&(0,i.b)(a))return!0}return!1}var Ae="4.5.1";const Ee=["top","bottom","left","right","chartArea"];function Ie(t,e){return"top"===t||"bottom"===t||-1===Ee.indexOf(t)&&"x"===e}function Re(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function Le(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),(0,i.Q)(n&&n.onComplete,[t],e)}function Fe(t){const e=t.chart,n=e.options.animation;(0,i.Q)(n&&n.onProgress,[t],e)}function je(t){return(0,i.M)()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ze={},We=t=>{const e=je(t);return Object.values(ze).filter((t=>t.canvas===e)).pop()};function Ne(t,e,n){const i=Object.keys(t);for(const o of i){const i=+o;if(i>=e){const r=t[o];delete t[o],(n>0||i>e)&&(t[i+n]=r)}}}function He(t,e,n,i){return n&&"mouseout"!==t.type?i?e:t:null}class Be{static defaults=i.d;static instances=ze;static overrides=i.a3;static registry=re;static version=Ae;static getChart=We;static register(...t){re.add(...t),Ye()}static unregister(...t){re.remove(...t),Ye()}constructor(t,e){const n=this.config=new Te(e),o=je(t),s=We(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Et(o)),this.platform.updateConfig(n);const l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,u=c&&c.height,h=c&&c.width;this.id=(0,i.ac)(),this.ctx=l,this.canvas=c,this.width=h,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new se,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,i.ad)((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],ze[this.id]=this,l&&c?(r.listen(this,"complete",Le),r.listen(this,"progress",Fe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:o,_aspectRatio:r}=this;return(0,i.k)(t)?e&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return re}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,i.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,i.af)(this.canvas,this.ctx),this}stop(){return r.stop(this),this}resize(t,e){r.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(o,t,e,r),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,(0,i.ae)(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),(0,i.Q)(n.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const t=this.options,e=t.scales||{};(0,i.F)(e,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,o=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let r=[];e&&(r=r.concat(Object.keys(e).map((t=>{const n=e[t],i=me(t,n),o="r"===i,r="x"===i;return{options:n,dposition:o?"chartArea":r?"bottom":"left",dtype:o?"radialLinear":r?"category":"linear"}})))),(0,i.F)(r,(e=>{const r=e.options,s=r.id,a=me(s,r),l=(0,i.v)(r.type,e.dtype);void 0!==r.position&&Ie(r.position,a)===Ie(e.dposition)||(r.position=e.dposition),o[s]=!0;let c=null;if(s in n&&n[s].type===l)c=n[s];else{const t=re.getScale(l);c=new t({id:s,type:l,ctx:this.ctx,chart:this}),n[c.id]=c}c.init(r,t)})),(0,i.F)(o,((t,e)=>{t||delete n[e]})),(0,i.F)(n,(t=>{ct.configure(this,t,t.options),ct.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,o;for(this._removeUnreferencedMetasets(),n=0,o=e.length;n{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let i=0,c=this.data.datasets.length;i{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Re("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){(0,i.F)(this.scales,(t=>{ct.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);(0,i.ag)(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:o}of e){const e="_removeElements"===n?-o:o;Ne(t,i,e)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),o=n(0);for(let r=1;rt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ct.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],(0,i.F)(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n={meta:t,index:t.index,cancelable:!0},o=(0,i.ah)(this,t);!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(o&&(0,i.Y)(e,o),t.controller.draw(),o&&(0,i.$)(e),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(t){return(0,i.C)(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,i){const o=X.modes[e];return"function"===typeof o?o(this,t,n,i):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let i=n.filter((t=>t&&t._dataset===e)).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=(0,i.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){const n=this.getDatasetMeta(t);n.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const o=n?"show":"hide",r=this.getDatasetMeta(t),s=r.controller._resolveAnimations(void 0,o);(0,i.h)(e)?(r.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),s.update(r,{visible:n}),this.update((e=>e.datasetIndex===t?o:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),r.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,n,i),t[n]=i},o=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};(0,i.F)(this.options.events,(t=>n(t,o)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,i)=>{e.addEventListener(this,n,i),t[n]=i},i=(n,i)=>{t[n]&&(e.removeEventListener(this,n,i),delete t[n])},o=(t,e)=>{this.canvas&&this.resize(t,e)};let r;const s=()=>{i("attach",s),this.attached=!0,this.resize(),n("resize",o),n("detach",r)};r=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),n("attach",s)},e.isAttached(this.canvas)?s():r()}unbindEvents(){(0,i.F)(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},(0,i.F)(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const i=n?"set":"remove";let o,r,s,a;for("dataset"===e&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),s=0,a=t.length;s{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),o=!(0,i.ai)(n,e);o&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,n){const i=this.options.hover,o=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),r=o(e,t),s=n?t:o(t,e);r.length&&this.updateHoverStyle(r,i.mode,!1),s.length&&i.mode&&this.updateHoverStyle(s,i.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},i=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,i))return;const o=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(o||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:o=[],options:r}=this,s=e,a=this._getActiveElements(t,o,n,s),l=(0,i.aj)(t),c=He(t,this._lastEvent,n,l);n&&(this._lastEvent=null,(0,i.Q)(r.onHover,[t,a,this],this),l&&(0,i.Q)(r.onClick,[t,a,this],this));const u=!(0,i.ai)(a,o);return(u||e)&&(this._active=a,this._updateHoverStyles(a,o,e)),this._lastEvent=c,u}_getActiveElements(t,e,n,i){if("mouseout"===t.type)return[];if(!n)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}}function Ye(){return(0,i.F)(Be.instances,(t=>t._plugins.invalidate()))}function Ve(t,e,n=e){t.lineCap=(0,i.v)(n.borderCapStyle,e.borderCapStyle),t.setLineDash((0,i.v)(n.borderDash,e.borderDash)),t.lineDashOffset=(0,i.v)(n.borderDashOffset,e.borderDashOffset),t.lineJoin=(0,i.v)(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=(0,i.v)(n.borderWidth,e.borderWidth),t.strokeStyle=(0,i.v)(n.borderColor,e.borderColor)}function $e(t,e,n){t.lineTo(n.x,n.y)}function Xe(t){return t.stepped?i.at:t.tension||"monotone"===t.cubicInterpolationMode?i.au:$e}function qe(t,e,n={}){const i=t.length,{start:o=0,end:r=i-1}=n,{start:s,end:a}=e,l=Math.max(o,s),c=Math.min(r,a),u=oa&&r>a;return{count:i,start:l,loop:e.loop,ilen:c(s+(c?a-t:t))%r,x=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(l&&(h=o[y(0)],t.moveTo(h.x,h.y)),u=0;u<=a;++u){if(h=o[y(u)],h.skip)continue;const e=h.x,n=h.y,i=0|e;i===d?(np&&(p=n),m=(b*m+e)/++b):(x(),t.lineTo(e,n),d=i,b=0,f=p=n),g=n}x()}function Ze(t){const e=t.options,n=e.borderDash&&e.borderDash.length,i=!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n;return i?Ge:Ue}function Je(t){return t.stepped?i.aq:t.tension||"monotone"===t.cubicInterpolationMode?i.ar:i.as}function Qe(t,e,n,i){let o=e._path;o||(o=e._path=new Path2D,e.path(o,n,i)&&o.closePath()),Ve(t,e.options),t.stroke(o)}function Ke(t,e,n,i){const{segments:o,options:r}=e,s=Ze(e);for(const a of o)Ve(t,r,a.style),t.beginPath(),s(t,e,a,{start:n,end:n+i-1})&&t.closePath(),t.stroke()}const tn="function"===typeof Path2D;function en(t,e,n,i){tn&&!e.options.segment?Qe(t,e,n,i):Ke(t,e,n,i)}class nn extends It{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const o=n.spanGaps?this._loop:this._fullLoop;(0,i.an)(this._points,n,t,o,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,i.ao)(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,o=t[e],r=this.points,s=(0,i.ap)(this,{property:e,start:o,end:o});if(!s.length)return;const a=[],l=Je(n);let c,u;for(c=0,u=s.length;c{e=cn(t,e,o);const s=o[t],a=o[e];null!==i?(r.push({x:s.x,y:i}),r.push({x:a.x,y:i})):null!==n&&(r.push({x:n,y:s.y}),r.push({x:n,y:a.y}))})),r}function cn(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function un(t,e,n,i){return t&&e?i(t[n],e[n]):t?t[n]:e?e[n]:0}function hn(t,e){let n=[],o=!1;return(0,i.b)(t)?(o=!0,n=t):n=ln(t,e),n.length?new nn({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function dn(t){return t&&!1!==t.fill}function fn(t,e,n){const o=t[e];let r=o.fill;const s=[e];let a;if(!n)return r;while(!1!==r&&-1===s.indexOf(r)){if(!(0,i.g)(r))return r;if(a=t[r],!a)return!1;if(a.visible)return r;s.push(r),r=a.fill}return!1}function pn(t,e,n){const o=yn(t);if((0,i.i)(o))return!isNaN(o.value)&&o;let r=parseFloat(o);return(0,i.g)(r)&&Math.floor(r)===r?gn(o[0],e,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function gn(t,e,n,i){return"-"!==t&&"+"!==t||(n=e+n),!(n===e||n<0||n>=i)&&n}function mn(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:(0,i.i)(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function bn(t,e,n){let o;return o="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:(0,i.i)(t)?t.value:e.getBaseValue(),o}function yn(t){const e=t.options,n=e.fill;let o=(0,i.v)(n&&n.target,n);return void 0===o&&(o=!!e.backgroundColor),!1!==o&&null!==o&&(!0===o?"origin":o)}function xn(t){const{scale:e,index:n,line:i}=t,o=[],r=i.segments,s=i.points,a=vn(e,n);a.push(hn({x:null,y:e.bottom},i));for(let l=0;l=0;--s){const e=o[s].$filler;e&&(e.line.updateControlPoints(r,e.axis),i&&e.fill&&Pn(t.ctx,e,r))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let o=i.length-1;o>=0;--o){const e=i[o].$filler;dn(e)&&Pn(t.ctx,e,t.chartArea)}},beforeDatasetDraw(t,e,n){const i=e.meta.$filler;dn(i)&&"beforeDatasetDraw"===n.drawTime&&Pn(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const jn=(t,e)=>{let{boxHeight:n=e,boxWidth:i=e}=t;return t.usePointStyle&&(n=Math.min(n,e),i=t.pointStyleWidth||Math.min(i,e)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(e,n)}},zn=(t,e)=>null!==t&&null!==e&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Wn extends It{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=(0,i.Q)(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,o=(0,i.a0)(n.font),r=o.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=jn(n,r);let c,u;e.font=o.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(s,r,a,l)+10):(u=this.maxHeight,c=this._fitCols(s,o,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,i){const{ctx:o,maxWidth:r,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+s;let u=t;o.textAlign="left",o.textBaseline="middle";let h=-1,d=-c;return this.legendItems.forEach(((t,f)=>{const p=n+e/2+o.measureText(t.text).width;(0===f||l[l.length-1]+p+2*s>r)&&(u+=c,l[l.length-(f>0?0:1)]=0,d+=c,h++),a[f]={left:0,top:d,row:h,width:p,height:i},l[l.length-1]+=p+s})),u}_fitCols(t,e,n,i){const{ctx:o,maxHeight:r,options:{labels:{padding:s}}}=this,a=this.legendHitBoxes=[],l=this.columnSizes=[],c=r-t;let u=s,h=0,d=0,f=0,p=0;return this.legendItems.forEach(((t,r)=>{const{itemWidth:g,itemHeight:m}=Nn(n,e,o,t,i);r>0&&d+m+2*s>c&&(u+=h+s,l.push({width:h,height:d}),f+=h+s,p++,h=d=0),a[r]={left:f,top:d,col:p,width:g,height:m},h=Math.max(h,g),d+=m+s})),u+=h,l.push({width:h,height:d}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:o},rtl:r}}=this,s=(0,i.aA)(r,this.left,this.width);if(this.isHorizontal()){let r=0,a=(0,i.a2)(n,this.left+o,this.right-this.lineWidths[r]);for(const l of e)r!==l.row&&(r=l.row,a=(0,i.a2)(n,this.left+o,this.right-this.lineWidths[r])),l.top+=this.top+t+o,l.left=s.leftForLtr(s.x(a),l.width),a+=l.width+o}else{let r=0,a=(0,i.a2)(n,this.top+t+o,this.bottom-this.columnSizes[r].height);for(const l of e)l.col!==r&&(r=l.col,a=(0,i.a2)(n,this.top+t+o,this.bottom-this.columnSizes[r].height)),l.top=a,l.left+=this.left+o,l.left=s.leftForLtr(s.x(l.left),l.width),a+=l.height+o}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;(0,i.Y)(t,this),this._draw(),(0,i.$)(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:o}=this,{align:r,labels:s}=t,a=i.d.color,l=(0,i.aA)(t.rtl,this.left,this.width),c=(0,i.a0)(s.font),{padding:u}=s,h=c.size,d=h/2;let f;this.drawTitle(),o.textAlign=l.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=jn(s,h),b=function(t,e,n){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;o.save();const r=(0,i.v)(n.lineWidth,1);if(o.fillStyle=(0,i.v)(n.fillStyle,a),o.lineCap=(0,i.v)(n.lineCap,"butt"),o.lineDashOffset=(0,i.v)(n.lineDashOffset,0),o.lineJoin=(0,i.v)(n.lineJoin,"miter"),o.lineWidth=r,o.strokeStyle=(0,i.v)(n.strokeStyle,a),o.setLineDash((0,i.v)(n.lineDash,[])),s.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},c=l.xPlus(t,p/2),u=e+d;(0,i.aE)(o,a,c,u,s.pointStyleWidth&&p)}else{const s=e+Math.max((h-g)/2,0),a=l.leftForLtr(t,p),c=(0,i.ay)(n.borderRadius);o.beginPath(),Object.values(c).some((t=>0!==t))?(0,i.aw)(o,{x:a,y:s,w:p,h:g,radius:c}):o.rect(a,s,p,g),o.fill(),0!==r&&o.stroke()}o.restore()},y=function(t,e,n){(0,i.Z)(o,n.text,t,e+m/2,c,{strikethrough:n.hidden,textAlign:l.textAlign(n.textAlign)})},x=this.isHorizontal(),v=this._computeTitleHeight();f=x?{x:(0,i.a2)(r,this.left+u,this.right-n[0]),y:this.top+u+v,line:0}:{x:this.left+u,y:(0,i.a2)(r,this.top+v+u,this.bottom-e[0].height),line:0},(0,i.aB)(this.ctx,t.textDirection);const w=m+u;this.legendItems.forEach(((a,h)=>{o.strokeStyle=a.fontColor,o.fillStyle=a.fontColor;const g=o.measureText(a.text).width,m=l.textAlign(a.textAlign||(a.textAlign=s.textAlign)),_=p+d+g;let k=f.x,M=f.y;l.setWidth(this.width),x?h>0&&k+_+u>this.right&&(M=f.y+=w,f.line++,k=f.x=(0,i.a2)(r,this.left+u,this.right-n[f.line])):h>0&&M+w>this.bottom&&(k=f.x=k+e[f.line].width+u,f.line++,M=f.y=(0,i.a2)(r,this.top+v+u,this.bottom-e[f.line].height));const S=l.x(k);if(b(S,M,a),k=(0,i.aC)(m,k+p+d,x?k+_:this.right,t.rtl),y(l.x(k),M,a),x)f.x+=_+u;else if("string"!==typeof a.text){const t=c.lineHeight;f.y+=Yn(a,t)+u}else f.y+=w})),(0,i.aD)(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=(0,i.a0)(e.font),o=(0,i.E)(e.padding);if(!e.display)return;const r=(0,i.aA)(t.rtl,this.left,this.width),s=this.ctx,a=e.position,l=n.size/2,c=o.top+l;let u,h=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),u=this.top+c,h=(0,i.a2)(t.align,h,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);u=c+(0,i.a2)(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=(0,i.a2)(a,h,h+d);s.textAlign=r.textAlign((0,i.a1)(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=n.string,(0,i.Z)(s,e.text,f,u,n)}_computeTitleHeight(){const t=this.options.title,e=(0,i.a0)(t.font),n=(0,i.E)(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,o,r;if((0,i.ak)(t,this.left,this.right)&&(0,i.ak)(e,this.top,this.bottom))for(r=this.legendHitBoxes,n=0;nt.length>e.length?t:e))),e+n.size/2+i.measureText(o).width}function Bn(t,e,n){let i=t;return"string"!==typeof e.text&&(i=Yn(e,n)),i}function Yn(t,e){const n=t.text?t.text.length:0;return e*n}function Vn(t,e){return!("mousemove"!==t&&"mouseout"!==t||!e.onHover&&!e.onLeave)||!(!e.onClick||"click"!==t&&"mouseup"!==t)}var $n={id:"legend",_element:Wn,start(t,e,n){const i=t.legend=new Wn({ctx:t.ctx,options:n,chart:t});ct.configure(t,i,n),ct.addBox(t,i)},stop(t){ct.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const i=t.legend;ct.configure(t,i,n),i.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const i=e.datasetIndex,o=n.chart;o.isDatasetVisible(i)?(o.hide(i),e.hidden=!0):(o.show(i),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:s,useBorderRadius:a,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const c=t.controller.getStyle(n?0:void 0),u=(0,i.E)(c.borderWidth);return{text:e[t.index].label,fillStyle:c.backgroundColor,fontColor:s,hidden:!t.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:o||c.pointStyle,rotation:c.rotation,textAlign:r||c.textAlign,borderRadius:a&&(l||c.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Xn extends It{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const o=(0,i.b)(n.text)?n.text.length:1;this._padding=(0,i.E)(n.padding);const r=o*(0,i.a0)(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:o,right:r,options:s}=this,a=s.align;let l,c,u,h=0;return this.isHorizontal()?(c=(0,i.a2)(a,n,r),u=e+t,l=r-n):("left"===s.position?(c=n+t,u=(0,i.a2)(a,o,e),h=-.5*i.P):(c=r-t,u=(0,i.a2)(a,e,o),h=.5*i.P),l=o-e),{titleX:c,titleY:u,maxWidth:l,rotation:h}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=(0,i.a0)(e.font),o=n.lineHeight,r=o/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(r);(0,i.Z)(t,e.text,0,0,n,{color:e.color,maxWidth:l,rotation:c,textAlign:(0,i.a1)(e.align),textBaseline:"middle",translation:[s,a]})}}function qn(t,e){const n=new Xn({ctx:t.ctx,options:e,chart:t});ct.configure(t,n,e),ct.addBox(t,n),t.titleBlock=n}var Un={id:"title",_element:Xn,start(t,e,n){qn(t,n)},stop(t){const e=t.titleBlock;ct.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const i=t.titleBlock;ct.configure(t,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const Gn={average(t){if(!t.length)return!1;let e,n,i=new Set,o=0,r=0;for(e=0,n=t.length;et+e))/i.size;return{x:s,y:o/r}},nearest(t,e){if(!t.length)return!1;let n,o,r,s=e.x,a=e.y,l=Number.POSITIVE_INFINITY;for(n=0,o=t.length;n-1?t.split("\n"):t}function Qn(t,e){const{element:n,datasetIndex:i,index:o}=e,r=t.getDatasetMeta(i).controller,{label:s,value:a}=r.getLabelAndValue(o);return{chart:t,label:s,parsed:r.getParsed(o),raw:t.data.datasets[i].data[o],formattedValue:a,dataset:r.getDataset(),dataIndex:o,datasetIndex:i,element:n}}function Kn(t,e){const n=t.chart.ctx,{body:o,footer:r,title:s}=t,{boxWidth:a,boxHeight:l}=e,c=(0,i.a0)(e.bodyFont),u=(0,i.a0)(e.titleFont),h=(0,i.a0)(e.footerFont),d=s.length,f=r.length,p=o.length,g=(0,i.E)(e.padding);let m=g.height,b=0,y=o.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(y+=t.beforeBody.length+t.afterBody.length,d&&(m+=d*u.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),y){const t=e.displayColors?Math.max(l,c.lineHeight):c.lineHeight;m+=p*t+(y-p)*c.lineHeight+(y-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*h.lineHeight+(f-1)*e.footerSpacing);let x=0;const v=function(t){b=Math.max(b,n.measureText(t).width+x)};return n.save(),n.font=u.string,(0,i.F)(t.title,v),n.font=c.string,(0,i.F)(t.beforeBody.concat(t.afterBody),v),x=e.displayColors?a+2+e.boxPadding:0,(0,i.F)(o,(t=>{(0,i.F)(t.before,v),(0,i.F)(t.lines,v),(0,i.F)(t.after,v)})),x=0,n.font=h.string,(0,i.F)(t.footer,v),n.restore(),b+=g.width,{width:b,height:m}}function ti(t,e){const{y:n,height:i}=e;return nt.height-i/2?"bottom":"center"}function ei(t,e,n,i){const{x:o,width:r}=i,s=n.caretSize+n.caretPadding;return"left"===t&&o+r+s>e.width||("right"===t&&o-r-s<0||void 0)}function ni(t,e,n,i){const{x:o,width:r}=n,{width:s,chartArea:{left:a,right:l}}=t;let c="center";return"center"===i?c=o<=(a+l)/2?"left":"right":o<=r/2?c="left":o>=s-r/2&&(c="right"),ei(c,t,e,n)&&(c="center"),c}function ii(t,e,n){const i=n.yAlign||e.yAlign||ti(t,n);return{xAlign:n.xAlign||e.xAlign||ni(t,e,n,i),yAlign:i}}function oi(t,e){let{x:n,width:i}=t;return"right"===e?n-=i:"center"===e&&(n-=i/2),n}function ri(t,e,n){let{y:i,height:o}=t;return"top"===e?i+=n:i-="bottom"===e?o+n:o/2,i}function si(t,e,n,o){const{caretSize:r,caretPadding:s,cornerRadius:a}=t,{xAlign:l,yAlign:c}=n,u=r+s,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:p}=(0,i.ay)(a);let g=oi(e,l);const m=ri(e,c,u);return"center"===c?"left"===l?g+=u:"right"===l&&(g-=u):"left"===l?g-=Math.max(h,f)+r:"right"===l&&(g+=Math.max(d,p)+r),{x:(0,i.S)(g,0,o.width-e.width),y:(0,i.S)(m,0,o.height-e.height)}}function ai(t,e,n){const o=(0,i.E)(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-o.right:t.x+o.left}function li(t){return Zn([],Jn(t))}function ci(t,e,n){return(0,i.j)(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function ui(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const hi={beforeTitle:i.aG,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(i>0&&e.dataIndex{const e={before:[],lines:[],after:[]},i=ui(n,t);Zn(e.before,Jn(di(i,"beforeLabel",this,t))),Zn(e.lines,di(i,"label",this,t)),Zn(e.after,Jn(di(i,"afterLabel",this,t))),o.push(e)})),o}getAfterBody(t,e){return li(di(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,i=di(n,"beforeFooter",this,t),o=di(n,"footer",this,t),r=di(n,"afterFooter",this,t);let s=[];return s=Zn(s,Jn(i)),s=Zn(s,Jn(o)),s=Zn(s,Jn(r)),s}_createItems(t){const e=this._active,n=this.chart.data,o=[],r=[],s=[];let a,l,c=[];for(a=0,l=e.length;at.filter(e,i,o,n)))),t.itemSort&&(c=c.sort(((e,i)=>t.itemSort(e,i,n)))),(0,i.F)(c,(e=>{const n=ui(t.callbacks,e);o.push(di(n,"labelColor",this,e)),r.push(di(n,"labelPointStyle",this,e)),s.push(di(n,"labelTextColor",this,e))})),this.labelColors=o,this.labelPointStyles=r,this.labelTextColors=s,this.dataPoints=c,c}update(t,e){const n=this.options.setContext(this.getContext()),i=this._active;let o,r=[];if(i.length){const t=Gn[n.position].call(this,i,this._eventPosition);r=this._createItems(n),this.title=this.getTitle(r,n),this.beforeBody=this.getBeforeBody(r,n),this.body=this.getBody(r,n),this.afterBody=this.getAfterBody(r,n),this.footer=this.getFooter(r,n);const e=this._size=Kn(this,n),s=Object.assign({},t,e),a=ii(this.chart,n,s),l=si(n,s,a,this.chart);this.xAlign=a.xAlign,this.yAlign=a.yAlign,o={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,i){const o=this.getCaretPosition(t,n,i);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,n){const{xAlign:o,yAlign:r}=this,{caretSize:s,cornerRadius:a}=n,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:h}=(0,i.ay)(a),{x:d,y:f}=t,{width:p,height:g}=e;let m,b,y,x,v,w;return"center"===r?(v=f+g/2,"left"===o?(m=d,b=m-s,x=v+s,w=v-s):(m=d+p,b=m+s,x=v-s,w=v+s),y=m):(b="left"===o?d+Math.max(l,u)+s:"right"===o?d+p-Math.max(c,h)-s:this.caretX,"top"===r?(x=f,v=x-s,m=b-s,y=b+s):(x=f+g,v=x+s,m=b+s,y=b-s),w=x),{x1:m,x2:b,x3:y,y1:x,y2:v,y3:w}}drawTitle(t,e,n){const o=this.title,r=o.length;let s,a,l;if(r){const c=(0,i.aA)(n.rtl,this.x,this.width);for(t.x=ai(this,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",s=(0,i.a0)(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=s.string,l=0;l0!==t))?(t.beginPath(),t.fillStyle=r.multiKeyBackground,(0,i.aw)(t,{x:e,y:p,w:c,h:l,radius:a}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),(0,i.aw)(t,{x:n,y:p+1,w:c-2,h:l-2,radius:a}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(e,p,c,l),t.strokeRect(e,p,c,l),t.fillStyle=s.backgroundColor,t.fillRect(n,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:o}=this,{bodySpacing:r,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:u}=n,h=(0,i.a0)(n.bodyFont);let d=h.lineHeight,f=0;const p=(0,i.aA)(n.rtl,this.x,this.width),g=function(n){e.fillText(n,p.x(t.x+f),t.y+d/2),t.y+=d+r},m=p.textAlign(s);let b,y,x,v,w,_,k;for(e.textAlign=s,e.textBaseline="middle",e.font=h.string,t.x=ai(this,m,n),e.fillStyle=n.bodyColor,(0,i.F)(this.beforeBody,g),f=a&&"right"!==m?"center"===s?c/2+u:c+2+u:0,v=0,_=o.length;v<_;++v){for(b=o[v],y=this.labelTextColors[v],e.fillStyle=y,(0,i.F)(b.before,g),x=b.lines,a&&x.length&&(this._drawColorBox(e,t,v,p,n),d=Math.max(h.lineHeight,l)),w=0,k=x.length;w0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,i=n&&n.x,o=n&&n.y;if(i||o){const n=Gn[t.position].call(this,this._active,this._eventPosition);if(!n)return;const r=this._size=Kn(this,t),s=Object.assign({},n,this._size),a=ii(e,t,s),l=si(t,s,a,e);i._to===l.x&&o._to===l.y||(this.xAlign=a.xAlign,this.yAlign=a.yAlign,this.width=r.width,this.height=r.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const o={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const s=(0,i.E)(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(r,t,o,e),(0,i.aB)(t,e.textDirection),r.y+=s.top,this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),(0,i.aD)(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,o=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),r=!(0,i.ai)(n,o),s=this._positionChanged(o,e);(r||s)&&(this._active=o,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,r=this._active||[],s=this._getActiveElements(t,r,e,n),a=this._positionChanged(s,t),l=e||!(0,i.ai)(s,r)||a;return l&&(this._active=s,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,n,i){const o=this.options;if("mouseout"===t.type)return[];if(!i)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const r=this.chart.getElementsAtEventForMode(t,o.mode,o,n);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:n,caretY:i,options:o}=this,r=Gn[o.position].call(this,t,e);return!1!==r&&(n!==r.x||i!==r.y)}}var pi={id:"tooltip",_element:fi,positioners:Gn,afterInit(t,e,n){n&&(t.tooltip=new fi({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:hi},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const gi=(t,e,n,i)=>("string"===typeof e?(n=t.push(e)-1,i.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function mi(t,e,n,i){const o=t.indexOf(e);if(-1===o)return gi(t,e,n,i);const r=t.lastIndexOf(e);return o!==r?n:o}const bi=(t,e)=>null===t?null:(0,i.S)(Math.round(t),0,e);function yi(t){const e=this.getLabels();return t>=0&&te.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function vi(t,e){const n=[],o=1e-14,{bounds:r,step:s,min:a,max:l,precision:c,count:u,maxTicks:h,maxDigits:d,includeBounds:f}=t,p=s||1,g=h-1,{min:m,max:b}=e,y=!(0,i.k)(a),x=!(0,i.k)(l),v=!(0,i.k)(u),w=(b-m)/(d+1);let _,k,M,S,D=(0,i.aI)((b-m)/g/p)*p;if(Dg&&(D=(0,i.aI)(S*D/g/p)*p),(0,i.k)(c)||(_=Math.pow(10,c),D=Math.ceil(D*_)/_),"ticks"===r?(k=Math.floor(m/D)*D,M=Math.ceil(b/D)*D):(k=m,M=b),y&&x&&s&&(0,i.aJ)((l-a)/s,D/1e3)?(S=Math.round(Math.min((l-a)/D,h)),D=(l-a)/S,k=a,M=l):v?(k=y?a:k,M=x?l:M,S=u-1,D=(M-k)/S):(S=(M-k)/D,S=(0,i.aK)(S,Math.round(S),D/1e3)?Math.round(S):Math.ceil(S));const T=Math.max((0,i.aL)(D),(0,i.aL)(k));_=Math.pow(10,(0,i.k)(c)?T:c),k=Math.round(k*_)/_,M=Math.round(M*_)/_;let C=0;for(y&&(f&&k!==a?(n.push({value:a}),kl)break;n.push({value:t})}return x&&f&&M!==l?n.length&&(0,i.aK)(n[n.length-1].value,l,wi(l,w,t))?n[n.length-1].value=l:n.push({value:l}):x&&M!==l||n.push({value:M}),n}function wi(t,e,{horizontal:n,minRotation:o}){const r=(0,i.t)(o),s=(n?Math.sin(r):Math.cos(r))||.001,a=.75*e*(""+t).length;return Math.min(e/s,a)}class _i extends Kt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return(0,i.k)(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this;const s=t=>o=e?o:t,a=t=>r=n?r:t;if(t){const t=(0,i.s)(o),e=(0,i.s)(r);t<0&&e<0?a(0):t>0&&e>0&&s(0)}if(o===r){let e=0===r?1:Math.abs(.05*r);a(r+e),t||s(o-e)}this.min=o,this.max=r}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:i}=t;return i?(e=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const o={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},r=this._range||this,s=vi(o,r);return"ticks"===t.bounds&&(0,i.aH)(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const i=(n-e)/Math.max(t.length-1,1)/2;e-=i,n+=i}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return(0,i.o)(t,this.chart.options.locale,this.options.ticks.format)}}class ki extends _i{static id="linear";static defaults={ticks:{callback:i.aM.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=(0,i.g)(t)?t:0,this.max=(0,i.g)(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=(0,i.t)(this.options.ticks.minRotation),o=(t?Math.sin(n):Math.cos(n))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,r.lineHeight/o))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}i.aM.formatters.logarithmic;i.aM.formatters.numeric;const Mi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Si=Object.keys(Mi);function Di(t,e){return t-e}function Ti(t,e){if((0,i.k)(e))return null;const n=t._adapter,{parser:o,round:r,isoWeekday:s}=t._parseOpts;let a=e;return"function"===typeof o&&(a=o(a)),(0,i.g)(a)||(a="string"===typeof o?n.parse(a,o):n.parse(a)),null===a?null:(r&&(a="week"!==r||!(0,i.x)(s)&&!0!==s?n.startOf(a,r):n.startOf(a,"isoWeek",s)),+a)}function Ci(t,e,n,i){const o=Si.length;for(let r=Si.indexOf(t);r=Si.indexOf(n);r--){const n=Si[r];if(Mi[n].common&&t._adapter.diff(o,i,n)>=e-1)return n}return Si[n?Si.indexOf(n):0]}function Oi(t){for(let e=Si.indexOf(t)+1,n=Si.length;e=e?n[o]:n[r];t[s]=!0}}else t[e]=!0}function Ei(t,e,n,i){const o=t._adapter,r=+o.startOf(e[0].value,i),s=e[e.length-1].value;let a,l;for(a=r;a<=s;a=+o.add(a,1,i))l=n[a],l>=0&&(e[l].major=!0);return e}function Ii(t,e,n){const i=[],o={},r=e.length;let s,a;for(s=0;s+t.value)))}initOffsets(t=[]){let e,n,o=0,r=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),o=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),r=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;o=(0,i.S)(o,0,s),r=(0,i.S)(r,0,s),this._offsets={start:o,end:r,factor:1/(o+1+r)}}_generate(){const t=this._adapter,e=this.min,n=this.max,o=this.options,r=o.time,s=r.unit||Ci(r.minUnit,e,n,this._getLabelCapacity(e)),a=(0,i.v)(o.ticks.stepSize,1),l="week"===s&&r.isoWeekday,c=(0,i.x)(l)||!0===l,u={};let h,d,f=e;if(c&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,c?"day":s),t.diff(n,e,s)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+s);const p="data"===o.ticks.source&&this.getDataTimestamps();for(h=f,d=0;h+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}format(t,e){const n=this.options,i=n.time.displayFormats,o=this._unit,r=e||i[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,n,o){const r=this.options,s=r.ticks.callback;if(s)return(0,i.Q)(s,[t,e,n],this);const a=r.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&a[l],h=c&&a[c],d=n[e],f=c&&h&&d&&d.major;return this._adapter.format(t,o||(f?h:u))}generateTickLabels(t){let e,n,i;for(e=0,n=t.length;e0?s:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(t=0,e=i.length;tMath.max(Math.min(t,n),e);function r(t){return o(i(2.55*t),0,255)}function s(t){return o(i(255*t),0,255)}function a(t){return o(i(t/2.55)/100,0,1)}function l(t){return o(i(100*t),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},u=[..."0123456789ABCDEF"],h=t=>u[15&t],d=t=>u[(240&t)>>4]+u[15&t],f=t=>(240&t)>>4===(15&t),p=t=>f(t.r)&&f(t.g)&&f(t.b)&&f(t.a);function g(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*c[t[1]],g:255&17*c[t[2]],b:255&17*c[t[3]],a:5===n?17*c[t[4]]:255}:7!==n&&9!==n||(e={r:c[t[1]]<<4|c[t[2]],g:c[t[3]]<<4|c[t[4]],b:c[t[5]]<<4|c[t[6]],a:9===n?c[t[7]]<<4|c[t[8]]:255})),e}const m=(t,e)=>t<255?e(t):"";function b(t){var e=p(t)?h:d;return t?"#"+e(t.r)+e(t.g)+e(t.b)+m(t.a,e):void 0}const y=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function x(t,e,n){const i=e*Math.min(n,1-n),o=(e,o=(e+t/30)%12)=>n-i*Math.max(Math.min(o-3,9-o,1),-1);return[o(0),o(8),o(4)]}function v(t,e,n){const i=(i,o=(i+t/60)%6)=>n-n*e*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function w(t,e,n){const i=x(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)i[o]*=1-e-n,i[o]+=e;return i}function _(t,e,n,i,o){return t===o?(e-n)/i+(e.5?u/(2-r-s):u/(r+s),l=_(n,i,o,u,r),l=60*l+.5),[0|l,c||0,a]}function M(t,e,n,i){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,i)).map(s)}function S(t,e,n){return M(x,t,e,n)}function D(t,e,n){return M(w,t,e,n)}function T(t,e,n){return M(v,t,e,n)}function C(t){return(t%360+360)%360}function P(t){const e=y.exec(t);let n,i=255;if(!e)return;e[5]!==n&&(i=e[6]?r(+e[5]):s(+e[5]));const o=C(+e[2]),a=+e[3]/100,l=+e[4]/100;return n="hwb"===e[1]?D(o,a,l):"hsv"===e[1]?T(o,a,l):S(o,a,l),{r:n[0],g:n[1],b:n[2],a:i}}function O(t,e){var n=k(t);n[0]=C(n[0]+e),n=S(n),t.r=n[0],t.g=n[1],t.b=n[2]}function A(t){if(!t)return;const e=k(t),n=e[0],i=l(e[1]),o=l(e[2]);return t.a<255?`hsla(${n}, ${i}%, ${o}%, ${a(t.a)})`:`hsl(${n}, ${i}%, ${o}%)`}const E={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},I={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function R(){const t={},e=Object.keys(I),n=Object.keys(E);let i,o,r,s,a;for(i=0;i>16&255,r>>8&255,255&r]}return t}let L;function F(t){L||(L=R(),L.transparent=[0,0,0,0]);const e=L[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const j=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function z(t){const e=j.exec(t);let n,i,s,a=255;if(e){if(e[7]!==n){const t=+e[7];a=e[8]?r(t):o(255*t,0,255)}return n=+e[1],i=+e[3],s=+e[5],n=255&(e[2]?r(n):o(n,0,255)),i=255&(e[4]?r(i):o(i,0,255)),s=255&(e[6]?r(s):o(s,0,255)),{r:n,g:i,b:s,a:a}}}function W(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${a(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const N=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,H=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function B(t,e,n){const i=H(a(t.r)),o=H(a(t.g)),r=H(a(t.b));return{r:s(N(i+n*(H(a(e.r))-i))),g:s(N(o+n*(H(a(e.g))-o))),b:s(N(r+n*(H(a(e.b))-r))),a:t.a+n*(e.a-t.a)}}function Y(t,e,n){if(t){let i=k(t);i[e]=Math.max(0,Math.min(i[e]+i[e]*n,0===e?360:1)),i=S(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function V(t,e){return t?Object.assign(e||{},t):t}function $(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=s(t[3]))):(e=V(t,{r:0,g:0,b:0,a:1}),e.a=s(e.a)),e}function X(t){return"r"===t.charAt(0)?z(t):P(t)}class q{constructor(t){if(t instanceof q)return t;const e=typeof t;let n;"object"===e?n=$(t):"string"===e&&(n=g(t)||F(t)||X(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=V(this._rgb);return t&&(t.a=a(t.a)),t}set rgb(t){this._rgb=$(t)}rgbString(){return this._valid?W(this._rgb):void 0}hexString(){return this._valid?b(this._rgb):void 0}hslString(){return this._valid?A(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,i=t.rgb;let o;const r=e===o?.5:e,s=2*r-1,a=n.a-i.a,l=((s*a===-1?s:(s+a)/(1+s*a))+1)/2;o=1-l,n.r=255&l*n.r+o*i.r+.5,n.g=255&l*n.g+o*i.g+.5,n.b=255&l*n.b+o*i.b+.5,n.a=r*n.a+(1-r)*i.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=B(this._rgb,t._rgb,e)),this}clone(){return new q(this.rgb)}alpha(t){return this._rgb.a=s(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=i(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return Y(this._rgb,2,t),this}darken(t){return Y(this._rgb,2,-t),this}saturate(t){return Y(this._rgb,1,t),this}desaturate(t){return Y(this._rgb,1,-t),this}rotate(t){return O(this._rgb,t),this}} +/*! + * Chart.js v4.5.1 + * https://www.chartjs.org + * (c) 2025 Chart.js Contributors + * Released under the MIT License + */ +function U(){}const G=(()=>{let t=0;return()=>t++})();function Z(t){return null===t||void 0===t}function J(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function Q(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function K(t){return("number"===typeof t||t instanceof Number)&&isFinite(+t)}function tt(t,e){return K(t)?t:e}function et(t,e){return"undefined"===typeof t?e:t}const nt=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,it=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function ot(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function rt(t,e,n,i){let o,r,s;if(J(t))if(r=t.length,i)for(o=r-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;ot,x:t=>t.x,y:t=>t.y};function pt(t){const e=t.split("."),n=[];let i="";for(const o of e)i+=o,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}function gt(t){const e=pt(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}function mt(t,e){const n=ft[e]||(ft[e]=gt(e));return n(t)}function bt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const yt=t=>"undefined"!==typeof t,xt=t=>"function"===typeof t,vt=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function wt(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const _t=Math.PI,kt=2*_t,Mt=kt+_t,St=Number.POSITIVE_INFINITY,Dt=_t/180,Tt=_t/2,Ct=_t/4,Pt=2*_t/3,Ot=Math.log10,At=Math.sign;function Et(t,e,n){return Math.abs(t-e)t-e)).pop(),e}function Lt(t){return"symbol"===typeof t||"object"===typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function Ft(t){return!Lt(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function jt(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function zt(t,e,n){let i,o,r;for(i=0,o=t.length;il&&c=Math.min(e,n)-i&&t<=Math.max(e,n)+i}function Zt(t,e,n){n=n||(n=>t[n]1)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const Jt=(t,e,n,i)=>Zt(t,n,i?i=>{const o=t[i][e];return ot[i][e]Zt(t,n,(i=>t[i][e]>=n));function Kt(t,e,n){let i=0,o=t.length;while(ii&&t[o-1]>n)o--;return i>0||o{const n="_onData"+bt(e),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const o=i.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"===typeof t[n]&&t[n](...e)})),o}})})))}function ne(t,e){const n=t._chartjs;if(!n)return;const i=n.listeners,o=i.indexOf(e);-1!==o&&i.splice(o,1),i.length>0||(te.forEach((e=>{delete t[e]})),delete t._chartjs)}function ie(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const oe=function(){return"undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame}();function re(t,e){let n=[],i=!1;return function(...o){n=o,i||(i=!0,oe.call(window,(()=>{i=!1,t.apply(e,n)})))}}function se(t,e){let n;return function(...i){return e?(clearTimeout(n),n=setTimeout(t,e,i)):t.apply(this,i),e}}const ae=t=>"start"===t?"left":"end"===t?"right":"center",le=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,ce=(t,e,n,i)=>{const o=i?"left":"right";return t===o?n:"center"===t?(e+n)/2:e};function ue(t,e,n){const i=e.length;let o=0,r=i;if(t._sorted){const{iScale:s,vScale:a,_parsed:l}=t,c=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,u=s.axis,{min:h,max:d,minDefined:f,maxDefined:p}=s.getUserBounds();if(f){if(o=Math.min(Jt(l,u,h).lo,n?i:Jt(e,u,s.getPixelForValue(h)).lo),c){const t=l.slice(0,o+1).reverse().findIndex((t=>!Z(t[a.axis])));o-=Math.max(0,t)}o=qt(o,0,i-1)}if(p){let t=Math.max(Jt(l,s.axis,d,!0).hi+1,n?0:Jt(e,u,s.getPixelForValue(d),!0).hi+1);if(c){const e=l.slice(t-1).findIndex((t=>!Z(t[a.axis])));t+=Math.max(0,e)}r=qt(t,o,i)-o}else r=i-o}return{start:o,count:r}}function he(t){const{xScale:e,yScale:n,_scaleRanges:i}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!i)return t._scaleRanges=o,!0;const r=i.xmin!==e.min||i.xmax!==e.max||i.ymin!==n.min||i.ymax!==n.max;return Object.assign(i,o),r}const de=t=>0===t||1===t,fe=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*kt/n),pe=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*kt/n)+1,ge={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Tt),easeOutSine:t=>Math.sin(t*Tt),easeInOutSine:t=>-.5*(Math.cos(_t*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>de(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>de(t)?t:fe(t,.075,.3),easeOutElastic:t=>de(t)?t:pe(t,.075,.3),easeInOutElastic(t){const e=.1125,n=.45;return de(t)?t:t<.5?.5*fe(2*t,e,n):.5+.5*pe(2*t-1,e,n)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ge.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*ge.easeInBounce(2*t):.5*ge.easeOutBounce(2*t-1)+.5};function me(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function be(t){return me(t)?t:new q(t)}function ye(t){return me(t)?t:new q(t).saturate(.5).darken(.1).hexString()}const xe=["x","y","borderWidth","radius","tension"],ve=["color","borderColor","backgroundColor"];function we(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:ve},numbers:{type:"number",properties:xe}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})}function _e(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const ke=new Map;function Me(t,e){e=e||{};const n=t+JSON.stringify(e);let i=ke.get(n);return i||(i=new Intl.NumberFormat(t,e),ke.set(n,i)),i}function Se(t,e,n){return Me(e,n).format(t)}const De={values(t){return J(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const i=this.chart.options.locale;let o,r=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(o="scientific"),r=Te(t,n)}const s=Ot(Math.abs(r)),a=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:o,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Se(t,i,l)},logarithmic(t,e,n){if(0===t)return"0";const i=n[e].significand||t/Math.pow(10,Math.floor(Ot(t)));return[1,2,3,5,10,15].includes(i)||e>.8*n.length?De.numeric.call(this,t,e,n):""}};function Te(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var Ce={formatters:De};function Pe(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Ce.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}const Oe=Object.create(null),Ae=Object.create(null);function Ee(t,e){if(!e)return t;const n=e.split(".");for(let i=0,o=n.length;it.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>ye(e.backgroundColor),this.hoverBorderColor=(t,e)=>ye(e.borderColor),this.hoverColor=(t,e)=>ye(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return Ie(this,t,e)}get(t){return Ee(this,t)}describe(t,e){return Ie(Ae,t,e)}override(t,e){return Ie(Oe,t,e)}route(t,e,n,i){const o=Ee(this,t),r=Ee(this,n),s="_"+e;Object.defineProperties(o,{[s]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[s],e=r[i];return Q(t)?Object.assign({},e,t):et(t,e)},set(t){this[s]=t}}})}apply(t){t.forEach((t=>t(this)))}}var Le=new Re({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[we,_e,Pe]);function Fe(t){return!t||Z(t.size)||Z(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function je(t,e,n,i,o){let r=e[o];return r||(r=e[o]=t.measureText(o).width,n.push(o)),r>i&&(i=r),i}function ze(t,e,n,i){i=i||{};let o=i.data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},r=i.garbageCollect=[],i.font=e),t.save(),t.font=e;let s=0;const a=n.length;let l,c,u,h,d;for(l=0;ln.length){for(l=0;l0&&t.stroke()}}function Ye(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.xe.top-n&&t.y0&&""!==r.strokeColor;let l,c;for(t.save(),t.font=o.string,Ue(t,r),l=0;l+t||0;function on(t,e){const n={},i=Q(e),o=i?Object.keys(e):e,r=Q(t)?i?n=>et(t[n],t[e[n]]):e=>t[e]:()=>t;for(const s of o)n[s]=nn(r(s));return n}function rn(t){return on(t,{top:"y",right:"x",bottom:"y",left:"x"})}function sn(t){return on(t,["topLeft","topRight","bottomLeft","bottomRight"])}function an(t){const e=rn(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function ln(t,e){t=t||{},e=e||Le.font;let n=et(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let i=et(t.style,e.style);i&&!(""+i).match(tn)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const o={family:et(t.family,e.family),lineHeight:en(et(t.lineHeight,e.lineHeight),n),size:n,style:i,weight:et(t.weight,e.weight),string:""};return o.string=Fe(o),o}function cn(t,e,n,i){let o,r,s,a=!0;for(o=0,r=t.length;on&&0===t?0:t+e;return{min:s(i,-Math.abs(r)),max:s(o,r)}}function hn(t,e){return Object.assign(Object.create(t),e)}function dn(t,e=[""],n,i,o=(()=>t[0])){const r=n||t;"undefined"===typeof i&&(i=Cn("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:r,_fallback:i,_getTarget:o,override:n=>dn([n,...t],e,r,i)};return new Proxy(s,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,i){return bn(n,i,(()=>Tn(i,e,t,n)))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return Pn(t).includes(e)},ownKeys(t){return Pn(t)},set(t,e,n){const i=t._storage||(t._storage=o());return t[e]=i[e]=n,delete t._keys,!0}})}function fn(t,e,n,i){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:pn(t,i),setContext:e=>fn(t,e,n,i),override:o=>fn(t.override(o),e,n,i)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return bn(t,e,(()=>yn(t,e,n)))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,i){return t[n]=i,delete e[n],!0}})}function pn(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:i=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:i,isScriptable:xt(n)?n:()=>n,isIndexable:xt(i)?i:()=>i}}const gn=(t,e)=>t?t+bt(e):e,mn=(t,e)=>Q(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function bn(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const i=n();return t[e]=i,i}function yn(t,e,n){const{_proxy:i,_context:o,_subProxy:r,_descriptors:s}=t;let a=i[e];return xt(a)&&s.isScriptable(e)&&(a=xn(e,a,t,n)),J(a)&&a.length&&(a=vn(e,a,t,s.isIndexable)),mn(e,a)&&(a=fn(a,o,r&&r[e],s)),a}function xn(t,e,n,i){const{_proxy:o,_context:r,_subProxy:s,_stack:a}=n;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);a.add(t);let l=e(r,s||i);return a.delete(t),mn(t,l)&&(l=Mn(o._scopes,o,t,l)),l}function vn(t,e,n,i){const{_proxy:o,_context:r,_subProxy:s,_descriptors:a}=n;if("undefined"!==typeof r.index&&i(t))return e[r.index%e.length];if(Q(e[0])){const n=e,i=o._scopes.filter((t=>t!==n));e=[];for(const l of n){const n=Mn(i,o,t,l);e.push(fn(n,r,s&&s[t],a))}}return e}function wn(t,e,n){return xt(t)?t(e,n):t}const _n=(t,e)=>!0===t?e:"string"===typeof t?mt(e,t):void 0;function kn(t,e,n,i,o){for(const r of e){const e=_n(n,r);if(e){t.add(e);const r=wn(e._fallback,n,o);if("undefined"!==typeof r&&r!==n&&r!==i)return r}else if(!1===e&&"undefined"!==typeof i&&n!==i)return null}return!1}function Mn(t,e,n,i){const o=e._rootScopes,r=wn(e._fallback,n,i),s=[...t,...o],a=new Set;a.add(i);let l=Sn(a,s,n,r||n,i);return null!==l&&(("undefined"===typeof r||r===n||(l=Sn(a,s,r,l,i),null!==l))&&dn(Array.from(a),[""],o,r,(()=>Dn(e,n,i))))}function Sn(t,e,n,i,o){while(n)n=kn(t,e,n,i,o);return n}function Dn(t,e,n){const i=t._getTarget();e in i||(i[e]={});const o=i[e];return J(o)&&Q(n)?n:o||{}}function Tn(t,e,n,i){let o;for(const r of e)if(o=Cn(gn(r,t),n),"undefined"!==typeof o)return mn(t,o)?Mn(n,i,t,o):o}function Cn(t,e){for(const n of e){if(!n)continue;const e=n[t];if("undefined"!==typeof e)return e}}function Pn(t){let e=t._keys;return e||(e=t._keys=On(t._scopes)),e}function On(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}function An(t,e,n,i){const{iScale:o}=t,{key:r="r"}=this._parsing,s=new Array(i);let a,l,c,u;for(a=0,l=i;ae"x"===t?"y":"x";function Ln(t,e,n,i){const o=t.skip?e:t,r=e,s=n.skip?e:n,a=Yt(r,o),l=Yt(s,r);let c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const h=i*c,d=i*u;return{previous:{x:r.x-h*(s.x-o.x),y:r.y-h*(s.y-o.y)},next:{x:r.x+d*(s.x-o.x),y:r.y+d*(s.y-o.y)}}}function Fn(t,e,n){const i=t.length;let o,r,s,a,l,c=In(t,0);for(let u=0;u!t.skip))),"monotone"===e.cubicInterpolationMode)zn(t,o);else{let n=i?t[t.length-1]:t[0];for(r=0,s=t.length;rt.ownerDocument.defaultView.getComputedStyle(t,null);function Xn(t,e){return $n(t).getPropertyValue(e)}const qn=["top","right","bottom","left"];function Un(t,e,n){const i={};n=n?"-"+n:"";for(let o=0;o<4;o++){const r=qn[o];i[r]=parseFloat(t[e+"-"+r+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const Gn=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function Zn(t,e){const n=t.touches,i=n&&n.length?n[0]:t,{offsetX:o,offsetY:r}=i;let s,a,l=!1;if(Gn(o,r,t.target))s=o,a=r;else{const t=e.getBoundingClientRect();s=i.clientX-t.left,a=i.clientY-t.top,l=!0}return{x:s,y:a,box:l}}function Jn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:i}=e,o=$n(n),r="border-box"===o.boxSizing,s=Un(o,"padding"),a=Un(o,"border","width"),{x:l,y:c,box:u}=Zn(t,n),h=s.left+(u&&a.left),d=s.top+(u&&a.top);let{width:f,height:p}=e;return r&&(f-=s.width+a.width,p-=s.height+a.height),{x:Math.round((l-h)/f*n.width/i),y:Math.round((c-d)/p*n.height/i)}}function Qn(t,e,n){let i,o;if(void 0===e||void 0===n){const r=t&&Yn(t);if(r){const t=r.getBoundingClientRect(),s=$n(r),a=Un(s,"border","width"),l=Un(s,"padding");e=t.width-l.width-a.width,n=t.height-l.height-a.height,i=Vn(s.maxWidth,r,"clientWidth"),o=Vn(s.maxHeight,r,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:i||St,maxHeight:o||St}}const Kn=t=>Math.round(10*t)/10;function ti(t,e,n,i){const o=$n(t),r=Un(o,"margin"),s=Vn(o.maxWidth,t,"clientWidth")||St,a=Vn(o.maxHeight,t,"clientHeight")||St,l=Qn(t,e,n);let{width:c,height:u}=l;if("content-box"===o.boxSizing){const t=Un(o,"border","width"),e=Un(o,"padding");c-=e.width+t.width,u-=e.height+t.height}c=Math.max(0,c-r.width),u=Math.max(0,i?c/i:u-r.height),c=Kn(Math.min(c,s,l.maxWidth)),u=Kn(Math.min(u,a,l.maxHeight)),c&&!u&&(u=Kn(c/2));const h=void 0!==e||void 0!==n;return h&&i&&l.height&&u>l.height&&(u=l.height,c=Kn(Math.floor(u*i))),{width:c,height:u}}function ei(t,e,n){const i=e||1,o=Kn(t.height*i),r=Kn(t.width*i);t.height=Kn(t.height),t.width=Kn(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==o||s.width!==r)&&(t.currentDevicePixelRatio=i,s.height=o,s.width=r,t.ctx.setTransform(i,0,0,i,0,0),!0)}const ni=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Bn()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(e){}return t}();function ii(t,e){const n=Xn(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function oi(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function ri(t,e,n,i){return{x:t.x+n*(e.x-t.x),y:"middle"===i?n<.5?t.y:e.y:"after"===i?n<1?t.y:e.y:n>0?e.y:t.y}}function si(t,e,n,i){const o={x:t.cp2x,y:t.cp2y},r={x:e.cp1x,y:e.cp1y},s=oi(t,o,n),a=oi(o,r,n),l=oi(r,e,n),c=oi(s,a,n),u=oi(a,l,n);return oi(c,u,n)}const ai=function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}},li=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function ci(t,e,n){return t?ai(e,n):li()}function ui(t,e){let n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)}function hi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function di(t){return"angle"===t?{between:Xt,compare:Vt,normalize:$t}:{between:Gt,compare:(t,e)=>t-e,normalize:t=>t}}function fi({start:t,end:e,count:n,loop:i,style:o}){return{start:t%n,end:e%n,loop:i&&(e-t+1)%n===0,style:o}}function pi(t,e,n){const{property:i,start:o,end:r}=n,{between:s,normalize:a}=di(i),l=e.length;let c,u,{start:h,end:d,loop:f}=t;if(f){for(h+=l,d+=l,c=0,u=l;cl(o,b,g)&&0!==a(o,b),w=()=>0===a(r,g)||l(r,b,g),_=()=>y||v(),k=()=>!y||w();for(let M=u,S=u;M<=h;++M)m=e[M%s],m.skip||(g=c(m[i]),g!==b&&(y=l(g,o,r),null===x&&_()&&(x=0===a(g,o)?M:S),null!==x&&k()&&(p.push(fi({start:x,end:M,loop:d,count:s,style:f})),x=null),S=M,b=g));return null!==x&&p.push(fi({start:x,end:h,loop:d,count:s,style:f})),p}function mi(t,e){const n=[],i=t.segments;for(let o=0;oo&&t[r%e].skip)r--;return r%=e,{start:o,end:r}}function yi(t,e,n,i){const o=t.length,r=[];let s,a=e,l=t[e];for(s=e+1;s<=n;++s){const n=t[s%o];n.skip||n.stop?l.skip||(i=!1,r.push({start:e%o,end:(s-1)%o,loop:i}),e=a=n.stop?s:null):(a=s,l.skip&&(e=s)),l=n}return null!==a&&r.push({start:e%o,end:a%o,loop:i}),r}function xi(t,e){const n=t.points,i=t.options.spanGaps,o=n.length;if(!o)return[];const r=!!t._loop,{start:s,end:a}=bi(n,o,r,i);if(!0===i)return vi(t,[{start:s,end:a,loop:r}],n,e);const l=a{let i;const o=d[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function p(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth,i=t.formats[n]||t.formats[t.defaultWidth];return i}}const g={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},b={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y={date:p({formats:g,defaultWidth:"full"}),time:p({formats:m,defaultWidth:"full"}),dateTime:p({formats:b,defaultWidth:"full"})},x={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},v=(t,e,n,i)=>x[t];function w(t){return(e,n)=>{const i=n?.context?String(n.context):"standalone";let o;if("formatting"===i&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,i=n?.width?String(n.width):e;o=t.formattingValues[i]||t.formattingValues[e]}else{const e=t.defaultWidth,i=n?.width?String(n.width):t.defaultWidth;o=t.values[i]||t.values[e]}const r=t.argumentCallback?t.argumentCallback(e):e;return o[r]}}const _={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},M={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},S={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},D={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},T={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},C=(t,e)=>{const n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},P={ordinalNumber:C,era:w({values:_,defaultWidth:"wide"}),quarter:w({values:k,defaultWidth:"wide",argumentCallback:t=>t-1}),month:w({values:M,defaultWidth:"wide"}),day:w({values:S,defaultWidth:"wide"}),dayPeriod:w({values:D,defaultWidth:"wide",formattingValues:T,defaultFormattingWidth:"wide"})};function O(t){return(e,n={})=>{const i=n.width,o=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],r=e.match(o);if(!r)return null;const s=r[0],a=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?E(a,(t=>t.test(s))):A(a,(t=>t.test(s)));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=e.slice(s.length);return{value:c,rest:u}}}function A(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function E(t,e){for(let n=0;n{const i=e.match(t.matchPattern);if(!i)return null;const o=i[0],r=e.match(t.parsePattern);if(!r)return null;let s=t.valueCallback?t.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;const a=e.slice(o.length);return{value:s,rest:a}}}const R=/^(\d+)(th|st|nd|rd)?/i,L=/\d+/i,F={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},j={any:[/^b/i,/^(a|c)/i]},z={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},W={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},H={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},B={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Y={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},V={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},X={ordinalNumber:I({matchPattern:R,parsePattern:L,valueCallback:t=>parseInt(t,10)}),era:O({matchPatterns:F,defaultMatchWidth:"wide",parsePatterns:j,defaultParseWidth:"any"}),quarter:O({matchPatterns:z,defaultMatchWidth:"wide",parsePatterns:W,defaultParseWidth:"any",valueCallback:t=>t+1}),month:O({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:H,defaultParseWidth:"any"}),day:O({matchPatterns:B,defaultMatchWidth:"wide",parsePatterns:Y,defaultParseWidth:"any"}),dayPeriod:O({matchPatterns:V,defaultMatchWidth:"any",parsePatterns:$,defaultParseWidth:"any"})},q={code:"en-US",formatDistance:f,formatLong:y,formatRelative:v,localize:P,match:X,options:{weekStartsOn:0,firstWeekContainsDate:1}};const U=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},G=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},Z=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return U(t,e);let r;switch(i){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"});break}return r.replace("{{date}}",U(i,e)).replace("{{time}}",G(o,e))},J={p:G,P:Z},Q=/^D+$/,K=/^Y+$/,tt=["D","DD","YY","YYYY"];function et(t){return Q.test(t)}function nt(t){return K.test(t)}function it(t,e,n){const i=ot(t,e,n);if(console.warn(i),tt.includes(t))throw new RangeError(i)}function ot(t,e,n){const i="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}let rt={};function st(){return rt}function at(){return Object.assign({},st())}function lt(t,e){const n=ct(e)?new e(0):u(e,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}function ct(t){return"function"===typeof t&&t.prototype?.constructor===t}const ut=10;class ht{subPriority=0;validate(t,e){return!0}}class dt extends ht{constructor(t,e,n,i,o){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=i,o&&(this.subPriority=o)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}}class ft extends ht{priority=ut;subPriority=-1;constructor(t,e){super(),this.context=t||(t=>u(e,t))}set(t,e){return e.timestampIsSet?t:u(t,lt(t,this.context))}}class pt{run(t,e,n,i){const o=this.parse(t,e,n,i);return o?{setter:new dt(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,e,n){return!0}}class gt extends pt{priority=140;parse(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});case"GGGG":default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}const mt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},bt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function yt(t,e){return t?{value:e(t.value),rest:t.rest}:t}function xt(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function vt(t,e){const n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};const i="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,c=n[5]?parseInt(n[5],10):0;return{value:i*(o*a+r*s+c*l),rest:e.slice(n[0].length)}}function wt(t){return xt(mt.anyDigitsSigned,t)}function _t(t,e){switch(t){case 1:return xt(mt.singleDigit,e);case 2:return xt(mt.twoDigits,e);case 3:return xt(mt.threeDigits,e);case 4:return xt(mt.fourDigits,e);default:return xt(new RegExp("^\\d{1,"+t+"}"),e)}}function kt(t,e){switch(t){case 1:return xt(mt.singleDigitSigned,e);case 2:return xt(mt.twoDigitsSigned,e);case 3:return xt(mt.threeDigitsSigned,e);case 4:return xt(mt.fourDigitsSigned,e);default:return xt(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Mt(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function St(t,e){const n=e>0,i=n?e:1-e;let o;if(i<=50)o=t||100;else{const e=i+50,n=100*Math.trunc(e/100),r=t>=e%100;o=t+n-(r?100:0)}return n?o:1-o}function Dt(t){return t%400===0||t%4===0&&t%100!==0}class Tt extends pt{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,n){const i=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return yt(_t(4,t),i);case"yo":return yt(n.ordinalNumber(t,{unit:"year"}),i);default:return yt(_t(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){const i=t.getFullYear();if(n.isTwoDigitYear){const e=St(n.year,i);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const o="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}function Ct(t,e){const n=st(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=h(t,e?.in),r=o.getDay(),s=(r=+a?i+1:+n>=+c?i:i-1}class Ot extends pt{priority=130;parse(t,e,n){const i=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return yt(_t(4,t),i);case"Yo":return yt(n.ordinalNumber(t,{unit:"year"}),i);default:return yt(_t(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,i){const o=Pt(t,i);if(n.isTwoDigitYear){const e=St(n.year,o);return t.setFullYear(e,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Ct(t,i)}const r="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(r,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),Ct(t,i)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}function At(t,e){return Ct(t,{...e,weekStartsOn:1})}class Et extends pt{priority=130;parse(t,e){return kt("R"===e?4:e.length,t)}set(t,e,n){const i=u(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),At(i)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class It extends pt{priority=130;parse(t,e){return kt("u"===e?4:e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class Rt extends pt{priority=120;parse(t,e,n){switch(e){case"Q":case"QQ":return _t(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class Lt extends pt{priority=120;parse(t,e,n){switch(e){case"q":case"qq":return _t(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class Ft extends pt{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,n){const i=t=>t-1;switch(e){case"M":return yt(xt(mt.month,t),i);case"MM":return yt(_t(2,t),i);case"Mo":return yt(n.ordinalNumber(t,{unit:"month"}),i);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}}class jt extends pt{priority=110;parse(t,e,n){const i=t=>t-1;switch(e){case"L":return yt(xt(mt.month,t),i);case"LL":return yt(_t(2,t),i);case"Lo":return yt(n.ordinalNumber(t,{unit:"month"}),i);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function zt(t,e){const n=st(),i=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=Pt(t,e),r=u(e?.in||t,0);r.setFullYear(o,0,i),r.setHours(0,0,0,0);const s=Ct(r,e);return s}function Wt(t,e){const n=h(t,e?.in),i=+Ct(n,e)-+zt(n,e);return Math.round(i/o)+1}function Nt(t,e,n){const i=h(t,n?.in),o=Wt(i,n)-e;return i.setDate(i.getDate()-7*o),h(i,n?.in)}class Ht extends pt{priority=100;parse(t,e,n){switch(e){case"w":return xt(mt.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _t(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n,i){return Ct(Nt(t,n,i),i)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function Bt(t,e){const n=h(t,e?.in),i=n.getFullYear(),o=u(n,0);o.setFullYear(i+1,0,4),o.setHours(0,0,0,0);const r=At(o),s=u(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);const a=At(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=a.getTime()?i:i-1}function Yt(t,e){const n=Bt(t,e),i=u(e?.in||t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),At(i)}function Vt(t,e){const n=h(t,e?.in),i=+At(n)-+Yt(n);return Math.round(i/o)+1}function $t(t,e,n){const i=h(t,n?.in),o=Vt(i,n)-e;return i.setDate(i.getDate()-7*o),i}class Xt extends pt{priority=100;parse(t,e,n){switch(e){case"I":return xt(mt.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _t(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return At($t(t,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const qt=[31,28,31,30,31,30,31,31,30,31,30,31],Ut=[31,29,31,30,31,30,31,31,30,31,30,31];class Gt extends pt{priority=90;subPriority=1;parse(t,e,n){switch(e){case"d":return xt(mt.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _t(e.length,t)}}validate(t,e){const n=t.getFullYear(),i=Dt(n),o=t.getMonth();return i?e>=1&&e<=Ut[o]:e>=1&&e<=qt[o]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class Zt extends pt{priority=90;subpriority=1;parse(t,e,n){switch(e){case"D":case"DD":return xt(mt.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _t(e.length,t)}}validate(t,e){const n=t.getFullYear(),i=Dt(n);return i?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function Jt(t,e,n){const i=h(t,n?.in);return isNaN(e)?u(n?.in||t,NaN):e?(i.setDate(i.getDate()+e),i):i}function Qt(t,e,n){const i=st(),o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,r=h(t,n?.in),s=r.getDay(),a=e%7,l=(a+7)%7,c=7-o,u=e<0||e>6?e-(s+c)%7:(l+c)%7-(s+c)%7;return Jt(r,u,n)}class Kt extends pt{priority=90;parse(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=Qt(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}class te extends pt{priority=90;parse(t,e,n,i){const o=t=>{const e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return yt(_t(e.length,t),o);case"eo":return yt(n.ordinalNumber(t,{unit:"day"}),o);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=Qt(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class ee extends pt{priority=90;parse(t,e,n,i){const o=t=>{const e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return yt(_t(e.length,t),o);case"co":return yt(n.ordinalNumber(t,{unit:"day"}),o);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return t=Qt(t,n,i),t.setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function ne(t,e){const n=h(t,e?.in).getDay();return 0===n?7:n}function ie(t,e,n){const i=h(t,n?.in),o=ne(i,n),r=e-o;return Jt(i,r,n)}class oe extends pt{priority=90;parse(t,e,n){const i=t=>0===t?7:t;switch(e){case"i":case"ii":return _t(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return yt(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return yt(n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return yt(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiii":default:return yt(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return t=ie(t,n),t.setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class re extends pt{priority=80;parse(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Mt(n),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}class se extends pt{priority=80;parse(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Mt(n),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}class ae extends pt{priority=80;parse(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Mt(n),0,0,0),t}incompatibleTokens=["a","b","t","T"]}class le extends pt{priority=70;parse(t,e,n){switch(e){case"h":return xt(mt.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){const i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):i||12!==n?t.setHours(n,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}class ce extends pt{priority=70;parse(t,e,n){switch(e){case"H":return xt(mt.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _t(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}class ue extends pt{priority=70;parse(t,e,n){switch(e){case"K":return xt(mt.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){const i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}class he extends pt{priority=70;parse(t,e,n){switch(e){case"k":return xt(mt.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _t(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){const i=n<=24?n%24:n;return t.setHours(i,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}class de extends pt{priority=60;parse(t,e,n){switch(e){case"m":return xt(mt.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _t(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}incompatibleTokens=["t","T"]}class fe extends pt{priority=50;parse(t,e,n){switch(e){case"s":return xt(mt.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _t(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}incompatibleTokens=["t","T"]}class pe extends pt{priority=30;parse(t,e){const n=t=>Math.trunc(t*Math.pow(10,3-e.length));return yt(_t(e.length,t),n)}set(t,e,n){return t.setMilliseconds(n),t}incompatibleTokens=["t","T"]}function ge(t){const e=h(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}class me extends pt{priority=10;parse(t,e){switch(e){case"X":return vt(bt.basicOptionalMinutes,t);case"XX":return vt(bt.basic,t);case"XXXX":return vt(bt.basicOptionalSeconds,t);case"XXXXX":return vt(bt.extendedOptionalSeconds,t);case"XXX":default:return vt(bt.extended,t)}}set(t,e,n){return e.timestampIsSet?t:u(t,t.getTime()-ge(t)-n)}incompatibleTokens=["t","T","x"]}class be extends pt{priority=10;parse(t,e){switch(e){case"x":return vt(bt.basicOptionalMinutes,t);case"xx":return vt(bt.basic,t);case"xxxx":return vt(bt.basicOptionalSeconds,t);case"xxxxx":return vt(bt.extendedOptionalSeconds,t);case"xxx":default:return vt(bt.extended,t)}}set(t,e,n){return e.timestampIsSet?t:u(t,t.getTime()-ge(t)-n)}incompatibleTokens=["t","T","X"]}class ye extends pt{priority=40;parse(t){return wt(t)}set(t,e,n){return[u(t,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}class xe extends pt{priority=20;parse(t){return wt(t)}set(t,e,n){return[u(t,n),{timestampIsSet:!0}]}incompatibleTokens="*"}const ve={G:new gt,y:new Tt,Y:new Ot,R:new Et,u:new It,Q:new Rt,q:new Lt,M:new Ft,L:new jt,w:new Ht,I:new Xt,d:new Gt,D:new Zt,E:new Kt,e:new te,c:new ee,i:new oe,a:new re,b:new se,B:new ae,h:new le,H:new ce,K:new ue,k:new he,m:new de,s:new fe,S:new pe,X:new me,x:new be,t:new ye,T:new xe},we=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_e=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ke=/^'([^]*?)'?$/,Me=/''/g,Se=/\S/,De=/[a-zA-Z]/;function Te(t,e,n,i){const o=()=>u(i?.in||n,NaN),r=at(),s=i?.locale??r.locale??q,a=i?.firstWeekContainsDate??i?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,l=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0;if(!e)return t?o():h(n,i?.in);const c={firstWeekContainsDate:a,weekStartsOn:l,locale:s},d=[new ft(i?.in,n)],f=e.match(_e).map((t=>{const e=t[0];if(e in J){const n=J[e];return n(t,s.formatLong)}return t})).join("").match(we),p=[];for(let u of f){!i?.useAdditionalWeekYearTokens&&nt(u)&&it(u,e,t),!i?.useAdditionalDayOfYearTokens&&et(u)&&it(u,e,t);const n=u[0],r=ve[n];if(r){const{incompatibleTokens:e}=r;if(Array.isArray(e)){const t=p.find((t=>e.includes(t.token)||t.token===n));if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${u}\` at the same time`)}else if("*"===r.incompatibleTokens&&p.length>0)throw new RangeError(`The format string mustn't contain \`${u}\` and any other token at the same time`);p.push({token:n,fullToken:u});const i=r.run(t,u,s.match,c);if(!i)return o();d.push(i.setter),t=i.rest}else{if(n.match(De))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===u?u="'":"'"===n&&(u=Ce(u)),0!==t.indexOf(u))return o();t=t.slice(u.length)}}if(t.length>0&&Se.test(t))return o();const g=d.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,n)=>n.indexOf(t)===e)).map((t=>d.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let m=h(n,i?.in);if(isNaN(+m))return o();const b={};for(const u of g){if(!u.validate(m,c))return o();const t=u.set(m,b,c);Array.isArray(t)?(m=t[0],Object.assign(b,t[1])):m=t}return m}function Ce(t){return t.match(ke)[1].replace(Me,"'")}function Pe(t,e){const n=()=>u(e?.in,NaN),i=e?.additionalDigits??2,o=Re(t);let r;if(o.date){const t=Le(o.date,i);r=Fe(t.restDateString,t.year)}if(!r||isNaN(+r))return n();const s=+r;let a,l=0;if(o.time&&(l=ze(o.time),isNaN(l)))return n();if(!o.timezone){const t=new Date(s+l),n=h(0,e?.in);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}return a=Ne(o.timezone),isNaN(a)?n():h(s+l+a,e?.in)}const Oe={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Ae=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ee=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Ie=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Re(t){const e={},n=t.split(Oe.dateTimeDelimiter);let i;if(n.length>2)return e;if(/:/.test(n[0])?i=n[0]:(e.date=n[0],i=n[1],Oe.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Oe.timeZoneDelimiter)[0],i=t.substr(e.date.length,t.length))),i){const t=Oe.timezone.exec(i);t?(e.time=i.replace(t[1],""),e.timezone=t[1]):e.time=i}return e}function Le(t,e){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),i=t.match(n);if(!i)return{year:NaN,restDateString:""};const o=i[1]?parseInt(i[1]):null,r=i[2]?parseInt(i[2]):null;return{year:null===r?o:100*r,restDateString:t.slice((i[1]||i[2]).length)}}function Fe(t,e){if(null===e)return new Date(NaN);const n=t.match(Ae);if(!n)return new Date(NaN);const i=!!n[4],o=je(n[1]),r=je(n[2])-1,s=je(n[3]),a=je(n[4]),l=je(n[5])-1;if(i)return Xe(e,a,l)?He(e,a,l):new Date(NaN);{const t=new Date(0);return Ve(e,r,s)&&$e(e,o)?(t.setUTCFullYear(e,r,Math.max(o,s)),t):new Date(NaN)}}function je(t){return t?parseInt(t):1}function ze(t){const e=t.match(Ee);if(!e)return NaN;const n=We(e[1]),i=We(e[2]),o=We(e[3]);return qe(n,i,o)?n*a+i*s+1e3*o:NaN}function We(t){return t&&parseFloat(t.replace(",","."))||0}function Ne(t){if("Z"===t)return 0;const e=t.match(Ie);if(!e)return 0;const n="+"===e[1]?-1:1,i=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;return Ue(i,o)?n*(i*a+o*s):NaN}function He(t,e,n){const i=new Date(0);i.setUTCFullYear(t,0,4);const o=i.getUTCDay()||7,r=7*(e-1)+n+1-o;return i.setUTCDate(i.getUTCDate()+r),i}const Be=[31,null,31,30,31,30,31,31,30,31,30,31];function Ye(t){return t%400===0||t%4===0&&t%100!==0}function Ve(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(Be[e]||(Ye(t)?29:28))}function $e(t,e){return e>=1&&e<=(Ye(t)?366:365)}function Xe(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function qe(t,e,n){return 24===t?0===e&&0===n:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function Ue(t,e){return e>=0&&e<=59}function Ge(t){return t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}function Ze(t){return!(!Ge(t)&&"number"!==typeof t||isNaN(+h(t)))}function Je(t,...e){const n=u.bind(null,t||e.find((t=>"object"===typeof t)));return e.map(n)}function Qe(t,e){const n=h(t,e?.in);return n.setHours(0,0,0,0),n}function Ke(t,e,n){const[i,o]=Je(n?.in,t,e),s=Qe(i),a=Qe(o),l=+s-ge(s),c=+a-ge(a);return Math.round((l-c)/r)}function tn(t,e){const n=h(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function en(t,e){const n=h(t,e?.in),i=Ke(n,tn(n)),o=i+1;return o}function nn(t,e){const n=t<0?"-":"",i=Math.abs(t).toString().padStart(e,"0");return n+i}const on={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return nn("yy"===e?i%100:i,e.length)},M(t,e){const n=t.getMonth();return"M"===e?String(n+1):nn(n+1,2)},d(t,e){return nn(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return"am"===n?"a.m.":"p.m."}},h(t,e){return nn(t.getHours()%12||12,e.length)},H(t,e){return nn(t.getHours(),e.length)},m(t,e){return nn(t.getMinutes(),e.length)},s(t,e){return nn(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),o=Math.trunc(i*Math.pow(10,n-3));return nn(o,e.length)}},rn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sn={G:function(t,e,n){const i=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){const e=t.getFullYear(),i=e>0?e:1-e;return n.ordinalNumber(i,{unit:"year"})}return on.y(t,e)},Y:function(t,e,n,i){const o=Pt(t,i),r=o>0?o:1-o;if("YY"===e){const t=r%100;return nn(t,2)}return"Yo"===e?n.ordinalNumber(r,{unit:"year"}):nn(r,e.length)},R:function(t,e){const n=Bt(t);return nn(n,e.length)},u:function(t,e){const n=t.getFullYear();return nn(n,e.length)},Q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return nn(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){const i=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return nn(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){const i=t.getMonth();switch(e){case"M":case"MM":return on.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){const i=t.getMonth();switch(e){case"L":return String(i+1);case"LL":return nn(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){const o=Wt(t,i);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):nn(o,e.length)},I:function(t,e,n){const i=Vt(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):nn(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):on.d(t,e)},D:function(t,e,n){const i=en(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):nn(i,e.length)},E:function(t,e,n){const i=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){const o=t.getDay(),r=(o-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(r);case"ee":return nn(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){const o=t.getDay(),r=(o-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(r);case"cc":return nn(r,e.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){const i=t.getDay(),o=0===i?7:i;switch(e){case"i":return String(o);case"ii":return nn(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){const i=t.getHours(),o=i/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,n){const i=t.getHours();let o;switch(o=12===i?rn.noon:0===i?rn.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,n){const i=t.getHours();let o;switch(o=i>=17?rn.evening:i>=12?rn.afternoon:i>=4?rn.morning:rn.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return on.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):on.H(t,e)},K:function(t,e,n){const i=t.getHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):nn(i,e.length)},k:function(t,e,n){let i=t.getHours();return 0===i&&(i=24),"ko"===e?n.ordinalNumber(i,{unit:"hour"}):nn(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):on.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):on.s(t,e)},S:function(t,e){return on.S(t,e)},X:function(t,e,n){const i=t.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return ln(i);case"XXXX":case"XX":return cn(i);case"XXXXX":case"XXX":default:return cn(i,":")}},x:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"x":return ln(i);case"xxxx":case"xx":return cn(i);case"xxxxx":case"xxx":default:return cn(i,":")}},O:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+an(i,":");case"OOOO":default:return"GMT"+cn(i,":")}},z:function(t,e,n){const i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+an(i,":");case"zzzz":default:return"GMT"+cn(i,":")}},t:function(t,e,n){const i=Math.trunc(+t/1e3);return nn(i,e.length)},T:function(t,e,n){return nn(+t,e.length)}};function an(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),o=Math.trunc(i/60),r=i%60;return 0===r?n+String(o):n+String(o)+e+nn(r,2)}function ln(t,e){if(t%60===0){const e=t>0?"-":"+";return e+nn(Math.abs(t)/60,2)}return cn(t,e)}function cn(t,e=""){const n=t>0?"-":"+",i=Math.abs(t),o=nn(Math.trunc(i/60),2),r=nn(i%60,2);return n+o+e+r}const un=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,hn=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,dn=/^'([^]*?)'?$/,fn=/''/g,pn=/[a-zA-Z]/;function gn(t,e,n){const i=st(),o=n?.locale??i.locale??q,r=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,a=h(t,n?.in);if(!Ze(a))throw new RangeError("Invalid time value");let l=e.match(hn).map((t=>{const e=t[0];if("p"===e||"P"===e){const n=J[e];return n(t,o.formatLong)}return t})).join("").match(un).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:mn(t)};if(sn[e])return{isToken:!0,value:t};if(e.match(pn))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));o.localize.preprocessor&&(l=o.localize.preprocessor(a,l));const c={firstWeekContainsDate:r,weekStartsOn:s,locale:o};return l.map((i=>{if(!i.isToken)return i.value;const r=i.value;(!n?.useAdditionalWeekYearTokens&&nt(r)||!n?.useAdditionalDayOfYearTokens&&et(r))&&it(r,e,String(t));const s=sn[r[0]];return s(a,r,o.localize,c)})).join("")}function mn(t){const e=t.match(dn);return e?e[1].replace(fn,"'"):t}function bn(t,e,n){return u(n?.in||t,+h(t)+e)}function yn(t,e,n){return bn(t,1e3*e,n)}function xn(t,e,n){const i=h(t,n?.in);return i.setTime(i.getTime()+e*s),i}function vn(t,e,n){return bn(t,e*a,n)}function wn(t,e,n){return Jt(t,7*e,n)}function _n(t,e,n){const i=h(t,n?.in);if(isNaN(e))return u(n?.in||t,NaN);if(!e)return i;const o=i.getDate(),r=u(n?.in||t,i.getTime());r.setMonth(i.getMonth()+e+1,0);const s=r.getDate();return o>=s?r:(i.setFullYear(r.getFullYear(),r.getMonth(),o),i)}function kn(t,e,n){return _n(t,3*e,n)}function Mn(t,e,n){return _n(t,12*e,n)}function Sn(t,e){return+h(t)-+h(e)}function Dn(t){return e=>{const n=t?Math[t]:Math.trunc,i=n(e);return 0===i?0:i}}function Tn(t,e,n){const i=Sn(t,e)/1e3;return Dn(n?.roundingMethod)(i)}function Cn(t,e,n){const i=Sn(t,e)/s;return Dn(n?.roundingMethod)(i)}function Pn(t,e,n){const[i,o]=Je(n?.in,t,e),r=(+i-+o)/a;return Dn(n?.roundingMethod)(r)}function On(t,e,n){const[i,o]=Je(n?.in,t,e),r=An(i,o),s=Math.abs(Ke(i,o));i.setDate(i.getDate()-r*s);const a=Number(An(i,o)===-r),l=r*(s-a);return 0===l?0:l}function An(t,e){const n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function En(t,e,n){const i=On(t,e,n)/7;return Dn(n?.roundingMethod)(i)}function In(t,e){const n=+h(t)-+h(e);return n<0?-1:n>0?1:n}function Rn(t,e,n){const[i,o]=Je(n?.in,t,e),r=i.getFullYear()-o.getFullYear(),s=i.getMonth()-o.getMonth();return 12*r+s}function Ln(t,e){const n=h(t,e?.in);return n.setHours(23,59,59,999),n}function Fn(t,e){const n=h(t,e?.in),i=n.getMonth();return n.setFullYear(n.getFullYear(),i+1,0),n.setHours(23,59,59,999),n}function jn(t,e){const n=h(t,e?.in);return+Ln(n,e)===+Fn(n,e)}function zn(t,e,n){const[i,o,r]=Je(n?.in,t,t,e),s=In(o,r),a=Math.abs(Rn(o,r));if(a<1)return 0;1===o.getMonth()&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-s*a);let l=In(o,r)===-s;jn(i)&&1===a&&1===In(i,r)&&(l=!1);const c=s*(a-+l);return 0===c?0:c}function Wn(t,e,n){const i=zn(t,e,n)/3;return Dn(n?.roundingMethod)(i)}function Nn(t,e,n){const[i,o]=Je(n?.in,t,e);return i.getFullYear()-o.getFullYear()}function Hn(t,e,n){const[i,o]=Je(n?.in,t,e),r=In(i,o),s=Math.abs(Nn(i,o));i.setFullYear(1584),o.setFullYear(1584);const a=In(i,o)===-r,l=r*(s-+a);return 0===l?0:l}function Bn(t,e){const n=h(t,e?.in);return n.setMilliseconds(0),n}function Yn(t,e){const n=h(t,e?.in);return n.setSeconds(0,0),n}function Vn(t,e){const n=h(t,e?.in);return n.setMinutes(0,0,0),n}function $n(t,e){const n=h(t,e?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function Xn(t,e){const n=h(t,e?.in),i=n.getMonth(),o=i-i%3;return n.setMonth(o,1),n.setHours(0,0,0,0),n}function qn(t,e){const n=h(t,e?.in);return n.setMilliseconds(999),n}function Un(t,e){const n=h(t,e?.in);return n.setSeconds(59,999),n}function Gn(t,e){const n=h(t,e?.in);return n.setMinutes(59,59,999),n}function Zn(t,e){const n=st(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=h(t,e?.in),r=o.getDay(),s=6+(rn.intersect?t.inRange(e.x,e.y):a(t,e,n.axis)))}function u(t,e,n){let i=Number.POSITIVE_INFINITY;return c(t,e,n).reduce(((t,r)=>{const s=r.getCenterPoint(),a=l(e,s,n.axis),c=(0,o.aF)(e,a);return ct._index-e._index)).slice(0,1)}function h(t,e,n){const i=Math.cos(n),o=Math.sin(n),r=e.x,s=e.y;return{x:r+i*(t.x-r)-o*(t.y-s),y:s+o*(t.x-r)+i*(t.y-s)}}const d=(t,e)=>e>t||t.length>e.length&&t.slice(0,e.length)===e,f=.001,p=(t,e,n)=>Math.min(n,Math.max(e,t)),g=(t,e)=>t.value>=t.start-e&&t.value<=t.end+e;function m(t,e,n){for(const i of Object.keys(t))t[i]=p(t[i],e,n);return t}function b(t,e,n,i){return!(!t||!e||n<=0)&&Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)<=Math.pow(n+i,2)}function y(t,{x:e,y:n,x2:i,y2:o},r,{borderWidth:s,hitTolerance:a}){const l=(s+a)/2,c=t.x>=e-l-f&&t.x<=i+l+f,u=t.y>=n-l-f&&t.y<=o+l+f;return"x"===r?c:("y"===r||c)&&u}function x(t,{rect:e,center:n},i,{rotation:r,borderWidth:s,hitTolerance:a}){const l=h(t,n,(0,o.t)(-r));return y(l,e,i,{borderWidth:s,hitTolerance:a})}function v(t,e){const{centerX:n,centerY:i}=t.getProps(["centerX","centerY"],e);return{x:n,y:i}}function w(t,e,n,i=!0){const o=n.split(".");let r=0;for(const s of e.split(".")){const a=o[r++];if(parseInt(s,10)"string"===typeof t&&t.endsWith("%"),k=t=>parseFloat(t)/100,M=t=>p(k(t),0,1),S=(t,e)=>({x:t,y:e,x2:t,y2:e,width:0,height:0}),D={box:t=>S(t.centerX,t.centerY),doughnutLabel:t=>S(t.centerX,t.centerY),ellipse:t=>({centerX:t.centerX,centerY:t.centerX,radius:0,width:0,height:0}),label:t=>S(t.centerX,t.centerY),line:t=>S(t.x,t.y),point:t=>({centerX:t.centerX,centerY:t.centerY,radius:0,width:0,height:0}),polygon:t=>S(t.centerX,t.centerY)};function T(t,e){return"start"===e?0:"end"===e?t:_(e)?M(e)*t:t/2}function C(t,e,n=!0){return"number"===typeof e?e:_(e)?(n?M(e):k(e))*t:t}function P(t,e){const{x:n,width:i}=t,o=e.textAlign;return"center"===o?n+i/2:"end"===o||"right"===o?n+i:n}function O(t,e,{borderWidth:n,position:i,xAdjust:r,yAdjust:s},a){const l=(0,o.i)(a),c=e.width+(l?a.width:0)+n,u=e.height+(l?a.height:0)+n,h=A(i),d=L(t.x,c,r,h.x),f=L(t.y,u,s,h.y);return{x:d,y:f,x2:d+c,y2:f+u,width:c,height:u,centerX:d+c/2,centerY:f+u/2}}function A(t,e="center"){return(0,o.i)(t)?{x:(0,o.v)(t.x,e),y:(0,o.v)(t.y,e)}:(t=(0,o.v)(t,e),{x:t,y:t})}const E=(t,e)=>t&&t.autoFit&&e<1;function I(t,e){const n=t.font,i=(0,o.b)(n)?n:[n];return E(t,e)?i.map((function(t){const n=(0,o.a0)(t);return n.size=Math.floor(t.size*e),n.lineHeight=t.lineHeight,(0,o.a0)(n)})):i.map((t=>(0,o.a0)(t)))}function R(t){return t&&((0,o.h)(t.xValue)||(0,o.h)(t.yValue))}function L(t,e,n=0,i){return t-T(e,i)+n}function F(t,e,n){const i=n.init;if(i)return!0===i?z(e,n):W(t,e,n)}function j(t,e,n){let i=!1;return e.forEach((e=>{(0,o.a7)(t[e])?(i=!0,n[e]=t[e]):(0,o.h)(n[e])&&delete n[e]})),i}function z(t,e){const n=e.type||"line";return D[n](t)}function W(t,e,n){const i=(0,o.Q)(n.init,[{chart:t,properties:e,options:n}]);return!0===i?z(e,n):(0,o.i)(i)?i:void 0}const N=new Map,H=t=>isNaN(t)||t<=0,B=t=>t.reduce((function(t,e){return t+=e.string,t}),"");function Y(t){if(t&&"object"===typeof t){const e=t.toString();return"[object HTMLImageElement]"===e||"[object HTMLCanvasElement]"===e}}function V(t,{x:e,y:n},i){i&&(t.translate(e,n),t.rotate((0,o.t)(i)),t.translate(-e,-n))}function $(t,e){if(e&&e.borderWidth)return t.lineCap=e.borderCapStyle||"butt",t.setLineDash(e.borderDash),t.lineDashOffset=e.borderDashOffset,t.lineJoin=e.borderJoinStyle||"miter",t.lineWidth=e.borderWidth,t.strokeStyle=e.borderColor,!0}function X(t,e){t.shadowColor=e.backgroundShadowColor,t.shadowBlur=e.shadowBlur,t.shadowOffsetX=e.shadowOffsetX,t.shadowOffsetY=e.shadowOffsetY}function q(t,e){const n=e.content;if(Y(n)){const t={width:C(n.width,e.width),height:C(n.height,e.height)};return t}const i=I(e),r=e.textStrokeWidth,s=(0,o.b)(n)?n:[n],a=s.join()+B(i)+r+(t._measureText?"-spriting":"");return N.has(a)||N.set(a,K(t,s,i,r)),N.get(a)}function U(t,e,n){const{x:i,y:r,width:s,height:a}=e;t.save(),X(t,n);const l=$(t,n);t.fillStyle=n.backgroundColor,t.beginPath(),(0,o.aw)(t,{x:i,y:r,w:s,h:a,radius:m((0,o.ay)(n.borderRadius),0,Math.min(s,a)/2)}),t.closePath(),t.fill(),l&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore()}function G(t,e,n,i){const r=n.content;if(Y(r))return t.save(),t.globalAlpha=nt(n.opacity,r.style.opacity),t.drawImage(r,e.x,e.y,e.width,e.height),void t.restore();const s=(0,o.b)(r)?r:[r],a=I(n,i),l=n.color,c=(0,o.b)(l)?l:[l],u=P(e,n),h=e.y+n.textStrokeWidth/2;t.save(),t.textBaseline="middle",t.textAlign=n.textAlign,Z(t,n)&&tt(t,{x:u,y:h},s,a),et(t,{x:u,y:h},s,{fonts:a,colors:c}),t.restore()}function Z(t,e){if(e.textStrokeWidth>0)return t.lineJoin="round",t.miterLimit=2,t.lineWidth=e.textStrokeWidth,t.strokeStyle=e.textStrokeColor,!0}function J(t,e,n,i){const{radius:r,options:s}=e,a=s.pointStyle,l=s.rotation;let c=(l||0)*o.b4;if(Y(a))return t.save(),t.translate(n,i),t.rotate(c),t.drawImage(a,-a.width/2,-a.height/2,a.width,a.height),void t.restore();H(r)||Q(t,{x:n,y:i,radius:r,rotation:l,style:a,rad:c})}function Q(t,{x:e,y:n,radius:i,rotation:r,style:s,rad:a}){let l,c,u,h;switch(t.beginPath(),s){default:t.arc(e,n,i,0,o.T),t.closePath();break;case"triangle":t.moveTo(e+Math.sin(a)*i,n-Math.cos(a)*i),a+=o.b6,t.lineTo(e+Math.sin(a)*i,n-Math.cos(a)*i),a+=o.b6,t.lineTo(e+Math.sin(a)*i,n-Math.cos(a)*i),t.closePath();break;case"rectRounded":h=.516*i,u=i-h,l=Math.cos(a+o.b5)*u,c=Math.sin(a+o.b5)*u,t.arc(e-l,n-c,h,a-o.P,a-o.H),t.arc(e+c,n-l,h,a-o.H,a),t.arc(e+l,n+c,h,a,a+o.H),t.arc(e-c,n+l,h,a+o.H,a+o.P),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*i,t.rect(e-u,n-u,2*u,2*u);break}a+=o.b5;case"rectRot":l=Math.cos(a)*i,c=Math.sin(a)*i,t.moveTo(e-l,n-c),t.lineTo(e+c,n-l),t.lineTo(e+l,n+c),t.lineTo(e-c,n+l),t.closePath();break;case"crossRot":a+=o.b5;case"cross":l=Math.cos(a)*i,c=Math.sin(a)*i,t.moveTo(e-l,n-c),t.lineTo(e+l,n+c),t.moveTo(e+c,n-l),t.lineTo(e-c,n+l);break;case"star":l=Math.cos(a)*i,c=Math.sin(a)*i,t.moveTo(e-l,n-c),t.lineTo(e+l,n+c),t.moveTo(e+c,n-l),t.lineTo(e-c,n+l),a+=o.b5,l=Math.cos(a)*i,c=Math.sin(a)*i,t.moveTo(e-l,n-c),t.lineTo(e+l,n+c),t.moveTo(e+c,n-l),t.lineTo(e-c,n+l);break;case"line":l=Math.cos(a)*i,c=Math.sin(a)*i,t.moveTo(e-l,n-c),t.lineTo(e+l,n+c);break;case"dash":t.moveTo(e,n),t.lineTo(e+Math.cos(a)*i,n+Math.sin(a)*i);break}t.fill()}function K(t,e,n,i){t.save();const o=e.length;let r=0,s=i;for(let a=0;a0||0===r.borderWidth)&&(t.moveTo(c.x,c.y),t.lineTo(u.x,u.y)),t.moveTo(d.x,d.y),t.lineTo(f.x,f.y);const p=h({x:n,y:i},e.getCenterPoint(),(0,o.t)(-e.rotation));t.lineTo(p.x,p.y),t.stroke(),t.restore()}function rt(t,e){const{x:n,y:i,x2:o,y2:r}=t,s=st(t,e);let a,l;return"left"===e||"right"===e?(a={x:n+s,y:i},l={x:a.x,y:r}):(a={x:n,y:i+s},l={x:o,y:a.y}),{separatorStart:a,separatorEnd:l}}function st(t,e){const{width:n,height:i,options:o}=t,r=o.callout.margin+o.borderWidth/2;return"right"===e?n+r:"bottom"===e?i+r:-r}function at(t,e,n){const{y:i,width:o,height:r,options:s}=t,a=s.callout.start,l=lt(e,s.callout);let c,u;return"left"===e||"right"===e?(c={x:n.x,y:i+C(r,a)},u={x:c.x+l,y:c.y}):(c={x:n.x+C(o,a),y:n.y},u={x:c.x,y:c.y+l}),{sideStart:c,sideEnd:u}}function lt(t,e){const n=e.side;return"left"===t||"top"===t?-n:n}function ct(t,e){const n=e.position;return it.includes(n)?n:ut(t,e)}function ut(t,e){const{x:n,y:i,x2:r,y2:s,width:a,height:l,pointX:c,pointY:u,centerX:d,centerY:f,rotation:p}=t,g={x:d,y:f},m=e.start,b=C(a,m),y=C(l,m),x=[n,n+b,n+b,r],v=[i+y,s,i,s],w=[];for(let _=0;_<4;_++){const t=h({x:x[_],y:v[_]},g,(0,o.t)(p));w.push({position:it[_],distance:(0,o.aF)(t,{x:c,y:u})})}return w.sort(((t,e)=>t.distance-e.distance))[0].position}function ht(t,e,n){const{pointX:i,pointY:o}=t,r=e.margin;let s=i,a=o;return"left"===n?s+=r:"right"===n?s-=r:"top"===n?a+=r:"bottom"===n&&(a-=r),t.inRange(s,a)}const dt={xScaleID:{min:"xMin",max:"xMax",start:"left",end:"right",startProp:"x",endProp:"x2"},yScaleID:{min:"yMin",max:"yMax",start:"bottom",end:"top",startProp:"y",endProp:"y2"}};function ft(t,e,n){return e="number"===typeof e?e:t.parse(e),(0,o.g)(e)?t.getPixelForValue(e):n}function pt(t,e,n){const i=e[n];if(i||"scaleID"===n)return i;const o=n.charAt(0),r=Object.values(t).filter((t=>t.axis&&t.axis===o));return r.length?r[0].id:o}function gt(t,e){if(t){const n=t.options.reverse,i=ft(t,e.min,n?e.end:e.start),o=ft(t,e.max,n?e.start:e.end);return{start:i,end:o}}}function mt(t,e){const{chartArea:n,scales:i}=t,o=i[pt(i,e,"xScaleID")],r=i[pt(i,e,"yScaleID")];let s=n.width/2,a=n.height/2;return o&&(s=ft(o,e.xValue,o.left+o.width/2)),r&&(a=ft(r,e.yValue,r.top+r.height/2)),{x:s,y:a}}function bt(t,e){const n=t.scales,i=n[pt(n,e,"xScaleID")],o=n[pt(n,e,"yScaleID")];if(!i&&!o)return{};let{left:r,right:s}=i||t.chartArea,{top:a,bottom:l}=o||t.chartArea;const c=_t(i,{min:e.xMin,max:e.xMax,start:r,end:s});r=c.start,s=c.end;const u=_t(o,{min:e.yMin,max:e.yMax,start:l,end:a});return a=u.start,l=u.end,{x:r,y:a,x2:s,y2:l,width:s-r,height:l-a,centerX:r+(s-r)/2,centerY:a+(l-a)/2}}function yt(t,e){if(!R(e)){const n=bt(t,e);let i=e.radius;i&&!isNaN(i)||(i=Math.min(n.width,n.height)/2,e.radius=i);const o=2*i,r=n.centerX+e.xAdjust,s=n.centerY+e.yAdjust;return{x:r-i,y:s-i,x2:r+i,y2:s+i,centerX:r,centerY:s,width:o,height:o,radius:i}}return wt(t,e)}function xt(t,e){const{scales:n,chartArea:i}=t,o=n[e.scaleID],r={x:i.left,y:i.top,x2:i.right,y2:i.bottom};return o?kt(o,r,e):Mt(n,r,e),r}function vt(t,e){const n=bt(t,e);return n.initProperties=F(t,n,e),n.elements=[{type:"label",optionScope:"label",properties:Ct(t,n,e),initProperties:n.initProperties}],n}function wt(t,e){const n=mt(t,e),i=2*e.radius;return{x:n.x-e.radius+e.xAdjust,y:n.y-e.radius+e.yAdjust,x2:n.x+e.radius+e.xAdjust,y2:n.y+e.radius+e.yAdjust,centerX:n.x+e.xAdjust,centerY:n.y+e.yAdjust,radius:e.radius,width:i,height:i}}function _t(t,e){const n=gt(t,e)||e;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function kt(t,e,n){const i=ft(t,n.value,NaN),o=ft(t,n.endValue,i);t.isHorizontal()?(e.x=i,e.x2=o):(e.y=i,e.y2=o)}function Mt(t,e,n){for(const i of Object.keys(dt)){const o=t[pt(t,n,i)];if(o){const{min:t,max:r,start:s,end:a,startProp:l,endProp:c}=dt[i],u=gt(o,{min:n[t],max:n[r],start:o[s],end:o[a]});e[l]=u.start,e[c]=u.end}}}function St({properties:t,options:e},n,i,o){const{x:r,x2:s,width:a}=t;return Tt({start:r,end:s,size:a,borderWidth:e.borderWidth},{position:i.x,padding:{start:o.left,end:o.right},adjust:e.label.xAdjust,size:n.width})}function Dt({properties:t,options:e},n,i,o){const{y:r,y2:s,height:a}=t;return Tt({start:r,end:s,size:a,borderWidth:e.borderWidth},{position:i.y,padding:{start:o.top,end:o.bottom},adjust:e.label.yAdjust,size:n.height})}function Tt(t,e){const{start:n,end:i,borderWidth:o}=t,{position:r,padding:{start:s,end:a},adjust:l}=e,c=i-o-n-s-a-e.size;return n+o/2+l+T(c,r)}function Ct(t,e,n){const i=n.label;i.backgroundColor="transparent",i.callout.display=!1;const r=A(i.position),s=(0,o.E)(i.padding),a=q(t.ctx,i),l=St({properties:e,options:n},a,r,s),c=Dt({properties:e,options:n},a,r,s),u=a.width+s.width,h=a.height+s.height;return{x:l,y:c,x2:l+u,y2:c+h,width:u,height:h,centerX:l+u/2,centerY:c+h/2,rotation:i.rotation}}const Pt=["enter","leave"],Ot=Pt.concat("click");function At(t,e,n){e.listened=j(n,Ot,e.listeners),e.moveListened=!1,Pt.forEach((t=>{(0,o.a7)(n[t])&&(e.moveListened=!0)})),e.listened&&e.moveListened||e.annotations.forEach((t=>{!e.listened&&(0,o.a7)(t.click)&&(e.listened=!0),e.moveListened||Pt.forEach((n=>{(0,o.a7)(t[n])&&(e.listened=!0,e.moveListened=!0)}))}))}function Et(t,e,n){if(t.listened)switch(e.type){case"mousemove":case"mouseout":return It(t,e,n);case"click":return Lt(t,e,n)}}function It(t,e,n){if(!t.moveListened)return;let i;i="mousemove"===e.type?s(t.visibleElements,e,n.interaction):[];const o=t.hovered;t.hovered=i;const r={state:t,event:e};let a=Rt(r,"leave",o,i);return Rt(r,"enter",i,o)||a}function Rt({state:t,event:e},n,i,o){let r;for(const s of i)o.indexOf(s)<0&&(r=Ft(s.options[n]||t.listeners[n],s,e)||r);return r}function Lt(t,e,n){const i=t.listeners,o=s(t.visibleElements,e,n.interaction);let r;for(const s of o)r=Ft(s.options.click||i.click,s,e)||r;return r}function Ft(t,e,n){return!0===(0,o.Q)(t,[e.$context,n])}const jt=["afterDraw","beforeDraw"];function zt(t,e,n){const i=e.visibleElements;e.hooked=j(n,jt,e.hooks),e.hooked||i.forEach((t=>{e.hooked||jt.forEach((n=>{(0,o.a7)(t.options[n])&&(e.hooked=!0)}))}))}function Wt(t,e,n){if(t.hooked){const i=e.options[n]||t.hooks[n];return(0,o.Q)(i,[e.$context])}}function Nt(t,e,n){const i=Xt(t.scales,e,n);let r=Bt(e,i,"min","suggestedMin");r=Bt(e,i,"max","suggestedMax")||r,r&&(0,o.a7)(e.handleTickRangeOptions)&&e.handleTickRangeOptions()}function Ht(t,e){for(const n of t)Vt(n,e)}function Bt(t,e,n,i){if((0,o.g)(e[n])&&!Yt(t.options,n,i)){const i=t[n]!==e[n];return t[n]=e[n],i}}function Yt(t,e,n){return(0,o.h)(t[e])||(0,o.h)(t[n])}function Vt(t,e){for(const n of["scaleID","xScaleID","yScaleID"]){const i=pt(e,t,n);i&&!e[i]&&$t(t,n)&&console.warn(`No scale found with id '${i}' for annotation '${t.id}'`)}}function $t(t,e){if("scaleID"===e)return!0;const n=e.charAt(0);for(const i of["Min","Max","Value"])if((0,o.h)(t[n+i]))return!0;return!1}function Xt(t,e,n){const i=e.axis,r=e.id,s=i+"ScaleID",a={min:(0,o.v)(e.min,Number.NEGATIVE_INFINITY),max:(0,o.v)(e.max,Number.POSITIVE_INFINITY)};for(const o of n)o.scaleID===r?qt(o,e,["value","endValue"],a):pt(t,o,s)===r&&qt(o,e,[i+"Min",i+"Max",i+"Value"],a);return a}function qt(t,e,n,i){for(const r of n){const n=t[r];if((0,o.h)(n)){const t=e.parse(n);i.min=Math.min(i.min,t),i.max=Math.max(i.max,t)}}}class Ut extends i.W_{inRange(t,e,n,i){const{x:r,y:s}=h({x:t,y:e},this.getCenterPoint(i),(0,o.t)(-this.options.rotation));return y({x:r,y:s},this.getProps(["x","y","x2","y2"],i),n,this.options)}getCenterPoint(t){return v(this,t)}draw(t){t.save(),V(t,this.getCenterPoint(),this.options.rotation),U(t,this,this.options),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return vt(t,e)}}Ut.id="boxAnnotation",Ut.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:"transparent",borderWidth:0,callout:{display:!1},color:"black",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:"center",rotation:void 0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Ut.defaultRoutes={borderColor:"color",backgroundColor:"color"},Ut.descriptors={label:{_fallback:!0}};class Gt extends i.W_{inRange(t,e,n,i){return x({x:t,y:e},{rect:this.getProps(["x","y","x2","y2"],i),center:this.getCenterPoint(i)},n,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(t){return v(this,t)}draw(t){const e=this.options;e.display&&e.content&&(ee(t,this),t.save(),V(t,this.getCenterPoint(),this.rotation),G(t,this,e,this._fitRatio),t.restore())}resolveElementProperties(t,e){const n=Zt(t,e);if(!n)return{};const{controllerMeta:i,point:o,radius:r}=Qt(t,e,n);let s=q(t.ctx,e);const a=Kt(s,r);E(e,a)&&(s={width:s.width*a,height:s.height*a});const{position:l,xAdjust:c,yAdjust:u}=e,h=O(o,s,{borderWidth:0,position:l,xAdjust:c,yAdjust:u});return{initProperties:F(t,h,e),...h,...i,rotation:e.rotation,_fitRatio:a}}}function Zt(t,e){return t.getSortedVisibleDatasetMetas().reduce((function(n,o){const r=o.controller;return r instanceof i.jI&&Jt(t,e,o.data)&&(!n||r.innerRadius=90?o:n}),void 0)}function Jt(t,e,n){if(!e.autoHide)return!0;for(let i=0;ih,b=m?o+p:s-p,y=te(b,u,h,g),x={_centerX:u,_centerY:h,_radius:g,_counterclockwise:m,...y};return{controllerMeta:x,point:f,radius:Math.min(a,Math.min(d.right-d.left,d.bottom-d.top)/2)}}function Kt({width:t,height:e},n){const i=Math.sqrt(Math.pow(t,2)+Math.pow(e,2));return 2*n/i}function te(t,e,n,i){const r=Math.pow(n-t,2),s=Math.pow(i,2),a=-2*e,l=Math.pow(e,2)+r-s,c=Math.pow(a,2)-4*l;if(c<=0)return{_startAngle:0,_endAngle:o.T};const u=(-a-Math.sqrt(c))/2,h=(-a+Math.sqrt(c))/2;return{_startAngle:(0,o.D)({x:e,y:n},{x:u,y:t}).angle,_endAngle:(0,o.D)({x:e,y:n},{x:h,y:t}).angle}}function ee(t,e){const{_centerX:n,_centerY:i,_radius:o,_startAngle:r,_endAngle:s,_counterclockwise:a,options:l}=e;t.save();const c=$(t,l);t.fillStyle=l.backgroundColor,t.beginPath(),t.arc(n,i,o,r,s,a),t.closePath(),t.fill(),c&&t.stroke(),t.restore()}Gt.id="doughnutLabelAnnotation",Gt.defaults={autoFit:!0,autoHide:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderColor:"transparent",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:0,color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0},Gt.defaultRoutes={};class ne extends i.W_{inRange(t,e,n,i){return x({x:t,y:e},{rect:this.getProps(["x","y","x2","y2"],i),center:this.getCenterPoint(i)},n,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(t){return v(this,t)}draw(t){const e=this.options,n=!(0,o.h)(this._visible)||this._visible;e.display&&e.content&&n&&(t.save(),V(t,this.getCenterPoint(),this.rotation),ot(t,this),U(t,this,e),G(t,ie(this),e),t.restore())}resolveElementProperties(t,e){let n;if(R(e))n=mt(t,e);else{const{centerX:i,centerY:o}=bt(t,e);n={x:i,y:o}}const i=(0,o.E)(e.padding),r=q(t.ctx,e),s=O(n,r,e,i);return{initProperties:F(t,s,e),pointX:n.x,pointY:n.y,...s,rotation:e.rotation}}}function ie({x:t,y:e,width:n,height:i,options:r}){const s=r.borderWidth/2,a=(0,o.E)(r.padding);return{x:t+a.left+s,y:e+a.top+s,width:n-a.left-a.right-r.borderWidth,height:i-a.top-a.bottom-r.borderWidth}}ne.id="labelAnnotation",ne.defaults={adjustScaleRange:!0,backgroundColor:"transparent",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:0,borderShadowColor:"transparent",borderWidth:0,callout:{borderCapStyle:"butt",borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:1,display:!1,margin:5,position:"auto",side:5,start:"50%"},color:"black",content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},ne.defaultRoutes={borderColor:"color"};const oe=(t,e,n)=>({x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}),re=(t,e,n)=>oe(e,n,Math.abs((t-e.y)/(n.y-e.y))).x,se=(t,e,n)=>oe(e,n,Math.abs((t-e.x)/(n.x-e.x))).y,ae=t=>t*t,le=(t,e,{x:n,y:i,x2:o,y2:r},s)=>"y"===s?{start:Math.min(i,r),end:Math.max(i,r),value:e}:{start:Math.min(n,o),end:Math.max(n,o),value:t},ce=(t,e,n,i)=>(1-i)*(1-i)*t+2*(1-i)*i*e+i*i*n,ue=(t,e,n,i)=>({x:ce(t.x,e.x,n.x,i),y:ce(t.y,e.y,n.y,i)}),he=(t,e,n,i)=>2*(1-i)*(e-t)+2*i*(n-e),de=(t,e,n,i)=>-Math.atan2(he(t.x,e.x,n.x,i),he(t.y,e.y,n.y,i))+.5*o.P;class fe extends i.W_{inRange(t,e,n,i){const o=(this.options.borderWidth+this.options.hitTolerance)/2;if("x"!==n&&"y"!==n){const n={mouseX:t,mouseY:e},{path:r,ctx:s}=this;if(r){$(s,this.options),s.lineWidth+=this.options.hitTolerance;const{chart:o}=this.$context,a=t*o.currentDevicePixelRatio,l=e*o.currentDevicePixelRatio,c=s.isPointInStroke(r,a,l)||ve(this,n,i);return s.restore(),c}const a=ae(o);return xe(this,n,a,i)||ve(this,n,i)}return ge(this,{mouseX:t,mouseY:e},n,{hitSize:o,useFinalPosition:i})}getCenterPoint(t){return v(this,t)}draw(t){const{x:e,y:n,x2:i,y2:o,cp:r,options:s}=this;if(t.save(),!$(t,s))return t.restore();X(t,s);const a=Math.sqrt(Math.pow(i-e,2)+Math.pow(o-n,2));if(s.curve&&r)return Re(t,this,r,a),t.restore();const{startOpts:l,endOpts:c,startAdjust:u,endAdjust:h}=Pe(this),d=Math.atan2(o-n,i-e);t.translate(e,n),t.rotate(d),t.beginPath(),t.moveTo(0+u,0),t.lineTo(a-h,0),t.shadowColor=s.borderShadowColor,t.stroke(),Ae(t,0,u,l),Ae(t,a,-h,c),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){const n=xt(t,e),{x:i,y:r,x2:s,y2:a}=n,l=me(n,t.chartArea),c=l?ye({x:i,y:r},{x:s,y:a},t.chartArea):{x:i,y:r,x2:s,y2:a,width:Math.abs(s-i),height:Math.abs(a-r)};if(c.centerX=(s+i)/2,c.centerY=(a+r)/2,c.initProperties=F(t,c,e),e.curve){const t={x:c.x,y:c.y},n={x:c.x2,y:c.y2};c.cp=Ee(c,e,(0,o.aF)(t,n))}const u=we(t,c,e.label);return u._visible=l,c.elements=[{type:"label",optionScope:"label",properties:u,initProperties:c.initProperties}],c}}fe.id="lineAnnotation";const pe={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};function ge(t,{mouseX:e,mouseY:n},i,{hitSize:o,useFinalPosition:r}){const s=le(e,n,t.getProps(["x","y","x2","y2"],r),i);return g(s,o)||ve(t,{mouseX:e,mouseY:n},r,i)}function me({x:t,y:e,x2:n,y2:i},{top:o,right:r,bottom:s,left:a}){return!(tr&&n>r||es&&i>s)}function be({x:t,y:e},n,{top:i,right:o,bottom:r,left:s}){return to&&(e=se(o,{x:t,y:e},n),t=o),er&&(t=re(r,{x:t,y:e},n),e=r),{x:t,y:e}}function ye(t,e,n){const{x:i,y:o}=be(t,e,n),{x:r,y:s}=be(e,t,n);return{x:i,y:o,x2:r,y2:s,width:Math.abs(r-i),height:Math.abs(s-o)}}function xe(t,{mouseX:e,mouseY:n},i=f,o){const{x:r,y:s,x2:a,y2:l}=t.getProps(["x","y","x2","y2"],o),c=a-r,u=l-s,h=ae(c)+ae(u),d=0===h?-1:((e-r)*c+(n-s)*u)/h;let p,g;return d<0?(p=r,g=s):d>1?(p=a,g=l):(p=r+d*c,g=s+d*u),ae(e-p)+ae(n-g)<=i}function ve(t,{mouseX:e,mouseY:n},i,o){const r=t.label;return r.options.display&&r.inRange(e,n,o,i)}function we(t,e,n){const i=n.borderWidth,r=(0,o.E)(n.padding),s=q(t.ctx,n),a=s.width+r.width+i,l=s.height+r.height+i;return ke(e,n,{width:a,height:l,padding:r},t.chartArea)}function _e(t){const{x:e,y:n,x2:i,y2:r}=t,s=Math.atan2(r-n,i-e);return s>o.P/2?s-o.P:s0&&(o.w/2+r.left-i.x)/s,c=a>0&&(o.h/2+r.top-i.y)/a;return p(Math.max(l,c),0,.25)}function Te(t,e){const{x:n,x2:i,y:o,y2:r}=t,s=Math.min(o,r)-e.top,a=Math.min(n,i)-e.left,l=e.bottom-Math.max(o,r),c=e.right-Math.max(n,i);return{x:Math.min(a,c),y:Math.min(s,l),dx:a<=c?1:-1,dy:s<=l?1:-1}}function Ce(t,e){const{size:n,min:i,max:o,padding:r}=e,s=n/2;return n>o-i?(o+i)/2:(i>=t-r-s&&(t=i+r+s),o<=t+r+s&&(t=o-r-s),t)}function Pe(t){const e=t.options,n=e.arrowHeads&&e.arrowHeads.start,i=e.arrowHeads&&e.arrowHeads.end;return{startOpts:n,endOpts:i,startAdjust:Oe(t,n),endAdjust:Oe(t,i)}}function Oe(t,e){if(!e||!e.display)return 0;const{length:n,width:i}=e,o=t.options.borderWidth/2,r={x:n,y:i+o},s={x:0,y:o};return Math.abs(re(0,r,s))}function Ae(t,e,n,i){if(!i||!i.display)return;const{length:o,width:r,fill:s,backgroundColor:a,borderColor:l}=i,c=Math.abs(e-o)+n;t.beginPath(),X(t,i),$(t,i),t.moveTo(c,-r),t.lineTo(e+n,0),t.lineTo(c,r),!0===s?(t.fillStyle=a||l,t.closePath(),t.fill(),t.shadowColor="transparent"):t.shadowColor=i.borderShadowColor,t.stroke()}function Ee(t,e,n){const{x:i,y:o,x2:r,y2:s,centerX:a,centerY:l}=t,c=Math.atan2(s-o,r-i),u=A(e.controlPoint,0),d={x:a+C(n,u.x,!1),y:l+C(n,u.y,!1)};return h(d,{x:a,y:l},c)}function Ie(t,{x:e,y:n},{angle:i,adjust:o},r){r&&r.display&&(t.save(),t.translate(e,n),t.rotate(i),Ae(t,0,-o,r),t.restore())}function Re(t,e,n,i){const{x:r,y:s,x2:a,y2:l,options:c}=e,{startOpts:u,endOpts:h,startAdjust:d,endAdjust:f}=Pe(e),p={x:r,y:s},g={x:a,y:l},m=de(p,n,g,0),b=de(p,n,g,1)-o.P,y=ue(p,n,g,d/i),x=ue(p,n,g,1-f/i),v=new Path2D;t.beginPath(),v.moveTo(y.x,y.y),v.quadraticCurveTo(n.x,n.y,x.x,x.y),t.shadowColor=c.borderShadowColor,t.stroke(v),e.path=v,e.ctx=t,Ie(t,y,{angle:m,adjust:d},u),Ie(t,x,{angle:b,adjust:f},h)}fe.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},pe),fill:!1,length:12,start:Object.assign({},pe),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:2,curve:!1,controlPoint:{y:"-50%"},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:"rgba(0,0,0,0.8)",backgroundShadowColor:"transparent",borderCapStyle:"butt",borderColor:"black",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderRadius:6,borderShadowColor:"transparent",borderWidth:0,callout:Object.assign({},ne.defaults.callout),color:"#fff",content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:"bold"},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:"center",rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:"center",textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},fe.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},fe.defaultRoutes={borderColor:"color"};class Le extends i.W_{inRange(t,e,n,i){const r=this.options.rotation,s=(this.options.borderWidth+this.options.hitTolerance)/2;if("x"!==n&&"y"!==n)return Fe({x:t,y:e},this.getProps(["width","height","centerX","centerY"],i),r,s);const{x:a,y:l,x2:c,y2:u}=this.getProps(["x","y","x2","y2"],i),d="y"===n?{start:l,end:u}:{start:a,end:c},p=h({x:t,y:e},this.getCenterPoint(i),(0,o.t)(-r));return p[n]>=d.start-s-f&&p[n]<=d.end+s+f}getCenterPoint(t){return v(this,t)}draw(t){const{width:e,height:n,centerX:i,centerY:r,options:s}=this;t.save(),V(t,this.getCenterPoint(),s.rotation),X(t,this.options),t.beginPath(),t.fillStyle=s.backgroundColor;const a=$(t,s);t.ellipse(i,r,n/2,e/2,o.P/2,0,2*o.P),t.fill(),a&&(t.shadowColor=s.borderShadowColor,t.stroke()),t.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(t,e){return vt(t,e)}}function Fe(t,e,n,i){const{width:r,height:s,centerX:a,centerY:l}=e,c=r/2,u=s/2;if(c<=0||u<=0)return!1;const h=(0,o.t)(n||0),d=Math.cos(h),f=Math.sin(h),p=Math.pow(d*(t.x-a)+f*(t.y-l),2),g=Math.pow(f*(t.x-a)-d*(t.y-l),2);return p/Math.pow(c+i,2)+g/Math.pow(u+i,2)<=1.0001}Le.id="ellipseAnnotation",Le.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},Ut.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Le.defaultRoutes={borderColor:"color",backgroundColor:"color"},Le.descriptors={label:{_fallback:!0}};class je extends i.W_{inRange(t,e,n,i){const{x:o,y:r,x2:s,y2:a,width:l}=this.getProps(["x","y","x2","y2","width"],i),c=(this.options.borderWidth+this.options.hitTolerance)/2;if("x"!==n&&"y"!==n)return b({x:t,y:e},this.getCenterPoint(i),l/2,c);const u="y"===n?{start:r,end:a,value:e}:{start:o,end:s,value:t};return g(u,c)}getCenterPoint(t){return v(this,t)}draw(t){const e=this.options,n=e.borderWidth;if(e.radius<.1)return;t.save(),t.fillStyle=e.backgroundColor,X(t,e);const i=$(t,e);J(t,this,this.centerX,this.centerY),i&&!Y(e.pointStyle)&&(t.shadowColor=e.borderShadowColor,t.stroke()),t.restore(),e.borderWidth=n}resolveElementProperties(t,e){const n=yt(t,e);return n.initProperties=F(t,n,e),n}}je.id="pointAnnotation",je.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderDash:[],borderDashOffset:0,borderShadowColor:"transparent",borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:"circle",radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},je.defaultRoutes={borderColor:"color",backgroundColor:"color"};class ze extends i.W_{inRange(t,e,n,i){if("x"!==n&&"y"!==n)return this.options.radius>=.1&&this.elements.length>1&&Ne(this.elements,t,e,i);const r=h({x:t,y:e},this.getCenterPoint(i),(0,o.t)(-this.options.rotation)),s=this.elements.map((t=>"y"===n?t.bY:t.bX)),a=Math.min(...s),l=Math.max(...s);return r[n]>=a&&r[n]<=l}getCenterPoint(t){return v(this,t)}draw(t){const{elements:e,options:n}=this;t.save(),t.beginPath(),t.fillStyle=n.backgroundColor,X(t,n);const i=$(t,n);let o=!0;for(const r of e)o?(t.moveTo(r.x,r.y),o=!1):t.lineTo(r.x,r.y);t.closePath(),t.fill(),i&&(t.shadowColor=n.borderShadowColor,t.stroke()),t.restore()}resolveElementProperties(t,e){const n=yt(t,e),{sides:i,rotation:r}=e,s=[],a=2*o.P/i;let l=r*o.b4;for(let o=0;on!==r.bY>n&&e<(r.bX-t.bX)*(n-t.bY)/(r.bY-t.bY)+t.bX&&(o=!o),r=t}return o}ze.id="polygonAnnotation",ze.defaults={adjustScaleRange:!0,backgroundShadowColor:"transparent",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderShadowColor:"transparent",borderWidth:1,display:!0,hitTolerance:0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},ze.defaultRoutes={borderColor:"color",backgroundColor:"color"};const He={box:Ut,doughnutLabel:Gt,ellipse:Le,label:ne,line:fe,point:je,polygon:ze};Object.keys(He).forEach((t=>{o.d.describe(`elements.${He[t].id}`,{_fallback:"plugins.annotation.common"})}));const Be={update:Object.assign},Ye=Ot.concat(jt),Ve=(t,e)=>(0,o.i)(e)?Ke(t,e):t,$e=t=>"color"===t||"font"===t;function Xe(t="line"){return He[t]?t:(console.warn(`Unknown annotation type: '${t}', defaulting to 'line'`),"line")}function qe(t,e,n,i){const r=Ge(t,n.animations,i),s=e.annotations,a=en(e.elements,s);for(let l=0;lVe(t,r))):n[i]=Ve(s,r)}return n}function tn(t,e,n,i){return e.$context||(e.$context=Object.assign(Object.create(t.getContext()),{element:e,get elements(){return n.filter((t=>t&&t.options))},id:i.id,type:"annotation"}))}function en(t,e){const n=e.length,i=t.length;if(in&&t.splice(n,i-n);return t}var nn="3.1.0";const on=new Map,rn=t=>"doughnutLabel"!==t.type,sn=Ot.concat(jt);var an={id:"annotation",version:nn,beforeRegister(){w("chart.js","4.0",i.kL.version)},afterRegister(){i.kL.register(He)},afterUnregister(){i.kL.unregister(He)},beforeInit(t){on.set(t,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(t,e,n){const i=on.get(t),r=i.annotations=[];let s=n.annotations;(0,o.i)(s)?Object.keys(s).forEach((t=>{const e=s[t];(0,o.i)(e)&&(e.id=t,r.push(e))})):(0,o.b)(s)&&r.push(...s),Ht(r.filter(rn),t.scales)},afterDataLimits(t,e){const n=on.get(t);Nt(t,e.scale,n.annotations.filter(rn).filter((t=>t.display&&t.adjustScaleRange)))},afterUpdate(t,e,n){const i=on.get(t);At(t,i,n),qe(t,i,n,e.mode),i.visibleElements=i.elements.filter((t=>!t.skip&&t.options.display)),zt(t,i,n)},beforeDatasetsDraw(t,e,n){ln(t,"beforeDatasetsDraw",n.clip)},afterDatasetsDraw(t,e,n){ln(t,"afterDatasetsDraw",n.clip)},beforeDatasetDraw(t,e,n){ln(t,e.index,n.clip)},beforeDraw(t,e,n){ln(t,"beforeDraw",n.clip)},afterDraw(t,e,n){ln(t,"afterDraw",n.clip)},beforeEvent(t,e,n){const i=on.get(t);Et(i,e.event,n)&&(e.changed=!0)},afterDestroy(t){on.delete(t)},getAnnotations(t){const e=on.get(t);return e?e.elements:[]},_getAnnotationElementsAtEventForMode(t,e,n){return s(t,e,n)},defaults:{animations:{numbers:{properties:["x","y","x2","y2","width","height","centerX","centerY","pointX","pointY","radius"],type:"number"},colors:{properties:["backgroundColor","borderColor"],type:"color"}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:"afterDatasetsDraw",init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:t=>!sn.includes(t)&&"init"!==t,annotations:{_allKeys:!1,_fallback:(t,e)=>`elements.${He[Xe(e.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:$e,_fallback:!0},_indexable:$e}},additionalOptionScopes:[""]};function ln(t,e,n){const{ctx:i,chartArea:r}=t,s=on.get(t);n&&(0,o.Y)(i,r);const a=cn(s.visibleElements,e).sort(((t,e)=>t.element.options.z-e.element.options.z));for(const o of a)un(i,r,s,o);n&&(0,o.$)(i)}function cn(t,e){const n=[];for(const i of t)if(i.options.drawTime===e&&n.push({element:i,main:!0}),i.elements&&i.elements.length)for(const t of i.elements)t.options.display&&t.options.drawTime===e&&n.push({element:t});return n}function un(t,e,n,i){const o=i.element;i.main?(Wt(n,o,"beforeDraw"),o.draw(t,e),Wt(n,o,"afterDraw")):o.draw(t,e)}},3:function(t,e,n){n.d(e,{j:function(){return s}});var i=n(512);const o=t=>"boolean"===typeof t?`${t}`:0===t?"0":t,r=i.W,s=(t,e)=>n=>{var i;if(null==(null===e||void 0===e?void 0:e.variants))return r(t,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className);const{variants:s,defaultVariants:a}=e,l=Object.keys(s).map((t=>{const e=null===n||void 0===n?void 0:n[t],i=null===a||void 0===a?void 0:a[t];if(null===e)return null;const r=o(e)||o(i);return s[t][r]})),c=n&&Object.entries(n).reduce(((t,e)=>{let[n,i]=e;return void 0===i||(t[n]=i),t}),{}),u=null===e||void 0===e||null===(i=e.compoundVariants)||void 0===i?void 0:i.reduce(((t,e)=>{let{class:n,className:i,...o}=e;return Object.entries(o).every((t=>{let[e,n]=t;return Array.isArray(n)?n.includes({...a,...c}[e]):{...a,...c}[e]===n}))?[...t,n,i]:t}),[]);return r(t,l,u,null===n||void 0===n?void 0:n.class,null===n||void 0===n?void 0:n.className)}},512:function(t,e,n){function i(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t)){var r=t.length;for(e=0;e{const e=l(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t,s=t=>{const n=t.split(i);return""===n[0]&&1!==n.length&&n.shift(),r(n,e)||a(t)},c=(t,e)=>{const i=n[t]||[];return e&&o[t]?[...i,...o[t]]:i};return{getClassGroupId:s,getConflictingClassGroupIds:c}},r=(t,e)=>{if(0===t.length)return e.classGroupId;const n=t[0],o=e.nextPart.get(n),s=o?r(t.slice(1),o):void 0;if(s)return s;if(0===e.validators.length)return;const a=t.join(i);return e.validators.find((({validator:t})=>t(a)))?.classGroupId},s=/^\[(.+)\]$/,a=t=>{if(s.test(t)){const e=s.exec(t)[1],n=e?.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},l=t=>{const{theme:e,classGroups:n}=t,i={nextPart:new Map,validators:[]};for(const o in n)c(n[o],i,o,e);return i},c=(t,e,n,i)=>{t.forEach((t=>{if("string"!==typeof t){if("function"===typeof t)return h(t)?void c(t(i),e,n,i):void e.validators.push({validator:t,classGroupId:n});Object.entries(t).forEach((([t,o])=>{c(o,u(e,t),n,i)}))}else{const i=""===t?e:u(e,t);i.classGroupId=n}}))},u=(t,e)=>{let n=t;return e.split(i).forEach((t=>{n.nextPart.has(t)||n.nextPart.set(t,{nextPart:new Map,validators:[]}),n=n.nextPart.get(t)})),n},h=t=>t.isThemeGetter,d=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,i=new Map;const o=(o,r)=>{n.set(o,r),e++,e>t&&(e=0,i=n,n=new Map)};return{get(t){let e=n.get(t);return void 0!==e?e:void 0!==(e=i.get(t))?(o(t,e),e):void 0},set(t,e){n.has(t)?n.set(t,e):o(t,e)}}},f="!",p=":",g=p.length,m=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=t=>{const e=[];let n,i=0,o=0,r=0;for(let u=0;ur?n-r:void 0;return{modifiers:e,hasImportantModifier:l,baseClassName:a,maybePostfixModifierPosition:c}};if(e){const t=e+p,n=i;i=e=>e.startsWith(t)?n(e.substring(t.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:e,maybePostfixModifierPosition:void 0}}if(n){const t=i;i=e=>n({className:e,parseClassName:t})}return i},b=t=>t.endsWith(f)?t.substring(0,t.length-1):t.startsWith(f)?t.substring(1):t,y=t=>{const e=Object.fromEntries(t.orderSensitiveModifiers.map((t=>[t,!0]))),n=t=>{if(t.length<=1)return t;const n=[];let i=[];return t.forEach((t=>{const o="["===t[0]||e[t];o?(n.push(...i.sort(),t),i=[]):i.push(t)})),n.push(...i.sort()),n};return n},x=t=>({cache:d(t.cacheSize),parseClassName:m(t),sortModifiers:y(t),...o(t)}),v=/\s+/,w=(t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:r}=e,s=[],a=t.trim().split(v);let l="";for(let c=a.length-1;c>=0;c-=1){const t=a[c],{isExternal:e,modifiers:u,hasImportantModifier:h,baseClassName:d,maybePostfixModifierPosition:p}=n(t);if(e){l=t+(l.length>0?" "+l:l);continue}let g=!!p,m=i(g?d.substring(0,p):d);if(!m){if(!g){l=t+(l.length>0?" "+l:l);continue}if(m=i(d),!m){l=t+(l.length>0?" "+l:l);continue}g=!1}const b=r(u).join(":"),y=h?b+f:b,x=y+m;if(s.includes(x))continue;s.push(x);const v=o(m,g);for(let n=0;n0?" "+l:l)}return l};function _(){let t,e,n=0,i="";while(n{if("string"===typeof t)return t;let e,n="";for(let i=0;ie(t)),t());return n=x(l),i=n.cache.get,o=n.cache.set,r=a,a(s)}function a(t){const e=i(t);if(e)return e;const r=w(t,n);return o(t,r),r}return function(){return r(_.apply(null,arguments))}}const S=t=>{const e=e=>e[t]||[];return e.isThemeGetter=!0,e},D=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,T=/^\((?:(\w[\w-]*):)?(.+)\)$/i,C=/^\d+\/\d+$/,P=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=t=>C.test(t),L=t=>!!t&&!Number.isNaN(Number(t)),F=t=>!!t&&Number.isInteger(Number(t)),j=t=>t.endsWith("%")&&L(t.slice(0,-1)),z=t=>P.test(t),W=()=>!0,N=t=>O.test(t)&&!A.test(t),H=()=>!1,B=t=>E.test(t),Y=t=>I.test(t),V=t=>!X(t)&&!Q(t),$=t=>rt(t,ct,H),X=t=>D.test(t),q=t=>rt(t,ut,N),U=t=>rt(t,ht,L),G=t=>rt(t,at,H),Z=t=>rt(t,lt,Y),J=t=>rt(t,ft,B),Q=t=>T.test(t),K=t=>st(t,ut),tt=t=>st(t,dt),et=t=>st(t,at),nt=t=>st(t,ct),it=t=>st(t,lt),ot=t=>st(t,ft,!0),rt=(t,e,n)=>{const i=D.exec(t);return!!i&&(i[1]?e(i[1]):n(i[2]))},st=(t,e,n=!1)=>{const i=T.exec(t);return!!i&&(i[1]?e(i[1]):n)},at=t=>"position"===t||"percentage"===t,lt=t=>"image"===t||"url"===t,ct=t=>"length"===t||"size"===t||"bg-size"===t,ut=t=>"length"===t,ht=t=>"number"===t,dt=t=>"family-name"===t,ft=t=>"shadow"===t,pt=(Symbol.toStringTag,()=>{const t=S("color"),e=S("font"),n=S("text"),i=S("font-weight"),o=S("tracking"),r=S("leading"),s=S("breakpoint"),a=S("container"),l=S("spacing"),c=S("radius"),u=S("shadow"),h=S("inset-shadow"),d=S("text-shadow"),f=S("drop-shadow"),p=S("blur"),g=S("perspective"),m=S("aspect"),b=S("ease"),y=S("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...v(),Q,X],_=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],M=()=>[Q,X,l],D=()=>[R,"full","auto",...M()],T=()=>[F,"none","subgrid",Q,X],C=()=>["auto",{span:["full",F,Q,X]},F,Q,X],P=()=>[F,"auto",Q,X],O=()=>["auto","min","max","fr",Q,X],A=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],E=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...M()],N=()=>[R,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],H=()=>[t,Q,X],B=()=>[...v(),et,G,{position:[Q,X]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],rt=()=>["auto","cover","contain",nt,$,{size:[Q,X]}],st=()=>[j,K,q],at=()=>["","none","full",c,Q,X],lt=()=>["",L,K,q],ct=()=>["solid","dashed","dotted","double"],ut=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ht=()=>[L,j,et,G],dt=()=>["","none",p,Q,X],ft=()=>["none",L,Q,X],pt=()=>["none",L,Q,X],gt=()=>[L,Q,X],mt=()=>[R,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[W],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[V],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",L],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",R,X,Q,m]}],container:["container"],columns:[{columns:[L,X,Q,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{start:D()}],end:[{end:D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[F,"auto",Q,X]}],basis:[{basis:[R,"full","auto",a,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[L,R,"auto","initial","none",X]}],grow:[{grow:["",L,Q,X]}],shrink:[{shrink:["",L,Q,X]}],order:[{order:[F,"first","last","none",Q,X]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...A(),"normal"]}],"justify-items":[{"justify-items":[...E(),"normal"]}],"justify-self":[{"justify-self":["auto",...E()]}],"align-content":[{content:["normal",...A()]}],"align-items":[{items:[...E(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...E(),{baseline:["","last"]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...E(),"baseline"]}],"place-self":[{"place-self":["auto",...E()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:N()}],w:[{w:[a,"screen",...N()]}],"min-w":[{"min-w":[a,"screen","none",...N()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...N()]}],h:[{h:["screen","lh",...N()]}],"min-h":[{"min-h":["screen","lh","none",...N()]}],"max-h":[{"max-h":["screen","lh",...N()]}],"font-size":[{text:["base",n,K,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Q,U]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",j,X]}],"font-family":[{font:[tt,X,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Q,X]}],"line-clamp":[{"line-clamp":[L,"none",Q,U]}],leading:[{leading:[r,...M()]}],"list-image":[{"list-image":["none",Q,X]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q,X]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ct(),"wavy"]}],"text-decoration-thickness":[{decoration:[L,"from-font","auto",Q,q]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[L,"auto",Q,X]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q,X]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q,X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:rt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},F,Q,X],radial:["",Q,X],conic:[F,Q,X]},it,Z]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:st()}],"gradient-via-pos":[{via:st()}],"gradient-to-pos":[{to:st()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:at()}],"rounded-s":[{"rounded-s":at()}],"rounded-e":[{"rounded-e":at()}],"rounded-t":[{"rounded-t":at()}],"rounded-r":[{"rounded-r":at()}],"rounded-b":[{"rounded-b":at()}],"rounded-l":[{"rounded-l":at()}],"rounded-ss":[{"rounded-ss":at()}],"rounded-se":[{"rounded-se":at()}],"rounded-ee":[{"rounded-ee":at()}],"rounded-es":[{"rounded-es":at()}],"rounded-tl":[{"rounded-tl":at()}],"rounded-tr":[{"rounded-tr":at()}],"rounded-br":[{"rounded-br":at()}],"rounded-bl":[{"rounded-bl":at()}],"border-w":[{border:lt()}],"border-w-x":[{"border-x":lt()}],"border-w-y":[{"border-y":lt()}],"border-w-s":[{"border-s":lt()}],"border-w-e":[{"border-e":lt()}],"border-w-t":[{"border-t":lt()}],"border-w-r":[{"border-r":lt()}],"border-w-b":[{"border-b":lt()}],"border-w-l":[{"border-l":lt()}],"divide-x":[{"divide-x":lt()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":lt()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ct(),"hidden","none"]}],"divide-style":[{divide:[...ct(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...ct(),"none","hidden"]}],"outline-offset":[{"outline-offset":[L,Q,X]}],"outline-w":[{outline:["",L,K,q]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",u,ot,J]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",h,ot,J]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:lt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[L,q]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":lt()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",d,ot,J]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[L,Q,X]}],"mix-blend":[{"mix-blend":[...ut(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ut()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[L]}],"mask-image-linear-from-pos":[{"mask-linear-from":ht()}],"mask-image-linear-to-pos":[{"mask-linear-to":ht()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":ht()}],"mask-image-t-to-pos":[{"mask-t-to":ht()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":ht()}],"mask-image-r-to-pos":[{"mask-r-to":ht()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":ht()}],"mask-image-b-to-pos":[{"mask-b-to":ht()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":ht()}],"mask-image-l-to-pos":[{"mask-l-to":ht()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":ht()}],"mask-image-x-to-pos":[{"mask-x-to":ht()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":ht()}],"mask-image-y-to-pos":[{"mask-y-to":ht()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[Q,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":ht()}],"mask-image-radial-to-pos":[{"mask-radial-to":ht()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[L]}],"mask-image-conic-from-pos":[{"mask-conic-from":ht()}],"mask-image-conic-to-pos":[{"mask-conic-to":ht()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:rt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Q,X]}],filter:[{filter:["","none",Q,X]}],blur:[{blur:dt()}],brightness:[{brightness:[L,Q,X]}],contrast:[{contrast:[L,Q,X]}],"drop-shadow":[{"drop-shadow":["","none",f,ot,J]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",L,Q,X]}],"hue-rotate":[{"hue-rotate":[L,Q,X]}],invert:[{invert:["",L,Q,X]}],saturate:[{saturate:[L,Q,X]}],sepia:[{sepia:["",L,Q,X]}],"backdrop-filter":[{"backdrop-filter":["","none",Q,X]}],"backdrop-blur":[{"backdrop-blur":dt()}],"backdrop-brightness":[{"backdrop-brightness":[L,Q,X]}],"backdrop-contrast":[{"backdrop-contrast":[L,Q,X]}],"backdrop-grayscale":[{"backdrop-grayscale":["",L,Q,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L,Q,X]}],"backdrop-invert":[{"backdrop-invert":["",L,Q,X]}],"backdrop-opacity":[{"backdrop-opacity":[L,Q,X]}],"backdrop-saturate":[{"backdrop-saturate":[L,Q,X]}],"backdrop-sepia":[{"backdrop-sepia":["",L,Q,X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q,X]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[L,"initial",Q,X]}],ease:[{ease:["linear","initial",b,Q,X]}],delay:[{delay:[L,Q,X]}],animate:[{animate:["none",y,Q,X]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Q,X]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:ft()}],"rotate-x":[{"rotate-x":ft()}],"rotate-y":[{"rotate-y":ft()}],"rotate-z":[{"rotate-z":ft()}],scale:[{scale:pt()}],"scale-x":[{"scale-x":pt()}],"scale-y":[{"scale-y":pt()}],"scale-z":[{"scale-z":pt()}],"scale-3d":["scale-3d"],skew:[{skew:gt()}],"skew-x":[{"skew-x":gt()}],"skew-y":[{"skew-y":gt()}],transform:[{transform:[Q,X,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:mt()}],"translate-x":[{"translate-x":mt()}],"translate-y":[{"translate-y":mt()}],"translate-z":[{"translate-z":mt()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q,X]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q,X]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[L,K,q,U]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}),gt=M(pt)},334:function(t,e,n){n.d(e,{x1:function(){return y}});var i=n(148),o=n(252),r=n(262);const s={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},a={ariaLabel:{type:String},ariaDescribedby:{type:String}},l={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...s,...a},c="2"===o.i8[0]?(t,e)=>Object.assign(t,{attrs:e}):(t,e)=>Object.assign(t,e);function u(t){return(0,r.X3)(t)?(0,r.IU)(t):t}function h(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return(0,r.X3)(e)?new Proxy(t,{}):t}function d(t,e){const n=t.options;n&&e&&Object.assign(n,e)}function f(t,e){t.labels=e}function p(t,e,n){const i=[];t.datasets=e.map((e=>{const o=t.datasets.find((t=>t[n]===e[n]));return o&&e.data&&!i.includes(o)?(i.push(o),Object.assign(o,e),o):{...e}}))}function g(t,e){const n={labels:[],datasets:[]};return f(n,t.labels),p(n,t.datasets,e),n}const m=(0,o.aZ)({props:l,setup(t,e){let{expose:n,slots:s}=e;const a=(0,r.iH)(null),l=(0,r.XI)(null);n({chart:l});const c=()=>{if(!a.value)return;const{type:e,data:n,options:o,plugins:r,datasetIdKey:s}=t,c=g(n,s),u=h(c,n);l.value=new i.kL(a.value,{type:e,data:u,options:{...o},plugins:r})},m=()=>{const e=(0,r.IU)(l.value);e&&(t.destroyDelay>0?setTimeout((()=>{e.destroy(),l.value=null}),t.destroyDelay):(e.destroy(),l.value=null))},b=e=>{e.update(t.updateMode)};return(0,o.bv)(c),(0,o.Ah)(m),(0,o.YP)([()=>t.options,()=>t.data],((e,n)=>{let[i,s]=e,[a,c]=n;const h=(0,r.IU)(l.value);if(!h)return;let g=!1;if(i){const t=u(i),e=u(a);t&&t!==e&&(d(h,t),g=!0)}if(s){const e=u(s.labels),n=u(c.labels),i=u(s.datasets),o=u(c.datasets);e!==n&&(f(h.config.data,e),g=!0),i&&i!==o&&(p(h.config.data,i,t.datasetIdKey),g=!0)}g&&(0,o.Y3)((()=>{b(h)}))}),{deep:!0}),()=>(0,o.h)("canvas",{role:"img",ariaLabel:t.ariaLabel,ariaDescribedby:t.ariaDescribedby,ref:a},[(0,o.h)("p",{},[s.default?s.default():""])])}});function b(t,e){return i.kL.register(e),(0,o.aZ)({props:s,setup(e,n){let{expose:i}=n;const s=(0,r.XI)(null),a=t=>{s.value=t?.chart};return i({chart:s}),()=>(0,o.h)(m,c({ref:a},{type:t,...e}))}})}const y=b("line",i.ST)},201:function(t,e,n){n.d(e,{PO:function(){return lt},p7:function(){return oe},tv:function(){return se},yj:function(){return ae}});var i=n(252),o=n(262); /*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */ -const s="undefined"!==typeof document;function i(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function l(e){return e.__esModule||"Module"===e[Symbol.toStringTag]||e.default&&i(e.default)}const c=Object.assign;function a(e,t){const n={};for(const r in t){const o=t[r];n[r]=f(o)?o.map(e):e(o)}return n}const u=()=>{},f=Array.isArray;const d=/#/g,p=/&/g,h=/\//g,m=/=/g,g=/\?/g,v=/\+/g,y=/%5B/g,b=/%5D/g,k=/%5E/g,w=/%60/g,x=/%7B/g,_=/%7C/g,S=/%7D/g,C=/%20/g;function E(e){return encodeURI(""+e).replace(_,"|").replace(y,"[").replace(b,"]")}function O(e){return E(e).replace(x,"{").replace(S,"}").replace(k,"^")}function M(e){return E(e).replace(v,"%2B").replace(C,"+").replace(d,"%23").replace(p,"%26").replace(w,"`").replace(x,"{").replace(S,"}").replace(k,"^")}function R(e){return M(e).replace(m,"%3D")}function j(e){return E(e).replace(d,"%23").replace(g,"%3F")}function A(e){return null==e?"":j(e).replace(h,"%2F")}function I(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const T=/\/$/,P=e=>e.replace(T,"");function F(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=J(null!=r?r:t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:I(i)}}function D(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function N(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function z(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&$(t.matched[r],n.matched[o])&&L(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function L(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!U(e[n],t[n]))return!1;return!0}function U(e,t){return f(e)?Z(e,t):f(t)?Z(t,e):e===t}function Z(e,t){return f(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function J(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let s,i,l=n.length-1;for(s=0;s1&&l--}return n.slice(0,l).join("/")+"/"+r.slice(s).join("/")}const V={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var H,B;(function(e){e["pop"]="pop",e["push"]="push"})(H||(H={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(B||(B={}));function G(e){if(!e)if(s){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),P(e)}const q=/^[^#]+#/;function W(e,t){return e.replace(q,"#")+t}function K(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Y=()=>({left:window.scrollX,top:window.scrollY});function X(e){let t;if("el"in e){const n=e.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=K(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Q(e,t){const n=history.state?history.state.position-t:-1;return n+e}const ee=new Map;function te(e,t){ee.set(e,t)}function ne(e){const t=ee.get(e);return ee.delete(e),t}let re=()=>location.protocol+"//"+location.host;function oe(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let t=o.includes(e.slice(s))?e.slice(s).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),N(n,"")}const i=N(n,e);return i+r+o}function se(e,t,n,r){let o=[],s=[],i=null;const l=({state:s})=>{const l=oe(e,location),c=n.value,a=t.value;let u=0;if(s){if(n.value=l,t.value=s,i&&i===c)return void(i=null);u=a?s.position-a.position:0}else r(l);o.forEach((e=>{e(n.value,c,{delta:u,type:H.pop,direction:u?u>0?B.forward:B.back:B.unknown})}))};function a(){i=n.value}function u(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return s.push(t),t}function f(){const{history:e}=window;e.state&&e.replaceState(c({},e.state,{scroll:Y()}),"")}function d(){for(const e of s)e();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:a,listen:u,destroy:d}}function ie(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Y():null}}function le(e){const{history:t,location:n}=window,r={value:oe(e,n)},o={value:t.state};function s(r,s,i){const l=e.indexOf("#"),c=l>-1?(n.host&&document.querySelector("base")?e:e.slice(l))+r:re()+e+r;try{t[i?"replaceState":"pushState"](s,"",c),o.value=s}catch(a){console.error(a),n[i?"replace":"assign"](c)}}function i(e,n){const i=c({},t.state,ie(o.value.back,e,o.value.forward,!0),n,{position:o.value.position});s(e,i,!0),r.value=e}function l(e,n){const i=c({},o.value,t.state,{forward:e,scroll:Y()});s(i.current,i,!0);const l=c({},ie(r.value,e,null),{position:i.position+1},n);s(e,l,!1),r.value=e}return o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:l,replace:i}}function ce(e){e=G(e);const t=le(e),n=se(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}const o=c({location:"",base:e,go:r,createHref:W.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ae(e){return"string"===typeof e||e&&"object"===typeof e}function ue(e){return"string"===typeof e||"symbol"===typeof e}const fe=Symbol("");var de;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(de||(de={}));function pe(e,t){return c(new Error,{type:e,[fe]:!0},t)}function he(e,t){return e instanceof Error&&fe in e&&(null==t||!!(e.type&t))}const me="[^/]+?",ge={sensitive:!1,strict:!1,start:!0,end:!0},ve=/[.+*?^${}()[\]/\\]/g;function ye(e,t){const n=c({},ge,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const e=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function ke(e,t){let n=0;const r=e.score,o=t.score;while(n0&&t[t.length-1]<0}const xe={type:0,value:""},_e=/[a-zA-Z0-9_]/;function Se(e){if(!e)return[[]];if("/"===e)return[[xe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${a}": ${e}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l,c=0,a="",u="";function f(){a&&(0===n?s.push({type:0,value:a}):1===n||2===n||3===n?(s.length>1&&("*"===l||"+"===l)&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:a,regexp:u,repeatable:"*"===l||"+"===l,optional:"*"===l||"?"===l})):t("Invalid state to consume buffer"),a="")}function d(){a+=l}while(c{i(h)}:u}function i(e){if(ue(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function l(){return n}function a(e){const t=Te(e,n);n.splice(t,0,e),e.record.name&&!je(e)&&r.set(e.record.name,e)}function f(e,t){let o,s,i,l={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw pe(1,{location:e});0,i=o.record.name,l=c(Oe(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Oe(e.params,o.keys.map((e=>e.name)))),s=o.stringify(l)}else if(null!=e.path)s=e.path,o=n.find((e=>e.re.test(s))),o&&(l=o.parse(s),i=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw pe(1,{location:e,currentLocation:t});i=o.record.name,l=c({},t.params,e.params),s=o.stringify(l)}const a=[];let u=o;while(u)a.unshift(u.record),u=u.parent;return{name:i,path:s,params:l,matched:a,meta:Ae(a)}}function d(){n.length=0,r.clear()}return t=Ie({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>s(e))),{addRoute:s,resolve:f,removeRoute:i,clearRoutes:d,getRoutes:l,getRecordMatcher:o}}function Oe(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Me(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Re(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Re(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"===typeof n?n[r]:n;return t}function je(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ae(e){return e.reduce(((e,t)=>c(e,t.meta)),{})}function Ie(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Te(e,t){let n=0,r=t.length;while(n!==r){const o=n+r>>1,s=ke(e,t[o]);s<0?r=o:n=o+1}const o=Pe(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Pe(e){let t=e;while(t=t.parent)if(Fe(t)&&0===ke(e,t))return t}function Fe({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function De(e){const t={};if(""===e||"?"===e)return t;const n="?"===e[0],r=(n?e.slice(1):e).split("&");for(let o=0;oe&&M(e))):[r&&M(r)];o.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function ze(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=f(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const $e=Symbol(""),Le=Symbol(""),Ue=Symbol(""),Ze=Symbol(""),Je=Symbol("");function Ve(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function He(e,t,n,r,o,s=(e=>e())){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((l,c)=>{const a=e=>{!1===e?c(pe(4,{from:n,to:t})):e instanceof Error?c(e):ae(e)?c(pe(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"===typeof e&&i.push(e),l())},u=s((()=>e.call(r&&r.instances[o],t,n,a)));let f=Promise.resolve(u);e.length<3&&(f=f.then(a)),f.catch((e=>c(e)))}))}function Be(e,t,n,r,o=(e=>e())){const s=[];for(const c of e){0;for(const e in c.components){let a=c.components[e];if("beforeRouteEnter"===t||c.instances[e])if(i(a)){const i=a.__vccOpts||a,l=i[t];l&&s.push(He(l,n,r,c,e,o))}else{let i=a();0,s.push((()=>i.then((s=>{if(!s)throw new Error(`Couldn't resolve component "${e}" at "${c.path}"`);const i=l(s)?s.default:s;c.mods[e]=s,c.components[e]=i;const a=i.__vccOpts||i,u=a[t];return u&&He(u,n,r,c,e,o)()}))))}}}return s}function Ge(e){const t=(0,r.f3)(Ue),n=(0,r.f3)(Ze);const s=(0,r.Fl)((()=>{const n=(0,o.SU)(e.to);return t.resolve(n)})),i=(0,r.Fl)((()=>{const{matched:e}=s.value,{length:t}=e,r=e[t-1],o=n.matched;if(!r||!o.length)return-1;const i=o.findIndex($.bind(null,r));if(i>-1)return i;const l=Qe(e[t-2]);return t>1&&Qe(r)===l&&o[o.length-1].path!==l?o.findIndex($.bind(null,e[t-2])):i})),l=(0,r.Fl)((()=>i.value>-1&&Xe(n.params,s.value.params))),c=(0,r.Fl)((()=>i.value>-1&&i.value===n.matched.length-1&&L(n.params,s.value.params)));function a(n={}){if(Ye(n)){const n=t[(0,o.SU)(e.replace)?"replace":"push"]((0,o.SU)(e.to)).catch(u);return e.viewTransition&&"undefined"!==typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}return{route:s,href:(0,r.Fl)((()=>s.value.href)),isActive:l,isExactActive:c,navigate:a}}function qe(e){return 1===e.length?e[0]:e}const We=(0,r.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ge,setup(e,{slots:t}){const n=(0,o.qj)(Ge(e)),{options:s}=(0,r.f3)(Ue),i=(0,r.Fl)((()=>({[et(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[et(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&qe(t.default(n));return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Ke=We;function Ye(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xe(e,t){for(const n in t){const r=t[n],o=e[n];if("string"===typeof r){if(r!==o)return!1}else if(!f(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}function Qe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const et=(e,t,n)=>null!=e?e:null!=t?t:n,tt=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=(0,r.f3)(Je),i=(0,r.Fl)((()=>e.route||s.value)),l=(0,r.f3)(Le,0),a=(0,r.Fl)((()=>{let e=(0,o.SU)(l);const{matched:t}=i.value;let n;while((n=t[e])&&!n.components)e++;return e})),u=(0,r.Fl)((()=>i.value.matched[a.value]));(0,r.JJ)(Le,(0,r.Fl)((()=>a.value+1))),(0,r.JJ)($e,u),(0,r.JJ)(Je,i);const f=(0,o.iH)();return(0,r.YP)((()=>[f.value,u.value,e.name]),(([e,t,n],[r,o,s])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&$(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=i.value,s=e.name,l=u.value,a=l&&l.components[s];if(!a)return nt(n.default,{Component:a,route:o});const d=l.props[s],p=d?!0===d?o.params:"function"===typeof d?d(o):d:null,h=e=>{e.component.isUnmounted&&(l.instances[s]=null)},m=(0,r.h)(a,c({},p,t,{onVnodeUnmounted:h,ref:f}));return nt(n.default,{Component:m,route:o})||m}}});function nt(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const rt=tt;function ot(e){const t=Ee(e.routes,e),n=e.parseQuery||De,i=e.stringifyQuery||Ne,l=e.history;const d=Ve(),p=Ve(),h=Ve(),m=(0,o.XI)(V);let g=V;s&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const v=a.bind(null,(e=>""+e)),y=a.bind(null,A),b=a.bind(null,I);function k(e,n){let r,o;return ue(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)}function w(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function x(){return t.getRoutes().map((e=>e.record))}function _(e){return!!t.getRecordMatcher(e)}function S(e,r){if(r=c({},r||m.value),"string"===typeof e){const o=F(n,e,r.path),s=t.resolve({path:o.path},r),i=l.createHref(o.fullPath);return c(o,s,{params:b(s.params),hash:I(o.hash),redirectedFrom:void 0,href:i})}let o;if(null!=e.path)o=c({},e,{path:F(n,e.path,r.path).path});else{const t=c({},e.params);for(const e in t)null==t[e]&&delete t[e];o=c({},e,{params:y(t)}),r.params=y(r.params)}const s=t.resolve(o,r),a=e.hash||"";s.params=v(b(s.params));const u=D(i,c({},e,{hash:O(a),path:s.path})),f=l.createHref(u);return c({fullPath:u,hash:a,query:i===Ne?ze(e.query):e.query||{}},s,{redirectedFrom:void 0,href:f})}function C(e){return"string"===typeof e?F(n,e,m.value.path):c({},e)}function E(e,t){if(g!==e)return pe(8,{from:t,to:e})}function M(e){return T(e)}function R(e){return M(c(C(e),{replace:!0}))}function j(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"===typeof n?n(e):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=C(r):{path:r},r.params={}),c({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function T(e,t){const n=g=S(e),r=m.value,o=e.state,s=e.force,l=!0===e.replace,a=j(n);if(a)return T(c(C(a),{state:"object"===typeof a?c({},o,a.state):o,force:s,replace:l}),t||n);const u=n;let f;return u.redirectedFrom=t,!s&&z(i,r,n)&&(f=pe(16,{to:u,from:r}),re(r,r,!0,!1)),(f?Promise.resolve(f):$(u,r)).catch((e=>he(e)?he(e,2)?e:ee(e):W(e,u,r))).then((e=>{if(e){if(he(e,2))return T(c({replace:l},C(e.to),{state:"object"===typeof e.to?c({},o,e.to.state):o,force:s}),t||u)}else e=U(u,r,!0,l,o);return L(u,r,e),e}))}function P(e,t){const n=E(e,t);return n?Promise.reject(n):Promise.resolve()}function N(e){const t=ie.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function $(e,t){let n;const[r,o,s]=st(e,t);n=Be(r.reverse(),"beforeRouteLeave",e,t);for(const l of r)l.leaveGuards.forEach((r=>{n.push(He(r,e,t))}));const i=P.bind(null,e,t);return n.push(i),ce(n).then((()=>{n=[];for(const r of d.list())n.push(He(r,e,t));return n.push(i),ce(n)})).then((()=>{n=Be(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(He(r,e,t))}));return n.push(i),ce(n)})).then((()=>{n=[];for(const r of s)if(r.beforeEnter)if(f(r.beforeEnter))for(const o of r.beforeEnter)n.push(He(o,e,t));else n.push(He(r.beforeEnter,e,t));return n.push(i),ce(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Be(s,"beforeRouteEnter",e,t,N),n.push(i),ce(n)))).then((()=>{n=[];for(const r of p.list())n.push(He(r,e,t));return n.push(i),ce(n)})).catch((e=>he(e,8)?e:Promise.reject(e)))}function L(e,t,n){h.list().forEach((r=>N((()=>r(e,t,n)))))}function U(e,t,n,r,o){const i=E(e,t);if(i)return i;const a=t===V,u=s?history.state:{};n&&(r||a?l.replace(e.fullPath,c({scroll:a&&u&&u.scroll},o)):l.push(e.fullPath,o)),m.value=e,re(e,t,n,a),ee()}let Z;function J(){Z||(Z=l.listen(((e,t,n)=>{if(!le.listening)return;const r=S(e),o=j(r);if(o)return void T(c(o,{replace:!0,force:!0}),r).catch(u);g=r;const i=m.value;s&&te(Q(i.fullPath,n.delta),Y()),$(r,i).catch((e=>he(e,12)?e:he(e,2)?(T(c(C(e.to),{force:!0}),r).then((e=>{he(e,20)&&!n.delta&&n.type===H.pop&&l.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&&l.go(-n.delta,!1),W(e,r,i)))).then((e=>{e=e||U(r,i,!1),e&&(n.delta&&!he(e,8)?l.go(-n.delta,!1):n.type===H.pop&&he(e,20)&&l.go(-1,!1)),L(r,i,e)})).catch(u)})))}let B,G=Ve(),q=Ve();function W(e,t,n){ee(e);const r=q.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function K(){return B&&m.value!==V?Promise.resolve():new Promise(((e,t)=>{G.add([e,t])}))}function ee(e){return B||(B=!e,J(),G.list().forEach((([t,n])=>e?n(e):t())),G.reset()),e}function re(t,n,o,i){const{scrollBehavior:l}=e;if(!s||!l)return Promise.resolve();const c=!o&&ne(Q(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>l(t,n,c))).then((e=>e&&X(e))).catch((e=>W(e,t,n)))}const oe=e=>l.go(e);let se;const ie=new Set,le={currentRoute:m,listening:!0,addRoute:k,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:x,resolve:S,options:e,push:M,replace:R,go:oe,back:()=>oe(-1),forward:()=>oe(1),beforeEach:d.add,beforeResolve:p.add,afterEach:h.add,onError:q.add,isReady:K,install(e){const t=this;e.component("RouterLink",Ke),e.component("RouterView",rt),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(m)}),s&&!se&&m.value===V&&(se=!0,M(l.location).catch((e=>{0})));const n={};for(const o in V)Object.defineProperty(n,o,{get:()=>m.value[o],enumerable:!0});e.provide(Ue,t),e.provide(Ze,(0,o.Um)(n)),e.provide(Je,m);const r=e.unmount;ie.add(e),e.unmount=function(){ie.delete(e),ie.size<1&&(g=V,Z&&Z(),Z=null,m.value=V,se=!1,B=!1),r()}}};function ce(e){return e.reduce(((e,t)=>e.then((()=>N(t)))),Promise.resolve())}return le}function st(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i$(e,s)))?r.push(s):n.push(s));const l=e.matched[i];l&&(t.matched.find((e=>$(e,l)))||o.push(l))}return[n,r,o]}function it(){return(0,r.f3)(Ue)}function lt(e){return(0,r.f3)(Ze)}}}]); \ No newline at end of file +const r="undefined"!==typeof document;function s(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function a(t){return t.__esModule||"Module"===t[Symbol.toStringTag]||t.default&&s(t.default)}const l=Object.assign;function c(t,e){const n={};for(const i in e){const o=e[i];n[i]=h(o)?o.map(t):t(o)}return n}const u=()=>{},h=Array.isArray;const d=/#/g,f=/&/g,p=/\//g,g=/=/g,m=/\?/g,b=/\+/g,y=/%5B/g,x=/%5D/g,v=/%5E/g,w=/%60/g,_=/%7B/g,k=/%7C/g,M=/%7D/g,S=/%20/g;function D(t){return encodeURI(""+t).replace(k,"|").replace(y,"[").replace(x,"]")}function T(t){return D(t).replace(_,"{").replace(M,"}").replace(v,"^")}function C(t){return D(t).replace(b,"%2B").replace(S,"+").replace(d,"%23").replace(f,"%26").replace(w,"`").replace(_,"{").replace(M,"}").replace(v,"^")}function P(t){return C(t).replace(g,"%3D")}function O(t){return D(t).replace(d,"%23").replace(m,"%3F")}function A(t){return null==t?"":O(t).replace(p,"%2F")}function E(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}const I=/\/$/,R=t=>t.replace(I,"");function L(t,e,n="/"){let i,o={},r="",s="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(i=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(i=i||e.slice(0,a),s=e.slice(a,e.length)),i=Y(null!=i?i:e,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:E(s)}}function F(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function j(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function z(t,e,n){const i=e.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&W(e.matched[i],n.matched[o])&&N(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function W(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function N(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!H(t[n],e[n]))return!1;return!0}function H(t,e){return h(t)?B(t,e):h(e)?B(e,t):t===e}function B(t,e){return h(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function Y(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let r,s,a=n.length-1;for(r=0;r1&&a--}return n.slice(0,a).join("/")+"/"+i.slice(r).join("/")}const V={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var $,X;(function(t){t["pop"]="pop",t["push"]="push"})($||($={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(X||(X={}));function q(t){if(!t)if(r){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),R(t)}const U=/^[^#]+#/;function G(t,e){return t.replace(U,"#")+e}function Z(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}const J=()=>({left:window.scrollX,top:window.scrollY});function Q(t){let e;if("el"in t){const n=t.el,i="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=Z(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}function K(t,e){const n=history.state?history.state.position-e:-1;return n+t}const tt=new Map;function et(t,e){tt.set(t,e)}function nt(t){const e=tt.get(t);return tt.delete(t),e}let it=()=>location.protocol+"//"+location.host;function ot(t,e){const{pathname:n,search:i,hash:o}=e,r=t.indexOf("#");if(r>-1){let e=o.includes(t.slice(r))?t.slice(r).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),j(n,"")}const s=j(n,t);return s+i+o}function rt(t,e,n,i){let o=[],r=[],s=null;const a=({state:r})=>{const a=ot(t,location),l=n.value,c=e.value;let u=0;if(r){if(n.value=a,e.value=r,s&&s===l)return void(s=null);u=c?r.position-c.position:0}else i(a);o.forEach((t=>{t(n.value,l,{delta:u,type:$.pop,direction:u?u>0?X.forward:X.back:X.unknown})}))};function c(){s=n.value}function u(t){o.push(t);const e=()=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)};return r.push(e),e}function h(){const{history:t}=window;t.state&&t.replaceState(l({},t.state,{scroll:J()}),"")}function d(){for(const t of r)t();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:c,listen:u,destroy:d}}function st(t,e,n,i=!1,o=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:o?J():null}}function at(t){const{history:e,location:n}=window,i={value:ot(t,n)},o={value:e.state};function r(i,r,s){const a=t.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?t:t.slice(a))+i:it()+t+i;try{e[s?"replaceState":"pushState"](r,"",l),o.value=r}catch(c){console.error(c),n[s?"replace":"assign"](l)}}function s(t,n){const s=l({},e.state,st(o.value.back,t,o.value.forward,!0),n,{position:o.value.position});r(t,s,!0),i.value=t}function a(t,n){const s=l({},o.value,e.state,{forward:t,scroll:J()});r(s.current,s,!0);const a=l({},st(i.value,t,null),{position:s.position+1},n);r(t,a,!1),i.value=t}return o.value||r(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:a,replace:s}}function lt(t){t=q(t);const e=at(t),n=rt(t,e.state,e.location,e.replace);function i(t,e=!0){e||n.pauseListeners(),history.go(t)}const o=l({location:"",base:t,go:i,createHref:G.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function ct(t){return"string"===typeof t||t&&"object"===typeof t}function ut(t){return"string"===typeof t||"symbol"===typeof t}const ht=Symbol("");var dt;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(dt||(dt={}));function ft(t,e){return l(new Error,{type:t,[ht]:!0},e)}function pt(t,e){return t instanceof Error&&ht in t&&(null==e||!!(t.type&e))}const gt="[^/]+?",mt={sensitive:!1,strict:!1,start:!0,end:!0},bt=/[.+*?^${}()[\]/\\]/g;function yt(t,e){const n=l({},mt,e),i=[];let o=n.start?"^":"";const r=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let e=0;ee.length?1===e.length&&80===e[0]?1:-1:0}function vt(t,e){let n=0;const i=t.score,o=e.score;while(n0&&e[e.length-1]<0}const _t={type:0,value:""},kt=/[a-zA-Z0-9_]/;function Mt(t){if(!t)return[[]];if("/"===t)return[[_t]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,i=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let a,l=0,c="",u="";function h(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===a||"+"===a)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):e("Invalid state to consume buffer"),c="")}function d(){c+=a}while(l{s(p)}:u}function s(t){if(ut(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function a(){return n}function c(t){const e=It(t,n);n.splice(e,0,t),t.record.name&&!Ot(t)&&i.set(t.record.name,t)}function h(t,e){let o,r,s,a={};if("name"in t&&t.name){if(o=i.get(t.name),!o)throw ft(1,{location:t});0,s=o.record.name,a=l(Tt(e.params,o.keys.filter((t=>!t.optional)).concat(o.parent?o.parent.keys.filter((t=>t.optional)):[]).map((t=>t.name))),t.params&&Tt(t.params,o.keys.map((t=>t.name)))),r=o.stringify(a)}else if(null!=t.path)r=t.path,o=n.find((t=>t.re.test(r))),o&&(a=o.parse(r),s=o.record.name);else{if(o=e.name?i.get(e.name):n.find((t=>t.re.test(e.path))),!o)throw ft(1,{location:t,currentLocation:e});s=o.record.name,a=l({},e.params,t.params),r=o.stringify(a)}const c=[];let u=o;while(u)c.unshift(u.record),u=u.parent;return{name:s,path:r,params:a,matched:c,meta:At(c)}}function d(){n.length=0,i.clear()}return e=Et({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:h,removeRoute:s,clearRoutes:d,getRoutes:a,getRecordMatcher:o}}function Tt(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function Ct(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Pt(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Pt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"===typeof n?n[i]:n;return e}function Ot(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function At(t){return t.reduce(((t,e)=>l(t,e.meta)),{})}function Et(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function It(t,e){let n=0,i=e.length;while(n!==i){const o=n+i>>1,r=vt(t,e[o]);r<0?i=o:n=o+1}const o=Rt(t);return o&&(i=e.lastIndexOf(o,i-1)),i}function Rt(t){let e=t;while(e=e.parent)if(Lt(e)&&0===vt(t,e))return e}function Lt({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Ft(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],i=(n?t.slice(1):t).split("&");for(let o=0;ot&&C(t))):[i&&C(i)];o.forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function zt(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=h(i)?i.map((t=>null==t?null:""+t)):null==i?i:""+i)}return e}const Wt=Symbol(""),Nt=Symbol(""),Ht=Symbol(""),Bt=Symbol(""),Yt=Symbol("");function Vt(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function $t(t,e,n,i,o,r=(t=>t())){const s=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise(((a,l)=>{const c=t=>{!1===t?l(ft(4,{from:n,to:e})):t instanceof Error?l(t):ct(t)?l(ft(2,{from:e,to:t})):(s&&i.enterCallbacks[o]===s&&"function"===typeof t&&s.push(t),a())},u=r((()=>t.call(i&&i.instances[o],e,n,c)));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch((t=>l(t)))}))}function Xt(t,e,n,i,o=(t=>t())){const r=[];for(const l of t){0;for(const t in l.components){let c=l.components[t];if("beforeRouteEnter"===e||l.instances[t])if(s(c)){const s=c.__vccOpts||c,a=s[e];a&&r.push($t(a,n,i,l,t,o))}else{let s=c();0,r.push((()=>s.then((r=>{if(!r)throw new Error(`Couldn't resolve component "${t}" at "${l.path}"`);const s=a(r)?r.default:r;l.mods[t]=r,l.components[t]=s;const c=s.__vccOpts||s,u=c[e];return u&&$t(u,n,i,l,t,o)()}))))}}}return r}function qt(t){const e=(0,i.f3)(Ht),n=(0,i.f3)(Bt);const r=(0,i.Fl)((()=>{const n=(0,o.SU)(t.to);return e.resolve(n)})),s=(0,i.Fl)((()=>{const{matched:t}=r.value,{length:e}=t,i=t[e-1],o=n.matched;if(!i||!o.length)return-1;const s=o.findIndex(W.bind(null,i));if(s>-1)return s;const a=Kt(t[e-2]);return e>1&&Kt(i)===a&&o[o.length-1].path!==a?o.findIndex(W.bind(null,t[e-2])):s})),a=(0,i.Fl)((()=>s.value>-1&&Qt(n.params,r.value.params))),l=(0,i.Fl)((()=>s.value>-1&&s.value===n.matched.length-1&&N(n.params,r.value.params)));function c(n={}){if(Jt(n)){const n=e[(0,o.SU)(t.replace)?"replace":"push"]((0,o.SU)(t.to)).catch(u);return t.viewTransition&&"undefined"!==typeof document&&"startViewTransition"in document&&document.startViewTransition((()=>n)),n}return Promise.resolve()}return{route:r,href:(0,i.Fl)((()=>r.value.href)),isActive:a,isExactActive:l,navigate:c}}function Ut(t){return 1===t.length?t[0]:t}const Gt=(0,i.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:qt,setup(t,{slots:e}){const n=(0,o.qj)(qt(t)),{options:r}=(0,i.f3)(Ht),s=(0,i.Fl)((()=>({[te(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[te(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=e.default&&Ut(e.default(n));return t.custom?o:(0,i.h)("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Zt=Gt;function Jt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Qt(t,e){for(const n in e){const i=e[n],o=t[n];if("string"===typeof i){if(i!==o)return!1}else if(!h(o)||o.length!==i.length||i.some(((t,e)=>t!==o[e])))return!1}return!0}function Kt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const te=(t,e,n)=>null!=t?t:null!=e?e:n,ee=(0,i.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=(0,i.f3)(Yt),s=(0,i.Fl)((()=>t.route||r.value)),a=(0,i.f3)(Nt,0),c=(0,i.Fl)((()=>{let t=(0,o.SU)(a);const{matched:e}=s.value;let n;while((n=e[t])&&!n.components)t++;return t})),u=(0,i.Fl)((()=>s.value.matched[c.value]));(0,i.JJ)(Nt,(0,i.Fl)((()=>c.value+1))),(0,i.JJ)(Wt,u),(0,i.JJ)(Yt,s);const h=(0,o.iH)();return(0,i.YP)((()=>[h.value,u.value,t.name]),(([t,e,n],[i,o,r])=>{e&&(e.instances[n]=t,o&&o!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=o.leaveGuards),e.updateGuards.size||(e.updateGuards=o.updateGuards))),!t||!e||o&&W(e,o)&&i||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const o=s.value,r=t.name,a=u.value,c=a&&a.components[r];if(!c)return ne(n.default,{Component:c,route:o});const d=a.props[r],f=d?!0===d?o.params:"function"===typeof d?d(o):d:null,p=t=>{t.component.isUnmounted&&(a.instances[r]=null)},g=(0,i.h)(c,l({},f,e,{onVnodeUnmounted:p,ref:h}));return ne(n.default,{Component:g,route:o})||g}}});function ne(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ie=ee;function oe(t){const e=Dt(t.routes,t),n=t.parseQuery||Ft,s=t.stringifyQuery||jt,a=t.history;const d=Vt(),f=Vt(),p=Vt(),g=(0,o.XI)(V);let m=V;r&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=c.bind(null,(t=>""+t)),y=c.bind(null,A),x=c.bind(null,E);function v(t,n){let i,o;return ut(t)?(i=e.getRecordMatcher(t),o=n):o=t,e.addRoute(o,i)}function w(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function _(){return e.getRoutes().map((t=>t.record))}function k(t){return!!e.getRecordMatcher(t)}function M(t,i){if(i=l({},i||g.value),"string"===typeof t){const o=L(n,t,i.path),r=e.resolve({path:o.path},i),s=a.createHref(o.fullPath);return l(o,r,{params:x(r.params),hash:E(o.hash),redirectedFrom:void 0,href:s})}let o;if(null!=t.path)o=l({},t,{path:L(n,t.path,i.path).path});else{const e=l({},t.params);for(const t in e)null==e[t]&&delete e[t];o=l({},t,{params:y(e)}),i.params=y(i.params)}const r=e.resolve(o,i),c=t.hash||"";r.params=b(x(r.params));const u=F(s,l({},t,{hash:T(c),path:r.path})),h=a.createHref(u);return l({fullPath:u,hash:c,query:s===jt?zt(t.query):t.query||{}},r,{redirectedFrom:void 0,href:h})}function S(t){return"string"===typeof t?L(n,t,g.value.path):l({},t)}function D(t,e){if(m!==t)return ft(8,{from:e,to:t})}function C(t){return I(t)}function P(t){return C(l(S(t),{replace:!0}))}function O(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let i="function"===typeof n?n(t):n;return"string"===typeof i&&(i=i.includes("?")||i.includes("#")?i=S(i):{path:i},i.params={}),l({query:t.query,hash:t.hash,params:null!=i.path?{}:t.params},i)}}function I(t,e){const n=m=M(t),i=g.value,o=t.state,r=t.force,a=!0===t.replace,c=O(n);if(c)return I(l(S(c),{state:"object"===typeof c?l({},o,c.state):o,force:r,replace:a}),e||n);const u=n;let h;return u.redirectedFrom=e,!r&&z(s,i,n)&&(h=ft(16,{to:u,from:i}),it(i,i,!0,!1)),(h?Promise.resolve(h):W(u,i)).catch((t=>pt(t)?pt(t,2)?t:tt(t):G(t,u,i))).then((t=>{if(t){if(pt(t,2))return I(l({replace:a},S(t.to),{state:"object"===typeof t.to?l({},o,t.to.state):o,force:r}),e||u)}else t=H(u,i,!0,a,o);return N(u,i,t),t}))}function R(t,e){const n=D(t,e);return n?Promise.reject(n):Promise.resolve()}function j(t){const e=st.values().next().value;return e&&"function"===typeof e.runWithContext?e.runWithContext(t):t()}function W(t,e){let n;const[i,o,r]=re(t,e);n=Xt(i.reverse(),"beforeRouteLeave",t,e);for(const a of i)a.leaveGuards.forEach((i=>{n.push($t(i,t,e))}));const s=R.bind(null,t,e);return n.push(s),lt(n).then((()=>{n=[];for(const i of d.list())n.push($t(i,t,e));return n.push(s),lt(n)})).then((()=>{n=Xt(o,"beforeRouteUpdate",t,e);for(const i of o)i.updateGuards.forEach((i=>{n.push($t(i,t,e))}));return n.push(s),lt(n)})).then((()=>{n=[];for(const i of r)if(i.beforeEnter)if(h(i.beforeEnter))for(const o of i.beforeEnter)n.push($t(o,t,e));else n.push($t(i.beforeEnter,t,e));return n.push(s),lt(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Xt(r,"beforeRouteEnter",t,e,j),n.push(s),lt(n)))).then((()=>{n=[];for(const i of f.list())n.push($t(i,t,e));return n.push(s),lt(n)})).catch((t=>pt(t,8)?t:Promise.reject(t)))}function N(t,e,n){p.list().forEach((i=>j((()=>i(t,e,n)))))}function H(t,e,n,i,o){const s=D(t,e);if(s)return s;const c=e===V,u=r?history.state:{};n&&(i||c?a.replace(t.fullPath,l({scroll:c&&u&&u.scroll},o)):a.push(t.fullPath,o)),g.value=t,it(t,e,n,c),tt()}let B;function Y(){B||(B=a.listen(((t,e,n)=>{if(!at.listening)return;const i=M(t),o=O(i);if(o)return void I(l(o,{replace:!0,force:!0}),i).catch(u);m=i;const s=g.value;r&&et(K(s.fullPath,n.delta),J()),W(i,s).catch((t=>pt(t,12)?t:pt(t,2)?(I(l(S(t.to),{force:!0}),i).then((t=>{pt(t,20)&&!n.delta&&n.type===$.pop&&a.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&&a.go(-n.delta,!1),G(t,i,s)))).then((t=>{t=t||H(i,s,!1),t&&(n.delta&&!pt(t,8)?a.go(-n.delta,!1):n.type===$.pop&&pt(t,20)&&a.go(-1,!1)),N(i,s,t)})).catch(u)})))}let X,q=Vt(),U=Vt();function G(t,e,n){tt(t);const i=U.list();return i.length?i.forEach((i=>i(t,e,n))):console.error(t),Promise.reject(t)}function Z(){return X&&g.value!==V?Promise.resolve():new Promise(((t,e)=>{q.add([t,e])}))}function tt(t){return X||(X=!t,Y(),q.list().forEach((([e,n])=>t?n(t):e())),q.reset()),t}function it(e,n,o,s){const{scrollBehavior:a}=t;if(!r||!a)return Promise.resolve();const l=!o&&nt(K(e.fullPath,0))||(s||!o)&&history.state&&history.state.scroll||null;return(0,i.Y3)().then((()=>a(e,n,l))).then((t=>t&&Q(t))).catch((t=>G(t,e,n)))}const ot=t=>a.go(t);let rt;const st=new Set,at={currentRoute:g,listening:!0,addRoute:v,removeRoute:w,clearRoutes:e.clearRoutes,hasRoute:k,getRoutes:_,resolve:M,options:t,push:C,replace:P,go:ot,back:()=>ot(-1),forward:()=>ot(1),beforeEach:d.add,beforeResolve:f.add,afterEach:p.add,onError:U.add,isReady:Z,install(t){const e=this;t.component("RouterLink",Zt),t.component("RouterView",ie),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(g)}),r&&!rt&&g.value===V&&(rt=!0,C(a.location).catch((t=>{0})));const n={};for(const o in V)Object.defineProperty(n,o,{get:()=>g.value[o],enumerable:!0});t.provide(Ht,e),t.provide(Bt,(0,o.Um)(n)),t.provide(Yt,g);const i=t.unmount;st.add(t),t.unmount=function(){st.delete(t),st.size<1&&(m=V,B&&B(),B=null,g.value=V,rt=!1,X=!1),i()}}};function lt(t){return t.reduce(((t,e)=>t.then((()=>j(e)))),Promise.resolve())}return at}function re(t,e){const n=[],i=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let s=0;sW(t,r)))?i.push(r):n.push(r));const a=t.matched[s];a&&(e.matched.find((t=>W(t,a)))||o.push(a))}return[n,i,o]}function se(){return(0,i.f3)(Ht)}function ae(t){return(0,i.f3)(Bt)}}}]); \ No newline at end of file