From 320e60593ddef8ab8d230ecc612a435289e45160 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Sat, 23 Nov 2024 08:21:49 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20preview-env=20from=20@=20shlin?= =?UTF-8?q?kio/shlink-web-client@81434a5649bf8a5823573e9f19ea914aad0c51f9?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fontawesome-951ff399f8/.htaccess | 16 + .../assets/index-Bv0Tm1UB.css | 6 + .../assets/index-CxCq6Xdj.js | 840 ++++++++++++++++++ .../fontawesome-951ff399f8/favicon.gif | Bin 0 -> 642 bytes .../fontawesome-951ff399f8/favicon.ico | Bin 0 -> 1165 bytes .../fontawesome-951ff399f8/favicon.png | Bin 0 -> 1165 bytes .../fontawesome-951ff399f8/favicon.svg | 1 + .../icons/icon-1024x1024.png | Bin 0 -> 8726 bytes .../icons/icon-114x114.png | Bin 0 -> 1080 bytes .../icons/icon-120x120.png | Bin 0 -> 1100 bytes .../icons/icon-128x128.png | Bin 0 -> 1165 bytes .../icons/icon-144x144.png | Bin 0 -> 1410 bytes .../icons/icon-150x150.png | Bin 0 -> 1366 bytes .../icons/icon-152x152.png | Bin 0 -> 1360 bytes .../icons/icon-160x160.png | Bin 0 -> 1411 bytes .../icons/icon-167x167.png | Bin 0 -> 1474 bytes .../icons/icon-16x16.png | Bin 0 -> 287 bytes .../icons/icon-180x180.png | Bin 0 -> 1657 bytes .../icons/icon-192x192.png | Bin 0 -> 1753 bytes .../icons/icon-196x196.png | Bin 0 -> 1684 bytes .../icons/icon-228x228.png | Bin 0 -> 1999 bytes .../icons/icon-24x24.png | Bin 0 -> 381 bytes .../icons/icon-256x256.png | Bin 0 -> 2209 bytes .../icons/icon-310x310.png | Bin 0 -> 2639 bytes .../icons/icon-32x32.png | Bin 0 -> 437 bytes .../icons/icon-384x384.png | Bin 0 -> 3236 bytes .../icons/icon-40x40.png | Bin 0 -> 466 bytes .../icons/icon-48x48.png | Bin 0 -> 551 bytes .../icons/icon-512x512.png | Bin 0 -> 4335 bytes .../icons/icon-60x60.png | Bin 0 -> 638 bytes .../icons/icon-64x64.png | Bin 0 -> 684 bytes .../icons/icon-72x72.png | Bin 0 -> 750 bytes .../icons/icon-76x76.png | Bin 0 -> 783 bytes .../icons/icon-96x96.png | Bin 0 -> 984 bytes .../fontawesome-951ff399f8/index.html | 91 ++ .../fontawesome-951ff399f8/manifest.json | 1 + .../fontawesome-951ff399f8/service-worker.js | 2 + 37 files changed, 957 insertions(+) create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/.htaccess create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-Bv0Tm1UB.css create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-CxCq6Xdj.js create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.gif create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.ico create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.svg create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-1024x1024.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-114x114.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-120x120.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-128x128.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-144x144.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-150x150.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-152x152.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-160x160.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-167x167.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-16x16.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-180x180.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-192x192.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-196x196.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-228x228.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-24x24.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-256x256.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-310x310.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-32x32.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-384x384.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-40x40.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-48x48.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-512x512.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-60x60.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-64x64.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-72x72.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-76x76.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-96x96.png create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/index.html create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/manifest.json create mode 100644 dependabot/npm_and_yarn/fontawesome-951ff399f8/service-worker.js diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/.htaccess b/dependabot/npm_and_yarn/fontawesome-951ff399f8/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-Bv0Tm1UB.css b/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-Bv0Tm1UB.css new file mode 100644 index 00000000..84bfc8fe --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-Bv0Tm1UB.css @@ -0,0 +1,6 @@ +@charset "UTF-8";.app-update-banner.app-update-banner{position:absolute;left:50%;transform:translate(-50%);position:fixed;top:31px;padding:0 4rem 0 0;z-index:1040;margin:0;color:var(--text-color);text-align:center;width:700px;max-width:calc(100% - 30px);box-shadow:0 0 1rem var(--brand-color)}.app-container{height:100%}.app{padding-top:56px;height:100%}.shlink-wrapper{min-height:100%;padding-bottom:3.1rem;margin-bottom:-3.1rem}.shlink-footer{height:2.3rem;margin-top:.8rem;padding:0}@media (min-width: 768px){.shlink-footer{padding:0 15px}}.servers-list__list-group.servers-list__list-group{width:100%}.servers-list__list-group:not(.servers-list__list-group--embedded){max-width:400px;box-shadow:0 .125rem .25rem #00000013}.servers-list__server-item.servers-list__server-item{text-align:left;position:relative;padding:.75rem 2.5rem .75rem 1rem}.servers-list__server-item:not(:hover){color:#4696e5}.servers-list__server-item:hover{background-color:var(--secondary-color)}.servers-list__server-item-icon{position:absolute;top:50%;transform:translateY(-50%);right:1rem}.servers-list__list-group--embedded.servers-list__list-group--embedded{border-radius:0;border-top:1px solid var(--border-color)}@media (min-width: 768px){.servers-list__list-group--embedded.servers-list__list-group--embedded{max-height:220px;overflow-x:auto;scrollbar-color:rgba(0,0,0,.2) #f5f5f5;scrollbar-width:thin}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar{width:6px;background-color:#f5f5f5}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar-thumb{background-color:#0003;border-radius:.5rem}}.servers-list__list-group--embedded.servers-list__list-group--embedded .servers-list__server-item{border:none;border-bottom:1px solid var(--border-color)}.home__title{font-size:1.75rem}@media (min-width: 768px){.home__title{font-size:2.2rem}}@media (min-width: 768px){.home__servers-container{border-left:1px solid var(--border-color)}}.main-header.main-header{color:#fff;background-color:var(--brand-color)!important}.main-header.main-header .navbar-brand{color:inherit!important}.main-header__brand-logo{width:26px;margin-right:5px}.main-header__toggle-icon{width:20px;transition:transform .3s}.main-header__toggle-icon--opened{transform:rotate(180deg)}.shlink-versions-container--with-sidebar{margin-left:0}@media (min-width: 768px){.shlink-versions-container--with-sidebar{margin-left:260px}}.no-menu-wrapper{padding:15px 0 0}@media (min-width: 768px){.no-menu-wrapper{padding:30px 20px 20px}}.server-error__container{text-align:center;display:flex;align-items:center;justify-content:center}.server-error__delete-btn{color:#dc3545;font-weight:inherit}.server-error__delete-btn:hover{text-decoration:underline}/*! + * Bootstrap v5.2.3 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors + * Copyright 2011-2022 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #4696e5;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 70, 150, 229;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #4696e5;--bs-link-hover-color: rgb(56, 120, 183.2);--bs-code-color: #d63384;--bs-highlight-bg: rgb(255, 242.6, 205.4)}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"— "}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(2n){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: rgb(218, 234, 249.8);--bs-table-border-color: rgb(196.2, 210.6, 224.82);--bs-table-striped-bg: rgb(207.1, 222.3, 237.31);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(196.2, 210.6, 224.82);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(201.65, 216.45, 231.065);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: rgb(225.6, 227.4, 229);--bs-table-border-color: rgb(203.04, 204.66, 206.1);--bs-table-striped-bg: rgb(214.32, 216.03, 217.55);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(203.04, 204.66, 206.1);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(208.68, 210.345, 211.825);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: rgb(209, 231, 220.8);--bs-table-border-color: rgb(188.1, 207.9, 198.72);--bs-table-striped-bg: rgb(198.55, 219.45, 209.76);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(188.1, 207.9, 198.72);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(193.325, 213.675, 204.24);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: rgb(206.6, 244.4, 252);--bs-table-border-color: rgb(185.94, 219.96, 226.8);--bs-table-striped-bg: rgb(196.27, 232.18, 239.4);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(185.94, 219.96, 226.8);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(191.105, 226.07, 233.1);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: rgb(255, 242.6, 205.4);--bs-table-border-color: rgb(229.5, 218.34, 184.86);--bs-table-striped-bg: rgb(242.25, 230.47, 195.13);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(229.5, 218.34, 184.86);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(235.875, 224.405, 189.995);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: rgb(248, 214.6, 217.8);--bs-table-border-color: rgb(223.2, 193.14, 196.02);--bs-table-striped-bg: rgb(235.6, 203.87, 206.91);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 193.14, 196.02);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 198.505, 201.465);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: rgb(223.2, 224.1, 225);--bs-table-striped-bg: rgb(235.6, 236.55, 237.5);--bs-table-striped-color: #000;--bs-table-active-bg: rgb(223.2, 224.1, 225);--bs-table-active-color: #000;--bs-table-hover-bg: rgb(229.4, 230.325, 231.25);--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: rgb(55.2, 58.8, 62.4);--bs-table-striped-bg: rgb(44.1, 47.9, 51.7);--bs-table-striped-color: #fff;--bs-table-active-bg: rgb(55.2, 58.8, 62.4);--bs-table-active-color: #fff;--bs-table-hover-bg: rgb(49.65, 53.35, 57.05);--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-check-input:checked{background-color:#4696e5;border-color:#4696e5}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#4696e5;border-color:#4696e5;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28162.5, 202.5, 242%29'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#c8e0f7}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#c8e0f7}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:#198754}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:#198754}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:#198754}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem #19875440}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;-webkit-user-select:none;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #000;--bs-btn-bg: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(97.75, 165.75, 232.9);--bs-btn-hover-border-color: rgb(88.5, 160.5, 231.6);--bs-btn-focus-shadow-rgb: 60, 128, 195;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(107, 171, 234.2);--bs-btn-active-border-color: rgb(88.5, 160.5, 231.6);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #4696e5;--bs-btn-disabled-border-color: #4696e5}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(91.8, 99.45, 106.25);--bs-btn-hover-border-color: rgb(86.4, 93.6, 100);--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(86.4, 93.6, 100);--bs-btn-active-border-color: rgb(81, 87.75, 93.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(21.25, 114.75, 71.4);--bs-btn-hover-border-color: rgb(20, 108, 67.2);--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(20, 108, 67.2);--bs-btn-active-border-color: rgb(18.75, 101.25, 63);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(49.3, 209.95, 242.25);--bs-btn-hover-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(61.4, 212.6, 243);--bs-btn-active-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(255, 202.3, 44.2);--bs-btn-hover-border-color: rgb(255, 199.2, 31.8);--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(255, 205.4, 56.6);--bs-btn-active-border-color: rgb(255, 199.2, 31.8);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(187, 45.05, 58.65);--bs-btn-hover-border-color: rgb(176, 42.4, 55.2);--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(176, 42.4, 55.2);--bs-btn-active-border-color: rgb(165, 39.75, 51.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(210.8, 211.65, 212.5);--bs-btn-hover-border-color: rgb(198.4, 199.2, 200);--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(198.4, 199.2, 200);--bs-btn-active-border-color: rgb(186, 186.75, 187.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(66.3, 69.7, 73.1);--bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(77.4, 80.6, 83.8);--bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #4696e5;--bs-btn-hover-border-color: #4696e5;--bs-btn-focus-shadow-rgb: 70, 150, 229;--bs-btn-active-color: #000;--bs-btn-active-bg: #4696e5;--bs-btn-active-border-color: #4696e5;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #4696e5;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #4696e5;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 60, 128, 195;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius: calc(.375rem - 1px) ;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: rgb(29.7, 33.3, 36.9);--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #4696e5}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius: calc(.375rem - 1px) ;--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(0, 0, 0, .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius: calc(.375rem - 1px) ;--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%2863, 135, 206.1%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: rgb(162.5, 202.5, 242);--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: rgb(63, 135, 206.1);--bs-accordion-active-bg: rgb(236.5, 244.5, 252.4)}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #4696e5;--bs-pagination-active-border-color: #4696e5;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: rgb(42, 90, 137.4);--bs-alert-bg: rgb(218, 234, 249.8);--bs-alert-border-color: rgb(199.5, 223.5, 247.2)}.alert-primary .alert-link{color:#22486e}.alert-secondary{--bs-alert-color: rgb(64.8, 70.2, 75);--bs-alert-bg: rgb(225.6, 227.4, 229);--bs-alert-border-color: rgb(210.9, 213.6, 216)}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color: rgb(15, 81, 50.4);--bs-alert-bg: rgb(209, 231, 220.8);--bs-alert-border-color: rgb(186, 219, 203.7)}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color: rgb(5.2, 80.8, 96);--bs-alert-bg: rgb(206.6, 244.4, 252);--bs-alert-border-color: rgb(182.4, 239.1, 250.5)}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color: rgb(102, 77.2, 2.8);--bs-alert-bg: rgb(255, 242.6, 205.4);--bs-alert-border-color: rgb(255, 236.4, 180.6)}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color: rgb(132, 31.8, 41.4);--bs-alert-bg: rgb(248, 214.6, 217.8);--bs-alert-border-color: rgb(244.5, 194.4, 199.2)}.alert-danger .alert-link{color:#6a1921}.alert-light{--bs-alert-color: rgb(99.2, 99.6, 100);--bs-alert-bg: rgb(253.6, 253.8, 254);--bs-alert-border-color: rgb(252.9, 253.2, 253.5)}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: rgb(19.8, 22.2, 24.6);--bs-alert-bg: rgb(210.6, 211.4, 212.2);--bs-alert-border-color: rgb(188.4, 189.6, 190.8)}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #4696e5;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #4696e5;--bs-list-group-active-border-color: #4696e5;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#2a5a89;background-color:#daeafa}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#2a5a89;background-color:#c4d3e1}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#2a5a89;border-color:#2a5a89}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbcdce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dab9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc1c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e4e4e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #4696e540;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius: calc(.5rem - 1px) ;--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #000;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius: calc(.5rem - 1px) ;--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: rgb(239.7, 239.7, 239.7);--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);mask-image:linear-gradient(130deg,#000 55%,#000c,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#000!important;background-color:RGBA(70,150,229,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:#4696e5!important}.link-primary:hover,.link-primary:focus{color:#6babea!important}.link-secondary{color:#6c757d!important}.link-secondary:hover,.link-secondary:focus{color:#565e64!important}.link-success{color:#198754!important}.link-success:hover,.link-success:focus{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:hover,.link-info:focus{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:hover,.link-warning:focus{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:hover,.link-dark:focus{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{-webkit-user-select:all!important;user-select:all!important}.user-select-auto{-webkit-user-select:auto!important;user-select:auto!important}.user-select-none{-webkit-user-select:none!important;user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}@media (max-width: 991px){.responsive-table__header{display:none}}@media (max-width: 991px){.responsive-table.table>:not(:first-child){border:none}}@media (max-width: 991px){.responsive-table__row{display:block;border-bottom:1px solid var(--border-color);border-top:2px solid var(--border-color);position:relative}.responsive-table__row:not(:last-child){margin-bottom:10px}}.responsive-table__cell.responsive-table__cell{vertical-align:middle!important}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell{display:block;width:100%;position:relative;padding:.5rem;font-size:.9rem}.responsive-table__cell.responsive-table__cell[data-th]:before{content:attr(data-th) ": ";font-weight:700}.responsive-table__cell.responsive-table__cell:last-child{position:absolute;top:3.5px;right:.5rem;width:auto;padding:0;border:none}}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell .btn-sm,.responsive-table__cell.responsive-table__cell .btn-group-sm>.btn{padding:.1rem .4rem;margin-top:.16rem}}html:not([data-theme=dark]){--color-scheme: initial;--primary-color: #ffffff;--primary-color-alfa: rgba(255, 255, 255, .5);--secondary-color: #f5f6fe;--text-color: #232323;--border-color: rgba(0, 0, 0, .125);--active-color: #eeeeee;--brand-color: #4696e5;--input-color: #ffffff;--input-disabled-color: #f5f6fe;--input-border-color: rgba(0, 0, 0, .19);--input-text-color: #495057;--table-border-color: #dee2e6;--table-highlight-color: rgba(0, 0, 0, .075);--btn-close-filter: initial}html[data-theme=dark]{--color-scheme: dark;--primary-color: #161b22;--primary-color-alfa: rgba(22, 27, 34, .8);--secondary-color: #0f131a;--text-color: rgb(201, 209, 217);--border-color: rgba(255, 255, 255, .15);--active-color: #0f131a;--brand-color: #0b2d4e;--input-color: rgb(17.9928571429, 22.0821428571, 27.8071428571);--input-disabled-color: rgb(26.0071428571, 31.9178571429, 40.1928571429);--input-border-color: rgba(255, 255, 255, .15);--input-text-color: rgb(201, 209, 217);--table-border-color: #393d43;--table-highlight-color: rgba(255, 255, 255, .15);--btn-close-filter: invert(1)}:root{scroll-behavior:auto;color-scheme:var(--color-scheme)}html,body,#root{height:100%;background:var(--secondary-color);color:var(--text-color)}a,.btn-link{text-decoration:none}a:not(.nav-link):not(.navbar-brand):not(.page-link):not(.highlight-card):not(.btn):not(.dropdown-item):hover,.btn-link:hover{text-decoration:underline}.bg-main{background-color:#4696e5!important}.bg-warning{color:#232323}.card-body,.card-header,.list-group-item{background-color:transparent}.card-footer{background-color:var(--primary-color-alfa)}.card.card{box-shadow:0 .125rem .25rem #00000013;background-color:var(--primary-color);border-color:var(--border-color)}.list-group,.modal-content,.page-link,.page-item.disabled .page-link,.dropdown-menu{background-color:var(--primary-color)}.modal-header.modal-header,.modal-footer.modal-footer,.card-header.card-header,.card-footer.card-footer,.table.table thead th,.table.table th,.table.table td,.page-link.page-link,.page-link.page-link:hover,.page-item.page-item.disabled .page-link.page-link,.dropdown-divider.dropdown-divider,.dropdown-menu.dropdown-menu,.list-group-item.list-group-item,.modal-content.modal-content,hr{border-color:var(--border-color)}.table-bordered,.table-bordered thead th,.table-bordered thead td{border-color:var(--table-border-color)}.page-link:hover,.page-link:focus{background-color:var(--secondary-color)}.page-item.active .page-link{background-color:var(--brand-color);border-color:var(--brand-color)}.pagination .page-link{cursor:pointer}@media (min-width: 1200px){.container-xl{max-width:1320px}}@media (max-width: 767px){.container-xl{padding-right:0;padding-left:0}}.btn-block{display:block;width:100%}.btn-primary,.btn-primary:hover,.btn-primary:disabled,.btn-primary:active,.btn-primary:focus-visible,.btn-primary.active,.btn-outline-primary:hover,.btn-outline-primary:active.btn-outline-primary:active,.btn-outline-primary:focus-visible.btn-outline-primary:focus-visible,.btn-outline-primary.active.btn-outline-primary.active{color:#fff}.dropdown-item,.dropdown-item-text{color:var(--text-color)}.dropdown-item:not(:disabled){cursor:pointer}.dropdown-item:focus:not(:disabled),.dropdown-item:hover:not(:disabled),.dropdown-item.active:not(:disabled),.dropdown-item:active:not(:disabled){background-color:var(--active-color)!important;color:var(--text-color)!important}.dropdown-item--danger.dropdown-item--danger{color:#dc3545}.dropdown-item--danger.dropdown-item--danger:hover,.dropdown-item--danger.dropdown-item--danger:active,.dropdown-item--danger.dropdown-item--danger.active{color:#dc3545!important}.badge-main{color:#fff;background-color:var(--brand-color)}.close,.close:hover,.table,.table-hover>tbody>tr:hover>*,.table-hover>tbody>tr>*{color:var(--text-color)}.btn-close{filter:var(--btn-close-filter)}.table-hover tbody tr:hover{background-color:var(--secondary-color)}.form-control.form-control,.form-control.form-control:focus,.form-select.form-select,.form-select.form-select:focus{background-color:var(--primary-color);border-color:var(--input-border-color);color:var(--input-text-color)}.form-control.disabled,.form-control:disabled,.form-select.disabled,.form-select:disabled{background-color:var(--input-disabled-color);cursor:not-allowed}.card .form-control:not(:disabled),.card .form-control:not(:disabled):hover,.card .form-select:not(:disabled),.card .form-select:not(:disabled):hover,.modal .form-control:not(:disabled),.modal .form-control:not(:disabled):hover,.modal .form-select:not(:disabled),.modal .form-select:not(:disabled):hover{background-color:var(--input-color)}.card input[type=text]:not(:disabled),.dropdown input[type=text]:not(:disabled){background-color:var(--input-color)!important}.card input[type=date]:not(:disabled),.dropdown input[type=date]:not(:disabled){background-color:var(--input-color)!important}.card input[type=datetime-local]:not(:disabled),.dropdown input[type=datetime-local]:not(:disabled){background-color:var(--input-color)!important}.card input[type=password]:not(:disabled),.dropdown input[type=password]:not(:disabled){background-color:var(--input-color)!important}.card input[type=number]:not(:disabled),.dropdown input[type=number]:not(:disabled){background-color:var(--input-color)!important}.card input[type=email]:not(:disabled),.dropdown input[type=email]:not(:disabled){background-color:var(--input-color)!important}.card input[type=search]:not(:disabled),.dropdown input[type=search]:not(:disabled){background-color:var(--input-color)!important}.card input[type=url]:not(:disabled),.dropdown input[type=url]:not(:disabled){background-color:var(--input-color)!important}.input-group-text.input-group-text{border-color:var(--input-border-color)}.dropdown label{color:var(--text-color)!important}.table-active,.table-active>th,.table-active>td{background-color:var(--table-highlight-color)!important}@media (max-width: 767px){.navbar-brand{margin:0 auto!important}}.indivisible{white-space:nowrap}.pointer{cursor:pointer}.progress-bar{background-color:#4696e5}@media (max-width: 575px){.btn-xs-block{width:100%;display:block}}@media (max-width: 991px){.btn-md-block{width:100%;display:block}}@media (max-width: 767px){.btn-sm-block{width:100%;display:block}}.search-field{position:relative}.search-field:focus-within{z-index:1}.search-field__input.search-field__input{padding-left:40px;padding-right:40px}.search-field__input--no-border.search-field__input--no-border{border:none;border-radius:0}.search-field__icon{position:absolute;top:50%;transform:translateY(-50%);left:15px;color:#6c757d}.search-field__close{position:absolute;top:50%;transform:translateY(-50%);right:10px;cursor:pointer}.dropdown-btn__toggle.dropdown-btn__toggle{text-align:left}.dropdown-btn__toggle.dropdown-btn__toggle--with-caret{padding-right:1.75rem}.dropdown-btn__toggle.dropdown-btn__toggle,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{color:var(--input-text-color);background-color:var(--primary-color);border-color:var(--input-border-color)}.card .dropdown-btn__toggle.dropdown-btn__toggle,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{background-color:var(--input-color)}.dropdown-btn__toggle.dropdown-btn__toggle.disabled,.dropdown-btn__toggle.dropdown-btn__toggle:disabled{background-color:var(--input-disabled-color)}.dropdown-btn__toggle.dropdown-btn__toggle:after{position:absolute;top:50%;transform:translateY(-50%);right:.75rem}.nav-pills__nav{position:sticky!important;top:55px;z-index:2}.nav-pills__nav-link.nav-pills__nav-link{border-radius:0!important;padding-bottom:calc(.5rem - 3px)!important;border-bottom:3px solid transparent!important;color:#5d6778;font-weight:700;cursor:pointer;text-decoration:none}@media (min-width: 576px) and (max-width: 991px){.nav-pills__nav-link.nav-pills__nav-link{font-size:89%}}.nav-pills__nav-link:hover{color:#4696e5!important}.nav-pills__nav-link.active{border-color:#4696e5!important;background-color:var(--primary-color)!important;color:#4696e5!important}.ordering-dropdown__menu--link.ordering-dropdown__menu--link{min-width:11rem}.ordering-dropdown__sort-icon{margin:3.5px 0 0;float:right}.highlight-card.highlight-card.highlight-card{text-align:center;border-top:3px solid var(--brand-color);color:inherit;text-decoration:none}.highlight-card__link-icon{position:absolute;right:5px;bottom:5px;opacity:.1;transform:rotate(-45deg)}.highlight-card__title{color:#6c757d}.redirect-rule-modal__condition{border:1px solid var(--border-color)}.redirect-rule-modal__header.redirect-rule-modal__header,.redirect-rule-modal__footer.redirect-rule-modal__footer{background-color:var(--primary-color)}.redirect-rule-modal__remove-condition-button.redirect-rule-modal__remove-condition-button{top:-15px;right:-15px;background-color:var(--primary-color)}.redirect-rule-modal__remove-condition-button-icon{width:14px;line-height:14px}.redirect-rule-modal__conditions-row.redirect-rule-modal__conditions-row{padding-right:.8rem}.create-short-url-result__copy-btn{margin-left:10px;vertical-align:inherit}.short-urls-visits-count__max-visits-control{cursor:help}.short-url-visits-count__amount{transition:transform .3s ease;display:inline-block}.short-url-visits-count__amount--big{transform:scale(1.5)}.short-url-visits-count__tooltip-list-item:not(:last-child){margin-bottom:.5rem}.tag:not(:last-child){margin-right:3px}.tag__close.tag__close{font-size:1.3rem}.short-urls-row__cell.short-urls-row__cell{vertical-align:middle!important}.short-urls-row__cell--break{word-break:break-all}@media (min-width: 992px){.short-urls-row__cell--indivisible{white-space:nowrap}}@media (max-width: 991px){.short-urls-row__short-url-wrapper{word-break:break-all}}@media (min-width: 992px){.short-urls-row__short-url-wrapper{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:bottom;display:inline-block;max-width:18rem}}.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(10px);box-shadow:0 3px 15px #00000040}@media (max-width: 991px){.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(calc(-100% - 20px))}}.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:hover,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:active{color:#6c757d!important}.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:hover,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:active{color:var(--input-text-color)!important}.domains-dropdown__back-btn.domains-dropdown__back-btn,.domains-dropdown__back-btn.domains-dropdown__back-btn:hover{border-color:var(--border-color)}.icon-input-container{position:relative}.icon-input-container__input{padding-right:35px!important}.icon-input-container__input:not(:disabled){background-color:var(--primary-color)!important}.icon-input-container__icon{position:absolute;top:50%;transform:translateY(-50%);right:.75rem;cursor:pointer}.use-existing-if-found-info-icon__modal-quote{margin-bottom:0;padding:10px 15px;font-size:17.5px;border-left:5px solid #eeeeee;background-color:#f9f9f9}.short-url-form p:last-child{margin-bottom:0}.short-url-form .card{height:100%}.short-urls-filtering-bar__tags-icon{vertical-align:bottom;font-size:1.6rem}.short-urls-table.short-urls-table{margin-bottom:-1px}.short-urls-table__header-cell--with-action{cursor:pointer}.color-bullet{border-radius:50%;width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:5px}.simple-paginator{-webkit-user-select:none;user-select:none}.tags-table__header-cell.tags-table__header-cell{z-index:1;position:relative;top:56px;position:sticky;cursor:pointer}.tags-table__header-cell.tags-table__header-cell:before{content:"";position:absolute;top:-1px;right:0;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.tags-table__header-cell.tags-table__header-cell:first-child:before{left:0}.tags-table__header-cell.tags-table__header-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--primary-color);z-index:-1}.tags-table__header-cell.tags-table__header-cell:first-child:after{left:0}.chart-card__footer--sticky{position:sticky;bottom:0}.doughnut-chart-legend{list-style-type:none;padding:0;margin:0}@media (max-width: 767px){.doughnut-chart-legend{margin-top:1rem}}.doughnut-chart-legend__item:not(:first-child){margin-top:.3rem}.doughnut-chart-legend__item-color{width:20px;min-width:20px;height:20px;margin-right:5px;border-radius:10px}.doughnut-chart-legend__item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (min-width: 768px){.map-modal__modal.map-modal__modal{width:calc(100% - 40px);max-width:calc(100% - 40px);height:calc(100% - 40px);margin:20px}}@media (max-width: 767px){.map-modal__modal.map-modal__modal{width:calc(100% - 20px);max-width:calc(100% - 20px);height:calc(100% - 20px);margin:10px}}.map-modal__modal-content.map-modal__modal-content{height:100%}.map-modal__modal-title.map-modal__modal-title{position:absolute;width:100%;z-index:1001;padding:.5rem 1rem 1rem;margin:0;color:#fff;background:linear-gradient(#00000080,#0000)}.map-modal__modal-body.map-modal__modal-body{padding:0;display:flex;overflow:hidden}.map-modal__modal.map-modal__modal .leaflet-container.leaflet-container{flex:1 1 auto;border-radius:.3rem}.map-modal__modal.map-modal__modal .leaflet-top.leaflet-top .leaflet-control.leaflet-control{margin-top:60px}.visits-table{background-color:var(--primary-color);overflow-y:hidden}.visits-table__header-cell{cursor:pointer;margin-bottom:55px;z-index:1;position:relative}.visits-table__header-cell:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.visits-table__header-cell:first-child:before{left:-1px}.visits-table__header-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:1px;background:var(--primary-color);z-index:-1}.visits-table__header-cell:first-child:after{left:0}@media (min-width: 768px){.visits-table__header-cell.visits-table__sticky{top:96px}}.visits-table__header-icon{float:right;margin-top:3px}.visits-table__footer-cell.visits-table__footer-cell{bottom:0;margin-top:34px;z-index:1;position:relative}.visits-table__footer-cell.visits-table__footer-cell:before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:0;background:var(--table-border-color);z-index:-2}.visits-table__footer-cell.visits-table__footer-cell:first-child:before{left:-1px}.visits-table__footer-cell.visits-table__footer-cell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:1px;background:var(--primary-color);z-index:-1}.visits-table__footer-cell.visits-table__footer-cell:first-child:after{left:0}.visits-table__sticky.visits-table__sticky{position:sticky}.short-url-visits-header__created-at{cursor:default}.aside-menu{width:260px;background-color:var(--primary-color);box-shadow:#0000000d 0 8px 15px;position:fixed!important;padding-top:13px;padding-bottom:10px;top:56px;bottom:0;left:0;display:block;z-index:1010;overflow:hidden auto}@media (min-width: 768px){.aside-menu{padding:30px 15px 15px}}@media (max-width: 767px){.aside-menu{transition:left .3s;top:53px;box-shadow:-10px 0 50px 11px #0000008c}}@media (max-width: 767px){.aside-menu--hidden{left:-295px}}.aside-menu__nav{height:100%}.aside-menu__item{padding:10px 20px;margin:0 -15px;text-decoration:none!important;cursor:pointer}@media (max-width: 767px){.aside-menu__item{margin:0}}.aside-menu__item:hover{background-color:var(--secondary-color)}.aside-menu__item--selected,.aside-menu__item--selected:hover{color:#fff;background-color:var(--brand-color)}.aside-menu__item-text{margin-left:8px}.shlink-layout__swipeable,.shlink-layout__swipeable-inner{height:100%}.shlink-layout__burger-icon{display:none;transition:color .3s;position:fixed;top:18px;z-index:1035;font-size:1.5rem;cursor:pointer;color:#ffffff80}@media (max-width: 767px){.shlink-layout__burger-icon{display:inline-block}}.shlink-layout__burger-icon--active{color:#fff}.shlink-layout__container.shlink-layout__container{padding:20px 0 0;min-height:100%}@media (min-width: 768px){.shlink-layout__container.shlink-layout__container{padding:30px 0 0 260px}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.react-tags{position:relative;padding:5px 0 0 6px;border-radius:.5rem;background-color:var(--primary-color);border:1px solid var(--input-border-color);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1em;line-height:1.2;cursor:text}.input-group>.react-tags{flex:1 1 auto;width:1%;min-width:0}.card .react-tags{background-color:var(--input-color)}.react-tags.is-active{box-shadow:0 0 0 .2rem #4696e540}.react-tags__label{display:none}.react-tags__tag{font-size:100%}.react-tags__list{display:inline;vertical-align:2px;padding:0;list-style-type:none}.react-tags__list-item{display:inline-block}.react-tags__list-item:not(:last-child){margin-right:3px}.react-tags__combobox{display:inline-block;padding:6px 2px;margin-top:2px;margin-bottom:3px;max-width:100%}@media screen and (min-width: 576px){.react-tags__combobox{position:relative}}.react-tags__combobox-input{font-size:1.25rem;line-height:inherit;color:var(--input-text-color);background-color:inherit;max-width:100%;margin:0 0 0 7px;padding:0;border:0;outline:none}.react-tags__combobox-input::placeholder{color:#6c757d}.react-tags__combobox-input::-ms-clear{display:none}.react-tags__listbox{position:absolute;top:100%;left:0;width:100%;z-index:10;margin:4px -1px;padding:0;background:var(--primary-color);border:1px solid var(--border-color);border-radius:.25rem;box-shadow:0 2px 6px #0003}@media screen and (min-width: 576px){.react-tags__listbox{width:240px}}.react-tags__listbox .react-tags__listbox-option{padding:8px 10px}.react-tags__listbox .react-tags__listbox-option:not(:last-child){border-bottom:1px solid var(--border-color)}.react-tags__listbox .react-tags__listbox-option:hover:not(.react-tags__listbox-option--not-selectable){cursor:pointer;background-color:var(--active-color)}.react-tags__listbox .react-tags__listbox-option.is-active{background-color:var(--active-color)}.react-tags__listbox .react-tags__listbox-option.is-disabled{opacity:.5;cursor:auto}.sticky-card-paginator{position:sticky;bottom:0;background-color:var(--primary-color-alfa);padding:.75rem 0;border-top:1px solid var(--border-color)}.top-sticky{position:sticky;top:56px;z-index:10} diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-CxCq6Xdj.js b/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-CxCq6Xdj.js new file mode 100644 index 00000000..1f014417 --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/assets/index-CxCq6Xdj.js @@ -0,0 +1,840 @@ +var Iz=Object.defineProperty;var Dz=(e,t,n)=>t in e?Iz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ll=(e,t,n)=>Dz(e,typeof t!="symbol"?t+"":t,n);function Fz(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Xl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function st(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var V4={exports:{}},Py={},W4={exports:{}},it={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ih=Symbol.for("react.element"),Bz=Symbol.for("react.portal"),Uz=Symbol.for("react.fragment"),zz=Symbol.for("react.strict_mode"),Vz=Symbol.for("react.profiler"),Wz=Symbol.for("react.provider"),Hz=Symbol.for("react.context"),Gz=Symbol.for("react.forward_ref"),qz=Symbol.for("react.suspense"),Kz=Symbol.for("react.memo"),Yz=Symbol.for("react.lazy"),CT=Symbol.iterator;function Zz(e){return e===null||typeof e!="object"?null:(e=CT&&e[CT]||e["@@iterator"],typeof e=="function"?e:null)}var H4={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G4=Object.assign,q4={};function Ou(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||H4}Ou.prototype.isReactComponent={};Ou.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ou.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function K4(){}K4.prototype=Ou.prototype;function JO(e,t,n){this.props=e,this.context=t,this.refs=q4,this.updater=n||H4}var eS=JO.prototype=new K4;eS.constructor=JO;G4(eS,Ou.prototype);eS.isPureReactComponent=!0;var TT=Array.isArray,Y4=Object.prototype.hasOwnProperty,tS={current:null},Z4={key:!0,ref:!0,__self:!0,__source:!0};function X4(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Y4.call(t,r)&&!Z4.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,ee=Z[H];if(0>>1;Hi(re,B))aei(ue,re)?(Z[H]=ue,Z[ae]=B,H=ae):(Z[H]=re,Z[ne]=B,H=ne);else if(aei(ue,B))Z[H]=ue,Z[ae]=B,H=ae;else break e}}return z}function i(Z,z){var B=Z.sortIndex-z.sortIndex;return B!==0?B:Z.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],f=1,d=null,p=3,v=!1,y=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(Z){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=Z)r(c),z.sortIndex=z.expirationTime,t(l,z);else break;z=n(c)}}function S(Z){if(g=!1,w(Z),!y)if(n(l)!==null)y=!0,Q(P);else{var z=n(c);z!==null&&te(S,z.startTime-Z)}}function P(Z,z){y=!1,g&&(g=!1,_(j),j=-1),v=!0;var B=p;try{for(w(z),d=n(l);d!==null&&(!(d.expirationTime>z)||Z&&!I());){var H=d.callback;if(typeof H=="function"){d.callback=null,p=d.priorityLevel;var ee=H(d.expirationTime<=z);z=e.unstable_now(),typeof ee=="function"?d.callback=ee:d===n(l)&&r(l),w(z)}else r(l);d=n(l)}if(d!==null)var q=!0;else{var ne=n(c);ne!==null&&te(S,ne.startTime-z),q=!1}return q}finally{d=null,p=B,v=!1}}var E=!1,T=null,j=-1,F=5,k=-1;function I(){return!(e.unstable_now()-kZ||125H?(Z.sortIndex=B,t(c,Z),n(l)===null&&Z===n(c)&&(g?(_(j),j=-1):g=!0,te(S,B-H))):(Z.sortIndex=ee,t(l,Z),y||v||(y=!0,Q(P))),Z},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(Z){var z=p;return function(){var B=p;p=z;try{return Z.apply(this,arguments)}finally{p=B}}}})(nR);tR.exports=nR;var sV=tR.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lV=M,Ar=sV;function Pe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g_=Object.prototype.hasOwnProperty,cV=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,AT={},kT={};function uV(e){return g_.call(kT,e)?!0:g_.call(AT,e)?!1:cV.test(e)?kT[e]=!0:(AT[e]=!0,!1)}function fV(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function dV(e,t,n,r){if(t===null||typeof t>"u"||fV(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function nr(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Nn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Nn[e]=new nr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Nn[t]=new nr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Nn[e]=new nr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Nn[e]=new nr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Nn[e]=new nr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Nn[e]=new nr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Nn[e]=new nr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Nn[e]=new nr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Nn[e]=new nr(e,5,!1,e.toLowerCase(),null,!1,!1)});var rS=/[\-:]([a-z])/g;function iS(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(rS,iS);Nn[t]=new nr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(rS,iS);Nn[t]=new nr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rS,iS);Nn[t]=new nr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Nn[e]=new nr(e,1,!1,e.toLowerCase(),null,!1,!1)});Nn.xlinkHref=new nr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Nn[e]=new nr(e,1,!1,e.toLowerCase(),null,!0,!0)});function oS(e,t,n,r){var i=Nn.hasOwnProperty(t)?Nn[t]:null;(i!==null?i.type!==0:r||!(2s||i[a]!==o[s]){var l=` +`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{zb=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?If(e):""}function hV(e){switch(e.tag){case 5:return If(e.type);case 16:return If("Lazy");case 13:return If("Suspense");case 19:return If("SuspenseList");case 0:case 2:case 15:return e=Vb(e.type,!1),e;case 11:return e=Vb(e.type.render,!1),e;case 1:return e=Vb(e.type,!0),e;default:return""}}function x_(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Jl:return"Fragment";case Ql:return"Portal";case y_:return"Profiler";case aS:return"StrictMode";case b_:return"Suspense";case __:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case oR:return(e.displayName||"Context")+".Consumer";case iR:return(e._context.displayName||"Context")+".Provider";case sS:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lS:return t=e.displayName||null,t!==null?t:x_(e.type)||"Memo";case ha:t=e._payload,e=e._init;try{return x_(e(t))}catch{}}return null}function pV(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return x_(t);case 8:return t===aS?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ba(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sR(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mV(e){var t=sR(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Up(e){e._valueTracker||(e._valueTracker=mV(e))}function lR(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=sR(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tv(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function w_(e,t){var n=t.checked;return Vt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function MT(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ba(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cR(e,t){t=t.checked,t!=null&&oS(e,"checked",t,!1)}function O_(e,t){cR(e,t);var n=Ba(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?S_(e,t.type,n):t.hasOwnProperty("defaultValue")&&S_(e,t.type,Ba(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function LT(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function S_(e,t,n){(t!=="number"||tv(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Df=Array.isArray;function yc(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=zp.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wd(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qf={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},vV=["Webkit","ms","Moz","O"];Object.keys(qf).forEach(function(e){vV.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qf[t]=qf[e]})});function hR(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qf.hasOwnProperty(e)&&qf[e]?(""+t).trim():t+"px"}function pR(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=hR(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var gV=Vt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function C_(e,t){if(t){if(gV[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Pe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Pe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Pe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Pe(62))}}function T_(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var j_=null;function cS(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var A_=null,bc=null,_c=null;function IT(e){if(e=Bh(e)){if(typeof A_!="function")throw Error(Pe(280));var t=e.stateNode;t&&(t=Ay(t),A_(e.stateNode,e.type,t))}}function mR(e){bc?_c?_c.push(e):_c=[e]:bc=e}function vR(){if(bc){var e=bc,t=_c;if(_c=bc=null,IT(e),t)for(e=0;e>>=0,e===0?32:31-(TV(e)/jV|0)|0}var Vp=64,Wp=4194304;function Ff(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ov(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=Ff(s):(o&=a,o!==0&&(r=Ff(o)))}else a=n&~i,a!==0?r=Ff(a):o!==0&&(r=Ff(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Dh(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ei(t),e[t]=n}function MV(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Yf),GT=" ",qT=!1;function $R(e,t){switch(e){case"keyup":return sW.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function IR(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ec=!1;function cW(e,t){switch(e){case"compositionend":return IR(t);case"keypress":return t.which!==32?null:(qT=!0,GT);case"textInput":return e=t.data,e===GT&&qT?null:e;default:return null}}function uW(e,t){if(ec)return e==="compositionend"||!gS&&$R(e,t)?(e=LR(),Lm=pS=ba=null,ec=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=XT(n)}}function UR(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?UR(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zR(){for(var e=window,t=tv();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tv(e.document)}return t}function yS(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bW(e){var t=zR(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&UR(n.ownerDocument.documentElement,n)){if(r!==null&&yS(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=QT(n,o);var a=QT(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,tc=null,$_=null,Xf=null,I_=!1;function JT(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;I_||tc==null||tc!==tv(r)||(r=tc,"selectionStart"in r&&yS(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xf&&Td(Xf,r)||(Xf=r,r=lv($_,"onSelect"),0ic||(e.current=V_[ic],V_[ic]=null,ic--)}function Ot(e,t){ic++,V_[ic]=e.current,e.current=t}var Ua={},Fn=Xa(Ua),cr=Xa(!1),Ys=Ua;function kc(e,t){var n=e.type.contextTypes;if(!n)return Ua;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ur(e){return e=e.childContextTypes,e!=null}function uv(){jt(cr),jt(Fn)}function aj(e,t,n){if(Fn.current!==Ua)throw Error(Pe(168));Ot(Fn,t),Ot(cr,n)}function XR(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Pe(108,pV(e)||"Unknown",i));return Vt({},n,r)}function fv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ua,Ys=Fn.current,Ot(Fn,e),Ot(cr,cr.current),!0}function sj(e,t,n){var r=e.stateNode;if(!r)throw Error(Pe(169));n?(e=XR(e,t,Ys),r.__reactInternalMemoizedMergedChildContext=e,jt(cr),jt(Fn),Ot(Fn,e)):jt(cr),Ot(cr,n)}var Oo=null,ky=!1,r1=!1;function QR(e){Oo===null?Oo=[e]:Oo.push(e)}function kW(e){ky=!0,QR(e)}function Qa(){if(!r1&&Oo!==null){r1=!0;var e=0,t=pt;try{var n=Oo;for(pt=1;e>=a,i-=a,So=1<<32-Ei(t)+i|n<j?(F=T,T=null):F=T.sibling;var k=p(_,T,w[j],S);if(k===null){T===null&&(T=F);break}e&&T&&k.alternate===null&&t(_,T),b=o(k,b,j),E===null?P=k:E.sibling=k,E=k,T=F}if(j===w.length)return n(_,T),Nt&&_s(_,j),P;if(T===null){for(;jj?(F=T,T=null):F=T.sibling;var I=p(_,T,k.value,S);if(I===null){T===null&&(T=F);break}e&&T&&I.alternate===null&&t(_,T),b=o(I,b,j),E===null?P=I:E.sibling=I,E=I,T=F}if(k.done)return n(_,T),Nt&&_s(_,j),P;if(T===null){for(;!k.done;j++,k=w.next())k=d(_,k.value,S),k!==null&&(b=o(k,b,j),E===null?P=k:E.sibling=k,E=k);return Nt&&_s(_,j),P}for(T=r(_,T);!k.done;j++,k=w.next())k=v(T,_,j,k.value,S),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?j:k.key),b=o(k,b,j),E===null?P=k:E.sibling=k,E=k);return e&&T.forEach(function(D){return t(_,D)}),Nt&&_s(_,j),P}function x(_,b,w,S){if(typeof w=="object"&&w!==null&&w.type===Jl&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Bp:e:{for(var P=w.key,E=b;E!==null;){if(E.key===P){if(P=w.type,P===Jl){if(E.tag===7){n(_,E.sibling),b=i(E,w.props.children),b.return=_,_=b;break e}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===ha&&uj(P)===E.type){n(_,E.sibling),b=i(E,w.props),b.ref=yf(_,E,w),b.return=_,_=b;break e}n(_,E);break}else t(_,E);E=E.sibling}w.type===Jl?(b=Vs(w.props.children,_.mode,S,w.key),b.return=_,_=b):(S=zm(w.type,w.key,w.props,null,_.mode,S),S.ref=yf(_,b,w),S.return=_,_=S)}return a(_);case Ql:e:{for(E=w.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){n(_,b.sibling),b=i(b,w.children||[]),b.return=_,_=b;break e}else{n(_,b);break}else t(_,b);b=b.sibling}b=f1(w,_.mode,S),b.return=_,_=b}return a(_);case ha:return E=w._init,x(_,b,E(w._payload),S)}if(Df(w))return y(_,b,w,S);if(hf(w))return g(_,b,w,S);Xp(_,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,b!==null&&b.tag===6?(n(_,b.sibling),b=i(b,w),b.return=_,_=b):(n(_,b),b=u1(w,_.mode,S),b.return=_,_=b),a(_)):n(_,b)}return x}var Mc=n$(!0),r$=n$(!1),pv=Xa(null),mv=null,sc=null,wS=null;function OS(){wS=sc=mv=null}function SS(e){var t=pv.current;jt(pv),e._currentValue=t}function G_(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function wc(e,t){mv=e,wS=sc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ar=!0),e.firstContext=null)}function ii(e){var t=e._currentValue;if(wS!==e)if(e={context:e,memoizedValue:t,next:null},sc===null){if(mv===null)throw Error(Pe(308));sc=e,mv.dependencies={lanes:0,firstContext:e}}else sc=sc.next=e;return t}var Ms=null;function PS(e){Ms===null?Ms=[e]:Ms.push(e)}function i$(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,PS(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ro(e,r)}function Ro(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pa=!1;function ES(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function o$(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function jo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Aa(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ct&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ro(e,n)}return i=r.interleaved,i===null?(t.next=t,PS(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ro(e,n)}function $m(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fS(e,n)}}function fj(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vv(e,t,n,r){var i=e.updateQueue;pa=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==a&&(s===null?f.firstBaseUpdate=c:s.next=c,f.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;a=0,f=c=l=null,s=o;do{var p=s.lane,v=s.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,g=s;switch(p=t,v=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){d=y.call(v,d,p);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,p=typeof y=="function"?y.call(v,d,p):y,p==null)break e;d=Vt({},d,p);break e;case 2:pa=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[s]:p.push(s))}else v={eventTime:v,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(c=f=v,l=d):f=f.next=v,a|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(f===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Qs|=a,e.lanes=a,e.memoizedState=d}}function dj(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=o1.transition;o1.transition={};try{e(!1),t()}finally{pt=n,o1.transition=r}}function w$(){return oi().memoizedState}function RW(e,t,n){var r=Na(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},O$(e))S$(t,n);else if(n=i$(e,t,n,r),n!==null){var i=Zn();Ci(n,e,r,i),P$(n,t,r)}}function $W(e,t,n){var r=Na(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(O$(e))S$(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Ai(s,a)){var l=t.interleaved;l===null?(i.next=i,PS(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=i$(e,t,i,r),n!==null&&(i=Zn(),Ci(n,e,r,i),P$(n,t,r))}}function O$(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function S$(e,t){Qf=yv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function P$(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,fS(e,n)}}var bv={readContext:ii,useCallback:Ln,useContext:Ln,useEffect:Ln,useImperativeHandle:Ln,useInsertionEffect:Ln,useLayoutEffect:Ln,useMemo:Ln,useReducer:Ln,useRef:Ln,useState:Ln,useDebugValue:Ln,useDeferredValue:Ln,useTransition:Ln,useMutableSource:Ln,useSyncExternalStore:Ln,useId:Ln,unstable_isNewReconciler:!1},IW={readContext:ii,useCallback:function(e,t){return Gi().memoizedState=[e,t===void 0?null:t],e},useContext:ii,useEffect:pj,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Dm(4194308,4,g$.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Dm(4194308,4,e,t)},useInsertionEffect:function(e,t){return Dm(4,2,e,t)},useMemo:function(e,t){var n=Gi();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gi();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=RW.bind(null,Ut,e),[r.memoizedState,e]},useRef:function(e){var t=Gi();return e={current:e},t.memoizedState=e},useState:hj,useDebugValue:LS,useDeferredValue:function(e){return Gi().memoizedState=e},useTransition:function(){var e=hj(!1),t=e[0];return e=LW.bind(null,e[1]),Gi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ut,i=Gi();if(Nt){if(n===void 0)throw Error(Pe(407));n=n()}else{if(n=t(),bn===null)throw Error(Pe(349));Xs&30||c$(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,pj(f$.bind(null,r,o,e),[e]),r.flags|=2048,$d(9,u$.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Gi(),t=bn.identifierPrefix;if(Nt){var n=Po,r=So;n=(r&~(1<<32-Ei(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ld++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Ki]=t,e[kd]=r,R$(e,t,!1,!1),t.stateNode=e;e:{switch(a=T_(n,r),n){case"dialog":Pt("cancel",e),Pt("close",e),i=r;break;case"iframe":case"object":case"embed":Pt("load",e),i=r;break;case"video":case"audio":for(i=0;i$c&&(t.flags|=128,r=!0,bf(o,!1),t.lanes=4194304)}else{if(!r)if(e=gv(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bf(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Nt)return Rn(t),null}else 2*Xt()-o.renderingStartTime>$c&&n!==1073741824&&(t.flags|=128,r=!0,bf(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Xt(),t.sibling=null,n=Ft.current,Ot(Ft,r?n&1|2:n&1),t):(Rn(t),null);case 22:case 23:return BS(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?wr&1073741824&&(Rn(t),t.subtreeFlags&6&&(t.flags|=8192)):Rn(t),null;case 24:return null;case 25:return null}throw Error(Pe(156,t.tag))}function HW(e,t){switch(_S(t),t.tag){case 1:return ur(t.type)&&uv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Lc(),jt(cr),jt(Fn),jS(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return TS(t),null;case 13:if(jt(Ft),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Pe(340));Nc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return jt(Ft),null;case 4:return Lc(),null;case 10:return SS(t.type._context),null;case 22:case 23:return BS(),null;case 24:return null;default:return null}}var Jp=!1,In=!1,GW=typeof WeakSet=="function"?WeakSet:Set,$e=null;function lc(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ht(e,t,r)}else n.current=null}function tx(e,t,n){try{n()}catch(r){Ht(e,t,r)}}var Pj=!1;function qW(e,t){if(D_=av,e=zR(),yS(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var v;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(v=d.firstChild)!==null;)p=d,d=v;for(;;){if(d===e)break t;if(p===n&&++c===i&&(s=a),p===o&&++f===r&&(l=a),(v=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=v}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(F_={focusedElem:e,selectionRange:n},av=!1,$e=t;$e!==null;)if(t=$e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$e=e;else for(;$e!==null;){t=$e;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,x=y.memoizedState,_=t.stateNode,b=_.getSnapshotBeforeUpdate(t.elementType===t.type?g:yi(t.type,g),x);_.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Pe(163))}}catch(S){Ht(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,$e=e;break}$e=t.return}return y=Pj,Pj=!1,y}function Jf(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&tx(t,n,o)}i=i.next}while(i!==r)}}function Ly(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function nx(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function D$(e){var t=e.alternate;t!==null&&(e.alternate=null,D$(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ki],delete t[kd],delete t[z_],delete t[jW],delete t[AW])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function F$(e){return e.tag===5||e.tag===3||e.tag===4}function Ej(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||F$(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function rx(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cv));else if(r!==4&&(e=e.child,e!==null))for(rx(e,t,n),e=e.sibling;e!==null;)rx(e,t,n),e=e.sibling}function ix(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ix(e,t,n),e=e.sibling;e!==null;)ix(e,t,n),e=e.sibling}var jn=null,bi=!1;function ia(e,t,n){for(n=n.child;n!==null;)B$(e,t,n),n=n.sibling}function B$(e,t,n){if(Ji&&typeof Ji.onCommitFiberUnmount=="function")try{Ji.onCommitFiberUnmount(Ey,n)}catch{}switch(n.tag){case 5:In||lc(n,t);case 6:var r=jn,i=bi;jn=null,ia(e,t,n),jn=r,bi=i,jn!==null&&(bi?(e=jn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):jn.removeChild(n.stateNode));break;case 18:jn!==null&&(bi?(e=jn,n=n.stateNode,e.nodeType===8?n1(e.parentNode,n):e.nodeType===1&&n1(e,n),Ed(e)):n1(jn,n.stateNode));break;case 4:r=jn,i=bi,jn=n.stateNode.containerInfo,bi=!0,ia(e,t,n),jn=r,bi=i;break;case 0:case 11:case 14:case 15:if(!In&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&tx(n,t,a),i=i.next}while(i!==r)}ia(e,t,n);break;case 1:if(!In&&(lc(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ht(n,t,s)}ia(e,t,n);break;case 21:ia(e,t,n);break;case 22:n.mode&1?(In=(r=In)||n.memoizedState!==null,ia(e,t,n),In=r):ia(e,t,n);break;default:ia(e,t,n)}}function Cj(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new GW),t.forEach(function(r){var i=nH.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function vi(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=Xt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*YW(r/1960))-r,10e?16:e,_a===null)var r=!1;else{if(e=_a,_a=null,wv=0,ct&6)throw Error(Pe(331));var i=ct;for(ct|=4,$e=e.current;$e!==null;){var o=$e,a=o.child;if($e.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lXt()-DS?zs(e,0):IS|=n),fr(e,t)}function K$(e,t){t===0&&(e.mode&1?(t=Wp,Wp<<=1,!(Wp&130023424)&&(Wp=4194304)):t=1);var n=Zn();e=Ro(e,t),e!==null&&(Dh(e,t,n),fr(e,n))}function tH(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),K$(e,n)}function nH(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Pe(314))}r!==null&&r.delete(t),K$(e,n)}var Y$;Y$=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||cr.current)ar=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ar=!1,VW(e,t,n);ar=!!(e.flags&131072)}else ar=!1,Nt&&t.flags&1048576&&JR(t,hv,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fm(e,t),e=t.pendingProps;var i=kc(t,Fn.current);wc(t,n),i=kS(null,t,r,e,i,n);var o=NS();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ur(r)?(o=!0,fv(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ES(t),i.updater=My,t.stateNode=i,i._reactInternals=t,K_(t,r,e,n),t=X_(null,t,r,!0,o,n)):(t.tag=0,Nt&&o&&bS(t),Gn(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fm(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=iH(r),e=yi(r,e),i){case 0:t=Z_(null,t,r,e,n);break e;case 1:t=wj(null,t,r,e,n);break e;case 11:t=_j(null,t,r,e,n);break e;case 14:t=xj(null,t,r,yi(r.type,e),n);break e}throw Error(Pe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yi(r,i),Z_(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yi(r,i),wj(e,t,r,i,n);case 3:e:{if(N$(t),e===null)throw Error(Pe(387));r=t.pendingProps,o=t.memoizedState,i=o.element,o$(e,t),vv(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Rc(Error(Pe(423)),t),t=Oj(e,t,r,n,i);break e}else if(r!==i){i=Rc(Error(Pe(424)),t),t=Oj(e,t,r,n,i);break e}else for(Pr=ja(t.stateNode.containerInfo.firstChild),Tr=t,Nt=!0,wi=null,n=r$(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Nc(),r===i){t=$o(e,t,n);break e}Gn(e,t,r,n)}t=t.child}return t;case 5:return a$(t),e===null&&H_(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,B_(r,i)?a=null:o!==null&&B_(r,o)&&(t.flags|=32),k$(e,t),Gn(e,t,a,n),t.child;case 6:return e===null&&H_(t),null;case 13:return M$(e,t,n);case 4:return CS(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Mc(t,null,r,n):Gn(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yi(r,i),_j(e,t,r,i,n);case 7:return Gn(e,t,t.pendingProps,n),t.child;case 8:return Gn(e,t,t.pendingProps.children,n),t.child;case 12:return Gn(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Ot(pv,r._currentValue),r._currentValue=a,o!==null)if(Ai(o.value,a)){if(o.children===i.children&&!cr.current){t=$o(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=jo(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),G_(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(Pe(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),G_(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}Gn(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,wc(t,n),i=ii(i),r=r(i),t.flags|=1,Gn(e,t,r,n),t.child;case 14:return r=t.type,i=yi(r,t.pendingProps),i=yi(r.type,i),xj(e,t,r,i,n);case 15:return j$(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:yi(r,i),Fm(e,t),t.tag=1,ur(r)?(e=!0,fv(t)):e=!1,wc(t,n),E$(t,r,i),K_(t,r,i,n),X_(null,t,r,!0,e,n);case 19:return L$(e,t,n);case 22:return A$(e,t,n)}throw Error(Pe(156,t.tag))};function Z$(e,t){return OR(e,t)}function rH(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jr(e,t,n,r){return new rH(e,t,n,r)}function zS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function iH(e){if(typeof e=="function")return zS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sS)return 11;if(e===lS)return 14}return 2}function Ma(e,t){var n=e.alternate;return n===null?(n=Jr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zm(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")zS(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Jl:return Vs(n.children,i,o,t);case aS:a=8,i|=8;break;case y_:return e=Jr(12,n,t,i|2),e.elementType=y_,e.lanes=o,e;case b_:return e=Jr(13,n,t,i),e.elementType=b_,e.lanes=o,e;case __:return e=Jr(19,n,t,i),e.elementType=__,e.lanes=o,e;case aR:return $y(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case iR:a=10;break e;case oR:a=9;break e;case sS:a=11;break e;case lS:a=14;break e;case ha:a=16,r=null;break e}throw Error(Pe(130,e==null?e:typeof e,""))}return t=Jr(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Vs(e,t,n,r){return e=Jr(7,e,r,t),e.lanes=n,e}function $y(e,t,n,r){return e=Jr(22,e,r,t),e.elementType=aR,e.lanes=n,e.stateNode={isHidden:!1},e}function u1(e,t,n){return e=Jr(6,e,null,t),e.lanes=n,e}function f1(e,t,n){return t=Jr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oH(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hb(0),this.expirationTimes=Hb(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hb(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function VS(e,t,n,r,i,o,a,s,l){return e=new oH(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Jr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ES(o),e}function aH(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e6)}catch(e){console.error(e)}}e6(),eR.exports=Lr;var Uy=eR.exports;const Rs=st(Uy);var t6,Rj=Uy;t6=Rj.createRoot,Rj.hydrateRoot;var fH={};/** + * @license React + * use-sync-external-store-with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var zh=M;function dH(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hH=typeof Object.is=="function"?Object.is:dH,pH=zh.useSyncExternalStore,mH=zh.useRef,vH=zh.useEffect,gH=zh.useMemo,yH=zh.useDebugValue;fH.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=mH(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=gH(function(){function l(v){if(!c){if(c=!0,f=v,v=r(v),i!==void 0&&a.hasValue){var y=a.value;if(i(y,v))return d=y}return d=v}if(y=d,hH(f,v))return y;var g=r(v);return i!==void 0&&i(y,g)?y:(f=v,d=g)}var c=!1,f,d,p=n===void 0?null:n;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,n,r,i]);var s=pH(e,o[0],o[1]);return vH(function(){a.hasValue=!0,a.value=s},[s]),yH(s),s};var dt="default"in v_?V:v_,$j=Symbol.for("react-redux-context"),Ij=typeof globalThis<"u"?globalThis:{};function bH(){if(!dt.createContext)return{};const e=Ij[$j]??(Ij[$j]=new Map);let t=e.get(dt.createContext);return t||(t=dt.createContext(null),e.set(dt.createContext,t)),t}var n6=bH(),_H=()=>{throw new Error("uSES not initialized!")},xH=Symbol.for("react.element"),wH=Symbol.for("react.portal"),OH=Symbol.for("react.fragment"),SH=Symbol.for("react.strict_mode"),PH=Symbol.for("react.profiler"),EH=Symbol.for("react.provider"),CH=Symbol.for("react.context"),TH=Symbol.for("react.server_context"),r6=Symbol.for("react.forward_ref"),jH=Symbol.for("react.suspense"),AH=Symbol.for("react.suspense_list"),qS=Symbol.for("react.memo"),kH=Symbol.for("react.lazy"),NH=r6,MH=qS;function LH(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case xH:{const n=e.type;switch(n){case OH:case PH:case SH:case jH:case AH:return n;default:{const r=n&&n.$$typeof;switch(r){case TH:case CH:case r6:case kH:case qS:case EH:return r;default:return t}}}}case wH:return t}}}function RH(e){return LH(e)===qS}function $H(e,t,n,r,{areStatesEqual:i,areOwnPropsEqual:o,areStatePropsEqual:a}){let s=!1,l,c,f,d,p;function v(b,w){return l=b,c=w,f=e(l,c),d=t(r,c),p=n(f,d,c),s=!0,p}function y(){return f=e(l,c),t.dependsOnOwnProps&&(d=t(r,c)),p=n(f,d,c),p}function g(){return e.dependsOnOwnProps&&(f=e(l,c)),t.dependsOnOwnProps&&(d=t(r,c)),p=n(f,d,c),p}function x(){const b=e(l,c),w=!a(b,f);return f=b,w&&(p=n(f,d,c)),p}function _(b,w){const S=!o(w,c),P=!i(b,l,w,c);return l=b,c=w,S&&P?y():S?g():P?x():p}return function(w,S){return s?_(w,S):v(w,S)}}function IH(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...i}){const o=t(e,i),a=n(e,i),s=r(e,i);return $H(o,a,s,e,i)}function DH(e,t){const n={};for(const r in e){const i=e[r];typeof i=="function"&&(n[r]=(...o)=>t(i(...o)))}return n}function cx(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Dj(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function i6(e,t){return function(r,{displayName:i}){const o=function(s,l){return o.dependsOnOwnProps?o.mapToProps(s,l):o.mapToProps(s,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(s,l){o.mapToProps=e,o.dependsOnOwnProps=Dj(e);let c=o(s,l);return typeof c=="function"&&(o.mapToProps=c,o.dependsOnOwnProps=Dj(c),c=o(s,l)),c},o}}function KS(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function FH(e){return e&&typeof e=="object"?cx(t=>DH(e,t)):e?typeof e=="function"?i6(e):KS(e,"mapDispatchToProps"):cx(t=>({dispatch:t}))}function BH(e){return e?typeof e=="function"?i6(e):KS(e,"mapStateToProps"):cx(()=>({}))}function UH(e,t,n){return{...n,...e,...t}}function zH(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,a;return function(l,c,f){const d=e(l,c,f);return o?i(d,a)||(a=d):(o=!0,a=d),a}}}function VH(e){return e?typeof e=="function"?zH(e):KS(e,"mergeProps"):()=>UH}function WH(e){e()}function HH(){let e=null,t=null;return{clear(){e=null,t=null},notify(){WH(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Fj={notify(){},get:()=>[]};function o6(e,t){let n,r=Fj,i=0,o=!1;function a(g){f();const x=r.subscribe(g);let _=!1;return()=>{_||(_=!0,x(),d())}}function s(){r.notify()}function l(){y.onStateChange&&y.onStateChange()}function c(){return o}function f(){i++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=HH())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Fj)}function p(){o||(o=!0,f())}function v(){o&&(o=!1,d())}const y={addNestedSub:a,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:c,trySubscribe:p,tryUnsubscribe:v,getListeners:()=>r};return y}var GH=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qH=typeof navigator<"u"&&navigator.product==="ReactNative",Pv=GH||qH?dt.useLayoutEffect:dt.useEffect;function Bj(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function d1(e,t){if(Bj(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i{s6=e},rG=[null,null];function iG(e,t,n){Pv(()=>e(...t),n)}function oG(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function aG(e,t,n,r,i,o,a,s,l,c,f){if(!e)return()=>{};let d=!1,p=null;const v=()=>{if(d||!s.current)return;const g=t.getState();let x,_;try{x=r(g,i.current)}catch(b){_=b,p=b}_||(p=null),x===o.current?a.current||c():(o.current=x,l.current=x,a.current=!0,f())};return n.onStateChange=v,n.trySubscribe(),v(),()=>{if(d=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}function sG(e,t){return e===t}function lG(e,t,n,{pure:r,areStatesEqual:i=sG,areOwnPropsEqual:o=d1,areStatePropsEqual:a=d1,areMergedPropsEqual:s=d1,forwardRef:l=!1,context:c=n6}={}){const f=c,d=BH(e),p=FH(t),v=VH(n),y=!!e;return x=>{const _=x.displayName||x.name||"Component",b=`Connect(${_})`,w={shouldHandleStateChanges:y,displayName:b,wrappedComponentName:_,WrappedComponent:x,initMapStateToProps:d,initMapDispatchToProps:p,initMergeProps:v,areStatesEqual:i,areStatePropsEqual:a,areOwnPropsEqual:o,areMergedPropsEqual:s};function S(T){const[j,F,k]=dt.useMemo(()=>{const{reactReduxForwardedRef:Y,...oe}=T;return[T.context,Y,oe]},[T]),I=dt.useMemo(()=>{let Y=f;return j!=null&&j.Consumer,Y},[j,f]),D=dt.useContext(I),K=!!T.store&&!!T.store.getState&&!!T.store.dispatch,W=!!D&&!!D.store,X=K?T.store:D.store,Q=W?D.getServerState:X.getState,te=dt.useMemo(()=>IH(X.dispatch,w),[X]),[Z,z]=dt.useMemo(()=>{if(!y)return rG;const Y=o6(X,K?void 0:D.subscription),oe=Y.notifyNestedSubs.bind(Y);return[Y,oe]},[X,K,D]),B=dt.useMemo(()=>K?D:{...D,subscription:Z},[K,D,Z]),H=dt.useRef(void 0),ee=dt.useRef(k),q=dt.useRef(void 0),ne=dt.useRef(!1),re=dt.useRef(!1),ae=dt.useRef(void 0);Pv(()=>(re.current=!0,()=>{re.current=!1}),[]);const ue=dt.useMemo(()=>()=>q.current&&k===ee.current?q.current:te(X.getState(),k),[X,k]),A=dt.useMemo(()=>oe=>Z?aG(y,X,Z,te,ee,H,ne,re,q,z,oe):()=>{},[Z]);iG(oG,[ee,H,ne,k,q,z]);let N;try{N=s6(A,ue,Q?()=>te(Q(),k):ue)}catch(Y){throw ae.current&&(Y.message+=` +The error may be correlated with this previous error: +${ae.current.stack} + +`),Y}Pv(()=>{ae.current=void 0,q.current=void 0,H.current=N});const U=dt.useMemo(()=>dt.createElement(x,{...N,ref:F}),[F,x,N]);return dt.useMemo(()=>y?dt.createElement(I.Provider,{value:B},U):U,[I,U,B])}const E=dt.memo(S);if(E.WrappedComponent=x,E.displayName=S.displayName=b,l){const j=dt.forwardRef(function(k,I){return dt.createElement(E,{...k,reactReduxForwardedRef:I})});return j.displayName=b,j.WrappedComponent=x,ux(j,x)}return ux(E,x)}}var l6=lG;function cG({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:o="once"}){const a=dt.useMemo(()=>{const c=o6(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:o}},[e,r,i,o]),s=dt.useMemo(()=>e.getState(),[e]);Pv(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),s!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,s]);const l=t||n6;return dt.createElement(l.Provider,{value:a},n)}var c6=cG;nG(M.useSyncExternalStore);/** + * @remix-run/router v1.21.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Dd(){return Dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function u6(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function fG(){return Math.random().toString(36).substr(2,8)}function Hj(e,t){return{usr:e.state,key:e.key,idx:t}}function fx(e,t,n,r){return n===void 0&&(n=null),Dd({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Eu(t):t,{state:n,key:t&&t.key||r||fG()})}function Ev(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Eu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dG(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=xa.Pop,l=null,c=f();c==null&&(c=0,a.replaceState(Dd({},a.state,{idx:c}),""));function f(){return(a.state||{idx:null}).idx}function d(){s=xa.Pop;let x=f(),_=x==null?null:x-c;c=x,l&&l({action:s,location:g.location,delta:_})}function p(x,_){s=xa.Push;let b=fx(g.location,x,_);c=f()+1;let w=Hj(b,c),S=g.createHref(b);try{a.pushState(w,"",S)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(S)}o&&l&&l({action:s,location:g.location,delta:1})}function v(x,_){s=xa.Replace;let b=fx(g.location,x,_);c=f();let w=Hj(b,c),S=g.createHref(b);a.replaceState(w,"",S),o&&l&&l({action:s,location:g.location,delta:0})}function y(x){let _=i.location.origin!=="null"?i.location.origin:i.location.href,b=typeof x=="string"?x:Ev(x);return b=b.replace(/ $/,"%20"),zt(_,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,_)}let g={get action(){return s},get location(){return e(i,a)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Wj,d),l=x,()=>{i.removeEventListener(Wj,d),l=null}},createHref(x){return t(i,x)},createURL:y,encodeLocation(x){let _=y(x);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:p,replace:v,go(x){return a.go(x)}};return g}var Gj;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Gj||(Gj={}));function hG(e,t,n){return n===void 0&&(n="/"),pG(e,t,n,!1)}function pG(e,t,n,r){let i=typeof t=="string"?Eu(t):t,o=Ic(i.pathname||"/",n);if(o==null)return null;let a=f6(e);mG(a);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(zt(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let c=La([r,l.relativePath]),f=n.concat(l);o.children&&o.children.length>0&&(zt(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),f6(o.children,t,f,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:wG(c,o.index),routesMeta:f})};return e.forEach((o,a)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,a);else for(let l of d6(o.path))i(o,a,l)}),t}function d6(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let a=d6(r.join("/")),s=[];return s.push(...a.map(l=>l===""?o:[o,l].join("/"))),i&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function mG(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:OG(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const vG=/^:[\w-]+$/,gG=3,yG=2,bG=1,_G=10,xG=-2,qj=e=>e==="*";function wG(e,t){let n=e.split("/"),r=n.length;return n.some(qj)&&(r+=xG),t&&(r+=yG),n.filter(i=>!qj(i)).reduce((i,o)=>i+(vG.test(o)?gG:o===""?bG:_G),r)}function OG(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function SG(e,t,n){let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s{let{paramName:p,isOptional:v}=f;if(p==="*"){let g=s[d]||"";a=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const y=s[d];return v&&!y?c[p]=void 0:c[p]=(y||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:a,pattern:e}}function PG(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),u6(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function EG(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return u6(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Ic(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function CG(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Eu(e):e;return{pathname:n?n.startsWith("/")?n:TG(n,t):t,search:kG(r),hash:NG(i)}}function TG(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function h1(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function jG(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function YS(e,t){let n=jG(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ZS(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Eu(e):(i=Dd({},e),zt(!i.pathname||!i.pathname.includes("?"),h1("?","pathname","search",i)),zt(!i.pathname||!i.pathname.includes("#"),h1("#","pathname","hash",i)),zt(!i.search||!i.search.includes("#"),h1("#","search","hash",i)));let o=e===""||i.pathname==="",a=o?"/":i.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;i.pathname=p.join("/")}s=d>=0?t[d]:"/"}let l=CG(i,s),c=a&&a!=="/"&&a.endsWith("/"),f=(o||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||f)&&(l.pathname+="/"),l}const La=e=>e.join("/").replace(/\/\/+/g,"/"),AG=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),kG=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,NG=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function MG(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const h6=["post","put","patch","delete"];new Set(h6);const LG=["get",...h6];new Set(LG);/** + * React Router v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),M.useCallback(function(c,f){if(f===void 0&&(f={}),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=ZS(c,JSON.parse(a),o,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:La([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,a,o,e])}function Cu(){let{matches:e}=M.useContext(Yo),t=e[e.length-1];return t?t.params:{}}function Wy(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=M.useContext(Ko),{matches:i}=M.useContext(Yo),{pathname:o}=mr(),a=JSON.stringify(YS(i,r.v7_relativeSplatPath));return M.useMemo(()=>ZS(e,JSON.parse(a),o,n==="path"),[e,a,o,n])}function IG(e,t){return DG(e,t)}function DG(e,t,n,r){gl()||zt(!1);let{navigator:i}=M.useContext(Ko),{matches:o}=M.useContext(Yo),a=o[o.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let c=mr(),f;if(t){var d;let x=typeof t=="string"?Eu(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||zt(!1),f=x}else f=c;let p=f.pathname||"/",v=p;if(l!=="/"){let x=l.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=hG(e,{pathname:v}),g=VG(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:La([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:La([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&g?M.createElement(Vy.Provider,{value:{location:Fd({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:xa.Pop}},g):g}function FG(){let e=qG(),t=MG(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),n?M.createElement("pre",{style:i},n):null,null)}const BG=M.createElement(FG,null);class UG extends M.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?M.createElement(Yo.Provider,{value:this.props.routeContext},M.createElement(m6.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function zG(e){let{routeContext:t,match:n,children:r}=e,i=M.useContext(zy);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),M.createElement(Yo.Provider,{value:t},r)}function VG(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let f=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);f>=0||zt(!1),a=a.slice(0,Math.min(a.length,f+1))}let l=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((f,d,p)=>{let v,y=!1,g=null,x=null;n&&(v=s&&d.route.id?s[d.route.id]:void 0,g=d.route.errorElement||BG,l&&(c<0&&p===0?(y=!0,x=null):c===p&&(y=!0,x=d.route.hydrateFallbackElement||null)));let _=t.concat(a.slice(0,p+1)),b=()=>{let w;return v?w=g:y?w=x:d.route.Component?w=M.createElement(d.route.Component,null):d.route.element?w=d.route.element:w=f,M.createElement(zG,{match:d,routeContext:{outlet:f,matches:_,isDataRoute:n!=null},children:w})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?M.createElement(UG,{location:n.location,revalidation:n.revalidation,component:g,error:v,children:b(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):b()},null)}var g6=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(g6||{}),Tv=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Tv||{});function WG(e){let t=M.useContext(zy);return t||zt(!1),t}function HG(e){let t=M.useContext(p6);return t||zt(!1),t}function GG(e){let t=M.useContext(Yo);return t||zt(!1),t}function y6(e){let t=GG(),n=t.matches[t.matches.length-1];return n.route.id||zt(!1),n.route.id}function qG(){var e;let t=M.useContext(m6),n=HG(Tv.UseRouteError),r=y6(Tv.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function KG(){let{router:e}=WG(g6.UseNavigateStable),t=y6(Tv.UseNavigateStable),n=M.useRef(!1);return v6(()=>{n.current=!0}),M.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Fd({fromRouteId:t},o)))},[e,t])}const Kj={};function YG(e,t){Kj[t]||(Kj[t]=!0,console.warn(t))}const Yj=(e,t,n)=>YG(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+n+"."));function ZG(e,t){e!=null&&e.v7_startTransition||Yj("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),!(e!=null&&e.v7_relativeSplatPath)&&!t&&Yj("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function XS(e){let{to:t,replace:n,state:r,relative:i}=e;gl()||zt(!1);let{future:o,static:a}=M.useContext(Ko),{matches:s}=M.useContext(Yo),{pathname:l}=mr(),c=fo(),f=ZS(t,YS(s,o.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(f);return M.useEffect(()=>c(JSON.parse(d),{replace:n,state:r,relative:i}),[c,d,i,n,r]),null}function at(e){zt(!1)}function XG(e){let{basename:t="/",children:n=null,location:r,navigationType:i=xa.Pop,navigator:o,static:a=!1,future:s}=e;gl()&&zt(!1);let l=t.replace(/^\/*/,"/"),c=M.useMemo(()=>({basename:l,navigator:o,static:a,future:Fd({v7_relativeSplatPath:!1},s)}),[l,s,o,a]);typeof r=="string"&&(r=Eu(r));let{pathname:f="/",search:d="",hash:p="",state:v=null,key:y="default"}=r,g=M.useMemo(()=>{let x=Ic(f,l);return x==null?null:{location:{pathname:x,search:d,hash:p,state:v,key:y},navigationType:i}},[l,f,d,p,v,y,i]);return g==null?null:M.createElement(Ko.Provider,{value:c},M.createElement(Vy.Provider,{children:n,value:g}))}function Hy(e){let{children:t,location:n}=e;return IG(dx(t),n)}new Promise(()=>{});function dx(e,t){t===void 0&&(t=[]);let n=[];return M.Children.forEach(e,(r,i)=>{if(!M.isValidElement(r))return;let o=[...t,i];if(r.type===M.Fragment){n.push.apply(n,dx(r.props.children,o));return}r.type!==at&&zt(!1),!r.props.index||!r.props.children||zt(!1);let a={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=dx(r.props.children,o)),n.push(a)}),n}/** + * React Router DOM v6.28.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function jv(){return jv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function QG(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function JG(e,t){return e.button===0&&(!t||t==="_self")&&!QG(e)}const eq=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],tq=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],nq="6";try{window.__reactRouterVersion=nq}catch{}const rq=M.createContext({isTransitioning:!1}),iq="startTransition",Zj=v_[iq];function _6(e){let{basename:t,children:n,future:r,window:i}=e,o=M.useRef();o.current==null&&(o.current=uG({window:i,v5Compat:!0}));let a=o.current,[s,l]=M.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},f=M.useCallback(d=>{c&&Zj?Zj(()=>l(d)):l(d)},[l,c]);return M.useLayoutEffect(()=>a.listen(f),[a,f]),M.useEffect(()=>ZG(r),[r]),M.createElement(XG,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:a,future:r})}const oq=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aq=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kt=M.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:f,viewTransition:d}=t,p=b6(t,eq),{basename:v}=M.useContext(Ko),y,g=!1;if(typeof c=="string"&&aq.test(c)&&(y=c,oq))try{let w=new URL(window.location.href),S=c.startsWith("//")?new URL(w.protocol+c):new URL(c),P=Ic(S.pathname,v);S.origin===w.origin&&P!=null?c=P+S.search+S.hash:g=!0}catch{}let x=RG(c,{relative:i}),_=lq(c,{replace:a,state:s,target:l,preventScrollReset:f,relative:i,viewTransition:d});function b(w){r&&r(w),w.defaultPrevented||_(w)}return M.createElement("a",jv({},p,{href:y||x,onClick:g||o?r:b,ref:n,target:l}))}),x6=M.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:a=!1,style:s,to:l,viewTransition:c,children:f}=t,d=b6(t,tq),p=Wy(l,{relative:d.relative}),v=mr(),y=M.useContext(p6),{navigator:g,basename:x}=M.useContext(Ko),_=y!=null&&cq(p)&&c===!0,b=g.encodeLocation?g.encodeLocation(p).pathname:p.pathname,w=v.pathname,S=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(w=w.toLowerCase(),S=S?S.toLowerCase():null,b=b.toLowerCase()),S&&x&&(S=Ic(S,x)||S);const P=b!=="/"&&b.endsWith("/")?b.length-1:b.length;let E=w===b||!a&&w.startsWith(b)&&w.charAt(P)==="/",T=S!=null&&(S===b||!a&&S.startsWith(b)&&S.charAt(b.length)==="/"),j={isActive:E,isPending:T,isTransitioning:_},F=E?r:void 0,k;typeof o=="function"?k=o(j):k=[o,E?"active":null,T?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let I=typeof s=="function"?s(j):s;return M.createElement(kt,jv({},d,{"aria-current":F,className:k,ref:n,style:I,to:l,viewTransition:c}),typeof f=="function"?f(j):f)});var hx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hx||(hx={}));var Xj;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xj||(Xj={}));function sq(e){let t=M.useContext(zy);return t||zt(!1),t}function lq(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a,viewTransition:s}=t===void 0?{}:t,l=fo(),c=mr(),f=Wy(e,{relative:a});return M.useCallback(d=>{if(JG(d,n)){d.preventDefault();let p=r!==void 0?r:Ev(c)===Ev(f);l(e,{replace:p,state:i,preventScrollReset:o,relative:a,viewTransition:s})}},[c,l,f,r,i,n,e,o,a,s])}function cq(e,t){t===void 0&&(t={});let n=M.useContext(rq);n==null&&zt(!1);let{basename:r}=sq(hx.useViewTransitionState),i=Wy(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ic(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Ic(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Cv(i.pathname,a)!=null||Cv(i.pathname,o)!=null}const uq="shlink-web-client",fq="A React-based progressive web application for shlink",dq="/shlink-web-client/dependabot/npm_and_yarn/fontawesome-951ff399f8",hq="https://github.com/shlinkio/shlink-web-client",pq="MIT",mq="module",vq={lint:"node --run lint:css && node --run lint:js","lint:css":"stylelint src/*.scss src/**/*.scss","lint:js":"eslint src test config/test","lint:fix":"node --run lint:css:fix && node --run lint:js:fix","lint:css:fix":"node --run lint:css -- --fix","lint:js:fix":"node --run lint:js -- --fix",types:"tsc",start:"vite serve --host=0.0.0.0",preview:"vite preview --host=0.0.0.0",build:"node --run types && vite build && node scripts/replace-version.mjs","build:dist":"node --run build && node scripts/create-dist-file.mjs",test:"vitest run --run","test:watch":"vitest --watch","test:ci":"node --run test -- --coverage","test:verbose":"node --run test -- --verbose"},gq={"@fortawesome/fontawesome-free":"^6.7.1","@fortawesome/fontawesome-svg-core":"^6.7.1","@fortawesome/free-brands-svg-icons":"^6.7.1","@fortawesome/free-regular-svg-icons":"^6.7.1","@fortawesome/free-solid-svg-icons":"^6.7.1","@fortawesome/react-fontawesome":"^0.2.2","@json2csv/plainjs":"^7.0.6","@reduxjs/toolkit":"^2.3.0","@shlinkio/data-manipulation":"^1.0.3","@shlinkio/shlink-frontend-kit":"^0.6.0","@shlinkio/shlink-js-sdk":"^1.2.0","@shlinkio/shlink-web-component":"^0.10.1",bootstrap:"5.2.3",bottlejs:"^2.0.1",clsx:"^2.1.1","compare-versions":"^6.1.1",csvtojson:"^2.0.10","date-fns":"^4.1.0",react:"^18.3.1","react-dom":"^18.3.1","react-external-link":"^2.3.1","react-redux":"^9.1.2","react-router-dom":"^6.28.0",reactstrap:"^9.2.3","redux-localstorage-simple":"^2.5.1","workbox-core":"^7.3.0","workbox-expiration":"^7.3.0","workbox-precaching":"^7.3.0","workbox-routing":"^7.3.0","workbox-strategies":"^7.3.0"},yq={"@shlinkio/eslint-config-js-coding-standard":"~3.2.1","@shlinkio/stylelint-config-css-coding-standard":"~1.1.1","@stylistic/eslint-plugin":"^2.10.1","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@total-typescript/shoehorn":"^0.1.2","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","@types/uuid":"^10.0.0","@vitejs/plugin-react":"^4.3.3","@vitest/coverage-v8":"^2.1.5","adm-zip":"^0.5.16","axe-core":"^4.10.2",chalk:"^5.3.0",eslint:"^9.14.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-react":"^7.37.2","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-simple-import-sort":"^12.1.1",history:"^5.3.0",jsdom:"^25.0.1",sass:"^1.81.0",stylelint:"^15.11.0",typescript:"^5.6.3","typescript-eslint":"^8.13.0",vite:"^5.4.11","vite-plugin-pwa":"^0.21.0",vitest:"^2.0.2"},bq=[">0.2%","not dead","not ie <= 11","not op_mini all"],Av={name:uq,description:fq,private:!1,homepage:dq,repository:hq,license:pq,type:mq,scripts:vq,dependencies:gq,devDependencies:yq,browserslist:bq};var ki,ao=".",w6="function",O6="string",S6="__global__",QS="Provider",_q=0,JS=Array.prototype.slice,xq=function(t,n){var r=t[n];if(r===void 0&&ki.config.strict)throw new Error("Bottle was unable to resolve a service. `"+n+"` is undefined.");return r},Gy=function(t){var n;return this.nested[t]||(n=ki.pop(),this.nested[t]=n,this.factory(t,function(){return n.container})),this.nested[t]},P6=function(t){return t.split(ao).reduce(xq,this)},wq=function(t,n,r,i){var o={configurable:!0,enumerable:!0};return t.length?o.get=function(){var s=0,l=function(f){if(f)throw f;t[s]&&t[s++](r,l)};return l(),r}:(o.value=r,o.writable=!0),Object.defineProperty(i,n,o),i[n]},Oq=function(t,n){var r,i;return typeof t===w6&&(n=t,t=S6),r=t.split(ao),i=r.shift(),r.length?Gy.call(this,i).middleware(r.join(ao),n):(this.middlewares[i]||(this.middlewares[i]=[]),this.middlewares[i].push(n)),this},Sq=function(t,n){return n(t)},Qj=function(t,n){return(t[n]||[]).concat(t.__global__||[])},Pq=function(t,n){var r,i,o,a,s;return this.id,o=this.container,a=this.decorators,s=this.middlewares,r=t+QS,i=Object.create(null),i[r]={configurable:!0,enumerable:!0,get:function(){var c=new n;return delete o[r],o[r]=c,c}},i[t]={configurable:!0,enumerable:!0,get:function(){var c=o[r],f;return c&&(f=Qj(a,t).reduce(Sq,c.$get(o)),delete o[r],delete o[t]),f===void 0?f:wq(Qj(s,t),t,f,o)}},Object.defineProperties(o,i),this},E6=function(t,n){var r,i;return r=t.split(ao),this.providerMap[t]&&r.length===1&&!this.container[t+QS]?console.error(t+" provider already instantiated."):(this.originalProviders[t]=n,this.providerMap[t]=!0,i=r.shift(),r.length?(Gy.call(this,i).provider(r.join(ao),n),this):Pq.call(this,i,n))},eP=function(t,n){return E6.call(this,t,function(){this.$get=n})},C6=function(t,n,r){var i=arguments.length>3?JS.call(arguments,3):[],o=this;return eP.call(this,t,function(){var s=n,l=i.map(P6,o.container);return r?new(n.bind.apply(n,[null].concat(l))):s.apply(null,l)})},Eq=function(t,n){return C6.apply(this,[t,n,!0].concat(JS.call(arguments,2)))},Cq=function(t,n){return C6.apply(this,[t,n,!1].concat(JS.call(arguments,2)))},T6=function(t,n){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:n,writable:!0})},j6=function(t,n){var r=t[n];return r||(r={},T6.call(t,n,r)),r},Tq=function(t,n){var r;return r=t.split(ao),t=r.pop(),T6.call(r.reduce(j6,this.container),t,n),this},jq=function(t,n){Object.defineProperty(this,t,{configurable:!1,enumerable:!0,value:n,writable:!1})},Aq=function(t,n){var r=t.split(ao);return t=r.pop(),jq.call(r.reduce(j6,this.container),t,n),this},A6=function(t,n){var r,i;return typeof t===w6&&(n=t,t=S6),r=t.split(ao),i=r.shift(),r.length?Gy.call(this,i).decorator(r.join(ao),n):(this.decorators[i]||(this.decorators[i]=[]),this.decorators[i].push(n)),this},kq=function(t){return this.deferred.push(t),this},Nq=function(t){return(t||[]).map(P6,this.container)},Mq=function(t,n){return eP.call(this,t,function(i){return{instance:n.bind(n,i)}})},Lq=function(t){return!/^\$(?:decorator|register|list)$|Provider$/.test(t)},tP=function(t){return Object.keys(t||this.container||{}).filter(Lq)},kv={},Rq=function(t){var n;return typeof t===O6?(n=kv[t],n||(kv[t]=n=new ki,n.constant("BOTTLE_NAME",t)),n):new ki},$q=function(t){typeof t===O6?delete kv[t]:kv={}},k6=function(t){var n=t.$value===void 0?t:t.$value;return this[t.$type||"service"].apply(this,[t.$name,n].concat(t.$inject||[]))},Jj=function(t){delete this.providerMap[t],delete this.container[t],delete this.container[t+QS]},Iq=function(t){var n=this.originalProviders,r=Array.isArray(t);Object.keys(this.originalProviders).forEach(function(o){if(!(r&&t.indexOf(o)===-1)){var a=o.split(ao);a.length>1&&a.forEach(Jj,Gy.call(this,a[0])),Jj.call(this,o),this.provider(o,n[o])}},this)},Dq=function(t){return this.deferred.forEach(function(r){r(t)}),this};ki=function e(t){if(!(this instanceof e))return e.pop(t);this.id=_q++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:A6.bind(this),$register:k6.bind(this),$list:tP.bind(this)}};ki.prototype={constant:Aq,decorator:A6,defer:kq,digest:Nq,factory:eP,instanceFactory:Mq,list:tP,middleware:Oq,provider:E6,resetProviders:Iq,register:k6,resolve:Dq,service:Eq,serviceFactory:Cq,value:Tq};ki.pop=Rq;ki.clear=$q;ki.list=tP;ki.config={strict:!1};const N6=ki;var Fq=Object.defineProperty,Bq=(e,t,n)=>t in e?Fq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uq=(e,t,n)=>Bq(e,t+"",n);const zq=(e,t)=>`${e}/rest/v${t}`,Vq=e=>e.dir?`${e.field}-${e.dir}`:void 0,Wq=({orderBy:e={},excludeMaxVisitsReached:t,excludePastValidUntil:n,...r})=>({...r,excludeMaxVisitsReached:t===!0?"true":void 0,excludePastValidUntil:n===!0?"true":void 0,orderBy:Vq(e)}),Hq=(e,t)=>{const[n,r]=e.split("://");if(!r)throw new Error(`It is not possible to determine authority on "${e}" for replacement`);const[,...i]=r.split("/"),o=i.length?`/${i.join("/")}`:"";return`${n}://${t}${o}`},Gq=(e={})=>{const t=Object.entries(e).flatMap(([n,r])=>r==null?[]:Array.isArray(r)?r.map(i=>[`${n}[]`,i]):[[n,r]]);return new URLSearchParams(t).toString()};class qq{constructor(t,n){Uq(this,"apiVersion"),this.httpClient=t,this.serverInfo=n,this.apiVersion=3}async listShortUrls(t={}){return this.performRequest({url:"/short-urls",query:Wq(t)}).then(({shortUrls:n})=>n)}async createShortUrl(t){const n=Object.entries(t).reduce((r,[i,o])=>(o&&(r[i]=o),r),{});return this.performRequest({url:"/short-urls",method:"POST",body:n})}async getShortUrl(t,n){return this.performRequest({url:`/short-urls/${t}`,query:{domain:n}})}async deleteShortUrl(t,n){return this.performEmptyRequest({url:`/short-urls/${t}`,method:"DELETE",query:{domain:n}})}async updateShortUrl(t,n,r){return this.performRequest({url:`/short-urls/${t}`,method:"PATCH",query:{domain:n},body:r})}async getShortUrlRedirectRules(t,n){return this.performRequest({url:`/short-urls/${t}/redirect-rules`,method:"GET",query:{domain:n}})}async setShortUrlRedirectRules(t,n,r){return this.performRequest({url:`/short-urls/${t}/redirect-rules`,method:"POST",query:{domain:n},body:r})}async getVisitsOverview(){return this.performRequest({url:"/visits"}).then(({visits:t})=>t)}async getShortUrlVisits(t,n){return this.performVisitsRequest({url:`/short-urls/${t}/visits`,query:n})}async getTagVisits(t,n){return this.performVisitsRequest({url:`/tags/${t}/visits`,query:n})}async getDomainVisits(t,n){return this.performVisitsRequest({url:`/domains/${t}/visits`,query:n})}async getOrphanVisits(t){return this.performVisitsRequest({url:"/visits/orphan",query:t})}async getNonOrphanVisits(t){return this.performVisitsRequest({url:"/visits/non-orphan",query:t})}async performVisitsRequest(t){return this.performRequest(t).then(({visits:n})=>n)}async deleteShortUrlVisits(t,n){const r=n?{domain:n}:void 0;return this.performRequest({method:"DELETE",url:`/short-urls/${t}/visits`,query:r})}async deleteOrphanVisits(){return this.performRequest({method:"DELETE",url:"/visits/orphan"})}async listTags(){return this.performRequest({url:"/tags",query:{withStats:"true"}}).then(({tags:t})=>t)}async tagsStats(){return this.performRequest({url:"/tags/stats"}).then(({tags:t})=>t)}async deleteTags(t){return this.performEmptyRequest({url:"/tags",method:"DELETE",query:{tags:t}}).then(()=>({tags:t}))}async editTag(t,n){return this.performEmptyRequest({url:"/tags",method:"PUT",body:{oldName:t,newName:n}}).then(()=>({oldName:t,newName:n}))}async listDomains(){return this.performRequest({url:"/domains"}).then(({domains:t})=>t)}async editDomainRedirects(t){return this.performRequest({url:"/domains/redirects",method:"PATCH",body:t})}async health(t){return this.performRequest({url:"/health",domain:t})}async mercureInfo(){return this.performRequest({url:"/mercure-info"})}async performRequest(t){return this.httpClient.jsonRequest(...this.toFetchParams(t))}async performEmptyRequest(t){return this.httpClient.emptyRequest(...this.toFetchParams(t))}toFetchParams({url:t,method:n="GET",query:r={},body:i,domain:o}){const a=Gq(r),s=a?`?${a}`:"",l=o?Hq(this.serverInfo.baseUrl,o):this.serverInfo.baseUrl;return[`${zq(l,this.apiVersion)}${t}${s}`,{method:n,body:i&&JSON.stringify(i),headers:{"X-Api-Key":this.serverInfo.apiKey}}]}}const M6=e=>!!(e!=null&&e.url)&&!!(e!=null&&e.apiKey),nd=e=>!!(e!=null&&e.id),nP=e=>!!(e!=null&&e.version),Kq=e=>!!(e!=null&&e.serverNotFound),Yq=e=>nd(e)?e.id:"",Zq=({name:e,url:t,apiKey:n})=>({name:e,url:t,apiKey:n}),eA={},Xq=e=>typeof e=="function",Qq=e=>{const{selectedServer:t}=e();if(!M6(t))throw new Error("There's no selected server or it is not found");return t},Jq=e=>t=>{const{url:n,apiKey:r}=Xq(t)?Qq(t):t,i=`${r}_${n}`,o=eA[i]??new qq(e,{apiKey:r,baseUrl:n});return eA[i]=o,o},eK=e=>{e.serviceFactory("buildShlinkApiClient",Jq,"HttpClient")};/*! + * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2024 Fonticons, Inc. + */const tK={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},nK={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},rK={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z"]},iK=rK,oK={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},rP=oK,aK={prefix:"fas",iconName:"file-csv",icon:[512,512,[],"f6dd","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 144-208 0c-35.3 0-64 28.7-64 64l0 144-48 0c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM200 352l16 0c22.1 0 40 17.9 40 40l0 8c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-8c0-4.4-3.6-8-8-8l-16 0c-4.4 0-8 3.6-8 8l0 80c0 4.4 3.6 8 8 8l16 0c4.4 0 8-3.6 8-8l0-8c0-8.8 7.2-16 16-16s16 7.2 16 16l0 8c0 22.1-17.9 40-40 40l-16 0c-22.1 0-40-17.9-40-40l0-80c0-22.1 17.9-40 40-40zm133.1 0l34.9 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-34.9 0c-7.2 0-13.1 5.9-13.1 13.1c0 5.2 3 9.9 7.8 12l37.4 16.6c16.3 7.2 26.8 23.4 26.8 41.2c0 24.9-20.2 45.1-45.1 45.1L304 512c-8.8 0-16-7.2-16-16s7.2-16 16-16l42.9 0c7.2 0 13.1-5.9 13.1-13.1c0-5.2-3-9.9-7.8-12l-37.4-16.6c-16.3-7.2-26.8-23.4-26.8-41.2c0-24.9 20.2-45.1 45.1-45.1zm98.9 0c8.8 0 16 7.2 16 16l0 31.6c0 23 5.5 45.6 16 66c10.5-20.3 16-42.9 16-66l0-31.6c0-8.8 7.2-16 16-16s16 7.2 16 16l0 31.6c0 34.7-10.3 68.7-29.6 97.6l-5.1 7.7c-3 4.5-8 7.1-13.3 7.1s-10.3-2.7-13.3-7.1l-5.1-7.7c-19.3-28.9-29.6-62.9-29.6-97.6l0-31.6c0-8.8 7.2-16 16-16z"]},sK={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1 0 32c0 8.8 7.2 16 16 16l32 0zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},L6=sK,R6={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},lK={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},$6={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L192 64zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l288 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-288 0zM16 232l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0z"]},cK={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},uK=cK,fK={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},iP=fK,dK={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32l0 96 64 0 0-96c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l0 32c0 77.4 55 142 128 156.8l0 67.2c0 17.7 14.3 32 32 32s32-14.3 32-32l0-67.2C297 398 352 333.4 352 256l0-32c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160z"]},hK={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6l176.6 0c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"]},pK={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},tA={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 32zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64L64 288zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},mK={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-102.1-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31L216 408z"]},vK=mK,gK={prefix:"fas",iconName:"map-location-dot",icon:[576,512,["map-marked-alt"],"f5a0","M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152l0 270.8c0 9.8-6 18.6-15.1 22.3L416 503l0-302.6zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6l0 251.4L32.9 502.7C17.1 509 0 497.4 0 480.4L0 209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77l0 249.3L192 449.4 192 255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},px=gK,yK={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},bK={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3L344 320c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm0-96a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm96 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},_K={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z"]},xK=_K,oP={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240l0-223.4c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16L304 240zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4L256 288 412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288l238.4 0z"]},qy={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64L0 400c0 44.2 35.8 80 80 80l400 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 416c-8.8 0-16-7.2-16-16L64 64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]},I6={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5L0 80C0 53.5 21.5 32 48 32l149.5 0c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},nA={prefix:"fas",iconName:"calendar-xmark",icon:[448,512,["calendar-times"],"f273","M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zM305 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47z"]},wK={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},OK={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},SK={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},PK=SK,EK={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80L0 229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7L48 32C21.5 32 0 53.5 0 80zm112 32a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},CK={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},aP=CK,D6={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160l50.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L48 224c-17.7 0-32-14.3-32-32L16 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},TK=D6,jK={prefix:"fas",iconName:"grip-vertical",icon:[320,512,[],"f58e","M40 352l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zm192 0l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 320c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 192l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40zM40 160c-22.1 0-40-17.9-40-40L0 72C0 49.9 17.9 32 40 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0zM232 32l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40z"]},AK={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},kK={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},NK=kK,MK={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},LK=MK,RK={prefix:"fas",iconName:"arrow-up-wide-short",icon:[576,512,["sort-amount-up"],"f161","M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 480l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},$K=RK,IK={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM216 232l0 102.1 31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31L168 232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},F6=IK,DK={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM160 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},FK={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},BK={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},UK={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},zK=UK,VK={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},WK={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2 160 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-306.7L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},Vh={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},B6={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},mx=B6,HK={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},GK={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},qK=GK,rA={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32l0 64 120 0c39.8 0 72 32.2 72 72l0 272c0 39.8-32.2 72-72 72l-304 0c-39.8 0-72-32.2-72-72l0-272c0-39.8 32.2-72 72-72l120 0 0-64c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0zM264 256a40 40 0 1 0 -80 0 40 40 0 1 0 80 0zm152 40a40 40 0 1 0 0-80 40 40 0 1 0 0 80zM48 224l16 0 0 192-16 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-16 0 0-192 16 0z"]},U6={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.9 8.4 167.2 8 160.4 8l-.7 0c-6.8 0-13.5 .4-20.1 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM112 176a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 304a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},KK=U6,YK={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48L0 80zM64 96l0 64 64 0 0-64L64 96zM0 336c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zm64 16l0 64 64 0 0-64-64 0zM304 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm80 64l-64 0 0 64 64 0 0-64zM256 304c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s7.2-16 16-16s16 7.2 16 16l0 96c0 8.8-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s-7.2-16-16-16s-16 7.2-16 16l0 64c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-160zM368 480a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm64 0a16 16 0 1 1 0-32 16 16 0 1 1 0 32z"]},ZK={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},XK={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},QK={prefix:"fas",iconName:"link-slash",icon:[640,512,["chain-broken","chain-slash","unlink"],"f127","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z"]},JK={prefix:"fas",iconName:"desktop",icon:[576,512,[128421,61704,"desktop-alt"],"f390","M64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l176 0-10.7 32L160 448c-17.7 0-32 14.3-32 32s14.3 32 32 32l256 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-69.3 0L336 416l176 0c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0zM512 64l0 224L64 288 64 64l448 0z"]},Bd={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},eY={prefix:"fas",iconName:"arrows-split-up-and-left",icon:[512,512,[],"e4bc","M246.6 150.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L352 109.3 352 384c0 35.3 28.7 64 64 64l64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c-70.7 0-128-57.3-128-128c0-35.3-28.7-64-64-64l-114.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 256 224 256c23.3 0 45.2 6.2 64 17.1l0-163.9-41.4 41.4z"]},tY={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},nY=tY;/*! + * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2024 Fonticons, Inc. + */function rY(e,t,n){return(t=oY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t{};let sP={},z6={},V6=null,W6={mark:oA,measure:oA};try{typeof window<"u"&&(sP=window),typeof document<"u"&&(z6=document),typeof MutationObserver<"u"&&(V6=MutationObserver),typeof performance<"u"&&(W6=performance)}catch{}const{userAgent:aA=""}=sP.navigator||{},za=sP,At=z6,sA=V6,nm=W6;za.document;const Zo=!!At.documentElement&&!!At.head&&typeof At.addEventListener=="function"&&typeof At.createElement=="function",H6=~aA.indexOf("MSIE")||~aA.indexOf("Trident/");var aY=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,sY=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,G6={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},lY={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},q6=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Bn="classic",Ky="duotone",cY="sharp",uY="sharp-duotone",K6=[Bn,Ky,cY,uY],fY={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},dY={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},hY=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),pY={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},mY=["fak","fa-kit","fakd","fa-kit-duotone"],lA={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},vY=["kit"],gY={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},yY=["fak","fakd"],bY={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},cA={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},rm={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},_Y=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],xY=["fak","fa-kit","fakd","fa-kit-duotone"],wY={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},OY={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},SY={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},vx={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},PY=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],gx=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",..._Y,...PY],EY=["solid","regular","light","thin","duotone","brands"],Y6=[1,2,3,4,5,6,7,8,9,10],CY=Y6.concat([11,12,13,14,15,16,17,18,19,20]),TY=[...Object.keys(SY),...EY,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",rm.GROUP,rm.SWAP_OPACITY,rm.PRIMARY,rm.SECONDARY].concat(Y6.map(e=>"".concat(e,"x"))).concat(CY.map(e=>"w-".concat(e))),jY={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Io="___FONT_AWESOME___",yx=16,Z6="fa",X6="svg-inline--fa",el="data-fa-i2svg",bx="data-fa-pseudo-element",AY="data-fa-pseudo-element-pending",lP="data-prefix",cP="data-icon",uA="fontawesome-i2svg",kY="async",NY=["HTML","HEAD","STYLE","SCRIPT"],Q6=(()=>{try{return!0}catch{return!1}})();function Wh(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[Bn]}})}const J6=Se({},G6);J6[Bn]=Se(Se(Se(Se({},{"fa-duotone":"duotone"}),G6[Bn]),lA.kit),lA["kit-duotone"]);const MY=Wh(J6),_x=Se({},pY);_x[Bn]=Se(Se(Se(Se({},{duotone:"fad"}),_x[Bn]),cA.kit),cA["kit-duotone"]);const fA=Wh(_x),xx=Se({},vx);xx[Bn]=Se(Se({},xx[Bn]),bY.kit);const uP=Wh(xx),wx=Se({},OY);wx[Bn]=Se(Se({},wx[Bn]),gY.kit);Wh(wx);const LY=aY,eI="fa-layers-text",RY=sY,$Y=Se({},fY);Wh($Y);const IY=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],p1=lY,DY=[...vY,...TY],rd=za.FontAwesomeConfig||{};function FY(e){var t=At.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function BY(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}At&&typeof At.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,r]=t;const i=BY(FY(n));i!=null&&(rd[r]=i)});const tI={styleDefault:"solid",familyDefault:Bn,cssPrefix:Z6,replacementClass:X6,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};rd.familyPrefix&&(rd.cssPrefix=rd.familyPrefix);const Dc=Se(Se({},tI),rd);Dc.autoReplaceSvg||(Dc.observeMutations=!1);const Fe={};Object.keys(tI).forEach(e=>{Object.defineProperty(Fe,e,{enumerable:!0,set:function(t){Dc[e]=t,id.forEach(n=>n(Fe))},get:function(){return Dc[e]}})});Object.defineProperty(Fe,"familyPrefix",{enumerable:!0,set:function(e){Dc.cssPrefix=e,id.forEach(t=>t(Fe))},get:function(){return Dc.cssPrefix}});za.FontAwesomeConfig=Fe;const id=[];function UY(e){return id.push(e),()=>{id.splice(id.indexOf(e),1)}}const oa=yx,Yi={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function zY(e){if(!e||!Zo)return;const t=At.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=At.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}return At.head.insertBefore(t,r),e}const VY="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ud(){let e=12,t="";for(;e-- >0;)t+=VY[Math.random()*62|0];return t}function Tu(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function fP(e){return e.classList?Tu(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function nI(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function WY(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(nI(e[n]),'" '),"").trim()}function Yy(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function dP(e){return e.size!==Yi.size||e.x!==Yi.x||e.y!==Yi.y||e.rotate!==Yi.rotate||e.flipX||e.flipY}function HY(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function GY(e){let{transform:t,width:n=yx,height:r=yx,startCentered:i=!1}=e,o="";return i&&H6?o+="translate(".concat(t.x/oa-n/2,"em, ").concat(t.y/oa-r/2,"em) "):i?o+="translate(calc(-50% + ".concat(t.x/oa,"em), calc(-50% + ").concat(t.y/oa,"em)) "):o+="translate(".concat(t.x/oa,"em, ").concat(t.y/oa,"em) "),o+="scale(".concat(t.size/oa*(t.flipX?-1:1),", ").concat(t.size/oa*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}var qY=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; + --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; + --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; + --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; + --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; + --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; + --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + transform: scale(var(--fa-counter-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + transform: scale(var(--fa-layers-scale, 0.25)); + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(-1 * var(--fa-li-width, 2em)); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + animation-name: fa-beat; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + animation-name: fa-bounce; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + animation-name: fa-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + animation-name: fa-beat-fade; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + animation-name: fa-flip; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + animation-name: fa-shake; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + animation-name: fa-spin; + animation-delay: var(--fa-animation-delay, 0s); + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 2s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + animation-name: fa-spin; + animation-direction: var(--fa-animation-direction, normal); + animation-duration: var(--fa-animation-duration, 1s); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + animation-delay: -1ms; + animation-duration: 1ms; + animation-iteration-count: 1; + transition-delay: 0s; + transition-duration: 0s; + } +} +@keyframes fa-beat { + 0%, 90% { + transform: scale(1); + } + 45% { + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-bounce { + 0% { + transform: scale(1, 1) translateY(0); + } + 10% { + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + transform: scale(1, 1) translateY(0); + } + 100% { + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + transform: scale(1); + } + 50% { + opacity: 1; + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-flip { + 50% { + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-shake { + 0% { + transform: rotate(-15deg); + } + 4% { + transform: rotate(15deg); + } + 8%, 24% { + transform: rotate(-18deg); + } + 12%, 28% { + transform: rotate(18deg); + } + 16% { + transform: rotate(-22deg); + } + 20% { + transform: rotate(22deg); + } + 32% { + transform: rotate(-12deg); + } + 36% { + transform: rotate(12deg); + } + 40%, 100% { + transform: rotate(0deg); + } +} +@keyframes fa-spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} +.fa-rotate-90 { + transform: rotate(90deg); +} + +.fa-rotate-180 { + transform: rotate(180deg); +} + +.fa-rotate-270 { + transform: rotate(270deg); +} + +.fa-flip-horizontal { + transform: scale(-1, 1); +} + +.fa-flip-vertical { + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + transform: scale(-1, -1); +} + +.fa-rotate-by { + transform: rotate(var(--fa-rotate-angle, 0)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-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; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +}`;function rI(){const e=Z6,t=X6,n=Fe.cssPrefix,r=Fe.replacementClass;let i=qY;if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let dA=!1;function m1(){Fe.autoAddCss&&!dA&&(zY(rI()),dA=!0)}var KY={mixout(){return{dom:{css:rI,insertCss:m1}}},hooks(){return{beforeDOMElementCreation(){m1()},beforeI2svg(){m1()}}}};const Do=za||{};Do[Io]||(Do[Io]={});Do[Io].styles||(Do[Io].styles={});Do[Io].hooks||(Do[Io].hooks={});Do[Io].shims||(Do[Io].shims=[]);var Zi=Do[Io];const iI=[],oI=function(){At.removeEventListener("DOMContentLoaded",oI),Nv=1,iI.map(e=>e())};let Nv=!1;Zo&&(Nv=(At.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(At.readyState),Nv||At.addEventListener("DOMContentLoaded",oI));function YY(e){Zo&&(Nv?setTimeout(e,0):iI.push(e))}function Hh(e){const{tag:t,attributes:n={},children:r=[]}=e;return typeof e=="string"?nI(e):"<".concat(t," ").concat(WY(n),">").concat(r.map(Hh).join(""),"")}function hA(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var v1=function(t,n,r,i){var o=Object.keys(t),a=o.length,s=n,l,c,f;for(r===void 0?(l=1,f=t[o[0]]):(l=0,f=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function pA(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Sx(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:r=!1}=n,i=pA(t);typeof Zi.hooks.addPack=="function"&&!r?Zi.hooks.addPack(e,pA(t)):Zi.styles[e]=Se(Se({},Zi.styles[e]||{}),i),e==="fas"&&Sx("fa",t)}const{styles:zd,shims:QY}=Zi,aI=Object.keys(uP),JY=aI.reduce((e,t)=>(e[t]=Object.keys(uP[t]),e),{});let hP=null,sI={},lI={},cI={},uI={},fI={};function eZ(e){return~DY.indexOf(e)}function tZ(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!eZ(i)?i:null}const dI=()=>{const e=r=>v1(zd,(i,o,a)=>(i[a]=v1(o,r,{}),i),{});sI=e((r,i,o)=>(i[3]&&(r[i[3]]=o),i[2]&&i[2].filter(s=>typeof s=="number").forEach(s=>{r[s.toString(16)]=o}),r)),lI=e((r,i,o)=>(r[o]=o,i[2]&&i[2].filter(s=>typeof s=="string").forEach(s=>{r[s]=o}),r)),fI=e((r,i,o)=>{const a=i[2];return r[o]=o,a.forEach(s=>{r[s]=o}),r});const t="far"in zd||Fe.autoFetchSvg,n=v1(QY,(r,i)=>{const o=i[0];let a=i[1];const s=i[2];return a==="far"&&!t&&(a="fas"),typeof o=="string"&&(r.names[o]={prefix:a,iconName:s}),typeof o=="number"&&(r.unicodes[o.toString(16)]={prefix:a,iconName:s}),r},{names:{},unicodes:{}});cI=n.names,uI=n.unicodes,hP=Zy(Fe.styleDefault,{family:Fe.familyDefault})};UY(e=>{hP=Zy(e.styleDefault,{family:Fe.familyDefault})});dI();function pP(e,t){return(sI[e]||{})[t]}function nZ(e,t){return(lI[e]||{})[t]}function $s(e,t){return(fI[e]||{})[t]}function hI(e){return cI[e]||{prefix:null,iconName:null}}function rZ(e){const t=uI[e],n=pP("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Va(){return hP}const pI=()=>({prefix:null,iconName:null,rest:[]});function iZ(e){let t=Bn;const n=aI.reduce((r,i)=>(r[i]="".concat(Fe.cssPrefix,"-").concat(i),r),{});return K6.forEach(r=>{(e.includes(n[r])||e.some(i=>JY[r].includes(i)))&&(t=r)}),t}function Zy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=Bn}=t,r=MY[n][e];if(n===Ky&&!e)return"fad";const i=fA[n][e]||fA[n][r],o=e in Zi.styles?e:null;return i||o||null}function oZ(e){let t=[],n=null;return e.forEach(r=>{const i=tZ(Fe.cssPrefix,r);i?n=i:r&&t.push(r)}),{iconName:n,rest:t}}function mA(e){return e.sort().filter((t,n,r)=>r.indexOf(t)===n)}function Xy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const i=gx.concat(xY),o=mA(e.filter(d=>i.includes(d))),a=mA(e.filter(d=>!gx.includes(d))),s=o.filter(d=>(r=d,!q6.includes(d))),[l=null]=s,c=iZ(o),f=Se(Se({},oZ(a)),{},{prefix:Zy(l,{family:c})});return Se(Se(Se({},f),cZ({values:e,family:c,styles:zd,config:Fe,canonical:f,givenPrefix:r})),aZ(n,r,f))}function aZ(e,t,n){let{prefix:r,iconName:i}=n;if(e||!r||!i)return{prefix:r,iconName:i};const o=t==="fa"?hI(i):{},a=$s(r,i);return i=o.iconName||a||i,r=o.prefix||r,r==="far"&&!zd.far&&zd.fas&&!Fe.autoFetchSvg&&(r="fas"),{prefix:r,iconName:i}}const sZ=K6.filter(e=>e!==Bn||e!==Ky),lZ=Object.keys(vx).filter(e=>e!==Bn).map(e=>Object.keys(vx[e])).flat();function cZ(e){const{values:t,family:n,canonical:r,givenPrefix:i="",styles:o={},config:a={}}=e,s=n===Ky,l=t.includes("fa-duotone")||t.includes("fad"),c=a.familyDefault==="duotone",f=r.prefix==="fad"||r.prefix==="fa-duotone";if(!s&&(l||c||f)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&sZ.includes(n)&&(Object.keys(o).find(p=>lZ.includes(p))||a.autoFetchSvg)){const p=hY.get(n).defaultShortPrefixId;r.prefix=p,r.iconName=$s(r.prefix,r.iconName)||r.iconName}return(r.prefix==="fa"||i==="fa")&&(r.prefix=Va()||"fas"),r}class uZ{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),r=0;r{this.definitions[o]=Se(Se({},this.definitions[o]||{}),i[o]),Sx(o,i[o]);const a=uP[Bn][o];a&&Sx(a,i[o]),dI()})}reset(){this.definitions={}}_pullDefinitions(t,n){const r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(i=>{const{prefix:o,iconName:a,icon:s}=r[i],l=s[2];t[o]||(t[o]={}),l.length>0&&l.forEach(c=>{typeof c=="string"&&(t[o][c]=s)}),t[o][a]=s}),t}}let vA=[],uc={};const Sc={},fZ=Object.keys(Sc);function dZ(e,t){let{mixoutsTo:n}=t;return vA=e,uc={},Object.keys(Sc).forEach(r=>{fZ.indexOf(r)===-1&&delete Sc[r]}),vA.forEach(r=>{const i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(o=>{typeof i[o]=="function"&&(n[o]=i[o]),typeof i[o]=="object"&&Object.keys(i[o]).forEach(a=>{n[o]||(n[o]={}),n[o][a]=i[o][a]})}),r.hooks){const o=r.hooks();Object.keys(o).forEach(a=>{uc[a]||(uc[a]=[]),uc[a].push(o[a])})}r.provides&&r.provides(Sc)}),n}function Px(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i{t=a.apply(null,[t,...r])}),t}function tl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{o.apply(null,n)})}function Wa(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Sc[e]?Sc[e].apply(null,t):void 0}function Ex(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Va();if(t)return t=$s(n,t)||t,hA(mI.definitions,n,t)||hA(Zi.styles,n,t)}const mI=new uZ,hZ=()=>{Fe.autoReplaceSvg=!1,Fe.observeMutations=!1,tl("noAuto")},pZ={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Zo?(tl("beforeI2svg",e),Wa("pseudoElements2svg",e),Wa("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Fe.autoReplaceSvg===!1&&(Fe.autoReplaceSvg=!0),Fe.observeMutations=!0,YY(()=>{vZ({autoReplaceSvgRoot:t}),tl("watch",e)})}},mZ={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:$s(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=Zy(e[0]);return{prefix:n,iconName:$s(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Fe.cssPrefix,"-"))>-1||e.match(LY))){const t=Xy(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Va(),iconName:$s(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Va();return{prefix:t,iconName:$s(t,e)||e}}}},$r={noAuto:hZ,config:Fe,dom:pZ,parse:mZ,library:mI,findIconDefinition:Ex,toHtml:Hh},vZ=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=At}=e;(Object.keys(Zi.styles).length>0||Fe.autoFetchSvg)&&Zo&&Fe.autoReplaceSvg&&$r.dom.i2svg({node:t})};function Qy(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Hh(n))}}),Object.defineProperty(e,"node",{get:function(){if(!Zo)return;const n=At.createElement("div");return n.innerHTML=e.html,n.children}}),e}function gZ(e){let{children:t,main:n,mask:r,attributes:i,styles:o,transform:a}=e;if(dP(a)&&n.found&&!r.found){const{width:s,height:l}=n,c={x:s/l/2,y:.5};i.style=Yy(Se(Se({},o),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function yZ(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:o}=e;const a=o===!0?"".concat(t,"-").concat(Fe.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Se(Se({},i),{},{id:a}),children:r}]}]}function mP(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:o,symbol:a,title:s,maskId:l,titleId:c,extra:f,watchable:d=!1}=e,{width:p,height:v}=n.found?n:t,y=yY.includes(r),g=[Fe.replacementClass,i?"".concat(Fe.cssPrefix,"-").concat(i):""].filter(P=>f.classes.indexOf(P)===-1).filter(P=>P!==""||!!P).concat(f.classes).join(" ");let x={children:[],attributes:Se(Se({},f.attributes),{},{"data-prefix":r,"data-icon":i,class:g,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(v)})};const _=y&&!~f.classes.indexOf("fa-fw")?{width:"".concat(p/v*16*.0625,"em")}:{};d&&(x.attributes[el]=""),s&&(x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(c||Ud())},children:[s]}),delete x.attributes.title);const b=Se(Se({},x),{},{prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:o,symbol:a,styles:Se(Se({},_),f.styles)}),{children:w,attributes:S}=n.found&&t.found?Wa("generateAbstractMask",b)||{children:[],attributes:{}}:Wa("generateAbstractIcon",b)||{children:[],attributes:{}};return b.children=w,b.attributes=S,a?yZ(b):gZ(b)}function gA(e){const{content:t,width:n,height:r,transform:i,title:o,extra:a,watchable:s=!1}=e,l=Se(Se(Se({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});s&&(l[el]="");const c=Se({},a.styles);dP(i)&&(c.transform=GY({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const f=Yy(c);f.length>0&&(l.style=f);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}function bZ(e){const{content:t,title:n,extra:r}=e,i=Se(Se(Se({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Yy(r.styles);o.length>0&&(i.style=o);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}const{styles:g1}=Zi;function Cx(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return Array.isArray(r)?i={tag:"g",attributes:{class:"".concat(Fe.cssPrefix,"-").concat(p1.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Fe.cssPrefix,"-").concat(p1.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Fe.cssPrefix,"-").concat(p1.PRIMARY),fill:"currentColor",d:r[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const _Z={found:!1,width:512,height:512};function xZ(e,t){!Q6&&!Fe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Tx(e,t){let n=t;return t==="fa"&&Fe.styleDefault!==null&&(t=Va()),new Promise((r,i)=>{if(n==="fa"){const o=hI(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&g1[t]&&g1[t][e]){const o=g1[t][e];return r(Cx(o))}xZ(e,t),r(Se(Se({},_Z),{},{icon:Fe.showMissingIcons&&e?Wa("missingIconAbstract")||{}:{}}))})}const yA=()=>{},jx=Fe.measurePerformance&&nm&&nm.mark&&nm.measure?nm:{mark:yA,measure:yA},Uf='FA "6.7.1"',wZ=e=>(jx.mark("".concat(Uf," ").concat(e," begins")),()=>vI(e)),vI=e=>{jx.mark("".concat(Uf," ").concat(e," ends")),jx.measure("".concat(Uf," ").concat(e),"".concat(Uf," ").concat(e," begins"),"".concat(Uf," ").concat(e," ends"))};var vP={begin:wZ,end:vI};const Vm=()=>{};function bA(e){return typeof(e.getAttribute?e.getAttribute(el):null)=="string"}function OZ(e){const t=e.getAttribute?e.getAttribute(lP):null,n=e.getAttribute?e.getAttribute(cP):null;return t&&n}function SZ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Fe.replacementClass)}function PZ(){return Fe.autoReplaceSvg===!0?Wm.replace:Wm[Fe.autoReplaceSvg]||Wm.replace}function EZ(e){return At.createElementNS("http://www.w3.org/2000/svg",e)}function CZ(e){return At.createElement(e)}function gI(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?EZ:CZ}=t;if(typeof e=="string")return At.createTextNode(e);const r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(o){r.setAttribute(o,e.attributes[o])}),(e.children||[]).forEach(function(o){r.appendChild(gI(o,{ceFn:n}))}),r}function TZ(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Wm={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(gI(n),t)}),t.getAttribute(el)===null&&Fe.keepOriginalSource){let n=At.createComment(TZ(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~fP(t).indexOf(Fe.replacementClass))return Wm.replace(e);const r=new RegExp("".concat(Fe.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const o=n[0].attributes.class.split(" ").reduce((a,s)=>(s===Fe.replacementClass||s.match(r)?a.toSvg.push(s):a.toNode.push(s),a),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}const i=n.map(o=>Hh(o)).join(` +`);t.setAttribute(el,""),t.innerHTML=i}};function _A(e){e()}function yI(e,t){const n=typeof t=="function"?t:Vm;if(e.length===0)n();else{let r=_A;Fe.mutateApproach===kY&&(r=za.requestAnimationFrame||_A),r(()=>{const i=PZ(),o=vP.begin("mutate");e.map(i),o(),n()})}}let gP=!1;function bI(){gP=!0}function Ax(){gP=!1}let Mv=null;function xA(e){if(!sA||!Fe.observeMutations)return;const{treeCallback:t=Vm,nodeCallback:n=Vm,pseudoElementsCallback:r=Vm,observeMutationsRoot:i=At}=e;Mv=new sA(o=>{if(gP)return;const a=Va();Tu(o).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!bA(s.addedNodes[0])&&(Fe.searchPseudoElements&&r(s.target),t(s.target)),s.type==="attributes"&&s.target.parentNode&&Fe.searchPseudoElements&&r(s.target.parentNode),s.type==="attributes"&&bA(s.target)&&~IY.indexOf(s.attributeName))if(s.attributeName==="class"&&OZ(s.target)){const{prefix:l,iconName:c}=Xy(fP(s.target));s.target.setAttribute(lP,l||a),c&&s.target.setAttribute(cP,c)}else SZ(s.target)&&n(s.target)})}),Zo&&Mv.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function jZ(){Mv&&Mv.disconnect()}function AZ(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((r,i)=>{const o=i.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(r[a]=s.join(":").trim()),r},{})),n}function kZ(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"";let i=Xy(fP(e));return i.prefix||(i.prefix=Va()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=nZ(i.prefix,e.innerText)||pP(i.prefix,Ox(e.innerText))),!i.iconName&&Fe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function NZ(e){const t=Tu(e.attributes).reduce((i,o)=>(i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Fe.autoA11y&&(n?t["aria-labelledby"]="".concat(Fe.replacementClass,"-title-").concat(r||Ud()):(t["aria-hidden"]="true",t.focusable="false")),t}function MZ(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Yi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function wA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=kZ(e),o=NZ(e),a=Px("parseNodeAttributes",{},e);let s=t.styleParser?AZ(e):[];return Se({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Yi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o}},a)}const{styles:LZ}=Zi;function _I(e){const t=Fe.autoReplaceSvg==="nest"?wA(e,{styleParser:!1}):wA(e);return~t.extra.classes.indexOf(eI)?Wa("generateLayersText",e,t):Wa("generateSvgReplacementMutation",e,t)}function RZ(){return[...mY,...gx]}function OA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Zo)return Promise.resolve();const n=At.documentElement.classList,r=f=>n.add("".concat(uA,"-").concat(f)),i=f=>n.remove("".concat(uA,"-").concat(f)),o=Fe.autoFetchSvg?RZ():q6.concat(Object.keys(LZ));o.includes("fa")||o.push("fa");const a=[".".concat(eI,":not([").concat(el,"])")].concat(o.map(f=>".".concat(f,":not([").concat(el,"])"))).join(", ");if(a.length===0)return Promise.resolve();let s=[];try{s=Tu(e.querySelectorAll(a))}catch{}if(s.length>0)r("pending"),i("complete");else return Promise.resolve();const l=vP.begin("onTree"),c=s.reduce((f,d)=>{try{const p=_I(d);p&&f.push(p)}catch(p){Q6||p.name==="MissingIcon"&&console.error(p)}return f},[]);return new Promise((f,d)=>{Promise.all(c).then(p=>{yI(p,()=>{r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),f()})}).catch(p=>{l(),d(p)})})}function $Z(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;_I(e).then(n=>{n&&yI([n],t)})}function IZ(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=(t||{}).icon?t:Ex(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:Ex(i||{})),e(r,Se(Se({},n),{},{mask:i}))}}const DZ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Yi,symbol:r=!1,mask:i=null,maskId:o=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:f={}}=t;if(!e)return;const{prefix:d,iconName:p,icon:v}=e;return Qy(Se({type:"icon"},e),()=>(tl("beforeDOMElementCreation",{iconDefinition:e,params:t}),Fe.autoA11y&&(a?c["aria-labelledby"]="".concat(Fe.replacementClass,"-title-").concat(s||Ud()):(c["aria-hidden"]="true",c.focusable="false")),mP({icons:{main:Cx(v),mask:i?Cx(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:Se(Se({},Yi),n),symbol:r,title:a,maskId:o,titleId:s,extra:{attributes:c,styles:f,classes:l}})))};var FZ={mixout(){return{icon:IZ(DZ)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=OA,e.nodeCallback=$Z,e}}},provides(e){e.i2svg=function(t){const{node:n=At,callback:r=()=>{}}=t;return OA(n,r)},e.generateSvgReplacementMutation=function(t,n){const{iconName:r,title:i,titleId:o,prefix:a,transform:s,symbol:l,mask:c,maskId:f,extra:d}=n;return new Promise((p,v)=>{Promise.all([Tx(r,a),c.iconName?Tx(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(y=>{let[g,x]=y;p([t,mP({icons:{main:g,mask:x},prefix:a,iconName:r,transform:s,symbol:l,maskId:f,title:i,titleId:o,extra:d,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:n,attributes:r,main:i,transform:o,styles:a}=t;const s=Yy(a);s.length>0&&(r.style=s);let l;return dP(o)&&(l=Wa("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(l||i.icon),{children:n,attributes:r}}}},BZ={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return Qy({type:"layer"},()=>{tl("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e(i=>{Array.isArray(i)?i.map(o=>{r=r.concat(o.abstract)}):r=r.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(Fe.cssPrefix,"-layers"),...n].join(" ")},children:r}]})}}}},UZ={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:o={}}=t;return Qy({type:"counter",content:e},()=>(tl("beforeDOMElementCreation",{content:e,params:t}),bZ({content:e.toString(),title:n,extra:{attributes:i,styles:o,classes:["".concat(Fe.cssPrefix,"-layers-counter"),...r]}})))}}}},zZ={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Yi,title:r=null,classes:i=[],attributes:o={},styles:a={}}=t;return Qy({type:"text",content:e},()=>(tl("beforeDOMElementCreation",{content:e,params:t}),gA({content:e,transform:Se(Se({},Yi),n),title:r,extra:{attributes:o,styles:a,classes:["".concat(Fe.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:r,transform:i,extra:o}=n;let a=null,s=null;if(H6){const l=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();a=c.width/l,s=c.height/l}return Fe.autoA11y&&!r&&(o.attributes["aria-hidden"]="true"),Promise.resolve([t,gA({content:t.innerHTML,width:a,height:s,transform:i,title:r,extra:o,watchable:!0})])}}};const VZ=new RegExp('"',"ug"),SA=[1105920,1112319],PA=Se(Se(Se(Se({},{FontAwesome:{normal:"fas",400:"fas"}}),dY),jY),wY),kx=Object.keys(PA).reduce((e,t)=>(e[t.toLowerCase()]=PA[t],e),{}),WZ=Object.keys(kx).reduce((e,t)=>{const n=kx[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function HZ(e){const t=e.replace(VZ,""),n=XY(t,0),r=n>=SA[0]&&n<=SA[1],i=t.length===2?t[0]===t[1]:!1;return{value:Ox(i?t[0]:t),isSecondary:r||i}}function GZ(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(kx[n]||{})[i]||WZ[n]}function EA(e,t){const n="".concat(AY).concat(t.replace(":","-"));return new Promise((r,i)=>{if(e.getAttribute(n)!==null)return r();const a=Tu(e.children).filter(p=>p.getAttribute(bx)===t)[0],s=za.getComputedStyle(e,t),l=s.getPropertyValue("font-family"),c=l.match(RY),f=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(a&&!c)return e.removeChild(a),r();if(c&&d!=="none"&&d!==""){const p=s.getPropertyValue("content");let v=GZ(l,f);const{value:y,isSecondary:g}=HZ(p),x=c[0].startsWith("FontAwesome");let _=pP(v,y),b=_;if(x){const w=rZ(y);w.iconName&&w.prefix&&(_=w.iconName,v=w.prefix)}if(_&&!g&&(!a||a.getAttribute(lP)!==v||a.getAttribute(cP)!==b)){e.setAttribute(n,b),a&&e.removeChild(a);const w=MZ(),{extra:S}=w;S.attributes[bx]=t,Tx(_,v).then(P=>{const E=mP(Se(Se({},w),{},{icons:{main:P,mask:pI()},prefix:v,iconName:b,extra:S,watchable:!0})),T=At.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(T,e.firstChild):e.appendChild(T),T.outerHTML=E.map(j=>Hh(j)).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function qZ(e){return Promise.all([EA(e,"::before"),EA(e,"::after")])}function KZ(e){return e.parentNode!==document.head&&!~NY.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(bx)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function CA(e){if(Zo)return new Promise((t,n)=>{const r=Tu(e.querySelectorAll("*")).filter(KZ).map(qZ),i=vP.begin("searchPseudoElements");bI(),Promise.all(r).then(()=>{i(),Ax(),t()}).catch(()=>{i(),Ax(),n()})})}var YZ={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=CA,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=At}=t;Fe.searchPseudoElements&&CA(n)}}};let TA=!1;var ZZ={mixout(){return{dom:{unwatch(){bI(),TA=!0}}}},hooks(){return{bootstrap(){xA(Px("mutationObserverCallbacks",{}))},noAuto(){jZ()},watch(e){const{observeMutationsRoot:t}=e;TA?Ax():xA(Px("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const jA=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,r)=>{const i=r.toLowerCase().split("-"),o=i[0];let a=i.slice(1).join("-");if(o&&a==="h")return n.flipX=!0,n;if(o&&a==="v")return n.flipY=!0,n;if(a=parseFloat(a),isNaN(a))return n;switch(o){case"grow":n.size=n.size+a;break;case"shrink":n.size=n.size-a;break;case"left":n.x=n.x-a;break;case"right":n.x=n.x+a;break;case"up":n.y=n.y-a;break;case"down":n.y=n.y+a;break;case"rotate":n.rotate=n.rotate+a;break}return n},t)};var XZ={mixout(){return{parse:{transform:e=>jA(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=jA(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:r,containerWidth:i,iconWidth:o}=t;const a={transform:"translate(".concat(i/2," 256)")},s="translate(".concat(r.x*32,", ").concat(r.y*32,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),c="rotate(".concat(r.rotate," 0 0)"),f={transform:"".concat(s," ").concat(l," ").concat(c)},d={transform:"translate(".concat(o/2*-1," -256)")},p={outer:a,inner:f,path:d};return{tag:"g",attributes:Se({},p.outer),children:[{tag:"g",attributes:Se({},p.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Se(Se({},n.icon.attributes),p.path)}]}]}}}};const y1={x:0,y:0,width:"100%",height:"100%"};function AA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function QZ(e){return e.tag==="g"?e.children:[e]}var JZ={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Xy(n.split(" ").map(i=>i.trim())):pI();return r.prefix||(r.prefix=Va()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:r,main:i,mask:o,maskId:a,transform:s}=t;const{width:l,icon:c}=i,{width:f,icon:d}=o,p=HY({transform:s,containerWidth:f,iconWidth:l}),v={tag:"rect",attributes:Se(Se({},y1),{},{fill:"white"})},y=c.children?{children:c.children.map(AA)}:{},g={tag:"g",attributes:Se({},p.inner),children:[AA(Se({tag:c.tag,attributes:Se(Se({},c.attributes),p.path)},y))]},x={tag:"g",attributes:Se({},p.outer),children:[g]},_="mask-".concat(a||Ud()),b="clip-".concat(a||Ud()),w={tag:"mask",attributes:Se(Se({},y1),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,x]},S={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:QZ(d)},w]};return n.push(S,{tag:"rect",attributes:Se({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(_,")")},y1)}),{children:n,attributes:r}}}},eX={provides(e){let t=!1;za.matchMedia&&(t=za.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],r={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Se(Se({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const o=Se(Se({},i),{},{attributeName:"opacity"}),a={tag:"circle",attributes:Se(Se({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:Se(Se({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Se(Se({},o),{},{values:"1;0;1;1;0;1;"})}),n.push(a),n.push({tag:"path",attributes:Se(Se({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Se(Se({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:Se(Se({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Se(Se({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},tX={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=n===null?!1:n===""?!0:n;return e.symbol=r,e}}}},nX=[KY,FZ,BZ,UZ,zZ,YZ,ZZ,XZ,JZ,eX,tX];dZ(nX,{mixoutsTo:$r});$r.noAuto;$r.config;$r.library;$r.dom;const Nx=$r.parse;$r.findIconDefinition;$r.toHtml;const rX=$r.icon;$r.layer;$r.text;$r.counter;var xI={exports:{}},iX="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",oX=iX,aX=oX;function wI(){}function OI(){}OI.resetWarningCache=wI;var sX=function(){function e(r,i,o,a,s,l){if(l!==aX){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:OI,resetWarningCache:wI};return n.PropTypes=n,n};xI.exports=sX();var lX=xI.exports;const $=st(lX);function kA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qi(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function uX(e,t){if(e==null)return{};var n=cX(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mx(e){return fX(e)||dX(e)||hX(e)||pX()}function fX(e){if(Array.isArray(e))return Lx(e)}function dX(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hX(e,t){if(e){if(typeof e=="string")return Lx(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lx(e,t)}}function Lx(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return PI(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var f=t.attributes[c];switch(c){case"class":l.attrs.className=f,delete t.attributes.class;break;case"style":l.attrs.style=bX(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=f:l.attrs[SI(c)]=f}return l},{attrs:{}}),o=n.style,a=o===void 0?{}:o,s=uX(n,gX);return i.attrs.style=qi(qi({},i.attrs.style),a),e.apply(void 0,[t.tag,qi(qi({},i.attrs),s)].concat(Mx(r)))}var EI=!1;try{EI=!0}catch{}function _X(){if(!EI&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function NA(e){if(e&&Lv(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Nx.icon)return Nx.icon(e);if(e===null)return null;if(e&&Lv(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function b1(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?fc({},e,t):{}}var MA={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Ae=V.forwardRef(function(e,t){var n=qi(qi({},MA),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,f=NA(r),d=b1("classes",[].concat(Mx(mX(n)),Mx((a||"").split(" ")))),p=b1("transform",typeof n.transform=="string"?Nx.transform(n.transform):n.transform),v=b1("mask",NA(i)),y=rX(f,qi(qi(qi(qi({},d),p),v),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!y)return _X("Could not find icon",f),null;var g=y.abstract,x={ref:t};return Object.keys(n).forEach(function(_){MA.hasOwnProperty(_)||(x[_]=n[_])}),xX(g[0],x)});Ae.displayName="FontAwesomeIcon";Ae.propTypes={beat:$.bool,border:$.bool,beatFade:$.bool,bounce:$.bool,className:$.string,fade:$.bool,flash:$.bool,mask:$.oneOfType([$.object,$.array,$.string]),maskId:$.string,fixedWidth:$.bool,inverse:$.bool,flip:$.oneOf([!0,!1,"horizontal","vertical","both"]),icon:$.oneOfType([$.object,$.array,$.string]),listItem:$.bool,pull:$.oneOf(["right","left"]),pulse:$.bool,rotation:$.oneOf([0,90,180,270]),shake:$.bool,size:$.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:$.bool,spinPulse:$.bool,spinReverse:$.bool,symbol:$.oneOfType([$.bool,$.string]),title:$.string,titleId:$.string,transform:$.oneOfType([$.string,$.object]),swapOpacity:$.bool};var xX=PI.bind(null,V.createElement);function CI(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t0?"".concat(e,"px"):null}function EX(){return document.body.clientWidth0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:jX;return t?e.split(" ").map(function(n){return t[n]||n}).join(" "):e}function Ja(e,t){var n={};return Object.keys(e).forEach(function(r){t.indexOf(r)===-1&&(n[r]=e[r])}),n}function AI(e,t){for(var n=Array.isArray(t)?t:[t],r=n.length,i,o={};r>0;)r-=1,i=n[r],o[i]=e[i];return o}var RA={};function Rx(e){RA[e]||(typeof console<"u"&&console.error(e),RA[e]=!0)}function kI(e,t){return function(r,i,o){r[i]!==null&&typeof r[i]<"u"&&Rx('"'.concat(i,'" property of "').concat(o,`" has been deprecated. +`).concat(t));for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l"u"?"undefined":nl(window))==="object"&&window.Element||function(){};function yP(e,t,n){if(!(e[t]instanceof AX))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var Fc=$.oneOfType([$.string,$.func,yP,$.shape({current:$.any})]),ot=$.oneOfType([$.func,$.string,$.shape({$$typeof:$.symbol,render:$.func}),$.arrayOf($.oneOfType([$.func,$.string,$.shape({$$typeof:$.symbol,render:$.func})]))]),Rv={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},$v=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],im={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},ht={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},kX=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],bP=!!(typeof window<"u"&&window.document&&window.document.createElement);function NX(e){return e&&nl(e)==="object"?"current"in e:!1}function NI(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function $x(e){var t=nl(e);return e!=null&&(t==="object"||t==="function")}function $A(e){var t=nl(e),n=NaN;if(t==="number")return e;if(t==="symbol"||t==="object"&&NI(e)==="[object Symbol]")return n;if($x(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=$x(r)?"".concat(r):r}if(t!=="string")return e===0?e:+e;e=e.replace(/^\s+|\s+$/g,"");var i=/^0b[01]+$/i.test(e);return i||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),i?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?n:+e}function MX(e){if(!$x(e))return!1;var t=NI(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object Proxy]"}function LX(e){if(NX(e))return e.current;if(MX(e))return e();if(typeof e=="string"&&bP){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#".concat(e))),!t.length)throw new Error("The target '".concat(e,"' could not be identified in the dom, tip: check spelling"));return t}return e}function IA(e){return e===null?!1:Array.isArray(e)||bP&&typeof e.length=="number"}function Vd(e,t){var n=LX(e);return t?IA(n)?n:n===null?[]:[n]:IA(n)?n[0]:n}var RX=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal):not(.offcanvas)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function _P(e,t){if(!e||!t)return t;var n=OX({},t);return Object.keys(e).forEach(function(r){n[r]===void 0&&(n[r]=e[r]),Object.keys(e[r]||{}).length>0&&nl(e[r])==="object"&&_P(e[r],n)}),n}var $X=["className","cssModule","noGutters","tag","widths"];function Ix(){return Ix=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function DX(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var FX=["xs","sm","md","lg","xl","xxl"],$l=$.oneOfType([$.number,$.string]),BX={tag:ot,noGutters:kI($.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:$.string,cssModule:$.object,xs:$l,sm:$l,md:$l,lg:$l,xl:$l,xxl:$l,widths:$.array};function Er(e){var t=e.className,n=e.cssModule,r=e.noGutters,i=e.tag,o=i===void 0?"div":i,a=e.widths,s=a===void 0?FX:a,l=IX(e,$X),c=[];s.forEach(function(d,p){var v=e[d];if(delete l[d],!!v){var y=!p;c.push(y?"row-cols-".concat(v):"row-cols-".concat(d,"-").concat(v))}});var f=Ue(Ge(t,r?"gx-0":null,"row",c),n);return V.createElement(o,Ix({},l,{className:f}))}Er.propTypes=BX;var UX=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"];function Dx(){return Dx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function VX(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var WX={children:$.node,className:$.string,color:$.string,container:$.oneOfType([$.bool,$.string]),cssModule:$.object,dark:$.bool,expand:$.oneOfType([$.bool,$.string]),fixed:$.string,light:$.bool,role:$.string,sticky:$.string,tag:ot},HX=function(t){return t===!1?!1:t===!0||t==="xs"?"navbar-expand":"navbar-expand-".concat(t)};function MI(e){var t,n=e.expand,r=n===void 0?!1:n,i=e.className,o=e.cssModule,a=e.light,s=e.dark,l=e.fixed,c=e.sticky,f=e.color,d=e.container,p=d===void 0?"fluid":d,v=e.tag,y=v===void 0?"nav":v,g=e.children,x=zX(e,UX),_=Ue(Ge(i,"navbar",HX(r),(t={"navbar-light":a,"navbar-dark":s},_1(t,"bg-".concat(f),f),_1(t,"fixed-".concat(l),l),_1(t,"sticky-".concat(c),c),t)),o),b=p&&p===!0?"container":"container-".concat(p);return V.createElement(y,Dx({},x,{className:_}),p?V.createElement("div",{className:b},g):g)}MI.propTypes=WX;var GX=["className","cssModule","tag"];function Fx(){return Fx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function KX(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var YX={className:$.string,cssModule:$.object,tag:ot};function LI(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"a":r,o=qX(e,GX),a=Ue(Ge(t,"navbar-brand"),n);return V.createElement(i,Fx({},o,{className:a}))}LI.propTypes=YX;var ZX=["className","cssModule","children","tag"];function Bx(){return Bx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function eQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var tQ={className:$.string,cssModule:$.object,tag:ot,type:$.string,children:$.node};function RI(e){var t=e.className,n=e.cssModule,r=e.children,i=e.tag,o=i===void 0?"button":i,a=JX(e,ZX),s=Ue(Ge(t,"navbar-toggler"),n);return V.createElement(o,Bx({"aria-label":"Toggle navigation"},XX({type:"button"},a),{className:s}),r||V.createElement("span",{className:Ue("navbar-toggler-icon",n)}))}RI.propTypes=tQ;var nQ=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"];function Ux(){return Ux=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var oQ={card:$.bool,className:$.string,cssModule:$.object,fill:$.bool,horizontal:$.oneOf(["center","end"]),justified:$.bool,navbar:$.bool,pills:$.bool,tabs:$.bool,tag:ot,vertical:$.oneOfType([$.bool,$.string])},aQ=function(t){return t===!1?!1:t===!0||t==="xs"?"flex-column":"flex-".concat(t,"-column")};function xP(e){var t=e.className,n=e.cssModule,r=e.tabs,i=e.pills,o=e.vertical,a=o===void 0?!1:o,s=e.horizontal,l=e.justified,c=e.fill,f=e.navbar,d=e.card,p=e.tag,v=p===void 0?"ul":p,y=rQ(e,nQ),g=Ue(Ge(t,f?"navbar-nav":"nav",s?"justify-content-".concat(s):!1,aQ(a),{"nav-tabs":r,"card-header-tabs":d&&r,"nav-pills":i,"card-header-pills":d&&i,"nav-justified":l,"nav-fill":c}),n);return V.createElement(v,Ux({},y,{className:g}))}xP.propTypes=oQ;var sQ=["className","cssModule","active","tag"];function zx(){return zx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function cQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var uQ={active:$.bool,className:$.string,cssModule:$.object,tag:ot};function wP(e){var t=e.className,n=e.cssModule,r=e.active,i=e.tag,o=i===void 0?"li":i,a=lQ(e,sQ),s=Ue(Ge(t,"nav-item",r?"active":!1),n);return V.createElement(o,zx({},a,{className:s}))}wP.propTypes=uQ;function Vx(e){"@babel/helpers - typeof";return Vx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vx(e)}var fQ=["className","cssModule","active","tag","innerRef"];function Wx(){return Wx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function pQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mQ(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Iv(e){return Iv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Iv(e)}var xQ={active:$.bool,className:$.string,cssModule:$.object,disabled:$.bool,href:$.any,innerRef:$.oneOfType([$.object,$.func,$.string]),onClick:$.func,tag:ot},OP=function(e){gQ(n,e);var t=yQ(n);function n(r){var i;return pQ(this,n),i=t.call(this,r),i.onClick=i.onClick.bind($I(i)),i}return vQ(n,[{key:"onClick",value:function(i){if(this.props.disabled){i.preventDefault();return}this.props.href==="#"&&i.preventDefault(),this.props.onClick&&this.props.onClick(i)}},{key:"render",value:function(){var i=this.props,o=i.className,a=i.cssModule,s=i.active,l=i.tag,c=l===void 0?"a":l,f=i.innerRef,d=dQ(i,fQ),p=Ue(Ge(o,"nav-link",{disabled:d.disabled,active:s}),a);return V.createElement(c,Wx({},d,{ref:f,onClick:this.onClick,className:p}))}}]),n}(V.Component);OP.propTypes=xQ;var wQ=["className","cssModule","variant","innerRef"];function Gx(){return Gx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function EQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var CQ={active:$.bool,"aria-label":$.string,onClick:$.func,variant:$.oneOf(["white"]),className:$.string,cssModule:$.object,innerRef:$.oneOfType([$.object,$.string,$.func])};function II(e){var t=e.className;e.cssModule;var n=e.variant,r=e.innerRef,i=PQ(e,wQ),o=Ue(Ge(t,"btn-close",n&&"btn-close-".concat(n)));return V.createElement("button",Gx({ref:r,type:"button",className:o},OQ({"aria-label":"close"},i)))}II.propTypes=CQ;var TQ=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"];function qx(){return qx=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function AQ(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var kQ={active:$.bool,"aria-label":$.string,block:$.bool,children:$.node,className:$.string,cssModule:$.object,close:$.bool,color:$.string,disabled:$.bool,innerRef:$.oneOfType([$.object,$.func,$.string]),onClick:$.func,outline:$.bool,size:$.string,tag:ot};function Ke(e){var t=M.useCallback(function(b){if(e.disabled){b.preventDefault();return}if(e.onClick)return e.onClick(b)},[e.onClick,e.disabled]),n=e.active,r=e["aria-label"],i=e.block,o=e.className,a=e.close,s=e.cssModule,l=e.color,c=l===void 0?"secondary":l,f=e.outline,d=e.size,p=e.tag,v=p===void 0?"button":p,y=e.innerRef,g=jQ(e,TQ);if(a)return V.createElement(II,g);var x="btn".concat(f?"-outline":"","-").concat(c),_=Ue(Ge(o,"btn",x,d?"btn-".concat(d):!1,i?"d-block w-100":!1,{active:n,disabled:e.disabled}),s);return g.href&&v==="button"&&(v="a"),V.createElement(v,qx({type:v==="button"&&g.onClick?"button":void 0},g,{className:_,ref:y,onClick:t,"aria-label":r}))}Ke.propTypes=kQ;var DI=M.createContext(),FI=M.createContext();function BA(e){var t=e.children,n=M.useState(null),r=n[0],i=n[1],o=M.useRef(!1);M.useEffect(function(){return function(){o.current=!0}},[]);var a=M.useCallback(function(s){o.current||i(s)},[]);return M.createElement(DI.Provider,{value:r},M.createElement(FI.Provider,{value:a},t))}var BI=function(t){return Array.isArray(t)?t[0]:t},UI=function(t){if(typeof t=="function"){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i"u")return!1;var t=kr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function WQ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!ni(o)||!so(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function HQ(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!ni(i)||!so(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const GQ={name:"applyStyles",enabled:!0,phase:"write",fn:WQ,effect:HQ,requires:["computeStyles"]};function to(e){return e.split("-")[0]}var Ws=Math.max,Dv=Math.min,Uc=Math.round;function Yx(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function WI(){return!/^((?!chrome|android).)*safari/i.test(Yx())}function zc(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&ni(e)&&(i=e.offsetWidth>0&&Uc(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Uc(r.height)/e.offsetHeight||1);var a=rl(e)?kr(e):window,s=a.visualViewport,l=!WI()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,f=(r.top+(l&&s?s.offsetTop:0))/o,d=r.width/i,p=r.height/o;return{width:d,height:p,top:f,right:c+d,bottom:f+p,left:c,x:c,y:f}}function EP(e){var t=zc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function HI(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&PP(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Fo(e){return kr(e).getComputedStyle(e)}function qQ(e){return["table","td","th"].indexOf(so(e))>=0}function es(e){return((rl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Jy(e){return so(e)==="html"?e:e.assignedSlot||e.parentNode||(PP(e)?e.host:null)||es(e)}function WA(e){return!ni(e)||Fo(e).position==="fixed"?null:e.offsetParent}function KQ(e){var t=/firefox/i.test(Yx()),n=/Trident/i.test(Yx());if(n&&ni(e)){var r=Fo(e);if(r.position==="fixed")return null}var i=Jy(e);for(PP(i)&&(i=i.host);ni(i)&&["html","body"].indexOf(so(i))<0;){var o=Fo(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function qh(e){for(var t=kr(e),n=WA(e);n&&qQ(n)&&Fo(n).position==="static";)n=WA(n);return n&&(so(n)==="html"||so(n)==="body"&&Fo(n).position==="static")?t:n||KQ(e)||t}function CP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function od(e,t,n){return Ws(e,Dv(t,n))}function YQ(e,t,n){var r=od(e,t,n);return r>n?n:r}function GI(){return{top:0,right:0,bottom:0,left:0}}function qI(e){return Object.assign({},GI(),e)}function KI(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var ZQ=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,qI(typeof t!="number"?t:KI(t,Gh))};function XQ(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=to(n.placement),l=CP(s),c=[hr,si].indexOf(s)>=0,f=c?"height":"width";if(!(!o||!a)){var d=ZQ(i.padding,n),p=EP(o),v=l==="y"?dr:hr,y=l==="y"?ai:si,g=n.rects.reference[f]+n.rects.reference[l]-a[l]-n.rects.popper[f],x=a[l]-n.rects.reference[l],_=qh(o),b=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,w=g/2-x/2,S=d[v],P=b-p[f]-d[y],E=b/2-p[f]/2+w,T=od(S,E,P),j=l;n.modifiersData[r]=(t={},t[j]=T,t.centerOffset=T-E,t)}}function QQ(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||HI(t.elements.popper,i)&&(t.elements.arrow=i))}const JQ={name:"arrow",enabled:!0,phase:"main",fn:XQ,effect:QQ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Vc(e){return e.split("-")[1]}var eJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tJ(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:Uc(n*i)/i||0,y:Uc(r*i)/i||0}}function HA(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,p=a.x,v=p===void 0?0:p,y=a.y,g=y===void 0?0:y,x=typeof f=="function"?f({x:v,y:g}):{x:v,y:g};v=x.x,g=x.y;var _=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=hr,S=dr,P=window;if(c){var E=qh(n),T="clientHeight",j="clientWidth";if(E===kr(n)&&(E=es(n),Fo(E).position!=="static"&&s==="absolute"&&(T="scrollHeight",j="scrollWidth")),E=E,i===dr||(i===hr||i===si)&&o===Wd){S=ai;var F=d&&E===P&&P.visualViewport?P.visualViewport.height:E[T];g-=F-r.height,g*=l?1:-1}if(i===hr||(i===dr||i===ai)&&o===Wd){w=si;var k=d&&E===P&&P.visualViewport?P.visualViewport.width:E[j];v-=k-r.width,v*=l?1:-1}}var I=Object.assign({position:s},c&&eJ),D=f===!0?tJ({x:v,y:g},kr(n)):{x:v,y:g};if(v=D.x,g=D.y,l){var K;return Object.assign({},I,(K={},K[S]=b?"0":"",K[w]=_?"0":"",K.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+g+"px)":"translate3d("+v+"px, "+g+"px, 0)",K))}return Object.assign({},I,(t={},t[S]=b?g+"px":"",t[w]=_?v+"px":"",t.transform="",t))}function nJ(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:to(t.placement),variation:Vc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,HA(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,HA(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const rJ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:nJ,data:{}};var om={passive:!0};function iJ(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=kr(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(f){f.addEventListener("scroll",n.update,om)}),s&&l.addEventListener("resize",n.update,om),function(){o&&c.forEach(function(f){f.removeEventListener("scroll",n.update,om)}),s&&l.removeEventListener("resize",n.update,om)}}const oJ={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iJ,data:{}};var aJ={left:"right",right:"left",bottom:"top",top:"bottom"};function Hm(e){return e.replace(/left|right|bottom|top/g,function(t){return aJ[t]})}var sJ={start:"end",end:"start"};function GA(e){return e.replace(/start|end/g,function(t){return sJ[t]})}function TP(e){var t=kr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function jP(e){return zc(es(e)).left+TP(e).scrollLeft}function lJ(e,t){var n=kr(e),r=es(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=WI();(c||!c&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+jP(e),y:l}}function cJ(e){var t,n=es(e),r=TP(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ws(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ws(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+jP(e),l=-r.scrollTop;return Fo(i||n).direction==="rtl"&&(s+=Ws(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function AP(e){var t=Fo(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function YI(e){return["html","body","#document"].indexOf(so(e))>=0?e.ownerDocument.body:ni(e)&&AP(e)?e:YI(Jy(e))}function ad(e,t){var n;t===void 0&&(t=[]);var r=YI(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=kr(r),a=i?[o].concat(o.visualViewport||[],AP(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(ad(Jy(a)))}function Zx(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uJ(e,t){var n=zc(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function qA(e,t,n){return t===zI?Zx(lJ(e,n)):rl(t)?uJ(t,n):Zx(cJ(es(e)))}function fJ(e){var t=ad(Jy(e)),n=["absolute","fixed"].indexOf(Fo(e).position)>=0,r=n&&ni(e)?qh(e):e;return rl(r)?t.filter(function(i){return rl(i)&&HI(i,r)&&so(i)!=="body"}):[]}function dJ(e,t,n,r){var i=t==="clippingParents"?fJ(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var f=qA(e,c,r);return l.top=Ws(f.top,l.top),l.right=Dv(f.right,l.right),l.bottom=Dv(f.bottom,l.bottom),l.left=Ws(f.left,l.left),l},qA(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ZI(e){var t=e.reference,n=e.element,r=e.placement,i=r?to(r):null,o=r?Vc(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case dr:l={x:a,y:t.y-n.height};break;case ai:l={x:a,y:t.y+t.height};break;case si:l={x:t.x+t.width,y:s};break;case hr:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var c=i?CP(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case Bc:l[c]=l[c]-(t[f]/2-n[f]/2);break;case Wd:l[c]=l[c]+(t[f]/2-n[f]/2);break}}return l}function Hd(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?NQ:s,c=n.rootBoundary,f=c===void 0?zI:c,d=n.elementContext,p=d===void 0?xf:d,v=n.altBoundary,y=v===void 0?!1:v,g=n.padding,x=g===void 0?0:g,_=qI(typeof x!="number"?x:KI(x,Gh)),b=p===xf?MQ:xf,w=e.rects.popper,S=e.elements[y?b:p],P=dJ(rl(S)?S:S.contextElement||es(e.elements.popper),l,f,a),E=zc(e.elements.reference),T=ZI({reference:E,element:w,strategy:"absolute",placement:i}),j=Zx(Object.assign({},w,T)),F=p===xf?j:E,k={top:P.top-F.top+_.top,bottom:F.bottom-P.bottom+_.bottom,left:P.left-F.left+_.left,right:F.right-P.right+_.right},I=e.modifiersData.offset;if(p===xf&&I){var D=I[i];Object.keys(k).forEach(function(K){var W=[si,ai].indexOf(K)>=0?1:-1,X=[dr,ai].indexOf(K)>=0?"y":"x";k[K]+=D[X]*W})}return k}function hJ(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?VI:l,f=Vc(r),d=f?s?VA:VA.filter(function(y){return Vc(y)===f}):Gh,p=d.filter(function(y){return c.indexOf(y)>=0});p.length===0&&(p=d);var v=p.reduce(function(y,g){return y[g]=Hd(e,{placement:g,boundary:i,rootBoundary:o,padding:a})[to(g)],y},{});return Object.keys(v).sort(function(y,g){return v[y]-v[g]})}function pJ(e){if(to(e)===SP)return[];var t=Hm(e);return[GA(e),t,GA(t)]}function mJ(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,v=n.flipVariations,y=v===void 0?!0:v,g=n.allowedAutoPlacements,x=t.options.placement,_=to(x),b=_===x,w=l||(b||!y?[Hm(x)]:pJ(x)),S=[x].concat(w).reduce(function(ne,re){return ne.concat(to(re)===SP?hJ(t,{placement:re,boundary:f,rootBoundary:d,padding:c,flipVariations:y,allowedAutoPlacements:g}):re)},[]),P=t.rects.reference,E=t.rects.popper,T=new Map,j=!0,F=S[0],k=0;k=0,X=W?"width":"height",Q=Hd(t,{placement:I,boundary:f,rootBoundary:d,altBoundary:p,padding:c}),te=W?K?si:hr:K?ai:dr;P[X]>E[X]&&(te=Hm(te));var Z=Hm(te),z=[];if(o&&z.push(Q[D]<=0),s&&z.push(Q[te]<=0,Q[Z]<=0),z.every(function(ne){return ne})){F=I,j=!1;break}T.set(I,z)}if(j)for(var B=y?3:1,H=function(re){var ae=S.find(function(ue){var A=T.get(ue);if(A)return A.slice(0,re).every(function(N){return N})});if(ae)return F=ae,"break"},ee=B;ee>0;ee--){var q=H(ee);if(q==="break")break}t.placement!==F&&(t.modifiersData[r]._skip=!0,t.placement=F,t.reset=!0)}}const vJ={name:"flip",enabled:!0,phase:"main",fn:mJ,requiresIfExists:["offset"],data:{_skip:!1}};function KA(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function YA(e){return[dr,si,ai,hr].some(function(t){return e[t]>=0})}function gJ(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Hd(t,{elementContext:"reference"}),s=Hd(t,{altBoundary:!0}),l=KA(a,r),c=KA(s,i,o),f=YA(l),d=YA(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":d})}const yJ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gJ};function bJ(e,t,n){var r=to(e),i=[hr,dr].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[hr,si].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function _J(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=VI.reduce(function(f,d){return f[d]=bJ(d,t.rects,o),f},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}const xJ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_J};function wJ(e){var t=e.state,n=e.name;t.modifiersData[n]=ZI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const OJ={name:"popperOffsets",enabled:!0,phase:"read",fn:wJ,data:{}};function SJ(e){return e==="x"?"y":"x"}function PJ(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,f=n.altBoundary,d=n.padding,p=n.tether,v=p===void 0?!0:p,y=n.tetherOffset,g=y===void 0?0:y,x=Hd(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:f}),_=to(t.placement),b=Vc(t.placement),w=!b,S=CP(_),P=SJ(S),E=t.modifiersData.popperOffsets,T=t.rects.reference,j=t.rects.popper,F=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(E){if(o){var K,W=S==="y"?dr:hr,X=S==="y"?ai:si,Q=S==="y"?"height":"width",te=E[S],Z=te+x[W],z=te-x[X],B=v?-j[Q]/2:0,H=b===Bc?T[Q]:j[Q],ee=b===Bc?-j[Q]:-T[Q],q=t.elements.arrow,ne=v&&q?EP(q):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:GI(),ae=re[W],ue=re[X],A=od(0,T[Q],ne[Q]),N=w?T[Q]/2-B-A-ae-k.mainAxis:H-A-ae-k.mainAxis,U=w?-T[Q]/2+B+A+ue+k.mainAxis:ee+A+ue+k.mainAxis,J=t.elements.arrow&&qh(t.elements.arrow),Y=J?S==="y"?J.clientTop||0:J.clientLeft||0:0,oe=(K=I==null?void 0:I[S])!=null?K:0,he=te+N-oe-Y,Ee=te+U-oe,se=od(v?Dv(Z,he):Z,te,v?Ws(z,Ee):z);E[S]=se,D[S]=se-te}if(s){var pe,ve=S==="x"?dr:hr,xe=S==="x"?ai:si,je=E[P],Te=P==="y"?"height":"width",ke=je+x[ve],le=je-x[xe],fe=[dr,hr].indexOf(_)!==-1,ye=(pe=I==null?void 0:I[P])!=null?pe:0,ge=fe?ke:je-T[Te]-j[Te]-ye+k.altAxis,we=fe?je+T[Te]+j[Te]-ye-k.altAxis:le,Ne=v&&fe?YQ(ge,je,we):od(v?ge:ke,je,v?we:le);E[P]=Ne,D[P]=Ne-je}t.modifiersData[r]=D}}const EJ={name:"preventOverflow",enabled:!0,phase:"main",fn:PJ,requiresIfExists:["offset"]};function CJ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function TJ(e){return e===kr(e)||!ni(e)?TP(e):CJ(e)}function jJ(e){var t=e.getBoundingClientRect(),n=Uc(t.width)/e.offsetWidth||1,r=Uc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function AJ(e,t,n){n===void 0&&(n=!1);var r=ni(t),i=ni(t)&&jJ(t),o=es(t),a=zc(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((so(t)!=="body"||AP(o))&&(s=TJ(t)),ni(t)?(l=zc(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=jP(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kJ(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function NJ(e){var t=kJ(e);return VQ.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function MJ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function LJ(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ZA={placement:"bottom",modifiers:[],strategy:"absolute"};function XA(){for(var e=arguments.length,t=new Array(e),n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ree(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Fv(e){return Fv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Fv(e)}var cee={a11y:$.bool,disabled:$.bool,direction:$.oneOf(["up","down","start","end","left","right"]),group:$.bool,isOpen:$.bool,nav:$.bool,active:$.bool,size:$.string,tag:ot,toggle:$.func,children:$.node,className:$.string,cssModule:$.object,dropup:$.bool,inNavbar:$.bool,setActiveFromChild:$.bool,menuRole:$.oneOf(["listbox","menu"])},uee={a11y:!0,isOpen:!1,direction:"down",nav:!1,active:!1,inNavbar:!1,setActiveFromChild:!1},fee=[ht.space,ht.enter,ht.up,ht.down,ht.end,ht.home],ts=function(e){oee(n,e);var t=aee(n);function n(r){var i;return nee(this,n),i=t.call(this,r),i.addEvents=i.addEvents.bind(ca(i)),i.handleDocumentClick=i.handleDocumentClick.bind(ca(i)),i.handleKeyDown=i.handleKeyDown.bind(ca(i)),i.removeEvents=i.removeEvents.bind(ca(i)),i.toggle=i.toggle.bind(ca(i)),i.handleMenuRef=i.handleMenuRef.bind(ca(i)),i.handleToggleRef=i.handleToggleRef.bind(ca(i)),i.containerRef=V.createRef(),i.menuRef=V.createRef(),i.toggleRef=V.createRef(),i}return iee(n,[{key:"componentDidMount",value:function(){this.handleProps()}},{key:"componentDidUpdate",value:function(i){this.props.isOpen!==i.isOpen&&this.handleProps()}},{key:"componentWillUnmount",value:function(){this.removeEvents()}},{key:"handleMenuRef",value:function(i){this.menuRef.current=i}},{key:"handleToggleRef",value:function(i){this.toggleRef.current=i}},{key:"handleDocumentClick",value:function(i){if(!(i&&(i.which===3||i.type==="keyup"&&i.which!==ht.tab))){var o=this.getContainer(),a=this.getMenu(),s=this.getToggle();if(s){var l=s.contains(i.target),c=a&&a.contains(i.target)&&a!==i.target,f=!1;o&&(f=o.classList.contains("input-group")&&o.classList.contains("dropdown")&&i.target.tagName==="INPUT"),!((l&&!f||c)&&(i.type!=="keyup"||i.which===ht.tab))&&this.toggle(i)}}}},{key:"handleKeyDown",value:function(i){var o=this,a=i.target.getAttribute("role")==="menuitem"||i.target.getAttribute("role")==="option",s=this.getMenuCtrl()===i.target,l=ht.tab===i.which;if(!(/input|textarea/i.test(i.target.tagName)||l&&!this.props.a11y||l&&!(a||s))&&((fee.indexOf(i.which)!==-1||i.which>=48&&i.which<=90)&&i.preventDefault(),!this.props.disabled)){if(s)if([ht.space,ht.enter,ht.up,ht.down].indexOf(i.which)>-1)this.props.isOpen||this.toggle(i),setTimeout(function(){var b;return(b=o.getMenuItems()[0])===null||b===void 0?void 0:b.focus()});else if(this.props.isOpen&&l){var c;i.preventDefault(),(c=this.getMenuItems()[0])===null||c===void 0||c.focus()}else this.props.isOpen&&i.which===ht.esc&&this.toggle(i);if(this.props.isOpen&&a){if([ht.tab,ht.esc].indexOf(i.which)>-1)this.toggle(i),this.getMenuCtrl().focus();else if([ht.space,ht.enter].indexOf(i.which)>-1)i.target.click(),this.getMenuCtrl().focus();else if([ht.down,ht.up].indexOf(i.which)>-1||[ht.n,ht.p].indexOf(i.which)>-1&&i.ctrlKey){var f=this.getMenuItems(),d=f.indexOf(i.target);ht.up===i.which||ht.p===i.which&&i.ctrlKey?d=d!==0?d-1:f.length-1:(ht.down===i.which||ht.n===i.which&&i.ctrlKey)&&(d=d===f.length-1?0:d+1),f[d].focus()}else if(ht.end===i.which){var p=this.getMenuItems();p[p.length-1].focus()}else if(ht.home===i.which){var v=this.getMenuItems();v[0].focus()}else if(i.which>=48&&i.which<=90)for(var y=this.getMenuItems(),g=String.fromCharCode(i.which).toLowerCase(),x=0;x=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function pee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vee(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Bv(e){return Bv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Bv(e)}var wee={children:$.node,active:$.bool,disabled:$.bool,divider:$.bool,tag:ot,header:$.bool,onClick:$.func,className:$.string,cssModule:$.object,toggle:$.bool,text:$.bool},Me=function(e){yee(n,e);var t=bee(n);function n(r){var i;return mee(this,n),i=t.call(this,r),i.onClick=i.onClick.bind(rw(i)),i.getTabIndex=i.getTabIndex.bind(rw(i)),i}return gee(n,[{key:"onClick",value:function(i){var o,a=this.props,s=a.disabled,l=a.header,c=a.divider,f=a.text;if(s||l||c||f){i.preventDefault();return}this.props.onClick&&this.props.onClick(i),(!((o=this.props.toggle)!==null&&o!==void 0)||o)&&this.context.toggle(i)}},{key:"getRole",value:function(){return this.context.menuRole==="listbox"?"option":"menuitem"}},{key:"getTabIndex",value:function(){var i=this.props,o=i.disabled,a=i.header,s=i.divider,l=i.text;return o||a||s||l?"-1":"0"}},{key:"render",value:function(){var i=this.getTabIndex(),o=i>-1?this.getRole():void 0,a=Ja(this.props,["toggle"]),s=a.className,l=a.cssModule,c=a.divider,f=a.tag,d=f===void 0?"button":f,p=a.header,v=a.active,y=a.text,g=hee(a,dee),x=Ue(Ge(s,{disabled:g.disabled,"dropdown-item":!c&&!p&&!y,active:v,"dropdown-header":p,"dropdown-divider":c,"dropdown-item-text":y}),l);return d==="button"&&(p?d="h6":c?d="div":g.href?d="a":y&&(d="span")),V.createElement(d,tw({type:d==="button"&&(g.onClick||this.props.toggle)?"button":void 0},g,{tabIndex:i,role:o,className:x,onClick:this.onClick}))}}]),n}(V.Component);Me.propTypes=wee;Me.contextType=Gd;function iw(e){"@babel/helpers - typeof";return iw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},iw(e)}var Oee=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container","updateOnSelect"];function Uv(){return Uv=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function kee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mee(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function zv(e){return zv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},zv(e)}var Bee={tag:ot,children:$.node.isRequired,dark:$.bool,end:$.bool,flip:$.bool,modifiers:$.array,className:$.string,cssModule:$.object,style:$.object,persist:$.bool,strategy:$.string,container:Fc,updateOnSelect:$.bool,right:kI($.bool,'Please use "end" instead.')},Uee={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"},ns=function(e){Ree(n,e);var t=$ee(n);function n(){return Nee(this,n),t.apply(this,arguments)}return Lee(n,[{key:"getRole",value:function(){return this.context.menuRole==="listbox"?"listbox":"menu"}},{key:"render",value:function(){var i=this,o=this.props,a=o.className,s=o.cssModule,l=o.dark,c=o.end,f=o.right,d=o.tag,p=d===void 0?"div":d,v=o.flip,y=v===void 0?!0:v,g=o.modifiers,x=g===void 0?[]:g,_=o.persist,b=o.strategy,w=o.container,S=o.updateOnSelect,P=Aee(o,Oee),E=Ue(Ge(a,"dropdown-menu",{"dropdown-menu-dark":l,"dropdown-menu-end":c||f,show:this.context.isOpen}),s),T=p;if(_||this.context.isOpen&&!this.context.inNavbar){var j=Uee[this.context.direction]||"bottom",F=c||f?"end":"start",k="".concat(j,"-").concat(F),I=[].concat(Pee(x),[{name:"flip",enabled:!!y}]),D={};_&&(D.display="block",D.visibility=this.context.isOpen?"visible":"hidden");var K=V.createElement(XI,{placement:k,modifiers:I,strategy:b},function(X){var Q=X.ref,te=X.style,Z=X.placement,z=X.update,B=x1(x1(x1({},i.props.style),D),te),H=function(q){Q(q);var ne=i.context.onMenuRef;ne&&ne(q)};return V.createElement(T,Uv({tabIndex:"-1",role:i.getRole(),ref:H},P,{style:B,"aria-hidden":!i.context.isOpen,className:E,"data-popper-placement":Z,onClick:function(){return S&&z()}}))});return w?Rs.createPortal(K,Vd(w)):K}var W=this.context.onMenuRef;return V.createElement(T,Uv({tabIndex:"-1",role:this.getRole()},P,{ref:W,"aria-hidden":!this.context.isOpen,className:E,"data-popper-placement":P.placement,"data-bs-popper":"static"}))}}]),n}(V.Component);ns.propTypes=Bee;ns.contextType=Gd;function sw(e){"@babel/helpers - typeof";return sw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sw(e)}var zee=["className","color","cssModule","caret","split","nav","tag","innerRef"];function lw(){return lw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hee(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qee(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Vv(e){return Vv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Vv(e)}var Jee={caret:$.bool,color:$.string,children:$.node,className:$.string,cssModule:$.object,disabled:$.bool,onClick:$.func,"aria-haspopup":$.bool,split:$.bool,tag:ot,nav:$.bool,innerRef:$.oneOfType([$.object,$.string,$.func])},ete={color:"secondary","aria-haspopup":!0},Xo=function(e){Yee(n,e);var t=Zee(n);function n(r){var i;return Gee(this,n),i=t.call(this,r),i.onClick=i.onClick.bind(JI(i)),i}return Kee(n,[{key:"onClick",value:function(i){if(this.props.disabled||this.context.disabled){i.preventDefault();return}this.props.nav&&!this.props.tag&&i.preventDefault(),this.props.onClick&&this.props.onClick(i),this.context.toggle(i)}},{key:"getRole",value:function(){return this.context.menuRole||this.props["aria-haspopup"]}},{key:"render",value:function(){var i=this,o=this.props,a=o.className,s=o.color,l=o.cssModule,c=o.caret,f=o.split,d=o.nav,p=o.tag,v=o.innerRef,y=Wee(o,zee),g=y["aria-label"]||"Toggle Dropdown",x=Ue(Ge(a,{"dropdown-toggle":c||f,"dropdown-toggle-split":f,"nav-link":d}),l),_=typeof y.children<"u"?y.children:V.createElement("span",{className:"visually-hidden"},g),b;d&&!p?(b="a",y.href="#"):p?b=p:(b=Ke,y.color=s,y.cssModule=l);var w=function(P){var E=P.ref,T=function(F){E(F);var k=i.context.onToggleRef;k&&k(F)};return V.createElement(b,lw({},y,Vee({},typeof b=="string"?"ref":"innerRef",T),{className:x,onClick:i.onClick,"aria-expanded":i.context.isOpen,"aria-haspopup":i.getRole(),children:_}))};return this.context.inNavbar?V.createElement(V.Fragment,null,w({ref:this.context.onToggleRef})):V.createElement(QJ,{innerRef:v},w)}}]),n}(V.Component);Xo.propTypes=Jee;Xo.defaultProps=ete;Xo.contextType=Gd;function tte(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function uw(e,t){return uw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},uw(e,t)}function nte(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,uw(e,t)}const JA={disabled:!1},eD=V.createContext(null);var rte=function(t){return t.scrollTop},zf="unmounted",ws="exited",Os="entering",Kl="entered",fw="exiting",vr=function(e){nte(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var a=i,s=a&&!a.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?s?(l=ws,o.appearStatus=Os):l=Kl:r.unmountOnExit||r.mountOnEnter?l=zf:l=ws,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var a=i.in;return a&&o.status===zf?{status:ws}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var a=this.state.status;this.props.in?a!==Os&&a!==Kl&&(o=Os):(a===Os||a===Kl)&&(o=fw)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,a,s;return o=a=s=i,i!=null&&typeof i!="number"&&(o=i.exit,a=i.enter,s=i.appear!==void 0?i.appear:a),{exit:o,enter:a,appear:s}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Os){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Rs.findDOMNode(this);a&&rte(a)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ws&&this.setState({status:zf})},n.performEnter=function(i){var o=this,a=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[Rs.findDOMNode(this),s],c=l[0],f=l[1],d=this.getTimeouts(),p=s?d.appear:d.enter;if(!i&&!a||JA.disabled){this.safeSetState({status:Kl},function(){o.props.onEntered(c)});return}this.props.onEnter(c,f),this.safeSetState({status:Os},function(){o.props.onEntering(c,f),o.onTransitionEnd(p,function(){o.safeSetState({status:Kl},function(){o.props.onEntered(c,f)})})})},n.performExit=function(){var i=this,o=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Rs.findDOMNode(this);if(!o||JA.disabled){this.safeSetState({status:ws},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:fw},function(){i.props.onExiting(s),i.onTransitionEnd(a.exit,function(){i.safeSetState({status:ws},function(){i.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,o.nextCallback=null,i(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var a=this.props.nodeRef?this.props.nodeRef.current:Rs.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],f=l[1];this.props.addEndListener(c,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===zf)return null;var o=this.props,a=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var s=tte(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return V.createElement(eD.Provider,{value:null},typeof a=="function"?a(i,s):V.cloneElement(V.Children.only(a),s))},t}(V.Component);vr.contextType=eD;vr.propTypes={};function Il(){}vr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Il,onEntering:Il,onEntered:Il,onExit:Il,onExiting:Il,onExited:Il};vr.UNMOUNTED=zf;vr.EXITED=ws;vr.ENTERING=Os;vr.ENTERED=Kl;vr.EXITING=fw;var ite=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function Wv(){return Wv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ate(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function e3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qd(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function dte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hte(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gv(e){return Gv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Gv(e)}function n3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Wc(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Pte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Ete={body:$.bool,className:$.string,color:$.string,cssModule:$.object,innerRef:$.oneOfType([$.object,$.string,$.func]),inverse:$.bool,outline:$.bool,tag:ot};function Ir(e){var t=e.className,n=e.cssModule,r=e.color,i=e.body,o=e.inverse,a=e.outline,s=e.tag,l=s===void 0?"div":s,c=e.innerRef,f=Ste(e,Ote),d=Ue(Ge(t,"card",o?"text-white":!1,i?"card-body":!1,r?"".concat(a?"border":"bg","-").concat(r):!1),n);return V.createElement(l,pw({},f,{className:d,ref:c}))}Ir.propTypes=Ete;var Cte=["className","cssModule","innerRef","tag"];function mw(){return mw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Ate={className:$.string,cssModule:$.object,innerRef:$.oneOfType([$.object,$.string,$.func]),tag:ot};function Kh(e){var t=e.className,n=e.cssModule,r=e.innerRef,i=e.tag,o=i===void 0?"div":i,a=Tte(e,Cte),s=Ue(Ge(t,"card-body"),n);return V.createElement(o,mw({},a,{className:s,ref:r}))}Kh.propTypes=Ate;var kte=["className","cssModule","tag"];function vw(){return vw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Mte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Lte={className:$.string,cssModule:$.object,tag:ot};function nD(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Nte(e,kte),a=Ue(Ge(t,"card-footer"),n);return V.createElement(i,vw({},o,{className:a}))}nD.propTypes=Lte;var Rte=["className","cssModule","tag"];function gw(){return gw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ite(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Dte={className:$.string,cssModule:$.object,tag:ot};function Yh(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=$te(e,Rte),a=Ue(Ge(t,"card-header"),n);return V.createElement(i,gw({},o,{className:a}))}Yh.propTypes=Dte;var Fte=["className","cssModule","tag"];function yw(){return yw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ute(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var zte={className:$.string,cssModule:$.object,tag:ot};function rD(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"p":r,o=Bte(e,Fte),a=Ue(Ge(t,"card-text"),n);return V.createElement(i,yw({},o,{className:a}))}rD.propTypes=zte;var Vte=["className","cssModule","tag"];function bw(){return bw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Gte={className:$.string,cssModule:$.object,tag:ot};function iD(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Wte(e,Vte),a=Ue(Ge(t,"card-title"),n);return V.createElement(i,bw({},o,{className:a}))}iD.propTypes=Gte;function _w(e){"@babel/helpers - typeof";return _w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_w(e)}var qte=["cssModule","children","isOpen","flip","target","offset","fallbackPlacements","placementPrefix","arrowClassName","hideArrow","popperClassName","tag","container","modifiers","strategy","boundariesElement","onClosed","fade","transition","placement"];function xw(){return xw=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Jte(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i3(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qv(e){return qv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},qv(e)}function o3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qm(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Kv(e){return Kv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Kv(e)}var MP={children:$.oneOfType([$.node,$.func]),placement:$.oneOf(kX),target:Fc.isRequired,container:Fc,isOpen:$.bool,disabled:$.bool,hideArrow:$.bool,boundariesElement:$.oneOfType([$.string,yP]),className:$.string,innerClassName:$.string,arrowClassName:$.string,popperClassName:$.string,cssModule:$.object,toggle:$.func,autohide:$.bool,placementPrefix:$.string,delay:$.oneOfType([$.shape({show:$.number,hide:$.number}),$.number]),modifiers:$.array,strategy:$.string,offset:$.arrayOf($.number),innerRef:$.oneOfType([$.func,$.string,$.object]),trigger:$.string,fade:$.bool,flip:$.bool},oD={show:0,hide:50},vne={isOpen:!1,hideArrow:!1,autohide:!1,delay:oD,toggle:function(){},trigger:"click",fade:!0};function aD(e,t){return t&&(e===t||t.contains(e))}function s3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return t&&t.length&&t.filter(function(n){return aD(e,n)})[0]}var LP=function(e){dne(n,e);var t=hne(n);function n(r){var i;return une(this,n),i=t.call(this,r),i._targets=[],i.currentTargetElement=null,i.addTargetEvents=i.addTargetEvents.bind(br(i)),i.handleDocumentClick=i.handleDocumentClick.bind(br(i)),i.removeTargetEvents=i.removeTargetEvents.bind(br(i)),i.toggle=i.toggle.bind(br(i)),i.showWithDelay=i.showWithDelay.bind(br(i)),i.hideWithDelay=i.hideWithDelay.bind(br(i)),i.onMouseOverTooltipContent=i.onMouseOverTooltipContent.bind(br(i)),i.onMouseLeaveTooltipContent=i.onMouseLeaveTooltipContent.bind(br(i)),i.show=i.show.bind(br(i)),i.hide=i.hide.bind(br(i)),i.onEscKeyDown=i.onEscKeyDown.bind(br(i)),i.getRef=i.getRef.bind(br(i)),i.state={isOpen:r.isOpen},i._isMounted=!1,i}return fne(n,[{key:"componentDidMount",value:function(){this._isMounted=!0,this.updateTarget()}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.removeTargetEvents(),this._targets=null,this.clearShowTimeout(),this.clearHideTimeout()}},{key:"handleDocumentClick",value:function(i){var o=this.props.trigger.split(" ");o.indexOf("legacy")>-1&&(this.props.isOpen||s3(i.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!aD(i.target,this._popover)?this.hideWithDelay(i):this.props.isOpen||this.showWithDelay(i)):o.indexOf("click")>-1&&s3(i.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(i):this.showWithDelay(i))}},{key:"onMouseOverTooltipContent",value:function(){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())}},{key:"onMouseLeaveTooltipContent",value:function(i){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),i.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,i),this.getDelay("hide")))}},{key:"onEscKeyDown",value:function(i){i.key==="Escape"&&this.hide(i)}},{key:"getRef",value:function(i){var o=this.props.innerRef;o&&(typeof o=="function"?o(i):Kd(o)==="object"&&(o.current=i)),this._popover=i}},{key:"getDelay",value:function(i){var o=this.props.delay;return Kd(o)==="object"?isNaN(o[i])?oD[i]:o[i]:o}},{key:"getCurrentTarget",value:function(i){if(!i)return null;var o=this._targets.indexOf(i);return o>=0?this._targets[o]:this.getCurrentTarget(i.parentElement)}},{key:"show",value:function(i){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=i?i.currentTarget||this.getCurrentTarget(i.target):null,i&&i.composedPath&&typeof i.composedPath=="function"){var o=i.composedPath();this.currentTargetElement=o&&o[0]||this.currentTargetElement}this.toggle(i)}}},{key:"showWithDelay",value:function(i){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,i),this.getDelay("show"))}},{key:"hide",value:function(i){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(i))}},{key:"hideWithDelay",value:function(i){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,i),this.getDelay("hide"))}},{key:"clearShowTimeout",value:function(){clearTimeout(this._showTimeout),this._showTimeout=void 0}},{key:"clearHideTimeout",value:function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0}},{key:"addEventOnTargets",value:function(i,o,a){this._targets.forEach(function(s){s.addEventListener(i,o,a)})}},{key:"removeEventOnTargets",value:function(i,o,a){this._targets.forEach(function(s){s.removeEventListener(i,o,a)})}},{key:"addTargetEvents",value:function(){if(this.props.trigger){var i=this.props.trigger.split(" ");i.indexOf("manual")===-1&&((i.indexOf("click")>-1||i.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(i.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),i.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}}},{key:"removeTargetEvents",value:function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)}},{key:"updateTarget",value:function(){var i=Vd(this.props.target,!0);i!==this._targets&&(this.removeTargetEvents(),this._targets=i?Array.from(i):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())}},{key:"toggle",value:function(i){return this.props.disabled||!this._isMounted?i&&i.preventDefault():this.props.toggle(i)}},{key:"render",value:function(){var i=this;this.props.isOpen&&this.updateTarget();var o=this.currentTargetElement||this._targets[0];if(!o)return null;var a=this.props,s=a.className,l=a.cssModule,c=a.innerClassName,f=a.isOpen,d=a.hideArrow,p=a.boundariesElement,v=a.placement,y=a.placementPrefix,g=a.arrowClassName,x=a.popperClassName,_=a.container,b=a.modifiers,w=a.strategy,S=a.offset,P=a.fade,E=a.flip,T=a.children,j=Ja(this.props,Object.keys(MP)),F=Ue(x,l),k=Ue(c,l);return V.createElement(NP,{className:s,target:o,isOpen:f,hideArrow:d,boundariesElement:p,placement:v,placementPrefix:y,arrowClassName:g,popperClassName:F,container:_,modifiers:b,strategy:w,offset:S,cssModule:l,fade:P,flip:E},function(I){var D=I.update;return V.createElement("div",Sw({},j,{ref:i.getRef,className:k,role:"tooltip",onMouseOver:i.onMouseOverTooltipContent,onMouseLeave:i.onMouseLeaveTooltipContent,onKeyDown:i.onEscKeyDown}),typeof T=="function"?T({update:D}):T)})}}],[{key:"getDerivedStateFromProps",value:function(i,o){return i.isOpen&&!o.isOpen?{isOpen:i.isOpen}:null}}]),n}(V.Component);LP.propTypes=MP;LP.defaultProps=vne;var gne=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"];function Yv(){return Yv=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _ne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var xne={animated:$.bool,bar:$.bool,barAriaLabelledBy:$.string,barAriaValueText:$.string,barClassName:$.string,barStyle:$.object,children:$.node,className:$.string,cssModule:$.object,color:$.string,max:$.oneOfType([$.string,$.number]),min:$.oneOfType([$.string,$.number]),multi:$.bool,striped:$.bool,style:$.object,tag:ot,value:$.oneOfType([$.string,$.number])};function sD(e){var t=e.children,n=e.className,r=e.barClassName,i=e.cssModule,o=e.value,a=o===void 0?0:o,s=e.min,l=s===void 0?0:s,c=e.max,f=c===void 0?100:c,d=e.animated,p=e.striped,v=e.color,y=e.bar,g=e.multi,x=e.tag,_=x===void 0?"div":x,b=e.style,w=b===void 0?{}:b,S=e.barStyle,P=S===void 0?{}:S,E=e.barAriaValueText,T=e.barAriaLabelledBy,j=bne(e,gne),F=$A(a)/$A(f)*100,k=Ue(Ge(n,"progress"),i),I=Ue(Ge("progress-bar",y&&n||r,d?"progress-bar-animated":null,v?"bg-".concat(v):null,p||d?"progress-bar-striped":null),i),D={className:I,style:w1(w1(w1({},y?w:{}),P),{},{width:"".concat(F,"%")}),role:"progressbar","aria-valuenow":a,"aria-valuemin":l,"aria-valuemax":f,"aria-valuetext":E,"aria-labelledby":T,children:t};return y?V.createElement(_,Yv({},j,D)):V.createElement(_,Yv({},j,{style:w,className:k}),g?t:V.createElement("div",D))}sD.propTypes=xne;function Ew(e){"@babel/helpers - typeof";return Ew=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ew(e)}function wne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function One(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zv(e){return Zv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Zv(e)}var Ane={children:$.node.isRequired,node:$.any},lD=function(e){Pne(n,e);var t=Ene(n);function n(){return wne(this,n),t.apply(this,arguments)}return Sne(n,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return bP?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),Rs.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),n}(V.Component);lD.propTypes=Ane;function Tw(e){"@babel/helpers - typeof";return Tw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tw(e)}function c3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Fl(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xv(e){return Xv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Xv(e)}function Qv(){}var u3=$.shape(sr.propTypes),cD={autoFocus:$.bool,backdrop:$.oneOfType([$.bool,$.oneOf(["static"])]),backdropClassName:$.string,backdropTransition:u3,centered:$.bool,children:$.node,contentClassName:$.string,className:$.string,container:Fc,cssModule:$.object,external:$.node,fade:$.bool,fullscreen:$.oneOfType([$.bool,$.oneOf(["sm","md","lg","xl"])]),innerRef:$.oneOfType([$.object,$.string,$.func]),isOpen:$.bool,keyboard:$.bool,labelledBy:$.string,modalClassName:$.string,modalTransition:u3,onClosed:$.func,onEnter:$.func,onExit:$.func,onOpened:$.func,returnFocusAfterClose:$.bool,role:$.string,scrollable:$.bool,size:$.string,toggle:$.func,trapFocus:$.bool,unmountOnClose:$.bool,wrapClassName:$.string,zIndex:$.oneOfType([$.number,$.string])},Dne=Object.keys(cD),Fne={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:Qv,onClosed:Qv,modalTransition:{timeout:Rv.Modal},backdropTransition:{mountOnEnter:!0,timeout:Rv.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},gr=function(e){Lne(n,e);var t=Rne(n);function n(r){var i;return kne(this,n),i=t.call(this,r),i._element=null,i._originalBodyPadding=null,i.getFocusableChildren=i.getFocusableChildren.bind(Gr(i)),i.handleBackdropClick=i.handleBackdropClick.bind(Gr(i)),i.handleBackdropMouseDown=i.handleBackdropMouseDown.bind(Gr(i)),i.handleEscape=i.handleEscape.bind(Gr(i)),i.handleStaticBackdropAnimation=i.handleStaticBackdropAnimation.bind(Gr(i)),i.handleTab=i.handleTab.bind(Gr(i)),i.onOpened=i.onOpened.bind(Gr(i)),i.onClosed=i.onClosed.bind(Gr(i)),i.manageFocusAfterClose=i.manageFocusAfterClose.bind(Gr(i)),i.clearBackdropAnimationTimeout=i.clearBackdropAnimationTimeout.bind(Gr(i)),i.trapFocus=i.trapFocus.bind(Gr(i)),i.state={isOpen:!1,showStaticBackdropAnimation:!1},i}return Mne(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isOpen,a=i.autoFocus,s=i.onEnter;o&&(this.init(),this.setState({isOpen:!0}),a&&this.setFocus()),s&&s(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0}},{key:"componentDidUpdate",value:function(i,o){if(this.props.isOpen&&!i.isOpen){this.init(),this.setState({isOpen:!0});return}this.props.autoFocus&&this.state.isOpen&&!o.isOpen&&this.setFocus(),this._element&&i.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)}},{key:"componentWillUnmount",value:function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1}},{key:"handleBackdropClick",value:function(i){if(i.target===this._mouseDownElement){i.stopPropagation();var o=this._dialog?this._dialog.parentNode:null;if(o&&i.target===o&&this.props.backdrop==="static"&&this.handleStaticBackdropAnimation(),!this.props.isOpen||this.props.backdrop!==!0)return;o&&i.target===o&&this.props.toggle&&this.props.toggle(i)}}},{key:"handleTab",value:function(i){if(i.which===9&&!(this.modalIndex0&&(i.preventDefault(),i.stopPropagation(),o[0].focus())}}},{key:"init",value:function(){try{this._triggeringElement=document.activeElement}catch{this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=Vd(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=CX(),n.openCount<1&&(n.originalBodyOverflow=window.getComputedStyle(document.body).overflow),TX(),n.openCount===0&&(document.body.className=Ge(document.body.className,Ue("modal-open",this.props.cssModule)),document.body.style.overflow="hidden"),this.modalIndex=n.openCount,n.openCount+=1}},{key:"destroy",value:function(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()}},{key:"manageFocusAfterClose",value:function(){if(this._triggeringElement){var i=this.props.returnFocusAfterClose;this._triggeringElement.focus&&i&&this._triggeringElement.focus(),this._triggeringElement=null}}},{key:"close",value:function(){if(n.openCount<=1){var i=Ue("modal-open",this.props.cssModule),o=new RegExp("(^| )".concat(i,"( |$)"));document.body.className=document.body.className.replace(o," ").trim(),document.body.style.overflow=n.originalBodyOverflow}this.manageFocusAfterClose(),n.openCount=Math.max(0,n.openCount-1),jI(this._originalBodyPadding)}},{key:"clearBackdropAnimationTimeout",value:function(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)}},{key:"renderModalDialog",value:function(){var i,o=this,a=Ja(this.props,Dne),s="modal-dialog";return V.createElement("div",sd({},a,{className:Ue(Ge(s,this.props.className,(i={},Yl(i,"modal-".concat(this.props.size),this.props.size),Yl(i,"".concat(s,"-centered"),this.props.centered),Yl(i,"".concat(s,"-scrollable"),this.props.scrollable),Yl(i,"modal-fullscreen",this.props.fullscreen===!0),Yl(i,"modal-fullscreen-".concat(this.props.fullscreen,"-down"),typeof this.props.fullscreen=="string"),i)),this.props.cssModule),role:"document",ref:function(c){o._dialog=c}}),V.createElement("div",{className:Ue(Ge("modal-content",this.props.contentClassName),this.props.cssModule)},this.props.children))}},{key:"render",value:function(){var i=this.props.unmountOnClose;if(this._element&&(this.state.isOpen||!i)){var o=!!this._element&&!this.state.isOpen&&!i;this._element.style.display=o?"none":"block";var a=this.props,s=a.wrapClassName,l=a.modalClassName,c=a.backdropClassName,f=a.cssModule,d=a.isOpen,p=a.backdrop,v=a.role,y=a.labelledBy,g=a.external,x=a.innerRef,_={onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown,onKeyUp:this.handleEscape,onKeyDown:this.handleTab,style:{display:"block"},"aria-labelledby":y,"aria-modal":!0,role:v,tabIndex:"-1"},b=this.props.fade,w=Fl(Fl(Fl({},sr.defaultProps),this.props.modalTransition),{},{baseClass:b?this.props.modalTransition.baseClass:"",timeout:b?this.props.modalTransition.timeout:0}),S=Fl(Fl(Fl({},sr.defaultProps),this.props.backdropTransition),{},{baseClass:b?this.props.backdropTransition.baseClass:"",timeout:b?this.props.backdropTransition.timeout:0}),P=p&&(b?V.createElement(sr,sd({},S,{in:d&&!!p,cssModule:f,className:Ue(Ge("modal-backdrop",c),f)})):V.createElement("div",{className:Ue(Ge("modal-backdrop","show",c),f)}));return V.createElement(lD,{node:this._element},V.createElement("div",{className:Ue(s)},V.createElement(sr,sd({},_,w,{in:d,onEntered:this.onOpened,onExited:this.onClosed,cssModule:f,className:Ue(Ge("modal",l,this.state.showStaticBackdropAnimation&&"modal-static"),f),innerRef:x}),g,this.renderModalDialog()),P))}return null}}]),n}(V.Component);gr.propTypes=cD;gr.defaultProps=Fne;gr.openCount=0;gr.originalBodyOverflow=null;var Bne=["className","cssModule","children","toggle","tag","wrapTag","closeAriaLabel","close"];function Aw(){return Aw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Vne={children:$.node,className:$.string,close:$.object,closeAriaLabel:$.string,cssModule:$.object,tag:ot,toggle:$.func,wrapTag:ot};function ho(e){var t,n=e.className,r=e.cssModule,i=e.children,o=e.toggle,a=e.tag,s=a===void 0?"h5":a,l=e.wrapTag,c=l===void 0?"div":l,f=e.closeAriaLabel,d=f===void 0?"Close":f,p=e.close,v=Une(e,Bne),y=Ue(Ge(n,"modal-header"),r);return!p&&o&&(t=V.createElement("button",{type:"button",onClick:o,className:Ue("btn-close",r),"aria-label":d})),V.createElement(c,Aw({},v,{className:y}),V.createElement(s,{className:Ue("modal-title",r)},i),p||t)}ho.propTypes=Vne;var Wne=["className","cssModule","tag"];function kw(){return kw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Gne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var qne={className:$.string,cssModule:$.object,tag:ot};function Mi(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Hne(e,Wne),a=Ue(Ge(t,"modal-body"),n);return V.createElement(i,kw({},o,{className:a}))}Mi.propTypes=qne;var Kne=["className","cssModule","tag"];function Nw(){return Nw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Zne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Xne={className:$.string,cssModule:$.object,tag:ot};function rs(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r,o=Yne(e,Kne),a=Ue(Ge(t,"modal-footer"),n);return V.createElement(i,Nw({},o,{className:a}))}rs.propTypes=Xne;function Mw(){return Mw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function tre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var nre={className:$.string,cssModule:$.object,flush:$.bool,horizontal:$.oneOfType([$.bool,$.string]),numbered:$.bool,tag:ot},rre=function(t){return t===!1?!1:t===!0||t==="xs"?"list-group-horizontal":"list-group-horizontal-".concat(t)};function uD(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"ul":r,o=e.flush,a=e.horizontal,s=a===void 0?!1:a,l=e.numbered,c=l===void 0?!1:l,f=ere(e,Jne),d=Ue(Ge(t,"list-group",o?"list-group-flush":rre(s),{"list-group-numbered":c}),n);return V.createElement(i,Lw({},f,{className:d}))}uD.propTypes=nre;var ire=["className","cssModule","row","disabled","check","inline","floating","noMargin","tag","switch"];function Rw(){return Rw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function are(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var sre={children:$.node,row:$.bool,check:$.bool,switch:$.bool,inline:$.bool,floating:$.bool,noMargin:$.bool,disabled:$.bool,tag:ot,className:$.string,cssModule:$.object};function il(e){var t=e.className,n=e.cssModule,r=e.row,i=e.disabled,o=e.check,a=e.inline,s=e.floating,l=e.noMargin,c=e.tag,f=c===void 0?"div":c,d=e.switch,p=ore(e,ire),v=o||d,y=Ue(Ge(t,r?"row":!1,v?"form-check":!1,d?"form-switch":!1,v||l?!1:"mb-3",v&&a?"form-check-inline":!1,v&&i?"disabled":!1,s&&"form-floating"),n);return f==="fieldset"&&(p.disabled=i),V.createElement(f,Rw({},p,{className:y}))}il.propTypes=sre;function $w(e){"@babel/helpers - typeof";return $w=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$w(e)}var lre=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"];function Iw(){return Iw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ure(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function fre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dre(e,t){for(var n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Jv(e){return Jv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Jv(e)}var yre={children:$.node,type:$.string,size:$.oneOfType([$.number,$.string]),bsSize:$.string,valid:$.bool,invalid:$.bool,tag:ot,innerRef:$.oneOfType([$.object,$.func,$.string]),plaintext:$.bool,addon:$.bool,className:$.string,cssModule:$.object},An=function(e){pre(n,e);var t=mre(n);function n(r){var i;return fre(this,n),i=t.call(this,r),i.getRef=i.getRef.bind(Fw(i)),i.focus=i.focus.bind(Fw(i)),i}return hre(n,[{key:"getRef",value:function(i){this.props.innerRef&&this.props.innerRef(i),this.ref=i}},{key:"focus",value:function(){this.ref&&this.ref.focus()}},{key:"render",value:function(){var i=this.props,o=i.className,a=i.cssModule,s=i.type,l=s===void 0?"text":s,c=i.bsSize,f=i.valid,d=i.invalid,p=i.tag,v=i.addon,y=i.plaintext,g=i.innerRef,x=cre(i,lre),_=["switch","radio","checkbox"].indexOf(l)>-1,b=/\D/g,w=l==="textarea",S=l==="select",P=l==="range",E=p||(S||w?l:"input"),T="form-control";y?(T="".concat(T,"-plaintext"),E=p||"input"):P?T="form-range":S?T="form-select":_&&(v?T=null:T="form-check-input"),x.size&&b.test(x.size)&&(Rx(`Please use the prop "bsSize" instead of the "size" to bootstrap's input sizing.`),c=x.size,delete x.size);var j=Ue(Ge(o,d&&"is-invalid",f&&"is-valid",c?S?"form-select-".concat(c):"form-control-".concat(c):!1,T),a);return(E==="input"||p&&typeof p=="function")&&(x.type=l==="switch"?"checkbox":l),x.children&&!(y||l==="select"||typeof E!="string"||E==="select")&&(Rx('Input with a type of "'.concat(l,'" cannot have children. Please use "value"/"defaultValue" instead.')),delete x.children),V.createElement(E,Iw({},x,{ref:g,className:j,"aria-invalid":d}))}}]),n}(V.Component);An.propTypes=yre;var bre=["className","cssModule","tag","type","size"];function eg(){return eg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var wre={className:$.string,cssModule:$.object,size:$.string,tag:ot,type:$.string};function t0(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"div":r;e.type;var o=e.size,a=_re(e,bre),s=Ue(Ge(t,"input-group",o?"input-group-".concat(o):null),n);return e.type==="dropdown"?V.createElement(ts,eg({},a,{className:s})):V.createElement(QI.Provider,{value:{insideInputGroup:!0}},V.createElement(i,eg({},a,{className:s})))}t0.propTypes=wre;var Ore=["className","listClassName","cssModule","size","tag","listTag","aria-label"];function Bw(){return Bw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ere(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Cre={children:$.node,className:$.string,listClassName:$.string,cssModule:$.object,size:$.string,tag:ot,listTag:ot,"aria-label":$.string};function RP(e){var t=e.className,n=e.listClassName,r=e.cssModule,i=e.size,o=e.tag,a=o===void 0?"nav":o,s=e.listTag,l=s===void 0?"ul":s,c=e["aria-label"],f=c===void 0?"pagination":c,d=Pre(e,Ore),p=Ue(Ge(t),r),v=Ue(Ge(n,"pagination",Sre({},"pagination-".concat(i),!!i)),r);return V.createElement(a,{className:p,"aria-label":f},V.createElement(l,Bw({},d,{className:v})))}RP.propTypes=Cre;var Tre=["active","className","cssModule","disabled","tag"];function Uw(){return Uw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Are(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var kre={active:$.bool,children:$.node,className:$.string,cssModule:$.object,disabled:$.bool,tag:ot};function Hs(e){var t=e.active,n=e.className,r=e.cssModule,i=e.disabled,o=e.tag,a=o===void 0?"li":o,s=jre(e,Tre),l=Ue(Ge(n,"page-item",{active:t,disabled:i}),r);return V.createElement(a,Uw({},s,{className:l}))}Hs.propTypes=kre;var Nre=["className","cssModule","next","previous","first","last","tag"];function zw(){return zw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Lre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Rre={"aria-label":$.string,children:$.node,className:$.string,cssModule:$.object,next:$.bool,previous:$.bool,first:$.bool,last:$.bool,tag:ot};function Gs(e){var t=e.className,n=e.cssModule,r=e.next,i=e.previous,o=e.first,a=e.last,s=e.tag,l=s===void 0?"a":s,c=Mre(e,Nre),f=Ue(Ge(t,"page-link"),n),d;i?d="Previous":r?d="Next":o?d="First":a&&(d="Last");var p=e["aria-label"]||d,v;i?v="‹":r?v="›":o?v="«":a&&(v="»");var y=e.children;return y&&Array.isArray(y)&&y.length===0&&(y=null),!c.href&&l==="a"&&(l="button"),(i||r||o||a)&&(y=[V.createElement("span",{"aria-hidden":"true",key:"caret"},y||v),V.createElement("span",{className:"visually-hidden",key:"ariaLabel"},p)]),V.createElement(l,zw({},c,{className:f,"aria-label":p}),y)}Gs.propTypes=Rre;var $re=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function Vw(){return Vw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Bre={children:$.node,className:$.string,closeClassName:$.string,closeAriaLabel:$.string,color:$.string,cssModule:$.object,fade:$.bool,innerRef:$.oneOfType([$.object,$.string,$.func]),isOpen:$.bool,tag:ot,toggle:$.func,transition:$.shape(sr.propTypes)};function fD(e){var t=e.className,n=e.closeClassName,r=e.closeAriaLabel,i=r===void 0?"Close":r,o=e.cssModule,a=e.tag,s=a===void 0?"div":a,l=e.color,c=l===void 0?"success":l,f=e.isOpen,d=f===void 0?!0:f,p=e.toggle,v=e.children,y=e.transition,g=y===void 0?wf(wf({},sr.defaultProps),{},{unmountOnExit:!0}):y,x=e.fade,_=x===void 0?!0:x,b=e.innerRef,w=Dre(e,$re),S=Ue(Ge(t,"alert","alert-".concat(c),{"alert-dismissible":p}),o),P=Ue(Ge("btn-close",n),o),E=wf(wf(wf({},sr.defaultProps),g),{},{baseClass:_?g.baseClass:"",timeout:_?g.timeout:0});return V.createElement(sr,Vw({},w,E,{tag:s,className:S,in:d,role:"alert",innerRef:b}),p?V.createElement("button",{type:"button",className:P,"aria-label":i,onClick:p}):null,v)}fD.propTypes=Bre;var Ure=["className","cssModule","tag","active","disabled","action","color"];function Ww(){return Ww=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vre(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var Wre={action:$.bool,active:$.bool,className:$.string,cssModule:$.object,color:$.string,disabled:$.bool,tag:ot},Hre=function(t){t.preventDefault()};function dD(e){var t=e.className,n=e.cssModule,r=e.tag,i=r===void 0?"li":r,o=e.active,a=e.disabled,s=e.action,l=e.color,c=zre(e,Ure),f=Ue(Ge(t,o?"active":!1,a?"disabled":!1,s?"list-group-item-action":!1,l?"list-group-item-".concat(l):!1,"list-group-item"),n);return a&&(c.onClick=Hre),V.createElement(i,Ww({},c,{className:f}))}dD.propTypes=Wre;function Hw(e){"@babel/helpers - typeof";return Hw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hw(e)}function d3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Gre(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tg(e){return tg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},tg(e)}var tie=["defaultOpen"],Zh=function(e){Xre(n,e);var t=Qre(n);function n(r){var i;return Kre(this,n),i=t.call(this,r),i.state={isOpen:r.defaultOpen||!1},i.toggle=i.toggle.bind(hD(i)),i}return Zre(n,[{key:"toggle",value:function(i){var o=this;this.setState(function(a){return{isOpen:!a.isOpen}},function(){o.props.onToggle&&o.props.onToggle(i,o.state.isOpen)})}},{key:"render",value:function(){return V.createElement(ts,Gw({isOpen:this.state.isOpen,toggle:this.toggle},Ja(this.props,tie)))}}]),n}(M.Component);Zh.propTypes=Gre({defaultOpen:$.bool,onToggle:$.func},ts.propTypes);function Kw(e){"@babel/helpers - typeof";return Kw=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kw(e)}function h3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nie(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ng(e){return ng=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},ng(e)}var fie=["defaultOpen"],Dr=function(e){sie(n,e);var t=lie(n);function n(r){var i;return iie(this,n),i=t.call(this,r),i.state={isOpen:r.defaultOpen||!1},i.toggle=i.toggle.bind(pD(i)),i}return aie(n,[{key:"toggle",value:function(){this.setState(function(i){return{isOpen:!i.isOpen}})}},{key:"render",value:function(){return V.createElement(e0,Yw({isOpen:this.state.isOpen,toggle:this.toggle},Ja(this.props,fie)))}}]),n}(M.Component);Dr.propTypes=nie({defaultOpen:$.bool},e0.propTypes);const die=e=>({error:"border-danger",default:""})[e],hie=e=>({error:"text-danger",default:"text-muted"})[e],Bo=({className:e,children:t,loading:n=!1,type:r="default",fullWidth:i=!1})=>{const o=Oe({"col-md-12":i,"col-md-10 offset-md-1":!i});return m.jsx(Er,{className:Oe("g-0",e),children:m.jsx("div",{className:o,children:m.jsx(Ir,{className:die(r),body:!0,children:m.jsxs("h3",{className:Oe("text-center mb-0",hie(r)),children:[n&&m.jsx(Ae,{icon:R6,spin:!0}),n&&m.jsx("span",{className:"ms-2",children:t??"Loading..."}),!n&&t]})})})})},yt=({title:e,children:t,bodyClassName:n,...r})=>m.jsxs(Ir,{...r,children:[e&&m.jsx(Yh,{role:"heading","aria-level":4,children:e}),m.jsx(Kh,{className:n,children:t})]}),Xn=({children:e,type:t,className:n,small:r=!1})=>m.jsx(Er,{className:n,children:m.jsx("div",{className:Oe({"col-md-10 offset-md-1":!r,"col-12":r}),children:m.jsx(yt,{role:"document",className:Oe("text-center",{"bg-main":t==="success","bg-danger":t==="error","bg-warning":t==="warning","text-white":t!=="warning"}),bodyClassName:Oe({"p-2":r}),children:e})})}),mD=({checked:e=!1,onChange:t,className:n,children:r,type:i,inline:o=!1})=>{const a=M.useId(),s=f=>t==null?void 0:t(f.target.checked,f),l={"form-switch":i==="switch","form-checkbox":i==="checkbox"},c=o?{display:"inline-block"}:{};return m.jsxs("span",{className:Oe("form-check",l,n),style:c,children:[m.jsx("input",{type:"checkbox",className:"form-check-input",id:a,checked:e,onChange:s}),m.jsx("label",{className:"form-check-label",htmlFor:a,children:r})]})},vD=e=>m.jsx(mD,{type:"checkbox",...e}),Uo=e=>m.jsx(mD,{type:"switch",...e}),ju=({children:e,label:t,className:n="",labelClassName:r="",noMargin:i=!1,id:o})=>m.jsxs("div",{className:`${n} ${i?"":"mb-3"}`,children:[m.jsx("label",{className:`form-label ${r}`,htmlFor:o,children:t}),e]}),Km=({children:e,value:t,onChange:n,type:r,required:i,placeholder:o,className:a,labelClassName:s})=>{const l=M.useId();return m.jsx(ju,{label:m.jsxs(m.Fragment,{children:[e,":"]}),className:a,labelClassName:s,id:l,children:m.jsx("input",{id:l,className:"form-control",type:r??"text",value:t,required:i??!0,placeholder:o,onChange:c=>n(c.target.value)})})},pie=500;let Ym;const p3=()=>{Ym!==null&&clearTimeout(Ym),Ym=null},Xh=({onChange:e,className:t,large:n=!0,noBorder:r=!1,initialValue:i="",setTimeout_:o=setTimeout})=>{const[a,s]=M.useState(i),l=(c,f=pie)=>{s(c),p3(),Ym=o(()=>{e(c),p3()},f)};return m.jsxs("div",{className:Oe("search-field",t),children:[m.jsx("input",{type:"text",className:Oe("form-control search-field__input",{"form-control-lg":n,"search-field__input--no-border":r}),placeholder:"Search...",value:a,onChange:c=>l(c.target.value)}),m.jsx(Ae,{icon:zK,className:"search-field__icon"}),m.jsx("button",{"aria-label":"Clear search",type:"button",className:"close search-field__close btn-close",hidden:a==="",id:"search-field__close",onClick:()=>l("",0)})]})},gD=e=>{const t=new URLSearchParams(e),n={};return t.forEach((r,i)=>{if(i.endsWith("[]")){const o=i.slice(0,-2);n[o]??(n[o]=[]),n[o].push(r)}else n[i]=r}),n},n0=e=>{const t=new URLSearchParams;for(const[n,r]of Object.entries(e))r!==void 0&&(Array.isArray(r)?r.forEach(i=>t.append(`${n}[]`,`${i}`)):t.append(n,`${r}`));return t.toString()},Lt=(e=!1)=>{const[t,n]=M.useState(e),r=M.useCallback(()=>n(a=>!a),[]),i=M.useCallback(()=>n(!0),[]),o=M.useCallback(()=>n(!1),[]);return[t,r,i,o]},yD=(e=!1,t=2e3,n=window.setTimeout,r=window.clearTimeout)=>{const[i,o]=M.useState(e),a=M.useRef(e),s=M.useRef(),l=M.useCallback(()=>{o(!a.current),s.current&&r(s.current),s.current=n(()=>o(a.current),t)},[r,t,n]);return[i,l]},Ni=()=>M.useRef(null),Au=()=>{const{search:e}=mr();return M.useMemo(()=>gD(e),[e])},Qo=({text:e,disabled:t=!1,className:n,children:r,dropdownClassName:i,noCaret:o,end:a=!1,minWidth:s,inline:l,size:c,...f})=>{const[d,p]=Lt(),v=Oe("dropdown-btn__toggle",n,{"btn-block":!l,"dropdown-btn__toggle--with-caret":!o}),y={minWidth:s&&`${s}px`};return m.jsxs(ts,{isOpen:d,toggle:p,disabled:t,className:i,children:[m.jsx(Xo,{size:c,caret:!o,className:v,color:"primary",...f,children:e}),m.jsx(ns,{className:"w-100",end:a,style:y,children:r})]})},r0=({children:e,minWidth:t,label:n="Options"})=>m.jsx(Qo,{text:m.jsx(Ae,{className:"px-1",icon:NK}),"aria-label":n,size:"sm",minWidth:t,end:!0,noCaret:!0,inline:!0,children:e}),ld=({children:e,...t})=>m.jsx(wP,{children:m.jsx(OP,{className:"nav-pills__nav-link",tag:x6,...t,children:e})}),bD=({children:e,fill:t=!1,className:n=""})=>m.jsx(Ir,{className:`nav-pills__nav p-0 overflow-hidden ${n}`,body:!0,children:m.jsx(xP,{pills:!0,fill:t,children:M.Children.map(e,r=>{if(!M.isValidElement(r)||r.type!==ld)throw new Error("Only NavPillItem children are allowed inside NavPills.");return r})})}),i0=(e,t,n)=>e!==t?"ASC":n?{ASC:"DESC",DESC:void 0}[n]:"ASC",_D=(e,{field:t,dir:n})=>!t||!n?e:e.sort((r,i)=>{const o=n==="ASC"?1:-1,a=n==="ASC"?-1:1;return r[t]>i[t]?o:a}),mie=e=>e.dir?`${e.field}-${e.dir}`:void 0,vie=e=>{const[t,n]=e.split("-");return{field:t,dir:n}};function Qh({items:e,order:t,onChange:n,isButton:r=!0,right:i=!1,prefixed:o=!0}){const a=s=>()=>{const l=i0(s,t.field,t.dir);n(l?s:void 0,l)};return m.jsxs(Zh,{children:[m.jsxs(Xo,{caret:!0,color:r?"primary":"link",className:Oe({"dropdown-btn__toggle btn-block pe-4 overflow-hidden":r,"btn-sm p-0":!r}),children:[!r&&m.jsx(m.Fragment,{children:"Order by"}),r&&!t.field&&m.jsx("i",{children:"Order by..."}),r&&t.field&&m.jsxs(m.Fragment,{children:[o&&"Order by: ",e[t.field]," - ",m.jsx("small",{children:t.dir??"DESC"})]})]}),m.jsxs(ns,{end:i,className:Oe("w-100",{"ordering-dropdown__menu--link":!r}),children:[Object.entries(e).map(([s,l])=>m.jsxs(Me,{active:t.field===s,onClick:a(s),children:[l,t.field===s&&m.jsx(Ae,{icon:t.dir==="ASC"?$K:xK,className:"ordering-dropdown__sort-icon"})]},s)),m.jsx(Me,{divider:!0}),m.jsx(Me,{disabled:!t.field,onClick:()=>n(),children:m.jsx("i",{children:"Clear selection"})})]})]})}const Yd="#4696e5",gie="rgba(70, 150, 229, 0.4)",Xw="#f77f28",yie="rgba(247, 127, 40, 0.4)",bie="white",_ie="#161b22",xie=e=>{var t;return(t=document.querySelector("html"))==null?void 0:t.setAttribute("data-theme",e)},Jh=()=>{var e;return((e=document.querySelector("html"))==null?void 0:e.getAttribute("data-theme"))==="dark"},$P=(e=window.matchMedia.bind(window))=>e("(prefers-color-scheme: dark)").matches?"dark":"light",wie=M.forwardRef(({isOpen:e,toggle:t,forceUpdate:n},r)=>{const[i,,o]=Lt(),a=M.useCallback(()=>{o(),n()},[n,o]);return m.jsxs(fD,{className:"app-update-banner",isOpen:e,toggle:t,tag:yt,color:"secondary",innerRef:r,children:[m.jsx("h4",{className:"mb-4",children:"This app has just been updated!"}),m.jsxs("p",{className:"mb-0",children:["Restart it to enjoy the new features.",m.jsxs(Ke,{role:"button",disabled:i,className:"ms-2",color:"secondary",size:"sm",onClick:a,children:[!i&&m.jsxs(m.Fragment,{children:["Restart now ",m.jsx(Ae,{icon:qK,className:"ms-1"})]}),i&&m.jsx(m.Fragment,{children:"Restarting..."})]})]})]})}),xD=({to:e="/",children:t="Home"})=>m.jsx("div",{className:"home",children:m.jsxs(yt,{className:"p-4",children:[m.jsx("h2",{children:"Oops! We could not find requested route."}),m.jsx("p",{children:"Use your browser's back button to navigate to the page you have previously come from, or just press this button."}),m.jsx("br",{}),m.jsx(kt,{to:e,className:"btn btn-outline-primary btn-lg",children:t})]})});function Li(e){return M.useRef(e).current}function Ri(e,t){return(n,r=globalThis.console)=>(t.forEach(i=>{const o=n[i];e[i]=o}),e)}const Oie=async()=>{var t;(await((t=navigator.serviceWorker)==null?void 0:t.getRegistrations())??[]).forEach(({waiting:n})=>{n==null||n.addEventListener("statechange",r=>{var i;((i=r.target)==null?void 0:i.state)==="activated"&&window.location.reload()}),n==null||n.postMessage({type:"SKIP_WAITING"})})},wD=({fetchServers:e,servers:t,settings:n,appUpdated:r,resetAppUpdate:i})=>{var x;const{MainHeader:o,Home:a,ShlinkWebComponentContainer:s,CreateServer:l,EditServer:c,Settings:f,ManageServers:d,ShlinkVersionsContainer:p}=Li(wD),v=mr(),y=M.useRef(t),g=v.pathname==="/";return M.useEffect(()=>{Object.keys(y.current).length===0&&e()},[e]),M.useEffect(()=>{var _;xie(((_=n.ui)==null?void 0:_.theme)??$P())},[(x=n.ui)==null?void 0:x.theme]),m.jsxs("div",{className:"container-fluid app-container",children:[m.jsx(o,{}),m.jsxs("div",{className:"app",children:[m.jsx("div",{className:Oe("shlink-wrapper",{"d-flex align-items-center pt-3":g}),children:m.jsxs(Hy,{children:[m.jsx(at,{index:!0,element:m.jsx(a,{})}),m.jsx(at,{path:"/settings/*",element:m.jsx(f,{})}),m.jsx(at,{path:"/manage-servers",element:m.jsx(d,{})}),m.jsx(at,{path:"/server/create",element:m.jsx(l,{})}),m.jsx(at,{path:"/server/:serverId/edit",element:m.jsx(c,{})}),m.jsx(at,{path:"/server/:serverId/*",element:m.jsx(s,{})}),m.jsx(at,{path:"*",element:m.jsx(xD,{})})]})}),m.jsx("div",{className:"shlink-footer",children:m.jsx(p,{})})]}),m.jsx(wie,{isOpen:r,toggle:i,forceUpdate:Oie})]})},Sie=Ri(wD,["MainHeader","Home","ShlinkWebComponentContainer","CreateServer","EditServer","Settings","ManageServers","ShlinkVersionsContainer"]);function Cn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Pie=typeof Symbol=="function"&&Symbol.observable||"@@observable",m3=Pie,O1=()=>Math.random().toString(36).substring(7).split("").join("."),Eie={INIT:`@@redux/INIT${O1()}`,REPLACE:`@@redux/REPLACE${O1()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${O1()}`},rg=Eie;function IP(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function OD(e,t,n){if(typeof e!="function")throw new Error(Cn(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Cn(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Cn(1));return n(OD)(e,t)}let r=e,i=t,o=new Map,a=o,s=0,l=!1;function c(){a===o&&(a=new Map,o.forEach((x,_)=>{a.set(_,x)}))}function f(){if(l)throw new Error(Cn(3));return i}function d(x){if(typeof x!="function")throw new Error(Cn(4));if(l)throw new Error(Cn(5));let _=!0;c();const b=s++;return a.set(b,x),function(){if(_){if(l)throw new Error(Cn(6));_=!1,c(),a.delete(b),o=null}}}function p(x){if(!IP(x))throw new Error(Cn(7));if(typeof x.type>"u")throw new Error(Cn(8));if(typeof x.type!="string")throw new Error(Cn(17));if(l)throw new Error(Cn(9));try{l=!0,i=r(i,x)}finally{l=!1}return(o=a).forEach(b=>{b()}),x}function v(x){if(typeof x!="function")throw new Error(Cn(10));r=x,p({type:rg.REPLACE})}function y(){const x=d;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(Cn(11));function b(){const S=_;S.next&&S.next(f())}return b(),{unsubscribe:x(b)}},[m3](){return this}}}return p({type:rg.INIT}),{dispatch:p,subscribe:d,getState:f,replaceReducer:v,[m3]:y}}function Cie(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:rg.INIT})>"u")throw new Error(Cn(12));if(typeof n(void 0,{type:rg.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Cn(13))})}function DP(e){const t=Object.keys(e),n={};for(let o=0;o"u")throw s&&s.type,new Error(Cn(14));c[d]=y,l=l||y!==v}return l=l||r.length!==Object.keys(a).length,l?c:a}}function ig(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Tie(...e){return t=>(n,r)=>{const i=t(n,r);let o=()=>{throw new Error(Cn(15))};const a={getState:i.getState,dispatch:(l,...c)=>o(l,...c)},s=e.map(l=>l(a));return o=ig(...s)(i.dispatch),{...i,dispatch:o}}}function jie(e){return IP(e)&&"type"in e&&typeof e.type=="string"}var SD=Symbol.for("immer-nothing"),v3=Symbol.for("immer-draftable"),Nr=Symbol.for("immer-state");function Oi(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Hc=Object.getPrototypeOf;function ol(e){return!!e&&!!e[Nr]}function zo(e){var t;return e?PD(e)||Array.isArray(e)||!!e[v3]||!!((t=e.constructor)!=null&&t[v3])||a0(e)||s0(e):!1}var Aie=Object.prototype.constructor.toString();function PD(e){if(!e||typeof e!="object")return!1;const t=Hc(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Aie}function Zd(e,t){o0(e)===0?Object.entries(e).forEach(([n,r])=>{t(n,r,e)}):e.forEach((n,r)=>t(r,n,e))}function o0(e){const t=e[Nr];return t?t.type_:Array.isArray(e)?1:a0(e)?2:s0(e)?3:0}function Qw(e,t){return o0(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ED(e,t,n){const r=o0(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function kie(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function a0(e){return e instanceof Map}function s0(e){return e instanceof Set}function Ss(e){return e.copy_||e.base_}function Jw(e,t){if(a0(e))return new Map(e);if(s0(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&PD(e))return Hc(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[Nr];let r=Reflect.ownKeys(n);for(let i=0;i1&&(e.set=e.add=e.clear=e.delete=Nie),Object.freeze(e),t&&Zd(e,(n,r)=>FP(r,!0))),e}function Nie(){Oi(2)}function l0(e){return Object.isFrozen(e)}var Mie={};function al(e){const t=Mie[e];return t||Oi(0,e),t}var Xd;function CD(){return Xd}function Lie(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function g3(e,t){t&&(al("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function e2(e){t2(e),e.drafts_.forEach(Rie),e.drafts_=null}function t2(e){e===Xd&&(Xd=e.parent_)}function y3(e){return Xd=Lie(Xd,e)}function Rie(e){const t=e[Nr];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function b3(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Nr].modified_&&(e2(t),Oi(4)),zo(e)&&(e=og(t,e),t.parent_||ag(t,e)),t.patches_&&al("Patches").generateReplacementPatches_(n[Nr].base_,e,t.patches_,t.inversePatches_)):e=og(t,n,[]),e2(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==SD?e:void 0}function og(e,t,n){if(l0(t))return t;const r=t[Nr];if(!r)return Zd(t,(i,o)=>_3(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return ag(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),Zd(o,(s,l)=>_3(e,r,i,s,l,n,a)),ag(e,i,!1),n&&e.patches_&&al("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function _3(e,t,n,r,i,o,a){if(ol(i)){const s=o&&t&&t.type_!==3&&!Qw(t.assigned_,r)?o.concat(r):void 0,l=og(e,i,s);if(ED(n,r,l),ol(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(zo(i)&&!l0(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;og(e,i),(!t||!t.scope_.parent_)&&ag(e,i)}}function ag(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&FP(t,n)}function $ie(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:CD(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=BP;n&&(i=[r],o=Qd);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var BP={get(e,t){if(t===Nr)return e;const n=Ss(e);if(!Qw(n,t))return Iie(e,n,t);const r=n[t];return e.finalized_||!zo(r)?r:r===S1(e.base_,t)?(P1(e),e.copy_[t]=r2(r,e)):r},has(e,t){return t in Ss(e)},ownKeys(e){return Reflect.ownKeys(Ss(e))},set(e,t,n){const r=TD(Ss(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=S1(Ss(e),t),o=i==null?void 0:i[Nr];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(kie(n,i)&&(n!==void 0||Qw(e.base_,t)))return!0;P1(e),n2(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return S1(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,P1(e),n2(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Ss(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Oi(11)},getPrototypeOf(e){return Hc(e.base_)},setPrototypeOf(){Oi(12)}},Qd={};Zd(BP,(e,t)=>{Qd[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Qd.deleteProperty=function(e,t){return Qd.set.call(this,e,t,void 0)};Qd.set=function(e,t,n){return BP.set.call(this,e[0],t,n,e[0])};function S1(e,t){const n=e[Nr];return(n?Ss(n):e)[t]}function Iie(e,t,n){var i;const r=TD(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function TD(e,t){if(!(t in e))return;let n=Hc(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Hc(n)}}function n2(e){e.modified_||(e.modified_=!0,e.parent_&&n2(e.parent_))}function P1(e){e.copy_||(e.copy_=Jw(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Die=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(l=o,...c){return a.produce(l,f=>n.call(this,f,...c))}}typeof n!="function"&&Oi(6),r!==void 0&&typeof r!="function"&&Oi(7);let i;if(zo(t)){const o=y3(this),a=r2(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?e2(o):t2(o)}return g3(o,r),b3(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===SD&&(i=void 0),this.autoFreeze_&&FP(i,!0),r){const o=[],a=[];al("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else Oi(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){zo(e)||Oi(8),ol(e)&&(e=Fie(e));const t=y3(this),n=r2(e,void 0);return n[Nr].isManual_=!0,t2(t),n}finishDraft(e,t){const n=e&&e[Nr];(!n||!n.isManual_)&&Oi(9);const{scope_:r}=n;return g3(r,t),b3(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=al("Patches").applyPatches_;return ol(e)?r(e,t):this.produce(e,i=>r(i,t))}};function r2(e,t){const n=a0(e)?al("MapSet").proxyMap_(e,t):s0(e)?al("MapSet").proxySet_(e,t):$ie(e,t);return(t?t.scope_:CD()).drafts_.push(n),n}function Fie(e){return ol(e)||Oi(10,e),jD(e)}function jD(e){if(!zo(e)||l0(e))return e;const t=e[Nr];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Jw(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Jw(e,!0);return Zd(n,(r,i)=>{ED(n,r,jD(i))}),t&&(t.finalized_=!1),n}var Mr=new Die,AD=Mr.produce;Mr.produceWithPatches.bind(Mr);Mr.setAutoFreeze.bind(Mr);Mr.setUseStrictShallowCopy.bind(Mr);Mr.applyPatches.bind(Mr);Mr.createDraft.bind(Mr);Mr.finishDraft.bind(Mr);function kD(e){return({dispatch:n,getState:r})=>i=>o=>typeof o=="function"?o(n,r,e):i(o)}var Bie=kD(),Uie=kD,zie=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ig:ig.apply(null,arguments)},Vie=e=>e&&typeof e.match=="function";function Qn(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(no(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>jie(r)&&r.type===e,n}var ND=class Wf extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Wf.prototype)}static get[Symbol.species](){return Wf}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Wf(...t[0].concat(this)):new Wf(...t.concat(this))}};function x3(e){return zo(e)?AD(e,()=>{}):e}function w3(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(no(10));const r=n.insert(t,e);return e.set(t,r),r}function Wie(e){return typeof e=="boolean"}var Hie=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:o=!0}=t??{};let a=new ND;return n&&(Wie(n)?a.push(Bie):a.push(Uie(n.extraArgument))),a},Gie="RTK_autoBatch",MD=e=>t=>{setTimeout(t,e)},qie=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:MD(10),Kie=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,o=!1,a=!1;const s=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?qie:e.type==="callback"?e.queueNotification:MD(e.timeout),c=()=>{a=!1,o&&(o=!1,s.forEach(f=>f()))};return Object.assign({},r,{subscribe(f){const d=()=>i&&f(),p=r.subscribe(d);return s.add(f),()=>{p(),s.delete(f)}},dispatch(f){var d;try{return i=!((d=f==null?void 0:f.meta)!=null&&d[Gie]),o=!i,o&&(a||(a=!0,l(c))),r.dispatch(f)}finally{i=!0}}})},Yie=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new ND(e);return r&&i.push(Kie(typeof r=="object"?r:void 0)),i};function LD(e){const t=Hie(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{};let s;if(typeof n=="function")s=n;else if(IP(n))s=DP(n);else throw new Error(no(1));let l;typeof r=="function"?l=r(t):l=t();let c=ig;i&&(c=zie({trace:!1,...typeof i=="object"&&i}));const f=Tie(...l),d=Yie(f);let p=typeof a=="function"?a(d):d();const v=c(...p);return OD(s,o,v)}function RD(e){const t={},n=[];let r;const i={addCase(o,a){const s=typeof o=="string"?o:o.type;if(!s)throw new Error(no(28));if(s in t)throw new Error(no(29));return t[s]=a,i},addMatcher(o,a){return n.push({matcher:o,reducer:a}),i},addDefaultCase(o){return r=o,i}};return e(i),[t,n,r]}function Zie(e){return typeof e=="function"}function Xie(e,t){let[n,r,i]=RD(t),o;if(Zie(e))o=()=>x3(e());else{const s=x3(e);o=()=>s}function a(s=o(),l){let c=[n[l.type],...r.filter(({matcher:f})=>f(l)).map(({reducer:f})=>f)];return c.filter(f=>!!f).length===0&&(c=[i]),c.reduce((f,d)=>{if(d)if(ol(f)){const v=d(f,l);return v===void 0?f:v}else{if(zo(f))return AD(f,p=>d(p,l));{const p=d(f,l);if(p===void 0){if(f===null)return f;throw Error("A case reducer on a non-draftable value must not return undefined")}return p}}return f},s)}return a.getInitialState=o,a}var Qie=(e,t)=>Vie(e)?e.match(t):e(t);function Jie(...e){return t=>e.some(n=>Qie(n,t))}var eoe="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",toe=(e=21)=>{let t="",n=e;for(;n--;)t+=eoe[Math.random()*64|0];return t},noe=["name","message","stack","code"],E1=class{constructor(e,t){Ll(this,"_type");this.payload=e,this.meta=t}},O3=class{constructor(e,t){Ll(this,"_type");this.payload=e,this.meta=t}},roe=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of noe)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},$D=(()=>{function e(t,n,r){const i=Qn(t+"/fulfilled",(l,c,f,d)=>({payload:l,meta:{...d||{},arg:f,requestId:c,requestStatus:"fulfilled"}})),o=Qn(t+"/pending",(l,c,f)=>({payload:void 0,meta:{...f||{},arg:c,requestId:l,requestStatus:"pending"}})),a=Qn(t+"/rejected",(l,c,f,d,p)=>({payload:d,error:(r&&r.serializeError||roe)(l||"Rejected"),meta:{...p||{},arg:f,requestId:c,rejectedWithValue:!!d,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"}}));function s(l){return(c,f,d)=>{const p=r!=null&&r.idGenerator?r.idGenerator(l):toe(),v=new AbortController;let y,g;function x(b){g=b,v.abort()}const _=async function(){var S,P;let b;try{let E=(S=r==null?void 0:r.condition)==null?void 0:S.call(r,l,{getState:f,extra:d});if(ooe(E)&&(E=await E),E===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const T=new Promise((j,F)=>{y=()=>{F({name:"AbortError",message:g||"Aborted"})},v.signal.addEventListener("abort",y)});c(o(p,l,(P=r==null?void 0:r.getPendingMeta)==null?void 0:P.call(r,{requestId:p,arg:l},{getState:f,extra:d}))),b=await Promise.race([T,Promise.resolve(n(l,{dispatch:c,getState:f,extra:d,requestId:p,signal:v.signal,abort:x,rejectWithValue:(j,F)=>new E1(j,F),fulfillWithValue:(j,F)=>new O3(j,F)})).then(j=>{if(j instanceof E1)throw j;return j instanceof O3?i(j.payload,p,l,j.meta):i(j,p,l)})])}catch(E){b=E instanceof E1?a(null,p,l,E.payload,E.meta):a(E,p,l)}finally{y&&v.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&a.match(b)&&b.meta.condition||c(b),b}();return Object.assign(_,{abort:x,requestId:p,arg:l,unwrap(){return _.then(ioe)}})}}return Object.assign(s,{pending:o,rejected:a,fulfilled:i,settled:Jie(a,i),typePrefix:t})}return e.withTypes=()=>e,e})();function ioe(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function ooe(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var aoe=Symbol.for("rtk-slice-createasyncthunk");function soe(e,t){return`${e}/${t}`}function loe({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[aoe];return function(i){const{name:o,reducerPath:a=o}=i;if(!o)throw new Error(no(11));typeof process<"u";const s=(typeof i.reducers=="function"?i.reducers(uoe()):i.reducers)||{},l=Object.keys(s),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},f={addCase(w,S){const P=typeof w=="string"?w:w.type;if(!P)throw new Error(no(12));if(P in c.sliceCaseReducersByType)throw new Error(no(13));return c.sliceCaseReducersByType[P]=S,f},addMatcher(w,S){return c.sliceMatchers.push({matcher:w,reducer:S}),f},exposeAction(w,S){return c.actionCreators[w]=S,f},exposeCaseReducer(w,S){return c.sliceCaseReducersByName[w]=S,f}};l.forEach(w=>{const S=s[w],P={reducerName:w,type:soe(o,w),createNotation:typeof i.reducers=="function"};doe(S)?poe(P,S,f,t):foe(P,S,f)});function d(){const[w={},S=[],P=void 0]=typeof i.extraReducers=="function"?RD(i.extraReducers):[i.extraReducers],E={...w,...c.sliceCaseReducersByType};return Xie(i.initialState,T=>{for(let j in E)T.addCase(j,E[j]);for(let j of c.sliceMatchers)T.addMatcher(j.matcher,j.reducer);for(let j of S)T.addMatcher(j.matcher,j.reducer);P&&T.addDefaultCase(P)})}const p=w=>w,v=new Map;let y;function g(w,S){return y||(y=d()),y(w,S)}function x(){return y||(y=d()),y.getInitialState()}function _(w,S=!1){function P(T){let j=T[w];return typeof j>"u"&&S&&(j=x()),j}function E(T=p){const j=w3(v,S,{insert:()=>new WeakMap});return w3(j,T,{insert:()=>{const F={};for(const[k,I]of Object.entries(i.selectors??{}))F[k]=coe(I,T,x,S);return F}})}return{reducerPath:w,getSelectors:E,get selectors(){return E(P)},selectSlice:P}}const b={name:o,reducer:g,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:x,..._(a),injectInto(w,{reducerPath:S,...P}={}){const E=S??a;return w.inject({reducerPath:E,reducer:g},P),{...b,..._(E,!0)}}};return b}}function coe(e,t,n,r){function i(o,...a){let s=t(o);return typeof s>"u"&&r&&(s=n()),e(s,...a)}return i.unwrapped=e,i}var Qt=loe();function uoe(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function foe({type:e,reducerName:t,createNotation:n},r,i){let o,a;if("reducer"in r){if(n&&!hoe(r))throw new Error(no(17));o=r.reducer,a=r.prepare}else o=r;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,a?Qn(e,a):Qn(e))}function doe(e){return e._reducerDefinitionType==="asyncThunk"}function hoe(e){return e._reducerDefinitionType==="reducerWithPrepare"}function poe({type:e,reducerName:t},n,r,i){if(!i)throw new Error(no(18));const{payloadCreator:o,fulfilled:a,pending:s,rejected:l,settled:c,options:f}=n,d=i(e,o,f);r.exposeAction(t,d),a&&r.addCase(d.fulfilled,a),s&&r.addCase(d.pending,s),l&&r.addCase(d.rejected,l),c&&r.addMatcher(d.settled,c),r.exposeCaseReducer(t,{fulfilled:a||am,pending:s||am,rejected:l||am,settled:c||am})}function am(){}function no(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}const{actions:moe,reducer:voe}=Qt({name:"shlink/appUpdates",initialState:!1,reducers:{appUpdateAvailable:()=>!0,resetAppUpdate:()=>!1}}),{appUpdateAvailable:goe,resetAppUpdate:yoe}=moe,boe=voe,_oe=(e,t)=>{e.factory("App",Sie),e.decorator("App",t(["servers","settings","appUpdated"],["fetchServers","resetAppUpdate"])),e.serviceFactory("appUpdateAvailable",()=>goe),e.serviceFactory("resetAppUpdate",()=>yoe)},S3={"Content-Type":"application/json"},P3=e=>e!=null&&e.body?e?{...e,headers:{...e.headers??{},...S3}}:{headers:S3}:e;let xoe=class{constructor(t=window.fetch.bind(window)){this.fetch=t}async jsonRequest(t,n){return this.fetch(t,P3(n)).then(async r=>{const i=await r.json();if(!r.ok)throw i;return i})}async emptyRequest(t,n){return this.fetch(t,P3(n)).then(async r=>{if(!r.ok)throw await r.json()})}};var UP=(e=>(e.INVALID_ARGUMENT="https://shlink.io/api/error/invalid-data",e.INVALID_SHORT_URL_DELETION="https://shlink.io/api/error/invalid-short-url-deletion",e.DOMAIN_NOT_FOUND="https://shlink.io/api/error/domain-not-found",e.FORBIDDEN_OPERATION="https://shlink.io/api/error/forbidden-tag-operation",e.INVALID_SLUG="https://shlink.io/api/error/non-unique-slug",e.INVALID_SHORTCODE="https://shlink.io/api/error/short-url-not-found",e.TAG_CONFLICT="https://shlink.io/api/error/tag-conflict",e.TAG_NOT_FOUND="https://shlink.io/api/error/tag-not-found",e.MERCURE_NOT_CONFIGURED="https://shlink.io/api/error/mercure-not-configured",e.INVALID_AUTHORIZATION="https://shlink.io/api/error/missing-authentication",e.INVALID_API_KEY="https://shlink.io/api/error/invalid-api-key",e.NOT_FOUND="https://shlink.io/api/error/not-found",e.INVALID_URL="https://shlink.io/api/error/invalid-url",e))(UP||{});const ID=(e,t)=>e.reduce((n,r)=>{const i=t(r);return n[i]=(n[i]||0)+1,n},{}),DD=(e,t)=>e.reduce((n,r)=>{const i=t(r);return(n[i]=n[i]||[]).push(r),n},{}),C1=e=>Object.prototype.toString.call(e)==="[object Object]",FD=(e,t)=>{const n={};return(...r)=>{const i=e(...r);if(n[i])return n[i];const o=t(...r);return n[i]=o,o}},c0=(e,t)=>{const n={...e};return!C1(e)||!C1(t)||Object.keys(t).forEach(r=>{C1(t[r])?n[r]=r in e&&e[r]!==void 0?c0(e[r],t[r]):{...t[r]}:n[r]=t[r]}),n},zP=(e,t)=>Array.from({length:t-e},(n,r)=>e+r),woe=(e,t)=>[...e].sort((n,r)=>{const i=t(n),o=t(r);return i===o?0:i{const n=[];for(let r=0;rObject.fromEntries(e.map((n,r)=>[n,t[r]])),VP=6048e5,Ooe=864e5,BD=6e4,WP=36e5,sm=43200,C3=1440,T3=Symbol.for("constructDateFrom");function Mn(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&T3 in e?e[T3](t):e instanceof Date?new e.constructor(t):new Date(t)}function rt(e,t){return Mn(t||e,e)}function HP(e,t,n){const r=rt(e,n==null?void 0:n.in);return isNaN(t)?Mn(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Soe(e,t,n){const r=rt(e,n==null?void 0:n.in);if(isNaN(t))return Mn(e,NaN);if(!t)return r;const i=r.getDate(),o=Mn(e,r.getTime());o.setMonth(r.getMonth()+t+1,0);const a=o.getDate();return i>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function Poe(e,t,n){const{years:r=0,months:i=0,weeks:o=0,days:a=0,hours:s=0,minutes:l=0,seconds:c=0}=t,f=rt(e,n==null?void 0:n.in),d=i||r?Soe(f,i+r*12):f,p=a||o?HP(d,a+o*7):d,v=l+s*60,g=(c+v*60)*1e3;return Mn(e,+p+g)}let Eoe={};function ep(){return Eoe}function sl(e,t){var s,l,c,f;const n=ep(),r=(t==null?void 0:t.weekStartsOn)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((f=(c=n.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,i=rt(e,t==null?void 0:t.in),o=i.getDay(),a=(o=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Gc(e){const t=rt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function yl(e,...t){const n=Mn.bind(null,e||t.find(r=>typeof r=="object"));return t.map(n)}function ll(e,t){const n=rt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function u0(e,t,n){const[r,i]=yl(n==null?void 0:n.in,e,t),o=ll(r),a=ll(i),s=+o-Gc(o),l=+a-Gc(a);return Math.round((s-l)/Ooe)}function Coe(e,t){const n=UD(e,t),r=Mn(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Jd(r)}function zD(e,t){let n,r=t==null?void 0:t.in;return e.forEach(i=>{!r&&typeof i=="object"&&(r=Mn.bind(null,i));const o=rt(i,r);(!n||n{!r&&typeof i=="object"&&(r=Mn.bind(null,i));const o=rt(i,r);(!n||n>o||isNaN(+o))&&(n=o)}),Mn(r,n||NaN)}function Zm(e,t){const n=+rt(e)-+rt(t);return n<0?-1:n>0?1:n}function joe(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Aoe(e){return!(!joe(e)&&typeof e!="number"||isNaN(+rt(e)))}function sg(e,t,n){const[r,i]=yl(n==null?void 0:n.in,e,t),o=r.getFullYear()-i.getFullYear(),a=r.getMonth()-i.getMonth();return o*12+a}function koe(e,t,n){const[r,i]=yl(n==null?void 0:n.in,e,t),o=sl(r,n),a=sl(i,n),s=+o-Gc(o),l=+a-Gc(a);return Math.round((s-l)/VP)}function VD(e,t,n){const[r,i]=yl(n==null?void 0:n.in,e,t),o=j3(r,i),a=Math.abs(u0(r,i));r.setDate(r.getDate()-o*a);const s=+(j3(r,i)===-o),l=o*(a-s);return l===0?0:l}function j3(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function WD(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return r===0?0:r}}function Noe(e,t,n){const[r,i]=yl(n==null?void 0:n.in,e,t),o=(+r-+i)/WP;return WD(n==null?void 0:n.roundingMethod)(o)}function Moe(e,t){return+rt(e)-+rt(t)}function qc(e,t){const n=rt(e,t==null?void 0:t.in);return n.setHours(23,59,59,999),n}function Loe(e,t){const n=rt(e,t==null?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function Roe(e,t){const n=rt(e,t==null?void 0:t.in);return+qc(n,t)==+Loe(n,t)}function $oe(e,t,n){const[r,i,o]=yl(n==null?void 0:n.in,e,e,t),a=Zm(i,o),s=Math.abs(sg(i,o));if(s<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-a*s);let l=Zm(i,o)===-a;Roe(r)&&s===1&&Zm(r,o)===1&&(l=!1);const c=a*(s-+l);return c===0?0:c}function Ioe(e,t,n){const r=Moe(e,t)/1e3;return WD(n==null?void 0:n.roundingMethod)(r)}function Doe(e,t){const n=rt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Foe(e,t){const n=t==null?void 0:t.weekStartsOn,r=rt(e,t==null?void 0:t.in),i=r.getDay(),o=(i{let r;const i=Uoe[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function T1(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Voe={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Woe={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Hoe={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Goe={date:T1({formats:Voe,defaultWidth:"full"}),time:T1({formats:Woe,defaultWidth:"full"}),dateTime:T1({formats:Hoe,defaultWidth:"full"})},qoe={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Koe=(e,t,n,r)=>qoe[e];function Of(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let i;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):a;i=e.formattingValues[s]||e.formattingValues[a]}else{const a=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[s]||e.values[a]}const o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}const Yoe={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Zoe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Xoe={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"]},Qoe={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"]},Joe={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"}},eae={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"}},tae=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},nae={ordinalNumber:tae,era:Of({values:Yoe,defaultWidth:"wide"}),quarter:Of({values:Zoe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Of({values:Xoe,defaultWidth:"wide"}),day:Of({values:Qoe,defaultWidth:"wide"}),dayPeriod:Of({values:Joe,defaultWidth:"wide",formattingValues:eae,defaultFormattingWidth:"wide"})};function Sf(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?iae(s,d=>d.test(a)):rae(s,d=>d.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const f=t.slice(a.length);return{value:c,rest:f}}}function rae(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function iae(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;const s=t.slice(i.length);return{value:a,rest:s}}}const aae=/^(\d+)(th|st|nd|rd)?/i,sae=/\d+/i,lae={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},cae={any:[/^b/i,/^(a|c)/i]},uae={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},fae={any:[/1/i,/2/i,/3/i,/4/i]},dae={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},hae={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]},pae={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},mae={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]},vae={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},gae={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}},yae={ordinalNumber:oae({matchPattern:aae,parsePattern:sae,valueCallback:e=>parseInt(e,10)}),era:Sf({matchPatterns:lae,defaultMatchWidth:"wide",parsePatterns:cae,defaultParseWidth:"any"}),quarter:Sf({matchPatterns:uae,defaultMatchWidth:"wide",parsePatterns:fae,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Sf({matchPatterns:dae,defaultMatchWidth:"wide",parsePatterns:hae,defaultParseWidth:"any"}),day:Sf({matchPatterns:pae,defaultMatchWidth:"wide",parsePatterns:mae,defaultParseWidth:"any"}),dayPeriod:Sf({matchPatterns:vae,defaultMatchWidth:"any",parsePatterns:gae,defaultParseWidth:"any"})},HD={code:"en-US",formatDistance:zoe,formatLong:Goe,formatRelative:Koe,localize:nae,match:yae,options:{weekStartsOn:0,firstWeekContainsDate:1}};function bae(e,t){const n=rt(e,t==null?void 0:t.in);return u0(n,Doe(n))+1}function _ae(e,t){const n=rt(e,t==null?void 0:t.in),r=+Jd(n)-+Coe(n);return Math.round(r/VP)+1}function GD(e,t){var f,d,p,v;const n=rt(e,t==null?void 0:t.in),r=n.getFullYear(),i=ep(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((v=(p=i.locale)==null?void 0:p.options)==null?void 0:v.firstWeekContainsDate)??1,a=Mn((t==null?void 0:t.in)||e,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=sl(a,t),l=Mn((t==null?void 0:t.in)||e,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const c=sl(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function xae(e,t){var s,l,c,f;const n=ep(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(c=n.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,i=GD(e,t),o=Mn((t==null?void 0:t.in)||e,0);return o.setFullYear(i,0,r),o.setHours(0,0,0,0),sl(o,t)}function wae(e,t){const n=rt(e,t==null?void 0:t.in),r=+sl(n,t)-+xae(n,t);return Math.round(r/VP)+1}function nt(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const sa={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return nt(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):nt(n+1,2)},d(e,t){return nt(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return nt(e.getHours()%12||12,t.length)},H(e,t){return nt(e.getHours(),t.length)},m(e,t){return nt(e.getMinutes(),t.length)},s(e,t){return nt(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return nt(i,t.length)}},Bl={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},A3={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return sa.y(e,t)},Y:function(e,t,n,r){const i=GD(e,r),o=i>0?i:1-i;if(t==="YY"){const a=o%100;return nt(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):nt(o,t.length)},R:function(e,t){const n=UD(e);return nt(n,t.length)},u:function(e,t){const n=e.getFullYear();return nt(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return nt(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return nt(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return sa.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return nt(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=wae(e,r);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):nt(i,t.length)},I:function(e,t,n){const r=_ae(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):nt(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):sa.d(e,t)},D:function(e,t,n){const r=bae(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):nt(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return nt(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});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"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return nt(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=r===0?7:r;switch(t){case"i":return String(i);case"ii":return nt(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(r===12?i=Bl.noon:r===0?i=Bl.midnight:i=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(r>=17?i=Bl.evening:r>=12?i=Bl.afternoon:r>=4?i=Bl.morning:i=Bl.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return sa.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):sa.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):nt(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):nt(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):sa.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):sa.s(e,t)},S:function(e,t){return sa.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return N3(r);case"XXXX":case"XX":return Ps(r);case"XXXXX":case"XXX":default:return Ps(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return N3(r);case"xxxx":case"xx":return Ps(r);case"xxxxx":case"xxx":default:return Ps(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k3(r,":");case"OOOO":default:return"GMT"+Ps(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k3(r,":");case"zzzz":default:return"GMT"+Ps(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return nt(r,t.length)},T:function(e,t,n){return nt(+e,t.length)}};function k3(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return o===0?n+String(i):n+String(i)+t+nt(o,2)}function N3(e,t){return e%60===0?(e>0?"-":"+")+nt(Math.abs(e)/60,2):Ps(e,t)}function Ps(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=nt(Math.trunc(r/60),2),o=nt(r%60,2);return n+i+t+o}const M3=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},qD=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Oae=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return M3(e,t);let o;switch(r){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",M3(r,t)).replace("{{time}}",qD(i,t))},Sae={p:qD,P:Oae},Pae=/^D+$/,Eae=/^Y+$/,Cae=["D","DD","YY","YYYY"];function Tae(e){return Pae.test(e)}function jae(e){return Eae.test(e)}function Aae(e,t,n){const r=kae(e,t,n);if(console.warn(r),Cae.includes(e))throw new RangeError(r)}function kae(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Nae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mae=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Lae=/^'([^]*?)'?$/,Rae=/''/g,$ae=/[a-zA-Z]/;function lg(e,t,n){var f,d,p,v;const r=ep(),i=r.locale??HD,o=r.firstWeekContainsDate??((d=(f=r.locale)==null?void 0:f.options)==null?void 0:d.firstWeekContainsDate)??1,a=r.weekStartsOn??((v=(p=r.locale)==null?void 0:p.options)==null?void 0:v.weekStartsOn)??0,s=rt(e,n==null?void 0:n.in);if(!Aoe(s))throw new RangeError("Invalid time value");let l=t.match(Mae).map(y=>{const g=y[0];if(g==="p"||g==="P"){const x=Sae[g];return x(y,i.formatLong)}return y}).join("").match(Nae).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const g=y[0];if(g==="'")return{isToken:!1,value:Iae(y)};if(A3[g])return{isToken:!0,value:y};if(g.match($ae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return{isToken:!1,value:y}});i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const c={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return l.map(y=>{if(!y.isToken)return y.value;const g=y.value;(jae(g)||Tae(g))&&Aae(g,t,String(e));const x=A3[g[0]];return x(s,g,i.localize,c)}).join("")}function Iae(e){const t=e.match(Lae);return t?t[1].replace(Rae,"'"):e}function Dae(e,t,n){const r=ep(),i=(n==null?void 0:n.locale)??r.locale??HD,o=2520,a=Zm(e,t);if(isNaN(a))throw new RangeError("Invalid time value");const s=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:a}),[l,c]=yl(n==null?void 0:n.in,...a>0?[t,e]:[e,t]),f=Ioe(c,l),d=(Gc(c)-Gc(l))/1e3,p=Math.round((f-d)/60);let v;if(p<2)return n!=null&&n.includeSeconds?f<5?i.formatDistance("lessThanXSeconds",5,s):f<10?i.formatDistance("lessThanXSeconds",10,s):f<20?i.formatDistance("lessThanXSeconds",20,s):f<40?i.formatDistance("halfAMinute",0,s):f<60?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",1,s):p===0?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",p,s);if(p<45)return i.formatDistance("xMinutes",p,s);if(p<90)return i.formatDistance("aboutXHours",1,s);if(p+rt(t)}function cg(e,t){return+rt(e)<+rt(t)}function i2(e,t){return+rt(e)==+rt(t)}function zae(e,t,n){const r=+rt(e,n==null?void 0:n.in),[i,o]=[+rt(t.start,n==null?void 0:n.in),+rt(t.end,n==null?void 0:n.in)].sort((a,s)=>a-s);return r>=i&&r<=o}function ug(e,t,n){return HP(e,-t,n)}function Ha(e,t){const n=()=>Mn(t==null?void 0:t.in,NaN),i=Gae(e);let o;if(i.date){const c=qae(i.date,2);o=Kae(c.restDateString,c.year)}if(!o||isNaN(+o))return n();const a=+o;let s=0,l;if(i.time&&(s=Yae(i.time),isNaN(s)))return n();if(i.timezone){if(l=Zae(i.timezone),isNaN(l))return n()}else{const c=new Date(a+s),f=rt(0,t==null?void 0:t.in);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return rt(a+s+l,t==null?void 0:t.in)}const lm={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Vae=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Wae=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Hae=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Gae(e){const t={},n=e.split(lm.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],lm.timeZoneDelimiter.test(t.date)&&(t.date=e.split(lm.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const i=lm.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function qae(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function Kae(e,t){if(t===null)return new Date(NaN);const n=e.match(Vae);if(!n)return new Date(NaN);const r=!!n[4],i=Pf(n[1]),o=Pf(n[2])-1,a=Pf(n[3]),s=Pf(n[4]),l=Pf(n[5])-1;if(r)return tse(t,s,l)?Xae(t,s,l):new Date(NaN);{const c=new Date(0);return!Jae(t,o,a)||!ese(t,i)?new Date(NaN):(c.setUTCFullYear(t,o,Math.max(i,a)),c)}}function Pf(e){return e?parseInt(e):1}function Yae(e){const t=e.match(Wae);if(!t)return NaN;const n=j1(t[1]),r=j1(t[2]),i=j1(t[3]);return nse(n,r,i)?n*WP+r*BD+i*1e3:NaN}function j1(e){return e&&parseFloat(e.replace(",","."))||0}function Zae(e){if(e==="Z")return 0;const t=e.match(Hae);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return rse(r,i)?n*(r*WP+i*BD):NaN}function Xae(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}const Qae=[31,null,31,30,31,30,31,31,30,31,30,31];function KD(e){return e%400===0||e%4===0&&e%100!==0}function Jae(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(Qae[t]||(KD(e)?29:28))}function ese(e,t){return t>=1&&t<=(KD(e)?366:365)}function tse(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function nse(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function rse(e,t){return t>=0&&t<=59}const pr=({href:e,children:t,rel:n,...r})=>m.jsx("a",{target:"_blank",rel:`noopener noreferrer${n?` ${n}`:""}`,href:e,...r,children:t??e}),ise="Left",ose="Right",ase="Up",sse="Down",hc={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},o2={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},L3="mousemove",R3="mouseup",lse="touchend",cse="touchmove",use="touchstart";function fse(e,t,n,r){return e>t?n>0?ose:ise:r>0?sse:ase}function $3(e,t){if(t===0)return e;const n=Math.PI/180*t,r=e[0]*Math.cos(n)+e[1]*Math.sin(n),i=e[1]*Math.cos(n)-e[0]*Math.sin(n);return[r,i]}function dse(e,t){const n=f=>{const d="touches"in f;d&&f.touches.length>1||e((p,v)=>{v.trackMouse&&!d&&(document.addEventListener(L3,r),document.addEventListener(R3,a));const{clientX:y,clientY:g}=d?f.touches[0]:f,x=$3([y,g],v.rotationAngle);return v.onTouchStartOrOnMouseDown&&v.onTouchStartOrOnMouseDown({event:f}),Object.assign(Object.assign(Object.assign({},p),o2),{initial:x.slice(),xy:x,start:f.timeStamp||0})})},r=f=>{e((d,p)=>{const v="touches"in f;if(v&&f.touches.length>1)return d;if(f.timeStamp-d.start>p.swipeDuration)return d.swiping?Object.assign(Object.assign({},d),{swiping:!1}):d;const{clientX:y,clientY:g}=v?f.touches[0]:f,[x,_]=$3([y,g],p.rotationAngle),b=x-d.xy[0],w=_-d.xy[1],S=Math.abs(b),P=Math.abs(w),E=(f.timeStamp||0)-d.start,T=Math.sqrt(S*S+P*P)/(E||1),j=[b/(E||1),w/(E||1)],F=fse(S,P,b,w),k=typeof p.delta=="number"?p.delta:p.delta[F.toLowerCase()]||hc.delta;if(S{e((d,p)=>{let v;if(d.swiping&&d.eventData){if(f.timeStamp-d.start{document.removeEventListener(L3,r),document.removeEventListener(R3,a)},a=f=>{o(),i(f)},s=(f,d)=>{let p=()=>{};if(f&&f.addEventListener){const v=Object.assign(Object.assign({},hc.touchEventOptions),d.touchEventOptions),y=[[use,n,v],[cse,r,Object.assign(Object.assign({},v),d.preventScrollOnSwipe?{passive:!1}:{})],[lse,i,v]];y.forEach(([g,x,_])=>f.addEventListener(g,x,_)),p=()=>y.forEach(([g,x])=>f.removeEventListener(g,x))}return p},c={ref:f=>{f!==null&&e((d,p)=>{if(d.el===f)return d;const v={};return d.el&&d.el!==f&&d.cleanUpTouch&&(d.cleanUpTouch(),v.cleanUpTouch=void 0),p.trackTouch&&f&&(v.cleanUpTouch=s(f,p)),Object.assign(Object.assign(Object.assign({},d),{el:f}),v)})}};return t.trackMouse&&(c.onMouseDown=n),[c,s]}function hse(e,t,n,r){return!t.trackTouch||!e.el?(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0})):e.cleanUpTouch?t.preventScrollOnSwipe!==n.preventScrollOnSwipe||t.touchEventOptions.passive!==n.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})}function pse(e){const{trackMouse:t}=e,n=M.useRef(Object.assign({},o2)),r=M.useRef(Object.assign({},hc)),i=M.useRef(Object.assign({},r.current));i.current=Object.assign({},r.current),r.current=Object.assign(Object.assign({},hc),e);let o;for(o in hc)r.current[o]===void 0&&(r.current[o]=hc[o]);const[a,s]=M.useMemo(()=>dse(l=>n.current=l(n.current,r.current),{trackMouse:t}),[t]);return n.current=hse(n.current,r.current,i.current,s),a}var a2={exports:{}};/** @license + * eventsource.js + * Available under MIT License (MIT) + * https://github.com/Yaffle/EventSource/ + */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,a=n.XDomainRequest,s=n.ActiveXObject,l=n.EventSource,c=n.document,f=n.Promise,d=n.fetch,p=n.Response,v=n.TextDecoder,y=n.TextEncoder,g=n.AbortController;if(typeof window<"u"&&typeof c<"u"&&!("readyState"in c)&&c.body==null&&(c.readyState="loading",window.addEventListener("load",function(se){c.readyState="complete"},!1)),o==null&&s!=null&&(o=function(){return new s("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(se){function pe(){}return pe.prototype=se,new pe}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var x=d;d=function(se,pe){var ve=pe.signal;return x(se,{headers:pe.headers,credentials:pe.credentials,cache:pe.cache}).then(function(xe){var je=xe.body.getReader();return ve._reader=je,ve._aborted&&ve._reader.cancel(),{status:xe.status,statusText:xe.statusText,headers:xe.headers,body:{getReader:function(){return je}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(se){function pe(ye,ge,we){if(we===1)return ye>=128>>ge&&ye<=2048>>ge&&ye<=57344>>ge&&ye<=65536>>ge&&ye<>6>15?3:ge>31?2:1;if(ye===6*2)return ge>15?3:2;if(ye===6*3)return 3;throw new Error}for(var xe=65533,je="",Te=this.bitsNeeded,ke=this.codePoint,le=0;le191||!pe(ke<<6|fe&63,Te-6,ve(Te,ke)))&&(Te=0,ke=xe,je+=String.fromCharCode(ke)),Te===0?(fe>=0&&fe<=127?(Te=0,ke=fe):fe>=192&&fe<=223?(Te=6*1,ke=fe&31):fe>=224&&fe<=239?(Te=6*2,ke=fe&15):fe>=240&&fe<=247?(Te=6*3,ke=fe&7):(Te=0,ke=xe),Te!==0&&!pe(ke,Te,ve(Te,ke))&&(Te=0,ke=xe)):(Te-=6,ke=ke<<6|fe&63),Te===0&&(ke<=65535?je+=String.fromCharCode(ke):(je+=String.fromCharCode(55296+(ke-65535-1>>10)),je+=String.fromCharCode(56320+(ke-65535-1&1023))))}return this.bitsNeeded=Te,this.codePoint=ke,je};var b=function(){try{return new v().decode(new y().encode("test"),{stream:!0})==="test"}catch(se){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+se)}return!1};(v==null||y==null||!b())&&(v=_);var w=function(){};function S(se){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=se,this._sendTimeout=0,this._abort=w}S.prototype.open=function(se,pe){this._abort(!0);var ve=this,xe=this._xhr,je=1,Te=0;this._abort=function(we){ve._sendTimeout!==0&&(i(ve._sendTimeout),ve._sendTimeout=0),(je===1||je===2||je===3)&&(je=4,xe.onload=w,xe.onerror=w,xe.onabort=w,xe.onprogress=w,xe.onreadystatechange=w,xe.abort(),Te!==0&&(i(Te),Te=0),we||(ve.readyState=4,ve.onabort(null),ve.onreadystatechange())),je=0};var ke=function(){if(je===1){var we=0,Ne="",Le=void 0;if("contentType"in xe)we=200,Ne="OK",Le=xe.contentType;else try{we=xe.status,Ne=xe.statusText,Le=xe.getResponseHeader("Content-Type")}catch{we=0,Ne="",Le=void 0}we!==0&&(je=2,ve.readyState=2,ve.status=we,ve.statusText=Ne,ve._contentType=Le,ve.onreadystatechange())}},le=function(){if(ke(),je===2||je===3){je=3;var we="";try{we=xe.responseText}catch{}ve.readyState=3,ve.responseText=we,ve.onprogress()}},fe=function(we,Ne){if((Ne==null||Ne.preventDefault==null)&&(Ne={preventDefault:w}),le(),je===1||je===2||je===3){if(je=4,Te!==0&&(i(Te),Te=0),ve.readyState=4,we==="load")ve.onload(Ne);else if(we==="error")ve.onerror(Ne);else if(we==="abort")ve.onabort(Ne);else throw new TypeError;ve.onreadystatechange()}},ye=function(we){xe!=null&&(xe.readyState===4?(!("onload"in xe)||!("onerror"in xe)||!("onabort"in xe))&&fe(xe.responseText===""?"error":"load",we):xe.readyState===3?"onprogress"in xe||le():xe.readyState===2&&ke())},ge=function(){Te=r(function(){ge()},500),xe.readyState===3&&le()};"onload"in xe&&(xe.onload=function(we){fe("load",we)}),"onerror"in xe&&(xe.onerror=function(we){fe("error",we)}),"onabort"in xe&&(xe.onabort=function(we){fe("abort",we)}),"onprogress"in xe&&(xe.onprogress=le),"onreadystatechange"in xe&&(xe.onreadystatechange=function(we){ye(we)}),("contentType"in xe||!("ontimeout"in o.prototype))&&(pe+=(pe.indexOf("?")===-1?"?":"&")+"padding=true"),xe.open(se,pe,!0),"readyState"in xe&&(Te=r(function(){ge()},0))},S.prototype.abort=function(){this._abort(!1)},S.prototype.getResponseHeader=function(se){return this._contentType},S.prototype.setRequestHeader=function(se,pe){var ve=this._xhr;"setRequestHeader"in ve&&ve.setRequestHeader(se,pe)},S.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},S.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&c!=null&&c.readyState!=null&&c.readyState!=="complete"){var se=this;se._sendTimeout=r(function(){se._sendTimeout=0,se.send()},4);return}var pe=this._xhr;"withCredentials"in pe&&(pe.withCredentials=this.withCredentials);try{pe.send(void 0)}catch(ve){throw ve}};function P(se){return se.replace(/[A-Z]/g,function(pe){return String.fromCharCode(pe.charCodeAt(0)+32)})}function E(se){for(var pe=Object.create(null),ve=se.split(`\r +`),xe=0;xe"u"?typeof window<"u"?window:typeof self<"u"?self:Xl:globalThis)})(a2,a2.exports);var mse=a2.exports;const Ra=({children:e})=>m.jsx("small",{className:"form-text text-muted d-block",children:e}),vse=({toggleRealTimeUpdates:e,setRealTimeUpdatesInterval:t})=>{const{enabled:n,interval:r}=rr("realTimeUpdates",{enabled:!0}),i=M.useId();return m.jsxs(yt,{title:"Real-time updates",className:"h-100",children:[m.jsx(il,{children:m.jsxs(Uo,{checked:n,onChange:e,children:["Enable or disable real-time updates.",m.jsxs(Ra,{children:["Real-time updates are currently being ",m.jsx("b",{children:n?"processed":"ignored"}),"."]})]})}),m.jsxs(ju,{noMargin:!0,label:"Real-time updates frequency (in minutes):",labelClassName:Oe("form-label",{"text-muted":!n}),id:i,children:[m.jsx(An,{type:"number",min:0,placeholder:"Immediate",disabled:!n,value:`${r??""}`,id:i,onChange:({target:o})=>t(Number(o.value))}),n&&m.jsx(Ra,{children:r?m.jsxs("span",{children:["Updates will be reflected in the UI every ",m.jsx("b",{children:r})," minute",r>1&&"s","."]}):"Updates will be reflected in the UI as soon as they happen."})]})]})},A1=e=>e==="includes"?"Suggest tags including input":"Suggest tags starting with input",gse=e=>e==="includes"?m.jsxs(m.Fragment,{children:["The list of suggested tags will contain those ",m.jsx("b",{children:"including"})," provided input."]}):m.jsxs(m.Fragment,{children:["The list of suggested tags will contain those ",m.jsx("b",{children:"starting with"})," provided input."]}),yse=({updateShortUrlCreationSettings:e})=>{const t=rr("shortUrlCreation",{validateUrls:!1}),n=r=>()=>e({...t??{validateUrls:!1},tagFilteringMode:r});return m.jsxs(yt,{title:"Short URLs form",className:"h-100",bodyClassName:"d-flex flex-column gap-3",children:[m.jsxs(Uo,{checked:t.validateUrls??!1,onChange:r=>e({...t,validateUrls:r}),children:["Request validation on long URLs when creating new short URLs."," ",m.jsxs("b",{children:["This option is ignored by Shlink ",">=","4.0.0"]}),m.jsxs(Ra,{children:["The initial state of the ",m.jsx("b",{children:"Validate URL"})," checkbox will be ",m.jsx("b",{children:t.validateUrls?"checked":"unchecked"}),"."]})]}),m.jsxs(Uo,{checked:t.forwardQuery??!0,onChange:r=>e({...t,forwardQuery:r}),children:["Make all new short URLs forward their query params to the long URL.",m.jsxs(Ra,{children:["The initial state of the ",m.jsx("b",{children:"Forward query params on redirect"})," checkbox will be ",m.jsx("b",{children:t.forwardQuery??!0?"checked":"unchecked"}),"."]})]}),m.jsxs(ju,{noMargin:!0,label:"Tag suggestions search mode:",children:[m.jsxs(Qo,{text:A1(t.tagFilteringMode),children:[m.jsx(Me,{active:!t.tagFilteringMode||t.tagFilteringMode==="startsWith",onClick:n("startsWith"),children:A1("startsWith")}),m.jsx(Me,{active:t.tagFilteringMode==="includes",onClick:n("includes"),children:A1("includes")})]}),m.jsx(Ra,{children:gse(t.tagFilteringMode)})]})]})},bse={dateCreated:"Created at",shortCode:"Short URL",longUrl:"Long URL",title:"Title",visits:"Visits"},_se=({updateShortUrlsListSettings:e,defaultOrdering:t})=>{const n=rr("shortUrlsList"),r=(n==null?void 0:n.confirmDeletions)??!0;return m.jsxs(yt,{title:"Short URLs list",className:"h-100",bodyClassName:"d-flex flex-column gap-3",children:[m.jsxs(Uo,{checked:r,onChange:i=>e({...n,confirmDeletions:i}),children:["Request confirmation before deleting a short URL.",m.jsxs(Ra,{children:["When deleting a short URL, confirmation ",m.jsx("b",{children:r?"will":"won't"})," be required."]})]}),m.jsx(ju,{noMargin:!0,label:"Default ordering for short URLs list:",children:m.jsx(Qh,{items:bse,order:(n==null?void 0:n.defaultOrdering)??t,onChange:(i,o)=>e({defaultOrdering:{field:i,dir:o}})})})]})},xse={tag:"Tag",shortUrls:"Short URLs",visits:"Visits"},wse=({updateTagsSettings:e})=>{const t=rr("tags",{});return m.jsx(yt,{title:"Tags",className:"h-100",children:m.jsx(ju,{noMargin:!0,label:"Default ordering for tags list:",children:m.jsx(Qh,{items:xse,order:t.defaultOrdering??{},onChange:(n,r)=>e({...t,defaultOrdering:{field:n,dir:r}})})})})},Ose=({updateUiSettings:e,_matchMedia:t})=>{const n=rr("ui"),r=M.useMemo(()=>(n==null?void 0:n.theme)??$P(t),[n==null?void 0:n.theme,t]);return m.jsxs(yt,{title:"User interface",className:"h-100",bodyClassName:"d-flex justify-content-between align-items-center",children:[m.jsx(Uo,{checked:r==="dark",onChange:i=>{e({...n,theme:i?"dark":"light"})},children:"Use dark theme."}),m.jsx(Ae,{icon:r==="dark"?ZK:DK})]})},YD={today:"Today",yesterday:"Yesterday",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",last180Days:"Last 180 days",last365Days:"Last 365 days"},Sse=(e,t)=>!e||e==="all"?t:YD[e],Pse=({onChange:e,active:t,allText:n})=>m.jsxs(Qo,{text:Sse(t,n),children:[m.jsx(Me,{active:t==="all",onClick:()=>e("all"),children:n}),m.jsx(Me,{divider:!0}),Object.entries(YD).map(([r,i])=>m.jsx(Me,{active:t===r,onClick:()=>e(r),children:i},r))]}),I3=e=>(e==null?void 0:e.defaultInterval)??"last30Days",Ese=({updateVisitsSettings:e})=>{const t=rr("visits"),n=M.useCallback(({defaultInterval:r,...i})=>e({defaultInterval:r??I3(t),...i}),[e,t]);return m.jsxs(yt,{title:"Visits",className:"h-100",children:[m.jsx(il,{children:m.jsxs(Uo,{checked:!!(t!=null&&t.excludeBots),onChange:r=>n({excludeBots:r}),children:["Exclude bots wherever possible (this option‘s effect might depend on Shlink server‘s version).",m.jsxs(Ra,{children:["The visits coming from potential bots will be ",m.jsx("b",{children:t!=null&&t.excludeBots?"excluded":"included"}),"."]})]})}),m.jsx(il,{children:m.jsxs(Uo,{checked:!!(t!=null&&t.loadPrevInterval),onChange:r=>n({loadPrevInterval:r}),children:["Compare visits with previous period.",m.jsxs(Ra,{children:["When loading visits, previous period ",m.jsx("b",{children:t!=null&&t.loadPrevInterval?"will":"won't"})," be loaded by default."]})]})}),m.jsx(ju,{noMargin:!0,label:"Default interval to load on visits sections:",children:m.jsx(Pse,{allText:"All visits",active:I3(t),onChange:r=>n({defaultInterval:r})})})]})},k1=({children:e})=>M.Children.map(e,(t,n)=>m.jsx("div",{className:"mb-3",children:t},n)),Cse=({settings:e,updateSettings:t,defaultShortUrlsListOrdering:n})=>{const r=M.useCallback(s=>t(c0(e,s)),[e,t]),i=M.useCallback(s=>r({realTimeUpdates:{enabled:s}}),[r]),o=M.useCallback(s=>r({realTimeUpdates:{interval:s}}),[r]),a=M.useCallback((s,l)=>r({[s]:l}),[r]);return m.jsxs(QD,{value:e,children:[m.jsxs(bD,{className:"mb-3",children:[m.jsx(ld,{to:"general",children:"General"}),m.jsx(ld,{to:"short-urls",children:"Short URLs"}),m.jsx(ld,{to:"other-items",children:"Other items"})]}),m.jsxs(Hy,{children:[m.jsx(at,{path:"general",element:m.jsxs(k1,{children:[m.jsx(Ose,{updateUiSettings:s=>a("ui",s)}),m.jsx(vse,{toggleRealTimeUpdates:i,setRealTimeUpdatesInterval:o})]})}),m.jsx(at,{path:"short-urls",element:m.jsxs(k1,{children:[m.jsx(yse,{updateShortUrlCreationSettings:s=>a("shortUrlCreation",s)}),m.jsx(_se,{defaultOrdering:n,updateShortUrlsListSettings:s=>a("shortUrlsList",s)})]})}),m.jsx(at,{path:"other-items",element:m.jsxs(k1,{children:[m.jsx(wse,{updateTagsSettings:s=>a("tags",s)}),m.jsx(Ese,{updateVisitsSettings:s=>a("visits",s)})]})}),m.jsx(at,{path:"*",element:m.jsx(XS,{replace:!0,to:"general"})})]})]})},ZD={realTimeUpdates:{enabled:!0},shortUrlCreation:{validateUrls:!1},visits:{defaultInterval:"last30Days"},shortUrlsList:{defaultOrdering:{field:"dateCreated",dir:"DESC"}}},XD=M.createContext(ZD),{Provider:QD}=XD,GP=()=>M.useContext(XD)??ZD;function rr(e,t){return GP()[e]??t}/*! + * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2024 Fonticons, Inc. + */const Tse={prefix:"far",iconName:"circle-right",icon:[512,512,[61838,"arrow-alt-circle-right"],"f35a","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM294.6 151.2c-4.2-4.6-10.1-7.2-16.4-7.2C266 144 256 154 256 166.3l0 41.7-96 0c-17.7 0-32 14.3-32 32l0 32c0 17.7 14.3 32 32 32l96 0 0 41.7c0 12.3 10 22.3 22.3 22.3c6.2 0 12.1-2.6 16.4-7.2l84-91c3.5-3.8 5.4-8.7 5.4-13.9s-1.9-10.1-5.4-13.9l-84-91z"]},jse=Tse,Ase={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},JD={prefix:"far",iconName:"clone",icon:[512,512,[],"f24d","M64 464l224 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l64 0 0 48-64 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM224 304l224 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16L224 48c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zm-64-16l0-224c0-35.3 28.7-64 64-64L448 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64z"]},kse=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,D3=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(kse);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},F3=e=>e==="*"||e==="x"||e==="X",B3=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Nse=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Mse=(e,t)=>{if(F3(e)||F3(t))return 0;const[n,r]=Nse(B3(e),B3(t));return n>r?1:n{for(let n=0;n{const n=D3(e),r=D3(t),i=n.pop(),o=r.pop(),a=U3(n,r);return a!==0?a:i&&o?U3(i.split("."),o.split(".")):i||o?i?-1:1:0},s2=(e,t,n)=>{Rse(n);const r=Lse(e,t);return e5[n].includes(r)},e5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},z3=Object.keys(e5),Rse=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(z3.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${z3.join("|")}`)};/*! + * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2024 Fonticons, Inc. + */const $se={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]},Ise={prefix:"fab",iconName:"android",icon:[576,512,[],"f17b","M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"]},Es={Enter:"Enter",Escape:"Escape",Tab:"Tab",Backspace:"Backspace",UpArrow:"ArrowUp",UpArrowCompat:"Up",DownArrow:"ArrowDown",DownArrowCompat:"Down",PageDown:"PageDown",PageUp:"PageUp"},qP=Symbol("Create new tag"),t5=Symbol("No options"),Zl=()=>{},_n=V.createContext(void 0);function V3(e,t){return e===t?[]:e.filter(n=>!t.includes(n))}function Dse(e){return e.selectionStart===0&&e.selectionEnd===0}function Fse(e){const t=e.value.length;return e.selectionStart===t&&e.selectionEnd===t}function f0(e){return`${e}-label`}function Bse(e){return`${e}-combobox`}function Use(e){return`${e}-input`}function n5(e){return`${e}-listbox`}function r5(e,t){return`${e}-option-${Kse(t)}`}function zse(e,t){if((e==null?void 0:e.value)===qP&&e.disabled===!1)return{value:t,label:t}}function Vse(e){const t=zse(e.activeOption,e.value)||e.activeOption||Qse(e.value,e.options);return t&&!t.disabled?t:void 0}function Wse(e,t,n){const r=t-1;return e>r?n:en===e.value)}const Yse=/[-\\^$*+?.()|[\]{}]/g;function i5(e){return e.replace(Yse,"\\$&")}function o5(e){return new RegExp(i5(e),"i")}function Zse(e){return new RegExp(`^${i5(e)}$`,"i")}function Xse(e,t){if(e){const n=o5(e);return t.filter(r=>n.test(r.label))}else return[].concat(t)}function Qse(e,t){const n=Zse(e);return t.find(r=>n.test(r.label))||null}const Jse={autoComplete:"off",autoCorrect:"off","data-form-type":"other",spellCheck:!1};function ele({allowBackspace:e,ariaDescribedBy:t,ariaErrorMessage:n,delimiterKeys:r}){const{id:i,comboBoxRef:o,inputRef:a,isDisabled:s,isInvalid:l,managerRef:c}=M.useContext(_n),f=M.useMemo(()=>{const y=k=>{const I=k.currentTarget.value;c.current.updateInputValue(I),document.activeElement===a.current&&c.current.listBoxExpand(I)},g=()=>{c.current.listBoxExpand()},x=k=>{var I;((I=o.current)==null?void 0:I.contains(k.relatedTarget))===!1&&c.current.listBoxCollapse()},_=()=>{c.current.listBoxExpand()},b=k=>{const{activeIndex:I,isExpanded:D}=c.current.state;D?(k.preventDefault(),c.current.updateActiveIndex(I+1)):(Fse(k.currentTarget)||k.altKey)&&(k.preventDefault(),c.current.listBoxExpand())},w=k=>{const{activeIndex:I,isExpanded:D}=c.current.state;D?(k.preventDefault(),c.current.updateActiveIndex(I-1)):Dse(k.currentTarget)&&(k.preventDefault(),c.current.listBoxExpand())},S=k=>{const{isExpanded:I,options:D}=c.current.state;I&&(k.preventDefault(),c.current.updateActiveIndex(D.length-1))},P=k=>{c.current.state.isExpanded&&(k.preventDefault(),c.current.updateActiveIndex(0))},E=()=>{c.current.state.isExpanded?c.current.listBoxCollapse():c.current.updateInputValue("")},T=()=>{if(e){const{value:k,selected:I}=c.current.state,D=I[I.length-1];k===""&&D&&c.current.selectTag(D)}},j=k=>{c.current.state.isExpanded&&(k.preventDefault(),c.current.selectTag())};return{onBlur:x,onChange:y,onClick:_,onFocus:g,onKeyDown:k=>{if(k.key===Es.UpArrow)return w(k);if(k.key===Es.DownArrow)return b(k);if(k.key===Es.PageUp)return P(k);if(k.key===Es.PageDown)return S(k);if(k.key===Es.Escape)return E();if(k.key===Es.Backspace)return T();if(r.includes(k.key))return j(k)}}},[e,o,r,a,c]),{activeOption:d,isExpanded:p,value:v}=c.current.state;return{...Jse,"aria-autocomplete":"list","aria-activedescendant":d?r5(i,d):void 0,"aria-controls":n5(i),"aria-describedby":t||void 0,"aria-disabled":s,"aria-errormessage":l&&n||void 0,"aria-invalid":l,"aria-labelledby":f0(i),"aria-expanded":p,id:Use(i),onBlur:s?Zl:f.onBlur,onChange:s?Zl:f.onChange,onClick:s?Zl:f.onClick,onFocus:s?Zl:f.onFocus,onKeyDown:s?Zl:f.onKeyDown,ref:a,role:"combobox",type:"text",value:v}}const tle={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},nle=["font-family","font-size","font-style","font-weight","letter-spacing","text-transform"];function rle({allowResize:e=!0,text:t}){const n=M.useRef(null),{inputRef:r}=M.useContext(_n),[i,o]=M.useState(null);return M.useLayoutEffect(()=>{if(e&&r.current&&n.current&&window.getComputedStyle){const a=window.getComputedStyle(r.current);nle.forEach(s=>{const l=a.getPropertyValue(s);n.current.style.setProperty(s,l)})}},[e,r,n]),M.useLayoutEffect(()=>{var a;if(e){const s=Math.ceil(((a=n.current)==null?void 0:a.scrollWidth)??0)+2;i!==s&&o(s)}},[e,t,i]),{width:i,sizerProps:{ref:n,style:tle}}}function ile(){const{id:e,inputRef:t,listBoxRef:n,managerRef:r}=M.useContext(_n),i=r.current.state.activeIndex===-1,o=M.useCallback(a=>{var s;a.target!==t.current&&((s=t.current)==null||s.focus({preventScroll:!0}))},[t]);return M.useEffect(()=>{var a;i&&((a=n.current)==null||a.scrollTo({top:0}))},[n,i]),{"aria-labelledby":f0(e),id:n5(e),onFocus:o,ref:n,role:"listbox",tabIndex:-1}}function ole({activateFirstOption:e,allowNew:t,collapseOnSelect:n,newOptionText:r,noOptionsText:i,onAdd:o,onDelete:a,onCollapse:s,onExpand:l,onInput:c,onShouldCollapse:f,onShouldExpand:d,onValidate:p,selected:v,suggestions:y,suggestionsTransform:g}){const x=M.useRef(),[_,b]=M.useState(null),[w,S]=M.useState(!1),[P,E]=M.useState(""),T=M.useMemo(()=>{const W=g(P,y);return P&&(t&&W.push({disabled:p?!p(P):!1,label:r,value:qP}),W.length===0&&W.push({disabled:!0,label:i,value:t5})),W},[t,r,i,p,y,g,P]),j=_?c2(_,T):-1,F=e?Math.max(j,0):j,k=T[F],I={activeIndex:F,activeOption:k,isExpanded:w,options:T,selected:v,value:P},D={tagsAdded:x.current?V3(v,x.current.state.selected):[],tagsDeleted:x.current?V3(x.current.state.selected,v):[]},K={listBoxCollapse(W){w&&(!f||f(W??I.value))&&(S(!1),b(null),s==null||s())},listBoxExpand(W){w||(!d||d(W??I.value))&&(S(!0),b(T[F]),l==null||l())},updateActiveIndex(W){const X=Wse(W,T.length,e?0:-1);b(T[X])},updateInputValue(W){P!==W&&(E(W),c==null||c(W))},selectTag(W){if(W??(W=Vse(I)),W){const X=c2(W,I.selected);X>-1?a(X):o(W),n&&this.listBoxCollapse(),this.updateInputValue("")}}};return x.current={...K,flags:D,state:I},x}function ale(e){const{id:t,inputRef:n,listBoxRef:r,managerRef:i}=M.useContext(_n),o=M.useRef(null),a=i.current.state.options[e],s=e===i.current.state.activeIndex,l=a.disabled??!1,c=c2(a,i.current.state.selected)>-1,f=M.useCallback(()=>{var p;i.current.selectTag(),(p=n.current)==null||p.focus()},[n,i]),d=M.useCallback(()=>{e!==i.current.state.activeIndex&&i.current.updateActiveIndex(e)},[e,i]);return cle(o,r,s),{option:{...a,active:s,disabled:l,index:e,selected:c},optionProps:{"aria-disabled":l,"aria-posinset":e+1,"aria-selected":l?void 0:c,"aria-setsize":i.current.state.options.length,id:r5(t,a),onClick:f,onMouseDown:d,ref:o,role:"option",tabIndex:-1}}}function sle({inputRef:e,managerRef:t}){return M.useRef({input:{blur(){var r;(r=e.current)==null||r.blur()},focus(){var r;(r=e.current)==null||r.focus()},get value(){return t.current.state.value},set value(r){typeof r!="string"&&(r=String(r)),t.current.updateInputValue(r)}},listBox:{collapse(){t.current.listBoxCollapse()},expand(){t.current.listBoxExpand()},get activeOption(){return t.current.state.activeOption},get isExpanded(){return t.current.state.isExpanded}},select(r){t.current.selectTag(r)}}).current}function lle({onBlur:e,onFocus:t}){const[n,r]=M.useState(!1),{id:i,inputRef:o,rootRef:a}=M.useContext(_n),s=M.useMemo(()=>({"aria-describedby":f0(i),id:i,onFocus(){r(!0),t==null||t()},onBlur(){var l;(l=a.current)!=null&&l.contains(document.activeElement)||(r(!1),e==null||e())},onClick(){var l;document.activeElement===a.current&&((l=o.current)==null||l.focus())},ref:a,tabIndex:-1}),[o,i,e,t,a]);return{isActive:n,rootProps:s}}function cle(e,t,n){M.useEffect(()=>{var r,i,o,a;if(n){const s=(r=e.current)==null?void 0:r.offsetHeight,l=(i=e.current)==null?void 0:i.offsetTop,c=(o=t.current)==null?void 0:o.offsetHeight,f=(a=t.current)==null?void 0:a.scrollTop;lf+c&&t.current.scrollTo(0,l+s-c)}},[n,t,e])}function ule(e,t){const{isDisabled:n,managerRef:r}=M.useContext(_n),i=r.current.state.selected[e],o=M.useCallback(()=>r.current.selectTag(i),[r,i]);return{tag:i,tagProps:{"aria-disabled":n,title:fg(t,i.label),onClick:n?Zl:o}}}function fle({label:e}){var t;const{rootRef:n,managerRef:r}=M.useContext(_n),i=M.useRef(),o=r.current.flags.tagsDeleted[0],a=(t=i.current)==null?void 0:t.contains(document.activeElement);return M.useLayoutEffect(()=>{var s,l;if(o){const c=(s=i.current)==null?void 0:s.contains(document.activeElement);a&&!c&&((l=n.current)==null||l.focus({preventScroll:!0}))}},[a,i,n,o]),{ref:i,"aria-label":e}}const dle={position:"absolute",width:1,height:1,left:-9999,overflow:"hidden",clip:"rect(0 0 0 0)"};function hle({ariaAddedText:e,ariaDeletedText:t}){const{managerRef:n}=M.useContext(_n),r=M.useRef([]);return n.current.flags.tagsAdded.forEach(i=>{r.current.push(fg(e,i.label))}),n.current.flags.tagsDeleted.forEach(i=>{r.current.push(fg(t,i.label))}),V.createElement("div",{"aria-live":"polite","aria-relevant":"additions",role:"status",style:dle},r.current.join(` +`))}function ple({children:e}){const{classNames:t,comboBoxRef:n,id:r}=M.useContext(_n);return V.createElement("div",{className:t.comboBox,id:Bse(r),ref:n},e)}const mle=({classNames:e,text:t})=>V.createElement("mark",{className:e.highlight},t);function vle({option:e,query:t,render:n=mle}){const{classNames:r}=M.useContext(_n);if(e.value===qP||e.value===t5)return V.createElement(V.Fragment,null,fg(e.label,t));if(t){const i=Gse(e.label,t);if(i){const o=n({text:i[1],classNames:r});return V.createElement(V.Fragment,null,i[0],o,i[2])}}return V.createElement(V.Fragment,null,e.label)}const gle=V.memo(vle),yle=({classNames:e,inputWidth:t,...n})=>V.createElement("input",{className:e.input,style:{width:t},...n});function ble({allowBackspace:e=!0,allowResize:t=!0,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i,placeholderText:o,render:a=yle}){const{classNames:s}=M.useContext(_n),{value:l,...c}=ele({allowBackspace:e,ariaDescribedBy:n,ariaErrorMessage:r,delimiterKeys:i}),f=l.lengthV.createElement("div",{className:t.label,id:n},e);function xle({children:e,render:t=_le}){const{classNames:n,id:r}=M.useContext(_n);return t({children:e,classNames:n,id:f0(r)})}const wle=({children:e,classNames:t,...n})=>V.createElement("div",{className:t.listBox,...n},e);function Ole({children:e,render:t=wle}){const{classNames:n,managerRef:r}=M.useContext(_n),i=ile();return!r.current.state.isExpanded||V.Children.count(e)===0?null:t({children:e,classNames:n,...i})}const Sle=({children:e,classNames:t,option:n,...r})=>{const i=[t.option];return n.active&&i.push(t.optionIsActive),V.createElement("div",{className:i.join(" "),...r},e)};function Ple({children:e,index:t,render:n=Sle}){const{classNames:r}=M.useContext(_n),{option:i,optionProps:o}=ale(t);return n({classNames:r,children:e,option:i,...o})}const Ele=({children:e,classNames:t,isActive:n,isDisabled:r,isInvalid:i,...o})=>{const a=[t.root];return n&&a.push(t.rootIsActive),r&&a.push(t.rootIsDisabled),i&&a.push(t.rootIsInvalid),V.createElement("div",{className:a.join(" "),...o},e)};function Cle({children:e,onBlur:t,onFocus:n,render:r=Ele}){const{classNames:i,isDisabled:o,isInvalid:a}=M.useContext(_n),{isActive:s,rootProps:l}=lle({onBlur:t,onFocus:n});return r({children:e,classNames:i,isActive:s,isDisabled:o,isInvalid:a,...l})}const Tle=({classNames:e,tag:t,...n})=>V.createElement("button",{type:"button",className:e.tag,...n},V.createElement("span",{className:e.tagName},t.label));function jle({render:e=Tle,index:t,title:n}){const{classNames:r}=M.useContext(_n),{tag:i,tagProps:o}=ule(t,n);return e({classNames:r,tag:i,...o})}const Ale=({children:e,classNames:t,...n})=>V.createElement("ul",{className:t.tagList,...n,role:"list"},V.Children.map(e,r=>{if(V.isValidElement(r))return V.createElement("li",{className:t.tagListItem,key:r.key,role:"listitem"},r)}));function kle({children:e,label:t,render:n=Ale}){const{classNames:r}=M.useContext(_n),i=fle({label:t});return n({classNames:r,children:e,...i})}const Nle={root:"react-tags",rootIsActive:"is-active",rootIsDisabled:"is-disabled",rootIsInvalid:"is-invalid",label:"react-tags__label",tagList:"react-tags__list",tagListItem:"react-tags__list-item",tag:"react-tags__tag",tagName:"react-tags__tag-name",comboBox:"react-tags__combobox",input:"react-tags__combobox-input",listBox:"react-tags__listbox",option:"react-tags__listbox-option",optionIsActive:"is-active",highlight:"react-tags__listbox-option-highlight"},Mle=[Es.Enter];function Lle({activateFirstOption:e=!1,allowBackspace:t=!0,allowNew:n=!1,allowResize:r=!0,ariaAddedText:i="Added tag %value%",ariaDescribedBy:o,ariaErrorMessage:a,ariaDeletedText:s="Removed tag %value%",classNames:l=Nle,collapseOnSelect:c=!1,deleteButtonText:f="Remove %value% from the list",delimiterKeys:d=Mle,id:p="react-tags",isDisabled:v=!1,isInvalid:y=!1,labelText:g="Select tags",newOptionText:x="Add %value%",noOptionsText:_="No options found for %value%",onAdd:b,onBlur:w,onCollapse:S,onDelete:P,onExpand:E,onFocus:T,onInput:j,onShouldCollapse:F,onShouldExpand:k,onValidate:I,placeholderText:D="Add a tag",renderHighlight:K,renderInput:W,renderLabel:X,renderListBox:Q,renderOption:te,renderRoot:Z,renderTag:z,renderTagList:B,selected:H=[],suggestions:ee=[],suggestionsTransform:q=Xse,tagListLabelText:ne="Selected tags"},re){const ae=M.useRef(null),ue=M.useRef(null),A=M.useRef(null),N=M.useRef(null),U=ole({activateFirstOption:e,allowNew:n,collapseOnSelect:c,newOptionText:x,noOptionsText:_,onAdd:b,onDelete:P,onCollapse:S,onExpand:E,onInput:j,onShouldCollapse:F,onShouldExpand:k,onValidate:I,selected:H,suggestions:ee,suggestionsTransform:q}),J=sle({inputRef:ue,managerRef:U});return re&&(typeof re=="function"?re(J):re.current=J),V.createElement(_n.Provider,{value:{classNames:l,comboBoxRef:ae,id:p,inputRef:ue,isDisabled:v,isInvalid:y,listBoxRef:A,managerRef:U,rootRef:N}},V.createElement(Cle,{onBlur:w,onFocus:T,render:Z},V.createElement(xle,{render:X},g),V.createElement(kle,{render:B,label:ne},U.current.state.selected.map((Y,oe)=>V.createElement(jle,{key:l2(Y),index:oe,render:z,title:f}))),V.createElement(ple,null,V.createElement(ble,{allowBackspace:t,allowResize:r,ariaDescribedBy:o,ariaErrorMessage:a,delimiterKeys:d,placeholderText:D,render:W}),V.createElement(Ole,{render:Q},U.current.state.options.map((Y,oe)=>V.createElement(Ple,{key:l2(Y),index:oe,render:te},V.createElement(gle,{option:Y,query:U.current.state.value,render:K}))))),V.createElement(hle,{ariaAddedText:i,ariaDeletedText:s})))}const Rle=V.forwardRef(Lle);function N1(e){return e==null?"":`${e}`}function $le(e={}){const{separator:t,decimals:n}=e;return t?n?r=>r.toFixed(n).replace(".",t):r=>`${r}`.replace(".",t):n?r=>r.toFixed(n):r=>`${r}`}function KP(e={}){const t=typeof e.quote=="string"?e.quote:'"',n=typeof e.escapedQuote=="string"?e.escapedQuote:`${t}${t}`;if(!t||t===n)return i=>i;const r=new RegExp(t,"g");return i=>(i.includes(t)&&(i=i.replace(r,n)),`${t}${i}${t}`)}function Ile(e={stringFormatter:KP()}){return t=>e.stringFormatter(t.toString().slice(7,-1))}function Dle(e={stringFormatter:KP()}){return t=>{if(t===null)return"";let n=JSON.stringify(t);return n===void 0?"":(n[0]==='"'&&(n=n.replace(/^"(.+)"$/,"$1")),e.stringFormatter(n))}}const Fle=RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g");function Ble(e){var t,n,r;const i=[];let o;for(;o=Fle.exec(e);)i.push((r=(t=o[3])!==null&&t!==void 0?t:(n=o[1])===null||n===void 0?void 0:n.trim())!==null&&r!==void 0?r:o[0]);return i}function W3(e,t,n){if(t in e){const o=e[t];return o===void 0?n:o}const r=Array.isArray(t)?t:Ble(t);let i=e;for(const o of r)if(i=i==null?void 0:i[o],i===void 0)return n;return i}function a5(e,t){try{return Array.isArray(t)?e.push(...t):e.push(t),e}catch{return e.concat(t)}}function u2(e,t){let n=!0;return e.reduce((r,i)=>(i==null&&(i=""),n?(n=!1,`${i}`):`${r}${t}${i}`),"")}var H3;(function(e){e.header="header",e.undefined="undefined",e.boolean="boolean",e.number="number",e.bigint="bigint",e.string="string",e.symbol="symbol",e.function="function",e.object="object"})(H3||(H3={}));class Ule{constructor(t){this.opts=this.preprocessOpts(t)}preprocessOpts(t){const n=Object.assign({},t);n.fields&&(n.fields=this.preprocessFieldsInfo(n.fields,n.defaultValue)),n.transforms=n.transforms||[];const r=n.formatters&&n.formatters.string||KP(),i=Dle({stringFormatter:r}),o={header:r,undefined:N1,boolean:N1,number:$le(),bigint:N1,string:r,symbol:Ile({stringFormatter:r}),function:i,object:i};return n.formatters=Object.assign(Object.assign({},o),n.formatters),n.delimiter=n.delimiter||",",n.eol=n.eol||` +`,n.header=n.header!==!1,n.includeEmptyRows=n.includeEmptyRows||!1,n.withBOM=n.withBOM||!1,n}preprocessFieldsInfo(t,n){return t.map(r=>{if(typeof r=="string")return{label:r,value:i=>W3(i,r,n)};if(typeof r=="object"){const i="default"in r?r.default:n;if(typeof r.value=="string"){const o=r.value;return{label:r.label||r.value,value:a=>W3(a,o,i)}}if(typeof r.value=="function"){const o=r.label||r.value.name||"",a={label:o,default:i},s=r.value;return{label:o,value(l){const c=s(l,a);return c===void 0?i:c}}}}throw new Error("Invalid field info option. "+JSON.stringify(r))})}getHeader(){return u2(this.opts.fields.map(t=>this.opts.formatters.header(t.label)),this.opts.delimiter)}preprocessRow(t){return this.opts.transforms.reduce((n,r)=>n.map(i=>r(i)).reduce(a5,[]),[t])}processRow(t){if(!t)return;const n=this.opts.fields.map(r=>this.processCell(t,r));if(!(!this.opts.includeEmptyRows&&n.every(r=>r==="")))return u2(n,this.opts.delimiter)}processCell(t,n){return this.processValue(n.value(t))}processValue(t){const n=this.opts.formatters[typeof t];return n(t)}}class s5 extends Ule{constructor(t){super(t)}parse(t){const n=this.preprocessData(t);this.opts.fields=this.opts.fields||this.preprocessFieldsInfo(n.reduce((a,s)=>(Object.keys(s).forEach(l=>{a.includes(l)||a.push(l)}),a),[]),this.opts.defaultValue);const r=this.opts.header?this.getHeader():"",i=this.processData(n);return(this.opts.withBOM?"\uFEFF":"")+r+(r&&i?this.opts.eol:"")+i}preprocessData(t){const n=Array.isArray(t)?t:[t];if(!this.opts.fields){if(t==null||n.length===0)throw new Error('Data should not be empty or the "fields" option should be included');if(typeof n[0]!="object")throw new Error('Data items should be objects or the "fields" option should be included')}return this.opts.transforms.length===0?n:n.map(r=>this.preprocessRow(r)).reduce(a5,[])}processData(t){return u2(t.map(n=>this.processRow(n)).filter(n=>n),this.opts.eol)}}var mn;(function(e){e[e.BACKSPACE=8]="BACKSPACE",e[e.FORM_FEED=12]="FORM_FEED",e[e.NEWLINE=10]="NEWLINE",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.TAB=9]="TAB",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.DOLLAR_SIGN=36]="DOLLAR_SIGN",e[e.PERCENT_SIGN=37]="PERCENT_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.LEFT_PARENTHESIS=40]="LEFT_PARENTHESIS",e[e.RIGHT_PARENTHESIS=41]="RIGHT_PARENTHESIS",e[e.ASTERISK=42]="ASTERISK",e[e.PLUS_SIGN=43]="PLUS_SIGN",e[e.COMMA=44]="COMMA",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.FULL_STOP=46]="FULL_STOP",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_ZERO=48]="DIGIT_ZERO",e[e.DIGIT_ONE=49]="DIGIT_ONE",e[e.DIGIT_TWO=50]="DIGIT_TWO",e[e.DIGIT_THREE=51]="DIGIT_THREE",e[e.DIGIT_FOUR=52]="DIGIT_FOUR",e[e.DIGIT_FIVE=53]="DIGIT_FIVE",e[e.DIGIT_SIX=54]="DIGIT_SIX",e[e.DIGIT_SEVEN=55]="DIGIT_SEVEN",e[e.DIGIT_EIGHT=56]="DIGIT_EIGHT",e[e.DIGIT_NINE=57]="DIGIT_NINE",e[e.COLON=58]="COLON",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.COMMERCIAL_AT=64]="COMMERCIAL_AT",e[e.LATIN_CAPITAL_LETTER_A=65]="LATIN_CAPITAL_LETTER_A",e[e.LATIN_CAPITAL_LETTER_B=66]="LATIN_CAPITAL_LETTER_B",e[e.LATIN_CAPITAL_LETTER_C=67]="LATIN_CAPITAL_LETTER_C",e[e.LATIN_CAPITAL_LETTER_D=68]="LATIN_CAPITAL_LETTER_D",e[e.LATIN_CAPITAL_LETTER_E=69]="LATIN_CAPITAL_LETTER_E",e[e.LATIN_CAPITAL_LETTER_F=70]="LATIN_CAPITAL_LETTER_F",e[e.LATIN_CAPITAL_LETTER_G=71]="LATIN_CAPITAL_LETTER_G",e[e.LATIN_CAPITAL_LETTER_H=72]="LATIN_CAPITAL_LETTER_H",e[e.LATIN_CAPITAL_LETTER_I=73]="LATIN_CAPITAL_LETTER_I",e[e.LATIN_CAPITAL_LETTER_J=74]="LATIN_CAPITAL_LETTER_J",e[e.LATIN_CAPITAL_LETTER_K=75]="LATIN_CAPITAL_LETTER_K",e[e.LATIN_CAPITAL_LETTER_L=76]="LATIN_CAPITAL_LETTER_L",e[e.LATIN_CAPITAL_LETTER_M=77]="LATIN_CAPITAL_LETTER_M",e[e.LATIN_CAPITAL_LETTER_N=78]="LATIN_CAPITAL_LETTER_N",e[e.LATIN_CAPITAL_LETTER_O=79]="LATIN_CAPITAL_LETTER_O",e[e.LATIN_CAPITAL_LETTER_P=80]="LATIN_CAPITAL_LETTER_P",e[e.LATIN_CAPITAL_LETTER_Q=81]="LATIN_CAPITAL_LETTER_Q",e[e.LATIN_CAPITAL_LETTER_R=82]="LATIN_CAPITAL_LETTER_R",e[e.LATIN_CAPITAL_LETTER_S=83]="LATIN_CAPITAL_LETTER_S",e[e.LATIN_CAPITAL_LETTER_T=84]="LATIN_CAPITAL_LETTER_T",e[e.LATIN_CAPITAL_LETTER_U=85]="LATIN_CAPITAL_LETTER_U",e[e.LATIN_CAPITAL_LETTER_V=86]="LATIN_CAPITAL_LETTER_V",e[e.LATIN_CAPITAL_LETTER_W=87]="LATIN_CAPITAL_LETTER_W",e[e.LATIN_CAPITAL_LETTER_X=88]="LATIN_CAPITAL_LETTER_X",e[e.LATIN_CAPITAL_LETTER_Y=89]="LATIN_CAPITAL_LETTER_Y",e[e.LATIN_CAPITAL_LETTER_Z=90]="LATIN_CAPITAL_LETTER_Z",e[e.LEFT_SQUARE_BRACKET=91]="LEFT_SQUARE_BRACKET",e[e.REVERSE_SOLIDUS=92]="REVERSE_SOLIDUS",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.CIRCUMFLEX_ACCENT=94]="CIRCUMFLEX_ACCENT",e[e.LOW_LINE=95]="LOW_LINE",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_LETTER_A=97]="LATIN_SMALL_LETTER_A",e[e.LATIN_SMALL_LETTER_B=98]="LATIN_SMALL_LETTER_B",e[e.LATIN_SMALL_LETTER_C=99]="LATIN_SMALL_LETTER_C",e[e.LATIN_SMALL_LETTER_D=100]="LATIN_SMALL_LETTER_D",e[e.LATIN_SMALL_LETTER_E=101]="LATIN_SMALL_LETTER_E",e[e.LATIN_SMALL_LETTER_F=102]="LATIN_SMALL_LETTER_F",e[e.LATIN_SMALL_LETTER_G=103]="LATIN_SMALL_LETTER_G",e[e.LATIN_SMALL_LETTER_H=104]="LATIN_SMALL_LETTER_H",e[e.LATIN_SMALL_LETTER_I=105]="LATIN_SMALL_LETTER_I",e[e.LATIN_SMALL_LETTER_J=106]="LATIN_SMALL_LETTER_J",e[e.LATIN_SMALL_LETTER_K=107]="LATIN_SMALL_LETTER_K",e[e.LATIN_SMALL_LETTER_L=108]="LATIN_SMALL_LETTER_L",e[e.LATIN_SMALL_LETTER_M=109]="LATIN_SMALL_LETTER_M",e[e.LATIN_SMALL_LETTER_N=110]="LATIN_SMALL_LETTER_N",e[e.LATIN_SMALL_LETTER_O=111]="LATIN_SMALL_LETTER_O",e[e.LATIN_SMALL_LETTER_P=112]="LATIN_SMALL_LETTER_P",e[e.LATIN_SMALL_LETTER_Q=113]="LATIN_SMALL_LETTER_Q",e[e.LATIN_SMALL_LETTER_R=114]="LATIN_SMALL_LETTER_R",e[e.LATIN_SMALL_LETTER_S=115]="LATIN_SMALL_LETTER_S",e[e.LATIN_SMALL_LETTER_T=116]="LATIN_SMALL_LETTER_T",e[e.LATIN_SMALL_LETTER_U=117]="LATIN_SMALL_LETTER_U",e[e.LATIN_SMALL_LETTER_V=118]="LATIN_SMALL_LETTER_V",e[e.LATIN_SMALL_LETTER_W=119]="LATIN_SMALL_LETTER_W",e[e.LATIN_SMALL_LETTER_X=120]="LATIN_SMALL_LETTER_X",e[e.LATIN_SMALL_LETTER_Y=121]="LATIN_SMALL_LETTER_Y",e[e.LATIN_SMALL_LETTER_Z=122]="LATIN_SMALL_LETTER_Z",e[e.LEFT_CURLY_BRACKET=123]="LEFT_CURLY_BRACKET",e[e.VERTICAL_LINE=124]="VERTICAL_LINE",e[e.RIGHT_CURLY_BRACKET=125]="RIGHT_CURLY_BRACKET",e[e.TILDE=126]="TILDE"})(mn||(mn={}));mn.QUOTATION_MARK+"",mn.QUOTATION_MARK,mn.REVERSE_SOLIDUS+"",mn.REVERSE_SOLIDUS,mn.SOLIDUS+"",mn.SOLIDUS,mn.LATIN_SMALL_LETTER_B+"",mn.BACKSPACE,mn.LATIN_SMALL_LETTER_F+"",mn.FORM_FEED,mn.LATIN_SMALL_LETTER_N+"",mn.NEWLINE,mn.LATIN_SMALL_LETTER_R+"",mn.CARRIAGE_RETURN,mn.LATIN_SMALL_LETTER_T+"",mn.TAB;var G3;(function(e){e[e.LEFT_BRACE=0]="LEFT_BRACE",e[e.RIGHT_BRACE=1]="RIGHT_BRACE",e[e.LEFT_BRACKET=2]="LEFT_BRACKET",e[e.RIGHT_BRACKET=3]="RIGHT_BRACKET",e[e.COLON=4]="COLON",e[e.COMMA=5]="COMMA",e[e.TRUE=6]="TRUE",e[e.FALSE=7]="FALSE",e[e.NULL=8]="NULL",e[e.STRING=9]="STRING",e[e.NUMBER=10]="NUMBER",e[e.SEPARATOR=11]="SEPARATOR"})(G3||(G3={}));var q3;(function(e){e[e.START=0]="START",e[e.ENDED=1]="ENDED",e[e.ERROR=2]="ERROR",e[e.TRUE1=3]="TRUE1",e[e.TRUE2=4]="TRUE2",e[e.TRUE3=5]="TRUE3",e[e.FALSE1=6]="FALSE1",e[e.FALSE2=7]="FALSE2",e[e.FALSE3=8]="FALSE3",e[e.FALSE4=9]="FALSE4",e[e.NULL1=10]="NULL1",e[e.NULL2=11]="NULL2",e[e.NULL3=12]="NULL3",e[e.STRING_DEFAULT=13]="STRING_DEFAULT",e[e.STRING_AFTER_BACKSLASH=14]="STRING_AFTER_BACKSLASH",e[e.STRING_UNICODE_DIGIT_1=15]="STRING_UNICODE_DIGIT_1",e[e.STRING_UNICODE_DIGIT_2=16]="STRING_UNICODE_DIGIT_2",e[e.STRING_UNICODE_DIGIT_3=17]="STRING_UNICODE_DIGIT_3",e[e.STRING_UNICODE_DIGIT_4=18]="STRING_UNICODE_DIGIT_4",e[e.STRING_INCOMPLETE_CHAR=19]="STRING_INCOMPLETE_CHAR",e[e.NUMBER_AFTER_INITIAL_MINUS=20]="NUMBER_AFTER_INITIAL_MINUS",e[e.NUMBER_AFTER_INITIAL_ZERO=21]="NUMBER_AFTER_INITIAL_ZERO",e[e.NUMBER_AFTER_INITIAL_NON_ZERO=22]="NUMBER_AFTER_INITIAL_NON_ZERO",e[e.NUMBER_AFTER_FULL_STOP=23]="NUMBER_AFTER_FULL_STOP",e[e.NUMBER_AFTER_DECIMAL=24]="NUMBER_AFTER_DECIMAL",e[e.NUMBER_AFTER_E=25]="NUMBER_AFTER_E",e[e.NUMBER_AFTER_E_AND_SIGN=26]="NUMBER_AFTER_E_AND_SIGN",e[e.NUMBER_AFTER_E_AND_DIGIT=27]="NUMBER_AFTER_E_AND_DIGIT",e[e.SEPARATOR=28]="SEPARATOR",e[e.BOM_OR_START=29]="BOM_OR_START",e[e.BOM=30]="BOM"})(q3||(q3={}));var K3;(function(e){e[e.OBJECT=0]="OBJECT",e[e.ARRAY=1]="ARRAY"})(K3||(K3={}));var Y3;(function(e){e[e.VALUE=0]="VALUE",e[e.KEY=1]="KEY",e[e.COLON=2]="COLON",e[e.COMMA=3]="COMMA",e[e.ENDED=4]="ENDED",e[e.ERROR=5]="ERROR",e[e.SEPARATOR=6]="SEPARATOR"})(Y3||(Y3={}));var zle=Array.isArray,yr=zle,Vle=typeof Xl=="object"&&Xl&&Xl.Object===Object&&Xl,l5=Vle,Wle=l5,Hle=typeof self=="object"&&self&&self.Object===Object&&self,Gle=Wle||Hle||Function("return this")(),po=Gle,qle=po,Kle=qle.Symbol,tp=Kle,Z3=tp,c5=Object.prototype,Yle=c5.hasOwnProperty,Zle=c5.toString,Ef=Z3?Z3.toStringTag:void 0;function Xle(e){var t=Yle.call(e,Ef),n=e[Ef];try{e[Ef]=void 0;var r=!0}catch{}var i=Zle.call(e);return r&&(t?e[Ef]=n:delete e[Ef]),i}var Qle=Xle,Jle=Object.prototype,ece=Jle.toString;function tce(e){return ece.call(e)}var nce=tce,X3=tp,rce=Qle,ice=nce,oce="[object Null]",ace="[object Undefined]",Q3=X3?X3.toStringTag:void 0;function sce(e){return e==null?e===void 0?ace:oce:Q3&&Q3 in Object(e)?rce(e):ice(e)}var Jo=sce;function lce(e){return e!=null&&typeof e=="object"}var ea=lce,cce=Jo,uce=ea,fce="[object Symbol]";function dce(e){return typeof e=="symbol"||uce(e)&&cce(e)==fce}var ku=dce,hce=yr,pce=ku,mce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vce=/^\w*$/;function gce(e,t){if(hce(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||pce(e)?!0:vce.test(e)||!mce.test(e)||t!=null&&e in Object(t)}var YP=gce;function yce(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var is=yce;const Nu=st(is);var bce=Jo,_ce=is,xce="[object AsyncFunction]",wce="[object Function]",Oce="[object GeneratorFunction]",Sce="[object Proxy]";function Pce(e){if(!_ce(e))return!1;var t=bce(e);return t==wce||t==Oce||t==xce||t==Sce}var ZP=Pce;const We=st(ZP);var Ece=po,Cce=Ece["__core-js_shared__"],Tce=Cce,M1=Tce,J3=function(){var e=/[^.]+$/.exec(M1&&M1.keys&&M1.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jce(e){return!!J3&&J3 in e}var Ace=jce,kce=Function.prototype,Nce=kce.toString;function Mce(e){if(e!=null){try{return Nce.call(e)}catch{}try{return e+""}catch{}}return""}var u5=Mce,Lce=ZP,Rce=Ace,$ce=is,Ice=u5,Dce=/[\\^$.*+?()[\]{}|]/g,Fce=/^\[object .+?Constructor\]$/,Bce=Function.prototype,Uce=Object.prototype,zce=Bce.toString,Vce=Uce.hasOwnProperty,Wce=RegExp("^"+zce.call(Vce).replace(Dce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hce(e){if(!$ce(e)||Rce(e))return!1;var t=Lce(e)?Wce:Fce;return t.test(Ice(e))}var Gce=Hce;function qce(e,t){return e==null?void 0:e[t]}var Kce=qce,Yce=Gce,Zce=Kce;function Xce(e,t){var n=Zce(e,t);return Yce(n)?n:void 0}var bl=Xce,Qce=bl,Jce=Qce(Object,"create"),d0=Jce,ek=d0;function eue(){this.__data__=ek?ek(null):{},this.size=0}var tue=eue;function nue(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var rue=nue,iue=d0,oue="__lodash_hash_undefined__",aue=Object.prototype,sue=aue.hasOwnProperty;function lue(e){var t=this.__data__;if(iue){var n=t[e];return n===oue?void 0:n}return sue.call(t,e)?t[e]:void 0}var cue=lue,uue=d0,fue=Object.prototype,due=fue.hasOwnProperty;function hue(e){var t=this.__data__;return uue?t[e]!==void 0:due.call(t,e)}var pue=hue,mue=d0,vue="__lodash_hash_undefined__";function gue(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=mue&&t===void 0?vue:t,this}var yue=gue,bue=tue,_ue=rue,xue=cue,wue=pue,Oue=yue;function Mu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1}var Bue=Fue,Uue=h0;function zue(e,t){var n=this.__data__,r=Uue(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Vue=zue,Wue=Eue,Hue=Lue,Gue=Iue,que=Bue,Kue=Vue;function Lu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0?1:-1},Is=function(t){return np(t)&&t.indexOf("%")===t.length-1},Ce=function(t){return mde(t)&&!$u(t)},un=function(t){return Ce(t)||np(t)},bde=0,os=function(t){var n=++bde;return"".concat(t||"").concat(n)},Kn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!Ce(t)&&!np(t))return r;var o;if(Is(t)){var a=t.indexOf("%");o=n*parseFloat(t.slice(0,a))/100}else o=+t;return $u(o)&&(o=r),i&&o>n&&(o=n),o},ya=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},_de=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cde(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function d2(e){"@babel/helpers - typeof";return d2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d2(e)}var sk={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},Ao=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},lk=null,R1=null,aE=function e(t){if(t===lk&&Array.isArray(R1))return R1;var n=[];return M.Children.forEach(t,function(r){ze(r)||(b5.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),R1=n,lk=t,n};function Jn(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(i){return Ao(i)}):r=[Ao(t)],aE(e).forEach(function(i){var o=jr(i,"type.displayName")||jr(i,"type.name");r.indexOf(o)!==-1&&n.push(i)}),n}function Or(e,t){var n=Jn(e,t);return n&&n[0]}var ck=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,i=n.height;return!(!Ce(r)||r<=0||!Ce(i)||i<=0)},Tde=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],jde=function(t){return t&&t.type&&np(t.type)&&Tde.indexOf(t.type)>=0},x5=function(t){return t&&d2(t)==="object"&&"clipDot"in t},Ade=function(t,n,r,i){var o,a=(o=L1==null?void 0:L1[i])!==null&&o!==void 0?o:[];return!We(t)&&(i&&a.includes(n)||Ode.includes(n))||r&&oE.includes(n)},De=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var i=t;if(M.isValidElement(t)&&(i=t.props),!Nu(i))return null;var o={};return Object.keys(i).forEach(function(a){var s;Ade((s=i)===null||s===void 0?void 0:s[a],a,n,r)&&(o[a]=i[a])}),o},h2=function e(t,n){if(t===n)return!0;var r=M.Children.count(t);if(r!==M.Children.count(n))return!1;if(r===0)return!0;if(r===1)return uk(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Rde(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function m2(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,o=e.className,a=e.style,s=e.title,l=e.desc,c=Lde(e,Mde),f=i||{width:n,height:r,x:0,y:0},d=Oe("recharts-surface",o);return V.createElement("svg",p2({},De(c,!0,"svg"),{className:d,width:n,height:r,style:a,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height)}),V.createElement("title",null,s),V.createElement("desc",null,l),t)}var $de=["children","className"];function v2(){return v2=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dde(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Xe=V.forwardRef(function(e,t){var n=e.children,r=e.className,i=Ide(e,$de),o=Oe("recharts-layer",r);return V.createElement("g",v2({className:o},De(i,!0),{ref:t}),n)}),Ti=function(t,n){for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;oi?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:Ude(e,t,n)}var Vde=zde,Wde="\\ud800-\\udfff",Hde="\\u0300-\\u036f",Gde="\\ufe20-\\ufe2f",qde="\\u20d0-\\u20ff",Kde=Hde+Gde+qde,Yde="\\ufe0e\\ufe0f",Zde="\\u200d",Xde=RegExp("["+Zde+Wde+Kde+Yde+"]");function Qde(e){return Xde.test(e)}var w5=Qde;function Jde(e){return e.split("")}var ehe=Jde,O5="\\ud800-\\udfff",the="\\u0300-\\u036f",nhe="\\ufe20-\\ufe2f",rhe="\\u20d0-\\u20ff",ihe=the+nhe+rhe,ohe="\\ufe0e\\ufe0f",ahe="["+O5+"]",g2="["+ihe+"]",y2="\\ud83c[\\udffb-\\udfff]",she="(?:"+g2+"|"+y2+")",S5="[^"+O5+"]",P5="(?:\\ud83c[\\udde6-\\uddff]){2}",E5="[\\ud800-\\udbff][\\udc00-\\udfff]",lhe="\\u200d",C5=she+"?",T5="["+ohe+"]?",che="(?:"+lhe+"(?:"+[S5,P5,E5].join("|")+")"+T5+C5+")*",uhe=T5+C5+che,fhe="(?:"+[S5+g2+"?",g2,P5,E5,ahe].join("|")+")",dhe=RegExp(y2+"(?="+y2+")|"+fhe+uhe,"g");function hhe(e){return e.match(dhe)||[]}var phe=hhe,mhe=ehe,vhe=w5,ghe=phe;function yhe(e){return vhe(e)?ghe(e):mhe(e)}var bhe=yhe,_he=Vde,xhe=w5,whe=bhe,Ohe=p5;function She(e){return function(t){t=Ohe(t);var n=xhe(t)?whe(t):void 0,r=n?n[0]:t.charAt(0),i=n?_he(n,1).join(""):t.slice(1);return r[e]()+i}}var Phe=She,Ehe=Phe,Che=Ehe("toUpperCase"),The=Che;const C0=st(The);function wt(e){return function(){return e}}const j5=Math.cos,pg=Math.sin,$i=Math.sqrt,mg=Math.PI,T0=2*mg,b2=Math.PI,_2=2*b2,Cs=1e-6,jhe=_2-Cs;function A5(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return A5;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iCs)if(!(Math.abs(d*l-c*f)>Cs)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let v=r-a,y=i-s,g=l*l+c*c,x=v*v+y*y,_=Math.sqrt(g),b=Math.sqrt(p),w=o*Math.tan((b2-Math.acos((g+p-x)/(2*_*b)))/2),S=w/b,P=w/_;Math.abs(S-1)>Cs&&this._append`L${t+S*f},${n+S*d}`,this._append`A${o},${o},0,0,${+(d*v>f*y)},${this._x1=t+P*l},${this._y1=n+P*c}`}}arc(t,n,r,i,o,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(i),l=r*Math.sin(i),c=t+s,f=n+l,d=1^a,p=a?i-o:o-i;this._x1===null?this._append`M${c},${f}`:(Math.abs(this._x1-c)>Cs||Math.abs(this._y1-f)>Cs)&&this._append`L${c},${f}`,r&&(p<0&&(p=p%_2+_2),p>jhe?this._append`A${r},${r},0,1,${d},${t-s},${n-l}A${r},${r},0,1,${d},${this._x1=c},${this._y1=f}`:p>Cs&&this._append`A${r},${r},0,${+(p>=b2)},${d},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function sE(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new khe(t)}function lE(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function k5(e){this._context=e}k5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function j0(e){return new k5(e)}function N5(e){return e[0]}function M5(e){return e[1]}function L5(e,t){var n=wt(!0),r=null,i=j0,o=null,a=sE(s);e=typeof e=="function"?e:e===void 0?N5:wt(e),t=typeof t=="function"?t:t===void 0?M5:wt(t);function s(l){var c,f=(l=lE(l)).length,d,p=!1,v;for(r==null&&(o=i(v=a())),c=0;c<=f;++c)!(c=v;--y)s.point(w[y],S[y]);s.lineEnd(),s.areaEnd()}_&&(w[p]=+e(x,p,d),S[p]=+t(x,p,d),s.point(r?+r(x,p,d):w[p],n?+n(x,p,d):S[p]))}if(b)return s=null,b+""||null}function f(){return L5().defined(i).curve(a).context(o)}return c.x=function(d){return arguments.length?(e=typeof d=="function"?d:wt(+d),r=null,c):e},c.x0=function(d){return arguments.length?(e=typeof d=="function"?d:wt(+d),c):e},c.x1=function(d){return arguments.length?(r=d==null?null:typeof d=="function"?d:wt(+d),c):r},c.y=function(d){return arguments.length?(t=typeof d=="function"?d:wt(+d),n=null,c):t},c.y0=function(d){return arguments.length?(t=typeof d=="function"?d:wt(+d),c):t},c.y1=function(d){return arguments.length?(n=d==null?null:typeof d=="function"?d:wt(+d),c):n},c.lineX0=c.lineY0=function(){return f().x(e).y(t)},c.lineY1=function(){return f().x(e).y(n)},c.lineX1=function(){return f().x(r).y(t)},c.defined=function(d){return arguments.length?(i=typeof d=="function"?d:wt(!!d),c):i},c.curve=function(d){return arguments.length?(a=d,o!=null&&(s=a(o)),c):a},c.context=function(d){return arguments.length?(d==null?o=s=null:s=a(o=d),c):o},c}class R5{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function Nhe(e){return new R5(e,!0)}function Mhe(e){return new R5(e,!1)}const cE={draw(e,t){const n=$i(t/mg);e.moveTo(n,0),e.arc(0,0,n,0,T0)}},Lhe={draw(e,t){const n=$i(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},$5=$i(1/3),Rhe=$5*2,$he={draw(e,t){const n=$i(t/Rhe),r=n*$5;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Ihe={draw(e,t){const n=$i(t),r=-n/2;e.rect(r,r,n,n)}},Dhe=.8908130915292852,I5=pg(mg/10)/pg(7*mg/10),Fhe=pg(T0/10)*I5,Bhe=-j5(T0/10)*I5,Uhe={draw(e,t){const n=$i(t*Dhe),r=Fhe*n,i=Bhe*n;e.moveTo(0,-n),e.lineTo(r,i);for(let o=1;o<5;++o){const a=T0*o/5,s=j5(a),l=pg(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*i,l*r+s*i)}e.closePath()}},$1=$i(3),zhe={draw(e,t){const n=-$i(t/($1*3));e.moveTo(0,n*2),e.lineTo(-$1*n,-n),e.lineTo($1*n,-n),e.closePath()}},Vr=-.5,Wr=$i(3)/2,x2=1/$i(12),Vhe=(x2/2+1)*3,Whe={draw(e,t){const n=$i(t/Vhe),r=n/2,i=n*x2,o=r,a=n*x2+n,s=-o,l=a;e.moveTo(r,i),e.lineTo(o,a),e.lineTo(s,l),e.lineTo(Vr*r-Wr*i,Wr*r+Vr*i),e.lineTo(Vr*o-Wr*a,Wr*o+Vr*a),e.lineTo(Vr*s-Wr*l,Wr*s+Vr*l),e.lineTo(Vr*r+Wr*i,Vr*i-Wr*r),e.lineTo(Vr*o+Wr*a,Vr*a-Wr*o),e.lineTo(Vr*s+Wr*l,Vr*l-Wr*s),e.closePath()}};function Hhe(e,t){let n=null,r=sE(i);e=typeof e=="function"?e:wt(e||cE),t=typeof t=="function"?t:wt(t===void 0?64:+t);function i(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return i.type=function(o){return arguments.length?(e=typeof o=="function"?o:wt(o),i):e},i.size=function(o){return arguments.length?(t=typeof o=="function"?o:wt(+o),i):t},i.context=function(o){return arguments.length?(n=o??null,i):n},i}function vg(){}function gg(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function D5(e){this._context=e}D5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:gg(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:gg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Ghe(e){return new D5(e)}function F5(e){this._context=e}F5.prototype={areaStart:vg,areaEnd:vg,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:gg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function qhe(e){return new F5(e)}function B5(e){this._context=e}B5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:gg(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Khe(e){return new B5(e)}function U5(e){this._context=e}U5.prototype={areaStart:vg,areaEnd:vg,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function Yhe(e){return new U5(e)}function dk(e){return e<0?-1:1}function hk(e,t,n){var r=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(r||i<0&&-0),a=(n-e._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(dk(o)+dk(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function pk(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function I1(e,t,n){var r=e._x0,i=e._y0,o=e._x1,a=e._y1,s=(o-r)/3;e._context.bezierCurveTo(r+s,i+s*t,o-s,a-s*n,o,a)}function yg(e){this._context=e}yg.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:I1(this,this._t0,pk(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,I1(this,pk(this,n=hk(this,e,t)),n);break;default:I1(this,this._t0,n=hk(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function z5(e){this._context=new V5(e)}(z5.prototype=Object.create(yg.prototype)).point=function(e,t){yg.prototype.point.call(this,t,e)};function V5(e){this._context=e}V5.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,o){this._context.bezierCurveTo(t,e,r,n,o,i)}};function Zhe(e){return new yg(e)}function Xhe(e){return new z5(e)}function W5(e){this._context=e}W5.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=mk(e),i=mk(t),o=0,a=1;a=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function Jhe(e){return new A0(e,.5)}function epe(e){return new A0(e,0)}function tpe(e){return new A0(e,1)}function Kc(e,t){if((a=e.length)>1)for(var n=1,r,i,o=e[t[0]],a,s=o.length;n=0;)n[t]=t;return n}function npe(e,t){return e[t]}function rpe(e){const t=[];return t.key=e,t}function ipe(){var e=wt([]),t=w2,n=Kc,r=npe;function i(o){var a=Array.from(e.apply(this,arguments),rpe),s,l=a.length,c=-1,f;for(const d of o)for(s=0,++c;s0){for(var n,r,i=0,o=e[0].length,a;i0){for(var n=0,r=e[t[0]],i,o=r.length;n0)||!((o=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,o,a;r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hpe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var H5={symbolCircle:cE,symbolCross:Lhe,symbolDiamond:$he,symbolSquare:Ihe,symbolStar:Uhe,symbolTriangle:zhe,symbolWye:Whe},ppe=Math.PI/180,mpe=function(t){var n="symbol".concat(C0(t));return H5[n]||cE},vpe=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var i=18*ppe;return 1.25*t*t*(Math.tan(i)-Math.tan(i*2)*Math.pow(Math.tan(i),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},gpe=function(t,n){H5["symbol".concat(C0(t))]=n},k0=function(t){var n=t.type,r=n===void 0?"circle":n,i=t.size,o=i===void 0?64:i,a=t.sizeType,s=a===void 0?"area":a,l=dpe(t,lpe),c=gk(gk({},l),{},{type:r,size:o,sizeType:s}),f=function(){var x=mpe(r),_=Hhe().type(x).size(vpe(o,s,r));return _()},d=c.className,p=c.cx,v=c.cy,y=De(c,!0);return p===+p&&v===+v&&o===+o?V.createElement("path",O2({},y,{className:Oe("recharts-symbols",d),transform:"translate(".concat(p,", ").concat(v,")"),d:f()})):null};k0.registerSymbol=gpe;function Yc(e){"@babel/helpers - typeof";return Yc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yc(e)}function S2(){return S2=Object.assign?Object.assign.bind():function(e){for(var t=1;t`);var b=v.inactive?c:v.color;return V.createElement("li",S2({className:x,style:d,key:"legend-item-".concat(y)},Ga(r.props,v,y)),V.createElement(m2,{width:a,height:a,viewBox:f,style:p},r.renderIcon(v)),V.createElement("span",{className:"recharts-legend-item-text",style:{color:b}},g?g(_,v,y):_))})}},{key:"render",value:function(){var r=this.props,i=r.payload,o=r.layout,a=r.align;if(!i||!i.length)return null;var s={padding:0,margin:0,textAlign:o==="horizontal"?a:"left"};return V.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}])}(M.PureComponent);th(uE,"displayName","Legend");th(uE,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var Cpe=p0;function Tpe(){this.__data__=new Cpe,this.size=0}var jpe=Tpe;function Ape(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var kpe=Ape;function Npe(e){return this.__data__.get(e)}var Mpe=Npe;function Lpe(e){return this.__data__.has(e)}var Rpe=Lpe,$pe=p0,Ipe=QP,Dpe=JP,Fpe=200;function Bpe(e,t){var n=this.__data__;if(n instanceof $pe){var r=n.__data__;if(!Ipe||r.lengths))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,p=!0,v=n&lme?new ime:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=dve}var pE=hve,pve=Jo,mve=pE,vve=ea,gve="[object Arguments]",yve="[object Array]",bve="[object Boolean]",_ve="[object Date]",xve="[object Error]",wve="[object Function]",Ove="[object Map]",Sve="[object Number]",Pve="[object Object]",Eve="[object RegExp]",Cve="[object Set]",Tve="[object String]",jve="[object WeakMap]",Ave="[object ArrayBuffer]",kve="[object DataView]",Nve="[object Float32Array]",Mve="[object Float64Array]",Lve="[object Int8Array]",Rve="[object Int16Array]",$ve="[object Int32Array]",Ive="[object Uint8Array]",Dve="[object Uint8ClampedArray]",Fve="[object Uint16Array]",Bve="[object Uint32Array]",Et={};Et[Nve]=Et[Mve]=Et[Lve]=Et[Rve]=Et[$ve]=Et[Ive]=Et[Dve]=Et[Fve]=Et[Bve]=!0;Et[gve]=Et[yve]=Et[Ave]=Et[bve]=Et[kve]=Et[_ve]=Et[xve]=Et[wve]=Et[Ove]=Et[Sve]=Et[Pve]=Et[Eve]=Et[Cve]=Et[Tve]=Et[jve]=!1;function Uve(e){return vve(e)&&mve(e.length)&&!!Et[pve(e)]}var zve=Uve;function Vve(e){return function(t){return e(t)}}var n8=Vve,wg={exports:{}};wg.exports;(function(e,t){var n=l5,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(wg,wg.exports);var Wve=wg.exports,Hve=zve,Gve=n8,Sk=Wve,Pk=Sk&&Sk.isTypedArray,qve=Pk?Gve(Pk):Hve,r8=qve,Kve=Xme,Yve=dE,Zve=yr,Xve=t8,Qve=hE,Jve=r8,ege=Object.prototype,tge=ege.hasOwnProperty;function nge(e,t){var n=Zve(e),r=!n&&Yve(e),i=!n&&!r&&Xve(e),o=!n&&!r&&!i&&Jve(e),a=n||r||i||o,s=a?Kve(e.length,String):[],l=s.length;for(var c in e)(t||tge.call(e,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Qve(c,l)))&&s.push(c);return s}var rge=nge,ige=Object.prototype;function oge(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ige;return e===n}var age=oge;function sge(e,t){return function(n){return e(t(n))}}var i8=sge,lge=i8,cge=lge(Object.keys,Object),uge=cge,fge=age,dge=uge,hge=Object.prototype,pge=hge.hasOwnProperty;function mge(e){if(!fge(e))return dge(e);var t=[];for(var n in Object(e))pge.call(e,n)&&n!="constructor"&&t.push(n);return t}var vge=mge,gge=ZP,yge=pE;function bge(e){return e!=null&&yge(e.length)&&!gge(e)}var rp=bge,_ge=rge,xge=vge,wge=rp;function Oge(e){return wge(e)?_ge(e):xge(e)}var N0=Oge,Sge=Fme,Pge=Yme,Ege=N0;function Cge(e){return Sge(e,Ege,Pge)}var Tge=Cge,Ek=Tge,jge=1,Age=Object.prototype,kge=Age.hasOwnProperty;function Nge(e,t,n,r,i,o){var a=n&jge,s=Ek(e),l=s.length,c=Ek(t),f=c.length;if(l!=f&&!a)return!1;for(var d=l;d--;){var p=s[d];if(!(a?p in t:kge.call(t,p)))return!1}var v=o.get(e),y=o.get(t);if(v&&y)return v==t&&y==e;var g=!0;o.set(e,t),o.set(t,e);for(var x=a;++d-1}var A0e=j0e;function k0e(e,t,n){for(var r=-1,i=e==null?0:e.length;++r=G0e){var c=t?null:W0e(e);if(c)return H0e(c);a=!1,i=V0e,l=new B0e}else l=t?[]:s;e:for(;++r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lbe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function cbe(e){return e.value}function ube(e,t){if(V.isValidElement(e))return V.cloneElement(e,t);if(typeof e=="function")return V.createElement(e,t);t.ref;var n=sbe(t,J0e);return V.createElement(uE,n)}var zk=1,Cc=function(e){function t(){var n;ebe(this,t);for(var r=arguments.length,i=new Array(r),o=0;ozk||Math.abs(i.height-this.lastBoundingBox.height)>zk)&&(this.lastBoundingBox.width=i.width,this.lastBoundingBox.height=i.height,r&&r(i)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?_o({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var i=this.props,o=i.layout,a=i.align,s=i.verticalAlign,l=i.margin,c=i.chartWidth,f=i.chartHeight,d,p;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&o==="vertical"){var v=this.getBBoxSnapshot();d={left:((c||0)-v.width)/2}}else d=a==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var y=this.getBBoxSnapshot();p={top:((f||0)-y.height)/2}}else p=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return _o(_o({},d),p)}},{key:"render",value:function(){var r=this,i=this.props,o=i.content,a=i.width,s=i.height,l=i.wrapperStyle,c=i.payloadUniqBy,f=i.payload,d=_o(_o({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return V.createElement("div",{className:"recharts-legend-wrapper",style:d,ref:function(v){r.wrapperNode=v}},ube(o,_o(_o({},this.props),{},{payload:f8(f,c,cbe)})))}}],[{key:"getWithHeight",value:function(r,i){var o=_o(_o({},this.defaultProps),r.props),a=o.layout;return a==="vertical"&&Ce(r.props.height)?{height:r.props.height}:a==="horizontal"?{width:r.props.width||i}:null}}])}(M.PureComponent);M0(Cc,"displayName","Legend");M0(Cc,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var Vk=tp,fbe=dE,dbe=yr,Wk=Vk?Vk.isConcatSpreadable:void 0;function hbe(e){return dbe(e)||fbe(e)||!!(Wk&&e&&e[Wk])}var pbe=hbe,mbe=J5,vbe=pbe;function p8(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=vbe),i||(i=[]);++o0&&n(s)?t>1?p8(s,t-1,n,r,i):mbe(i,s):r||(i[i.length]=s)}return i}var m8=p8;function gbe(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(n(o[l],l,o)===!1)break}return t}}var ybe=gbe,bbe=ybe,_be=bbe(),xbe=_be,wbe=xbe,Obe=N0;function Sbe(e,t){return e&&wbe(e,t,Obe)}var v8=Sbe,Pbe=rp;function Ebe(e,t){return function(n,r){if(n==null)return n;if(!Pbe(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++ot||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e=s)return l;var c=n[r];return l*(c=="desc"?-1:1)}}return e.index-t.index}var Bbe=Fbe,U1=tE,Ube=nE,zbe=mo,Vbe=g8,Wbe=Rbe,Hbe=n8,Gbe=Bbe,qbe=Fu,Kbe=yr;function Ybe(e,t,n){t.length?t=U1(t,function(o){return Kbe(o)?function(a){return Ube(a,o.length===1?o[0]:o)}:o}):t=[qbe];var r=-1;t=U1(t,Hbe(zbe));var i=Vbe(e,function(o,a,s){var l=U1(t,function(c){return c(o)});return{criteria:l,index:++r,value:o}});return Wbe(i,function(o,a){return Gbe(o,a,n)})}var Zbe=Ybe;function Xbe(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Qbe=Xbe,Jbe=Qbe,Gk=Math.max;function e1e(e,t,n){return t=Gk(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Gk(r.length-t,0),a=Array(o);++i0){if(++t>=u1e)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var p1e=h1e,m1e=c1e,v1e=p1e,g1e=v1e(m1e),y1e=g1e,b1e=Fu,_1e=t1e,x1e=y1e;function w1e(e,t){return x1e(_1e(e,t,b1e),e+"")}var O1e=w1e,S1e=XP,P1e=rp,E1e=hE,C1e=is;function T1e(e,t,n){if(!C1e(n))return!1;var r=typeof t;return(r=="number"?P1e(n)&&E1e(t,n.length):r=="string"&&t in n)?S1e(n[t],e):!1}var L0=T1e,j1e=m8,A1e=Zbe,k1e=O1e,Kk=L0,N1e=k1e(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Kk(e,t[0],t[1])?t=[]:n>2&&Kk(t[0],t[1],t[2])&&(t=[t[0]]),A1e(e,j1e(t,1),[])}),M1e=N1e;const gE=st(M1e);function nh(e){"@babel/helpers - typeof";return nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nh(e)}function N2(){return N2=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t.x),"".concat(Cf,"-left"),Ce(n)&&t&&Ce(t.x)&&n=t.y),"".concat(Cf,"-top"),Ce(r)&&t&&Ce(t.y)&&rg?Math.max(f,l[r]):Math.max(d,l[r])}function K1e(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function Y1e(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,i=e.position,o=e.reverseDirection,a=e.tooltipBox,s=e.useTranslate3d,l=e.viewBox,c,f,d;return a.height>0&&a.width>0&&n?(f=Xk({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),d=Xk({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:i,reverseDirection:o,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),c=K1e({translateX:f,translateY:d,useTranslate3d:s})):c=G1e,{cssProperties:c,cssClasses:q1e({translateX:f,translateY:d,coordinate:n})}}function Xc(e){"@babel/helpers - typeof";return Xc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xc(e)}function Qk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Jk(e){for(var t=1;teN||Math.abs(r.height-this.state.lastBoundingBox.height)>eN)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,i;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,i=this.props,o=i.active,a=i.allowEscapeViewBox,s=i.animationDuration,l=i.animationEasing,c=i.children,f=i.coordinate,d=i.hasPayload,p=i.isAnimationActive,v=i.offset,y=i.position,g=i.reverseDirection,x=i.useTranslate3d,_=i.viewBox,b=i.wrapperStyle,w=Y1e({allowEscapeViewBox:a,coordinate:f,offsetTopLeft:v,position:y,reverseDirection:g,tooltipBox:this.state.lastBoundingBox,useTranslate3d:x,viewBox:_}),S=w.cssClasses,P=w.cssProperties,E=Jk(Jk({transition:p&&o?"transform ".concat(s,"ms ").concat(l):void 0},P),{},{pointerEvents:"none",visibility:!this.state.dismissed&&o&&d?"visible":"hidden",position:"absolute",top:0,left:0},b);return V.createElement("div",{tabIndex:-1,className:S,style:E,ref:function(j){r.wrapperNode=j}},c)}}])}(M.PureComponent),o_e=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},ri={isSsr:o_e(),get:function(t){return ri[t]},set:function(t,n){if(typeof t=="string")ri[t]=n;else{var r=Object.keys(t);r&&r.length&&r.forEach(function(i){ri[i]=t[i]})}}};function Qc(e){"@babel/helpers - typeof";return Qc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qc(e)}function tN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function nN(e){for(var t=1;t0;return V.createElement(i_e,{allowEscapeViewBox:a,animationDuration:s,animationEasing:l,isAnimationActive:p,active:o,coordinate:f,hasPayload:E,offset:v,position:x,reverseDirection:_,useTranslate3d:b,viewBox:w,wrapperStyle:S},m_e(c,nN(nN({},this.props),{},{payload:P})))}}])}(M.PureComponent);yE(Kr,"displayName","Tooltip");yE(Kr,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!ri.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var v_e=po,g_e=function(){return v_e.Date.now()},y_e=g_e,b_e=/\s/;function __e(e){for(var t=e.length;t--&&b_e.test(e.charAt(t)););return t}var x_e=__e,w_e=x_e,O_e=/^\s+/;function S_e(e){return e&&e.slice(0,w_e(e)+1).replace(O_e,"")}var P_e=S_e,E_e=P_e,rN=is,C_e=ku,iN=NaN,T_e=/^[-+]0x[0-9a-f]+$/i,j_e=/^0b[01]+$/i,A_e=/^0o[0-7]+$/i,k_e=parseInt;function N_e(e){if(typeof e=="number")return e;if(C_e(e))return iN;if(rN(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=rN(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=E_e(e);var n=j_e.test(e);return n||A_e.test(e)?k_e(e.slice(2),n?2:8):T_e.test(e)?iN:+e}var O8=N_e,M_e=is,V1=y_e,oN=O8,L_e="Expected a function",R_e=Math.max,$_e=Math.min;function I_e(e,t,n){var r,i,o,a,s,l,c=0,f=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(L_e);t=oN(t)||0,M_e(n)&&(f=!!n.leading,d="maxWait"in n,o=d?R_e(oN(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p);function v(E){var T=r,j=i;return r=i=void 0,c=E,a=e.apply(j,T),a}function y(E){return c=E,s=setTimeout(_,t),f?v(E):a}function g(E){var T=E-l,j=E-c,F=t-T;return d?$_e(F,o-j):F}function x(E){var T=E-l,j=E-c;return l===void 0||T>=t||T<0||d&&j>=o}function _(){var E=V1();if(x(E))return b(E);s=setTimeout(_,g(E))}function b(E){return s=void 0,p&&r?v(E):(r=i=void 0,a)}function w(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function S(){return s===void 0?a:b(V1())}function P(){var E=V1(),T=x(E);if(r=arguments,i=this,l=E,T){if(s===void 0)return y(l);if(d)return clearTimeout(s),s=setTimeout(_,t),v(l)}return s===void 0&&(s=setTimeout(_,t)),a}return P.cancel=w,P.flush=S,P}var D_e=I_e,F_e=D_e,B_e=is,U_e="Expected a function";function z_e(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(U_e);return B_e(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),F_e(e,t,{leading:r,maxWait:t,trailing:i})}var V_e=z_e;const S8=st(V_e);function ih(e){"@babel/helpers - typeof";return ih=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ih(e)}function aN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function dm(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(K=S8(K,g,{trailing:!0,leading:!1}));var W=new ResizeObserver(K),X=P.current.getBoundingClientRect(),Q=X.width,te=X.height;return I(Q,te),W.observe(P.current),function(){W.disconnect()}},[I,g]);var D=M.useMemo(function(){var K=F.containerWidth,W=F.containerHeight;if(K<0||W<0)return null;Ti(Is(a)||Is(l),`The width(%s) and height(%s) are both fixed numbers, + maybe you don't need to use a ResponsiveContainer.`,a,l),Ti(!n||n>0,"The aspect(%s) must be greater than zero.",n);var X=Is(a)?K:a,Q=Is(l)?W:l;n&&n>0&&(X?Q=X/n:Q&&(X=Q*n),p&&Q>p&&(Q=p)),Ti(X>0||Q>0,`The width(%s) and height(%s) of chart should be greater than 0, + please check the style of container, or the props width(%s) and height(%s), + or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the + height and width.`,X,Q,a,l,f,d,n);var te=!Array.isArray(v)&&Ao(v.type).endsWith("Chart");return V.Children.map(v,function(Z){return b5.isElement(Z)?M.cloneElement(Z,dm({width:X,height:Q},te?{style:dm({height:"100%",width:"100%",maxHeight:Q,maxWidth:X},Z.props.style)}:{})):Z})},[n,v,l,p,d,f,F,a]);return V.createElement("div",{id:x?"".concat(x):void 0,className:Oe("recharts-responsive-container",_),style:dm(dm({},S),{},{width:a,height:l,minWidth:f,minHeight:d,maxHeight:p}),ref:P},D)}),$a=function(t){return null};$a.displayName="Cell";function oh(e){"@babel/helpers - typeof";return oh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oh(e)}function lN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $2(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||ri.isSsr)return{width:0,height:0};var r=rxe(n),i=JSON.stringify({text:t,copyStyle:r});if(Ul.widthCache[i])return Ul.widthCache[i];try{var o=document.getElementById(cN);o||(o=document.createElement("span"),o.setAttribute("id",cN),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=$2($2({},nxe),r);Object.assign(o.style,a),o.textContent="".concat(t);var s=o.getBoundingClientRect(),l={width:s.width,height:s.height};return Ul.widthCache[i]=l,++Ul.cacheCount>txe&&(Ul.cacheCount=0,Ul.widthCache={}),l}catch{return{width:0,height:0}}},ixe=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function ah(e){"@babel/helpers - typeof";return ah=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ah(e)}function Eg(e,t){return lxe(e)||sxe(e,t)||axe(e,t)||oxe()}function oxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function axe(e,t){if(e){if(typeof e=="string")return uN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uN(e,t)}}function uN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wxe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function vN(e,t){return Exe(e)||Pxe(e,t)||Sxe(e,t)||Oxe()}function Oxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sxe(e,t){if(e){if(typeof e=="string")return gN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gN(e,t)}}function gN(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[];return X.reduce(function(Q,te){var Z=te.word,z=te.width,B=Q[Q.length-1];if(B&&(i==null||o||B.width+z+rte.width?Q:te})};if(!f)return v;for(var g="…",x=function(X){var Q=d.slice(0,X),te=T8({breakAll:c,style:l,children:Q+g}).wordsWithComputedWidth,Z=p(te),z=Z.length>a||y(Z).width>Number(i);return[z,Z]},_=0,b=d.length-1,w=0,S;_<=b&&w<=d.length-1;){var P=Math.floor((_+b)/2),E=P-1,T=x(E),j=vN(T,2),F=j[0],k=j[1],I=x(P),D=vN(I,1),K=D[0];if(!F&&!K&&(_=P+1),F&&K&&(b=P-1),!F&&K){S=k;break}w++}return S||v},yN=function(t){var n=ze(t)?[]:t.toString().split(C8);return[{words:n}]},Txe=function(t){var n=t.width,r=t.scaleToFit,i=t.children,o=t.style,a=t.breakAll,s=t.maxLines;if((n||r)&&!ri.isSsr){var l,c,f=T8({breakAll:a,children:i,style:o});if(f){var d=f.wordsWithComputedWidth,p=f.spaceWidth;l=d,c=p}else return yN(i);return Cxe({breakAll:a,children:i,maxLines:s,style:o},l,c,n,r)}return yN(i)},bN="#808080",cl=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,a=t.lineHeight,s=a===void 0?"1em":a,l=t.capHeight,c=l===void 0?"0.71em":l,f=t.scaleToFit,d=f===void 0?!1:f,p=t.textAnchor,v=p===void 0?"start":p,y=t.verticalAnchor,g=y===void 0?"end":y,x=t.fill,_=x===void 0?bN:x,b=mN(t,_xe),w=M.useMemo(function(){return Txe({breakAll:b.breakAll,children:b.children,maxLines:b.maxLines,scaleToFit:d,style:b.style,width:b.width})},[b.breakAll,b.children,b.maxLines,d,b.style,b.width]),S=b.dx,P=b.dy,E=b.angle,T=b.className,j=b.breakAll,F=mN(b,xxe);if(!un(r)||!un(o))return null;var k=r+(Ce(S)?S:0),I=o+(Ce(P)?P:0),D;switch(g){case"start":D=W1("calc(".concat(c,")"));break;case"middle":D=W1("calc(".concat((w.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:D=W1("calc(".concat(w.length-1," * -").concat(s,")"));break}var K=[];if(d){var W=w[0].width,X=b.width;K.push("scale(".concat((Ce(X)?X/W:1)/W,")"))}return E&&K.push("rotate(".concat(E,", ").concat(k,", ").concat(I,")")),K.length&&(F.transform=K.join(" ")),V.createElement("text",I2({},De(F,!0),{x:k,y:I,className:Oe("recharts-text",T),textAnchor:v,fill:_.includes("url")?bN:_}),w.map(function(Q,te){var Z=Q.words.join(j?"":" ");return V.createElement("tspan",{x:k,dy:te===0?D:s,key:"".concat(Z,"-").concat(te)},Z)}))};function Ia(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function jxe(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function _E(e){let t,n,r;e.length!==2?(t=Ia,n=(s,l)=>Ia(e(s),l),r=(s,l)=>e(s)-l):(t=e===Ia||e===jxe?e:Axe,n=e,r=e);function i(s,l,c=0,f=s.length){if(c>>1;n(s[d],l)<0?c=d+1:f=d}while(c>>1;n(s[d],l)<=0?c=d+1:f=d}while(cc&&r(s[d-1],l)>-r(s[d],l)?d-1:d}return{left:i,center:a,right:o}}function Axe(){return 0}function j8(e){return e===null?NaN:+e}function*kxe(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const Nxe=_E(Ia),ip=Nxe.right;_E(j8).center;class _N extends Map{constructor(t,n=Rxe){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,i]of t)this.set(r,i)}get(t){return super.get(xN(this,t))}has(t){return super.has(xN(this,t))}set(t,n){return super.set(Mxe(this,t),n)}delete(t){return super.delete(Lxe(this,t))}}function xN({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Mxe({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function Lxe({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function Rxe(e){return e!==null&&typeof e=="object"?e.valueOf():e}function $xe(e=Ia){if(e===Ia)return A8;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function A8(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}const Ixe=Math.sqrt(50),Dxe=Math.sqrt(10),Fxe=Math.sqrt(2);function Cg(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),a=o>=Ixe?10:o>=Dxe?5:o>=Fxe?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/a,s=Math.round(e*c),l=Math.round(t*c),s/ct&&--l,c=-c):(c=Math.pow(10,i)*a,s=Math.round(e/c),l=Math.round(t/c),s*ct&&--l),l0))return[];if(e===t)return[e];const r=t=i))return[];const s=o-i+1,l=new Array(s);if(r)if(a<0)for(let c=0;c=r)&&(n=r);return n}function ON(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function k8(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?A8:$xe(i);r>n;){if(r-n>600){const l=r-n+1,c=t-n+1,f=Math.log(l),d=.5*Math.exp(2*f/3),p=.5*Math.sqrt(f*d*(l-d)/l)*(c-l/2<0?-1:1),v=Math.max(n,Math.floor(t-c*d/l+p)),y=Math.min(r,Math.floor(t+(l-c)*d/l+p));k8(e,t,v,y,i)}const o=e[t];let a=n,s=r;for(Tf(e,n,t),i(e[r],o)>0&&Tf(e,n,r);a0;)--s}i(e[n],o)===0?Tf(e,n,s):(++s,Tf(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function Tf(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Bxe(e,t,n){if(e=Float64Array.from(kxe(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return ON(e);if(t>=1)return wN(e);var r,i=(r-1)*t,o=Math.floor(i),a=wN(k8(e,o).subarray(0,o+1)),s=ON(e.subarray(o+1));return a+(s-a)*(i-o)}}function Uxe(e,t,n=j8){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,o=Math.floor(i),a=+n(e[o],o,e),s=+n(e[o+1],o+1,e);return a+(s-a)*(i-o)}}function zxe(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,o=new Array(i);++r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?pm(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?pm(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Wxe.exec(e))?new lr(t[1],t[2],t[3],1):(t=Hxe.exec(e))?new lr(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=Gxe.exec(e))?pm(t[1],t[2],t[3],t[4]):(t=qxe.exec(e))?pm(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Kxe.exec(e))?AN(t[1],t[2]/100,t[3]/100,1):(t=Yxe.exec(e))?AN(t[1],t[2]/100,t[3]/100,t[4]):SN.hasOwnProperty(e)?CN(SN[e]):e==="transparent"?new lr(NaN,NaN,NaN,0):null}function CN(e){return new lr(e>>16&255,e>>8&255,e&255,1)}function pm(e,t,n,r){return r<=0&&(e=t=n=NaN),new lr(e,t,n,r)}function Qxe(e){return e instanceof op||(e=uh(e)),e?(e=e.rgb(),new lr(e.r,e.g,e.b,e.opacity)):new lr}function z2(e,t,n,r){return arguments.length===1?Qxe(e):new lr(e,t,n,r??1)}function lr(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}wE(lr,z2,M8(op,{brighter(e){return e=e==null?Tg:Math.pow(Tg,e),new lr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?lh:Math.pow(lh,e),new lr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new lr(qs(this.r),qs(this.g),qs(this.b),jg(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:TN,formatHex:TN,formatHex8:Jxe,formatRgb:jN,toString:jN}));function TN(){return`#${Ds(this.r)}${Ds(this.g)}${Ds(this.b)}`}function Jxe(){return`#${Ds(this.r)}${Ds(this.g)}${Ds(this.b)}${Ds((isNaN(this.opacity)?1:this.opacity)*255)}`}function jN(){const e=jg(this.opacity);return`${e===1?"rgb(":"rgba("}${qs(this.r)}, ${qs(this.g)}, ${qs(this.b)}${e===1?")":`, ${e})`}`}function jg(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function qs(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Ds(e){return e=qs(e),(e<16?"0":"")+e.toString(16)}function AN(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Si(e,t,n,r)}function L8(e){if(e instanceof Si)return new Si(e.h,e.s,e.l,e.opacity);if(e instanceof op||(e=uh(e)),!e)return new Si;if(e instanceof Si)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(t===o?a=(n-r)/s+(n0&&l<1?0:a,new Si(a,s,l,e.opacity)}function ewe(e,t,n,r){return arguments.length===1?L8(e):new Si(e,t,n,r??1)}function Si(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}wE(Si,ewe,M8(op,{brighter(e){return e=e==null?Tg:Math.pow(Tg,e),new Si(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?lh:Math.pow(lh,e),new Si(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new lr(H1(e>=240?e-240:e+120,i,r),H1(e,i,r),H1(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Si(kN(this.h),mm(this.s),mm(this.l),jg(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=jg(this.opacity);return`${e===1?"hsl(":"hsla("}${kN(this.h)}, ${mm(this.s)*100}%, ${mm(this.l)*100}%${e===1?")":`, ${e})`}`}}));function kN(e){return e=(e||0)%360,e<0?e+360:e}function mm(e){return Math.max(0,Math.min(1,e||0))}function H1(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const OE=e=>()=>e;function twe(e,t){return function(n){return e+n*t}}function nwe(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function rwe(e){return(e=+e)==1?R8:function(t,n){return n-t?nwe(t,n,e):OE(isNaN(t)?n:t)}}function R8(e,t){var n=t-e;return n?twe(e,n):OE(isNaN(e)?t:e)}const NN=function e(t){var n=rwe(t);function r(i,o){var a=n((i=z2(i)).r,(o=z2(o)).r),s=n(i.g,o.g),l=n(i.b,o.b),c=R8(i.opacity,o.opacity);return function(f){return i.r=a(f),i.g=s(f),i.b=l(f),i.opacity=c(f),i+""}}return r.gamma=e,r}(1);function iwe(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),s[a]?s[a]+=o:s[++a]=o),(r=r[0])===(i=i[0])?s[a]?s[a]+=i:s[++a]=i:(s[++a]=null,l.push({i:a,x:Ag(r,i)})),n=G1.lastIndex;return nt&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function mwe(e,t,n){var r=e[0],i=e[1],o=t[0],a=t[1];return i2?vwe:mwe,l=c=null,d}function d(p){return p==null||isNaN(p=+p)?o:(l||(l=s(e.map(r),t,n)))(r(a(p)))}return d.invert=function(p){return a(i((c||(c=s(t,e.map(r),Ag)))(p)))},d.domain=function(p){return arguments.length?(e=Array.from(p,kg),f()):e.slice()},d.range=function(p){return arguments.length?(t=Array.from(p),f()):t.slice()},d.rangeRound=function(p){return t=Array.from(p),n=SE,f()},d.clamp=function(p){return arguments.length?(a=p?!0:Yn,f()):a!==Yn},d.interpolate=function(p){return arguments.length?(n=p,f()):n},d.unknown=function(p){return arguments.length?(o=p,d):o},function(p,v){return r=p,i=v,f()}}function PE(){return R0()(Yn,Yn)}function gwe(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Ng(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Jc(e){return e=Ng(Math.abs(e)),e?e[1]:NaN}function ywe(e,t){return function(n,r){for(var i=n.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(n.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(t)}}function bwe(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var _we=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fh(e){if(!(t=_we.exec(e)))throw new Error("invalid format: "+e);var t;return new EE({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}fh.prototype=EE.prototype;function EE(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}EE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function xwe(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var $8;function wwe(e,t){var n=Ng(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-($8=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Ng(e,Math.max(0,t+o-1))[0]}function LN(e,t){var n=Ng(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const RN={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:gwe,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>LN(e*100,t),r:LN,s:wwe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function $N(e){return e}var IN=Array.prototype.map,DN=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Owe(e){var t=e.grouping===void 0||e.thousands===void 0?$N:ywe(IN.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?$N:bwe(IN.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function c(d){d=fh(d);var p=d.fill,v=d.align,y=d.sign,g=d.symbol,x=d.zero,_=d.width,b=d.comma,w=d.precision,S=d.trim,P=d.type;P==="n"?(b=!0,P="g"):RN[P]||(w===void 0&&(w=12),S=!0,P="g"),(x||p==="0"&&v==="=")&&(x=!0,p="0",v="=");var E=g==="$"?n:g==="#"&&/[boxX]/.test(P)?"0"+P.toLowerCase():"",T=g==="$"?r:/[%p]/.test(P)?a:"",j=RN[P],F=/[defgprs%]/.test(P);w=w===void 0?6:/[gprs]/.test(P)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function k(I){var D=E,K=T,W,X,Q;if(P==="c")K=j(I)+K,I="";else{I=+I;var te=I<0||1/I<0;if(I=isNaN(I)?l:j(Math.abs(I),w),S&&(I=xwe(I)),te&&+I==0&&y!=="+"&&(te=!1),D=(te?y==="("?y:s:y==="-"||y==="("?"":y)+D,K=(P==="s"?DN[8+$8/3]:"")+K+(te&&y==="("?")":""),F){for(W=-1,X=I.length;++WQ||Q>57){K=(Q===46?i+I.slice(W+1):I.slice(W))+K,I=I.slice(0,W);break}}}b&&!x&&(I=t(I,1/0));var Z=D.length+I.length+K.length,z=Z<_?new Array(_-Z+1).join(p):"";switch(b&&x&&(I=t(z+I,z.length?_-K.length:1/0),z=""),v){case"<":I=D+I+K+z;break;case"=":I=D+z+I+K;break;case"^":I=z.slice(0,Z=z.length>>1)+D+I+K+z.slice(Z);break;default:I=z+D+I+K;break}return o(I)}return k.toString=function(){return d+""},k}function f(d,p){var v=c((d=fh(d),d.type="f",d)),y=Math.max(-8,Math.min(8,Math.floor(Jc(p)/3)))*3,g=Math.pow(10,-y),x=DN[8+y/3];return function(_){return v(g*_)+x}}return{format:c,formatPrefix:f}}var vm,CE,I8;Swe({thousands:",",grouping:[3],currency:["$",""]});function Swe(e){return vm=Owe(e),CE=vm.format,I8=vm.formatPrefix,vm}function Pwe(e){return Math.max(0,-Jc(Math.abs(e)))}function Ewe(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Jc(t)/3)))*3-Jc(Math.abs(e)))}function Cwe(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Jc(t)-Jc(e))+1}function D8(e,t,n,r){var i=B2(e,t,n),o;switch(r=fh(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=Ewe(i,a))&&(r.precision=o),I8(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=Cwe(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=Pwe(i))&&(r.precision=o-(r.type==="%")*2);break}}return CE(r)}function as(e){var t=e.domain;return e.ticks=function(n){var r=t();return D2(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return D8(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,a=r[i],s=r[o],l,c,f=10;for(s0;){if(c=F2(a,s,n),c===l)return r[i]=a,r[o]=s,t(r);if(c>0)a=Math.floor(a/c)*c,s=Math.ceil(s/c)*c;else if(c<0)a=Math.ceil(a*c)/c,s=Math.floor(s*c)/c;else break;l=c}return e},e}function Mg(){var e=PE();return e.copy=function(){return ap(e,Mg())},fi.apply(e,arguments),as(e)}function F8(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,kg),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return F8(e).unknown(t)},e=arguments.length?Array.from(e,kg):[0,1],as(n)}function B8(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],a;return oMath.pow(e,t)}function Nwe(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function UN(e){return(t,n)=>-e(-t,n)}function TE(e){const t=e(FN,BN),n=t.domain;let r=10,i,o;function a(){return i=Nwe(r),o=kwe(r),n()[0]<0?(i=UN(i),o=UN(o),e(Twe,jwe)):e(FN,BN),t}return t.base=function(s){return arguments.length?(r=+s,a()):r},t.domain=function(s){return arguments.length?(n(s),a()):n()},t.ticks=s=>{const l=n();let c=l[0],f=l[l.length-1];const d=f0){for(;p<=v;++p)for(y=1;yf)break;_.push(g)}}else for(;p<=v;++p)for(y=r-1;y>=1;--y)if(g=p>0?y/o(-p):y*o(p),!(gf)break;_.push(g)}_.length*2{if(s==null&&(s=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=fh(l)).precision==null&&(l.trim=!0),l=CE(l)),s===1/0)return l;const c=Math.max(1,r*s/t.ticks().length);return f=>{let d=f/o(Math.round(i(f)));return d*rn(B8(n(),{floor:s=>o(Math.floor(i(s))),ceil:s=>o(Math.ceil(i(s)))})),t}function U8(){const e=TE(R0()).domain([1,10]);return e.copy=()=>ap(e,U8()).base(e.base()),fi.apply(e,arguments),e}function zN(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function VN(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function jE(e){var t=1,n=e(zN(t),VN(t));return n.constant=function(r){return arguments.length?e(zN(t=+r),VN(t)):t},as(n)}function z8(){var e=jE(R0());return e.copy=function(){return ap(e,z8()).constant(e.constant())},fi.apply(e,arguments)}function WN(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Mwe(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Lwe(e){return e<0?-e*e:e*e}function AE(e){var t=e(Yn,Yn),n=1;function r(){return n===1?e(Yn,Yn):n===.5?e(Mwe,Lwe):e(WN(n),WN(1/n))}return t.exponent=function(i){return arguments.length?(n=+i,r()):n},as(t)}function kE(){var e=AE(R0());return e.copy=function(){return ap(e,kE()).exponent(e.exponent())},fi.apply(e,arguments),e}function Rwe(){return kE.apply(null,arguments).exponent(.5)}function HN(e){return Math.sign(e)*e*e}function $we(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function V8(){var e=PE(),t=[0,1],n=!1,r;function i(o){var a=$we(e(o));return isNaN(a)?r:n?Math.round(a):a}return i.invert=function(o){return e.invert(HN(o))},i.domain=function(o){return arguments.length?(e.domain(o),i):e.domain()},i.range=function(o){return arguments.length?(e.range((t=Array.from(o,kg)).map(HN)),i):t.slice()},i.rangeRound=function(o){return i.range(o).round(!0)},i.round=function(o){return arguments.length?(n=!!o,i):n},i.clamp=function(o){return arguments.length?(e.clamp(o),i):e.clamp()},i.unknown=function(o){return arguments.length?(r=o,i):r},i.copy=function(){return V8(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},fi.apply(i,arguments),as(i)}function W8(){var e=[],t=[],n=[],r;function i(){var a=0,s=Math.max(1,t.length);for(n=new Array(s-1);++a0?n[s-1]:e[0],s=n?[r[n-1],t]:[r[c-1],r[c]]},a.unknown=function(l){return arguments.length&&(o=l),a},a.thresholds=function(){return r.slice()},a.copy=function(){return H8().domain([e,t]).range(i).unknown(o)},fi.apply(as(a),arguments)}function G8(){var e=[.5],t=[0,1],n,r=1;function i(o){return o!=null&&o<=o?t[ip(e,o,0,r)]:n}return i.domain=function(o){return arguments.length?(e=Array.from(o),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(o){return arguments.length?(t=Array.from(o),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(o){var a=t.indexOf(o);return[e[a-1],e[a]]},i.unknown=function(o){return arguments.length?(n=o,i):n},i.copy=function(){return G8().domain(e).range(t).unknown(n)},fi.apply(i,arguments)}const q1=new Date,K1=new Date;function dn(e,t,n,r){function i(o){return e(o=arguments.length===0?new Date:new Date(+o)),o}return i.floor=o=>(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const a=i(o),s=i.ceil(o);return o-a(t(o=new Date(+o),a==null?1:Math.floor(a)),o),i.range=(o,a,s)=>{const l=[];if(o=i.ceil(o),s=s==null?1:Math.floor(s),!(o0))return l;let c;do l.push(c=new Date(+o)),t(o,s),e(o);while(cdn(a=>{if(a>=a)for(;e(a),!o(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;t(a,-1),!o(a););else for(;--s>=0;)for(;t(a,1),!o(a););}),n&&(i.count=(o,a)=>(q1.setTime(+o),K1.setTime(+a),e(q1),e(K1),Math.floor(n(q1,K1))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?a=>r(a)%o===0:a=>i.count(0,a)%o===0):i)),i}const Lg=dn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Lg.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?dn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Lg);Lg.range;const Eo=1e3,ei=Eo*60,Co=ei*60,Vo=Co*24,NE=Vo*7,GN=Vo*30,Y1=Vo*365,Fs=dn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Eo)},(e,t)=>(t-e)/Eo,e=>e.getUTCSeconds());Fs.range;const ME=dn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Eo)},(e,t)=>{e.setTime(+e+t*ei)},(e,t)=>(t-e)/ei,e=>e.getMinutes());ME.range;const LE=dn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*ei)},(e,t)=>(t-e)/ei,e=>e.getUTCMinutes());LE.range;const RE=dn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Eo-e.getMinutes()*ei)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getHours());RE.range;const $E=dn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getUTCHours());$E.range;const sp=dn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*ei)/Vo,e=>e.getDate()-1);sp.range;const $0=dn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Vo,e=>e.getUTCDate()-1);$0.range;const q8=dn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Vo,e=>Math.floor(e/Vo));q8.range;function _l(e){return dn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*ei)/NE)}const I0=_l(0),Rg=_l(1),Iwe=_l(2),Dwe=_l(3),eu=_l(4),Fwe=_l(5),Bwe=_l(6);I0.range;Rg.range;Iwe.range;Dwe.range;eu.range;Fwe.range;Bwe.range;function xl(e){return dn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/NE)}const D0=xl(0),$g=xl(1),Uwe=xl(2),zwe=xl(3),tu=xl(4),Vwe=xl(5),Wwe=xl(6);D0.range;$g.range;Uwe.range;zwe.range;tu.range;Vwe.range;Wwe.range;const IE=dn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());IE.range;const DE=dn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());DE.range;const Wo=dn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());Wo.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:dn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});Wo.range;const Ho=dn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Ho.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:dn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Ho.range;function K8(e,t,n,r,i,o){const a=[[Fs,1,Eo],[Fs,5,5*Eo],[Fs,15,15*Eo],[Fs,30,30*Eo],[o,1,ei],[o,5,5*ei],[o,15,15*ei],[o,30,30*ei],[i,1,Co],[i,3,3*Co],[i,6,6*Co],[i,12,12*Co],[r,1,Vo],[r,2,2*Vo],[n,1,NE],[t,1,GN],[t,3,3*GN],[e,1,Y1]];function s(c,f,d){const p=fx).right(a,p);if(v===a.length)return e.every(B2(c/Y1,f/Y1,d));if(v===0)return Lg.every(Math.max(B2(c,f,d),1));const[y,g]=a[p/a[v-1][2]53)return null;"w"in Y||(Y.w=1),"Z"in Y?(he=X1(jf(Y.y,0,1)),Ee=he.getUTCDay(),he=Ee>4||Ee===0?$g.ceil(he):$g(he),he=$0.offset(he,(Y.V-1)*7),Y.y=he.getUTCFullYear(),Y.m=he.getUTCMonth(),Y.d=he.getUTCDate()+(Y.w+6)%7):(he=Z1(jf(Y.y,0,1)),Ee=he.getDay(),he=Ee>4||Ee===0?Rg.ceil(he):Rg(he),he=sp.offset(he,(Y.V-1)*7),Y.y=he.getFullYear(),Y.m=he.getMonth(),Y.d=he.getDate()+(Y.w+6)%7)}else("W"in Y||"U"in Y)&&("w"in Y||(Y.w="u"in Y?Y.u%7:"W"in Y?1:0),Ee="Z"in Y?X1(jf(Y.y,0,1)).getUTCDay():Z1(jf(Y.y,0,1)).getDay(),Y.m=0,Y.d="W"in Y?(Y.w+6)%7+Y.W*7-(Ee+5)%7:Y.w+Y.U*7-(Ee+6)%7);return"Z"in Y?(Y.H+=Y.Z/100|0,Y.M+=Y.Z%100,X1(Y)):Z1(Y)}}function j(N,U,J,Y){for(var oe=0,he=U.length,Ee=J.length,se,pe;oe=Ee)return-1;if(se=U.charCodeAt(oe++),se===37){if(se=U.charAt(oe++),pe=P[se in qN?U.charAt(oe++):se],!pe||(Y=pe(N,J,Y))<0)return-1}else if(se!=J.charCodeAt(Y++))return-1}return Y}function F(N,U,J){var Y=c.exec(U.slice(J));return Y?(N.p=f.get(Y[0].toLowerCase()),J+Y[0].length):-1}function k(N,U,J){var Y=v.exec(U.slice(J));return Y?(N.w=y.get(Y[0].toLowerCase()),J+Y[0].length):-1}function I(N,U,J){var Y=d.exec(U.slice(J));return Y?(N.w=p.get(Y[0].toLowerCase()),J+Y[0].length):-1}function D(N,U,J){var Y=_.exec(U.slice(J));return Y?(N.m=b.get(Y[0].toLowerCase()),J+Y[0].length):-1}function K(N,U,J){var Y=g.exec(U.slice(J));return Y?(N.m=x.get(Y[0].toLowerCase()),J+Y[0].length):-1}function W(N,U,J){return j(N,t,U,J)}function X(N,U,J){return j(N,n,U,J)}function Q(N,U,J){return j(N,r,U,J)}function te(N){return a[N.getDay()]}function Z(N){return o[N.getDay()]}function z(N){return l[N.getMonth()]}function B(N){return s[N.getMonth()]}function H(N){return i[+(N.getHours()>=12)]}function ee(N){return 1+~~(N.getMonth()/3)}function q(N){return a[N.getUTCDay()]}function ne(N){return o[N.getUTCDay()]}function re(N){return l[N.getUTCMonth()]}function ae(N){return s[N.getUTCMonth()]}function ue(N){return i[+(N.getUTCHours()>=12)]}function A(N){return 1+~~(N.getUTCMonth()/3)}return{format:function(N){var U=E(N+="",w);return U.toString=function(){return N},U},parse:function(N){var U=T(N+="",!1);return U.toString=function(){return N},U},utcFormat:function(N){var U=E(N+="",S);return U.toString=function(){return N},U},utcParse:function(N){var U=T(N+="",!0);return U.toString=function(){return N},U}}}var qN={"-":"",_:" ",0:"0"},xn=/^\s*\d+/,Zwe=/^%/,Xwe=/[\\^$*+?|[\]().{}]/g;function ft(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function Jwe(e,t,n){var r=xn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function e2e(e,t,n){var r=xn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function t2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function n2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function r2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function KN(e,t,n){var r=xn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function YN(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function i2e(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function o2e(e,t,n){var r=xn.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function a2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function ZN(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function s2e(e,t,n){var r=xn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function XN(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function l2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function c2e(e,t,n){var r=xn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function u2e(e,t,n){var r=xn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function f2e(e,t,n){var r=xn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function d2e(e,t,n){var r=Zwe.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function h2e(e,t,n){var r=xn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function p2e(e,t,n){var r=xn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function QN(e,t){return ft(e.getDate(),t,2)}function m2e(e,t){return ft(e.getHours(),t,2)}function v2e(e,t){return ft(e.getHours()%12||12,t,2)}function g2e(e,t){return ft(1+sp.count(Wo(e),e),t,3)}function Y8(e,t){return ft(e.getMilliseconds(),t,3)}function y2e(e,t){return Y8(e,t)+"000"}function b2e(e,t){return ft(e.getMonth()+1,t,2)}function _2e(e,t){return ft(e.getMinutes(),t,2)}function x2e(e,t){return ft(e.getSeconds(),t,2)}function w2e(e){var t=e.getDay();return t===0?7:t}function O2e(e,t){return ft(I0.count(Wo(e)-1,e),t,2)}function Z8(e){var t=e.getDay();return t>=4||t===0?eu(e):eu.ceil(e)}function S2e(e,t){return e=Z8(e),ft(eu.count(Wo(e),e)+(Wo(e).getDay()===4),t,2)}function P2e(e){return e.getDay()}function E2e(e,t){return ft(Rg.count(Wo(e)-1,e),t,2)}function C2e(e,t){return ft(e.getFullYear()%100,t,2)}function T2e(e,t){return e=Z8(e),ft(e.getFullYear()%100,t,2)}function j2e(e,t){return ft(e.getFullYear()%1e4,t,4)}function A2e(e,t){var n=e.getDay();return e=n>=4||n===0?eu(e):eu.ceil(e),ft(e.getFullYear()%1e4,t,4)}function k2e(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ft(t/60|0,"0",2)+ft(t%60,"0",2)}function JN(e,t){return ft(e.getUTCDate(),t,2)}function N2e(e,t){return ft(e.getUTCHours(),t,2)}function M2e(e,t){return ft(e.getUTCHours()%12||12,t,2)}function L2e(e,t){return ft(1+$0.count(Ho(e),e),t,3)}function X8(e,t){return ft(e.getUTCMilliseconds(),t,3)}function R2e(e,t){return X8(e,t)+"000"}function $2e(e,t){return ft(e.getUTCMonth()+1,t,2)}function I2e(e,t){return ft(e.getUTCMinutes(),t,2)}function D2e(e,t){return ft(e.getUTCSeconds(),t,2)}function F2e(e){var t=e.getUTCDay();return t===0?7:t}function B2e(e,t){return ft(D0.count(Ho(e)-1,e),t,2)}function Q8(e){var t=e.getUTCDay();return t>=4||t===0?tu(e):tu.ceil(e)}function U2e(e,t){return e=Q8(e),ft(tu.count(Ho(e),e)+(Ho(e).getUTCDay()===4),t,2)}function z2e(e){return e.getUTCDay()}function V2e(e,t){return ft($g.count(Ho(e)-1,e),t,2)}function W2e(e,t){return ft(e.getUTCFullYear()%100,t,2)}function H2e(e,t){return e=Q8(e),ft(e.getUTCFullYear()%100,t,2)}function G2e(e,t){return ft(e.getUTCFullYear()%1e4,t,4)}function q2e(e,t){var n=e.getUTCDay();return e=n>=4||n===0?tu(e):tu.ceil(e),ft(e.getUTCFullYear()%1e4,t,4)}function K2e(){return"+0000"}function eM(){return"%"}function tM(e){return+e}function nM(e){return Math.floor(+e/1e3)}var zl,J8,eF;Y2e({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Y2e(e){return zl=Ywe(e),J8=zl.format,zl.parse,eF=zl.utcFormat,zl.utcParse,zl}function Z2e(e){return new Date(e)}function X2e(e){return e instanceof Date?+e:+new Date(+e)}function FE(e,t,n,r,i,o,a,s,l,c){var f=PE(),d=f.invert,p=f.domain,v=c(".%L"),y=c(":%S"),g=c("%I:%M"),x=c("%I %p"),_=c("%a %d"),b=c("%b %d"),w=c("%B"),S=c("%Y");function P(E){return(l(E)t(i/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(i,o)=>Bxe(e,o/r))},n.copy=function(){return iF(t).domain(e)},ta.apply(n,arguments)}function B0(){var e=0,t=.5,n=1,r=1,i,o,a,s,l,c=Yn,f,d=!1,p;function v(g){return isNaN(g=+g)?p:(g=.5+((g=+f(g))-o)*(r*gt}var lF=iOe,oOe=U0,aOe=lF,sOe=Fu;function lOe(e){return e&&e.length?oOe(e,sOe,aOe):void 0}var cOe=lOe;const wa=st(cOe);function uOe(e,t){return ee.e^o.s<0?1:-1;for(r=o.d.length,i=e.d.length,t=0,n=re.d[t]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1};Ie.decimalPlaces=Ie.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*Ct;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n};Ie.dividedBy=Ie.div=function(e){return ko(this,new this.constructor(e))};Ie.dividedToIntegerBy=Ie.idiv=function(e){var t=this,n=t.constructor;return bt(ko(t,new n(e),0,1),n.precision)};Ie.equals=Ie.eq=function(e){return!this.cmp(e)};Ie.exponent=function(){return on(this)};Ie.greaterThan=Ie.gt=function(e){return this.cmp(e)>0};Ie.greaterThanOrEqualTo=Ie.gte=function(e){return this.cmp(e)>=0};Ie.isInteger=Ie.isint=function(){return this.e>this.d.length-2};Ie.isNegative=Ie.isneg=function(){return this.s<0};Ie.isPositive=Ie.ispos=function(){return this.s>0};Ie.isZero=function(){return this.s===0};Ie.lessThan=Ie.lt=function(e){return this.cmp(e)<0};Ie.lessThanOrEqualTo=Ie.lte=function(e){return this.cmp(e)<1};Ie.logarithm=Ie.log=function(e){var t,n=this,r=n.constructor,i=r.precision,o=i+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(Sr))throw Error(li+"NaN");if(n.s<1)throw Error(li+(n.s?"NaN":"-Infinity"));return n.eq(Sr)?new r(0):(Mt=!1,t=ko(dh(n,o),dh(e,o),o),Mt=!0,bt(t,i))};Ie.minus=Ie.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?hF(t,e):fF(t,(e.s=-e.s,e))};Ie.modulo=Ie.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(e=new r(e),!e.s)throw Error(li+"NaN");return n.s?(Mt=!1,t=ko(n,e,0,1).times(e),Mt=!0,n.minus(t)):bt(new r(n),i)};Ie.naturalExponential=Ie.exp=function(){return dF(this)};Ie.naturalLogarithm=Ie.ln=function(){return dh(this)};Ie.negated=Ie.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};Ie.plus=Ie.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?fF(t,e):hF(t,(e.s=-e.s,e))};Ie.precision=Ie.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Ks+e);if(t=on(i)+1,r=i.d.length-1,n=r*Ct+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n};Ie.squareRoot=Ie.sqrt=function(){var e,t,n,r,i,o,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(li+"NaN")}for(e=on(s),Mt=!1,i=Math.sqrt(+s),i==0||i==1/0?(t=Xi(s.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=zu((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new l(t)):r=new l(i.toString()),n=l.precision,i=a=n+3;;)if(o=r,r=o.plus(ko(s,o,a+2)).times(.5),Xi(o.d).slice(0,a)===(t=Xi(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&t=="4999"){if(bt(o,n+1,0),o.times(o).eq(s)){r=o;break}}else if(t!="9999")break;a+=4}return Mt=!0,bt(r,n)};Ie.times=Ie.mul=function(e){var t,n,r,i,o,a,s,l,c,f=this,d=f.constructor,p=f.d,v=(e=new d(e)).d;if(!f.s||!e.s)return new d(0);for(e.s*=f.s,n=f.e+e.e,l=p.length,c=v.length,l=0;){for(t=0,i=l+r;i>r;)s=o[i]+v[r]*p[i-r-1]+t,o[i--]=s%vn|0,t=s/vn|0;o[i]=(o[i]+t)%vn|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,Mt?bt(e,d.precision):e};Ie.toDecimalPlaces=Ie.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(lo(e,0,Uu),t===void 0?t=r.rounding:lo(t,0,8),bt(n,e+on(n)+1,t))};Ie.toExponential=function(e,t){var n,r=this,i=r.constructor;return e===void 0?n=ul(r,!0):(lo(e,0,Uu),t===void 0?t=i.rounding:lo(t,0,8),r=bt(new i(r),e+1,t),n=ul(r,!0,e+1)),n};Ie.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?ul(i):(lo(e,0,Uu),t===void 0?t=o.rounding:lo(t,0,8),r=bt(new o(i),e+on(i)+1,t),n=ul(r.abs(),!1,e+on(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)};Ie.toInteger=Ie.toint=function(){var e=this,t=e.constructor;return bt(new t(e),on(e)+1,t.rounding)};Ie.toNumber=function(){return+this};Ie.toPower=Ie.pow=function(e){var t,n,r,i,o,a,s=this,l=s.constructor,c=12,f=+(e=new l(e));if(!e.s)return new l(Sr);if(s=new l(s),!s.s){if(e.s<1)throw Error(li+"Infinity");return s}if(s.eq(Sr))return s;if(r=l.precision,e.eq(Sr))return bt(s,r);if(t=e.e,n=e.d.length-1,a=t>=n,o=s.s,a){if((n=f<0?-f:f)<=uF){for(i=new l(Sr),t=Math.ceil(r/Ct+4),Mt=!1;n%2&&(i=i.times(s),oM(i.d,t)),n=zu(n/2),n!==0;)s=s.times(s),oM(s.d,t);return Mt=!0,e.s<0?new l(Sr).div(i):bt(i,r)}}else if(o<0)throw Error(li+"NaN");return o=o<0&&e.d[Math.max(t,n)]&1?-1:1,s.s=1,Mt=!1,i=e.times(dh(s,r+c)),Mt=!0,i=dF(i),i.s=o,i};Ie.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return e===void 0?(n=on(i),r=ul(i,n<=o.toExpNeg||n>=o.toExpPos)):(lo(e,1,Uu),t===void 0?t=o.rounding:lo(t,0,8),i=bt(new o(i),e,t),n=on(i),r=ul(i,e<=n||n<=o.toExpNeg,e)),r};Ie.toSignificantDigits=Ie.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(lo(e,1,Uu),t===void 0?t=r.rounding:lo(t,0,8)),bt(new r(n),e,t)};Ie.toString=Ie.valueOf=Ie.val=Ie.toJSON=Ie[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=on(e),n=e.constructor;return ul(e,t<=n.toExpNeg||t>=n.toExpPos)};function fF(e,t){var n,r,i,o,a,s,l,c,f=e.constructor,d=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),Mt?bt(t,d):t;if(l=e.d,c=t.d,a=e.e,i=t.e,l=l.slice(),o=a-i,o){for(o<0?(r=l,o=-o,s=c.length):(r=c,i=a,s=l.length),a=Math.ceil(d/Ct),s=a>s?a+1:s+1,o>s&&(o=s,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(s=l.length,o=c.length,s-o<0&&(o=s,r=c,c=l,l=r),n=0;o;)n=(l[--o]=l[o]+c[o]+n)/vn|0,l[o]%=vn;for(n&&(l.unshift(n),++i),s=l.length;l[--s]==0;)l.pop();return t.d=l,t.e=i,Mt?bt(t,d):t}function lo(e,t,n){if(e!==~~e||en)throw Error(Ks+e)}function Xi(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;ta?1:-1;else for(s=l=0;si[s]?1:-1;break}return l}function n(r,i,o){for(var a=0;o--;)r[o]-=a,a=r[o]1;)r.shift()}return function(r,i,o,a){var s,l,c,f,d,p,v,y,g,x,_,b,w,S,P,E,T,j,F=r.constructor,k=r.s==i.s?1:-1,I=r.d,D=i.d;if(!r.s)return new F(r);if(!i.s)throw Error(li+"Division by zero");for(l=r.e-i.e,T=D.length,P=I.length,v=new F(k),y=v.d=[],c=0;D[c]==(I[c]||0);)++c;if(D[c]>(I[c]||0)&&--l,o==null?b=o=F.precision:a?b=o+(on(r)-on(i))+1:b=o,b<0)return new F(0);if(b=b/Ct+2|0,c=0,T==1)for(f=0,D=D[0],b++;(c1&&(D=e(D,f),I=e(I,f),T=D.length,P=I.length),S=T,g=I.slice(0,T),x=g.length;x=vn/2&&++E;do f=0,s=t(D,g,T,x),s<0?(_=g[0],T!=x&&(_=_*vn+(g[1]||0)),f=_/E|0,f>1?(f>=vn&&(f=vn-1),d=e(D,f),p=d.length,x=g.length,s=t(d,g,p,x),s==1&&(f--,n(d,T16)throw Error(zE+on(e));if(!e.s)return new f(Sr);for(t==null?(Mt=!1,s=d):s=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),c+=5;for(r=Math.log(js(2,c))/Math.LN10*2+5|0,s+=r,n=i=o=new f(Sr),f.precision=s;;){if(i=bt(i.times(e),s),n=n.times(++l),a=o.plus(ko(i,n,s)),Xi(a.d).slice(0,s)===Xi(o.d).slice(0,s)){for(;c--;)o=bt(o.times(o),s);return f.precision=d,t==null?(Mt=!0,bt(o,d)):o}o=a}}function on(e){for(var t=e.e*Ct,n=e.d[0];n>=10;n/=10)t++;return t}function Q1(e,t,n){if(t>e.LN10.sd())throw Mt=!0,n&&(e.precision=n),Error(li+"LN10 precision limit exceeded");return bt(new e(e.LN10),t)}function ma(e){for(var t="";e--;)t+="0";return t}function dh(e,t){var n,r,i,o,a,s,l,c,f,d=1,p=10,v=e,y=v.d,g=v.constructor,x=g.precision;if(v.s<1)throw Error(li+(v.s?"NaN":"-Infinity"));if(v.eq(Sr))return new g(0);if(t==null?(Mt=!1,c=x):c=t,v.eq(10))return t==null&&(Mt=!0),Q1(g,c);if(c+=p,g.precision=c,n=Xi(y),r=n.charAt(0),o=on(v),Math.abs(o)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)v=v.times(e),n=Xi(v.d),r=n.charAt(0),d++;o=on(v),r>1?(v=new g("0."+n),o++):v=new g(r+"."+n.slice(1))}else return l=Q1(g,c+2,x).times(o+""),v=dh(new g(r+"."+n.slice(1)),c-p).plus(l),g.precision=x,t==null?(Mt=!0,bt(v,x)):v;for(s=a=v=ko(v.minus(Sr),v.plus(Sr),c),f=bt(v.times(v),c),i=3;;){if(a=bt(a.times(f),c),l=s.plus(ko(a,new g(i),c)),Xi(l.d).slice(0,c)===Xi(s.d).slice(0,c))return s=s.times(2),o!==0&&(s=s.plus(Q1(g,c+2,x).times(o+""))),s=ko(s,new g(d),c),g.precision=x,t==null?(Mt=!0,bt(s,x)):s;s=l,i+=2}}function iM(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(r,i),t){if(i-=r,n=n-r-1,e.e=zu(n/Ct),e.d=[],r=(n+1)%Ct,n<0&&(r+=Ct),rIg||e.e<-Ig))throw Error(zE+n)}else e.s=0,e.e=0,e.d=[0];return e}function bt(e,t,n){var r,i,o,a,s,l,c,f,d=e.d;for(a=1,o=d[0];o>=10;o/=10)a++;if(r=t-a,r<0)r+=Ct,i=t,c=d[f=0];else{if(f=Math.ceil((r+1)/Ct),o=d.length,f>=o)return e;for(c=o=d[f],a=1;o>=10;o/=10)a++;r%=Ct,i=r-Ct+a}if(n!==void 0&&(o=js(10,a-i-1),s=c/o%10|0,l=t<0||d[f+1]!==void 0||c%o,l=n<4?(s||l)&&(n==0||n==(e.s<0?3:2)):s>5||s==5&&(n==4||l||n==6&&(r>0?i>0?c/js(10,a-i):0:d[f-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return l?(o=on(e),d.length=1,t=t-o-1,d[0]=js(10,(Ct-t%Ct)%Ct),e.e=zu(-t/Ct)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(r==0?(d.length=f,o=1,f--):(d.length=f+1,o=js(10,Ct-r),d[f]=i>0?(c/js(10,a-i)%js(10,i)|0)*o:0),l)for(;;)if(f==0){(d[0]+=o)==vn&&(d[0]=1,++e.e);break}else{if(d[f]+=o,d[f]!=vn)break;d[f--]=0,o=1}for(r=d.length;d[--r]===0;)d.pop();if(Mt&&(e.e>Ig||e.e<-Ig))throw Error(zE+on(e));return e}function hF(e,t){var n,r,i,o,a,s,l,c,f,d,p=e.constructor,v=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),Mt?bt(t,v):t;if(l=e.d,d=t.d,r=t.e,c=e.e,l=l.slice(),a=c-r,a){for(f=a<0,f?(n=l,a=-a,s=d.length):(n=d,r=c,s=l.length),i=Math.max(Math.ceil(v/Ct),s)+2,a>i&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for(i=l.length,s=d.length,f=i0;--i)l[s++]=0;for(i=d.length;i>a;){if(l[--i]0?o=o.charAt(0)+"."+o.slice(1)+ma(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+ma(-i-1)+o,n&&(r=n-a)>0&&(o+=ma(r))):i>=a?(o+=ma(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+ma(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=ma(r))),e.s<0?"-"+o:o}function oM(e,t){if(e.length>t)return e.length=t,!0}function pF(e){var t,n,r;function i(o){var a=this;if(!(a instanceof i))return new i(o);if(a.constructor=i,o instanceof i){a.s=o.s,a.e=o.e,a.d=(o=o.d)?o.slice():o;return}if(typeof o=="number"){if(o*0!==0)throw Error(Ks+o);if(o>0)a.s=1;else if(o<0)o=-o,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(o===~~o&&o<1e7){a.e=0,a.d=[o];return}return iM(a,o.toString())}else if(typeof o!="string")throw Error(Ks+o);if(o.charCodeAt(0)===45?(o=o.slice(1),a.s=-1):a.s=1,kOe.test(o))iM(a,o);else throw Error(Ks+o)}if(i.prototype=Ie,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=pF,i.config=i.set=NOe,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t=i[t+1]&&r<=i[t+2])this[n]=r;else throw Error(Ks+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(Ks+n+": "+r);return this}var VE=pF(AOe);Sr=new VE(1);const vt=VE;function MOe(e){return IOe(e)||$Oe(e)||ROe(e)||LOe()}function LOe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ROe(e,t){if(e){if(typeof e=="string")return H2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H2(e,t)}}function $Oe(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function IOe(e){if(Array.isArray(e))return H2(e)}function H2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?n.apply(void 0,i):e(t-a,aM(function(){for(var s=arguments.length,l=new Array(s),c=0;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function QOe(e){if(Array.isArray(e))return e}function bF(e){var t=hh(e,2),n=t[0],r=t[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function _F(e,t,n){if(e.lte(0))return new vt(0);var r=W0.getDigitCount(e.toNumber()),i=new vt(10).pow(r),o=e.div(i),a=r!==1?.05:.1,s=new vt(Math.ceil(o.div(a).toNumber())).add(n).mul(a),l=s.mul(i);return t?l:new vt(Math.ceil(l))}function JOe(e,t,n){var r=1,i=new vt(e);if(!i.isint()&&n){var o=Math.abs(e);o<1?(r=new vt(10).pow(W0.getDigitCount(e)-1),i=new vt(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new vt(Math.floor(e)))}else e===0?i=new vt(Math.floor((t-1)/2)):n||(i=new vt(Math.floor(e)));var a=Math.floor((t-1)/2),s=UOe(BOe(function(l){return i.add(new vt(l-a).mul(r)).toNumber()}),G2);return s(0,t)}function xF(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new vt(0),tickMin:new vt(0),tickMax:new vt(0)};var o=_F(new vt(t).sub(e).div(n-1),r,i),a;e<=0&&t>=0?a=new vt(0):(a=new vt(e).add(t).div(2),a=a.sub(new vt(a).mod(o)));var s=Math.ceil(a.sub(e).div(o).toNumber()),l=Math.ceil(new vt(t).sub(a).div(o).toNumber()),c=s+l+1;return c>n?xF(e,t,n,r,i+1):(c0?l+(n-c):l,s=t>0?s:s+(n-c)),{step:o,tickMin:a.sub(new vt(s).mul(o)),tickMax:a.add(new vt(l).mul(o))})}function eSe(e){var t=hh(e,2),n=t[0],r=t[1],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(i,2),s=bF([n,r]),l=hh(s,2),c=l[0],f=l[1];if(c===-1/0||f===1/0){var d=f===1/0?[c].concat(K2(G2(0,i-1).map(function(){return 1/0}))):[].concat(K2(G2(0,i-1).map(function(){return-1/0})),[f]);return n>r?q2(d):d}if(c===f)return JOe(c,i,o);var p=xF(c,f,a,o),v=p.step,y=p.tickMin,g=p.tickMax,x=W0.rangeStep(y,g.add(new vt(.1).mul(v)),v);return n>r?q2(x):x}function tSe(e,t){var n=hh(e,2),r=n[0],i=n[1],o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=bF([r,i]),s=hh(a,2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[r,i];if(l===c)return[l];var f=Math.max(t,2),d=_F(new vt(c).sub(l).div(f-1),o,0),p=[].concat(K2(W0.rangeStep(new vt(l),new vt(c).sub(new vt(.99).mul(d)),d)),[c]);return r>i?q2(p):p}var nSe=gF(eSe),rSe=gF(tSe),iSe="Invariant failed";function fl(e,t){throw new Error(iSe)}var oSe=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function nu(e){"@babel/helpers - typeof";return nu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nu(e)}function Dg(){return Dg=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dSe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function hSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pSe(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(o&&o.axisType==="angleAxis"&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,c=0;c0?i[c-1].coordinate:i[s-1].coordinate,d=i[c].coordinate,p=c>=s-1?i[0].coordinate:i[c+1].coordinate,v=void 0;if(qn(d-f)!==qn(p-d)){var y=[];if(qn(p-d)===qn(l[1]-l[0])){v=p;var g=d+l[1]-l[0];y[0]=Math.min(g,(g+f)/2),y[1]=Math.max(g,(g+f)/2)}else{v=f;var x=p+l[1]-l[0];y[0]=Math.min(d,(x+d)/2),y[1]=Math.max(d,(x+d)/2)}var _=[Math.min(d,(v+d)/2),Math.max(d,(v+d)/2)];if(t>_[0]&&t<=_[1]||t>=y[0]&&t<=y[1]){a=i[c].index;break}}else{var b=Math.min(f,p),w=Math.max(f,p);if(t>(b+d)/2&&t<=(w+d)/2){a=i[c].index;break}}}else for(var S=0;S0&&S(r[S].coordinate+r[S-1].coordinate)/2&&t<=(r[S].coordinate+r[S+1].coordinate)/2||S===s-1&&t>(r[S].coordinate+r[S-1].coordinate)/2){a=r[S].index;break}return a},WE=function(t){var n,r=t,i=r.type.displayName,o=(n=t.type)!==null&&n!==void 0&&n.defaultProps?Gt(Gt({},t.type.defaultProps),t.props):t.props,a=o.stroke,s=o.fill,l;switch(i){case"Line":l=a;break;case"Area":case"Radar":l=a&&a!=="none"?a:s;break;default:l=s;break}return l},kSe=function(t){var n=t.barSize,r=t.totalSize,i=t.stackGroups,o=i===void 0?{}:i;if(!o)return{};for(var a={},s=Object.keys(o),l=0,c=s.length;l=0});if(_&&_.length){var b=_[0].type.defaultProps,w=b!==void 0?Gt(Gt({},b),_[0].props):_[0].props,S=w.barSize,P=w[x];a[P]||(a[P]=[]);var E=ze(S)?n:S;a[P].push({item:_[0],stackList:_.slice(1),barSize:ze(E)?void 0:Kn(E,r,0)})}}return a},NSe=function(t){var n=t.barGap,r=t.barCategoryGap,i=t.bandSize,o=t.sizeList,a=o===void 0?[]:o,s=t.maxBarSize,l=a.length;if(l<1)return null;var c=Kn(n,i,0,!0),f,d=[];if(a[0].barSize===+a[0].barSize){var p=!1,v=i/l,y=a.reduce(function(S,P){return S+P.barSize||0},0);y+=(l-1)*c,y>=i&&(y-=(l-1)*c,c=0),y>=i&&v>0&&(p=!0,v*=.9,y=l*v);var g=(i-y)/2>>0,x={offset:g-c,size:0};f=a.reduce(function(S,P){var E={item:P.item,position:{offset:x.offset+x.size+c,size:p?v:P.barSize}},T=[].concat(cM(S),[E]);return x=T[T.length-1].position,P.stackList&&P.stackList.length&&P.stackList.forEach(function(j){T.push({item:j,position:x})}),T},d)}else{var _=Kn(r,i,0,!0);i-2*_-(l-1)*c<=0&&(c=0);var b=(i-2*_-(l-1)*c)/l;b>1&&(b>>=0);var w=s===+s?Math.min(b,s):b;f=a.reduce(function(S,P,E){var T=[].concat(cM(S),[{item:P.item,position:{offset:_+(b+c)*E+(b-w)/2,size:w}}]);return P.stackList&&P.stackList.length&&P.stackList.forEach(function(j){T.push({item:j,position:T[T.length-1].position})}),T},d)}return f},MSe=function(t,n,r,i){var o=r.children,a=r.width,s=r.margin,l=a-(s.left||0)-(s.right||0),c=PF({children:o,legendWidth:l});if(c){var f=i||{},d=f.width,p=f.height,v=c.align,y=c.verticalAlign,g=c.layout;if((g==="vertical"||g==="horizontal"&&y==="middle")&&v!=="center"&&Ce(t[v]))return Gt(Gt({},t),{},jc({},v,t[v]+(d||0)));if((g==="horizontal"||g==="vertical"&&v==="center")&&y!=="middle"&&Ce(t[y]))return Gt(Gt({},t),{},jc({},y,t[y]+(p||0)))}return t},LSe=function(t,n,r){return ze(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},EF=function(t,n,r,i,o){var a=n.props.children,s=Jn(a,Vu).filter(function(c){return LSe(i,o,c.props.direction)});if(s&&s.length){var l=s.map(function(c){return c.props.dataKey});return t.reduce(function(c,f){var d=Tt(f,r);if(ze(d))return c;var p=Array.isArray(d)?[z0(d),wa(d)]:[d,d],v=l.reduce(function(y,g){var x=Tt(f,g,0),_=p[0]-Math.abs(Array.isArray(x)?x[0]:x),b=p[1]+Math.abs(Array.isArray(x)?x[1]:x);return[Math.min(_,y[0]),Math.max(b,y[1])]},[1/0,-1/0]);return[Math.min(v[0],c[0]),Math.max(v[1],c[1])]},[1/0,-1/0])}return null},RSe=function(t,n,r,i,o){var a=n.map(function(s){return EF(t,s,r,o,i)}).filter(function(s){return!ze(s)});return a&&a.length?a.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]):null},CF=function(t,n,r,i,o){var a=n.map(function(l){var c=l.props.dataKey;return r==="number"&&c&&EF(t,l,c,i)||fd(t,c,r,o)});if(r==="number")return a.reduce(function(l,c){return[Math.min(l[0],c[0]),Math.max(l[1],c[1])]},[1/0,-1/0]);var s={};return a.reduce(function(l,c){for(var f=0,d=c.length;f=2?qn(s[0]-s[1])*2*c:c,n&&(t.ticks||t.niceTicks)){var f=(t.ticks||t.niceTicks).map(function(d){var p=o?o.indexOf(d):d;return{coordinate:i(p)+c,value:d,offset:c}});return f.filter(function(d){return!$u(d.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(d,p){return{coordinate:i(d)+c,value:d,index:p,offset:c}}):i.ticks&&!r?i.ticks(t.tickCount).map(function(d){return{coordinate:i(d)+c,value:d,offset:c}}):i.domain().map(function(d,p){return{coordinate:i(d)+c,value:o?o[d]:d,index:p,offset:c}})},J1=new WeakMap,gm=function(t,n){if(typeof n!="function")return t;J1.has(t)||J1.set(t,new WeakMap);var r=J1.get(t);if(r.has(n))return r.get(n);var i=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,i),i},AF=function(t,n,r){var i=t.scale,o=t.type,a=t.layout,s=t.axisType;if(i==="auto")return a==="radial"&&s==="radiusAxis"?{scale:sh(),realScaleType:"band"}:a==="radial"&&s==="angleAxis"?{scale:Mg(),realScaleType:"linear"}:o==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:ud(),realScaleType:"point"}:o==="category"?{scale:sh(),realScaleType:"band"}:{scale:Mg(),realScaleType:"linear"};if(np(i)){var l="scale".concat(C0(i));return{scale:(rM[l]||ud)(),realScaleType:rM[l]?l:"point"}}return We(i)?{scale:i}:{scale:ud(),realScaleType:"point"}},fM=1e-4,kF=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,i=t.range(),o=Math.min(i[0],i[1])-fM,a=Math.max(i[0],i[1])+fM,s=t(n[0]),l=t(n[r-1]);(sa||la)&&t.domain([n[0],n[r-1]])}},$Se=function(t,n){if(!t)return null;for(var r=0,i=t.length;ri)&&(o[1]=i),o[0]>i&&(o[0]=i),o[1]=0?(t[s][r][0]=o,t[s][r][1]=o+l,o=t[s][r][1]):(t[s][r][0]=a,t[s][r][1]=a+l,a=t[s][r][1])}},FSe=function(t){var n=t.length;if(!(n<=0))for(var r=0,i=t[0].length;r=0?(t[a][r][0]=o,t[a][r][1]=o+s,o=t[a][r][1]):(t[a][r][0]=0,t[a][r][1]=0)}},BSe={sign:DSe,expand:ope,none:Kc,silhouette:ape,wiggle:spe,positive:FSe},USe=function(t,n,r){var i=n.map(function(s){return s.props.dataKey}),o=BSe[r],a=ipe().keys(i).value(function(s,l){return+Tt(s,l,0)}).order(w2).offset(o);return a(t)},zSe=function(t,n,r,i,o,a){if(!t)return null;var s=a?n.reverse():n,l={},c=s.reduce(function(d,p){var v,y=(v=p.type)!==null&&v!==void 0&&v.defaultProps?Gt(Gt({},p.type.defaultProps),p.props):p.props,g=y.stackId,x=y.hide;if(x)return d;var _=y[r],b=d[_]||{hasStack:!1,stackGroups:{}};if(un(g)){var w=b.stackGroups[g]||{numericAxisId:r,cateAxisId:i,items:[]};w.items.push(p),b.hasStack=!0,b.stackGroups[g]=w}else b.stackGroups[os("_stackId_")]={numericAxisId:r,cateAxisId:i,items:[p]};return Gt(Gt({},d),{},jc({},_,b))},l),f={};return Object.keys(c).reduce(function(d,p){var v=c[p];if(v.hasStack){var y={};v.stackGroups=Object.keys(v.stackGroups).reduce(function(g,x){var _=v.stackGroups[x];return Gt(Gt({},g),{},jc({},x,{numericAxisId:r,cateAxisId:i,items:_.items,stackedData:USe(t,_.items,o)}))},y)}return Gt(Gt({},d),{},jc({},p,v))},f)},NF=function(t,n){var r=n.realScaleType,i=n.type,o=n.tickCount,a=n.originalDomain,s=n.allowDecimals,l=r||n.scale;if(l!=="auto"&&l!=="linear")return null;if(o&&i==="number"&&a&&(a[0]==="auto"||a[1]==="auto")){var c=t.domain();if(!c.length)return null;var f=nSe(c,o,s);return t.domain([z0(f),wa(f)]),{niceTicks:f}}if(o&&i==="number"){var d=t.domain(),p=rSe(d,o,s);return{niceTicks:p}}return null};function ru(e){var t=e.axis,n=e.ticks,r=e.bandSize,i=e.entry,o=e.index,a=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!ze(i[t.dataKey])){var s=dg(n,"value",i[t.dataKey]);if(s)return s.coordinate+r/2}return n[o]?n[o].coordinate+r/2:null}var l=Tt(i,ze(a)?t.dataKey:a);return ze(l)?null:t.scale(l)}var dM=function(t){var n=t.axis,r=t.ticks,i=t.offset,o=t.bandSize,a=t.entry,s=t.index;if(n.type==="category")return r[s]?r[s].coordinate+i:null;var l=Tt(a,n.dataKey,n.domain[s]);return ze(l)?null:n.scale(l)-o/2+i},VSe=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var i=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);return i<=0&&o>=0?0:o<0?o:i}return r[0]},WSe=function(t,n){var r,i=(r=t.type)!==null&&r!==void 0&&r.defaultProps?Gt(Gt({},t.type.defaultProps),t.props):t.props,o=i.stackId;if(un(o)){var a=n[o];if(a){var s=a.items.indexOf(t);return s>=0?a.stackedData[s]:null}}return null},HSe=function(t){return t.reduce(function(n,r){return[z0(r.concat([n[0]]).filter(Ce)),wa(r.concat([n[1]]).filter(Ce))]},[1/0,-1/0])},MF=function(t,n,r){return Object.keys(t).reduce(function(i,o){var a=t[o],s=a.stackedData,l=s.reduce(function(c,f){var d=HSe(f.slice(n,r+1));return[Math.min(c[0],d[0]),Math.max(c[1],d[1])]},[1/0,-1/0]);return[Math.min(l[0],i[0]),Math.max(l[1],i[1])]},[1/0,-1/0]).map(function(i){return i===1/0||i===-1/0?0:i})},hM=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,pM=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Q2=function(t,n,r){if(We(t))return t(n,r);if(!Array.isArray(t))return n;var i=[];if(Ce(t[0]))i[0]=r?t[0]:Math.min(t[0],n[0]);else if(hM.test(t[0])){var o=+hM.exec(t[0])[1];i[0]=n[0]-o}else We(t[0])?i[0]=t[0](n[0]):i[0]=n[0];if(Ce(t[1]))i[1]=r?t[1]:Math.max(t[1],n[1]);else if(pM.test(t[1])){var a=+pM.exec(t[1])[1];i[1]=n[1]+a}else We(t[1])?i[1]=t[1](n[1]):i[1]=n[1];return i},Bg=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var i=t.scale.bandwidth();if(!r||i>0)return i}if(t&&n&&n.length>=2){for(var o=gE(n,function(d){return d.coordinate}),a=1/0,s=1,l=o.length;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(t-(r.left||0)-(r.right||0)),Math.abs(n-(r.top||0)-(r.bottom||0)))/2},ePe=function(t,n,r,i,o){var a=t.width,s=t.height,l=t.startAngle,c=t.endAngle,f=Kn(t.cx,a,a/2),d=Kn(t.cy,s,s/2),p=$F(a,s,r),v=Kn(t.innerRadius,p,0),y=Kn(t.outerRadius,p,p*.8),g=Object.keys(n);return g.reduce(function(x,_){var b=n[_],w=b.domain,S=b.reversed,P;if(ze(b.range))i==="angleAxis"?P=[l,c]:i==="radiusAxis"&&(P=[v,y]),S&&(P=[P[1],P[0]]);else{P=b.range;var E=P,T=KSe(E,2);l=T[0],c=T[1]}var j=AF(b,o),F=j.realScaleType,k=j.scale;k.domain(w).range(P),kF(k);var I=NF(k,wo(wo({},b),{},{realScaleType:F})),D=wo(wo(wo({},b),I),{},{range:P,radius:y,realScaleType:F,scale:k,cx:f,cy:d,innerRadius:v,outerRadius:y,startAngle:l,endAngle:c});return wo(wo({},x),{},RF({},_,D))},{})},tPe=function(t,n){var r=t.x,i=t.y,o=n.x,a=n.y;return Math.sqrt(Math.pow(r-o,2)+Math.pow(i-a,2))},nPe=function(t,n){var r=t.x,i=t.y,o=n.cx,a=n.cy,s=tPe({x:r,y:i},{x:o,y:a});if(s<=0)return{radius:s};var l=(r-o)/s,c=Math.acos(l);return i>a&&(c=2*Math.PI-c),{radius:s,angle:JSe(c),angleInRadian:c}},rPe=function(t){var n=t.startAngle,r=t.endAngle,i=Math.floor(n/360),o=Math.floor(r/360),a=Math.min(i,o);return{startAngle:n-a*360,endAngle:r-a*360}},iPe=function(t,n){var r=n.startAngle,i=n.endAngle,o=Math.floor(r/360),a=Math.floor(i/360),s=Math.min(o,a);return t+s*360},yM=function(t,n){var r=t.x,i=t.y,o=nPe({x:r,y:i},n),a=o.radius,s=o.angle,l=n.innerRadius,c=n.outerRadius;if(ac)return!1;if(a===0)return!0;var f=rPe(n),d=f.startAngle,p=f.endAngle,v=s,y;if(d<=p){for(;v>p;)v-=360;for(;v=d&&v<=p}else{for(;v>d;)v-=360;for(;v=p&&v<=d}return y?wo(wo({},n),{},{radius:a,angle:iPe(v,n)}):null},IF=function(t){return!M.isValidElement(t)&&!We(t)&&typeof t!="boolean"?t.className:""};function gh(e){"@babel/helpers - typeof";return gh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gh(e)}var oPe=["offset"];function aPe(e){return uPe(e)||cPe(e)||lPe(e)||sPe()}function sPe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lPe(e,t){if(e){if(typeof e=="string")return J2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J2(e,t)}}function cPe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uPe(e){if(Array.isArray(e))return J2(e)}function J2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dPe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function bM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function sn(e){for(var t=1;t=0?1:-1,w,S;i==="insideStart"?(w=v+b*a,S=g):i==="insideEnd"?(w=y-b*a,S=!g):i==="end"&&(w=y+b*a,S=g),S=_<=0?S:!S;var P=St(c,f,x,w),E=St(c,f,x,w+(S?1:-1)*359),T="M".concat(P.x,",").concat(P.y,` + A`).concat(x,",").concat(x,",0,1,").concat(S?0:1,`, + `).concat(E.x,",").concat(E.y),j=ze(t.id)?os("recharts-radial-line-"):t.id;return V.createElement("text",yh({},r,{dominantBaseline:"central",className:Oe("recharts-radial-bar-label",s)}),V.createElement("defs",null,V.createElement("path",{id:j,d:T})),V.createElement("textPath",{xlinkHref:"#".concat(j)},n))},bPe=function(t){var n=t.viewBox,r=t.offset,i=t.position,o=n,a=o.cx,s=o.cy,l=o.innerRadius,c=o.outerRadius,f=o.startAngle,d=o.endAngle,p=(f+d)/2;if(i==="outside"){var v=St(a,s,c+r,p),y=v.x,g=v.y;return{x:y,y:g,textAnchor:y>=a?"start":"end",verticalAnchor:"middle"}}if(i==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(i==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(i==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var x=(l+c)/2,_=St(a,s,x,p),b=_.x,w=_.y;return{x:b,y:w,textAnchor:"middle",verticalAnchor:"middle"}},_Pe=function(t){var n=t.viewBox,r=t.parentViewBox,i=t.offset,o=t.position,a=n,s=a.x,l=a.y,c=a.width,f=a.height,d=f>=0?1:-1,p=d*i,v=d>0?"end":"start",y=d>0?"start":"end",g=c>=0?1:-1,x=g*i,_=g>0?"end":"start",b=g>0?"start":"end";if(o==="top"){var w={x:s+c/2,y:l-d*i,textAnchor:"middle",verticalAnchor:v};return sn(sn({},w),r?{height:Math.max(l-r.y,0),width:c}:{})}if(o==="bottom"){var S={x:s+c/2,y:l+f+p,textAnchor:"middle",verticalAnchor:y};return sn(sn({},S),r?{height:Math.max(r.y+r.height-(l+f),0),width:c}:{})}if(o==="left"){var P={x:s-x,y:l+f/2,textAnchor:_,verticalAnchor:"middle"};return sn(sn({},P),r?{width:Math.max(P.x-r.x,0),height:f}:{})}if(o==="right"){var E={x:s+c+x,y:l+f/2,textAnchor:b,verticalAnchor:"middle"};return sn(sn({},E),r?{width:Math.max(r.x+r.width-E.x,0),height:f}:{})}var T=r?{width:c,height:f}:{};return o==="insideLeft"?sn({x:s+x,y:l+f/2,textAnchor:b,verticalAnchor:"middle"},T):o==="insideRight"?sn({x:s+c-x,y:l+f/2,textAnchor:_,verticalAnchor:"middle"},T):o==="insideTop"?sn({x:s+c/2,y:l+p,textAnchor:"middle",verticalAnchor:y},T):o==="insideBottom"?sn({x:s+c/2,y:l+f-p,textAnchor:"middle",verticalAnchor:v},T):o==="insideTopLeft"?sn({x:s+x,y:l+p,textAnchor:b,verticalAnchor:y},T):o==="insideTopRight"?sn({x:s+c-x,y:l+p,textAnchor:_,verticalAnchor:y},T):o==="insideBottomLeft"?sn({x:s+x,y:l+f-p,textAnchor:b,verticalAnchor:v},T):o==="insideBottomRight"?sn({x:s+c-x,y:l+f-p,textAnchor:_,verticalAnchor:v},T):Nu(o)&&(Ce(o.x)||Is(o.x))&&(Ce(o.y)||Is(o.y))?sn({x:s+Kn(o.x,c),y:l+Kn(o.y,f),textAnchor:"end",verticalAnchor:"end"},T):sn({x:s+c/2,y:l+f/2,textAnchor:"middle",verticalAnchor:"middle"},T)},xPe=function(t){return"cx"in t&&Ce(t.cx)};function yn(e){var t=e.offset,n=t===void 0?5:t,r=fPe(e,oPe),i=sn({offset:n},r),o=i.viewBox,a=i.position,s=i.value,l=i.children,c=i.content,f=i.className,d=f===void 0?"":f,p=i.textBreakAll;if(!o||ze(s)&&ze(l)&&!M.isValidElement(c)&&!We(c))return null;if(M.isValidElement(c))return M.cloneElement(c,i);var v;if(We(c)){if(v=M.createElement(c,i),M.isValidElement(v))return v}else v=vPe(i);var y=xPe(o),g=De(i,!0);if(y&&(a==="insideStart"||a==="insideEnd"||a==="end"))return yPe(i,v,g);var x=y?bPe(i):_Pe(i);return V.createElement(cl,yh({className:Oe("recharts-label",d)},g,x,{breakAll:p}),v)}yn.displayName="Label";var DF=function(t){var n=t.cx,r=t.cy,i=t.angle,o=t.startAngle,a=t.endAngle,s=t.r,l=t.radius,c=t.innerRadius,f=t.outerRadius,d=t.x,p=t.y,v=t.top,y=t.left,g=t.width,x=t.height,_=t.clockWise,b=t.labelViewBox;if(b)return b;if(Ce(g)&&Ce(x)){if(Ce(d)&&Ce(p))return{x:d,y:p,width:g,height:x};if(Ce(v)&&Ce(y))return{x:v,y,width:g,height:x}}return Ce(d)&&Ce(p)?{x:d,y:p,width:0,height:0}:Ce(n)&&Ce(r)?{cx:n,cy:r,startAngle:o||i||0,endAngle:a||i||0,innerRadius:c||0,outerRadius:f||l||s||0,clockWise:_}:t.viewBox?t.viewBox:{}},wPe=function(t,n){return t?t===!0?V.createElement(yn,{key:"label-implicit",viewBox:n}):un(t)?V.createElement(yn,{key:"label-implicit",viewBox:n,value:t}):M.isValidElement(t)?t.type===yn?M.cloneElement(t,{key:"label-implicit",viewBox:n}):V.createElement(yn,{key:"label-implicit",content:t,viewBox:n}):We(t)?V.createElement(yn,{key:"label-implicit",content:t,viewBox:n}):Nu(t)?V.createElement(yn,yh({viewBox:n},t,{key:"label-implicit"})):null:null},OPe=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var i=t.children,o=DF(t),a=Jn(i,yn).map(function(l,c){return M.cloneElement(l,{viewBox:n||o,key:"label-".concat(c)})});if(!r)return a;var s=wPe(t.label,n||o);return[s].concat(aPe(a))};yn.parseViewBox=DF;yn.renderCallByParent=OPe;function SPe(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var PPe=SPe;const EPe=st(PPe);function bh(e){"@babel/helpers - typeof";return bh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bh(e)}var CPe=["valueAccessor"],TPe=["data","dataKey","clockWise","id","textBreakAll"];function jPe(e){return MPe(e)||NPe(e)||kPe(e)||APe()}function APe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kPe(e,t){if(e){if(typeof e=="string")return eO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eO(e,t)}}function NPe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MPe(e){if(Array.isArray(e))return eO(e)}function eO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function IPe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var DPe=function(t){return Array.isArray(t.value)?EPe(t.value):t.value};function ji(e){var t=e.valueAccessor,n=t===void 0?DPe:t,r=wM(e,CPe),i=r.data,o=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,c=wM(r,TPe);return!i||!i.length?null:V.createElement(Xe,{className:"recharts-label-list"},i.map(function(f,d){var p=ze(o)?n(f,d):Tt(f&&f.payload,o),v=ze(s)?{}:{id:"".concat(s,"-").concat(d)};return V.createElement(yn,zg({},De(f,!0),c,v,{parentViewBox:f.parentViewBox,value:p,textBreakAll:l,viewBox:yn.parseViewBox(ze(a)?f:xM(xM({},f),{},{clockWise:a})),key:"label-".concat(d),index:d}))}))}ji.displayName="LabelList";function FPe(e,t){return e?e===!0?V.createElement(ji,{key:"labelList-implicit",data:t}):V.isValidElement(e)||We(e)?V.createElement(ji,{key:"labelList-implicit",data:t,content:e}):Nu(e)?V.createElement(ji,zg({data:t},e,{key:"labelList-implicit"})):null:null}function BPe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,i=Jn(r,ji).map(function(a,s){return M.cloneElement(a,{data:t,key:"labelList-".concat(s)})});if(!n)return i;var o=FPe(e.label,t);return[o].concat(jPe(i))}ji.renderCallByParent=BPe;function _h(e){"@babel/helpers - typeof";return _h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_h(e)}function tO(){return tO=Object.assign?Object.assign.bind():function(e){for(var t=1;t180),",").concat(+(a>c),`, + `).concat(d.x,",").concat(d.y,` + `);if(i>0){var v=St(n,r,i,a),y=St(n,r,i,c);p+="L ".concat(y.x,",").concat(y.y,` + A `).concat(i,",").concat(i,`,0, + `).concat(+(Math.abs(l)>180),",").concat(+(a<=c),`, + `).concat(v.x,",").concat(v.y," Z")}else p+="L ".concat(n,",").concat(r," Z");return p},HPe=function(t){var n=t.cx,r=t.cy,i=t.innerRadius,o=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,l=t.cornerIsExternal,c=t.startAngle,f=t.endAngle,d=qn(f-c),p=ym({cx:n,cy:r,radius:o,angle:c,sign:d,cornerRadius:a,cornerIsExternal:l}),v=p.circleTangency,y=p.lineTangency,g=p.theta,x=ym({cx:n,cy:r,radius:o,angle:f,sign:-d,cornerRadius:a,cornerIsExternal:l}),_=x.circleTangency,b=x.lineTangency,w=x.theta,S=l?Math.abs(c-f):Math.abs(c-f)-g-w;if(S<0)return s?"M ".concat(y.x,",").concat(y.y,` + a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0 + a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0 + `):FF({cx:n,cy:r,innerRadius:i,outerRadius:o,startAngle:c,endAngle:f});var P="M ".concat(y.x,",").concat(y.y,` + A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(v.x,",").concat(v.y,` + A`).concat(o,",").concat(o,",0,").concat(+(S>180),",").concat(+(d<0),",").concat(_.x,",").concat(_.y,` + A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(b.x,",").concat(b.y,` + `);if(i>0){var E=ym({cx:n,cy:r,radius:i,angle:c,sign:d,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),T=E.circleTangency,j=E.lineTangency,F=E.theta,k=ym({cx:n,cy:r,radius:i,angle:f,sign:-d,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),I=k.circleTangency,D=k.lineTangency,K=k.theta,W=l?Math.abs(c-f):Math.abs(c-f)-F-K;if(W<0&&a===0)return"".concat(P,"L").concat(n,",").concat(r,"Z");P+="L".concat(D.x,",").concat(D.y,` + A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(I.x,",").concat(I.y,` + A`).concat(i,",").concat(i,",0,").concat(+(W>180),",").concat(+(d>0),",").concat(T.x,",").concat(T.y,` + A`).concat(a,",").concat(a,",0,0,").concat(+(d<0),",").concat(j.x,",").concat(j.y,"Z")}else P+="L".concat(n,",").concat(r,"Z");return P},GPe={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},BF=function(t){var n=SM(SM({},GPe),t),r=n.cx,i=n.cy,o=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,l=n.forceCornerRadius,c=n.cornerIsExternal,f=n.startAngle,d=n.endAngle,p=n.className;if(a0&&Math.abs(f-d)<360?x=HPe({cx:r,cy:i,innerRadius:o,outerRadius:a,cornerRadius:Math.min(g,y/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:f,endAngle:d}):x=FF({cx:r,cy:i,innerRadius:o,outerRadius:a,startAngle:f,endAngle:d}),V.createElement("path",tO({},De(n,!0),{className:v,d:x,role:"img"}))};function xh(e){"@babel/helpers - typeof";return xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xh(e)}function nO(){return nO=Object.assign?Object.assign.bind():function(e){for(var t=1;t0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function nEe(e,t){return Wu(e.getTime(),t.getTime())}function NM(e,t,n){if(e.size!==t.size)return!1;for(var r={},i=e.entries(),o=0,a,s;(a=i.next())&&!a.done;){for(var l=t.entries(),c=!1,f=0;(s=l.next())&&!s.done;){var d=a.value,p=d[0],v=d[1],y=s.value,g=y[0],x=y[1];!c&&!r[f]&&(c=n.equals(p,g,o,f,e,t,n)&&n.equals(v,x,p,g,e,t,n))&&(r[f]=!0),f++}if(!c)return!1;o++}return!0}function rEe(e,t,n){var r=kM(e),i=r.length;if(kM(t).length!==i)return!1;for(var o;i-- >0;)if(o=r[i],o===zF&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!UF(t,o)||!n.equals(e[o],t[o],o,o,e,t,n))return!1;return!0}function Lf(e,t,n){var r=jM(e),i=r.length;if(jM(t).length!==i)return!1;for(var o,a,s;i-- >0;)if(o=r[i],o===zF&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!UF(t,o)||!n.equals(e[o],t[o],o,o,e,t,n)||(a=AM(e,o),s=AM(t,o),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function iEe(e,t){return Wu(e.valueOf(),t.valueOf())}function oEe(e,t){return e.source===t.source&&e.flags===t.flags}function MM(e,t,n){if(e.size!==t.size)return!1;for(var r={},i=e.values(),o,a;(o=i.next())&&!o.done;){for(var s=t.values(),l=!1,c=0;(a=s.next())&&!a.done;)!l&&!r[c]&&(l=n.equals(o.value,a.value,o.value,a.value,e,t,n))&&(r[c]=!0),c++;if(!l)return!1}return!0}function aEe(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var sEe="[object Arguments]",lEe="[object Boolean]",cEe="[object Date]",uEe="[object Map]",fEe="[object Number]",dEe="[object Object]",hEe="[object RegExp]",pEe="[object Set]",mEe="[object String]",vEe=Array.isArray,LM=typeof ArrayBuffer=="function"&&ArrayBuffer.isView?ArrayBuffer.isView:null,RM=Object.assign,gEe=Object.prototype.toString.call.bind(Object.prototype.toString);function yEe(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,i=e.areObjectsEqual,o=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,s=e.areSetsEqual,l=e.areTypedArraysEqual;return function(f,d,p){if(f===d)return!0;if(f==null||d==null||typeof f!="object"||typeof d!="object")return f!==f&&d!==d;var v=f.constructor;if(v!==d.constructor)return!1;if(v===Object)return i(f,d,p);if(vEe(f))return t(f,d,p);if(LM!=null&&LM(f))return l(f,d,p);if(v===Date)return n(f,d,p);if(v===RegExp)return a(f,d,p);if(v===Map)return r(f,d,p);if(v===Set)return s(f,d,p);var y=gEe(f);return y===cEe?n(f,d,p):y===hEe?a(f,d,p):y===uEe?r(f,d,p):y===pEe?s(f,d,p):y===dEe?typeof f.then!="function"&&typeof d.then!="function"&&i(f,d,p):y===sEe?i(f,d,p):y===lEe||y===fEe||y===mEe?o(f,d,p):!1}}function bEe(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,i={areArraysEqual:r?Lf:tEe,areDatesEqual:nEe,areMapsEqual:r?TM(NM,Lf):NM,areObjectsEqual:r?Lf:rEe,arePrimitiveWrappersEqual:iEe,areRegExpsEqual:oEe,areSetsEqual:r?TM(MM,Lf):MM,areTypedArraysEqual:r?Lf:aEe};if(n&&(i=RM({},i,n(i))),t){var o=_m(i.areArraysEqual),a=_m(i.areMapsEqual),s=_m(i.areObjectsEqual),l=_m(i.areSetsEqual);i=RM({},i,{areArraysEqual:o,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return i}function _Ee(e){return function(t,n,r,i,o,a,s){return e(t,n,s)}}function xEe(e){var t=e.circular,n=e.comparator,r=e.createState,i=e.equals,o=e.strict;if(r)return function(l,c){var f=r(),d=f.cache,p=d===void 0?t?new WeakMap:void 0:d,v=f.meta;return n(l,c,{cache:p,equals:i,meta:v,strict:o})};if(t)return function(l,c){return n(l,c,{cache:new WeakMap,equals:i,meta:void 0,strict:o})};var a={cache:void 0,equals:i,meta:void 0,strict:o};return function(l,c){return n(l,c,a)}}var wEe=ls();ls({strict:!0});ls({circular:!0});ls({circular:!0,strict:!0});ls({createInternalComparator:function(){return Wu}});ls({strict:!0,createInternalComparator:function(){return Wu}});ls({circular:!0,createInternalComparator:function(){return Wu}});ls({circular:!0,createInternalComparator:function(){return Wu},strict:!0});function ls(e){e===void 0&&(e={});var t=e.circular,n=t===void 0?!1:t,r=e.createInternalComparator,i=e.createState,o=e.strict,a=o===void 0?!1:o,s=bEe(e),l=yEe(s),c=r?r(l):_Ee(l);return xEe({circular:n,comparator:l,createState:i,equals:c,strict:a})}function OEe(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function $M(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function i(o){n<0&&(n=o),o-n>t?(e(o),n=-1):OEe(i)};requestAnimationFrame(r)}function rO(e){"@babel/helpers - typeof";return rO=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rO(e)}function SEe(e){return TEe(e)||CEe(e)||EEe(e)||PEe()}function PEe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function EEe(e,t){if(e){if(typeof e=="string")return IM(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return IM(e,t)}}function IM(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?1:_<0?0:_},g=function(_){for(var b=_>1?1:_,w=b,S=0;S<8;++S){var P=d(w)-b,E=v(w);if(Math.abs(P-b)0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,i=t.damping,o=i===void 0?8:i,a=t.dt,s=a===void 0?17:a,l=function(f,d,p){var v=-(f-d)*r,y=p*o,g=p+(v-y)*s/1e3,x=p*s/1e3+f;return Math.abs(x-d)e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function oCe(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function e_(e){return cCe(e)||lCe(e)||sCe(e)||aCe()}function aCe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sCe(e,t){if(e){if(typeof e=="string")return lO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lO(e,t)}}function lCe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cCe(e){if(Array.isArray(e))return lO(e)}function lO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Hg(e){return Hg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Hg(e)}var ci=function(e){pCe(n,e);var t=mCe(n);function n(r,i){var o;uCe(this,n),o=t.call(this,r,i);var a=o.props,s=a.isActive,l=a.attributeName,c=a.from,f=a.to,d=a.steps,p=a.children,v=a.duration;if(o.handleStyleChange=o.handleStyleChange.bind(fO(o)),o.changeStyle=o.changeStyle.bind(fO(o)),!s||v<=0)return o.state={style:{}},typeof p=="function"&&(o.state={style:f}),uO(o);if(d&&d.length)o.state={style:d[0].style};else if(c){if(typeof p=="function")return o.state={style:c},uO(o);o.state={style:l?Hf({},l,c):c}}else o.state={style:{}};return o}return dCe(n,[{key:"componentDidMount",value:function(){var i=this.props,o=i.isActive,a=i.canBegin;this.mounted=!0,!(!o||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isActive,s=o.canBegin,l=o.attributeName,c=o.shouldReAnimate,f=o.to,d=o.from,p=this.state.style;if(s){if(!a){var v={style:l?Hf({},l,f):f};this.state&&p&&(l&&p[l]!==f||!l&&p!==f)&&this.setState(v);return}if(!(wEe(i.to,f)&&i.canBegin&&i.isActive)){var y=!i.canBegin||!i.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var g=y||c?d:i.to;if(this.state&&p){var x={style:l?Hf({},l,g):g};(l&&p[l]!==g||!l&&p!==g)&&this.setState(x)}this.runAnimation(gi(gi({},this.props),{},{from:g,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var i=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),i&&i()}},{key:"handleStyleChange",value:function(i){this.changeStyle(i)}},{key:"changeStyle",value:function(i){this.mounted&&this.setState({style:i})}},{key:"runJSAnimation",value:function(i){var o=this,a=i.from,s=i.to,l=i.duration,c=i.easing,f=i.begin,d=i.onAnimationEnd,p=i.onAnimationStart,v=nCe(a,s,HEe(c),l,this.changeStyle),y=function(){o.stopJSAnimation=v()};this.manager.start([p,f,y,l,d])}},{key:"runStepAnimation",value:function(i){var o=this,a=i.steps,s=i.begin,l=i.onAnimationStart,c=a[0],f=c.style,d=c.duration,p=d===void 0?0:d,v=function(g,x,_){if(_===0)return g;var b=x.duration,w=x.easing,S=w===void 0?"ease":w,P=x.style,E=x.properties,T=x.onAnimationEnd,j=_>0?a[_-1]:x,F=E||Object.keys(P);if(typeof S=="function"||S==="spring")return[].concat(e_(g),[o.runJSAnimation.bind(o,{from:j.style,to:P,duration:b,easing:S}),b]);var k=BM(F,b,S),I=gi(gi(gi({},j.style),P),{},{transition:k});return[].concat(e_(g),[I,b,T]).filter(MEe)};return this.manager.start([l].concat(e_(a.reduce(v,[f,Math.max(p,s)])),[i.onAnimationEnd]))}},{key:"runAnimation",value:function(i){this.manager||(this.manager=jEe());var o=i.begin,a=i.duration,s=i.attributeName,l=i.to,c=i.easing,f=i.onAnimationStart,d=i.onAnimationEnd,p=i.steps,v=i.children,y=this.manager;if(this.unSubscribe=y.subscribe(this.handleStyleChange),typeof c=="function"||typeof v=="function"||c==="spring"){this.runJSAnimation(i);return}if(p.length>1){this.runStepAnimation(i);return}var g=s?Hf({},s,l):l,x=BM(Object.keys(g),a,c);y.start([f,o,gi(gi({},g),{},{transition:x}),a,d])}},{key:"render",value:function(){var i=this.props,o=i.children;i.begin;var a=i.duration;i.attributeName,i.easing;var s=i.isActive;i.steps,i.from,i.to,i.canBegin,i.onAnimationEnd,i.shouldReAnimate,i.onAnimationReStart;var l=iCe(i,rCe),c=M.Children.count(o),f=this.state.style;if(typeof o=="function")return o(f);if(!s||c===0||a<=0)return o;var d=function(v){var y=v.props,g=y.style,x=g===void 0?{}:g,_=y.className,b=M.cloneElement(v,gi(gi({},l),{},{style:gi(gi({},x),f),className:_}));return b};return c===1?d(M.Children.only(o)):V.createElement("div",null,M.Children.map(o,function(p){return d(p)}))}}]),n}(M.PureComponent);ci.displayName="Animate";ci.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};ci.propTypes={from:$.oneOfType([$.object,$.string]),to:$.oneOfType([$.object,$.string]),attributeName:$.string,duration:$.number,begin:$.number,easing:$.oneOfType([$.string,$.func]),steps:$.arrayOf($.shape({duration:$.number.isRequired,style:$.object.isRequired,easing:$.oneOfType([$.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),$.func]),properties:$.arrayOf("string"),onAnimationEnd:$.func})),children:$.oneOfType([$.node,$.func]),isActive:$.bool,canBegin:$.bool,onAnimationEnd:$.func,shouldReAnimate:$.bool,onAnimationStart:$.func,onAnimationReStart:$.func};$.object,$.object,$.object,$.element;$.object,$.object,$.object,$.oneOfType([$.array,$.element]),$.any;function Sh(e){"@babel/helpers - typeof";return Sh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sh(e)}function Gg(){return Gg=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?1:-1,l=r>=0?1:-1,c=i>=0&&r>=0||i<0&&r<0?1:0,f;if(a>0&&o instanceof Array){for(var d=[0,0,0,0],p=0,v=4;pa?a:o[p];f="M".concat(t,",").concat(n+s*d[0]),d[0]>0&&(f+="A ".concat(d[0],",").concat(d[0],",0,0,").concat(c,",").concat(t+l*d[0],",").concat(n)),f+="L ".concat(t+r-l*d[1],",").concat(n),d[1]>0&&(f+="A ".concat(d[1],",").concat(d[1],",0,0,").concat(c,`, + `).concat(t+r,",").concat(n+s*d[1])),f+="L ".concat(t+r,",").concat(n+i-s*d[2]),d[2]>0&&(f+="A ".concat(d[2],",").concat(d[2],",0,0,").concat(c,`, + `).concat(t+r-l*d[2],",").concat(n+i)),f+="L ".concat(t+l*d[3],",").concat(n+i),d[3]>0&&(f+="A ".concat(d[3],",").concat(d[3],",0,0,").concat(c,`, + `).concat(t,",").concat(n+i-s*d[3])),f+="Z"}else if(a>0&&o===+o&&o>0){var y=Math.min(a,o);f="M ".concat(t,",").concat(n+s*y,` + A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(t+l*y,",").concat(n,` + L `).concat(t+r-l*y,",").concat(n,` + A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(t+r,",").concat(n+s*y,` + L `).concat(t+r,",").concat(n+i-s*y,` + A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(t+r-l*y,",").concat(n+i,` + L `).concat(t+l*y,",").concat(n+i,` + A `).concat(y,",").concat(y,",0,0,").concat(c,",").concat(t,",").concat(n+i-s*y," Z")}else f="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(i," h ").concat(-r," Z");return f},PCe=function(t,n){if(!t||!n)return!1;var r=t.x,i=t.y,o=n.x,a=n.y,s=n.width,l=n.height;if(Math.abs(s)>0&&Math.abs(l)>0){var c=Math.min(o,o+s),f=Math.max(o,o+s),d=Math.min(a,a+l),p=Math.max(a,a+l);return r>=c&&r<=f&&i>=d&&i<=p}return!1},ECe={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},HE=function(t){var n=KM(KM({},ECe),t),r=M.useRef(),i=M.useState(-1),o=gCe(i,2),a=o[0],s=o[1];M.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var S=r.current.getTotalLength();S&&s(S)}catch{}},[]);var l=n.x,c=n.y,f=n.width,d=n.height,p=n.radius,v=n.className,y=n.animationEasing,g=n.animationDuration,x=n.animationBegin,_=n.isAnimationActive,b=n.isUpdateAnimationActive;if(l!==+l||c!==+c||f!==+f||d!==+d||f===0||d===0)return null;var w=Oe("recharts-rectangle",v);return b?V.createElement(ci,{canBegin:a>0,from:{width:f,height:d,x:l,y:c},to:{width:f,height:d,x:l,y:c},duration:g,animationEasing:y,isActive:b},function(S){var P=S.width,E=S.height,T=S.x,j=S.y;return V.createElement(ci,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:g,isActive:_,easing:y},V.createElement("path",Gg({},De(n,!0),{className:w,d:YM(T,j,P,E,p),ref:r})))}):V.createElement("path",Gg({},De(n,!0),{className:w,d:YM(l,c,f,d,p)}))},CCe=["points","className","baseLinePoints","connectNulls"];function mc(){return mc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jCe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ZM(e){return MCe(e)||NCe(e)||kCe(e)||ACe()}function ACe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kCe(e,t){if(e){if(typeof e=="string")return dO(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dO(e,t)}}function NCe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function MCe(e){if(Array.isArray(e))return dO(e)}function dO(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[],n=[[]];return t.forEach(function(r){XM(r)?n[n.length-1].push(r):n[n.length-1].length>0&&n.push([])}),XM(t[0])&&n[n.length-1].push(t[0]),n[n.length-1].length<=0&&(n=n.slice(0,-1)),n},hd=function(t,n){var r=LCe(t);n&&(r=[r.reduce(function(o,a){return[].concat(ZM(o),ZM(a))},[])]);var i=r.map(function(o){return o.reduce(function(a,s,l){return"".concat(a).concat(l===0?"M":"L").concat(s.x,",").concat(s.y)},"")}).join("");return r.length===1?"".concat(i,"Z"):i},RCe=function(t,n,r){var i=hd(t,r);return"".concat(i.slice(-1)==="Z"?i.slice(0,-1):i,"L").concat(hd(n.reverse(),r).slice(1))},$Ce=function(t){var n=t.points,r=t.className,i=t.baseLinePoints,o=t.connectNulls,a=TCe(t,CCe);if(!n||!n.length)return null;var s=Oe("recharts-polygon",r);if(i&&i.length){var l=a.stroke&&a.stroke!=="none",c=RCe(n,i,o);return V.createElement("g",{className:s},V.createElement("path",mc({},De(a,!0),{fill:c.slice(-1)==="Z"?a.fill:"none",stroke:"none",d:c})),l?V.createElement("path",mc({},De(a,!0),{fill:"none",d:hd(n,o)})):null,l?V.createElement("path",mc({},De(a,!0),{fill:"none",d:hd(i,o)})):null)}var f=hd(n,o);return V.createElement("path",mc({},De(a,!0),{fill:f.slice(-1)==="Z"?a.fill:"none",className:s,d:f}))};function hO(){return hO=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function VCe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var WCe=function(t,n,r,i,o,a){return"M".concat(t,",").concat(o,"v").concat(i,"M").concat(a,",").concat(n,"h").concat(r)},HCe=function(t){var n=t.x,r=n===void 0?0:n,i=t.y,o=i===void 0?0:i,a=t.top,s=a===void 0?0:a,l=t.left,c=l===void 0?0:l,f=t.width,d=f===void 0?0:f,p=t.height,v=p===void 0?0:p,y=t.className,g=zCe(t,ICe),x=DCe({x:r,y:o,top:s,left:c,width:d,height:v},g);return!Ce(r)||!Ce(o)||!Ce(d)||!Ce(v)||!Ce(s)||!Ce(c)?null:V.createElement("path",pO({},De(x,!0),{className:Oe("recharts-cross",y),d:WCe(r,o,d,v,s,c)}))},GCe=U0,qCe=lF,KCe=mo;function YCe(e,t){return e&&e.length?GCe(e,KCe(t),qCe):void 0}var ZCe=YCe;const XCe=st(ZCe);var QCe=U0,JCe=mo,eTe=cF;function tTe(e,t){return e&&e.length?QCe(e,JCe(t),eTe):void 0}var nTe=tTe;const rTe=st(nTe);var iTe=["cx","cy","angle","ticks","axisLine"],oTe=["ticks","tick","angle","tickFormatter","stroke"];function ou(e){"@babel/helpers - typeof";return ou=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ou(e)}function pd(){return pd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aTe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function sTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tL(e,t){for(var n=0;niL?a=i==="outer"?"start":"end":o<-iL?a=i==="outer"?"end":"start":a="middle",a}},{key:"renderAxisLine",value:function(){var r=this.props,i=r.cx,o=r.cy,a=r.radius,s=r.axisLine,l=r.axisLineType,c=ys(ys({},De(this.props,!1)),{},{fill:"none"},De(s,!1));if(l==="circle")return V.createElement(lp,As({className:"recharts-polar-angle-axis-line"},c,{cx:i,cy:o,r:a}));var f=this.props.ticks,d=f.map(function(p){return St(i,o,a,p.coordinate)});return V.createElement($Ce,As({className:"recharts-polar-angle-axis-line"},c,{points:d}))}},{key:"renderTicks",value:function(){var r=this,i=this.props,o=i.ticks,a=i.tick,s=i.tickLine,l=i.tickFormatter,c=i.stroke,f=De(this.props,!1),d=De(a,!1),p=ys(ys({},f),{},{fill:"none"},De(s,!1)),v=o.map(function(y,g){var x=r.getTickLineCoord(y),_=r.getTickTextAnchor(y),b=ys(ys(ys({textAnchor:_},f),{},{stroke:"none",fill:c},d),{},{index:g,payload:y,x:x.x2,y:x.y2});return V.createElement(Xe,As({className:Oe("recharts-polar-angle-axis-tick",IF(a)),key:"tick-".concat(y.coordinate)},Ga(r.props,y,g)),s&&V.createElement("line",As({className:"recharts-polar-angle-axis-tick-line"},p,x)),a&&t.renderTickItem(a,b,l?l(y.value,g):y.value))});return V.createElement(Xe,{className:"recharts-polar-angle-axis-ticks"},v)}},{key:"render",value:function(){var r=this.props,i=r.ticks,o=r.radius,a=r.axisLine;return o<=0||!i||!i.length?null:V.createElement(Xe,{className:Oe("recharts-polar-angle-axis",this.props.className)},a&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(r,i,o){var a;return V.isValidElement(r)?a=V.cloneElement(r,i):We(r)?a=r(i):a=V.createElement(cl,As({},i,{className:"recharts-polar-angle-axis-tick-value"}),o),a}}])}(M.PureComponent);q0(K0,"displayName","PolarAngleAxis");q0(K0,"axisType","angleAxis");q0(K0,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var wTe=i8,OTe=wTe(Object.getPrototypeOf,Object),STe=OTe,PTe=Jo,ETe=STe,CTe=ea,TTe="[object Object]",jTe=Function.prototype,ATe=Object.prototype,JF=jTe.toString,kTe=ATe.hasOwnProperty,NTe=JF.call(Object);function MTe(e){if(!CTe(e)||PTe(e)!=TTe)return!1;var t=ETe(e);if(t===null)return!0;var n=kTe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&JF.call(n)==NTe}var LTe=MTe;const RTe=st(LTe);var $Te=Jo,ITe=ea,DTe="[object Boolean]";function FTe(e){return e===!0||e===!1||ITe(e)&&$Te(e)==DTe}var BTe=FTe;const UTe=st(BTe);function Eh(e){"@babel/helpers - typeof";return Eh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eh(e)}function Yg(){return Yg=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,from:{upperWidth:0,lowerWidth:0,height:p,x:l,y:c},to:{upperWidth:f,lowerWidth:d,height:p,x:l,y:c},duration:g,animationEasing:y,isActive:_},function(w){var S=w.upperWidth,P=w.lowerWidth,E=w.height,T=w.x,j=w.y;return V.createElement(ci,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:x,duration:g,easing:y},V.createElement("path",Yg({},De(n,!0),{className:b,d:lL(T,j,S,P,E),ref:r})))}):V.createElement("g",null,V.createElement("path",Yg({},De(n,!0),{className:b,d:lL(l,c,f,d,p)})))},QTe=["option","shapeType","propTransformer","activeClassName","isActive"];function Ch(e){"@babel/helpers - typeof";return Ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(e)}function JTe(e,t){if(e==null)return{};var n=eje(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function eje(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function cL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Zg(e){for(var t=1;t0?jr(w,"paddingAngle",0):0;if(P){var T=Bt(P.endAngle-P.startAngle,w.endAngle-w.startAngle),j=xt(xt({},w),{},{startAngle:b+E,endAngle:b+T(g)+E});x.push(j),b=j.endAngle}else{var F=w.endAngle,k=w.startAngle,I=Bt(0,F-k),D=I(g),K=xt(xt({},w),{},{startAngle:b+E,endAngle:b+D+E});x.push(K),b=K.endAngle}}),V.createElement(Xe,null,r.renderSectorsStatically(x))})}},{key:"attachKeyboardHandlers",value:function(r){var i=this;r.onkeydown=function(o){if(!o.altKey)switch(o.key){case"ArrowLeft":{var a=++i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[a].focus(),i.setState({sectorToFocus:a});break}case"ArrowRight":{var s=--i.state.sectorToFocus<0?i.sectorRefs.length-1:i.state.sectorToFocus%i.sectorRefs.length;i.sectorRefs[s].focus(),i.setState({sectorToFocus:s});break}case"Escape":{i.sectorRefs[i.state.sectorToFocus].blur(),i.setState({sectorToFocus:0});break}}}}},{key:"renderSectors",value:function(){var r=this.props,i=r.sectors,o=r.isAnimationActive,a=this.state.prevSectors;return o&&i&&i.length&&(!a||!qa(a,i))?this.renderSectorsWithAnimation():this.renderSectorsStatically(i)}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var r=this,i=this.props,o=i.hide,a=i.sectors,s=i.className,l=i.label,c=i.cx,f=i.cy,d=i.innerRadius,p=i.outerRadius,v=i.isAnimationActive,y=this.state.isAnimationFinished;if(o||!a||!a.length||!Ce(c)||!Ce(f)||!Ce(d)||!Ce(p))return null;var g=Oe("recharts-pie",s);return V.createElement(Xe,{tabIndex:this.props.rootTabIndex,className:g,ref:function(_){r.pieRef=_}},this.renderSectors(),l&&this.renderLabels(a),yn.renderCallByParent(this.props,null,!1),(!v||y)&&ji.renderCallByParent(this.props,a,!1))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return i.prevIsAnimationActive!==r.isAnimationActive?{prevIsAnimationActive:r.isAnimationActive,prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:[],isAnimationFinished:!0}:r.isAnimationActive&&r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curSectors:r.sectors,prevSectors:i.curSectors,isAnimationFinished:!0}:r.sectors!==i.curSectors?{curSectors:r.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(r,i){return r>i?"start":r=360?b:b-1)*l,S=x-b*v-w,P=i.reduce(function(j,F){var k=Tt(F,_,0);return j+(Ce(k)?k:0)},0),E;if(P>0){var T;E=i.map(function(j,F){var k=Tt(j,_,0),I=Tt(j,f,F),D=(Ce(k)?k:0)/P,K;F?K=T.endAngle+qn(g)*l*(k!==0?1:0):K=a;var W=K+qn(g)*((k!==0?v:0)+D*S),X=(K+W)/2,Q=(y.innerRadius+y.outerRadius)/2,te=[{name:I,value:k,payload:j,dataKey:_,type:p}],Z=St(y.cx,y.cy,Q,X);return T=xt(xt(xt({percent:D,cornerRadius:o,name:I,tooltipPayload:te,midAngle:X,middleRadius:Q,tooltipPosition:Z},j),y),{},{value:Tt(j,_),startAngle:K,endAngle:W,payload:j,paddingAngle:qn(g)*l}),T})}return xt(xt({},y),{},{sectors:E,data:i})});var xje=Math.ceil,wje=Math.max;function Oje(e,t,n,r){for(var i=-1,o=wje(xje((t-e)/(n||1)),0),a=Array(o);o--;)a[r?o:++i]=e,e+=n;return a}var Sje=Oje,Pje=O8,hL=1/0,Eje=17976931348623157e292;function Cje(e){if(!e)return e===0?e:0;if(e=Pje(e),e===hL||e===-hL){var t=e<0?-1:1;return t*Eje}return e===e?e:0}var n7=Cje,Tje=Sje,jje=L0,t_=n7;function Aje(e){return function(t,n,r){return r&&typeof r!="number"&&jje(t,n,r)&&(n=r=void 0),t=t_(t),n===void 0?(n=t,t=0):n=t_(n),r=r===void 0?t0&&r.handleDrag(i.changedTouches[0])}),xr(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var i=r.props,o=i.endIndex,a=i.onDragEnd,s=i.startIndex;a==null||a({endIndex:o,startIndex:s})}),r.detachDragEndListener()}),xr(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),xr(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),xr(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),xr(r,"handleSlideDragStart",function(i){var o=yL(i)?i.changedTouches[0]:i;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:o.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return Wje(t,e),Bje(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var i=r.startX,o=r.endX,a=this.state.scaleValues,s=this.props,l=s.gap,c=s.data,f=c.length-1,d=Math.min(i,o),p=Math.max(i,o),v=t.getIndexInRange(a,d),y=t.getIndexInRange(a,p);return{startIndex:v-v%l,endIndex:y===f?f:y-y%l}}},{key:"getTextOfTick",value:function(r){var i=this.props,o=i.data,a=i.tickFormatter,s=i.dataKey,l=Tt(o[r],s,r);return We(a)?a(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var i=this.state,o=i.slideMoveStartX,a=i.startX,s=i.endX,l=this.props,c=l.x,f=l.width,d=l.travellerWidth,p=l.startIndex,v=l.endIndex,y=l.onChange,g=r.pageX-o;g>0?g=Math.min(g,c+f-d-s,c+f-d-a):g<0&&(g=Math.max(g,c-a,c-s));var x=this.getIndex({startX:a+g,endX:s+g});(x.startIndex!==p||x.endIndex!==v)&&y&&y(x),this.setState({startX:a+g,endX:s+g,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,i){var o=yL(i)?i.changedTouches[0]:i;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:o.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var i=this.state,o=i.brushMoveStartX,a=i.movingTravellerId,s=i.endX,l=i.startX,c=this.state[a],f=this.props,d=f.x,p=f.width,v=f.travellerWidth,y=f.onChange,g=f.gap,x=f.data,_={startX:this.state.startX,endX:this.state.endX},b=r.pageX-o;b>0?b=Math.min(b,d+p-v-c):b<0&&(b=Math.max(b,d-c)),_[a]=c+b;var w=this.getIndex(_),S=w.startIndex,P=w.endIndex,E=function(){var j=x.length-1;return a==="startX"&&(s>l?S%g===0:P%g===0)||sl?P%g===0:S%g===0)||s>l&&P===j};this.setState(xr(xr({},a,c+b),"brushMoveStartX",r.pageX),function(){y&&E()&&y(w)})}},{key:"handleTravellerMoveKeyboard",value:function(r,i){var o=this,a=this.state,s=a.scaleValues,l=a.startX,c=a.endX,f=this.state[i],d=s.indexOf(f);if(d!==-1){var p=d+r;if(!(p===-1||p>=s.length)){var v=s[p];i==="startX"&&v>=c||i==="endX"&&v<=l||this.setState(xr({},i,v),function(){o.props.onChange(o.getIndex({startX:o.state.startX,endX:o.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.fill,c=r.stroke;return V.createElement("rect",{stroke:c,fill:l,x:i,y:o,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,i=r.x,o=r.y,a=r.width,s=r.height,l=r.data,c=r.children,f=r.padding,d=M.Children.only(c);return d?V.cloneElement(d,{x:i,y:o,width:a,height:s,margin:f,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,i){var o,a,s=this,l=this.props,c=l.y,f=l.travellerWidth,d=l.height,p=l.traveller,v=l.ariaLabel,y=l.data,g=l.startIndex,x=l.endIndex,_=Math.max(r,this.props.x),b=n_(n_({},De(this.props,!1)),{},{x:_,y:c,width:f,height:d}),w=v||"Min value: ".concat((o=y[g])===null||o===void 0?void 0:o.name,", Max value: ").concat((a=y[x])===null||a===void 0?void 0:a.name);return V.createElement(Xe,{tabIndex:0,role:"slider","aria-label":w,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[i],onTouchStart:this.travellerDragStartHandlers[i],onKeyDown:function(P){["ArrowLeft","ArrowRight"].includes(P.key)&&(P.preventDefault(),P.stopPropagation(),s.handleTravellerMoveKeyboard(P.key==="ArrowRight"?1:-1,i))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(p,b))}},{key:"renderSlide",value:function(r,i){var o=this.props,a=o.y,s=o.height,l=o.stroke,c=o.travellerWidth,f=Math.min(r,i)+c,d=Math.max(Math.abs(i-r)-c,0);return V.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:f,y:a,width:d,height:s})}},{key:"renderText",value:function(){var r=this.props,i=r.startIndex,o=r.endIndex,a=r.y,s=r.height,l=r.travellerWidth,c=r.stroke,f=this.state,d=f.startX,p=f.endX,v=5,y={pointerEvents:"none",fill:c};return V.createElement(Xe,{className:"recharts-brush-texts"},V.createElement(cl,ey({textAnchor:"end",verticalAnchor:"middle",x:Math.min(d,p)-v,y:a+s/2},y),this.getTextOfTick(i)),V.createElement(cl,ey({textAnchor:"start",verticalAnchor:"middle",x:Math.max(d,p)+l+v,y:a+s/2},y),this.getTextOfTick(o)))}},{key:"render",value:function(){var r=this.props,i=r.data,o=r.className,a=r.children,s=r.x,l=r.y,c=r.width,f=r.height,d=r.alwaysShowText,p=this.state,v=p.startX,y=p.endX,g=p.isTextActive,x=p.isSlideMoving,_=p.isTravellerMoving,b=p.isTravellerFocused;if(!i||!i.length||!Ce(s)||!Ce(l)||!Ce(c)||!Ce(f)||c<=0||f<=0)return null;var w=Oe("recharts-brush",o),S=V.Children.count(a)===1,P=Dje("userSelect","none");return V.createElement(Xe,{className:w,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:P},this.renderBackground(),S&&this.renderPanorama(),this.renderSlide(v,y),this.renderTravellerLayer(v,"startX"),this.renderTravellerLayer(y,"endX"),(g||x||_||b||d)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var i=r.x,o=r.y,a=r.width,s=r.height,l=r.stroke,c=Math.floor(o+s/2)-1;return V.createElement(V.Fragment,null,V.createElement("rect",{x:i,y:o,width:a,height:s,fill:l,stroke:"none"}),V.createElement("line",{x1:i+1,y1:c,x2:i+a-1,y2:c,fill:"none",stroke:"#fff"}),V.createElement("line",{x1:i+1,y1:c+2,x2:i+a-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,i){var o;return V.isValidElement(r)?o=V.cloneElement(r,i):We(r)?o=r(i):o=t.renderDefaultTraveller(i),o}},{key:"getDerivedStateFromProps",value:function(r,i){var o=r.data,a=r.width,s=r.x,l=r.travellerWidth,c=r.updateId,f=r.startIndex,d=r.endIndex;if(o!==i.prevData||c!==i.prevUpdateId)return n_({prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a},o&&o.length?Gje({data:o,width:a,x:s,travellerWidth:l,startIndex:f,endIndex:d}):{scale:null,scaleValues:null});if(i.scale&&(a!==i.prevWidth||s!==i.prevX||l!==i.prevTravellerWidth)){i.scale.range([s,s+a-l]);var p=i.scale.domain().map(function(v){return i.scale(v)});return{prevData:o,prevTravellerWidth:l,prevUpdateId:c,prevX:s,prevWidth:a,startX:i.scale(r.startIndex),endX:i.scale(r.endIndex),scaleValues:p}}return null}},{key:"getIndexInRange",value:function(r,i){for(var o=r.length,a=0,s=o-1;s-a>1;){var l=Math.floor((a+s)/2);r[l]>i?s=l:a=l}return i>=r[s]?s:a}}])}(M.PureComponent);xr(cu,"displayName","Brush");xr(cu,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var qje=vE;function Kje(e,t){var n;return qje(e,function(r,i,o){return n=t(r,i,o),!n}),!!n}var Yje=Kje,Zje=Z5,Xje=mo,Qje=Yje,Jje=yr,eAe=L0;function tAe(e,t,n){var r=Jje(e)?Zje:Qje;return n&&eAe(e,t,n)&&(t=void 0),r(e,Xje(t))}var nAe=tAe;const rAe=st(nAe);var io=function(t,n){var r=t.alwaysShow,i=t.ifOverflow;return r&&(i="extendDomain"),i===n},bL=y8;function iAe(e,t,n){t=="__proto__"&&bL?bL(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var oAe=iAe,aAe=oAe,sAe=v8,lAe=mo;function cAe(e,t){var n={};return t=lAe(t),sAe(e,function(r,i,o){aAe(n,i,t(r,i,o))}),n}var uAe=cAe;const fAe=st(uAe);function dAe(e,t){for(var n=-1,r=e==null?0:e.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function jAe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function AAe(e,t){var n=e.x,r=e.y,i=TAe(e,SAe),o="".concat(n),a=parseInt(o,10),s="".concat(r),l=parseInt(s,10),c="".concat(t.height||i.height),f=parseInt(c,10),d="".concat(t.width||i.width),p=parseInt(d,10);return Rf(Rf(Rf(Rf(Rf({},t),i),a?{x:a}:{}),l?{y:l}:{}),{},{height:f,width:p,name:t.name,radius:t.radius})}function xL(e){return V.createElement(Xg,bO({shapeType:"rectangle",propTransformer:AAe,activeClassName:"recharts-active-bar"},e))}var kAe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,i){if(typeof t=="number")return t;var o=typeof r=="number";return o?t(r,i):(o||fl(),n)}},NAe=["value","background"],s7;function uu(e){"@babel/helpers - typeof";return uu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uu(e)}function MAe(e,t){if(e==null)return{};var n=LAe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function LAe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ny(){return ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&Math.abs(X)0&&Math.abs(W)0&&(K=Math.min((ne||0)-(W[re-1]||0),K))}),Number.isFinite(K)){var X=K/D,Q=g.layout==="vertical"?r.height:r.width;if(g.padding==="gap"&&(T=X*Q/2),g.padding==="no-gap"){var te=Kn(t.barCategoryGap,X*Q),Z=X*Q/2;T=Z-te-(Z-te)/Q*te}}}i==="xAxis"?j=[r.left+(w.left||0)+(T||0),r.left+r.width-(w.right||0)-(T||0)]:i==="yAxis"?j=l==="horizontal"?[r.top+r.height-(w.bottom||0),r.top+(w.top||0)]:[r.top+(w.top||0)+(T||0),r.top+r.height-(w.bottom||0)-(T||0)]:j=g.range,P&&(j=[j[1],j[0]]);var z=AF(g,o,p),B=z.scale,H=z.realScaleType;B.domain(_).range(j),kF(B);var ee=NF(B,_i(_i({},g),{},{realScaleType:H}));i==="xAxis"?(I=x==="top"&&!S||x==="bottom"&&S,F=r.left,k=d[E]-I*g.height):i==="yAxis"&&(I=x==="left"&&!S||x==="right"&&S,F=d[E]-I*g.width,k=r.top);var q=_i(_i(_i({},g),ee),{},{realScaleType:H,x:F,y:k,scale:B,width:i==="xAxis"?r.width:g.width,height:i==="yAxis"?r.height:g.height});return q.bandSize=Bg(q,ee),!g.hide&&i==="xAxis"?d[E]+=(I?-1:1)*q.height:g.hide||(d[E]+=(I?-1:1)*q.width),_i(_i({},v),{},X0({},y,q))},{})},d7=function(t,n){var r=t.x,i=t.y,o=n.x,a=n.y;return{x:Math.min(r,o),y:Math.min(i,a),width:Math.abs(o-r),height:Math.abs(a-i)}},HAe=function(t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2;return d7({x:n,y:r},{x:i,y:o})},h7=function(){function e(t){zAe(this,e),this.scale=t}return VAe(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.bandAware,o=r.position;if(n!==void 0){if(o)switch(o){case"start":return this.scale(n);case"middle":{var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+a}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(n)+s}default:return this.scale(n)}if(i){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),i=r[0],o=r[r.length-1];return i<=o?n>=i&&n<=o:n>=o&&n<=i}}],[{key:"create",value:function(n){return new e(n)}}])}();X0(h7,"EPS",1e-4);var GE=function(t){var n=Object.keys(t).reduce(function(r,i){return _i(_i({},r),{},X0({},i,h7.create(t[i])))},{});return _i(_i({},n),{},{apply:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=o.bandAware,s=o.position;return fAe(i,function(l,c){return n[c].apply(l,{bandAware:a,position:s})})},isInRange:function(i){return a7(i,function(o,a){return n[a].isInRange(o)})}})};function GAe(e){return(e%180+180)%180}var qAe=function(t){var n=t.width,r=t.height,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=GAe(i),a=o*Math.PI/180,s=Math.atan(r/n),l=a>s&&a-1?i[o?t[a]:a]:void 0}}var QAe=XAe,JAe=n7;function e3e(e){var t=JAe(e),n=t%1;return t===t?n?t-n:t:0}var t3e=e3e,n3e=u8,r3e=mo,i3e=t3e,o3e=Math.max;function a3e(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:i3e(n);return i<0&&(i=o3e(r+i,0)),n3e(e,r3e(t),i)}var s3e=a3e,l3e=QAe,c3e=s3e,u3e=l3e(c3e),f3e=u3e;const d3e=st(f3e);var h3e=Sfe(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),qE=M.createContext(void 0),KE=M.createContext(void 0),p7=M.createContext(void 0),m7=M.createContext({}),v7=M.createContext(void 0),g7=M.createContext(0),y7=M.createContext(0),EL=function(t){var n=t.state,r=n.xAxisMap,i=n.yAxisMap,o=n.offset,a=t.clipPathId,s=t.children,l=t.width,c=t.height,f=h3e(o);return V.createElement(qE.Provider,{value:r},V.createElement(KE.Provider,{value:i},V.createElement(m7.Provider,{value:o},V.createElement(p7.Provider,{value:f},V.createElement(v7.Provider,{value:a},V.createElement(g7.Provider,{value:c},V.createElement(y7.Provider,{value:l},s)))))))},p3e=function(){return M.useContext(v7)},b7=function(t){var n=M.useContext(qE);n==null&&fl();var r=n[t];return r==null&&fl(),r},m3e=function(){var t=M.useContext(qE);return ya(t)},v3e=function(){var t=M.useContext(KE),n=d3e(t,function(r){return a7(r.domain,Number.isFinite)});return n||ya(t)},_7=function(t){var n=M.useContext(KE);n==null&&fl();var r=n[t];return r==null&&fl(),r},g3e=function(){var t=M.useContext(p7);return t},y3e=function(){return M.useContext(m7)},YE=function(){return M.useContext(y7)},ZE=function(){return M.useContext(g7)};function fu(e){"@babel/helpers - typeof";return fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fu(e)}function b3e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _3e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne*i)return!1;var o=n();return e*(t-e*o/2-r)>=0&&e*(t+e*o/2-i)<=0}function tke(e,t){return C7(e,t+1)}function nke(e,t,n,r,i){for(var o=(r||[]).slice(),a=t.start,s=t.end,l=0,c=1,f=a,d=function(){var y=r==null?void 0:r[l];if(y===void 0)return{v:C7(r,c)};var g=l,x,_=function(){return x===void 0&&(x=n(y,g)),x},b=y.coordinate,w=l===0||sy(e,b,_,f,s);w||(l=0,f=a,c+=1),w&&(f=b+e*(_()/2+i),l+=c)},p;c<=o.length;)if(p=d(),p)return p.v;return[]}function Nh(e){"@babel/helpers - typeof";return Nh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nh(e)}function LL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $n(e){for(var t=1;t0?v.coordinate-x*e:v.coordinate})}else o[p]=v=$n($n({},v),{},{tickCoord:v.coordinate});var _=sy(e,v.tickCoord,g,s,l);_&&(l=v.tickCoord-e*(g()/2+i),o[p]=$n($n({},v),{},{isShow:!0}))},f=a-1;f>=0;f--)c(f);return o}function ske(e,t,n,r,i,o){var a=(r||[]).slice(),s=a.length,l=t.start,c=t.end;if(o){var f=r[s-1],d=n(f,s-1),p=e*(f.coordinate+e*d/2-c);a[s-1]=f=$n($n({},f),{},{tickCoord:p>0?f.coordinate-p*e:f.coordinate});var v=sy(e,f.tickCoord,function(){return d},l,c);v&&(c=f.tickCoord-e*(d/2+i),a[s-1]=$n($n({},f),{},{isShow:!0}))}for(var y=o?s-1:s,g=function(b){var w=a[b],S,P=function(){return S===void 0&&(S=n(w,b)),S};if(b===0){var E=e*(w.coordinate-e*P()/2-l);a[b]=w=$n($n({},w),{},{tickCoord:E<0?w.coordinate-E*e:w.coordinate})}else a[b]=w=$n($n({},w),{},{tickCoord:w.coordinate});var T=sy(e,w.tickCoord,P,l,c);T&&(l=w.tickCoord+e*(P()/2+i),a[b]=$n($n({},w),{},{isShow:!0}))},x=0;x=2?qn(i[1].coordinate-i[0].coordinate):1,_=eke(o,x,v);return l==="equidistantPreserveStart"?nke(x,_,g,i,a):(l==="preserveStart"||l==="preserveStartEnd"?p=ske(x,_,g,i,a,l==="preserveStartEnd"):p=ake(x,_,g,i,a),p.filter(function(b){return b.isShow}))}var lke=["viewBox"],cke=["viewBox"],uke=["ticks"];function pu(e){"@babel/helpers - typeof";return pu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pu(e)}function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function fke(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function dke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $L(e,t){for(var n=0;n0?l(this.props):l(v)),a<=0||s<=0||!y||!y.length?null:V.createElement(Xe,{className:Oe("recharts-cartesian-axis",c),ref:function(x){r.layerReference=x}},o&&this.renderAxisLine(),this.renderTicks(y,this.state.fontSize,this.state.letterSpacing),yn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,i,o){var a;return V.isValidElement(r)?a=V.cloneElement(r,i):We(r)?a=r(i):a=V.createElement(cl,gc({},i,{className:"recharts-cartesian-axis-tick-value"}),o),a}}])}(M.Component);eC(Hu,"displayName","CartesianAxis");eC(Hu,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var bke=["x1","y1","x2","y2","key"],_ke=["offset"];function dl(e){"@babel/helpers - typeof";return dl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dl(e)}function IL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Dn(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ske(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var Pke=function(t){var n=t.fill;if(!n||n==="none")return null;var r=t.fillOpacity,i=t.x,o=t.y,a=t.width,s=t.height,l=t.ry;return V.createElement("rect",{x:i,y:o,ry:l,width:a,height:s,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function A7(e,t){var n;if(V.isValidElement(e))n=V.cloneElement(e,t);else if(We(e))n=e(t);else{var r=t.x1,i=t.y1,o=t.x2,a=t.y2,s=t.key,l=DL(t,bke),c=De(l,!1);c.offset;var f=DL(c,_ke);n=V.createElement("line",Bs({},f,{x1:r,y1:i,x2:o,y2:a,fill:"none",key:s}))}return n}function Eke(e){var t=e.x,n=e.width,r=e.horizontal,i=r===void 0?!0:r,o=e.horizontalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Dn(Dn({},e),{},{x1:t,y1:s,x2:t+n,y2:s,key:"line-".concat(l),index:l});return A7(i,c)});return V.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function Cke(e){var t=e.y,n=e.height,r=e.vertical,i=r===void 0?!0:r,o=e.verticalPoints;if(!i||!o||!o.length)return null;var a=o.map(function(s,l){var c=Dn(Dn({},e),{},{x1:s,y1:t,x2:s,y2:t+n,key:"line-".concat(l),index:l});return A7(i,c)});return V.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function Tke(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,i=e.y,o=e.width,a=e.height,s=e.horizontalPoints,l=e.horizontal,c=l===void 0?!0:l;if(!c||!t||!t.length)return null;var f=s.map(function(p){return Math.round(p+i-i)}).sort(function(p,v){return p-v});i!==f[0]&&f.unshift(0);var d=f.map(function(p,v){var y=!f[v+1],g=y?i+a-p:f[v+1]-p;if(g<=0)return null;var x=v%t.length;return V.createElement("rect",{key:"react-".concat(v),y:p,x:r,height:g,width:o,stroke:"none",fill:t[x],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return V.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function jke(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,i=e.fillOpacity,o=e.x,a=e.y,s=e.width,l=e.height,c=e.verticalPoints;if(!n||!r||!r.length)return null;var f=c.map(function(p){return Math.round(p+o-o)}).sort(function(p,v){return p-v});o!==f[0]&&f.unshift(0);var d=f.map(function(p,v){var y=!f[v+1],g=y?o+s-p:f[v+1]-p;if(g<=0)return null;var x=v%r.length;return V.createElement("rect",{key:"react-".concat(v),x:p,y:a,width:g,height:l,stroke:"none",fill:r[x],fillOpacity:i,className:"recharts-cartesian-grid-bg"})});return V.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},d)}var Ake=function(t,n){var r=t.xAxis,i=t.width,o=t.height,a=t.offset;return jF(JE(Dn(Dn(Dn({},Hu.defaultProps),r),{},{ticks:To(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.left,a.left+a.width,n)},kke=function(t,n){var r=t.yAxis,i=t.width,o=t.height,a=t.offset;return jF(JE(Dn(Dn(Dn({},Hu.defaultProps),r),{},{ticks:To(r,!0),viewBox:{x:0,y:0,width:i,height:o}})),a.top,a.top+a.height,n)},Vl={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function tC(e){var t,n,r,i,o,a,s=YE(),l=ZE(),c=y3e(),f=Dn(Dn({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:Vl.stroke,fill:(n=e.fill)!==null&&n!==void 0?n:Vl.fill,horizontal:(r=e.horizontal)!==null&&r!==void 0?r:Vl.horizontal,horizontalFill:(i=e.horizontalFill)!==null&&i!==void 0?i:Vl.horizontalFill,vertical:(o=e.vertical)!==null&&o!==void 0?o:Vl.vertical,verticalFill:(a=e.verticalFill)!==null&&a!==void 0?a:Vl.verticalFill,x:Ce(e.x)?e.x:c.left,y:Ce(e.y)?e.y:c.top,width:Ce(e.width)?e.width:c.width,height:Ce(e.height)?e.height:c.height}),d=f.x,p=f.y,v=f.width,y=f.height,g=f.syncWithTicks,x=f.horizontalValues,_=f.verticalValues,b=m3e(),w=v3e();if(!Ce(v)||v<=0||!Ce(y)||y<=0||!Ce(d)||d!==+d||!Ce(p)||p!==+p)return null;var S=f.verticalCoordinatesGenerator||Ake,P=f.horizontalCoordinatesGenerator||kke,E=f.horizontalPoints,T=f.verticalPoints;if((!E||!E.length)&&We(P)){var j=x&&x.length,F=P({yAxis:w?Dn(Dn({},w),{},{ticks:j?x:w.ticks}):void 0,width:s,height:l,offset:c},j?!0:g);Ti(Array.isArray(F),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(dl(F),"]")),Array.isArray(F)&&(E=F)}if((!T||!T.length)&&We(S)){var k=_&&_.length,I=S({xAxis:b?Dn(Dn({},b),{},{ticks:k?_:b.ticks}):void 0,width:s,height:l,offset:c},k?!0:g);Ti(Array.isArray(I),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(dl(I),"]")),Array.isArray(I)&&(T=I)}return V.createElement("g",{className:"recharts-cartesian-grid"},V.createElement(Pke,{fill:f.fill,fillOpacity:f.fillOpacity,x:f.x,y:f.y,width:f.width,height:f.height,ry:f.ry}),V.createElement(Eke,Bs({},f,{offset:c,horizontalPoints:E,xAxis:b,yAxis:w})),V.createElement(Cke,Bs({},f,{offset:c,verticalPoints:T,xAxis:b,yAxis:w})),V.createElement(Tke,Bs({},f,{horizontalPoints:E})),V.createElement(jke,Bs({},f,{verticalPoints:T})))}tC.displayName="CartesianGrid";var Nke=["type","layout","connectNulls","ref"],Mke=["key"];function mu(e){"@babel/helpers - typeof";return mu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mu(e)}function FL(e,t){if(e==null)return{};var n=Lke(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Lke(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function md(){return md=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);nd){v=[].concat(Wl(l.slice(0,y)),[d-g]);break}var x=v.length%2===0?[0,p]:[p];return[].concat(Wl(t.repeat(l,f)),Wl(v),x).map(function(_){return"".concat(_,"px")}).join(", ")}),xi(n,"id",os("recharts-line-")),xi(n,"pathRef",function(a){n.mainCurve=a}),xi(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),xi(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Wke(t,e),Bke(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,i){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var o=this.props,a=o.points,s=o.xAxis,l=o.yAxis,c=o.layout,f=o.children,d=Jn(f,Vu);if(!d)return null;var p=function(g,x){return{x:g.x,y:g.y,value:g.value,errorVal:Tt(g.payload,x)}},v={clipPath:r?"url(#clipPath-".concat(i,")"):null};return V.createElement(Xe,v,d.map(function(y){return V.cloneElement(y,{key:"bar-".concat(y.props.dataKey),data:a,xAxis:s,yAxis:l,layout:c,dataPointFormatter:p})}))}},{key:"renderDots",value:function(r,i,o){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.dot,c=s.points,f=s.dataKey,d=De(this.props,!1),p=De(l,!0),v=c.map(function(g,x){var _=_r(_r(_r({key:"dot-".concat(x),r:3},d),p),{},{value:g.value,dataKey:f,cx:g.x,cy:g.y,index:x,payload:g.payload});return t.renderDotItem(l,_)}),y={clipPath:r?"url(#clipPath-".concat(i?"":"dots-").concat(o,")"):null};return V.createElement(Xe,md({className:"recharts-line-dots",key:"dots"},y),v)}},{key:"renderCurveStatically",value:function(r,i,o,a){var s=this.props,l=s.type,c=s.layout,f=s.connectNulls;s.ref;var d=FL(s,Nke),p=_r(_r(_r({},De(d,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:i?"url(#clipPath-".concat(o,")"):null,points:r},a),{},{type:l,layout:c,connectNulls:f});return V.createElement(Da,md({},p,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,i){var o=this,a=this.props,s=a.points,l=a.strokeDasharray,c=a.isAnimationActive,f=a.animationBegin,d=a.animationDuration,p=a.animationEasing,v=a.animationId,y=a.animateNewValues,g=a.width,x=a.height,_=this.state,b=_.prevPoints,w=_.totalLength;return V.createElement(ci,{begin:f,duration:d,isActive:c,easing:p,from:{t:0},to:{t:1},key:"line-".concat(v),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(S){var P=S.t;if(b){var E=b.length/s.length,T=s.map(function(D,K){var W=Math.floor(K*E);if(b[W]){var X=b[W],Q=Bt(X.x,D.x),te=Bt(X.y,D.y);return _r(_r({},D),{},{x:Q(P),y:te(P)})}if(y){var Z=Bt(g*2,D.x),z=Bt(x/2,D.y);return _r(_r({},D),{},{x:Z(P),y:z(P)})}return _r(_r({},D),{},{x:D.x,y:D.y})});return o.renderCurveStatically(T,r,i)}var j=Bt(0,w),F=j(P),k;if(l){var I="".concat(l).split(/[,\s]+/gim).map(function(D){return parseFloat(D)});k=o.getStrokeDasharray(F,w,I)}else k=o.generateSimpleStrokeDasharray(w,F);return o.renderCurveStatically(s,r,i,{strokeDasharray:k})})}},{key:"renderCurve",value:function(r,i){var o=this.props,a=o.points,s=o.isAnimationActive,l=this.state,c=l.prevPoints,f=l.totalLength;return s&&a&&a.length&&(!c&&f>0||!qa(c,a))?this.renderCurveWithAnimation(r,i):this.renderCurveStatically(a,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.xAxis,f=i.yAxis,d=i.top,p=i.left,v=i.width,y=i.height,g=i.isAnimationActive,x=i.id;if(o||!s||!s.length)return null;var _=this.state.isAnimationFinished,b=s.length===1,w=Oe("recharts-line",l),S=c&&c.allowDataOverflow,P=f&&f.allowDataOverflow,E=S||P,T=ze(x)?this.id:x,j=(r=De(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},F=j.r,k=F===void 0?3:F,I=j.strokeWidth,D=I===void 0?2:I,K=x5(a)?a:{},W=K.clipDot,X=W===void 0?!0:W,Q=k*2+D;return V.createElement(Xe,{className:w},S||P?V.createElement("defs",null,V.createElement("clipPath",{id:"clipPath-".concat(T)},V.createElement("rect",{x:S?p:p-v/2,y:P?d:d-y/2,width:S?v:v*2,height:P?y:y*2})),!X&&V.createElement("clipPath",{id:"clipPath-dots-".concat(T)},V.createElement("rect",{x:p-Q/2,y:d-Q/2,width:v+Q,height:y+Q}))):null,!b&&this.renderCurve(E,T),this.renderErrorBar(E,T),(b||a)&&this.renderDots(E,X,T),(!g||_)&&ji.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:i.curPoints}:r.points!==i.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,i){for(var o=r.length%2!==0?[].concat(Wl(r),[0]):r,a=[],s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Kke(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!qa(f,a)||!qa(d,s))?this.renderAreaWithAnimation(r,i):this.renderAreaStatically(a,s,r,i)}},{key:"render",value:function(){var r,i=this.props,o=i.hide,a=i.dot,s=i.points,l=i.className,c=i.top,f=i.left,d=i.xAxis,p=i.yAxis,v=i.width,y=i.height,g=i.isAnimationActive,x=i.id;if(o||!s||!s.length)return null;var _=this.state.isAnimationFinished,b=s.length===1,w=Oe("recharts-area",l),S=d&&d.allowDataOverflow,P=p&&p.allowDataOverflow,E=S||P,T=ze(x)?this.id:x,j=(r=De(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},F=j.r,k=F===void 0?3:F,I=j.strokeWidth,D=I===void 0?2:I,K=x5(a)?a:{},W=K.clipDot,X=W===void 0?!0:W,Q=k*2+D;return V.createElement(Xe,{className:w},S||P?V.createElement("defs",null,V.createElement("clipPath",{id:"clipPath-".concat(T)},V.createElement("rect",{x:S?f:f-v/2,y:P?c:c-y/2,width:S?v:v*2,height:P?y:y*2})),!X&&V.createElement("clipPath",{id:"clipPath-dots-".concat(T)},V.createElement("rect",{x:f-Q/2,y:c-Q/2,width:v+Q,height:y+Q}))):null,b?null:this.renderArea(E,T),(a||b)&&this.renderDots(E,X,T),(!g||_)&&ji.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,i){return r.animationId!==i.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:i.curPoints,prevBaseLine:i.curBaseLine}:r.points!==i.curPoints||r.baseLine!==i.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}])}(M.PureComponent);M7=wl;Qi(wl,"displayName","Area");Qi(wl,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!ri.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"});Qi(wl,"getBaseValue",function(e,t,n,r){var i=e.layout,o=e.baseValue,a=t.props.baseValue,s=a??o;if(Ce(s)&&typeof s=="number")return s;var l=i==="horizontal"?r:n,c=l.scale.domain();if(l.type==="number"){var f=Math.max(c[0],c[1]),d=Math.min(c[0],c[1]);return s==="dataMin"?d:s==="dataMax"||f<0?f:Math.max(Math.min(c[0],c[1]),0)}return s==="dataMin"?c[0]:s==="dataMax"?c[1]:c[0]});Qi(wl,"getComposedData",function(e){var t=e.props,n=e.item,r=e.xAxis,i=e.yAxis,o=e.xAxisTicks,a=e.yAxisTicks,s=e.bandSize,l=e.dataKey,c=e.stackedData,f=e.dataStartIndex,d=e.displayedData,p=e.offset,v=t.layout,y=c&&c.length,g=M7.getBaseValue(t,n,r,i),x=v==="horizontal",_=!1,b=d.map(function(S,P){var E;y?E=c[f+P]:(E=Tt(S,l),Array.isArray(E)?_=!0:E=[g,E]);var T=E[1]==null||y&&Tt(S,l)==null;return x?{x:ru({axis:r,ticks:o,bandSize:s,entry:S,index:P}),y:T?null:i.scale(E[1]),value:E,payload:S}:{x:T?null:r.scale(E[1]),y:ru({axis:i,ticks:a,bandSize:s,entry:S,index:P}),value:E,payload:S}}),w;return y||_?w=b.map(function(S){var P=Array.isArray(S.value)?S.value[0]:null;return x?{x:S.x,y:P!=null&&S.y!=null?i.scale(P):null}:{x:P!=null?r.scale(P):null,y:S.y}}):w=x?i.scale(g):r.scale(g),ua({points:b,baseLine:w,layout:v,isRange:_},p)});Qi(wl,"renderDotItem",function(e,t){var n;if(V.isValidElement(e))n=V.cloneElement(e,t);else if(We(e))n=e(t);else{var r=Oe("recharts-area-dot",typeof e!="boolean"?e.className:""),i=t.key,o=L7(t,qke);n=V.createElement(lp,Us({},o,{key:i,className:r}))}return n});function gu(e){"@babel/helpers - typeof";return gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gu(e)}function nNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rNe(e,t){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dNe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function hNe(e){var t=e.option,n=e.isActive,r=fNe(e,uNe);return typeof t=="string"?V.createElement(Xg,vd({option:V.createElement(k0,vd({type:t},r)),isActive:n,shapeType:"symbols"},r)):V.createElement(Xg,vd({option:t,isActive:n,shapeType:"symbols"},r))}function yu(e){"@babel/helpers - typeof";return yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(e)}function gd(){return gd=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lMe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function cMe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uMe(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a:t&&t.length&&Ce(i)&&Ce(o)?t.slice(i,o+1):[]};function tB(e){return e==="number"?[0,"auto"]:void 0}var UO=function(t,n,r,i){var o=t.graphicalItems,a=t.tooltipAxis,s=rb(n,t);return r<0||!o||!o.length||r>=s.length?null:o.reduce(function(l,c){var f,d=(f=c.props.data)!==null&&f!==void 0?f:n;d&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(d=d.slice(t.dataStartIndex,t.dataEndIndex+1));var p;if(a.dataKey&&!a.allowDuplicatedCategory){var v=d===void 0?s:d;p=dg(v,a.dataKey,i)}else p=d&&d[r]||s[r];return p?[].concat(wu(l),[LF(c,p)]):l},[])},XL=function(t,n,r,i){var o=i||{x:t.chartX,y:t.chartY},a=wMe(o,r),s=t.orderedTooltipTicks,l=t.tooltipAxis,c=t.tooltipTicks,f=ASe(a,s,c,l);if(f>=0&&c){var d=c[f]&&c[f].value,p=UO(t,n,f,d),v=OMe(r,s,f,o);return{activeTooltipIndex:f,activeLabel:d,activePayload:p,activeCoordinate:v}}return null},SMe=function(t,n){var r=n.axes,i=n.graphicalItems,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,f=t.layout,d=t.children,p=t.stackOffset,v=TF(f,o);return r.reduce(function(y,g){var x,_=g.type.defaultProps!==void 0?me(me({},g.type.defaultProps),g.props):g.props,b=_.type,w=_.dataKey,S=_.allowDataOverflow,P=_.allowDuplicatedCategory,E=_.scale,T=_.ticks,j=_.includeHidden,F=_[a];if(y[F])return y;var k=rb(t.data,{graphicalItems:i.filter(function(ee){var q,ne=a in ee.props?ee.props[a]:(q=ee.type.defaultProps)===null||q===void 0?void 0:q[a];return ne===F}),dataStartIndex:l,dataEndIndex:c}),I=k.length,D,K,W;ZNe(_.domain,S,b)&&(D=Q2(_.domain,null,S),v&&(b==="number"||E!=="auto")&&(W=fd(k,w,"category")));var X=tB(b);if(!D||D.length===0){var Q,te=(Q=_.domain)!==null&&Q!==void 0?Q:X;if(w){if(D=fd(k,w,b),b==="category"&&v){var Z=_de(D);P&&Z?(K=D,D=Jg(0,I)):P||(D=mM(te,D,g).reduce(function(ee,q){return ee.indexOf(q)>=0?ee:[].concat(wu(ee),[q])},[]))}else if(b==="category")P?D=D.filter(function(ee){return ee!==""&&!ze(ee)}):D=mM(te,D,g).reduce(function(ee,q){return ee.indexOf(q)>=0||q===""||ze(q)?ee:[].concat(wu(ee),[q])},[]);else if(b==="number"){var z=RSe(k,i.filter(function(ee){var q,ne,re=a in ee.props?ee.props[a]:(q=ee.type.defaultProps)===null||q===void 0?void 0:q[a],ae="hide"in ee.props?ee.props.hide:(ne=ee.type.defaultProps)===null||ne===void 0?void 0:ne.hide;return re===F&&(j||!ae)}),w,o,f);z&&(D=z)}v&&(b==="number"||E!=="auto")&&(W=fd(k,w,"category"))}else v?D=Jg(0,I):s&&s[F]&&s[F].hasStack&&b==="number"?D=p==="expand"?[0,1]:MF(s[F].stackGroups,l,c):D=CF(k,i.filter(function(ee){var q=a in ee.props?ee.props[a]:ee.type.defaultProps[a],ne="hide"in ee.props?ee.props.hide:ee.type.defaultProps.hide;return q===F&&(j||!ne)}),b,f,!0);if(b==="number")D=DO(d,D,F,o,T),te&&(D=Q2(te,D,S));else if(b==="category"&&te){var B=te,H=D.every(function(ee){return B.indexOf(ee)>=0});H&&(D=B)}}return me(me({},y),{},He({},F,me(me({},_),{},{axisType:o,domain:D,categoricalDomain:W,duplicateDomain:K,originalDomain:(x=_.domain)!==null&&x!==void 0?x:X,isCategorical:v,layout:f})))},{})},PMe=function(t,n){var r=n.graphicalItems,i=n.Axis,o=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,f=t.layout,d=t.children,p=rb(t.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:c}),v=p.length,y=TF(f,o),g=-1;return r.reduce(function(x,_){var b=_.type.defaultProps!==void 0?me(me({},_.type.defaultProps),_.props):_.props,w=b[a],S=tB("number");if(!x[w]){g++;var P;return y?P=Jg(0,v):s&&s[w]&&s[w].hasStack?(P=MF(s[w].stackGroups,l,c),P=DO(d,P,w,o)):(P=Q2(S,CF(p,r.filter(function(E){var T,j,F=a in E.props?E.props[a]:(T=E.type.defaultProps)===null||T===void 0?void 0:T[a],k="hide"in E.props?E.props.hide:(j=E.type.defaultProps)===null||j===void 0?void 0:j.hide;return F===w&&!k}),"number",f),i.defaultProps.allowDataOverflow),P=DO(d,P,w,o)),me(me({},x),{},He({},w,me(me({axisType:o},i.defaultProps),{},{hide:!0,orientation:jr(_Me,"".concat(o,".").concat(g%2),null),domain:P,originalDomain:S,isCategorical:y,layout:f})))}return x},{})},EMe=function(t,n){var r=n.axisType,i=r===void 0?"xAxis":r,o=n.AxisComp,a=n.graphicalItems,s=n.stackGroups,l=n.dataStartIndex,c=n.dataEndIndex,f=t.children,d="".concat(i,"Id"),p=Jn(f,o),v={};return p&&p.length?v=SMe(t,{axes:p,graphicalItems:a,axisType:i,axisIdKey:d,stackGroups:s,dataStartIndex:l,dataEndIndex:c}):a&&a.length&&(v=PMe(t,{Axis:o,graphicalItems:a,axisType:i,axisIdKey:d,stackGroups:s,dataStartIndex:l,dataEndIndex:c})),v},CMe=function(t){var n=ya(t),r=To(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:gE(r,function(i){return i.coordinate}),tooltipAxis:n,tooltipAxisBandSize:Bg(n,r)}},QL=function(t){var n=t.children,r=t.defaultShowTooltip,i=Or(n,cu),o=0,a=0;return t.data&&t.data.length!==0&&(a=t.data.length-1),i&&i.props&&(i.props.startIndex>=0&&(o=i.props.startIndex),i.props.endIndex>=0&&(a=i.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!r}},TMe=function(t){return!t||!t.length?!1:t.some(function(n){var r=Ao(n&&n.type);return r&&r.indexOf("Bar")>=0})},JL=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},jMe=function(t,n){var r=t.props,i=t.graphicalItems,o=t.xAxisMap,a=o===void 0?{}:o,s=t.yAxisMap,l=s===void 0?{}:s,c=r.width,f=r.height,d=r.children,p=r.margin||{},v=Or(d,cu),y=Or(d,Cc),g=Object.keys(l).reduce(function(P,E){var T=l[E],j=T.orientation;return!T.mirror&&!T.hide?me(me({},P),{},He({},j,P[j]+T.width)):P},{left:p.left||0,right:p.right||0}),x=Object.keys(a).reduce(function(P,E){var T=a[E],j=T.orientation;return!T.mirror&&!T.hide?me(me({},P),{},He({},j,jr(P,"".concat(j))+T.height)):P},{top:p.top||0,bottom:p.bottom||0}),_=me(me({},x),g),b=_.bottom;v&&(_.bottom+=v.props.height||cu.defaultProps.height),y&&n&&(_=MSe(_,i,r,n));var w=c-_.left-_.right,S=f-_.top-_.bottom;return me(me({brushBottom:b},_),{},{width:Math.max(w,0),height:Math.max(S,0)})},AMe=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},nC=function(t){var n=t.chartName,r=t.GraphicalChild,i=t.defaultTooltipEventType,o=i===void 0?"axis":i,a=t.validateTooltipEventTypes,s=a===void 0?["axis"]:a,l=t.axisComponents,c=t.legendContent,f=t.formatAxisMap,d=t.defaultProps,p=function(x,_){var b=_.graphicalItems,w=_.stackGroups,S=_.offset,P=_.updateId,E=_.dataStartIndex,T=_.dataEndIndex,j=x.barSize,F=x.layout,k=x.barGap,I=x.barCategoryGap,D=x.maxBarSize,K=JL(F),W=K.numericAxisName,X=K.cateAxisName,Q=TMe(b),te=[];return b.forEach(function(Z,z){var B=rb(x.data,{graphicalItems:[Z],dataStartIndex:E,dataEndIndex:T}),H=Z.type.defaultProps!==void 0?me(me({},Z.type.defaultProps),Z.props):Z.props,ee=H.dataKey,q=H.maxBarSize,ne=H["".concat(W,"Id")],re=H["".concat(X,"Id")],ae={},ue=l.reduce(function(je,Te){var ke=_["".concat(Te.axisType,"Map")],le=H["".concat(Te.axisType,"Id")];ke&&ke[le]||Te.axisType==="zAxis"||fl();var fe=ke[le];return me(me({},je),{},He(He({},Te.axisType,fe),"".concat(Te.axisType,"Ticks"),To(fe)))},ae),A=ue[X],N=ue["".concat(X,"Ticks")],U=w&&w[ne]&&w[ne].hasStack&&WSe(Z,w[ne].stackGroups),J=Ao(Z.type).indexOf("Bar")>=0,Y=Bg(A,N),oe=[],he=Q&&kSe({barSize:j,stackGroups:w,totalSize:AMe(ue,X)});if(J){var Ee,se,pe=ze(q)?D:q,ve=(Ee=(se=Bg(A,N,!0))!==null&&se!==void 0?se:pe)!==null&&Ee!==void 0?Ee:0;oe=NSe({barGap:k,barCategoryGap:I,bandSize:ve!==Y?ve:Y,sizeList:he[re],maxBarSize:pe}),ve!==Y&&(oe=oe.map(function(je){return me(me({},je),{},{position:me(me({},je.position),{},{offset:je.position.offset-ve/2})})}))}var xe=Z&&Z.type&&Z.type.getComposedData;xe&&te.push({props:me(me({},xe(me(me({},ue),{},{displayedData:B,props:x,dataKey:ee,item:Z,bandSize:Y,barPosition:oe,offset:S,stackedData:U,layout:F,dataStartIndex:E,dataEndIndex:T}))),{},He(He(He({key:Z.key||"item-".concat(z)},W,ue[W]),X,ue[X]),"animationId",P)),childIndex:Nde(Z,x.children),item:Z})}),te},v=function(x,_){var b=x.props,w=x.dataStartIndex,S=x.dataEndIndex,P=x.updateId;if(!ck({props:b}))return null;var E=b.children,T=b.layout,j=b.stackOffset,F=b.data,k=b.reverseStackOrder,I=JL(T),D=I.numericAxisName,K=I.cateAxisName,W=Jn(E,r),X=zSe(F,W,"".concat(D,"Id"),"".concat(K,"Id"),j,k),Q=l.reduce(function(H,ee){var q="".concat(ee.axisType,"Map");return me(me({},H),{},He({},q,EMe(b,me(me({},ee),{},{graphicalItems:W,stackGroups:ee.axisType===D&&X,dataStartIndex:w,dataEndIndex:S}))))},{}),te=jMe(me(me({},Q),{},{props:b,graphicalItems:W}),_==null?void 0:_.legendBBox);Object.keys(Q).forEach(function(H){Q[H]=f(b,Q[H],te,H.replace("Map",""),n)});var Z=Q["".concat(K,"Map")],z=CMe(Z),B=p(b,me(me({},Q),{},{dataStartIndex:w,dataEndIndex:S,updateId:P,graphicalItems:W,stackGroups:X,offset:te}));return me(me({formattedGraphicalItems:B,graphicalItems:W,offset:te,stackGroups:X},z),Q)},y=function(g){function x(_){var b,w,S;return cMe(this,x),S=dMe(this,x,[_]),He(S,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),He(S,"accessibilityManager",new YNe),He(S,"handleLegendBBoxUpdate",function(P){if(P){var E=S.state,T=E.dataStartIndex,j=E.dataEndIndex,F=E.updateId;S.setState(me({legendBBox:P},v({props:S.props,dataStartIndex:T,dataEndIndex:j,updateId:F},me(me({},S.state),{},{legendBBox:P}))))}}),He(S,"handleReceiveSyncEvent",function(P,E,T){if(S.props.syncId===P){if(T===S.eventEmitterSymbol&&typeof S.props.syncMethod!="function")return;S.applySyncEvent(E)}}),He(S,"handleBrushChange",function(P){var E=P.startIndex,T=P.endIndex;if(E!==S.state.dataStartIndex||T!==S.state.dataEndIndex){var j=S.state.updateId;S.setState(function(){return me({dataStartIndex:E,dataEndIndex:T},v({props:S.props,dataStartIndex:E,dataEndIndex:T,updateId:j},S.state))}),S.triggerSyncEvent({dataStartIndex:E,dataEndIndex:T})}}),He(S,"handleMouseEnter",function(P){var E=S.getMouseInfo(P);if(E){var T=me(me({},E),{},{isTooltipActive:!0});S.setState(T),S.triggerSyncEvent(T);var j=S.props.onMouseEnter;We(j)&&j(T,P)}}),He(S,"triggeredAfterMouseMove",function(P){var E=S.getMouseInfo(P),T=E?me(me({},E),{},{isTooltipActive:!0}):{isTooltipActive:!1};S.setState(T),S.triggerSyncEvent(T);var j=S.props.onMouseMove;We(j)&&j(T,P)}),He(S,"handleItemMouseEnter",function(P){S.setState(function(){return{isTooltipActive:!0,activeItem:P,activePayload:P.tooltipPayload,activeCoordinate:P.tooltipPosition||{x:P.cx,y:P.cy}}})}),He(S,"handleItemMouseLeave",function(){S.setState(function(){return{isTooltipActive:!1}})}),He(S,"handleMouseMove",function(P){P.persist(),S.throttleTriggeredAfterMouseMove(P)}),He(S,"handleMouseLeave",function(P){S.throttleTriggeredAfterMouseMove.cancel();var E={isTooltipActive:!1};S.setState(E),S.triggerSyncEvent(E);var T=S.props.onMouseLeave;We(T)&&T(E,P)}),He(S,"handleOuterEvent",function(P){var E=kde(P),T=jr(S.props,"".concat(E));if(E&&We(T)){var j,F;/.*touch.*/i.test(E)?F=S.getMouseInfo(P.changedTouches[0]):F=S.getMouseInfo(P),T((j=F)!==null&&j!==void 0?j:{},P)}}),He(S,"handleClick",function(P){var E=S.getMouseInfo(P);if(E){var T=me(me({},E),{},{isTooltipActive:!0});S.setState(T),S.triggerSyncEvent(T);var j=S.props.onClick;We(j)&&j(T,P)}}),He(S,"handleMouseDown",function(P){var E=S.props.onMouseDown;if(We(E)){var T=S.getMouseInfo(P);E(T,P)}}),He(S,"handleMouseUp",function(P){var E=S.props.onMouseUp;if(We(E)){var T=S.getMouseInfo(P);E(T,P)}}),He(S,"handleTouchMove",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&S.throttleTriggeredAfterMouseMove(P.changedTouches[0])}),He(S,"handleTouchStart",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&S.handleMouseDown(P.changedTouches[0])}),He(S,"handleTouchEnd",function(P){P.changedTouches!=null&&P.changedTouches.length>0&&S.handleMouseUp(P.changedTouches[0])}),He(S,"triggerSyncEvent",function(P){S.props.syncId!==void 0&&i_.emit(o_,S.props.syncId,P,S.eventEmitterSymbol)}),He(S,"applySyncEvent",function(P){var E=S.props,T=E.layout,j=E.syncMethod,F=S.state.updateId,k=P.dataStartIndex,I=P.dataEndIndex;if(P.dataStartIndex!==void 0||P.dataEndIndex!==void 0)S.setState(me({dataStartIndex:k,dataEndIndex:I},v({props:S.props,dataStartIndex:k,dataEndIndex:I,updateId:F},S.state)));else if(P.activeTooltipIndex!==void 0){var D=P.chartX,K=P.chartY,W=P.activeTooltipIndex,X=S.state,Q=X.offset,te=X.tooltipTicks;if(!Q)return;if(typeof j=="function")W=j(te,P);else if(j==="value"){W=-1;for(var Z=0;Z=0){var U,J;if(D.dataKey&&!D.allowDuplicatedCategory){var Y=typeof D.dataKey=="function"?N:"payload.".concat(D.dataKey.toString());U=dg(Z,Y,W),J=z&&B&&dg(B,Y,W)}else U=Z==null?void 0:Z[K],J=z&&B&&B[K];if(re||ne){var oe=P.props.activeIndex!==void 0?P.props.activeIndex:K;return[M.cloneElement(P,me(me(me({},j.props),ue),{},{activeIndex:oe})),null,null]}if(!ze(U))return[A].concat(wu(S.renderActivePoints({item:j,activePoint:U,basePoint:J,childIndex:K,isRange:z})))}else{var he,Ee=(he=S.getItemByXY(S.state.activeCoordinate))!==null&&he!==void 0?he:{graphicalItem:A},se=Ee.graphicalItem,pe=se.item,ve=pe===void 0?P:pe,xe=se.childIndex,je=me(me(me({},j.props),ue),{},{activeIndex:xe});return[M.cloneElement(ve,je),null,null]}return z?[A,null,null]:[A,null]}),He(S,"renderCustomized",function(P,E,T){return M.cloneElement(P,me(me({key:"recharts-customized-".concat(T)},S.props),S.state))}),He(S,"renderMap",{CartesianGrid:{handler:wm,once:!0},ReferenceArea:{handler:S.renderReferenceElement},ReferenceLine:{handler:wm},ReferenceDot:{handler:S.renderReferenceElement},XAxis:{handler:wm},YAxis:{handler:wm},Brush:{handler:S.renderBrush,once:!0},Bar:{handler:S.renderGraphicChild},Line:{handler:S.renderGraphicChild},Area:{handler:S.renderGraphicChild},Radar:{handler:S.renderGraphicChild},RadialBar:{handler:S.renderGraphicChild},Scatter:{handler:S.renderGraphicChild},Pie:{handler:S.renderGraphicChild},Funnel:{handler:S.renderGraphicChild},Tooltip:{handler:S.renderCursor,once:!0},PolarGrid:{handler:S.renderPolarGrid,once:!0},PolarAngleAxis:{handler:S.renderPolarAxis},PolarRadiusAxis:{handler:S.renderPolarAxis},Customized:{handler:S.renderCustomized}}),S.clipPathId="".concat((b=_.id)!==null&&b!==void 0?b:os("recharts"),"-clip"),S.throttleTriggeredAfterMouseMove=S8(S.triggeredAfterMouseMove,(w=_.throttleDelay)!==null&&w!==void 0?w:1e3/60),S.state={},S}return mMe(x,g),fMe(x,[{key:"componentDidMount",value:function(){var b,w;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(b=this.props.margin.left)!==null&&b!==void 0?b:0,top:(w=this.props.margin.top)!==null&&w!==void 0?w:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var b=this.props,w=b.children,S=b.data,P=b.height,E=b.layout,T=Or(w,Kr);if(T){var j=T.props.defaultIndex;if(!(typeof j!="number"||j<0||j>this.state.tooltipTicks.length-1)){var F=this.state.tooltipTicks[j]&&this.state.tooltipTicks[j].value,k=UO(this.state,S,j,F),I=this.state.tooltipTicks[j].coordinate,D=(this.state.offset.top+P)/2,K=E==="horizontal",W=K?{x:I,y:D}:{y:I,x:D},X=this.state.formattedGraphicalItems.find(function(te){var Z=te.item;return Z.type.name==="Scatter"});X&&(W=me(me({},W),X.props.points[j].tooltipPosition),k=X.props.points[j].tooltipPayload);var Q={activeTooltipIndex:j,isTooltipActive:!0,activeLabel:F,activePayload:k,activeCoordinate:W};this.setState(Q),this.renderCursor(T),this.accessibilityManager.setIndex(j)}}}},{key:"getSnapshotBeforeUpdate",value:function(b,w){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==w.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==b.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==b.margin){var S,P;this.accessibilityManager.setDetails({offset:{left:(S=this.props.margin.left)!==null&&S!==void 0?S:0,top:(P=this.props.margin.top)!==null&&P!==void 0?P:0}})}return null}},{key:"componentDidUpdate",value:function(b){h2([Or(b.children,Kr)],[Or(this.props.children,Kr)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var b=Or(this.props.children,Kr);if(b&&typeof b.props.shared=="boolean"){var w=b.props.shared?"axis":"item";return s.indexOf(w)>=0?w:o}return o}},{key:"getMouseInfo",value:function(b){if(!this.container)return null;var w=this.container,S=w.getBoundingClientRect(),P=ixe(S),E={chartX:Math.round(b.pageX-P.left),chartY:Math.round(b.pageY-P.top)},T=S.width/w.offsetWidth||1,j=this.inRange(E.chartX,E.chartY,T);if(!j)return null;var F=this.state,k=F.xAxisMap,I=F.yAxisMap,D=this.getTooltipEventType();if(D!=="axis"&&k&&I){var K=ya(k).scale,W=ya(I).scale,X=K&&K.invert?K.invert(E.chartX):null,Q=W&&W.invert?W.invert(E.chartY):null;return me(me({},E),{},{xValue:X,yValue:Q})}var te=XL(this.state,this.props.data,this.props.layout,j);return te?me(me({},E),te):null}},{key:"inRange",value:function(b,w){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,P=this.props.layout,E=b/S,T=w/S;if(P==="horizontal"||P==="vertical"){var j=this.state.offset,F=E>=j.left&&E<=j.left+j.width&&T>=j.top&&T<=j.top+j.height;return F?{x:E,y:T}:null}var k=this.state,I=k.angleAxisMap,D=k.radiusAxisMap;if(I&&D){var K=ya(I);return yM({x:E,y:T},K)}return null}},{key:"parseEventsOfWrapper",value:function(){var b=this.props.children,w=this.getTooltipEventType(),S=Or(b,Kr),P={};S&&w==="axis"&&(S.props.trigger==="click"?P={onClick:this.handleClick}:P={onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd});var E=hg(this.props,this.handleOuterEvent);return me(me({},E),P)}},{key:"addListener",value:function(){i_.on(o_,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){i_.removeListener(o_,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(b,w,S){for(var P=this.state.formattedGraphicalItems,E=0,T=P.length;E");return e}function IMe(e){function t(n,r){const{instance:i,context:o}=e(n).current;return M.useImperativeHandle(r,()=>i),n.children==null?null:V.createElement(iB,{value:o},n.children)}return M.forwardRef(t)}function DMe(e){function t(n,r){const[i,o]=M.useState(!1),{instance:a}=e(n,o).current;M.useImperativeHandle(r,()=>a),M.useEffect(function(){i&&a.update()},[a,i,n.children]);const s=a._contentNode;return s?Uy.createPortal(n.children,s):null}return M.forwardRef(t)}function FMe(e){function t(n,r){const{instance:i}=e(n).current;return M.useImperativeHandle(r,()=>i),null}return M.forwardRef(t)}function aB(e,t){const n=M.useRef();M.useEffect(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function rC(e,t){const n=e.pane??t.pane;return n?{...e,pane:n}:e}function BMe(e,t){return function(r,i){const o=oB(),a=e(rC(r,o),o);return nB(o.map,r.attribution),aB(a.current,r.eventHandlers),t(a.current,o,r,i),a}}var zO={exports:{}};/* @preserve + * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,t){(function(n,r){r(t)})(Xl,function(n){var r="1.9.4";function i(u){var h,O,C,R;for(O=1,C=arguments.length;O"u"||!L||!L.Mixin)){u=w(u)?u:[u];for(var h=0;h0?Math.floor(u):Math.ceil(u)};Z.prototype={clone:function(){return new Z(this.x,this.y)},add:function(u){return this.clone()._add(B(u))},_add:function(u){return this.x+=u.x,this.y+=u.y,this},subtract:function(u){return this.clone()._subtract(B(u))},_subtract:function(u){return this.x-=u.x,this.y-=u.y,this},divideBy:function(u){return this.clone()._divideBy(u)},_divideBy:function(u){return this.x/=u,this.y/=u,this},multiplyBy:function(u){return this.clone()._multiplyBy(u)},_multiplyBy:function(u){return this.x*=u,this.y*=u,this},scaleBy:function(u){return new Z(this.x*u.x,this.y*u.y)},unscaleBy:function(u){return new Z(this.x/u.x,this.y/u.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=z(this.x),this.y=z(this.y),this},distanceTo:function(u){u=B(u);var h=u.x-this.x,O=u.y-this.y;return Math.sqrt(h*h+O*O)},equals:function(u){return u=B(u),u.x===this.x&&u.y===this.y},contains:function(u){return u=B(u),Math.abs(u.x)<=Math.abs(this.x)&&Math.abs(u.y)<=Math.abs(this.y)},toString:function(){return"Point("+p(this.x)+", "+p(this.y)+")"}};function B(u,h,O){return u instanceof Z?u:w(u)?new Z(u[0],u[1]):u==null?u:typeof u=="object"&&"x"in u&&"y"in u?new Z(u.x,u.y):new Z(u,h,O)}function H(u,h){if(u)for(var O=h?[u,h]:u,C=0,R=O.length;C=this.min.x&&O.x<=this.max.x&&h.y>=this.min.y&&O.y<=this.max.y},intersects:function(u){u=ee(u);var h=this.min,O=this.max,C=u.min,R=u.max,G=R.x>=h.x&&C.x<=O.x,ie=R.y>=h.y&&C.y<=O.y;return G&&ie},overlaps:function(u){u=ee(u);var h=this.min,O=this.max,C=u.min,R=u.max,G=R.x>h.x&&C.xh.y&&C.y=h.lat&&R.lat<=O.lat&&C.lng>=h.lng&&R.lng<=O.lng},intersects:function(u){u=ne(u);var h=this._southWest,O=this._northEast,C=u.getSouthWest(),R=u.getNorthEast(),G=R.lat>=h.lat&&C.lat<=O.lat,ie=R.lng>=h.lng&&C.lng<=O.lng;return G&&ie},overlaps:function(u){u=ne(u);var h=this._southWest,O=this._northEast,C=u.getSouthWest(),R=u.getNorthEast(),G=R.lat>h.lat&&C.lath.lng&&C.lng1,Kt=function(){var u=!1;try{var h=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("testPassiveEventSupport",d,h),window.removeEventListener("testPassiveEventSupport",d,h)}catch{}return u}(),zn=function(){return!!document.createElement("canvas").getContext}(),On=!!(document.createElementNS&&Ee("svg").createSVGRect),Sn=!!On&&function(){var u=document.createElement("div");return u.innerHTML="",(u.firstChild&&u.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),an=!On&&function(){try{var u=document.createElement("div");u.innerHTML='';var h=u.firstChild;return h.style.behavior="url(#default#VML)",h&&typeof h.adj=="object"}catch{return!1}}(),di=navigator.platform.indexOf("Mac")===0,hi=navigator.platform.indexOf("Linux")===0;function Pn(u){return navigator.userAgent.toLowerCase().indexOf(u)>=0}var Be={ie:ve,ielt9:xe,edge:je,webkit:Te,android:ke,android23:le,androidStock:ye,opera:ge,chrome:we,gecko:Ne,safari:Le,phantom:Je,opera12:tt,win:Ye,ie3d:Wt,webkit3d:It,gecko3d:hn,any3d:Un,mobile:Fi,mobileWebkit:wn,mobileWebkit3d:Qu,msPointer:Bi,pointer:yp,touch:_p,touchNative:bp,mobileOpera:Ju,mobileGecko:us,retina:Jt,passiveEvents:Kt,canvas:zn,svg:On,vml:an,inlineSvg:Sn,mac:di,linux:hi},NC=Be.msPointer?"MSPointerDown":"pointerdown",MC=Be.msPointer?"MSPointerMove":"pointermove",LC=Be.msPointer?"MSPointerUp":"pointerup",RC=Be.msPointer?"MSPointerCancel":"pointercancel",pb={touchstart:NC,touchmove:MC,touchend:LC,touchcancel:RC},$C={touchstart:I9,touchmove:xp,touchend:xp,touchcancel:xp},Pl={},IC=!1;function N9(u,h,O){return h==="touchstart"&&$9(),$C[h]?(O=$C[h].bind(this,O),u.addEventListener(pb[h],O,!1),O):(console.warn("wrong event specified:",h),d)}function M9(u,h,O){if(!pb[h]){console.warn("wrong event specified:",h);return}u.removeEventListener(pb[h],O,!1)}function L9(u){Pl[u.pointerId]=u}function R9(u){Pl[u.pointerId]&&(Pl[u.pointerId]=u)}function DC(u){delete Pl[u.pointerId]}function $9(){IC||(document.addEventListener(NC,L9,!0),document.addEventListener(MC,R9,!0),document.addEventListener(LC,DC,!0),document.addEventListener(RC,DC,!0),IC=!0)}function xp(u,h){if(h.pointerType!==(h.MSPOINTER_TYPE_MOUSE||"mouse")){h.touches=[];for(var O in Pl)h.touches.push(Pl[O]);h.changedTouches=[h],u(h)}}function I9(u,h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&En(h),xp(u,h)}function D9(u){var h={},O,C;for(C in u)O=u[C],h[C]=O&&O.bind?O.bind(u):O;return u=h,h.type="dblclick",h.detail=2,h.isTrusted=!1,h._simulated=!0,h}var F9=200;function B9(u,h){u.addEventListener("dblclick",h);var O=0,C;function R(G){if(G.detail!==1){C=G.detail;return}if(!(G.pointerType==="mouse"||G.sourceCapabilities&&!G.sourceCapabilities.firesTouchEvents)){var ie=VC(G);if(!(ie.some(function(de){return de instanceof HTMLLabelElement&&de.attributes.for})&&!ie.some(function(de){return de instanceof HTMLInputElement||de instanceof HTMLSelectElement}))){var ce=Date.now();ce-O<=F9?(C++,C===2&&h(D9(G))):C=1,O=ce}}}return u.addEventListener("click",R),{dblclick:h,simDblclick:R}}function U9(u,h){u.removeEventListener("dblclick",h.dblclick),u.removeEventListener("click",h.simDblclick)}var mb=Sp(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ef=Sp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),FC=ef==="webkitTransition"||ef==="OTransition"?ef+"End":"transitionend";function BC(u){return typeof u=="string"?document.getElementById(u):u}function tf(u,h){var O=u.style[h]||u.currentStyle&&u.currentStyle[h];if((!O||O==="auto")&&document.defaultView){var C=document.defaultView.getComputedStyle(u,null);O=C?C[h]:null}return O==="auto"?null:O}function ut(u,h,O){var C=document.createElement(u);return C.className=h||"",O&&O.appendChild(C),C}function Dt(u){var h=u.parentNode;h&&h.removeChild(u)}function wp(u){for(;u.firstChild;)u.removeChild(u.firstChild)}function El(u){var h=u.parentNode;h&&h.lastChild!==u&&h.appendChild(u)}function Cl(u){var h=u.parentNode;h&&h.firstChild!==u&&h.insertBefore(u,h.firstChild)}function vb(u,h){if(u.classList!==void 0)return u.classList.contains(h);var O=Op(u);return O.length>0&&new RegExp("(^|\\s)"+h+"(\\s|$)").test(O)}function Qe(u,h){if(u.classList!==void 0)for(var O=y(h),C=0,R=O.length;C0?2*window.devicePixelRatio:1;function HC(u){return Be.edge?u.wheelDeltaY/2:u.deltaY&&u.deltaMode===0?-u.deltaY/W9:u.deltaY&&u.deltaMode===1?-u.deltaY*20:u.deltaY&&u.deltaMode===2?-u.deltaY*60:u.deltaX||u.deltaZ?0:u.wheelDelta?(u.wheelDeltaY||u.wheelDelta)/2:u.detail&&Math.abs(u.detail)<32765?-u.detail*20:u.detail?u.detail/-32765*60:0}function Tb(u,h){var O=h.relatedTarget;if(!O)return!0;try{for(;O&&O!==u;)O=O.parentNode}catch{return!1}return O!==u}var H9={__proto__:null,on:Ze,off:_t,stopPropagation:hs,disableScrollPropagation:Cb,disableClickPropagation:af,preventDefault:En,stop:ps,getPropagationPath:VC,getMousePosition:WC,getWheelDelta:HC,isExternalTarget:Tb,addListener:Ze,removeListener:_t},GC=te.extend({run:function(u,h,O,C){this.stop(),this._el=u,this._inProgress=!0,this._duration=O||.25,this._easeOutPower=1/Math.max(C||.5,.2),this._startPos=ds(u),this._offset=h.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=I(this._animate,this),this._step()},_step:function(u){var h=+new Date-this._startTime,O=this._duration*1e3;hthis.options.maxZoom)?this.setZoom(u):this},panInsideBounds:function(u,h){this._enforcingBounds=!0;var O=this.getCenter(),C=this._limitCenter(O,this._zoom,ne(u));return O.equals(C)||this.panTo(C,h),this._enforcingBounds=!1,this},panInside:function(u,h){h=h||{};var O=B(h.paddingTopLeft||h.padding||[0,0]),C=B(h.paddingBottomRight||h.padding||[0,0]),R=this.project(this.getCenter()),G=this.project(u),ie=this.getPixelBounds(),ce=ee([ie.min.add(O),ie.max.subtract(C)]),de=ce.getSize();if(!ce.contains(G)){this._enforcingBounds=!0;var _e=G.subtract(ce.getCenter()),Re=ce.extend(G).getSize().subtract(de);R.x+=_e.x<0?-Re.x:Re.x,R.y+=_e.y<0?-Re.y:Re.y,this.panTo(this.unproject(R),h),this._enforcingBounds=!1}return this},invalidateSize:function(u){if(!this._loaded)return this;u=i({animate:!1,pan:!0},u===!0?{animate:!0}:u);var h=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var O=this.getSize(),C=h.divideBy(2).round(),R=O.divideBy(2).round(),G=C.subtract(R);return!G.x&&!G.y?this:(u.animate&&u.pan?this.panBy(G):(u.pan&&this._rawPanBy(G),this.fire("move"),u.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:h,newSize:O}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(u){if(u=this._locateOptions=i({timeout:1e4,watch:!1},u),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var h=a(this._handleGeolocationResponse,this),O=a(this._handleGeolocationError,this);return u.watch?this._locationWatchId=navigator.geolocation.watchPosition(h,O,u):navigator.geolocation.getCurrentPosition(h,O,u),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(u){if(this._container._leaflet_id){var h=u.code,O=u.message||(h===1?"permission denied":h===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:h,message:"Geolocation error: "+O+"."})}},_handleGeolocationResponse:function(u){if(this._container._leaflet_id){var h=u.coords.latitude,O=u.coords.longitude,C=new re(h,O),R=C.toBounds(u.coords.accuracy*2),G=this._locateOptions;if(G.setView){var ie=this.getBoundsZoom(R);this.setView(C,G.maxZoom?Math.min(ie,G.maxZoom):ie)}var ce={latlng:C,bounds:R,timestamp:u.timestamp};for(var de in u.coords)typeof u.coords[de]=="number"&&(ce[de]=u.coords[de]);this.fire("locationfound",ce)}},addHandler:function(u,h){if(!h)return this;var O=this[u]=new h(this);return this._handlers.push(O),this.options[u]&&O.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Dt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(D(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var u;for(u in this._layers)this._layers[u].remove();for(u in this._panes)Dt(this._panes[u]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(u,h){var O="leaflet-pane"+(u?" leaflet-"+u.replace("Pane","")+"-pane":""),C=ut("div",O,h||this._mapPane);return u&&(this._panes[u]=C),C},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var u=this.getPixelBounds(),h=this.unproject(u.getBottomLeft()),O=this.unproject(u.getTopRight());return new q(h,O)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(u,h,O){u=ne(u),O=B(O||[0,0]);var C=this.getZoom()||0,R=this.getMinZoom(),G=this.getMaxZoom(),ie=u.getNorthWest(),ce=u.getSouthEast(),de=this.getSize().subtract(O),_e=ee(this.project(ce,C),this.project(ie,C)).getSize(),Re=Be.any3d?this.options.zoomSnap:1,Ve=de.x/_e.x,et=de.y/_e.y,Vn=h?Math.max(Ve,et):Math.min(Ve,et);return C=this.getScaleZoom(Vn,C),Re&&(C=Math.round(C/(Re/100))*(Re/100),C=h?Math.ceil(C/Re)*Re:Math.floor(C/Re)*Re),Math.max(R,Math.min(G,C))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new Z(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(u,h){var O=this._getTopLeftPoint(u,h);return new H(O,O.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(u){return this.options.crs.getProjectedBounds(u===void 0?this.getZoom():u)},getPane:function(u){return typeof u=="string"?this._panes[u]:u},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(u,h){var O=this.options.crs;return h=h===void 0?this._zoom:h,O.scale(u)/O.scale(h)},getScaleZoom:function(u,h){var O=this.options.crs;h=h===void 0?this._zoom:h;var C=O.zoom(u*O.scale(h));return isNaN(C)?1/0:C},project:function(u,h){return h=h===void 0?this._zoom:h,this.options.crs.latLngToPoint(ae(u),h)},unproject:function(u,h){return h=h===void 0?this._zoom:h,this.options.crs.pointToLatLng(B(u),h)},layerPointToLatLng:function(u){var h=B(u).add(this.getPixelOrigin());return this.unproject(h)},latLngToLayerPoint:function(u){var h=this.project(ae(u))._round();return h._subtract(this.getPixelOrigin())},wrapLatLng:function(u){return this.options.crs.wrapLatLng(ae(u))},wrapLatLngBounds:function(u){return this.options.crs.wrapLatLngBounds(ne(u))},distance:function(u,h){return this.options.crs.distance(ae(u),ae(h))},containerPointToLayerPoint:function(u){return B(u).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(u){return B(u).add(this._getMapPanePos())},containerPointToLatLng:function(u){var h=this.containerPointToLayerPoint(B(u));return this.layerPointToLatLng(h)},latLngToContainerPoint:function(u){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ae(u)))},mouseEventToContainerPoint:function(u){return WC(u,this._container)},mouseEventToLayerPoint:function(u){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(u))},mouseEventToLatLng:function(u){return this.layerPointToLatLng(this.mouseEventToLayerPoint(u))},_initContainer:function(u){var h=this._container=BC(u);if(h){if(h._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Ze(h,"scroll",this._onScroll,this),this._containerId=l(h)},_initLayout:function(){var u=this._container;this._fadeAnimated=this.options.fadeAnimation&&Be.any3d,Qe(u,"leaflet-container"+(Be.touch?" leaflet-touch":"")+(Be.retina?" leaflet-retina":"")+(Be.ielt9?" leaflet-oldie":"")+(Be.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var h=tf(u,"position");h!=="absolute"&&h!=="relative"&&h!=="fixed"&&h!=="sticky"&&(u.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var u=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),en(this._mapPane,new Z(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Qe(u.markerPane,"leaflet-zoom-hide"),Qe(u.shadowPane,"leaflet-zoom-hide"))},_resetView:function(u,h,O){en(this._mapPane,new Z(0,0));var C=!this._loaded;this._loaded=!0,h=this._limitZoom(h),this.fire("viewprereset");var R=this._zoom!==h;this._moveStart(R,O)._move(u,h)._moveEnd(R),this.fire("viewreset"),C&&this.fire("load")},_moveStart:function(u,h){return u&&this.fire("zoomstart"),h||this.fire("movestart"),this},_move:function(u,h,O,C){h===void 0&&(h=this._zoom);var R=this._zoom!==h;return this._zoom=h,this._lastCenter=u,this._pixelOrigin=this._getNewPixelOrigin(u),C?O&&O.pinch&&this.fire("zoom",O):((R||O&&O.pinch)&&this.fire("zoom",O),this.fire("move",O)),this},_moveEnd:function(u){return u&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return D(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(u){en(this._mapPane,this._getMapPanePos().subtract(u))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(u){this._targets={},this._targets[l(this._container)]=this;var h=u?_t:Ze;h(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&h(window,"resize",this._onResize,this),Be.any3d&&this.options.transform3DLimit&&(u?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){D(this._resizeRequest),this._resizeRequest=I(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var u=this._getMapPanePos();Math.max(Math.abs(u.x),Math.abs(u.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(u,h){for(var O=[],C,R=h==="mouseout"||h==="mouseover",G=u.target||u.srcElement,ie=!1;G;){if(C=this._targets[l(G)],C&&(h==="click"||h==="preclick")&&this._draggableMoved(C)){ie=!0;break}if(C&&C.listens(h,!0)&&(R&&!Tb(G,u)||(O.push(C),R))||G===this._container)break;G=G.parentNode}return!O.length&&!ie&&!R&&this.listens(h,!0)&&(O=[this]),O},_isClickDisabled:function(u){for(;u&&u!==this._container;){if(u._leaflet_disable_click)return!0;u=u.parentNode}},_handleDOMEvent:function(u){var h=u.target||u.srcElement;if(!(!this._loaded||h._leaflet_disable_events||u.type==="click"&&this._isClickDisabled(h))){var O=u.type;O==="mousedown"&&wb(h),this._fireDOMEvent(u,O)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(u,h,O){if(u.type==="click"){var C=i({},u);C.type="preclick",this._fireDOMEvent(C,C.type,O)}var R=this._findEventTargets(u,h);if(O){for(var G=[],ie=0;ie0?Math.round(u-h)/2:Math.max(0,Math.ceil(u))-Math.max(0,Math.floor(h))},_limitZoom:function(u){var h=this.getMinZoom(),O=this.getMaxZoom(),C=Be.any3d?this.options.zoomSnap:1;return C&&(u=Math.round(u/C)*C),Math.max(h,Math.min(O,u))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Yt(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(u,h){var O=this._getCenterOffset(u)._trunc();return(h&&h.animate)!==!0&&!this.getSize().contains(O)?!1:(this.panBy(O,h),!0)},_createAnimProxy:function(){var u=this._proxy=ut("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(u),this.on("zoomanim",function(h){var O=mb,C=this._proxy.style[O];fs(this._proxy,this.project(h.center,h.zoom),this.getZoomScale(h.zoom,1)),C===this._proxy.style[O]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Dt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var u=this.getCenter(),h=this.getZoom();fs(this._proxy,this.project(u,h),this.getZoomScale(h,1))},_catchTransitionEnd:function(u){this._animatingZoom&&u.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(u,h,O){if(this._animatingZoom)return!0;if(O=O||{},!this._zoomAnimated||O.animate===!1||this._nothingToAnimate()||Math.abs(h-this._zoom)>this.options.zoomAnimationThreshold)return!1;var C=this.getZoomScale(h),R=this._getCenterOffset(u)._divideBy(1-1/C);return O.animate!==!0&&!this.getSize().contains(R)?!1:(I(function(){this._moveStart(!0,O.noMoveStart||!1)._animateZoom(u,h,!0)},this),!0)},_animateZoom:function(u,h,O,C){this._mapPane&&(O&&(this._animatingZoom=!0,this._animateToCenter=u,this._animateToZoom=h,Qe(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:u,zoom:h,noUpdate:C}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Yt(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function G9(u,h){return new lt(u,h)}var pi=W.extend({options:{position:"topright"},initialize:function(u){g(this,u)},getPosition:function(){return this.options.position},setPosition:function(u){var h=this._map;return h&&h.removeControl(this),this.options.position=u,h&&h.addControl(this),this},getContainer:function(){return this._container},addTo:function(u){this.remove(),this._map=u;var h=this._container=this.onAdd(u),O=this.getPosition(),C=u._controlCorners[O];return Qe(h,"leaflet-control"),O.indexOf("bottom")!==-1?C.insertBefore(h,C.firstChild):C.appendChild(h),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Dt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(u){this._map&&u&&u.screenX>0&&u.screenY>0&&this._map.getContainer().focus()}}),sf=function(u){return new pi(u)};lt.include({addControl:function(u){return u.addTo(this),this},removeControl:function(u){return u.remove(),this},_initControlPos:function(){var u=this._controlCorners={},h="leaflet-",O=this._controlContainer=ut("div",h+"control-container",this._container);function C(R,G){var ie=h+R+" "+h+G;u[R+G]=ut("div",ie,O)}C("top","left"),C("top","right"),C("bottom","left"),C("bottom","right")},_clearControlPos:function(){for(var u in this._controlCorners)Dt(this._controlCorners[u]);Dt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var qC=pi.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(u,h,O,C){return O1,this._baseLayersList.style.display=u?"":"none"),this._separator.style.display=h&&u?"":"none",this},_onLayerChange:function(u){this._handlingClick||this._update();var h=this._getLayer(l(u.target)),O=h.overlay?u.type==="add"?"overlayadd":"overlayremove":u.type==="add"?"baselayerchange":null;O&&this._map.fire(O,h)},_createRadioElement:function(u,h){var O='",C=document.createElement("div");return C.innerHTML=O,C.firstChild},_addItem:function(u){var h=document.createElement("label"),O=this._map.hasLayer(u.layer),C;u.overlay?(C=document.createElement("input"),C.type="checkbox",C.className="leaflet-control-layers-selector",C.defaultChecked=O):C=this._createRadioElement("leaflet-base-layers_"+l(this),O),this._layerControlInputs.push(C),C.layerId=l(u.layer),Ze(C,"click",this._onInputClick,this);var R=document.createElement("span");R.innerHTML=" "+u.name;var G=document.createElement("span");h.appendChild(G),G.appendChild(C),G.appendChild(R);var ie=u.overlay?this._overlaysList:this._baseLayersList;return ie.appendChild(h),this._checkDisabledLayers(),h},_onInputClick:function(){if(!this._preventClick){var u=this._layerControlInputs,h,O,C=[],R=[];this._handlingClick=!0;for(var G=u.length-1;G>=0;G--)h=u[G],O=this._getLayer(h.layerId).layer,h.checked?C.push(O):h.checked||R.push(O);for(G=0;G=0;R--)h=u[R],O=this._getLayer(h.layerId).layer,h.disabled=O.options.minZoom!==void 0&&CO.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var u=this._section;this._preventClick=!0,Ze(u,"click",En),this.expand();var h=this;setTimeout(function(){_t(u,"click",En),h._preventClick=!1})}}),q9=function(u,h,O){return new qC(u,h,O)},jb=pi.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(u){var h="leaflet-control-zoom",O=ut("div",h+" leaflet-bar"),C=this.options;return this._zoomInButton=this._createButton(C.zoomInText,C.zoomInTitle,h+"-in",O,this._zoomIn),this._zoomOutButton=this._createButton(C.zoomOutText,C.zoomOutTitle,h+"-out",O,this._zoomOut),this._updateDisabled(),u.on("zoomend zoomlevelschange",this._updateDisabled,this),O},onRemove:function(u){u.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(u){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(u.shiftKey?3:1))},_createButton:function(u,h,O,C,R){var G=ut("a",O,C);return G.innerHTML=u,G.href="#",G.title=h,G.setAttribute("role","button"),G.setAttribute("aria-label",h),af(G),Ze(G,"click",ps),Ze(G,"click",R,this),Ze(G,"click",this._refocusOnMap,this),G},_updateDisabled:function(){var u=this._map,h="leaflet-disabled";Yt(this._zoomInButton,h),Yt(this._zoomOutButton,h),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||u._zoom===u.getMinZoom())&&(Qe(this._zoomOutButton,h),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||u._zoom===u.getMaxZoom())&&(Qe(this._zoomInButton,h),this._zoomInButton.setAttribute("aria-disabled","true"))}});lt.mergeOptions({zoomControl:!0}),lt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new jb,this.addControl(this.zoomControl))});var K9=function(u){return new jb(u)},KC=pi.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(u){var h="leaflet-control-scale",O=ut("div",h),C=this.options;return this._addScales(C,h+"-line",O),u.on(C.updateWhenIdle?"moveend":"move",this._update,this),u.whenReady(this._update,this),O},onRemove:function(u){u.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(u,h,O){u.metric&&(this._mScale=ut("div",h,O)),u.imperial&&(this._iScale=ut("div",h,O))},_update:function(){var u=this._map,h=u.getSize().y/2,O=u.distance(u.containerPointToLatLng([0,h]),u.containerPointToLatLng([this.options.maxWidth,h]));this._updateScales(O)},_updateScales:function(u){this.options.metric&&u&&this._updateMetric(u),this.options.imperial&&u&&this._updateImperial(u)},_updateMetric:function(u){var h=this._getRoundNum(u),O=h<1e3?h+" m":h/1e3+" km";this._updateScale(this._mScale,O,h/u)},_updateImperial:function(u){var h=u*3.2808399,O,C,R;h>5280?(O=h/5280,C=this._getRoundNum(O),this._updateScale(this._iScale,C+" mi",C/O)):(R=this._getRoundNum(h),this._updateScale(this._iScale,R+" ft",R/h))},_updateScale:function(u,h,O){u.style.width=Math.round(this.options.maxWidth*O)+"px",u.innerHTML=h},_getRoundNum:function(u){var h=Math.pow(10,(Math.floor(u)+"").length-1),O=u/h;return O=O>=10?10:O>=5?5:O>=3?3:O>=2?2:1,h*O}}),Y9=function(u){return new KC(u)},Z9='',Ab=pi.extend({options:{position:"bottomright",prefix:''+(Be.inlineSvg?Z9+" ":"")+"Leaflet"},initialize:function(u){g(this,u),this._attributions={}},onAdd:function(u){u.attributionControl=this,this._container=ut("div","leaflet-control-attribution"),af(this._container);for(var h in u._layers)u._layers[h].getAttribution&&this.addAttribution(u._layers[h].getAttribution());return this._update(),u.on("layeradd",this._addAttribution,this),this._container},onRemove:function(u){u.off("layeradd",this._addAttribution,this)},_addAttribution:function(u){u.layer.getAttribution&&(this.addAttribution(u.layer.getAttribution()),u.layer.once("remove",function(){this.removeAttribution(u.layer.getAttribution())},this))},setPrefix:function(u){return this.options.prefix=u,this._update(),this},addAttribution:function(u){return u?(this._attributions[u]||(this._attributions[u]=0),this._attributions[u]++,this._update(),this):this},removeAttribution:function(u){return u?(this._attributions[u]&&(this._attributions[u]--,this._update()),this):this},_update:function(){if(this._map){var u=[];for(var h in this._attributions)this._attributions[h]&&u.push(h);var O=[];this.options.prefix&&O.push(this.options.prefix),u.length&&O.push(u.join(", ")),this._container.innerHTML=O.join(' ')}}});lt.mergeOptions({attributionControl:!0}),lt.addInitHook(function(){this.options.attributionControl&&new Ab().addTo(this)});var X9=function(u){return new Ab(u)};pi.Layers=qC,pi.Zoom=jb,pi.Scale=KC,pi.Attribution=Ab,sf.layers=q9,sf.zoom=K9,sf.scale=Y9,sf.attribution=X9;var zi=W.extend({initialize:function(u){this._map=u},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});zi.addTo=function(u,h){return u.addHandler(h,this),this};var Q9={Events:Q},YC=Be.touch?"touchstart mousedown":"mousedown",na=te.extend({options:{clickTolerance:3},initialize:function(u,h,O,C){g(this,C),this._element=u,this._dragStartTarget=h||u,this._preventOutline=O},enable:function(){this._enabled||(Ze(this._dragStartTarget,YC,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(na._dragging===this&&this.finishDrag(!0),_t(this._dragStartTarget,YC,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(u){if(this._enabled&&(this._moved=!1,!vb(this._element,"leaflet-zoom-anim"))){if(u.touches&&u.touches.length!==1){na._dragging===this&&this.finishDrag();return}if(!(na._dragging||u.shiftKey||u.which!==1&&u.button!==1&&!u.touches)&&(na._dragging=this,this._preventOutline&&wb(this._element),bb(),nf(),!this._moving)){this.fire("down");var h=u.touches?u.touches[0]:u,O=UC(this._element);this._startPoint=new Z(h.clientX,h.clientY),this._startPos=ds(this._element),this._parentScale=Ob(O);var C=u.type==="mousedown";Ze(document,C?"mousemove":"touchmove",this._onMove,this),Ze(document,C?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(u){if(this._enabled){if(u.touches&&u.touches.length>1){this._moved=!0;return}var h=u.touches&&u.touches.length===1?u.touches[0]:u,O=new Z(h.clientX,h.clientY)._subtract(this._startPoint);!O.x&&!O.y||Math.abs(O.x)+Math.abs(O.y)G&&(ie=ce,G=de);G>O&&(h[ie]=1,Nb(u,h,O,C,ie),Nb(u,h,O,ie,R))}function nz(u,h){for(var O=[u[0]],C=1,R=0,G=u.length;Ch&&(O.push(u[C]),R=C);return Rh.max.x&&(O|=2),u.yh.max.y&&(O|=8),O}function rz(u,h){var O=h.x-u.x,C=h.y-u.y;return O*O+C*C}function lf(u,h,O,C){var R=h.x,G=h.y,ie=O.x-R,ce=O.y-G,de=ie*ie+ce*ce,_e;return de>0&&(_e=((u.x-R)*ie+(u.y-G)*ce)/de,_e>1?(R=O.x,G=O.y):_e>0&&(R+=ie*_e,G+=ce*_e)),ie=u.x-R,ce=u.y-G,C?ie*ie+ce*ce:new Z(R,G)}function Ur(u){return!w(u[0])||typeof u[0][0]!="object"&&typeof u[0][0]<"u"}function nT(u){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ur(u)}function rT(u,h){var O,C,R,G,ie,ce,de,_e;if(!u||u.length===0)throw new Error("latlngs not passed");Ur(u)||(console.warn("latlngs are not flat! Only the first ring will be used"),u=u[0]);var Re=ae([0,0]),Ve=ne(u),et=Ve.getNorthWest().distanceTo(Ve.getSouthWest())*Ve.getNorthEast().distanceTo(Ve.getNorthWest());et<1700&&(Re=kb(u));var Vn=u.length,pn=[];for(O=0;OC){de=(G-C)/R,_e=[ce.x-de*(ce.x-ie.x),ce.y-de*(ce.y-ie.y)];break}var ir=h.unproject(B(_e));return ae([ir.lat+Re.lat,ir.lng+Re.lng])}var iz={__proto__:null,simplify:QC,pointToSegmentDistance:JC,closestPointOnSegment:ez,clipSegment:tT,_getEdgeIntersection:Cp,_getBitCode:ms,_sqClosestPointOnSegment:lf,isFlat:Ur,_flat:nT,polylineCenter:rT},Mb={project:function(u){return new Z(u.lng,u.lat)},unproject:function(u){return new re(u.y,u.x)},bounds:new H([-180,-90],[180,90])},Lb={R:6378137,R_MINOR:6356752314245179e-9,bounds:new H([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(u){var h=Math.PI/180,O=this.R,C=u.lat*h,R=this.R_MINOR/O,G=Math.sqrt(1-R*R),ie=G*Math.sin(C),ce=Math.tan(Math.PI/4-C/2)/Math.pow((1-ie)/(1+ie),G/2);return C=-O*Math.log(Math.max(ce,1e-10)),new Z(u.lng*h*O,C)},unproject:function(u){for(var h=180/Math.PI,O=this.R,C=this.R_MINOR/O,R=Math.sqrt(1-C*C),G=Math.exp(-u.y/O),ie=Math.PI/2-2*Math.atan(G),ce=0,de=.1,_e;ce<15&&Math.abs(de)>1e-7;ce++)_e=R*Math.sin(ie),_e=Math.pow((1-_e)/(1+_e),R/2),de=Math.PI/2-2*Math.atan(G*_e)-ie,ie+=de;return new re(ie*h,u.x*h/O)}},oz={__proto__:null,LonLat:Mb,Mercator:Lb,SphericalMercator:U},az=i({},A,{code:"EPSG:3395",projection:Lb,transformation:function(){var u=.5/(Math.PI*Lb.R);return Y(u,.5,-u,.5)}()}),iT=i({},A,{code:"EPSG:4326",projection:Mb,transformation:Y(1/180,1,-1/180,.5)}),sz=i({},ue,{projection:Mb,transformation:Y(1,0,-1,0),scale:function(u){return Math.pow(2,u)},zoom:function(u){return Math.log(u)/Math.LN2},distance:function(u,h){var O=h.lng-u.lng,C=h.lat-u.lat;return Math.sqrt(O*O+C*C)},infinite:!0});ue.Earth=A,ue.EPSG3395=az,ue.EPSG3857=oe,ue.EPSG900913=he,ue.EPSG4326=iT,ue.Simple=sz;var mi=te.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(u){return u.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(u){return u&&u.removeLayer(this),this},getPane:function(u){return this._map.getPane(u?this.options[u]||u:this.options.pane)},addInteractiveTarget:function(u){return this._map._targets[l(u)]=this,this},removeInteractiveTarget:function(u){return delete this._map._targets[l(u)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(u){var h=u.target;if(h.hasLayer(this)){if(this._map=h,this._zoomAnimated=h._zoomAnimated,this.getEvents){var O=this.getEvents();h.on(O,this),this.once("remove",function(){h.off(O,this)},this)}this.onAdd(h),this.fire("add"),h.fire("layeradd",{layer:this})}}});lt.include({addLayer:function(u){if(!u._layerAdd)throw new Error("The provided object is not a Layer.");var h=l(u);return this._layers[h]?this:(this._layers[h]=u,u._mapToAdd=this,u.beforeAdd&&u.beforeAdd(this),this.whenReady(u._layerAdd,u),this)},removeLayer:function(u){var h=l(u);return this._layers[h]?(this._loaded&&u.onRemove(this),delete this._layers[h],this._loaded&&(this.fire("layerremove",{layer:u}),u.fire("remove")),u._map=u._mapToAdd=null,this):this},hasLayer:function(u){return l(u)in this._layers},eachLayer:function(u,h){for(var O in this._layers)u.call(h,this._layers[O]);return this},_addLayers:function(u){u=u?w(u)?u:[u]:[];for(var h=0,O=u.length;hthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&h[0]instanceof re&&h[0].equals(h[O-1])&&h.pop(),h},_setLatLngs:function(u){go.prototype._setLatLngs.call(this,u),Ur(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ur(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var u=this._renderer._bounds,h=this.options.weight,O=new Z(h,h);if(u=new H(u.min.subtract(O),u.max.add(O)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(u))){if(this.options.noClip){this._parts=this._rings;return}for(var C=0,R=this._rings.length,G;Cu.y!=R.y>u.y&&u.x<(R.x-C.x)*(u.y-C.y)/(R.y-C.y)+C.x&&(h=!h);return h||go.prototype._containsPoint.call(this,u,!0)}});function mz(u,h){return new Al(u,h)}var yo=vo.extend({initialize:function(u,h){g(this,h),this._layers={},u&&this.addData(u)},addData:function(u){var h=w(u)?u:u.features,O,C,R;if(h){for(O=0,C=h.length;O0&&R.push(R[0].slice()),R}function kl(u,h){return u.feature?i({},u.feature,{geometry:h}):Mp(h)}function Mp(u){return u.type==="Feature"||u.type==="FeatureCollection"?u:{type:"Feature",properties:{},geometry:u}}var Db={toGeoJSON:function(u){return kl(this,{type:"Point",coordinates:Ib(this.getLatLng(),u)})}};Tp.include(Db),Rb.include(Db),jp.include(Db),go.include({toGeoJSON:function(u){var h=!Ur(this._latlngs),O=Np(this._latlngs,h?1:0,!1,u);return kl(this,{type:(h?"Multi":"")+"LineString",coordinates:O})}}),Al.include({toGeoJSON:function(u){var h=!Ur(this._latlngs),O=h&&!Ur(this._latlngs[0]),C=Np(this._latlngs,O?2:h?1:0,!0,u);return h||(C=[C]),kl(this,{type:(O?"Multi":"")+"Polygon",coordinates:C})}}),Tl.include({toMultiPoint:function(u){var h=[];return this.eachLayer(function(O){h.push(O.toGeoJSON(u).geometry.coordinates)}),kl(this,{type:"MultiPoint",coordinates:h})},toGeoJSON:function(u){var h=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(h==="MultiPoint")return this.toMultiPoint(u);var O=h==="GeometryCollection",C=[];return this.eachLayer(function(R){if(R.toGeoJSON){var G=R.toGeoJSON(u);if(O)C.push(G.geometry);else{var ie=Mp(G);ie.type==="FeatureCollection"?C.push.apply(C,ie.features):C.push(ie)}}}),O?kl(this,{geometries:C,type:"GeometryCollection"}):{type:"FeatureCollection",features:C}}});function sT(u,h){return new yo(u,h)}var vz=sT,Lp=mi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(u,h,O){this._url=u,this._bounds=ne(h),g(this,O)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Qe(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Dt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(u){return this.options.opacity=u,this._image&&this._updateOpacity(),this},setStyle:function(u){return u.opacity&&this.setOpacity(u.opacity),this},bringToFront:function(){return this._map&&El(this._image),this},bringToBack:function(){return this._map&&Cl(this._image),this},setUrl:function(u){return this._url=u,this._image&&(this._image.src=u),this},setBounds:function(u){return this._bounds=ne(u),this._map&&this._reset(),this},getEvents:function(){var u={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(u.zoomanim=this._animateZoom),u},setZIndex:function(u){return this.options.zIndex=u,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var u=this._url.tagName==="IMG",h=this._image=u?this._url:ut("img");if(Qe(h,"leaflet-image-layer"),this._zoomAnimated&&Qe(h,"leaflet-zoom-animated"),this.options.className&&Qe(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onload=a(this.fire,this,"load"),h.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(h.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),u){this._url=h.src;return}h.src=this._url,h.alt=this.options.alt},_animateZoom:function(u){var h=this._map.getZoomScale(u.zoom),O=this._map._latLngBoundsToNewLayerBounds(this._bounds,u.zoom,u.center).min;fs(this._image,O,h)},_reset:function(){var u=this._image,h=new H(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),O=h.getSize();en(u,h.min),u.style.width=O.x+"px",u.style.height=O.y+"px"},_updateOpacity:function(){Br(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var u=this.options.errorOverlayUrl;u&&this._url!==u&&(this._url=u,this._image.src=u)},getCenter:function(){return this._bounds.getCenter()}}),gz=function(u,h,O){return new Lp(u,h,O)},lT=Lp.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var u=this._url.tagName==="VIDEO",h=this._image=u?this._url:ut("video");if(Qe(h,"leaflet-image-layer"),this._zoomAnimated&&Qe(h,"leaflet-zoom-animated"),this.options.className&&Qe(h,this.options.className),h.onselectstart=d,h.onmousemove=d,h.onloadeddata=a(this.fire,this,"load"),u){for(var O=h.getElementsByTagName("source"),C=[],R=0;R0?C:[h.src];return}w(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(h.style,"objectFit")&&(h.style.objectFit="fill"),h.autoplay=!!this.options.autoplay,h.loop=!!this.options.loop,h.muted=!!this.options.muted,h.playsInline=!!this.options.playsInline;for(var G=0;GR?(h.height=R+"px",Qe(u,G)):Yt(u,G),this._containerWidth=this._container.offsetWidth},_animateZoom:function(u){var h=this._map._latLngToNewLayerPoint(this._latlng,u.zoom,u.center),O=this._getAnchor();en(this._container,h.add(O))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var u=this._map,h=parseInt(tf(this._container,"marginBottom"),10)||0,O=this._container.offsetHeight+h,C=this._containerWidth,R=new Z(this._containerLeft,-O-this._containerBottom);R._add(ds(this._container));var G=u.layerPointToContainerPoint(R),ie=B(this.options.autoPanPadding),ce=B(this.options.autoPanPaddingTopLeft||ie),de=B(this.options.autoPanPaddingBottomRight||ie),_e=u.getSize(),Re=0,Ve=0;G.x+C+de.x>_e.x&&(Re=G.x+C-_e.x+de.x),G.x-Re-ce.x<0&&(Re=G.x-ce.x),G.y+O+de.y>_e.y&&(Ve=G.y+O-_e.y+de.y),G.y-Ve-ce.y<0&&(Ve=G.y-ce.y),(Re||Ve)&&(this.options.keepInView&&(this._autopanning=!0),u.fire("autopanstart").panBy([Re,Ve]))}},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),_z=function(u,h){return new Rp(u,h)};lt.mergeOptions({closePopupOnClick:!0}),lt.include({openPopup:function(u,h,O){return this._initOverlay(Rp,u,h,O).openOn(this),this},closePopup:function(u){return u=arguments.length?u:this._popup,u&&u.close(),this}}),mi.include({bindPopup:function(u,h){return this._popup=this._initOverlay(Rp,this._popup,u,h),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(u){return this._popup&&(this instanceof vo||(this._popup._source=this),this._popup._prepareOpen(u||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(u){return this._popup&&this._popup.setContent(u),this},getPopup:function(){return this._popup},_openPopup:function(u){if(!(!this._popup||!this._map)){ps(u);var h=u.layer||u.target;if(this._popup._source===h&&!(h instanceof ra)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(u.latlng);return}this._popup._source=h,this.openPopup(u.latlng)}},_movePopup:function(u){this._popup.setLatLng(u.latlng)},_onKeyPress:function(u){u.originalEvent.keyCode===13&&this._openPopup(u)}});var $p=Vi.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(u){Vi.prototype.onAdd.call(this,u),this.setOpacity(this.options.opacity),u.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(u){Vi.prototype.onRemove.call(this,u),u.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var u=Vi.prototype.getEvents.call(this);return this.options.permanent||(u.preclick=this.close),u},_initLayout:function(){var u="leaflet-tooltip",h=u+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ut("div",h),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+l(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(u){var h,O,C=this._map,R=this._container,G=C.latLngToContainerPoint(C.getCenter()),ie=C.layerPointToContainerPoint(u),ce=this.options.direction,de=R.offsetWidth,_e=R.offsetHeight,Re=B(this.options.offset),Ve=this._getAnchor();ce==="top"?(h=de/2,O=_e):ce==="bottom"?(h=de/2,O=0):ce==="center"?(h=de/2,O=_e/2):ce==="right"?(h=0,O=_e/2):ce==="left"?(h=de,O=_e/2):ie.xthis.options.maxZoom||OC?this._retainParent(R,G,ie,C):!1)},_retainChildren:function(u,h,O,C){for(var R=2*u;R<2*u+2;R++)for(var G=2*h;G<2*h+2;G++){var ie=new Z(R,G);ie.z=O+1;var ce=this._tileCoordsToKey(ie),de=this._tiles[ce];if(de&&de.active){de.retain=!0;continue}else de&&de.loaded&&(de.retain=!0);O+1this.options.maxZoom||this.options.minZoom!==void 0&&R1){this._setView(u,O);return}for(var Ve=R.min.y;Ve<=R.max.y;Ve++)for(var et=R.min.x;et<=R.max.x;et++){var Vn=new Z(et,Ve);if(Vn.z=this._tileZoom,!!this._isValidTile(Vn)){var pn=this._tiles[this._tileCoordsToKey(Vn)];pn?pn.current=!0:ie.push(Vn)}}if(ie.sort(function(ir,Ml){return ir.distanceTo(G)-Ml.distanceTo(G)}),ie.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var zr=document.createDocumentFragment();for(et=0;etO.max.x)||!h.wrapLat&&(u.yO.max.y))return!1}if(!this.options.bounds)return!0;var C=this._tileCoordsToBounds(u);return ne(this.options.bounds).overlaps(C)},_keyToBounds:function(u){return this._tileCoordsToBounds(this._keyToTileCoords(u))},_tileCoordsToNwSe:function(u){var h=this._map,O=this.getTileSize(),C=u.scaleBy(O),R=C.add(O),G=h.unproject(C,u.z),ie=h.unproject(R,u.z);return[G,ie]},_tileCoordsToBounds:function(u){var h=this._tileCoordsToNwSe(u),O=new q(h[0],h[1]);return this.options.noWrap||(O=this._map.wrapLatLngBounds(O)),O},_tileCoordsToKey:function(u){return u.x+":"+u.y+":"+u.z},_keyToTileCoords:function(u){var h=u.split(":"),O=new Z(+h[0],+h[1]);return O.z=+h[2],O},_removeTile:function(u){var h=this._tiles[u];h&&(Dt(h.el),delete this._tiles[u],this.fire("tileunload",{tile:h.el,coords:this._keyToTileCoords(u)}))},_initTile:function(u){Qe(u,"leaflet-tile");var h=this.getTileSize();u.style.width=h.x+"px",u.style.height=h.y+"px",u.onselectstart=d,u.onmousemove=d,Be.ielt9&&this.options.opacity<1&&Br(u,this.options.opacity)},_addTile:function(u,h){var O=this._getTilePos(u),C=this._tileCoordsToKey(u),R=this.createTile(this._wrapCoords(u),a(this._tileReady,this,u));this._initTile(R),this.createTile.length<2&&I(a(this._tileReady,this,u,null,R)),en(R,O),this._tiles[C]={el:R,coords:u,current:!0},h.appendChild(R),this.fire("tileloadstart",{tile:R,coords:u})},_tileReady:function(u,h,O){h&&this.fire("tileerror",{error:h,tile:O,coords:u});var C=this._tileCoordsToKey(u);O=this._tiles[C],O&&(O.loaded=+new Date,this._map._fadeAnimated?(Br(O.el,0),D(this._fadeFrame),this._fadeFrame=I(this._updateOpacity,this)):(O.active=!0,this._pruneTiles()),h||(Qe(O.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:O.el,coords:u})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Be.ielt9||!this._map._fadeAnimated?I(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(u){return u.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(u){var h=new Z(this._wrapX?f(u.x,this._wrapX):u.x,this._wrapY?f(u.y,this._wrapY):u.y);return h.z=u.z,h},_pxBoundsToTileRange:function(u){var h=this.getTileSize();return new H(u.min.unscaleBy(h).floor(),u.max.unscaleBy(h).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var u in this._tiles)if(!this._tiles[u].loaded)return!1;return!0}});function Oz(u){return new uf(u)}var Nl=uf.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(u,h){this._url=u,h=g(this,h),h.detectRetina&&Be.retina&&h.maxZoom>0?(h.tileSize=Math.floor(h.tileSize/2),h.zoomReverse?(h.zoomOffset--,h.minZoom=Math.min(h.maxZoom,h.minZoom+1)):(h.zoomOffset++,h.maxZoom=Math.max(h.minZoom,h.maxZoom-1)),h.minZoom=Math.max(0,h.minZoom)):h.zoomReverse?h.minZoom=Math.min(h.maxZoom,h.minZoom):h.maxZoom=Math.max(h.minZoom,h.maxZoom),typeof h.subdomains=="string"&&(h.subdomains=h.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(u,h){return this._url===u&&h===void 0&&(h=!0),this._url=u,h||this.redraw(),this},createTile:function(u,h){var O=document.createElement("img");return Ze(O,"load",a(this._tileOnLoad,this,h,O)),Ze(O,"error",a(this._tileOnError,this,h,O)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(O.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(O.referrerPolicy=this.options.referrerPolicy),O.alt="",O.src=this.getTileUrl(u),O},getTileUrl:function(u){var h={r:Be.retina?"@2x":"",s:this._getSubdomain(u),x:u.x,y:u.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var O=this._globalTileRange.max.y-u.y;this.options.tms&&(h.y=O),h["-y"]=O}return b(this._url,i(h,this.options))},_tileOnLoad:function(u,h){Be.ielt9?setTimeout(a(u,this,null,h),0):u(null,h)},_tileOnError:function(u,h,O){var C=this.options.errorTileUrl;C&&h.getAttribute("src")!==C&&(h.src=C),u(O,h)},_onTileRemove:function(u){u.tile.onload=null},_getZoomForUrl:function(){var u=this._tileZoom,h=this.options.maxZoom,O=this.options.zoomReverse,C=this.options.zoomOffset;return O&&(u=h-u),u+C},_getSubdomain:function(u){var h=Math.abs(u.x+u.y)%this.options.subdomains.length;return this.options.subdomains[h]},_abortLoading:function(){var u,h;for(u in this._tiles)if(this._tiles[u].coords.z!==this._tileZoom&&(h=this._tiles[u].el,h.onload=d,h.onerror=d,!h.complete)){h.src=P;var O=this._tiles[u].coords;Dt(h),delete this._tiles[u],this.fire("tileabort",{tile:h,coords:O})}},_removeTile:function(u){var h=this._tiles[u];if(h)return h.el.setAttribute("src",P),uf.prototype._removeTile.call(this,u)},_tileReady:function(u,h,O){if(!(!this._map||O&&O.getAttribute("src")===P))return uf.prototype._tileReady.call(this,u,h,O)}});function fT(u,h){return new Nl(u,h)}var dT=Nl.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(u,h){this._url=u;var O=i({},this.defaultWmsParams);for(var C in h)C in this.options||(O[C]=h[C]);h=g(this,h);var R=h.detectRetina&&Be.retina?2:1,G=this.getTileSize();O.width=G.x*R,O.height=G.y*R,this.wmsParams=O},onAdd:function(u){this._crs=this.options.crs||u.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var h=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[h]=this._crs.code,Nl.prototype.onAdd.call(this,u)},getTileUrl:function(u){var h=this._tileCoordsToNwSe(u),O=this._crs,C=ee(O.project(h[0]),O.project(h[1])),R=C.min,G=C.max,ie=(this._wmsVersion>=1.3&&this._crs===iT?[R.y,R.x,G.y,G.x]:[R.x,R.y,G.x,G.y]).join(","),ce=Nl.prototype.getTileUrl.call(this,u);return ce+x(this.wmsParams,ce,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+ie},setParams:function(u,h){return i(this.wmsParams,u),h||this.redraw(),this}});function Sz(u,h){return new dT(u,h)}Nl.WMS=dT,fT.wms=Sz;var bo=mi.extend({options:{padding:.1},initialize:function(u){g(this,u),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Qe(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var u={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(u.zoomanim=this._onAnimZoom),u},_onAnimZoom:function(u){this._updateTransform(u.center,u.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(u,h){var O=this._map.getZoomScale(h,this._zoom),C=this._map.getSize().multiplyBy(.5+this.options.padding),R=this._map.project(this._center,h),G=C.multiplyBy(-O).add(R).subtract(this._map._getNewPixelOrigin(u,h));Be.any3d?fs(this._container,G,O):en(this._container,G)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var u in this._layers)this._layers[u]._reset()},_onZoomEnd:function(){for(var u in this._layers)this._layers[u]._project()},_updatePaths:function(){for(var u in this._layers)this._layers[u]._update()},_update:function(){var u=this.options.padding,h=this._map.getSize(),O=this._map.containerPointToLayerPoint(h.multiplyBy(-u)).round();this._bounds=new H(O,O.add(h.multiplyBy(1+u*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),hT=bo.extend({options:{tolerance:0},getEvents:function(){var u=bo.prototype.getEvents.call(this);return u.viewprereset=this._onViewPreReset,u},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){bo.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var u=this._container=document.createElement("canvas");Ze(u,"mousemove",this._onMouseMove,this),Ze(u,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ze(u,"mouseout",this._handleMouseOut,this),u._leaflet_disable_events=!0,this._ctx=u.getContext("2d")},_destroyContainer:function(){D(this._redrawRequest),delete this._ctx,Dt(this._container),_t(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var u;this._redrawBounds=null;for(var h in this._layers)u=this._layers[h],u._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){bo.prototype._update.call(this);var u=this._bounds,h=this._container,O=u.getSize(),C=Be.retina?2:1;en(h,u.min),h.width=C*O.x,h.height=C*O.y,h.style.width=O.x+"px",h.style.height=O.y+"px",Be.retina&&this._ctx.scale(2,2),this._ctx.translate(-u.min.x,-u.min.y),this.fire("update")}},_reset:function(){bo.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(u){this._updateDashArray(u),this._layers[l(u)]=u;var h=u._order={layer:u,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=h),this._drawLast=h,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(u){this._requestRedraw(u)},_removePath:function(u){var h=u._order,O=h.next,C=h.prev;O?O.prev=C:this._drawLast=C,C?C.next=O:this._drawFirst=O,delete u._order,delete this._layers[l(u)],this._requestRedraw(u)},_updatePath:function(u){this._extendRedrawBounds(u),u._project(),u._update(),this._requestRedraw(u)},_updateStyle:function(u){this._updateDashArray(u),this._requestRedraw(u)},_updateDashArray:function(u){if(typeof u.options.dashArray=="string"){var h=u.options.dashArray.split(/[, ]+/),O=[],C,R;for(R=0;R')}}catch{}return function(u){return document.createElement("<"+u+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),Pz={_initContainer:function(){this._container=ut("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(bo.prototype._update.call(this),this.fire("update"))},_initPath:function(u){var h=u._container=ff("shape");Qe(h,"leaflet-vml-shape "+(this.options.className||"")),h.coordsize="1 1",u._path=ff("path"),h.appendChild(u._path),this._updateStyle(u),this._layers[l(u)]=u},_addPath:function(u){var h=u._container;this._container.appendChild(h),u.options.interactive&&u.addInteractiveTarget(h)},_removePath:function(u){var h=u._container;Dt(h),u.removeInteractiveTarget(h),delete this._layers[l(u)]},_updateStyle:function(u){var h=u._stroke,O=u._fill,C=u.options,R=u._container;R.stroked=!!C.stroke,R.filled=!!C.fill,C.stroke?(h||(h=u._stroke=ff("stroke")),R.appendChild(h),h.weight=C.weight+"px",h.color=C.color,h.opacity=C.opacity,C.dashArray?h.dashStyle=w(C.dashArray)?C.dashArray.join(" "):C.dashArray.replace(/( *, *)/g," "):h.dashStyle="",h.endcap=C.lineCap.replace("butt","flat"),h.joinstyle=C.lineJoin):h&&(R.removeChild(h),u._stroke=null),C.fill?(O||(O=u._fill=ff("fill")),R.appendChild(O),O.color=C.fillColor||C.color,O.opacity=C.fillOpacity):O&&(R.removeChild(O),u._fill=null)},_updateCircle:function(u){var h=u._point.round(),O=Math.round(u._radius),C=Math.round(u._radiusY||O);this._setPath(u,u._empty()?"M0 0":"AL "+h.x+","+h.y+" "+O+","+C+" 0,"+65535*360)},_setPath:function(u,h){u._path.v=h},_bringToFront:function(u){El(u._container)},_bringToBack:function(u){Cl(u._container)}},Ip=Be.vml?ff:Ee,df=bo.extend({_initContainer:function(){this._container=Ip("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Ip("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Dt(this._container),_t(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){bo.prototype._update.call(this);var u=this._bounds,h=u.getSize(),O=this._container;(!this._svgSize||!this._svgSize.equals(h))&&(this._svgSize=h,O.setAttribute("width",h.x),O.setAttribute("height",h.y)),en(O,u.min),O.setAttribute("viewBox",[u.min.x,u.min.y,h.x,h.y].join(" ")),this.fire("update")}},_initPath:function(u){var h=u._path=Ip("path");u.options.className&&Qe(h,u.options.className),u.options.interactive&&Qe(h,"leaflet-interactive"),this._updateStyle(u),this._layers[l(u)]=u},_addPath:function(u){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(u._path),u.addInteractiveTarget(u._path)},_removePath:function(u){Dt(u._path),u.removeInteractiveTarget(u._path),delete this._layers[l(u)]},_updatePath:function(u){u._project(),u._update()},_updateStyle:function(u){var h=u._path,O=u.options;h&&(O.stroke?(h.setAttribute("stroke",O.color),h.setAttribute("stroke-opacity",O.opacity),h.setAttribute("stroke-width",O.weight),h.setAttribute("stroke-linecap",O.lineCap),h.setAttribute("stroke-linejoin",O.lineJoin),O.dashArray?h.setAttribute("stroke-dasharray",O.dashArray):h.removeAttribute("stroke-dasharray"),O.dashOffset?h.setAttribute("stroke-dashoffset",O.dashOffset):h.removeAttribute("stroke-dashoffset")):h.setAttribute("stroke","none"),O.fill?(h.setAttribute("fill",O.fillColor||O.color),h.setAttribute("fill-opacity",O.fillOpacity),h.setAttribute("fill-rule",O.fillRule||"evenodd")):h.setAttribute("fill","none"))},_updatePoly:function(u,h){this._setPath(u,se(u._parts,h))},_updateCircle:function(u){var h=u._point,O=Math.max(Math.round(u._radius),1),C=Math.max(Math.round(u._radiusY),1)||O,R="a"+O+","+C+" 0 1,0 ",G=u._empty()?"M0 0":"M"+(h.x-O)+","+h.y+R+O*2+",0 "+R+-O*2+",0 ";this._setPath(u,G)},_setPath:function(u,h){u._path.setAttribute("d",h)},_bringToFront:function(u){El(u._path)},_bringToBack:function(u){Cl(u._path)}});Be.vml&&df.include(Pz);function mT(u){return Be.svg||Be.vml?new df(u):null}lt.include({getRenderer:function(u){var h=u.options.renderer||this._getPaneRenderer(u.options.pane)||this.options.renderer||this._renderer;return h||(h=this._renderer=this._createRenderer()),this.hasLayer(h)||this.addLayer(h),h},_getPaneRenderer:function(u){if(u==="overlayPane"||u===void 0)return!1;var h=this._paneRenderers[u];return h===void 0&&(h=this._createRenderer({pane:u}),this._paneRenderers[u]=h),h},_createRenderer:function(u){return this.options.preferCanvas&&pT(u)||mT(u)}});var vT=Al.extend({initialize:function(u,h){Al.prototype.initialize.call(this,this._boundsToLatLngs(u),h)},setBounds:function(u){return this.setLatLngs(this._boundsToLatLngs(u))},_boundsToLatLngs:function(u){return u=ne(u),[u.getSouthWest(),u.getNorthWest(),u.getNorthEast(),u.getSouthEast()]}});function Ez(u,h){return new vT(u,h)}df.create=Ip,df.pointsToPath=se,yo.geometryToLayer=Ap,yo.coordsToLatLng=$b,yo.coordsToLatLngs=kp,yo.latLngToCoords=Ib,yo.latLngsToCoords=Np,yo.getFeature=kl,yo.asFeature=Mp,lt.mergeOptions({boxZoom:!0});var gT=zi.extend({initialize:function(u){this._map=u,this._container=u._container,this._pane=u._panes.overlayPane,this._resetStateTimeout=0,u.on("unload",this._destroy,this)},addHooks:function(){Ze(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){_t(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Dt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(u){if(!u.shiftKey||u.which!==1&&u.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),nf(),bb(),this._startPoint=this._map.mouseEventToContainerPoint(u),Ze(document,{contextmenu:ps,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(u){this._moved||(this._moved=!0,this._box=ut("div","leaflet-zoom-box",this._container),Qe(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(u);var h=new H(this._point,this._startPoint),O=h.getSize();en(this._box,h.min),this._box.style.width=O.x+"px",this._box.style.height=O.y+"px"},_finish:function(){this._moved&&(Dt(this._box),Yt(this._container,"leaflet-crosshair")),rf(),_b(),_t(document,{contextmenu:ps,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(u){if(!(u.which!==1&&u.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var h=new q(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(h).fire("boxzoomend",{boxZoomBounds:h})}},_onKeyDown:function(u){u.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});lt.addInitHook("addHandler","boxZoom",gT),lt.mergeOptions({doubleClickZoom:!0});var yT=zi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(u){var h=this._map,O=h.getZoom(),C=h.options.zoomDelta,R=u.originalEvent.shiftKey?O-C:O+C;h.options.doubleClickZoom==="center"?h.setZoom(R):h.setZoomAround(u.containerPoint,R)}});lt.addInitHook("addHandler","doubleClickZoom",yT),lt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var bT=zi.extend({addHooks:function(){if(!this._draggable){var u=this._map;this._draggable=new na(u._mapPane,u._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),u.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),u.on("zoomend",this._onZoomEnd,this),u.whenReady(this._onZoomEnd,this))}Qe(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Yt(this._map._container,"leaflet-grab"),Yt(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var u=this._map;if(u._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var h=ne(this._map.options.maxBounds);this._offsetLimit=ee(this._map.latLngToContainerPoint(h.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(h.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;u.fire("movestart").fire("dragstart"),u.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(u){if(this._map.options.inertia){var h=this._lastTime=+new Date,O=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(O),this._times.push(h),this._prunePositions(h)}this._map.fire("move",u).fire("drag",u)},_prunePositions:function(u){for(;this._positions.length>1&&u-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var u=this._map.getSize().divideBy(2),h=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=h.subtract(u).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(u,h){return u-(u-h)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var u=this._draggable._newPos.subtract(this._draggable._startPos),h=this._offsetLimit;u.xh.max.x&&(u.x=this._viscousLimit(u.x,h.max.x)),u.y>h.max.y&&(u.y=this._viscousLimit(u.y,h.max.y)),this._draggable._newPos=this._draggable._startPos.add(u)}},_onPreDragWrap:function(){var u=this._worldWidth,h=Math.round(u/2),O=this._initialWorldOffset,C=this._draggable._newPos.x,R=(C-h+O)%u+h-O,G=(C+h+O)%u-h-O,ie=Math.abs(R+O)0?G:-G))-h;this._delta=0,this._startTime=null,ie&&(u.options.scrollWheelZoom==="center"?u.setZoom(h+ie):u.setZoomAround(this._lastMousePos,h+ie))}});lt.addInitHook("addHandler","scrollWheelZoom",xT);var Cz=600;lt.mergeOptions({tapHold:Be.touchNative&&Be.safari&&Be.mobile,tapTolerance:15});var wT=zi.extend({addHooks:function(){Ze(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){_t(this._map._container,"touchstart",this._onDown,this)},_onDown:function(u){if(clearTimeout(this._holdTimeout),u.touches.length===1){var h=u.touches[0];this._startPos=this._newPos=new Z(h.clientX,h.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(Ze(document,"touchend",En),Ze(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",h))},this),Cz),Ze(document,"touchend touchcancel contextmenu",this._cancel,this),Ze(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function u(){_t(document,"touchend",En),_t(document,"touchend touchcancel",u)},_cancel:function(){clearTimeout(this._holdTimeout),_t(document,"touchend touchcancel contextmenu",this._cancel,this),_t(document,"touchmove",this._onMove,this)},_onMove:function(u){var h=u.touches[0];this._newPos=new Z(h.clientX,h.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(u,h){var O=new MouseEvent(u,{bubbles:!0,cancelable:!0,view:window,screenX:h.screenX,screenY:h.screenY,clientX:h.clientX,clientY:h.clientY});O._simulated=!0,h.target.dispatchEvent(O)}});lt.addInitHook("addHandler","tapHold",wT),lt.mergeOptions({touchZoom:Be.touch,bounceAtZoomLimits:!0});var OT=zi.extend({addHooks:function(){Qe(this._map._container,"leaflet-touch-zoom"),Ze(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Yt(this._map._container,"leaflet-touch-zoom"),_t(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(u){var h=this._map;if(!(!u.touches||u.touches.length!==2||h._animatingZoom||this._zooming)){var O=h.mouseEventToContainerPoint(u.touches[0]),C=h.mouseEventToContainerPoint(u.touches[1]);this._centerPoint=h.getSize()._divideBy(2),this._startLatLng=h.containerPointToLatLng(this._centerPoint),h.options.touchZoom!=="center"&&(this._pinchStartLatLng=h.containerPointToLatLng(O.add(C)._divideBy(2))),this._startDist=O.distanceTo(C),this._startZoom=h.getZoom(),this._moved=!1,this._zooming=!0,h._stop(),Ze(document,"touchmove",this._onTouchMove,this),Ze(document,"touchend touchcancel",this._onTouchEnd,this),En(u)}},_onTouchMove:function(u){if(!(!u.touches||u.touches.length!==2||!this._zooming)){var h=this._map,O=h.mouseEventToContainerPoint(u.touches[0]),C=h.mouseEventToContainerPoint(u.touches[1]),R=O.distanceTo(C)/this._startDist;if(this._zoom=h.getScaleZoom(R,this._startZoom),!h.options.bounceAtZoomLimits&&(this._zoomh.getMaxZoom()&&R>1)&&(this._zoom=h._limitZoom(this._zoom)),h.options.touchZoom==="center"){if(this._center=this._startLatLng,R===1)return}else{var G=O._add(C)._divideBy(2)._subtract(this._centerPoint);if(R===1&&G.x===0&&G.y===0)return;this._center=h.unproject(h.project(this._pinchStartLatLng,this._zoom).subtract(G),this._zoom)}this._moved||(h._moveStart(!0,!1),this._moved=!0),D(this._animRequest);var ie=a(h._move,h,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=I(ie,this,!0),En(u)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,D(this._animRequest),_t(document,"touchmove",this._onTouchMove,this),_t(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});lt.addInitHook("addHandler","touchZoom",OT),lt.BoxZoom=gT,lt.DoubleClickZoom=yT,lt.Drag=bT,lt.Keyboard=_T,lt.ScrollWheelZoom=xT,lt.TapHold=wT,lt.TouchZoom=OT,n.Bounds=H,n.Browser=Be,n.CRS=ue,n.Canvas=hT,n.Circle=Rb,n.CircleMarker=jp,n.Class=W,n.Control=pi,n.DivIcon=uT,n.DivOverlay=Vi,n.DomEvent=H9,n.DomUtil=V9,n.Draggable=na,n.Evented=te,n.FeatureGroup=vo,n.GeoJSON=yo,n.GridLayer=uf,n.Handler=zi,n.Icon=jl,n.ImageOverlay=Lp,n.LatLng=re,n.LatLngBounds=q,n.Layer=mi,n.LayerGroup=Tl,n.LineUtil=iz,n.Map=lt,n.Marker=Tp,n.Mixin=Q9,n.Path=ra,n.Point=Z,n.PolyUtil=J9,n.Polygon=Al,n.Polyline=go,n.Popup=Rp,n.PosAnimation=GC,n.Projection=oz,n.Rectangle=vT,n.Renderer=bo,n.SVG=df,n.SVGOverlay=cT,n.TileLayer=Nl,n.Tooltip=$p,n.Transformation=J,n.Util=K,n.VideoOverlay=lT,n.bind=a,n.bounds=ee,n.canvas=pT,n.circle=hz,n.circleMarker=dz,n.control=sf,n.divIcon=wz,n.extend=i,n.featureGroup=cz,n.geoJSON=sT,n.geoJson=vz,n.gridLayer=Oz,n.icon=uz,n.imageOverlay=gz,n.latLng=ae,n.latLngBounds=ne,n.layerGroup=lz,n.map=G9,n.marker=fz,n.point=B,n.polygon=mz,n.polyline=pz,n.popup=_z,n.rectangle=Ez,n.setOptions=g,n.stamp=l,n.svg=mT,n.svgOverlay=bz,n.tileLayer=fT,n.tooltip=xz,n.transformation=Y,n.version=r,n.videoOverlay=yz;var Tz=window.L;n.noConflict=function(){return window.L=Tz,this},window.L=n})})(zO,zO.exports);var up=zO.exports;const e4=st(up);function iC(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function oC(e,t){return t==null?function(r,i){const o=M.useRef();return o.current||(o.current=e(r,i)),o}:function(r,i){const o=M.useRef();o.current||(o.current=e(r,i));const a=M.useRef(r),{instance:s}=o.current;return M.useEffect(function(){a.current!==r&&(t(s,r,a.current),a.current=r)},[s,r,i]),o}}function UMe(e,t){M.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var o;(o=t.layerContainer)==null||o.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function sB(e){return function(n){const r=oB(),i=e(rC(n,r),r);return nB(r.map,n.attribution),aB(i.current,n.eventHandlers),UMe(i.current,r),i}}function zMe(e,t){const n=oC(e,t),r=sB(n);return IMe(r)}function VMe(e,t){const n=oC(e),r=BMe(n,t);return DMe(r)}function WMe(e,t){const n=oC(e,t),r=sB(n);return FMe(r)}function HMe(e,t,n){const{opacity:r,zIndex:i}=t;r!=null&&r!==n.opacity&&e.setOpacity(r),i!=null&&i!==n.zIndex&&e.setZIndex(i)}function VO(){return VO=Object.assign||function(e){for(var t=1;t(v==null?void 0:v.map)??null,[v]);const g=M.useCallback(_=>{if(_!==null&&v===null){const b=new up.Map(_,f);n!=null&&c!=null?b.setView(n,c):e!=null&&b.fitBounds(e,t),l!=null&&b.whenReady(l),y(RMe(b))}},[]);M.useEffect(()=>()=>{v==null||v.map.remove()},[v]);const x=v?V.createElement(iB,{value:v},r):a??null;return V.createElement("div",VO({},p,{ref:g}),x)}const qMe=M.forwardRef(GMe),KMe=zMe(function({position:t,...n},r){const i=new up.Marker(t,n);return iC(i,$Me(r,{overlayContainer:i}))},function(t,n,r){n.position!==r.position&&t.setLatLng(n.position),n.icon!=null&&n.icon!==r.icon&&t.setIcon(n.icon),n.zIndexOffset!=null&&n.zIndexOffset!==r.zIndexOffset&&t.setZIndexOffset(n.zIndexOffset),n.opacity!=null&&n.opacity!==r.opacity&&t.setOpacity(n.opacity),t.dragging!=null&&n.draggable!==r.draggable&&(n.draggable===!0?t.dragging.enable():t.dragging.disable())}),YMe=VMe(function(t,n){const r=new up.Popup(t,n.overlayContainer);return iC(r,n)},function(t,n,{position:r},i){M.useEffect(function(){const{instance:a}=t;function s(c){c.popup===a&&(a.update(),i(!0))}function l(c){c.popup===a&&i(!1)}return n.map.on({popupopen:s,popupclose:l}),n.overlayContainer==null?(r!=null&&a.setLatLng(r),a.openOn(n.map)):n.overlayContainer.bindPopup(a),function(){var f;n.map.off({popupopen:s,popupclose:l}),(f=n.overlayContainer)==null||f.unbindPopup(),n.map.removeLayer(a)}},[t,n,i,r])}),ZMe=WMe(function({url:t,...n},r){const i=new up.TileLayer(t,rC(n,r));return iC(i,r)},function(t,n,r){HMe(t,n,r);const{url:i}=n;i!=null&&i!==r.url&&t.setUrl(i)}),XMe={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},lB={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},Zt={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},Hn={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},fa={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class be{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=be.getVersionPrecision(t),o=be.getVersionPrecision(n);let a=Math.max(i,o),s=0;const l=be.map([t,n],c=>{const f=a-be.getVersionPrecision(c),d=c+new Array(f+1).join(".0");return be.map(d.split("."),p=>new Array(20-p.length).join("0")+p).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]{r[l]=a[l]})}return t}static getBrowserAlias(t){return XMe[t]}static getBrowserTypeByAlias(t){return lB[t]||""}}const gt=/version\/(\d+(\.?_?\d+)+)/i,QMe=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=be.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=be.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=be.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=be.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=be.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=be.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=be.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=be.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=be.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=be.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=be.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=be.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=be.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=be.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=be.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=be.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=be.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=be.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=be.getFirstMatch(gt,e)||be.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=be.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=be.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=be.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=be.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=be.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=be.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=be.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=be.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=be.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=be.getFirstMatch(gt,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:be.getFirstMatch(i,e),version:be.getSecondMatch(i,e)}}}],JMe=[{test:[/Roku\/DVP/],describe(e){const t=be.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:Hn.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=be.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:Hn.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=be.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=be.getWindowsVersionName(t);return{name:Hn.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:Hn.iOS},n=be.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=be.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=be.getMacOSVersionName(t),r={name:Hn.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=be.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:Hn.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=be.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=be.getAndroidVersionName(t),r={name:Hn.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=be.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:Hn.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=be.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||be.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||be.getFirstMatch(/\bbb(\d+)/i,e);return{name:Hn.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=be.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:Hn.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=be.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:Hn.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:Hn.Linux}}},{test:[/CrOS/],describe(){return{name:Hn.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=be.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:Hn.PlayStation4,version:t}}}],eLe=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=be.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:Zt.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:Zt.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:Zt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:Zt.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:Zt.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:Zt.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:Zt.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=be.getFirstMatch(/(ipod|iphone)/i,e);return{type:Zt.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:Zt.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:Zt.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:Zt.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:Zt.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:Zt.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:Zt.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:Zt.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:Zt.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:Zt.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:Zt.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:Zt.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:Zt.tv}}}],tLe=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:fa.Blink};const n=be.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:fa.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:fa.Trident},n=be.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:fa.Presto},n=be.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:fa.Gecko},n=be.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:fa.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:fa.WebKit},n=be.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class t4{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=be.find(QMe,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=be.find(JMe,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=be.find(eLe,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=be.find(tLe,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return be.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(s=>{const l=t[s];typeof l=="string"?(i[s]=l,o+=1):typeof l=="object"&&(n[s]=l,r+=1)}),r>0){const s=Object.keys(n),l=be.find(s,f=>this.isOS(f));if(l){const f=this.satisfies(n[l]);if(f!==void 0)return f}const c=be.find(s,f=>this.isPlatform(f));if(c){const f=this.satisfies(n[c]);if(f!==void 0)return f}}if(o>0){const s=Object.keys(i),l=be.find(s,c=>this.isBrowser(c,!0));if(l!==void 0)return this.compareVersion(i[l])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=be.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(be.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! + * Bowser - a browser detector + * https://github.com/lancedikson/bowser + * MIT License | (c) Dustin Diaz 2012-2015 + * MIT License | (c) Denis Demchenko 2015-2019 + */class nLe{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new t4(t,n)}static parse(t){return new t4(t).getResult()}static get BROWSER_MAP(){return lB}static get ENGINE_MAP(){return fa}static get OS_MAP(){return Hn}static get PLATFORMS_MAP(){return Zt}}var rLe=Object.defineProperty,iLe=(e,t,n)=>t in e?rLe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fa=(e,t,n)=>iLe(e,typeof t!="symbol"?t+"":t,n);const oLe=e=>(e==null?void 0:e.type)===UP.INVALID_ARGUMENT,aLe=e=>(e==null?void 0:e.type)===UP.INVALID_SHORT_URL_DELETION,sLe=e=>!!e&&typeof e=="object"&&["type","detail","title","status"].every(t=>t in e),Fr=e=>sLe(e)?e:void 0,aC=e=>"error"in e,uo=({errorData:e,fallbackMessage:t})=>m.jsxs(m.Fragment,{children:[(e==null?void 0:e.detail)??t,oLe(e)&&m.jsxs("p",{className:"mb-0",children:["Invalid elements: [",e.invalidElements.join(", "),"]"]})]}),hl=({style:e,className:t,...n})=>m.jsx("button",{type:"button",className:Oe("border-0",t),style:{backgroundColor:"inherit",fontWeight:"inherit",color:"inherit",...e},...n}),cB=M.createContext(""),lLe=cB.Provider,cs=()=>M.useContext(cB),uB=M.createContext(void 0),{Provider:sC}=uB,ib=()=>M.useContext(uB),cLe=5,lC=()=>{const[e,t]=M.useState([]),n=M.useMemo(()=>e.length>=cLe,[e.length]),r=M.useCallback(s=>!n&&t(l=>[...l,s]),[n]),i=M.useCallback(s=>!n&&e.every(l=>l.name!==s),[e,n]),o=M.useCallback(s=>t(l=>l.filter(c=>c!==s)),[]),a=M.useCallback(()=>t([]),[]);return{itemsToCompare:e,addItemToCompare:r,removeItemToCompare:o,clearItemsToCompare:a,canAddItemWithName:i}},cC=({className:e,type:t})=>{const n=cs(),r=ib(),i=M.useMemo(()=>r?encodeURIComponent(r.itemsToCompare.map(l=>l.query).join(",")):"",[r]);if(!r||r.itemsToCompare.length===0)return null;const{itemsToCompare:o,clearItemsToCompare:a,removeItemToCompare:s}=r;return m.jsx("div",{className:Oe("top-sticky",e),children:m.jsxs(yt,{bodyClassName:"d-md-flex gap-3 align-items-center",children:[m.jsx("ul",{className:"d-flex flex-wrap gap-1 flex-grow-1 p-0 m-0",children:o.map((l,c)=>{var f;return m.jsxs("li",{className:Oe("badge pe-1",{"bg-secondary":!((f=l.style)!=null&&f.backgroundColor)}),style:l.style,children:[l.name,m.jsx(hl,{"aria-label":`Remove ${l.name}`,className:"fw-bold fs-6",onClick:()=>s(l),children:"×"})]},`${l.name}_${c}`)})}),m.jsxs("div",{className:"d-flex mt-3 mt-md-0",children:[m.jsxs(Ke,{outline:!0,color:"primary",className:"flex-grow-1 indivisible",disabled:o.length<2,tag:kt,to:`${n}/${t}/compare-visits?${t}=${i}`,children:[m.jsx(Ae,{icon:qy,fixedWidth:!0,className:"me-1"}),"Compare (",o.length,"/5) »"]}),m.jsx(Ke,{"aria-label":"Close compare",outline:!0,color:"secondary",className:"ms-2 fw-bold",onClick:a,children:"×"})]})]})})},bd=(e,t,n)=>n==null?e.shortCode===t&&!e.domain:e.shortCode===t&&e.domain===n,uLe=(e,t)=>!e.domain&&t===ab?!0:e.domain===t,fLe=(e,t)=>{const n=(t==null?void 0:t.validateUrls)??!1;return e?{longUrl:e.longUrl,tags:e.tags,title:e.title??void 0,domain:e.domain??void 0,validSince:e.meta.validSince??void 0,validUntil:e.meta.validUntil??void 0,maxVisits:e.meta.maxVisits??void 0,crawlable:e.crawlable,forwardQuery:e.forwardQuery,deviceLongUrls:e.deviceLongUrls&&{android:e.deviceLongUrls.android??void 0,ios:e.deviceLongUrls.ios??void 0,desktop:e.deviceLongUrls.desktop??void 0},validateUrl:n}:{longUrl:"",validateUrl:n}},fB=e=>e.replaceAll("/","__"),uC=e=>e.replaceAll("__","/"),fC=({domain:e,shortCode:t})=>`${e??ab}__${fB(t)}`,dB=e=>{const[t,n]=e.split(/__(.+)/);if(!n)throw new Error(`It was not possible to parse domain and short code from "${e}"`);return{domain:t===ab?null:t,shortCode:uC(n)}},dLe="yyyy-MM-dd",hB="yyyy-MM-dd HH:mm",Ka=()=>new Date,dC=e=>typeof e!="string",hC=(e,t)=>!e||!dC(e)?e:t?lg(e,t):Fae(e),Ya=e=>hC(e,void 0),Pa=e=>hC(e,dLe),Rh=e=>hC(e,hB),Cr=e=>dC(e)?e:Ha(e),fp=(e,t,n)=>{const r=Cr(e),i=t&&Cr(t),o=n&&Cr(n);if(i&&o)try{return zae(r,{start:i,end:o})}catch{return!1}return i?i2(r,i)||Uae(r,i):o?i2(r,o)||cg(r,o):!0},bs=(e,t)=>i2(e,t)||cg(e,t),ob="all",pB={today:"Today",yesterday:"Yesterday",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",last180Days:"Last 180 days",last365Days:"Last 365 days",[ob]:void 0},mB=Object.keys(pB),hLe=e=>!e||!e.startDate&&!e.endDate,vy=e=>typeof e=="string"&&mB.includes(e),pLe=mB.filter(e=>e!==ob),n4=e=>e?Cr(e):null,vB=(e,t)=>({startDate:n4(e),endDate:n4(t)}),mLe=e=>{if(!(!e||hLe(e)))return e.startDate&&!e.endDate?`Since ${Pa(e.startDate)}`:!e.startDate&&e.endDate?`Until ${Pa(e.endDate)}`:`${Pa(e.startDate)} - ${Pa(e.endDate)}`},gB=e=>{if(!(!e||e===ob))return vy(e)?pB[e]:mLe(e)},Xr=e=>ll(ug(Ka(),e)),Hl=e=>({startDate:e,endDate:qc(Ka())}),yB=e=>{var t;return((t=[[()=>e==="today",()=>Hl(ll(Ka()))],[()=>e==="yesterday",()=>({startDate:Xr(1),endDate:qc(ug(Ka(),1))})],[()=>e==="last7Days",()=>Hl(Xr(7))],[()=>e==="last30Days",()=>Hl(Xr(30))],[()=>e==="last90Days",()=>Hl(Xr(90))],[()=>e==="last180Days",()=>Hl(Xr(180))],[()=>e==="last365Days",()=>Hl(Xr(365))]].find(([n])=>n()))==null?void 0:t[1]())??{}},vLe=e=>{var t;const n=Cr(e);return((t=[[()=>bs(ll(Ka()),n),"today"],[()=>bs(Xr(1),n),"yesterday"],[()=>bs(Xr(7),n),"last7Days"],[()=>bs(Xr(30),n),"last30Days"],[()=>bs(Xr(90),n),"last90Days"],[()=>bs(Xr(180),n),"last180Days"],[()=>bs(Xr(365),n),"last365Days"]].find(([r])=>r()))==null?void 0:t[1])??ob},bB=e=>vy(e)?yB(e):e,_B=e=>!!(e&&e.startDate),gLe=({startDate:e,endDate:t})=>{const n=VD(qc(t??new Date),ll(e))+1,r=ug(ll(e),n),i=ug(qc(e),1);return{startDate:r,endDate:i}},yLe=e=>{if(_B(e))return VD(e.endDate??new Date,e.startDate)},pC=e=>e.type!==void 0,bLe=e=>e.type!==void 0,_Le=e=>{const t=DD(e,n=>pC(n.visit)?"orphanVisits":"nonOrphanVisits");return{orphanVisits:[],nonOrphanVisits:[],...t}},xB=(e,{shortCode:t,domain:n},{endDate:r,startDate:i}={})=>e.filter(({shortUrl:o,visit:a})=>o&&bd(o,t,n)&&fp(a.date,i,r)),wB=(e,t,{endDate:n,startDate:r}={})=>e.filter(({shortUrl:i,visit:o})=>i&&uLe(i,t)&&fp(o.date,r,n)),OB=(e,t,{endDate:n,startDate:r}={})=>e.filter(({shortUrl:i,visit:o})=>(i==null?void 0:i.tags.includes(t))&&fp(o.date,r,n)),Om=(e,t)=>ID(e,n=>n[t]),xLe=e=>{const t=((e==null?void 0:e.startDate)&&Ya(e==null?void 0:e.startDate))??void 0,n=((e==null?void 0:e.endDate)&&Ya(e==null?void 0:e.endDate))??void 0;return{startDate:t,endDate:n}},WO=({filter:e,dateRange:t})=>{const{startDate:n,endDate:r}=xLe(t),i=(e==null?void 0:e.excludeBots)||void 0;return{startDate:n,endDate:r,excludeBots:i}},wLe=e=>_B(e.dateRange),OLe=({dateRange:e,...t})=>({...t,dateRange:gLe(e)}),fn=(e,t)=>$D(e,t,{serializeError:n=>n}),r4=5e3,SLe=2,PLe=4,ELe=({currentPage:e,pagesCount:t})=>e>=t,CLe=(e,t)=>t*100/e,SB=({visitsLoader:e,shouldCancel:t,progressChanged:n,batchSize:r})=>{const i=async(a,s)=>Promise.all(s.map(async l=>e({...a,page:l,itemsPerPage:r4}).then(({data:c})=>c))).then(l=>l.flat()),o=async(a,s,l=0)=>{if(t())return[];const c=await i(a,s[l]);return n(CLe(s.length,l+1)),l{const{pagination:s,data:l}=await e({...a,page:1,itemsPerPage:r4});if(ELe(s))return l;const c=zP(SLe,s.pagesCount+1),f=Pc(c,r);return s.pagesCount-1>r&&n(0),l.concat(await o(a,f))}},dp=(e,t)=>async n=>e?t({page:1,itemsPerPage:1,excludeBots:n}).then(({data:r})=>r[0]):Promise.resolve(void 0),hp=({typePrefix:e,createLoaders:t,shouldCancel:n})=>{const r=Qn(`${e}/progressChanged`),i=Qn(`${e}/fallbackToInterval`),o=fn(e,async(a,{getState:s,dispatch:l})=>{var c;const{params:f,options:d}=a,{visitsLoader:p,lastVisitLoader:v}=t(a),y=yLe(f.dateRange),g=WO(f),x=d.loadPrevInterval&&wLe(f)?WO(OLe(f)):void 0,_=PLe/(x?2:1),b=x?{main:0,prev:0}:{main:0},w=(j,F)=>{b[j]=F;const k=Object.values(b),I=k.reduce((D,K)=>D+K,0);l(r(I/k.length))},S=SB({visitsLoader:p,shouldCancel:()=>n(s),progressChanged:j=>w("main",j),batchSize:_}),[P,E,T]=await Promise.all([S(g),v((c=f.filter)==null?void 0:c.excludeBots),x?S(x).then(j=>j.map(F=>{if(y===void 0)return F;const{date:k,...I}=F,D=HP(Cr(k),y);return{...I,date:Ya(D)}})):Promise.resolve(void 0)]);return!P.length&&E&&l(i(vLe(E.date))),{...a,visits:P,prevVisits:T}});return Object.assign(o,{progressChanged:r,fallbackToInterval:i})},Yu=Qn("shlink/visitCreation/createNewVisits",e=>({payload:{createdVisits:e}})),pp=({name:e,asyncThunkCreator:t,initialState:n,filterCreatedVisits:r,extraReducers:i})=>{const{pending:o,rejected:a,fulfilled:s,progressChanged:l,fallbackToInterval:c}=t,{reducer:f,actions:d}=Qt({name:e,initialState:n,reducers:{cancelGetVisits:v=>({...v,cancelLoad:!0})},extraReducers:v=>{v.addCase(o,()=>({...n,loading:!0})),v.addCase(a,(y,{error:g})=>({...n,errorData:Fr(g)??null})),v.addCase(s,(y,{payload:g})=>({...y,...g,loading:!1,progress:null,errorData:null})),v.addCase(l,(y,{payload:g})=>({...y,progress:g})),v.addCase(c,(y,{payload:g})=>({...y,fallbackInterval:g})),v.addCase(Yu,(y,{payload:g})=>{const{visits:x}=y,_=r(y,g.createdVisits).map(({visit:b})=>b);return _.length?{...y,visits:[..._,...x]}:y}),i==null||i(v)}}),{cancelGetVisits:p}=d;return{reducer:f,cancelGetVisits:p}},PB="shlink/domainVisits",ab="DEFAULT",TLe={visits:[],domain:"",loading:!1,cancelLoad:!1,errorData:null,progress:null},jLe=e=>hp({typePrefix:`${PB}/getDomainVisits`,createLoaders:({domain:t,options:n})=>{const r=e(),{doIntervalFallback:i=!1}=n,o=s=>r.getDomainVisits(t,s),a=dp(i,s=>r.getDomainVisits(t,s));return{visitsLoader:o,lastVisitLoader:a}},shouldCancel:t=>t().domainVisits.cancelLoad}),ALe=e=>pp({name:PB,initialState:TLe,asyncThunkCreator:e,filterCreatedVisits:({domain:t,params:n},r)=>wB(r,t,n==null?void 0:n.dateRange)}),Qm=({className:e="",placement:t,children:n})=>{const r=Ni();return m.jsxs(m.Fragment,{children:[m.jsx("span",{className:e,ref:r,children:m.jsx(Ae,{icon:aP})}),m.jsx(Dr,{target:r,placement:t,children:n})]})},EB=e=>t=>{t.preventDefault(),e()},mC=(e,t,n=1)=>zP(n,e+1).map(t),kLe=e=>Array.isArray(e)&&e.length===0||typeof e=="string"&&e===""||typeof e=="object"&&Object.keys(e).length===0,ks=e=>e!=null&&!kLe(e),s_=e=>e||null,HO=e=>e?"true":"false",l_=e=>e===void 0?void 0:HO(e),c_=({isLast:e,...t})=>m.jsx(Km,{...t,required:!1,type:"url",placeholder:"No redirect",className:e?"mb-0":""}),NLe=({isOpen:e,toggle:t,domain:n,editDomainRedirects:r})=>{var i,o,a;const[s,l]=M.useState(((i=n.redirects)==null?void 0:i.baseUrlRedirect)??""),[c,f]=M.useState(((o=n.redirects)==null?void 0:o.regular404Redirect)??""),[d,p]=M.useState(((a=n.redirects)==null?void 0:a.invalidShortUrlRedirect)??""),v=EB(async()=>r({domain:n.domain,redirects:{baseUrlRedirect:s_(s),regular404Redirect:s_(c),invalidShortUrlRedirect:s_(d)}}).then(t));return m.jsx(gr,{isOpen:e,toggle:t,centered:!0,children:m.jsxs("form",{name:"domainRedirectsModal",onSubmit:v,children:[m.jsxs(ho,{toggle:t,children:["Edit redirects for ",m.jsx("b",{children:n.domain})]}),m.jsxs(Mi,{children:[m.jsxs(c_,{value:s,onChange:l,children:[m.jsxs(Qm,{className:"me-2",placement:"bottom",children:["Visitors accessing the base url, as in ",m.jsxs("b",{children:["https://",n.domain,"/"]}),", will be redirected to this URL."]}),"Base URL"]}),m.jsxs(c_,{value:c,onChange:f,children:[m.jsxs(Qm,{className:"me-2",placement:"bottom",children:["Visitors accessing a url not matching a short URL pattern, as in ",m.jsxs("b",{children:["https://",n.domain,"/???/[...]"]}),", will be redirected to this URL."]}),"Regular 404"]}),m.jsxs(c_,{value:d,isLast:!0,onChange:p,children:[m.jsx(Qm,{className:"me-2",placement:"bottom",children:"Visitors accessing a url matching a short URL pattern, but not matching an existing short code, will be redirected to this URL."}),"Invalid short URL"]})]}),m.jsxs(rs,{children:[m.jsx(Ke,{color:"link",type:"button",onClick:t,children:"Cancel"}),m.jsx(Ke,{color:"primary",children:"Save"})]})]})})},MLe=({domain:e,editDomainRedirects:t})=>{const[n,r]=Lt(),i=cs(),o=ib();return m.jsxs(r0,{children:[m.jsxs(Me,{tag:kt,to:`${i}/domain/${e.domain}${e.isDefault?`_${ab}`:""}/visits`,children:[m.jsx(Ae,{icon:oP,fixedWidth:!0})," Visit stats"]}),m.jsxs(Me,{disabled:!o||!o.canAddItemWithName(e.domain),onClick:()=>o==null?void 0:o.addItemToCompare({name:e.domain,query:e.domain}),children:[m.jsx(Ae,{icon:qy,fixedWidth:!0})," Compare visits"]}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{onClick:r,children:[m.jsx(Ae,{fixedWidth:!0,icon:iP})," Edit redirects"]}),m.jsx(NLe,{domain:e,isOpen:n,toggle:r,editDomainRedirects:t})]})},LLe=(e,t)=>{const n=r=>i=>{i.event.composedPath().some(({classList:o})=>o==null?void 0:o.contains("visits-table"))||document.querySelector(".modal")||r()};return pse({delta:40,onSwipedLeft:n(t),onSwipedRight:n(e)})},RLe=(e,t)=>{const[n,r]=M.useState(t),i=M.useCallback(o=>{const{location:a,history:s}=window,l=gD(a.search);l[e]=o,s.pushState(null,"",`${a.pathname}?${n0(l)}`),r(o)},[e]);return[n,i]},vC=e=>{const t=Au();return M.useMemo(()=>{var n;return((n=t[e])==null?void 0:n.split(",").filter(Boolean))??[]},[e,t])},$Le=()=>{const e=fo();return M.useCallback(()=>e(-1),[e])},gC=(e,t)=>{const n=M.useCallback(()=>t(`(max-width: ${e}px)`).matches,[t,e]),[r,i]=M.useState(n());return M.useEffect(()=>{const o=()=>i(n());return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[n]),r},ILe=(e,t,n)=>{M.useEffect(()=>{if(!n)return()=>{};const r=i=>i.key===e&&t();return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[n,t,e])},DLe=({status:e,matchMedia:t=window.matchMedia})=>{const n=Ni(),r=gC(991,t);return e==="validating"?m.jsx(Ae,{fixedWidth:!0,icon:R6,spin:!0}):m.jsxs(m.Fragment,{children:[m.jsx("span",{ref:n,children:e==="valid"?m.jsx(Ae,{fixedWidth:!0,icon:Bd,className:"text-muted"}):m.jsx(Ae,{fixedWidth:!0,icon:mx,className:"text-danger"})}),m.jsx(Dr,{target:n,placement:r?"right":"left",autohide:e==="valid",children:e==="valid"?"Congratulations! This domain is properly configured.":m.jsxs("span",{children:["Oops! There is some missing configuration, and short URLs shared with this domain will not work.",m.jsx("br",{}),"Check the ",m.jsx(pr,{href:"https://slnk.to/multi-domain-docs",children:"documentation"})," in order to find out what is missing."]})})]})},u_=({fallback:e})=>m.jsxs("span",{className:"text-muted",children:[!e&&m.jsx("small",{children:"No redirect"}),e&&m.jsxs(m.Fragment,{children:[e," ",m.jsx("small",{children:"(as fallback)"})]})]}),FLe=()=>m.jsxs(m.Fragment,{children:[m.jsx(Ae,{fixedWidth:!0,icon:uK,className:"text-primary",id:"defaultDomainIcon"}),m.jsx(Dr,{target:"defaultDomainIcon",placement:"right",children:"Default domain"})]}),BLe=({domain:e,editDomainRedirects:t,checkDomainHealth:n,defaultRedirects:r})=>{const{domain:i,isDefault:o,redirects:a,status:s}=e;return M.useEffect(()=>{n(e.domain)},[n,e.domain]),m.jsxs("tr",{className:"responsive-table__row",children:[m.jsx("td",{className:"responsive-table__cell","data-th":"Is default domain",children:o&&m.jsx(FLe,{})}),m.jsx("th",{className:"responsive-table__cell","data-th":"Domain",children:i}),m.jsx("td",{className:"responsive-table__cell","data-th":"Base path redirect",children:(a==null?void 0:a.baseUrlRedirect)??m.jsx(u_,{fallback:r==null?void 0:r.baseUrlRedirect})}),m.jsx("td",{className:"responsive-table__cell","data-th":"Regular 404 redirect",children:(a==null?void 0:a.regular404Redirect)??m.jsx(u_,{fallback:r==null?void 0:r.regular404Redirect})}),m.jsx("td",{className:"responsive-table__cell","data-th":"Invalid short URL redirect",children:(a==null?void 0:a.invalidShortUrlRedirect)??m.jsx(u_,{fallback:r==null?void 0:r.invalidShortUrlRedirect})}),m.jsx("td",{className:"responsive-table__cell text-lg-center","data-th":"Status",children:m.jsx(DLe,{status:s})}),m.jsx("td",{className:"responsive-table__cell text-end",children:m.jsx(MLe,{domain:e,editDomainRedirects:t})})]})},i4=[{value:"Is default domain",isHidden:!0},{value:"Domain",isHidden:!1},{value:"Base path redirect",isHidden:!1},{value:"Regular 404 redirect",isHidden:!1},{value:"Invalid short URL redirect",isHidden:!1},{value:"Domain status",isHidden:!0},{value:"Options",isHidden:!0}],ULe=({domainsList:e,filterDomains:t,editDomainRedirects:n,checkDomainHealth:r})=>{var i;const{filteredDomains:o,defaultRedirects:a,loading:s,error:l,errorData:c}=e,f=a??((i=o.find(({isDefault:p})=>p))==null?void 0:i.redirects),d=lC();return s?m.jsx(Bo,{loading:!0}):m.jsxs(sC,{value:d,children:[m.jsx(Xh,{className:"mb-3",onChange:t}),m.jsx(cC,{type:"domains",className:"mb-3"}),l?m.jsx(Xn,{type:"error",children:m.jsx(uo,{errorData:c,fallbackMessage:"Error loading domains :("})}):m.jsx(yt,{children:m.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[m.jsx("thead",{className:"responsive-table__header",children:m.jsx("tr",{children:i4.map((p,v)=>m.jsx("th",{children:m.jsx("span",{className:p.isHidden?"sr-only":void 0,children:p.value})},v))})}),m.jsxs("tbody",{children:[o.length<1&&m.jsx("tr",{children:m.jsx("td",{colSpan:i4.length,className:"text-center",children:"No results found"})}),o.map(p=>m.jsx(BLe,{domain:p,editDomainRedirects:n,checkDomainHealth:r,defaultRedirects:f},p.domain))]})]})})]})},zLe="shlink/domainRedirects/EDIT_DOMAIN_REDIRECTS",VLe=e=>fn(zLe,async({domain:t,redirects:n})=>{const r=await e().editDomainRedirects({domain:t,...n});return{domain:t,redirects:r}}),Sm="shlink/domainsList",Pm={domains:[],filteredDomains:[],loading:!1,error:!1},o4=({domain:e,redirects:t})=>n=>n.domain!==e?n:{...n,redirects:t},a4=(e,t)=>n=>n.domain!==e?n:{...n,status:t},WLe=(e,t)=>{const n=fn(`${Sm}/listDomains`,async()=>{const{data:a,defaultRedirects:s}=await e().listDomains();return{domains:a.map(l=>({...l,status:"validating"})),defaultRedirects:s}}),r=fn(`${Sm}/checkDomainHealth`,async a=>{try{const{status:s}=await e().health(a);return{domain:a,status:s==="pass"?"valid":"invalid"}}catch{return{domain:a,status:"invalid"}}}),i=Qn(`${Sm}/filterDomains`),{reducer:o}=Qt({name:Sm,initialState:Pm,reducers:{},extraReducers:a=>{a.addCase(n.pending,()=>({...Pm,loading:!0})),a.addCase(n.rejected,(s,{error:l})=>({...Pm,error:!0,errorData:Fr(l)})),a.addCase(n.fulfilled,(s,{payload:l})=>({...Pm,...l,filteredDomains:l.domains})),a.addCase(r.fulfilled,({domains:s,filteredDomains:l,...c},{payload:f})=>({...c,domains:s.map(a4(f.domain,f.status)),filteredDomains:l.map(a4(f.domain,f.status))})),a.addCase(i,(s,{payload:l})=>({...s,filteredDomains:s.domains.filter(({domain:c})=>c.toLowerCase().match(l.toLowerCase()))})),a.addCase(t.fulfilled,(s,{payload:l})=>({...s,domains:s.domains.map(o4(l)),filteredDomains:s.filteredDomains.map(o4(l))}))}});return{reducer:o,listDomains:n,checkDomainHealth:r,filterDomains:i}},HLe=(e,t)=>{e.serviceFactory("ManageDomains",()=>ULe),e.decorator("ManageDomains",t(["domainsList"],["filterDomains","editDomainRedirects","checkDomainHealth"])),e.serviceFactory("domainsListReducerCreator",WLe,"apiClientFactory","editDomainRedirects"),e.serviceFactory("domainsListReducer",n=>n.reducer,"domainsListReducerCreator"),e.serviceFactory("listDomains",n=>n.listDomains,"domainsListReducerCreator"),e.serviceFactory("filterDomains",n=>n.filterDomains,"domainsListReducerCreator"),e.serviceFactory("editDomainRedirects",VLe,"apiClientFactory"),e.serviceFactory("checkDomainHealth",n=>n.checkDomainHealth,"domainsListReducerCreator")},s4="shlink/mercure",GLe={loading:!0,error:!1},qLe=e=>{const t=fn(`${s4}/loadMercureInfo`,r=>{if(r&&r.realTimeUpdates&&!r.realTimeUpdates.enabled)throw new Error("Real time updates not enabled");return e().mercureInfo()}),{reducer:n}=Qt({name:s4,initialState:GLe,reducers:{},extraReducers:r=>{r.addCase(t.pending,i=>({...i,loading:!0,error:!1})),r.addCase(t.rejected,i=>({...i,loading:!1,error:!0})),r.addCase(t.fulfilled,(i,{payload:o})=>({...o,loading:!1,error:!1}))}});return{loadMercureInfo:t,reducer:n}},KLe=e=>{e.serviceFactory("mercureInfoReducerCreator",qLe,"apiClientFactory"),e.serviceFactory("mercureInfoReducer",t=>t.reducer,"mercureInfoReducerCreator"),e.serviceFactory("loadMercureInfo",t=>t.loadMercureInfo,"mercureInfoReducerCreator")};function Rt(e){return M.useRef(e).current}function $t(e,t){return(n,r=globalThis.console)=>(t.forEach(i=>{const o=n[i];e[i]=o}),e)}const YLe=(e,t,n,r)=>{const{mercureHubUrl:i,token:o,loading:a,error:s}=e;if(a||s||!i)return;const l=({data:d})=>n(JSON.parse(d)),c=({status:d})=>d===401&&r(),f=t.map(d=>{const p=new URL(i);p.searchParams.append("topic",d);const v=new mse.EventSourcePolyfill(p,{headers:{Authorization:`Bearer ${o}`}});return v.onmessage=l,v.onerror=c,v});return()=>f.forEach(d=>d.close())};function Ii(e,t){const n=new Set;return r=>{const{createNewVisits:i,loadMercureInfo:o,mercureInfo:a}=r,s=Cu();return M.useEffect(()=>{const{interval:l}=a,c=v=>l?n.add(v):i([v]),f=t(s),d=YLe(a,f,c,o);if(!l)return d;const p=setInterval(()=>{i([...n]),n.clear()},l*1e3*60);return()=>{clearInterval(p),d==null||d()}},[i,o,a,s]),m.jsx(e,{...r})}}class er{}Fa(er,"visits","https://shlink.io/new-visit"),Fa(er,"orphanVisits","https://shlink.io/new-orphan-visit"),Fa(er,"shortUrlVisits",e=>`https://shlink.io/new-visit/${e}`);const yC="shlink/shortUrlDeletion",l4={shortCode:"",loading:!1,deleted:!1,error:!1},ZLe=e=>fn(`${yC}/deleteShortUrl`,async({shortCode:t,domain:n})=>(await e().deleteShortUrl(t,n),{shortCode:t,domain:n})),CB=Qn(`${yC}/shortUrlDeleted`),XLe=e=>{const{actions:t,reducer:n}=Qt({name:yC,initialState:l4,reducers:{resetDeleteShortUrl:()=>l4},extraReducers:i=>{i.addCase(e.pending,o=>({...o,loading:!0,error:!1,deleted:!1})),i.addCase(e.rejected,(o,{error:a})=>({...o,errorData:Fr(a),loading:!1,error:!0,deleted:!1})),i.addCase(e.fulfilled,(o,{payload:a})=>({...o,shortCode:a.shortCode,loading:!1,error:!1,deleted:!0}))}}),{resetDeleteShortUrl:r}=t;return{reducer:n,resetDeleteShortUrl:r}},TB="shlink/shortUrlsList",jB=5,QLe={loading:!0,error:!1},JLe=e=>fn(`${TB}/listShortUrls`,t=>e().listShortUrls(t??{})),e4e=(e,t,n)=>Qt({name:TB,initialState:QLe,reducers:{},extraReducers:r=>{r.addCase(e.pending,i=>({...i,loading:!0,error:!1})),r.addCase(e.rejected,()=>({loading:!1,error:!0})),r.addCase(e.fulfilled,(i,{payload:o})=>({loading:!1,error:!1,shortUrls:o})),r.addCase(n.fulfilled,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=[o,...i.shortUrls.data.slice(0,jB-1)],i.shortUrls.pagination.totalItems+=1)}),r.addCase(t.fulfilled,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.map(a=>{const{shortCode:s,domain:l}=o;return bd(a,s,l)?o:a}))}),r.addCase(CB,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.filter(a=>!bd(a,o.shortCode,o.domain)),i.shortUrls.pagination.totalItems-=1)}),r.addCase(Yu,(i,{payload:o})=>{i.shortUrls&&(i.shortUrls.data=i.shortUrls.data.map(a=>{var s;return((s=o.createdVisits.findLast(({shortUrl:l})=>l&&bd(a,l.shortCode,l.domain)))==null?void 0:s.shortUrl)??a}))})}}),c4=10,{ceil:t4e}=Math,n4e=new Intl.NumberFormat("en-US"),qt=e=>n4e.format(Number(e)),r4e=e=>t4e(e/c4)*c4,GO=({children:e,title:t,link:n,tooltip:r})=>{const i=Ni();return m.jsxs(m.Fragment,{children:[m.jsxs(Ir,{innerRef:i,className:"highlight-card",body:!0,tag:kt,to:n,children:[m.jsx(Ae,{size:"3x",className:"highlight-card__link-icon",icon:jse}),m.jsx(iD,{className:"lh-sm fw-semibold text-uppercase fs-5 highlight-card__title",children:t}),m.jsx(rD,{className:"fs-2 fw-semibold lh-sm",children:e})]}),r&&m.jsx(Dr,{target:i,placement:"bottom",children:r})]})},u4=({loading:e,excludeBots:t,visitsSummary:n,...r})=>m.jsx(GO,{tooltip:n.bots!==void 0?m.jsxs(m.Fragment,{children:[t?"Plus":"Including"," ",m.jsx("strong",{children:qt(n.bots)})," potential bot visits"]}):void 0,...r,children:e?"Loading...":qt(t&&n.nonBots?n.nonBots:n.total)}),f4=({children:e,titleLinkText:t,titleLink:n,title:r})=>m.jsxs(Ir,{children:[m.jsxs(Yh,{className:"d-flex justify-content-between align-items-center",children:[m.jsx("span",{className:"d-sm-none",children:r}),m.jsx("h5",{className:"d-none d-sm-inline m-0",children:r}),m.jsxs(kt,{to:n,children:[t," »"]})]}),m.jsx(Kh,{children:e})]}),AB=Ii(({shortUrlsList:e,listShortUrls:t,tagsList:n,loadVisitsOverview:r,visitsOverview:i})=>{const{ShortUrlsTable:o,CreateShortUrl:a}=Rt(AB),{loading:s,shortUrls:l}=e,{loading:c}=n,{loading:f,nonOrphanVisits:d,orphanVisits:p}=i,v=cs(),y=fo(),g=rr("visits");return M.useEffect(()=>{t({itemsPerPage:jB,orderBy:{field:"dateCreated",dir:"DESC"}}),r()},[t,r]),m.jsxs(m.Fragment,{children:[m.jsxs(Er,{children:[m.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:m.jsx(u4,{title:"Visits",link:`${v}/non-orphan-visits`,excludeBots:(g==null?void 0:g.excludeBots)??!1,loading:f,visitsSummary:d})}),m.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:m.jsx(u4,{title:"Orphan visits",link:`${v}/orphan-visits`,excludeBots:(g==null?void 0:g.excludeBots)??!1,loading:f,visitsSummary:p})}),m.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:m.jsx(GO,{title:"Short URLs",link:`${v}/list-short-urls/1`,children:s?"Loading...":qt((l==null?void 0:l.pagination.totalItems)??0)})}),m.jsx("div",{className:"col-lg-6 col-xl-3 mb-3",children:m.jsx(GO,{title:"Tags",link:`${v}/manage-tags`,children:c?"Loading...":qt(n.tags.length)})})]}),m.jsxs("div",{className:"d-flex flex-column gap-3",children:[m.jsx(f4,{title:"Create a short URL",titleLinkText:"Advanced options",titleLink:`${v}/create-short-url`,children:m.jsx(a,{basicMode:!0})}),m.jsx(f4,{title:"Recently created URLs",titleLinkText:"See all",titleLink:`${v}/list-short-urls/1`,children:m.jsx(o,{shortUrlsList:e,className:"mb-0",onTagClick:x=>y(`${v}/list-short-urls/1?tags=${encodeURIComponent(x)}`)})})]})]})},()=>[er.visits,er.orphanVisits]),i4e=$t(AB,["ShortUrlsTable","CreateShortUrl"]);function o4e(e,t){e.factory("Overview",i4e),e.decorator("Overview",t(["shortUrlsList","tagsList","mercureInfo","visitsOverview"],["listShortUrls","createNewVisits","loadMercureInfo","loadVisitsOverview"]))}const kB="shlink/setShortUrlRedirectRules",d4={saving:!1,saved:!1,error:!1},a4e=e=>fn(`${kB}/setShortUrlRedirectRules`,({shortUrl:t,data:n})=>{const{shortCode:r,domain:i}=t;return e().setShortUrlRedirectRules(r,i,n)}),s4e=e=>{const{reducer:t,actions:n}=Qt({name:kB,initialState:d4,reducers:{resetSetRules:()=>d4},extraReducers:i=>{i.addCase(e.pending,()=>({saving:!0,saved:!1,error:!1})),i.addCase(e.rejected,(o,{error:a})=>({saving:!1,saved:!1,error:!0,errorData:Fr(a)})),i.addCase(e.fulfilled,()=>({saving:!1,error:!1,saved:!0}))}}),{resetSetRules:r}=n;return{reducer:t,resetSetRules:r}},NB="shlink/getShortUrlRedirectRules",l4e={loading:!0,error:!1},c4e=e=>fn(`${NB}/getShortUrlRedirectRules`,({shortCode:t,domain:n})=>e().getShortUrlRedirectRules(t,n)),u4e=e=>Qt({name:NB,initialState:l4e,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({loading:!0,error:!1})),t.addCase(e.rejected,()=>({loading:!1,error:!0})),t.addCase(e.fulfilled,(n,{payload:r})=>({loading:!1,error:!1,...r}))}});function f4e(e,t){var n=!1;return function(...r){n||(e.call(null,...r),n=!0,setTimeout(function(){n=!1},t))}}function MB(e){return e.split(" ").filter(t=>t)}var LB=typeof window<"u";function pl(e,t,n=!1){if(!t)return;const r=MB(t);if(r.length&&!r.includes("longTouch"))for(const i of e){if(!mp(i)||!oo.has(i)){i.classList.add(...r);continue}const o=[],a=oo.get(i);if(a){for(const s of r)i.classList.contains(s)?i.classList.contains(s)&&n===!1&&o.push(s):i.classList.add(s);a.privateClasses=o,oo.set(i,a)}}}function gy(e,t){if(!t)return;const n=MB(t);if(n.length)for(const r of e){if(!mp(r)){r.classList.remove(...n);continue}const i=oo.get(r);if(i)for(const o of n)i.privateClasses.includes(o)||r.classList.remove(o)}}function RB(e){let t=e.parentNode;for(;t!==null&&t.nodeType===1&&t instanceof HTMLElement;){const n=window.getComputedStyle(t).getPropertyValue("overflow");if(n==="scroll"||n==="auto")return t;t=t.parentNode}return document.documentElement}function d4e(e){if(!(e.e instanceof TouchEvent))return;const t=e.e.touches[0].clientX,n=e.e.touches[0].clientY;let r=document.elementFromPoint(t,n);if(!mp(r))return;let i,o=!0;for(;r&&o;){if(oo.has(r)||Pi.has(r)){o=!1,i=Pi.has(r);break}r=r.parentNode}if(i){const a=Pi.get(r);return a?{parent:{el:r,data:a}}:void 0}else{const a=oo.get(r);if(!a)return;const s=Pi.get(r.parentNode);return s?{node:{el:r,data:a},parent:{el:r.parentNode,data:s}}:void 0}}function mp(e){return e instanceof HTMLElement&&e.parentNode instanceof HTMLElement}function $B(e,t){const n=new AbortController;for(const r in t){const i=t[r];e.addEventListener(r,i,{signal:n.signal,passive:!1})}return n}function IB(e,t,n=!1){const r=window.getComputedStyle(e),i=["position","z-index","top","left","x","pointer-events","y","transform-origin","filter","-webkit-text-fill-color"];for(const o of Array.from(r))n===!1&&o&&i.includes(o)||t.style.setProperty(o,r.getPropertyValue(o),r.getPropertyPriority(o));for(const o of Array.from(e.children)){if(!mp(o))continue;const a=t.children[Array.from(e.children).indexOf(o)];IB(o,a,n)}}function Ol(e){return e instanceof DragEvent?{x:e.clientX,y:e.clientY}:{x:e.touches[0].clientX,y:e.touches[0].clientY}}Array();var h4={up:[0,-1],down:[0,1],left:[-1,0],right:[1,0]},oo=new WeakMap,Pi=new WeakMap,qe=void 0;function h4e(){qe=void 0}function DB(e){return qe={ascendingDirection:!1,incomingDirection:void 0,enterCount:0,targetIndex:0,affectedNodes:[],lastValue:void 0,activeNode:void 0,lastTargetValue:void 0,remapJustFinished:!1,preventEnter:!1,clonedDraggedEls:[],swappedNodeValue:!1,originalZIndex:void 0,...e},qe}function p4e(e,t){return qe={...e,...t},qe}function FB(e){const{x:t,y:n}=Ol(e.e);return{coordinates:{x:t,y:n},draggedNode:{el:e.targetData.node.el,data:e.targetData.node.data},draggedNodes:[{el:e.targetData.node.el,data:e.targetData.node.data}],initialIndex:e.targetData.node.data.index,initialParent:{el:e.targetData.parent.el,data:e.targetData.parent.data},lastParent:{el:e.targetData.parent.el,data:e.targetData.parent.data},scrollParent:RB(e.targetData.node.el)}}function m4e(e,t){const n=BB(e),r=[...qO(t.targetData.parent.el,t.targetData.parent.data).filter(i=>!n.includes(i))];r.splice(t.targetData.node.data.index,0,...n),e.lastTargetValue=t.targetData.node.data.value,KO(t.targetData.parent.el,t.targetData.parent.data,[...r])}function qO(e,t){return[...t.getValues(e)]}function KO(e,t,n){t.setValues(n,e)}function BB(e){return[...e.draggedNodes.map(t=>t.data.value)]}function v4e({parent:e,getValues:t,setValues:n,config:r={}}){var i,o;if(!LB)return;document.addEventListener("dragover",s=>{if(s.preventDefault(),qe){qe.remapJustFinished=!1,qe.lastTargetValue=void 0;const{x:l,y:c}=Ol(s);qe.coordinates.y=c,qe.coordinates.x=l,sb()}}),UB(e);const a={getValues:t,setValues:n,config:{handleDragstart:_4e,handleDragoverNode:G4e,handleDragoverParent:q4e,handleEnd:A4e,handleTouchstart:N4e,handleTouchmove:$4e,handleTouchOverNode:P4e,handleTouchOverParent:K4e,performSort:m4e,performTransfer:Q4e,root:document,setupNode:E4e,setupNodeRemap:WB,reapplyDragClasses:C4e,tearDownNode:j4e,tearDownNodeRemap:T4e,remapFinished:b4e,scrollBehavior:{x:.8,y:.8},threshold:{horizontal:0,vertical:0},...r},enabledNodes:[],abortControllers:{}};g4e(e,a),(i=r.plugins)==null||i.forEach(s=>{var l,c;(c=(l=s(e))==null?void 0:l.tearDown)==null||c.call(l)}),(o=r.plugins)==null||o.forEach(s=>{var l,c;(c=(l=s(e))==null?void 0:l.setup)==null||c.call(l)}),zB(e,!0)}function UB(e){const t=Pi.get(e);t&&t.abortControllers.mainParent&&t.abortControllers.mainParent.abort()}function g4e(e,t){new MutationObserver(y4e).observe(e,{childList:!0}),Pi.set(e,t),t.abortControllers.mainParent=$B(e,{dragover:J4e(f4e(t.config.handleDragoverParent,10)),touchOverParent:t.config.handleTouchOverParent})}function y4e(e){const t=e[0].target;t instanceof HTMLElement&&zB(t)}function zB(e,t){const n=Pi.get(e);if(!n)return;const r=[],i=n.config;for(let s=0;sp.data.value).includes(f.value)){const p=qe.draggedNodes.find(v=>v.data.value===f.value);p&&(p.el=l)}a.push({el:l,data:f});const d={node:l,parent:e,parentData:n,nodeData:f};(t||!c)&&i.setupNode(d),WB(d)}Pi.set(e,{...n,enabledNodes:a}),i.remapFinished(n)}function b4e(){qe&&(qe.preventEnter=!1,qe.swappedNodeValue=void 0,qe.remapJustFinished=!0)}function _4e(e){e.e instanceof DragEvent&&S4e({e:e.e,targetData:e.targetData})}function x4e(e,t,n){pl([e],t),setTimeout(()=>{gy([e],t),pl([e],n)})}function w4e(e){const t=DB(FB(e));return e.e.stopPropagation(),e.e.dataTransfer&&(e.e.dataTransfer.dropEffect="move",e.e.dataTransfer.effectAllowed="move",e.e.dataTransfer.setDragImage(e.targetData.node.el,e.e.offsetX,e.e.offsetY)),t}function VB(e){if(!(e.e instanceof DragEvent)&&!(e.e instanceof TouchEvent))return!1;const t=e.targetData.parent.data.config;if(!t.dragHandle)return!0;const n=e.targetData.node.el.querySelectorAll(t.dragHandle);if(!n)return!1;const r=Ol(e.e),i=t.root.elementFromPoint(r.x,r.y);if(!i)return!1;for(const o of Array.from(n))if(i===o||o.contains(i))return!0;return!1}function O4e(e){if(!VB(e))return;const t=M4e(e);L4e(e,t),R4e(e,t)}function S4e(e){if(!VB(e)){e.e.preventDefault();return}const t=e.targetData.parent.data.config,n=w4e(e),r=e.targetData.node.el.style.zIndex;n.originalZIndex=r,e.targetData.node.el.style.zIndex="9999",x4e(n.draggedNode.el,t.draggingClass,t.dropZoneClass)}function P4e(e){qe&&(e.detail.targetData.parent.el===qe.lastParent.el?qB(e.detail,qe):lb(e.detail,qe))}function E4e(e){var t;const n=e.parentData.config;e.node.draggable=!0,e.nodeData.abortControllers.mainNode=$B(e.node,{dragstart:Gl(n.handleDragstart),dragover:Gl(n.handleDragoverNode),dragend:Gl(n.handleEnd),touchstart:Gl(n.handleTouchstart),touchmove:Gl(n.handleTouchmove),touchend:Gl(n.handleEnd),touchOverNode:n.handleTouchOverNode}),n.reapplyDragClasses(e.node,e.parentData),(t=e.parentData.config.plugins)==null||t.forEach(r=>{var i,o;(o=(i=r(e.parent))==null?void 0:i.setupNode)==null||o.call(i,e)})}function WB(e){var t;oo.set(e.node,e.nodeData),(t=e.parentData.config.plugins)==null||t.forEach(n=>{var r,i;(i=(r=n(e.parent))==null?void 0:r.setupNodeRemap)==null||i.call(r,e)})}function C4e(e,t){if(!qe)return;const n="touchedNode"in qe?t.config.touchDropZoneClass:t.config.dropZoneClass;qe.draggedNode.el===e&&pl([e],n,!0)}function T4e(e){var t;(t=e.parentData.config.plugins)==null||t.forEach(n=>{var r,i;(i=(r=n(e.parent))==null?void 0:r.tearDownNodeRemap)==null||i.call(r,e)})}function j4e(e){var t,n,r,i,o;(t=e.parentData.config.plugins)==null||t.forEach(a=>{var s,l;(l=(s=a(e.parent))==null?void 0:s.tearDownNode)==null||l.call(s,e)}),e.node.draggable=!1,(r=(n=e.nodeData)==null?void 0:n.abortControllers)!=null&&r.mainNode&&((o=(i=e.nodeData)==null?void 0:i.abortControllers)==null||o.mainNode.abort())}function A4e(e){qe&&(k4e(e,qe),h4e())}function k4e(e,t){var n,r,i,o;document.removeEventListener("contextmenu",HB),"longTouchTimeout"in t&&t.longTouchTimeout&&clearTimeout(t.longTouchTimeout);const a=(n=Pi.get(t.initialParent.el))==null?void 0:n.config,s="touchedNode"in t?a==null?void 0:a.touchDropZoneClass:a==null?void 0:a.dropZoneClass;t.originalZIndex!==void 0&&(t.draggedNode.el.style.zIndex=t.originalZIndex),pl(t.draggedNodes.map(l=>l.el),s,!0),gy(t.draggedNodes.map(l=>l.el),s),a!=null&&a.longTouchClass&&gy(t.draggedNodes.map(l=>l.el),(i=(r=t.initialParent.data)==null?void 0:r.config)==null?void 0:i.longTouchClass),"touchedNode"in t&&((o=t.touchedNode)==null||o.remove())}function N4e(e){e.e instanceof TouchEvent&&O4e({e:e.e,targetData:e.targetData})}function M4e(e){e.e.stopPropagation();const t=e.targetData.node.el.cloneNode(!0),n=e.targetData.node.el.getBoundingClientRect();return p4e(DB(FB(e)),{coordinates:{x:e.e.touches[0].clientX,y:e.e.touches[0].clientY},scrollParent:RB(e.targetData.node.el),touchStartLeft:e.e.touches[0].clientX-n.left,touchStartTop:e.e.touches[0].clientY-n.top,touchedNode:t,touchMoving:!1})}function HB(e){e.preventDefault()}function L4e(e,t){t.touchedNodeDisplay=t.touchedNode.style.display;const n=e.targetData.node.el.getBoundingClientRect();t.touchedNode.style.cssText=` + width: ${n.width}px; + position: fixed; + pointer-events: none; + top: -9999px; + z-index: 999999; + display: none; + `,document.body.append(t.touchedNode),IB(e.targetData.node.el,t.touchedNode),t.touchedNode.style.display="none",document.addEventListener("contextmenu",HB)}function R4e(e,t){const n=e.targetData.parent.data.config;n.longTouch&&(t.longTouchTimeout=setTimeout(()=>{t&&(t.longTouch=!0,n.longTouchClass&&e.e.cancelable&&pl(t.draggedNodes.map(r=>r.el),n.longTouchClass),e.e.preventDefault())},n.longTouchTimeout||200))}function $4e(e){!qe||!("touchedNode"in qe)||H4e(e,qe)}function I4e(e,t){t.longTouchClass&&gy(e.draggedNodes.map(n=>n.el),t==null?void 0:t.longTouchClass),t.touchDraggingClass&&pl([e.touchedNode],t.touchDraggingClass),t.touchDropZoneClass&&pl(e.draggedNodes.map(n=>n.el),t.touchDropZoneClass)}function D4e(e){if(!e||!e.scrollParent)return;const{x:t,y:n,width:r,height:i}=e.scrollParent.getBoundingClientRect(),{x:o,y:a,scrollOutside:s}=e.lastParent.data.config.scrollBehavior;return{state:e,xThresh:o,yThresh:a,scrollOutside:s,scrollParent:e.scrollParent,x:t,y:n,width:r,height:i}}function F4e(e){const t=D4e(qe);if(t)switch(e){case"down":return V4e(t.state,t);case"up":return z4e(t.state,t);case"right":return B4e(t.state,t);case"left":return U4e(t.state,t)}}function B4e(e,t){const n=t.scrollParent.clientWidth+t.x-e.coordinates.x;if(!(!t.scrollOutside&&n<0)&&n<(1-t.xThresh)*t.scrollParent.clientWidth&&!(t.scrollParent.scrollLeft+t.scrollParent.clientWidth>=t.scrollParent.scrollWidth))return e}function U4e(e,t){const n=t.scrollParent.clientWidth+t.x-e.coordinates.x;if(!(!t.scrollOutside&&n>t.scrollParent.clientWidth)&&n>t.xThresh*t.scrollParent.clientWidth&&t.scrollParent.scrollLeft!==0)return e}function z4e(e,t){const n=t.scrollParent.clientHeight+t.y-e.coordinates.y;if(!(!t.scrollOutside&&n>t.scrollParent.clientHeight)&&n>t.yThresh*t.scrollParent.clientHeight&&t.scrollParent.scrollTop!==0)return e}function V4e(e,t){const n=t.scrollParent.clientHeight+t.y-e.coordinates.y;if(!(!t.scrollOutside&&n<0)&&n<(1-t.yThresh)*t.scrollParent.clientHeight&&!(t.scrollParent.scrollTop+t.scrollParent.clientHeight>=t.scrollParent.scrollHeight))return e}function W4e(e,t){t.touchMoving=!0,t.touchedNode.style.display=t.touchedNodeDisplay||"";const{x:n,y:r}=Ol(e.e);t.coordinates.y=r,t.coordinates.x=n;const i=t.touchStartLeft??0,o=t.touchStartTop??0;t.touchedNode.style.left=`${n-i}px`,t.touchedNode.style.top=`${r-o}px`,I4e(t,e.targetData.parent.data.config)}function H4e(e,t){if(e.targetData.parent.data.config.longTouch&&!t.longTouch){clearTimeout(t.longTouchTimeout);return}e.e.cancelable&&e.e.preventDefault(),W4e(e,t),sb();const n=d4e(e);if(!n)return;const r={e:e.e,targetData:n};"node"in n?n.node.el.dispatchEvent(new CustomEvent("touchOverNode",{detail:r})):n.parent.el.dispatchEvent(new CustomEvent("touchOverParent",{detail:r}))}function sb(){for(const e of Object.keys(h4)){const[t,n]=h4[e];GB(e,t,n)}}function GB(e,t,n){const r=F4e(e);r&&(r.scrollParent.scrollBy(t,n),setTimeout(()=>{GB(e,t,n)},"touchedNode"in r?10:100))}function G4e(e){if(!qe)return;const{x:t,y:n}=Ol(e.e);qe.coordinates.y=n,qe.coordinates.x=t,sb(),Z4e(e,qe)}function q4e(e){if(!qe)return;const{x:t,y:n}=Ol(e.e);qe.coordinates.y=n,qe.coordinates.x=t,sb(),lb(e,qe)}function K4e(e){qe&&lb(e.detail,qe)}function Y4e(e,t){if(e.targetData.parent.el===t.lastParent.el)return!1;const n=e.targetData.parent.data.config;if(n.dropZone===!1)return!1;const r=t.initialParent.data.config;return n.accepts?n.accepts(e.targetData.parent,t.initialParent,t.lastParent,t):!(!n.group||n.group!==r.group)}function Z4e(e,t){var n;e.e.preventDefault(),e.e.stopPropagation(),e.targetData.parent.el===((n=t.lastParent)==null?void 0:n.el)?qB(e,t):lb(e,t)}function X4e(e,t,n,r){var i;if(t.remapJustFinished)return t.remapJustFinished=!1,t.lastTargetValue=e.targetData.node.data.value,!1;if(t.lastTargetValue===e.targetData.node.data.value||t.draggedNodes.map(p=>p.el).includes(e.targetData.node.el)||t.preventEnter||t.swappedNodeValue===e.targetData.node.data.value||e.targetData.parent.el!==((i=t.lastParent)==null?void 0:i.el)||e.targetData.parent.data.config.sortable===!1)return!1;const o=e.targetData.node.el.getBoundingClientRect(),a=t.draggedNode.el.getBoundingClientRect(),s=o.y-a.y,l=o.x-a.x;let c;const f=t.draggedNode.data.index>e.targetData.node.data.index?[e.targetData.node.data.index,t.draggedNode.data.index]:[t.draggedNode.data.index,e.targetData.node.data.index];t.targetIndex=e.targetData.node.data.index,t.affectedNodes=e.targetData.parent.data.enabledNodes.filter(p=>f[0]<=p.data.index&&p.data.index<=f[1]&&p.el!==t.draggedNode.el),Math.abs(s)>Math.abs(l)?c=s>0?"above":"below":c=l>0?"left":"right";const d=t.lastParent.data.config.threshold;switch(c){case"left":if(n>o.x+o.width*d.horizontal)return t.incomingDirection="left",!0;break;case"right":if(no.y+o.height*d.vertical)return t.incomingDirection="above",!0;break;case"below":if(r{const r=t(n.currentTarget);if(r)return e({e:n,targetData:r})}}function Q4e(e,t){const n=BB(e),r=qO(e.lastParent.el,e.lastParent.data).filter(s=>!n.includes(s)),i=qO(t.targetData.parent.el,t.targetData.parent.data),o=e.initialParent.el===t.targetData.parent.el&&t.targetData.parent.data.config.sortable===!1;let a;"node"in t.targetData?(o?a=e.initialIndex:t.targetData.parent.data.config.sortable===!1?a=t.targetData.parent.data.enabledNodes.length:a=t.targetData.node.data.index,i.splice(a,0,...n)):(a=o?e.initialIndex:t.targetData.parent.data.enabledNodes.length,i.splice(a,0,...n)),KO(e.lastParent.el,e.lastParent.data,r),KO(t.targetData.parent.el,t.targetData.parent.data,i)}function lb(e,t){Y4e(e,t)&&(e.targetData.parent.data.config.performTransfer(t,e),t.lastParent=e.targetData.parent)}function J4e(e){function t(n){const r=Pi.get(n);if(r)return{parent:{el:n,data:r}}}return n=>{const r=t(n.currentTarget);if(r)return e({e:n,targetData:r})}}function eRe(e){if(e instanceof HTMLElement)return e;if("current"in e&&e.current instanceof HTMLElement)return e.current;console.warn("Invalid parent element",e)}function tRe(e,t){const n=eRe(e);n&&t(n)}var yy=new WeakMap;function nRe(e){const t=yy.get(e);return t?t[0]:(console.warn("No values found for parent element"),[])}function rRe(e,t){const n=yy.get(t);n&&n[1](e),yy.set(t,[e,n[1]])}function iRe(e,t){return n=>{yy.set(n,t),v4e({parent:n,getValues:nRe,setValues:rRe,config:e})}}function p4(e){LB&&(Array.isArray(e)||(e=[e]),e.forEach(t=>{const{parent:n,state:r,...i}=t;tRe(n,iRe(i,r))}))}function oRe(e,t={}){const n=M.useRef(null),[r,i]=M.useState(e);function o(a={}){p4({parent:n,state:[r,i],...a})}return M.useEffect(()=>{p4({parent:n,state:[r,i],...t})},[r]),M.useEffect(()=>()=>{n.current&&UB(n.current)},[]),[n,r,i,o]}const cb=()=>{const e=fo(),t=cs(),n=Au(),r=M.useMemo(()=>{const{orderBy:o,tags:a,excludeBots:s,excludeMaxVisitsReached:l,excludePastValidUntil:c,...f}=n,d=o?vie(o):void 0,p=(a==null?void 0:a.split(","))??[];return{...f,orderBy:d,tags:p,excludeBots:s!==void 0?s==="true":void 0,excludeMaxVisitsReached:l!==void 0?l==="true":void 0,excludePastValidUntil:c!==void 0?c==="true":void 0}},[n]),i=M.useCallback(o=>{const a={...r,...o},{orderBy:s,tags:l,excludeBots:c,excludeMaxVisitsReached:f,excludePastValidUntil:d,...p}=a,v={...p,orderBy:s&&mie(s),tags:l.length>0?l.join(","):void 0,excludeBots:l_(c),excludeMaxVisitsReached:l_(f),excludePastValidUntil:l_(d)},y=n0(v),g=y?`?${y}`:"";e(`${t}/list-short-urls/1${g}`)},[r,e,t]);return[r,i]},bC=()=>{const{domain:e}=Au(),{shortCode:t=""}=Cu();return M.useMemo(()=>({shortCode:uC(t),domain:e}),[e,t])},ub=()=>{const e=$Le();return m.jsx(Ke,{color:"link",size:"lg",className:"p-0 me-3",onClick:e,"aria-label":"Go back",children:m.jsx(Ae,{icon:OK})})},aRe=(e,{maxVersion:t,minVersion:n})=>{const r=!n||s2(e,n,">=");return(!t||s2(e,t,"<="))&&r},KB={excludeBotsOnShortUrls:{minVersion:"3.4.0"},filterDisabledUrls:{minVersion:"3.4.0"},deviceLongUrls:{minVersion:"3.5.0",maxVersion:"3.*.*"},shortUrlVisitsDeletion:{minVersion:"3.6.0"},orphanVisitsDeletion:{minVersion:"3.7.0"},shortUrlRedirectRules:{minVersion:"4.0.0"},urlValidation:{maxVersion:"3.*.*"},ipRedirectCondition:{minVersion:"4.2.*"}};Object.freeze(KB);const la=(e,t)=>t==="latest"||aRe(t,KB[e]),YB=e=>({excludeBotsOnShortUrls:la("excludeBotsOnShortUrls",e),filterDisabledUrls:la("filterDisabledUrls",e),deviceLongUrls:la("deviceLongUrls",e),shortUrlVisitsDeletion:la("shortUrlVisitsDeletion",e),orphanVisitsDeletion:la("orphanVisitsDeletion",e),shortUrlRedirectRules:la("shortUrlRedirectRules",e),urlValidation:la("urlValidation",e),ipRedirectCondition:la("ipRedirectCondition",e)}),ZB=M.createContext(YB("0.0.0")),sRe=ZB.Provider,lRe=e=>M.useMemo(()=>YB(e),[e]),Go=e=>M.useContext(ZB)[e],cRe={android:"Android",ios:"iOS",desktop:"Desktop"},uRe=({deviceType:e,onDeviceTypeChange:t})=>{const n=M.useId();return m.jsxs("div",{children:[m.jsx("label",{htmlFor:n,children:"Device type:"}),m.jsxs("select",{id:n,className:"form-select",value:e,onChange:r=>t(r.target.value),required:!0,children:[!e&&m.jsx("option",{value:"",children:"- Select type -"}),Object.entries(cRe).map(([r,i])=>m.jsx("option",{value:r,children:i},r))]})]})},XB=({value:e,onValueChange:t,label:n,placeholder:r})=>{const i=M.useId();return m.jsxs("div",{children:[m.jsxs("label",{htmlFor:i,children:[n,":"]}),m.jsx(An,{id:i,value:e??"",onChange:o=>t(o.target.value),placeholder:r,required:!0})]})},fRe=({language:e,onLanguageChange:t})=>m.jsx(XB,{value:e,onValueChange:t,label:"Language",placeholder:"en-US / en"}),dRe=({name:e,value:t,onNameChange:n,onValueChange:r})=>{const i=M.useId(),o=M.useId();return m.jsxs(m.Fragment,{children:[m.jsxs("div",{children:[m.jsx("label",{htmlFor:i,children:"Param name:"}),m.jsx(An,{id:i,value:e??"",onChange:a=>n(a.target.value),placeholder:"hello",required:!0})]}),m.jsxs("div",{children:[m.jsx("label",{htmlFor:o,children:"Param value:"}),m.jsx(An,{id:o,value:t??"",onChange:a=>r(a.target.value),placeholder:"world",required:!0})]})]})},hRe=({ipAddress:e,onIpAddressChange:t})=>m.jsx(XB,{value:e,onValueChange:t,label:"IP address",placeholder:"192.168.1.10"}),pRe=({condition:e,onConditionChange:t,onDelete:n})=>{const r=M.useId(),i=M.useCallback(c=>t({type:c,matchValue:"",matchKey:null}),[t]),o=M.useCallback(c=>t({...e,matchValue:c}),[e,t]),a=M.useCallback(c=>t({...e,matchKey:c}),[e,t]),s=Go("ipRedirectCondition"),l=M.useMemo(()=>{const c={device:"Device type",language:"Language","query-param":"Query param"};return s?{...c,"ip-address":"IP address"}:c},[s]);return m.jsxs("div",{className:"redirect-rule-modal__condition rounded p-3 h-100 d-flex flex-column gap-2 position-relative",children:[m.jsxs("div",{children:[m.jsx(Ke,{outline:!0,size:"sm",type:"button","aria-label":"Remove condition",onClick:n,className:"position-absolute rounded-circle redirect-rule-modal__remove-condition-button",children:m.jsx(Ae,{icon:B6,className:"redirect-rule-modal__remove-condition-button-icon"})}),m.jsx("label",{htmlFor:r,children:"Type:"}),m.jsx("select",{id:r,className:"form-select flex-grow-1",value:e.type,onChange:c=>i(c.target.value),children:Object.entries(l).map(([c,f])=>m.jsx("option",{value:c,children:f},c))})]}),e.type==="device"&&m.jsx(uRe,{deviceType:e.matchValue,onDeviceTypeChange:o}),e.type==="language"&&m.jsx(fRe,{language:e.matchValue,onLanguageChange:o}),e.type==="query-param"&&m.jsx(dRe,{value:e.matchValue,name:e.matchKey??"",onNameChange:a,onValueChange:o}),e.type==="ip-address"&&m.jsx(hRe,{ipAddress:e.matchValue,onIpAddressChange:o})]})},QB=({isOpen:e,toggle:t,onSave:n,initialData:r})=>{const[i,o]=M.useState(r??{longUrl:"",conditions:[]}),a=M.useCallback(v=>{v.preventDefault(),v.stopPropagation(),i&&n(i),t()},[n,i,t]),s=M.useCallback(()=>o(({longUrl:v,conditions:y})=>({longUrl:v,conditions:[...y,{type:"device",matchValue:"",matchKey:null}]})),[]),l=M.useCallback((v,y)=>o(({longUrl:g,conditions:x})=>{const _=[...x];return _[v]=y,{longUrl:g,conditions:_}}),[]),c=M.useCallback(v=>o(({longUrl:y,conditions:g})=>{const x=[...g];return x.splice(v,1),{longUrl:y,conditions:x}}),[]),f=Ni(),d=M.useCallback(()=>{var v;return(v=f==null?void 0:f.current)==null?void 0:v.focus()},[f]),p=M.useCallback(()=>o(r??{longUrl:"",conditions:[]}),[r]);return m.jsx(gr,{size:"xl",isOpen:e,toggle:t,centered:!0,onOpened:d,onClosed:p,children:m.jsxs("form",{onSubmit:a,children:[m.jsx(ho,{toggle:t,className:"sticky-top redirect-rule-modal__header",children:"Redirect rule"}),m.jsxs(Mi,{children:[m.jsx("label",{htmlFor:"longUrl",className:"fw-bold",children:"Long URL:"}),m.jsx(An,{id:"longUrl",type:"url",placeholder:"https://www.example.com",value:i.longUrl,onChange:v=>o(y=>({...y,longUrl:v.target.value})),required:!0,innerRef:f}),m.jsx("hr",{}),m.jsxs("div",{className:"d-flex justify-content-between",children:[m.jsx("b",{children:"Conditions:"}),m.jsx(Ke,{outline:!0,size:"sm",type:"button","aria-label":"Add condition",onClick:s,children:m.jsx(Ae,{icon:Vh})})]}),i.conditions.length===0&&m.jsx("div",{className:"text-center",children:m.jsx("i",{children:"Add conditions..."})}),i.conditions.length>0&&m.jsx(Er,{className:"redirect-rule-modal__conditions-row",children:i.conditions.map((v,y)=>m.jsx("div",{className:"col-lg-6 col-xl-4 mt-4",children:m.jsx(pRe,{condition:v,onConditionChange:g=>l(y,g),onDelete:()=>c(y)})},`${y}_${v.type}`))})]}),m.jsxs(rs,{className:"sticky-bottom redirect-rule-modal__footer",children:[m.jsx(Ke,{type:"button",color:"link",onClick:t,children:"Cancel"}),m.jsx(Ke,{color:"primary",disabled:i.conditions.length===0,children:"Confirm"})]})]})})},mRe=({priority:e,isLast:t,redirectRule:n,onDelete:r,onMoveUp:i,onMoveDown:o,onUpdate:a})=>{const[s,l]=Lt();return m.jsxs(yt,{children:[m.jsxs("div",{className:"d-flex align-content-center gap-3",children:[m.jsx("div",{className:"d-flex flex-column my-auto drag-n-drop-handler d-none d-md-block",style:{cursor:"grab"},children:m.jsx(Ae,{icon:jK})}),m.jsxs("div",{className:"d-flex flex-column my-auto",children:[m.jsx(Ke,{outline:!0,color:"secondary",size:"sm","aria-label":`Move rule with priority ${e} up`,disabled:e===1,onClick:i,className:"rounded-0 rounded-top",style:{marginBottom:"-1px"},children:m.jsx(Ae,{icon:WK})}),m.jsx(Ke,{outline:!0,color:"secondary",size:"sm","aria-label":`Move rule with priority ${e} down`,disabled:t,onClick:o,className:"rounded-0 rounded-bottom",children:m.jsx(Ae,{icon:FK})})]}),m.jsxs("div",{className:"flex-grow-1",children:[m.jsxs("div",{className:"mb-2",children:[m.jsx("b",{children:"Long URL:"})," ",m.jsx(pr,{href:n.longUrl,"data-testid":"rule-long-url"})]}),m.jsxs("div",{className:"d-flex flex-column flex-lg-row gap-2",children:[m.jsx("b",{children:"Conditions:"}),n.conditions.map((c,f)=>m.jsxs("div",{className:"badge bg-secondary",children:[c.type==="device"&&m.jsxs(m.Fragment,{children:["Device is ",c.matchValue]}),c.type==="language"&&m.jsxs(m.Fragment,{children:[c.matchValue," language is accepted"]}),c.type==="query-param"&&m.jsxs(m.Fragment,{children:["Query string contains ",c.matchKey,"=",c.matchValue]}),c.type==="ip-address"&&m.jsxs(m.Fragment,{children:["IP address matches ",c.matchValue]})]},`${c.type}_${f}`))]})]}),m.jsxs("div",{className:"d-flex flex-column flex-sm-row gap-1 my-auto",children:[m.jsx(Ke,{outline:!0,color:"secondary",size:"sm","aria-label":`Edit rule with priority ${e}`,onClick:l,children:m.jsx(Ae,{icon:L6})}),m.jsx(Ke,{outline:!0,color:"danger",size:"sm","aria-label":`Delete rule with priority ${e}`,onClick:r,children:m.jsx(Ae,{icon:tK})})]})]}),m.jsx(QB,{onSave:a,isOpen:s,toggle:l,initialData:n})]})},vRe=({shortUrlRedirectRules:e,getShortUrlRedirectRules:t,getShortUrlsDetails:n,shortUrlsDetails:r,setShortUrlRedirectRules:i,shortUrlRedirectRulesSaving:o,resetSetRules:a})=>{const s=bC(),{shortUrls:l}=r,c=s&&(l==null?void 0:l.get(s)),[f,d,p]=oRe([],{dragHandle:".drag-n-drop-handler",dropZoneClass:"opacity-25"}),{saving:v,saved:y,errorData:g}=o,[x,_]=Lt(),b=M.useCallback(F=>p((k=[])=>[...k,F]),[p]),w=M.useCallback(F=>p((k=[])=>{const I=[...k];return I.splice(F,1),I}),[p]),S=M.useCallback((F,k)=>p((I=[])=>{const D=[...I];return D[F]=k,D}),[p]),P=M.useCallback((F,k)=>p((I=[])=>{if(!I[k])return I;const D=[...I],K=D[k];return D[k]=D[F],D[F]=K,D}),[p]),E=M.useCallback(F=>P(F,F-1),[P]),T=M.useCallback(F=>P(F,F+1),[P]),j=M.useCallback(F=>{F.preventDefault(),d&&i({shortUrl:s,data:{redirectRules:d}})},[s,d,i]);return M.useEffect(()=>(t(s),n([s]),a),[t,n,s,a]),M.useEffect(()=>{e.redirectRules&&p(e.redirectRules)},[p,e.redirectRules]),m.jsxs("div",{className:"d-flex flex-column gap-3",children:[m.jsx("header",{children:m.jsxs(Ir,{body:!0,children:[m.jsxs("h2",{className:"d-sm-flex justify-content-between align-items-center mb-0",children:[m.jsx(ub,{}),m.jsxs("div",{className:"text-center flex-grow-1",children:[r.loading&&m.jsx(m.Fragment,{children:"Loading..."}),!r.loading&&m.jsxs("small",{children:["Redirect rules for ",m.jsx(pr,{href:(c==null?void 0:c.shortUrl)??""})]})]})]}),m.jsx("hr",{}),m.jsxs("div",{children:[m.jsx("p",{className:"mb-2",children:"Configure dynamic conditions that will be checked at runtime."}),"If no conditions match, visitors will be redirected to: ",m.jsx(pr,{href:e.defaultLongUrl??""})]})]})}),m.jsx("div",{children:m.jsxs(Ke,{outline:!0,color:"primary",onClick:_,children:[m.jsx(Ae,{icon:Vh,className:"me-1"})," Add rule"]})}),m.jsxs("form",{onSubmit:j,children:[e.loading&&m.jsx(Bo,{loading:!0}),d.length===0&&!e.loading&&m.jsx(yt,{className:"text-center",children:m.jsx("i",{children:"This short URL has no dynamic redirect rules"})}),m.jsx("div",{className:"d-flex flex-column gap-2",ref:f,children:d.map((F,k)=>m.jsx(mRe,{redirectRule:F,priority:k+1,isLast:k===d.length-1,onDelete:()=>w(k),onMoveUp:()=>E(k),onMoveDown:()=>T(k),onUpdate:I=>S(k,I)},`${F.longUrl}_${k}`))}),m.jsx("div",{className:"text-center mt-3",children:m.jsx(Ke,{outline:!0,color:"primary",className:"btn-sm-block",disabled:v,"data-testid":"save-button",children:v?"Saving...":"Save rules"})})]}),g&&m.jsx(Xn,{type:"error",children:m.jsx(uo,{errorData:g,fallbackMessage:"An error occurred while saving short URL redirect rules :("})}),y&&m.jsx(Xn,{type:"success",children:"Redirect rules properly saved."}),m.jsx(QB,{isOpen:x,toggle:_,onSave:b})]})},gRe=(e,t)=>{e.serviceFactory("ShortUrlRedirectRules",()=>vRe),e.decorator("ShortUrlRedirectRules",t(["shortUrlRedirectRules","shortUrlsDetails","shortUrlRedirectRulesSaving"],["getShortUrlRedirectRules","getShortUrlsDetails","setShortUrlRedirectRules","resetSetRules"])),e.serviceFactory("getShortUrlRedirectRules",c4e,"apiClientFactory"),e.serviceFactory("setShortUrlRedirectRules",a4e,"apiClientFactory"),e.serviceFactory("resetSetRules",n=>n.resetSetRules,"setShortUrlRedirectRulesReducerCreator"),e.serviceFactory("shortUrlRedirectRulesReducerCreator",u4e,"getShortUrlRedirectRules"),e.serviceFactory("shortUrlRedirectRulesReducer",n=>n.reducer,"shortUrlRedirectRulesReducerCreator"),e.serviceFactory("setShortUrlRedirectRulesReducerCreator",s4e,"setShortUrlRedirectRules"),e.serviceFactory("setShortUrlRedirectRulesReducer",n=>n.reducer,"setShortUrlRedirectRulesReducerCreator")},yRe=e=>({longUrl:"",tags:[],customSlug:"",title:void 0,shortCodeLength:void 0,domain:"",validSince:void 0,validUntil:void 0,maxVisits:void 0,findIfExists:!1,validateUrl:(e==null?void 0:e.validateUrls)??!1,forwardQuery:(e==null?void 0:e.forwardQuery)??!0}),JB=({createShortUrl:e,shortUrlCreation:t,resetCreateShortUrl:n,basicMode:r=!1})=>{const{ShortUrlForm:i,CreateShortUrlResult:o}=Rt(JB),a=rr("shortUrlCreation"),s=M.useMemo(()=>yRe(a),[a]);return m.jsxs(m.Fragment,{children:[m.jsx(i,{initialState:s,saving:t.saving,basicMode:r,onSave:async l=>(n(),e(l))}),m.jsx(o,{creation:t,resetCreateShortUrl:n,canBeClosed:r})]})},bRe=$t(JB,["ShortUrlForm","CreateShortUrlResult"]),eU=({shortUrlsDetails:e,getShortUrlsDetails:t,shortUrlEdition:n,editShortUrl:r})=>{const{ShortUrlForm:i}=Rt(eU),o=bC(),{loading:a,error:s,errorData:l,shortUrls:c}=e,f=o&&(c==null?void 0:c.get(o)),{saving:d,saved:p,error:v,errorData:y}=n,g=rr("shortUrlCreation"),x=M.useMemo(()=>fLe(f,g),[f,g]);return M.useEffect(()=>{o&&t([o])},[t,o]),a?m.jsx(Bo,{loading:!0}):s?m.jsx(Xn,{type:"error",children:m.jsx(uo,{errorData:l,fallbackMessage:"An error occurred while loading short URL detail :("})}):m.jsxs(m.Fragment,{children:[m.jsx("header",{className:"mb-3",children:m.jsx(Ir,{body:!0,children:m.jsxs("h2",{className:"d-sm-flex justify-content-between align-items-center mb-0",children:[m.jsx(ub,{}),m.jsx("div",{className:"text-center flex-grow-1",children:m.jsxs("small",{children:["Edit ",m.jsx(pr,{href:(f==null?void 0:f.shortUrl)??""})]})})]})})}),m.jsx(i,{initialState:x,saving:d,onSave:async _=>{f&&r({...f,data:_})}}),p&&v&&m.jsx(Xn,{type:"error",className:"mt-3",children:m.jsx(uo,{errorData:y,fallbackMessage:"An error occurred while updating short URL :("})}),p&&!v&&m.jsx(Xn,{type:"success",className:"mt-3",children:"Short URL properly edited."})]})},_Re=$t(eU,["ShortUrlForm"]),tU=({text:e,onCopy:t},n=navigator)=>{var r;return(r=n.clipboard)==null?void 0:r.writeText(e).then(()=>t==null?void 0:t(e,!0)).catch(()=>t==null?void 0:t(e,!1))},nU=({creation:e,resetCreateShortUrl:t,canBeClosed:n=!1})=>{const{useTimeoutToggle:r}=Rt(nU),[i,o]=r(),{error:a,saved:s}=e;if(M.useEffect(()=>{t()},[t]),a)return m.jsxs(Xn,{type:"error",className:"mt-3",children:[n&&m.jsx(Ae,{"data-testid":"error-close-button",icon:mx,className:"float-end pointer",onClick:t}),m.jsx(uo,{errorData:e.errorData,fallbackMessage:"An error occurred while creating the URL :("})]});if(!s)return null;const{shortUrl:l}=e.result;return m.jsxs(Xn,{type:"success",className:"mt-3",children:[n&&m.jsx(Ae,{"data-testid":"success-close-button",icon:mx,className:"float-end pointer",onClick:t}),m.jsxs("span",{children:[m.jsx("b",{children:"Great!"})," The short URL is ",m.jsx("b",{children:l})]}),m.jsxs("button",{className:"btn btn-light btn-sm create-short-url-result__copy-btn",id:"copyBtn",type:"button",onClick:()=>tU({text:l,onCopy:o}),children:[m.jsx(Ae,{icon:JD})," Copy ",m.jsxs("span",{className:"sr-only",children:[l," to clipboard"]})]}),m.jsx(e0,{placement:"left",isOpen:i,target:"copyBtn",children:"Copied!"})]})},xRe=$t(nU,["useTimeoutToggle"]),f_="delete",wRe=({shortUrl:e,toggle:t,isOpen:n,shortUrlDeletion:r,resetDeleteShortUrl:i,deleteShortUrl:o,shortUrlDeleted:a})=>{const[s,l]=M.useState("");M.useEffect(()=>i,[i]);const{loading:c,error:f,deleted:d,errorData:p}=r,v=M.useCallback(()=>{i(),t()},[i,t]),y=M.useCallback(g=>(g.preventDefault(),o(e).then(x=>!aC(x)&&t())),[o,e,t]);return m.jsx(gr,{isOpen:n,toggle:v,centered:!0,onClosed:()=>d&&a(e),children:m.jsxs("form",{onSubmit:y,children:[m.jsx(ho,{toggle:v,children:m.jsx("span",{className:"text-danger",children:"Delete short URL"})}),m.jsxs(Mi,{children:[m.jsxs("p",{children:[m.jsx("b",{className:"text-danger",children:"Caution!"})," You are about to delete a short URL."]}),m.jsx("p",{children:"This action cannot be undone. Once you have deleted it, all the visits stats will be lost."}),m.jsxs("p",{children:["Write ",m.jsx("b",{children:f_})," to confirm deletion."]}),m.jsx("input",{type:"text",className:"form-control",placeholder:`Insert ${f_}`,value:s,onChange:g=>l(g.target.value)}),f&&m.jsx(Xn,{type:aLe(p)?"warning":"error",small:!0,className:"mt-2",children:m.jsx(uo,{errorData:p,fallbackMessage:"Something went wrong while deleting the URL :("})})]}),m.jsxs(rs,{children:[m.jsx("button",{type:"button",className:"btn btn-link",onClick:v,children:"Cancel"}),m.jsx("button",{type:"submit",className:"btn btn-danger",disabled:s!==f_||c,children:c?"Deleting...":"Delete"})]})]})})},rU=({amount:e=0,loading:t=!1,...n})=>m.jsxs(Ke,{...n,outline:!0,color:"primary",disabled:t,children:[m.jsx(Ae,{icon:aK})," ",t?"Exporting...":m.jsxs(m.Fragment,{children:["Export (",qt(e),")"]})]}),m4=20,iU=({amount:e=0})=>{const{apiClientFactory:t,ReportExporter:n}=Rt(iU),[{tags:r,search:i,startDate:o,endDate:a,orderBy:s,tagsMode:l}]=cb(),[c,,f,d]=Lt(),p=M.useCallback(async()=>{const v=e/m4,y=async(x=1)=>{const{data:_}=await t().listShortUrls({page:`${x}`,tags:r,searchTerm:i,startDate:o,endDate:a,orderBy:s,tagsMode:l,itemsPerPage:m4});return x>=v?_:_.concat(await y(x+1))};f();const g=await y();n.exportShortUrls(g.map(x=>{var _;const{hostname:b,pathname:w}=new URL(x.shortUrl),S=w.substring(1);return{createdAt:x.dateCreated,domain:b,shortCode:S,shortUrl:x.shortUrl,longUrl:x.longUrl,title:x.title??"",tags:x.tags.join("|"),visits:((_=x==null?void 0:x.visitsSummary)==null?void 0:_.total)??x.visitsCount??0}})),d()},[e,t,a,s,n,i,o,f,d,r,l]);return m.jsx(rU,{loading:c,className:"btn-md-block",amount:e,onClick:p})},ORe=$t(iU,["apiClientFactory","ReportExporter"]),oU=({text:e,onCopy:t,copyToClipboard:n=tU})=>m.jsx(hl,{className:"ms-2 p-0","aria-label":`Copy ${e} to clipboard`,onClick:()=>n({text:e,onCopy:t}),children:m.jsx(Ae,{icon:JD,className:"fs-5"})}),SRe=(e,t)=>{const n=`${e}/qr-code`,r=n0({...t});return`${n}${r?`?${r}`:""}`},v4=({name:e,value:t,step:n,min:r,max:i,onChange:o,className:a,initial:s=r})=>{const l=M.useId();return m.jsxs(il,{className:a,children:[t===void 0&&m.jsxs(Ke,{outline:!0,color:"link",className:"text-start fst-italic w-100",style:{color:"var(--input-text-color)",borderColor:"var(--border-color)"},onClick:()=>o(s),children:["Customize ",e]}),t!==void 0&&m.jsxs("div",{className:"d-flex gap-3",children:[m.jsxs("div",{className:"d-flex flex-column flex-grow-1",children:[m.jsxs("label",{htmlFor:l,className:"text-capitalize",children:[e,": ",t,"px"]}),m.jsx("input",{id:l,type:"range",className:"form-control-range",value:t,step:n,min:r,max:i,onChange:c=>o(Number(c.target.value))})]}),m.jsx(Ke,{"aria-label":`Default ${e}`,title:`Default ${e}`,outline:!0,color:"link",onClick:()=>o(void 0),style:{color:"var(--input-text-color)",borderColor:"var(--border-color)"},children:m.jsx(Ae,{icon:D6})})]})]})},PRe=({errorCorrection:e,onChange:t})=>m.jsxs(Qo,{text:e?`Error correction (${e})`:m.jsx("i",{children:"Default error correction"}),children:[m.jsx(Me,{active:!e,onClick:()=>t(void 0),children:"Default"}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{active:e==="L",onClick:()=>t("L"),children:[m.jsx("b",{children:"L"}),"ow"]}),m.jsxs(Me,{active:e==="M",onClick:()=>t("M"),children:[m.jsx("b",{children:"M"}),"edium"]}),m.jsxs(Me,{active:e==="Q",onClick:()=>t("Q"),children:[m.jsx("b",{children:"Q"}),"uartile"]}),m.jsxs(Me,{active:e==="H",onClick:()=>t("H"),children:[m.jsx("b",{children:"H"}),"igh"]})]}),ERe=({format:e,onChange:t})=>m.jsxs(Qo,{text:e?`Format (${e})`:m.jsx("i",{children:"Default format"}),children:[m.jsx(Me,{active:!e,onClick:()=>t(void 0),children:"Default"}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{active:e==="png",onClick:()=>t("png"),children:"PNG"}),m.jsx(Me,{active:e==="svg",onClick:()=>t("svg"),children:"SVG"})]}),aU=({shortUrl:{shortUrl:e,shortCode:t},toggle:n,isOpen:r})=>{const{ImageDownloader:i}=Rt(aU),[o,a]=M.useState(),[s,l]=M.useState(),[c,f]=M.useState(),[d,p]=M.useState(),v=M.useMemo(()=>SRe(e,{size:o,format:c,margin:s,errorCorrection:d}),[e,o,c,s,d]),[y,g]=M.useState(),x=M.useCallback(_=>{const b=_.target,{naturalWidth:w}=b;w<500?g(void 0):g(w<800?"lg":"xl")},[]);return m.jsxs(gr,{isOpen:r,toggle:n,centered:!0,size:y,children:[m.jsxs(ho,{toggle:n,children:["QR code for ",m.jsx(pr,{href:e,children:e})]}),m.jsxs(Mi,{children:[m.jsxs(Er,{children:[m.jsx(v4,{className:"col-sm-6",name:"size",value:o,step:10,min:50,max:1e3,initial:300,onChange:a}),m.jsx(v4,{className:"col-sm-6",name:"margin",value:s,step:1,min:0,max:100,onChange:l}),m.jsx(il,{className:"d-grid col-sm-6",children:m.jsx(ERe,{format:c,onChange:f})}),m.jsx(il,{className:"col-sm-6",children:m.jsx(PRe,{errorCorrection:d,onChange:p})})]}),m.jsxs("div",{className:"text-center",children:[m.jsxs("div",{className:"mb-3",children:[m.jsx(pr,{href:v}),m.jsx(oU,{text:v})]}),m.jsx("img",{src:v,alt:"QR code",className:"shadow-lg",style:{maxWidth:"100%"},onLoad:x}),m.jsx("div",{className:"mt-3",children:m.jsxs(Ke,{block:!0,color:"primary",onClick:()=>{i.saveImage(v,`${t}-qr-code.${c}`).catch(()=>{})},children:["Download ",m.jsx(Ae,{icon:F6,className:"ms-1"})]})})]})]})]})},CRe=$t(aU,["ImageDownloader"]),by=({date:e,format:t=hB,relative:n=!1})=>{const r=dC(e)?e:Ha(e);return m.jsx("time",{dateTime:`${Bae(r)}000`,children:n?`${Dae(Ka(),r)} ago`:lg(r,t)})},TRe=e=>{const{meta:t,visitsCount:n,visitsSummary:r}=e,{maxVisits:i,validSince:o,validUntil:a}=t,s=(r==null?void 0:r.total)??n??0;return i&&s>=i?{icon:QK,className:"text-danger",description:m.jsxs(m.Fragment,{children:["This short URL cannot be currently visited because it has reached the maximum amount of ",m.jsx("b",{children:i})," visit",i>1?"s":"","."]})}:a&&cg(Cr(a),Ka())?{icon:nA,className:"text-danger",description:m.jsxs(m.Fragment,{children:["This short URL cannot be visited since ",m.jsx("b",{className:"indivisible",children:Rh(Cr(a))}),"."]})}:o&&cg(Ka(),Cr(o))?{icon:nA,className:"text-warning",description:m.jsxs(m.Fragment,{children:["This short URL will start working on ",m.jsx("b",{className:"indivisible",children:Rh(Cr(o))}),"."]})}:{icon:Bd,className:"text-primary",description:"This short URL can be visited normally."}},jRe=({shortUrl:e})=>{const t=Ni(),{icon:n,className:r,description:i}=TRe(e);return m.jsxs(m.Fragment,{children:[m.jsx("span",{style:{cursor:i?"help":void 0},ref:t,children:m.jsx(Ae,{icon:n,className:r})}),m.jsx(Dr,{target:t,placement:"bottom",children:i})]})},ARe=(e,{shortCode:t,domain:n},r)=>{const i=n?`?domain=${n}`:"";return`${e}/short-code/${fB(t)}/${r}${i}`},Jm=({shortUrl:e,suffix:t,asLink:n,children:r,...i})=>{const o=cs();return!n||!e?m.jsx("span",{...i,children:r}):m.jsx(kt,{to:ARe(o,e,t),...i,children:r})},sU=({visitsCount:e,shortUrl:t,active:n=!1,asLink:r=!1})=>{const i=Ni(),{maxVisits:o,validSince:a,validUntil:s}=(t==null?void 0:t.meta)??{},l=!!o||!!a||!!s,c=m.jsx(Jm,{shortUrl:t,suffix:"visits",asLink:r,children:m.jsx("strong",{className:Oe("short-url-visits-count__amount",{"short-url-visits-count__amount--big":n}),children:qt(e)})});return l?m.jsxs(m.Fragment,{children:[m.jsxs("span",{className:"indivisible",children:[c,m.jsxs("small",{className:"short-urls-visits-count__max-visits-control",ref:i,children:[o&&m.jsxs(m.Fragment,{children:[" / ",qt(o)]}),m.jsx("sup",{className:"ms-1",children:m.jsx(Ae,{icon:aP})})]})]}),m.jsx(Dr,{target:i,placement:"bottom",children:m.jsxs("ul",{className:"list-unstyled mb-0",children:[o&&m.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept more than ",m.jsx("b",{children:qt(o)})," visit",o===1?"":"s","."]}),a&&m.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits before ",m.jsx("b",{className:"indivisible",children:Rh(Cr(a))}),"."]}),s&&m.jsxs("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits after ",m.jsx("b",{className:"indivisible",children:Rh(Cr(s))}),"."]})]})})]}):c},kRe=e=>!!e.onClose,NRe=e=>!!e.onClick,fb=e=>{const{text:t,children:n,className:r,colorGenerator:i}=e,o=NRe(e),a=o?hl:"span",s=M.useMemo(()=>i.stylesForKey(t),[t,i]);return m.jsxs(a,{className:Oe("badge tag fw-bold",r,{pointer:o}),style:s,onClick:o?e.onClick:void 0,children:[n??t,kRe(e)&&m.jsx(hl,{"aria-label":`Remove ${t}`,className:"bg-transparent ms-1 opacity-100 p-0 fw-bold tag__close",onClick:e.onClose,children:"×"})]})},MRe=({tags:e,onTagClick:t,colorGenerator:n})=>e.length===0?m.jsx("i",{className:"indivisible",children:m.jsx("small",{children:"No tags"})}):m.jsx(m.Fragment,{children:e.map(r=>m.jsx(fb,{text:r,colorGenerator:n,onClick:()=>t==null?void 0:t(r)},r))}),lU=({shortUrl:e,onTagClick:t})=>{var n,r,i,o;const{ShortUrlsRowMenu:a,ColorGenerator:s,useTimeoutToggle:l}=Rt(lU),[c,f]=l(),[d,p]=l(!1,500),v=M.useRef(!0),[{excludeBots:y}]=cb(),g=rr("visits"),x=y??(g==null?void 0:g.excludeBots);return M.useEffect(()=>{v.current||p(),v.current=!1},[(n=e.visitsSummary)==null?void 0:n.total,(r=e.visitsSummary)==null?void 0:r.nonBots,e.visitsCount,p]),m.jsxs("tr",{className:"responsive-table__row",children:[m.jsx("td",{className:"indivisible short-urls-row__cell responsive-table__cell","data-th":"Created at",children:m.jsx(by,{date:e.dateCreated})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Short URL",children:m.jsxs("span",{className:"position-relative short-urls-row__cell--indivisible",children:[m.jsx("span",{className:"short-urls-row__short-url-wrapper",children:m.jsx(pr,{href:e.shortUrl})}),m.jsx(oU,{text:e.shortUrl,onCopy:f}),m.jsx("span",{role:"status",className:"badge bg-warning text-black short-urls-row__copy-hint",hidden:!c,children:"Copied short URL!"})]})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell short-urls-row__cell--break","data-th":`${e.title?"Title":"Long URL"}`,children:m.jsx(pr,{href:e.longUrl,children:e.title??e.longUrl})}),e.title&&m.jsx("td",{className:"short-urls-row__cell responsive-table__cell short-urls-row__cell--break d-lg-none","data-th":"Long URL",children:m.jsx(pr,{href:e.longUrl})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Tags",children:m.jsx(MRe,{tags:e.tags,colorGenerator:s,onTagClick:t})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell text-lg-end","data-th":"Visits",children:m.jsx(sU,{visitsCount:(x?(i=e.visitsSummary)==null?void 0:i.nonBots:(o=e.visitsSummary)==null?void 0:o.total)??e.visitsCount??0,shortUrl:e,active:d,asLink:!0})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Status",children:m.jsx(jRe,{shortUrl:e})}),m.jsx("td",{className:"responsive-table__cell short-urls-row__cell text-end",children:m.jsx(a,{shortUrl:e})})]})},LRe=$t(lU,["ShortUrlsRowMenu","ColorGenerator","useTimeoutToggle"]),cU=({shortUrl:e,deleteShortUrl:t,shortUrlDeleted:n})=>{const{DeleteShortUrlModal:r,QrCodeModal:i}=Rt(cU),[o,,a,s]=Lt(),[l,,c,f]=Lt(),d=ib(),p=Go("shortUrlRedirectRules"),{confirmDeletions:v=!0}=rr("shortUrlsList",{}),y=M.useCallback(async()=>{const g=await t(e);aC(g)||n(e)},[t,e,n]);return m.jsxs(r0,{minWidth:p?220:190,children:[m.jsxs(Me,{tag:Jm,shortUrl:e,suffix:"visits",asLink:!0,children:[m.jsx(Ae,{icon:oP,fixedWidth:!0})," Visit stats"]}),d&&m.jsxs(m.Fragment,{children:[m.jsxs(Me,{disabled:!d.canAddItemWithName(e.shortUrl),onClick:()=>d.addItemToCompare({name:e.shortUrl,query:fC(e)}),children:[m.jsx(Ae,{icon:qy,fixedWidth:!0})," Compare visits"]}),m.jsx(Me,{divider:!0,tag:"hr"})]}),m.jsxs(Me,{tag:Jm,shortUrl:e,suffix:"edit",asLink:!0,children:[m.jsx(Ae,{icon:iP,fixedWidth:!0})," Edit short URL"]}),p&&m.jsxs(Me,{tag:Jm,shortUrl:e,suffix:"redirect-rules",asLink:!0,children:[m.jsx(Ae,{icon:eY,fixedWidth:!0})," Manage redirect rules"]}),m.jsxs(Me,{onClick:a,children:[m.jsx(Ae,{icon:YK,fixedWidth:!0})," QR code"]}),m.jsx(i,{shortUrl:e,isOpen:o,toggle:s}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{className:"dropdown-item--danger",onClick:v?c:y,children:[m.jsx(Ae,{icon:rP,fixedWidth:!0})," Delete short URL"]}),m.jsx(r,{shortUrl:e,deleteShortUrl:t,shortUrlDeleted:n,isOpen:l,toggle:f})]})},RRe=$t(cU,["DeleteShortUrlModal","QrCodeModal"]),uU="shlink/shortUrlCreation",g4={saving:!1,saved:!1,error:!1},$Re=e=>fn(`${uU}/createShortUrl`,t=>e().createShortUrl(t)),IRe=e=>{const{reducer:t,actions:n}=Qt({name:uU,initialState:g4,reducers:{resetCreateShortUrl:()=>g4},extraReducers:i=>{i.addCase(e.pending,()=>({saving:!0,saved:!1,error:!1})),i.addCase(e.rejected,(o,{error:a})=>({saving:!1,saved:!1,error:!0,errorData:Fr(a)})),i.addCase(e.fulfilled,(o,{payload:a})=>({result:a,saving:!1,saved:!0,error:!1}))}}),{resetCreateShortUrl:r}=n;return{reducer:t,resetCreateShortUrl:r}},fU="shlink/shortUrlEdition",DRe={saving:!1,saved:!1,error:!1},FRe=e=>fn(`${fU}/editShortUrl`,({shortCode:t,domain:n,data:r})=>e().updateShortUrl(t,n,r)),BRe=e=>Qt({name:fU,initialState:DRe,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,saving:!0,error:!1,saved:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,saving:!1,error:!0,saved:!1,errorData:Fr(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>({shortUrl:r,saving:!1,error:!1,saved:!0}))}}),y4="shlink/shortUrlsDetails",b4={loading:!1,error:!1},URe=e=>{const t=fn(`${y4}/getShortUrlsDetails`,async(r,{getState:i})=>{const{shortUrlsList:o}=i(),a=await Promise.all(r.map(async s=>{var l;const{shortCode:c,domain:f}=s,d=(l=o==null?void 0:o.shortUrls)==null?void 0:l.data.find(p=>bd(p,c,f));return[s,d??await e().getShortUrl(c,f)]}));return new Map(a)}),{reducer:n}=Qt({name:y4,initialState:b4,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({loading:!0,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({loading:!1,error:!0,errorData:Fr(o)})),r.addCase(t.fulfilled,(i,{payload:o})=>({...b4,shortUrls:o}))}});return{reducer:n,getShortUrlsDetails:t}},zRe=({domains:e,value:t,onChange:n})=>{const[r,,i,o]=Lt(),a=!t,s=M.useCallback(()=>{n(""),o()},[n,o]),l=M.useCallback(()=>{n(""),i()},[n,i]);return r?m.jsxs(t0,{children:[m.jsx(An,{value:t??"",placeholder:"Domain",onChange:c=>n(c.target.value)}),m.jsx(Ke,{id:"backToDropdown",outline:!0,type:"button",className:"domains-dropdown__back-btn","aria-label":"Back to domains list",onClick:s,children:m.jsx(Ae,{icon:TK})}),m.jsx(Dr,{target:"backToDropdown",placement:"left",trigger:"hover",children:"Existing domains"})]}):m.jsxs(Qo,{text:a?"Domain":`Domain: ${t}`,className:a?"domains-dropdown__toggle-btn":"domains-dropdown__toggle-btn--active",children:[e.map(({domain:c,isDefault:f})=>m.jsxs(Me,{active:(t===c||f)&&a,onClick:()=>n(c),className:"d-flex justify-content-between align-items-center",children:[c,f&&m.jsx("span",{className:"text-muted",children:"default"})]},c)),m.jsx(Me,{divider:!0}),m.jsx(Me,{onClick:l,children:m.jsx("i",{children:"New domain"})})]})},d_=({icon:e,className:t,...n})=>{const r=Ni();return m.jsxs("div",{className:"icon-input-container",children:[m.jsx(An,{className:Oe("icon-input-container__input",t),innerRef:r,...n}),m.jsx(Ae,{icon:e,fixedWidth:!0,className:"icon-input-container__icon",onClick:()=>{var i;return(i=r.current)==null?void 0:i.focus()}})]})},VRe=({minDate:e,maxDate:t,value:n,onChange:r,withTime:i=!1,...o})=>{const a=M.useCallback(({target:l})=>{if(!l.value){r==null||r(null);return}r==null||r(Cr(l.value))},[r]),s=M.useMemo(()=>i?Rh:Pa,[i]);return m.jsx(An,{...o,type:i?"datetime-local":"date",value:s(n)??"",max:s(t)??void 0,min:s(e)??void 0,onChange:a})},_y=({label:e,id:t,...n})=>{const r=M.useId();return m.jsxs(m.Fragment,{children:[m.jsxs("label",{htmlFor:t??r,className:"mb-1",children:[e,":"]}),m.jsx(VRe,{id:t??r,...n})]})},h_=({children:e,infoTooltip:t,checked:n,onChange:r})=>m.jsxs("p",{children:[m.jsx(vD,{inline:!0,checked:n,className:t?"me-2":"",onChange:r,children:e}),t&&m.jsx(Qm,{placement:"right",children:t})]}),WRe=({isOpen:e,toggle:t})=>m.jsxs(gr,{isOpen:e,toggle:t,centered:!0,size:"lg",children:[m.jsx(ho,{toggle:t,children:"Info"}),m.jsxs(Mi,{children:[m.jsxs("p",{children:["When the ",m.jsx("b",{children:m.jsx("i",{children:'"Use existing URL if found"'})})," checkbox is checked, the server will return an existing short URL if it matches provided params."]}),m.jsx("p",{children:"These are the checks performed by Shlink in order to determine if an existing short URL should be returned:"}),m.jsxs("ul",{children:[m.jsx("li",{children:"When only the long URL is provided: The most recent match will be returned, or a new short URL will be created if none is found."}),m.jsxs("li",{children:["When long URL and custom slug and/or domain are provided: Same as in previous case, but it will try to match the short URL using both the long URL and the slug, the long URL and the domain, or the three of them.",m.jsx("br",{}),"If the slug is being used by another long URL, an error will be returned."]}),m.jsx("li",{children:"When other params are provided: Same as in previous cases, but it will try to match existing short URLs with all provided data. If any of them does not match, a new short URL will be created"})]})]})]}),HRe=()=>{const[e,t]=Lt();return m.jsxs(m.Fragment,{children:[m.jsx(hl,{className:"p-0",title:"What does this mean?",onClick:t,children:m.jsx(Ae,{icon:aP})}),m.jsx(WRe,{isOpen:e,toggle:t})]})},Em=e=>typeof e=="string"?Ha(e):e,GRe=e=>"shortCodeLength"in e&&"customSlug"in e&&"domain"in e,dU=({basicMode:e=!1,saving:t,onSave:n,initialState:r,tagsList:i,domainsList:o})=>{var a,s,l;const{TagsSelector:c}=Rt(dU),[f,d]=M.useState(r),p=GRe(f),v=Go("deviceLongUrls"),y=Go("urlValidation"),g=y||p,x=M.useCallback(()=>d(r),[r]),_=M.useCallback((E,T)=>ks(E)?E:ks(T)?null:void 0,[]),b=M.useCallback((E,T)=>d(({deviceLongUrls:j={},...F})=>{var k;return{...F,deviceLongUrls:{...j,[E]:_(T,(k=r.deviceLongUrls)==null?void 0:k[E])}}}),[r.deviceLongUrls,_]),w=M.useCallback(E=>d(T=>({...T,tags:E})),[]),S=M.useCallback(async E=>(E.preventDefault(),n(f).then(T=>p&&!aC(T)&&x()).catch(()=>{})),[p,n,x,f]),P=M.useMemo(()=>m.jsxs("div",{className:"d-flex flex-column gap-3",children:[m.jsx(An,{bsSize:"lg",type:"url",placeholder:"URL to be shortened",required:!0,value:f.longUrl,onChange:E=>d(T=>({...T,longUrl:E.target.value}))}),m.jsxs("div",{className:Oe("d-flex flex-column flex-lg-row gap-3",{"mb-3":e}),children:[e&&p&&m.jsx("div",{className:"w-100 w-lg-50",children:m.jsx(An,{bsSize:"lg",placeholder:"Custom slug",value:f.customSlug??"",onChange:E=>d(T=>({...T,customSlug:E.target.value}))})}),m.jsx("div",{className:Oe("w-100",{"w-lg-50":e}),children:m.jsx(c,{tags:i.tags,selectedTags:f.tags??[],onChange:w})})]})]}),[c,e,w,p,f,i.tags]);return m.jsxs("form",{name:"shortUrlForm",className:"short-url-form",onSubmit:S,children:[e&&P,!e&&m.jsxs(m.Fragment,{children:[m.jsxs(Er,{children:[m.jsx("div",{className:Oe("mb-3",{"col-sm-6":v,"col-12":!v}),children:m.jsx(yt,{title:"Main options",children:P})}),v&&m.jsx("div",{className:"col-sm-6 mb-3",children:m.jsxs(yt,{title:"Device-specific long URLs",bodyClassName:"d-flex flex-column gap-3",children:[m.jsx(d_,{type:"url",icon:Ise,placeholder:"Android-specific redirection",value:((a=f.deviceLongUrls)==null?void 0:a.android)??"",onChange:({target:E})=>b("android",E.value)}),m.jsx(d_,{type:"url",icon:$se,placeholder:"iOS-specific redirection",value:((s=f.deviceLongUrls)==null?void 0:s.ios)??"",onChange:({target:E})=>b("ios",E.value)}),m.jsx(d_,{type:"url",icon:JK,placeholder:"Desktop-specific redirection",value:((l=f.deviceLongUrls)==null?void 0:l.desktop)??"",onChange:({target:E})=>b("desktop",E.value)})]})})]}),m.jsxs(Er,{children:[m.jsx("div",{className:"col-sm-6 mb-3",children:m.jsxs(yt,{title:"Customize the short URL",bodyClassName:"d-flex flex-column gap-3",children:[m.jsx(An,{placeholder:"Title",value:f.title??"",onChange:({target:E})=>d(T=>({...T,title:_(E.value,r.title)}))}),p&&m.jsxs(m.Fragment,{children:[m.jsxs(Er,{children:[m.jsx("div",{className:"col-lg-6 mb-3 mb-lg-0",children:m.jsx(An,{placeholder:"Custom slug",value:f.customSlug??"",onChange:E=>d(T=>({...T,customSlug:E.target.value})),disabled:ks(f.shortCodeLength)})}),m.jsx("div",{className:"col-lg-6",children:m.jsx(An,{type:"number",placeholder:"Short code length",value:f.shortCodeLength??"",onChange:E=>d(T=>({...T,shortCodeLength:E.target.value})),min:4,disabled:ks(f.customSlug)})})]}),m.jsx(zRe,{value:f.domain,onChange:E=>d(T=>({...T,domain:E})),domains:o.domains})]})]})}),m.jsx("div",{className:"col-sm-6 mb-3",children:m.jsxs(yt,{title:"Limit access to the short URL",children:[m.jsxs("div",{className:"row mb-3",children:[m.jsx("div",{className:"col-lg-6",children:m.jsx(_y,{label:"Enabled since",withTime:!0,maxDate:f.validUntil?Em(f.validUntil):void 0,value:f.validSince?Em(f.validSince):null,onChange:E=>d(T=>({...T,validSince:Ya(E)}))})}),m.jsx("div",{className:"col-lg-6 mt-3 mt-lg-0",children:m.jsx(_y,{label:"Enabled until",withTime:!0,minDate:f.validSince?Em(f.validSince):void 0,value:f.validUntil?Em(f.validUntil):null,onChange:E=>d(T=>({...T,validUntil:Ya(E)}))})})]}),m.jsxs("div",{children:[m.jsx("label",{htmlFor:"maxVisits",className:"mb-1",children:"Maximum visits allowed:"}),m.jsx(An,{id:"maxVisits",type:"number",min:1,placeholder:"25...",value:f.maxVisits??"",onChange:E=>d(T=>({...T,maxVisits:ks(E.target.value)?Number(E.target.value):null}))})]})]})})]}),m.jsxs(Er,{children:[g&&m.jsx("div",{className:"col-sm-6 mb-3",children:m.jsxs(yt,{title:"Extra checks",children:[y&&m.jsx(h_,{infoTooltip:"If checked, Shlink will try to reach the long URL, failing in case it's not publicly accessible.",checked:f.validateUrl,onChange:E=>d(T=>({...T,validateUrl:E})),children:"Validate URL"}),p&&m.jsxs("p",{children:[m.jsx(vD,{inline:!0,className:"me-2",checked:f.findIfExists,onChange:E=>d(T=>({...T,findIfExists:E})),children:"Use existing URL if found"}),m.jsx(HRe,{})]})]})}),m.jsx("div",{className:Oe("mb-3",{"col-sm-6":g}),children:m.jsxs(yt,{title:"Configure behavior",children:[m.jsx(h_,{infoTooltip:"This short URL will be included in the robots.txt for your Shlink instance, allowing web crawlers (like Google) to index it.",checked:f.crawlable,onChange:E=>d(T=>({...T,crawlable:E})),children:"Make it crawlable"}),m.jsx(h_,{infoTooltip:"When this short URL is visited, any query params appended to it will be forwarded to the long URL.",checked:f.forwardQuery,onChange:E=>d(T=>({...T,forwardQuery:E})),children:"Forward query params on redirect"})]})})]})]}),m.jsx("div",{className:"text-center",children:m.jsx(Ke,{outline:!0,color:"primary",disabled:t||!f.longUrl,className:"btn-xs-block",children:t?"Saving...":"Save"})})]})},qRe=$t(dU,["TagsSelector"]),KRe=({active:e,allText:t,onChange:n})=>m.jsxs(m.Fragment,{children:[m.jsx(Me,{active:e==="all",onClick:()=>n("all"),children:t}),m.jsx(Me,{divider:!0,tag:"hr"}),pLe.map(r=>m.jsx(Me,{active:e===r,onClick:()=>n(r),children:gB(r)},r))]}),YRe=({startDate:e,endDate:t,disabled:n=!1,onStartDateChange:r,onEndDateChange:i})=>m.jsxs("div",{className:"row",children:[m.jsx("div",{className:"col-md-6",children:m.jsx(_y,{label:"Since",value:e,maxDate:t??void 0,disabled:n,onChange:r})}),m.jsx("div",{className:"col-md-6 mt-3 mt-md-0",children:m.jsx(_y,{label:"Until",value:t,minDate:e??void 0,disabled:n,onChange:o=>i(o&&qc(o))})})]}),_C=({onDatesChange:e,dateRangeOrInterval:t,defaultText:n,disabled:r})=>{const i=M.useMemo(()=>gB(t)??n,[t,n]),[o,a]=M.useMemo(()=>vy(t)?[void 0,t]:[t,void 0],[t]),s=M.useCallback(l=>{vy(l)?e(yB(l),l):e(l)},[e]);return m.jsxs(Qo,{disabled:r,text:i,children:[m.jsx(KRe,{allText:n,active:a,onChange:s}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx("div",{className:"px-3 py-1",children:m.jsx(YRe,{...o,onStartDateChange:l=>s({...o,startDate:l}),onEndDateChange:l=>s({...o,endDate:l})})})]})},ZRe={dateCreated:"Created at",shortCode:"Short URL",longUrl:"Long URL",title:"Title",visits:"Visits"},XRe=({onChange:e,selected:t={},className:n,supportsDisabledFiltering:r})=>{const{excludeBots:i=!1,excludeMaxVisitsReached:o=!1,excludePastValidUntil:a=!1}=t,s=l=>()=>e({...t,[l]:!(t!=null&&t[l])});return m.jsxs(Qo,{text:"Filters",dropdownClassName:n,end:!0,minWidth:250,children:[m.jsx(Me,{header:!0,"aria-hidden":!0,children:"Visits:"}),m.jsx(Me,{active:i,onClick:s("excludeBots"),children:"Ignore visits from bots"}),r&&m.jsxs(m.Fragment,{children:[m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{header:!0,"aria-hidden":!0,children:"Short URLs:"}),m.jsx(Me,{active:o,onClick:s("excludeMaxVisitsReached"),children:"Exclude with visits reached"}),m.jsx(Me,{active:a,onClick:s("excludePastValidUntil"),children:"Exclude enabled in the past"})]}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{disabled:t.excludeBots===void 0&&t.excludeMaxVisitsReached===void 0&&t.excludePastValidUntil===void 0,onClick:()=>e({excludeBots:void 0,excludeMaxVisitsReached:void 0,excludePastValidUntil:void 0}),children:m.jsx("i",{children:"Reset to defaults"})})]})},hU=({className:e,shortUrlsAmount:t,order:n,handleOrderBy:r,tagsList:i})=>{const{ExportShortUrlsBtn:o,TagsSelector:a}=Rt(hU),[{search:s,tags:l,startDate:c,endDate:f,excludeBots:d,excludeMaxVisitsReached:p,excludePastValidUntil:v,tagsMode:y="any"},g]=cb(),x=Go("filterDisabledUrls"),_=rr("visits"),[b,w]=M.useState(),S=M.useCallback(({startDate:j,endDate:F},k)=>{g({startDate:Ya(j)??void 0,endDate:Ya(F)??void 0}),w(k)},[g]),P=M.useCallback(j=>g({search:j||void 0}),[g]),E=M.useCallback(j=>g({tags:j}),[g]),T=M.useCallback(()=>g({tagsMode:y==="any"?"all":"any"}),[y,g]);return m.jsxs("div",{className:Oe("short-urls-filtering-bar-container",e),children:[m.jsx(Xh,{initialValue:s,onChange:P}),m.jsxs(t0,{className:"mt-3",children:[m.jsx(a,{immutable:!0,placeholder:"With tags...",tags:i.tags,selectedTags:l,onChange:E}),l.length>1&&m.jsxs(m.Fragment,{children:[m.jsx(Ke,{outline:!0,color:"secondary",onClick:T,id:"tagsModeBtn","aria-label":"Change tags mode",children:m.jsx(Ae,{className:"short-urls-filtering-bar__tags-icon",icon:y==="all"?I6:EK})}),m.jsx(Dr,{target:"tagsModeBtn",placement:"left",children:y==="all"?"With all the tags.":"With any of the tags."})]})]}),m.jsxs(Er,{className:"flex-lg-row-reverse",children:[m.jsx("div",{className:"col-lg-8 col-xl-6 mt-3",children:m.jsxs("div",{className:"d-md-flex",children:[m.jsx("div",{className:"flex-grow-1",children:m.jsx(_C,{defaultText:"All short URLs",dateRangeOrInterval:b??vB(c,f),onDatesChange:S})}),m.jsx(XRe,{className:"ms-0 ms-md-2 mt-3 mt-md-0",selected:{excludeBots:d??(_==null?void 0:_.excludeBots),excludeMaxVisitsReached:p,excludePastValidUntil:v},onChange:g,supportsDisabledFiltering:x})]})}),m.jsx("div",{className:"col-6 col-lg-4 col-xl-6 mt-3",children:m.jsx(o,{amount:t})}),m.jsx("div",{className:"col-6 d-lg-none mt-3",children:m.jsx(Qh,{prefixed:!1,items:ZRe,order:n,onChange:r})})]})]})},QRe=$t(hU,["ExportShortUrlsBtn","TagsSelector"]);function _d({currentOrder:e,field:t,className:n="ms-1"}){return!e.dir||e.field!==t?null:m.jsx(Ae,{icon:e.dir==="ASC"?yK:AK,className:n})}const ql=2,YO="...",pU=(e,t)=>{const n=zP(Math.max(ql,e-ql),Math.min(t-1,e+ql)+1);return e-ql>ql&&n.unshift(YO),e+qle===YO,mU=e=>$h(e)?e:qt(e),vU=(e,t)=>$h(e)?`${e}_${t}`:`${e}`,JRe=({paginator:e,currentQueryString:t=""})=>{const{currentPage:n=0,pagesCount:r=0}=e??{},i=cs(),o=s=>`${i}/list-short-urls/${s}${t}`;if(r<=1)return m.jsx("div",{className:"pb-3"});const a=()=>pU(n,r).map((s,l)=>m.jsx(Hs,{disabled:$h(s),active:n===s,children:m.jsx(Gs,{tag:kt,to:o(s),children:mU(s)})},vU(s,l)));return m.jsxs(RP,{className:"sticky-card-paginator py-3",listClassName:"flex-wrap justify-content-center mb-0",children:[m.jsx(Hs,{disabled:n===1,children:m.jsx(Gs,{previous:!0,tag:kt,to:o(n-1)})}),a(),m.jsx(Hs,{disabled:n>=r,children:m.jsx(Gs,{next:!0,tag:kt,to:o(n+1)})})]})},e$e={field:"dateCreated",dir:"DESC"},gU=Ii(({listShortUrls:e,shortUrlsList:t})=>{var n,r,i;const{ShortUrlsTable:o,ShortUrlsFilteringBar:a}=Rt(gU),{page:s}=Cu(),l=mr(),[{tags:c,search:f,startDate:d,endDate:p,orderBy:v,tagsMode:y,excludeBots:g,excludePastValidUntil:x,excludeMaxVisitsReached:_},b]=cb(),w=GP(),[S,P]=M.useState(v??((n=w.shortUrlsList)==null?void 0:n.defaultOrdering)??e$e),{pagination:E}=(t==null?void 0:t.shortUrls)??{},T=M.useMemo(()=>{var X;return g??((X=w.visits)==null?void 0:X.excludeBots)},[g,(r=w.visits)==null?void 0:r.excludeBots]),j=Go("excludeBotsOnShortUrls"),F=M.useCallback((X,Q)=>{b({orderBy:{field:X,dir:Q}}),P({field:X,dir:Q})},[b]),k=X=>()=>F(X,i0(X,S.field,S.dir)),I=X=>m.jsx(_d,{currentOrder:S,field:X}),D=M.useCallback(X=>b({tags:[...new Set([...c,X])]}),[c,b]),K=M.useCallback(({field:X,dir:Q})=>j&&T&&X==="visits"?{field:"nonBotVisits",dir:Q}:{field:X,dir:Q},[T,j]),W=lC();return M.useEffect(()=>{e({page:s,searchTerm:f,tags:c,startDate:d,endDate:p,orderBy:K(S),tagsMode:y,excludePastValidUntil:x,excludeMaxVisitsReached:_})},[e,K,s,f,c,d,p,S,y,x,_]),m.jsxs(sC,{value:W,children:[m.jsx(a,{shortUrlsAmount:(i=t.shortUrls)==null?void 0:i.pagination.totalItems,order:S,handleOrderBy:F,className:"mb-3"}),m.jsx(cC,{type:"short-urls",className:"mb-3"}),m.jsxs(Ir,{body:!0,className:Oe({"pb-0":!t.loading}),children:[m.jsx(o,{shortUrlsList:t,orderByColumn:k,renderOrderIcon:I,onTagClick:D}),!t.loading&&m.jsx(JRe,{paginator:E,currentQueryString:l.search})]})]})},()=>[er.visits]),t$e=$t(gU,["ShortUrlsTable","ShortUrlsFilteringBar"]),yU=({orderByColumn:e,renderOrderIcon:t,shortUrlsList:n,onTagClick:r,className:i})=>{const{ShortUrlsRow:o}=Rt(yU),{error:a,loading:s,shortUrls:l}=n,c=Oe({"short-urls-table__header-cell--with-action":!!e}),f=Oe("short-urls-table__header-cell",c),d=Oe("table table-hover responsive-table short-urls-table",i),p=()=>a?m.jsx("tr",{children:m.jsx("td",{colSpan:6,className:"text-center table-danger text-dark",children:"Something went wrong while loading short URLs :("})}):s?m.jsx("tr",{children:m.jsx("td",{colSpan:6,className:"text-center",children:"Loading..."})}):!s&&(!l||l.data.length===0)?m.jsx("tr",{children:m.jsx("td",{colSpan:6,className:"text-center",children:"No results found"})}):l==null?void 0:l.data.map(v=>m.jsx(o,{shortUrl:v,onTagClick:r},v.shortUrl));return m.jsxs("table",{className:d,children:[m.jsx("thead",{className:"responsive-table__header short-urls-table__header",children:m.jsxs("tr",{children:[m.jsxs("th",{className:f,onClick:e==null?void 0:e("dateCreated"),children:["Created at ",t==null?void 0:t("dateCreated")]}),m.jsxs("th",{className:f,onClick:e==null?void 0:e("shortCode"),children:["Short URL ",t==null?void 0:t("shortCode")]}),m.jsxs("th",{className:"short-urls-table__header-cell",children:[m.jsxs(hl,{className:Oe("p-0",c),onClick:e==null?void 0:e("title"),children:["Title ",t==null?void 0:t("title")]}),"  /  ",m.jsxs(hl,{className:Oe("p-0",c),onClick:e==null?void 0:e("longUrl"),children:[m.jsx("span",{className:"indivisible",children:"Long URL"})," ",t==null?void 0:t("longUrl")]})]}),m.jsx("th",{className:"short-urls-table__header-cell",children:"Tags"}),m.jsx("th",{className:f,onClick:e==null?void 0:e("visits"),children:m.jsxs("span",{className:"indivisible",children:["Visits ",t==null?void 0:t("visits")]})}),m.jsx("th",{className:"short-urls-table__header-cell",colSpan:2,"aria-hidden":!0})]})}),m.jsx("tbody",{children:p()})]})},n$e=$t(yU,["ShortUrlsRow"]),r$e=(e,t)=>{e.factory("ShortUrlsList",t$e),e.decorator("ShortUrlsList",t(["mercureInfo","shortUrlsList"],["listShortUrls","createNewVisits","loadMercureInfo"])),e.factory("ShortUrlsTable",n$e),e.factory("ShortUrlsRow",LRe),e.factory("CreateShortUrlResult",xRe),e.factory("ShortUrlsRowMenu",RRe),e.decorator("ShortUrlsRowMenu",t(null,["shortUrlDeleted","deleteShortUrl"])),e.factory("ShortUrlForm",qRe),e.decorator("ShortUrlForm",t(["tagsList","domainsList"])),e.factory("CreateShortUrl",bRe),e.decorator("CreateShortUrl",t(["shortUrlCreation"],["createShortUrl","resetCreateShortUrl"])),e.factory("EditShortUrl",_Re),e.decorator("EditShortUrl",t(["shortUrlsDetails","shortUrlEdition"],["getShortUrlsDetails","editShortUrl"])),e.serviceFactory("DeleteShortUrlModal",()=>wRe),e.decorator("DeleteShortUrlModal",t(["shortUrlDeletion"],["resetDeleteShortUrl"])),e.factory("QrCodeModal",CRe),e.factory("ExportShortUrlsBtn",ORe),e.factory("ShortUrlsFilteringBar",QRe),e.decorator("ShortUrlsFilteringBar",t(["tagsList"])),e.serviceFactory("shortUrlsListReducerCreator",e4e,"listShortUrls","editShortUrl","createShortUrl"),e.serviceFactory("shortUrlsListReducer",n=>n.reducer,"shortUrlsListReducerCreator"),e.serviceFactory("shortUrlCreationReducerCreator",IRe,"createShortUrl"),e.serviceFactory("shortUrlCreationReducer",n=>n.reducer,"shortUrlCreationReducerCreator"),e.serviceFactory("shortUrlEditionReducerCreator",BRe,"editShortUrl"),e.serviceFactory("shortUrlEditionReducer",n=>n.reducer,"shortUrlEditionReducerCreator"),e.serviceFactory("shortUrlDeletionReducerCreator",XLe,"deleteShortUrl"),e.serviceFactory("shortUrlDeletionReducer",n=>n.reducer,"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlsDetailsReducerCreator",URe,"apiClientFactory"),e.serviceFactory("shortUrlsDetailsReducer",n=>n.reducer,"shortUrlsDetailsReducerCreator"),e.serviceFactory("listShortUrls",JLe,"apiClientFactory"),e.serviceFactory("createShortUrl",$Re,"apiClientFactory"),e.serviceFactory("resetCreateShortUrl",n=>n.resetCreateShortUrl,"shortUrlCreationReducerCreator"),e.serviceFactory("deleteShortUrl",ZLe,"apiClientFactory"),e.serviceFactory("resetDeleteShortUrl",n=>n.resetDeleteShortUrl,"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlDeleted",()=>CB),e.serviceFactory("getShortUrlsDetails",n=>n.getShortUrlsDetails,"shortUrlsDetailsReducerCreator"),e.serviceFactory("editShortUrl",FRe,"apiClientFactory")},i$e=({tag:e,toggle:t,isOpen:n,deleteTag:r,tagDelete:i,tagDeleted:o})=>{const{deleting:a,error:s,deleted:l,errorData:c}=i;return m.jsxs(gr,{toggle:t,isOpen:n,centered:!0,onClosed:()=>l&&o(e),children:[m.jsx(ho,{toggle:t,className:"text-danger",children:"Delete tag"}),m.jsxs(Mi,{children:["Are you sure you want to delete tag ",m.jsx("b",{children:e}),"?",s&&m.jsx(Xn,{type:"error",small:!0,className:"mt-2",children:m.jsx(uo,{errorData:c,fallbackMessage:"Something went wrong while deleting the tag :("})})]}),m.jsxs(rs,{children:[m.jsx(Ke,{color:"link",onClick:t,children:"Cancel"}),m.jsx(Ke,{color:"danger",disabled:a,onClick:async()=>{await r(e),t()},children:a?"Deleting tag...":"Delete tag"})]})]})},bU=({tag:e,editTag:t,toggle:n,tagEdited:r,isOpen:i,tagEdit:o})=>{const{ColorGenerator:a}=Rt(bU),[s,l]=M.useState(e),[c,f]=M.useState(a.getColorForKey(e)),{editing:d,error:p,edited:v,errorData:y}=o,g=EB(async()=>{await t({oldName:e,newName:s,color:c}),n()}),x=M.useCallback(()=>v&&r({oldName:e,newName:s,color:c}),[c,v,s,e,r]);return m.jsx(gr,{isOpen:i,toggle:n,centered:!0,onClosed:x,children:m.jsxs("form",{name:"editTag",onSubmit:g,children:[m.jsx(ho,{toggle:n,children:"Edit tag"}),m.jsxs(Mi,{children:[m.jsxs(t0,{children:[m.jsxs("div",{className:"input-group-text p-0 position-relative",style:{backgroundColor:c,borderColor:c},children:[m.jsx(Ae,{icon:bK,className:"position-absolute top-50 start-50 translate-middle text-white"}),m.jsx(An,{className:"form-control-color opacity-0",type:"color",value:c,onChange:_=>f(_.target.value)})]}),m.jsx(An,{value:s,placeholder:"Tag",required:!0,onChange:({target:_})=>l(_.value)})]}),p&&m.jsx(Xn,{type:"error",small:!0,className:"mt-2",children:m.jsx(uo,{errorData:y,fallbackMessage:"Something went wrong while editing the tag :("})})]}),m.jsxs(rs,{children:[m.jsx(Ke,{type:"button",color:"link",onClick:n,children:"Cancel"}),m.jsx(Ke,{color:"primary",disabled:d,children:d?"Saving...":"Save"})]})]})})},o$e=$t(bU,["ColorGenerator"]),a$e=/\s+/g,_U=e=>e.trim().toLowerCase().replace(a$e,"-"),xU=({color:e})=>m.jsx("div",{style:{backgroundColor:e},className:"color-bullet"}),wU=({tag:e,colorGenerator:t})=>m.jsx(xU,{color:t.getColorForKey(e)});let _4=1;const OU="Tag not found",SU="Add tag",s$e=e=>e!==OU,l$e=e=>e===SU,x4=e=>(_4+=1,{label:e,value:`${e}${_4}`}),c$e=e=>({tag:t,onClick:n})=>m.jsx(fb,{colorGenerator:e,text:t.label,className:"react-tags__tag",onClose:n}),u$e=(e,t)=>({option:n,classNames:r,...i})=>{var o;const a=s$e(n.label),s=l$e(n.label);return m.jsx("div",{className:Oe(r.option,{[r.optionIsActive]:a&&n.active,"react-tags__listbox-option--not-selectable":!a}),...i,children:a?m.jsxs(m.Fragment,{children:[!s&&m.jsx(wU,{tag:`${n.label}`,colorGenerator:e}),s?m.jsxs("i",{children:['Add "',_U(((o=t.current)==null?void 0:o.input.value)??""),'"']}):n.label]}):m.jsx("i",{children:n.label})})},PU=({selectedTags:e,onChange:t,placeholder:n,tags:r,immutable:i=!1})=>{const{ColorGenerator:o}=Rt(PU),a=rr("shortUrlCreation"),s=(a==null?void 0:a.tagFilteringMode)??"startsWith",l=Ni();return m.jsx(Rle,{ref:l,selected:e.map(x4),suggestions:r.filter(c=>!e.includes(c)).map(x4),renderTag:c$e(o),renderOption:u$e(o,l),activateFirstOption:!0,allowNew:!i,newOptionText:SU,noOptionsText:OU,placeholderText:n??"Add tags to the URL",delimiterKeys:["Enter",","],suggestionsTransform:(c,f)=>{const d=c.toLowerCase().trim();return d.length<1?[]:[...f.filter(({label:p})=>s==="includes"?p.includes(d):p.startsWith(d))].slice(0,5)},onDelete:c=>{const f=[...e];f.splice(c,1),t(f)},onAdd:({label:c})=>t([...new Set([...e,...c.split(",").map(_U)])])})},f$e=$t(PU,["ColorGenerator"]),ZO="shlink/tagDelete",d$e={deleting:!1,deleted:!1,error:!1},EU=Qn(`${ZO}/tagDeleted`),h$e=e=>{const t=fn(`${ZO}/deleteTag`,async r=>{await e().deleteTags([r])}),{reducer:n}=Qt({name:ZO,initialState:d$e,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({deleting:!0,deleted:!1,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({deleting:!1,deleted:!1,error:!0,errorData:Fr(o)})),r.addCase(t.fulfilled,()=>({deleting:!1,deleted:!0,error:!1}))}});return{reducer:n,deleteTag:t}},xC="shlink/tagEdit",p$e={editing:!1,edited:!1,error:!1},CU=Qn(`${xC}/tagEdited`),m$e=(e,t)=>fn(`${xC}/editTag`,async({oldName:n,newName:r,color:i})=>(await e().editTag(n,r),t.setColorForKey(r,i),{oldName:n,newName:r,color:i})),v$e=e=>Qt({name:xC,initialState:p$e,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({editing:!0,edited:!1,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({editing:!1,edited:!1,error:!0,errorData:Fr(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{oldName:i,newName:o}=r;return{oldName:i,newName:o,editing:!1,edited:!0,error:!1}})}}),wC="shlink/tagsList",p_={tags:[],filteredTags:[],stats:{},loading:!1,error:!1},w4=(e,t)=>n=>n===e?t:n,O4=(e,t)=>e.filter(n=>n!==t),g$e=(e,t)=>e.reduce((n,[r,i])=>{if(!n[r])return n;const{bots:o,nonBots:a}=i,s=n[r];return{...n,[r]:{...s,visitsSummary:s.visitsSummary&&{total:s.visitsSummary.total+o+a,bots:s.visitsSummary.bots+o,nonBots:s.visitsSummary.nonBots+a},visitsCount:(s.visitsCount??0)+o+a}}},{...t}),y$e=e=>Object.entries(e.reduce((t,{shortUrl:n,visit:r})=>(n==null||n.tags.forEach(i=>{t[i]||(t[i]={bots:0,nonBots:0}),r.potentialBot?t[i].bots+=1:t[i].nonBots+=1}),t),{})),b$e=e=>fn(`${wC}/listTags`,async()=>{const{data:t}=await e().tagsStats(),n=t.reduce((r,{tag:i,...o})=>(r[i]=o,r),{});return{tags:Object.keys(n),stats:n}}),TU=Qn(`${wC}/filterTags`),_$e=(e,t)=>Qt({name:wC,initialState:p_,reducers:{},extraReducers:n=>{n.addCase(TU,(r,{payload:i})=>({...r,filteredTags:r.tags.filter(o=>o.toLowerCase().match(i.toLowerCase()))})),n.addCase(e.pending,r=>({...r,loading:!0,error:!1})),n.addCase(e.rejected,(r,{error:i})=>({...p_,error:!0,errorData:Fr(i)})),n.addCase(e.fulfilled,(r,{payload:i})=>({...p_,stats:i.stats,tags:i.tags,filteredTags:i.tags})),n.addCase(EU,({tags:r,filteredTags:i,...o},{payload:a})=>({...o,tags:O4(r,a),filteredTags:O4(i,a)})),n.addCase(CU,({tags:r,filteredTags:i,stats:o,...a},{payload:s})=>({...a,stats:{...o,[s.newName]:o[s.oldName]},tags:r.map(w4(s.oldName,s.newName)).sort(),filteredTags:i.map(w4(s.oldName,s.newName)).sort()})),n.addCase(Yu,(r,{payload:i})=>({...r,stats:g$e(y$e(i.createdVisits),r.stats)})),n.addCase(t.fulfilled,({tags:r,...i},{payload:o})=>({...i,tags:r.concat(o.tags.filter(a=>!r.includes(a)))}))}}),x$e={tag:"Tag",shortUrls:"Short URLs",visits:"Visits"},jU=Ii(({filterTags:e,tagsList:t})=>{var n,r;const{TagsTable:i}=Rt(jU),o=GP(),[a,s]=M.useState(((n=o.tags)==null?void 0:n.defaultOrdering)??{}),l=M.useMemo(()=>{const f=t.filteredTags.map(d=>{var p,v,y;const g=t.stats[d],x=((p=o.visits)!=null&&p.excludeBots?(v=g==null?void 0:g.visitsSummary)==null?void 0:v.nonBots:(y=g==null?void 0:g.visitsSummary)==null?void 0:y.total)??(g==null?void 0:g.visitsCount)??0;return{tag:d,visits:x,shortUrls:(g==null?void 0:g.shortUrlsCount)??0}});return _D(f,a)},[a,(r=o.visits)==null?void 0:r.excludeBots,t.filteredTags,t.stats]),c=lC();return t.loading?m.jsx(Bo,{loading:!0}):t.error?m.jsx(Xn,{type:"error",children:m.jsx(uo,{errorData:t.errorData,fallbackMessage:"Error loading tags :("})}):m.jsxs(sC,{value:c,children:[m.jsx(Xh,{className:"mb-3",onChange:e}),m.jsx(Er,{className:"mb-3",children:m.jsx("div",{className:"col-lg-6 offset-lg-6",children:m.jsx(Qh,{items:x$e,order:a,onChange:(f,d)=>s({field:f,dir:d})})})}),m.jsx(cC,{type:"tags",className:"mb-3"}),m.jsx(i,{sortedTags:l,currentOrder:a,orderByColumn:f=>()=>{const d=i0(f,a.field,a.dir);s({field:d?f:void 0,dir:d})}})]})},()=>[er.visits]),w$e=$t(jU,["TagsTable"]),OC=({pagesCount:e,currentPage:t,setCurrentPage:n,centered:r=!0})=>{if(e<2)return null;const i=o=>()=>!$h(o)&&n(o);return m.jsxs(RP,{listClassName:Oe("flex-wrap mb-0 simple-paginator",{"justify-content-center":r}),children:[m.jsx(Hs,{disabled:t<=1,children:m.jsx(Gs,{previous:!0,tag:"span",onClick:i(t-1)})}),pU(t,e).map((o,a)=>m.jsx(Hs,{disabled:$h(o),active:t===o,children:m.jsx(Gs,{role:"link",tag:"span",onClick:i(o),children:mU(o)})},vU(o,a))),m.jsx(Hs,{disabled:t>=e,children:m.jsx(Gs,{next:!0,tag:"span",onClick:i(t+1)})})]})},O$e=20,AU=({sortedTags:e,orderByColumn:t,currentOrder:n})=>{const{TagsTableRow:r}=Rt(AU),i=M.useRef(!0),{page:o=1}=Au(),[a,s]=RLe("page",Number(o)),l=M.useCallback(p=>{s(p),scrollTo(0,0)},[s]),c=Pc(e,O$e),f=c.length>1,d=c[a-1]??[];return M.useEffect(()=>{i.current||l(1),i.current=!1},[l,e]),m.jsxs(yt,{bodyClassName:f?"pb-1":"",children:[m.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[m.jsxs("thead",{className:"responsive-table__header",children:[m.jsxs("tr",{children:[m.jsxs("th",{className:"tags-table__header-cell",onClick:t("tag"),children:["Tag ",m.jsx(_d,{currentOrder:n,field:"tag"})]}),m.jsxs("th",{className:"tags-table__header-cell text-lg-end",onClick:t("shortUrls"),children:["Short URLs ",m.jsx(_d,{currentOrder:n,field:"shortUrls"})]}),m.jsxs("th",{className:"tags-table__header-cell text-lg-end",onClick:t("visits"),children:["Visits ",m.jsx(_d,{currentOrder:n,field:"visits"})]}),m.jsx("th",{className:"tags-table__header-cell",children:m.jsx("span",{className:"sr-only",children:"Options"})})]}),m.jsx("tr",{children:m.jsx("th",{"aria-hidden":!0,colSpan:4,className:"p-0 border-top-0"})})]}),m.jsxs("tbody",{children:[d.length===0&&m.jsx("tr",{children:m.jsx("td",{colSpan:4,className:"text-center",children:"No tags found"})}),d.map(p=>m.jsx(r,{tag:p},p.tag))]})]}),f&&m.jsx("div",{className:"sticky-card-paginator",children:m.jsx(OC,{pagesCount:c.length,currentPage:a,setCurrentPage:l})})]},a)},S$e=$t(AU,["TagsTableRow"]),kU=({tag:e})=>{const{DeleteTagConfirmModal:t,EditTagModal:n,ColorGenerator:r}=Rt(kU),[i,o]=Lt(),[a,s]=Lt(),l=cs(),c=ib();return m.jsxs("tr",{className:"responsive-table__row",children:[m.jsxs("th",{className:"responsive-table__cell","data-th":"Tag",children:[m.jsx(wU,{tag:e.tag,colorGenerator:r})," ",e.tag]}),m.jsx("td",{className:"responsive-table__cell text-lg-end","data-th":"Short URLs",children:m.jsx(kt,{to:`${l}/list-short-urls/1?tags=${encodeURIComponent(e.tag)}`,children:qt(e.shortUrls)})}),m.jsx("td",{className:"responsive-table__cell text-lg-end","data-th":"Visits",children:m.jsx(kt,{to:`${l}/tag/${e.tag}/visits`,children:qt(e.visits)})}),m.jsx("td",{className:"responsive-table__cell text-lg-end",children:m.jsxs(r0,{children:[m.jsxs(Me,{onClick:s,children:[m.jsx(Ae,{icon:L6,fixedWidth:!0,className:"me-1"})," Edit"]}),m.jsxs(Me,{disabled:!c||!c.canAddItemWithName(e.tag),onClick:()=>c==null?void 0:c.addItemToCompare({name:e.tag,query:e.tag,style:r.stylesForKey(e.tag)}),children:[m.jsx(Ae,{icon:qy,fixedWidth:!0})," Compare visits"]}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{className:"dropdown-item--danger",onClick:o,children:[m.jsx(Ae,{icon:wK,fixedWidth:!0,className:"me-1"})," Delete tag"]})]})}),m.jsx(n,{tag:e.tag,toggle:s,isOpen:a}),m.jsx(t,{tag:e.tag,toggle:o,isOpen:i})]})},P$e=$t(kU,["DeleteTagConfirmModal","EditTagModal","ColorGenerator"]),E$e=(e,t)=>{e.factory("TagsSelector",f$e),e.serviceFactory("DeleteTagConfirmModal",()=>i$e),e.decorator("DeleteTagConfirmModal",t(["tagDelete"],["deleteTag","tagDeleted"])),e.factory("EditTagModal",o$e),e.decorator("EditTagModal",t(["tagEdit"],["editTag","tagEdited"])),e.factory("TagsTableRow",P$e),e.factory("TagsTable",S$e),e.factory("TagsList",w$e),e.decorator("TagsList",t(["tagsList","mercureInfo"],["filterTags","createNewVisits","loadMercureInfo"])),e.serviceFactory("tagEditReducerCreator",v$e,"editTag"),e.serviceFactory("tagEditReducer",n=>n.reducer,"tagEditReducerCreator"),e.serviceFactory("tagDeleteReducerCreator",h$e,"apiClientFactory"),e.serviceFactory("tagDeleteReducer",n=>n.reducer,"tagDeleteReducerCreator"),e.serviceFactory("tagsListReducerCreator",_$e,"listTags","createShortUrl"),e.serviceFactory("tagsListReducer",n=>n.reducer,"tagsListReducerCreator"),e.serviceFactory("listTags",b$e,"apiClientFactory"),e.serviceFactory("filterTags",()=>TU),e.serviceFactory("deleteTag",n=>n.deleteTag,"tagDeleteReducerCreator"),e.serviceFactory("tagDeleted",()=>EU),e.serviceFactory("editTag",m$e,"apiClientFactory","ColorGenerator"),e.serviceFactory("tagEdited",()=>CU)},C$e=new s5,T$e=e=>C$e.parse(e),j$e=6,S4="0123456789ABCDEF",A$e=128,{floor:k$e,random:N$e,sqrt:M$e,round:L$e}=Math,R$e=()=>`#${mC(j$e,()=>S4[k$e(N$e()*S4.length)]).join("")}`,P4=e=>e.toLowerCase().trim(),$$e=e=>(e.match(/../g)??[]).map(t=>parseInt(t,16)||0),I$e=(e=0,t=0,n=0)=>L$e(M$e(.299*e**2+.587*t**2+.114*n**2));class D$e{constructor(t){Fa(this,"colors"),Fa(this,"lights");var n;this.storage=t,this.colors=((n=this.storage)==null?void 0:n.getTagColors())??{},this.lights={}}getColorForKey(t){const n=P4(t);return this.colors[n]||this.setColorForKey(n,R$e())}setColorForKey(t,n){var r;const i=P4(t);return this.colors[i]=n,(r=this.storage)==null||r.storeTagColors(this.colors),n}stylesForKey(t){const n=this.getColorForKey(t);return{backgroundColor:n,color:this.isLightColor(n)?"#222":"#fff"}}isLightColor(t){const n=t.substring(1);if(this.lights[n]===void 0){const r=$$e(n);this.lights[n]=I$e(...r)>=A$e}return this.lights[n]}}const NU=({document:e},t,n)=>{const r=e.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.style.visibility="hidden",e.body.appendChild(r),r.click(),e.body.removeChild(r)},F$e=(e,t,n)=>{const r=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r);NU(e,i,n)};class B$e{constructor(t,n){this.fetch=t,this.window=n}async saveImage(t,n){const r=await this.fetch(t).then(o=>o.blob()),i=URL.createObjectURL(r);NU(this.window,i,n)}}class U$e{constructor(t,n){Fa(this,"exportVisits",(r,i)=>{i.length&&this.exportCsv(r,i)}),Fa(this,"exportShortUrls",r=>{r.length&&this.exportCsv("short_urls.csv",r)}),Fa(this,"exportCsv",(r,i)=>{const o=this.jsonToCsv(i);F$e(this.window,o,r)}),this.window=t,this.jsonToCsv=n}}function z$e(e){e.constant("window",window),e.constant("fetch",window.fetch.bind(window)),e.service("ImageDownloader",B$e,"fetch","window"),e.service("ColorGenerator",D$e,"TagColorsStorage"),e.constant("jsonToCsv",T$e),e.service("ReportExporter",U$e,"window","jsonToCsv"),e.serviceFactory("useTimeoutToggle",()=>yD)}const vp=({visits:e,shortUrl:t,children:n,title:r})=>m.jsx("header",{children:m.jsxs(Ir,{body:!0,children:[m.jsxs("h2",{className:"d-flex justify-content-between align-items-center mb-0",children:[m.jsx(ub,{}),m.jsx("span",{className:"text-center d-none d-sm-block",children:m.jsx("small",{children:r})}),m.jsxs("span",{className:"badge badge-main ms-3",children:["Visits:"," ",m.jsx(sU,{visitsCount:e.length,shortUrl:t})]})]}),m.jsx("h3",{className:"text-center d-block d-sm-none mb-0 mt-3",children:m.jsx("small",{children:r})}),n&&m.jsx("div",{className:"mt-md-2",children:n})]})}),db=({children:e,className:t})=>m.jsx("div",{className:Oe("d-flex justify-content-between align-items-center",t),children:e}),MU=({title:e,footer:t,children:n})=>m.jsxs(Ir,{role:"document",children:[m.jsx(Yh,{className:"chart-card__header",children:e}),m.jsx(Kh,{children:n}),t&&m.jsx(nD,{className:"chart-card__footer--sticky",children:t})]}),LU={color:"white",background:"rgb(0 0 0 / .9)",border:"none",borderRadius:"5px"},V$e={marginBottom:"5px",fontWeight:"bold"},RU={contentStyle:LU,labelStyle:V$e,itemStyle:{padding:0}},E4=["#97BBCD","#F7464A","#46BFBD","#FDB45C","#949FB1","#57A773","#414066","#08B2E3","#B6C454","#DCDCDC","#463730"],$U=e=>E4[e%E4.length],xy=()=>Jh()?"#46e587":"#1DAA58",W$e=()=>Jh()?"rgba(70, 229, 135, 0.4)":"rgba(29, 170, 88, 0.4)",H$e=({chartData:e,showNumbers:t})=>m.jsx("ul",{className:"doughnut-chart-legend",children:e.map(({name:n,color:r,value:i})=>m.jsxs("li",{className:"doughnut-chart-legend__item d-flex",children:[m.jsx("div",{className:"doughnut-chart-legend__item-color",style:{backgroundColor:r}}),m.jsxs("small",{className:"doughnut-chart-legend__item-text flex-fill",children:[n,t&&m.jsxs("b",{children:[" (",qt(i),")"]})]})]},n))}),C4=e=>M.useMemo(()=>Object.entries(e).map(([t,n],r)=>({name:t,value:n,color:$U(r)})),[e]),G$e=({stats:e,prevStats:t,showNumbersInLegend:n,dimensions:r})=>{const i=C4(e),o=C4(t),a=o.length>0,s=Jh()?_ie:bie;return m.jsxs("div",{className:"row align-items-center",children:[m.jsx("div",{className:"col-sm-12 col-md-7",children:m.jsx("div",{style:r??{width:"100%",height:300},children:m.jsx(r?M.Fragment:bE,{children:m.jsxs(NMe,{...r,children:[m.jsx(Kr,{formatter:qt,contentStyle:LU,itemStyle:{color:"white"}}),m.jsx(co,{data:i,dataKey:"value",nameKey:"name",startAngle:360,endAngle:0,outerRadius:"100%",innerRadius:a?"65%":"50%",animationBegin:0,children:i.map((l,c)=>m.jsx($a,{fill:l.color,stroke:s},`${l.name}-${c}`))}),a&&m.jsx(co,{data:o,dataKey:"value",nameKey:"name",startAngle:360,endAngle:0,outerRadius:"55%",innerRadius:"20%",animationBegin:0,stroke:s,fill:xy()})]})})})}),m.jsx("div",{className:"col-sm-12 col-md-5",children:m.jsx(H$e,{chartData:i,showNumbers:n})})]})},T4=({title:e,...t})=>{const[n,r]=Lt(!1);return m.jsx(MU,{title:m.jsxs(db,{children:[e,m.jsx("div",{children:m.jsx(Uo,{checked:n,onChange:r,children:"Show numbers"})})]}),children:m.jsx(G$e,{...t,showNumbersInLegend:n})})},q$e=M.forwardRef(({visitsGroups:e},t)=>{const n=M.useMemo(()=>Object.entries(e),[e]);return n.length===0?null:m.jsx("ul",{className:"list-unstyled mb-0 mt-2 d-flex flex-wrap justify-content-center gap-3",ref:t,children:n.map(([r,i],o)=>m.jsxs("li",{className:"d-inline",children:[m.jsx(xU,{color:IU(i)}),m.jsxs("strong",{children:[r," (",qt(i.length),")"]})]},`${r}${o}`))})}),K$e={monthly:"Month",weekly:"Week",daily:"Day",hourly:"Hour"},Y$e={hourly:e=>({hours:e}),daily:e=>({days:e}),weekly:e=>({weeks:e}),monthly:e=>({months:e})},Z$e={hourly:Noe,daily:u0,weekly:koe,monthly:sg},SC={hourly:e=>lg(e,"yyyy-MM-dd HH:00"),daily:e=>Pa(e),weekly(e){const t=Pa(Jd(e)),n=Pa(Boe(e));return`${t} - ${n}`},monthly:e=>lg(e,"yyyy-MM")},X$e=e=>{var t;const n=Object.values(e).filter(a=>a.length>0);if(n.length===0)return"monthly";const r=new Date,i=n.map(a=>Ha(a[a.length-1].date)),o=zD(i);return((t=[[()=>u0(r,o)<=2,"hourly"],[()=>sg(r,o)<=1,"daily"],[()=>sg(r,o)<=6,"weekly"]].find(([a])=>a()))==null?void 0:t[1])??"monthly"},Q$e=(e,t)=>Object.keys(t).reduce((n,r)=>(n[r]=ID(t[r],i=>SC[e](Ha(i.date))),n),{}),J$e=(e,t)=>t.reduce((n,r)=>{const i=SC[e](Ha(r.date));return n[i]=n[i]??[],n[i].push(r),n},{}),e6e=(e,t)=>{const n=Object.values(t).filter(f=>f.length>0).map(f=>[...f].reverse());if(n.length===0)return[];const r=Z$e[e],i=SC[e],o=Y$e[e],a=n.flat(),s=Ha(a[0].date),l=Ha(a[a.length-1].date),c=r(l,s)||1;return[{formattedDate:i(s),date:s},...mC(c,f=>{const d=Poe(s,o(f));return{formattedDate:i(d),date:d}})]},IU=e=>{if(e.color)return e.color;const t={main:Yd,highlighted:Xw,previous:xy()};return e.type?t[e.type]:Yd},j4=(e,t)=>M.useMemo(()=>Object.values(e).find(n=>n.type===t)??[],[e,t]),t6e=(e,t,n)=>{const r=j4(e,"main"),i=j4(e,"highlighted"),o=M.useMemo(()=>n?J$e(t,r):{},[n,t,r]),a=M.useCallback((s,{payload:l})=>{const c=o[l.formattedDate]??[];n==null||n(c===i?[]:c)},[o,i,n]);return n&&{cursor:"pointer",onClick:a}},A4=e=>{var t,n;return(n=(t=e.activePayload)==null?void 0:t[0])==null?void 0:n.payload},DU=({visitsGroups:e,setSelectedVisits:t,dimensions:n,matchMedia:r,onDateRangeChange:i})=>{const[o,a]=M.useState(X$e(e)),s=gC(767,r??window.matchMedia),l=M.useMemo(()=>{const D=Q$e(o,e),K=Object.keys(D);return e6e(o,e).map(({formattedDate:W,date:X})=>({date:X,formattedDate:W,...K.reduce((Q,te)=>(Q[te]=D[te][W]??0,Q),{})}))},[o,e]),c=t6e(e,o,t),[f,d,,p]=Lt(),v=Ni(),y=M.useId(),g=Ni(),[x,_]=M.useState(s?300:400);M.useLayoutEffect(()=>{if(!f)return _(s?300:400),()=>{};const D=new ResizeObserver(()=>{const{height:K}=v.current.getBoundingClientRect(),{height:W}=g.current.getBoundingClientRect();_(K-W-48)});return D.observe(v.current),D.observe(g.current),()=>D.disconnect()},[v,f,s,g]),ILe("Escape",p,f);const b=n?M.Fragment:bE,w=M.useMemo(()=>n?{}:{width:"100%",height:x},[n,x]),[S,P]=M.useState(),[E,T]=M.useState(),j=M.useCallback(()=>{P(void 0),T(void 0)},[]),F=M.useCallback((D,K)=>{const W=A4(D);K.button===0&&W&&P(W)},[]),k=M.useCallback(D=>{const K=A4(D);S&&K&&T(K)},[S]),I=M.useCallback(()=>{if(!S||!E)return;const D=[S.date,E.date],K=Toe(D),W=zD(D);j(),i({startDate:K,endDate:W})},[i,j,E,S]);return m.jsxs(Ir,{className:Oe({"fixed-top fixed-bottom":f}),"data-testid":"line-chart-card",children:[m.jsxs(Yh,{role:"heading","aria-level":4,className:"d-flex justify-content-between align-items-center",children:["Visits over time",m.jsxs("div",{className:"d-flex align-content-center gap-1",children:[m.jsx(Ke,{"aria-label":f?"Collapse":"Expand","aria-expanded":f,"aria-controls":y,size:"sm",color:"link",onClick:d,children:m.jsx(Ae,{icon:f?nK:XK})}),m.jsxs(Zh,{className:"d-flex align-items-center",children:[m.jsx(Xo,{caret:!0,color:"link",className:"btn-sm p-0",children:"Group by"}),m.jsx(ns,{end:!0,children:Object.entries(K$e).map(([D,K])=>m.jsx(Me,{active:o===D,onClick:()=>a(D),children:K},D))})]})]})]}),m.jsxs(Kh,{innerRef:v,id:y,children:[m.jsx(b,{...w,children:m.jsxs(kMe,{className:"user-select-none",data:l,...n,onMouseDown:F,onMouseMove:k,onMouseUp:I,children:[m.jsx(qu,{dataKey:"formattedDate"}),m.jsx(Ku,{tickFormatter:qt,yAxisId:"1"}),m.jsx(Kr,{formatter:qt,...RU}),m.jsx(tC,{strokeOpacity:Jh()?.1:.9}),Object.entries(e).map(([D,K])=>K.length>0&&m.jsx(Gu,{yAxisId:"1",dataKey:D,type:"monotone",stroke:IU(K),strokeWidth:2,activeDot:K.type==="previous"?void 0:c,strokeDasharray:K.type==="previous"?"8 3":void 0},D)),S&&E&&m.jsx(cp,{yAxisId:"1",x1:S.formattedDate,x2:E.formattedDate})]})}),m.jsx(q$e,{visitsGroups:e,ref:g})]})]})},n6e=({toggleClassName:e,ranges:t,value:n,setValue:r})=>m.jsxs(Zh,{children:[m.jsx(Xo,{caret:!0,color:"link",className:e,children:"Paginate"}),m.jsxs(ns,{end:!0,children:[t.map(i=>m.jsxs(Me,{active:i===n,onClick:()=>r(i),children:[m.jsx("b",{children:i})," items per page"]},i)),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{disabled:n===1/0,onClick:()=>r(1/0),children:m.jsx("i",{children:"Clear pagination"})})]})]}),k4=e=>e.startsWith("hidden_"),r6e=({stats:e,prevStats:t,highlightedStats:n,highlightedLabel:r,max:i,onClick:o,dimensions:a})=>{const s=M.useMemo(()=>Object.entries(e).map(([d,p])=>{const v=(n==null?void 0:n[d])??0,y=(t==null?void 0:t[d])??0,g=k4(d);return{name:d,amount:Math.max(p,y),nonHighlightedAmount:g?null:p-v,highlightedAmount:g?null:v,prevAmount:g?null:y}}),[e,t,n]),l=M.useMemo(()=>{const d=s.reduce((p,{name:v})=>p>v.length?p:v.length,0);return Math.min(150,d*7)},[s]),c=a?M.Fragment:bE,f=M.useMemo(()=>a?{}:{width:"100%",height:Math.max(300,s.length*(t?44:22))},[a,s.length,t]);return m.jsx(c,{...f,children:m.jsxs(MMe,{layout:"vertical",data:s,barCategoryGap:3,...a,children:[m.jsx(qu,{type:"number",dataKey:"amount",tickFormatter:qt,domain:i?[0,i]:void 0}),m.jsx(Ku,{type:"category",dataKey:"name",width:l,interval:0,style:{fontSize:".8rem"},tickFormatter:d=>k4(d)?"":d}),m.jsx(tC,{strokeOpacity:Jh()?.05:.9}),m.jsx(Kr,{filterNull:!0,...RU,formatter:(d,p)=>[qt(d),p==="highlightedAmount"?r:p==="prevAmount"?"Previous period":n?"Non-selected":"Visits"]}),m.jsx(No,{dataKey:"nonHighlightedAmount",stackId:"main",cursor:"pointer",fill:Yd,onClick:({name:d})=>o==null?void 0:o(d),children:s.map(d=>m.jsx($a,{fill:gie,stroke:Yd,strokeWidth:2},d.name))}),n&&m.jsx(No,{dataKey:"highlightedAmount",stackId:"main",cursor:"pointer",fill:Xw,onClick:({name:d})=>o==null?void 0:o(d),children:s.map(d=>m.jsx($a,{fill:yie,stroke:Xw,strokeWidth:2},d.name))}),t&&m.jsx(No,{dataKey:"prevAmount",fill:xy(),children:s.map(d=>m.jsx($a,{fill:W$e(),stroke:xy(),strokeWidth:2},d.name))})]})})},i6e=e=>typeof e=="string"?e.toLowerCase():e,o6e=([e])=>e,a6e=([,e])=>e,Cm=({stats:e,prevStats:t,highlightedStats:n,title:r,sortingItems:i,extraHeaderContent:o,withPagination:a=!0,...s})=>{const[l,c]=M.useState({}),[f,d]=M.useState(1),[p,v]=M.useState(50),y=M.useCallback((j,F)=>{const k=Object.entries(j),I=l.field?woe(k,([D,K])=>i6e(l.field===Object.keys(F)[0]?D:K)):k;return!l.dir||l.dir==="ASC"?I:[...I].reverse()},[l.dir,l.field]),g=M.useCallback(j=>{const F=j[f-1];if(f[`hidden_${I}`,0])]},[f]),x=M.useCallback(j=>m.jsx(OC,{currentPage:f,pagesCount:j,setCurrentPage:d}),[f]),_=M.useCallback((j,F,k,I)=>{const D=y(j,F),K=D.map(o6e),W=k&&Object.entries({...E3(K,K.map(()=>0)),...k}),X=I&&Object.entries({...E3(K,K.map(()=>0)),...I});if(D.length<=p)return{currentPageStats:Object.fromEntries(D),currentPageHighlightedStats:W&&Object.fromEntries(W),currentPagePrevStats:X&&Object.fromEntries(X)};const Q=Pc(D,p),te=W&&Pc(W,p),Z=X&&Pc(X,p);return{currentPageStats:Object.fromEntries(g(Q)),currentPageHighlightedStats:te&&Object.fromEntries(g(te)),currentPagePrevStats:Z&&Object.fromEntries(g(Z)),pagination:x(Q.length),max:r4e(Math.max(...D.map(a6e)))}},[g,y,p,x]),{currentPageStats:b,currentPagePrevStats:w,currentPageHighlightedStats:S,pagination:P,max:E}=M.useMemo(()=>_(e,i,n&&Object.keys(n).length>0?n:void 0,t&&Object.keys(t).length>0?t:void 0),[_,n,t,i,e]),T=M.useMemo(()=>Object.keys(b),[b]);return m.jsx(MU,{title:m.jsxs(db,{children:[r,m.jsxs("div",{className:"d-flex gap-3",children:[o==null?void 0:o(P?T:void 0),a&&Object.keys(e).length>50&&m.jsx(n6e,{toggleClassName:"btn-sm p-0",ranges:[50,100,200,500],value:p,setValue:j=>{v(j),d(1)}}),m.jsx(Qh,{isButton:!1,right:!0,items:i,order:l,onChange:(j,F)=>{c({field:j,dir:F}),d(1)}})]})]}),footer:P,children:m.jsx(r6e,{stats:b,prevStats:w,highlightedStats:S,max:E,...s})})},N4=(e,t)=>{if(!(!t||!(e in t)))return t[e]&&Ya(t[e])||""},FU=()=>{const e=fo(),t=Au(),{startDate:n,endDate:r,orphanVisitsType:i,excludeBots:o,loadPrevInterval:a,...s}=t,l=M.useMemo(()=>({dateRange:n!=null||r!=null?vB(n,r):void 0,visitsFilter:{orphanVisitsType:i,excludeBots:o!==void 0?o==="true":void 0},loadPrevInterval:a!==void 0?a==="true":void 0}),[r,o,a,i,n]),c=M.useCallback(f=>{const{dateRange:d,visitsFilter:p={},loadPrevInterval:v}=c0(l,f),{excludeBots:y,orphanVisitsType:g}=p,x={...s,startDate:N4("startDate",d),endDate:N4("endDate",d),excludeBots:y===void 0?void 0:HO(y),orphanVisitsType:g,loadPrevInterval:v===void 0?void 0:HO(v)},_=n0(x),b=_?`?${_}`:"";e(b,{replace:!0,relative:"route"})},[l,e,s]);return[l,c]},s6e=()=>m.jsx(ZMe,{attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),l6e=e=>{if(e.length===0)return{};if(e.length>1)return{bounds:e.map(({latLong:n})=>n)};const[{latLong:t}]=e;return{zoom:10,center:t}},BU=({toggle:e,isOpen:t,title:n,locations:r=[]})=>m.jsx(gr,{toggle:e,isOpen:t,className:"map-modal__modal",contentClassName:"map-modal__modal-content",children:m.jsxs(Mi,{className:"map-modal__modal-body",children:[m.jsxs(db,{className:"map-modal__modal-title fs-4",children:[n,m.jsx("button",{type:"button",className:"btn-close","aria-label":"Close",onClick:e})]}),m.jsxs(qMe,{...l6e(r),children:[m.jsx(s6e,{}),r.map(({cityName:i,latLong:o,count:a},s)=>m.jsx(KMe,{position:o,children:m.jsxs(YMe,{children:[m.jsx("b",{children:a})," visit",a>1?"s":""," from ",m.jsx("b",{children:i})]})},s))]})]})}),c6e=({modalTitle:e,activeCities:t,locations:n=[]})=>{const[r,,i,o]=Lt(),[a,s]=Lt(),[l,c]=M.useState([]),f=M.useCallback(d=>{c(d?n.filter(d):n),i()},[n,i]);return m.jsxs(m.Fragment,{children:[!t&&m.jsx(Ke,{color:"link",className:"p-0",onClick:()=>f(),"aria-label":"Show in map",title:"Show in map",children:m.jsx(Ae,{icon:px})}),t&&m.jsxs(ts,{isOpen:a,toggle:s,children:[m.jsx(Xo,{color:"link",className:"p-0",title:"Show in map",children:m.jsx(Ae,{icon:px})}),m.jsxs(ns,{end:!0,children:[m.jsx(Me,{onClick:()=>f(),children:"Show all locations"}),m.jsx(Me,{onClick:()=>f(({cityName:d})=>t.includes(d)),children:"Show locations in current page"})]})]}),m.jsx(BU,{toggle:o,isOpen:r,title:e,locations:l})]})},UU=({onChange:e,selected:t={},className:n,isOrphanVisits:r=!1,withPrevInterval:i=!1,disabled:o})=>{const{orphanVisitsType:a,excludeBots:s=!1,loadPrevInterval:l=!1}=t,c=p=>({active:a===p,onClick:()=>e({...t,orphanVisitsType:p===a?void 0:p})}),f=M.useCallback(()=>e({...t,excludeBots:!s}),[s,e,t]),d=M.useCallback(()=>e({...t,loadPrevInterval:!l}),[l,e,t]);return m.jsxs(Qo,{disabled:o,text:"More",dropdownClassName:n,end:!0,minWidth:250,children:[i&&m.jsxs(m.Fragment,{children:[m.jsx(Me,{active:l,onClick:d,children:"Compare with previous period"}),m.jsx(Me,{divider:!0,tag:"hr"})]}),m.jsx(Me,{header:!0,"aria-hidden":!0,children:"Bots:"}),m.jsx(Me,{active:s,onClick:f,children:"Exclude potential bots"}),r&&m.jsxs(m.Fragment,{children:[m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{header:!0,"aria-hidden":!0,children:"Orphan visits type:"}),m.jsx(Me,{...c("base_url"),children:"Base URL"}),m.jsx(Me,{...c("invalid_short_url"),children:"Invalid short URL"}),m.jsx(Me,{...c("regular_404"),children:"Regular 404"})]}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsx(Me,{disabled:t.excludeBots===void 0&&t.loadPrevInterval===void 0&&t.orphanVisitsType===void 0,onClick:()=>e({excludeBots:void 0,loadPrevInterval:void 0,orphanVisitsType:void 0}),children:m.jsx("i",{children:"Reset to defaults"})})]})},zU=({info:e})=>{const{loading:t,errorData:n,progress:r}=e;return m.jsxs(m.Fragment,{children:[t&&r===null&&m.jsx(Bo,{loading:!0}),t&&r!==null&&m.jsxs(Bo,{loading:!0,children:["This is going to take a while... :S",m.jsx(sD,{value:r,striped:r>=100,className:"mt-3"})]}),n&&m.jsx(Xn,{type:"error",children:m.jsx(uo,{errorData:n,fallbackMessage:"An error occurred while loading visits :("})})]})},ev=({children:e,showFallback:t})=>m.jsxs(m.Fragment,{children:[t&&m.jsx(Bo,{className:"mt-3",children:"There are no visits matching current filter"}),!t&&m.jsx(m.Fragment,{children:e})]}),u6e=({visitsDeletion:e,deleteVisits:t})=>{const{deleting:n}=e,[r,,i]=Lt();return m.jsx(yt,{title:m.jsx("span",{className:"text-danger fw-bold",children:"Danger zone"}),children:m.jsxs(db,{children:[m.jsxs("dl",{className:"m-0 me-3",children:[m.jsx("dt",{children:"Delete visits."}),m.jsxs("dd",{className:"m-0",children:["This will delete ",m.jsx("b",{children:"all"})," visits, not only the ones matching current filter."]})]}),!r&&m.jsx(Ke,{color:"danger",className:"indivisible",onClick:i,children:"Delete visits"}),r&&m.jsxs(Ke,{color:"danger",disabled:n,className:"indivisible",onClick:t,innerRef:o=>{o==null||o.focus()},children:[!n&&m.jsx(m.Fragment,{children:"Click again to confirm"}),n&&m.jsx(m.Fragment,{children:"Deleting..."})]})]})})},Tm="Others",f6e=["Android Browser","Chrome","Chromium","Firefox","Internet Explorer","Microsoft Edge","Opera","Safari","Samsung Internet for Android","Vivaldi","WeChat"],d6e=e=>{if(!ks(e))return{browser:Tm,os:Tm};const{browser:{name:t},os:{name:n}}=nLe.parse(e);return{os:n??Tm,browser:t&&f6e.includes(t)?t:Tm}},h6e=e=>{var t;return ks(e)?((t=e.split("/")[e.includes("://")?2:0])==null?void 0:t.split(":")[0])??"":"Direct"},VU=(e,t)=>e[t]!==void 0,M4=e=>typeof e=="number"?e:e?parseFloat(e):0,p6e=(e,{os:t})=>{e[t]=(e[t]||0)+1},m6e=(e,{browser:t})=>{e[t]=(e[t]||0)+1},v6e=(e,{referer:t})=>{e[t]=(e[t]||0)+1},WU=e=>(t,n)=>{const r=VU(n,e)?n[e]:"Unknown";t[r]=(t[r]||0)+1},g6e=WU("country"),y6e=WU("city"),b6e=(e,t)=>{if(!VU(t,"city")||t.city==="Unknown")return;const{city:n,latitude:r,longitude:i}=t,o=e[n]||{cityName:n,count:0,latLong:[M4(r),M4(i)]};o.count+=1,e[n]=o},_6e=(e,t)=>{if(!bLe(t))return;const{visitedUrl:n}=t;e[n]=(e[n]||0)+1},XO=e=>e.reduce((t,n)=>(p6e(t.os,n),m6e(t.browsers,n),v6e(t.referrers,n),g6e(t.countries,n),y6e(t.cities,n),b6e(t.citiesForMap,n),_6e(t.visitedUrls,n),t),{os:{},browsers:{},referrers:{},countries:{},cities:{},citiesForMap:{},visitedUrls:{}}),wy=e=>e.map(t=>{const{userAgent:n,date:r,referer:i,visitLocation:o,potentialBot:a}=t;return{date:r,potentialBot:a,userAgent:n,...d6e(n),referer:h6e(i),country:(o==null?void 0:o.countryName)||"Unknown",city:(o==null?void 0:o.cityName)||"Unknown",latitude:o==null?void 0:o.latitude,longitude:o==null?void 0:o.longitude,visitedUrl:t.visitedUrl,type:pC(t)?t.type:void 0}}),x6e=Object.freeze(Object.defineProperty({__proto__:null,normalizeVisits:wy,processStatsFromVisits:XO},Symbol.toStringTag,{value:"Module"})),Gf=20,w6e=({browser:e,os:t,referer:n,country:r,city:i,userAgent:o,...a},s,l)=>{const c=l?o:`${r} ${i}`;return`${e} ${t} ${n} ${c} ${a.visitedUrl}`.toLowerCase().includes(s.toLowerCase())},O6e=(e,t,n)=>t.filter(r=>w6e(r,e,n)),S6e=(e,t)=>_D(t,e),P6e=({visits:e,searchTerm:t,order:n,searchInRawUserAgent:r})=>{const i=t?O6e(t,e,r):[...e],o=S6e(n,i),a=o.length;return{visitsGroups:Pc(o,Gf),total:a}},Hi="visits-table__header-cell visits-table__sticky",E6e=({visits:e,selectedVisits:t=[],setSelectedVisits:n,matchMedia:r=window.matchMedia})=>{var i;const o=gC(767,r),[a,s]=M.useState(),l=M.useCallback(j=>{s(j),x(1),n([])},[n]),[c,f]=M.useState({}),[d,p]=Lt(),v=M.useCallback(()=>{p(),f({})},[p]),y=M.useMemo(()=>P6e({visits:e,searchTerm:a,order:c,searchInRawUserAgent:d}),[e,a,c,d]),[g,x]=M.useState(1),_=g*Gf,b=_-Gf,w=M.useMemo(()=>{var j,F;return!!((F=(j=y.visitsGroups[g-1])==null?void 0:j[0])!=null&&F.visitedUrl)},[g,y.visitsGroups]),S=6+Number(w)+(d?1:2),P=y.total>0,E=j=>f({field:j,dir:i0(j,c.field,c.dir)}),T=j=>m.jsx(_d,{currentOrder:c,field:j,className:"visits-table__header-icon"});return m.jsx(yt,{className:"mt-3",bodyClassName:"p-0 pb-1",title:m.jsxs("div",{className:"d-flex justify-content-between align-items-center",children:["Visits list",m.jsx(Uo,{checked:d,onChange:v,children:"Show user agent"})]}),children:m.jsx("div",{className:"table-responsive-md",children:m.jsxs("table",{className:Oe("table table-sm position-relative m-0 visits-table",{"table-hover":P}),children:[m.jsxs("thead",{className:"visits-table__header",children:[m.jsxs("tr",{children:[m.jsxs("th",{className:`${Hi} text-center`,onClick:()=>n(t.length0})})]}),m.jsxs("th",{className:`${Hi} text-center`,onClick:()=>E("potentialBot"),children:[m.jsx("span",{className:"sr-only",children:"Is bot"}),m.jsx(Ae,{icon:rA}),T("potentialBot")]}),m.jsxs("th",{className:Hi,onClick:()=>E("date"),children:["Date",T("date")]}),m.jsxs("th",{className:Hi,onClick:()=>E("country"),children:["Country",T("country")]}),m.jsxs("th",{className:Hi,onClick:()=>E("city"),children:["City",T("city")]}),d?m.jsxs("th",{className:Hi,onClick:()=>E("userAgent"),children:["User agent",T("userAgent")]}):m.jsxs(m.Fragment,{children:[m.jsxs("th",{className:Hi,onClick:()=>E("browser"),children:["Browser",T("browser")]}),m.jsxs("th",{className:Hi,onClick:()=>E("os"),children:["OS",T("os")]})]}),m.jsxs("th",{className:Hi,onClick:()=>E("referer"),children:["Referrer",T("referer")]}),w&&m.jsxs("th",{className:Hi,onClick:()=>E("visitedUrl"),children:["Visited URL",T("visitedUrl")]})]}),m.jsx("tr",{children:m.jsx("td",{colSpan:S,className:"p-0",children:m.jsx(Xh,{noBorder:!0,large:!1,onChange:l})})})]}),m.jsxs("tbody",{children:[!P&&m.jsx("tr",{children:m.jsx("td",{colSpan:S,className:"text-center",children:"There are no visits matching current filter"})}),(i=y.visitsGroups[g-1])==null?void 0:i.map((j,F)=>{const k=t.includes(j);return m.jsxs("tr",{style:{cursor:"pointer"},className:Oe({"table-active":k}),onClick:()=>n(k?t.filter(I=>I!==j):[...t,j]),children:[m.jsx("td",{className:"text-center",children:k&&m.jsx(Ae,{icon:Bd,className:"text-primary"})}),m.jsx("td",{className:"text-center",children:j.potentialBot&&m.jsxs(m.Fragment,{children:[m.jsx(Ae,{icon:rA,id:`botIcon${F}`}),m.jsx(Dr,{placement:"right",target:`botIcon${F}`,children:"Potentially a visit from a bot or crawler"})]})}),m.jsx("td",{children:m.jsx(by,{date:j.date})}),m.jsx("td",{children:j.country}),m.jsx("td",{children:j.city}),d?m.jsx("td",{children:j.userAgent}):m.jsxs(m.Fragment,{children:[m.jsx("td",{children:j.browser}),m.jsx("td",{children:j.os})]}),m.jsx("td",{children:j.referer}),j.visitedUrl&&m.jsx("td",{children:j.visitedUrl})]},F)})]}),y.total>Gf&&m.jsx("tfoot",{children:m.jsx("tr",{children:m.jsx("td",{colSpan:S,className:"visits-table__footer-cell visits-table__sticky",children:m.jsxs("div",{className:"d-flex flex-column flex-md-row justify-content-between align-items-center gap-3 p-2",children:[m.jsx(OC,{pagesCount:Math.ceil(y.total/Gf),currentPage:g,setCurrentPage:x,centered:o}),m.jsxs("div",{children:["Visits ",m.jsx("b",{children:qt(b+1)})," to"," ",m.jsx("b",{children:qt(Math.min(_,y.total))})," of"," ",m.jsx("b",{children:qt(y.total)})]})]})})})})]})})})},da={byTime:{title:"By time",subPath:"by-time",icon:iK},byContext:{title:"By context",subPath:"by-context",icon:oP},byLocation:{title:"By location",subPath:"by-location",icon:px},list:{title:"List",subPath:"list",icon:$6},options:{title:"Options",subPath:"options",icon:U6,shouldRender:({deletion:e})=>!!e}};Object.freeze(da);const m_=({display:e})=>e&&m.jsx("div",{className:"mt-3 mx-auto w-75",children:m.jsx(yt,{children:m.jsxs("div",{className:"d-flex gap-2",children:[m.jsx(Ae,{icon:nY,className:"mt-1"}),m.jsx("i",{children:"Could not calculate previous period because selected one does not have a strictly defined start date."})]})})});let jm;const gp=e=>{const{children:t,visitsInfo:n,getVisits:r,cancelGetVisits:i,deletion:o,exportCsv:a,isOrphanVisits:s=!1}=e,{visits:l,prevVisits:c,loading:f,errorData:d,fallbackInterval:p}=n,[{dateRange:v,visitsFilter:y,loadPrevInterval:g},x]=FU(),_=rr("visits"),[b,w]=M.useState(),S=M.useCallback(({startDate:A,endDate:N},U)=>{x({dateRange:{startDate:A??void 0,endDate:N??void 0}}),w(U)},[x]),P=M.useRef(v??p??(_==null?void 0:_.defaultInterval)??"last30Days"),[E,T]=M.useState([]),[j,F]=M.useState(),k=M.useRef(!0),{search:I}=mr(),D=M.useCallback(A=>A?`${A}${I}`:I,[I]),K=M.useMemo(()=>wy(l),[l]),W=M.useMemo(()=>c&&wy(c),[c]),{os:X,browsers:Q,referrers:te,countries:Z,cities:z,citiesForMap:B,visitedUrls:H}=M.useMemo(()=>XO(K),[K]),ee=M.useMemo(()=>XO(W??[]),[W]),q=M.useMemo(()=>Object.fromEntries([["Visits",Object.assign(K,{type:"main"})],W&&["Previous period",Object.assign(W,{type:"previous"})],E.length>0&&[j??"Selected",Object.assign(E,{type:"highlighted"})]].filter(Boolean)),[j,E,W,K]),ne=M.useMemo(()=>({...y,excludeBots:y.excludeBots??(_==null?void 0:_.excludeBots),loadPrevInterval:g??(_==null?void 0:_.loadPrevInterval)}),[g,y,_==null?void 0:_.excludeBots,_==null?void 0:_.loadPrevInterval]),re=M.useMemo(()=>Object.values(B),[B]),ae=M.useCallback(A=>{jm=void 0,T(A)},[]),ue=M.useCallback((A,N)=>{const U=`${A}_${N}`;jm===U?(T([]),F(void 0),jm=void 0):(T(K.filter(J=>J[A]===N)),F(N),jm=U)},[K]);return M.useEffect(()=>i,[i]),M.useEffect(()=>{const A=v??bB(P.current),{loadPrevInterval:N,...U}=ne,J={doIntervalFallback:k.current,loadPrevInterval:N};r({dateRange:A,filter:U},J),ae([]),k.current=!1},[v,y,r,ne,ae]),M.useEffect(()=>{p&&P.current===((_==null?void 0:_.defaultInterval)??"last30Days")&&(P.current=p)},[p,_==null?void 0:_.defaultInterval]),m.jsxs(m.Fragment,{children:[t,m.jsx("section",{className:"mt-3",children:m.jsxs("div",{className:"row flex-md-row-reverse",children:[m.jsx("div",{className:"col-lg-7 col-xl-6",children:m.jsxs("div",{className:"d-md-flex",children:[m.jsx("div",{className:"flex-grow-1",children:m.jsx(_C,{disabled:f,dateRangeOrInterval:b??v??P.current,defaultText:"All visits",onDatesChange:S})}),m.jsx(UU,{disabled:f,className:"ms-0 ms-md-2 mt-3 mt-md-0",isOrphanVisits:s,withPrevInterval:!0,selected:ne,onChange:({loadPrevInterval:A,...N})=>x({visitsFilter:N,loadPrevInterval:A})})]})}),l.length>0&&m.jsx("div",{className:"col-lg-5 col-xl-6 mt-3 mt-lg-0",children:m.jsxs("div",{className:"d-flex",children:[m.jsx(rU,{className:"btn-md-block",amount:K.length,onClick:()=>a(K)}),m.jsxs(Ke,{outline:!0,disabled:E.length===0,className:"btn-md-block ms-2",onClick:()=>ae([]),children:["Clear selection ",E.length>0&&m.jsxs(m.Fragment,{children:["(",qt(E.length),")"]})]})]})})]})}),m.jsxs("section",{className:"mt-3",children:[m.jsx(zU,{info:n}),!f&&!d&&m.jsxs(m.Fragment,{children:[m.jsx(bD,{fill:!0,children:Object.values(da).map(({title:A,icon:N,subPath:U,shouldRender:J},Y)=>!J||J(e)?m.jsxs(ld,{to:D(U),replace:!0,children:[m.jsx(Ae,{icon:N}),m.jsx("span",{className:"ms-2 d-none d-lg-inline",children:A})]},Y):void 0).filter(Boolean)}),m.jsx(Er,{children:m.jsxs(Hy,{children:[m.jsx(at,{path:da.byTime.subPath,element:m.jsxs(ev,{showFallback:l.length===0,children:[m.jsx("div",{className:"col-12 mt-3","data-testid":"line-chart-container",children:m.jsx(DU,{visitsGroups:q,setSelectedVisits:ae,onDateRangeChange:S})}),m.jsx(m_,{display:!!ne.loadPrevInterval&&!c})]})}),m.jsx(at,{path:da.byContext.subPath,element:m.jsxs(ev,{showFallback:l.length===0,children:[m.jsx("div",{className:Oe("mt-3 col-lg-6",{"col-xl-4":!s}),children:m.jsx(T4,{title:"Operating systems",stats:X,prevStats:ee.os})}),m.jsx("div",{className:Oe("mt-3 col-lg-6",{"col-xl-4":!s}),children:m.jsx(T4,{title:"Browsers",stats:Q,prevStats:ee.browsers})}),m.jsx("div",{className:Oe("mt-3",{"col-xl-4":!s,"col-lg-6":s}),children:m.jsx(Cm,{title:"Referrers",withPagination:!1,stats:te,prevStats:ee.referrers,highlightedStats:Om(E,"referer"),highlightedLabel:j,sortingItems:{name:"Referrer name",amount:"Visits amount"},onClick:A=>ue("referer",A)})}),s&&m.jsx("div",{className:"mt-3 col-lg-6",children:m.jsx(Cm,{title:"Visited URLs",stats:H,prevStats:ee.visitedUrls,highlightedStats:Om(E,"visitedUrl"),highlightedLabel:j,sortingItems:{visitedUrl:"Visited URL",amount:"Visits amount"},onClick:A=>ue("visitedUrl",A)})}),m.jsx("div",{className:"col-12",children:m.jsx(m_,{display:!!ne.loadPrevInterval&&!c})})]})}),m.jsx(at,{path:da.byLocation.subPath,element:m.jsxs(ev,{showFallback:l.length===0,children:[m.jsx("div",{className:"col-lg-6 mt-3",children:m.jsx(Cm,{title:"Countries",stats:Z,prevStats:ee.countries,highlightedStats:Om(E,"country"),highlightedLabel:j,sortingItems:{name:"Country name",amount:"Visits amount"},onClick:A=>ue("country",A)})}),m.jsx("div",{className:"col-lg-6 mt-3",children:m.jsx(Cm,{title:"Cities",stats:z,prevStats:ee.cities,highlightedStats:Om(E,"city"),highlightedLabel:j,extraHeaderContent:A=>re.length>0&&m.jsx(c6e,{modalTitle:"Cities",locations:re,activeCities:A}),sortingItems:{name:"City name",amount:"Visits amount"},onClick:A=>ue("city",A)})}),m.jsx("div",{className:"col-12",children:m.jsx(m_,{display:!!ne.loadPrevInterval&&!c})})]})}),m.jsx(at,{path:da.list.subPath,element:m.jsx("div",{className:"col-12",children:m.jsx(E6e,{visits:K,selectedVisits:E,setSelectedVisits:ae})})}),o&&m.jsx(at,{path:da.options.subPath,element:m.jsx("div",{className:"col-12 mt-3",children:m.jsx(u6e,{...o})})}),m.jsx(at,{path:"*",element:m.jsx(XS,{replace:!0,to:D(da.byTime.subPath)})})]})})]})]})]})},HU=Ii(({getDomainVisits:e,domainVisits:t,cancelGetDomainVisits:n})=>{const{ReportExporter:r}=Rt(HU),{domain:i=""}=Cu(),[o,a=o]=i.split("_"),s=M.useCallback((c,f)=>e({domain:a,options:f,params:c}),[a,e]),l=M.useCallback(c=>r.exportVisits(`domain_${o}_visits.csv`,c),[o,r]);return m.jsx(gp,{getVisits:s,cancelGetVisits:n,visitsInfo:t,exportCsv:l,children:m.jsx(vp,{visits:t.visits,title:`"${o}" visits`})})},()=>[er.visits]),C6e=$t(HU,["ReportExporter"]),GU=Ii(({getNonOrphanVisits:e,nonOrphanVisits:t,cancelGetNonOrphanVisits:n})=>{const{ReportExporter:r}=Rt(GU),i=M.useCallback(a=>r.exportVisits("non_orphan_visits.csv",a),[r]),o=M.useCallback((a,s)=>e({options:s,params:a}),[e]);return m.jsx(gp,{getVisits:o,cancelGetVisits:n,visitsInfo:t,exportCsv:i,children:m.jsx(vp,{title:"Non-orphan visits",visits:t.visits})})},()=>[er.visits]),T6e=$t(GU,["ReportExporter"]),qU=Ii(({getOrphanVisits:e,orphanVisits:t,cancelGetOrphanVisits:n,deleteOrphanVisits:r,orphanVisitsDeletion:i})=>{const o=Go("orphanVisitsDeletion"),{ReportExporter:a}=Rt(qU),s=M.useCallback(f=>a.exportVisits("orphan_visits.csv",f),[a]),l=M.useCallback((f,d)=>{var p;return e({options:d,params:f,orphanVisitsType:(p=f.filter)==null?void 0:p.orphanVisitsType})},[e]),c=M.useMemo(()=>o?{deleteVisits:r,visitsDeletion:i}:void 0,[r,i,o]);return m.jsx(gp,{getVisits:l,cancelGetVisits:n,visitsInfo:t,exportCsv:s,deletion:c,isOrphanVisits:!0,children:m.jsx(vp,{title:"Orphan visits",visits:t.visits})})},()=>[er.orphanVisits]),j6e=$t(qU,["ReportExporter"]),KU="shlink/orphanVisits",A6e={visits:[],loading:!1,cancelLoad:!1,errorData:null,progress:null},k6e=e=>hp({typePrefix:`${KU}/getNonOrphanVisits`,createLoaders:({options:t})=>{const n=e(),{doIntervalFallback:r=!1}=t,i=async a=>n.getNonOrphanVisits(a),o=dp(r,a=>n.getNonOrphanVisits(a));return{visitsLoader:i,lastVisitLoader:o}},shouldCancel:t=>t().orphanVisits.cancelLoad}),N6e=e=>pp({name:KU,initialState:A6e,asyncThunkCreator:e,filterCreatedVisits:({params:t},n)=>{const{startDate:r,endDate:i}=(t==null?void 0:t.dateRange)??{};return n.filter(({visit:o})=>fp(o.date,r,i))}}),YU="shlink/orphanVisits",M6e={visits:[],loading:!1,cancelLoad:!1,errorData:null,progress:null},L6e=(e,t)=>!t||t===e.type,R6e=({data:e,...t},n)=>{const r=e.filter(i=>pC(i)&&L6e(i,n));return{...t,data:r}},$6e=e=>hp({typePrefix:`${YU}/getOrphanVisits`,createLoaders:({orphanVisitsType:t,options:n})=>{const r=e(),{doIntervalFallback:i=!1}=n,o=async s=>r.getOrphanVisits({...s,type:t}).then(l=>R6e(l,t)),a=dp(i,s=>r.getOrphanVisits(s));return{visitsLoader:o,lastVisitLoader:a}},shouldCancel:t=>t().orphanVisits.cancelLoad}),I6e=(e,t)=>pp({name:YU,initialState:M6e,asyncThunkCreator:e,extraReducers:n=>{n.addCase(t.fulfilled,r=>({...r,visits:[]}))},filterCreatedVisits:({params:n},r)=>{const{startDate:i,endDate:o}=(n==null?void 0:n.dateRange)??{};return r.filter(({visit:a,shortUrl:s})=>!s&&fp(a.date,i,o))}}),ZU="shlink/orphanVisitsDeletion",L4={deletedVisits:0,deleting:!1,error:!1},D6e=e=>fn(`${ZU}/deleteOrphanVisits`,()=>e().deleteOrphanVisits()),F6e=e=>Qt({name:ZU,initialState:L4,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,deleting:!0,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,deleting:!1,error:!0,errorData:Fr(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{deletedVisits:i}=r;return{...L4,deletedVisits:i}})}}),XU="shlink/shortUrlVisits",B6e={visits:[],shortCode:"",loading:!1,errorData:null,cancelLoad:!1,progress:null},U6e=e=>hp({typePrefix:`${XU}/getShortUrlVisits`,createLoaders:({shortCode:t,domain:n,options:r})=>{const i=e(),{doIntervalFallback:o=!1}=r,a=l=>i.getShortUrlVisits(t,{...l,domain:n}),s=dp(o,l=>i.getShortUrlVisits(t,{...l,domain:n}));return{visitsLoader:a,lastVisitLoader:s}},shouldCancel:t=>t().shortUrlVisits.cancelLoad}),z6e=(e,t)=>pp({name:XU,initialState:B6e,asyncThunkCreator:e,extraReducers:n=>{n.addCase(t.fulfilled,(r,{payload:i})=>r.shortCode===i.shortCode&&r.domain===i.domain?{...r,visits:[]}:r)},filterCreatedVisits:({shortCode:n,domain:r,params:i},o)=>xB(o,{shortCode:n,domain:r},i==null?void 0:i.dateRange)}),QU="shlink/shortUrlVisitsDeletion",R4={shortCode:"",deletedVisits:0,deleting:!1,error:!1},V6e=e=>fn(`${QU}/deleteShortUrlVisits`,async({shortCode:t,domain:n})=>({...await e().deleteShortUrlVisits(t,n),shortCode:t,domain:n})),W6e=e=>Qt({name:QU,initialState:R4,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,deleting:!0,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,deleting:!1,error:!0,errorData:Fr(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>{const{shortCode:i,domain:o,deletedVisits:a}=r;return{...R4,shortCode:i,domain:o,deletedVisits:a}})}}),JU="shlink/tagVisits",H6e={visits:[],tag:"",loading:!1,cancelLoad:!1,errorData:null,progress:null},G6e=e=>hp({typePrefix:`${JU}/getTagVisits`,createLoaders:({tag:t,options:n})=>{const r=e(),{doIntervalFallback:i=!1}=n,o=s=>r.getTagVisits(t,s),a=dp(i,async s=>r.getTagVisits(t,s));return{visitsLoader:o,lastVisitLoader:a}},shouldCancel:t=>t().tagVisits.cancelLoad}),q6e=e=>pp({name:JU,initialState:H6e,asyncThunkCreator:e,filterCreatedVisits:({tag:t,params:n},r)=>OB(r,t,n==null?void 0:n.dateRange)}),e9="shlink/visitsOverview",Am={nonOrphanVisits:{total:0},orphanVisits:{total:0},loading:!1,error:!1},$4=e=>e.filter(({visit:t})=>t.potentialBot).length,K6e=e=>fn(`${e9}/loadVisitsOverview`,()=>e().getVisitsOverview().then(({nonOrphanVisits:t,visitsCount:n=0,orphanVisits:r,orphanVisitsCount:i=0})=>({nonOrphanVisits:{total:(t==null?void 0:t.total)??n,nonBots:t==null?void 0:t.nonBots,bots:t==null?void 0:t.bots},orphanVisits:{total:(r==null?void 0:r.total)??i,nonBots:r==null?void 0:r.nonBots,bots:r==null?void 0:r.bots}}))),Y6e=e=>Qt({name:e9,initialState:Am,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({...Am,loading:!0})),t.addCase(e.rejected,()=>({...Am,error:!0})),t.addCase(e.fulfilled,(n,{payload:r})=>({...Am,...r})),t.addCase(Yu,({nonOrphanVisits:n,orphanVisits:r,...i},{payload:o})=>{const{nonOrphanVisits:a,orphanVisits:s}=_Le(o.createdVisits),l=a.length,c=$4(a),f=l-c,d=s.length,p=$4(s),v=d-p;return{...i,nonOrphanVisits:{total:n.total+l,bots:n.bots&&n.bots+c,nonBots:n.nonBots&&n.nonBots+f},orphanVisits:{total:r.total+d,bots:r.bots&&r.bots+p,nonBots:r.nonBots&&r.nonBots+v}}})}}),Z6e=({shortUrl:e,loading:t,shortUrlVisits:n})=>{const{visits:r}=n,i=(e==null?void 0:e.shortUrl)??"",o=(e==null?void 0:e.longUrl)??"",a=e==null?void 0:e.title;return m.jsxs(vp,{title:m.jsxs(m.Fragment,{children:["Visits for ",m.jsx(pr,{href:i})]}),visits:r,shortUrl:e,children:[m.jsx("hr",{}),m.jsxs("div",{children:["Created: ",e?m.jsxs("span",{children:[m.jsx("b",{id:"created",className:"short-url-visits-header__created-at",children:m.jsx(by,{date:e.dateCreated,relative:!0})}),m.jsx(Dr,{placement:"bottom",target:"created",children:m.jsx(by,{date:e.dateCreated})})]}):m.jsx("small",{children:"Loading..."})]}),m.jsxs("div",{className:"long-url-container",children:[`${a?"Title":"Long URL"}: `,t&&m.jsx("small",{children:"Loading..."}),!t&&m.jsx(pr,{href:o,children:a??o})]})]})},t9=Ii(({shortUrlVisits:e,shortUrlVisitsDeletion:t,shortUrlsDetails:n,getShortUrlVisits:r,getShortUrlsDetails:i,deleteShortUrlVisits:o,cancelGetShortUrlVisits:a})=>{const s=Go("shortUrlVisitsDeletion"),{ReportExporter:l}=Rt(t9),c=bC(),f=M.useMemo(()=>{var y;return(y=n.shortUrls)==null?void 0:y.get(c)},[c,n.shortUrls]),d=M.useCallback((y,g)=>r({...c,options:g,params:y}),[r,c]),p=M.useCallback(y=>l.exportVisits(`short-url_${f==null?void 0:f.shortUrl.replace(/https?:\/\//g,"")}_visits.csv`,y),[l,f==null?void 0:f.shortUrl]),v=M.useMemo(()=>s?{deleteVisits:()=>o(c),visitsDeletion:t}:void 0,[o,c,t,s]);return M.useEffect(()=>{i([c])},[c,i]),m.jsx(gp,{getVisits:d,cancelGetVisits:a,visitsInfo:e,exportCsv:p,deletion:v,children:m.jsx(Z6e,{shortUrl:f,loading:n.loading,shortUrlVisits:e})})},e=>e.shortCode?[er.shortUrlVisits(uC(e.shortCode))]:[]),X6e=$t(t9,["ReportExporter"]),Q6e=({tagVisits:e,colorGenerator:t})=>{const{visits:n,tag:r}=e;return m.jsx(vp,{title:m.jsxs("span",{className:"d-flex align-items-center justify-content-center",children:[m.jsx("span",{className:"me-2",children:"Visits for"}),m.jsx(fb,{text:r,colorGenerator:t})]}),visits:n})},n9=Ii(({getTagVisits:e,tagVisits:t,cancelGetTagVisits:n})=>{const{ColorGenerator:r,ReportExporter:i}=Rt(n9),{tag:o=""}=Cu(),a=M.useCallback((l,c)=>e({tag:o,params:l,options:c}),[e,o]),s=M.useCallback(l=>i.exportVisits(`tag_${o}_visits.csv`,l),[i,o]);return m.jsx(gp,{getVisits:a,cancelGetVisits:n,visitsInfo:t,exportCsv:s,children:m.jsx(Q6e,{tagVisits:t,colorGenerator:r})})},()=>[er.visits]),J6e=$t(n9,["ColorGenerator","ReportExporter"]),PC=({title:e,colors:t,getVisitsForComparison:n,visitsComparisonInfo:r,cancelGetVisitsComparison:i})=>{const{loading:o,visitsGroups:a}=r,s=rr("visits"),l=M.useMemo(()=>Object.keys(a).reduce((b,w,S)=>(b[w]=Object.assign(wy(a[w]),{color:(t==null?void 0:t[w])??$U(S)}),b),{}),[t,a]),c=M.useMemo(()=>Object.values(a).every(b=>b.length===0),[a]),[{dateRange:f,visitsFilter:d},p]=FU(),[v,y]=M.useState(),g=M.useCallback(({startDate:b,endDate:w},S)=>{p({dateRange:{startDate:b??void 0,endDate:w??void 0}}),y(S)},[p]),x=M.useRef(f??(s==null?void 0:s.defaultInterval)??"last30Days"),_=M.useMemo(()=>({...d,excludeBots:d.excludeBots??(s==null?void 0:s.excludeBots)}),[d,s==null?void 0:s.excludeBots]);return M.useEffect(()=>{const b=f??bB(x.current);return n({params:{dateRange:b,filter:_}}),i},[i,f,n,_]),m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"mb-3",children:m.jsxs(yt,{bodyClassName:"d-flex",children:[m.jsx(ub,{}),m.jsx("h3",{className:"mb-0 flex-grow-1 text-center",children:e})]})}),m.jsx("div",{className:"col-lg-7 col-xl-6 offset-lg-5 offset-xl-6 mb-3",children:m.jsxs("div",{className:"d-md-flex",children:[m.jsx("div",{className:"flex-grow-1",children:m.jsx(_C,{disabled:o,defaultText:"All visits",dateRangeOrInterval:v??f??x.current,onDatesChange:g})}),m.jsx(UU,{disabled:o,className:"ms-0 ms-md-2 mt-3 mt-md-0",selected:_,onChange:({orphanVisitsType:b,excludeBots:w})=>p({visitsFilter:{orphanVisitsType:b,excludeBots:w}})})]})}),m.jsx(zU,{info:r}),!o&&m.jsx(ev,{showFallback:c,children:m.jsx(DU,{visitsGroups:l,onDateRangeChange:g})})]})},eIe=Ii(({getDomainVisitsForComparison:e,domainVisitsComparison:t,cancelGetDomainVisitsComparison:n})=>{const r=vC("domains"),i=M.useCallback(o=>e({...o,domains:r}),[r,e]);return m.jsx(PC,{title:`Comparing "${r.join('", "')}"`,getVisitsForComparison:i,visitsComparisonInfo:t,cancelGetVisitsComparison:n})},()=>[er.visits]),tIe=({visitsLoaders:e,shouldCancel:t,progressChanged:n})=>{const r=Object.keys(e),i=Math.max(1,Math.round(4/r.length)),o=Object.fromEntries(r.map(l=>[l,0])),a=(l,c)=>{o[l]=c;const f=Object.values(o),d=f.reduce((p,v)=>p+v,0);n(d/f.length)},s=Object.entries(e).map(([l,c])=>[l,SB({visitsLoader:c,batchSize:i,shouldCancel:t,progressChanged:f=>a(l,f)})]);return async l=>{const c=await Promise.all(s.map(async([f,d])=>{const p=await d(l);return[f,p]}));return Object.fromEntries(c)}},EC=({typePrefix:e,createLoaders:t,shouldCancel:n})=>{const r=Qn(`${e}/progressChanged`),i=fn(e,async(o,{getState:a,dispatch:s})=>{const l=t(o),c=await tIe({visitsLoaders:l,shouldCancel:()=>n(a),progressChanged:f=>s(r(f))})(WO(o.params));return{...o,visitsGroups:c}});return Object.assign(i,{progressChanged:r})},CC=({name:e,asyncThunkCreator:t,initialState:n,filterCreatedVisitsForGroup:r})=>{const{pending:i,rejected:o,fulfilled:a,progressChanged:s}=t,{reducer:l,actions:c}=Qt({name:e,initialState:n,reducers:{cancelGetVisits:d=>({...d,cancelLoad:!0})},extraReducers:d=>{d.addCase(i,()=>({...n,loading:!0})),d.addCase(o,(p,{error:v})=>({...n,errorData:Fr(v)??null})),d.addCase(a,(p,{payload:v})=>({...p,...v,loading:!1,progress:null,errorData:null})),d.addCase(s,(p,{payload:v})=>({...p,progress:v})),d.addCase(Yu,(p,{payload:v})=>{const{visitsGroups:y,...g}=p,x=Object.keys(y).map(b=>{const w=r({...g,groupKey:b},v.createdVisits).map(({visit:S})=>S);return[b,[...w,...y[b]]]}),_=Object.fromEntries(x);return{...g,visitsGroups:_}})}}),{cancelGetVisits:f}=c;return{reducer:l,cancelGetVisits:f}},r9="shlink/domainVisitsComparison",nIe={visitsGroups:{},loading:!1,cancelLoad:!1,errorData:null,progress:null},rIe=e=>EC({typePrefix:`${r9}/getDomainVisitsForComparison`,createLoaders:({domains:t})=>{const n=e(),r=t.map(i=>[i,o=>n.getDomainVisits(i,o)]);return Object.fromEntries(r)},shouldCancel:t=>t().domainVisitsComparison.cancelLoad}),iIe=e=>CC({name:r9,initialState:nIe,asyncThunkCreator:e,filterCreatedVisitsForGroup:({groupKey:t,params:n},r)=>wB(r,t,n==null?void 0:n.dateRange)}),i9="shlink/shortUrlVisitsComparison",oIe={visitsGroups:{},loading:!1,cancelLoad:!1,errorData:null,progress:null},aIe=e=>EC({typePrefix:`${i9}/getShortUrlVisitsForComparison`,createLoaders:({shortUrls:t})=>{const n=e(),r=t.map(i=>[fC(i),o=>n.getShortUrlVisits(i.shortCode,{...o,domain:i.domain})]);return Object.fromEntries(r)},shouldCancel:t=>t().shortUrlVisitsComparison.cancelLoad}),sIe=e=>CC({name:i9,initialState:oIe,asyncThunkCreator:e,filterCreatedVisitsForGroup:({groupKey:t,params:n},r)=>xB(r,dB(t),n==null?void 0:n.dateRange)}),o9="shlink/tagVisitsComparison",lIe={visitsGroups:{},loading:!1,cancelLoad:!1,errorData:null,progress:null},cIe=e=>EC({typePrefix:`${o9}/getTagVisitsForComparison`,createLoaders:({tags:t})=>{const n=e(),r=t.map(i=>[i,o=>n.getTagVisits(i,o)]);return Object.fromEntries(r)},shouldCancel:t=>t().tagVisitsComparison.cancelLoad}),uIe=e=>CC({name:o9,initialState:lIe,asyncThunkCreator:e,filterCreatedVisitsForGroup:({groupKey:t,params:n},r)=>OB(r,t,n==null?void 0:n.dateRange)}),fIe=Ii(({getShortUrlVisitsForComparison:e,shortUrlVisitsComparison:t,cancelGetShortUrlVisitsComparison:n,shortUrlsDetails:r,getShortUrlsDetails:i})=>{const o=vC("short-urls"),a=M.useMemo(()=>o.map(dB),[o]),s=M.useCallback(f=>e({...f,shortUrls:a}),[e,a]),l=M.useMemo(()=>{var f;return[...((f=r.shortUrls)==null?void 0:f.values())??[]]},[r.shortUrls]),c=M.useMemo(()=>{const{visitsGroups:f,loading:d,...p}=t,v=l.reduce((y,g)=>(y[g.shortUrl]=f[fC(g)]??[],y),{});return{...p,visitsGroups:v,loading:d||r.loading}},[t,r.loading,l]);return M.useEffect(()=>{a.length>0&&i(a)},[i,a]),m.jsx(PC,{title:m.jsx("span",{"data-testid":"title",children:r.loading?"Loading...":`Comparing ${l.length} short URLs`}),getVisitsForComparison:s,visitsComparisonInfo:c,cancelGetVisitsComparison:n})},()=>[er.visits]),a9=Ii(({getTagVisitsForComparison:e,tagVisitsComparison:t,cancelGetTagVisitsComparison:n})=>{const{ColorGenerator:r}=Rt(a9),i=vC("tags"),o=M.useCallback(l=>e({...l,tags:i}),[e,i]),{visitsGroups:a}=t,s=M.useMemo(()=>Object.keys(a).reduce((l,c)=>(l[c]=r.getColorForKey(c),l),{}),[r,a]);return m.jsx(PC,{title:m.jsxs(m.Fragment,{children:["Comparing ",i.map(l=>m.jsx(fb,{colorGenerator:r,text:l},l))]}),getVisitsForComparison:o,visitsComparisonInfo:t,cancelGetVisitsComparison:n,colors:s})},()=>[er.visits]),dIe=$t(a9,["ColorGenerator"]),hIe=(e,t)=>{const n=(r,i)=>t([...r,"mercureInfo"],[...i,"createNewVisits","loadMercureInfo"]);e.serviceFactory("MapModal",()=>BU),e.factory("ShortUrlVisits",X6e),e.decorator("ShortUrlVisits",t(["shortUrlVisits","shortUrlVisitsDeletion","shortUrlsDetails","mercureInfo"],["getShortUrlVisits","deleteShortUrlVisits","getShortUrlsDetails","cancelGetShortUrlVisits","createNewVisits","loadMercureInfo"])),e.factory("TagVisits",J6e),e.decorator("TagVisits",n(["tagVisits"],["getTagVisits","cancelGetTagVisits"])),e.factory("TagVisitsComparison",dIe),e.decorator("TagVisitsComparison",n(["tagVisitsComparison"],["getTagVisitsForComparison","cancelGetTagVisitsForComparison"])),e.serviceFactory("DomainVisitsComparison",()=>eIe),e.decorator("DomainVisitsComparison",n(["domainVisitsComparison"],["getDomainVisitsForComparison","cancelGetDomainVisitsForComparison"])),e.serviceFactory("ShortUrlVisitsComparison",()=>fIe),e.decorator("ShortUrlVisitsComparison",n(["shortUrlVisitsComparison","shortUrlsDetails"],["getShortUrlVisitsForComparison","cancelGetShortUrlVisitsForComparison","getShortUrlsDetails"])),e.factory("DomainVisits",C6e),e.decorator("DomainVisits",n(["domainVisits"],["getDomainVisits","cancelGetDomainVisits"])),e.factory("OrphanVisits",j6e),e.decorator("OrphanVisits",n(["orphanVisits","orphanVisitsDeletion"],["getOrphanVisits","cancelGetOrphanVisits","deleteOrphanVisits"])),e.factory("NonOrphanVisits",T6e),e.decorator("NonOrphanVisits",n(["nonOrphanVisits"],["getNonOrphanVisits","cancelGetNonOrphanVisits"])),e.serviceFactory("VisitsParser",()=>x6e),e.serviceFactory("getShortUrlVisits",U6e,"apiClientFactory"),e.serviceFactory("cancelGetShortUrlVisits",r=>r.cancelGetVisits,"shortUrlVisitsReducerCreator"),e.serviceFactory("getShortUrlVisitsForComparison",aIe,"apiClientFactory"),e.serviceFactory("cancelGetShortUrlVisitsForComparison",r=>r.cancelGetVisits,"shortUrlVisitsComparisonReducerCreator"),e.serviceFactory("deleteShortUrlVisits",V6e,"apiClientFactory"),e.serviceFactory("getTagVisits",G6e,"apiClientFactory"),e.serviceFactory("cancelGetTagVisits",r=>r.cancelGetVisits,"tagVisitsReducerCreator"),e.serviceFactory("getTagVisitsForComparison",cIe,"apiClientFactory"),e.serviceFactory("cancelGetTagVisitsForComparison",r=>r.cancelGetVisits,"tagVisitsComparisonReducerCreator"),e.serviceFactory("getDomainVisits",jLe,"apiClientFactory"),e.serviceFactory("cancelGetDomainVisits",r=>r.cancelGetVisits,"domainVisitsReducerCreator"),e.serviceFactory("getDomainVisitsForComparison",rIe,"apiClientFactory"),e.serviceFactory("cancelGetDomainVisitsForComparison",r=>r.cancelGetVisits,"domainVisitsComparisonReducerCreator"),e.serviceFactory("getOrphanVisits",$6e,"apiClientFactory"),e.serviceFactory("cancelGetOrphanVisits",r=>r.cancelGetVisits,"orphanVisitsReducerCreator"),e.serviceFactory("deleteOrphanVisits",D6e,"apiClientFactory"),e.serviceFactory("getNonOrphanVisits",k6e,"apiClientFactory"),e.serviceFactory("cancelGetNonOrphanVisits",r=>r.cancelGetVisits,"nonOrphanVisitsReducerCreator"),e.serviceFactory("createNewVisits",()=>Yu),e.serviceFactory("loadVisitsOverview",K6e,"apiClientFactory"),e.serviceFactory("visitsOverviewReducerCreator",Y6e,"loadVisitsOverview"),e.serviceFactory("visitsOverviewReducer",r=>r.reducer,"visitsOverviewReducerCreator"),e.serviceFactory("domainVisitsReducerCreator",ALe,"getDomainVisits"),e.serviceFactory("domainVisitsReducer",r=>r.reducer,"domainVisitsReducerCreator"),e.serviceFactory("nonOrphanVisitsReducerCreator",N6e,"getNonOrphanVisits"),e.serviceFactory("nonOrphanVisitsReducer",r=>r.reducer,"nonOrphanVisitsReducerCreator"),e.serviceFactory("orphanVisitsReducerCreator",I6e,"getOrphanVisits","deleteOrphanVisits"),e.serviceFactory("orphanVisitsReducer",r=>r.reducer,"orphanVisitsReducerCreator"),e.serviceFactory("orphanVisitsDeletionReducerCreator",F6e,"deleteOrphanVisits"),e.serviceFactory("orphanVisitsDeletionReducer",r=>r.reducer,"orphanVisitsDeletionReducerCreator"),e.serviceFactory("shortUrlVisitsReducerCreator",z6e,"getShortUrlVisits","deleteShortUrlVisits"),e.serviceFactory("shortUrlVisitsReducer",r=>r.reducer,"shortUrlVisitsReducerCreator"),e.serviceFactory("shortUrlVisitsDeletionReducerCreator",W6e,"deleteShortUrlVisits"),e.serviceFactory("shortUrlVisitsDeletionReducer",r=>r.reducer,"shortUrlVisitsDeletionReducerCreator"),e.serviceFactory("tagVisitsReducerCreator",q6e,"getTagVisits"),e.serviceFactory("tagVisitsReducer",r=>r.reducer,"tagVisitsReducerCreator"),e.serviceFactory("tagVisitsComparisonReducerCreator",uIe,"getTagVisitsForComparison"),e.serviceFactory("tagVisitsComparisonReducer",r=>r.reducer,"tagVisitsComparisonReducerCreator"),e.serviceFactory("domainVisitsComparisonReducerCreator",iIe,"getDomainVisitsForComparison"),e.serviceFactory("domainVisitsComparisonReducer",r=>r.reducer,"domainVisitsComparisonReducerCreator"),e.serviceFactory("shortUrlVisitsComparisonReducerCreator",sIe,"getShortUrlVisitsForComparison"),e.serviceFactory("shortUrlVisitsComparisonReducer",r=>r.reducer,"shortUrlVisitsComparisonReducerCreator")},$f=({children:e,to:t,className:n,...r})=>m.jsx(x6,{className:({isActive:i})=>Oe("aside-menu__item",n,{"aside-menu__item--selected":i}),to:t,...r,children:e}),pIe=({routePrefix:e,showOnMobile:t=!1})=>{const{pathname:n}=mr(),r=Oe("aside-menu",{"aside-menu--hidden":!t}),i=o=>`${e}${o}`;return m.jsx("aside",{className:r,children:m.jsxs("nav",{className:"nav flex-column aside-menu__nav",children:[m.jsxs($f,{to:i("/overview"),children:[m.jsx(Ae,{fixedWidth:!0,icon:LK}),m.jsx("span",{className:"aside-menu__item-text",children:"Overview"})]}),m.jsxs($f,{to:i("/list-short-urls/1"),className:Oe({"aside-menu__item--selected":n.match("/list-short-urls")!==null}),children:[m.jsx(Ae,{fixedWidth:!0,icon:$6}),m.jsx("span",{className:"aside-menu__item-text",children:"List short URLs"})]}),m.jsxs($f,{to:i("/create-short-url"),children:[m.jsx(Ae,{fixedWidth:!0,icon:BK,flip:"horizontal"}),m.jsx("span",{className:"aside-menu__item-text",children:"Create short URL"})]}),m.jsxs($f,{to:i("/manage-tags"),children:[m.jsx(Ae,{fixedWidth:!0,icon:I6}),m.jsx("span",{className:"aside-menu__item-text",children:"Manage tags"})]}),m.jsxs($f,{to:i("/manage-domains"),children:[m.jsx(Ae,{fixedWidth:!0,icon:hK}),m.jsx("span",{className:"aside-menu__item-text",children:"Manage domains"})]})]})})},s9=({createNotFound:e})=>{const{TagsList:t,ShortUrlsList:n,CreateShortUrl:r,ShortUrlVisits:i,TagVisits:o,DomainVisits:a,OrphanVisits:s,NonOrphanVisits:l,Overview:c,EditShortUrl:f,ManageDomains:d,TagVisitsComparison:p,DomainVisitsComparison:v,ShortUrlVisitsComparison:y,ShortUrlRedirectRules:g}=Rt(s9),x=mr(),_=cs(),[b,w,S,P]=Lt();M.useEffect(()=>P(),[x,P]);const E=Oe("shlink-layout__burger-icon",{"shlink-layout__burger-icon--active":b}),T=LLe(S,P),j=Go("shortUrlRedirectRules");return m.jsxs(m.Fragment,{children:[m.jsx(Ae,{icon:lK,className:E,onClick:w}),m.jsx("div",{...T,className:"shlink-layout__swipeable",children:m.jsxs("div",{className:"shlink-layout__swipeable-inner",children:[m.jsx(pIe,{routePrefix:_,showOnMobile:b}),m.jsx("div",{className:"shlink-layout__container",onPointerDown:()=>P(),children:m.jsx("div",{className:"container-xl",children:m.jsxs(Hy,{children:[m.jsx(at,{index:!0,element:m.jsx(XS,{replace:!0,to:"overview"})}),m.jsx(at,{path:"/overview",element:m.jsx(c,{})}),m.jsx(at,{path:"/list-short-urls/:page",element:m.jsx(n,{})}),m.jsx(at,{path:"/create-short-url",element:m.jsx(r,{})}),m.jsx(at,{path:"/short-code/:shortCode/visits/*",element:m.jsx(i,{})}),m.jsx(at,{path:"/short-code/:shortCode/edit",element:m.jsx(f,{})}),j&&m.jsx(at,{path:"/short-code/:shortCode/redirect-rules",element:m.jsx(g,{})}),m.jsx(at,{path:"/short-urls/compare-visits",element:m.jsx(y,{})}),m.jsx(at,{path:"/tag/:tag/visits/*",element:m.jsx(o,{})}),m.jsx(at,{path:"/tags/compare-visits",element:m.jsx(p,{})}),m.jsx(at,{path:"/domain/:domain/visits/*",element:m.jsx(a,{})}),m.jsx(at,{path:"/orphan-visits/*",element:m.jsx(s,{})}),m.jsx(at,{path:"/non-orphan-visits/*",element:m.jsx(l,{})}),m.jsx(at,{path:"/manage-tags",element:m.jsx(t,{})}),m.jsx(at,{path:"/manage-domains",element:m.jsx(d,{})}),m.jsx(at,{path:"/domains/compare-visits",element:m.jsx(v,{})}),e&&m.jsx(at,{path:"*",element:e("/list-short-urls/1")})]})})})]})})]})},mIe=$t(s9,["TagsList","ShortUrlsList","CreateShortUrl","ShortUrlVisits","TagVisits","DomainVisits","OrphanVisits","NonOrphanVisits","Overview","EditShortUrl","ManageDomains","TagVisitsComparison","DomainVisitsComparison","ShortUrlVisitsComparison","ShortUrlRedirectRules"]),vIe=!0,gIe=e=>LD({devTools:!vIe,reducer:DP({mercureInfo:e.mercureInfoReducer,shortUrlsList:e.shortUrlsListReducer,shortUrlCreation:e.shortUrlCreationReducer,shortUrlDeletion:e.shortUrlDeletionReducer,shortUrlEdition:e.shortUrlEditionReducer,shortUrlsDetails:e.shortUrlsDetailsReducer,shortUrlVisits:e.shortUrlVisitsReducer,shortUrlVisitsDeletion:e.shortUrlVisitsDeletionReducer,shortUrlVisitsComparison:e.shortUrlVisitsComparisonReducer,tagVisits:e.tagVisitsReducer,tagVisitsComparison:e.tagVisitsComparisonReducer,domainVisits:e.domainVisitsReducer,domainVisitsComparison:e.domainVisitsComparisonReducer,orphanVisits:e.orphanVisitsReducer,orphanVisitsDeletion:e.orphanVisitsDeletionReducer,nonOrphanVisits:e.nonOrphanVisitsReducer,tagsList:e.tagsListReducer,tagDelete:e.tagDeleteReducer,tagEdit:e.tagEditReducer,domainsList:e.domainsListReducer,visitsOverview:e.visitsOverviewReducer,shortUrlRedirectRules:e.shortUrlRedirectRulesReducer,shortUrlRedirectRulesSaving:e.setShortUrlRedirectRulesReducer}),middleware:t=>t({immutableCheck:!1,serializableCheck:!1})}),yIe=e=>{e.factory("Main",mIe),e.factory("store",gIe)},Di=new N6,{container:bIe}=Di,_Ie=e=>t=>Object.fromEntries(e.map(n=>[n,t[n]])),xIe=(e,t)=>(...n)=>e[t](...n),wIe=(e,t)=>({...e,[t]:xIe(bIe,t)}),Zu=(e,t=[])=>l6(e?_Ie(e):null,t.reduce(wIe,{}));yIe(Di);r$e(Di,Zu);E$e(Di,Zu);hIe(Di,Zu);KLe(Di);HLe(Di,Zu);o4e(Di,Zu);z$e(Di);gRe(Di,Zu);let I4;const OIe=e=>({serverVersion:t,apiClient:n,settings:r,routesPrefix:i="",createNotFound:o,tagColorsStorage:a})=>{const s=lRe(t),l=M.useRef(),[c,f]=M.useState(),d=gl(),p=M.useMemo(()=>d?M.Fragment:_6,[d]);return M.useEffect(()=>{I4=n,e.value("apiClientFactory",()=>I4),a&&e.value("TagColorsStorage",a);const{container:v}=e,{Main:y,store:g,loadMercureInfo:x,listTags:_,listDomains:b}=v;l.current=m.jsx(y,{createNotFound:o}),f(g),g.dispatch(x(r)),g.dispatch(_()),g.dispatch(b())},[n,o,r,a]),c?m.jsx(c6,{store:c,children:m.jsx(QD,{value:r??{},children:m.jsx(sRe,{value:s,children:m.jsx(lLe,{value:i,children:m.jsx(p,{children:l.current})})})})}):m.jsx(m.Fragment,{})},SIe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",PIe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",EIe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",CIe=()=>{delete e4.Icon.Default.prototype._getIconUrl,e4.Icon.Default.mergeOptions({iconRetinaUrl:PIe,iconUrl:SIe,shadowUrl:EIe})};CIe();const TIe=OIe(Di);function Oy(e){return t=>{const{resetSelectedServer:n}=t;return M.useEffect(()=>{n()},[n]),m.jsx(e,{...t})}}let jIe=class extends M.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){const{console:n=globalThis.console}=this.props;n.error(t)}render(){const{hasError:t}=this.state,{location:n=globalThis.location}=this.props;if(t)return m.jsx("div",{className:"home",children:m.jsxs(yt,{className:"p-4",children:[m.jsx("h1",{children:"Oops! This is awkward :S"}),m.jsx("p",{children:"It seems that something went wrong. Try refreshing the page or just click this button."}),m.jsx("br",{}),m.jsx(Ke,{outline:!0,color:"primary",onClick:()=>n.reload(),children:"Take me back"})]})});const{children:r}=this.props;return r}};const AIe=({id:e,name:t})=>m.jsxs(dD,{tag:kt,to:`/server/${e}`,className:"servers-list__server-item",children:[t,m.jsx(Ae,{icon:HK,className:"servers-list__server-item-icon"})]}),l9=({servers:e,children:t,embedded:n=!1})=>m.jsxs(m.Fragment,{children:[t&&m.jsx("div",{"data-testid":"title",className:"mb-0 fs-5 fw-normal lh-sm",children:t}),e.length>0&&m.jsx(uD,{"data-testid":"list",tag:"div",className:Oe("servers-list__list-group",{"servers-list__list-group--embedded":n}),children:e.map(({id:r,name:i})=>m.jsx(AIe,{id:r,name:i},r))})]}),c9=({color:e=Yd,className:t})=>m.jsx("svg",{className:t,viewBox:"0 0 512 512",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:m.jsxs("g",{fill:e,children:[m.jsx("path",{d:" M 23.71 85.08 C 17.22 49.81 49.44 14.86 85.08 18.12 C 118.83 19.21 145.72 53.33 139.45 86.37 C 155.64 102.30 171.32 118.83 187.87 134.36 C 198.32 111.73 208.84 89.12 219.57 66.62 C 226.05 53.84 243.47 48.74 255.73 56.27 C 263.76 62.10 270.34 69.69 277.25 76.75 C 286.28 86.61 285.72 102.89 276.31 112.31 C 223.38 165.37 170.38 218.37 117.35 271.34 C 107.72 280.99 91.01 281.25 81.11 271.86 C 74.39 264.94 66.82 258.69 61.24 250.77 C 53.72 238.52 58.85 221.07 71.64 214.62 C 94.11 203.87 116.72 193.38 139.33 182.91 C 123.81 166.36 107.30 150.68 91.37 134.49 C 60.20 140.28 27.37 116.78 23.71 85.08 Z"}),m.jsx("path",{d:" M 205.21 201.23 C 225.32 181.36 260.88 181.11 281.14 200.86 C 299.25 218.75 317.37 236.65 335.10 254.93 C 356.73 278.01 352.01 318.70 326.03 336.56 C 320.07 330.47 313.73 324.65 308.12 318.28 C 323.86 309.39 328.76 286.18 316.63 272.39 C 301.73 256.95 286.30 242.03 271.24 226.75 C 264.49 219.65 256.80 212.00 246.37 211.52 C 224.65 208.64 205.52 233.36 214.49 253.58 C 221.09 266.81 234.22 275.12 243.62 286.24 C 240.43 295.96 238.09 306.13 238.29 316.46 C 225.55 304.29 213.16 291.73 200.89 279.09 C 180.97 257.57 183.10 220.45 205.21 201.23 Z"}),m.jsx("path",{d:" M 273.90 352.07 C 252.28 328.99 256.98 288.31 282.96 270.46 C 288.93 276.54 295.26 282.36 300.88 288.72 C 285.14 297.62 280.23 320.82 292.38 334.61 C 307.27 350.05 322.70 364.96 337.75 380.25 C 344.51 387.35 352.20 395.00 362.64 395.48 C 384.35 398.37 403.49 373.64 394.51 353.42 C 387.92 340.18 374.78 331.88 365.38 320.76 C 368.56 311.04 370.91 300.86 370.71 290.54 C 383.45 302.70 395.84 315.27 408.11 327.91 C 428.03 349.43 425.90 386.55 403.78 405.77 C 383.68 425.64 348.13 425.89 327.86 406.14 C 309.75 388.25 291.60 370.37 273.90 352.07 Z"}),m.jsx("path",{d:" M 422.11 403.83 C 431.96 394.07 441.60 384.06 451.66 374.51 C 460.90 383.74 471.89 392.70 474.89 406.11 C 480.16 429.97 484.08 454.13 488.76 478.12 C 490.00 483.41 484.47 488.29 479.35 486.63 C 454.66 481.52 429.55 478.12 405.14 471.84 C 393.17 467.97 385.20 457.75 376.55 449.27 C 386.39 439.49 396.13 429.60 406.06 419.91 C 416.37 433.45 435.74 414.00 422.11 403.83 Z"})]})}),kIe=({servers:e})=>{const t=fo(),n=Object.values(e),r=n.length>0;return M.useEffect(()=>{const i=n.find(({autoConnect:o})=>o);i&&t(`/server/${i.id}`)},[n,t]),m.jsx("div",{className:"w-100",children:m.jsx(Ir,{className:"mx-auto",style:{maxWidth:"720px"},children:m.jsxs("div",{className:"d-flex flex-column flex-md-row",children:[m.jsx("div",{className:"p-4 d-none d-md-flex align-items-center",style:{width:"40%"},children:m.jsx("div",{className:"w-100",children:m.jsx(c9,{})})}),m.jsxs("div",{className:"home__servers-container flex-grow-1",children:[m.jsx("h1",{className:Oe("home__title p-4 text-center m-0",{"border-bottom":!r}),style:{borderColor:"var(--border-color) !important"},children:"Welcome!"}),m.jsx(l9,{embedded:!0,servers:n,children:!r&&m.jsxs("div",{className:"p-4 text-center d-flex flex-column gap-5",children:[m.jsx("p",{className:"mb-0",children:"This application will help you manage your Shlink servers."}),m.jsx("p",{className:"mb-0",children:m.jsxs(kt,{to:"/server/create",className:"btn btn-outline-primary btn-lg me-2",children:[m.jsx(Ae,{icon:Vh})," ",m.jsx("span",{className:"ms-1",children:"Add a server"})]})}),m.jsx("p",{className:"mb-0",children:m.jsx(pr,{href:"https://shlink.io/documentation",children:m.jsxs("small",{children:[m.jsx("span",{className:"me-2",children:"Learn more about Shlink"}),m.jsx(Ae,{icon:PK})]})})})]})})]})]})})})},u9=()=>{const{ServersDropdown:e}=Li(u9),[t,n,,r]=Lt(),i=mr(),{pathname:o}=i;M.useEffect(r,[i,r]);const a="/settings",s=Oe("main-header__toggle-icon",{"main-header__toggle-icon--opened":t});return m.jsxs(MI,{color:"primary",dark:!0,fixed:"top",className:"main-header",expand:"md",children:[m.jsxs(LI,{tag:kt,to:"/",children:[m.jsx(c9,{className:"main-header__brand-logo",color:"white"})," Shlink"]}),m.jsx(RI,{onClick:n,children:m.jsx(Ae,{icon:VK,className:s})}),m.jsx(kP,{navbar:!0,isOpen:t,children:m.jsxs(xP,{navbar:!0,className:"ms-auto",children:[m.jsx(wP,{children:m.jsxs(OP,{tag:kt,to:a,active:o.startsWith(a),children:[m.jsx(Ae,{icon:KK}),"  Settings"]})}),m.jsx(e,{})]})})]})},NIe=Ri(u9,["ServersDropdown"]),MIe=({children:e})=>{const t=mr();return M.useEffect(()=>{scrollTo(0,0)},[t]),m.jsx(m.Fragment,{children:e})},f9=FD(e=>e,e=>{try{return s2(e,e,"=")}catch{return!1}}),d9=e=>f9(e)?`v${e}`:e,h9=(e,t="latest")=>f9(e)?e:t,LIe="%_VERSION_%",RIe=e=>d9(h9(e)),D4=({project:e,version:t})=>m.jsx(pr,{href:`https://github.com/shlinkio/${e}/releases/${t}`,className:"text-muted",children:m.jsx("b",{children:t})}),$Ie=({selectedServer:e,clientVersion:t=LIe})=>{const n=RIe(t);return m.jsxs("small",{className:"text-muted",children:[nP(e)&&m.jsxs(m.Fragment,{children:["Server: ",m.jsx(D4,{project:"shlink",version:e.printableVersion})," - "]}),"Client: ",m.jsx(D4,{project:"shlink-web-client",version:n})]})},IIe=({selectedServer:e})=>m.jsx("div",{className:Oe("text-center",{"shlink-versions-container--with-sidebar":nP(e)}),children:m.jsx($Ie,{selectedServer:e})}),Xu=({children:e,className:t})=>m.jsx("div",{className:Oe("no-menu-wrapper container-xl",t),children:e});function p9(e){const t=n=>{const{ServerError:r}=Li(t),i=Cu(),{selectServer:o,selectedServer:a}=n;return M.useEffect(()=>{i.serverId&&o(i.serverId)},[i.serverId,o]),a?Kq(a)?m.jsx(r,{}):m.jsx(e,{...n}):m.jsx(Xu,{children:m.jsx(Bo,{loading:!0})})};return t}const m9=p9(M.memo(({selectedServer:e,settings:t})=>{const{buildShlinkApiClient:n,TagColorsStorage:r,ShlinkWebComponent:i,ServerError:o}=Li(m9);if(!nP(e))return m.jsx(o,{});const a=`/server/${e.id}`;return m.jsx(i,{serverVersion:e.version,apiClient:n(e),settings:t,routesPrefix:a,tagColorsStorage:r,createNotFound:s=>m.jsx(xD,{to:`${a}${s}`,children:"List short URLs"})})})),DIe=Ri(m9,["buildShlinkApiClient","TagColorsStorage","ShlinkWebComponent","ServerError"]),FIe=(e,t)=>{e.constant("window",window),e.constant("console",console),e.constant("fetch",window.fetch.bind(window)),e.service("HttpClient",xoe,"fetch"),e.serviceFactory("ScrollToTop",()=>MIe),e.factory("MainHeader",NIe),e.serviceFactory("Home",()=>kIe),e.decorator("Home",Oy),e.decorator("Home",t(["servers"],["resetSelectedServer"])),e.serviceFactory("ShlinkWebComponent",()=>TIe),e.factory("ShlinkWebComponentContainer",DIe),e.decorator("ShlinkWebComponentContainer",t(["selectedServer","settings"],["selectServer"])),e.serviceFactory("ShlinkVersionsContainer",()=>IIe),e.decorator("ShlinkVersionsContainer",t(["selectedServer"])),e.serviceFactory("ErrorHandler",()=>jIe)},v9=()=>{const e=fo();return M.useCallback(()=>e(-1),[e])};function BIe(e){let t=e.url;try{const{host:n,pathname:r}=new URL(t);t=n;const i=r.substring(1);i.length>0&&(t=`${t} ${i}`)}catch{}return`${e.name} ${t}`.toLowerCase().replace(/[^a-zA-Z0-9-_.~]/g,"-")}function UIe(e){const t={};return e.forEach(n=>{t[n.id]=n}),t}const zIe=(e,{url:t,apiKey:n})=>e.some(r=>r.url===t&&r.apiKey===n);function VIe(e,t){const n=Object.values(e),{duplicatedServers:r=[],newServers:i=[]}=DD(t,o=>zIe(n,o)?"duplicatedServers":"newServers");return{duplicatedServers:r,newServers:i}}function Sy(e,t){const n=new Set(Object.keys(e)),r=[];return t.forEach(i=>{const o=BIe(i);let a=o,s=1;for(;n.has(a);)a=`${o}-${s}`,s++;r.push({...i,id:a}),n.add(a)}),r}const g9=({isOpen:e,duplicatedServers:t,onDiscard:n,onSave:r})=>{const i=t.length>1;return m.jsxs(gr,{centered:!0,isOpen:e,children:[m.jsxs(ho,{children:["Duplicated server",i&&"s"]}),m.jsxs(Mi,{children:[m.jsx("p",{children:i?"The next servers already exist:":"There is already a server with:"}),m.jsx("ul",{children:t.map(({url:o,apiKey:a},s)=>i?m.jsxs("li",{children:[m.jsx("b",{children:o})," - ",m.jsx("b",{children:a})]},s):m.jsxs(M.Fragment,{children:[m.jsxs("li",{children:["URL: ",m.jsx("b",{children:o})]}),m.jsxs("li",{children:["API key: ",m.jsx("b",{children:a})]})]},s))}),m.jsxs("span",{children:[i?"Do you want to ignore duplicated servers":"Do you want to save this server anyway","?"]})]}),m.jsxs(rs,{children:[m.jsx(Ke,{color:"link",onClick:n,children:i?"Ignore duplicates":"Discard"}),m.jsx(Ke,{color:"primary",onClick:r,children:"Save anyway"})]})]})},WIe=e=>t=>{t.preventDefault(),e()},y9=({onSubmit:e,initialValues:t,children:n,title:r})=>{const[i,o]=M.useState((t==null?void 0:t.name)??""),[a,s]=M.useState((t==null?void 0:t.url)??""),[l,c]=M.useState((t==null?void 0:t.apiKey)??""),f=WIe(()=>e({name:i,url:a,apiKey:l}));return m.jsxs("form",{className:"server-form",name:"serverForm",onSubmit:f,children:[m.jsxs(yt,{className:"mb-3",title:r,children:[m.jsx(Km,{value:i,onChange:o,children:"Name"}),m.jsx(Km,{type:"url",value:a,onChange:s,children:"URL"}),m.jsx(Km,{value:l,onChange:c,children:"API key"})]}),m.jsx("div",{className:"text-end",children:n})]})},F4=4e3,B4=({type:e})=>m.jsx("div",{className:"mt-3",children:m.jsxs(Xn,{type:e,children:[e==="success"&&"Servers properly imported. You can now select one from the list :)",e==="error"&&"The servers could not be imported. Make sure the format is correct."]})}),b9=({servers:e,createServers:t})=>{const{ImportServersBtn:n,useTimeoutToggle:r}=Li(b9),i=fo(),o=v9(),a=!!Object.keys(e).length,[s,l]=r(!1,F4),[c,f]=r(!1,F4),[d,p]=Lt(),[v,y]=M.useState(),g=M.useCallback(_=>{const[b]=Sy(e,[_]);t([b]),i(`/server/${b.id}`)},[t,i,e]),x=M.useCallback(_=>{y(_),Object.values(e).some(({url:w,apiKey:S})=>_.url===w&&_.apiKey===S)?p():g(_)},[g,e,p]);return m.jsxs(Xu,{children:[m.jsxs(y9,{title:m.jsx("h5",{className:"mb-0",children:"Add new server"}),onSubmit:x,children:[!a&&m.jsx(n,{tooltipPlacement:"top",onImport:l,onImportError:f}),a&&m.jsx(Ke,{outline:!0,onClick:o,children:"Cancel"}),m.jsx(Ke,{outline:!0,color:"primary",className:"ms-2",children:"Create server"})]}),s&&m.jsx(B4,{type:"success"}),c&&m.jsx(B4,{type:"error"}),m.jsx(g9,{isOpen:d,duplicatedServers:v?[v]:[],onDiscard:o,onSave:()=>v&&g(v)})]})},HIe=Ri(b9,["ImportServersBtn","useTimeoutToggle"]),_9=({server:e,className:t,children:n,textClassName:r})=>{const{DeleteServerModal:i}=Li(_9),[o,,a,s]=Lt();return m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",className:Oe(t,"p-0 bg-transparent border-0"),onClick:a,children:[!n&&m.jsx(Ae,{fixedWidth:!0,icon:rP}),m.jsx("span",{className:r,children:n??"Remove this server"})]}),m.jsx(i,{server:e,isOpen:o,toggle:s})]})},GIe=Ri(_9,["DeleteServerModal"]),qIe=({server:e,toggle:t,isOpen:n,deleteServer:r,redirectHome:i=!0})=>{const o=fo(),a=M.useRef(!1),s=()=>{a.current=!0,t()},l=()=>{a.current&&(r(e),i&&o("/"))};return m.jsxs(gr,{isOpen:n,toggle:t,centered:!0,onClosed:l,children:[m.jsx(ho,{toggle:t,className:"text-danger",children:"Remove server"}),m.jsxs(Mi,{children:[m.jsxs("p",{children:["Are you sure you want to remove ",m.jsx("b",{children:e?e.name:""}),"?"]}),m.jsx("p",{children:m.jsx("i",{children:"No data will be deleted, only the access to this server will be removed from this device. You can create it again at any moment."})})]}),m.jsxs(rs,{children:[m.jsx(Ke,{color:"link",onClick:t,children:"Cancel"}),m.jsx(Ke,{color:"danger",onClick:s,children:"Delete"})]})]})},KIe=p9(({editServer:e,selectedServer:t,selectServer:n})=>{const r=v9(),{reconnect:i}=Au();if(!nd(t))return null;const o=a=>{e(t.id,a),i==="true"&&n(t.id),r()};return m.jsx(Xu,{children:m.jsxs(y9,{title:m.jsxs("h5",{className:"mb-0",children:['Edit "',t.name,'"']}),initialValues:t,onSubmit:o,children:[m.jsx(Ke,{outline:!0,className:"me-2",onClick:r,children:"Cancel"}),m.jsx(Ke,{outline:!0,color:"primary",children:"Save"})]})})}),YIe=Ri(KIe,["ServerError"]),x9=({createServers:e,servers:t,children:n,onImport:r=()=>{},onImportError:i=()=>{},tooltipPlacement:o="bottom",className:a=""})=>{const{ServersImporter:s}=Li(x9),l=Ni(),[c,f]=M.useState([]),[d,,p,v]=Lt(),y=M.useRef([]),g=M.useRef([]),x=M.useCallback(S=>{e(S),r()},[e,r]),_=M.useCallback(async({target:S})=>{var P;return s.importServersFromFile((P=S.files)==null?void 0:P[0]).then(E=>{const{duplicatedServers:T,newServers:j}=VIe(t,E);y.current=Sy(t,E),g.current=Sy(t,j),T.length===0?x(y.current):(f(T),p())}).then(()=>{S.value=null}).catch(i)},[x,i,t,s,p]),b=M.useCallback(()=>{x(y.current),v()},[x,v]),w=M.useCallback(()=>{x(g.current),v()},[x,v]);return m.jsxs(m.Fragment,{children:[m.jsxs(Ke,{outline:!0,id:"importBtn",className:a,onClick:()=>{var S;return(S=l.current)==null?void 0:S.click()},children:[m.jsx(Ae,{icon:vK,fixedWidth:!0})," ",n??"Import from file"]}),m.jsxs(Dr,{placement:o,target:"importBtn",children:["You can create servers by importing a CSV file with ",m.jsx("b",{children:"name"}),", ",m.jsx("b",{children:"apiKey"})," and ",m.jsx("b",{children:"url"})," columns."]}),m.jsx("input",{type:"file",accept:".csv",className:"d-none","aria-hidden":!0,ref:l,onChange:_,"data-testid":"csv-file-input"}),m.jsx(g9,{isOpen:d,duplicatedServers:c,onDiscard:w,onSave:b})]})},ZIe=Ri(x9,["ServersImporter"]),w9=({servers:e,selectedServer:t})=>{const{DeleteServerButton:n}=Li(w9);return m.jsx(Xu,{children:m.jsxs("div",{className:"server-error__container flex-column",children:[m.jsxs(Bo,{className:"w-100 mb-3 mb-md-5",type:"error",fullWidth:!0,children:[!nd(t)&&"Could not find this Shlink server.",nd(t)&&m.jsxs(m.Fragment,{children:[m.jsx("p",{children:"Oops! Could not connect to this Shlink server."}),"Make sure you have internet connection, and the server is properly configured and on-line."]})]}),m.jsx(l9,{servers:Object.values(e),children:m.jsxs("p",{className:"mb-md-3",children:["These are the Shlink servers currently configured. Choose one of them or ",m.jsx(kt,{to:"/server/create",children:"add a new one"}),"."]})}),nd(t)&&m.jsx("div",{className:"container mt-3 mt-md-5",children:m.jsxs("p",{className:"fs-5 fw-normal lh-sm",children:["Alternatively, if you think you may have miss-configured this server, you can ",m.jsx(n,{server:t,className:"server-error__delete-btn",children:"remove it"})," or ",m.jsx(kt,{to:`/server/${t.id}/edit?reconnect=true`,children:"edit it"}),"."]})})]})})},XIe=Ri(w9,["DeleteServerButton"]),QIe=4e3,O9=({servers:e})=>{const{ServersExporter:t,ImportServersBtn:n,useTimeoutToggle:r,ManageServersRow:i}=Li(O9),[o,a]=M.useState(""),s=M.useMemo(()=>Object.values(e),[e]),l=M.useMemo(()=>s.filter(({name:p,url:v})=>`${p} ${v}`.toLowerCase().match(o.toLowerCase())),[s,o]),c=s.some(({autoConnect:p})=>!!p),[f,d]=r(!1,QIe);return m.jsxs(Xu,{className:"d-flex flex-column gap-3",children:[m.jsx(Xh,{onChange:a}),m.jsxs("div",{className:"d-flex flex-column flex-md-row gap-2",children:[m.jsxs("div",{className:"d-flex gap-2",children:[m.jsx(n,{className:"flex-fill",onImportError:d,children:"Import servers"}),l.length>0&&m.jsxs(Ke,{outline:!0,className:"flex-fill",onClick:async()=>t.exportServers(),children:[m.jsx(Ae,{icon:F6,fixedWidth:!0})," Export servers"]})]}),m.jsxs(Ke,{outline:!0,color:"primary",className:"ms-md-auto",tag:kt,to:"/server/create",children:[m.jsx(Ae,{icon:Vh,fixedWidth:!0})," Add a server"]})]}),m.jsx(yt,{children:m.jsxs("table",{className:"table table-hover responsive-table mb-0",children:[m.jsx("thead",{className:"responsive-table__header",children:m.jsxs("tr",{children:[c&&m.jsx("th",{style:{width:"50px"},children:m.jsx("span",{className:"sr-only",children:"Auto-connect"})}),m.jsx("th",{children:"Name"}),m.jsx("th",{children:"Base URL"}),m.jsx("th",{children:m.jsx("span",{className:"sr-only",children:"Options"})})]})}),m.jsxs("tbody",{children:[!l.length&&m.jsx("tr",{className:"text-center",children:m.jsx("td",{colSpan:4,children:"No servers found."})}),l.map(p=>m.jsx(i,{server:p,hasAutoConnect:c},p.id))]})]})}),f&&m.jsx("div",{children:m.jsx(Xn,{type:"error",children:"The servers could not be imported. Make sure the format is correct."})})]})},JIe=Ri(O9,["ServersExporter","ImportServersBtn","useTimeoutToggle","ManageServersRow"]),S9=({server:e,hasAutoConnect:t})=>{const{ManageServersRowDropdown:n}=Li(S9);return m.jsxs("tr",{className:"responsive-table__row",children:[t&&m.jsx("td",{className:"responsive-table__cell","data-th":"Auto-connect",children:e.autoConnect&&m.jsxs(m.Fragment,{children:[m.jsx(Ae,{icon:Bd,className:"text-primary",id:"autoConnectIcon"}),m.jsx(Dr,{target:"autoConnectIcon",placement:"right",children:"Auto-connect to this server"})]})}),m.jsx("th",{className:"responsive-table__cell","data-th":"Name",children:m.jsx(kt,{to:`/server/${e.id}`,children:e.name})}),m.jsx("td",{className:"responsive-table__cell","data-th":"Base URL",children:e.url}),m.jsx("td",{className:"responsive-table__cell text-end",children:m.jsx(n,{server:e})})]})},eDe=Ri(S9,["ManageServersRowDropdown"]),P9=({server:e,setAutoConnect:t})=>{const{DeleteServerModal:n}=Li(P9),[r,,i,o]=Lt(),a=`/server/${e.id}`,{autoConnect:s}=e,l=s?pK:Ase;return m.jsxs(r0,{minWidth:s?210:170,children:[m.jsxs(Me,{tag:kt,to:a,children:[m.jsx(Ae,{icon:dK,fixedWidth:!0})," Connect"]}),m.jsxs(Me,{tag:kt,to:`${a}/edit`,children:[m.jsx(Ae,{icon:iP,fixedWidth:!0})," Edit server"]}),m.jsxs(Me,{onClick:()=>t(e,!s),children:[m.jsx(Ae,{icon:l,fixedWidth:!0})," ",s?"Do not a":"A","uto-connect"]}),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{className:"dropdown-item--danger",onClick:i,children:[m.jsx(Ae,{icon:rP,fixedWidth:!0})," Remove server"]}),m.jsx(n,{redirectHome:!1,server:e,isOpen:r,toggle:o})]})},tDe=Ri(P9,["DeleteServerModal"]),E9=(e,t)=>$D(e,t,{serializeError:n=>n}),nDe={},{actions:rDe,reducer:iDe}=Qt({name:"shlink/servers",initialState:nDe,reducers:{editServer:{prepare:(e,t)=>({payload:{serverId:e,serverData:t}}),reducer:(e,{payload:t})=>{const{serverId:n,serverData:r}=t;return e[n]?{...e,[n]:{...e[n],...r}}:e}},deleteServer:(e,{payload:t})=>(delete e[t.id],e),setAutoConnect:{prepare:({id:e},t)=>({payload:{serverId:e,autoConnect:t}}),reducer:(e,{payload:t})=>{const{serverId:n,autoConnect:r}=t;return e[n]?r?Object.fromEntries(Object.entries(e).map(([i,o])=>[i,{...o,autoConnect:i===n}])):{...e,[n]:{...e[n],autoConnect:r}}:e}},createServers:{prepare:e=>({payload:UIe(e)}),reducer:(e,{payload:t})=>({...e,...t})}}}),{editServer:oDe,deleteServer:aDe,setAutoConnect:sDe,createServers:C9}=rDe,lDe=iDe,cDe=e=>Sy({},Array.isArray(e)?e.filter(M6):[]),uDe=e=>E9("shlink/remoteServers/fetchServers",async(t,{dispatch:n})=>{const r=await e.jsonRequest(`${Av.homepage}/servers.json`),i=cDe(r);n(C9(i))}),TC="shlink/selectedServer",fDe="1.0.0",dDe="999.999.999",hDe="latest",pDe=e=>h9(e===hDe?dDe:e,fDe),mDe=FD(e=>`${e.id}_${e.url}_${e.apiKey}`,async(e,t)=>t().then(({version:n})=>({version:pDe(n),printableVersion:d9(n)}))),U4=null,jC=Qn(`${TC}/resetSelectedServer`),vDe=e=>E9(`${TC}/selectServer`,async(t,{dispatch:n,getState:r})=>{n(jC());const{servers:i}=r(),o=i[t];if(!o)return{serverNotFound:!0};try{const a=e(o),{version:s,printableVersion:l}=await mDe(o,()=>a.health());return{...o,version:s,printableVersion:l}}catch{return{...o,serverNotReachable:!0}}}),gDe=e=>Qt({name:TC,initialState:U4,reducers:{},extraReducers:t=>{t.addCase(jC,()=>U4),t.addCase(e.fulfilled,(n,{payload:r})=>r)}}),yDe=({servers:e,selectedServer:t})=>{const n=Object.values(e),r=()=>n.length===0?m.jsxs(Me,{tag:kt,to:"/server/create",children:[m.jsx(Ae,{icon:Vh})," ",m.jsx("span",{className:"ms-1",children:"Add a server"})]}):m.jsxs(m.Fragment,{children:[n.map(({name:i,id:o})=>m.jsx(Me,{tag:kt,to:`/server/${o}`,active:Yq(t)===o,children:i},o)),m.jsx(Me,{divider:!0,tag:"hr"}),m.jsxs(Me,{tag:kt,to:"/manage-servers",children:[m.jsx(Ae,{icon:tA})," ",m.jsx("span",{className:"ms-1",children:"Manage servers"})]})]});return m.jsxs(Zh,{nav:!0,inNavbar:!0,children:[m.jsxs(Xo,{nav:!0,caret:!0,children:[m.jsx(Ae,{icon:tA})," ",m.jsx("span",{className:"ms-1",children:"Servers"})]}),m.jsx(ns,{end:!0,style:{right:0},children:r()})]})},bDe=({document:e},t,n)=>{const r=e.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.style.visibility="hidden",e.body.appendChild(r),r.click(),e.body.removeChild(r)},_De=(e,t,n)=>{const r=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r);bDe(e,i,n)},xDe="shlink-servers.csv";class wDe{constructor(t,n,r){Ll(this,"exportServers",async()=>{const t=Object.values(this.storage.get("servers")??{}).map(Zq);try{const n=this.jsonToCsv(t);_De(this.window,n,xDe)}catch(n){console.error(n)}});this.storage=t,this.window=n,this.jsonToCsv=r}}const ODe=e=>typeof e.url=="string"&&typeof e.apiKey=="string"&&typeof e.name=="string",SDe=e=>Array.isArray(e)&&e.every(ODe);class PDe{constructor(t){this.csvToJson=t}async importServersFromFile(t){if(!t)throw new Error("No file provided");const n=await t.text(),r=await this.csvToJson(n);if(!SDe(r))throw new Error("Provided file does not have the right format.");return r}}const EDe=(e,t)=>{e.factory("ManageServers",JIe),e.decorator("ManageServers",Oy),e.decorator("ManageServers",t(["selectedServer","servers"],["resetSelectedServer"])),e.factory("ManageServersRow",eDe),e.factory("ManageServersRowDropdown",tDe),e.decorator("ManageServersRowDropdown",t(null,["setAutoConnect"])),e.factory("CreateServer",HIe),e.decorator("CreateServer",Oy),e.decorator("CreateServer",t(["selectedServer","servers"],["createServers","resetSelectedServer"])),e.factory("EditServer",YIe),e.decorator("EditServer",t(["selectedServer"],["editServer","selectServer","resetSelectedServer"])),e.serviceFactory("ServersDropdown",()=>yDe),e.decorator("ServersDropdown",t(["servers","selectedServer"])),e.serviceFactory("DeleteServerModal",()=>qIe),e.decorator("DeleteServerModal",t(null,["deleteServer"])),e.factory("DeleteServerButton",GIe),e.factory("ImportServersBtn",ZIe),e.decorator("ImportServersBtn",t(["servers"],["createServers"])),e.factory("ServerError",XIe),e.decorator("ServerError",t(["servers","selectedServer"])),e.service("ServersImporter",PDe,"csvToJson"),e.service("ServersExporter",wDe,"Storage","window","jsonToCsv"),e.serviceFactory("selectServer",vDe,"buildShlinkApiClient","loadMercureInfo"),e.serviceFactory("createServers",()=>C9),e.serviceFactory("deleteServer",()=>aDe),e.serviceFactory("editServer",()=>oDe),e.serviceFactory("setAutoConnect",()=>sDe),e.serviceFactory("fetchServers",uDe,"HttpClient"),e.serviceFactory("resetSelectedServer",()=>jC),e.serviceFactory("selectedServerReducerCreator",gDe,"selectServer"),e.serviceFactory("selectedServerReducer",n=>n.reducer,"selectedServerReducerCreator")},T9={field:"dateCreated",dir:"DESC"},CDe={realTimeUpdates:{enabled:!0},shortUrlCreation:{validateUrls:!1},ui:{theme:$P()},visits:{defaultInterval:"last30Days"},shortUrlsList:{defaultOrdering:T9}},{reducer:TDe,actions:jDe}=Qt({name:"shlink/settings",initialState:CDe,reducers:{setSettings:(e,{payload:t})=>c0(e,t)}}),{setSettings:ADe}=jDe,kDe=TDe,NDe=({settings:e,setSettings:t})=>m.jsx(Xu,{children:m.jsx(Cse,{settings:e,updateSettings:t,defaultShortUrlsListOrdering:T9})}),MDe=(e,t)=>{e.serviceFactory("Settings",()=>NDe),e.decorator("Settings",Oy),e.decorator("Settings",t(["settings"],["setSettings","resetSelectedServer"])),e.serviceFactory("setSettings",()=>ADe)};var LDe=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(r,i,o){n.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:o})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,i){if(1&i&&(r=n(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var a in r)n.d(o,a,(function(s){return r[s]}).bind(null,a));return o},n.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(i,"a",i),i},n.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},n.p="",n(n.s=32)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),i=Object.keys||function(y){var g=[];for(var x in y)g.push(x);return g};e.exports=d;var o=n(5);o.inherits=n(2);var a=n(23),s=n(14);o.inherits(d,a);for(var l=i(s.prototype),c=0;c + * @license MIT + */var i=n(38),o=n(39),a=n(40);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(A,N){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|A}function g(A,N){if(c.isBuffer(A))return A.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;typeof A!="string"&&(A=""+A);var U=A.length;if(U===0)return 0;for(var J=!1;;)switch(N){case"ascii":case"latin1":case"binary":return U;case"utf8":case"utf-8":case void 0:return re(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*U;case"hex":return U>>>1;case"base64":return ae(A).length;default:if(J)return re(A).length;N=(""+N).toLowerCase(),J=!0}}function x(A,N,U){var J=A[N];A[N]=A[U],A[U]=J}function _(A,N,U,J,Y){if(A.length===0)return-1;if(typeof U=="string"?(J=U,U=0):U>2147483647?U=2147483647:U<-2147483648&&(U=-2147483648),U=+U,isNaN(U)&&(U=Y?0:A.length-1),U<0&&(U=A.length+U),U>=A.length){if(Y)return-1;U=A.length-1}else if(U<0){if(!Y)return-1;U=0}if(typeof N=="string"&&(N=c.from(N,J)),c.isBuffer(N))return N.length===0?-1:b(A,N,U,J,Y);if(typeof N=="number")return N&=255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call(A,N,U):Uint8Array.prototype.lastIndexOf.call(A,N,U):b(A,[N],U,J,Y);throw new TypeError("val must be string, number or Buffer")}function b(A,N,U,J,Y){var oe,he=1,Ee=A.length,se=N.length;if(J!==void 0&&((J=String(J).toLowerCase())==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(A.length<2||N.length<2)return-1;he=2,Ee/=2,se/=2,U/=2}function pe(Te,ke){return he===1?Te[ke]:Te.readUInt16BE(ke*he)}if(Y){var ve=-1;for(oe=U;oeEe&&(U=Ee-se),oe=U;oe>=0;oe--){for(var xe=!0,je=0;jeY&&(J=Y):J=Y;var oe=N.length;if(oe%2!=0)throw new TypeError("Invalid hex string");J>oe/2&&(J=oe/2);for(var he=0;he>8,se=he%256,pe.push(se),pe.push(Ee);return pe}(N,A.length-U),A,U,J)}function F(A,N,U){return N===0&&U===A.length?i.fromByteArray(A):i.fromByteArray(A.slice(N,U))}function k(A,N,U){U=Math.min(A.length,U);for(var J=[],Y=N;Y239?4:pe>223?3:pe>191?2:1;if(Y+xe<=U)switch(xe){case 1:pe<128&&(ve=pe);break;case 2:(192&(oe=A[Y+1]))==128&&(se=(31&pe)<<6|63&oe)>127&&(ve=se);break;case 3:oe=A[Y+1],he=A[Y+2],(192&oe)==128&&(192&he)==128&&(se=(15&pe)<<12|(63&oe)<<6|63&he)>2047&&(se<55296||se>57343)&&(ve=se);break;case 4:oe=A[Y+1],he=A[Y+2],Ee=A[Y+3],(192&oe)==128&&(192&he)==128&&(192&Ee)==128&&(se=(15&pe)<<18|(63&oe)<<12|(63&he)<<6|63&Ee)>65535&&se<1114112&&(ve=se)}ve===null?(ve=65533,xe=1):ve>65535&&(ve-=65536,J.push(ve>>>10&1023|55296),ve=56320|1023&ve),J.push(ve),Y+=xe}return function(je){var Te=je.length;if(Te<=I)return String.fromCharCode.apply(String,je);for(var ke="",le=0;lethis.length||((J===void 0||J>this.length)&&(J=this.length),J<=0)||(J>>>=0)<=(U>>>=0))return"";for(N||(N="utf8");;)switch(N){case"hex":return W(this,U,J);case"utf8":case"utf-8":return k(this,U,J);case"ascii":return D(this,U,J);case"latin1":case"binary":return K(this,U,J);case"base64":return F(this,U,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,U,J);default:if(Y)throw new TypeError("Unknown encoding: "+N);N=(N+"").toLowerCase(),Y=!0}}).apply(this,arguments)},c.prototype.equals=function(A){if(!c.isBuffer(A))throw new TypeError("Argument must be a Buffer");return this===A||c.compare(this,A)===0},c.prototype.inspect=function(){var A="",N=t.INSPECT_MAX_BYTES;return this.length>0&&(A=this.toString("hex",0,N).match(/.{2}/g).join(" "),this.length>N&&(A+=" ... ")),""},c.prototype.compare=function(A,N,U,J,Y){if(!c.isBuffer(A))throw new TypeError("Argument must be a Buffer");if(N===void 0&&(N=0),U===void 0&&(U=A?A.length:0),J===void 0&&(J=0),Y===void 0&&(Y=this.length),N<0||U>A.length||J<0||Y>this.length)throw new RangeError("out of range index");if(J>=Y&&N>=U)return 0;if(J>=Y)return-1;if(N>=U)return 1;if(N>>>=0,U>>>=0,J>>>=0,Y>>>=0,this===A)return 0;for(var oe=Y-J,he=U-N,Ee=Math.min(oe,he),se=this.slice(J,Y),pe=A.slice(N,U),ve=0;veY)&&(U=Y),A.length>0&&(U<0||N<0)||N>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");for(var oe=!1;;)switch(J){case"hex":return w(this,A,N,U);case"utf8":case"utf-8":return S(this,A,N,U);case"ascii":return P(this,A,N,U);case"latin1":case"binary":return E(this,A,N,U);case"base64":return T(this,A,N,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,A,N,U);default:if(oe)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),oe=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function D(A,N,U){var J="";U=Math.min(A.length,U);for(var Y=N;YJ)&&(U=J);for(var Y="",oe=N;oeU)throw new RangeError("Trying to access beyond buffer length")}function te(A,N,U,J,Y,oe){if(!c.isBuffer(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(N>Y||NA.length)throw new RangeError("Index out of range")}function Z(A,N,U,J){N<0&&(N=65535+N+1);for(var Y=0,oe=Math.min(A.length-U,2);Y>>8*(J?Y:1-Y)}function z(A,N,U,J){N<0&&(N=4294967295+N+1);for(var Y=0,oe=Math.min(A.length-U,4);Y>>8*(J?Y:3-Y)&255}function B(A,N,U,J,Y,oe){if(U+J>A.length)throw new RangeError("Index out of range");if(U<0)throw new RangeError("Index out of range")}function H(A,N,U,J,Y){return Y||B(A,0,U,4),o.write(A,N,U,J,23,4),U+4}function ee(A,N,U,J,Y){return Y||B(A,0,U,8),o.write(A,N,U,J,52,8),U+8}c.prototype.slice=function(A,N){var U,J=this.length;if(A=~~A,N=N===void 0?J:~~N,A<0?(A+=J)<0&&(A=0):A>J&&(A=J),N<0?(N+=J)<0&&(N=0):N>J&&(N=J),N0&&(Y*=256);)J+=this[A+--N]*Y;return J},c.prototype.readUInt8=function(A,N){return N||Q(A,1,this.length),this[A]},c.prototype.readUInt16LE=function(A,N){return N||Q(A,2,this.length),this[A]|this[A+1]<<8},c.prototype.readUInt16BE=function(A,N){return N||Q(A,2,this.length),this[A]<<8|this[A+1]},c.prototype.readUInt32LE=function(A,N){return N||Q(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},c.prototype.readUInt32BE=function(A,N){return N||Q(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},c.prototype.readIntLE=function(A,N,U){A|=0,N|=0,U||Q(A,N,this.length);for(var J=this[A],Y=1,oe=0;++oe=(Y*=128)&&(J-=Math.pow(2,8*N)),J},c.prototype.readIntBE=function(A,N,U){A|=0,N|=0,U||Q(A,N,this.length);for(var J=N,Y=1,oe=this[A+--J];J>0&&(Y*=256);)oe+=this[A+--J]*Y;return oe>=(Y*=128)&&(oe-=Math.pow(2,8*N)),oe},c.prototype.readInt8=function(A,N){return N||Q(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},c.prototype.readInt16LE=function(A,N){N||Q(A,2,this.length);var U=this[A]|this[A+1]<<8;return 32768&U?4294901760|U:U},c.prototype.readInt16BE=function(A,N){N||Q(A,2,this.length);var U=this[A+1]|this[A]<<8;return 32768&U?4294901760|U:U},c.prototype.readInt32LE=function(A,N){return N||Q(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},c.prototype.readInt32BE=function(A,N){return N||Q(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},c.prototype.readFloatLE=function(A,N){return N||Q(A,4,this.length),o.read(this,A,!0,23,4)},c.prototype.readFloatBE=function(A,N){return N||Q(A,4,this.length),o.read(this,A,!1,23,4)},c.prototype.readDoubleLE=function(A,N){return N||Q(A,8,this.length),o.read(this,A,!0,52,8)},c.prototype.readDoubleBE=function(A,N){return N||Q(A,8,this.length),o.read(this,A,!1,52,8)},c.prototype.writeUIntLE=function(A,N,U,J){A=+A,N|=0,U|=0,J||te(this,A,N,U,Math.pow(2,8*U)-1,0);var Y=1,oe=0;for(this[N]=255&A;++oe=0&&(oe*=256);)this[N+Y]=A/oe&255;return N+U},c.prototype.writeUInt8=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,1,255,0),c.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[N]=255&A,N+1},c.prototype.writeUInt16LE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[N]=255&A,this[N+1]=A>>>8):Z(this,A,N,!0),N+2},c.prototype.writeUInt16BE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[N]=A>>>8,this[N+1]=255&A):Z(this,A,N,!1),N+2},c.prototype.writeUInt32LE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[N+3]=A>>>24,this[N+2]=A>>>16,this[N+1]=A>>>8,this[N]=255&A):z(this,A,N,!0),N+4},c.prototype.writeUInt32BE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[N]=A>>>24,this[N+1]=A>>>16,this[N+2]=A>>>8,this[N+3]=255&A):z(this,A,N,!1),N+4},c.prototype.writeIntLE=function(A,N,U,J){if(A=+A,N|=0,!J){var Y=Math.pow(2,8*U-1);te(this,A,N,U,Y-1,-Y)}var oe=0,he=1,Ee=0;for(this[N]=255&A;++oe>0)-Ee&255;return N+U},c.prototype.writeIntBE=function(A,N,U,J){if(A=+A,N|=0,!J){var Y=Math.pow(2,8*U-1);te(this,A,N,U,Y-1,-Y)}var oe=U-1,he=1,Ee=0;for(this[N+oe]=255&A;--oe>=0&&(he*=256);)A<0&&Ee===0&&this[N+oe+1]!==0&&(Ee=1),this[N+oe]=(A/he>>0)-Ee&255;return N+U},c.prototype.writeInt8=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,1,127,-128),c.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[N]=255&A,N+1},c.prototype.writeInt16LE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[N]=255&A,this[N+1]=A>>>8):Z(this,A,N,!0),N+2},c.prototype.writeInt16BE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[N]=A>>>8,this[N+1]=255&A):Z(this,A,N,!1),N+2},c.prototype.writeInt32LE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[N]=255&A,this[N+1]=A>>>8,this[N+2]=A>>>16,this[N+3]=A>>>24):z(this,A,N,!0),N+4},c.prototype.writeInt32BE=function(A,N,U){return A=+A,N|=0,U||te(this,A,N,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),c.TYPED_ARRAY_SUPPORT?(this[N]=A>>>24,this[N+1]=A>>>16,this[N+2]=A>>>8,this[N+3]=255&A):z(this,A,N,!1),N+4},c.prototype.writeFloatLE=function(A,N,U){return H(this,A,N,!0,U)},c.prototype.writeFloatBE=function(A,N,U){return H(this,A,N,!1,U)},c.prototype.writeDoubleLE=function(A,N,U){return ee(this,A,N,!0,U)},c.prototype.writeDoubleBE=function(A,N,U){return ee(this,A,N,!1,U)},c.prototype.copy=function(A,N,U,J){if(U||(U=0),J||J===0||(J=this.length),N>=A.length&&(N=A.length),N||(N=0),J>0&&J=this.length)throw new RangeError("sourceStart out of bounds");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),A.length-N=0;--Y)A[Y+N]=this[Y+U];else if(oe<1e3||!c.TYPED_ARRAY_SUPPORT)for(Y=0;Y>>=0,U=U===void 0?this.length:U>>>0,A||(A=0),typeof A=="number")for(oe=N;oe55295&&U<57344){if(!Y){if(U>56319){(N-=3)>-1&&oe.push(239,191,189);continue}if(he+1===J){(N-=3)>-1&&oe.push(239,191,189);continue}Y=U;continue}if(U<56320){(N-=3)>-1&&oe.push(239,191,189),Y=U;continue}U=65536+(Y-55296<<10|U-56320)}else Y&&(N-=3)>-1&&oe.push(239,191,189);if(Y=null,U<128){if((N-=1)<0)break;oe.push(U)}else if(U<2048){if((N-=2)<0)break;oe.push(U>>6|192,63&U|128)}else if(U<65536){if((N-=3)<0)break;oe.push(U>>12|224,U>>6&63|128,63&U|128)}else{if(!(U<1114112))throw new Error("Invalid code point");if((N-=4)<0)break;oe.push(U>>18|240,U>>12&63|128,U>>6&63|128,63&U|128)}}return oe}function ae(A){return i.toByteArray(function(N){if((N=function(U){return U.trim?U.trim():U.replace(/^\s+|\s+$/g,"")}(N).replace(q,"")).length<2)return"";for(;N.length%4!=0;)N+="=";return N}(A))}function ue(A,N,U,J){for(var Y=0;Y=N.length||Y>=A.length);++Y)N[Y+U]=A[Y];return Y}}).call(this,n(0))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(x){if(n===setTimeout)return setTimeout(x,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(x,0);try{return n(x,0)}catch{try{return n.call(null,x,0)}catch{return n.call(this,x,0)}}}(function(){try{n=typeof setTimeout=="function"?setTimeout:o}catch{n=o}try{r=typeof clearTimeout=="function"?clearTimeout:a}catch{r=a}})();var l,c=[],f=!1,d=-1;function p(){f&&l&&(f=!1,l.length?c=l.concat(c):d=-1,c.length&&v())}function v(){if(!f){var x=s(p);f=!0;for(var _=c.length;_;){for(l=c,c=[];++d<_;)l&&l[d].run();d=-1,_=c.length}l=null,f=!1,function(b){if(r===clearTimeout)return clearTimeout(b);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{r(b)}catch{try{return r.call(null,b)}catch{return r.call(this,b)}}}(x)}}function y(x,_){this.fun=x,this.array=_}function g(){}i.nextTick=function(x){var _=new Array(arguments.length-1);if(arguments.length>1)for(var b=1;b=0&&(s._idleTimeoutId=setTimeout(function(){s._onTimeout&&s._onTimeout()},l))},n(35),t.setImmediate=typeof self<"u"&&self.setImmediate||r!==void 0&&r.setImmediate||this&&this.setImmediate,t.clearImmediate=typeof self<"u"&&self.clearImmediate||r!==void 0&&r.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(a){return typeof a=="function"}function i(a){return typeof a=="object"&&a!==null}function o(a){return a===void 0}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(a){if(!function(s){return typeof s=="number"}(a)||a<0||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},n.prototype.emit=function(a){var s,l,c,f,d,p;if(this._events||(this._events={}),a==="error"&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((s=arguments[1])instanceof Error)throw s;var v=new Error('Uncaught, unspecified "error" event. ('+s+")");throw v.context=s,v}if(o(l=this._events[a]))return!1;if(r(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:f=Array.prototype.slice.call(arguments,1),l.apply(this,f)}else if(i(l))for(f=Array.prototype.slice.call(arguments,1),c=(p=l.slice()).length,d=0;d0&&this._events[a].length>l&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),typeof console.trace=="function"&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(a,s){if(!r(s))throw TypeError("listener must be a function");var l=!1;function c(){this.removeListener(a,c),l||(l=!0,s.apply(this,arguments))}return c.listener=s,this.on(a,c),this},n.prototype.removeListener=function(a,s){var l,c,f,d;if(!r(s))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(f=(l=this._events[a]).length,c=-1,l===s||r(l.listener)&&l.listener===s)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,s);else if(i(l)){for(d=f;d-- >0;)if(l[d]===s||l[d].listener&&l[d].listener===s){c=d;break}if(c<0)return this;l.length===1?(l.length=0,delete this._events[a]):l.splice(c,1),this._events.removeListener&&this.emit("removeListener",a,s)}return this},n.prototype.removeAllListeners=function(a){var s,l;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[a]&&delete this._events[a],this;if(arguments.length===0){for(s in this._events)s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events={},this}if(r(l=this._events[a]))this.removeListener(a,l);else if(l)for(;l.length;)this.removeListener(a,l[l.length-1]);return delete this._events[a],this},n.prototype.listeners=function(a){return this._events&&this._events[a]?r(this._events[a])?[this._events[a]]:this._events[a].slice():[]},n.prototype.listenerCount=function(a){if(this._events){var s=this._events[a];if(r(s))return 1;if(s)return s.length}return 0},n.listenerCount=function(a,s){return a.listenerCount(s)}},function(e,t,n){(t=e.exports=n(23)).Stream=t,t.Readable=t,t.Writable=n(14),t.Duplex=n(1),t.Transform=n(27),t.PassThrough=n(45)},function(e,t,n){(function(r,i,o){var a=n(6);function s(k){var I=this;this.next=null,this.entry=null,this.finish=function(){(function(D,K,W){var X=D.entry;for(D.entry=null;X;){var Q=X.callback;K.pendingcb--,Q(void 0),X=X.next}K.corkedRequestsFree?K.corkedRequestsFree.next=D:K.corkedRequestsFree=D})(I,k)}}e.exports=w;var l,c=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?i:a.nextTick;w.WritableState=b;var f=n(5);f.inherits=n(2);var d,p={deprecate:n(44)},v=n(24),y=n(7).Buffer,g=o.Uint8Array||function(){},x=n(25);function _(){}function b(k,I){l=l||n(1),k=k||{};var D=I instanceof l;this.objectMode=!!k.objectMode,D&&(this.objectMode=this.objectMode||!!k.writableObjectMode);var K=k.highWaterMark,W=k.writableHighWaterMark,X=this.objectMode?16:16384;this.highWaterMark=K||K===0?K:D&&(W||W===0)?W:X,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Q=k.decodeStrings===!1;this.decodeStrings=!Q,this.defaultEncoding=k.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(te){(function(Z,z){var B=Z._writableState,H=B.sync,ee=B.writecb;if(function(ne){ne.writing=!1,ne.writecb=null,ne.length-=ne.writelen,ne.writelen=0}(B),z)(function(ne,re,ae,ue,A){--re.pendingcb,ae?(a.nextTick(A,ue),a.nextTick(F,ne,re),ne._writableState.errorEmitted=!0,ne.emit("error",ue)):(A(ue),ne._writableState.errorEmitted=!0,ne.emit("error",ue),F(ne,re))})(Z,B,H,z,ee);else{var q=T(B);q||B.corked||B.bufferProcessing||!B.bufferedRequest||E(Z,B),H?c(P,Z,B,q,ee):P(Z,B,q,ee)}})(I,te)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function w(k){if(l=l||n(1),!(d.call(w,this)||this instanceof l))return new w(k);this._writableState=new b(k,this),this.writable=!0,k&&(typeof k.write=="function"&&(this._write=k.write),typeof k.writev=="function"&&(this._writev=k.writev),typeof k.destroy=="function"&&(this._destroy=k.destroy),typeof k.final=="function"&&(this._final=k.final)),v.call(this)}function S(k,I,D,K,W,X,Q){I.writelen=K,I.writecb=Q,I.writing=!0,I.sync=!0,D?k._writev(W,I.onwrite):k._write(W,X,I.onwrite),I.sync=!1}function P(k,I,D,K){D||function(W,X){X.length===0&&X.needDrain&&(X.needDrain=!1,W.emit("drain"))}(k,I),I.pendingcb--,K(),F(k,I)}function E(k,I){I.bufferProcessing=!0;var D=I.bufferedRequest;if(k._writev&&D&&D.next){var K=I.bufferedRequestCount,W=new Array(K),X=I.corkedRequestsFree;X.entry=D;for(var Q=0,te=!0;D;)W[Q]=D,D.isBuf||(te=!1),D=D.next,Q+=1;W.allBuffers=te,S(k,I,!0,I.length,W,"",X.finish),I.pendingcb++,I.lastBufferedRequest=null,X.next?(I.corkedRequestsFree=X.next,X.next=null):I.corkedRequestsFree=new s(I),I.bufferedRequestCount=0}else{for(;D;){var Z=D.chunk,z=D.encoding,B=D.callback;if(S(k,I,!1,I.objectMode?1:Z.length,Z,z,B),D=D.next,I.bufferedRequestCount--,I.writing)break}D===null&&(I.lastBufferedRequest=null)}I.bufferedRequest=D,I.bufferProcessing=!1}function T(k){return k.ending&&k.length===0&&k.bufferedRequest===null&&!k.finished&&!k.writing}function j(k,I){k._final(function(D){I.pendingcb--,D&&k.emit("error",D),I.prefinished=!0,k.emit("prefinish"),F(k,I)})}function F(k,I){var D=T(I);return D&&(function(K,W){W.prefinished||W.finalCalled||(typeof K._final=="function"?(W.pendingcb++,W.finalCalled=!0,a.nextTick(j,K,W)):(W.prefinished=!0,K.emit("prefinish")))}(k,I),I.pendingcb===0&&(I.finished=!0,k.emit("finish"))),D}f.inherits(w,v),b.prototype.getBuffer=function(){for(var k=this.bufferedRequest,I=[];k;)I.push(k),k=k.next;return I},function(){try{Object.defineProperty(b.prototype,"buffer",{get:p.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(k){return!!d.call(this,k)||this===w&&k&&k._writableState instanceof b}})):d=function(k){return k instanceof this},w.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},w.prototype.write=function(k,I,D){var K=this._writableState,W=!1,X=!K.objectMode&&function(Q){return y.isBuffer(Q)||Q instanceof g}(k);return X&&!y.isBuffer(k)&&(k=function(Q){return y.from(Q)}(k)),typeof I=="function"&&(D=I,I=null),X?I="buffer":I||(I=K.defaultEncoding),typeof D!="function"&&(D=_),K.ended?function(Q,te){var Z=new Error("write after end");Q.emit("error",Z),a.nextTick(te,Z)}(this,D):(X||function(Q,te,Z,z){var B=!0,H=!1;return Z===null?H=new TypeError("May not write null values to stream"):typeof Z=="string"||Z===void 0||te.objectMode||(H=new TypeError("Invalid non-string/buffer chunk")),H&&(Q.emit("error",H),a.nextTick(z,H),B=!1),B}(this,K,k,D))&&(K.pendingcb++,W=function(Q,te,Z,z,B,H){if(!Z){var ee=function(ae,ue,A){return ae.objectMode||ae.decodeStrings===!1||typeof ue!="string"||(ue=y.from(ue,A)),ue}(te,z,B);z!==ee&&(Z=!0,B="buffer",z=ee)}var q=te.objectMode?1:z.length;te.length+=q;var ne=te.length-1))throw new TypeError("Unknown encoding: "+k);return this._writableState.defaultEncoding=k,this},Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(k,I,D){D(new Error("_write() is not implemented"))},w.prototype._writev=null,w.prototype.end=function(k,I,D){var K=this._writableState;typeof k=="function"?(D=k,k=null,I=null):typeof I=="function"&&(D=I,I=null),k!=null&&this.write(k,I),K.corked&&(K.corked=1,this.uncork()),K.ending||K.finished||function(W,X,Q){X.ending=!0,F(W,X),Q&&(X.finished?a.nextTick(Q):W.once("finish",Q)),X.ended=!0,W.writable=!1}(this,K,D)},Object.defineProperty(w.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(k){this._writableState&&(this._writableState.destroyed=k)}}),w.prototype.destroy=x.destroy,w.prototype._undestroy=x.undestroy,w.prototype._destroy=function(k,I){this.end(),I(k)}}).call(this,n(4),n(11).setImmediate,n(0))},function(e,t,n){(function(r,i,o){e.exports=function a(s,l,c){function f(v,y){if(!l[v]){if(!s[v]){var g=typeof _dereq_=="function"&&_dereq_;if(!y&&g)return g(v,!0);if(d)return d(v,!0);var x=new Error("Cannot find module '"+v+"'");throw x.code="MODULE_NOT_FOUND",x}var _=l[v]={exports:{}};s[v][0].call(_.exports,function(b){return f(s[v][1][b]||b)},_,_.exports,a,s,l,c)}return l[v].exports}for(var d=typeof _dereq_=="function"&&_dereq_,p=0;p0;){var b=_.shift();if(typeof b=="function"){var w=_.shift(),S=_.shift();b.call(w,S)}else b._settlePromises()}},v.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},v.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},v.prototype._reset=function(){this._isTickUsed=!1},s.exports=v,s.exports.firstLineError=c},{"./queue":26,"./schedule":29,"./util":36}],3:[function(a,s,l){s.exports=function(c,f,d,p){var v=!1,y=function(b,w){this._reject(w)},g=function(b,w){w.promiseRejectionQueued=!0,w.bindingPromise._then(y,y,null,this,b)},x=function(b,w){!(50397184&this._bitField)&&this._resolveCallback(w.target)},_=function(b,w){w.promiseRejectionQueued||this._reject(b)};c.prototype.bind=function(b){v||(v=!0,c.prototype._propagateFrom=p.propagateFromFunction(),c.prototype._boundValue=p.boundValueFunction());var w=d(b),S=new c(f);S._propagateFrom(this,1);var P=this._target();if(S._setBoundTo(w),w instanceof c){var E={promiseRejectionQueued:!1,promise:S,target:P,bindingPromise:w};P._then(f,g,void 0,S,E),w._then(x,_,void 0,S,E),S._setOnCancel(w)}else S._resolveCallback(P);return S},c.prototype._setBoundTo=function(b){b!==void 0?(this._bitField=2097152|this._bitField,this._boundTo=b):this._bitField=-2097153&this._bitField},c.prototype._isBound=function(){return(2097152&this._bitField)==2097152},c.bind=function(b,w){return c.resolve(w).bind(b)}}},{}],4:[function(a,s,l){var c;typeof Promise<"u"&&(c=Promise);var f=a("./promise")();f.noConflict=function(){try{Promise===f&&(Promise=c)}catch{}return f},s.exports=f},{"./promise":22}],5:[function(a,s,l){var c=Object.create;if(c){var f=c(null),d=c(null);f[" size"]=d[" size"]=0}s.exports=function(p){var v=a("./util"),y=v.canEvaluate;function g(b){return function(w,S){var P;if(w!=null&&(P=w[S]),typeof P!="function"){var E="Object "+v.classString(w)+" has no method '"+v.toString(S)+"'";throw new p.TypeError(E)}return P}(b,this.pop()).apply(b,this)}function x(b){return b[this]}function _(b){var w=+this;return w<0&&(w=Math.max(0,w+b.length)),b[w]}v.isIdentifier,p.prototype.call=function(b){var w=[].slice.call(arguments,1);return w.push(b),this._then(g,void 0,void 0,w,void 0)},p.prototype.get=function(b){var w;if(typeof b=="number")w=_;else if(y){var S=(void 0)(b);w=S!==null?S:x}else w=x;return this._then(w,void 0,void 0,b,void 0)}}},{"./util":36}],6:[function(a,s,l){s.exports=function(c,f,d,p){var v=a("./util"),y=v.tryCatch,g=v.errorObj,x=c._async;c.prototype.break=c.prototype.cancel=function(){if(!p.cancellation())return this._warn("cancellation is disabled");for(var _=this,b=_;_._isCancellable();){if(!_._cancelBy(b)){b._isFollowing()?b._followee().cancel():b._cancelBranched();break}var w=_._cancellationParent;if(w==null||!w._isCancellable()){_._isFollowing()?_._followee().cancel():_._cancelBranched();break}_._isFollowing()&&_._followee().cancel(),_._setWillBeCancelled(),b=_,_=w}},c.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},c.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},c.prototype._cancelBy=function(_){return _===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},c.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},c.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),x.invoke(this._cancelPromises,this,void 0))},c.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},c.prototype._unsetOnCancel=function(){this._onCancelField=void 0},c.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},c.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},c.prototype._doInvokeOnCancel=function(_,b){if(v.isArray(_))for(var w=0;w<_.length;++w)this._doInvokeOnCancel(_[w],b);else if(_!==void 0)if(typeof _=="function"){if(!b){var S=y(_).call(this._boundValue());S===g&&(this._attachExtraTrace(S.e),x.throwLater(S.e))}}else _._resultCancelled(this)},c.prototype._invokeOnCancel=function(){var _=this._onCancel();this._unsetOnCancel(),x.invoke(this._doInvokeOnCancel,this,_)},c.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},c.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(a,s,l){s.exports=function(c){var f=a("./util"),d=a("./es5").keys,p=f.tryCatch,v=f.errorObj;return function(y,g,x){return function(_){var b=x._boundValue();e:for(var w=0;w=0)return d[y]}return c.prototype._promiseCreated=function(){},c.prototype._pushContext=function(){},c.prototype._popContext=function(){return null},c._peekContext=c.prototype._peekContext=function(){},p.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,d.push(this._trace))},p.prototype._popContext=function(){if(this._trace!==void 0){var y=d.pop(),g=y._promiseCreated;return y._promiseCreated=null,g}return null},p.CapturedTrace=null,p.create=function(){if(f)return new p},p.deactivateLongStackTraces=function(){},p.activateLongStackTraces=function(){var y=c.prototype._pushContext,g=c.prototype._popContext,x=c._peekContext,_=c.prototype._peekContext,b=c.prototype._promiseCreated;p.deactivateLongStackTraces=function(){c.prototype._pushContext=y,c.prototype._popContext=g,c._peekContext=x,c.prototype._peekContext=_,c.prototype._promiseCreated=b,f=!1},f=!0,c.prototype._pushContext=p.prototype._pushContext,c.prototype._popContext=p.prototype._popContext,c._peekContext=c.prototype._peekContext=v,c.prototype._promiseCreated=function(){var w=this._peekContext();w&&w._promiseCreated==null&&(w._promiseCreated=this)}},p}},{}],9:[function(a,s,l){s.exports=function(c,f){var d,p,v,y=c._getDomain,g=c._async,x=a("./errors").Warning,_=a("./util"),b=_.canAttachTrace,w=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,S=/\((?:timers\.js):\d+:\d+\)/,P=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,E=null,T=null,j=!1,F=_.env("BLUEBIRD_DEBUG")!=0,k=!(_.env("BLUEBIRD_WARNINGS")==0||!F&&!_.env("BLUEBIRD_WARNINGS")),I=!(_.env("BLUEBIRD_LONG_STACK_TRACES")==0||!F&&!_.env("BLUEBIRD_LONG_STACK_TRACES")),D=_.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(k||!!_.env("BLUEBIRD_W_FORGOTTEN_RETURN"));c.prototype.suppressUnhandledRejections=function(){var le=this._target();le._bitField=-1048577&le._bitField|524288},c.prototype._ensurePossibleRejectionHandled=function(){if(!(524288&this._bitField)){this._setRejectionIsUnhandled();var le=this;setTimeout(function(){le._notifyUnhandledRejection()},1)}},c.prototype._notifyUnhandledRejectionIsHandled=function(){he("rejectionHandled",d,void 0,this)},c.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},c.prototype._returnedNonUndefined=function(){return(268435456&this._bitField)!=0},c.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var le=this._settledValue();this._setUnhandledRejectionIsNotified(),he("unhandledRejection",p,le,this)}},c.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},c.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},c.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},c.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},c.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},c.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},c.prototype._warn=function(le,fe,ye){return U(le,fe,ye||this)},c.onPossiblyUnhandledRejection=function(le){var fe=y();p=typeof le=="function"?fe===null?le:_.domainBind(fe,le):void 0},c.onUnhandledRejectionHandled=function(le){var fe=y();d=typeof le=="function"?fe===null?le:_.domainBind(fe,le):void 0};var K=function(){};c.longStackTraces=function(){if(g.haveItemsQueued()&&!ke.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);if(!ke.longStackTraces&&se()){var le=c.prototype._captureStackTrace,fe=c.prototype._attachExtraTrace;ke.longStackTraces=!0,K=function(){if(g.haveItemsQueued()&&!ke.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);c.prototype._captureStackTrace=le,c.prototype._attachExtraTrace=fe,f.deactivateLongStackTraces(),g.enableTrampoline(),ke.longStackTraces=!1},c.prototype._captureStackTrace=A,c.prototype._attachExtraTrace=N,f.activateLongStackTraces(),g.disableTrampolineIfNecessary()}},c.hasLongStackTraces=function(){return ke.longStackTraces&&se()};var W=function(){try{if(typeof CustomEvent=="function"){var le=new CustomEvent("CustomEvent");return _.global.dispatchEvent(le),function(fe,ye){var ge=new CustomEvent(fe.toLowerCase(),{detail:ye,cancelable:!0});return!_.global.dispatchEvent(ge)}}return typeof Event=="function"?(le=new Event("CustomEvent"),_.global.dispatchEvent(le),function(fe,ye){var ge=new Event(fe.toLowerCase(),{cancelable:!0});return ge.detail=ye,!_.global.dispatchEvent(ge)}):((le=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),_.global.dispatchEvent(le),function(fe,ye){var ge=document.createEvent("CustomEvent");return ge.initCustomEvent(fe.toLowerCase(),!1,!0,ye),!_.global.dispatchEvent(ge)})}catch{}return function(){return!1}}(),X=_.isNode?function(){return r.emit.apply(r,arguments)}:_.global?function(le){var fe="on"+le.toLowerCase(),ye=_.global[fe];return!!ye&&(ye.apply(_.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function Q(le,fe){return{promise:fe}}var te={promiseCreated:Q,promiseFulfilled:Q,promiseRejected:Q,promiseResolved:Q,promiseCancelled:Q,promiseChained:function(le,fe,ye){return{promise:fe,child:ye}},warning:function(le,fe){return{warning:fe}},unhandledRejection:function(le,fe,ye){return{reason:fe,promise:ye}},rejectionHandled:Q},Z=function(le){var fe=!1;try{fe=X.apply(null,arguments)}catch(ge){g.throwLater(ge),fe=!0}var ye=!1;try{ye=W(le,te[le].apply(null,arguments))}catch(ge){g.throwLater(ge),ye=!0}return ye||fe};function z(){return!1}function B(le,fe,ye){var ge=this;try{le(fe,ye,function(we){if(typeof we!="function")throw new TypeError("onCancel must be a function, got: "+_.toString(we));ge._attachCancellationCallback(we)})}catch(we){return we}}function H(le){if(!this._isCancellable())return this;var fe=this._onCancel();fe!==void 0?_.isArray(fe)?fe.push(le):this._setOnCancel([fe,le]):this._setOnCancel(le)}function ee(){return this._onCancelField}function q(le){this._onCancelField=le}function ne(){this._cancellationParent=void 0,this._onCancelField=void 0}function re(le,fe){if(1&fe){this._cancellationParent=le;var ye=le._branchesRemainingToCancel;ye===void 0&&(ye=0),le._branchesRemainingToCancel=ye+1}2&fe&&le._isBound()&&this._setBoundTo(le._boundTo)}c.config=function(le){if("longStackTraces"in(le=Object(le))&&(le.longStackTraces?c.longStackTraces():!le.longStackTraces&&c.hasLongStackTraces()&&K()),"warnings"in le){var fe=le.warnings;ke.warnings=!!fe,D=ke.warnings,_.isObject(fe)&&"wForgottenReturn"in fe&&(D=!!fe.wForgottenReturn)}if("cancellation"in le&&le.cancellation&&!ke.cancellation){if(g.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");c.prototype._clearCancellationData=ne,c.prototype._propagateFrom=re,c.prototype._onCancel=ee,c.prototype._setOnCancel=q,c.prototype._attachCancellationCallback=H,c.prototype._execute=B,ae=re,ke.cancellation=!0}return"monitoring"in le&&(le.monitoring&&!ke.monitoring?(ke.monitoring=!0,c.prototype._fireEvent=Z):!le.monitoring&&ke.monitoring&&(ke.monitoring=!1,c.prototype._fireEvent=z)),c},c.prototype._fireEvent=z,c.prototype._execute=function(le,fe,ye){try{le(fe,ye)}catch(ge){return ge}},c.prototype._onCancel=function(){},c.prototype._setOnCancel=function(le){},c.prototype._attachCancellationCallback=function(le){},c.prototype._captureStackTrace=function(){},c.prototype._attachExtraTrace=function(){},c.prototype._clearCancellationData=function(){},c.prototype._propagateFrom=function(le,fe){};var ae=function(le,fe){2&fe&&le._isBound()&&this._setBoundTo(le._boundTo)};function ue(){var le=this._boundTo;return le!==void 0&&le instanceof c?le.isFulfilled()?le.value():void 0:le}function A(){this._trace=new je(this._peekContext())}function N(le,fe){if(b(le)){var ye=this._trace;if(ye!==void 0&&fe&&(ye=ye._parent),ye!==void 0)ye.attachExtraTrace(le);else if(!le.__stackCleaned__){var ge=Y(le);_.notEnumerableProp(le,"stack",ge.message+` +`+ge.stack.join(` +`)),_.notEnumerableProp(le,"__stackCleaned__",!0)}}}function U(le,fe,ye){if(ke.warnings){var ge,we=new x(le);if(fe)ye._attachExtraTrace(we);else if(ke.longStackTraces&&(ge=c._peekContext()))ge.attachExtraTrace(we);else{var Ne=Y(we);we.stack=Ne.message+` +`+Ne.stack.join(` +`)}Z("warning",we)||oe(we,"",!0)}}function J(le){for(var fe=[],ye=0;ye0?function(ge){for(var we=ge.stack.replace(/\s+$/g,"").split(` +`),Ne=0;Ne0&&ge.name!="SyntaxError"&&(we=we.slice(Ne)),we}(le):[" (No stack trace)"],{message:ye,stack:le.name=="SyntaxError"?fe:J(fe)}}function oe(le,fe,ye){if(typeof console<"u"){var ge;if(_.isObject(le)){var we=le.stack;ge=fe+T(we,le)}else ge=fe+String(le);typeof v=="function"?v(ge,ye):typeof console.log!="function"&&typeof console.log!="object"||console.log(ge)}}function he(le,fe,ye,ge){var we=!1;try{typeof fe=="function"&&(we=!0,le==="rejectionHandled"?fe(ge):fe(ye,ge))}catch(Ne){g.throwLater(Ne)}le==="unhandledRejection"?Z(le,ye,ge)||we||oe(ye,"Unhandled rejection "):Z(le,ge)}function Ee(le){var fe;if(typeof le=="function")fe="[function "+(le.name||"anonymous")+"]";else{if(fe=le&&typeof le.toString=="function"?le.toString():_.toString(le),/\[object [a-zA-Z0-9$_]+\]/.test(fe))try{fe=JSON.stringify(le)}catch{}fe.length===0&&(fe="(empty array)")}return"(<"+function(ye){return ye.length<41?ye:ye.substr(0,38)+"..."}(fe)+">, no stack trace)"}function se(){return typeof Te=="function"}var pe=function(){return!1},ve=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function xe(le){var fe=le.match(ve);if(fe)return{fileName:fe[1],line:parseInt(fe[2],10)}}function je(le){this._parent=le,this._promisesCreated=0;var fe=this._length=1+(le===void 0?0:le._length);Te(this,je),fe>32&&this.uncycle()}_.inherits(je,Error),f.CapturedTrace=je,je.prototype.uncycle=function(){var le=this._length;if(!(le<2)){for(var fe=[],ye={},ge=0,we=this;we!==void 0;++ge)fe.push(we),we=we._parent;for(ge=(le=this._length=ge)-1;ge>=0;--ge){var Ne=fe[ge].stack;ye[Ne]===void 0&&(ye[Ne]=ge)}for(ge=0;ge0&&(fe[Le-1]._parent=void 0,fe[Le-1]._length=1),fe[ge]._parent=void 0,fe[ge]._length=1;var Je=ge>0?fe[ge-1]:this;Le=0;--Ye)fe[Ye]._length=tt,tt++;return}}}},je.prototype.attachExtraTrace=function(le){if(!le.__stackCleaned__){this.uncycle();for(var fe=Y(le),ye=fe.message,ge=[fe.stack],we=this;we!==void 0;)ge.push(J(we.stack.split(` +`))),we=we._parent;(function(Ne){for(var Le=Ne[0],Je=1;Je=0;--hn)if(tt[hn]===Wt){It=hn;break}for(hn=It;hn>=0;--hn){var Un=tt[hn];if(Le[Ye]!==Un)break;Le.pop(),Ye--}Le=tt}})(ge),function(Ne){for(var Le=0;Le=0)return E=/@/,T=fe,j=!0,function(Ne){Ne.stack=new Error().stack};try{throw new Error}catch(Ne){ge="stack"in Ne}return"stack"in we||!ge||typeof Error.stackTraceLimit!="number"?(T=function(Ne,Le){return typeof Ne=="string"?Ne:typeof Le!="object"&&typeof Le!="function"||Le.name===void 0||Le.message===void 0?Ee(Le):Le.toString()},null):(E=le,T=fe,function(Ne){Error.stackTraceLimit+=6;try{throw new Error}catch(Le){Ne.stack=Le.stack}Error.stackTraceLimit-=6})}();typeof console<"u"&&console.warn!==void 0&&(v=function(le){console.warn(le)},_.isNode&&r.stderr.isTTY?v=function(le,fe){var ye=fe?"\x1B[33m":"\x1B[31m";console.warn(ye+le+`\x1B[0m +`)}:_.isNode||typeof new Error().stack!="string"||(v=function(le,fe){console.warn("%c"+le,fe?"color: darkorange":"color: red")}));var ke={warnings:k,longStackTraces:!1,cancellation:!1,monitoring:!1};return I&&c.longStackTraces(),{longStackTraces:function(){return ke.longStackTraces},warnings:function(){return ke.warnings},cancellation:function(){return ke.cancellation},monitoring:function(){return ke.monitoring},propagateFromFunction:function(){return ae},boundValueFunction:function(){return ue},checkForgottenReturns:function(le,fe,ye,ge,we){if(le===void 0&&fe!==null&&D){if(we!==void 0&&we._returnedNonUndefined()||!(65535&ge._bitField))return;ye&&(ye+=" ");var Ne="",Le="";if(fe._trace){for(var Je=fe._trace.stack.split(` +`),tt=J(Je),Ye=tt.length-1;Ye>=0;--Ye){var Wt=tt[Ye];if(!S.test(Wt)){var It=Wt.match(P);It&&(Ne="at "+It[1]+":"+It[2]+":"+It[3]+" ");break}}if(tt.length>0){var hn=tt[0];for(Ye=0;Ye0&&(Le=` +`+Je[Ye-1]);break}}}var Un="a promise was created in a "+ye+"handler "+Ne+"but was not returned from it, see http://goo.gl/rRqMUw"+Le;ge._warn(Un,!0,fe)}},setBounds:function(le,fe){if(se()){for(var ye,ge,we=le.stack.split(` +`),Ne=fe.stack.split(` +`),Le=-1,Je=-1,tt=0;tt=Je||(pe=function(Wt){if(w.test(Wt))return!0;var It=xe(Wt);return!!(It&&It.fileName===ye&&Le<=It.line&&It.line<=Je)})}},warn:U,deprecated:function(le,fe){var ye=le+" is deprecated and will be removed in a future version.";return fe&&(ye+=" Use "+fe+" instead."),U(ye)},CapturedTrace:je,fireDomEvent:W,fireGlobalEvent:X}}},{"./errors":12,"./util":36}],10:[function(a,s,l){s.exports=function(c){function f(){return this.value}function d(){throw this.reason}c.prototype.return=c.prototype.thenReturn=function(p){return p instanceof c&&p.suppressUnhandledRejections(),this._then(f,void 0,void 0,{value:p},void 0)},c.prototype.throw=c.prototype.thenThrow=function(p){return this._then(d,void 0,void 0,{reason:p},void 0)},c.prototype.catchThrow=function(p){if(arguments.length<=1)return this._then(void 0,d,void 0,{reason:p},void 0);var v=arguments[1];return this.caught(p,function(){throw v})},c.prototype.catchReturn=function(p){if(arguments.length<=1)return p instanceof c&&p.suppressUnhandledRejections(),this._then(void 0,f,void 0,{value:p},void 0);var v=arguments[1];return v instanceof c&&v.suppressUnhandledRejections(),this.caught(p,function(){return v})}}},{}],11:[function(a,s,l){s.exports=function(c,f){var d=c.reduce,p=c.all;function v(){return p(this)}c.prototype.each=function(y){return d(this,y,f,0)._then(v,void 0,void 0,this,void 0)},c.prototype.mapSeries=function(y){return d(this,y,f,f)},c.each=function(y,g){return d(y,g,f,0)._then(v,void 0,void 0,y,void 0)},c.mapSeries=function(y,g){return d(y,g,f,f)}}},{}],12:[function(a,s,l){var c,f,d=a("./es5"),p=d.freeze,v=a("./util"),y=v.inherits,g=v.notEnumerableProp;function x(k,I){function D(K){if(!(this instanceof D))return new D(K);g(this,"message",typeof K=="string"?K:I),g(this,"name",k),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return y(D,Error),D}var _=x("Warning","warning"),b=x("CancellationError","cancellation error"),w=x("TimeoutError","timeout error"),S=x("AggregateError","aggregate error");try{c=TypeError,f=RangeError}catch{c=x("TypeError","type error"),f=x("RangeError","range error")}for(var P="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),E=0;E1?E.cancelPromise._reject(T):E.cancelPromise._cancel(),E.cancelPromise=null,!0)}function w(){return P.call(this,this.promise._target()._settledValue())}function S(E){if(!b(this,E))return y.e=E,y}function P(E){var T=this.promise,j=this.handler;if(!this.called){this.called=!0;var F=this.isFinallyHandler()?j.call(T._boundValue()):j.call(T._boundValue(),E);if(F===d)return F;if(F!==void 0){T._setReturnedNonUndefined();var k=f(F,T);if(k instanceof c){if(this.cancelPromise!=null){if(k._isCancelled()){var I=new v("late cancellation observer");return T._attachExtraTrace(I),y.e=I,y}k.isPending()&&k._attachCancellationCallback(new _(this))}return k._then(w,S,void 0,this,void 0)}}}return T.isRejected()?(b(this),y.e=E,y):(b(this),E)}return x.prototype.isFinallyHandler=function(){return this.type===0},_.prototype._resultCancelled=function(){b(this.finallyHandler)},c.prototype._passThrough=function(E,T,j,F){return typeof E!="function"?this.then():this._then(j,F,void 0,new x(this,T,E),void 0)},c.prototype.lastly=c.prototype.finally=function(E){return this._passThrough(E,0,P,P)},c.prototype.tap=function(E){return this._passThrough(E,1,P)},c.prototype.tapCatch=function(E){var T=arguments.length;if(T===1)return this._passThrough(E,1,void 0,P);var j,F=new Array(T-1),k=0;for(j=0;j0&&typeof arguments[_]=="function"&&(x=arguments[_]);var b=[].slice.call(arguments);x&&b.pop();var w=new f(b).promise();return x!==void 0?w.spread(x):w}}},{"./util":36}],18:[function(a,s,l){s.exports=function(c,f,d,p,v,y){var g=c._getDomain,x=a("./util"),_=x.tryCatch,b=x.errorObj,w=c._async;function S(E,T,j,F){this.constructor$(E),this._promise._captureStackTrace();var k=g();this._callback=k===null?T:x.domainBind(k,T),this._preservedValues=F===v?new Array(this.length()):null,this._limit=j,this._inFlight=0,this._queue=[],w.invoke(this._asyncInit,this,void 0)}function P(E,T,j,F){if(typeof T!="function")return d("expecting a function but got "+x.classString(T));var k=0;if(j!==void 0){if(typeof j!="object"||j===null)return c.reject(new TypeError("options argument must be an object but it is "+x.classString(j)));if(typeof j.concurrency!="number")return c.reject(new TypeError("'concurrency' must be a number but it is "+x.classString(j.concurrency)));k=j.concurrency}return new S(E,T,k=typeof k=="number"&&isFinite(k)&&k>=1?k:0,F).promise()}x.inherits(S,f),S.prototype._asyncInit=function(){this._init$(void 0,-2)},S.prototype._init=function(){},S.prototype._promiseFulfilled=function(E,T){var j=this._values,F=this.length(),k=this._preservedValues,I=this._limit;if(T<0){if(j[T=-1*T-1]=E,I>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(I>=1&&this._inFlight>=I)return j[T]=E,this._queue.push(T),!1;k!==null&&(k[T]=E);var D=this._promise,K=this._callback,W=D._boundValue();D._pushContext();var X=_(K).call(W,E,T,F),Q=D._popContext();if(y.checkForgottenReturns(X,Q,k!==null?"Promise.filter":"Promise.map",D),X===b)return this._reject(X.e),!0;var te=p(X,this._promise);if(te instanceof c){var Z=(te=te._target())._bitField;if(!(50397184&Z))return I>=1&&this._inFlight++,j[T]=te,te._proxy(this,-1*(T+1)),!1;if(!(33554432&Z))return 16777216&Z?(this._reject(te._reason()),!0):(this._cancel(),!0);X=te._value()}j[T]=X}return++this._totalResolved>=F&&(k!==null?this._filter(j,k):this._resolve(j),!0)},S.prototype._drainQueue=function(){for(var E=this._queue,T=this._limit,j=this._values;E.length>0&&this._inFlight1){v.deprecated("calling Promise.try with more than 1 argument");var w=arguments[1],S=arguments[2];_=y.isArray(w)?g(x).apply(S,w):g(x).call(S,w)}else _=g(x)();var P=b._popContext();return v.checkForgottenReturns(_,P,"Promise.try",b),b._resolveFromSyncValue(_),b},c.prototype._resolveFromSyncValue=function(x){x===y.errorObj?this._rejectCallback(x.e,!1):this._resolveCallback(x,!0)}}},{"./util":36}],20:[function(a,s,l){var c=a("./util"),f=c.maybeWrapAsError,d=a("./errors").OperationalError,p=a("./es5"),v=/^(?:name|message|stack|cause)$/;function y(g){var x;if(function(S){return S instanceof Error&&p.getPrototypeOf(S)===Error.prototype}(g)){(x=new d(g)).name=g.name,x.message=g.message,x.stack=g.stack;for(var _=p.keys(g),b=0;b<_.length;++b){var w=_[b];v.test(w)||(x[w]=g[w])}return x}return c.markAsOriginatingFromRejection(g),g}s.exports=function(g,x){return function(_,b){if(g!==null){if(_){var w=y(f(_));g._attachExtraTrace(w),g._reject(w)}else if(x){var S=[].slice.call(arguments,1);g._fulfill(S)}else g._fulfill(b);g=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(a,s,l){s.exports=function(c){var f=a("./util"),d=c._async,p=f.tryCatch,v=f.errorObj;function y(_,b){if(!f.isArray(_))return g.call(this,_,b);var w=p(b).apply(this._boundValue(),[null].concat(_));w===v&&d.throwLater(w.e)}function g(_,b){var w=this._boundValue(),S=_===void 0?p(b).call(w,null):p(b).call(w,null,_);S===v&&d.throwLater(S.e)}function x(_,b){if(!_){var w=new Error(_+"");w.cause=_,_=w}var S=p(b).call(this._boundValue(),_);S===v&&d.throwLater(S.e)}c.prototype.asCallback=c.prototype.nodeify=function(_,b){if(typeof _=="function"){var w=g;b!==void 0&&Object(b).spread&&(w=y),this._then(w,x,void 0,this,_)}return this}}},{"./util":36}],22:[function(a,s,l){s.exports=function(){var c=function(){return new S(`circular promise resolution chain + + See http://goo.gl/MqrFmX +`)},f=function(){return new z.PromiseInspection(this._target())},d=function(q){return z.reject(new S(q))};function p(){}var v,y={},g=a("./util");v=g.isNode?function(){var q=r.domain;return q===void 0&&(q=null),q}:function(){return null},g.notEnumerableProp(z,"_getDomain",v);var x=a("./es5"),_=a("./async"),b=new _;x.defineProperty(z,"_async",{value:b});var w=a("./errors"),S=z.TypeError=w.TypeError;z.RangeError=w.RangeError;var P=z.CancellationError=w.CancellationError;z.TimeoutError=w.TimeoutError,z.OperationalError=w.OperationalError,z.RejectionError=w.OperationalError,z.AggregateError=w.AggregateError;var E=function(){},T={},j={},F=a("./thenables")(z,E),k=a("./promise_array")(z,E,F,d,p),I=a("./context")(z),D=I.create,K=a("./debuggability")(z,I),W=(K.CapturedTrace,a("./finally")(z,F,j)),X=a("./catch_filter")(j),Q=a("./nodeback"),te=g.errorObj,Z=g.tryCatch;function z(q){q!==E&&function(ne,re){if(ne==null||ne.constructor!==z)throw new S(`the promise constructor cannot be invoked directly + + See http://goo.gl/MqrFmX +`);if(typeof re!="function")throw new S("expecting a function but got "+g.classString(re))}(this,q),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(q),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function B(q){this.promise._resolveCallback(q)}function H(q){this.promise._rejectCallback(q,!1)}function ee(q){var ne=new z(E);ne._fulfillmentHandler0=q,ne._rejectionHandler0=q,ne._promise0=q,ne._receiver0=q}return z.prototype.toString=function(){return"[object Promise]"},z.prototype.caught=z.prototype.catch=function(q){var ne=arguments.length;if(ne>1){var re,ae=new Array(ne-1),ue=0;for(re=0;re0&&typeof q!="function"&&typeof ne!="function"){var re=".then() only accepts functions but was passed: "+g.classString(q);arguments.length>1&&(re+=", "+g.classString(ne)),this._warn(re)}return this._then(q,ne,void 0,void 0,void 0)},z.prototype.done=function(q,ne){this._then(q,ne,void 0,void 0,void 0)._setIsFinal()},z.prototype.spread=function(q){return typeof q!="function"?d("expecting a function but got "+g.classString(q)):this.all()._then(q,void 0,void 0,T,void 0)},z.prototype.toJSON=function(){var q={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(q.fulfillmentValue=this.value(),q.isFulfilled=!0):this.isRejected()&&(q.rejectionReason=this.reason(),q.isRejected=!0),q},z.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new k(this).promise()},z.prototype.error=function(q){return this.caught(g.originatesFromRejection,q)},z.getNewLibraryCopy=s.exports,z.is=function(q){return q instanceof z},z.fromNode=z.fromCallback=function(q){var ne=new z(E);ne._captureStackTrace();var re=arguments.length>1&&!!Object(arguments[1]).multiArgs,ae=Z(q)(Q(ne,re));return ae===te&&ne._rejectCallback(ae.e,!0),ne._isFateSealed()||ne._setAsyncGuaranteed(),ne},z.all=function(q){return new k(q).promise()},z.cast=function(q){var ne=F(q);return ne instanceof z||((ne=new z(E))._captureStackTrace(),ne._setFulfilled(),ne._rejectionHandler0=q),ne},z.resolve=z.fulfilled=z.cast,z.reject=z.rejected=function(q){var ne=new z(E);return ne._captureStackTrace(),ne._rejectCallback(q,!0),ne},z.setScheduler=function(q){if(typeof q!="function")throw new S("expecting a function but got "+g.classString(q));return b.setScheduler(q)},z.prototype._then=function(q,ne,re,ae,ue){var A=ue!==void 0,N=A?ue:new z(E),U=this._target(),J=U._bitField;A||(N._propagateFrom(this,3),N._captureStackTrace(),ae===void 0&&2097152&this._bitField&&(ae=50397184&J?this._boundValue():U===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,N));var Y=v();if(50397184&J){var oe,he,Ee=U._settlePromiseCtx;33554432&J?(he=U._rejectionHandler0,oe=q):16777216&J?(he=U._fulfillmentHandler0,oe=ne,U._unsetRejectionIsUnhandled()):(Ee=U._settlePromiseLateCancellationObserver,he=new P("late cancellation observer"),U._attachExtraTrace(he),oe=ne),b.invoke(Ee,U,{handler:Y===null?oe:typeof oe=="function"&&g.domainBind(Y,oe),promise:N,receiver:ae,value:he})}else U._addCallbacks(q,ne,N,ae,Y);return N},z.prototype._length=function(){return 65535&this._bitField},z.prototype._isFateSealed=function(){return(117506048&this._bitField)!=0},z.prototype._isFollowing=function(){return(67108864&this._bitField)==67108864},z.prototype._setLength=function(q){this._bitField=-65536&this._bitField|65535&q},z.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},z.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},z.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},z.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},z.prototype._isFinal=function(){return(4194304&this._bitField)>0},z.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},z.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},z.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},z.prototype._setAsyncGuaranteed=function(){b.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},z.prototype._receiverAt=function(q){var ne=q===0?this._receiver0:this[4*q-4+3];if(ne!==y)return ne===void 0&&this._isBound()?this._boundValue():ne},z.prototype._promiseAt=function(q){return this[4*q-4+2]},z.prototype._fulfillmentHandlerAt=function(q){return this[4*q-4+0]},z.prototype._rejectionHandlerAt=function(q){return this[4*q-4+1]},z.prototype._boundValue=function(){},z.prototype._migrateCallback0=function(q){q._bitField;var ne=q._fulfillmentHandler0,re=q._rejectionHandler0,ae=q._promise0,ue=q._receiverAt(0);ue===void 0&&(ue=y),this._addCallbacks(ne,re,ae,ue,null)},z.prototype._migrateCallbackAt=function(q,ne){var re=q._fulfillmentHandlerAt(ne),ae=q._rejectionHandlerAt(ne),ue=q._promiseAt(ne),A=q._receiverAt(ne);A===void 0&&(A=y),this._addCallbacks(re,ae,ue,A,null)},z.prototype._addCallbacks=function(q,ne,re,ae,ue){var A=this._length();if(A>=65531&&(A=0,this._setLength(0)),A===0)this._promise0=re,this._receiver0=ae,typeof q=="function"&&(this._fulfillmentHandler0=ue===null?q:g.domainBind(ue,q)),typeof ne=="function"&&(this._rejectionHandler0=ue===null?ne:g.domainBind(ue,ne));else{var N=4*A-4;this[N+2]=re,this[N+3]=ae,typeof q=="function"&&(this[N+0]=ue===null?q:g.domainBind(ue,q)),typeof ne=="function"&&(this[N+1]=ue===null?ne:g.domainBind(ue,ne))}return this._setLength(A+1),A},z.prototype._proxy=function(q,ne){this._addCallbacks(void 0,void 0,ne,q,null)},z.prototype._resolveCallback=function(q,ne){if(!(117506048&this._bitField)){if(q===this)return this._rejectCallback(c(),!1);var re=F(q,this);if(!(re instanceof z))return this._fulfill(q);ne&&this._propagateFrom(re,2);var ae=re._target();if(ae!==this){var ue=ae._bitField;if(50397184&ue)if(33554432&ue)this._fulfill(ae._value());else if(16777216&ue)this._reject(ae._reason());else{var U=new P("late cancellation observer");ae._attachExtraTrace(U),this._reject(U)}else{var A=this._length();A>0&&ae._migrateCallback0(this);for(var N=1;N>>16)){if(q===this){var re=c();return this._attachExtraTrace(re),this._reject(re)}this._setFulfilled(),this._rejectionHandler0=q,(65535&ne)>0&&(134217728&ne?this._settlePromises():b.settlePromises(this))}},z.prototype._reject=function(q){var ne=this._bitField;if(!((117506048&ne)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=q,this._isFinal())return b.fatalError(q,g.isNode);(65535&ne)>0?b.settlePromises(this):this._ensurePossibleRejectionHandled()}},z.prototype._fulfillPromises=function(q,ne){for(var re=1;re0){if(16842752&q){var re=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,re,q),this._rejectPromises(ne,re)}else{var ae=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,ae,q),this._fulfillPromises(ne,ae)}this._setLength(0)}this._clearCancellationData()},z.prototype._settledValue=function(){var q=this._bitField;return 33554432&q?this._rejectionHandler0:16777216&q?this._fulfillmentHandler0:void 0},z.defer=z.pending=function(){return K.deprecated("Promise.defer","new Promise"),{promise:new z(E),resolve:B,reject:H}},g.notEnumerableProp(z,"_makeSelfResolutionError",c),a("./method")(z,E,F,d,K),a("./bind")(z,E,F,K),a("./cancel")(z,k,d,K),a("./direct_resolve")(z),a("./synchronous_inspection")(z),a("./join")(z,k,F,E,b,v),z.Promise=z,z.version="3.5.1",a("./map.js")(z,k,d,F,E,K),a("./call_get.js")(z),a("./using.js")(z,d,F,D,E,K),a("./timers.js")(z,E,K),a("./generators.js")(z,d,E,F,p,K),a("./nodeify.js")(z),a("./promisify.js")(z,E),a("./props.js")(z,k,F,d),a("./race.js")(z,E,F,d),a("./reduce.js")(z,k,d,F,E,K),a("./settle.js")(z,k,K),a("./some.js")(z,k,d),a("./filter.js")(z,E),a("./each.js")(z,E),a("./any.js")(z),g.toFastProperties(z),g.toFastProperties(z.prototype),ee({a:1}),ee({b:2}),ee({c:3}),ee(1),ee(function(){}),ee(void 0),ee(!1),ee(new z(E)),K.setBounds(_.firstLineError,g.lastLineError),z}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(a,s,l){s.exports=function(c,f,d,p,v){var y=a("./util");function g(x){var _=this._promise=new c(f);x instanceof c&&_._propagateFrom(x,3),_._setOnCancel(this),this._values=x,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return y.isArray,y.inherits(g,v),g.prototype.length=function(){return this._length},g.prototype.promise=function(){return this._promise},g.prototype._init=function x(_,b){var w=d(this._values,this._promise);if(w instanceof c){var S=(w=w._target())._bitField;if(this._values=w,(50397184&S)==0)return this._promise._setAsyncGuaranteed(),w._then(x,this._reject,void 0,this,b);if(!(33554432&S))return 16777216&S?this._reject(w._reason()):this._cancel();w=w._value()}if((w=y.asArray(w))!==null)w.length!==0?this._iterate(w):b===-5?this._resolveEmptyArray():this._resolve(function(E){switch(b){case-2:return[];case-3:return{};case-6:return new Map}}());else{var P=p("expecting an array or an iterable object but got "+y.classString(w)).reason();this._promise._rejectCallback(P,!1)}},g.prototype._iterate=function(x){var _=this.getActualLength(x.length);this._length=_,this._values=this.shouldCopyValues()?new Array(_):this._values;for(var b=this._promise,w=!1,S=null,P=0;P<_;++P){var E=d(x[P],b);S=E instanceof c?(E=E._target())._bitField:null,w?S!==null&&E.suppressUnhandledRejections():S!==null?50397184&S?w=33554432&S?this._promiseFulfilled(E._value(),P):16777216&S?this._promiseRejected(E._reason(),P):this._promiseCancelled(P):(E._proxy(this,P),this._values[P]=E):w=this._promiseFulfilled(E,P)}w||b._setAsyncGuaranteed()},g.prototype._isResolved=function(){return this._values===null},g.prototype._resolve=function(x){this._values=null,this._promise._fulfill(x)},g.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},g.prototype._reject=function(x){this._values=null,this._promise._rejectCallback(x,!1)},g.prototype._promiseFulfilled=function(x,_){return this._values[_]=x,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},g.prototype._promiseCancelled=function(){return this._cancel(),!0},g.prototype._promiseRejected=function(x){return this._totalResolved++,this._reject(x),!0},g.prototype._resultCancelled=function(){if(!this._isResolved()){var x=this._values;if(this._cancel(),x instanceof c)x.cancel();else for(var _=0;_=this._length){var E;if(this._isMap)E=function(k){for(var I=new v,D=k.length/2|0,K=0;K>1},c.prototype.props=function(){return w(this)},c.props=function(S){return w(S)}}},{"./es5":13,"./util":36}],26:[function(a,s,l){function c(f){this._capacity=f,this._length=0,this._front=0}c.prototype._willBeOverCapacity=function(f){return this._capacity"u"){var p=i.setImmediate,v=r.nextTick;c=f.isRecentNode?function(g){p.call(i,g)}:function(g){v.call(r,g)}}else if(typeof d=="function"&&typeof d.resolve=="function"){var y=d.resolve();c=function(g){y.then(g)}}else c=typeof MutationObserver>"u"||typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)?o!==void 0?function(g){o(g)}:typeof setTimeout<"u"?function(g){setTimeout(g,0)}:function(){throw new Error(`No async scheduler available + + See http://goo.gl/MqrFmX +`)}:function(){var g=document.createElement("div"),x={attributes:!0},_=!1,b=document.createElement("div");return new MutationObserver(function(){g.classList.toggle("foo"),_=!1}).observe(b,x),function(w){var S=new MutationObserver(function(){S.disconnect(),w()});S.observe(g,x),_||(_=!0,b.classList.toggle("foo"))}}();s.exports=c},{"./util":36}],30:[function(a,s,l){s.exports=function(c,f,d){var p=c.PromiseInspection;function v(y){this.constructor$(y)}a("./util").inherits(v,f),v.prototype._promiseResolved=function(y,g){return this._values[y]=g,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},v.prototype._promiseFulfilled=function(y,g){var x=new p;return x._bitField=33554432,x._settledValueField=y,this._promiseResolved(g,x)},v.prototype._promiseRejected=function(y,g){var x=new p;return x._bitField=16777216,x._settledValueField=y,this._promiseResolved(g,x)},c.settle=function(y){return d.deprecated(".settle()",".reflect()"),new v(y).promise()},c.prototype.settle=function(){return c.settle(this)}}},{"./util":36}],31:[function(a,s,l){s.exports=function(c,f,d){var p=a("./util"),v=a("./errors").RangeError,y=a("./errors").AggregateError,g=p.isArray,x={};function _(w){this.constructor$(w),this._howMany=0,this._unwrap=!1,this._initialized=!1}function b(w,S){if((0|S)!==S||S<0)return d(`expecting a positive integer + + See http://goo.gl/MqrFmX +`);var P=new _(w),E=P.promise();return P.setHowMany(S),P.init(),E}p.inherits(_,f),_.prototype._init=function(){if(this._initialized)if(this._howMany!==0){this._init$(void 0,-5);var w=g(this._values);!this._isResolved()&&w&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},_.prototype.init=function(){this._initialized=!0,this._init()},_.prototype.setUnwrap=function(){this._unwrap=!0},_.prototype.howMany=function(){return this._howMany},_.prototype.setHowMany=function(w){this._howMany=w},_.prototype._promiseFulfilled=function(w){return this._addFulfilled(w),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},_.prototype._promiseRejected=function(w){return this._addRejected(w),this._checkOutcome()},_.prototype._promiseCancelled=function(){return this._values instanceof c||this._values==null?this._cancel():(this._addRejected(x),this._checkOutcome())},_.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var w=new y,S=this.length();S0?this._reject(w):this._cancel(),!0}return!1},_.prototype._fulfilled=function(){return this._totalResolved},_.prototype._rejected=function(){return this._values.length-this.length()},_.prototype._addRejected=function(w){this._values.push(w)},_.prototype._addFulfilled=function(w){this._values[this._totalResolved++]=w},_.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},_.prototype._getRangeError=function(w){var S="Input array must contain at least "+this._howMany+" items but contains only "+w+" items";return new v(S)},_.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},c.some=function(w,S){return b(w,S)},c.prototype.some=function(w){return b(this,w)},c._SomePromiseArray=_}},{"./errors":12,"./util":36}],32:[function(a,s,l){s.exports=function(c){function f(_){_!==void 0?(_=_._target(),this._bitField=_._bitField,this._settledValueField=_._isFateSealed()?_._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}f.prototype._settledValue=function(){return this._settledValueField};var d=f.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise + + See http://goo.gl/MqrFmX +`);return this._settledValue()},p=f.prototype.error=f.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise + + See http://goo.gl/MqrFmX +`);return this._settledValue()},v=f.prototype.isFulfilled=function(){return(33554432&this._bitField)!=0},y=f.prototype.isRejected=function(){return(16777216&this._bitField)!=0},g=f.prototype.isPending=function(){return(50397184&this._bitField)==0},x=f.prototype.isResolved=function(){return(50331648&this._bitField)!=0};f.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},c.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},c.prototype._isCancelled=function(){return this._target().__isCancelled()},c.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},c.prototype.isPending=function(){return g.call(this._target())},c.prototype.isRejected=function(){return y.call(this._target())},c.prototype.isFulfilled=function(){return v.call(this._target())},c.prototype.isResolved=function(){return x.call(this._target())},c.prototype.value=function(){return d.call(this._target())},c.prototype.reason=function(){var _=this._target();return _._unsetRejectionIsUnhandled(),p.call(_)},c.prototype._value=function(){return this._settledValue()},c.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},c.PromiseInspection=f}},{}],33:[function(a,s,l){s.exports=function(c,f){var d=a("./util"),p=d.errorObj,v=d.isObject,y={}.hasOwnProperty;return function(g,x){if(v(g)){if(g instanceof c)return g;var _=function(w){try{return function(S){return S.then}(w)}catch(S){return p.e=S,p}}(g);if(_===p){x&&x._pushContext();var b=c.reject(_.e);return x&&x._popContext(),b}if(typeof _=="function")return function(w){try{return y.call(w,"_promise0")}catch{return!1}}(g)?(b=new c(f),g._then(b._fulfill,b._reject,void 0,b,null),b):function(w,S,P){var E=new c(f),T=E;P&&P._pushContext(),E._captureStackTrace(),P&&P._popContext();var j=!0,F=d.tryCatch(S).call(w,function(k){E&&(E._resolveCallback(k),E=null)},function(k){E&&(E._rejectCallback(k,j,!0),E=null)});return j=!1,E&&F===p&&(E._rejectCallback(F.e,!0,!0),E=null),T}(g,_,x)}return g}}},{"./util":36}],34:[function(a,s,l){s.exports=function(c,f,d){var p=a("./util"),v=c.TimeoutError;function y(w){this.handle=w}y.prototype._resultCancelled=function(){clearTimeout(this.handle)};var g=function(w){return x(+this).thenReturn(w)},x=c.delay=function(w,S){var P,E;return S!==void 0?(P=c.resolve(S)._then(g,null,null,w,void 0),d.cancellation()&&S instanceof c&&P._setOnCancel(S)):(P=new c(f),E=setTimeout(function(){P._fulfill()},+w),d.cancellation()&&P._setOnCancel(new y(E)),P._captureStackTrace()),P._setAsyncGuaranteed(),P};function _(w){return clearTimeout(this.handle),w}function b(w){throw clearTimeout(this.handle),w}c.prototype.delay=function(w){return x(w,this)},c.prototype.timeout=function(w,S){var P,E;w=+w;var T=new y(setTimeout(function(){P.isPending()&&function(j,F,k){var I;I=typeof F!="string"?F instanceof Error?F:new v("operation timed out"):new v(F),p.markAsOriginatingFromRejection(I),j._attachExtraTrace(I),j._reject(I),k!=null&&k.cancel()}(P,S,E)},w));return d.cancellation()?(E=this.then(),(P=E._then(_,b,void 0,T,void 0))._setOnCancel(T)):P=this._then(_,b,void 0,T,void 0),P}}},{"./util":36}],35:[function(a,s,l){s.exports=function(c,f,d,p,v,y){var g=a("./util"),x=a("./errors").TypeError,_=a("./util").inherits,b=g.errorObj,w=g.tryCatch,S={};function P(I){setTimeout(function(){throw I},0)}function E(I,D){var K=0,W=I.length,X=new c(v);return function Q(){if(K>=W)return X._fulfill();var te=function(Z){var z=d(Z);return z!==Z&&typeof Z._isDisposable=="function"&&typeof Z._getDisposer=="function"&&Z._isDisposable()&&z._setDisposable(Z._getDisposer()),z}(I[K++]);if(te instanceof c&&te._isDisposable()){try{te=d(te._getDisposer().tryDispose(D),I.promise)}catch(Z){return P(Z)}if(te instanceof c)return te._then(Q,P,null,null,null)}Q()}(),X}function T(I,D,K){this._data=I,this._promise=D,this._context=K}function j(I,D,K){this.constructor$(I,D,K)}function F(I){return T.isDisposer(I)?(this.resources[this.index]._setDisposable(I),I.promise()):I}function k(I){this.length=I,this.promise=null,this[I-1]=null}T.prototype.data=function(){return this._data},T.prototype.promise=function(){return this._promise},T.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():S},T.prototype.tryDispose=function(I){var D=this.resource(),K=this._context;K!==void 0&&K._pushContext();var W=D!==S?this.doDispose(D,I):null;return K!==void 0&&K._popContext(),this._promise._unsetDisposable(),this._data=null,W},T.isDisposer=function(I){return I!=null&&typeof I.resource=="function"&&typeof I.tryDispose=="function"},_(j,T),j.prototype.doDispose=function(I,D){return this.data().call(I,I,D)},k.prototype._resultCancelled=function(){for(var I=this.length,D=0;D0},c.prototype._getDisposer=function(){return this._disposer},c.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},c.prototype.disposer=function(I){if(typeof I=="function")return new j(I,this,p());throw new x}}},{"./errors":12,"./util":36}],36:[function(a,s,l){var c,f=a("./es5"),d=typeof navigator>"u",p={e:{}},v=typeof self<"u"?self:typeof window<"u"?window:i!==void 0?i:this!==void 0?this:null;function y(){try{var W=c;return c=null,W.apply(this,arguments)}catch(X){return p.e=X,p}}function g(W){return W==null||W===!0||W===!1||typeof W=="string"||typeof W=="number"}function x(W,X,Q){if(g(W))return W;var te={value:Q,configurable:!0,enumerable:!1,writable:!0};return f.defineProperty(W,X,te),W}var _=function(){var W=[Array.prototype,Object.prototype,Function.prototype],X=function(Z){for(var z=0;z1,te=X.length>0&&!(X.length===1&&X[0]==="constructor"),Z=b.test(W+"")&&f.names(W).length>0;if(Q||te||Z)return!0}return!1}catch{return!1}},isIdentifier:function(W){return w.test(W)},inheritedDataKeys:_,getDataPropertyOrDefault:function(W,X,Q){if(!f.isES5)return{}.hasOwnProperty.call(W,X)?W[X]:void 0;var te=Object.getOwnPropertyDescriptor(W,X);return te!=null?te.get==null&&te.set==null?te.value:Q:void 0},thrower:function(W){throw W},isArray:f.isArray,asArray:F,notEnumerableProp:x,isPrimitive:g,isObject:function(W){return typeof W=="function"||typeof W=="object"&&W!==null},isError:P,canEvaluate:d,errorObj:p,tryCatch:function(W){return c=W,y},inherits:function(W,X){var Q={}.hasOwnProperty;function te(){for(var Z in this.constructor=W,this.constructor$=X,X.prototype)Q.call(X.prototype,Z)&&Z.charAt(Z.length-1)!=="$"&&(this[Z+"$"]=X.prototype[Z])}return te.prototype=X.prototype,W.prototype=new te,W.prototype},withAppended:function(W,X){var Q,te=W.length,Z=new Array(te+1);for(Q=0;Q10||W[0]>0}(),K.isNode&&K.toFastProperties(r);try{throw new Error}catch(W){K.lastLineError=W}s.exports=K},{"./es5":13}]},{},[4])(4),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}).call(this,n(4),n(0),n(11).setImmediate)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,i){if(!i.eol&&r){for(var o=0,a=r.length;o0?(typeof H=="string"||ae.objectMode||Object.getPrototypeOf(H)===f.prototype||(H=function(ue){return f.from(ue)}(H)),q?ae.endEmitted?B.emit("error",new Error("stream.unshift() after end event")):E(B,ae,H,!0):ae.ended?B.emit("error",new Error("stream.push() after EOF")):(ae.reading=!1,ae.decoder&&!ee?(H=ae.decoder.write(H),ae.objectMode||H.length!==0?E(B,ae,H,!1):I(B,ae)):E(B,ae,H,!1))):q||(ae.reading=!1)),function(ue){return!ue.ended&&(ue.needReadable||ue.lengthH.highWaterMark&&(H.highWaterMark=function(ee){return ee>=T?ee=T:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}(B)),B<=H.length?B:H.ended?H.length:(H.needReadable=!0,0))}function F(B){var H=B._readableState;H.needReadable=!1,H.emittedReadable||(y("emitReadable",H.flowing),H.emittedReadable=!0,H.sync?o.nextTick(k,B):k(B))}function k(B){y("emit readable"),B.emit("readable"),X(B)}function I(B,H){H.readingMore||(H.readingMore=!0,o.nextTick(D,B,H))}function D(B,H){for(var ee=H.length;!H.reading&&!H.flowing&&!H.ended&&H.length=H.length?(ee=H.decoder?H.buffer.join(""):H.buffer.length===1?H.buffer.head.data:H.buffer.concat(H.length),H.buffer.clear()):ee=function(q,ne,re){var ae;return qY.length?Y.length:ue;if(oe===Y.length?J+=Y:J+=Y.slice(0,ue),(ue-=oe)==0){oe===Y.length?(++U,N.next?A.head=N.next:A.head=A.tail=null):(A.head=N,N.data=Y.slice(oe));break}++U}return A.length-=U,J}(q,ne):function(ue,A){var N=f.allocUnsafe(ue),U=A.head,J=1;for(U.data.copy(N),ue-=U.data.length;U=U.next;){var Y=U.data,oe=ue>Y.length?Y.length:ue;if(Y.copy(N,N.length-ue,0,oe),(ue-=oe)==0){oe===Y.length?(++J,U.next?A.head=U.next:A.head=A.tail=null):(A.head=U,U.data=Y.slice(oe));break}++J}return A.length-=J,N}(q,ne),ae}(B,H.buffer,H.decoder),ee);var ee}function te(B){var H=B._readableState;if(H.length>0)throw new Error('"endReadable()" called on non-empty stream');H.endEmitted||(H.ended=!0,o.nextTick(Z,H,B))}function Z(B,H){B.endEmitted||B.length!==0||(B.endEmitted=!0,H.readable=!1,H.emit("end"))}function z(B,H){for(var ee=0,q=B.length;ee=H.highWaterMark||H.ended))return y("read: emitReadable",H.length,H.ended),H.length===0&&H.ended?te(this):F(this),null;if((B=j(B,H))===0&&H.ended)return H.length===0&&te(this),null;var q,ne=H.needReadable;return y("need readable",ne),(H.length===0||H.length-B0?Q(B,H):null)===null?(H.needReadable=!0,B=0):H.length-=B,H.length===0&&(H.ended||(H.needReadable=!0),ee!==B&&H.ended&&te(this)),q!==null&&this.emit("data",q),q},S.prototype._read=function(B){this.emit("error",new Error("_read() is not implemented"))},S.prototype.pipe=function(B,H){var ee=this,q=this._readableState;switch(q.pipesCount){case 0:q.pipes=B;break;case 1:q.pipes=[q.pipes,B];break;default:q.pipes.push(B)}q.pipesCount+=1,y("pipe count=%d opts=%j",q.pipesCount,H);var ne=H&&H.end===!1||B===i.stdout||B===i.stderr?oe:re;function re(){y("onend"),B.end()}q.endEmitted?o.nextTick(ne):ee.once("end",ne),B.on("unpipe",function he(Ee,se){y("onunpipe"),Ee===ee&&se&&se.hasUnpiped===!1&&(se.hasUnpiped=!0,y("cleanup"),B.removeListener("close",J),B.removeListener("finish",Y),B.removeListener("drain",ae),B.removeListener("error",U),B.removeListener("unpipe",he),ee.removeListener("end",re),ee.removeListener("end",oe),ee.removeListener("data",N),ue=!0,!q.awaitDrain||B._writableState&&!B._writableState.needDrain||ae())});var ae=function(he){return function(){var Ee=he._readableState;y("pipeOnDrain",Ee.awaitDrain),Ee.awaitDrain&&Ee.awaitDrain--,Ee.awaitDrain===0&&l(he,"data")&&(Ee.flowing=!0,X(he))}}(ee);B.on("drain",ae);var ue=!1,A=!1;function N(he){y("ondata"),A=!1,B.write(he)!==!1||A||((q.pipesCount===1&&q.pipes===B||q.pipesCount>1&&z(q.pipes,B)!==-1)&&!ue&&(y("false write response, pause",ee._readableState.awaitDrain),ee._readableState.awaitDrain++,A=!0),ee.pause())}function U(he){y("onerror",he),oe(),B.removeListener("error",U),l(B,"error")===0&&B.emit("error",he)}function J(){B.removeListener("finish",Y),oe()}function Y(){y("onfinish"),B.removeListener("close",J),oe()}function oe(){y("unpipe"),ee.unpipe(B)}return ee.on("data",N),function(he,Ee,se){if(typeof he.prependListener=="function")return he.prependListener(Ee,se);he._events&&he._events[Ee]?s(he._events[Ee])?he._events[Ee].unshift(se):he._events[Ee]=[se,he._events[Ee]]:he.on(Ee,se)}(B,"error",U),B.once("close",J),B.once("finish",Y),B.emit("pipe",ee),q.flowing||(y("pipe resume"),ee.resume()),B},S.prototype.unpipe=function(B){var H=this._readableState,ee={hasUnpiped:!1};if(H.pipesCount===0)return this;if(H.pipesCount===1)return B&&B!==H.pipes?this:(B||(B=H.pipes),H.pipes=null,H.pipesCount=0,H.flowing=!1,B&&B.emit("unpipe",this,ee),this);if(!B){var q=H.pipes,ne=H.pipesCount;H.pipes=null,H.pipesCount=0,H.flowing=!1;for(var re=0;re>5==6?2:y>>4==14?3:y>>3==30?4:y>>6==2?-1:-2}function s(y){var g=this.lastTotal-this.lastNeed,x=function(_,b,w){if((192&b[0])!=128)return _.lastNeed=0,"�";if(_.lastNeed>1&&b.length>1){if((192&b[1])!=128)return _.lastNeed=1,"�";if(_.lastNeed>2&&b.length>2&&(192&b[2])!=128)return _.lastNeed=2,"�"}}(this,y);return x!==void 0?x:this.lastNeed<=y.length?(y.copy(this.lastChar,g,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(y.copy(this.lastChar,g,0,y.length),void(this.lastNeed-=y.length))}function l(y,g){if((y.length-g)%2==0){var x=y.toString("utf16le",g);if(x){var _=x.charCodeAt(x.length-1);if(_>=55296&&_<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=y[y.length-2],this.lastChar[1]=y[y.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=y[y.length-1],y.toString("utf16le",g,y.length-1)}function c(y){var g=y&&y.length?this.write(y):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return g+this.lastChar.toString("utf16le",0,x)}return g}function f(y,g){var x=(y.length-g)%3;return x===0?y.toString("base64",g):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=y[y.length-1]:(this.lastChar[0]=y[y.length-2],this.lastChar[1]=y[y.length-1]),y.toString("base64",g,y.length-x))}function d(y){var g=y&&y.length?this.write(y):"";return this.lastNeed?g+this.lastChar.toString("base64",0,3-this.lastNeed):g}function p(y){return y.toString(this.encoding)}function v(y){return y&&y.length?this.write(y):""}t.StringDecoder=o,o.prototype.write=function(y){if(y.length===0)return"";var g,x;if(this.lastNeed){if((g=this.fillLast(y))===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x=0?(E>0&&(b.lastNeed=E-1),E):--P=0?(E>0&&(b.lastNeed=E-2),E):--P=0?(E>0&&(E===2?E=0:b.lastNeed=E-3),E):0}(this,y,g);if(!this.lastNeed)return y.toString("utf8",g);this.lastTotal=x;var _=y.length-(x-this.lastNeed);return y.copy(this.lastChar,0,_),y.toString("utf8",g,_)},o.prototype.fillLast=function(y){if(this.lastNeed<=y.length)return y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,y.length),this.lastNeed-=y.length}},function(e,t,n){e.exports=o;var r=n(1),i=n(5);function o(l){if(!(this instanceof o))return new o(l);r.call(this,l),this._transformState={afterTransform:(function(c,f){var d=this._transformState;d.transforming=!1;var p=d.writecb;if(!p)return this.emit("error",new Error("write callback called multiple times"));d.writechunk=null,d.writecb=null,f!=null&&this.push(f),p(c);var v=this._readableState;v.reading=!1,(v.needReadable||v.length-1&&a.push(i[s]);return a},t.trimLeft=String.prototype.trimLeft?function(i){return i.trimLeft()}:function(i){return i.replace(/^\s+/,"")},t.trimRight=String.prototype.trimRight?function(i){return i.trimRight()}:function(i){return i.replace(/\s+$/,"")}}).call(this,n(3).Buffer)},function(e,t,n){var r=this&&this.__extends||function(){var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,s){a.__proto__=s}||function(a,s){for(var l in s)s.hasOwnProperty(l)&&(a[l]=s[l])};return function(a,s){function l(){this.constructor=a}o(a,s),a.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(o){function a(s,l,c){var f=o.call(this,"Error: "+s+". JSON Line number: "+l+(c?" near: "+c:""))||this;return f.err=s,f.line=l,f.extra=c,f.name="CSV Parse Error",f}return r(a,o),a.column_mismatched=function(s,l){return new a("column_mismatched",s,l)},a.unclosed_quote=function(s,l){return new a("unclosed_quote",s,l)},a.fromJSON=function(s){return new a(s.err,s.line,s.extra)},a.prototype.toJSON=function(){return{err:this.err,line:this.line,extra:this.extra}},a}(Error);t.default=i},function(e,t,n){var r=n(18),i=n(68),o=n(69),a=r?r.toStringTag:void 0;e.exports=function(s){return s==null?s===void 0?"[object Undefined]":"[object Null]":a&&a in Object(s)?i(s):o(s)}},function(e,t){e.exports=function(n,r){return n===r||n!=n&&r!=r}},function(e,t,n){e.exports=n(33)},function(e,t,n){var r=n(34),i=function(o,a){return new r.Converter(o,a)};i.csv=i,i.Converter=r.Converter,e.exports=i},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,g){y.__proto__=g}||function(y,g){for(var x in g)g.hasOwnProperty(x)&&(y[x]=g[x])};return function(y,g){function x(){this.constructor=y}v(y,g),y.prototype=g===null?Object.create(g):(x.prototype=g.prototype,new x)}}(),o=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(36),s=n(50),l=n(51),c=o(n(15)),f=n(52),d=n(105),p=function(v){function y(g,x){x===void 0&&(x={});var _=v.call(this,x)||this;return _.options=x,_.params=s.mergeParams(g),_.runtime=l.initParseRuntime(_),_.result=new d.Result(_),_.processor=new f.ProcessorLocal(_),_.once("error",function(b){r(function(){_.result.processError(b),_.emit("done",b)})}),_.once("done",function(){_.processor.destroy()}),_}return i(y,v),y.prototype.preRawData=function(g){return this.runtime.preRawDataHook=g,this},y.prototype.preFileLine=function(g){return this.runtime.preFileLineHook=g,this},y.prototype.subscribe=function(g,x,_){return this.parseRuntime.subscribe={onNext:g,onError:x,onCompleted:_},this},y.prototype.fromFile=function(g,x){var _=this,b=n(!function(){var w=new Error("Cannot find module 'fs'");throw w.code="MODULE_NOT_FOUND",w}());return b.exists(g,function(w){w?b.createReadStream(g,x).pipe(_):_.emit("error",new Error("File does not exist. Check to make sure the file path to your csv is correct."))}),this},y.prototype.fromStream=function(g){return g.pipe(this),this},y.prototype.fromString=function(g){g.toString();var x=new a.Readable,_=0;return x._read=function(b){if(_>=g.length)this.push(null);else{var w=g.substr(_,b);this.push(w),_+=b}},this.fromStream(x)},y.prototype.then=function(g,x){var _=this;return new c.default(function(b,w){_.parseRuntime.then={onfulfilled:function(S){b(g?g(S):S)},onrejected:function(S){x?b(x(S)):w(S)}}})},Object.defineProperty(y.prototype,"parseParam",{get:function(){return this.params},enumerable:!0,configurable:!0}),Object.defineProperty(y.prototype,"parseRuntime",{get:function(){return this.runtime},enumerable:!0,configurable:!0}),y.prototype._transform=function(g,x,_){var b=this;this.processor.process(g).then(function(w){if(w.length>0)return b.runtime.started=!0,b.result.processResult(w)}).then(function(){b.emit("drained"),_()},function(w){b.runtime.hasError=!0,b.runtime.error=w,b.emit("error",w),_()})},y.prototype._flush=function(g){var x=this;this.processor.flush().then(function(_){if(_.length>0)return x.result.processResult(_)}).then(function(){x.processEnd(g)},function(_){x.emit("error",_),g()})},y.prototype.processEnd=function(g){this.result.endProcess(),this.emit("done"),g()},Object.defineProperty(y.prototype,"parsedLineNumber",{get:function(){return this.runtime.parsedLineNumber},enumerable:!0,configurable:!0}),y}(a.Transform);t.Converter=p}).call(this,n(11).setImmediate)},function(e,t,n){(function(r,i){(function(o,a){if(!o.setImmediate){var s,l=1,c={},f=!1,d=o.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(o);p=p&&p.setTimeout?p:o,{}.toString.call(o.process)==="[object process]"?s=function(g){i.nextTick(function(){y(g)})}:function(){if(o.postMessage&&!o.importScripts){var g=!0,x=o.onmessage;return o.onmessage=function(){g=!1},o.postMessage("","*"),o.onmessage=x,g}}()?function(){var g="setImmediate$"+Math.random()+"$",x=function(_){_.source===o&&typeof _.data=="string"&&_.data.indexOf(g)===0&&y(+_.data.slice(g.length))};o.addEventListener?o.addEventListener("message",x,!1):o.attachEvent("onmessage",x),s=function(_){o.postMessage(g+_,"*")}}():o.MessageChannel?function(){var g=new MessageChannel;g.port1.onmessage=function(x){y(x.data)},s=function(x){g.port2.postMessage(x)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var g=d.documentElement;s=function(x){var _=d.createElement("script");_.onreadystatechange=function(){y(x),_.onreadystatechange=null,g.removeChild(_),_=null},g.appendChild(_)}}():s=function(g){setTimeout(y,0,g)},p.setImmediate=function(g){typeof g!="function"&&(g=new Function(""+g));for(var x=new Array(arguments.length-1),_=0;_"u"?r===void 0?this:r:self)}).call(this,n(0),n(4))},function(e,t,n){e.exports=i;var r=n(12).EventEmitter;function i(){r.call(this)}n(2)(i,r),i.Readable=n(13),i.Writable=n(46),i.Duplex=n(47),i.Transform=n(48),i.PassThrough=n(49),i.Stream=i,i.prototype.pipe=function(o,a){var s=this;function l(g){o.writable&&o.write(g)===!1&&s.pause&&s.pause()}function c(){s.readable&&s.resume&&s.resume()}s.on("data",l),o.on("drain",c),o._isStdio||a&&a.end===!1||(s.on("end",d),s.on("close",p));var f=!1;function d(){f||(f=!0,o.end())}function p(){f||(f=!0,typeof o.destroy=="function"&&o.destroy())}function v(g){if(y(),r.listenerCount(this,"error")===0)throw g}function y(){s.removeListener("data",l),o.removeListener("drain",c),s.removeListener("end",d),s.removeListener("close",p),s.removeListener("error",v),o.removeListener("error",v),s.removeListener("end",y),s.removeListener("close",y),o.removeListener("close",y)}return s.on("error",v),o.on("error",v),s.on("end",y),s.on("close",y),o.on("close",y),o.emit("pipe",s),o}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t,n){t.byteLength=function(p){var v=c(p),y=v[0],g=v[1];return 3*(y+g)/4-g},t.toByteArray=function(p){for(var v,y=c(p),g=y[0],x=y[1],_=new o(3*(g+x)/4-x),b=0,w=x>0?g-4:g,S=0;S>16&255,_[b++]=v>>8&255,_[b++]=255&v;return x===2&&(v=i[p.charCodeAt(S)]<<2|i[p.charCodeAt(S+1)]>>4,_[b++]=255&v),x===1&&(v=i[p.charCodeAt(S)]<<10|i[p.charCodeAt(S+1)]<<4|i[p.charCodeAt(S+2)]>>2,_[b++]=v>>8&255,_[b++]=255&v),_},t.fromByteArray=function(p){for(var v,y=p.length,g=y%3,x=[],_=0,b=y-g;_b?b:_+16383));return g===1?(v=p[y-1],x.push(r[v>>2]+r[v<<4&63]+"==")):g===2&&(v=(p[y-2]<<8)+p[y-1],x.push(r[v>>10]+r[v>>4&63]+r[v<<2&63]+"=")),x.join("")};for(var r=[],i=[],o=typeof Uint8Array<"u"?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var y=p.indexOf("=");return y===-1&&(y=v),[y,y===v?0:4-y%4]}function f(p){return r[p>>18&63]+r[p>>12&63]+r[p>>6&63]+r[63&p]}function d(p,v,y){for(var g,x=[],_=v;_>1,p=-7,v=i?a-1:0,y=i?-1:1,g=n[r+v];for(v+=y,s=g&(1<<-p)-1,g>>=-p,p+=c;p>0;s=256*s+n[r+v],v+=y,p-=8);for(l=s&(1<<-p)-1,s>>=-p,p+=o;p>0;l=256*l+n[r+v],v+=y,p-=8);if(s===0)s=1-d;else{if(s===f)return l?NaN:1/0*(g?-1:1);l+=Math.pow(2,o),s-=d}return(g?-1:1)*l*Math.pow(2,s-o)},t.write=function(n,r,i,o,a,s){var l,c,f,d=8*s-a-1,p=(1<>1,y=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=o?0:s-1,x=o?1:-1,_=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,l=p):(l=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-l))<1&&(l--,f*=2),(r+=l+v>=1?y/f:y*Math.pow(2,1-v))*f>=2&&(l++,f/=2),l+v>=p?(c=0,l=p):l+v>=1?(c=(r*f-1)*Math.pow(2,a),l+=v):(c=r*Math.pow(2,v-1)*Math.pow(2,a),l=0));a>=8;n[i+g]=255&c,g+=x,c/=256,a-=8);for(l=l<0;n[i+g]=255&l,g+=x,l/=256,d-=8);n[i+g-x]|=128*_}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t){},function(e,t,n){var r=n(7).Buffer,i=n(43);function o(a,s,l){a.copy(s,l)}e.exports=function(){function a(){(function(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")})(this,a),this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(s){var l={data:s,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},a.prototype.unshift=function(s){var l={data:s,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},a.prototype.shift=function(){if(this.length!==0){var s=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,s}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(s){if(this.length===0)return"";for(var l=this.head,c=""+l.data;l=l.next;)c+=s+l.data;return c},a.prototype.concat=function(s){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;for(var l=r.allocUnsafe(s>>>0),c=this.head,f=0;c;)o(c.data,l,f),f+=c.data.length,c=c.next;return l},a}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var a=i.inspect({length:this.length});return this.constructor.name+" "+a})},function(e,t){},function(e,t,n){(function(r){function i(o){try{if(!r.localStorage)return!1}catch{return!1}var a=r.localStorage[o];return a!=null&&String(a).toLowerCase()==="true"}e.exports=function(o,a){if(i("noDeprecation"))return o;var s=!1;return function(){if(!s){if(i("throwDeprecation"))throw new Error(a);i("traceDeprecation")?console.trace(a):console.warn(a),s=!0}return o.apply(this,arguments)}}}).call(this,n(0))},function(e,t,n){e.exports=o;var r=n(27),i=n(5);function o(a){if(!(this instanceof o))return new o(a);r.call(this,a)}i.inherits=n(2),i.inherits(o,r),o.prototype._transform=function(a,s,l){l(null,a)}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports=n(1)},function(e,t,n){e.exports=n(13).Transform},function(e,t,n){e.exports=n(13).PassThrough},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeParams=function(r){var i={delimiter:",",ignoreColumns:void 0,includeColumns:void 0,quote:'"',trim:!0,checkType:!1,ignoreEmpty:!1,noheader:!1,headers:void 0,flatKeys:!1,maxRowLength:0,checkColumn:!1,escape:'"',colParser:{},eol:void 0,alwaysSplitAtEOL:!1,output:"json",nullObject:!1,downstreamFormat:"line",needEmitAll:!0};for(var o in r||(r={}),r)r.hasOwnProperty(o)&&(Array.isArray(r[o])?i[o]=[].concat(r[o]):i[o]=r[o]);return i}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initParseRuntime=function(r){var i=r.parseParam,o={needProcessIgnoreColumn:!1,needProcessIncludeColumn:!1,selectedColumns:void 0,ended:!1,hasError:!1,error:void 0,delimiter:r.parseParam.delimiter,eol:r.parseParam.eol,columnConv:[],headerType:[],headerTitle:[],headerFlag:[],headers:void 0,started:!1,parsedLineNumber:0,columnValueSetter:[]};return i.ignoreColumns&&(o.needProcessIgnoreColumn=!0),i.includeColumns&&(o.needProcessIncludeColumn=!0),o}},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,b){_.__proto__=b}||function(_,b){for(var w in b)b.hasOwnProperty(w)&&(_[w]=b[w])};return function(_,b){function w(){this.constructor=_}x(_,b),_.prototype=b===null?Object.create(b):(w.prototype=b.prototype,new w)}}(),o=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(53),s=o(n(15)),l=n(54),c=o(n(16)),f=n(57),d=n(28),p=n(58),v=o(n(59)),y=o(n(29)),g=function(x){function _(){var b=x!==null&&x.apply(this,arguments)||this;return b.rowSplit=new p.RowSplit(b.converter),b.eolEmitted=!1,b._needEmitEol=void 0,b.headEmitted=!1,b._needEmitHead=void 0,b}return i(_,x),_.prototype.flush=function(){var b=this;if(this.runtime.csvLineBuffer&&this.runtime.csvLineBuffer.length>0){var w=this.runtime.csvLineBuffer;return this.runtime.csvLineBuffer=void 0,this.process(w,!0).then(function(S){return b.runtime.csvLineBuffer&&b.runtime.csvLineBuffer.length>0?s.default.reject(y.default.unclosed_quote(b.runtime.parsedLineNumber,b.runtime.csvLineBuffer.toString())):s.default.resolve(S)})}return s.default.resolve([])},_.prototype.destroy=function(){return s.default.resolve()},Object.defineProperty(_.prototype,"needEmitEol",{get:function(){return this._needEmitEol===void 0&&(this._needEmitEol=this.converter.listeners("eol").length>0),this._needEmitEol},enumerable:!0,configurable:!0}),Object.defineProperty(_.prototype,"needEmitHead",{get:function(){return this._needEmitHead===void 0&&(this._needEmitHead=this.converter.listeners("header").length>0),this._needEmitHead},enumerable:!0,configurable:!0}),_.prototype.process=function(b,w){var S,P=this;return w===void 0&&(w=!1),S=w?b.toString():l.prepareData(b,this.converter.parseRuntime),s.default.resolve().then(function(){return P.runtime.preRawDataHook?P.runtime.preRawDataHook(S):S}).then(function(E){return E&&E.length>0?P.processCSV(E,w):s.default.resolve([])})},_.prototype.processCSV=function(b,w){var S=this,P=this.params,E=this.runtime;E.eol||c.default(b,E),this.needEmitEol&&!this.eolEmitted&&E.eol&&(this.converter.emit("eol",E.eol),this.eolEmitted=!0),P.ignoreEmpty&&!E.started&&(b=d.trimLeft(b));var T=f.stringToLines(b,E);return w?(T.lines.push(T.partial),T.partial=""):this.prependLeftBuf(d.bufFromString(T.partial)),T.lines.length>0?(E.preFileLineHook?this.runPreLineHook(T.lines):s.default.resolve(T.lines)).then(function(j){return E.started||S.runtime.headers?S.processCSVBody(j):S.processDataWithHead(j)}):s.default.resolve([])},_.prototype.processDataWithHead=function(b){if(this.params.noheader)this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=[];else{for(var w="",S=[];b.length;){var P=w+b.shift(),E=this.rowSplit.parse(P);if(E.closed){S=E.cells,w="";break}w=P+c.default(P,this.runtime)}if(this.prependLeftBuf(d.bufFromString(w)),S.length===0)return[];this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=S}return(this.runtime.needProcessIgnoreColumn||this.runtime.needProcessIncludeColumn)&&this.filterHeader(),this.needEmitHead&&!this.headEmitted&&(this.converter.emit("header",this.runtime.headers),this.headEmitted=!0),this.processCSVBody(b)},_.prototype.filterHeader=function(){if(this.runtime.selectedColumns=[],this.runtime.headers){for(var b=this.runtime.headers,w=0;w=T.length)k();else if(j.preFileLineHook){var I=T[F],D=j.preFileLineHook(I,j.parsedLineNumber+F);if(F++,D&&D.then)D.then(function(K){T[F-1]=K,E(T,j,F,k)});else{for(T[F-1]=D;F0?r.concat([d.csvLineBuffer,f]):f}(a,s);s.csvLineBuffer=void 0;var c=function(f,d){var p=f.length-1;if(128&f[p]){for(;(192&f[p])==128;)p--;p--}return p!=f.length-1?(d.csvLineBuffer=f.slice(p+1),f.slice(0,p+1)):f}(l,s).toString("utf8");return s.started===!1?o.default(c):c}}).call(this,n(3).Buffer)},function(e,t,n){(function(r){var i=n(56);e.exports=function(o){return typeof o=="string"&&o.charCodeAt(0)===65279?o.slice(1):r.isBuffer(o)&&i(o)&&o[0]===239&&o[1]===187&&o[2]===191?o.slice(3):o}}).call(this,n(3).Buffer)},function(e,t){e.exports=function(n){for(var r=0;r0),this._needEmitDelimiter},enumerable:!0,configurable:!0}),l.prototype.parse=function(c){if(c.length===0||this.conv.parseParam.ignoreEmpty&&c.trim().length===0)return{cells:[],closed:!0};var f=this.quote,d=this.trim;this.escape,(this.conv.parseRuntime.delimiter instanceof Array||this.conv.parseRuntime.delimiter.toLowerCase()==="auto")&&(this.conv.parseRuntime.delimiter=this.getDelimiter(c)),this.needEmitDelimiter&&!this.delimiterEmitted&&(this.conv.emit("delimiter",this.conv.parseRuntime.delimiter),this.delimiterEmitted=!0);var p=this.conv.parseRuntime.delimiter,v=c.split(p);if(f==="off"){if(d)for(var y=0;yd&&(p=v,d=y)}),p},l.prototype.isQuoteOpen=function(c){var f=this.quote,d=this.escape;return c[0]===f&&(c[1]!==f||c[1]===d&&(c[2]===f||c.length===2))},l.prototype.isQuoteClose=function(c){var f=this.quote,d=this.escape;this.conv.parseParam.trim&&(c=o.trimRight(c));for(var p=0,v=c.length-1;c[v]===f||c[v]===d;)v--,p++;return p%2!=0},l.prototype.escapeQuote=function(c){var f="es|"+this.quote+"|"+this.escape;this.cachedRegExp[f]===void 0&&(this.cachedRegExp[f]=new RegExp("\\"+this.escape+"\\"+this.quote,"g"));var d=this.cachedRegExp[f];return c.replace(d,this.quote)},l.prototype.parseMultiLines=function(c){for(var f=[],d="";c.length;){var p=d+c.shift(),v=this.parse(p);v.cells.length===0&&this.conv.parseParam.ignoreEmpty||(v.closed||this.conv.parseParam.alwaysSplitAtEOL?(this.conv.parseRuntime.selectedColumns?f.push(o.filterArray(v.cells,this.conv.parseRuntime.selectedColumns)):f.push(v.cells),d=""):d=p+(i.default(p,this.conv.parseRuntime)||` +`))}return{rowsCells:f,partial:d}},l}();t.RowSplit=s},function(e,t,n){var r=this&&this.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(29)),o=r(n(60)),a=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;function s(_,b,w){if(b.parseParam.checkColumn&&b.parseRuntime.headers&&_.length!==b.parseRuntime.headers.length)throw i.default.column_mismatched(b.parseRuntime.parsedLineNumber+w);return function(S,P,E){for(var T=!1,j={},F=0,k=S.length;F-1){for(var E=b.split("."),T=!0;E.length>0;)if(E.shift().length===0){T=!1;break}!T||S.parseParam.colParser[b]&&S.parseParam.colParser[b].flat?S.parseRuntime.columnValueSetter[P]=d:S.parseRuntime.columnValueSetter[P]=p}else S.parseRuntime.columnValueSetter[P]=d;S.parseParam.nullObject===!0&&w==="null"&&(w=null),S.parseRuntime.columnValueSetter[P](_,b,w)}function d(_,b,w){_[b]=w}function p(_,b,w){o.default(_,b,w)}function v(_,b,w,S){return S.parseRuntime.headerType[w]?S.parseRuntime.headerType[w]:b.indexOf("number#!")>-1?S.parseRuntime.headerType[w]=y:b.indexOf("string#!")>-1?S.parseRuntime.headerType[w]=g:S.parseParam.checkType?S.parseRuntime.headerType[w]=x:S.parseRuntime.headerType[w]=g}function y(_){var b=parseFloat(_);return isNaN(b)?_:b}function g(_){return _.toString()}function x(_){var b=_.trim();return b===""?g(_):a.test(b)?y(_):b.length===5&&b.toLowerCase()==="false"||b.length===4&&b.toLowerCase()==="true"?function(w){var S=w.trim();return S.length!==5||S.toLowerCase()!=="false"}(_):b[0]==="{"&&b[b.length-1]==="}"||b[0]==="["&&b[b.length-1]==="]"?function(w){try{return JSON.parse(w)}catch{return w}}(_):g(_)}},function(e,t,n){var r=n(61);e.exports=function(i,o,a){return i==null?i:r(i,o,a)}},function(e,t,n){var r=n(62),i=n(74),o=n(103),a=n(20),s=n(104);e.exports=function(l,c,f,d){if(!a(l))return l;for(var p=-1,v=(c=i(c,l)).length,y=v-1,g=l;g!=null&&++p-1}},function(e,t,n){var r=n(9);e.exports=function(i,o){var a=this.__data__,s=r(a,i);return s<0?(++this.size,a.push([i,o])):a[s][1]=o,this}},function(e,t,n){var r=n(17)(n(19),"Map");e.exports=r},function(e,t,n){var r=n(10);e.exports=function(i){var o=r(this,i).delete(i);return this.size-=o?1:0,o}},function(e,t){e.exports=function(n){var r=typeof n;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).get(i)}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).has(i)}},function(e,t,n){var r=n(10);e.exports=function(i,o){var a=r(this,i),s=a.size;return a.set(i,o),this.size+=a.size==s?0:1,this}},function(e,t,n){var r=n(101);e.exports=function(i){return i==null?"":r(i)}},function(e,t,n){var r=n(18),i=n(102),o=n(21),a=n(22),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function c(f){if(typeof f=="string")return f;if(o(f))return i(f,c)+"";if(a(f))return l?l.call(f):"";var d=f+"";return d=="0"&&1/f==-1/0?"-0":d}},function(e,t){e.exports=function(n,r){for(var i=-1,o=n==null?0:n.length,a=Array(o);++i-1&&r%1==0&&r0||this.converter.listeners("readable").length>0),this._needPushDownstream},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"needEmitAll",{get:function(){return!!this.converter.parseRuntime.then&&this.converter.parseParam.needEmitAll},enumerable:!0,configurable:!0}),l.prototype.processResult=function(c){var f=this,d=this.converter.parseRuntime.parsedLineNumber;return this.needPushDownstream&&this.converter.parseParam.downstreamFormat==="array"&&d===0&&s(this.converter,"["+o.EOL),new i.default(function(p,v){f.needEmitLine?function y(g,x,_,b,w){if(_>=g.length)w();else if(x.parseRuntime.subscribe&&x.parseRuntime.subscribe.onNext){var S=x.parseRuntime.subscribe.onNext,P=g[_],E=S(P,x.parseRuntime.parsedLineNumber+_);if(_++,E&&E.then)E.then(function(){(function(j,F,k,I,D,K,W){D&&s(k,W),y(j,k,I,D,K)})(g,0,x,_,b,w,P)},w);else{for(b&&s(x,P);_new Promise(t=>{RDe().fromString(e).then(t)}),IDe=new s5,DDe=e=>IDe.parse(e),FDe="shlink",z4=e=>`${FDe}.${e}`;class BDe{constructor(t){Ll(this,"get",t=>{const n=this.localStorage.getItem(z4(t));return n?JSON.parse(n):void 0});Ll(this,"set",(t,n)=>this.localStorage.setItem(z4(t),JSON.stringify(n)));this.localStorage=t}}class UDe{constructor(t){this.storage=t}getTagColors(){return this.storage.get("colors")??{}}storeTagColors(t){this.storage.set("colors",t)}}const zDe=e=>{e.constant("localStorage",window.localStorage),e.service("Storage",BDe,"localStorage"),e.service("TagColorsStorage",UDe,"Storage"),e.constant("csvToJson",$De),e.constant("jsonToCsv",DDe),e.serviceFactory("useTimeoutToggle",()=>yD)},Sl=new N6,{container:AC}=Sl,VDe=(e,t)=>(...n)=>e[t](...n),WDe=(e,t)=>({...e,[t]:VDe(AC,t)}),HDe=e=>t=>Object.fromEntries(e.map(n=>[n,t[n]])),hb=(e,t=[])=>l6(e?HDe(e):null,t.reduce(WDe,{}));_oe(Sl,hb);FIe(Sl,hb);eK(Sl);EDe(Sl,hb);zDe(Sl);MDe(Sl,hb);var kC={},QO={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=t.clone=t.recursive=t.merge=t.main=void 0,e.exports=t=n,t.default=n;function n(){for(var c=[],f=0;fz.length)&&(B=z.length);for(var H=0,ee=Array(B);HDP({appUpdated:boe,servers:lDe,selectedServer:e.selectedServerReducer,settings:kDe}),KDe=e=>(e.settings&&e.settings.visits&&e.settings.visits.defaultInterval==="last180days"&&(e.settings.visits.defaultInterval="last180Days"),e),YDe=!0,j9={states:["settings","servers"],namespace:"shlink",namespaceSeparator:".",debounce:300},ZDe=KDe(kC.load(j9)),XDe=e=>LD({devTools:!YDe,reducer:qDe(e),preloadedState:ZDe,middleware:t=>t({immutableCheck:!1,serializableCheck:!1}).concat(kC.save(j9))}),QDe=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function JDe(e){if("serviceWorker"in navigator){if(new URL(Av.homepage,window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=`${Av.homepage}/service-worker.js`;QDe?(e5e(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA")})):A9(n,e)})}}function A9(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function e5e(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(i=>{i.unregister().then(()=>{window.location.reload()})}):A9(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}const k9=XDe(AC),{App:t5e,ScrollToTop:n5e,ErrorHandler:r5e,appUpdateAvailable:i5e}=AC;t6(document.getElementById("root")).render(m.jsx(c6,{store:k9,children:m.jsx(_6,{basename:Av.homepage,children:m.jsx(r5e,{children:m.jsx(n5e,{children:m.jsx(t5e,{})})})})}));JDe({onUpdate(){k9.dispatch(i5e())}}); diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.gif b/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.gif new file mode 100644 index 0000000000000000000000000000000000000000..dcf57c87cff18b207351100698b71cb90182b848 GIT binary patch literal 642 zcmV-|0)72QNk%w1VSoUD0Pq0-MU~?K001HR1O*BJ0RSuj0001h0Du5M0{@JUsmtvT zqny-$i?i0X`wuqTNRnTPg{q3SXylsf9L9DQ+$qiXkKXbLhYsNGU?VDv#*xAalP!rl z3G{TGYFSxJH^JDO&RH`)~#H-=4|S9Be}2-laOVF>?~7mGwdx~ht;Mecpl6;qw8v{F}xY=@~U@I zs@{nCiVh}R_-0mhfR$n_*f?Pfnt%@{t-O;cX0?3Pu1xEB?Z429CzEyz_H$;GpjD^t z$j`OqcWhshM0&Tj?Z7S{&|gXWdn2#{ec$eFn_%=v~WH=t8M(bE-x z+=UmFg1zN;pmz*v<)COnB^aS(_wnZvfRAL@p;fOLIGTp(kvO7k9C9|0X{YU09ci(J cX3%LhzF6FgD!Qnngx2(!7mz{@sZRj_I~GVjdjJ3c literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.ico b/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.svg b/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.svg new file mode 100644 index 00000000..5a085bcb --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/favicon.svg @@ -0,0 +1 @@ + diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-1024x1024.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-1024x1024.png new file mode 100644 index 0000000000000000000000000000000000000000..e468ac0a91cc46b31f61364b16ffeafac44fade2 GIT binary patch literal 8726 zcmb7pcU%<9vv1GrvanB#EpdNERhZ+QD%2C;}!x6j+Y| zP@)nfxnlwZ2`V|bdjtfPBtg=$a|h4w-uFK5pZB@@;X_qdf2+E>x~98&<}W)Na|uxe zQ2>C%9*aNr13)HNG7upV#Nu^#AwgEzSsgSp5418%>NC4V{Pq9-|NrtoY3DNuuvqYZ zn*%^r-zloNxqlK*krgtA2otyW{ITO;c-L^RP|}+X(g0C1n&FIv8NADpF8MAx$#mWY z6T1JOpUN6s3v&BoWAU`<*UQ|Lps5(w+}7(df$YOB89&E7IjNCAa=&xNPtN<%73da8 z{BmTqeGr`f_=x6_PcAlCUw@ZF<%JKHaQcJ8nx7k`g)#Sjqc6GBsp#S@m9b+~5;H91 zO@&jH8q>wUnv+OH`&is{)DD}ppPP1DV^A4x?E@9u*!;!absOYT>k#$4l~xd2@@32W z>!|g8d~y=7-)f}lL&E$;Zc7kcQYUE2CxbI@B%NW?!>)xFugQ!T=5&_0|Bx9!GE?PCiidF@`9Qr7v9ZX=cMOqIO z!3YUiCA}OlYAvw6mX)=KKnnPkW~U215C?048dSik{6eWhnxUIyl#E&E4gm`o5k_cW zH|i(!@~dYLZxUe&Bg)coAd7TXlwFM2LCaxO9?3qJBe>Ff`s^LgyBiq%+5Fk2h&_SkS0%oYziJASLk7qZC}&fXV1~8m zs#ja6oQ4_o#iz?`uOtuME7<FPFh=C~D92Te?$+96eB=!{3?Z@GGx zcWoEg4b{aZH(W<3WRVv!lfxbxK~qs5=L z3K%+N7_5bN}lC?%6$e3=7C8!#!Ed}#unA^sy7Zw}H&p&n1>qOs(gRlMAk+48sBpL!Ui)l58@j!prqEI7UM=bJOk(i~tLu1ouRIUPi2z5^to|A6SuBfj?P0 z;Bj8Zsz+%Z7b{`|N2D_;yj2i$c)2}k+#SYx)~9+8t8zuo9sm!5k0wxo@$PoQ5E=EC zJ1G?O#JKt%^!zI94Fztyw73dlQ_-dz6)CFL>mGdnnTaZ(CSuvC2e7|K9$&E2pIweATls<{ zcTk_V&qCisbZFV1_7)-jR3^7rcBirnJX993>R>kwlZuhuPe^~AUcTR&%I-4~%g)n= z4!;;R5G#{iEQh5rALD;KecNy%YHW)JA3h4nDEf12xIvxV11?uqh z7zy|SYT$4Oz!VVpZXtx~qvWBoghyX23&<%j8kU{cLv99gLY~7z1kE`cgm#d}C+f8R zFupH?B4Y|O_3VdbABf#X$3XId@KBi|crL>h zPAQyD@CVf9({6C}R+KEKItjq{p2GvUciD7;H=yd8`YrD2&UwO@(k~U9+Tth`__mD^ z533=rgre{(HEfv+ZYX{egb-p$k~((H1rJwRitluS3Ib2{%$vg&sJshqL5#uJv$#w7 z4(krsQX)8|unuw#Sae@)0mpUB*BmS$du2Qk+{z{kx-+T$$Ie-@;;*(0+T zl#RFLNsF9aS9@qYbJ4(Y!Ma@Y@6FNSt)w%DE`DI}zZz=HJQGZm4;m$yTsbSq4pACB z<9g%xM8MZ_(^uS>;~zR0jsVB$SE?7JR$z-4wJb*o!HlXF`fuChO45SVXE4eLCk+w8 z8OHGs;rL6%C8YC`@Hx(t;0ewd5OAlW9@aP|@OQ89NwE03s+pl(2}R-Oga{!#r24d( z;aUkz5$5JEYE9XSiLqG)U|yIYmjw45r=;Hg&04o&aaZ97#_}tIdmTfnm(6fHKSI9y ze@h5MTjwtxJJ7?>eY;3nKdPGYMG(7uM#}0Gj$B?4-v2*xi~kWM5{Ri^Qo{uJ`846; z)kV@m?tlCD+fBP>h9hc@Ga-cq;rPr_7BBo85fQ=C%(RfbIF|h{+OCZe_@9oO)4xY_ zCh+S=R1KdREeJP8epBt|wlE6Znl_B6_T$d@+xx6=_pyzMM;b!t;(ICbzc{>l@yYgm z)rC1Toe2AJ_pG|cxAdl7{L_9P|J)Id4{_Wc1cr@^d8+tc|BCLz`0Jt% zh@*}hSa%nTVAZ%xAE(WqV`otD7`(wH9}T|34cab)y9;j#-1LC{Z4oqxgZ6Q@x@2sM zl%@ambkO-j4J$V~`eTn7*ec+>o?1}enktGla?k7_eoebR6UEB7Vb%ENwswCA z&W;vhet$k6lq3sv%rZ;`Ga(n9$jm-`cs9Qz@52&zTu^WCS|UVnh#)PKbyxW8Rebgb z9^vi_y}>Q6J2%frj8|r`_}m}6?~7n%8CR5RiDK=GY8Zd4K9&M%1lMXVZqFA%60|Mw)-H2+)6qC|r`wnycU*`IjyOrG{!5glD zV6U6xdkD+TsO{qv$+qXfc_Cu_p(Ln^7mZN!&xH zvL@>#z|CuVxDf|8H|gSZ0mNm`q|V5l*Blm&cM>3xUHl)F?t{5<65tV@IjPgY`ZXh8 z&iM$C+fI{X86dbSQ2vk*9T(o&zA@#mGYTL}^OWFio@i=UAqB|c4wgJl7lWrR;!#N2J5ZIf>>NKF_D5sKuahSm4uzY@b47M0Wv%4|KF`8^r0)Bw} zp2K>b>(>1K1qDP*@P7nX9vY_rpO5?n4w}9Cr6Q1fH>uNm3P@K%Xp$Z-ki}L|KLfP! z?%a&V`#=6R00qwm-R5ICeS><^R$%l!$EpUVhmwGHwBSk~_s??%KsV?sS2b?~tqMX@ zP4Q##nrNXSD43dasF7s8p>)7}>pdB)?0C7i>A$reZd(fq2Lbx9iIcKs*S$f2tim@d z%b?8?KySiL$s7!hNNokp2flJS!j1z(&UjYy7i9F`#M*;^eYKom^Y9cBy=b?9zF0k#rfE}>yce5-oK@`Ap z^qWEHj)R|l(N6MQOVr#9OK7s8X4_*Fwn%1qUz3C!g-}>`adbo06E#}Qvxp=g6C#VWKtzi^Qo-4OrkKH9r+I}{tvy?LC8(H;F;)z+`dU$NLLtj zOGssn{${SGvI5|FhPVW1NMf-_T??5;&qS^l9G{z6iG>e3UZfxrcUUn}Cg>3YK|A zEGDd$B`Rz0GZSN6LBa8a$gr1_q3OhEq0zbR-oP=Huw}aIhCU)wX`_8qV5UPQO8`ld z^=qpr%csS?TCf7|8h>GOlXkaY^dQs@9eKyWL6K)SS09oXKP)hNB$xs z!9xwXWd^uXTt;^1gpU5}>hOv)Yozs1Z;WH1-Kl_)^)UCjmEYFK=$zn2C<3D6eN(q; zRM$B(;PaS&rBP|kmlvmqivXrKnsL8HSP>=U@r0`*>xg_^3GX|R&c7nw)NR`aToF>` zEta?Up|^K_AhWkOf9iMBYm(@UX)>jIfltE6K3vyFWSfEQfLq=CCIzO57n(VtbL_9` zH!-jGEg>8lO$KjBVEgEGwbxkJt_@wz34H_t^{{hu$*JG3SC(Z0HpHKkG7@4#sVF6U z1HRwk5yfud^9~}PKFOV1ErGd$q1r@N_7#d@ptAIP$m)JZ{0Cr0T&A*#=pR{QOY$S) z(?KdSK1A|5`I%xEO%qYTrUs<8)qfB!xidq`=%tV)nx}uN?%W`psad0d`XgSrg~sVH5Z+-);H^(n`^$)oF@?R$SjFHA3;e`)akzQMsGx#>t3U~1nAArQ2J3BBiYR0`~0e4S&aL>JhXpN{gr9Ce78-AiZAfG6TjzFD*lmc zoN^&~ z2lQ8?AIlr2b#`-eExZ}M2&sdki2<|zERL%D&4WeVQ4U)l5~Cd7@@Vf@ZHB2GFfWD^xceLB$!)XUd# zZPUoW0)6^->45s*Vj_Xmk1g+YyKcKCY(xxcOpT(i-D@gPqQ>7WIoPsM8dbDAE5p{R zw?KblP6$d)*+w$D>JG4TbK8&;xvOu4w&lNm5)R029gPx0<_>>j3=*Z?j-vJ2w@yWqk zXiVbeRnN@M(23UL&(7mv_JBtBEWX(fz1a=GQEI`&$+b$B0F-8R-bd6Ih6?{&TmV$N zPdaOr%~X~FKrPTK`{FoKef=B&K3^r7YTE@jV8Th~0Ac2p?ONcmXrLc_^Zgps{_Qfb zY16ZdqT>PD-r@ynalk_uy#~Uok`7#-Ip2r(Yhxud8h{7|G%ei5X&DCv*>I)HUPH3q z`X3Ai@LK_W&V8#2+f?K{IegIlM`}RkS|YSx9WPUx@VGFjBrTN~)^fL4bJ@Gk^0H{> z2KeqRpm|Sd=*Z#Tok9K`_o&2uQKJ|~7YOOns;^G!2&IL3!6U?` z(P!z9&nro0_H(bmPlf3bcSMHBN$1zI*P7~wfBGOA;oGp;pFQAOyZSz5-d9 zzbv|;^Pa(#b7aS#+URN<_3|;h;rC?X!uiSt?5Ye69zOURJUqUQx8X?rSt%$r?e@}Y z1dB2Ma*)V3F8|&1nK}|xQw(lwxU&|kC`K)}naO&`hH)9+EhFiUa4S> zHd&y`ioiPWf!D||r-B1{|6R72|YQ7(QMv?)|@~Yr% zq2Puy+8S>Kkc*x1CP_NfAKcFH9%6RDNJSoaq?(_K3QHkldxE#?g72FXRHFKL$*tsY zgWLo$)IZ4y=vCy22BL4)GUdN+fj27AA@rswTf1Hxv>r_wf;qOd$5Z=O1e3le%R@2!9g{q zc%lNZD5vG*yuXkYny?!Caa?PqwH5kLN9(K>4G25RH&v(3D+RO=k9~aEfXS`W!-d%p zT9AD^{ntU24avbYa4EuhV;S3H#XpuXI4br`ZPC2@3|_!hgD|z`lf`$P-7h5q|B2huV@@7px29MY16EElJ z-WDh8?Yp_4mLVp$0b5y)?sb=8UnWfcd7Dp7Q?_Hi(Lg~k#Id4Up&KWjlZW7DA^yiN zG-lRzU8n?PWc7ztm%1-BtQ8?8JKRvvQi*|Qj$kMqfn8^8^K=bJxh zY;K9`TL+p|%eGZ)Yr~_d$Qo(6`0KN6`knfb8L!)6)U!SAPW$mDT-}=l-fr|M&3m^f zv#Dmgv~G`jAOFNgPeX_uu+s!mr%8VbHJ_i$rWob9@$qzV?RvK zzx8$x;H`^aLu1;X3S0{`AT&?a3cYtd)2cca<#vr#ZPsBxmq8K4i3`&J(FijUOhG#o z$1jl`ziuHLjyp@!P#UlzT_@gp*}x2SXdQ%lnl4sR5h@s3O|%edpcCU;&n{GI%N|e- zz0|_iQ=5ks`%uhK3o6-`1#W_T8?QpqodjI^M-FKW`WABPLbSw&Fn z$-W}8SC0fGYWNH611!+snVi9>=91Pro(~`hd6EOa;%bTj(K>}{SkNo2-&2ur)h7^QjvC>dy*eVrZrO}RXO9jgW z{R?qfxDbt`0#vfXY+=Zh4b(96o9`BT>SG}v^z?WG3iJ_1shEfzspTAT80usF(R7|e zu*yMFQOeRO*f9|`!25k1DvDFgYeaXBUlmcj2lX zp%9x-g4B>3=1&GCVbB5wdS)PqhDfE8iI-}70AS^)B!a#k;%gAvsHMyEy3W}S{fdQ% z4W0}TxTxvfW|T|^fQAwX0E0kZ9b1CXAw!|xZ90@fCR?DV0st`+qahDEO6HjorzvkY z!DS6n2phveIzmDOWVDzEsLYxeIWiskUY0>2S)ie#?XeJz*^zyYIHuX5!%ET!tY;i5 zPT2o5&4@xc;Uk;|!)hp=JoLq`Ty$Jq4YLxQsegJ8-VRaiM$Ud;__&&i+7^zeSjSkD zie2_yWT-*F2R*h@%c1J$&82c9U}f;&Jnjz@{&k&P4{~}xoJ`q(Dn_Gx)heSl`~VFw zSK19Zj$_Iu5Q>i_~>^ef9>fgp?T!7a)DsW2^gZWJ3Z8yiyCVIwjC+1_eAbpOCbPuBjqbXKN=oH z11pseC%b0G590E~ky2rv;DqmC>8zZ(}grNy{$W$4f$S%Y5h z8+#TTpV^}1g1j#W9y#rYnol;$qh!a{x!DPK6y@OM45uBZ=f!Dm_( ziM$9}Ip@;#XYYx}eREC32P>@VYu*NyWxY!16NLgnC-KoLFeSR(d8*WxGkP@a$BX%l z8$=9`whdK{RYj`0JDq=+H;Df{Ng;W3M%vd*;=O$c5m)6Vyx)|L!2OKNVRhA{T64JN z{51aFcqb8PV*jhyORUaN{4_pFBQow0kqu9lB#y+v#*LOH?6*D>EIuNf2~tFjHBdB4 z4GYb|!#FF%6G1OW;1;oC9RiC>IO4=s^0d))iEMVlhl%>6GHlVH{sWQd=_LZQiidKr zVItU$ovjnt(@e`Xq0 zs|MJ;DjxQ8VMaFq`np8;w)%8;P1G8ZEL$b~%zo8CQS8KPl?Yy&={+%#X3?C}W@qqq z(#RU-@-ojC(aS}ciUsx?zmJW=@Ll1?`Tp-7RAgD=_yl)X1#xw|j8@jLVnDMH`Fm8| zC{a}o!EjgGfmD1B!o*^cZ|_<;-Cr*tJW~(H>#hBib1UIk`1Yd(pF{O^5%T*- zIuXg)Vu%h8s?QiBLF?;|thnz`*3=&mNI$=OnB2Ber?P=9%G)j9{G=|IqAEgK-TGo! z<^H$sye-59z^nJu-8R=I0pIuKHyC~>QQa?1{Fx`&Gq<31A^4}| zj_#$aV}l1+`66gi`9cco#l%8@{ag328rMhLToII>Ra{(x+b&&IrqUatgL3fFFbE1* zACOR9&*yYih-p^G%89V|_K$FQ?w-zrf8&vICMR-gw?P{DH%raui_TbM)PJ#R!H}AkJ=@&wCS}R59a@&8W1Aj?!ht! zm$d&|DxdG_74UF<5CBW~YmO7S{xSMtV9fF{E>Z zF1{A^VCq7Z6d=P^=V=Ul(+Arj8Ems|3ZPyxhAiQjBe#=cUy?6%z_5oCg(8FP0lJVD z=^T|UME)1&jQlGY_tU1^C3`T(#d-R~H|oNq*x1d*C=+(1P-dVal(#=?g|rn4>M=yB zQe0e*D@cyCerUOFIOost^l@^4XGd%MYQS7 zhk9-R5EnlUJv%qmGt8+#3shZNUHb cH{NmtIQ9JV(PlLH%aZOMGn+s1b~4ZY7vgn&#Q*>R literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-114x114.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-114x114.png new file mode 100644 index 0000000000000000000000000000000000000000..fa813ad5921e4d40e120838a9efc0e3eaa7cadbe GIT binary patch literal 1080 zcmV-81jqY{P)LzX#hyrT_j?#!f4+&aPo9q8hPT zS}LFq*c%jO#slswn(}f$;bxDBkuowKF)igYAZlfbQBAGrA{~G)FH;Wzz^Lg8?r>tH zgWBWOTG16FPI#s}YT5p*p$lf5F%J&yaHYB8OhdPLh44*@WQRSk3vAd0H-==VrReBJ zdpNvOUG79^A8!srKV$+V7DM%R11!-uT$Ce^eSiZW^9dVtWVUe zSHz3*Kw)j@m7bC`^@Ae!z%yUbJ9a6W?$PX+5C4CPrhiaW0Dzf9igoG-MXG^kmPCSe zvVKscHu~&oxOz=k&x_PVlYFts_M|9DONpCmKA*@c;Mu~dn|h6}QBIPcPMZz=h*{&s z?RppL)8?vv*j&y&=O{0~9dGt@t+^PwV~>mP+Wjr~^7CP`0E<<}#Y}h0XN&OGRB!vE zrXORb7`@y!J9%8vCmNpTO)c*LLL-la9A#?;wY%62^o%8`vNUIsk!|08Uy`=V(X?^^ zPlwB)3ptvtJVUHyifzB2qgicZXSsRNqThZ$M^n?Y-HQ~SWFs3ON0W(&<#5$AWV`l| zW?~$+g{k*NvLy2~7d-Q7YkG6|Je1n7n;vRLXpi$VwRS&0)wl~dxhy8Oz9xNr_7OZd zO0CD~%pM^-IwhXsO_`rvzFAhC>}W>?o9wrVQ>;136}UiCk}H*L$|x_@toASLJI>WK zB*xv<&|xgl>>wlC0r{G~`6vb%*-p;T98C-jlWHf(6<&{dP*PWZZtg;x>woL#1chM6!HQ)A;t|E#600009eV(zoC178T-^(N+$KMAoAuCT+GE$L znCJ=*aPMj&2&8H_} zSHI%vzp%+q=YH3nboKl?n`*^18+BLC&q;3JzO?-G>%EEn^L3*C95}>kRKLmQah#Y; z|Iyl;57_0_N!o?ZE6_jWTJ*~$GJl6L)5Dw3*DxyFyQylHczc@ZilXf49{cCL`&>{x zT|)kO>a70nmc^x>N7$a}ow%{nJL$dN+v4YXopX1myt%uy=(*m^UuB(hK=^lAXH1=M z`0=6}q1P-|H+Ii7vw87q#)n8LUV{zXLa$b3IvZ*4m>Kzdx;T&gr?SmLfT2i50r8jQvM81kOxMoVaVzo)Vosn|`kQ zbm85l)v=+5=2KlW%U<^8vhCRW#&7orp^XLgmUGHf?M^a$pZ+&eTx9LBJF#Zzu>vCd z_U_rXt7L`w!N6-fuP#-UVwXvcmWrKKs&-LNym+TiY|?D*U7yy@QK^}{=2UXBrH)he zeA}4&&u{EG$m1}j`tEb5=6|!lH1$uiuH4@7wSXree`+K5lv1|76H`xZ$&!1OeUX`a zM7t>t?>vv*4QDyEZ4|(4-XGC+*Yc zrfYLoY`O9{BII*RL(J0{Ur!U8?yHBh-PV0#@jq3}^~&>zOZ1VTX}=2&h_|VU*reVv z4Ef-(^i|(7n-!H55;R*|b{X`1SKP`FWrNmw+~^S0cYd20_GZ%OPq$XT)E z&ATh&FPxU<${AntnXgy(;8&UFo7<|{_w_XA?sj2b->~HU3#kt`81}E&!|<|di}8oe zlKdJE)c*z*oOhBx=AU`ktD$bm$H!3_5#`J7Zb&)9R>!IMaR2`bTL%5hU#ylEBpm=| OXa-MLKbLh*2~7Y-<`HNB literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-128x128.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-128x128.png new file mode 100644 index 0000000000000000000000000000000000000000..25764c30db2971422adf0ef54b6edc450218f949 GIT binary patch literal 1165 zcmV;81akX{P)C0000yP)t-sM{rC; zlMU~@4mE%T~ z-!5D(YK2g9B9Nw|O2!g>o67=aWEc#Bdz}9g2`xp{C@bISE%PCMoaBr3T?6?gp9)}PIji3^ zh|l@3mIufT2J%Zj2}S@WgY8ScxUSF!Tn6iNK7{f-g2P~Y$S+PO0&p3~=X?mI0E>a| zYOB3-}wOa!82nop`lvQ!GSx@w$ixFk(8qg(k zWeF?{F*vKfT+37MFvLJtZF%O;yG7@DM>?^ZDC=$J>CRM&_cHAy13nb>T_A(BcRr6YlD!EqhN3ka z0}p&0SR3?rP!jk!9}U*x&dEehPX;3LZ&B2v0kwe|x=Sk&hSupcgGBeIDF&s$9E0K# z%rZEtCJcGB0gVZhul(rQ3`E~xFP|YoLi8hQ5Sl05o$~2x6z&=%`SG=O62)Vs8_D^I(IRi+t{>q*DL;pPZ_SFp^KKaiTeewZMs}-s<^!k4yw$ zMeOc!h^y=$!XChm2r3Ag|6W4YShB(>X#H8NIS1!A*va{A7mgbX#4$M^*U9;)XaBmA zUu>seYTm_ax;9m_|hDG0eZ fP0R3)KmPa!uS}AXH_Nl*00000NkvXXu0mjf5{w~J literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-144x144.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-144x144.png new file mode 100644 index 0000000000000000000000000000000000000000..5ca0d1e693ed7736802b5c2e0f8160d6fa7615da GIT binary patch literal 1410 zcmV-|1%3L7P)KsE9Y4yjLcA$E`VRN_N3GLha08XkZfy|sWm9O*_6 z;&h-J8{APwLvthD>Tg!kNJM@_XltWeGrTb-+N~N|(wS~WgiDrQyn==XVi>q$(s6Y# z(2ga>09R%@$U#9fju;j$s7xnbJsjky;x#lfeNT{1A6wILB*yS{|BKu~8$B_mivh*U z-`51{O!u<=x-)Z?SgEg%A`En46IzHaW;C|FQ(?{+en#kTe~-Y4U(INsE7?FR+7r)m z2c3ggmdc(9n>-VMfbkkA{};>x<9`^Z;NVs9@IY`NKVhn!m2dWPzStw`Agr zoJ3Ed#wBE;9O$h%iS-m(1J1;g>H$RHi^O^goaK8MvwROfBk3N-EZ@V=i0_dt;(Dav z!t}^n_@3uy^kfepE_{!0(aQ8l!#@91J^lKAK5DdXc6Lx81qV;>di3O}*sK=G83VoR z(NmK8)?A7fmmyPia%yKCK&>8{5_BEh15Wv-{V zQ4yEPPD}b^QSaI7yFKp`BPf?YR%D6o!SL_xgg$<#XyALGKlT(Re4+?3@I5fs+h`vw z8i?0pW4dz;P85CFHq!edWu(&KoRzQPdV#7 z+!p0VGuqgmatvjCU({$9Rt2sHFx~AV;NeqiQq(1;=XK;q1)tpW@fhqO>DcP*9E$Lr$fc-O;)p-`u!*a4IrvH6A=ZA+%?!C z9Pf!j2^e3+jp%+HI%dPKI*v>_E$*8 zf5qLeLtRY$qcbXN`SyA+Mp?WFFYZ9>;jx(bj8+9-^yjO6pG0pV9TjnZ!=Rg~m`cxX zL*XLIe%%7S_1lYWesAKUB5Jic|a)alix^-rXPk*!LD}*FeEy$vO(3xPFOru=4Zc!K2yy< z*mEiC$9pQ>Pu4^B`JU&G>LJm48;CFWYZ Q*Z=?k07*qoM6N<$f*2CA_5c6? literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-150x150.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-150x150.png new file mode 100644 index 0000000000000000000000000000000000000000..491fcba7f3b79f909a7d9ae8405fb15ebf0a8e13 GIT binary patch literal 1366 zcmV-c1*!UpP)*^H)e!#EL4ejwGJ9J~g2NHDR#3!7F zKJ56&1`p_C+v>CgfzLSmSxN@{m!*Q(j0^{SKzO|HC%lb8hWU#ZI2`aU7C8)*k@z2i zYLr?;fFf%^;{AA?$fCKNB(MHjI$%bK@E-9mwYEY7weT7mIUE$Qu5zPttX8R5CM;m8 z_a0_bopeb9nup$nFJTAf-nphF`Si%=x zb2BT#o@tizoZN$#Yi{*j#bB)Zdy!RtFUG3B7g-JHrJyy!k7h;j;#Y7$FR~iSOF=K9 z>u<$-^|#`@6!hf`Ls=2qh*rn`U}eRjCUvgR7OMR!t5dj@(0 zcclTW*g{<|u_JG#C{PJ5^iuOS!0H*RTd-UN0=9ZycK^mImcO#4YF>)5y2oV(Xydhf zV+A`MtvB*=_?d~Gy7Er~wDGcESy_tSqt{wnD|1-!4-pD%HM|THtJ^`J0B97ijfvGQ zrUyWycxnG&MFgr3&tAc=H7`s}<&!IK*_az$ub`?=C;Bt6Ub}^Nm{=<~srm3;Gt}{# z9$r`{c&}K+YkFL1zp`EnyoCzfS2gp=E5$qkafP>t=1SNIWoXkJ?!8Z*u13U7 z$}K(wwAhm+B6(4dTA(3Q!7JUithE1uitxRUR@RC86S|YvrLkwX4i3usE?z!6?B6es z^JaZEv)gWkT;_dH-J+FzQ!o0~b!Ao%dF8U#v+cYREfOu6%xkWpV0zKai=vV89(de6 zcWmqBZ>i6Dha>Yt!8?KFNZ;vbYVb6L~(3JnJ z<5kElicTu`s#cIkyj87*nTM*9*Ddlgnwf{HV_iPg&baGxZ(rIbS2lMj3pb`7=U4(S zTx9n`#x^by%$(LCT&v@2)6yZk4rIObr5kn%2kiGSrk>k~puOESg2J)gJa>9j%`taYHmu%EdE)L*z(j-oi9l%Tb`wl-*3vHfX5eRMYLXbVF zH}(q2!XK2!i>2E>Cn4ceT(y{XB-1rJ$(f;tS5C^T5XAsqlB@^`-MwVt(92n9NAY^l zd@uJs_FvIphEs5XMEf3TlfOyL8ZOp+W!qwp`3jkrhy8faYoI-Lji<0AlmK7~cq7>U zw?&OKm=k+jm6?XLLOG-rnjx)v=KPEg!~tW~G3O_IWQIO4H~eFug!m)=7FS;GsMEn0JR68irs!w#D~qKMeXz(gYg$hr&iR&nx`+@#6=> YKL8xr0BU3}UH||907*qoM6N<$g8534;{X5v literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-152x152.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-152x152.png new file mode 100644 index 0000000000000000000000000000000000000000..e2f866af70366766ddc91e83903c32b1cc6e8243 GIT binary patch literal 1360 zcmV-W1+V&vP)0{{R3FC5Sl0000#P)t-sM{rC- zmgGg1<3*L@MU~@4mE%Q~<3*L^M3v)3mE=X0<3*L@MU~@4mE%Q};zgC?M3&=4mE%Q~ z<3*L@MU~|19v0yM000$qQchC<5<_*9rG#21Pqz5~+8WRZ>Sn<+`^o8I000E5Nkl!9Os3q3T z@*mvnsS)~}1$OMH0m8(85qqkR-}wT2P-TqcYX+)HC%go8W0v@z*puop@C`0dExcvW zRGN)^OAK^}Syw}^5G-F%mj7XJKi%g*&$DobR8akPPmeQk4qs4ZqM@gWoMSEdFU6Cd zrDI9?zBCNph?(ImV{0PnX}lnbRs$Rw&iuqg5ygJJ;+{amT#~&=ymaHvpv)A^+G1i)=XD@h|`vt zWq0yM4|6amGVA%0y(6GiGGx`*GG4XJjDi$H6NkW_`0YW&8Hb3}Q;oDwrLPvtB1e zcr>UgubTN(GJj#E-HFOFzj}Yab0uEpvM(+6MYE~I3mF!@%+2@AOpzDuBAGPI<|41~ z=O>7?%uD?4oV9$fv!I>nWsT);2Rpb=e$8u`5p~YV80UP;*7VLKHn|Wom)S<#Z8*ryhuy!;bt?#h9y@q3+u+85X-QE2~&Fu3Ppf ze@H9Ltg0E-Y7!wFGG`|RI%dQOW-|d1Gee4`zb40VAt3WCks?d}?6le{8(`0yL4GGi zdd`~-Tw~sz3(Pjg5U0qNH!~J%S;uVmnGO+1laMz%Fdj8#*5hbZ&#Y@nj6%9MTOd~7 zET8=K&2U6mCPg?yg=WA+1|kmOjOwn_XbQ9KN(4rFfssB zkfpXx?_3>A+#<^J|nW+}$-fW{r%_6mG<{SH*80Z`OFdP`D zDt*d)x}_d|8F#*5Z{&lGlgoT8qpsa<8F*@ma2{idsIaYJ))@zt4<9~!DC8S%-tei{ S{cx=S0000005u}0{{R3yb+fl0000yP)t-sM{rC< zmgGpA&Xtysbv*Je0(eQY@DbMLK15j%XuOJpDR~!(|s~u0`o%i z0we2WpDL}$Yk;)Q8GavdZ34p;Pd_R^4tEhnZUU1y_xbY7q3!|d(vH6HAz9x7^c_Io zw|}!4TcnY-@yoZa;no4%8Vh)lIm><$^wS~5v#13g#+rs0-m-&d6 zzb!P4#$srtfw27%zKaP>HH4~FoQ{Rv5fMKX#)faUP>u2-{v+W!%!jDGQ>Yn}BYlYN zBWBIQSRbPNo;!p#5BDKLYOSR_8pugLWI2fXAl#|?Af)Ppkg5+tsy+yb`XD^0`XHq0 zgOI8ZLYh8ACaOLNsrn$K=|fba?GyGO>;tdv6WWEiZ83N)X7IR6<-#XJf;p{fG;i^j z_s6onyQ3V*lOdNYpQ-4x9mZ2@qdvPj-jCtwSU&S1VF1r;rNcK%DC}OEK3&RiA?ixo z#}9BeD>;`oju|4bsjL6<0P80}?*oLsbooT8O(yYp`%IPX^Wo=q{sIU$3wi4Eu~-?Y z86k9?K9NzBhYDkt50eU6u(86_=VKPt^>oU^@+5sdxYi&;iZqM^Xn%xg!e2Vll#*b`9&S6uOZ*CF~#;2F6?h( zV=g7Fnw>^$^|?#Fmja>8_YI44-uJIz2;qij9WsjD7V5J$!e9V#u27)-K#0$rlGsck z7AXGe5%L3=9{@2}D4#-KS-?li3s8kg|6bRXPr%wGR%McqT0RJy2FLTo_)9p#R-+Nz80d5bhqFms{ArH4D6yIYRSV1vSoA zuVgdzAtbDzdG{RxTX3EbWzb>d58}58yD;+q2>F4N!sv*- zLx_5$=bTg8!iZW(Q)saXX$mC@4NW0OpEz5nDFT^n2^B6eO`${2HA|Q-h5P#f-v&xT z9Htb$u?jju{=}!B;FZiiP@PZ}vrbte( z6JTOt z`-&(2CcF}f_{iQROD>J@$wJ){YBo8hA#{w`V z9w$J{sAREWudHNXlp>T3+p97%dXdJ*ggQesT)TBIWnUQO2ssMy%{SkC^ADr%s zmE}jA<3yF>MU~`5mE=X0<3*L@MU~@4mE%Q~<3*L@MU~@4mE%Q~<3*L@MU~@4mE%Q~ z<0phJ`~Uy|5_D2dQvePH9V|RfV|I#~r?bP<;p_NyCDB~~00kyVL_t(|UhUj%Z>%a5 z1z=tU1Vs4%KlY|c+jSj>f%ZiAZZhlBNsmn)L2zSHab4bd=N+lFR?Lmsr@eh-&%v@) zF1h_b#Y>J#^R0w*VW(8S!iOYgO)67+o=vl2=GIFwe3&Y=ehQx!4eeF3V!~Y7>v$ea zRR+$=qvw4aC30Y@y$v&HP_?WnMSpFxyEaaE32>ihT7$aKnI@b?^rKcBm*r(lRog^N z-x=H~afV6I`Ci+I8l357bXN)1W!8@A@$1%spppXQ<@oG`AH5?w|U7y{#Zv zTKoM(uj^CienErkDQA{Hx@fLgtJdE`WxcTyOzqcD-)?le_FJgj?{vz28ajQ33*8I~ z=y)Aar66liK*!Cw60GC;(5=VZwYVnh51`|-t5#eTm45-vJ?292+@@a***lql##v|m zgr-}Wh_63tQFAjBF=-mAg^0H^5gY3)R96BfB3<0tNA>|Uk}(mjwHn<_shLP%&IFV> z6Hw+%K$$ZEWzGbYITKLkOh9=vk(D_UQ07cPc{7p7oCzpvCZZy1CL*`Lz*KI;l*U?X z6sc1B{bi@CWi6lbjczlMhVm&>hU5Pirzn)6wpUE$&Sz0>Z&MQo^JZt4PPkQRQyVb# z);S<5nmufNCKVJD(U2)$9g}W=N?&Fwq8`PI@pAgFOLrP

<;=w#;o7qff0ImAM76r54@h#3llehpnWGYpr zu04Y(*<1t#v(un`s0mM?>xGMtY^L_Rt?Ia&z5*qdD>pGppSF_MW$sxcu2IMUUD5F* zQJsn0)6qqd4KQOp!HVP@h0U3<`#-YLvJhDJD>A9#0id~ChBTQ8o zd`YouQI7>4j^+S83YLmW8B8=h9W=?O%v~LiT*;xE{Q}4UzJENZuu04 zumC{46F@xK+md666=m zASth^Z|)S5*fe?Jy3N~vM_IbJlyS3gxKHzxn18*DD+D(|$WOWP+_MS;e1rl;3C9@5{HyOnq!^sK=Uhy7iSU P&}s%xS3j3^P6yMZ>=J*3aq++-@bhllT=!3C5^p{ z*f=bCc>}kQGrr^k@NV*0wJb^i-$>zp(E``RibtjCerC36TCr6Mz%Y&Ndw)2D09iWPmi@8ZU%yB{YY(x znoB{&ezh8HF6C*HN=l>Os?&J$=es!E%tg)LT&ek+>+}uHK$@w!oxY(NNHaCJ(>F8& zY5wN6n!mZI`J3y=@i({C{LMwp-&`jge{+wTzZrzQojJ?-t=UeSlyWl`SY%bgwwWgF z%MZ077+lZ^+h#HmpYxj-N_KC@x)8C>PcW)!#g@6XHMJ;$0hMpPVJ3w~>Fd>E^Vnh5 zc$^a)#<oiQ&#C}wMqTv za4;+ff34bJzZvwwvp51aa&|<5s_WF- zCuWF^rw!=3Gemu2ri4E&yP~Vqq(3l2t{$Boqt+ef`r#)HL)G#FGgat!YJyV=9p?H- zI~c28`^_Nmr^Q2`dO1lQmJW0EXsv~z$C^yP8C*H38|C%<6`1HOIO(*HaY*y=n>Ps~ctzzOuYm&jL<~Wao=E23zXj z@}AnjNtyr0(Brb(7CjOUm*o zLS&&9FB9!W?A-BZDkBU7wSOHa+}?hye*V-tRvqKsI8n{=rsqSS2CMb!y>HuD-Fhn5 zAu>2a!~vRuukQ3@5qYSOP7gcRYs9VE4;h=OUPugcwHg;IFLkKr`yo}6B@tPv#Zph5 zr&QVUqgunzs@r%u)~h()F_SR3ZSQNJk`|4>CZzyl%gf$sH@E)=w!+}l{u;flHZV4u z@bi7XmB(4#UK3U~9t&e5*R3{u29O-P)vnBB$JN+-YTrO-7#;Piec6E+p6ylZdY6yC zT2)g(*6Iq)T-`oB_^V^N5LrYGb+wI?9wt`=BMb98wW=o{*6Xoq`$kbAOq$Wv=)}Qa;^pfXBN?ed1G8snWH9C_4ARC7d zZIv14%t2jBJ|Qkxa>ZQIz(`%^b1^?;IjiTeYeofp)jk}2A_9|jV_me>BA3q`N+{f` zY?l$fHo@>HtQBj0a0z@(!uSX#ov@VL)P9e`0gFgX(nUY}=;S2eCtJ21p7X#Ys{R#b zEe>96%)qoTBc?UtUK3yQaq@=d#ql@Sd8X!e`G#hkZfHh%Lo;e%74?`g0H|+ z;f^Qu25`S)t$ZU6uP6LeBeQveqyNj3~1#zI|U%*1RrO?aSH5{ zB5q(4dx1_RZQ?D^pUga$G0+jvxI>VPW}&6O22dJ&mh|IUsPi+_1fM1T7bR%8kA~0E z@aG0HTzC>v_;Z7T7YdmAV*^p~4eHV(Js~VdcjN*-jI2L2Fb>}k8FW=T2EKpIeHP<> zWRTt$Ai?KR;U@+QzM)D6=i<(F5jpg=%dZ=(9P&dNHK6;Vd`W(a4@ekk)TxW|QGBhUx$_ePlAk}aPMu$tq5MfmDGkH;EnqjlSX%ts(&eHO@Il*w@vHKqV?b9V@IZ~s zKZ^EaLM;L=C#@0t`Axx1oPujHi^GBZa$nM48s9q{%I|QW0#_k?#i9KAy=G%I?bG~8 zbjlR2FwiZG?w?b{9*xPgPxI3ogs!Ygt=?9=;vrZ%qxbX6y7}6fD1jL8JpVSlQ|>Vn zXm^Q0vd8j^u=`Mfh*uc+gAcO%H%peu=Nrg6`1{k_^tpEgvS%2SgZahoLlM*R^6o^yP?44b;K>a7$-l&;UM)9?VY#8n7@h{ro+F z{z!&TlKc5Pmr%b3<+?#Y^3y?lxj`HM{pmEyVH}t^_WP5C%)+=qC>Ok3zuo^7#BZzy z%UK59e0lVB-Skx3pieXC^q-gUz1ovOOy_>$K*0{8k{N!i1`C{3gHHdykg+*d1DDP) z=;sIFI(psVVKe8DIOT!5W?`sP1(&A2tBFdcSDs zlAc#tlKhjgvu5WS3+& z53T;8719zPgGl?n8txQQmKCYNm2*)eEt)1z30A`Bz}vfF7e68-&tb z2r5t}sDY^)XSk&1sll?b^Gg=}EHyBWw&Rm!bI45H8Z^8i9`hsj8qf}%eOblB!qLE* zz5J+NcOhZrXb?5r5Ek!bx{Iosqd{nT^NlG*@*_sW(E!oq)~v%P3e8W)3>yPVG+X(x z3YL3Qijy=yua=|9{rs>XAp#df?&gPNksv1cR7<{vl)V2D&gyW3>J!{Rf(J&JQc3(K z;ErJb&y>uP1Kx>V^j^qwzzv~%%Q@!eS8?;w`!D1P;E&05NsyL0&%d*x_c>~;xQUVCD9)>n*PteN{&h=PEhu1~VSO$rGMIhL2Xjm*5pgm(s+p-;O+VO9`vz3?~7 z3X$*IbLmCI`gXo3S`*uURQL~CORW27ZdFNP>x4=2qnc^|Il{xDVtr~k61PNiMVL&b ze;nEVfeM1j^l9q3T%79inab>C9r*(D`X+ivGR+EmgGVcw8%>k zGXH2SWFgUX)8!|M{jI@@t77U86nSExtWdZIzuka}{HY?{Z@{RyM8F3xhJ*pLl}{9r zh5;j8SymW22Fw=gl0pYc28=W=#FSF>WsYd2kuvnr8RnsDKm}_9Dp(s(!P8hg-x(vFzo?wnBNB{ z)2#}V;iRFzn5vWA@3}*9z?#9ntO+vSrErS|5&P$XuQRLHxu1aiziXxpg z^av}cDEy*9Y!d`3F1)`mXAS*G?1GFUtr>(KP3*bCkm|R}cJ?HpyYP(8w%9Yyr%$6D z7mmfTWDo%nMXo4{zF~!Gc6uHvh!sVW7b?&&KdZSfDV(@YfrdG`*%d`o7j0(e2BGSw z3NNlw%>On&D*)1T19#2Qwf+1NcbVTSbZT~dglfO6eb&5Mxi4>a@BqARLvy_1#bG`K zzsbe-O|-2upyH{V7C|BNt+q`44+|a(x)YpfQa;>s$*Q&r=^m8+_Us}Bhe|)OeeCAdmx9MwM-nb>j@Pr z&4#MzAaq+%97Nv}?3c=z2TYN45V9;O5}`Nj&il0U#{_}aE^tNRSoLY=m!G1msP^pK zHiGR~Y~9ReI2M{kpB5E!1Y3pa5UdpaoFK1YwmPBWRJ|D139HE{{Cq6NPgZR$oD}k@ zPm4XnVi+iT=Jwe4qh=P$~9~%HPpD%^EmoLaZ1QSKuUk_Lk zl(N+m=blRsl%y0ojSWeUI=Mvm=Th#aCzNe+N^2LyBA*Wmr|r>Mdqkl5rPx#f07?ow zZb1}YO?Ho#qI;1R(k`5+~?K z?y;_aL6&9%A-^)TEcis(BNmp;f?ncc?l&F`Bh4OC?Vd?;l<3XJf~Q?LN7-GA|0myk e^UXKkeDezklP)!9h#*b?0000t7eLJKB&YHT}S{K zWw4&P>-oq;dL{Gi^cRT_Cl&$#$fF%FHsrW-e@q0WkDDsV`Apq&_)dk2{BbbQiT{K;~Xxxy*AU*xu{q@M62<_2q|oM~Vr zaIYrsw+-*Kr`A>;OV)I$;tHF~V36xKZG%X(UT_7cCF&sZdC1Q%PZ#)yDjD5>G^*j8 zG!XD+5N4bPjSR0VM7y7vcG-&$xJ3zKIR<&{e#LPEQ*T~NeQkSCank|6!L*l0lW??B z!)9HJsqn=?ZBYgSBN*>F<}cGDqT-}k*>)Mer3N*t>zU5V24(w+x-FXKtCNNm7P=W< z@a1gV`ge#G8B`y_h%qJ$|E}Ma3)B>DIxfdciHk7(2#Iw1z|f75CBdrMwG0UylRI>1 zqqW5DYFu%juZR3lLc~#i2aSID?1@Q}qe;`iob2qZ@0Tm?z$+Kj4UVRe!(4*qDaq4K zn5AK!QrHkEt)aSTY^ccM3gvobI7G2Z4Z|uSRZ-JP7Ebz5g`i>6#0PHd+pcNk;=3>ZdbM1@isQ&62Mt0@m5Zp&(d!2?$pLou`cIP#bO zPi!2y*c?n~ZBQxir_rkW{>?M%=x6cVYPz2;{l&}1fp3suD{)r#uv3bjD(JZA+v#Pw z4C$mSk-P6;;JquC&)5*(hs!R2&#X@h8jS`H0AAxLzm<>>j!#&E=oiXGR7QbuHL_E! zCcOOwd$nayzrtl~eO*F3-I;K)5VBgNx%WwajWj3Cz z@pT(2m~(f6`xl}(;?OY`Rj1OzhXd=(IaqFNF_**fD37zoD4gy_F=Lu>iXhYEv6PEZ zKzq^i0&hBq@Kg=HRYwTmP2@hFJrP0{x};J=;Num9k>wmH?VF8=CY_u%+l zd(Y2|EndF{R(qwJ!93QC%TGq!&qBBfY#?uJGCm8UH#U)(s0Ioi?O!3y{mAUwheO?d zZ^Z~-LuWp70lo3_iK=|UqQ!VX-Q4c}`5q=e_VZ8sIFHm?M|Eghj|$YOxp)}=lbLp{ zI#pE>#{bq5pYk87amOR2bz0|S!(DPZXNI{xPJ%eMHmHi?XPH{QFAMbg~9JHrrlDApq ztFb0X`9BuOH5%H+-D*q3hrBMYh?c^sda~?s?D=h6GuezMN#Oz53illOZI9=FS6H#- zUB)bUx6zO6GE|I^z(@}>Y|M`>y{Z_`+;uGOb%c@x(W z4Clbmy?4B(h`lq>@0=$rJ=x-2VCwS&6z6rx)N<^vu}X9J8$&wy?bcLi*a(6~|KZzM z2Xol!N~#JQX*h?+a6UBE*5sAf%T1Mq&ILy@1InE(|C<>WRmpd==eIf5+b?F-owOQm zIC5RzYW2_-lA!m}ly~^euU^UX4`uY>AcAMKW3O|5gIoR6to++e;!j7t!ytD&AFSXn zP!?d-j8BMgR^5f`6$@W%L%X_TxxpT*8ys6Mg^&;bWv%zp^?=2blspr7RK84K6@KC> zCqY=wu-Bc@*Mlag=GqlpAvxHUbXK~RMSm2_^?ot$?B0@#tTU+i92Mx#d0E@8Fg$g5 z;fl0To8Cbmi^-MVWmg=wsaC87;U;se1r6r#1q5T{%mPSz)|={c>-SsNIG7D#GRNue zixOfini8x@U9>!4@3B-y1{#T?XpPT^_w@Gph$quqO=>D-l`zp68Nd}!o@I4{QCSwr z!1e1U#eIJ0a3|aY9;9|DCtmp{T8pu7Rj7?N;k<>d9Yi;hWShE{PHJnm^enJ}NE8#? zYI2JdGcbMu&1E@X_3!ws)*UR zw5!sP5wua_4QWUP+Q>FR8uElj12s=Vp9dCAfv&r%cY$H9%W@p;4>mO_jZ2^WM{kIu zR}843pGIQwK`U%U^E7Zsa~6vjTq0&e_TWb21aF_xj}dnV#fu!XN8s$P=9v9gu3<+b zg(i)diyz`N3nK>n<^$EZMQbJs@DGTRc<~$PKiCFL6!wXLr%rC}^eeyt>w>Ab^-25- D0Fu(G literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-24x24.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-24x24.png new file mode 100644 index 0000000000000000000000000000000000000000..0fba91d43e61e2c311a6e2e2e68679feb64ef429 GIT binary patch literal 381 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM3?#3wJbMaAg$MYAxVjhkxJ`fRHTS;jj3=&B zAHxuk4dzY(iFiy0l1~Dse1Zy2ed0Fdkqc14w8tO>)8ztUKXI7`)c92S>A816D`ZQ8 z{DK+e*hTmK|Jgj>)1ZX!8T0*1nhyv2Te0Y_QXhuK{~KQMT@`njxgN@xNA8!@p; literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-256x256.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-256x256.png new file mode 100644 index 0000000000000000000000000000000000000000..ff7c3d1251806a73daa03dcbc1c60ddfb991929a GIT binary patch literal 2209 zcmaKudpy&R8ppqDEUnE}Qkq1_{ch%#Hj7-6r1X;|t2oI0){SP1Uv9}xZW}SzI7lvq z2oq_{E%}8Q6S<_qTr$>n{BeG-*ZJeT&gbw)`Ij$5!{nv5s6=W@oWI7lxUlIFGpysjUPV`O?C{4I$eXt z7_G==;K8-0NoPvYT8|0wcYg|eh?@dj1zJI~UJ4GknLQ`*C#2mk~IM2y=MN1MZ7Bh4o8xr;EuH zoc~kd^0AiEgUsScYI6)FNB2f4rCS0e<4T^saIn{%8CA%txQ97K<|RW8CVw`NX{{Z) zbyF2DG*@!aaw~b;73E#qTQ(-?V_bD}5mdzkGP2qxJJfQ1VRo9iq-+yYYw5{Ec#S&n9t@OsRtjLvH`n%I3GESB@#b`b38>Ypuz>( zW#uRixhVoJ=I{*@?0fI)UQX;0e)%h6Yb1$D`U{uf&R?&mxLA_%NI^%aMaQs2LFQ+& zs~jJ6`9=xFKHBC%h5*NDxyID!MtDvJG0WMAU#}~r47~#Qlp=MIZig&$EJ_B8MbZ8jPhyF0$N6o{O+F}9g^i%;T_!P$UauBXR(ASt zF7RS@{NBINmq~e@uUBJsmSEGq97eZ6gs`TQzMB2}UCNp+MR8U!|q_?o#U{PAYJ z58~iK>elWGee(h|nJV9c+8AssZ{&0^Khs;S1ei54GHPAkOfkOs^DqzBB8?{@PQY{@-?xSKoJn$SApy46TaxGt9>a+>V<>M!Bj@w z8HBjq<6ox6TEbA05AN0U1iiT&7DoAe~FN$UJy_(0V zKawjEX~Fu~7UfKHn9SC3G5E{bxY6*6VYtbbMPe(B0gLV@=X;z=4C+CA{{iXIDS>Pd z+~aSBh5!ltULDhOs|cXP1p$14Vpl@L%^=kjNM3Ty6m#kw>I_ftr&)_(+UmL#|G-p>R(!WZW<9tB*wNi?apX{On8M z7wa%ZJSP@pP<dM8WL^K%I;VdE-xk+<-&W zoD^BywWIAoPsG(Tssq`#MRmW*}<5y<-vK*Y(irqWtR>6={G`y4yK{ zd$ug9TI#@HLem69InU%3M92Dah#mTZEIH++Dw;~P(4$k%dLIU6$|zn)kTTl{EGg#T z2{bW1A*E@ef+^xc~}<}LM-r^u2xKE^)1$im(&G<)3Po5R}O!AT=X`--;3A zel#{H9^YPLsQWO!Y)?j$@Up3~c^!Jl^f+Jov0y6yscC2f4_2gaB#LhI~ zAzn{(rI6bvpQ^eoLR6q7H9d&=A!@l;)q(F2XmU&%Q~rXlvW`rZRoJgxHmS19Xc@2R zlz4;fd#r)r8T6={M4D0Go8#oUf0X#6)jEHY>a;<5GZ6{DQ?GGsUp1xtChXcW@5oro zqzI2rMLl%@6xLtq7vT-B^ID38OWtd@_Ymf%{!1@JSJG>|Fh$BcPXl0Q?PyhrCqDQ$ D4+}Jm literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-310x310.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-310x310.png new file mode 100644 index 0000000000000000000000000000000000000000..1a84f69d41174e8846bc0d2276da9d830806438d GIT binary patch literal 2639 zcmb7`dpOe#8^=k-qwOOfqJx~lZx-yAfXvwVA5LjBr@`#a|umCbbx!9Q8^igaJK436Ba zMv0+Fol^B@*;Lu!78mmuB2#ZVO+xxp#OQA#o_xwVsv|P+ES>Bqr$8mxpLmc2nL5aLFSdNZ99C&upDJc-SL;uU8jQYqM2_ooSi1I9 z&K+~eA?~oKs;#xm6uUPmW#uMvu4ZB9tK|66RegGS8Xd>P!Zh9@HZkXu-Z8mbCNeU= z|FY@95~0)OMiSQ?)zpNgHleVP%;V-2ad}rYe7l3ov=h>!L?`I0et)f0!l4w?vfzZp zC{Yi!oBgYvT&WkO(<=d(lCWnSi)TUW;^>*BOxPM9&DuEHG+m&dFxz&pFa3iK>(qUBV^%`k=+d0^c})ofCjoAA~h?}ea0}3dM7P)cz zb*7Q`lmMO8Mh&cB#WG1|33?UN(5X|W?MYy@ykq7JhlUGPm*rjiic)T{?A#l)%8J0U z!^G5AL2x@T>cs!If_0v53<7$Kgq&?qvwcJmf1C*8_YnOKB8*W80f~tv#wqTk(Galo z``xUus&=LoPnR;&c z(Id$gtks0;h@<$Mr5x2a&bdDSxPL0I6!(Pg!@eCIBmoBs-)4__pDb{D{9TA^L$I}m z&J=`3qPU`ltM?Oqt-cb1pEHPp>hBUFodw;vy36NPc0@r)bo z!ZDRizkaW~i^M<=k$AhGdN|Xht(R*0SpC>XuiwIfS=*=Hi^xU^Uu-d^(II{j*?d`b z>4nn<&5|F|kuXoI|H^6faN)PaE+Ua`u-IHO-v~2)`=zmgpd?~coxhrIvNhKqcSxGA z)%YO&6tJy~0hLU`!*g}~)*m#P(Ak$tT<6SwoDsiqW@H7wIJO3=|2Pt6<$U&vPd=tf zN&5}#yfc*|C{*mK58Tu~33|?p$)|z=pY09TGw*86E>*2ObnzdJy-utL>MXdL(c8?I z*{?a<%*mJu1?wY`nD2GO*)L`(aVWwfr@bI(nx^SF{1|sGY7fK( zd23hMOuW|_xGR~xlBHu2XC5a#bi9sKr*L}u19UYXP$xgv1 zI-qL#gOjPWzc$)PU%k@Wo65i9ieHiRp&wU(p&?y%6Z=k1$Hi=E#IS%BdWB=vD^hk1A5^|Ckp22H#E!;QDrlK#{m|(jOdf=>_a+~Wy zCzV~oYvIbhkz}-#H{ov}*(O^#NfeO#yt{S*Gt&}wujAZEXfJy#)8^^zzMNUoz>-;M zKcQHDS$7LEvp=nujwd%W4uPz7#RA`W|0pIm3lyvkbCmru$lvrhwdzts_^eN{)kx;m zace_AC}EjOB7du$2C@YO0*?u;w((<}qhXO4FAlh^uZ^m?nKm1+kj`Z9C{``MYGt$w zdH{*EuGoi=dsWyx@ugq}M+1Xt)jzq;Dr}uwq*iU@!SFRGzpCLaz=do*Y=Knj== zQ=7)EI|*q4J~x2ZUW9#^m55Q!OUXD4!>1AUuCfn}#~gST=#~S)EH?j1_X%jdOZKA9 zpu762e|UBa6q=7@d*G3n!C0rZtOwu_opdtX!@@wBM&)&6AhYX(fEexG@7QYj@AS(P zJfqo|0+Q`plMWUOh*+fgRVUxGxssaEM2we-rJ_ zLvQuyc6yq$m(-q5?NMRb9I3Ff! z{fyjPPe*s?01I>##V`eoJejphX8qJ@p5-b914^hnD60btJ=z1*=G%$U_#5Hkk=#@= z?%Z#|l4iD2qH~8N)S{AVK9?-$LvyHqSf2fCXz7dFwZ!8R&E*~|gdawmS_{<}rIZh8 z#3Nceo%kqRCIu<7Pdcdm5b|!TLhuF4K4k=-e}A^{2|8CkW35(1wBLK`ANb2BRlpjp zULj8Vu3!3|J-5F>s~;2uFOlypvd}IB7X@YR4`|SOO8|qqh_H|#o=SoIiByIH>Vymc zGTxNxx(2sth=bdJ(Q76GDMRF#4$W2AF*}6Ew^2#O3}y(bIU9eO6d0 z4PATcXMpL1nHWIJs(GhLC&{FtI6qCKRytIxsnf|mF(xpnx&J`0fduWpWbBHvD~6&Oye_r9 PFHZ<&?_yVDdsUh{6dPJIkR4_#nv z_esxOr#x|;`UEO64Xy^tZ~@CgG`h`r1XKxRE4X~91R5?~666=mz*>H}Utq)kTReWv z^Og4JKKgbd+2ieBYjMK}g-!fDKxIEXT^vIy7<(_cPCKd~!g7JDCFIV;KQqkIs@t0bd*hd< zC6%cLujXrgC$RI>tb3w*H>YUa>vmaH?{50??#;^&yQD8I*ggG;TEL1||9=%l|C)LD z?8fKkf{&C0tNr<3GmY_j=iw(mt?z0*af#QF)N(oaCRV+Asq`I-9wDBLbeSDu7cyA7 z&hhLp%scm9@0?=6*;%&!yYkrAW+_ ztXYP)6=bYy`=iY0M4mJo;IZ*%rfH-1n z?F;|_X}?_7T{#H&pcgC8V7+FWQJ?84V~i`!0!Qu*5i&cKmHg z@yd?c4rza1kl&;g-}Y!CO{6Imv=>@@+({Rt0sBKalf6p=Ql}}=57GcnVl!Rx2LPoe zEnfqm#hnZ|8rMPUZI6^H-slvI=ck9N@ijY0ypSEQ@^*2lpe&%V>+6=aDhOht6tb$T*+h5E}7< zu^9odLZnVI~nhsEvZ_h?|!B#eGstGVs)@<8&CMv!Ad;9z=Y zAdBK{uJ=XmD>M}_=bt67_<`osLTil#FBW|O>As5(@sLSNJHVps*uTK=AivIYOmEQj zXjNqe$!IRz^}sUna9skMZm+$wqGc*$>+TDzGa;1q-gjfwl24n&r?5dimXGK(OidpE zvOGAHCJOZGIUtQ-*BCHI&MfFwll1f3m#0Ht2%X4WzE|D zftEbre1C7*H4%Okly0@_;NI8sA^VHr1>+=FNtJAiqws9yUMFp_ImAhLOGfuqX_(#S zaiEhuVo-n=*DF)Uu_hu&c5~}6`!+Aj=-De^lS3PqAiFmakh^!n?VIhuVhV7j1H3j8%=Mvet<@a7O0 z!4@n_5C?9jGJ%uKQNYS*IDor^r}2KuoAWpSL$7n2{}=Utl^4M4+=TOc1jDfPX^GCk zTV@pS-__-|^L7Mx$)H-7%JQ1;Qv6<2qd{ezYk$i#@>jH6KBVhT7Zac6HaKop>71&< z{t3l=a{ZyQdC>Q;v1Q2tjAG4xD(Ti~O3W|N@|ne%syofS?GV3`;a-yan~Y*N+FP3< z>OiWA>6VnEH-o^9xMA}kk@jlw_+%0BV%l}5XiXD=DDeUOfpPAX;*{);Z$0|lh@6=R zX|MjoQK3RU4cs_>vM?N-z2(Q9Lln=ubunEhn}FF{(?2BOlRM7dP7ZG?bF=C|%*M*pnPVk+FYUxKIAkn+tkg zTlWP~m*omy)jBpEX%lf;pbic@IZga}O{>%4Jsd*~>kU~=Ue|`DSnyMJw404?eimz# zN)F|J&@vO?km;+@xyh$-js>Coh&Oj;3+c}|4WUt7Vv%{bB-|cGBk-qc0EzT~+k)pX zIeXl)V%L)3h?_JLUcD`7P8Wgk6JGWd4Y`Vlg8L3qRY)DryUhJjCAnOen_7Cm6mgE} zt3}clLR%7O!?e}%n0jFvJ?OUC{r7uNup8(2+1ZQQTB!8Z@xD453{ zy*;}N0e{Ko=msWFyYJS<&Ccx5IC%YN!&%mkB>@+syRtbfcYV;WxwfWagg0W|AG?Lk z?npmtdMl?cN197QbN)h&&f2*2pWHet`lYt~>ncwR9+S_RO=e7-Gmw-uP4vEuCHNEW zU-aU{jBb|Yqw?1A4F(4wD68TfC%tIIV+SsHNSERqU0W#GRXF-4EI!QWM$R+ba%NO^ zHufNRfqz{d{!ZS;=nM(=hUQ6g(^B}hb>{?{?OCh88L1*%*N8X$04B#Alg$=3d9I!N z99+Efk{#^)_a!=!e(39gk5ze@W@2PIT@4(# zV!XB$Ia8#zFS>pe0ru2~#umIy87+Xqp1@IrGH1oSkHfs5T?iKIVaIdn0tU+e#`ho@ zI{jeBapnuT6gTs4xfc~SQbUMa;?EYXE5+ca=f$8cC<TtfKC_C%0tspEr|=(@lW!=rA=*WR|f!W;#>Doj`Py!nh?9rVwWDw+*#w@ zYkTx%!Hc8Fs9gfDIGKx|0n4u@0OFl4^6M+@r{Y4%uckWzz+-OgJU@BYD{7a( z=Fy${c=k%flClyg#dV;AYKRQ*jQVw#BDMm~eFQniXL#7^N8&{Gd#AiY&cLP_LbjRj zP}Y-?6+eGyOR9B9EEGaR^_P-XI?v#C>tuxwyK6r@Z*lrrLM0w463{d}U5%q*aoCi6 zU^fzQ-(9x-*lL-&u-|5`r>ihM?8I}SmZ$;R8C_jR{Vi)uN)BB|FZMhKr<M zUg>Gj6M1OZ$#iwevS?-k8^vtX8xW|zZcrAs*=$Ohuio5F^uOv+WtC^fw-n_MOa+oPIS8twtJNn z4)CE7&qP0w56H)9XZc!AxbtyjGNv;vGM_mDfGykg9?(L|94)!SKT@@`l1;3f zPfwIoB+!fry@V_g28)rcDxp(T>f^xN1+-*rw@vV^Qa*d#*a-)S-JHVu-s)uhu zbG-Y8OiA!K_1hzZ$VM%UTm2-wGA3%N^#YRPc&p3k?p?Lpv*cHh>P#EPXn-l#@)Knz zG%qnHd)~+XVHw&=Q?KRD;xGA>a|TS|!WpwT_skqk57o!uPdfaD{i;u|6);Z32W!VZ zE;q5pR_~$i%S-$@lj$Bq<^N8YRGC(bLj!L&SKHKIn^8p|7pAqYv3hv-r3UkvdLZK! zo9F>PPg`uMSMk|0pErfs?&z|R^{LFg^et|x%J%7+FT|kuoKp20Kn7%ftOb_$B0dl! zH5i0JZhPMeoK!UE6haRa8;rFf&!Lwgg{5nawK?RSvVl zRxabn;)7;r2as0cYPd|&-s&p5pohr8qzLEakt!8qkoXi|#-L(9WXKauIb?{CSN>bvc~@FzvVKiY~@ z%~q)EdOi>IE6j1GczP)aM9Xh=NiNS|UiCGy ff3xWiiLZdsZj!%jsRxNW&jM*Fw2(LfG+DAF$S;_IPfSKd-^L>_B0j6M zu4Cr1Eyu3ieEjY=>y~YH(-{~T^F3W0Ln>~~xys7-*g(SNA*ZqWw)=necdZhwG(5Zh zFU!)(r)IzWLxb6GnyNogE51~{DAa7}^J}M5o*h$kP5c_Z*xlN5-aDrIkxfqWGnqe3 zm0P1S+0JcIB!5(${vlVBS0}$!8w$wIoY(U8y3(8@wd?d(Ro>l^o0HtD|m)1v+N*34fXmA~rh{qOfJ8~*-&d_}t8edFbWp|1jO?2xT2h?#2gBmbzw zt<{ZDlXm4Fo%3z}4bObnx0mB=?W*;EZ3*Y>4k~O}erV(Ku4}*34OzZkc_pg|bEm*n~@U1uENxKbvtizHQN^Lkl+?d_HI41htq8CzQ6%TYX`*RN6}3 zuA}S9qjeSuW?inH%5_{NTX3%726536t?3C`(|o?Ro<7wby6lkk0&V>Th9cSru4=JI zqy&6(7Cx27b|W<;&c$xV_w8P4YkwNd=3>97vv|$y^7(OFFFs!@^(DE4f#I&40Z&`; SwC}+9VeoYIb6Mw<&;$VWhy@S; literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-512x512.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-512x512.png new file mode 100644 index 0000000000000000000000000000000000000000..5d3ee53a06906190994c8036804c5981f814f415 GIT binary patch literal 4335 zcmaJ_c{G%7|9+l%#@L==WND&|?4%3{2{XzN$|#DY3`u=SvX<`}X%=7RYtM9wCdHc=DNfBhb{Y1&s@jaOOw6q-^PuE+pJneR; zGk10*q9tky{Ou8;nEI>xxQd&%W9l!vam_Y|t>BSEZnh+BeCvsRXAG{`T1F=m~8K9C69?YJLOVmC=Xyf=w|m#J#gg zhW)B0elB$7(VW2PWuXJ&U&E%-4YxXOx)*@?KvFoHCb(iIUi1gn>$xfQ^qCdM0aK#k zzTss1gBz$=DJO|t$lK7I2-_g%T7iLJ69oh8^de_S#eL0ZwXn23D>qSi258#FSNTsVAMIj-?}yN3Ubj2Att*M3^1hU0x9- z@f{D`!Mjyr*-H@h7&P37QBeX0qe`CwC;)aVynI;hMpWTAu2m_$t1K4NC(;H(AN8oH zNbHO9(fn~R+UfduJ8C2-ED}5G~qOc6#@d$(rLQYVRkJz@_~9A=)-0o zPcpMdYC(B5)KUXwXeg7GM;NmPxZ9$|o4~pU-e|bbGMFT7phB6?-M;$-kuZDfi}PDG zxQ&hnRE#b`2lZX6)YcVYlW!?27mRQ6ram{}yq5&WuYX4LtCh&goun646<{6Z9z`s| zA8P62M!&ycoLOhaBoao`DK@ORZ#*y5n(r@muUJH4&NHTaha!P3Fzb!Q`Ha`I2UC~6 z$)0ax>TC)0rS9ZkzdG^(&<_`lwBl=Hnk7X5u0A9A2s}HY&Ln(S#=(WWhRGeoo*#3f z2IU*x$;i<9cr1sJe#9@GlKRMf9YOmin9iz z;ye3$b=;T>(FL0I=1g`X1*Y=J0JjMkmxkE?9pq%J|7Rj$AHdDQsW9LEd+q-m97~oN zPf$d7`~DYtO!>beKVU8nY$FNLM1&`t%>M}VWl47_+HIt5|LUEvH1$7B#sd6=R6ZtC z#PHlPgT|Dv(%xZbRz-8Xc})GtqA{j+e z5tZ>4`UL6R@vC<=(*WPdi-Lh}(z^an==+483huAzY$-aYM|5(i=2+;|D;c+FQUX(e zPt)(ar8R4Q`h27*v&7@@f)$4yoN=4^R_UM?OSV5^Cx6Slmih-$(VrOJiHYt47P2Zz z3gBO*oQ@^bkcx&(~@rrY;YD_r|Yu+I2i5%?ssr zLdlw~LR^%?et`4%FMi$B+(7uApJYbG3f<`EN>2I_XNdZ|GviwT zvnikRGEhms~E*u(~pKiZ?_~&%|E$KSg(&wPp&i_8#tXUuGGG$i2k7{bal*4Nz&IDLDeQ%`t@ zy#tIsDQhxfej3=Z6Ys{FN#;u4dlSt-*9h6{v~|)Xmd5&|*1x^|m4T{W^Wrz^(|x?D zkr`l}`xpHT$sikC&v&sAZDyGKEis&)w{Z^dOF7Hy4j6jQNa#0rPI@2ssS3N@sjm@R zXM=k>yA!%GmtUzX_8vGTA$^bc%EUlS4Ki#1XnftW^)ZQ{EKaXIL(>6PgUsq+OLl#> z&O_QoKu`-_WuSL?f4RMGJJDp%k<7N@kB{qBl^dwY!cOA?bgAuI04z3Rl)1S(!(*ry z*+b@B<;iarZ+?jgiQnbDs@RO*jfLd6{zTplaBKJ+{Rb9`;SJQeJEyl7@@v6m-GZ?2 ze0tTLo}VVD{MQ*gYBalP=kdhP{S|rrnJXp>nS$odzQeyh3sSs#QwO8{qLxMyAQsk|{Yg0FhJWt+a8&yA3cDqpjl~si*uLMnK0a`+r&K zoO&w@c)TNV77q+~^p{GRe{Z=KcJADv%Yf}WB+pM@9^;k9N`6ZHP&BMNIj{yFz~$`~Z#%;UeihMdSYW9qt!AYgLEz+M9y zjqjSmiuOWic=lS>&*=HfKR(3w5!`b~qT4dH6>Fl46g_2C4%Hc8px(uMHZ8Rk{aVIG z0PbanG($d^;wPtox51%+R>cL~;!8SfhoY{38X6;K9>pgneG9E3k50$VNHrmP^l^C; ziyMV|vy%1cO~{$Ws)pP^T4&?=rZ#{`DA|HZ|Get5?|EA+4n>0gURxR-q#4jo0U-D{ zcIe#^q@X^xC{a%dCKrH>-ceJVs=^A+hx%B^*ij zZ6q6K3=IKX?sW(5qx!63iDR*MK(fk_^=;{V-@6+JU}7oJwQdjXsL1o7!_pDQc0oaY zdf)D@$hG!doBc8P`k$PP7sciF&WGKK*R#aKFLbHN!TZgXT!^^APvwq4b8x|~zKdee zgO=)h*egetPP_RKOYs-MaNmRSKsyXQx2l(D`xXZ&W%vNtg7!acu|3pqHb}^vN(SEf z(=*3jvqg4pv3e$MYR5N7x4?1U^c93rP5tBbvT;O1`HbjY1E(gJdl+b>X=l11tFWp~ z6&{4cf)%zXv9B=Dzg!MDI8Dy=gRm)cL)#I1?+alYN=z~vkjs-9t71ni?H-#TTUo)_ zFJ;4Vk*(#{FHR2LFUG4bbdxljs-u7V{Ma>Xd7f*fxEk*yi9IN@Xc7}sd~wZ=g`38g zS%E8WOwS*1%`a5i3sLzDBdH_7GxrLs@faesfKy-GCvw%EA-|fmglh_)WZko3$V`oe z#AOtKox-QiUjesV)?rTYd2Rw|plnnV_oB*99C+V`)Y*yyS%2@zP^b?fxLF&1NKFg4 zUJG!l`6HhahT>B|Kr~^-&`6z~fGMJhcKn#FXP%x$r1;k1XPN#vX*hT~k zezcGn51D~7akpJ(gqpq_8wi#dGwP~!2)NvkB?v`UzQwB$$%o#{nogMjP}yAgEN6Nu zl!3TDkR*mOd^{nA`>-F|+36F_v@W)kCL zzHR9+yt|j_*d_=e0+6bt&vwB)9s#rdMsLr@fvroTFN$C27|o2B#VC?z{4A7r^8fsn z$~s)reCfR3(JoTwE(Pp+WK)27`KFJAt`|pmh~jKc%D9cQhtq@Z7aoeZx7=S%XQs~b zhc^UZV2)m_ff;kxxwCvXiRsf+(gQx?b|A2ABIoFXIB+=W&$l?+FEdj|lj>gy=Uwc! z%p^rz&4e$$FR^~4dW=lXOu653CIR^MVId2L7iwW{p}1#Xwmu;N-IQvOip4wN$$84L2f=3Rl zlJCqE+7wgANuY%L&fEm9jP5m9@sxNgIEY!Omn#t9qZjL&omK-ir~+n#Jy4wx?N#cp z@sKLdAQoZH!qH(Z4P-YFBCZfnF~8;)WqnHDzI1*9=Cj~GHMSj=|1~oq7p&Yep5yP2Mgb(nM1Q& z2i%3I@ma literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-60x60.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-60x60.png new file mode 100644 index 0000000000000000000000000000000000000000..80ac238dca6406917ecd6fde921894bd5d41a1d9 GIT binary patch literal 638 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw3=&b&bO2J`0X`wF?gc(BlOMQDed;>xiObZ- zu2Ua@8BbiN0of4r1k3=+LKtvyAOj@gH0?>ioYz3cz3Z2CfW}Ic1o;Is2#6_aT6u@0 zmNs-wTe4xtvGdpNJ^#+hY^>4Z%fP^R%G1R$q$2LEIokNe284uy}`Z`R$tzOX8F_kkMyAEaT+Y04-u#?*2PfG%sg>23%-^NDIc<5Tr~Ev_ zUqbh@4%_cKxxL}#v)tV;V-qj`a=*uvHFwRjhiiSUBDdD%C)RE{CdIo}EiUX|I{;zq4la=399m^LzefH4DT{9#WsJ*PadZ{P2arMK+srPs;99O(~ z(qj{&RgreWNl~x20W6!2cA76Rl*)bZNd4jjVS}|&yjxQECFJW51}_vW6kq?Ge}=={ zbtgj=f>$u?2$ui(gQIYJ#Dm4`ci*iL%svsI@kQe6RVORfY3=V$vgLpExYn@elG+3@ zqi4$%S;2eDniYB*z}#egPDl?3?(Gnlq)nH|9{{{N+~ z+@sVBM{KqEewIzV`Dvw#*qOQP3=E8)JzX3_DsJ7qbdYbcg2a)Jf}-x+N-Gw<|G!Au z$20Y^%fjhr|K-U&li#oLPjc#t*UP4AT)ArVmAPw=h;lDe(G&O9npxs(;=$P;51i2M zJ|Q`YX}gNBRN&zS2j}*2Hg3OuX7Y)eX4d@I&sRuGudithelA}hbugdxV8#L7<@-cp z&Tsd9@Y0Yx?+lqkY)f`3aMqJgqj(e>;p&3%V>9~_ris-GB{?3%{7h8`W-|cjV zS^1^<9F=oU`tR4>@Vy+H*TuS4Cn3GaVVa_d)&qsB+$%gA{~TiMS+dE&dEJ4Dkuy|v zPI5LViXZ6MbBHaYh&f=c?3Xjz5ebUf2UcxPK6%EehB@;D-=b|>E==G(#r<*fpMZ#yYz;cPCG)NvxEOx3btiAN^EuhRnS0Ob zT`<|Lu6byl%*1$$w*~VKw&+|vaX_CTi;ZdKvQ*Kvho7uT4_JJ{;CQl#myEGwsr|c3 zh5M(vS?$Hjrd;T{*k%;A{_&Xu3umnPl9ko@|De3wM2+iLu4~)_CK3iuS3j3^P6 zSuoY*>^HNAWef~Vww^AIAr*{wuXnF{tRT|*aOuUVQpJYfzt>+@?2tL1#;`j&Va9yx zrSaxb!bkSc-WdD*&2yjUKd)HVT+!Yj!uG;=qCG2fsq$;9jM-_|beUIOvdYU?^Z0$t z-f^Y7d)S4P&K(rbeRE;I(+x__%N(4o$WPu+XtK|^uZ+DW%h%IOCA zdwKR%Em)fUfAyEBh$uCar%PPsH+((5G2?VhoWpMa=IMUk&f?;FYd$SLq&Zha)Lq-t zUDwlHAA)M%9XRsd!YrikW?x0S>BGBc$~G6}oL4`$_@FiKy7Z@4+zt3L-d(NySMe>N%iFq(H%{acxODRe+X@*8|Dq|Aawn{tw!g^ECN10z*>wk( za+YRK^m$P8bnVxGDNCogM=txb!l)t8vzxJMlDH9z0*{m?!^$RzoDtHyZiDZk9z@I zf;<|ZeBsShu5_Fzcxh?t6Q8Gz^X%rleEM1U)LB34%ZYO8&n`bNdpEmmS>0PV|Dt(v z?J<*zmR$;)_eoi#)VTOG+ma&Ri&OagH_5AubksOrpAyG#=V9J6y$s>))8BdX_3K;i zS*W)mPkzDKKht!+T-x#3dUfv>w)h3Y@@Bb@7aKm1_6?u@A^to2)jJwK;fIzj1SU2H MPgg&ebxsLQ0Kk%8k^lez literal 0 HcmV?d00001 diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-76x76.png b/dependabot/npm_and_yarn/fontawesome-951ff399f8/icons/icon-76x76.png new file mode 100644 index 0000000000000000000000000000000000000000..91a8ea6bb9ac16221bbbafa6c6670311b5e669a5 GIT binary patch literal 783 zcmeAS@N?(olHy`uVBq!ia0vp^J|N7&3?x5zE|dgP-T^)#uI>dsuG1d7Pkrn<<+01u zC$3YWq$`*Wpb;o$fVam#>Uoe51_FUB|(0{45IQn#&%v|DcNPseT#OS zzWVUZm!JQ*nJ1p#vXg;5b^iixqg-9w-zAbh~r?`5(XQ*U^+<2$ZIwe44GP4ukZll>!Xw@S}_o$Eo-yDojy*|o{ zq3V5ZYj;*Xb`}-8Hao3bKcN5Mgu39_H$JVqqIyPt%Ol-5r_@>Jqar-BeRlXqxyPh3fvh6>l?lajw4a?aY*r;}N?kOF^H5C@# zOsUWJ^k08C$LzDJ=&q-G`-_&!oqM!V)L5|Y&BoVr>_6z6?7jPJb-k>2(N8b#*JqoO zUCx;5eVw&4n(@3!)3v)g6DoEHZ`rm%uV;a4c$C5iw~&l&Zrs6%iOg?&gF|msL|!ky z6SDH`#;E9!!g+abHD^0pKl61Cm0Fy1?)2Bt=yv7wjhagqhpCF$dZX`i!9 zIU5=xwp_V&Cr_r8Q|9>NNSl?n7#3VOz_t7F%vF*M&1^R|AF>NHby&lG=Yfov$Mq*S zkED4PGcXt$ZrSlDr9tK>^_gp%_D){^abrY= zSUP`;LSgQ*hYatFW~8+}JG*uAvH6XUGyKze<6fUle8{Do6)qE19W_gB`t+|I0_T=9 zW^g`F&AfDT{X4-Gou|r{F$%eu3FCQ(EV_@kxitH!e?O>zdJ4#-m&|E`lLdJJK8^ecxI|>a*l~Rot_h+;#k(}WGDZ9op$3k9<84} zjM6H37ZhSht@7$g${d)O&&RVss+NBCJ z?>No=V{-L+DW=@d>tkLRpIpyf-{u#nzS6G1 z|Dig=M#*#1$HLCZe@;$`^pg&=ls{X%JL9}m(zH*JIUhGIoc8Hw>IJDiIWwNrEVyr0 zd`xe-U$)Svqmm!|vY+tCk)ZdZ%0VXU}hsIqRSv0Y%g(zI6+HrHeL z8491x4_1?PPI3G(>3sLqkERzBo}8D?o4LL%)`VAAkXM+&q-Iut3GciL;R{QC)Ch8m zX!M6B7YkN1vkG-ywO+k<)3UHX3f6JEHlNt~)h}j8MYd#-z%R4KSp~lzi!RJm*naoV z!3Rc%E7mvV9XUN??!nK;lmqOw=BYNHx6rFq6S!#e@~omL^Np!HIN1IzHDizZ_3f>D zZT^|-U`c)O@AI7#XYg6|Y%hKHe5)j*F{62s%$1L| zkBtpqAFcnt@Y|-Ev^^H{cX5CITD~(bqrF{i+frRyJ+mhqp~qaLxu$3)o;wsAH#I`) w{$|w&Og%qScD7b3WEH3`+xFx9`-ALj7RB8>9rQgGn5`H*UHx3vIVCg!0G>3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Shlink — The URL shortener + + + + + +

+ + diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/manifest.json b/dependabot/npm_and_yarn/fontawesome-951ff399f8/manifest.json new file mode 100644 index 00000000..143e0148 --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/manifest.json @@ -0,0 +1 @@ +{"name":"Shlink","short_name":"Shlink","start_url":"/","display":"standalone","background_color":"#4696e5","lang":"en","scope":"/shlink-web-client/dependabot/npm_and_yarn/fontawesome-951ff399f8/","theme_color":"#4696e5","icons":[{"src":"./icons/icon-16x16.png","type":"image/png","sizes":"16x16"},{"src":"./icons/icon-24x24.png","type":"image/png","sizes":"24x24"},{"src":"./icons/icon-32x32.png","type":"image/png","sizes":"32x32"},{"src":"./icons/icon-40x40.png","type":"image/png","sizes":"40x40"},{"src":"./icons/icon-48x48.png","type":"image/png","sizes":"48x48"},{"src":"./icons/icon-60x60.png","type":"image/png","sizes":"60x60"},{"src":"./icons/icon-64x64.png","type":"image/png","sizes":"64x64"},{"src":"./icons/icon-72x72.png","type":"image/png","sizes":"72x72"},{"src":"./icons/icon-76x76.png","type":"image/png","sizes":"76x76"},{"src":"./icons/icon-96x96.png","type":"image/png","sizes":"96x96"},{"src":"./icons/icon-114x114.png","type":"image/png","sizes":"114x114"},{"src":"./icons/icon-120x120.png","type":"image/png","sizes":"120x120"},{"src":"./icons/icon-128x128.png","type":"image/png","sizes":"128x128"},{"src":"./icons/icon-144x144.png","type":"image/png","sizes":"144x144"},{"src":"./icons/icon-150x150.png","type":"image/png","sizes":"150x150"},{"src":"./icons/icon-152x152.png","type":"image/png","sizes":"152x152"},{"src":"./icons/icon-160x160.png","type":"image/png","sizes":"160x160"},{"src":"./icons/icon-167x167.png","type":"image/png","sizes":"167x167"},{"src":"./icons/icon-180x180.png","type":"image/png","sizes":"180x180"},{"src":"./icons/icon-192x192.png","type":"image/png","sizes":"192x192"},{"src":"./icons/icon-196x196.png","type":"image/png","sizes":"196x196"},{"src":"./icons/icon-228x228.png","type":"image/png","sizes":"228x228"},{"src":"./icons/icon-256x256.png","type":"image/png","sizes":"256x256"},{"src":"./icons/icon-310x310.png","type":"image/png","sizes":"310x310"},{"src":"./icons/icon-384x384.png","type":"image/png","sizes":"384x384"},{"src":"./icons/icon-512x512.png","type":"image/png","sizes":"512x512"},{"src":"./icons/icon-1024x1024.png","type":"image/png","sizes":"1024x1024"}]} diff --git a/dependabot/npm_and_yarn/fontawesome-951ff399f8/service-worker.js b/dependabot/npm_and_yarn/fontawesome-951ff399f8/service-worker.js new file mode 100644 index 00000000..96cece86 --- /dev/null +++ b/dependabot/npm_and_yarn/fontawesome-951ff399f8/service-worker.js @@ -0,0 +1,2 @@ +try{self["workbox:core:7.2.0"]&&_()}catch{}const G=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Q=G;class h extends Error{constructor(e,t){const n=Q(e,t);super(n),this.name=e,this.details=t}}const B=new Set;function z(s){B.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},k=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),J=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{J(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||k(d.googleAnalytics),getPrecacheName:s=>s||k(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||k(d.runtime),getSuffix:()=>d.suffix};function K(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function X(s,e,t,n){const i=K(e.url,t);if(e.url===i)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),a=await s.keys(e,r);for(const o of a){const c=K(o.url,t);if(i===c)return s.match(o,n)}}let m;function Y(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function q(s){s.then(()=>{})}class Z{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function ee(){for(const s of B)await s()}const te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function se(s){return new Promise(e=>setTimeout(e,s))}function A(s,e){const t=e();return s.waitUntil(t),t}async function ne(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new h("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},a=Y()?n.body:await n.blob();return new Response(a,r)}function ie(){self.addEventListener("activate",()=>self.clients.claim())}const re=(s,e)=>e.some(t=>s instanceof t);let j,O;function ae(){return j||(j=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function oe(){return O||(O=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const F=new WeakMap,U=new WeakMap,H=new WeakMap,E=new WeakMap,P=new WeakMap;function ce(s){const e=new Promise((t,n)=>{const i=()=>{s.removeEventListener("success",r),s.removeEventListener("error",a)},r=()=>{t(f(s.result)),i()},a=()=>{n(s.error),i()};s.addEventListener("success",r),s.addEventListener("error",a)});return e.then(t=>{t instanceof IDBCursor&&F.set(t,s)}).catch(()=>{}),P.set(e,s),e}function le(s){if(U.has(s))return;const e=new Promise((t,n)=>{const i=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",a),s.removeEventListener("abort",a)},r=()=>{t(),i()},a=()=>{n(s.error||new DOMException("AbortError","AbortError")),i()};s.addEventListener("complete",r),s.addEventListener("error",a),s.addEventListener("abort",a)});U.set(s,e)}let T={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return U.get(s);if(e==="objectStoreNames")return s.objectStoreNames||H.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function he(s){T=s(T)}function ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(v(this),e,...t);return H.set(n,e.sort?e.sort():[e]),f(n)}:oe().includes(s)?function(...e){return s.apply(v(this),e),f(F.get(this))}:function(...e){return f(s.apply(v(this),e))}}function de(s){return typeof s=="function"?ue(s):(s instanceof IDBTransaction&&le(s),re(s,ae())?new Proxy(s,T):s)}function f(s){if(s instanceof IDBRequest)return ce(s);if(E.has(s))return E.get(s);const e=de(s);return e!==s&&(E.set(s,e),P.set(e,s)),e}const v=s=>P.get(s);function fe(s,e,{blocked:t,upgrade:n,blocking:i,terminated:r}={}){const a=indexedDB.open(s,e),o=f(a);return n&&a.addEventListener("upgradeneeded",c=>{n(f(a.result),c.oldVersion,c.newVersion,f(a.transaction),c)}),t&&a.addEventListener("blocked",c=>t(c.oldVersion,c.newVersion,c)),o.then(c=>{r&&c.addEventListener("close",()=>r()),i&&c.addEventListener("versionchange",l=>i(l.oldVersion,l.newVersion,l))}).catch(()=>{}),o}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const ge=["get","getKey","getAll","getAllKeys","count"],me=["put","add","delete","clear"],D=new Map;function S(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(D.get(e))return D.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,i=me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(i||ge.includes(t)))return;const r=async function(a,...o){const c=this.transaction(a,i?"readwrite":"readonly");let l=c.store;return n&&(l=l.index(o.shift())),(await Promise.all([l[t](...o),i&&c.done]))[0]};return D.set(e,r),r}he(s=>({...s,get:(e,t,n)=>S(e,t)||s.get(e,t,n),has:(e,t)=>!!S(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.2.0"]&&_()}catch{}const we="workbox-expiration",w="cache-entries",W=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ye{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(w,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&pe(this._cacheName)}async setTimestamp(e,t){e=W(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(w,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(w,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let i=await n.transaction(w).store.index("timestamp").openCursor(null,"prev");const r=[];let a=0;for(;i;){const c=i.value;c.cacheName===this._cacheName&&(e&&c.timestamp=t?r.push(i.value):a++),i=await i.continue()}const o=[];for(const c of r)await n.delete(w,c.id),o.push(c.url);return o}_getId(e){return this._cacheName+"|"+W(e)}async getDb(){return this._db||(this._db=await fe(we,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class _e{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ye(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const i of t)await n.delete(i,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,q(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t{if(!r)return null;const a=this._isResponseDateFresh(r),o=this._getCacheExpiration(i);q(o.expireEntries());const c=o.updateTimestamp(n.url);if(t)try{t.waitUntil(c)}catch{}return a?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const i=this._getCacheExpiration(t);await i.updateTimestamp(n.url),await i.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&z(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new h("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new _e(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),i=new Date(t).getTime();return isNaN(i)?null:i}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.2.0"]&&_()}catch{}const Re="__WB_REVISION__";function Ce(s){if(!s)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),i=new URL(t,location.href);return n.searchParams.set(Re,e),{cacheKey:n.href,url:i.href}}class xe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const i=t.originalRequest.url;n?this.notUpdatedURLs.push(i):this.updatedURLs.push(i)}return n}}}class ke{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const i=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return i?new Request(i,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:7.2.0"]&&_()}catch{}function R(s){return typeof s=="string"?new Request(s):s}class Ee{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Z,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=R(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const a=await t.preloadResponse;if(a)return a}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const a of this.iterateCallbacks("requestWillFetch"))n=await a({request:n.clone(),event:t})}catch(a){if(a instanceof Error)throw new h("plugin-error-request-will-fetch",{thrownErrorMessage:a.message})}const r=n.clone();try{let a;a=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const o of this.iterateCallbacks("fetchDidSucceed"))a=await o({event:t,request:r,response:a});return a}catch(a){throw i&&await this.runCallbacks("fetchDidFail",{error:a,event:t,originalRequest:i.clone(),request:r.clone()}),a}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=R(e);let n;const{cacheName:i,matchOptions:r}=this._strategy,a=await this.getCacheKey(t,"read"),o=Object.assign(Object.assign({},r),{cacheName:i});n=await caches.match(a,o);for(const c of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await c({cacheName:i,matchOptions:r,cachedResponse:n,request:a,event:this.event})||void 0;return n}async cachePut(e,t){const n=R(e);await se(0);const i=await this.getCacheKey(n,"write");if(!t)throw new h("cache-put-with-no-response",{url:te(i.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:a,matchOptions:o}=this._strategy,c=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),g=l?await X(c,i.clone(),["__WB_REVISION__"],o):null;try{await c.put(i,l?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await ee(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:a,oldResponse:g,newResponse:r.clone(),request:i,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let i=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))i=R(await r({mode:t,request:i,event:this.event,params:this.params}));this._cacheKeys[n]=i}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const a=Object.assign(Object.assign({},r),{state:n});return t[e](a)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const i of this.iterateCallbacks("cacheWillUpdate"))if(t=await i({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class V{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,i="params"in e?e.params:void 0,r=new Ee(this,{event:t,request:n,params:i}),a=this._getResponse(r,n,t),o=this._awaitComplete(a,r,n,t);return[a,o]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let i;try{if(i=await this._handle(t,e),!i||i.type==="error")throw new h("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const a of e.iterateCallbacks("handlerDidError"))if(i=await a({error:r,event:n,request:t}),i)break}if(!i)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))i=await r({event:n,request:t,response:i});return i}async _awaitComplete(e,t,n,i){let r,a;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:i,request:n,response:r}),await t.doneWaiting()}catch(o){o instanceof Error&&(a=o)}if(await t.runCallbacks("handlerDidComplete",{event:i,request:n,response:r,error:a}),t.destroy(),a)throw a}}class p extends V{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const i=t.params||{};if(this._fallbackToNetwork){const r=i.integrity,a=e.integrity,o=!a||a===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?a||r:void 0})),r&&o&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new h("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new h("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,i]of this.plugins.entries())i!==p.copyRedirectedCacheableResponsesPlugin&&(i===p.defaultPrecacheCacheabilityPlugin&&(e=n),i.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ne(s):s}};class ve{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new ke({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:i,url:r}=Ce(n),a=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==i)throw new h("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:i});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(i)&&this._cacheKeysToIntegrities.get(i)!==n.integrity)throw new h("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(i,n.integrity)}if(this._urlsToCacheKeys.set(r,i),this._urlsToCacheModes.set(r,a),t.length>0){const o=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(o)}}}install(e){return A(e,async()=>{const t=new xe;this.strategy.plugins.push(t);for(const[r,a]of this._urlsToCacheKeys){const o=this._cacheKeysToIntegrities.get(a),c=this._urlsToCacheModes.get(r),l=new Request(r,{integrity:o,cache:c,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:a},request:l,event:e}))}const{updatedURLs:n,notUpdatedURLs:i}=t;return{updatedURLs:n,notUpdatedURLs:i}})}activate(e){return A(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),i=new Set(this._urlsToCacheKeys.values()),r=[];for(const a of n)i.has(a.url)||(await t.delete(a),r.push(a.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new h("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let L;const I=()=>(L||(L=new ve),L);try{self["workbox:routing:7.2.0"]&&_()}catch{}const $="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class b{constructor(e,t,n=$){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class De extends b{constructor(e,t,n){const i=({url:r})=>{const a=e.exec(r.href);if(a&&!(r.origin!==location.origin&&a.index!==0))return a.slice(1)};super(i,t,n)}}class Le{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(i=>{typeof i=="string"&&(i=[i]);const r=new Request(...i);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const i=n.origin===location.origin,{params:r,route:a}=this.findMatchingRoute({event:t,request:e,sameOrigin:i,url:n});let o=a&&a.handler;const c=e.method;if(!o&&this._defaultHandlerMap.has(c)&&(o=this._defaultHandlerMap.get(c)),!o)return;let l;try{l=o.handle({url:n,request:e,event:t,params:r})}catch(u){l=Promise.reject(u)}const g=a&&a.catchHandler;return l instanceof Promise&&(this._catchHandler||g)&&(l=l.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(N){N instanceof Error&&(u=N)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:i}){const r=this._routes.get(n.method)||[];for(const a of r){let o;const c=a.match({url:e,sameOrigin:t,request:n,event:i});if(c)return o=c,(Array.isArray(o)&&o.length===0||c.constructor===Object&&Object.keys(c).length===0||typeof c=="boolean")&&(o=void 0),{route:a,params:o}}return{}}setDefaultHandler(e,t=$){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new h("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new h("unregister-route-route-not-registered")}}let y;const Ue=()=>(y||(y=new Le,y.addFetchListener(),y.addCacheListener()),y);function M(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),a=({url:o})=>o.href===r.href;n=new b(a,e,t)}else if(s instanceof RegExp)n=new De(s,e,t);else if(typeof s=="function")n=new b(s,e,t);else if(s instanceof b)n=s;else throw new h("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return Ue().registerRoute(n),n}function Te(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Pe(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const a=Te(r,e);if(yield a.href,t&&a.pathname.endsWith("/")){const o=new URL(a.href);o.pathname+=t,yield o.href}if(n){const o=new URL(a.href);o.pathname+=".html",yield o.href}if(i){const o=i({url:r});for(const c of o)yield c.href}}class Ie extends b{constructor(e,t){const n=({request:i})=>{const r=e.getURLsToCacheKeys();for(const a of Pe(i.url,t)){const o=r.get(a);if(o){const c=e.getIntegrityForCacheKey(o);return{cacheKey:o,integrity:c}}}};super(n,e.strategy)}}function Me(s){const e=I(),t=new Ie(e,s);M(t)}function Ne(s){return I().createHandlerBoundToURL(s)}function Ke(s){I().precache(s)}function Ae(s,e){Ke(s),Me(e)}const je={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Oe extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(je)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let i=await t.cacheMatch(e),r;if(!i)try{i=await n}catch(a){a instanceof Error&&(r=a)}if(!i)throw new h("no-response",{url:e.url,error:r});return i}}const Se="shlink-web-client",We="A React-based progressive web application for shlink",Be="/shlink-web-client/dependabot/npm_and_yarn/fontawesome-951ff399f8",qe="https://github.com/shlinkio/shlink-web-client",Fe="MIT",He="module",Ve={lint:"node --run lint:css && node --run lint:js","lint:css":"stylelint src/*.scss src/**/*.scss","lint:js":"eslint src test config/test","lint:fix":"node --run lint:css:fix && node --run lint:js:fix","lint:css:fix":"node --run lint:css -- --fix","lint:js:fix":"node --run lint:js -- --fix",types:"tsc",start:"vite serve --host=0.0.0.0",preview:"vite preview --host=0.0.0.0",build:"node --run types && vite build && node scripts/replace-version.mjs","build:dist":"node --run build && node scripts/create-dist-file.mjs",test:"vitest run --run","test:watch":"vitest --watch","test:ci":"node --run test -- --coverage","test:verbose":"node --run test -- --verbose"},$e={"@fortawesome/fontawesome-free":"^6.7.1","@fortawesome/fontawesome-svg-core":"^6.7.1","@fortawesome/free-brands-svg-icons":"^6.7.1","@fortawesome/free-regular-svg-icons":"^6.7.1","@fortawesome/free-solid-svg-icons":"^6.7.1","@fortawesome/react-fontawesome":"^0.2.2","@json2csv/plainjs":"^7.0.6","@reduxjs/toolkit":"^2.3.0","@shlinkio/data-manipulation":"^1.0.3","@shlinkio/shlink-frontend-kit":"^0.6.0","@shlinkio/shlink-js-sdk":"^1.2.0","@shlinkio/shlink-web-component":"^0.10.1",bootstrap:"5.2.3",bottlejs:"^2.0.1",clsx:"^2.1.1","compare-versions":"^6.1.1",csvtojson:"^2.0.10","date-fns":"^4.1.0",react:"^18.3.1","react-dom":"^18.3.1","react-external-link":"^2.3.1","react-redux":"^9.1.2","react-router-dom":"^6.28.0",reactstrap:"^9.2.3","redux-localstorage-simple":"^2.5.1","workbox-core":"^7.3.0","workbox-expiration":"^7.3.0","workbox-precaching":"^7.3.0","workbox-routing":"^7.3.0","workbox-strategies":"^7.3.0"},Ge={"@shlinkio/eslint-config-js-coding-standard":"~3.2.1","@shlinkio/stylelint-config-css-coding-standard":"~1.1.1","@stylistic/eslint-plugin":"^2.10.1","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.0.1","@testing-library/user-event":"^14.5.2","@total-typescript/shoehorn":"^0.1.2","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","@types/uuid":"^10.0.0","@vitejs/plugin-react":"^4.3.3","@vitest/coverage-v8":"^2.1.5","adm-zip":"^0.5.16","axe-core":"^4.10.2",chalk:"^5.3.0",eslint:"^9.14.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-react":"^7.37.2","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-simple-import-sort":"^12.1.1",history:"^5.3.0",jsdom:"^25.0.1",sass:"^1.81.0",stylelint:"^15.11.0",typescript:"^5.6.3","typescript-eslint":"^8.13.0",vite:"^5.4.11","vite-plugin-pwa":"^0.21.0",vitest:"^2.0.2"},Qe=[">0.2%","not dead","not ie <= 11","not op_mini all"],ze={name:Se,description:We,private:!1,homepage:Be,repository:qe,license:Fe,type:He,scripts:Ve,dependencies:$e,devDependencies:Ge,browserslist:Qe};ie();Ae([{"revision":null,"url":"assets/index-Bv0Tm1UB.css"},{"revision":null,"url":"assets/index-CxCq6Xdj.js"},{"revision":"69d21a4e3b241570a3a91d474fc2b74b","url":"index.html"},{"revision":"583b223ad8e20f05aaa64923d7db2e46","url":"icons/icon-1024x1024.png"},{"revision":"2dff586aaefa4c8d17f4c0bcbdef8b53","url":"icons/icon-114x114.png"},{"revision":"8e28257a68ef1c55bc68bfff80e1a310","url":"icons/icon-120x120.png"},{"revision":"0059b6f0c97fa871a5c29643b2857585","url":"icons/icon-128x128.png"},{"revision":"41478c2456281f61e54d714718743ecc","url":"icons/icon-144x144.png"},{"revision":"625251910295f33a578ae6d8117711c9","url":"icons/icon-150x150.png"},{"revision":"19b71508b1d05defe32cf16a7d453001","url":"icons/icon-152x152.png"},{"revision":"9d029a32a54ba3084c67acd5d74f8ac4","url":"icons/icon-160x160.png"},{"revision":"6ec104aeaf745f003ecdaef2edddce97","url":"icons/icon-167x167.png"},{"revision":"3e8169a112865ef0d76bba4e2dfd3a89","url":"icons/icon-16x16.png"},{"revision":"871d67907434ed0ddf5d2a6c220e09af","url":"icons/icon-180x180.png"},{"revision":"cee2529402074d73b2135e2ddee25f6b","url":"icons/icon-192x192.png"},{"revision":"85055b452284c0193142936dee7d2cd1","url":"icons/icon-196x196.png"},{"revision":"f471155dd70b99924422dd9dd87ea94d","url":"icons/icon-228x228.png"},{"revision":"20f0b51945ae3c973420e31d6b4d43c1","url":"icons/icon-24x24.png"},{"revision":"4d896c5c7025582605de31fb74f0316b","url":"icons/icon-256x256.png"},{"revision":"d99b49e5bcad41968313c3e132e7c661","url":"icons/icon-310x310.png"},{"revision":"4c9695cfb4cea403c1b66bbb7b4f7420","url":"icons/icon-32x32.png"},{"revision":"f9597636bef677327c3abc0fd1a743c4","url":"icons/icon-384x384.png"},{"revision":"f74edb9cc54ac938c1589876f8da9f21","url":"icons/icon-40x40.png"},{"revision":"52933970fac8498311687de13549b014","url":"icons/icon-48x48.png"},{"revision":"de22c0eb9e08d3576df5cedb568ca56b","url":"icons/icon-512x512.png"},{"revision":"40209a194f29b21882571c77bd2bd906","url":"icons/icon-60x60.png"},{"revision":"c8ba5a8c1da76d74c7bb21827fcf975c","url":"icons/icon-64x64.png"},{"revision":"ae3435baceb494f9c966e2c2c736ea35","url":"icons/icon-72x72.png"},{"revision":"850aa5b026fd1452af6c1ddd9d71850f","url":"icons/icon-76x76.png"},{"revision":"8c62535e6b7a498ece1f6c6ae62ede59","url":"icons/icon-96x96.png"},{"revision":"3d749cc39d550824095cd262bb695917","url":"manifest.json"}]);const Je=new RegExp("/[^/?]+\\.[^/]+$");M(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(Je)),Ne(`${ze.homepage}/index.html`));M(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Oe({cacheName:"images",plugins:[new be({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()});